@danxbot/plugin-sdk 0.2.26 → 0.2.27

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 +9 -11
  2. package/package.json +1 -1
@@ -40,7 +40,7 @@ declare module "@danxbot/card-kit@1" {
40
40
  type IssueAuthoredProblemType = "question" | "action";
41
41
  type DecisionOutcome = "answered" | "rejected";
42
42
  type IssueDependencyKind = "depends_on" | "conflict_on";
43
- type IssueDispatchKind = "work" | "triage" | "recovery" | "flesh-out" | "chat" | "main-sync-repair" | "worktree-maintenance" | "manual" | `gate-${string}`;
43
+ type IssueDispatchKind = "work" | "triage" | "recovery" | "flesh-out" | "chat" | "main-sync-repair" | "worktree-maintenance" | "manual" | "landing" | `gate-${string}`;
44
44
  type IssueAssignmentMode = "automated" | "manual";
45
45
  type StartCommitError = "no_repo" | "not_github_repo" | "no_token" | "github_refused" | "github_unreachable" | "unreadable_tip" | "unexpected";
46
46
  interface IssueV2 {
@@ -184,17 +184,17 @@ declare module "@danxbot/card-kit@1" {
184
184
  reason: StatusReason | ProfileName | null;
185
185
  }
186
186
 
187
- interface AgentIdentity {
188
- id: number;
189
- name: string;
190
- avatar_url: string | null;
191
- }
192
-
193
187
  interface HolderAgentPause {
194
188
  reason: string;
195
189
  since: string;
196
190
  until: string;
197
191
  }
192
+
193
+ interface AgentIdentity {
194
+ id: number;
195
+ name: string;
196
+ avatar_url: string | null;
197
+ }
198
198
  type AssignedAgentKind = "session" | "person" | "worker" | "label";
199
199
 
200
200
  interface UsageTokenCounts {
@@ -671,7 +671,7 @@ declare module "@danxbot/card-kit@1" {
671
671
  ac?: undefined | Array<AcItemViewV2>;
672
672
  triage_enabled?: undefined | false | true;
673
673
  dispatch?: undefined | null | { started_at: string | null; };
674
- dispatch_kind?: undefined | null | "work" | "triage" | "recovery" | "flesh-out" | "chat" | "main-sync-repair" | "worktree-maintenance" | "manual" | `gate-${string}`;
674
+ dispatch_kind?: undefined | null | "work" | "triage" | "recovery" | "flesh-out" | "chat" | "main-sync-repair" | "worktree-maintenance" | "manual" | "landing" | `gate-${string}`;
675
675
  assignment_mode?: undefined | "manual" | "automated";
676
676
  assigned_agent_kind?: undefined | null | "session" | "person" | "worker" | "label";
677
677
  assigned_agent_pause?: undefined | null | HolderAgentPause;
@@ -873,7 +873,6 @@ declare module "@danxbot/card-kit@1" {
873
873
  updated_at: string;
874
874
  content_hash: string;
875
875
  summary: null | string;
876
- by: null | AuthorV2;
877
876
  decisions: Array<{
878
877
  id: number;
879
878
  problem_id: number;
@@ -901,7 +900,6 @@ declare module "@danxbot/card-kit@1" {
901
900
  title: string;
902
901
  id: number;
903
902
  content_hash: string;
904
- by: null | AuthorV2;
905
903
  body: string;
906
904
  steps_hash: string;
907
905
  steps: Array<{
@@ -988,7 +986,7 @@ declare module "@danxbot/card-kit@1" {
988
986
  url: string;
989
987
  }
990
988
 
991
- type TransitionAction = "ready" | "unready" | "pickup" | "rollback_pickup" | "escalate" | "gate_release" | "gate_repin" | "claim_repin" | "complete" | "cancel" | "block" | "unblock" | "archive" | "snooze" | "coerce" | "reopen";
989
+ type TransitionAction = "ready" | "unready" | "pickup" | "rollback_pickup" | "escalate" | "gate_release" | "gate_repin" | "claim_repin" | "landing_hold" | "complete" | "cancel" | "block" | "unblock" | "archive" | "snooze" | "coerce" | "reopen";
992
990
 
993
991
  type LifecycleAction = Extract<TransitionAction, "ready" | "unready" | "complete" | "cancel" | "reopen">;
994
992
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danxbot/plugin-sdk",
3
- "version": "0.2.26",
3
+ "version": "0.2.27",
4
4
  "description": "SDK for building 50 Arms card-type plugins (DX-5170): the card kit's type declarations, 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",