@omnicoreos/planka-mcp 0.2.0 → 0.3.0
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/.agents/plugins/marketplace.json +20 -0
- package/.claude-plugin/marketplace.json +26 -0
- package/.claude-plugin/plugin.json +45 -0
- package/.codex-plugin/mcp.json +16 -0
- package/.codex-plugin/plugin.json +27 -0
- package/.mcp.json +17 -0
- package/CHANGELOG.md +510 -0
- package/README.es.md +294 -55
- package/README.md +293 -55
- package/dist/cli/init.d.ts +101 -0
- package/dist/cli/init.d.ts.map +1 -0
- package/dist/cli/init.js +481 -0
- package/dist/cli/init.js.map +1 -0
- package/dist/client.d.ts +32 -4
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +106 -32
- package/dist/client.js.map +1 -1
- package/dist/config/policy.d.ts +82 -0
- package/dist/config/policy.d.ts.map +1 -0
- package/dist/config/policy.js +226 -0
- package/dist/config/policy.js.map +1 -0
- package/dist/errors.d.ts +5 -1
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +62 -5
- package/dist/errors.js.map +1 -1
- package/dist/identity.generated.d.ts +2 -1
- package/dist/identity.generated.d.ts.map +1 -1
- package/dist/identity.generated.js +2 -1
- package/dist/identity.generated.js.map +1 -1
- package/dist/index.js +85 -10
- package/dist/index.js.map +1 -1
- package/dist/instructions.d.ts +21 -0
- package/dist/instructions.d.ts.map +1 -0
- package/dist/instructions.js +37 -0
- package/dist/instructions.js.map +1 -0
- package/dist/operations/actions.d.ts +654 -0
- package/dist/operations/actions.d.ts.map +1 -0
- package/dist/operations/actions.js +154 -0
- package/dist/operations/actions.js.map +1 -0
- package/dist/operations/archive.d.ts +28 -0
- package/dist/operations/archive.d.ts.map +1 -0
- package/dist/operations/archive.js +74 -0
- package/dist/operations/archive.js.map +1 -0
- package/dist/operations/attachments.d.ts +1 -1
- package/dist/operations/attachments.d.ts.map +1 -1
- package/dist/operations/attachments.js +3 -1
- package/dist/operations/attachments.js.map +1 -1
- package/dist/operations/board-id.d.ts +1 -1
- package/dist/operations/board-id.d.ts.map +1 -1
- package/dist/operations/board-id.js +13 -7
- package/dist/operations/board-id.js.map +1 -1
- package/dist/operations/boards.d.ts +96 -19
- package/dist/operations/boards.d.ts.map +1 -1
- package/dist/operations/boards.js +377 -93
- package/dist/operations/boards.js.map +1 -1
- package/dist/operations/card-brief.d.ts +91 -0
- package/dist/operations/card-brief.d.ts.map +1 -0
- package/dist/operations/card-brief.js +79 -0
- package/dist/operations/card-brief.js.map +1 -0
- package/dist/operations/cards.d.ts +34 -9
- package/dist/operations/cards.d.ts.map +1 -1
- package/dist/operations/cards.js +60 -14
- package/dist/operations/cards.js.map +1 -1
- package/dist/operations/comments.d.ts +61 -4
- package/dist/operations/comments.d.ts.map +1 -1
- package/dist/operations/comments.js +91 -8
- package/dist/operations/comments.js.map +1 -1
- package/dist/operations/duplicate.d.ts +16 -0
- package/dist/operations/duplicate.d.ts.map +1 -0
- package/dist/operations/duplicate.js +43 -0
- package/dist/operations/duplicate.js.map +1 -0
- package/dist/operations/labels.d.ts +1 -1
- package/dist/operations/labels.d.ts.map +1 -1
- package/dist/operations/labels.js +7 -4
- package/dist/operations/labels.js.map +1 -1
- package/dist/operations/lists.d.ts +63 -1
- package/dist/operations/lists.d.ts.map +1 -1
- package/dist/operations/lists.js +97 -2
- package/dist/operations/lists.js.map +1 -1
- package/dist/operations/members.d.ts +39 -0
- package/dist/operations/members.d.ts.map +1 -0
- package/dist/operations/members.js +107 -0
- package/dist/operations/members.js.map +1 -0
- package/dist/operations/projects.d.ts +16 -0
- package/dist/operations/projects.d.ts.map +1 -1
- package/dist/operations/projects.js +54 -9
- package/dist/operations/projects.js.map +1 -1
- package/dist/operations/tasks.d.ts +1 -1
- package/dist/operations/tasks.d.ts.map +1 -1
- package/dist/operations/tasks.js +5 -3
- package/dist/operations/tasks.js.map +1 -1
- package/dist/operations/users.d.ts +123 -0
- package/dist/operations/users.d.ts.map +1 -0
- package/dist/operations/users.js +180 -0
- package/dist/operations/users.js.map +1 -0
- package/dist/operations/verify.d.ts +84 -0
- package/dist/operations/verify.d.ts.map +1 -0
- package/dist/operations/verify.js +124 -0
- package/dist/operations/verify.js.map +1 -0
- package/dist/prompts.d.ts +48 -0
- package/dist/prompts.d.ts.map +1 -0
- package/dist/prompts.js +155 -0
- package/dist/prompts.js.map +1 -0
- package/dist/resources.d.ts +38 -0
- package/dist/resources.d.ts.map +1 -0
- package/dist/resources.js +127 -0
- package/dist/resources.js.map +1 -0
- package/dist/schemas/entities.d.ts +115 -24
- package/dist/schemas/entities.d.ts.map +1 -1
- package/dist/schemas/entities.js +48 -0
- package/dist/schemas/entities.js.map +1 -1
- package/dist/schemas/requests.d.ts +121 -46
- package/dist/schemas/requests.d.ts.map +1 -1
- package/dist/schemas/requests.js +57 -12
- package/dist/schemas/requests.js.map +1 -1
- package/dist/schemas/responses.d.ts +541 -186
- package/dist/schemas/responses.d.ts.map +1 -1
- package/dist/schemas/responses.js +13 -2
- package/dist/schemas/responses.js.map +1 -1
- package/dist/tools/activity.d.ts +150 -0
- package/dist/tools/activity.d.ts.map +1 -0
- package/dist/tools/activity.js +198 -0
- package/dist/tools/activity.js.map +1 -0
- package/dist/tools/annotations.d.ts +52 -0
- package/dist/tools/annotations.d.ts.map +1 -0
- package/dist/tools/annotations.js +214 -0
- package/dist/tools/annotations.js.map +1 -0
- package/dist/tools/attachments.d.ts +28 -4
- package/dist/tools/attachments.d.ts.map +1 -1
- package/dist/tools/attachments.js +53 -34
- package/dist/tools/attachments.js.map +1 -1
- package/dist/tools/card-ops.d.ts +232 -0
- package/dist/tools/card-ops.d.ts.map +1 -0
- package/dist/tools/card-ops.js +333 -0
- package/dist/tools/card-ops.js.map +1 -0
- package/dist/tools/cards.d.ts +90 -8
- package/dist/tools/cards.d.ts.map +1 -1
- package/dist/tools/cards.js +411 -128
- package/dist/tools/cards.js.map +1 -1
- package/dist/tools/comments.d.ts +226 -22
- package/dist/tools/comments.d.ts.map +1 -1
- package/dist/tools/comments.js +163 -134
- package/dist/tools/comments.js.map +1 -1
- package/dist/tools/dispatch.d.ts +47 -0
- package/dist/tools/dispatch.d.ts.map +1 -0
- package/dist/tools/dispatch.js +63 -0
- package/dist/tools/dispatch.js.map +1 -0
- package/dist/tools/guard.d.ts +9 -0
- package/dist/tools/guard.d.ts.map +1 -0
- package/dist/tools/guard.js +20 -0
- package/dist/tools/guard.js.map +1 -0
- package/dist/tools/index.d.ts +748 -450
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +136 -17
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/labels.d.ts +213 -18
- package/dist/tools/labels.d.ts.map +1 -1
- package/dist/tools/labels.js +218 -203
- package/dist/tools/labels.js.map +1 -1
- package/dist/tools/lists.d.ts +222 -15
- package/dist/tools/lists.d.ts.map +1 -1
- package/dist/tools/lists.js +175 -156
- package/dist/tools/lists.js.map +1 -1
- package/dist/tools/members.d.ts +128 -0
- package/dist/tools/members.d.ts.map +1 -0
- package/dist/tools/members.js +150 -0
- package/dist/tools/members.js.map +1 -0
- package/dist/tools/navigation.d.ts +22 -2
- package/dist/tools/navigation.d.ts.map +1 -1
- package/dist/tools/navigation.js +60 -15
- package/dist/tools/navigation.js.map +1 -1
- package/dist/tools/queries.d.ts +196 -166
- package/dist/tools/queries.d.ts.map +1 -1
- package/dist/tools/queries.js +125 -155
- package/dist/tools/queries.js.map +1 -1
- package/dist/tools/tasks.d.ts +26 -6
- package/dist/tools/tasks.d.ts.map +1 -1
- package/dist/tools/tasks.js +110 -55
- package/dist/tools/tasks.js.map +1 -1
- package/dist/tools/users.d.ts +130 -0
- package/dist/tools/users.d.ts.map +1 -0
- package/dist/tools/users.js +165 -0
- package/dist/tools/users.js.map +1 -0
- package/docs/planka-2x-gotchas.md +121 -5
- package/docs/tools.md +771 -187
- package/docs/troubleshooting.md +137 -5
- package/hooks/hooks.json +15 -0
- package/hooks/preflight.mjs +100 -0
- package/package.json +6 -1
- package/scripts/setup.sh +8 -26
- package/scripts/sync-identity.mjs +55 -1
- package/server.json +87 -6
- package/tests/smoke/planka-smoke.mjs +512 -72
- package/workflow/skills/planka-close-card/SKILL.md +18 -5
- package/workflow/skills/planka-orchestrator/SKILL.md +36 -7
package/dist/tools/queries.d.ts
CHANGED
|
@@ -1,47 +1,95 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Arguments shared by planka_find_cards and its planka_list_cards alias.
|
|
3
|
+
*
|
|
4
|
+
* `labelFilter` and `withDescription` are still accepted — a caller written
|
|
5
|
+
* against the old names keeps working — but they are no longer announced in
|
|
6
|
+
* `inputSchema`: both are aliases of a parameter that is (`labelName`,
|
|
7
|
+
* `descriptionChars`), and every announced property is paid for once per
|
|
8
|
+
* session by every client.
|
|
3
9
|
*/
|
|
4
|
-
export
|
|
10
|
+
export interface FindCardsParams {
|
|
11
|
+
boardId?: string;
|
|
12
|
+
listId?: string;
|
|
13
|
+
listName?: string;
|
|
14
|
+
query?: string;
|
|
15
|
+
labelName?: string;
|
|
16
|
+
labelFilter?: string;
|
|
17
|
+
labelIds?: string[];
|
|
18
|
+
userIds?: string[];
|
|
19
|
+
withLabels?: boolean;
|
|
20
|
+
detail?: "digest" | "full";
|
|
21
|
+
withDescription?: boolean;
|
|
22
|
+
descriptionChars?: number;
|
|
23
|
+
limit?: number;
|
|
24
|
+
offset?: number;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Tool: planka_find_cards — the one read over a board's cards.
|
|
28
|
+
*/
|
|
29
|
+
export declare const findCardsTool: {
|
|
5
30
|
name: string;
|
|
6
31
|
description: string;
|
|
7
32
|
inputSchema: {
|
|
8
33
|
type: "object";
|
|
9
34
|
properties: {
|
|
10
|
-
|
|
11
|
-
type: string;
|
|
12
|
-
description:
|
|
35
|
+
readonly boardId: {
|
|
36
|
+
readonly type: "string";
|
|
37
|
+
readonly description: "Board ID. Optional with PLANKA_DEFAULT_BOARD_ID; ignored when listId is given.";
|
|
38
|
+
};
|
|
39
|
+
readonly listId: {
|
|
40
|
+
readonly type: "string";
|
|
41
|
+
readonly description: "Read exactly this column. THE CHEAP PATH: one request, no pagination, so total is the real size of the column and truncated is false by construction.";
|
|
42
|
+
};
|
|
43
|
+
readonly listName: {
|
|
44
|
+
readonly type: "string";
|
|
45
|
+
readonly description: "Column name fragment (case- and accent-insensitive) instead of an ID. Costs a board read; listId is cheaper.";
|
|
46
|
+
};
|
|
47
|
+
readonly query: {
|
|
48
|
+
readonly type: "string";
|
|
49
|
+
readonly description: "Free text matched against card name AND description. Several words are ANDed — all must appear — ignoring case and accents. A leading '/' makes the rest a case-insensitive regular expression.";
|
|
50
|
+
};
|
|
51
|
+
readonly labelName: {
|
|
52
|
+
readonly type: "string";
|
|
53
|
+
readonly description: "Only cards carrying this label name (exact name, case- and accent-insensitive). If the board has no such label, the response says so and lists the ones it does have.";
|
|
54
|
+
};
|
|
55
|
+
readonly labelIds: {
|
|
56
|
+
readonly type: "array";
|
|
57
|
+
readonly items: {
|
|
58
|
+
readonly type: "string";
|
|
59
|
+
};
|
|
60
|
+
readonly description: "Only cards carrying at least one of these label IDs (OR).";
|
|
13
61
|
};
|
|
14
|
-
|
|
15
|
-
type:
|
|
16
|
-
|
|
62
|
+
readonly userIds: {
|
|
63
|
+
readonly type: "array";
|
|
64
|
+
readonly items: {
|
|
65
|
+
readonly type: "string";
|
|
66
|
+
};
|
|
67
|
+
readonly description: "Only cards where one of these users is a member or a task assignee (OR).";
|
|
17
68
|
};
|
|
18
|
-
|
|
19
|
-
type:
|
|
20
|
-
description:
|
|
69
|
+
readonly withLabels: {
|
|
70
|
+
readonly type: "boolean";
|
|
71
|
+
readonly description: "Resolve label names. Default true; false skips one board read on the listId path.";
|
|
21
72
|
};
|
|
22
|
-
|
|
23
|
-
type: string;
|
|
24
|
-
|
|
73
|
+
readonly detail: {
|
|
74
|
+
readonly type: "string";
|
|
75
|
+
readonly enum: readonly ["digest", "full"];
|
|
76
|
+
readonly description: "digest (default): id, name, labels, members, tasks, dueDate, commentsTotal, updatedAt. full: every field of the card, description included.";
|
|
25
77
|
};
|
|
26
|
-
|
|
27
|
-
type:
|
|
28
|
-
description:
|
|
78
|
+
readonly descriptionChars: {
|
|
79
|
+
readonly type: "number";
|
|
80
|
+
readonly description: "Per-match description preview, in characters. 0 (the default) leaves descriptions out.";
|
|
29
81
|
};
|
|
30
|
-
|
|
31
|
-
type:
|
|
32
|
-
description:
|
|
82
|
+
readonly limit: {
|
|
83
|
+
readonly type: "number";
|
|
84
|
+
readonly description: "Max matches to return. Default 25, max 200.";
|
|
85
|
+
};
|
|
86
|
+
readonly offset: {
|
|
87
|
+
readonly type: "number";
|
|
88
|
+
readonly description: "Skip this many matches. Use nextOffset from the previous response.";
|
|
33
89
|
};
|
|
34
90
|
};
|
|
35
|
-
required: string[];
|
|
36
91
|
};
|
|
37
|
-
handler: (params: {
|
|
38
|
-
listId: string;
|
|
39
|
-
withLabels?: boolean;
|
|
40
|
-
withDescription?: boolean;
|
|
41
|
-
labelFilter?: string;
|
|
42
|
-
limit?: number;
|
|
43
|
-
offset?: number;
|
|
44
|
-
}) => Promise<{
|
|
92
|
+
handler: (params: FindCardsParams) => Promise<{
|
|
45
93
|
content: {
|
|
46
94
|
type: "text";
|
|
47
95
|
text: string;
|
|
@@ -55,24 +103,73 @@ export declare const listCardsTool: {
|
|
|
55
103
|
}>;
|
|
56
104
|
};
|
|
57
105
|
/**
|
|
58
|
-
* Tool:
|
|
106
|
+
* Tool: planka_list_cards — alias of planka_find_cards with listId.
|
|
59
107
|
*/
|
|
60
|
-
export declare const
|
|
108
|
+
export declare const listCardsTool: {
|
|
61
109
|
name: string;
|
|
62
110
|
description: string;
|
|
63
111
|
inputSchema: {
|
|
64
112
|
type: "object";
|
|
65
113
|
properties: {
|
|
66
|
-
boardId: {
|
|
67
|
-
type: string;
|
|
68
|
-
description:
|
|
114
|
+
readonly boardId: {
|
|
115
|
+
readonly type: "string";
|
|
116
|
+
readonly description: "Board ID. Optional with PLANKA_DEFAULT_BOARD_ID; ignored when listId is given.";
|
|
117
|
+
};
|
|
118
|
+
readonly listId: {
|
|
119
|
+
readonly type: "string";
|
|
120
|
+
readonly description: "Read exactly this column. THE CHEAP PATH: one request, no pagination, so total is the real size of the column and truncated is false by construction.";
|
|
121
|
+
};
|
|
122
|
+
readonly listName: {
|
|
123
|
+
readonly type: "string";
|
|
124
|
+
readonly description: "Column name fragment (case- and accent-insensitive) instead of an ID. Costs a board read; listId is cheaper.";
|
|
125
|
+
};
|
|
126
|
+
readonly query: {
|
|
127
|
+
readonly type: "string";
|
|
128
|
+
readonly description: "Free text matched against card name AND description. Several words are ANDed — all must appear — ignoring case and accents. A leading '/' makes the rest a case-insensitive regular expression.";
|
|
129
|
+
};
|
|
130
|
+
readonly labelName: {
|
|
131
|
+
readonly type: "string";
|
|
132
|
+
readonly description: "Only cards carrying this label name (exact name, case- and accent-insensitive). If the board has no such label, the response says so and lists the ones it does have.";
|
|
133
|
+
};
|
|
134
|
+
readonly labelIds: {
|
|
135
|
+
readonly type: "array";
|
|
136
|
+
readonly items: {
|
|
137
|
+
readonly type: "string";
|
|
138
|
+
};
|
|
139
|
+
readonly description: "Only cards carrying at least one of these label IDs (OR).";
|
|
140
|
+
};
|
|
141
|
+
readonly userIds: {
|
|
142
|
+
readonly type: "array";
|
|
143
|
+
readonly items: {
|
|
144
|
+
readonly type: "string";
|
|
145
|
+
};
|
|
146
|
+
readonly description: "Only cards where one of these users is a member or a task assignee (OR).";
|
|
147
|
+
};
|
|
148
|
+
readonly withLabels: {
|
|
149
|
+
readonly type: "boolean";
|
|
150
|
+
readonly description: "Resolve label names. Default true; false skips one board read on the listId path.";
|
|
151
|
+
};
|
|
152
|
+
readonly detail: {
|
|
153
|
+
readonly type: "string";
|
|
154
|
+
readonly enum: readonly ["digest", "full"];
|
|
155
|
+
readonly description: "digest (default): id, name, labels, members, tasks, dueDate, commentsTotal, updatedAt. full: every field of the card, description included.";
|
|
156
|
+
};
|
|
157
|
+
readonly descriptionChars: {
|
|
158
|
+
readonly type: "number";
|
|
159
|
+
readonly description: "Per-match description preview, in characters. 0 (the default) leaves descriptions out.";
|
|
160
|
+
};
|
|
161
|
+
readonly limit: {
|
|
162
|
+
readonly type: "number";
|
|
163
|
+
readonly description: "Max matches to return. Default 25, max 200.";
|
|
164
|
+
};
|
|
165
|
+
readonly offset: {
|
|
166
|
+
readonly type: "number";
|
|
167
|
+
readonly description: "Skip this many matches. Use nextOffset from the previous response.";
|
|
69
168
|
};
|
|
70
169
|
};
|
|
71
170
|
required: string[];
|
|
72
171
|
};
|
|
73
|
-
handler: (params: {
|
|
74
|
-
boardId: string;
|
|
75
|
-
}) => Promise<{
|
|
172
|
+
handler: (params: FindCardsParams) => Promise<{
|
|
76
173
|
content: {
|
|
77
174
|
type: "text";
|
|
78
175
|
text: string;
|
|
@@ -85,6 +182,13 @@ export declare const listListsTool: {
|
|
|
85
182
|
isError: boolean;
|
|
86
183
|
}>;
|
|
87
184
|
};
|
|
185
|
+
/** Arguments shared by planka_board_summary and its planka_list_lists alias. */
|
|
186
|
+
export interface BoardSummaryParams {
|
|
187
|
+
boardId?: string;
|
|
188
|
+
cardsFrom?: string[];
|
|
189
|
+
highlightLabel?: string;
|
|
190
|
+
limit?: number;
|
|
191
|
+
}
|
|
88
192
|
/**
|
|
89
193
|
* Tool: planka_board_summary
|
|
90
194
|
*/
|
|
@@ -116,12 +220,7 @@ export declare const boardSummaryTool: {
|
|
|
116
220
|
};
|
|
117
221
|
required: string[];
|
|
118
222
|
};
|
|
119
|
-
handler: (params: {
|
|
120
|
-
boardId: string;
|
|
121
|
-
cardsFrom?: string[];
|
|
122
|
-
highlightLabel?: string;
|
|
123
|
-
limit?: number;
|
|
124
|
-
}) => Promise<{
|
|
223
|
+
handler: (params: BoardSummaryParams) => Promise<{
|
|
125
224
|
content: {
|
|
126
225
|
type: "text";
|
|
127
226
|
text: string;
|
|
@@ -135,9 +234,9 @@ export declare const boardSummaryTool: {
|
|
|
135
234
|
}>;
|
|
136
235
|
};
|
|
137
236
|
/**
|
|
138
|
-
* Tool:
|
|
237
|
+
* Tool: planka_list_lists — alias of planka_board_summary with cardsFrom: [].
|
|
139
238
|
*/
|
|
140
|
-
export declare const
|
|
239
|
+
export declare const listListsTool: {
|
|
141
240
|
name: string;
|
|
142
241
|
description: string;
|
|
143
242
|
inputSchema: {
|
|
@@ -147,41 +246,11 @@ export declare const findCardsTool: {
|
|
|
147
246
|
type: string;
|
|
148
247
|
description: string;
|
|
149
248
|
};
|
|
150
|
-
labelName: {
|
|
151
|
-
type: string;
|
|
152
|
-
description: string;
|
|
153
|
-
};
|
|
154
|
-
query: {
|
|
155
|
-
type: string;
|
|
156
|
-
description: string;
|
|
157
|
-
};
|
|
158
|
-
listId: {
|
|
159
|
-
type: string;
|
|
160
|
-
description: string;
|
|
161
|
-
};
|
|
162
|
-
withDescription: {
|
|
163
|
-
type: string;
|
|
164
|
-
description: string;
|
|
165
|
-
};
|
|
166
|
-
limit: {
|
|
167
|
-
type: string;
|
|
168
|
-
description: string;
|
|
169
|
-
};
|
|
170
|
-
offset: {
|
|
171
|
-
type: string;
|
|
172
|
-
description: string;
|
|
173
|
-
};
|
|
174
249
|
};
|
|
175
250
|
required: string[];
|
|
176
251
|
};
|
|
177
252
|
handler: (params: {
|
|
178
|
-
boardId
|
|
179
|
-
labelName?: string;
|
|
180
|
-
query?: string;
|
|
181
|
-
listId?: string;
|
|
182
|
-
withDescription?: boolean;
|
|
183
|
-
limit?: number;
|
|
184
|
-
offset?: number;
|
|
253
|
+
boardId?: string;
|
|
185
254
|
}) => Promise<{
|
|
186
255
|
content: {
|
|
187
256
|
type: "text";
|
|
@@ -201,68 +270,64 @@ export declare const queryTools: ({
|
|
|
201
270
|
inputSchema: {
|
|
202
271
|
type: "object";
|
|
203
272
|
properties: {
|
|
204
|
-
|
|
205
|
-
type: string;
|
|
206
|
-
description:
|
|
273
|
+
readonly boardId: {
|
|
274
|
+
readonly type: "string";
|
|
275
|
+
readonly description: "Board ID. Optional with PLANKA_DEFAULT_BOARD_ID; ignored when listId is given.";
|
|
276
|
+
};
|
|
277
|
+
readonly listId: {
|
|
278
|
+
readonly type: "string";
|
|
279
|
+
readonly description: "Read exactly this column. THE CHEAP PATH: one request, no pagination, so total is the real size of the column and truncated is false by construction.";
|
|
280
|
+
};
|
|
281
|
+
readonly listName: {
|
|
282
|
+
readonly type: "string";
|
|
283
|
+
readonly description: "Column name fragment (case- and accent-insensitive) instead of an ID. Costs a board read; listId is cheaper.";
|
|
284
|
+
};
|
|
285
|
+
readonly query: {
|
|
286
|
+
readonly type: "string";
|
|
287
|
+
readonly description: "Free text matched against card name AND description. Several words are ANDed — all must appear — ignoring case and accents. A leading '/' makes the rest a case-insensitive regular expression.";
|
|
288
|
+
};
|
|
289
|
+
readonly labelName: {
|
|
290
|
+
readonly type: "string";
|
|
291
|
+
readonly description: "Only cards carrying this label name (exact name, case- and accent-insensitive). If the board has no such label, the response says so and lists the ones it does have.";
|
|
292
|
+
};
|
|
293
|
+
readonly labelIds: {
|
|
294
|
+
readonly type: "array";
|
|
295
|
+
readonly items: {
|
|
296
|
+
readonly type: "string";
|
|
297
|
+
};
|
|
298
|
+
readonly description: "Only cards carrying at least one of these label IDs (OR).";
|
|
207
299
|
};
|
|
208
|
-
|
|
209
|
-
type:
|
|
210
|
-
|
|
300
|
+
readonly userIds: {
|
|
301
|
+
readonly type: "array";
|
|
302
|
+
readonly items: {
|
|
303
|
+
readonly type: "string";
|
|
304
|
+
};
|
|
305
|
+
readonly description: "Only cards where one of these users is a member or a task assignee (OR).";
|
|
211
306
|
};
|
|
212
|
-
|
|
213
|
-
type:
|
|
214
|
-
description:
|
|
307
|
+
readonly withLabels: {
|
|
308
|
+
readonly type: "boolean";
|
|
309
|
+
readonly description: "Resolve label names. Default true; false skips one board read on the listId path.";
|
|
215
310
|
};
|
|
216
|
-
|
|
217
|
-
type: string;
|
|
218
|
-
|
|
311
|
+
readonly detail: {
|
|
312
|
+
readonly type: "string";
|
|
313
|
+
readonly enum: readonly ["digest", "full"];
|
|
314
|
+
readonly description: "digest (default): id, name, labels, members, tasks, dueDate, commentsTotal, updatedAt. full: every field of the card, description included.";
|
|
219
315
|
};
|
|
220
|
-
|
|
221
|
-
type:
|
|
222
|
-
description:
|
|
316
|
+
readonly descriptionChars: {
|
|
317
|
+
readonly type: "number";
|
|
318
|
+
readonly description: "Per-match description preview, in characters. 0 (the default) leaves descriptions out.";
|
|
223
319
|
};
|
|
224
|
-
|
|
225
|
-
type:
|
|
226
|
-
description:
|
|
320
|
+
readonly limit: {
|
|
321
|
+
readonly type: "number";
|
|
322
|
+
readonly description: "Max matches to return. Default 25, max 200.";
|
|
227
323
|
};
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
handler: (params: {
|
|
232
|
-
listId: string;
|
|
233
|
-
withLabels?: boolean;
|
|
234
|
-
withDescription?: boolean;
|
|
235
|
-
labelFilter?: string;
|
|
236
|
-
limit?: number;
|
|
237
|
-
offset?: number;
|
|
238
|
-
}) => Promise<{
|
|
239
|
-
content: {
|
|
240
|
-
type: "text";
|
|
241
|
-
text: string;
|
|
242
|
-
}[];
|
|
243
|
-
} | {
|
|
244
|
-
content: {
|
|
245
|
-
type: "text";
|
|
246
|
-
text: string;
|
|
247
|
-
}[];
|
|
248
|
-
isError: boolean;
|
|
249
|
-
}>;
|
|
250
|
-
} | {
|
|
251
|
-
name: string;
|
|
252
|
-
description: string;
|
|
253
|
-
inputSchema: {
|
|
254
|
-
type: "object";
|
|
255
|
-
properties: {
|
|
256
|
-
boardId: {
|
|
257
|
-
type: string;
|
|
258
|
-
description: string;
|
|
324
|
+
readonly offset: {
|
|
325
|
+
readonly type: "number";
|
|
326
|
+
readonly description: "Skip this many matches. Use nextOffset from the previous response.";
|
|
259
327
|
};
|
|
260
328
|
};
|
|
261
|
-
required: string[];
|
|
262
329
|
};
|
|
263
|
-
handler: (params: {
|
|
264
|
-
boardId: string;
|
|
265
|
-
}) => Promise<{
|
|
330
|
+
handler: (params: FindCardsParams) => Promise<{
|
|
266
331
|
content: {
|
|
267
332
|
type: "text";
|
|
268
333
|
text: string;
|
|
@@ -302,12 +367,7 @@ export declare const queryTools: ({
|
|
|
302
367
|
};
|
|
303
368
|
required: string[];
|
|
304
369
|
};
|
|
305
|
-
handler: (params: {
|
|
306
|
-
boardId: string;
|
|
307
|
-
cardsFrom?: string[];
|
|
308
|
-
highlightLabel?: string;
|
|
309
|
-
limit?: number;
|
|
310
|
-
}) => Promise<{
|
|
370
|
+
handler: (params: BoardSummaryParams) => Promise<{
|
|
311
371
|
content: {
|
|
312
372
|
type: "text";
|
|
313
373
|
text: string;
|
|
@@ -329,41 +389,11 @@ export declare const queryTools: ({
|
|
|
329
389
|
type: string;
|
|
330
390
|
description: string;
|
|
331
391
|
};
|
|
332
|
-
labelName: {
|
|
333
|
-
type: string;
|
|
334
|
-
description: string;
|
|
335
|
-
};
|
|
336
|
-
query: {
|
|
337
|
-
type: string;
|
|
338
|
-
description: string;
|
|
339
|
-
};
|
|
340
|
-
listId: {
|
|
341
|
-
type: string;
|
|
342
|
-
description: string;
|
|
343
|
-
};
|
|
344
|
-
withDescription: {
|
|
345
|
-
type: string;
|
|
346
|
-
description: string;
|
|
347
|
-
};
|
|
348
|
-
limit: {
|
|
349
|
-
type: string;
|
|
350
|
-
description: string;
|
|
351
|
-
};
|
|
352
|
-
offset: {
|
|
353
|
-
type: string;
|
|
354
|
-
description: string;
|
|
355
|
-
};
|
|
356
392
|
};
|
|
357
393
|
required: string[];
|
|
358
394
|
};
|
|
359
395
|
handler: (params: {
|
|
360
|
-
boardId
|
|
361
|
-
labelName?: string;
|
|
362
|
-
query?: string;
|
|
363
|
-
listId?: string;
|
|
364
|
-
withDescription?: boolean;
|
|
365
|
-
limit?: number;
|
|
366
|
-
offset?: number;
|
|
396
|
+
boardId?: string;
|
|
367
397
|
}) => Promise<{
|
|
368
398
|
content: {
|
|
369
399
|
type: "text";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../src/tools/queries.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../src/tools/queries.ts"],"names":[],"mappings":"AA2CA;;;;;;;;GAQG;AACH,MAAM,WAAW,eAAe;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC;IAC3B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAkED;;GAEG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUzB,CAAC;AAEF,gFAAgF;AAChF,MAAM,WAAW,kBAAkB;IACjC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AA6BD;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoC5B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;kBAe6B,MAAM;;;;;;;;;;;;;CAG5D,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBALgC,MAAM;;;;;;;;;;;;;IAU5D,CAAC"}
|