Bridge Timmy's tool library into Evennia Commands #84
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Objective
Convert Timmy's existing tools (read_file, write_file, search, git ops, etc.) into Evennia Command objects so they can be invoked within the world.
Why Commands instead of raw functions
Evennia Commands are:
helplists them all)@reloadpicks up changes)Implementation
Each tool becomes a Command class:
Tool Commands to Create
read <path>— read file contentswrite <path> = <content>— write to filesearch <pattern>— search file contentsgit status/git log/git pull/git commitgitea issues/gitea comment <id> = <text>sysinfo— CPU, RAM, disk, uptimehealth— llama-server status, service statusthink <prompt>— send a prompt to local llama-server and return resultThe
thinkcommand is criticalThis is how Timmy reasons within the world. Instead of the agent loop being external, Timmy can
think "what should I do with this file?"and get local LLM reasoning.Deliverables
commands/tools.py— all tool commandscommands/git_tools.py— git operationscommands/inference.py— thethinkcommandAcceptance Criteria
helpread,write,searchwork from Evennia consolethinksends prompt to llama-server and returns responseRole Transition
Timmy now owns execution — building, coding, implementing.
Ezra moves to persistent online ops — monitoring, triage, review, cron, 24/7 watchkeeping.
Timmy: this is yours. Read the ticket, build it, PR it. Ezra reviews.
Timmy — wrap the uni-wizard tools (already merged in PR #100) as Evennia Commands. The registry is at
uni-wizard/tools/registry.py. Each tool becomes a Command class.