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.
65 lines
1.4 KiB
TOML
65 lines
1.4 KiB
TOML
# GitHub PR voice review — list open PRs and summarise the latest one via LLM.
|
|
# Requires `gh` CLI installed and authenticated (`gh auth login`).
|
|
# Repo can be set via voice ("текущий репо <owner/repo>") or auto-detected
|
|
# from cwd if jarvis-app is launched inside a git repo.
|
|
|
|
[[commands]]
|
|
id = "github.list_prs"
|
|
type = "lua"
|
|
script = "list.lua"
|
|
sandbox = "full"
|
|
timeout = 15000
|
|
|
|
[commands.phrases]
|
|
ru = [
|
|
"какие пиары",
|
|
"какие пулл реквесты",
|
|
"что в пиарах",
|
|
"что в pr",
|
|
"открытые пиары",
|
|
"список пиаров",
|
|
]
|
|
en = [
|
|
"list open prs",
|
|
"what's in the prs",
|
|
"open pull requests",
|
|
]
|
|
|
|
|
|
[[commands]]
|
|
id = "github.summarize_pr"
|
|
type = "lua"
|
|
script = "summarize.lua"
|
|
sandbox = "full"
|
|
timeout = 60000
|
|
|
|
[commands.phrases]
|
|
ru = [
|
|
"разбери последний пиар",
|
|
"объясни последний пиар",
|
|
"обзор последнего пиара",
|
|
"что в последнем pr",
|
|
"разбор pr",
|
|
]
|
|
en = [
|
|
"review the latest pr",
|
|
"explain the latest pr",
|
|
"summarize pr",
|
|
]
|
|
|
|
|
|
[[commands]]
|
|
id = "github.set_repo"
|
|
type = "lua"
|
|
script = "set_repo.lua"
|
|
sandbox = "standard"
|
|
timeout = 3000
|
|
|
|
[commands.phrases]
|
|
ru = [
|
|
"текущий репо",
|
|
"установи репо",
|
|
"выбери репо",
|
|
"репозиторий",
|
|
]
|
|
en = ["set repo", "current repo"]
|