J.A.R.V.I.S-rust/resources/commands/currency/command.toml
Bossiara13 3f8300dc6f chore: CI workflows + drop Ukrainian (UA → just RU/EN)
CI (.github/workflows/ci.yml):
- Three parallel jobs on push & PR: cargo test (jarvis-core), cargo
  clippy (lint, warnings-as-errors), cargo check (workspace). Windows
  runner, stable toolchain, rust-cache for fast incremental builds.
- Deliberately skips release build of jarvis-gui — that needs Node+npm
  +Tauri bundler and would balloon CI to ~10min per push.

Drop Ukrainian:
- Delete ua.ftl, remove UA from SUPPORTED_LANGUAGES.
- config.rs: prune UA arms from get_wake_phrases / get_wake_grammar /
  get_phrases_to_remove / get_llm_trigger_phrases / get_llm_system_prompt.
- stt/vosk.rs: drop UA → uk language mapping.
- tray menu: drop "Українська" entry.
- frontend: drop UA from Header.svelte language list, settings page
  language map, i18n.ts fallback.
- 82 command.toml files stripped of every `ua = [...]` block (205
  blocks total). Handled via subagent — TOML still parses, all 6 command
  tests pass.

.gitignore: stop tracking dev.env / dll_probe*.py / imports_full.txt
which were sitting in working tree.

Tests: 128 pass (no regression). Workspace still compiles end-to-end.
2026-05-16 13:38:12 +03:00

53 lines
1.1 KiB
TOML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[[commands]]
id = "currency_rate"
type = "lua"
script = "rate.lua"
sandbox = "full"
timeout = 10000
[commands.phrases]
ru = [
"курс доллара",
"курс евро",
"сколько стоит доллар",
"сколько стоит евро",
"курс юаня",
"курс валют",
"что с долларом",
"что с евро",
]
en = [
"dollar rate",
"euro rate",
"currency rate",
"what is dollar",
]
# Convert N units of one currency to another, e.g.
# "1000 долларов в рубли" → "1000 USD = 99523 ₽"
[[commands]]
id = "currency_convert"
type = "lua"
script = "convert.lua"
sandbox = "full"
timeout = 10000
[commands.phrases]
ru = [
"сколько будет",
"переведи",
"конвертируй",
"долларов в рубли",
"евро в рубли",
"долларов в евро",
"юаней в рубли",
"рублей в доллары",
"рублей в евро",
]
en = [
"convert",
"how much is",
"dollars in rubles",
"euros in rubles",
]