dsh-auto-flow 0.1.2 → 0.1.3

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/lib/types.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { A as WORKFLOW_FORMAT_VERSION, C as RunStep, D as ScriptParamField, E as ScriptInfo, F as WorkflowListRouteModelsResult, I as WorkflowListRunsRequest, L as WorkflowLlmRoute, M as WorkflowFile, N as WorkflowListLlmRoutesResult, O as SelectOption, P as WorkflowListRouteModelsRequest, R as WorkflowRouteModel, S as RunState, T as ScriptArtifactSpec, _ as RunEndEvent, a as FlowEdge, b as RunNodeResultEvent, c as FlowNodeData, d as NodeDefinitionSchema, f as NodeMetaSchema, g as PropertyType, h as PropertyPlacement, i as FlowDiagnostic, j as WorkflowDefinition, k as StringFormat, l as FlowSummary, m as NodePropertySchema, n as DatetimeFormat, o as FlowGraph, p as NodePortSchema, r as FlowDataValue, s as FlowNode, t as ApprovalOption, u as FlowValidationResult, v as RunNeedApprovalEvent, w as RunSummary, x as RunStartEvent, y as RunNodeEvent } from "./types-B4zlU2vb.js";
2
- export { ApprovalOption, DatetimeFormat, FlowDataValue, FlowDiagnostic, FlowEdge, FlowGraph, FlowNode, FlowNodeData, FlowSummary, FlowValidationResult, NodeDefinitionSchema, NodeMetaSchema, NodePortSchema, NodePropertySchema, PropertyPlacement, PropertyType, RunEndEvent, RunNeedApprovalEvent, RunNodeEvent, RunNodeResultEvent, RunStartEvent, RunState, RunStep, RunSummary, ScriptArtifactSpec, ScriptInfo, ScriptParamField, SelectOption, StringFormat, WORKFLOW_FORMAT_VERSION, WorkflowDefinition, WorkflowFile, WorkflowListLlmRoutesResult, WorkflowListRouteModelsRequest, WorkflowListRouteModelsResult, WorkflowListRunsRequest, WorkflowLlmRoute, WorkflowRouteModel };
1
+ import { $ as RunTerminalStatus, A as NodeOutputFieldDomain, B as PropertyPlacement, C as LedgerEntry, D as NodeLogEntry, E as NodeDefinitionSchema, F as NodeRequiredKey, G as RunEndEvent, H as RESUME_MODES, I as NodeRequirement, J as RunNodeResultEvent, K as RunNeedApprovalEvent, L as NodeRuntime, M as NodePortDataType, N as NodePortSchema, O as NodeMetaSchema, P as NodePropertySchema, Q as RunSummary, R as PortData, S as Item, T as NodeAttempt, U as RUN_TERMINAL_STATUSES, V as PropertyType, W as ResumeMode, X as RunState, Y as RunStartEvent, Z as RunStep, _ as FlowNode, a as DEFAULT_RESUME_MODE, at as StringFormat, b as FlowValidationResult, c as FIELD_CONDITION_OPERATORS, ct as WorkflowFile, d as FieldConditionSet, dt as WorkflowListRouteModelsResult, et as ScriptDiagnosticInfo, f as FlowDataValue, ft as WorkflowListRunsRequest, g as FlowGraph, h as FlowEdgeType, ht as ScriptArtifactSpec, i as Batch, it as SelectOption, j as NodeOutputVar, k as NodeOutputDeclaration, l as FieldCondition, lt as WorkflowListLlmRoutesResult, m as FlowEdge, mt as WorkflowRouteModel, n as UnitEntryResult, nt as ScriptParamField, o as DatetimeFormat, ot as WORKFLOW_FORMAT_VERSION, p as FlowDiagnostic, pt as WorkflowLlmRoute, q as RunNodeEvent, r as ApprovalOption, rt as ScriptSourceInfo, s as ExecMode, st as WorkflowDefinition, t as RetryPlanSummary, tt as ScriptInfo, u as FieldConditionOperator, ut as WorkflowListRouteModelsRequest, v as FlowNodeData, w as LedgerStatus, x as HostCapability, y as FlowSummary, z as PortProjection } from "./types-B5z-T_7S.js";
2
+ export { ApprovalOption, Batch, DEFAULT_RESUME_MODE, DatetimeFormat, ExecMode, FIELD_CONDITION_OPERATORS, FieldCondition, FieldConditionOperator, FieldConditionSet, FlowDataValue, FlowDiagnostic, FlowEdge, FlowEdgeType, FlowGraph, FlowNode, FlowNodeData, FlowSummary, FlowValidationResult, HostCapability, Item, LedgerEntry, LedgerStatus, NodeAttempt, NodeDefinitionSchema, NodeLogEntry, NodeMetaSchema, NodeOutputDeclaration, NodeOutputFieldDomain, NodeOutputVar, NodePortDataType, NodePortSchema, NodePropertySchema, NodeRequiredKey, NodeRequirement, NodeRuntime, PortData, PortProjection, PropertyPlacement, PropertyType, RESUME_MODES, RUN_TERMINAL_STATUSES, ResumeMode, RetryPlanSummary, RunEndEvent, RunNeedApprovalEvent, RunNodeEvent, RunNodeResultEvent, RunStartEvent, RunState, RunStep, RunSummary, RunTerminalStatus, type ScriptArtifactSpec, ScriptDiagnosticInfo, ScriptInfo, ScriptParamField, ScriptSourceInfo, SelectOption, StringFormat, UnitEntryResult, WORKFLOW_FORMAT_VERSION, WorkflowDefinition, WorkflowFile, WorkflowListLlmRoutesResult, WorkflowListRouteModelsRequest, WorkflowListRouteModelsResult, WorkflowListRunsRequest, WorkflowLlmRoute, WorkflowRouteModel };
package/lib/types.js CHANGED
@@ -1,7 +1,2 @@
1
- //#region src/types.ts
2
- /** 当前工作流文档格式版本(显式版本化,便于未来演进与迁移)。 */
3
- const WORKFLOW_FORMAT_VERSION = 1;
4
- //#endregion
5
- export { WORKFLOW_FORMAT_VERSION };
6
-
7
- //# sourceMappingURL=types.js.map
1
+ import { a as WORKFLOW_FORMAT_VERSION, i as RUN_TERMINAL_STATUSES, n as FIELD_CONDITION_OPERATORS, r as RESUME_MODES, t as DEFAULT_RESUME_MODE } from "./types-DFA-SFER.js";
2
+ export { DEFAULT_RESUME_MODE, FIELD_CONDITION_OPERATORS, RESUME_MODES, RUN_TERMINAL_STATUSES, WORKFLOW_FORMAT_VERSION };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dsh-auto-flow",
3
- "version": "0.1.2",
4
- "description": "A DeepSeek Harness plugin.",
3
+ "version": "0.1.3",
4
+ "description": "可视化工作流编辑器与执行引擎:画布编排、脚本节点、人工审批、运行历史,让 dsh 按确定流程跑长任务。",
5
5
  "keywords": [
6
6
  "deepseek-harness",
7
7
  "dsh",
@@ -13,14 +13,17 @@
13
13
  "lib/index.d.ts",
14
14
  "lib/types.js",
15
15
  "lib/types.d.ts",
16
+ "lib/types-*.d.ts",
16
17
  "lib/client.js",
18
+ "lib/client.*.js",
17
19
  "lib/typert.host.js",
18
20
  "lib/typert.host.d.ts",
19
21
  "lib/typert.remote-client.js",
20
22
  "lib/typert.remote-client.d.ts",
23
+ "units/*/dist",
24
+ "units/*/host",
21
25
  "cordis.patch.yml",
22
- "README.md",
23
- "LICENSE"
26
+ "README.md"
24
27
  ],
