@50arms/plugin-sdk 0.2.72 → 0.2.74
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 +96 -26
- package/package.json +1 -1
package/dist/card-kit.d.ts
CHANGED
|
@@ -106,8 +106,37 @@ declare module "@danxbot/card-kit@1" {
|
|
|
106
106
|
type: ResourceType;
|
|
107
107
|
id: string;
|
|
108
108
|
}
|
|
109
|
+
type BehaviorSignoffStatus = "compliant" | "incompliant" | "rejected" | "not_applicable";
|
|
110
|
+
type SlotStatus = BehaviorSignoffStatus | "unverified";
|
|
111
|
+
type BehaviorRuleKind = "journey" | "destination";
|
|
112
|
+
type BehaviorSlotProblemState = "waiting_on_person" | "waiting_on_agent" | "accepted";
|
|
113
|
+
|
|
114
|
+
interface ReportedSlot {
|
|
115
|
+
readonly ref: string;
|
|
116
|
+
readonly kind: BehaviorRuleKind;
|
|
117
|
+
readonly text: string;
|
|
118
|
+
readonly slot: string;
|
|
119
|
+
}
|
|
120
|
+
interface ReportedSignoff extends ReportedSlot {
|
|
121
|
+
readonly status: Exclude<SlotStatus, "unverified">;
|
|
122
|
+
readonly signer: {
|
|
123
|
+
readonly kind: "person" | "agent";
|
|
124
|
+
readonly name: string;
|
|
125
|
+
};
|
|
126
|
+
readonly confidence: number | null;
|
|
127
|
+
readonly note: string | null;
|
|
128
|
+
}
|
|
129
|
+
interface BehaviorSignoffReport {
|
|
130
|
+
readonly signoffs: readonly ReportedSignoff[];
|
|
131
|
+
readonly unverified: readonly ReportedSlot[];
|
|
132
|
+
}
|
|
109
133
|
type EvidenceBlockType = "note" | "steps" | "command" | "table" | "code" | "diff" | "log" | "samples";
|
|
110
134
|
type EvidenceMadeBy = "human" | "agent";
|
|
135
|
+
interface EvidenceImplications {
|
|
136
|
+
change: string;
|
|
137
|
+
card_and_plan: string;
|
|
138
|
+
actions: string;
|
|
139
|
+
}
|
|
111
140
|
type EvidenceColumnType = "number" | "boolean" | "text" | "date";
|
|
112
141
|
type EvidenceChartKind = "line" | "time_series" | "bar";
|
|
113
142
|
type EvidenceAttachmentRole = "samples" | "file" | "csv";
|
|
@@ -272,6 +301,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
272
301
|
unverified: string[];
|
|
273
302
|
method: string | null;
|
|
274
303
|
reproduced_failure: boolean;
|
|
304
|
+
implications: EvidenceImplications;
|
|
275
305
|
}
|
|
276
306
|
interface EvidenceRaisedProblemView {
|
|
277
307
|
card_id: string;
|
|
@@ -305,6 +335,11 @@ declare module "@danxbot/card-kit@1" {
|
|
|
305
335
|
block_count: number;
|
|
306
336
|
gathered: boolean;
|
|
307
337
|
}
|
|
338
|
+
interface EvidenceArchivedView {
|
|
339
|
+
at: string;
|
|
340
|
+
by_user_id: number | null;
|
|
341
|
+
by_name: string;
|
|
342
|
+
}
|
|
308
343
|
interface DecisionRecordPage {
|
|
309
344
|
offset: number;
|
|
310
345
|
target_found: boolean | null;
|
|
@@ -358,7 +393,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
358
393
|
con: string;
|
|
359
394
|
recommended: boolean;
|
|
360
395
|
}
|
|
361
|
-
type
|
|
396
|
+
type ReviewChoiceKind = "reject" | "accept" | "revert" | "restore" | "inconclusive" | "archive";
|
|
362
397
|
type EvidenceReviewReason = "threshold" | "rejected_before" | "refreshed";
|
|
363
398
|
|
|
364
399
|
interface V2CopyComment {
|
|
@@ -550,6 +585,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
550
585
|
unverified: string[];
|
|
551
586
|
method: string | null;
|
|
552
587
|
reproduced_failure: boolean;
|
|
588
|
+
implications: EvidenceImplications;
|
|
553
589
|
approvals: V2CopyEvidenceApproval[];
|
|
554
590
|
}
|
|
555
591
|
interface V2CopyEvidenceBlockAttachment {
|
|
@@ -575,10 +611,16 @@ declare module "@danxbot/card-kit@1" {
|
|
|
575
611
|
created_at: string;
|
|
576
612
|
blocks: V2CopyEvidenceBlock[];
|
|
577
613
|
}
|
|
614
|
+
interface V2CopyEvidenceArchived {
|
|
615
|
+
at: string;
|
|
616
|
+
by_email: string | null;
|
|
617
|
+
by_name: string;
|
|
618
|
+
}
|
|
578
619
|
interface V2CopyEvidenceRecord {
|
|
579
620
|
ref_num: number;
|
|
580
621
|
last_exhibit_no: number;
|
|
581
622
|
created_at: string;
|
|
623
|
+
archived: V2CopyEvidenceArchived | null;
|
|
582
624
|
hypothesis_versions: V2CopyEvidenceHypothesisVersion[];
|
|
583
625
|
rounds: V2CopyEvidenceRound[];
|
|
584
626
|
verdict_versions: V2CopyEvidenceVerdictVersion[];
|
|
@@ -589,6 +631,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
589
631
|
position: number;
|
|
590
632
|
requires_reasoning: boolean;
|
|
591
633
|
confidence_threshold: number | null;
|
|
634
|
+
kind: BehaviorRuleKind | null;
|
|
592
635
|
}
|
|
593
636
|
interface V2CopyBehaviorPolicy {
|
|
594
637
|
live_name: string;
|
|
@@ -698,7 +741,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
698
741
|
steps: V2CopyStep[];
|
|
699
742
|
}
|
|
700
743
|
interface V2CopyDecisionChoice {
|
|
701
|
-
kind:
|
|
744
|
+
kind: ReviewChoiceKind;
|
|
702
745
|
version_no: number;
|
|
703
746
|
}
|
|
704
747
|
interface V2CopyDecisionReview {
|
|
@@ -905,9 +948,6 @@ declare module "@danxbot/card-kit@1" {
|
|
|
905
948
|
};
|
|
906
949
|
}
|
|
907
950
|
type CardUsage = UsageSummary | UsageError | null;
|
|
908
|
-
type BehaviorSignoffStatus = "compliant" | "incompliant" | "rejected" | "not_applicable";
|
|
909
|
-
type SlotStatus = BehaviorSignoffStatus | "unverified";
|
|
910
|
-
type BehaviorSlotProblemState = "waiting_on_person" | "waiting_on_agent" | "accepted";
|
|
911
951
|
|
|
912
952
|
interface BehaviorDecisionView {
|
|
913
953
|
readonly signoff_id: number;
|
|
@@ -927,6 +967,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
927
967
|
readonly slot: string;
|
|
928
968
|
readonly gate_on_card: boolean;
|
|
929
969
|
readonly status: SlotStatus;
|
|
970
|
+
readonly settled: boolean;
|
|
930
971
|
readonly signoff_id: number | null;
|
|
931
972
|
readonly note: string | null;
|
|
932
973
|
readonly confidence: number | null;
|
|
@@ -938,6 +979,8 @@ declare module "@danxbot/card-kit@1" {
|
|
|
938
979
|
readonly problem: {
|
|
939
980
|
readonly ref: string;
|
|
940
981
|
readonly state: BehaviorSlotProblemState;
|
|
982
|
+
readonly reviewed_by_name: string | null;
|
|
983
|
+
readonly reviewed_at: string | null;
|
|
941
984
|
} | null;
|
|
942
985
|
readonly earlier: BehaviorDecisionView[];
|
|
943
986
|
}
|
|
@@ -948,6 +991,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
948
991
|
readonly rule_version: string;
|
|
949
992
|
readonly requires_reasoning: boolean;
|
|
950
993
|
readonly confidence_threshold: number;
|
|
994
|
+
readonly kind: BehaviorRuleKind;
|
|
951
995
|
readonly provenance: ProvenanceRecordV2;
|
|
952
996
|
readonly slots: BehaviorSlotView[];
|
|
953
997
|
}
|
|
@@ -1027,6 +1071,14 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1027
1071
|
categories: ContextCategorySize[];
|
|
1028
1072
|
}
|
|
1029
1073
|
|
|
1074
|
+
type EffortLevelName$1 = "min" | "very_low" | "low" | "medium" | "high" | "very_high" | "max";
|
|
1075
|
+
|
|
1076
|
+
interface CompactionGradeView {
|
|
1077
|
+
grade: EffortLevelName$1;
|
|
1078
|
+
model: string | null;
|
|
1079
|
+
effort: string | null;
|
|
1080
|
+
}
|
|
1081
|
+
|
|
1030
1082
|
interface CategorySizes {
|
|
1031
1083
|
key: ContextCategoryKey;
|
|
1032
1084
|
covered: boolean;
|
|
@@ -1054,6 +1106,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1054
1106
|
turns: number | null;
|
|
1055
1107
|
spend_usd: number | null;
|
|
1056
1108
|
model: string | null;
|
|
1109
|
+
agent_grade: CompactionGradeView;
|
|
1057
1110
|
own: ItemSizes;
|
|
1058
1111
|
cards: RunCard[] | null;
|
|
1059
1112
|
}
|
|
@@ -1075,17 +1128,21 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1075
1128
|
turns: number;
|
|
1076
1129
|
spend_usd: number;
|
|
1077
1130
|
}
|
|
1078
|
-
interface
|
|
1079
|
-
dispatch_id: string;
|
|
1080
|
-
baseline: CompactionFigures;
|
|
1081
|
-
now: CompactionFigures;
|
|
1082
|
-
}
|
|
1083
|
-
interface CompactionJob {
|
|
1131
|
+
interface CompactionJobBase {
|
|
1084
1132
|
who: CompactionJobWho;
|
|
1085
1133
|
where: CompactionJobWhere;
|
|
1086
1134
|
started_at: string;
|
|
1087
|
-
progress: CompactionJobProgress | null;
|
|
1088
1135
|
}
|
|
1136
|
+
interface WorkerCompactionJob extends CompactionJobBase {
|
|
1137
|
+
dispatch_id: string;
|
|
1138
|
+
progress: CompactionFigures;
|
|
1139
|
+
}
|
|
1140
|
+
interface SessionCompactionJob extends CompactionJobBase {
|
|
1141
|
+
dispatch_id: string | null;
|
|
1142
|
+
progress: CompactionFigures | null;
|
|
1143
|
+
not_counted: boolean;
|
|
1144
|
+
}
|
|
1145
|
+
type CompactionJob = WorkerCompactionJob | SessionCompactionJob;
|
|
1089
1146
|
interface CompactionSizes {
|
|
1090
1147
|
before_tokens: number | null;
|
|
1091
1148
|
after_tokens: number | null;
|
|
@@ -1234,6 +1291,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1234
1291
|
readonly problems: readonly {
|
|
1235
1292
|
readonly ref_num: number;
|
|
1236
1293
|
readonly type: IssueProblemType;
|
|
1294
|
+
readonly shown_type: ShownProblemType;
|
|
1237
1295
|
readonly statement: string;
|
|
1238
1296
|
readonly created_at: string;
|
|
1239
1297
|
}[];
|
|
@@ -1334,8 +1392,10 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1334
1392
|
usd_saved: number;
|
|
1335
1393
|
unpriced_loads: number;
|
|
1336
1394
|
unresolved_loads: number;
|
|
1337
|
-
compact_usd: number;
|
|
1395
|
+
compact_usd: number | null;
|
|
1338
1396
|
compact_runs: number;
|
|
1397
|
+
pending_runs: number;
|
|
1398
|
+
unrecorded_runs: number;
|
|
1339
1399
|
counted_since: string;
|
|
1340
1400
|
}
|
|
1341
1401
|
interface BuildGradeView {
|
|
@@ -1400,6 +1460,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1400
1460
|
commits: string[];
|
|
1401
1461
|
tests: RetroTestViewV2[];
|
|
1402
1462
|
commit_url_base?: string | null;
|
|
1463
|
+
behavior_signoffs: BehaviorSignoffReport;
|
|
1403
1464
|
}
|
|
1404
1465
|
interface AttachmentViewV2 {
|
|
1405
1466
|
id: number;
|
|
@@ -1438,7 +1499,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1438
1499
|
quality_gate_round_id: number | null;
|
|
1439
1500
|
items: ChecklistItemView[];
|
|
1440
1501
|
}
|
|
1441
|
-
type DesignDecisionOutcome = "
|
|
1502
|
+
type DesignDecisionOutcome = "rejected" | "approved" | "changes_requested";
|
|
1442
1503
|
interface ChecklistHistoryViewV2 {
|
|
1443
1504
|
action: "create" | "rename" | "remove" | "add_item" | "update_item" | "remove_item";
|
|
1444
1505
|
checklist: string;
|
|
@@ -1522,7 +1583,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1522
1583
|
created_by: string;
|
|
1523
1584
|
created_at: string;
|
|
1524
1585
|
archived_at: null | string;
|
|
1525
|
-
review_state: "
|
|
1586
|
+
review_state: "rejected" | "approved" | "awaiting_review" | "changes_requested";
|
|
1526
1587
|
revision_count: number;
|
|
1527
1588
|
latest_revision_no: number;
|
|
1528
1589
|
chosen_options: null | OptionSelection;
|
|
@@ -1549,7 +1610,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1549
1610
|
decisions?: undefined | (Array<{
|
|
1550
1611
|
decision_id: number;
|
|
1551
1612
|
revision_no: number;
|
|
1552
|
-
outcome: "
|
|
1613
|
+
outcome: "rejected" | "approved" | "changes_requested";
|
|
1553
1614
|
note: null | string;
|
|
1554
1615
|
comment_id: number;
|
|
1555
1616
|
decided_by: string;
|
|
@@ -1659,7 +1720,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1659
1720
|
unread_decision_comment_counts?: undefined | Record<string, number>;
|
|
1660
1721
|
unread_evidence_comment_counts?: undefined | Record<string, number>;
|
|
1661
1722
|
context_size?: undefined | ContextSize;
|
|
1662
|
-
content_compaction?: undefined | null | { id: number; requested_at: string; categories: ContextCategoryKey[]; card_categories: ContextCategoryKey[] | null; finished_runs: number; } & { status: "waiting"; ended_at: null; failure_reason: null; } | { id: number; requested_at: string; categories: ContextCategoryKey[]; card_categories: ContextCategoryKey[] | null; finished_runs: number; } & { status: "working"; ended_at: null; failure_reason: null; job: CompactionJob; } | { id: number; requested_at: string; categories: ContextCategoryKey[]; card_categories: ContextCategoryKey[] | null; finished_runs: number; } & { status: "done"; ended_at: string; failure_reason: null; sizes: CompactionSizes; } | { id: number; requested_at: string; categories: ContextCategoryKey[]; card_categories: ContextCategoryKey[] | null; finished_runs: number; } & { status: "failed"; ended_at: string; failure_reason: NotificationText; };
|
|
1723
|
+
content_compaction?: undefined | null | { id: number; requested_at: string; categories: ContextCategoryKey[]; card_categories: ContextCategoryKey[] | null; finished_runs: number; runs_version: string; agent_grade: CompactionGradeView; } & { status: "waiting"; ended_at: null; failure_reason: null; } | { id: number; requested_at: string; categories: ContextCategoryKey[]; card_categories: ContextCategoryKey[] | null; finished_runs: number; runs_version: string; agent_grade: CompactionGradeView; } & { status: "working"; ended_at: null; failure_reason: null; job: CompactionJob; } | { id: number; requested_at: string; categories: ContextCategoryKey[]; card_categories: ContextCategoryKey[] | null; finished_runs: number; runs_version: string; agent_grade: CompactionGradeView; } & { status: "done"; ended_at: string; failure_reason: null; sizes: CompactionSizes; } | { id: number; requested_at: string; categories: ContextCategoryKey[]; card_categories: ContextCategoryKey[] | null; finished_runs: number; runs_version: string; agent_grade: CompactionGradeView; } & { status: "failed"; ended_at: string; failure_reason: NotificationText; };
|
|
1663
1724
|
content_compaction_history?: undefined | Array<CompactionRun>;
|
|
1664
1725
|
compaction_savings?: undefined | null | CompactionSavings;
|
|
1665
1726
|
agent_notes_count?: undefined | number;
|
|
@@ -1748,6 +1809,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1748
1809
|
evidence_records?: undefined | (Array<{
|
|
1749
1810
|
hypothesis: EvidenceHypothesisVersionView;
|
|
1750
1811
|
verdict: null | EvidenceVerdictVersionView;
|
|
1812
|
+
archived: null | EvidenceArchivedView;
|
|
1751
1813
|
rev: number;
|
|
1752
1814
|
created_at: string;
|
|
1753
1815
|
updated_at: string;
|
|
@@ -1791,7 +1853,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1791
1853
|
made_by_name: null | string;
|
|
1792
1854
|
made_by_author: AuthorV2;
|
|
1793
1855
|
made_by_is_writer: boolean;
|
|
1794
|
-
approval_state: "
|
|
1856
|
+
approval_state: "rejected" | "approved" | "waiting" | "unreviewed";
|
|
1795
1857
|
approvals: Array<EvidenceApprovalEventView>;
|
|
1796
1858
|
review_problem_ref_num: null | number;
|
|
1797
1859
|
}>);
|
|
@@ -1806,6 +1868,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1806
1868
|
unverified: Array<string>;
|
|
1807
1869
|
method: null | string;
|
|
1808
1870
|
reproduced_failure: boolean;
|
|
1871
|
+
implications: EvidenceImplications;
|
|
1809
1872
|
author: string;
|
|
1810
1873
|
by: AuthorV2;
|
|
1811
1874
|
via_key: null | ViaKey;
|
|
@@ -1815,7 +1878,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1815
1878
|
made_by_name: null | string;
|
|
1816
1879
|
made_by_author: AuthorV2;
|
|
1817
1880
|
made_by_is_writer: boolean;
|
|
1818
|
-
approval_state: "
|
|
1881
|
+
approval_state: "rejected" | "approved" | "waiting" | "unreviewed";
|
|
1819
1882
|
approvals: Array<EvidenceApprovalEventView>;
|
|
1820
1883
|
review_problem_ref_num: null | number;
|
|
1821
1884
|
}>);
|
|
@@ -1991,6 +2054,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1991
2054
|
comment_count: number;
|
|
1992
2055
|
unread_comment_count: number;
|
|
1993
2056
|
issue_id: string;
|
|
2057
|
+
shown_type: "design" | "question" | "action" | "decision_review" | "behavior_rules" | "hypothesis_review" | "verdict_review";
|
|
1994
2058
|
feedback_consent: boolean;
|
|
1995
2059
|
choice_locked: boolean;
|
|
1996
2060
|
docs_land: boolean;
|
|
@@ -2005,7 +2069,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
2005
2069
|
problem_ref_num: number;
|
|
2006
2070
|
record_ref: string;
|
|
2007
2071
|
answered_version_no: null | number;
|
|
2008
|
-
choices: Array<{ solution_id: number; kind:
|
|
2072
|
+
choices: Array<{ solution_id: number; kind: ReviewChoiceKind; version_no: number; title: string; }>;
|
|
2009
2073
|
versions?: undefined | (Array<{
|
|
2010
2074
|
text: string;
|
|
2011
2075
|
made_by: "human" | "agent";
|
|
@@ -2030,11 +2094,12 @@ declare module "@danxbot/card-kit@1" {
|
|
|
2030
2094
|
}>);
|
|
2031
2095
|
}>);
|
|
2032
2096
|
evidence_review?: undefined | (Array<{
|
|
2097
|
+
title: string;
|
|
2033
2098
|
version_no: null | number;
|
|
2034
2099
|
problem_ref_num: number;
|
|
2035
2100
|
record_ref: string;
|
|
2036
2101
|
answered_version_no: null | number;
|
|
2037
|
-
choices: Array<{ solution_id: number; kind:
|
|
2102
|
+
choices: Array<{ solution_id: number; kind: ReviewChoiceKind; version_no: number; title: string; }>;
|
|
2038
2103
|
part: "hypothesis" | "verdict";
|
|
2039
2104
|
asked_because: null | "threshold" | "rejected_before" | "refreshed";
|
|
2040
2105
|
hypothesis_versions?: undefined | (Array<{
|
|
@@ -2057,7 +2122,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
2057
2122
|
made_by_name: null | string;
|
|
2058
2123
|
made_by_author: AuthorV2;
|
|
2059
2124
|
made_by_is_writer: boolean;
|
|
2060
|
-
approval_state: "
|
|
2125
|
+
approval_state: "rejected" | "approved" | "waiting" | "unreviewed";
|
|
2061
2126
|
approvals: Array<EvidenceApprovalEventView>;
|
|
2062
2127
|
review_problem_ref_num: null | number;
|
|
2063
2128
|
}>);
|
|
@@ -2072,6 +2137,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
2072
2137
|
unverified: Array<string>;
|
|
2073
2138
|
method: null | string;
|
|
2074
2139
|
reproduced_failure: boolean;
|
|
2140
|
+
implications: EvidenceImplications;
|
|
2075
2141
|
author: string;
|
|
2076
2142
|
by: AuthorV2;
|
|
2077
2143
|
via_key: null | ViaKey;
|
|
@@ -2081,7 +2147,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
2081
2147
|
made_by_name: null | string;
|
|
2082
2148
|
made_by_author: AuthorV2;
|
|
2083
2149
|
made_by_is_writer: boolean;
|
|
2084
|
-
approval_state: "
|
|
2150
|
+
approval_state: "rejected" | "approved" | "waiting" | "unreviewed";
|
|
2085
2151
|
approvals: Array<EvidenceApprovalEventView>;
|
|
2086
2152
|
review_problem_ref_num: null | number;
|
|
2087
2153
|
}>);
|
|
@@ -2118,7 +2184,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
2118
2184
|
created_by: string;
|
|
2119
2185
|
created_at: string;
|
|
2120
2186
|
archived_at: null | string;
|
|
2121
|
-
review_state: "
|
|
2187
|
+
review_state: "rejected" | "approved" | "awaiting_review" | "changes_requested";
|
|
2122
2188
|
revision_count: number;
|
|
2123
2189
|
latest_revision_no: number;
|
|
2124
2190
|
chosen_options: null | OptionSelection;
|
|
@@ -2145,7 +2211,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
2145
2211
|
decisions?: undefined | (Array<{
|
|
2146
2212
|
decision_id: number;
|
|
2147
2213
|
revision_no: number;
|
|
2148
|
-
outcome: "
|
|
2214
|
+
outcome: "rejected" | "approved" | "changes_requested";
|
|
2149
2215
|
note: null | string;
|
|
2150
2216
|
comment_id: number;
|
|
2151
2217
|
decided_by: string;
|
|
@@ -2191,6 +2257,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
2191
2257
|
type IssueStatus = "Review" | "ToDo" | "In Progress" | "Backlog" | "Done" | "Cancelled";
|
|
2192
2258
|
type EffortLevelName = "min" | "very_low" | "low" | "medium" | "high" | "very_high" | "max";
|
|
2193
2259
|
type IssueProblemType = "design" | "question" | "action" | "decision_review" | "evidence_review" | "behavior_rules";
|
|
2260
|
+
type ShownProblemType = "design" | "question" | "action" | "decision_review" | "behavior_rules" | "hypothesis_review" | "verdict_review";
|
|
2194
2261
|
type DecisionOutcome = "rejected" | "answered";
|
|
2195
2262
|
type GatingDependencyKind = "conflict_on" | "depends_on";
|
|
2196
2263
|
type IssueDependencyKind = GatingDependencyKind | "depends_on_landing";
|
|
@@ -2267,6 +2334,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
2267
2334
|
triage_last_status: string;
|
|
2268
2335
|
triage_last_explain: string;
|
|
2269
2336
|
terminal_derived: boolean;
|
|
2337
|
+
cancelled_derived: boolean;
|
|
2270
2338
|
in_progress_derived: boolean;
|
|
2271
2339
|
dispatchable_derived: boolean;
|
|
2272
2340
|
triage_enabled: boolean;
|
|
@@ -2433,6 +2501,8 @@ declare module "@danxbot/card-kit@1" {
|
|
|
2433
2501
|
quote: string | null;
|
|
2434
2502
|
quote_verified: boolean;
|
|
2435
2503
|
label: string;
|
|
2504
|
+
printed_ref: string;
|
|
2505
|
+
title: string | null;
|
|
2436
2506
|
url: string | null;
|
|
2437
2507
|
external: boolean;
|
|
2438
2508
|
author: AuthorV2 | null;
|
|
@@ -2496,7 +2566,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
2496
2566
|
dispatchId: string;
|
|
2497
2567
|
stop: "requested" | "unreachable";
|
|
2498
2568
|
}
|
|
2499
|
-
type ProblemCard = Pick<IssueViewV2, "id"> & Partial<Pick<IssueViewV2, "problems" | "open_problem_count">>;
|
|
2569
|
+
type ProblemCard = Pick<IssueViewV2, "id"> & Partial<Pick<IssueViewV2, "problems" | "open_problem_count" | "board_id">>;
|
|
2500
2570
|
|
|
2501
2571
|
interface LaneMoveRequest {
|
|
2502
2572
|
issueId: 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.74",
|
|
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",
|