feat: Add inter-agent conversation system (listen, ask, answer)
Enables parallel agents to communicate through a CLI-based conversation mechanism coordinated via tRPC. Agents can ask questions to peers and receive answers, with target resolution by agent ID, task ID, or phase ID.
This commit is contained in:
@@ -107,6 +107,15 @@ Uses **Commander.js** for command parsing.
|
||||
| `list [--initiative <id>]` | List active previews |
|
||||
| `status <previewId>` | Get preview status with service details |
|
||||
|
||||
### Inter-Agent Conversation (`cw listen`, `cw ask`, `cw answer`)
|
||||
| Command | Description |
|
||||
|---------|-------------|
|
||||
| `listen --agent-id <id> [--poll-interval <ms>] [--timeout <ms>]` | Poll for pending questions, print JSON, exit |
|
||||
| `ask <question> --from <agentId> [--agent-id\|--phase-id\|--task-id <target>] [--poll-interval <ms>] [--timeout <ms>]` | Ask question, block until answered, print answer |
|
||||
| `answer <answer> --conversation-id <id>` | Answer a pending conversation |
|
||||
|
||||
All three commands output JSON for programmatic agent consumption.
|
||||
|
||||
### Accounts (`cw account`)
|
||||
| Command | Description |
|
||||
|---------|-------------|
|
||||
|
||||
Reference in New Issue
Block a user