@danxbot/plugin-sdk 0.2.20 → 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.
- package/dist/card-kit.d.ts +20 -5
- package/package.json +2 -2
package/dist/card-kit.d.ts
CHANGED
|
@@ -106,15 +106,12 @@ declare module "@danxbot/card-kit@1" {
|
|
|
106
106
|
triage_enabled: boolean;
|
|
107
107
|
content_hash: string;
|
|
108
108
|
}
|
|
109
|
-
type CommentTagV2 = {
|
|
110
|
-
kind: "problem";
|
|
111
|
-
ref: number;
|
|
112
|
-
};
|
|
113
109
|
interface AuthorV2 {
|
|
114
110
|
name: string;
|
|
115
111
|
kind: "agent" | "person";
|
|
116
112
|
avatar_url: string | null;
|
|
117
113
|
reason: StatusReason | null;
|
|
114
|
+
team_agent_id: number | null;
|
|
118
115
|
}
|
|
119
116
|
interface CommentRespondingV2 {
|
|
120
117
|
by: AuthorV2;
|
|
@@ -187,6 +184,12 @@ declare module "@danxbot/card-kit@1" {
|
|
|
187
184
|
reason: StatusReason | ProfileName | null;
|
|
188
185
|
}
|
|
189
186
|
|
|
187
|
+
interface AgentIdentity {
|
|
188
|
+
id: number;
|
|
189
|
+
name: string;
|
|
190
|
+
avatar_url: string | null;
|
|
191
|
+
}
|
|
192
|
+
|
|
190
193
|
interface HolderAgentPause {
|
|
191
194
|
reason: string;
|
|
192
195
|
since: string;
|
|
@@ -585,7 +588,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
585
588
|
via_key?: undefined | null | ViaKey;
|
|
586
589
|
metadata?: unknown;
|
|
587
590
|
answers_decision_id?: undefined | null | number;
|
|
588
|
-
tags: Array<
|
|
591
|
+
tags: Array<{ kind: "problem"; ref: number; } | { kind: "design"; ref: number; }>;
|
|
589
592
|
responding: null | CommentRespondingV2;
|
|
590
593
|
}>);
|
|
591
594
|
checklists?: undefined | Array<ChecklistView>;
|
|
@@ -630,6 +633,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
630
633
|
wake_at?: undefined | null | string;
|
|
631
634
|
wake_action?: undefined | null | "review" | "ready";
|
|
632
635
|
assigned_agent_name?: undefined | null | string;
|
|
636
|
+
assigned_agent_team_agent?: undefined | null | AgentIdentity;
|
|
633
637
|
resolved_list_id?: undefined | string;
|
|
634
638
|
list_name?: undefined | string;
|
|
635
639
|
list_color?: undefined | null | string;
|
|
@@ -709,6 +713,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
709
713
|
metadata: unknown;
|
|
710
714
|
}>);
|
|
711
715
|
designs?: undefined | (Array<{
|
|
716
|
+
id: number;
|
|
712
717
|
design_no: number;
|
|
713
718
|
title: string;
|
|
714
719
|
created_by: string;
|
|
@@ -854,6 +859,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
854
859
|
updated_at: string;
|
|
855
860
|
content_hash: string;
|
|
856
861
|
summary: null | string;
|
|
862
|
+
by: null | AuthorV2;
|
|
857
863
|
decisions: Array<{
|
|
858
864
|
id: number;
|
|
859
865
|
problem_id: number;
|
|
@@ -881,6 +887,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
881
887
|
title: string;
|
|
882
888
|
id: number;
|
|
883
889
|
content_hash: string;
|
|
890
|
+
by: null | AuthorV2;
|
|
884
891
|
body: string;
|
|
885
892
|
steps_hash: string;
|
|
886
893
|
steps: Array<{
|
|
@@ -901,6 +908,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
901
908
|
con: string;
|
|
902
909
|
recommended: boolean;
|
|
903
910
|
design?: undefined | (Array<{
|
|
911
|
+
id: number;
|
|
904
912
|
design_no: number;
|
|
905
913
|
title: string;
|
|
906
914
|
created_by: string;
|
|
@@ -1030,9 +1038,11 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1030
1038
|
readonly boards: readonly string[];
|
|
1031
1039
|
};
|
|
1032
1040
|
type BoardLaneWindows = Readonly<Record<IssueStatus$1, PagedWindow<IssueViewV2>>>;
|
|
1041
|
+
type LaneLeafTotals = Readonly<Record<IssueStatus$1, number | null>>;
|
|
1033
1042
|
interface BoardLaneState {
|
|
1034
1043
|
readonly scope: BoardScope;
|
|
1035
1044
|
readonly windows: BoardLaneWindows;
|
|
1045
|
+
readonly leafTotals: LaneLeafTotals;
|
|
1036
1046
|
readonly visibility: LaneVisibility;
|
|
1037
1047
|
readonly sorts: LaneSorts;
|
|
1038
1048
|
readonly setSort: LaneSortState["setSort"];
|
|
@@ -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.
|
|
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",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"test": "vitest run"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@danxbot/ui": "27.
|
|
49
|
+
"@danxbot/ui": "27.40.0",
|
|
50
50
|
"@types/node": "^22.0.0",
|
|
51
51
|
"@types/react": "^19.2.2",
|
|
52
52
|
"esbuild": "^0.25.0",
|