@danxbot/plugin-sdk 0.2.42 → 0.2.44

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.
@@ -218,6 +218,27 @@ declare module "@danxbot/card-kit@1" {
218
218
  deleted_at: string | null;
219
219
  }
220
220
  type QualityGateStatus = "pending" | "pass" | "fail" | "skipped";
221
+ type GateRoundReviewerKind = "session" | "dispatch" | "person";
222
+ type GateRoundVerdict = "pass" | "fail" | "retry" | "skipped";
223
+ interface GateRoundV2 {
224
+ id: number;
225
+ number: number;
226
+ reviewed_ref: string | null;
227
+ reviewer_kind: GateRoundReviewerKind;
228
+ reviewer_name: string;
229
+ by: AuthorV2;
230
+ via_key: {
231
+ id: number;
232
+ name: string;
233
+ } | null;
234
+ reviewer_dispatch_id: string | null;
235
+ review_grade: EffortLevelName | null;
236
+ model: string | null;
237
+ effort: string | null;
238
+ verdict: GateRoundVerdict;
239
+ summary: string;
240
+ recorded_at: string;
241
+ }
221
242
  interface ProvenanceRecordV2 {
222
243
  id: number;
223
244
  quote: string | null;
@@ -296,6 +317,7 @@ declare module "@danxbot/card-kit@1" {
296
317
  offset: number;
297
318
  target_found: boolean | null;
298
319
  }
320
+ type BrowserCheckStatus = "checked" | "not_checked" | "not_recorded";
299
321
 
300
322
  type ListType = "archived" | "review" | "ready" | "in_progress" | "completed" | "cancelled";
301
323
 
@@ -357,6 +379,8 @@ declare module "@danxbot/card-kit@1" {
357
379
  }[];
358
380
  option_groups: DesignOptionGroup[];
359
381
  checklist: string[];
382
+ browser_check: BrowserCheckStatus;
383
+ browser_check_note: string;
360
384
  built_from_commit: string;
361
385
  note: string;
362
386
  created_by: string;
@@ -475,15 +499,16 @@ declare module "@danxbot/card-kit@1" {
475
499
  interface V2CopyQualityGate {
476
500
  gate: string;
477
501
  decision_note: string;
478
- effort_level: EffortLevelName | null;
479
502
  status: QualityGateStatus;
480
503
  message: string;
481
504
  completed_at: string | null;
482
- attempts: number;
505
+ budget_started_at: string;
506
+ rounds: V2CopyGateRound[];
483
507
  reviewed_ref: string | null;
484
508
  decided_by: string | null;
485
509
  owed: boolean;
486
510
  }
511
+ type V2CopyGateRound = Omit<GateRoundV2, "id" | "by" | "via_key">;
487
512
  interface V2CopySolution extends SolutionContent {
488
513
  removed: boolean;
489
514
  design_index: number | null;
@@ -778,6 +803,11 @@ declare module "@danxbot/card-kit@1" {
778
803
  worker_readiness_blockers: ReadinessBlocker[];
779
804
  agent_wait: StatusReason | null;
780
805
  }
806
+ interface BuildGradeView {
807
+ readonly grade: string;
808
+ readonly model: string;
809
+ readonly effort: string;
810
+ }
781
811
 
782
812
  type IssueStatus = "Review" | "ToDo" | "In Progress" | "Backlog" | "Done" | "Cancelled";
783
813
  interface InheritedBlockedViewV2 {
@@ -985,6 +1015,7 @@ declare module "@danxbot/card-kit@1" {
985
1015
  latest_work_dispatch?: undefined | null | LatestWorkDispatchViewV2;
986
1016
  usage?: undefined | null | UsageSummary | UsageError;
987
1017
  effort_level?: undefined | "min" | "very_low" | "low" | "medium" | "high" | "very_high" | "max";
1018
+ build_grade?: undefined | BuildGradeView;
988
1019
  downward_rung?: undefined | null | "min" | "very_low" | "low" | "medium" | "high" | "very_high" | "max";
989
1020
  waiting_on_gate?: undefined | null | WaitingOnViewV2;
990
1021
  waiting_on_dep_ids?: undefined | Record<string, number>;
@@ -1162,6 +1193,8 @@ declare module "@danxbot/card-kit@1" {
1162
1193
  screenshot_available: boolean;
1163
1194
  option_groups: Array<DesignOptionGroup>;
1164
1195
  checklist: Array<string>;
1196
+ browser_check: "checked" | "not_checked" | "not_recorded";
1197
+ browser_check_note: string;
1165
1198
  source_files?: undefined | Array<DesignSourceFile>;
1166
1199
  }>);
1167
1200
  decisions?: undefined | (Array<{
@@ -1213,11 +1246,6 @@ declare module "@danxbot/card-kit@1" {
1213
1246
  id: number;
1214
1247
  ref: string;
1215
1248
  name: string;
1216
- }>;
1217
- inherited_plans?: undefined | Array<{
1218
- id: number;
1219
- ref: string;
1220
- name: string;
1221
1249
  }>;
1222
1250
  mirrors?: undefined | (Array<{
1223
1251
  target_type: "trello" | "slack" | "asana";
@@ -1287,7 +1315,8 @@ declare module "@danxbot/card-kit@1" {
1287
1315
  message: string;
1288
1316
  reviewed_ref: null | string;
1289
1317
  decided_by: null | string;
1290
- effort_level: null | "min" | "very_low" | "low" | "medium" | "high" | "very_high" | "max";
1318
+ budget_started_at: string;
1319
+ rounds: Array<GateRoundV2>;
1291
1320
  phase: "plan" | "code";
1292
1321
  };
1293
1322
  type ProblemViewV2 = {
@@ -1405,6 +1434,8 @@ declare module "@danxbot/card-kit@1" {
1405
1434
  screenshot_available: boolean;
1406
1435
  option_groups: Array<DesignOptionGroup>;
1407
1436
  checklist: Array<string>;
1437
+ browser_check: "checked" | "not_checked" | "not_recorded";
1438
+ browser_check_note: string;
1408
1439
  source_files?: undefined | Array<DesignSourceFile>;
1409
1440
  }>);
1410
1441
  decisions?: undefined | (Array<{
package/dist/cli.js CHANGED
@@ -5891,7 +5891,7 @@ var CARD_KIT_LIBRARY = "@danxbot/card-kit";
5891
5891
  var PLUGIN_RUNTIME_LIBRARIES = [
5892
5892
  { name: "react", major: 19 },
5893
5893
  { name: "react-dom", major: 19 },
5894
- { name: "@danxbot/ui", major: 30 },
5894
+ { name: "@danxbot/ui", major: 32 },
5895
5895
  { name: CARD_KIT_LIBRARY, major: CARD_KIT_MAJOR }
5896
5896
  ];
5897
5897
  var PLUGIN_RUNTIME_SPECIFIERS = [
package/dist/publish.js CHANGED
@@ -5886,7 +5886,7 @@ var CARD_KIT_LIBRARY = "@danxbot/card-kit";
5886
5886
  var PLUGIN_RUNTIME_LIBRARIES = [
5887
5887
  { name: "react", major: 19 },
5888
5888
  { name: "react-dom", major: 19 },
5889
- { name: "@danxbot/ui", major: 30 },
5889
+ { name: "@danxbot/ui", major: 32 },
5890
5890
  { name: CARD_KIT_LIBRARY, major: CARD_KIT_MAJOR }
5891
5891
  ];
5892
5892
  var PLUGIN_RUNTIME_SPECIFIERS = [
package/dist/vite.js CHANGED
@@ -4,7 +4,7 @@ var CARD_KIT_LIBRARY = "@danxbot/card-kit";
4
4
  var PLUGIN_RUNTIME_LIBRARIES = [
5
5
  { name: "react", major: 19 },
6
6
  { name: "react-dom", major: 19 },
7
- { name: "@danxbot/ui", major: 30 },
7
+ { name: "@danxbot/ui", major: 32 },
8
8
  { name: CARD_KIT_LIBRARY, major: CARD_KIT_MAJOR }
9
9
  ];
10
10
  var PLUGIN_RUNTIME_SPECIFIERS = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danxbot/plugin-sdk",
3
- "version": "0.2.42",
3
+ "version": "0.2.44",
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",
@@ -37,7 +37,7 @@
37
37
  "node": ">=20"
38
38
  },
39
39
  "peerDependencies": {
40
- "@danxbot/ui": "^30.0.0",
40
+ "@danxbot/ui": "^32.0.0",
41
41
  "@types/react": "^19.0.0",
42
42
  "react": "^19.0.0",
43
43
  "react-router": "^7.0.0",
@@ -50,7 +50,7 @@
50
50
  "test": "vitest run"
51
51
  },
52
52
  "devDependencies": {
53
- "@danxbot/ui": "30.1.3",
53
+ "@danxbot/ui": "32.0.1",
54
54
  "@types/node": "^22.0.0",
55
55
  "@types/react": "^19.2.2",
56
56
  "esbuild": "^0.25.0",