@50arms/plugin-sdk 0.2.71 → 0.2.72
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 +10 -19
- package/package.json +1 -1
package/dist/card-kit.d.ts
CHANGED
|
@@ -271,6 +271,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
271
271
|
confidence_reason: string | null;
|
|
272
272
|
unverified: string[];
|
|
273
273
|
method: string | null;
|
|
274
|
+
reproduced_failure: boolean;
|
|
274
275
|
}
|
|
275
276
|
interface EvidenceRaisedProblemView {
|
|
276
277
|
card_id: string;
|
|
@@ -548,6 +549,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
548
549
|
confidence_reason: string | null;
|
|
549
550
|
unverified: string[];
|
|
550
551
|
method: string | null;
|
|
552
|
+
reproduced_failure: boolean;
|
|
551
553
|
approvals: V2CopyEvidenceApproval[];
|
|
552
554
|
}
|
|
553
555
|
interface V2CopyEvidenceBlockAttachment {
|
|
@@ -915,9 +917,9 @@ declare module "@danxbot/card-kit@1" {
|
|
|
915
917
|
readonly review: "surfaced" | "auto_approved" | null;
|
|
916
918
|
readonly signer: {
|
|
917
919
|
readonly kind: "person" | "agent";
|
|
918
|
-
readonly name: string;
|
|
919
920
|
readonly user_id: number | null;
|
|
920
921
|
};
|
|
922
|
+
readonly by: AuthorV2;
|
|
921
923
|
readonly pin_no: number;
|
|
922
924
|
readonly signed_at: string;
|
|
923
925
|
}
|
|
@@ -930,6 +932,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
930
932
|
readonly confidence: number | null;
|
|
931
933
|
readonly review: "surfaced" | "auto_approved" | null;
|
|
932
934
|
readonly signer: BehaviorDecisionView["signer"] | null;
|
|
935
|
+
readonly by: BehaviorDecisionView["by"] | null;
|
|
933
936
|
readonly pin_no: number | null;
|
|
934
937
|
readonly signed_at: string | null;
|
|
935
938
|
readonly problem: {
|
|
@@ -945,7 +948,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
945
948
|
readonly rule_version: string;
|
|
946
949
|
readonly requires_reasoning: boolean;
|
|
947
950
|
readonly confidence_threshold: number;
|
|
948
|
-
readonly provenance: ProvenanceRecordV2
|
|
951
|
+
readonly provenance: ProvenanceRecordV2;
|
|
949
952
|
readonly slots: BehaviorSlotView[];
|
|
950
953
|
}
|
|
951
954
|
interface BehaviorPolicyView {
|
|
@@ -990,28 +993,12 @@ declare module "@danxbot/card-kit@1" {
|
|
|
990
993
|
readonly evaluated_count: number;
|
|
991
994
|
readonly rows: BehaviorRuleRowView[];
|
|
992
995
|
}
|
|
993
|
-
interface BehaviorRuleEscalationView {
|
|
994
|
-
readonly rule_id: number;
|
|
995
|
-
readonly rule_ref: string;
|
|
996
|
-
readonly rule_text: string;
|
|
997
|
-
readonly policy_ref: string;
|
|
998
|
-
readonly policy_name: string;
|
|
999
|
-
readonly slot: string;
|
|
1000
|
-
readonly gate_on_card: boolean;
|
|
1001
|
-
readonly confidence: number;
|
|
1002
|
-
readonly why: string;
|
|
1003
|
-
readonly escalated_by: string;
|
|
1004
|
-
readonly escalated_at: string;
|
|
1005
|
-
readonly state: "waiting_on_person" | "settled";
|
|
1006
|
-
readonly decision: BehaviorDecisionView | null;
|
|
1007
|
-
}
|
|
1008
996
|
interface BehaviorRulesProblemView {
|
|
1009
997
|
readonly total_count: number;
|
|
1010
998
|
readonly evaluated_count: number;
|
|
1011
999
|
readonly waiting_count: number;
|
|
1012
1000
|
readonly pin_no: number | null;
|
|
1013
1001
|
readonly groups: BehaviorRuleGroupView[];
|
|
1014
|
-
readonly escalations: BehaviorRuleEscalationView[];
|
|
1015
1002
|
}
|
|
1016
1003
|
interface DesignSourceFile {
|
|
1017
1004
|
path: string;
|
|
@@ -1522,6 +1509,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1522
1509
|
via_key: null | ViaKey;
|
|
1523
1510
|
timestamp: string;
|
|
1524
1511
|
updated_at: string;
|
|
1512
|
+
content_hash?: undefined | string;
|
|
1525
1513
|
text: string;
|
|
1526
1514
|
reduced?: undefined | true;
|
|
1527
1515
|
reduced_text?: undefined | null | string;
|
|
@@ -1817,6 +1805,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1817
1805
|
confidence_reason: null | string;
|
|
1818
1806
|
unverified: Array<string>;
|
|
1819
1807
|
method: null | string;
|
|
1808
|
+
reproduced_failure: boolean;
|
|
1820
1809
|
author: string;
|
|
1821
1810
|
by: AuthorV2;
|
|
1822
1811
|
via_key: null | ViaKey;
|
|
@@ -2082,6 +2071,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
2082
2071
|
confidence_reason: null | string;
|
|
2083
2072
|
unverified: Array<string>;
|
|
2084
2073
|
method: null | string;
|
|
2074
|
+
reproduced_failure: boolean;
|
|
2085
2075
|
author: string;
|
|
2086
2076
|
by: AuthorV2;
|
|
2087
2077
|
via_key: null | ViaKey;
|
|
@@ -2615,10 +2605,11 @@ declare module "@danxbot/card-kit@1" {
|
|
|
2615
2605
|
removedSolutionIds: ReadonlySet<number>;
|
|
2616
2606
|
decisions: DecisionViewV2[];
|
|
2617
2607
|
choiceLocked: boolean;
|
|
2608
|
+
answerable: boolean;
|
|
2618
2609
|
}
|
|
2619
2610
|
|
|
2620
2611
|
interface ProblemsSectionProps {
|
|
2621
|
-
card: ProblemCard
|
|
2612
|
+
card: ProblemCard & Partial<Pick<IssueViewV2, "archived_at">>;
|
|
2622
2613
|
problems: ProblemAttention[];
|
|
2623
2614
|
canAnswer: boolean;
|
|
2624
2615
|
designGatePending: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@50arms/plugin-sdk",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.72",
|
|
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",
|