@langchain/langgraph-cli 0.0.18 → 0.0.20
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/dist/docker/docker.mjs +3 -0
- package/dist/utils/config.mjs +1 -0
- package/package.json +2 -2
package/dist/docker/docker.mjs
CHANGED
|
@@ -249,6 +249,9 @@ export async function configToDocker(configPath, config, localDeps, options) {
|
|
|
249
249
|
fauxPkgs,
|
|
250
250
|
"python_version" in config ? `RUN ${pipInstall} -e /deps/*` : undefined,
|
|
251
251
|
`ENV LANGSERVE_GRAPHS='${JSON.stringify(config.graphs)}'`,
|
|
252
|
+
!!config.ui && `ENV LANGGRAPH_UI='${JSON.stringify(config.ui)}'`,
|
|
253
|
+
!!config.ui_config &&
|
|
254
|
+
`ENV LANGGRAPH_UI_CONFIG='${JSON.stringify(config.ui_config)}'`,
|
|
252
255
|
!!config.store && `ENV LANGGRAPH_STORE='${JSON.stringify(config.store)}'`,
|
|
253
256
|
!!config.auth && `ENV LANGGRAPH_AUTH='${JSON.stringify(config.auth)}'`,
|
|
254
257
|
!!localDeps.workingDir && `WORKDIR ${localDeps.workingDir}`,
|
package/dist/utils/config.mjs
CHANGED
|
@@ -7,6 +7,7 @@ const BaseConfigSchema = z.object({
|
|
|
7
7
|
message: "Import string must be in format '<file>:<export>'",
|
|
8
8
|
})),
|
|
9
9
|
ui: z.record(z.string()).optional(),
|
|
10
|
+
ui_config: z.object({ shared: z.array(z.string()).optional() }).optional(),
|
|
10
11
|
_INTERNAL_docker_tag: z.string().optional(),
|
|
11
12
|
env: z
|
|
12
13
|
.union([z.array(z.string()), z.record(z.string()), z.string()])
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@langchain/langgraph-cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.20",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": "^18.19.0 || >=20.16.0"
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"yaml": "^2.7.0",
|
|
37
37
|
"zod": "^3.23.8",
|
|
38
38
|
"@babel/code-frame": "^7.26.2",
|
|
39
|
-
"@langchain/langgraph-api": "0.0.
|
|
39
|
+
"@langchain/langgraph-api": "0.0.20"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"tsx": "^4.19.3",
|