@50arms/plugin-sdk 0.2.77 → 0.2.78
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 +31 -4
- package/package.json +1 -1
package/dist/card-kit.d.ts
CHANGED
|
@@ -736,7 +736,14 @@ declare module "@danxbot/card-kit@1" {
|
|
|
736
736
|
decided_by: string | null;
|
|
737
737
|
owed: boolean;
|
|
738
738
|
}
|
|
739
|
-
type
|
|
739
|
+
type V2CopyRoundDecision = Omit<GateRoundDecisionV2, "by">;
|
|
740
|
+
interface V2CopyRoundDecisions {
|
|
741
|
+
reviewer: V2CopyRoundDecision | null;
|
|
742
|
+
orchestrator: V2CopyRoundDecision | null;
|
|
743
|
+
}
|
|
744
|
+
type V2CopyGateRound = Omit<GateRoundV2, "id" | "by" | "via_key" | "decision_versions" | "decisions"> & {
|
|
745
|
+
decisions: V2CopyRoundDecisions;
|
|
746
|
+
};
|
|
740
747
|
interface V2CopySolution extends SolutionContent {
|
|
741
748
|
removed: boolean;
|
|
742
749
|
design_index: number | null;
|
|
@@ -954,6 +961,8 @@ declare module "@danxbot/card-kit@1" {
|
|
|
954
961
|
readonly requires_reasoning: boolean;
|
|
955
962
|
readonly confidence_threshold: number;
|
|
956
963
|
readonly kind: BehaviorRuleKind;
|
|
964
|
+
readonly gates: string[];
|
|
965
|
+
readonly any_agent: boolean;
|
|
957
966
|
readonly expected_roles: string[];
|
|
958
967
|
readonly provenance: ProvenanceRecordV2;
|
|
959
968
|
}
|
|
@@ -1210,6 +1219,10 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1210
1219
|
kind: "decided_by_person";
|
|
1211
1220
|
gate: string;
|
|
1212
1221
|
decided_by: string;
|
|
1222
|
+
} | {
|
|
1223
|
+
kind: "awaits_round_decision";
|
|
1224
|
+
gate: string;
|
|
1225
|
+
round: number;
|
|
1213
1226
|
};
|
|
1214
1227
|
|
|
1215
1228
|
interface CodeGateStatus {
|
|
@@ -2055,12 +2068,12 @@ declare module "@danxbot/card-kit@1" {
|
|
|
2055
2068
|
interface QualityGateChipV2 {
|
|
2056
2069
|
gate: string;
|
|
2057
2070
|
phase: QualityGatePhase;
|
|
2058
|
-
status:
|
|
2071
|
+
status: QualityGateStatus;
|
|
2059
2072
|
}
|
|
2060
2073
|
type QualityGateViewV2 = {
|
|
2061
2074
|
gate: string;
|
|
2062
2075
|
decision_note: string;
|
|
2063
|
-
status: "pending" | "pass" | "fail" | "skipped";
|
|
2076
|
+
status: "pending" | "pass" | "fail" | "skipped" | "fixed";
|
|
2064
2077
|
completed_at: null | string;
|
|
2065
2078
|
message: string;
|
|
2066
2079
|
reviewed_ref: null | string;
|
|
@@ -2068,6 +2081,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
2068
2081
|
budget_started_at: string;
|
|
2069
2082
|
rounds: Array<GateRoundV2>;
|
|
2070
2083
|
phase: "plan" | "code";
|
|
2084
|
+
awaits_round_decision: boolean;
|
|
2071
2085
|
};
|
|
2072
2086
|
type ProblemViewV2 = {
|
|
2073
2087
|
type: "design" | "question" | "action" | "decision_review" | "evidence_review" | "behavior_rules";
|
|
@@ -2507,7 +2521,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
2507
2521
|
updated_at: string;
|
|
2508
2522
|
deleted_at: string | null;
|
|
2509
2523
|
}
|
|
2510
|
-
type QualityGateStatus = "pending" | "pass" | "fail" | "skipped";
|
|
2524
|
+
type QualityGateStatus = "pending" | "pass" | "fail" | "skipped" | "fixed";
|
|
2511
2525
|
type GateRoundReviewerKind = "session" | "dispatch" | "person";
|
|
2512
2526
|
type GateRoundVerdict = "pass" | "fail" | "retry" | "skipped";
|
|
2513
2527
|
interface GateRoundV2 {
|
|
@@ -2529,6 +2543,19 @@ declare module "@danxbot/card-kit@1" {
|
|
|
2529
2543
|
summary: string;
|
|
2530
2544
|
recorded_at: string;
|
|
2531
2545
|
decision_versions: DecisionVersionView[];
|
|
2546
|
+
decisions: GateRoundDecisions;
|
|
2547
|
+
}
|
|
2548
|
+
interface GateRoundDecisionV2 {
|
|
2549
|
+
required: boolean;
|
|
2550
|
+
reason: string;
|
|
2551
|
+
fix_ref: string | null;
|
|
2552
|
+
decided_by_name: string;
|
|
2553
|
+
by: AuthorV2;
|
|
2554
|
+
decided_at: string;
|
|
2555
|
+
}
|
|
2556
|
+
interface GateRoundDecisions {
|
|
2557
|
+
reviewer: GateRoundDecisionV2 | null;
|
|
2558
|
+
orchestrator: GateRoundDecisionV2 | null;
|
|
2532
2559
|
}
|
|
2533
2560
|
interface ProvenanceRecordV2 {
|
|
2534
2561
|
id: 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.78",
|
|
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",
|