@50arms/plugin-sdk 0.2.76 → 0.2.77
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 +21 -6
- package/package.json +1 -1
package/dist/card-kit.d.ts
CHANGED
|
@@ -661,8 +661,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
661
661
|
pin_no: number;
|
|
662
662
|
slot: string;
|
|
663
663
|
status: "compliant" | "incompliant" | "rejected" | "not_applicable";
|
|
664
|
-
|
|
665
|
-
confidence: number | null;
|
|
664
|
+
provenance_index: number | null;
|
|
666
665
|
review: "surfaced" | "auto_approved" | null;
|
|
667
666
|
problem_index: number | null;
|
|
668
667
|
signed_by_kind: "person" | "agent";
|
|
@@ -808,6 +807,10 @@ declare module "@danxbot/card-kit@1" {
|
|
|
808
807
|
} | {
|
|
809
808
|
kind: "card_justification";
|
|
810
809
|
item_version: string | null;
|
|
810
|
+
} | {
|
|
811
|
+
kind: "checklist_item";
|
|
812
|
+
checklist_index: number;
|
|
813
|
+
item_index: number;
|
|
811
814
|
} | {
|
|
812
815
|
kind: "plan_record";
|
|
813
816
|
record_id: number;
|
|
@@ -816,11 +819,21 @@ declare module "@danxbot/card-kit@1" {
|
|
|
816
819
|
kind: "plan_section";
|
|
817
820
|
section_id: number;
|
|
818
821
|
item_version: string | null;
|
|
822
|
+
} | {
|
|
823
|
+
kind: "behavior_rule";
|
|
824
|
+
policy_index: number;
|
|
825
|
+
rule_index: number;
|
|
826
|
+
item_version: string | null;
|
|
827
|
+
} | {
|
|
828
|
+
kind: "behavior_policy";
|
|
829
|
+
policy_index: number;
|
|
830
|
+
item_version: string | null;
|
|
819
831
|
};
|
|
820
832
|
type V2CopyProvenanceLink = V2CopyProvenanceLinkItem & {
|
|
821
833
|
linked_by: V2CopyProvenanceParty;
|
|
822
834
|
linked_at: string;
|
|
823
835
|
link_no: number;
|
|
836
|
+
overruled_by_link_no: number | null;
|
|
824
837
|
};
|
|
825
838
|
interface V2CopyProvenanceRecord {
|
|
826
839
|
reasoning: string | null;
|
|
@@ -903,8 +916,8 @@ declare module "@danxbot/card-kit@1" {
|
|
|
903
916
|
interface BehaviorDecisionView {
|
|
904
917
|
readonly signoff_id: number;
|
|
905
918
|
readonly status: Exclude<RuleStatus, "unverified">;
|
|
906
|
-
readonly
|
|
907
|
-
readonly
|
|
919
|
+
readonly provenance: ProvenanceRecordV2 | null;
|
|
920
|
+
readonly provenance_outdated: boolean;
|
|
908
921
|
readonly review: "surfaced" | "auto_approved" | null;
|
|
909
922
|
readonly signer: {
|
|
910
923
|
readonly kind: "person" | "agent";
|
|
@@ -918,8 +931,8 @@ declare module "@danxbot/card-kit@1" {
|
|
|
918
931
|
readonly status: RuleStatus;
|
|
919
932
|
readonly settled: boolean;
|
|
920
933
|
readonly signoff_id: number | null;
|
|
921
|
-
readonly
|
|
922
|
-
readonly
|
|
934
|
+
readonly signoff_provenance: ProvenanceRecordV2 | null;
|
|
935
|
+
readonly signoff_provenance_outdated: boolean;
|
|
923
936
|
readonly review: "surfaced" | "auto_approved" | null;
|
|
924
937
|
readonly signer: BehaviorDecisionView["signer"] | null;
|
|
925
938
|
readonly by: BehaviorDecisionView["by"] | null;
|
|
@@ -1518,6 +1531,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1518
1531
|
label: string;
|
|
1519
1532
|
detail: string;
|
|
1520
1533
|
status: ChecklistItemStatus$1;
|
|
1534
|
+
provenance: ProvenanceRecordV2 | null;
|
|
1521
1535
|
}
|
|
1522
1536
|
interface ChecklistView {
|
|
1523
1537
|
id: number;
|
|
@@ -1565,6 +1579,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1565
1579
|
answers_decision_id?: undefined | null | number;
|
|
1566
1580
|
sign_off?: undefined | null | CommentSignOffViewV2;
|
|
1567
1581
|
quoted_request?: undefined | null | ProvenanceRecordV2;
|
|
1582
|
+
quoted_request_card_id?: undefined | null | string;
|
|
1568
1583
|
tags: Array<{ kind: "problem"; ref: number; } | { kind: "design"; ref: number; } | { kind: "decision"; ref: number; } | { kind: "evidence"; ref: number; }>;
|
|
1569
1584
|
resource_tags: Array<CommentResourceTag>;
|
|
1570
1585
|
parent_comment_id: null | number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@50arms/plugin-sdk",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.77",
|
|
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",
|