@50arms/plugin-sdk 0.2.78 → 0.2.79
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/dist/card-kit.d.ts +123 -46
- package/package.json +1 -1
package/dist/card-kit.d.ts
CHANGED
|
@@ -99,7 +99,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
99
99
|
values: StatusReasonValues;
|
|
100
100
|
}
|
|
101
101
|
type PacingLimit = "five_hour" | "weekly" | "spend";
|
|
102
|
-
type ProvenanceSourceKind = "design" | "agent" | "plan" | "card" | "comment" | "session_thread" | "problem" | "evidence" | "url" | "decision" | "plan_record" | "plan_section" | "behavior_rule" | "behavior_policy" | "docs_page" | "commit" | "user" | "system";
|
|
102
|
+
type ProvenanceSourceKind = "design" | "agent" | "plan" | "card" | "comment" | "session_thread" | "problem" | "evidence" | "url" | "decision" | "plan_record" | "plan_section" | "behavior_rule" | "behavior_policy" | "docs_page" | "commit" | "user" | "system" | "provenance";
|
|
103
103
|
type ProvenancePartyKind = "agent" | "person";
|
|
104
104
|
type ResourceType = "design" | "plan" | "problem" | "evidence" | "decision" | "plan_record" | "plan_section" | "behavior_policy" | "issue" | "behavior_policy_group";
|
|
105
105
|
interface ResourceRef {
|
|
@@ -149,8 +149,8 @@ declare module "@danxbot/card-kit@1" {
|
|
|
149
149
|
type EvidenceAttachmentRole = "samples" | "file" | "csv";
|
|
150
150
|
type EvidencePart = "hypothesis" | "verdict";
|
|
151
151
|
type EvidenceApprovalAction = "approve" | "reject";
|
|
152
|
-
type EvidenceAutoBasis = "threshold" | "pre_gate" | "subjects_only";
|
|
153
|
-
type
|
|
152
|
+
type EvidenceAutoBasis = "threshold" | "pre_gate" | "subjects_only" | "rules";
|
|
153
|
+
type ResolvedLayer = "board" | "team" | "default";
|
|
154
154
|
|
|
155
155
|
interface EvidenceColumn {
|
|
156
156
|
name: string;
|
|
@@ -268,7 +268,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
268
268
|
by_name: string | null;
|
|
269
269
|
basis: EvidenceAutoBasis | null;
|
|
270
270
|
threshold: string | null;
|
|
271
|
-
layer:
|
|
271
|
+
layer: ResolvedLayer | null;
|
|
272
272
|
reason: string | null;
|
|
273
273
|
at: string;
|
|
274
274
|
}
|
|
@@ -307,7 +307,6 @@ declare module "@danxbot/card-kit@1" {
|
|
|
307
307
|
confidence_reason: string | null;
|
|
308
308
|
unverified: string[];
|
|
309
309
|
method: string | null;
|
|
310
|
-
reproduced_failure: boolean;
|
|
311
310
|
implications: EvidenceImplications;
|
|
312
311
|
}
|
|
313
312
|
interface EvidenceRaisedProblemView {
|
|
@@ -347,6 +346,20 @@ declare module "@danxbot/card-kit@1" {
|
|
|
347
346
|
by_user_id: number | null;
|
|
348
347
|
by_name: string;
|
|
349
348
|
}
|
|
349
|
+
|
|
350
|
+
type TransitionAction = "ready" | "unready" | "pickup" | "rollback_pickup" | "gate_release" | "gate_repin" | "claim_repin" | "landing_hold" | "complete" | "cancel" | "block" | "unblock" | "archive" | "snooze" | "coerce" | "reopen";
|
|
351
|
+
|
|
352
|
+
type QualityGatePhase = "plan" | "code";
|
|
353
|
+
|
|
354
|
+
type NotificationText = {
|
|
355
|
+
kind: "reason";
|
|
356
|
+
reason: StatusReason;
|
|
357
|
+
} | {
|
|
358
|
+
kind: "external";
|
|
359
|
+
text: string;
|
|
360
|
+
};
|
|
361
|
+
|
|
362
|
+
type EffortLevelName$1 = "min" | "very_low" | "low" | "medium" | "high" | "very_high" | "max";
|
|
350
363
|
interface DecisionRecordPage {
|
|
351
364
|
offset: number;
|
|
352
365
|
target_found: boolean | null;
|
|
@@ -364,9 +377,19 @@ declare module "@danxbot/card-kit@1" {
|
|
|
364
377
|
type: WorkMarkResourceType;
|
|
365
378
|
}
|
|
366
379
|
|
|
367
|
-
|
|
380
|
+
interface AlwaysRule {
|
|
381
|
+
readonly always: true;
|
|
382
|
+
}
|
|
383
|
+
interface WhenRule {
|
|
384
|
+
readonly when: {
|
|
385
|
+
readonly impact_at_least?: number;
|
|
386
|
+
readonly confidence_at_most?: number;
|
|
387
|
+
};
|
|
388
|
+
}
|
|
389
|
+
type ProblemRule = AlwaysRule | WhenRule;
|
|
390
|
+
type ProblemRuleList = readonly ProblemRule[];
|
|
368
391
|
|
|
369
|
-
type ControlValue = boolean | string;
|
|
392
|
+
type ControlValue = boolean | string | ProblemRuleList;
|
|
370
393
|
|
|
371
394
|
type ControlSource = "card" | "plan" | "board" | "team" | "system";
|
|
372
395
|
interface ControlFallback {
|
|
@@ -402,7 +425,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
402
425
|
confidence: number | null;
|
|
403
426
|
}
|
|
404
427
|
type ReviewChoiceKind = "reject" | "accept" | "revert" | "restore" | "inconclusive" | "archive";
|
|
405
|
-
type EvidenceReviewReason = "threshold" | "rejected_before" | "refreshed";
|
|
428
|
+
type EvidenceReviewReason = "threshold" | "rules" | "rejected_before" | "refreshed" | "reopened";
|
|
406
429
|
|
|
407
430
|
interface V2CopyComment {
|
|
408
431
|
author: string;
|
|
@@ -559,7 +582,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
559
582
|
by_name: string | null;
|
|
560
583
|
basis: EvidenceAutoBasis | null;
|
|
561
584
|
threshold: string | null;
|
|
562
|
-
layer:
|
|
585
|
+
layer: ResolvedLayer | null;
|
|
563
586
|
at: string;
|
|
564
587
|
}
|
|
565
588
|
interface V2CopyEvidenceHypothesisVersion extends V2CopyEvidenceMaker {
|
|
@@ -588,7 +611,6 @@ declare module "@danxbot/card-kit@1" {
|
|
|
588
611
|
confidence_reason: string | null;
|
|
589
612
|
unverified: string[];
|
|
590
613
|
method: string | null;
|
|
591
|
-
reproduced_failure: boolean;
|
|
592
614
|
implications: EvidenceImplications;
|
|
593
615
|
approvals: V2CopyEvidenceApproval[];
|
|
594
616
|
}
|
|
@@ -607,7 +629,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
607
629
|
}
|
|
608
630
|
interface V2CopyEvidenceRound {
|
|
609
631
|
round_no: number;
|
|
610
|
-
hypothesis_version: number;
|
|
632
|
+
hypothesis_version: number | null;
|
|
611
633
|
environment: string;
|
|
612
634
|
commit_sha: string;
|
|
613
635
|
author: string;
|
|
@@ -622,6 +644,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
622
644
|
}
|
|
623
645
|
interface V2CopyEvidenceRecord {
|
|
624
646
|
ref_num: number;
|
|
647
|
+
question: string | null;
|
|
625
648
|
last_exhibit_no: number;
|
|
626
649
|
created_at: string;
|
|
627
650
|
archived: V2CopyEvidenceArchived | null;
|
|
@@ -633,7 +656,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
633
656
|
live_position: number;
|
|
634
657
|
rule_version: string;
|
|
635
658
|
position: number;
|
|
636
|
-
|
|
659
|
+
signoff_required: boolean;
|
|
637
660
|
confidence_threshold: number | null;
|
|
638
661
|
kind: BehaviorRuleKind | null;
|
|
639
662
|
}
|
|
@@ -643,6 +666,9 @@ declare module "@danxbot/card-kit@1" {
|
|
|
643
666
|
position: number;
|
|
644
667
|
quality_gate_types: string[] | null;
|
|
645
668
|
attached_at: string;
|
|
669
|
+
signoff_required: boolean;
|
|
670
|
+
signoff_board_ids: number[];
|
|
671
|
+
pin_no: number;
|
|
646
672
|
violation_instructions: string;
|
|
647
673
|
confidence_threshold: number;
|
|
648
674
|
rules: V2CopyBehaviorRule[];
|
|
@@ -793,6 +819,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
793
819
|
problem_index: number | null;
|
|
794
820
|
evidence_index: number | null;
|
|
795
821
|
design_index: number | null;
|
|
822
|
+
provenance_index: number | null;
|
|
796
823
|
card_linked: boolean;
|
|
797
824
|
author: V2CopyProvenanceParty | null;
|
|
798
825
|
at: string | null;
|
|
@@ -845,6 +872,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
845
872
|
interface V2CopyProvenanceRecord {
|
|
846
873
|
reasoning: string | null;
|
|
847
874
|
confidence: number | null;
|
|
875
|
+
impact: number | null;
|
|
848
876
|
sources: V2CopyProvenanceSource[];
|
|
849
877
|
recorded_by: V2CopyProvenanceParty;
|
|
850
878
|
recorded_at: string;
|
|
@@ -958,7 +986,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
958
986
|
readonly ref: string;
|
|
959
987
|
readonly text: string;
|
|
960
988
|
readonly rule_version: string;
|
|
961
|
-
readonly
|
|
989
|
+
readonly signoff_required: boolean;
|
|
962
990
|
readonly confidence_threshold: number;
|
|
963
991
|
readonly kind: BehaviorRuleKind;
|
|
964
992
|
readonly gates: string[];
|
|
@@ -975,6 +1003,8 @@ declare module "@danxbot/card-kit@1" {
|
|
|
975
1003
|
readonly stale: boolean;
|
|
976
1004
|
readonly violation_instructions: string;
|
|
977
1005
|
readonly confidence_threshold: number;
|
|
1006
|
+
readonly signoff_required: boolean;
|
|
1007
|
+
readonly signoff_board_ids: number[];
|
|
978
1008
|
readonly rules: BehaviorRuleView[];
|
|
979
1009
|
}
|
|
980
1010
|
interface CardBehaviorPoliciesView {
|
|
@@ -1014,6 +1044,41 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1014
1044
|
readonly pin_no: number | null;
|
|
1015
1045
|
readonly groups: BehaviorRuleGroupView[];
|
|
1016
1046
|
}
|
|
1047
|
+
type ChecklistReviewReason = "rules" | "reopened" | "settings" | "replaces_person";
|
|
1048
|
+
|
|
1049
|
+
interface ChecklistReviewEvaluation {
|
|
1050
|
+
readonly verdict: "accept" | "reject";
|
|
1051
|
+
readonly note: string | null;
|
|
1052
|
+
readonly commentId: number | null;
|
|
1053
|
+
readonly evaluatedByName: string;
|
|
1054
|
+
readonly createdAt: string;
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
type ChecklistReviewRowState = "waiting_on_person" | "accepted" | "rejected" | "outdated";
|
|
1058
|
+
interface ChecklistReviewRowView {
|
|
1059
|
+
readonly row_id: number;
|
|
1060
|
+
readonly item_id: number;
|
|
1061
|
+
readonly label: string;
|
|
1062
|
+
readonly checklist_id: number;
|
|
1063
|
+
readonly checklist: string;
|
|
1064
|
+
readonly item_status: ChecklistItemStatus | null;
|
|
1065
|
+
readonly reason: ChecklistReviewReason;
|
|
1066
|
+
readonly state: ChecklistReviewRowState;
|
|
1067
|
+
readonly provenance: ProvenanceRecordV2 | null;
|
|
1068
|
+
readonly evaluation: {
|
|
1069
|
+
readonly verdict: ChecklistReviewEvaluation["verdict"];
|
|
1070
|
+
readonly note: string | null;
|
|
1071
|
+
readonly evaluated_by_name: string;
|
|
1072
|
+
readonly comment_id: number | null;
|
|
1073
|
+
readonly created_at: string;
|
|
1074
|
+
} | null;
|
|
1075
|
+
readonly created_at: string;
|
|
1076
|
+
}
|
|
1077
|
+
interface ChecklistReviewProblemView {
|
|
1078
|
+
readonly total_count: number;
|
|
1079
|
+
readonly waiting_count: number;
|
|
1080
|
+
readonly rows: readonly ChecklistReviewRowView[];
|
|
1081
|
+
}
|
|
1017
1082
|
interface DesignSourceFile {
|
|
1018
1083
|
path: string;
|
|
1019
1084
|
content: string;
|
|
@@ -1096,14 +1161,6 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1096
1161
|
};
|
|
1097
1162
|
}
|
|
1098
1163
|
type CardUsage = UsageSummary | UsageError | null;
|
|
1099
|
-
|
|
1100
|
-
type NotificationText = {
|
|
1101
|
-
kind: "reason";
|
|
1102
|
-
reason: StatusReason;
|
|
1103
|
-
} | {
|
|
1104
|
-
kind: "external";
|
|
1105
|
-
text: string;
|
|
1106
|
-
};
|
|
1107
1164
|
type CardContextCategoryKey = "comments" | "checklists" | "content" | "agent_notes" | "problems" | "decisions" | "designs";
|
|
1108
1165
|
type PlanContextCategoryKey = "architecture" | "comments" | "heading" | "records" | "open_cards";
|
|
1109
1166
|
type BehaviorPolicyContextCategoryKey = "rules";
|
|
@@ -1119,8 +1176,6 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1119
1176
|
categories: ContextCategorySize[];
|
|
1120
1177
|
}
|
|
1121
1178
|
|
|
1122
|
-
type EffortLevelName$1 = "min" | "very_low" | "low" | "medium" | "high" | "very_high" | "max";
|
|
1123
|
-
|
|
1124
1179
|
interface CompactionGradeView {
|
|
1125
1180
|
grade: EffortLevelName$1;
|
|
1126
1181
|
model: string | null;
|
|
@@ -1202,6 +1257,27 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1202
1257
|
readonly sha: string;
|
|
1203
1258
|
readonly branch: string;
|
|
1204
1259
|
}
|
|
1260
|
+
type DeliveryFlowStep = "card_branch_pushed" | "pull_request_open" | "merged_or_landed";
|
|
1261
|
+
|
|
1262
|
+
type CodeCompleteConditionKey = "step" | "tests" | "gates";
|
|
1263
|
+
interface CodeCompleteCondition {
|
|
1264
|
+
readonly key: CodeCompleteConditionKey;
|
|
1265
|
+
readonly required: string;
|
|
1266
|
+
readonly met: boolean;
|
|
1267
|
+
readonly unavailable: boolean;
|
|
1268
|
+
readonly reason: string | null;
|
|
1269
|
+
readonly detail: string | null;
|
|
1270
|
+
}
|
|
1271
|
+
interface CodeCompleteState {
|
|
1272
|
+
readonly met: boolean;
|
|
1273
|
+
readonly step_reached: DeliveryFlowStep | null;
|
|
1274
|
+
readonly judged_sha: string | null;
|
|
1275
|
+
readonly conditions: readonly CodeCompleteCondition[];
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
interface CodeCompleteRelease {
|
|
1279
|
+
readonly sha: string;
|
|
1280
|
+
}
|
|
1205
1281
|
|
|
1206
1282
|
type PreGateHold = {
|
|
1207
1283
|
kind: "awaiting_person";
|
|
@@ -1235,8 +1311,6 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1235
1311
|
card_id: CardRef | null;
|
|
1236
1312
|
}
|
|
1237
1313
|
|
|
1238
|
-
type TransitionAction = "ready" | "unready" | "pickup" | "rollback_pickup" | "gate_release" | "gate_repin" | "claim_repin" | "landing_hold" | "complete" | "cancel" | "block" | "unblock" | "archive" | "snooze" | "coerce" | "reopen";
|
|
1239
|
-
|
|
1240
1314
|
type MoveKind = "create" | "archive" | "snooze" | "delete" | "retype" | "edit" | "other";
|
|
1241
1315
|
|
|
1242
1316
|
type SignoffScope = {
|
|
@@ -1246,8 +1320,8 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1246
1320
|
board: string | null;
|
|
1247
1321
|
card_type: string | null;
|
|
1248
1322
|
card: string | null;
|
|
1249
|
-
agent_profile:
|
|
1250
|
-
runtime:
|
|
1323
|
+
agent_profile: null;
|
|
1324
|
+
runtime: null;
|
|
1251
1325
|
};
|
|
1252
1326
|
interface SignedRule {
|
|
1253
1327
|
ref: string;
|
|
@@ -1617,6 +1691,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1617
1691
|
title: string;
|
|
1618
1692
|
status: "Cancelled" | "Review" | "ToDo" | "In Progress" | "Backlog" | "Done";
|
|
1619
1693
|
priority: number;
|
|
1694
|
+
stored_row?: undefined | IssueDisplayV2;
|
|
1620
1695
|
agent_notes?: undefined | (Array<{
|
|
1621
1696
|
id: string;
|
|
1622
1697
|
author: string;
|
|
@@ -1682,7 +1757,6 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1682
1757
|
content_hash: string;
|
|
1683
1758
|
retro?: undefined | RetroViewV2;
|
|
1684
1759
|
behavior_policies?: undefined | CardBehaviorPoliciesView;
|
|
1685
|
-
stored_row?: undefined | IssueDisplayV2;
|
|
1686
1760
|
stored_checklists?: undefined | Array<ChecklistWithItemsV2>;
|
|
1687
1761
|
stored_attachments?: undefined | Array<IssueAttachmentV2>;
|
|
1688
1762
|
retro_commit_shas?: undefined | Array<string>;
|
|
@@ -1753,6 +1827,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1753
1827
|
waiting_on_dep_ids?: undefined | Record<string, number>;
|
|
1754
1828
|
dependency_pull_requests?: undefined | Record<string, DependencyPullRequestViewV2>;
|
|
1755
1829
|
dependency_landings?: undefined | Record<string, DependencyLanding>;
|
|
1830
|
+
dependency_code_complete?: undefined | Record<string, CodeCompleteRelease>;
|
|
1756
1831
|
conflict_on?: undefined | Array<ConflictEntryViewV2>;
|
|
1757
1832
|
conflict_on_reverse?: undefined | Array<ConflictEntryViewV2>;
|
|
1758
1833
|
conflict_on_partners?: undefined | Record<string, { status: IssueStatus; title: string; }>;
|
|
@@ -1761,6 +1836,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1761
1836
|
depends_on_landing_partners?: undefined | Record<string, { status: IssueStatus; title: string; }>;
|
|
1762
1837
|
depends_on_landing_dep_ids?: undefined | Record<string, number>;
|
|
1763
1838
|
conflict_on_active_count?: undefined | number;
|
|
1839
|
+
code_complete?: undefined | null | CodeCompleteState;
|
|
1764
1840
|
children?: undefined | Array<string>;
|
|
1765
1841
|
descendant_ids?: undefined | Array<string>;
|
|
1766
1842
|
descendant_needs_you?: undefined | Array<DescendantNeedsYouView>;
|
|
@@ -1768,7 +1844,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1768
1844
|
child_assignments?: undefined | Array<ChildAssignmentViewV2>;
|
|
1769
1845
|
ac_total?: undefined | number;
|
|
1770
1846
|
ac_done?: undefined | number;
|
|
1771
|
-
ac_items?: undefined | (Array<{ title: string; status: "
|
|
1847
|
+
ac_items?: undefined | (Array<{ title: string; status: "cancelled" | "incomplete" | "failing" | "passing" | "deferred"; }>);
|
|
1772
1848
|
comments_count?: undefined | number;
|
|
1773
1849
|
unread_comments_count?: undefined | number;
|
|
1774
1850
|
unread_decision_comment_counts?: undefined | Record<string, number>;
|
|
@@ -1801,6 +1877,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1801
1877
|
landing_ahead?: undefined | LandingAheadView;
|
|
1802
1878
|
copy_issue?: undefined | V2CopyIssue;
|
|
1803
1879
|
decision_records?: undefined | (Array<{
|
|
1880
|
+
provenance: null | ProvenanceRecordV2;
|
|
1804
1881
|
text: string;
|
|
1805
1882
|
made_by: "human" | "agent";
|
|
1806
1883
|
kind: "business_rule" | "architecture" | "design" | "other";
|
|
@@ -1825,10 +1902,10 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1825
1902
|
made_by_name: null | string;
|
|
1826
1903
|
made_by_author: AuthorV2;
|
|
1827
1904
|
made_by_is_writer: boolean;
|
|
1828
|
-
provenance: null | ProvenanceRecordV2;
|
|
1829
1905
|
comment_count: number;
|
|
1830
1906
|
unread_comment_count: number;
|
|
1831
1907
|
versions?: undefined | (Array<{
|
|
1908
|
+
provenance: null | ProvenanceRecordV2;
|
|
1832
1909
|
text: string;
|
|
1833
1910
|
made_by: "human" | "agent";
|
|
1834
1911
|
kind: "business_rule" | "architecture" | "design" | "other";
|
|
@@ -1847,7 +1924,6 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1847
1924
|
made_by_name: null | string;
|
|
1848
1925
|
made_by_author: AuthorV2;
|
|
1849
1926
|
made_by_is_writer: boolean;
|
|
1850
|
-
provenance: null | ProvenanceRecordV2;
|
|
1851
1927
|
version_no: number;
|
|
1852
1928
|
}>);
|
|
1853
1929
|
approvals?: undefined | (Array<{
|
|
@@ -1861,9 +1937,10 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1861
1937
|
}>);
|
|
1862
1938
|
}>);
|
|
1863
1939
|
evidence_records?: undefined | (Array<{
|
|
1864
|
-
hypothesis: EvidenceHypothesisVersionView;
|
|
1940
|
+
hypothesis: null | EvidenceHypothesisVersionView;
|
|
1865
1941
|
verdict: null | EvidenceVerdictVersionView;
|
|
1866
1942
|
archived: null | EvidenceArchivedView;
|
|
1943
|
+
question: string;
|
|
1867
1944
|
rev: number;
|
|
1868
1945
|
created_at: string;
|
|
1869
1946
|
updated_at: string;
|
|
@@ -1882,7 +1959,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1882
1959
|
by: AuthorV2;
|
|
1883
1960
|
via_key: null | ViaKey;
|
|
1884
1961
|
round_no: number;
|
|
1885
|
-
hypothesis_version: number;
|
|
1962
|
+
hypothesis_version: null | number;
|
|
1886
1963
|
environment: string;
|
|
1887
1964
|
commit_sha: string;
|
|
1888
1965
|
blocks: Array<EvidenceBlockViewBase<"note"> | EvidenceBlockViewBase<"steps"> | EvidenceBlockViewBase<"command"> | EvidenceBlockViewBase<"table"> | EvidenceBlockViewBase<"code"> | EvidenceBlockViewBase<"diff"> | EvidenceBlockViewBase<"log"> | EvidenceBlockViewBase<"samples">>;
|
|
@@ -1921,7 +1998,6 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1921
1998
|
confidence_reason: null | string;
|
|
1922
1999
|
unverified: Array<string>;
|
|
1923
2000
|
method: null | string;
|
|
1924
|
-
reproduced_failure: boolean;
|
|
1925
2001
|
implications: EvidenceImplications;
|
|
1926
2002
|
author: string;
|
|
1927
2003
|
by: AuthorV2;
|
|
@@ -1938,6 +2014,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1938
2014
|
}>);
|
|
1939
2015
|
}>);
|
|
1940
2016
|
decision_record_versions?: undefined | (Array<{
|
|
2017
|
+
provenance: null | ProvenanceRecordV2;
|
|
1941
2018
|
text: string;
|
|
1942
2019
|
made_by: "human" | "agent";
|
|
1943
2020
|
kind: "business_rule" | "architecture" | "design" | "other";
|
|
@@ -1956,7 +2033,6 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1956
2033
|
made_by_name: null | string;
|
|
1957
2034
|
made_by_author: AuthorV2;
|
|
1958
2035
|
made_by_is_writer: boolean;
|
|
1959
|
-
provenance: null | ProvenanceRecordV2;
|
|
1960
2036
|
version_no: number;
|
|
1961
2037
|
}>);
|
|
1962
2038
|
decision_record_approvals?: undefined | (Array<{
|
|
@@ -2045,13 +2121,13 @@ declare module "@danxbot/card-kit@1" {
|
|
|
2045
2121
|
key: string;
|
|
2046
2122
|
scope: "board" | "team" | "plan" | "card";
|
|
2047
2123
|
scope_id: string;
|
|
2048
|
-
value: null | string | false | true;
|
|
2124
|
+
value: null | string | false | true | (Array<AlwaysRule | WhenRule>);
|
|
2049
2125
|
source: "board" | "team" | "plan" | "card" | "system" | "inherit";
|
|
2050
2126
|
base_hash: string;
|
|
2051
|
-
kind: "boolean" | "enum" | "branch" | "markdown" | "seconds" | "months";
|
|
2127
|
+
kind: "boolean" | "enum" | "branch" | "markdown" | "seconds" | "months" | "rule_list";
|
|
2052
2128
|
options: null | Array<string>;
|
|
2053
2129
|
description: string;
|
|
2054
|
-
system_default: string | false | true;
|
|
2130
|
+
system_default: string | false | true | (Array<AlwaysRule | WhenRule>);
|
|
2055
2131
|
fallback: null | ControlFallback;
|
|
2056
2132
|
overridable: boolean;
|
|
2057
2133
|
default_changed: boolean;
|
|
@@ -2084,7 +2160,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
2084
2160
|
awaits_round_decision: boolean;
|
|
2085
2161
|
};
|
|
2086
2162
|
type ProblemViewV2 = {
|
|
2087
|
-
type: "design" | "question" | "action" | "decision_review" | "evidence_review" | "behavior_rules";
|
|
2163
|
+
type: "design" | "question" | "action" | "decision_review" | "evidence_review" | "behavior_rules" | "checklist_review";
|
|
2088
2164
|
open: boolean;
|
|
2089
2165
|
ordinal: number;
|
|
2090
2166
|
decisions: Array<{
|
|
@@ -2110,7 +2186,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
2110
2186
|
comment_count: number;
|
|
2111
2187
|
unread_comment_count: number;
|
|
2112
2188
|
issue_id: string;
|
|
2113
|
-
shown_type: "design" | "question" | "action" | "decision_review" | "behavior_rules" | "hypothesis_review" | "verdict_review";
|
|
2189
|
+
shown_type: "design" | "question" | "action" | "decision_review" | "behavior_rules" | "checklist_review" | "hypothesis_review" | "verdict_review";
|
|
2114
2190
|
feedback_consent: boolean;
|
|
2115
2191
|
choice_locked: boolean;
|
|
2116
2192
|
docs_land: boolean;
|
|
@@ -2127,6 +2203,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
2127
2203
|
answered_version_no: null | number;
|
|
2128
2204
|
choices: Array<{ solution_id: number; kind: ReviewChoiceKind; version_no: number; title: string; }>;
|
|
2129
2205
|
versions?: undefined | (Array<{
|
|
2206
|
+
provenance: null | ProvenanceRecordV2;
|
|
2130
2207
|
text: string;
|
|
2131
2208
|
made_by: "human" | "agent";
|
|
2132
2209
|
kind: "business_rule" | "architecture" | "design" | "other";
|
|
@@ -2145,7 +2222,6 @@ declare module "@danxbot/card-kit@1" {
|
|
|
2145
2222
|
made_by_name: null | string;
|
|
2146
2223
|
made_by_author: AuthorV2;
|
|
2147
2224
|
made_by_is_writer: boolean;
|
|
2148
|
-
provenance: null | ProvenanceRecordV2;
|
|
2149
2225
|
version_no: number;
|
|
2150
2226
|
}>);
|
|
2151
2227
|
}>);
|
|
@@ -2157,7 +2233,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
2157
2233
|
answered_version_no: null | number;
|
|
2158
2234
|
choices: Array<{ solution_id: number; kind: ReviewChoiceKind; version_no: number; title: string; }>;
|
|
2159
2235
|
part: "hypothesis" | "verdict";
|
|
2160
|
-
asked_because: null | "threshold" | "rejected_before" | "refreshed";
|
|
2236
|
+
asked_because: null | "threshold" | "rules" | "rejected_before" | "refreshed" | "reopened";
|
|
2161
2237
|
hypothesis_versions?: undefined | (Array<{
|
|
2162
2238
|
id: number;
|
|
2163
2239
|
version_no: number;
|
|
@@ -2192,7 +2268,6 @@ declare module "@danxbot/card-kit@1" {
|
|
|
2192
2268
|
confidence_reason: null | string;
|
|
2193
2269
|
unverified: Array<string>;
|
|
2194
2270
|
method: null | string;
|
|
2195
|
-
reproduced_failure: boolean;
|
|
2196
2271
|
implications: EvidenceImplications;
|
|
2197
2272
|
author: string;
|
|
2198
2273
|
by: AuthorV2;
|
|
@@ -2209,6 +2284,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
2209
2284
|
}>);
|
|
2210
2285
|
}>);
|
|
2211
2286
|
behavior_rules?: undefined | null | BehaviorRulesProblemView;
|
|
2287
|
+
checklist_review?: undefined | null | ChecklistReviewProblemView;
|
|
2212
2288
|
};
|
|
2213
2289
|
type SolutionViewV2 = {
|
|
2214
2290
|
steps: Array<{
|
|
@@ -2313,8 +2389,8 @@ declare module "@danxbot/card-kit@1" {
|
|
|
2313
2389
|
|
|
2314
2390
|
type IssueStatus = "Review" | "ToDo" | "In Progress" | "Backlog" | "Done" | "Cancelled";
|
|
2315
2391
|
type EffortLevelName = "min" | "very_low" | "low" | "medium" | "high" | "very_high" | "max";
|
|
2316
|
-
type IssueProblemType = "design" | "question" | "action" | "decision_review" | "evidence_review" | "behavior_rules";
|
|
2317
|
-
type ShownProblemType = "design" | "question" | "action" | "decision_review" | "behavior_rules" | "hypothesis_review" | "verdict_review";
|
|
2392
|
+
type IssueProblemType = "design" | "question" | "action" | "decision_review" | "evidence_review" | "behavior_rules" | "checklist_review";
|
|
2393
|
+
type ShownProblemType = "design" | "question" | "action" | "decision_review" | "behavior_rules" | "checklist_review" | "hypothesis_review" | "verdict_review";
|
|
2318
2394
|
type DecisionOutcome = "rejected" | "answered";
|
|
2319
2395
|
type GatingDependencyKind = "conflict_on" | "depends_on";
|
|
2320
2396
|
type IssueDependencyKind = GatingDependencyKind | "depends_on_landing";
|
|
@@ -2479,7 +2555,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
2479
2555
|
recipient: ReplyRecipientV2;
|
|
2480
2556
|
reply_comment_id: number | null;
|
|
2481
2557
|
}
|
|
2482
|
-
type ChecklistItemStatus = "
|
|
2558
|
+
type ChecklistItemStatus = "cancelled" | "incomplete" | "failing" | "passing" | "deferred";
|
|
2483
2559
|
interface ChecklistV2 {
|
|
2484
2560
|
id: number;
|
|
2485
2561
|
issue_id: CardId;
|
|
@@ -2561,6 +2637,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
2561
2637
|
id: number;
|
|
2562
2638
|
reasoning: string | null;
|
|
2563
2639
|
confidence: number | null;
|
|
2640
|
+
impact: number | null;
|
|
2564
2641
|
sources: ProvenanceSourceV2[];
|
|
2565
2642
|
recorded_by: AuthorV2;
|
|
2566
2643
|
recorded_at: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@50arms/plugin-sdk",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.79",
|
|
4
4
|
"description": "SDK for building 50 Arms plugins (DX-5170): the card kit's type declarations, the Widget declaration kit, a Vite preset that builds a plugin against the app's shared runtime and writes its manifest, and the danx-plugin CLI.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|