mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-07-23 03:02:50 +03:00
More ACP client WIP, finishing the protocol implementation.
This commit is contained in:
@@ -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", {
|
||||
|
||||
Reference in New Issue
Block a user