@xiaoso/dsh-workflow-lite 0.0.0-stage → 0.1.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/LICENSE +24 -0
- package/README.en.md +84 -0
- package/README.md +83 -2
- package/THIRD_PARTY_NOTICES.md +762 -0
- package/assets/icon-full.webp +0 -0
- package/assets/icon.webp +0 -0
- package/assets/wordmark.png +0 -0
- package/cordis.patch.yml +3 -0
- package/lib/client.js +127442 -0
- package/lib/index.mjs +9613 -0
- package/lib/types/client/app/addStep.d.ts +25 -0
- package/lib/types/client/app/desktop.d.ts +52 -0
- package/lib/types/client/app/host.d.ts +29 -0
- package/lib/types/client/app/sessions.d.ts +117 -0
- package/lib/types/client/app/theme.d.ts +27 -0
- package/lib/types/client/app/usePluginConfig.d.ts +59 -0
- package/lib/types/client/app/useRunFile.d.ts +24 -0
- package/lib/types/client/app/useRunGraph.d.ts +51 -0
- package/lib/types/client/app/useRunHistory.d.ts +21 -0
- package/lib/types/client/app/useRuns.d.ts +84 -0
- package/lib/types/client/app/useVersions.d.ts +50 -0
- package/lib/types/client/app/useWorkflow.d.ts +67 -0
- package/lib/types/client/app/viewport.d.ts +14 -0
- package/lib/types/client/i18n.d.ts +930 -0
- package/lib/types/client/index.d.ts +18 -0
- package/lib/types/client/model/connect.d.ts +44 -0
- package/lib/types/client/model/editor.d.ts +252 -0
- package/lib/types/client/model/fileKind.d.ts +15 -0
- package/lib/types/client/model/hostPath.d.ts +15 -0
- package/lib/types/client/model/htmlPreview.d.ts +24 -0
- package/lib/types/client/model/hubRuns.d.ts +45 -0
- package/lib/types/client/model/layout.d.ts +83 -0
- package/lib/types/client/model/library.d.ts +109 -0
- package/lib/types/client/model/nudge.d.ts +43 -0
- package/lib/types/client/model/pathSample.d.ts +26 -0
- package/lib/types/client/model/route.d.ts +121 -0
- package/lib/types/client/model/runDraft.d.ts +68 -0
- package/lib/types/client/model/runGraph.d.ts +15 -0
- package/lib/types/client/model/runHistory.d.ts +40 -0
- package/lib/types/client/model/themes.d.ts +87 -0
- package/lib/types/client/model/time.d.ts +7 -0
- package/lib/types/client/rpc.d.ts +42 -0
- package/lib/types/client/ui/AppearancePicker.d.ts +23 -0
- package/lib/types/client/ui/Canvas.d.ts +76 -0
- package/lib/types/client/ui/Confirm.d.ts +42 -0
- package/lib/types/client/ui/DocViewer.d.ts +67 -0
- package/lib/types/client/ui/Dock.d.ts +13 -0
- package/lib/types/client/ui/FileTag.d.ts +9 -0
- package/lib/types/client/ui/FileViewer.d.ts +30 -0
- package/lib/types/client/ui/FlowStreaks.d.ts +40 -0
- package/lib/types/client/ui/Handoff.d.ts +30 -0
- package/lib/types/client/ui/HostPicker.d.ts +31 -0
- package/lib/types/client/ui/HubDialog.d.ts +38 -0
- package/lib/types/client/ui/HubRunRow.d.ts +22 -0
- package/lib/types/client/ui/HubRuns.d.ts +19 -0
- package/lib/types/client/ui/HubSettings.d.ts +20 -0
- package/lib/types/client/ui/HubStorage.d.ts +18 -0
- package/lib/types/client/ui/HubWorkflowList.d.ts +21 -0
- package/lib/types/client/ui/HubWorkflowRow.d.ts +33 -0
- package/lib/types/client/ui/HubWorkflows.d.ts +26 -0
- package/lib/types/client/ui/HubWorkspacePicker.d.ts +16 -0
- package/lib/types/client/ui/Icon.d.ts +83 -0
- package/lib/types/client/ui/InputPanel.d.ts +37 -0
- package/lib/types/client/ui/InputsDialog.d.ts +22 -0
- package/lib/types/client/ui/Inspector.d.ts +51 -0
- package/lib/types/client/ui/Issues.d.ts +15 -0
- package/lib/types/client/ui/Launch.d.ts +30 -0
- package/lib/types/client/ui/Library.d.ts +23 -0
- package/lib/types/client/ui/LinkRow.d.ts +31 -0
- package/lib/types/client/ui/Markdown.d.ts +21 -0
- package/lib/types/client/ui/NodeHeads.d.ts +47 -0
- package/lib/types/client/ui/NoteDrawer.d.ts +21 -0
- package/lib/types/client/ui/OpenWith.d.ts +21 -0
- package/lib/types/client/ui/Outputs.d.ts +61 -0
- package/lib/types/client/ui/PanelHead.d.ts +21 -0
- package/lib/types/client/ui/PlanDialog.d.ts +18 -0
- package/lib/types/client/ui/PreviewCard.d.ts +38 -0
- package/lib/types/client/ui/QuickAdd.d.ts +30 -0
- package/lib/types/client/ui/ResourceItemDialog.d.ts +33 -0
- package/lib/types/client/ui/ResourceItems.d.ts +30 -0
- package/lib/types/client/ui/ResourcePanel.d.ts +26 -0
- package/lib/types/client/ui/Resources.d.ts +43 -0
- package/lib/types/client/ui/RunDraftBar.d.ts +35 -0
- package/lib/types/client/ui/RunEdge.d.ts +29 -0
- package/lib/types/client/ui/RunFiles.d.ts +24 -0
- package/lib/types/client/ui/RunInput.d.ts +26 -0
- package/lib/types/client/ui/RunItemDialog.d.ts +43 -0
- package/lib/types/client/ui/RunModeSwitch.d.ts +14 -0
- package/lib/types/client/ui/RunNav.d.ts +22 -0
- package/lib/types/client/ui/RunNodeState.d.ts +42 -0
- package/lib/types/client/ui/RunOverview.d.ts +27 -0
- package/lib/types/client/ui/RunPosition.d.ts +24 -0
- package/lib/types/client/ui/RunResource.d.ts +40 -0
- package/lib/types/client/ui/RunStatusMenu.d.ts +28 -0
- package/lib/types/client/ui/RunStep.d.ts +45 -0
- package/lib/types/client/ui/RunTopBar.d.ts +42 -0
- package/lib/types/client/ui/RunView.d.ts +43 -0
- package/lib/types/client/ui/SettingsDialog.d.ts +25 -0
- package/lib/types/client/ui/SettingsFields.d.ts +37 -0
- package/lib/types/client/ui/SkillPicker.d.ts +25 -0
- package/lib/types/client/ui/SkillPreview.d.ts +27 -0
- package/lib/types/client/ui/StepMark.d.ts +16 -0
- package/lib/types/client/ui/StepPanel.d.ts +26 -0
- package/lib/types/client/ui/ThemePicker.d.ts +13 -0
- package/lib/types/client/ui/TipLayer.d.ts +17 -0
- package/lib/types/client/ui/TopBar.d.ts +32 -0
- package/lib/types/client/ui/VersionList.d.ts +19 -0
- package/lib/types/client/ui/VersionRow.d.ts +19 -0
- package/lib/types/client/ui/VersionsDialog.d.ts +18 -0
- package/lib/types/client/ui/WorkflowRow.d.ts +32 -0
- package/lib/types/client/ui/WorkflowSwitcher.d.ts +20 -0
- package/lib/types/client/ui/WorkflowView.d.ts +27 -0
- package/lib/types/client/ui/lines.d.ts +13 -0
- package/lib/types/client/ui/primitives.d.ts +119 -0
- package/lib/types/client/ui/resourceUi.d.ts +49 -0
- package/lib/types/client/ui/stepIcons.d.ts +10 -0
- package/lib/types/host/authoringSkill.d.ts +17 -0
- package/lib/types/host/config.d.ts +54 -0
- package/lib/types/host/hostFs.d.ts +69 -0
- package/lib/types/host/plan.d.ts +68 -0
- package/lib/types/host/pluginConfig.d.ts +57 -0
- package/lib/types/host/rpc.d.ts +45 -0
- package/lib/types/host/runs/files.d.ts +37 -0
- package/lib/types/host/runs/notice.d.ts +21 -0
- package/lib/types/host/runs/service.d.ts +258 -0
- package/lib/types/host/runs/skill.d.ts +16 -0
- package/lib/types/host/runs/storage.d.ts +16 -0
- package/lib/types/host/runs/store.d.ts +56 -0
- package/lib/types/host/skillView.d.ts +22 -0
- package/lib/types/host/store/atomic.d.ts +34 -0
- package/lib/types/host/store/materialize.d.ts +19 -0
- package/lib/types/host/store/merge.d.ts +25 -0
- package/lib/types/host/store/paths.d.ts +86 -0
- package/lib/types/host/store/repository.d.ts +217 -0
- package/lib/types/host/store/versions.d.ts +38 -0
- package/lib/types/host/tool/tool.d.ts +432 -0
- package/lib/types/index.d.ts +35 -0
- package/lib/types/shared/appearance.d.ts +49 -0
- package/lib/types/shared/compile.d.ts +71 -0
- package/lib/types/shared/graph.d.ts +54 -0
- package/lib/types/shared/graphDiff.d.ts +29 -0
- package/lib/types/shared/inputs.d.ts +46 -0
- package/lib/types/shared/limits.d.ts +77 -0
- package/lib/types/shared/model.d.ts +122 -0
- package/lib/types/shared/naming.d.ts +59 -0
- package/lib/types/shared/outputPaths.d.ts +49 -0
- package/lib/types/shared/resources.d.ts +98 -0
- package/lib/types/shared/runCursor.d.ts +54 -0
- package/lib/types/shared/runState.d.ts +221 -0
- package/lib/types/shared/runSync.d.ts +24 -0
- package/lib/types/shared/types.d.ts +488 -0
- package/lib/types/shared/validate.d.ts +54 -0
- package/lib/types/shared/wire.d.ts +600 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +144 -4
package/package.json
CHANGED
|
@@ -1,6 +1,146 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xiaoso/dsh-workflow-lite",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Lightweight agent workflow for DeepSeek Harness: one workflow = one JSON (React Flow native) with prompts inline, compiled into a dispatch plan the model executes itself. No execution engine; optional per-workflow run state kept by the model in a YAML file.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"author": "xiaoso",
|
|
8
|
+
"publishConfig": {
|
|
9
|
+
"access": "public",
|
|
10
|
+
"tag": "latest"
|
|
11
|
+
},
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "git+https://github.com/xiaoso456/dsh-workflow-lite.git"
|
|
15
|
+
},
|
|
16
|
+
"homepage": "https://github.com/xiaoso456/dsh-workflow-lite#readme",
|
|
17
|
+
"bugs": {
|
|
18
|
+
"url": "https://github.com/xiaoso456/dsh-workflow-lite/issues"
|
|
19
|
+
},
|
|
20
|
+
"sideEffects": [
|
|
21
|
+
"lib/client.js"
|
|
22
|
+
],
|
|
23
|
+
"keywords": [
|
|
24
|
+
"deepseek",
|
|
25
|
+
"deepseek-harness",
|
|
26
|
+
"dsh",
|
|
27
|
+
"dsh-plugin",
|
|
28
|
+
"dsh-plugins",
|
|
29
|
+
"workflow",
|
|
30
|
+
"react-flow",
|
|
31
|
+
"soft-orchestration"
|
|
32
|
+
],
|
|
33
|
+
"engines": {
|
|
34
|
+
"node": ">=22"
|
|
35
|
+
},
|
|
36
|
+
"packageManager": "pnpm@11.21.0",
|
|
37
|
+
"main": "lib/index.mjs",
|
|
38
|
+
"types": "lib/types/index.d.ts",
|
|
39
|
+
"icon": "./assets/icon.webp",
|
|
40
|
+
"exports": {
|
|
41
|
+
".": {
|
|
42
|
+
"types": "./lib/types/index.d.ts",
|
|
43
|
+
"default": "./lib/index.mjs"
|
|
44
|
+
},
|
|
45
|
+
"./client": {
|
|
46
|
+
"types": "./lib/types/client/index.d.ts",
|
|
47
|
+
"default": "./lib/client.js"
|
|
48
|
+
},
|
|
49
|
+
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
50
|
+
"./locale/*.json": "./locale/*.json",
|
|
51
|
+
"./package.json": "./package.json"
|
|
52
|
+
},
|
|
53
|
+
"files": [
|
|
54
|
+
"lib/index.mjs",
|
|
55
|
+
"lib/client.js",
|
|
56
|
+
"cordis.patch.yml",
|
|
57
|
+
"lib/types/**/*.d.ts",
|
|
58
|
+
"locale/*.json",
|
|
59
|
+
"assets/icon.webp",
|
|
60
|
+
"assets/icon-full.webp",
|
|
61
|
+
"assets/wordmark.png",
|
|
62
|
+
"THIRD_PARTY_NOTICES.md"
|
|
63
|
+
],
|
|
64
|
+
"dsh": {
|
|
65
|
+
"manifestVersion": 1,
|
|
66
|
+
"client": {
|
|
67
|
+
"platform": "web",
|
|
68
|
+
"inject": [
|
|
69
|
+
"@deepseek-ai/dsh-client-connection",
|
|
70
|
+
"@deepseek-ai/dsh-client-locale",
|
|
71
|
+
"@deepseek-ai/dsh-client-ui-primitives",
|
|
72
|
+
"@deepseek-ai/dsh-client-ui-slots"
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
"bundle": {
|
|
76
|
+
"patch": "./cordis.patch.yml"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"peerDependencies": {
|
|
80
|
+
"@deepseek-ai/cordis": "^4.0.4",
|
|
81
|
+
"@deepseek-ai/dsh-agent": ">=0.2.0-0 <0.2.1-0",
|
|
82
|
+
"@deepseek-ai/dsh-home-paths": ">=0.2.0-0 <0.2.1-0",
|
|
83
|
+
"@deepseek-ai/dsh-llm": ">=0.2.0-0 <0.2.1-0",
|
|
84
|
+
"@deepseek-ai/dsh-settings": ">=0.2.0-0 <0.2.1-0",
|
|
85
|
+
"@deepseek-ai/dsh-tools": ">=0.2.0-0 <0.2.1-0"
|
|
86
|
+
},
|
|
87
|
+
"dependencies": {
|
|
88
|
+
"@deepseek-ai/schemastery": "^3.18.4",
|
|
89
|
+
"@xyflow/react": "^12.3.5",
|
|
90
|
+
"elkjs": "^0.9.3",
|
|
91
|
+
"pathe": "^2.0.3",
|
|
92
|
+
"yaml": "^2.9.1"
|
|
93
|
+
},
|
|
94
|
+
"devDependencies": {
|
|
95
|
+
"@biomejs/biome": "^2.5.8",
|
|
96
|
+
"@deepseek-ai/cordis": "4.0.4",
|
|
97
|
+
"@deepseek-ai/dsh-agent": "0.2.0-rc.1",
|
|
98
|
+
"@deepseek-ai/dsh-client-connection": "0.2.0-rc.1",
|
|
99
|
+
"@deepseek-ai/dsh-client-locale": "0.2.0-rc.1",
|
|
100
|
+
"@deepseek-ai/dsh-client-ui-conversation": "0.2.0-rc.1",
|
|
101
|
+
"@deepseek-ai/dsh-client-ui-primitives": "0.2.0-rc.1",
|
|
102
|
+
"@deepseek-ai/dsh-client-ui-renderer": "0.2.0-rc.1",
|
|
103
|
+
"@deepseek-ai/dsh-client-ui-session": "0.2.0-rc.1",
|
|
104
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.2.0-rc.1",
|
|
105
|
+
"@deepseek-ai/dsh-home-paths": "0.2.0-rc.1",
|
|
106
|
+
"@deepseek-ai/dsh-invariants": "0.2.0-rc.1",
|
|
107
|
+
"@deepseek-ai/dsh-llm": "0.2.0-rc.1",
|
|
108
|
+
"@deepseek-ai/dsh-ptc-runtime": "0.2.0-rc.1",
|
|
109
|
+
"@deepseek-ai/dsh-sandbox": "0.2.0-rc.1",
|
|
110
|
+
"@deepseek-ai/dsh-sandbox-policy": "0.2.0-rc.1",
|
|
111
|
+
"@deepseek-ai/dsh-scope": "0.2.0-rc.1",
|
|
112
|
+
"@deepseek-ai/dsh-session": "0.2.0-rc.1",
|
|
113
|
+
"@deepseek-ai/dsh-settings": "0.2.0-rc.1",
|
|
114
|
+
"@deepseek-ai/dsh-skill": "0.2.0-rc.1",
|
|
115
|
+
"@deepseek-ai/dsh-system-prompt": "0.2.0-rc.1",
|
|
116
|
+
"@deepseek-ai/dsh-tools": "0.2.0-rc.1",
|
|
117
|
+
"@deepseek-ai/dsh-typert-protocol": "0.2.0-rc.1",
|
|
118
|
+
"@deepseek-ai/dsh-user-approval": "0.2.0-rc.1",
|
|
119
|
+
"@deepseek-ai/dsh-util-values": "0.2.0-rc.1",
|
|
120
|
+
"@deepseek-ai/dsh-workspace": "0.2.0-rc.1",
|
|
121
|
+
"@types/node": "^22.19.0",
|
|
122
|
+
"@types/react": "^18.3.12",
|
|
123
|
+
"@types/react-dom": "^18.3.1",
|
|
124
|
+
"lightningcss": "^1.32.0",
|
|
125
|
+
"react": "^18.3.1",
|
|
126
|
+
"react-dom": "^18.3.1",
|
|
127
|
+
"tsdown": "^0.22.2",
|
|
128
|
+
"typescript": "^5.6.3",
|
|
129
|
+
"vitest": "^2.1.8"
|
|
130
|
+
},
|
|
131
|
+
"scripts": {
|
|
132
|
+
"build": "tsdown && node scripts/notices.mjs",
|
|
133
|
+
"build:types": "node -e \"require('node:fs').rmSync('lib/types',{recursive:true,force:true})\" && tsc -p tsconfig.build.json",
|
|
134
|
+
"notices": "node scripts/notices.mjs",
|
|
135
|
+
"notices:check": "node scripts/notices.mjs --check",
|
|
136
|
+
"prepare": "pnpm run build:types && pnpm run build",
|
|
137
|
+
"prepublishOnly": "pnpm run typecheck && pnpm run lint && pnpm test",
|
|
138
|
+
"watch": "tsdown --watch",
|
|
139
|
+
"typecheck": "tsc --noEmit",
|
|
140
|
+
"test": "vitest run",
|
|
141
|
+
"lint": "biome check .",
|
|
142
|
+
"format": "biome check --write .",
|
|
143
|
+
"hero": "node --experimental-strip-types tests/readme-shots.mjs && node tests/readme-hero.mjs",
|
|
144
|
+
"hero:render": "node tests/readme-hero.mjs"
|
|
145
|
+
}
|
|
146
|
+
}
|