1
0

feat: add delegate_to_kimi() tool for coding delegation (#67)

Timmy can now delegate coding tasks to Kimi CLI (262K context).
Includes timeout handling, workdir validation, output truncation.
Sovereign division of labor — Timmy plans, Kimi codes.
This commit is contained in:
2026-03-14 20:29:03 -04:00
parent c164d1736f
commit 453c9a0694
4 changed files with 173 additions and 1 deletions

View File

@@ -590,9 +590,10 @@ def create_full_toolkit(base_dir: str | Path | None = None):
# Inter-agent delegation - dispatch tasks to swarm agents
try:
from timmy.tools_delegation import delegate_task, list_swarm_agents
from timmy.tools_delegation import delegate_task, delegate_to_kimi, list_swarm_agents
toolkit.register(delegate_task, name="delegate_task")
toolkit.register(delegate_to_kimi, name="delegate_to_kimi")
toolkit.register(list_swarm_agents, name="list_swarm_agents")
except Exception as exc:
logger.warning("Tool execution failed (Delegation tools registration): %s", exc)