managed-deepagents 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/bin/mda.mjs +11 -3
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -43,7 +43,8 @@ npm install managed-deepagents
|
|
|
43
43
|
|
|
44
44
|
This package requires Node.js 22 or newer. The `mda` binary is delivered through
|
|
45
45
|
per-platform optional dependencies, so install only downloads the binary for your
|
|
46
|
-
OS and CPU architecture.
|
|
46
|
+
OS and CPU architecture. This npm-installed CLI scaffolds and compiles TypeScript
|
|
47
|
+
projects only and vendors the TypeScript runtime bundled with this package.
|
|
47
48
|
|
|
48
49
|
To start a new project:
|
|
49
50
|
|
package/bin/mda.mjs
CHANGED
|
@@ -24,6 +24,11 @@ function runtimeVersion() {
|
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
function bundledRuntimePath() {
|
|
28
|
+
const here = dirname(fileURLToPath(import.meta.url));
|
|
29
|
+
return join(here, "..", "dist");
|
|
30
|
+
}
|
|
31
|
+
|
|
27
32
|
function main() {
|
|
28
33
|
let binary;
|
|
29
34
|
try {
|
|
@@ -34,9 +39,12 @@ function main() {
|
|
|
34
39
|
}
|
|
35
40
|
|
|
36
41
|
const version = runtimeVersion();
|
|
37
|
-
const env =
|
|
38
|
-
|
|
39
|
-
:
|
|
42
|
+
const env = {
|
|
43
|
+
...process.env,
|
|
44
|
+
MDA_INSTALL_CHANNEL: "npm",
|
|
45
|
+
MDA_BUNDLED_RUNTIME_PATH: bundledRuntimePath(),
|
|
46
|
+
...(version ? { MDA_RUNTIME_VERSION: version } : {}),
|
|
47
|
+
};
|
|
40
48
|
|
|
41
49
|
const result = spawnSync(binary, process.argv.slice(2), { stdio: "inherit", env });
|
|
42
50
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "managed-deepagents",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Managed Deep Agents — the `defineDeepAgent` authoring interface plus the CLI that compiles and deploys a code-first Deep Agent repository to a managed LangGraph runtime.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"langchain",
|
|
@@ -58,12 +58,12 @@
|
|
|
58
58
|
"langsmith": "^0.7.16"
|
|
59
59
|
},
|
|
60
60
|
"optionalDependencies": {
|
|
61
|
-
"@langchain/managed-deepagents-darwin-arm64": "0.3.
|
|
62
|
-
"@langchain/managed-deepagents-darwin-x64": "0.3.
|
|
63
|
-
"@langchain/managed-deepagents-linux-arm64": "0.3.
|
|
64
|
-
"@langchain/managed-deepagents-linux-x64": "0.3.
|
|
65
|
-
"@langchain/managed-deepagents-win32-arm64": "0.3.
|
|
66
|
-
"@langchain/managed-deepagents-win32-x64": "0.3.
|
|
61
|
+
"@langchain/managed-deepagents-darwin-arm64": "0.3.1",
|
|
62
|
+
"@langchain/managed-deepagents-darwin-x64": "0.3.1",
|
|
63
|
+
"@langchain/managed-deepagents-linux-arm64": "0.3.1",
|
|
64
|
+
"@langchain/managed-deepagents-linux-x64": "0.3.1",
|
|
65
|
+
"@langchain/managed-deepagents-win32-arm64": "0.3.1",
|
|
66
|
+
"@langchain/managed-deepagents-win32-x64": "0.3.1"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@types/node": "^26.0.1",
|