@sigmacamellia/dsh-dynamic-workflow 0.0.0-stage → 0.1.2
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 +201 -0
- package/NOTICE.md +42 -0
- package/README.md +312 -2
- package/cordis.patch.yml +14 -0
- package/icon.svg +22 -0
- package/lib/client.js +4652 -0
- package/lib/index.js +253057 -0
- package/lib/index.js.LEGAL.txt +17 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +112 -4
- package/skills/dynamic-workflows/SKILL.md +1631 -0
- package/skills/dynamic-workflows/examples.md +1110 -0
- package/skills/dynamic-workflows/patterns.md +794 -0
- package/vendor/LICENSE-ZCode-Apache-2.0 +202 -0
- package/vendor/PATCHES.md +7 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
Bundled license information:
|
|
2
|
+
|
|
3
|
+
typescript/lib/typescript.js:
|
|
4
|
+
/*! *****************************************************************************
|
|
5
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
7
|
+
this file except in compliance with the License. You may obtain a copy of the
|
|
8
|
+
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
|
|
10
|
+
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
11
|
+
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
12
|
+
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
13
|
+
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
14
|
+
|
|
15
|
+
See the Apache Version 2.0 License for specific language governing permissions
|
|
16
|
+
and limitations under the License.
|
|
17
|
+
***************************************************************************** */
|
package/locale/en.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "Dynamic workflows",
|
|
4
|
+
"description": "Typechecked TypeScript multi-agent workflow orchestration for DeepSeek Harness: parallel subagents, SQLite journal resume/amend, typed mid-run holes, vertical spine side pane, and live chart/table/metrics/board dashboard artifacts. Start with /workflow or ask the agent to use a workflow."
|
|
5
|
+
}
|
|
6
|
+
}
|
package/locale/zh.json
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,114 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sigmacamellia/dsh-dynamic-workflow",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.2",
|
|
4
|
+
"description": "Typechecked TypeScript multi-agent dynamic workflow plugin for DeepSeek Harness (DSH): parallel subagents, SQLite durable journal (resume / amend / holes / escalations), vertical spine timeline, and live dashboard artifacts. Ported from ZCode (Apache-2.0).",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"icon": "./icon.svg",
|
|
8
|
+
"homepage": "https://github.com/LoneSigma1998/dsh-dynamic-workflow#readme",
|
|
9
|
+
"bugs": {
|
|
10
|
+
"url": "https://github.com/LoneSigma1998/dsh-dynamic-workflow/issues"
|
|
11
|
+
},
|
|
12
|
+
"keywords": [
|
|
13
|
+
"deepseek-harness",
|
|
14
|
+
"dsh",
|
|
15
|
+
"dsh-plugin",
|
|
16
|
+
"dynamic-workflow",
|
|
17
|
+
"workflow",
|
|
18
|
+
"multi-agent",
|
|
19
|
+
"ai-agents",
|
|
20
|
+
"typescript",
|
|
21
|
+
"zcode"
|
|
22
|
+
],
|
|
23
|
+
"repository": {
|
|
24
|
+
"type": "git",
|
|
25
|
+
"url": "git+https://github.com/LoneSigma1998/dsh-dynamic-workflow.git"
|
|
26
|
+
},
|
|
27
|
+
"publishConfig": {
|
|
28
|
+
"access": "public"
|
|
29
|
+
},
|
|
30
|
+
"main": "lib/index.js",
|
|
31
|
+
"exports": {
|
|
32
|
+
".": "./lib/index.js",
|
|
33
|
+
"./client": "./lib/client.js",
|
|
34
|
+
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
35
|
+
"./locale/*.json": "./locale/*.json",
|
|
36
|
+
"./icon": "./icon.svg",
|
|
37
|
+
"./package.json": "./package.json"
|
|
38
|
+
},
|
|
39
|
+
"files": [
|
|
40
|
+
"lib/index.js",
|
|
41
|
+
"lib/index.js.LEGAL.txt",
|
|
42
|
+
"lib/client.js",
|
|
43
|
+
"icon.svg",
|
|
44
|
+
"locale/*.json",
|
|
45
|
+
"skills",
|
|
46
|
+
"cordis.patch.yml",
|
|
47
|
+
"LICENSE",
|
|
48
|
+
"README.md",
|
|
49
|
+
"NOTICE.md",
|
|
50
|
+
"vendor/LICENSE-ZCode-Apache-2.0",
|
|
51
|
+
"vendor/PATCHES.md"
|
|
52
|
+
],
|
|
53
|
+
"dsh": {
|
|
54
|
+
"bundle": {
|
|
55
|
+
"patch": "./cordis.patch.yml"
|
|
56
|
+
},
|
|
57
|
+
"client": {
|
|
58
|
+
"platform": "web"
|
|
59
|
+
},
|
|
60
|
+
"manifestVersion": 1
|
|
61
|
+
},
|
|
62
|
+
"scripts": {
|
|
63
|
+
"gen-libs": "node vendor/dynamic-workflow/scripts/generate-libs.mjs",
|
|
64
|
+
"build": "node scripts/build.mjs",
|
|
65
|
+
"prepublishOnly": "npm run build",
|
|
66
|
+
"test:config": "node scripts/dsh-test-config.mjs",
|
|
67
|
+
"typecheck": "node scripts/typecheck.mjs",
|
|
68
|
+
"test": "node vendor/dynamic-workflow/scripts/generate-libs.mjs && node scripts/dsh-test-config.mjs && tsx --tsconfig tsconfig.test.json tests/smoke/engine-smoke.ts && tsx --tsconfig tsconfig.test.json tests/dsh/governor.ts && tsx --tsconfig tsconfig.test.json tests/dsh/hardening.ts && tsx --tsconfig tsconfig.test.json tests/dsh/quota-resume.ts && tsx --tsconfig tsconfig.test.json tests/dsh/snippet.ts && tsx --tsconfig tsconfig.test.json tests/dsh/tool-schema.ts && DWF_TEST_HOOK=1 tsx --tsconfig tsconfig.test.json tests/dsh/integration.ts && DWF_TEST_HOOK=1 tsx --tsconfig tsconfig.test.json tests/dsh/wire.ts && DWF_TEST_HOOK=1 tsx --tsconfig tsconfig.test.json tests/dsh/drafts.ts && DWF_TEST_HOOK=1 tsx --tsconfig tsconfig.test.json tests/dsh/amend-inflight.ts && DWF_TEST_HOOK=1 tsx --tsconfig tsconfig.test.json tests/dsh/budget.ts && DWF_TEST_HOOK=1 tsx --tsconfig tsconfig.test.json tests/dsh/modes.ts && DWF_TEST_HOOK=1 tsx --tsconfig tsconfig.test.json tests/dsh/audit-regressions.ts",
|
|
69
|
+
"test:bundle": "node scripts/build.mjs && node scripts/dsh-test-config.mjs && DWF_TEST_HOOK=1 DWF_PLUGIN=lib tsx --tsconfig tsconfig.test.json tests/dsh/integration.ts && DWF_TEST_HOOK=1 DWF_PLUGIN=lib tsx --tsconfig tsconfig.test.json tests/dsh/wire.ts && DWF_TEST_HOOK=1 DWF_PLUGIN=lib tsx --tsconfig tsconfig.test.json tests/dsh/audit-regressions.ts",
|
|
70
|
+
"test:client": "node scripts/build.mjs --client-only && node scripts/dsh-test-config.mjs && mkdir -p .tmp && DWF_FIXTURE_DIR=.tmp DWF_TEST_HOOK=1 tsx --tsconfig tsconfig.test.json tests/dsh/integration.ts && tsx --tsconfig tsconfig.test.json tests/preview/make-fixtures.ts .tmp/run-main.json .tmp/fixtures.json && node tests/client/bundle-load.mjs .tmp/fixtures.json",
|
|
71
|
+
"preview": "node tests/preview/build-preview.mjs .tmp/fixtures.json .tmp/preview.html",
|
|
72
|
+
"test:live": "node tests/e2e/run-live.mjs",
|
|
73
|
+
"test:vendor": "node vendor/dynamic-workflow/scripts/generate-libs.mjs && vitest run --config vitest.vendor.config.mts && vitest run --config vitest.config.mts"
|
|
74
|
+
},
|
|
75
|
+
"engines": {
|
|
76
|
+
"node": ">=24.9.0",
|
|
77
|
+
"dsh": ">=0.2.2-rc.3"
|
|
78
|
+
},
|
|
79
|
+
"peerDependencies": {
|
|
80
|
+
"@deepseek-ai/cordis": "*",
|
|
81
|
+
"@deepseek-ai/dsh-agent": "*",
|
|
82
|
+
"@deepseek-ai/dsh-llm": "*",
|
|
83
|
+
"@deepseek-ai/dsh-session": "*",
|
|
84
|
+
"@deepseek-ai/dsh-tools": "*"
|
|
85
|
+
},
|
|
86
|
+
"peerDependenciesMeta": {
|
|
87
|
+
"@deepseek-ai/cordis": {
|
|
88
|
+
"optional": true
|
|
89
|
+
},
|
|
90
|
+
"@deepseek-ai/dsh-agent": {
|
|
91
|
+
"optional": true
|
|
92
|
+
},
|
|
93
|
+
"@deepseek-ai/dsh-llm": {
|
|
94
|
+
"optional": true
|
|
95
|
+
},
|
|
96
|
+
"@deepseek-ai/dsh-session": {
|
|
97
|
+
"optional": true
|
|
98
|
+
},
|
|
99
|
+
"@deepseek-ai/dsh-tools": {
|
|
100
|
+
"optional": true
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"devDependencies": {
|
|
104
|
+
"@types/node": "^22.19.0",
|
|
105
|
+
"@types/react": "18.3.28",
|
|
106
|
+
"esbuild": "^0.25.0",
|
|
107
|
+
"react": "18.3.1",
|
|
108
|
+
"react-dom": "18.3.1",
|
|
109
|
+
"tsx": "^4.20.0",
|
|
110
|
+
"typescript": "5.9.3",
|
|
111
|
+
"zod": "^4.4.3",
|
|
112
|
+
"vitest": "^4.1.5"
|
|
113
|
+
}
|
|
114
|
+
}
|