upgrade goose sdk and tui to be compatible with the latest agentclientprotocol/sdk package (#8667)

This commit is contained in:
Lifei Zhou
2026-04-22 12:25:13 +10:00
committed by GitHub
parent 469c74d8bc
commit a7ccdd780d
10 changed files with 69 additions and 97 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@aaif/goose-sdk",
"version": "0.17.0",
"version": "0.18.0",
"description": "Agent Client Protocol (ACP) SDK for Goose AI agent",
"license": "Apache-2.0",
"repository": {
@@ -43,7 +43,7 @@
"zod": "^3.25.76"
},
"peerDependencies": {
"@agentclientprotocol/sdk": "*"
"@agentclientprotocol/sdk": "^0.19.0"
},
"optionalDependencies": {
"@aaif/goose-binary-darwin-arm64": "workspace:*",
@@ -53,7 +53,7 @@
"@aaif/goose-binary-win32-x64": "workspace:*"
},
"devDependencies": {
"@agentclientprotocol/sdk": "^0.14.1",
"@agentclientprotocol/sdk": "^0.19.0",
"@hey-api/openapi-ts": "^0.92.3",
"@types/node": "^20.0.0",
"prettier": "^3.8.1",
+2 -4
View File
@@ -92,10 +92,8 @@ export class GooseClient {
return this.conn.unstable_forkSession(params);
}
unstable_listSessions(
params: ListSessionsRequest,
): Promise<ListSessionsResponse> {
return this.conn.unstable_listSessions(params);
listSessions(params: ListSessionsRequest): Promise<ListSessionsResponse> {
return this.conn.listSessions(params);
}
unstable_resumeSession(