@50arms/plugin-sdk 0.2.79 → 0.2.80

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.
Files changed (2) hide show
  1. package/dist/card-kit.d.ts +20 -0
  2. package/package.json +1 -1
@@ -1508,6 +1508,24 @@ declare module "@danxbot/card-kit@1" {
1508
1508
  readonly ahead: readonly LandingAheadRegistration[];
1509
1509
  }
1510
1510
 
1511
+ type CardLandingStatus = "pending" | "testing" | "fixing";
1512
+ type CardLandingFix = "none" | "working" | "submitted" | "rejected";
1513
+ interface CardLandingBatch {
1514
+ readonly opened_at: string;
1515
+ readonly red_at: string | null;
1516
+ readonly failures: number;
1517
+ readonly fix: CardLandingFix;
1518
+ }
1519
+ interface CardLanding {
1520
+ readonly status: CardLandingStatus;
1521
+ readonly waiting: boolean;
1522
+ readonly target_branch: string;
1523
+ readonly sha: string;
1524
+ readonly registered_at: string;
1525
+ readonly batched_at: string | null;
1526
+ readonly batch: CardLandingBatch | null;
1527
+ }
1528
+
1511
1529
  interface CompactionSavings {
1512
1530
  loads: number;
1513
1531
  dispatches: number;
@@ -1814,6 +1832,7 @@ declare module "@danxbot/card-kit@1" {
1814
1832
  triage_enabled?: undefined | false | true;
1815
1833
  dispatch?: undefined | null | { started_at: string | null; };
1816
1834
  dispatch_kind?: undefined | null | "work" | "triage" | "recovery" | "flesh-out" | "chat" | "main-sync-repair" | "worktree-maintenance" | "manual" | "landing" | `gate-${string}`;
1835
+ landing?: undefined | null | CardLanding;
1817
1836
  assignment_mode?: undefined | "manual" | "automated";
1818
1837
  assigned_agent_kind?: undefined | null | "person" | "session" | "worker" | "label";
1819
1838
  assigned_agent_pause?: undefined | null | HolderAgentPause;
@@ -2991,6 +3010,7 @@ declare module "@danxbot/card-kit@1" {
2991
3010
  commentsCount: number;
2992
3011
  unreadCommentsCount: number;
2993
3012
  hasRetro: boolean;
3013
+ landing: NonNullable<IssueViewV2["landing"]> | null;
2994
3014
  onPullRequest: boolean;
2995
3015
  childrenCount: number;
2996
3016
  childrenDetail?: NonNullable<IssueViewV2["children_detail"]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@50arms/plugin-sdk",
3
- "version": "0.2.79",
3
+ "version": "0.2.80",
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",