25
28
  "type": "module",
26
29
  "main": "./lib/index.js",
@@ -52,58 +55,63 @@
52
55
  "access": "public"
53
56
  },
54
57
  "dependencies": {
55
- "@dagrejs/dagre": "^1.1.4",
56
- "@deepseek-ai/cosmokit": "^1.8.3",
57
- "@deepseek-ai/dsh-timeout": "^0.1.5-alpha.1",
58
- "@deepseek-ai/dsh-util-values": "^0.1.5-alpha.1",
59
- "@deepseek-ai/schemastery": "^3.18.2",
60
- "@monaco-editor/react": "^4.7.0",
58
+ "@deepseek-ai/dsh-timeout": "^0.2.0-rc.2",
59
+ "@deepseek-ai/dsh-util-values": "^0.2.0-rc.2",
60
+ "@deepseek-ai/schemastery": "^3.18.4",
61
+ "@hono/node-server": "^2.1.3",
62
+ "@hono/zod-validator": "^0.9.1",
63
+ "hono": "^4.13.12",
61
64
  "mime": "^4.0.7",
62
65
  "zod": "^4.4.3"
63
66
  },
64
67
  "devDependencies": {
65
- "@deepseek-ai/cordis": "^4.0.2",
66
- "@deepseek-ai/dsh-api-remotes": "^0.1.5-alpha.1",
67
- "@deepseek-ai/dsh-client-locale": "^0.1.5-alpha.1",
68
- "@deepseek-ai/dsh-client-ui-chat": "^0.1.5-alpha.1",
69
- "@deepseek-ai/dsh-client-ui-commands": "^0.1.5-alpha.1",
70
- "@deepseek-ai/dsh-client-ui-conversation": "^0.1.5-alpha.1",
71
- "@deepseek-ai/dsh-client-ui-input-trigger": "^0.1.5-alpha.1",
72
- "@deepseek-ai/dsh-client-ui-primitives": "^0.1.5-alpha.1",
73
- "@deepseek-ai/dsh-client-ui-renderer": "^0.1.5-alpha.1",
74
- "@deepseek-ai/dsh-client-ui-session": "^0.1.5-alpha.1",
75
- "@deepseek-ai/dsh-client-ui-settings": "^0.1.5-alpha.1",
76
- "@deepseek-ai/dsh-client-ui-settings-general": "^0.1.5-alpha.1",
77
- "@deepseek-ai/dsh-client-ui-slots": "^0.1.5-alpha.1",
78
- "@deepseek-ai/dsh-llm": "^0.1.5-alpha.1",
79
- "@deepseek-ai/dsh-session": "^0.1.5-alpha.1",
80
- "@deepseek-ai/dsh-settings": "^0.1.5-alpha.1",
81
- "@deepseek-ai/dsh-storage-domain": "^0.1.5-alpha.1",
82
- "@deepseek-ai/dsh-tools": "^0.1.5-alpha.1",
83
- "@deepseek-ai/dsh-typert-generator": "^0.1.5-alpha.1",
84
- "@deepseek-ai/dsh-typert-protocol": "^0.1.5-alpha.1",
68
+ "@deepseek-ai/cordis": "^4.0.4",
69
+ "@deepseek-ai/dsh-api-remotes": "^0.2.0-rc.2",
70
+ "@deepseek-ai/dsh-api-workspace-files": "^0.2.0-rc.2",
71
+ "@deepseek-ai/dsh-client-locale": "^0.2.0-rc.2",
72
+ "@deepseek-ai/dsh-client-ui-chat": "^0.2.0-rc.2",
73
+ "@deepseek-ai/dsh-client-ui-conversation": "^0.2.0-rc.2",
74
+ "@deepseek-ai/dsh-client-ui-primitives": "^0.2.0-rc.2",
75
+ "@deepseek-ai/dsh-client-ui-renderer": "^0.2.0-rc.2",
76
+ "@deepseek-ai/dsh-client-ui-settings": "^0.2.0-rc.2",
77
+ "@deepseek-ai/dsh-client-ui-settings-general": "^0.2.0-rc.2",
78
+ "@deepseek-ai/dsh-client-ui-slots": "^0.2.0-rc.2",
79
+ "@deepseek-ai/dsh-host-webserver": "^0.2.0-rc.2",
80
+ "@deepseek-ai/dsh-llm": "^0.2.0-rc.2",
81
+ "@deepseek-ai/dsh-sandbox": "^0.2.0-rc.2",
82
+ "@deepseek-ai/dsh-session": "^0.2.0-rc.2",
83
+ "@deepseek-ai/dsh-settings": "^0.2.0-rc.2",
84
+ "@deepseek-ai/dsh-shell": "^0.2.0-rc.2",
85
+ "@deepseek-ai/dsh-storage-domain": "^0.2.0-rc.2",
86
+ "@deepseek-ai/dsh-tools": "^0.2.0-rc.2",
87
+ "@deepseek-ai/dsh-typert-generator": "^0.2.0-rc.2",
88
+ "@deepseek-ai/dsh-typert-protocol": "^0.2.0-rc.2",
85
89
  "@testing-library/react": "^16.1.0",
86
90
  "@types/node": "^22.20.0",
87
91
  "@types/react": "^18.3.0",
88
92
  "@types/react-dom": "^18.3.0",
89
- "@xyflow/react": "^12.11.6",
90
93
  "jsdom": "^29.1.1",
91
94
  "lightningcss": "^1.30.1",
92
- "monaco-editor": "^0.52.2",
93
95
  "react": "^18.2.0",
94
96
  "react-dom": "^18.2.0",
95
97
  "tsdown": "^0.22.2",
96
98
  "typescript": "^6.0.3",
97
- "vitest": "^4.1.8"
99
+ "vitest": "^4.1.8",
100
+ "app-unit": "0.1.0",
101
+ "script-contract": "0.1.0",
102
+ "host-signal": "0.1.0",
103
+ "test-support": "0.1.0",
104
+ "workflow": "0.1.0",
105
+ "workflow-engine": "0.1.0"
98
106
  },
