With replScoped: true, persistent-in-memory runs each call as a separate VM Script in one retained context. Each call starts with copies of the top-level bindings left by earlier calls, so a later call may declare any earlier name again with any keyword while earlier functions and still-running code keep their values. Results, top-level await, errors and asynchronous failures follow the existing REPL evaluator; modules load only through dynamic import(), resolved from the environment's first working directory. The control protocol moves to version 3; the upgrade guide covers preinstalled bootstraps and the new PtcProgramFormat member. The Agent Note records the decision and its comparison with node:repl and vm-script, and the ptc-scoped-repl snapshot pins the model guidance.
77 lines
2.4 KiB
JSON
77 lines
2.4 KiB
JSON
{
|
|
"name": "@deepseek-ai/dsh-ptc-runtime-node",
|
|
"description": "Node PTC execution with async function, REPL, scoped REPL and VM Script evaluators and optional retained state",
|
|
"version": "0.2.2-rc.1",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/deepseek-ai/deepseek-harness.git",
|
|
"directory": "packages/ptc-runtime/ptc-runtime-node"
|
|
},
|
|
"type": "module",
|
|
"main": "lib/index.js",
|
|
"types": "lib/types/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./lib/types/index.d.ts",
|
|
"default": "./lib/index.js"
|
|
},
|
|
"./package.json": "./package.json",
|
|
"./configuration": {
|
|
"types": "./lib/types/configuration.d.ts",
|
|
"default": "./lib/configuration.js"
|
|
},
|
|
"./process": {
|
|
"types": "./lib/types/process-entry.d.ts",
|
|
"default": "./lib/process.js"
|
|
},
|
|
"./locale/*.json": "./locale/*.json"
|
|
},
|
|
"files": [
|
|
"locale/*.json",
|
|
"lib/index.js",
|
|
"lib/configuration.js",
|
|
"lib/process.js",
|
|
"lib/persistent-process.js",
|
|
"lib/types/**/*.d.ts",
|
|
"lib/types/**/*.d.ts.map",
|
|
"lib/**/*.js.map",
|
|
"src"
|
|
],
|
|
"license": "MIT",
|
|
"peerDependencies": {
|
|
"@deepseek-ai/cordis": "workspace:~",
|
|
"@deepseek-ai/dsh-ptc-runtime": "workspace:*",
|
|
"@deepseek-ai/dsh-session": "workspace:*",
|
|
"@deepseek-ai/dsh-timeout": "workspace:*",
|
|
"@deepseek-ai/dsh-fs": "workspace:*",
|
|
"@deepseek-ai/dsh-subprocess": "workspace:*",
|
|
"@deepseek-ai/dsh-sandbox": "workspace:*",
|
|
"@deepseek-ai/dsh-sandbox-policy": "workspace:*"
|
|
},
|
|
"dependencies": {
|
|
"@deepseek-ai/dsh-util-values": "workspace:*",
|
|
"@deepseek-ai/schemastery": "workspace:~",
|
|
"acorn": "^8.18.0",
|
|
"acorn-walk": "^8.3.5",
|
|
"birpc": "4.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@deepseek-ai/cordis": "workspace:~",
|
|
"@deepseek-ai/dsh-ptc-runtime": "workspace:*",
|
|
"@deepseek-ai/dsh-session": "workspace:*",
|
|
"@deepseek-ai/dsh-timeout": "workspace:*",
|
|
"@deepseek-ai/dsh-fs": "workspace:*",
|
|
"@deepseek-ai/dsh-subprocess": "workspace:*",
|
|
"@deepseek-ai/dsh-sandbox": "workspace:*",
|
|
"@deepseek-ai/dsh-sandbox-policy": "workspace:*",
|
|
"@deepseek-ai/dsh-fs-local": "workspace:*",
|
|
"@deepseek-ai/dsh-subprocess-local": "workspace:*",
|
|
"@deepseek-ai/dsh-session-projection": "workspace:*",
|
|
"@deepseek-ai/dsh-sandbox-local": "workspace:*",
|
|
"@deepseek-ai/dsh-attachment": "workspace:*"
|
|
}
|
|
}
|