mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-08-23 07:35:13 +00:00
* feat(web-shell): add readonly transcript renderer * feat(transcript): project chat records to daemon transcript * chore: remove unrelated merge changes * fix(cli): align transcript replay test mock * fix(transcript): preserve replay metadata and todo context Keep vision disclosures and assistant usage visible across tool replay boundaries. Propagate plan tool-call identity through daemon projection and provide Todo contexts in WebShell so snapshots remain independent. Accept session_source records and cover the cross-layer behavior with regression tests. * docs(transcript): translate designs and remove benchmark table --------- Co-authored-by: qwen-code-dev-bot <qwen-code-dev-bot@users.noreply.github.com>
95 lines
2.6 KiB
JSON
95 lines
2.6 KiB
JSON
{
|
|
"name": "@qwen-code/sdk",
|
|
"version": "0.1.8",
|
|
"description": "TypeScript SDK for programmatic access to qwen-code CLI",
|
|
"main": "./dist/index.cjs",
|
|
"module": "./dist/index.mjs",
|
|
"types": "./dist/index.d.ts",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.cjs"
|
|
},
|
|
"./daemon": {
|
|
"types": "./dist/daemon/index.d.ts",
|
|
"import": "./dist/daemon/index.js",
|
|
"require": "./dist/daemon/index.cjs"
|
|
},
|
|
"./daemon/transports": {
|
|
"types": "./dist/daemon/transports.d.ts",
|
|
"import": "./dist/daemon/transports.js",
|
|
"require": "./dist/daemon/transports.cjs"
|
|
},
|
|
"./daemon/transcript": {
|
|
"types": "./dist/daemon/transcript.d.ts",
|
|
"import": "./dist/daemon/transcript.js",
|
|
"require": "./dist/daemon/transcript.cjs"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"bin": {
|
|
"qwen-serve-mcp": "./dist/daemon-mcp/serve-bridge/bin.js"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"README.md"
|
|
],
|
|
"scripts": {
|
|
"build": "node scripts/build.js",
|
|
"bundle:cli": "node scripts/bundle-cli.js",
|
|
"test": "vitest run",
|
|
"test:ci": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test:coverage": "vitest run --coverage",
|
|
"lint": "eslint src test",
|
|
"lint:fix": "eslint src test --fix",
|
|
"typecheck": "tsc --noEmit",
|
|
"clean": "rm -rf dist",
|
|
"prepublishOnly": "npm run clean && npm run build && npm run bundle:cli",
|
|
"prepack": "npm run build && npm run bundle:cli"
|
|
},
|
|
"keywords": [
|
|
"qwen",
|
|
"qwen-code",
|
|
"ai",
|
|
"code-assistant",
|
|
"sdk",
|
|
"typescript"
|
|
],
|
|
"author": "Qwen Team",
|
|
"license": "Apache-2.0",
|
|
"engines": {
|
|
"node": ">=22.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@modelcontextprotocol/sdk": "^1.25.2",
|
|
"zod": "^3.25.0"
|
|
},
|
|
"devDependencies": {
|
|
"@qwen-code/acp-bridge": "file:../acp-bridge",
|
|
"@qwen-code/qwen-code-core": "file:../core",
|
|
"@types/node": "^22.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^7.13.0",
|
|
"@typescript-eslint/parser": "^7.13.0",
|
|
"@vitest/coverage-v8": "^1.6.0",
|
|
"dts-bundle-generator": "^9.5.1",
|
|
"esbuild": "^0.25.12",
|
|
"eslint": "^8.57.0",
|
|
"typescript": "^5.4.5",
|
|
"vitest": "^1.6.0"
|
|
},
|
|
"peerDependencies": {
|
|
"typescript": ">=5.0.0"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/QwenLM/qwen-code.git",
|
|
"directory": "packages/sdk-typescript"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/QwenLM/qwen-code/issues"
|
|
},
|
|
"homepage": "https://qwenlm.github.io/qwen-code-docs/"
|
|
}
|