99
107
  "peerDependencies": {
100
- "@deepseek-ai/cordis": "^4.0.2",
101
- "@deepseek-ai/dsh-client-ui-chat": "^0.1.5-alpha.1",
102
- "@deepseek-ai/dsh-llm": "^0.1.5-alpha.1",
103
- "@deepseek-ai/dsh-session": "^0.1.5-alpha.1",
104
- "@deepseek-ai/dsh-storage-domain": "^0.1.5-alpha.1",
105
- "@deepseek-ai/dsh-tools": "^0.1.5-alpha.1",
106
- "@deepseek-ai/dsh-typert-protocol": "^0.1.5-alpha.1"
108
+ "@deepseek-ai/cordis": "^4.0.4",
109
+ "@deepseek-ai/dsh-client-ui-chat": "^0.2.0-rc.2",
110
+ "@deepseek-ai/dsh-llm": "^0.2.0-rc.2",
111
+ "@deepseek-ai/dsh-session": "^0.2.0-rc.2",
112
+ "@deepseek-ai/dsh-storage-domain": "^0.2.0-rc.2",
113
+ "@deepseek-ai/dsh-tools": "^0.2.0-rc.2",
114
+ "@deepseek-ai/dsh-typert-protocol": "^0.2.0-rc.2"
107
115
  },
