mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-08-31 02:14:58 +00:00
Resolved the parallel kosong/tool refactors: kept the modelRuntime+model+chatProvider split and the tool contract domain (L3), adopted upstream's onContextOverflow turn hook and ToolCall unification, and ported prompt_cache_key/kimiRequestHeaders into ModelResolver.
82 lines
2 KiB
JSON
82 lines
2 KiB
JSON
{
|
|
"name": "@moonshot-ai/agent-core-v2",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"description": "The unified agent engine for Kimi (v2 — DI Scope architecture)",
|
|
"license": "MIT",
|
|
"author": "Moonshot AI",
|
|
"homepage": "https://github.com/MoonshotAI/kimi-code/tree/main/packages/agent-core-v2#readme",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/MoonshotAI/kimi-code.git",
|
|
"directory": "packages/agent-core-v2"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/MoonshotAI/kimi-code/issues"
|
|
},
|
|
"keywords": [
|
|
"kimi",
|
|
"agent",
|
|
"ai",
|
|
"llm",
|
|
"session",
|
|
"tools"
|
|
],
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"type": "module",
|
|
"imports": {
|
|
"#/*": [
|
|
"./src/*.ts",
|
|
"./src/*/index.ts"
|
|
]
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./src/index.ts",
|
|
"default": "./src/index.ts"
|
|
},
|
|
"./package.json": {
|
|
"types": "./package.json",
|
|
"default": "./package.json"
|
|
},
|
|
"./*": {
|
|
"types": "./src/*.ts",
|
|
"default": "./src/*.ts"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "tsdown",
|
|
"test": "vitest run",
|
|
"example": "vitest run --config vitest.examples.config.ts",
|
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
"lint:domain": "node scripts/check-domain-layers.mjs",
|
|
"clean": "rm -rf dist"
|
|
},
|
|
"dependencies": {
|
|
"@antfu/utils": "^9.3.0",
|
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
"@moonshot-ai/kaos": "workspace:^",
|
|
"@moonshot-ai/kimi-code-oauth": "workspace:^",
|
|
"@moonshot-ai/kimi-telemetry": "workspace:^",
|
|
"@moonshot-ai/kosong": "workspace:^",
|
|
"@moonshot-ai/protocol": "workspace:^",
|
|
"ignore": "^5.3.2",
|
|
"nunjucks": "^3.2.4",
|
|
"pathe": "^2.0.3",
|
|
"picomatch": "^4.0.4",
|
|
"retry": "0.13.1",
|
|
"smol-toml": "^1.6.1",
|
|
"socks": "^2.8.9",
|
|
"undici": "^7.27.1",
|
|
"zod": "^4.3.6"
|
|
},
|
|
"devDependencies": {
|
|
"@types/nunjucks": "^3.2.6",
|
|
"@types/picomatch": "^4.0.3",
|
|
"@types/retry": "0.12.0",
|
|
"@types/sinon": "^21.0.1",
|
|
"sinon": "^22.0.0"
|
|
}
|
|
}
|