mirror of
https://github.com/langchain-ai/deepagentsjs.git
synced 2026-07-22 04:15:30 -04:00
454fa26804
* feat(quickjs): add @langchain/quickjs — sandboxed JS/TS REPL with PTC, env isolation, and RLM support * chore: split changesets into quickjs minor + deepagents patch * refactor(quickjs): remove env/secrets, lazy runtime, buffered writes, fix thread_id propagation - Remove entire env/secrets system (EnvVarConfig, EnvConfig, secretRef, injectEnv, blockEnvLeaks, checkEnvAccess, generateEnvPrompt) - Lazy-load QuickJS WASM runtime on first eval via ensureStarted() - Buffer file writes in pendingWrites[], flush after eval via flushWrites(backend) - Make ReplSession.getOrCreate() synchronous (runtime init deferred) - Add toJSON()/fromJSON() for session serialization - Fix thread_id propagation: move session creation from wrapModelCall (which lacks configurable) to tool handler (which has config.configurable.thread_id) - Remove dead starting map from ReplSession - Add integration test verifying REPL state persists across js_eval calls - Add thread_id propagation unit tests - Remove secret-env-agent example - 68 unit tests + 1 integration test passing, types clean * cr * cr * docs(quickjs): add README and LICENSE, fix lint errors * cr * cr
36 lines
945 B
JSON
36 lines
945 B
JSON
{
|
|
"name": "examples",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@langchain/quickjs": "workspace:*",
|
|
"deepagents": "workspace:*",
|
|
"deepagents-acp": "workspace:*",
|
|
"@langchain/modal": "workspace:*",
|
|
"@langchain/anthropic": "^1.3.18",
|
|
"@langchain/core": "^1.1.25",
|
|
"@langchain/daytona": "workspace:*",
|
|
"@langchain/deno": "workspace:*",
|
|
"@langchain/node-vfs": "workspace:*",
|
|
"@langchain/langgraph-checkpoint": "^1.0.0",
|
|
"@langchain/openai": "^1.2.7",
|
|
"@langchain/tavily": "^1.2.0",
|
|
"langchain": "^1.2.24",
|
|
"langsmith": "^0.5.6",
|
|
"dedent": "^1.7.1",
|
|
"uuid": "^13.0.0",
|
|
"yaml": "^2.8.2",
|
|
"zod": "^4.3.6"
|
|
},
|
|
"devDependencies": {
|
|
"@tsconfig/recommended": "^1.0.13",
|
|
"@types/node": "^25.2.3",
|
|
"@types/uuid": "^11.0.0",
|
|
"dotenv": "^17.2.4",
|
|
"typescript": "^5.9.3"
|
|
}
|
|
}
|