Add SDK support for agent selection and session compaction APIs #348
Annotations
24 errors
|
Node.js SDK Tests (ubuntu-latest)
Process completed with exit code 1.
|
|
test/e2e/agent_and_compact_rpc.test.ts > Session Compact RPC > should compact session history after messages:
nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }.
❯ CopilotClient.createSession src/client.ts:514:19
❯ test/e2e/agent_and_compact_rpc.test.ts:123:38
|
|
test/e2e/agent_and_compact_rpc.test.ts > Agent Selection RPC > should return empty list when no custom agents configured:
nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }.
❯ CopilotClient.createSession src/client.ts:514:19
❯ test/e2e/agent_and_compact_rpc.test.ts:110:38
|
|
test/e2e/agent_and_compact_rpc.test.ts > Agent Selection RPC > should deselect current agent:
nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }.
❯ CopilotClient.createSession src/client.ts:514:19
❯ test/e2e/agent_and_compact_rpc.test.ts:96:38
|
|
test/e2e/agent_and_compact_rpc.test.ts > Agent Selection RPC > should select and get current agent:
nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }.
❯ CopilotClient.createSession src/client.ts:514:19
❯ test/e2e/agent_and_compact_rpc.test.ts:70:38
|
|
test/e2e/agent_and_compact_rpc.test.ts > Agent Selection RPC > should return null when no agent is selected:
nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }.
❯ CopilotClient.createSession src/client.ts:514:19
❯ test/e2e/agent_and_compact_rpc.test.ts:52:38
|
|
test/e2e/agent_and_compact_rpc.test.ts > Agent Selection RPC > should list available custom agents:
nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }.
❯ CopilotClient.createSession src/client.ts:514:19
❯ test/e2e/agent_and_compact_rpc.test.ts:28:38
|
|
Node.js SDK Tests (ubuntu-latest):
nodejs/test/e2e/session.test.ts#L0
No cached response found for POST /chat/completions. Final message: {"role":"user","content":"Run 'sleep 2 && echo done'"}
|
|
Node.js SDK Tests (macos-latest)
Process completed with exit code 1.
|
|
test/e2e/agent_and_compact_rpc.test.ts > Session Compact RPC > should compact session history after messages:
nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }.
❯ CopilotClient.createSession src/client.ts:514:19
❯ test/e2e/agent_and_compact_rpc.test.ts:123:38
|
|
test/e2e/agent_and_compact_rpc.test.ts > Agent Selection RPC > should return empty list when no custom agents configured:
nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }.
❯ CopilotClient.createSession src/client.ts:514:19
❯ test/e2e/agent_and_compact_rpc.test.ts:110:38
|
|
test/e2e/agent_and_compact_rpc.test.ts > Agent Selection RPC > should deselect current agent:
nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }.
❯ CopilotClient.createSession src/client.ts:514:19
❯ test/e2e/agent_and_compact_rpc.test.ts:96:38
|
|
test/e2e/agent_and_compact_rpc.test.ts > Agent Selection RPC > should select and get current agent:
nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }.
❯ CopilotClient.createSession src/client.ts:514:19
❯ test/e2e/agent_and_compact_rpc.test.ts:70:38
|
|
test/e2e/agent_and_compact_rpc.test.ts > Agent Selection RPC > should return null when no agent is selected:
nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }.
❯ CopilotClient.createSession src/client.ts:514:19
❯ test/e2e/agent_and_compact_rpc.test.ts:52:38
|
|
test/e2e/agent_and_compact_rpc.test.ts > Agent Selection RPC > should list available custom agents:
nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }.
❯ CopilotClient.createSession src/client.ts:514:19
❯ test/e2e/agent_and_compact_rpc.test.ts:28:38
|
|
Node.js SDK Tests (macos-latest):
nodejs/test/e2e/session.test.ts#L0
No cached response found for POST /chat/completions. Final message: {"role":"user","content":"Run 'sleep 2 && echo done'"}
|
|
Node.js SDK Tests (windows-latest)
Process completed with exit code 1.
|
|
test/e2e/agent_and_compact_rpc.test.ts > Session Compact RPC > should compact session history after messages:
nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }.
❯ CopilotClient.createSession src/client.ts:514:19
❯ test/e2e/agent_and_compact_rpc.test.ts:123:38
|
|
test/e2e/agent_and_compact_rpc.test.ts > Agent Selection RPC > should return empty list when no custom agents configured:
nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }.
❯ CopilotClient.createSession src/client.ts:514:19
❯ test/e2e/agent_and_compact_rpc.test.ts:110:38
|
|
test/e2e/agent_and_compact_rpc.test.ts > Agent Selection RPC > should deselect current agent:
nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }.
❯ CopilotClient.createSession src/client.ts:514:19
❯ test/e2e/agent_and_compact_rpc.test.ts:96:38
|
|
test/e2e/agent_and_compact_rpc.test.ts > Agent Selection RPC > should select and get current agent:
nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }.
❯ CopilotClient.createSession src/client.ts:514:19
❯ test/e2e/agent_and_compact_rpc.test.ts:70:38
|
|
test/e2e/agent_and_compact_rpc.test.ts > Agent Selection RPC > should return null when no agent is selected:
nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }.
❯ CopilotClient.createSession src/client.ts:514:19
❯ test/e2e/agent_and_compact_rpc.test.ts:52:38
|
|
test/e2e/agent_and_compact_rpc.test.ts > Agent Selection RPC > should list available custom agents:
nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }.
❯ CopilotClient.createSession src/client.ts:514:19
❯ test/e2e/agent_and_compact_rpc.test.ts:28:38
|
|
Node.js SDK Tests (windows-latest):
nodejs/test/e2e/session.test.ts#L0
No cached response found for POST /chat/completions. Final message: {"role":"user","content":"Run 'sleep 2 && echo done'"}
|