kimi-code/packages/agent-core/test/harness
Haozhe cf558cd742
feat(managed-kimi-code): support Anthropic-compatible protocol (#1170)
* fix(agent-core): recover from context overflow 413

- track provider-observed effective context limit after overflow
- compact with the reduced limit before retrying the turn
- treat large plain 413 responses as recoverable context overflow
- add CLI patch changeset

* feat(managed-kimi-code): support Anthropic-compatible protocol

- switch managed provider to anthropic when models declare anthropic protocol
- add base64 video content blocks to the kosong anthropic provider
- downgrade unsupported media parts to text placeholders by capability
- pass prompt cache key as Anthropic metadata.user_id for session affinity

* feat(agent-core): add protocol/type to request and video upload telemetry

- turn_started now carries `type` (configured provider wire type) and
  `protocol` (effective transport, i.e. alias.protocol ?? provider.type)
- new video_upload event reports mime type, size, latency and
  success/failure, plus type/protocol/model context
- ResolvedRuntimeProvider gains `type` and `protocol` fields
2026-06-28 13:04:03 +08:00
..
goal-session.test.ts ci: run unit tests on windows (#1037) 2026-06-26 11:56:41 +08:00
model-alias-session.test.ts ci: run unit tests on windows (#1037) 2026-06-26 11:56:41 +08:00
plan-mode-session.test.ts ci: run unit tests on windows (#1037) 2026-06-26 11:56:41 +08:00
runtime-provider.test.ts feat(managed-kimi-code): support Anthropic-compatible protocol (#1170) 2026-06-28 13:04:03 +08:00
runtime.test.ts fix(reload): re-inject plugin session-start reminder after /reload (#1086) 2026-06-25 23:16:55 +08:00
skill-session.test.ts ci: run unit tests on windows (#1037) 2026-06-26 11:56:41 +08:00