@danxbot/plugin-sdk 0.2.21 → 0.2.23
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 -1
- package/package.json +2 -2
package/dist/card-kit.d.ts
CHANGED
|
@@ -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;
|
|
@@ -250,6 +257,18 @@ declare module "@danxbot/card-kit@1" {
|
|
|
250
257
|
content: string;
|
|
251
258
|
}
|
|
252
259
|
|
|
260
|
+
type PreGateHold = {
|
|
261
|
+
kind: "awaiting_person";
|
|
262
|
+
} | {
|
|
263
|
+
kind: "repo_designs_setting_up";
|
|
264
|
+
plan: {
|
|
265
|
+
id: number;
|
|
266
|
+
name: string;
|
|
267
|
+
};
|
|
268
|
+
} | {
|
|
269
|
+
kind: "repo_designs_off";
|
|
270
|
+
};
|
|
271
|
+
|
|
253
272
|
interface CodeGateStatus {
|
|
254
273
|
gate: string;
|
|
255
274
|
status: QualityGateStatus;
|
|
@@ -309,6 +328,8 @@ declare module "@danxbot/card-kit@1" {
|
|
|
309
328
|
ancestor_blocked: boolean;
|
|
310
329
|
next_pre_gate: string | null;
|
|
311
330
|
next_code_gate: string | null;
|
|
331
|
+
pre_gate_hold: PreGateHold | null;
|
|
332
|
+
pre_gate_hold_reason: StatusReason | null;
|
|
312
333
|
blocking_gates: {
|
|
313
334
|
gate: string;
|
|
314
335
|
detail: string;
|
|
@@ -626,6 +647,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
626
647
|
wake_at?: undefined | null | string;
|
|
627
648
|
wake_action?: undefined | null | "review" | "ready";
|
|
628
649
|
assigned_agent_name?: undefined | null | string;
|
|
650
|
+
assigned_agent_team_agent?: undefined | null | AgentIdentity;
|
|
629
651
|
resolved_list_id?: undefined | string;
|
|
630
652
|
list_name?: undefined | string;
|
|
631
653
|
list_color?: undefined | null | string;
|
|
@@ -851,6 +873,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
851
873
|
updated_at: string;
|
|
852
874
|
content_hash: string;
|
|
853
875
|
summary: null | string;
|
|
876
|
+
by: null | AuthorV2;
|
|
854
877
|
decisions: Array<{
|
|
855
878
|
id: number;
|
|
856
879
|
problem_id: number;
|
|
@@ -878,6 +901,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
878
901
|
title: string;
|
|
879
902
|
id: number;
|
|
880
903
|
content_hash: string;
|
|
904
|
+
by: null | AuthorV2;
|
|
881
905
|
body: string;
|
|
882
906
|
steps_hash: string;
|
|
883
907
|
steps: Array<{
|
|
@@ -1103,10 +1127,11 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1103
1127
|
choiceLocked: boolean;
|
|
1104
1128
|
}
|
|
1105
1129
|
|
|
1106
|
-
function ProblemsSection({ cardId, problems, canAnswer, mutation, }: {
|
|
1130
|
+
function ProblemsSection({ cardId, problems, canAnswer, designGatePending, mutation, }: {
|
|
1107
1131
|
cardId: string;
|
|
1108
1132
|
problems: ProblemAttention[];
|
|
1109
1133
|
canAnswer: boolean;
|
|
1134
|
+
designGatePending: boolean;
|
|
1110
1135
|
mutation: CardMutation;
|
|
1111
1136
|
}): react.JSX.Element;
|
|
1112
1137
|
|
|
@@ -1186,6 +1211,11 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1186
1211
|
container: boolean;
|
|
1187
1212
|
assignedAgent: string | null;
|
|
1188
1213
|
assignedAgentName: string | null;
|
|
1214
|
+
assignedAgentTeamAgent: {
|
|
1215
|
+
id: number;
|
|
1216
|
+
name: string;
|
|
1217
|
+
avatar_url: string | null;
|
|
1218
|
+
} | null;
|
|
1189
1219
|
assignedAgentKind: AssignedAgentKind | null;
|
|
1190
1220
|
assignedAgentRepoCopy: RepoProfileCopy | null;
|
|
1191
1221
|
assignedAgentPause: HolderAgentPause | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@danxbot/plugin-sdk",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.23",
|
|
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",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"test": "vitest run"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@danxbot/ui": "27.
|
|
49
|
+
"@danxbot/ui": "27.43.2",
|
|
50
50
|
"@types/node": "^22.0.0",
|
|
51
51
|
"@types/react": "^19.2.2",
|
|
52
52
|
"esbuild": "^0.25.0",
|