J.A.R.V.I.S-rust/resources/commands
Bossiara13 dcee98bddf feat: 5 new packs + dotenvy + regen icon.ico + shortcuts redo
Iron Man icon regenerated from resources/icons/icon.png at sizes
16/24/32/48/64/128/256 via Pillow (make_ico.py committed alongside);
icon.ico is now a clean 83 KB multi-res for sharp display at any
scale instead of whatever placeholder Tauri originally emitted.

dotenvy added to workspace deps. jarvis-app/main.rs and jarvis-gui/
main.rs both walk up from current_exe() looking for dev.env (up to
5 parent levels), so the Desktop shortcut can launch the exe
directly without a wrapper .bat to pre-set GROQ_TOKEN. Falls back
to dotenvy::dotenv() (cwd lookup) if nothing found near the binary.

5 new portable Lua command packs. Bumps total from 21 to 26.
cargo test -p jarvis-core --lib commands::tests still passes 3/3.

reminders/ — set_reminder. Parses "напомни через N (секунд|минут|
часов) <body>" or English equivalents; understands one Russian word
numerals (один, две, пять, десять, пятнадцать, ...) for the count
when speech recognition returns words instead of digits. Defaults to
5 minutes if number/unit missing. Spawns a detached PowerShell that
Start-Sleeps then fires: BurntToast if installed, System.Speech
SAPI (ru-RU voice preference), and a WScript.Shell.Popup as the
guaranteed-visible last resort.

date_query/ — today / tomorrow / yesterday. Single answer.lua keyed
by command_id, computes the offset via PowerShell Get-Date.AddDays()
in ru-RU culture so the weekday/month come out in Russian, then
speaks via SAPI.

voice_type/ — type_text. Strips the trigger, drops the remainder to
clipboard via jarvis.system.clipboard.set, then synthesises Ctrl+V
through user32!keybd_event so it lands in whatever window currently
has focus. Works in any text field (note app, browser, IDE,
Telegram, etc.).

dice/ — coin_flip / roll_dice / random_number. Single roll.lua,
seeds math.random with os.time + jitter, speaks the result. "1-6"
for dice, "1-100" for random.

stopwatch/ — start / check / stop. Uses jarvis.state.get/set
(persisted via jarvis-core's settings DB) to remember the start
timestamp, computes elapsed via jarvis.context.time.timestamp,
formats as "X сек" / "X мин Y сек" / "X ч Y мин Z сек".

All new packs follow the established patterns (sandbox=full, PS-via-
exec helper where needed, USERPROFILE/SystemDrive everywhere, no
hardcoded paths).
2026-05-15 12:28:44 +03:00
..
apps feat(commands): add PC control packs — volume, apps, file_search, output_device 2026-05-15 00:54:52 +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
clipboard_read feat(commands): tier-1 PC tools — window mgmt, clipboard, notes, process killer, web search 2026-05-15 11:27:02 +03:00
codegen feat: LLM auto-fallback + codegen pack + OCR pack 2026-05-15 01:39:21 +03:00
counter basic Lua 5.4 implementation with few example commands 2026-01-17 05:46:38 +05:00
date_query feat: 5 new packs + dotenvy + regen icon.ico + shortcuts redo 2026-05-15 12:28:44 +03:00
dice feat: 5 new packs + dotenvy + regen icon.ico + shortcuts redo 2026-05-15 12:28:44 +03:00
file_search feat(commands): add PC control packs — volume, apps, file_search, output_device 2026-05-15 00:54:52 +03:00
jarvis project restructure with Rust workspaces 2026-01-04 05:19:47 +05:00
math feat(commands): tier-1 — translate, math, theme toggle, project opener, sound panel 2026-05-15 12:06:30 +03:00
media feat(commands): add media controls + system info packs 2026-05-15 01:19:30 +03:00
notes feat(commands): tier-1 PC tools — window mgmt, clipboard, notes, process killer, web search 2026-05-15 11:27:02 +03:00
ocr feat: LLM auto-fallback + codegen pack + OCR pack 2026-05-15 01:39:21 +03:00
output_device feat(commands): add PC control packs — volume, apps, file_search, output_device 2026-05-15 00:54:52 +03:00
process_kill feat(commands): tier-1 PC tools — window mgmt, clipboard, notes, process killer, web search 2026-05-15 11:27:02 +03:00
projects feat(commands): tier-1 — translate, math, theme toggle, project opener, sound panel 2026-05-15 12:06:30 +03:00
reminders feat: 5 new packs + dotenvy + regen icon.ico + shortcuts redo 2026-05-15 12:28:44 +03:00
sound_panel feat(commands): tier-1 — translate, math, theme toggle, project opener, sound panel 2026-05-15 12:06:30 +03:00
steam project restructure with Rust workspaces 2026-01-04 05:19:47 +05:00
stop project restructure with Rust workspaces 2026-01-04 05:19:47 +05:00
stopwatch feat: 5 new packs + dotenvy + regen icon.ico + shortcuts redo 2026-05-15 12:28:44 +03:00
sysinfo feat(commands): add media controls + system info packs 2026-05-15 01:19:30 +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 feat(commands): tier-1 — translate, math, theme toggle, project opener, sound panel 2026-05-15 12:06:30 +03:00
translate feat(commands): tier-1 — translate, math, theme toggle, project opener, sound panel 2026-05-15 12:06:30 +03:00
voice_type feat: 5 new packs + dotenvy + regen icon.ico + shortcuts redo 2026-05-15 12:28:44 +03:00
volume feat(commands): add PC control packs — volume, apps, file_search, output_device 2026-05-15 00:54:52 +03:00
weather fix(commands): repair weather set_city schema, retire broken AHK browser pack 2026-05-15 00:54:34 +03:00
websearch feat(commands): tier-1 PC tools — window mgmt, clipboard, notes, process killer, web search 2026-05-15 11:27:02 +03:00
window feat(commands): tier-1 PC tools — window mgmt, clipboard, notes, process killer, web search 2026-05-15 11:27:02 +03:00
windows project restructure with Rust workspaces 2026-01-04 05:19:47 +05:00