108
116
  "engines": {
109
117
  "node": "^22.19.0 || >=24.0.0"
@@ -118,7 +126,6 @@
118
126
  "@deepseek-ai/dsh-api-remotes",
119
127
  "@deepseek-ai/dsh-client-locale",
120
128
  "@deepseek-ai/dsh-client-ui-chat",
121
- "@deepseek-ai/dsh-client-ui-commands",
122
129
  "@deepseek-ai/dsh-client-ui-conversation",
123
130
  "@deepseek-ai/dsh-client-ui-renderer",
124
131
  "@deepseek-ai/dsh-client-ui-settings",
@@ -127,18 +134,16 @@
127
134
  }
128
135
  },
129
136
  "scripts": {
130
- "build": "pnpm run clean && tsdown",
137
+ "build": "pnpm run clean && node ../../../scripts/tsdown-silent.mjs",
131
138
  "build:host": "tsdown --filter dsh-auto-flow/host",
132
139
  "build:client": "tsdown --filter dsh-auto-flow/client",
133
- "clean": "node scripts/clean.mjs",
140
+ "clean": "node ../../../scripts/clean.mjs",
134
141
  "dev": "tsdown --watch",
135
142
  "dev:client": "tsdown --filter dsh-auto-flow/client --watch",
136
143
  "dev:host": "tsdown --filter dsh-auto-flow/host --watch",
137
- "typecheck": "tsc -p tsconfig.host.json --pretty false && tsc -p tsconfig.client.json --pretty false && tsc -p tsconfig.json --pretty false",
144
+ "typecheck": "node ../../../scripts/tsc-parallel.mjs tsconfig.host.json tsconfig.client.json tsconfig.json",
138
145
  "test": "vitest run",
139
- "check": "pnpm run check:typert && pnpm run typecheck && pnpm run test && pnpm run build",
140
- "check:typert": "node scripts/typert-gen.mjs --check",
141
- "typert:gen": "node scripts/typert-gen.mjs",
146
+ "check": "node ../../../scripts/check-parallel.mjs",
142
147
  "publish:npm": "pnpm publish --no-git-checks"
143
148
  }
144
149
  }