@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.
Files changed (156) hide show
  1. package/LICENSE +24 -0
  2. package/README.en.md +84 -0
  3. package/README.md +83 -2
  4. package/THIRD_PARTY_NOTICES.md +762 -0
  5. package/assets/icon-full.webp +0 -0
  6. package/assets/icon.webp +0 -0
  7. package/assets/wordmark.png +0 -0
  8. package/cordis.patch.yml +3 -0
  9. package/lib/client.js +127442 -0
  10. package/lib/index.mjs +9613 -0
  11. package/lib/types/client/app/addStep.d.ts +25 -0
  12. package/lib/types/client/app/desktop.d.ts +52 -0
  13. package/lib/types/client/app/host.d.ts +29 -0
  14. package/lib/types/client/app/sessions.d.ts +117 -0
  15. package/lib/types/client/app/theme.d.ts +27 -0
  16. package/lib/types/client/app/usePluginConfig.d.ts +59 -0
  17. package/lib/types/client/app/useRunFile.d.ts +24 -0
  18. package/lib/types/client/app/useRunGraph.d.ts +51 -0
  19. package/lib/types/client/app/useRunHistory.d.ts +21 -0
  20. package/lib/types/client/app/useRuns.d.ts +84 -0
  21. package/lib/types/client/app/useVersions.d.ts +50 -0
  22. package/lib/types/client/app/useWorkflow.d.ts +67 -0
  23. package/lib/types/client/app/viewport.d.ts +14 -0
  24. package/lib/types/client/i18n.d.ts +930 -0
  25. package/lib/types/client/index.d.ts +18 -0
  26. package/lib/types/client/model/connect.d.ts +44 -0
  27. package/lib/types/client/model/editor.d.ts +252 -0
  28. package/lib/types/client/model/fileKind.d.ts +15 -0
  29. package/lib/types/client/model/hostPath.d.ts +15 -0
  30. package/lib/types/client/model/htmlPreview.d.ts +24 -0
  31. package/lib/types/client/model/hubRuns.d.ts +45 -0
  32. package/lib/types/client/model/layout.d.ts +83 -0
  33. package/lib/types/client/model/library.d.ts +109 -0
  34. package/lib/types/client/model/nudge.d.ts +43 -0
  35. package/lib/types/client/model/pathSample.d.ts +26 -0
  36. package/lib/types/client/model/route.d.ts +121 -0
  37. package/lib/types/client/model/runDraft.d.ts +68 -0
  38. package/lib/types/client/model/runGraph.d.ts +15 -0
  39. package/lib/types/client/model/runHistory.d.ts +40 -0
  40. package/lib/types/client/model/themes.d.ts +87 -0
  41. package/lib/types/client/model/time.d.ts +7 -0
  42. package/lib/types/client/rpc.d.ts +42 -0
  43. package/lib/types/client/ui/AppearancePicker.d.ts +23 -0
  44. package/lib/types/client/ui/Canvas.d.ts +76 -0
  45. package/lib/types/client/ui/Confirm.d.ts +42 -0
  46. package/lib/types/client/ui/DocViewer.d.ts +67 -0
  47. package/lib/types/client/ui/Dock.d.ts +13 -0
  48. package/lib/types/client/ui/FileTag.d.ts +9 -0
  49. package/lib/types/client/ui/FileViewer.d.ts +30 -0
  50. package/lib/types/client/ui/FlowStreaks.d.ts +40 -0
  51. package/lib/types/client/ui/Handoff.d.ts +30 -0
  52. package/lib/types/client/ui/HostPicker.d.ts +31 -0
  53. package/lib/types/client/ui/HubDialog.d.ts +38 -0
  54. package/lib/types/client/ui/HubRunRow.d.ts +22 -0
  55. package/lib/types/client/ui/HubRuns.d.ts +19 -0
  56. package/lib/types/client/ui/HubSettings.d.ts +20 -0
  57. package/lib/types/client/ui/HubStorage.d.ts +18 -0
  58. package/lib/types/client/ui/HubWorkflowList.d.ts +21 -0
  59. package/lib/types/client/ui/HubWorkflowRow.d.ts +33 -0
  60. package/lib/types/client/ui/HubWorkflows.d.ts +26 -0
  61. package/lib/types/client/ui/HubWorkspacePicker.d.ts +16 -0
  62. package/lib/types/client/ui/Icon.d.ts +83 -0
  63. package/lib/types/client/ui/InputPanel.d.ts +37 -0
  64. package/lib/types/client/ui/InputsDialog.d.ts +22 -0
  65. package/lib/types/client/ui/Inspector.d.ts +51 -0
  66. package/lib/types/client/ui/Issues.d.ts +15 -0
  67. package/lib/types/client/ui/Launch.d.ts +30 -0
  68. package/lib/types/client/ui/Library.d.ts +23 -0
  69. package/lib/types/client/ui/LinkRow.d.ts +31 -0
  70. package/lib/types/client/ui/Markdown.d.ts +21 -0
  71. package/lib/types/client/ui/NodeHeads.d.ts +47 -0
  72. package/lib/types/client/ui/NoteDrawer.d.ts +21 -0
  73. package/lib/types/client/ui/OpenWith.d.ts +21 -0
  74. package/lib/types/client/ui/Outputs.d.ts +61 -0
  75. package/lib/types/client/ui/PanelHead.d.ts +21 -0
  76. package/lib/types/client/ui/PlanDialog.d.ts +18 -0
  77. package/lib/types/client/ui/PreviewCard.d.ts +38 -0
  78. package/lib/types/client/ui/QuickAdd.d.ts +30 -0
  79. package/lib/types/client/ui/ResourceItemDialog.d.ts +33 -0
  80. package/lib/types/client/ui/ResourceItems.d.ts +30 -0
  81. package/lib/types/client/ui/ResourcePanel.d.ts +26 -0
  82. package/lib/types/client/ui/Resources.d.ts +43 -0
  83. package/lib/types/client/ui/RunDraftBar.d.ts +35 -0
  84. package/lib/types/client/ui/RunEdge.d.ts +29 -0
  85. package/lib/types/client/ui/RunFiles.d.ts +24 -0
  86. package/lib/types/client/ui/RunInput.d.ts +26 -0
  87. package/lib/types/client/ui/RunItemDialog.d.ts +43 -0
  88. package/lib/types/client/ui/RunModeSwitch.d.ts +14 -0
  89. package/lib/types/client/ui/RunNav.d.ts +22 -0
  90. package/lib/types/client/ui/RunNodeState.d.ts +42 -0
  91. package/lib/types/client/ui/RunOverview.d.ts +27 -0
  92. package/lib/types/client/ui/RunPosition.d.ts +24 -0
  93. package/lib/types/client/ui/RunResource.d.ts +40 -0
  94. package/lib/types/client/ui/RunStatusMenu.d.ts +28 -0
  95. package/lib/types/client/ui/RunStep.d.ts +45 -0
  96. package/lib/types/client/ui/RunTopBar.d.ts +42 -0
  97. package/lib/types/client/ui/RunView.d.ts +43 -0
  98. package/lib/types/client/ui/SettingsDialog.d.ts +25 -0
  99. package/lib/types/client/ui/SettingsFields.d.ts +37 -0
  100. package/lib/types/client/ui/SkillPicker.d.ts +25 -0
  101. package/lib/types/client/ui/SkillPreview.d.ts +27 -0
  102. package/lib/types/client/ui/StepMark.d.ts +16 -0
  103. package/lib/types/client/ui/StepPanel.d.ts +26 -0
  104. package/lib/types/client/ui/ThemePicker.d.ts +13 -0
  105. package/lib/types/client/ui/TipLayer.d.ts +17 -0
  106. package/lib/types/client/ui/TopBar.d.ts +32 -0
  107. package/lib/types/client/ui/VersionList.d.ts +19 -0
  108. package/lib/types/client/ui/VersionRow.d.ts +19 -0
  109. package/lib/types/client/ui/VersionsDialog.d.ts +18 -0
  110. package/lib/types/client/ui/WorkflowRow.d.ts +32 -0
  111. package/lib/types/client/ui/WorkflowSwitcher.d.ts +20 -0
  112. package/lib/types/client/ui/WorkflowView.d.ts +27 -0
  113. package/lib/types/client/ui/lines.d.ts +13 -0
  114. package/lib/types/client/ui/primitives.d.ts +119 -0
  115. package/lib/types/client/ui/resourceUi.d.ts +49 -0
  116. package/lib/types/client/ui/stepIcons.d.ts +10 -0
  117. package/lib/types/host/authoringSkill.d.ts +17 -0
  118. package/lib/types/host/config.d.ts +54 -0
  119. package/lib/types/host/hostFs.d.ts +69 -0
  120. package/lib/types/host/plan.d.ts +68 -0
  121. package/lib/types/host/pluginConfig.d.ts +57 -0
  122. package/lib/types/host/rpc.d.ts +45 -0
  123. package/lib/types/host/runs/files.d.ts +37 -0
  124. package/lib/types/host/runs/notice.d.ts +21 -0
  125. package/lib/types/host/runs/service.d.ts +258 -0
  126. package/lib/types/host/runs/skill.d.ts +16 -0
  127. package/lib/types/host/runs/storage.d.ts +16 -0
  128. package/lib/types/host/runs/store.d.ts +56 -0
  129. package/lib/types/host/skillView.d.ts +22 -0
  130. package/lib/types/host/store/atomic.d.ts +34 -0
  131. package/lib/types/host/store/materialize.d.ts +19 -0
  132. package/lib/types/host/store/merge.d.ts +25 -0
  133. package/lib/types/host/store/paths.d.ts +86 -0
  134. package/lib/types/host/store/repository.d.ts +217 -0
  135. package/lib/types/host/store/versions.d.ts +38 -0
  136. package/lib/types/host/tool/tool.d.ts +432 -0
  137. package/lib/types/index.d.ts +35 -0
  138. package/lib/types/shared/appearance.d.ts +49 -0
  139. package/lib/types/shared/compile.d.ts +71 -0
  140. package/lib/types/shared/graph.d.ts +54 -0
  141. package/lib/types/shared/graphDiff.d.ts +29 -0
  142. package/lib/types/shared/inputs.d.ts +46 -0
  143. package/lib/types/shared/limits.d.ts +77 -0
  144. package/lib/types/shared/model.d.ts +122 -0
  145. package/lib/types/shared/naming.d.ts +59 -0
  146. package/lib/types/shared/outputPaths.d.ts +49 -0
  147. package/lib/types/shared/resources.d.ts +98 -0
  148. package/lib/types/shared/runCursor.d.ts +54 -0
  149. package/lib/types/shared/runState.d.ts +221 -0
  150. package/lib/types/shared/runSync.d.ts +24 -0
  151. package/lib/types/shared/types.d.ts +488 -0
  152. package/lib/types/shared/validate.d.ts +54 -0
  153. package/lib/types/shared/wire.d.ts +600 -0
  154. package/locale/en.json +6 -0
  155. package/locale/zh.json +6 -0
  156. 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.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
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
+ }