mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-12-05 05:38:22 +00:00
* refactor(vis): migrate vis from agent-core v1 to agent-core-v2 - swap vis-server engine deps to @moonshot-ai/agent-core-v2, drop kosong - rebuild the wire record union from v2 durable payload types - fold token_counting records into the context-window fill - read cron state from wire records alongside legacy cron files - read agent parent/swarm metadata from state.json labels - align context projection and web rendering with the v2 wire vocabulary - bundle agent-core-v2 into the vis-server build * fix(vis): replay legacy compactions per engine rules, tolerate bad cron payloads - treat every record without keptUserMessageCount (or with an explicit legacyTail flag) as a verbatim-tail compaction, matching the engine's readContextCompactionShapeInput instead of gating on compactedCount - derive tokensAfter from the reconstructed shape when the record omits it, instead of keeping the stale pre-compaction fill - skip malformed cron.delete / cron.cursor payloads instead of throwing
17 lines
509 B
JSON
17 lines
509 B
JSON
{
|
|
"name": "@moonshot-ai/vis",
|
|
"version": "0.1.1",
|
|
"private": true,
|
|
"description": "Debug visualization tool for kimi-code sessions",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "node scripts/dev.mjs",
|
|
"build": "pnpm --filter @moonshot-ai/vis-server build && pnpm --filter @moonshot-ai/vis-web build && node scripts/copy-web-dist.mjs",
|
|
"prestart": "pnpm run build",
|
|
"start": "node server/dist/server.mjs"
|
|
},
|
|
"devDependencies": {
|
|
"concurrently": "^9.1.2"
|
|
}
|
|
}
|