J.A.R.V.I.S-rust/resources/commands
Bossiara13 df799b6cd2
Some checks are pending
Rust CI / cargo test (jarvis-core) (push) Waiting to run
Rust CI / cargo clippy (push) Waiting to run
Rust CI / cargo check (workspace) (push) Waiting to run
feat: Wave 5 — sysinfo speaks, smart reminders, outlook COM, time tracker, WOL, conversation tools
Voice sysinfo overhaul (6 scripts: battery/cpu/ram/disk/time/all):
- Now SPEAK the result via jarvis.cmd.ok instead of notify-only. Toast
  still fires for visual reference, but real Jarvis tells you out loud.
- `all` joins lines with commas so TTS doesn't over-pause on linebreaks.

Smart reminders (`reminders/set.lua` rewrite):
- Was: detached `Start-Sleep` PowerShell subprocesses that died on
  jarvis-app restart and spawned a hidden process per timer.
- Now: routes through `jarvis.scheduler.add(... type=speak ...)`. Persists
  to schedule.json, survives restart, no zombie processes. Trade-off:
  sub-minute timers round up to 1 min (rare in voice UX).
- Drops UA triggers from earlier UA-removal sweep.

Translation polish (`translate/translate.lua` + `clipboard.lua`):
- Drops UA target language; adds Italian, Polish, Turkish, French ru
  triggers + English target detectors.
- `language_iso()` helper picks the SAPI voice locale for the TARGET
  language (German translation → German SAPI voice if installed).

LLM system prompt (config.rs):
- New LLM_SYSTEM_PROMPT_EN counterpart. Both languages now mention the
  assistant's tooling (memory / scheduler / profiles / macros / vision /
  clipboard) so the LLM knows it can DO things, not suggest the user
  install something.
- `get_llm_system_prompt(lang)` picks EN/RU.

Conversation pack (NEW `conversation/`):
- 2 commands. `conversation.summary` ("о чём мы говорили") pulls the
  last 12 turns from persisted history, asks LLM for a 1-3 sentence
  recap in Jarvis tone. Falls back gracefully when offline.
- `conversation.repeat` ("повтори") re-speaks the last assistant message.
- New Lua API `jarvis.llm_history()` returns array of {role, content}
  tables, excluding the system prompt.

WOL pack (NEW `wol/`):
- Voice "разбуди сервер" / "wake server" fires a magic packet at a MAC
  stored in long-term memory under `wol_<alias>` (default alias "server").
- Setup via voice: "запомни wol_server AA:BB:CC:DD:EE:FF". Falls back to
  `JARVIS_WOL_TARGET` env if memory empty. Handles every standard MAC
  format (colons / dashes / dots / bare). Broadcast on UDP 9 via
  PowerShell System.Net.Sockets.UdpClient.

Outlook COM pack (NEW `outlook/`, via subagent):
- 4 commands: unread_count, latest, send_clipboard, summarize_inbox.
- PowerShell COM bridge `_outlook.ps1` with tab-delimited line protocol.
- summarize_inbox calls LLM for a one-paragraph summary. Graceful
  failure when Outlook isn't running.

Time tracker pack (NEW `time_tracker/`, via subagent):
- 5 commands: start, stop, today, week, reset.
- Persists via `jarvis.state` (structured object: current_session_start
  + sessions array of {start, end}).
- Local-calendar "today" boundary, full Russian pluralisation
  (час/часа/часов, минута/минуты/минут, сессия/сессии/сессий).

Tests: 139 rust (no regression), 81 python (60 → 81, +14 time_tracker
+7 outlook). Release build green for jarvis-app and jarvis-cli.

Pack count: 88 → 92 rust packs.
2026-05-16 14:34:29 +03:00
..
apps chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
backup chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
banter feat: real-Jarvis Wave 4 — personality, idle banter, persistent history, offline math, DDG search 2026-05-16 13:52:49 +03:00
brightness chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
browser fix(commands): repair weather set_city schema, retire broken AHK browser pack 2026-05-15 00:54:34 +03:00
calculator project restructure with Rust workspaces 2026-01-04 05:19:47 +05:00
clip_history chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
clipboard_read chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
codebase_qa chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
codegen chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
conversation feat: Wave 5 — sysinfo speaks, smart reminders, outlook COM, time tracker, WOL, conversation tools 2026-05-16 14:34:29 +03:00
counter basic Lua 5.4 implementation with few example commands 2026-01-17 05:46:38 +05:00
crypto chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
currency chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
daily_briefing chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
daily_quote chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
date_math chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
date_query chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
ddg_answer feat: real-Jarvis Wave 4 — personality, idle banter, persistent history, offline math, DDG search 2026-05-16 13:52:49 +03:00
diagnostics chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
dice chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
disk chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
echo chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
file_search chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
fun chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
games chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
generators chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
github_issues chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
github_pr chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
habit_nudge chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
habit_streaks chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
help chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
ics_event chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
interesting_fact chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
intro chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
jarvis project restructure with Rust workspaces 2026-01-04 05:19:47 +05:00
llm_context chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
llm_switch chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
macros chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
magic_8ball chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
mailto chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
math feat: real-Jarvis Wave 4 — personality, idle banter, persistent history, offline math, DDG search 2026-05-16 13:52:49 +03:00
media chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
media_keys chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
memory_pack chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
mood_log chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
mouse chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
net_info chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
network chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
news chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
notes chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
notif_queue chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
now_playing chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
ocr chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
outlook feat: Wave 5 — sysinfo speaks, smart reminders, outlook COM, time tracker, WOL, conversation tools 2026-05-16 14:34:29 +03:00
output_device chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
password_vault chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
personality feat: real-Jarvis Wave 4 — personality, idle banter, persistent history, offline math, DDG search 2026-05-16 13:52:49 +03:00
pomodoro chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
power chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
process_kill chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
profile_switch chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
projects chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
quick_search chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
random_choice chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
reminders feat: Wave 5 — sysinfo speaks, smart reminders, outlook COM, time tracker, WOL, conversation tools 2026-05-16 14:34:29 +03:00
rss_reader chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
scheduler chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
screenshot chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
self_check chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
sleep_timer chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
sound_panel chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
spelling chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
ssl_check chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
steam project restructure with Rust workspaces 2026-01-04 05:19:47 +05:00
stocks chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
stop project restructure with Rust workspaces 2026-01-04 05:19:47 +05:00
stopwatch chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
summarize chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
sysinfo feat: Wave 5 — sysinfo speaks, smart reminders, outlook COM, time tracker, WOL, conversation tools 2026-05-16 14:34:29 +03:00
terminate project restructure with Rust workspaces 2026-01-04 05:19:47 +05:00
test_slots some fixes + gliner first implementation 2026-02-11 07:21:50 +05:00
theme chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
time_tracker feat: Wave 5 — sysinfo speaks, smart reminders, outlook COM, time tracker, WOL, conversation tools 2026-05-16 14:34:29 +03:00
translate feat: Wave 5 — sysinfo speaks, smart reminders, outlook COM, time tracker, WOL, conversation tools 2026-05-16 14:34:29 +03:00
unit_convert chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
vision chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
voice_type chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
volume chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
weather chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
weather_extended chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
websearch chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
wikipedia chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
window chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
window_switch chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00
windows project restructure with Rust workspaces 2026-01-04 05:19:47 +05:00
wol feat: Wave 5 — sysinfo speaks, smart reminders, outlook COM, time tracker, WOL, conversation tools 2026-05-16 14:34:29 +03:00
world_clock chore: CI workflows + drop Ukrainian (UA → just RU/EN) 2026-05-16 13:38:12 +03:00