diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index c937669..e3b0541 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -16,7 +16,7 @@ env: AGENT_SERVER_PORT: 8010 HOST_WORKSPACE_DIR: /tmp/agent-workspace AGENT_WORKSPACE_DIR: /workspace - AGENT_SERVER_IMAGE: ghcr.io/openhands/agent-server:1.24.0-python + AGENT_SERVER_IMAGE: ghcr.io/openhands/agent-server:1.29.0-python jobs: integration-test: diff --git a/AGENTS.md b/AGENTS.md index bf59ca2..4321006 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -304,10 +304,10 @@ Integration tests are in `src/__tests__/integration/` and require a running agen export LLM_API_KEY="your-api-key" export LLM_MODEL="anthropic/claude-sonnet-4-5-20250929" -# Start agent-server in Docker (software-agent-sdk v1.24.0) +# Start agent-server in Docker (software-agent-sdk v1.29.0) docker run -d --name agent-server -p 8010:8000 \ -v /tmp/agent-workspace:/workspace \ - ghcr.io/openhands/agent-server:1.24.0-python + ghcr.io/openhands/agent-server:1.29.0-python # Run integration tests npm run test:integration @@ -336,7 +336,7 @@ Required GitHub secrets: ### CI Image Version -- The integration workflow pins `ghcr.io/openhands/agent-server:1.24.0-python`, which corresponds to the `software-agent-sdk` release `v1.24.0`. +- The integration workflow pins `ghcr.io/openhands/agent-server:1.29.0-python`, which corresponds to the `software-agent-sdk` release `v1.29.0`. - Keep the TypeScript client tests strict against that released server image rather than adding compatibility fallbacks for older prerelease builds. ## Agent Behavior Guidelines diff --git a/README.md b/README.md index 8ec8e97..17eafc6 100644 --- a/README.md +++ b/README.md @@ -377,14 +377,14 @@ Integration tests require a running agent-server in Docker with a mounted worksp chmod 777 /tmp/agent-workspace ``` -2. Start the agent-server container (software-agent-sdk v1.24.0): +2. Start the agent-server container (software-agent-sdk v1.29.0): ```bash docker run -d \ --name agent-server \ -p 8010:8000 \ -v /tmp/agent-workspace:/workspace \ - ghcr.io/openhands/agent-server:1.24.0-python + ghcr.io/openhands/agent-server:1.29.0-python ``` 3. Wait for the server to be ready: diff --git a/src/__tests__/api-clients.test.ts b/src/__tests__/api-clients.test.ts index 9a5bb7e..038a77f 100644 --- a/src/__tests__/api-clients.test.ts +++ b/src/__tests__/api-clients.test.ts @@ -1082,7 +1082,7 @@ describe('Auxiliary API clients', () => { ); expect(global.fetch).toHaveBeenCalledWith( - 'http://example.com/api/acp/conversations', + 'http://example.com/api/conversations', expect.objectContaining({ method: 'POST', }) diff --git a/src/conversation/conversation-manager.ts b/src/conversation/conversation-manager.ts index f9e11d7..37c7d84 100644 --- a/src/conversation/conversation-manager.ts +++ b/src/conversation/conversation-manager.ts @@ -274,7 +274,7 @@ export class ConversationManager { options: ConversationSearchRequest = {} ): Promise { const response = await this.client.get( - '/api/acp/conversations/search', + '/api/conversations/search', { params: options as Record, } @@ -288,7 +288,7 @@ export class ConversationManager { async countACPConversations( options: { status?: ConversationExecutionStatus } = {} ): Promise { - const response = await this.client.get('/api/acp/conversations/count', { + const response = await this.client.get('/api/conversations/count', { params: options, }); return response.data; @@ -301,7 +301,7 @@ export class ConversationManager { conversationIds: ConversationID[] ): Promise> { const response = await this.client.get>( - '/api/acp/conversations', + '/api/conversations', { params: { ids: conversationIds }, } @@ -334,7 +334,7 @@ export class ConversationManager { */ async getACPConversation(conversationId: ConversationID): Promise { const response = await this.client.get( - `/api/acp/conversations/${conversationId}` + `/api/conversations/${conversationId}` ); return response.data; } @@ -369,7 +369,7 @@ export class ConversationManager { user_id: options.userId ?? null, }; - const response = await this.client.post('/api/acp/conversations', request); + const response = await this.client.post('/api/conversations', request); return response.data; }