mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-11-10 18:28:43 +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
43 lines
957 B
JSON
43 lines
957 B
JSON
{
|
|
"name": "@moonshot-ai/vis-server",
|
|
"version": "0.1.1",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"imports": {
|
|
"#/*": "./src/*.ts"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./src/index.ts",
|
|
"default": "./src/index.ts"
|
|
},
|
|
"./start": {
|
|
"types": "./src/start.ts",
|
|
"default": "./src/start.ts"
|
|
},
|
|
"./package.json": {
|
|
"types": "./package.json",
|
|
"default": "./package.json"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"dev": "tsx watch --import ../../../build/register-raw-text-loader.mjs src/index.ts",
|
|
"build": "tsdown",
|
|
"test": "vitest run",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@hono/node-server": "^1.13.7",
|
|
"@moonshot-ai/agent-core-v2": "workspace:^",
|
|
"hono": "^4.7.7",
|
|
"yauzl": "^3.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/yauzl": "^2.10.3",
|
|
"@types/yazl": "^2.4.6",
|
|
"tsx": "^4.21.0",
|
|
"vitest": "4.1.4",
|
|
"yazl": "^3.3.1"
|
|
}
|
|
}
|