dsh-tender-workbench 0.5.7 → 0.5.8
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 +7 -0
- package/README.en.md +7 -7
- package/README.md +8 -8
- package/docs/RELEASE-0.5.8.md +14 -0
- package/lib/client.js +539 -282
- package/lib/client.js.map +1 -1
- package/lib/index.js +483 -23
- package/lib/types/client/index.d.ts.map +1 -1
- package/lib/types/client/workbench/SessionWriteProgress.d.ts +5 -1
- package/lib/types/client/workbench/SessionWriteProgress.d.ts.map +1 -1
- package/lib/types/client/workbench/TenderHistoryView.d.ts +10 -0
- package/lib/types/client/workbench/TenderHistoryView.d.ts.map +1 -0
- package/lib/types/client/workbench/TenderWorkbench.d.ts +5 -1
- package/lib/types/client/workbench/TenderWorkbench.d.ts.map +1 -1
- package/lib/types/contracts/execution.d.ts +58 -0
- package/lib/types/contracts/execution.d.ts.map +1 -0
- package/lib/types/contracts/history.d.ts +60 -0
- package/lib/types/contracts/history.d.ts.map +1 -0
- package/lib/types/contracts/reporting.d.ts +3 -3
- package/lib/types/contracts/workflow.d.ts +142 -24
- package/lib/types/contracts/workflow.d.ts.map +1 -1
- package/lib/types/host/history.d.ts +26 -0
- package/lib/types/host/history.d.ts.map +1 -0
- package/lib/types/host/http-trust.d.ts +2 -0
- package/lib/types/host/http-trust.d.ts.map +1 -1
- package/lib/types/host/pipeline/provider-envelope.d.ts +10 -0
- package/lib/types/host/pipeline/provider-envelope.d.ts.map +1 -0
- package/lib/types/host/pipeline/qcc-adapters.d.ts +1 -1
- package/lib/types/host/pipeline/qcc-adapters.d.ts.map +1 -1
- package/lib/types/host/projection.d.ts +6 -0
- package/lib/types/host/projection.d.ts.map +1 -1
- package/lib/types/host/tools/analysis-review-tools.d.ts +213 -36
- package/lib/types/host/tools/analysis-review-tools.d.ts.map +1 -1
- package/lib/types/host/tools/query-tool.d.ts +71 -12
- package/lib/types/host/tools/query-tool.d.ts.map +1 -1
- package/lib/types/host/tools/report-tools.d.ts +148 -30
- package/lib/types/host/tools/report-tools.d.ts.map +1 -1
- package/lib/types/host/tools/rule-tools.d.ts +142 -24
- package/lib/types/host/tools/rule-tools.d.ts.map +1 -1
- package/lib/types/host/tools/workflow-state-tool.d.ts +5 -5
- package/lib/types/index.d.ts.map +1 -1
- package/package.json +2 -2
- package/docs/RELEASE-0.5.7.md +0 -20
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"report-tools.d.ts","sourceRoot":"","sources":["../../../../src/host/tools/report-tools.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qCAAqC,CAAA;AAEpF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAOvB,OAAO,EAGL,KAAK,aAAa,EACnB,MAAM,8BAA8B,CAAA;AAgBrC,OAAO,EACL,wBAAwB,EAEzB,MAAM,iCAAiC,CAAA;AACxC,OAAO,EAGL,KAAK,yBAAyB,EAC/B,MAAM,uBAAuB,CAAA;AAE9B,OAAO,EAAqB,KAAK,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAUlF,QAAA,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAW/B,CAAA;AA8BX,QAAA,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"report-tools.d.ts","sourceRoot":"","sources":["../../../../src/host/tools/report-tools.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qCAAqC,CAAA;AAEpF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAOvB,OAAO,EAGL,KAAK,aAAa,EACnB,MAAM,8BAA8B,CAAA;AAgBrC,OAAO,EACL,wBAAwB,EAEzB,MAAM,iCAAiC,CAAA;AACxC,OAAO,EAGL,KAAK,yBAAyB,EAC/B,MAAM,uBAAuB,CAA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AAsB;IACrC,QAAQ,CAAC,kBAAkB,EAAE,IAAI,CAAC,yBAAyB,EAAE,SAAS,CAAC,CAAA;IACvE,QAAQ,CAAC,kBAAkB,EAAE,yBAAyB,CAAA;IACtD,QAAQ,CAAC,QAAQ,EAAE,wBAAwB,CAAA;IAC3C,QAAQ,CAAC,SAAS,CAAC,EAAE;QACnB,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAA;QACxB,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAA;KACvB,CAAA;CACF;AAiSD,wBAAgB,+CAA+C,CAAC,YAAY,EAAE,sBAAsB,mDA+DnG;AAED,wBAAgB,qCAAqC,CAAC,YAAY,EAAE,sBAAsB,mDAwIzF;AAED,wBAAgB,oCAAoC,CAAC,YAAY,EAAE,sBAAsB,mDAuGxF"}
|
|
@@ -45,6 +45,49 @@ declare const PreviewRulesResultV2Schema: z.ZodObject<{
|
|
|
45
45
|
report: "report";
|
|
46
46
|
}>;
|
|
47
47
|
observedTurn: z.ZodOptional<z.ZodNumber>;
|
|
48
|
+
execution: z.ZodOptional<z.ZodObject<{
|
|
49
|
+
operationId: z.ZodString;
|
|
50
|
+
status: z.ZodEnum<{
|
|
51
|
+
succeeded: "succeeded";
|
|
52
|
+
failed: "failed";
|
|
53
|
+
running: "running";
|
|
54
|
+
partial: "partial";
|
|
55
|
+
interrupted: "interrupted";
|
|
56
|
+
}>;
|
|
57
|
+
currentAction: z.ZodString;
|
|
58
|
+
startedAt: z.ZodNumber;
|
|
59
|
+
updatedAt: z.ZodNumber;
|
|
60
|
+
finishedAt: z.ZodOptional<z.ZodNumber>;
|
|
61
|
+
counts: z.ZodObject<{
|
|
62
|
+
queried: z.ZodNumber;
|
|
63
|
+
succeeded: z.ZodNumber;
|
|
64
|
+
zero: z.ZodNumber;
|
|
65
|
+
failed: z.ZodNumber;
|
|
66
|
+
noPermission: z.ZodNumber;
|
|
67
|
+
unknown: z.ZodNumber;
|
|
68
|
+
needsReview: z.ZodNumber;
|
|
69
|
+
}, z.core.$strict>;
|
|
70
|
+
recentItem: z.ZodOptional<z.ZodString>;
|
|
71
|
+
queryTarget: z.ZodOptional<z.ZodString>;
|
|
72
|
+
providers: z.ZodObject<{
|
|
73
|
+
tender: z.ZodEnum<{
|
|
74
|
+
unknown: "unknown";
|
|
75
|
+
failed: "failed";
|
|
76
|
+
data: "data";
|
|
77
|
+
zero: "zero";
|
|
78
|
+
"not-needed": "not-needed";
|
|
79
|
+
"no-permission": "no-permission";
|
|
80
|
+
}>;
|
|
81
|
+
proposed: z.ZodEnum<{
|
|
82
|
+
unknown: "unknown";
|
|
83
|
+
failed: "failed";
|
|
84
|
+
data: "data";
|
|
85
|
+
zero: "zero";
|
|
86
|
+
"not-needed": "not-needed";
|
|
87
|
+
"no-permission": "no-permission";
|
|
88
|
+
}>;
|
|
89
|
+
}, z.core.$strict>;
|
|
90
|
+
}, z.core.$strict>>;
|
|
48
91
|
pendingIntent: z.ZodOptional<z.ZodObject<{
|
|
49
92
|
intentId: z.ZodString;
|
|
50
93
|
kind: z.ZodEnum<{
|
|
@@ -72,8 +115,8 @@ declare const PreviewRulesResultV2Schema: z.ZodObject<{
|
|
|
72
115
|
conversation: "conversation";
|
|
73
116
|
}>;
|
|
74
117
|
status: z.ZodEnum<{
|
|
75
|
-
"waiting-agent": "waiting-agent";
|
|
76
118
|
running: "running";
|
|
119
|
+
"waiting-agent": "waiting-agent";
|
|
77
120
|
}>;
|
|
78
121
|
turn: z.ZodNumber;
|
|
79
122
|
expectedTool: z.ZodEnum<{
|
|
@@ -155,9 +198,9 @@ declare const PreviewRulesResultV2Schema: z.ZodObject<{
|
|
|
155
198
|
status: z.ZodEnum<{
|
|
156
199
|
succeeded: "succeeded";
|
|
157
200
|
failed: "failed";
|
|
201
|
+
running: "running";
|
|
158
202
|
"not-started": "not-started";
|
|
159
203
|
"waiting-agent": "waiting-agent";
|
|
160
|
-
running: "running";
|
|
161
204
|
blocked: "blocked";
|
|
162
205
|
}>;
|
|
163
206
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -170,9 +213,9 @@ declare const PreviewRulesResultV2Schema: z.ZodObject<{
|
|
|
170
213
|
status: z.ZodEnum<{
|
|
171
214
|
succeeded: "succeeded";
|
|
172
215
|
failed: "failed";
|
|
216
|
+
running: "running";
|
|
173
217
|
"not-started": "not-started";
|
|
174
218
|
"waiting-agent": "waiting-agent";
|
|
175
|
-
running: "running";
|
|
176
219
|
blocked: "blocked";
|
|
177
220
|
}>;
|
|
178
221
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -183,9 +226,9 @@ declare const PreviewRulesResultV2Schema: z.ZodObject<{
|
|
|
183
226
|
status: z.ZodEnum<{
|
|
184
227
|
succeeded: "succeeded";
|
|
185
228
|
failed: "failed";
|
|
229
|
+
running: "running";
|
|
186
230
|
"not-started": "not-started";
|
|
187
231
|
"waiting-agent": "waiting-agent";
|
|
188
|
-
running: "running";
|
|
189
232
|
blocked: "blocked";
|
|
190
233
|
}>;
|
|
191
234
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -196,9 +239,9 @@ declare const PreviewRulesResultV2Schema: z.ZodObject<{
|
|
|
196
239
|
status: z.ZodEnum<{
|
|
197
240
|
succeeded: "succeeded";
|
|
198
241
|
failed: "failed";
|
|
242
|
+
running: "running";
|
|
199
243
|
"not-started": "not-started";
|
|
200
244
|
"waiting-agent": "waiting-agent";
|
|
201
|
-
running: "running";
|
|
202
245
|
blocked: "blocked";
|
|
203
246
|
}>;
|
|
204
247
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -209,9 +252,9 @@ declare const PreviewRulesResultV2Schema: z.ZodObject<{
|
|
|
209
252
|
status: z.ZodEnum<{
|
|
210
253
|
succeeded: "succeeded";
|
|
211
254
|
failed: "failed";
|
|
255
|
+
running: "running";
|
|
212
256
|
"not-started": "not-started";
|
|
213
257
|
"waiting-agent": "waiting-agent";
|
|
214
|
-
running: "running";
|
|
215
258
|
blocked: "blocked";
|
|
216
259
|
}>;
|
|
217
260
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -222,9 +265,9 @@ declare const PreviewRulesResultV2Schema: z.ZodObject<{
|
|
|
222
265
|
status: z.ZodEnum<{
|
|
223
266
|
succeeded: "succeeded";
|
|
224
267
|
failed: "failed";
|
|
268
|
+
running: "running";
|
|
225
269
|
"not-started": "not-started";
|
|
226
270
|
"waiting-agent": "waiting-agent";
|
|
227
|
-
running: "running";
|
|
228
271
|
blocked: "blocked";
|
|
229
272
|
}>;
|
|
230
273
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -235,9 +278,9 @@ declare const PreviewRulesResultV2Schema: z.ZodObject<{
|
|
|
235
278
|
status: z.ZodEnum<{
|
|
236
279
|
succeeded: "succeeded";
|
|
237
280
|
failed: "failed";
|
|
281
|
+
running: "running";
|
|
238
282
|
"not-started": "not-started";
|
|
239
283
|
"waiting-agent": "waiting-agent";
|
|
240
|
-
running: "running";
|
|
241
284
|
blocked: "blocked";
|
|
242
285
|
}>;
|
|
243
286
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -248,9 +291,9 @@ declare const PreviewRulesResultV2Schema: z.ZodObject<{
|
|
|
248
291
|
status: z.ZodEnum<{
|
|
249
292
|
succeeded: "succeeded";
|
|
250
293
|
failed: "failed";
|
|
294
|
+
running: "running";
|
|
251
295
|
"not-started": "not-started";
|
|
252
296
|
"waiting-agent": "waiting-agent";
|
|
253
|
-
running: "running";
|
|
254
297
|
blocked: "blocked";
|
|
255
298
|
}>;
|
|
256
299
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -294,6 +337,14 @@ declare const PreviewRulesResultV2Schema: z.ZodObject<{
|
|
|
294
337
|
failed: "failed";
|
|
295
338
|
}>;
|
|
296
339
|
loaded: z.ZodNumber;
|
|
340
|
+
outcome: z.ZodOptional<z.ZodEnum<{
|
|
341
|
+
unknown: "unknown";
|
|
342
|
+
failed: "failed";
|
|
343
|
+
data: "data";
|
|
344
|
+
zero: "zero";
|
|
345
|
+
"not-needed": "not-needed";
|
|
346
|
+
"no-permission": "no-permission";
|
|
347
|
+
}>>;
|
|
297
348
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
298
349
|
sourceData: z.ZodOptional<z.ZodObject<{
|
|
299
350
|
id: z.ZodString;
|
|
@@ -324,6 +375,14 @@ declare const PreviewRulesResultV2Schema: z.ZodObject<{
|
|
|
324
375
|
failed: "failed";
|
|
325
376
|
}>;
|
|
326
377
|
loaded: z.ZodNumber;
|
|
378
|
+
outcome: z.ZodOptional<z.ZodEnum<{
|
|
379
|
+
unknown: "unknown";
|
|
380
|
+
failed: "failed";
|
|
381
|
+
data: "data";
|
|
382
|
+
zero: "zero";
|
|
383
|
+
"not-needed": "not-needed";
|
|
384
|
+
"no-permission": "no-permission";
|
|
385
|
+
}>>;
|
|
327
386
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
328
387
|
sourceData: z.ZodOptional<z.ZodObject<{
|
|
329
388
|
id: z.ZodString;
|
|
@@ -582,8 +641,8 @@ declare const PreviewRulesResultV2Schema: z.ZodObject<{
|
|
|
582
641
|
}, z.core.$strict>>;
|
|
583
642
|
finalSnapshotId: z.ZodOptional<z.ZodString>;
|
|
584
643
|
completeness: z.ZodOptional<z.ZodEnum<{
|
|
585
|
-
complete: "complete";
|
|
586
644
|
partial: "partial";
|
|
645
|
+
complete: "complete";
|
|
587
646
|
}>>;
|
|
588
647
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
589
648
|
rawRecords: z.ZodOptional<z.ZodNumber>;
|
|
@@ -601,8 +660,8 @@ declare const PreviewRulesResultV2Schema: z.ZodObject<{
|
|
|
601
660
|
status: z.ZodEnum<{
|
|
602
661
|
succeeded: "succeeded";
|
|
603
662
|
failed: "failed";
|
|
604
|
-
"not-started": "not-started";
|
|
605
663
|
running: "running";
|
|
664
|
+
"not-started": "not-started";
|
|
606
665
|
}>;
|
|
607
666
|
artifact: z.ZodOptional<z.ZodObject<{
|
|
608
667
|
id: z.ZodString;
|
|
@@ -632,8 +691,8 @@ declare const PreviewRulesResultV2Schema: z.ZodObject<{
|
|
|
632
691
|
status: z.ZodEnum<{
|
|
633
692
|
succeeded: "succeeded";
|
|
634
693
|
failed: "failed";
|
|
635
|
-
"not-started": "not-started";
|
|
636
694
|
running: "running";
|
|
695
|
+
"not-started": "not-started";
|
|
637
696
|
}>;
|
|
638
697
|
artifact: z.ZodOptional<z.ZodObject<{
|
|
639
698
|
id: z.ZodString;
|
|
@@ -719,6 +778,49 @@ declare const ConfirmRulesResultV2Schema: z.ZodObject<{
|
|
|
719
778
|
report: "report";
|
|
720
779
|
}>;
|
|
721
780
|
observedTurn: z.ZodOptional<z.ZodNumber>;
|
|
781
|
+
execution: z.ZodOptional<z.ZodObject<{
|
|
782
|
+
operationId: z.ZodString;
|
|
783
|
+
status: z.ZodEnum<{
|
|
784
|
+
succeeded: "succeeded";
|
|
785
|
+
failed: "failed";
|
|
786
|
+
running: "running";
|
|
787
|
+
partial: "partial";
|
|
788
|
+
interrupted: "interrupted";
|
|
789
|
+
}>;
|
|
790
|
+
currentAction: z.ZodString;
|
|
791
|
+
startedAt: z.ZodNumber;
|
|
792
|
+
updatedAt: z.ZodNumber;
|
|
793
|
+
finishedAt: z.ZodOptional<z.ZodNumber>;
|
|
794
|
+
counts: z.ZodObject<{
|
|
795
|
+
queried: z.ZodNumber;
|
|
796
|
+
succeeded: z.ZodNumber;
|
|
797
|
+
zero: z.ZodNumber;
|
|
798
|
+
failed: z.ZodNumber;
|
|
799
|
+
noPermission: z.ZodNumber;
|
|
800
|
+
unknown: z.ZodNumber;
|
|
801
|
+
needsReview: z.ZodNumber;
|
|
802
|
+
}, z.core.$strict>;
|
|
803
|
+
recentItem: z.ZodOptional<z.ZodString>;
|
|
804
|
+
queryTarget: z.ZodOptional<z.ZodString>;
|
|
805
|
+
providers: z.ZodObject<{
|
|
806
|
+
tender: z.ZodEnum<{
|
|
807
|
+
unknown: "unknown";
|
|
808
|
+
failed: "failed";
|
|
809
|
+
data: "data";
|
|
810
|
+
zero: "zero";
|
|
811
|
+
"not-needed": "not-needed";
|
|
812
|
+
"no-permission": "no-permission";
|
|
813
|
+
}>;
|
|
814
|
+
proposed: z.ZodEnum<{
|
|
815
|
+
unknown: "unknown";
|
|
816
|
+
failed: "failed";
|
|
817
|
+
data: "data";
|
|
818
|
+
zero: "zero";
|
|
819
|
+
"not-needed": "not-needed";
|
|
820
|
+
"no-permission": "no-permission";
|
|
821
|
+
}>;
|
|
822
|
+
}, z.core.$strict>;
|
|
823
|
+
}, z.core.$strict>>;
|
|
722
824
|
pendingIntent: z.ZodOptional<z.ZodObject<{
|
|
723
825
|
intentId: z.ZodString;
|
|
724
826
|
kind: z.ZodEnum<{
|
|
@@ -746,8 +848,8 @@ declare const ConfirmRulesResultV2Schema: z.ZodObject<{
|
|
|
746
848
|
conversation: "conversation";
|
|
747
849
|
}>;
|
|
748
850
|
status: z.ZodEnum<{
|
|
749
|
-
"waiting-agent": "waiting-agent";
|
|
750
851
|
running: "running";
|
|
852
|
+
"waiting-agent": "waiting-agent";
|
|
751
853
|
}>;
|
|
752
854
|
turn: z.ZodNumber;
|
|
753
855
|
expectedTool: z.ZodEnum<{
|
|
@@ -829,9 +931,9 @@ declare const ConfirmRulesResultV2Schema: z.ZodObject<{
|
|
|
829
931
|
status: z.ZodEnum<{
|
|
830
932
|
succeeded: "succeeded";
|
|
831
933
|
failed: "failed";
|
|
934
|
+
running: "running";
|
|
832
935
|
"not-started": "not-started";
|
|
833
936
|
"waiting-agent": "waiting-agent";
|
|
834
|
-
running: "running";
|
|
835
937
|
blocked: "blocked";
|
|
836
938
|
}>;
|
|
837
939
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -844,9 +946,9 @@ declare const ConfirmRulesResultV2Schema: z.ZodObject<{
|
|
|
844
946
|
status: z.ZodEnum<{
|
|
845
947
|
succeeded: "succeeded";
|
|
846
948
|
failed: "failed";
|
|
949
|
+
running: "running";
|
|
847
950
|
"not-started": "not-started";
|
|
848
951
|
"waiting-agent": "waiting-agent";
|
|
849
|
-
running: "running";
|
|
850
952
|
blocked: "blocked";
|
|
851
953
|
}>;
|
|
852
954
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -857,9 +959,9 @@ declare const ConfirmRulesResultV2Schema: z.ZodObject<{
|
|
|
857
959
|
status: z.ZodEnum<{
|
|
858
960
|
succeeded: "succeeded";
|
|
859
961
|
failed: "failed";
|
|
962
|
+
running: "running";
|
|
860
963
|
"not-started": "not-started";
|
|
861
964
|
"waiting-agent": "waiting-agent";
|
|
862
|
-
running: "running";
|
|
863
965
|
blocked: "blocked";
|
|
864
966
|
}>;
|
|
865
967
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -870,9 +972,9 @@ declare const ConfirmRulesResultV2Schema: z.ZodObject<{
|
|
|
870
972
|
status: z.ZodEnum<{
|
|
871
973
|
succeeded: "succeeded";
|
|
872
974
|
failed: "failed";
|
|
975
|
+
running: "running";
|
|
873
976
|
"not-started": "not-started";
|
|
874
977
|
"waiting-agent": "waiting-agent";
|
|
875
|
-
running: "running";
|
|
876
978
|
blocked: "blocked";
|
|
877
979
|
}>;
|
|
878
980
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -883,9 +985,9 @@ declare const ConfirmRulesResultV2Schema: z.ZodObject<{
|
|
|
883
985
|
status: z.ZodEnum<{
|
|
884
986
|
succeeded: "succeeded";
|
|
885
987
|
failed: "failed";
|
|
988
|
+
running: "running";
|
|
886
989
|
"not-started": "not-started";
|
|
887
990
|
"waiting-agent": "waiting-agent";
|
|
888
|
-
running: "running";
|
|
889
991
|
blocked: "blocked";
|
|
890
992
|
}>;
|
|
891
993
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -896,9 +998,9 @@ declare const ConfirmRulesResultV2Schema: z.ZodObject<{
|
|
|
896
998
|
status: z.ZodEnum<{
|
|
897
999
|
succeeded: "succeeded";
|
|
898
1000
|
failed: "failed";
|
|
1001
|
+
running: "running";
|
|
899
1002
|
"not-started": "not-started";
|
|
900
1003
|
"waiting-agent": "waiting-agent";
|
|
901
|
-
running: "running";
|
|
902
1004
|
blocked: "blocked";
|
|
903
1005
|
}>;
|
|
904
1006
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -909,9 +1011,9 @@ declare const ConfirmRulesResultV2Schema: z.ZodObject<{
|
|
|
909
1011
|
status: z.ZodEnum<{
|
|
910
1012
|
succeeded: "succeeded";
|
|
911
1013
|
failed: "failed";
|
|
1014
|
+
running: "running";
|
|
912
1015
|
"not-started": "not-started";
|
|
913
1016
|
"waiting-agent": "waiting-agent";
|
|
914
|
-
running: "running";
|
|
915
1017
|
blocked: "blocked";
|
|
916
1018
|
}>;
|
|
917
1019
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -922,9 +1024,9 @@ declare const ConfirmRulesResultV2Schema: z.ZodObject<{
|
|
|
922
1024
|
status: z.ZodEnum<{
|
|
923
1025
|
succeeded: "succeeded";
|
|
924
1026
|
failed: "failed";
|
|
1027
|
+
running: "running";
|
|
925
1028
|
"not-started": "not-started";
|
|
926
1029
|
"waiting-agent": "waiting-agent";
|
|
927
|
-
running: "running";
|
|
928
1030
|
blocked: "blocked";
|
|
929
1031
|
}>;
|
|
930
1032
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -968,6 +1070,14 @@ declare const ConfirmRulesResultV2Schema: z.ZodObject<{
|
|
|
968
1070
|
failed: "failed";
|
|
969
1071
|
}>;
|
|
970
1072
|
loaded: z.ZodNumber;
|
|
1073
|
+
outcome: z.ZodOptional<z.ZodEnum<{
|
|
1074
|
+
unknown: "unknown";
|
|
1075
|
+
failed: "failed";
|
|
1076
|
+
data: "data";
|
|
1077
|
+
zero: "zero";
|
|
1078
|
+
"not-needed": "not-needed";
|
|
1079
|
+
"no-permission": "no-permission";
|
|
1080
|
+
}>>;
|
|
971
1081
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
972
1082
|
sourceData: z.ZodOptional<z.ZodObject<{
|
|
973
1083
|
id: z.ZodString;
|
|
@@ -998,6 +1108,14 @@ declare const ConfirmRulesResultV2Schema: z.ZodObject<{
|
|
|
998
1108
|
failed: "failed";
|
|
999
1109
|
}>;
|
|
1000
1110
|
loaded: z.ZodNumber;
|
|
1111
|
+
outcome: z.ZodOptional<z.ZodEnum<{
|
|
1112
|
+
unknown: "unknown";
|
|
1113
|
+
failed: "failed";
|
|
1114
|
+
data: "data";
|
|
1115
|
+
zero: "zero";
|
|
1116
|
+
"not-needed": "not-needed";
|
|
1117
|
+
"no-permission": "no-permission";
|
|
1118
|
+
}>>;
|
|
1001
1119
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1002
1120
|
sourceData: z.ZodOptional<z.ZodObject<{
|
|
1003
1121
|
id: z.ZodString;
|
|
@@ -1256,8 +1374,8 @@ declare const ConfirmRulesResultV2Schema: z.ZodObject<{
|
|
|
1256
1374
|
}, z.core.$strict>>;
|
|
1257
1375
|
finalSnapshotId: z.ZodOptional<z.ZodString>;
|
|
1258
1376
|
completeness: z.ZodOptional<z.ZodEnum<{
|
|
1259
|
-
complete: "complete";
|
|
1260
1377
|
partial: "partial";
|
|
1378
|
+
complete: "complete";
|
|
1261
1379
|
}>>;
|
|
1262
1380
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
1263
1381
|
rawRecords: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1275,8 +1393,8 @@ declare const ConfirmRulesResultV2Schema: z.ZodObject<{
|
|
|
1275
1393
|
status: z.ZodEnum<{
|
|
1276
1394
|
succeeded: "succeeded";
|
|
1277
1395
|
failed: "failed";
|
|
1278
|
-
"not-started": "not-started";
|
|
1279
1396
|
running: "running";
|
|
1397
|
+
"not-started": "not-started";
|
|
1280
1398
|
}>;
|
|
1281
1399
|
artifact: z.ZodOptional<z.ZodObject<{
|
|
1282
1400
|
id: z.ZodString;
|
|
@@ -1306,8 +1424,8 @@ declare const ConfirmRulesResultV2Schema: z.ZodObject<{
|
|
|
1306
1424
|
status: z.ZodEnum<{
|
|
1307
1425
|
succeeded: "succeeded";
|
|
1308
1426
|
failed: "failed";
|
|
1309
|
-
"not-started": "not-started";
|
|
1310
1427
|
running: "running";
|
|
1428
|
+
"not-started": "not-started";
|
|
1311
1429
|
}>;
|
|
1312
1430
|
artifact: z.ZodOptional<z.ZodObject<{
|
|
1313
1431
|
id: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rule-tools.d.ts","sourceRoot":"","sources":["../../../../src/host/tools/rule-tools.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qCAAqC,CAAA;AAEpF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAsBvB,OAAO,EACL,wBAAwB,EAEzB,MAAM,iCAAiC,CAAA;AACxC,OAAO,EAGL,KAAK,yBAAyB,EAC/B,MAAM,uBAAuB,CAAA;AAS9B,QAAA,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"rule-tools.d.ts","sourceRoot":"","sources":["../../../../src/host/tools/rule-tools.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qCAAqC,CAAA;AAEpF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAsBvB,OAAO,EACL,wBAAwB,EAEzB,MAAM,iCAAiC,CAAA;AACxC,OAAO,EAGL,KAAK,yBAAyB,EAC/B,MAAM,uBAAuB,CAAA;AAS9B,QAAA,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAiBrB,CAAA;AAEX,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAA;AAC7E,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAA;AAE7E,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,kBAAkB,EAAE,IAAI,CAAC,yBAAyB,EAAE,SAAS,CAAC,CAAA;IACvE,QAAQ,CAAC,kBAAkB,EAAE,yBAAyB,CAAA;IACtD,QAAQ,CAAC,QAAQ,EAAE,wBAAwB,CAAA;CAC5C;AAsLD,wBAAgB,qCAAqC,CAAC,YAAY,EAAE,oBAAoB,mDA+GvF;AAED,wBAAgB,qCAAqC,CAAC,YAAY,EAAE,oBAAoB,mDA6JvF"}
|
|
@@ -28,9 +28,9 @@ declare const WorkflowStateResultV2Schema: z.ZodObject<{
|
|
|
28
28
|
}>, z.ZodEnum<{
|
|
29
29
|
succeeded: "succeeded";
|
|
30
30
|
failed: "failed";
|
|
31
|
+
running: "running";
|
|
31
32
|
"not-started": "not-started";
|
|
32
33
|
"waiting-agent": "waiting-agent";
|
|
33
|
-
running: "running";
|
|
34
34
|
blocked: "blocked";
|
|
35
35
|
}>>;
|
|
36
36
|
pending: z.ZodOptional<z.ZodObject<{
|
|
@@ -49,8 +49,8 @@ declare const WorkflowStateResultV2Schema: z.ZodObject<{
|
|
|
49
49
|
"report.retry": "report.retry";
|
|
50
50
|
}>;
|
|
51
51
|
status: z.ZodEnum<{
|
|
52
|
-
"waiting-agent": "waiting-agent";
|
|
53
52
|
running: "running";
|
|
53
|
+
"waiting-agent": "waiting-agent";
|
|
54
54
|
}>;
|
|
55
55
|
expectedTool: z.ZodEnum<{
|
|
56
56
|
tender_workbench_run_query: "tender_workbench_run_query";
|
|
@@ -96,20 +96,20 @@ declare const WorkflowStateResultV2Schema: z.ZodObject<{
|
|
|
96
96
|
report: z.ZodOptional<z.ZodObject<{
|
|
97
97
|
finalSnapshotId: z.ZodOptional<z.ZodString>;
|
|
98
98
|
completeness: z.ZodOptional<z.ZodEnum<{
|
|
99
|
-
complete: "complete";
|
|
100
99
|
partial: "partial";
|
|
100
|
+
complete: "complete";
|
|
101
101
|
}>>;
|
|
102
102
|
excel: z.ZodEnum<{
|
|
103
103
|
succeeded: "succeeded";
|
|
104
104
|
failed: "failed";
|
|
105
|
-
"not-started": "not-started";
|
|
106
105
|
running: "running";
|
|
106
|
+
"not-started": "not-started";
|
|
107
107
|
}>;
|
|
108
108
|
pdf: z.ZodEnum<{
|
|
109
109
|
succeeded: "succeeded";
|
|
110
110
|
failed: "failed";
|
|
111
|
-
"not-started": "not-started";
|
|
112
111
|
running: "running";
|
|
112
|
+
"not-started": "not-started";
|
|
113
113
|
}>;
|
|
114
114
|
}, z.core.$strict>>;
|
|
115
115
|
lastFailure: z.ZodOptional<z.ZodObject<{
|
package/lib/types/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AA8BlD,6FAA6F;AAC7F,eAAO,MAAM,MAAM,UAAgH,CAAA;AAWnI,6FAA6F;AAC7F,wBAAgB,KAAK,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI,CAiExC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-tender-workbench",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.8",
|
|
4
4
|
"description": "Tender search and bid intelligence in DeepSeek Harness with proposed project search, rule screening, human review and Excel/PDF exports using user-authorized Qichacha MCP.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"deepseek-harness",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"README.en.md",
|
|
48
48
|
"CHANGELOG.md",
|
|
49
49
|
"cordis.patch.yml",
|
|
50
|
-
"docs/RELEASE-0.5.
|
|
50
|
+
"docs/RELEASE-0.5.8.md",
|
|
51
51
|
"lib/index.js",
|
|
52
52
|
"lib/client.js",
|
|
53
53
|
"lib/client.js.map",
|
package/docs/RELEASE-0.5.7.md
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# dsh-tender-workbench 0.5.7
|
|
2
|
-
|
|
3
|
-
Version: **0.5.7**
|
|
4
|
-
Status: **ready for release**
|
|
5
|
-
|
|
6
|
-
用户于 2026-09-11 追加授权 commit、push、tag 与 npm 发布。通过精确提交的完整门禁后合并 PR #5,推送新的 v0.5.7 tag,由 release.yml 通过 OIDC 发布;不移动旧 tag,不变更生产 Profile 或全局宿主。
|
|
7
|
-
|
|
8
|
-
## 范围与边界
|
|
9
|
-
|
|
10
|
-
采用 DSH-UX-001 v1.5.2 UX-04:入口解析 Workspace 身份并通过公开 sessions.create({ workspaceId, sessionId }) 创建会话。当前显式归属优先;旧未分组会话按已注册路径精确匹配,无当前目录时取首个 Workspace;有未注册目录时提示用户选择/注册,不回退到不相关的组。命名空间 ID 与 ordinary Session guard 防止普通空白复用,不再通过脱离 Workspace 隔离。
|
|
11
|
-
|
|
12
|
-
保留 0.5.6 的 snapshotEvents() + turn/start、直接用户请求、pending control.nextTool 与预览/确认授权边界,本版不修改 Host 工具实现。Better Sidebar 仍为可选增强,无侧栏保留原生会话/提示词/Host 工具,缺失提示不改变草稿或业务事实,不引入替代容器。
|
|
13
|
-
|
|
14
|
-
不自动搬迁历史未分组会话、不替换原生容器、不引入 alpha 依赖。真实模型/MCP及四产品同装由协调任务另外验收。回滚需恢复完整已备份的宿主/Profile/任务组合;0.5.6 仍有归组缺陷,不能声称回退后该问题已解决。
|
|
15
|
-
|
|
16
|
-
## 测试与证据
|
|
17
|
-
|
|
18
|
-
复用最终 npm pack + 实际 DSH 0.1.2-rc.1 隔离 Profile,三路径 absent / Sidebar 0.18.1 / 已知坏 0.17.1。新测试以两个 Workspace 验证选中组而非首组,断言业务与普通 Session 均保持归组;入口不建 Tab、不展开侧栏,五流程单例,Tab X、Files、宿主收起恢复,合成业务及 Excel/PDF 下载仍通过。
|
|
19
|
-
|
|
20
|
-
本地 check:43 文件、245 passed / 1 Windows-only skipped;UI 8/8。实际 DSH 无侧栏和 Sidebar 0.18.1 路径通过,旧 Sidebar 0.17.1 预检与实际启动按预期阻断。采用记录、实际结果与限制登记于 docs/WORKSPACE-OWNERSHIP-ADOPTION.md。此清单为发布前状态;发布工作流与 Registry 验证完成后以独立文档提交补充证据。
|