More ACP client WIP, finishing the protocol implementation.

This commit is contained in:
Martín Lucas Golini
2026-03-23 14:25:44 -03:00
parent a105cdb301
commit 5429b15e04
10 changed files with 188 additions and 112 deletions

View File

@@ -70,6 +70,19 @@ def main():
}}) + "\n")
sys.stdout.flush()
# Send available commands
send_notification("session/update", {
"sessionId": "test-session",
"update": {
"sessionUpdate": "available_commands_update",
"availableCommands": [
{"name": "search", "description": "Search in codebase"},
{"name": "build", "description": "Build the project"},
{"name": "test", "description": "Run tests"}
]
}
})
elif method == "session/prompt":
# 1. Send Plan
send_notification("session/update", {