script: move helper functions into Command union

Renames `Command.zig` to `command.zig` and moves associated functions
like `parse`, `toToolCall`, and `canHeal` directly into the `Command`
union. This simplifies usage from `Command.Command` to just `Command`.
This commit is contained in:
Adrià Arrufat
2026-05-21 17:13:19 +02:00
parent 0707187fa0
commit 55a50746fa
7 changed files with 551 additions and 552 deletions

1484
src/script/command.zig Normal file
View File

File diff suppressed because it is too large Load Diff