@lzn1998/dsh-langgraph 0.0.0-stage → 0.5.0

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/locale/en.json ADDED
@@ -0,0 +1,7 @@
1
+ {
2
+ "meta": {
3
+ "title": "LangGraph workflows",
4
+ "description": "Registers LangGraph graphs as durable workflows an agent runs with the langgraph_run tool. Nodes call this session's own tools in its sandbox, can run as background jobs or delegate to DSH subagents, every node/tool/model call is traced in Trajectory, threads survive restarts, and an interrupted graph resumes where it stopped.",
5
+ "detail": "docs/DETAIL.md"
6
+ }
7
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,7 @@
1
+ {
2
+ "meta": {
3
+ "title": "LangGraph 工作流",
4
+ "description": "把 LangGraph 图注册成可持久化的流程,agent 通过 langgraph_run 工具运行。图里的节点调用本会话自己的工具、在同一个沙箱执行,可后台运行,也可派发 DSH 子 agent;节点/工具/模型动作在 Trajectory 里逐层可见;线程跨重启保留,被 interrupt 暂停的图可以从原处继续。",
5
+ "detail": "docs/DETAIL.md"
6
+ }
7
+ }
package/package.json CHANGED
@@ -1,6 +1,58 @@
1
1
  {
2
2
  "name": "@lzn1998/dsh-langgraph",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.5.0",
4
+ "type": "module",
5
+ "description": "Durable LangGraph workflows as DSH tools: register TS/JS graphs, run and resume them across turns, run them as background jobs, delegate to DSH subagents, trace every node/tool/model call in Trajectory, and let graph nodes call this session's own tools.",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/lznnnnn1998/DSH-LangGraph.git"
9
+ },
10
+ "homepage": "https://github.com/lznnnnn1998/DSH-LangGraph#readme",
11
+ "bugs": {
12
+ "url": "https://github.com/lznnnnn1998/DSH-LangGraph/issues"
13
+ },
14
+ "license": "MIT",
15
+ "author": "lznnnnn1998",
16
+ "types": "./index.d.ts",
17
+ "exports": {
18
+ ".": {
19
+ "types": "./index.d.ts",
20
+ "default": "./index.js"
21
+ },
22
+ "./locale/*.json": "./locale/*.json",
23
+ "./icon": "./icon.svg"
24
+ },
25
+ "files": [
26
+ "index.js",
27
+ "index.d.ts",
28
+ "dsh-checkpointer.js",
29
+ "dsh-chat-model.js",
30
+ "dsh-tools.js",
31
+ "dsh-trace.js",
32
+ "graphs",
33
+ "locale",
34
+ "docs",
35
+ "icon.svg",
36
+ "cordis.patch.yml",
37
+ "README.md",
38
+ "LICENSE"
39
+ ],
40
+ "engines": {
41
+ "dsh": ">=0.2.2-rc.5 <0.3.0",
42
+ "node": ">=24.9.0"
43
+ },
44
+ "scripts": {
45
+ "test": "node --test test/*.test.js"
46
+ },
47
+ "dependencies": {
48
+ "@langchain/core": "^1.5.1",
49
+ "@langchain/langgraph": "^1.7.5",
50
+ "@langchain/langgraph-checkpoint": "^1.2.3",
51
+ "zod": "^4.6.7"
52
+ },
53
+ "dsh": {
54
+ "bundle": {
55
+ "patch": "./cordis.patch.yml"
56
+ }
57
+ }
58
+ }