ai-devkit
ai-devkit copied to clipboard
feat(devkitd): migrate agent send to daemon lookup + client-side send
Part of the devkitd agent migration (#406). Model: daemon returns location data; client executes.
Scope
agent send <name> <msg> → daemon path:
agent.lookup→runtimeRef; client sends via existing TSTmuxManager.sendKeys/ herdr API — no daemon-side send RPC--stdin,--wait,--timeout,--jsonflags unchanged- Fallback to
sendAgentPrompton unreachable/unknown-method
Depends on: agent.lookup (also used by kill/open) — implement once, reuse here.
Acceptance
- send reaches the correct pane/process via daemon-provided
runtimeRef --waitresponse polling unchanged