kimi-code/packages/node-sdk/test
Haozhe 4603d8ad6e
feat(protocol): extract shared protocol package from agent-core (#612)
* feat(protocol): extract shared protocol package from agent-core

- add `@moonshot-ai/protocol` package with REST/WS schemas, envelopes, error codes, event types, and display schemas\n- migrate agent-core `events.ts` and `display/schemas.ts` to re-export from protocol
- add centralized `onUnexpectedError` handler for safe emitter listener callbacks
- reject forkSession when source session has an active running turn
- add protocol schema tests and unexpectedError handler tests
2026-06-10 14:03:38 +08:00
..
auth-facade.test.ts fix: scope managed OAuth credentials (#399) 2026-06-04 13:14:18 +08:00
catalog.test.ts fix(catalog): preserve reasoning fields in custom model (#70) 2026-05-26 17:32:37 +08:00
config.test.ts feat: release experimental features (#569) 2026-06-09 11:42:50 +08:00
create-session-transport.test.ts fix(acp): restore legacy permission compatibility and stabilize ACP (#395) 2026-06-08 19:27:20 +08:00
export-session.test.ts refactor: split SDK RPC client (#339) 2026-06-03 15:30:38 +08:00
list-sessions.test.ts fix: restore goal resume state from agent records (#552) 2026-06-09 10:02:19 +08:00
local-logging.test.ts refactor: split SDK RPC client (#339) 2026-06-03 15:30:38 +08:00
rename-session.test.ts refactor: split SDK RPC client (#339) 2026-06-03 15:30:38 +08:00
runtime-provider-identity.test.ts refactor: split SDK RPC client (#339) 2026-06-03 15:30:38 +08:00
runtime-provider-oauth.test.ts refactor(agent-core): make Agent constructable and consolidate provider-manager (#161) 2026-05-28 20:33:10 +08:00
session-approval-handler.test.ts refactor: split SDK RPC client (#339) 2026-06-03 15:30:38 +08:00
session-background-tasks.test.ts refactor: split SDK RPC client (#339) 2026-06-03 15:30:38 +08:00
session-cancel.test.ts feat(protocol): extract shared protocol package from agent-core (#612) 2026-06-10 14:03:38 +08:00
session-event-types.test.ts feat: agent swarm (#424) 2026-06-08 14:26:56 +08:00
session-goal.test.ts fix: restore goal resume state from agent records (#552) 2026-06-09 10:02:19 +08:00
session-plan-compact-usage-resume.test.ts fix: restore goal resume state from agent records (#552) 2026-06-09 10:02:19 +08:00
session-prompt-events.test.ts feat: agent swarm (#424) 2026-06-08 14:26:56 +08:00
session-prompt-input.test.ts feat: add btw side-channel command (#338) 2026-06-03 15:54:31 +08:00
session-question-handler.test.ts refactor: split SDK RPC client (#339) 2026-06-03 15:30:38 +08:00
session-runtime-helpers.ts Kimi For Coding 2026-05-22 15:54:50 +08:00
session-set-model.test.ts refactor: split SDK RPC client (#339) 2026-06-03 15:30:38 +08:00
session-set-permission.test.ts refactor: split SDK RPC client (#339) 2026-06-03 15:30:38 +08:00
session-set-thinking.test.ts refactor: split SDK RPC client (#339) 2026-06-03 15:30:38 +08:00
session-skills.test.ts fix(skill): clarify active skill prompts (#598) 2026-06-10 12:46:23 +08:00
session-steer.test.ts refactor: split SDK RPC client (#339) 2026-06-03 15:30:38 +08:00
telemetry.ts Kimi For Coding 2026-05-22 15:54:50 +08:00
test-identity.ts Kimi For Coding 2026-05-22 15:54:50 +08:00