@danxbot/plugin-sdk 0.2.21 → 0.2.22

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 +15 -0
  2. package/package.json +1 -1
@@ -111,6 +111,7 @@ declare module "@danxbot/card-kit@1" {
111
111
  kind: "agent" | "person";
112
112
  avatar_url: string | null;
113
113
  reason: StatusReason | null;
114
+ team_agent_id: number | null;
114
115
  }
115
116
  interface CommentRespondingV2 {
116
117
  by: AuthorV2;
@@ -183,6 +184,12 @@ declare module "@danxbot/card-kit@1" {
183
184
  reason: StatusReason | ProfileName | null;
184
185
  }
185
186
 
187
+ interface AgentIdentity {
188
+ id: number;
189
+ name: string;
190
+ avatar_url: string | null;
191
+ }
192
+
186
193
  interface HolderAgentPause {
187
194
  reason: string;
188
195
  since: string;
@@ -626,6 +633,7 @@ declare module "@danxbot/card-kit@1" {
626
633
  wake_at?: undefined | null | string;
627
634
  wake_action?: undefined | null | "review" | "ready";
628
635
  assigned_agent_name?: undefined | null | string;
636
+ assigned_agent_team_agent?: undefined | null | AgentIdentity;
629
637
  resolved_list_id?: undefined | string;
630
638
  list_name?: undefined | string;
631
639
  list_color?: undefined | null | string;
@@ -851,6 +859,7 @@ declare module "@danxbot/card-kit@1" {
851
859
  updated_at: string;
852
860
  content_hash: string;
853
861
  summary: null | string;
862
+ by: null | AuthorV2;
854
863
  decisions: Array<{
855
864
  id: number;
856
865
  problem_id: number;
@@ -878,6 +887,7 @@ declare module "@danxbot/card-kit@1" {
878
887
  title: string;
879
888
  id: number;
880
889
  content_hash: string;
890
+ by: null | AuthorV2;
881
891
  body: string;
882
892
  steps_hash: string;
883
893
  steps: Array<{
@@ -1186,6 +1196,11 @@ declare module "@danxbot/card-kit@1" {
1186
1196
  container: boolean;
1187
1197
  assignedAgent: string | null;
1188
1198
  assignedAgentName: string | null;
1199
+ assignedAgentTeamAgent: {
1200
+ id: number;
1201
+ name: string;
1202
+ avatar_url: string | null;
1203
+ } | null;
1189
1204
  assignedAgentKind: AssignedAgentKind | null;
1190
1205
  assignedAgentRepoCopy: RepoProfileCopy | null;
1191
1206
  assignedAgentPause: HolderAgentPause | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danxbot/plugin-sdk",
3
- "version": "0.2.21",
3
+ "version": "0.2.22",
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",