dsh-plugin-teamflow 0.1.5 → 0.1.6
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/CHANGELOG.md +24 -0
- package/README.md +10 -0
- package/lib/client.js +173 -18
- package/lib/host.mjs +514 -143
- package/lib/store.mjs +3 -1
- package/package.json +6 -6
package/lib/store.mjs
CHANGED
|
@@ -129,6 +129,7 @@ function serializeJournal(journal) {
|
|
|
129
129
|
seq: s.seq,
|
|
130
130
|
label: s.label,
|
|
131
131
|
phase: s.phase,
|
|
132
|
+
taskKey: s.taskKey || null,
|
|
132
133
|
status: s.status,
|
|
133
134
|
outcome: s.outcome || null,
|
|
134
135
|
childId: s.childId || null,
|
|
@@ -137,7 +138,8 @@ function serializeJournal(journal) {
|
|
|
137
138
|
usage: s.usage || null,
|
|
138
139
|
handoff: clip(s.handoff || "", 2e3),
|
|
139
140
|
summary: clip(s.summary || "", 3e3),
|
|
140
|
-
output: clip(s.output || s.summary || "", STAGE_OUTPUT_CLIP)
|
|
141
|
+
output: clip(s.output || s.summary || "", STAGE_OUTPUT_CLIP),
|
|
142
|
+
verifyEvidence: s.verifyEvidence ? clip(s.verifyEvidence, 8e3) : null
|
|
141
143
|
})),
|
|
142
144
|
logs: (journal.logs || []).slice(-300).map((l) => ({
|
|
143
145
|
t: l.t,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-plugin-teamflow",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "TeamFlow 团队研发流水线(TypeScript):需求→PRD→设计→架构→技术方案→并行开发→QA→验收;backlog 持久化 + 断点续跑 + 完成汇报 + 防假交付;Web 团队工作台(conversation.view tab + 拖拽看板)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/host.mjs",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"platform": "web",
|
|
24
24
|
"inject": [
|
|
25
25
|
"@deepseek-ai/dsh-client-locale",
|
|
26
|
-
"@deepseek-ai/dsh-client-
|
|
26
|
+
"@deepseek-ai/dsh-client-modules",
|
|
27
27
|
"@deepseek-ai/dsh-client-ui-conversation"
|
|
28
28
|
],
|
|
29
29
|
"immediately": false
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"watch": "tsdown --watch",
|
|
37
37
|
"deploy": "node deploy.mjs",
|
|
38
38
|
"typecheck": "tsc --noEmit",
|
|
39
|
-
"test": "node test/smoke.js && node test/verdict.test.js && node test/stages.test.js && node test/journal.test.js",
|
|
40
|
-
"prepublishOnly": "npx tsdown && npx tsdown -c tsdown.host.config.ts && node test/smoke.js && node test/verdict.test.js && node test/stages.test.js && node test/journal.test.js"
|
|
39
|
+
"test": "node test/smoke.js && node test/verdict.test.js && node test/stages.test.js && node test/journal.test.js && node test/diagnostic.test.js && node test/evidence.test.js && node test/metering.test.js && node test/prompt-contract.test.js && node test/conformance.test.js",
|
|
40
|
+
"prepublishOnly": "npx tsdown && npx tsdown -c tsdown.host.config.ts && node test/smoke.js && node test/verdict.test.js && node test/stages.test.js && node test/journal.test.js && node test/diagnostic.test.js && node test/evidence.test.js && node test/metering.test.js && node test/prompt-contract.test.js && node test/conformance.test.js"
|
|
41
41
|
},
|
|
42
42
|
"files": [
|
|
43
43
|
"lib",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"react": "^18.2.0",
|
|
70
70
|
"@deepseek-ai/dsh-base": "*",
|
|
71
71
|
"@deepseek-ai/dsh-client-locale": "*",
|
|
72
|
-
"@deepseek-ai/dsh-client-
|
|
72
|
+
"@deepseek-ai/dsh-client-modules": "*",
|
|
73
73
|
"@deepseek-ai/dsh-client-ui-conversation": "*",
|
|
74
74
|
"@deepseek-ai/dsh-llm": "*",
|
|
75
75
|
"@deepseek-ai/dsh-tools": "*",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"@deepseek-ai/dsh-client-locale": {
|
|
83
83
|
"optional": true
|
|
84
84
|
},
|
|
85
|
-
"@deepseek-ai/dsh-client-
|
|
85
|
+
"@deepseek-ai/dsh-client-modules": {
|
|
86
86
|
"optional": true
|
|
87
87
|
},
|
|
88
88
|
"@deepseek-ai/dsh-client-ui-conversation": {
|