@cplace/mcp-server 2.2.1 → 2.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/README.md +18 -0
- package/dist/api.d.ts +2 -0
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +11 -0
- package/dist/api.js.map +1 -1
- package/dist/backend-capabilities.d.ts +1 -1
- package/dist/backend-capabilities.d.ts.map +1 -1
- package/dist/backend-capabilities.js.map +1 -1
- package/dist/capability-gating.d.ts +4 -4
- package/dist/capability-gating.d.ts.map +1 -1
- package/dist/capability-gating.js +21 -19
- package/dist/capability-gating.js.map +1 -1
- package/dist/index.js +31 -4
- package/dist/index.js.map +1 -1
- package/dist/page-writes.d.ts +8 -0
- package/dist/page-writes.d.ts.map +1 -0
- package/dist/page-writes.js +30 -0
- package/dist/page-writes.js.map +1 -0
- package/dist/searchSchema.d.ts +244 -3152
- package/dist/searchSchema.d.ts.map +1 -1
- package/dist/strict-schemas.d.ts +3 -2
- package/dist/strict-schemas.d.ts.map +1 -1
- package/dist/strict-schemas.js +72 -70
- package/dist/strict-schemas.js.map +1 -1
- package/dist/tools/board-widget.d.ts +45 -387
- package/dist/tools/board-widget.d.ts.map +1 -1
- package/dist/tools/board-widget.js +1 -1
- package/dist/tools/board-widget.js.map +1 -1
- package/dist/tools/change-listeners.d.ts +10 -3
- package/dist/tools/change-listeners.d.ts.map +1 -1
- package/dist/tools/change-listeners.js +1 -1
- package/dist/tools/change-listeners.js.map +1 -1
- package/dist/tools/common-schemas.d.ts +4 -4
- package/dist/tools/common-schemas.d.ts.map +1 -1
- package/dist/tools/csv-export.d.ts +247 -3623
- package/dist/tools/csv-export.d.ts.map +1 -1
- package/dist/tools/embedded-widget-layout.d.ts +9 -57
- package/dist/tools/embedded-widget-layout.d.ts.map +1 -1
- package/dist/tools/embedded-widget-layout.js +1 -1
- package/dist/tools/embedded-widget-layout.js.map +1 -1
- package/dist/tools/enum-providers.d.ts +4 -1
- package/dist/tools/enum-providers.d.ts.map +1 -1
- package/dist/tools/expert-settings.d.ts +6 -1
- package/dist/tools/expert-settings.d.ts.map +1 -1
- package/dist/tools/get-operations.d.ts +2 -2
- package/dist/tools/job-scripts.d.ts +5 -2
- package/dist/tools/job-scripts.d.ts.map +1 -1
- package/dist/tools/job-scripts.js +1 -1
- package/dist/tools/job-scripts.js.map +1 -1
- package/dist/tools/jobs.d.ts +10 -3
- package/dist/tools/jobs.d.ts.map +1 -1
- package/dist/tools/layout-richstring-widgets.d.ts +9 -81
- package/dist/tools/layout-richstring-widgets.d.ts.map +1 -1
- package/dist/tools/layout.d.ts +19 -163
- package/dist/tools/layout.d.ts.map +1 -1
- package/dist/tools/page-actions.d.ts +4 -1
- package/dist/tools/page-actions.d.ts.map +1 -1
- package/dist/tools/page-actions.js +2 -2
- package/dist/tools/page-actions.js.map +1 -1
- package/dist/tools/pages.d.ts +11 -5
- package/dist/tools/pages.d.ts.map +1 -1
- package/dist/tools/pages.js +2 -1
- package/dist/tools/pages.js.map +1 -1
- package/dist/tools/ppt-export-schemas.d.ts +343 -1647
- package/dist/tools/ppt-export-schemas.d.ts.map +1 -1
- package/dist/tools/ppt-export-schemas.js +1 -1
- package/dist/tools/ppt-export-schemas.js.map +1 -1
- package/dist/tools/ppt-export.d.ts +242 -1264
- package/dist/tools/ppt-export.d.ts.map +1 -1
- package/dist/tools/references.d.ts +3 -19
- package/dist/tools/references.d.ts.map +1 -1
- package/dist/tools/resource-planner-widget.d.ts +33 -192
- package/dist/tools/resource-planner-widget.d.ts.map +1 -1
- package/dist/tools/resource-planner-widget.js +1 -1
- package/dist/tools/resource-planner-widget.js.map +1 -1
- package/dist/tools/richstring-widgets.js +2 -2
- package/dist/tools/richstring-widgets.js.map +1 -1
- package/dist/tools/schedule.d.ts +5 -1
- package/dist/tools/schedule.d.ts.map +1 -1
- package/dist/tools/script-logs.d.ts +16 -3
- package/dist/tools/script-logs.d.ts.map +1 -1
- package/dist/tools/search.d.ts +259 -3629
- package/dist/tools/search.d.ts.map +1 -1
- package/dist/tools/solution-packages.d.ts +12 -20
- package/dist/tools/solution-packages.d.ts.map +1 -1
- package/dist/tools/type-layouts.js +1 -1
- package/dist/tools/type-layouts.js.map +1 -1
- package/dist/tools/type-management.d.ts +74 -96
- package/dist/tools/type-management.d.ts.map +1 -1
- package/dist/tools/type-management.js +9 -9
- package/dist/tools/type-management.js.map +1 -1
- package/dist/tools/type-messages.d.ts +4 -1
- package/dist/tools/type-messages.d.ts.map +1 -1
- package/dist/tools/type-messages.js +1 -1
- package/dist/tools/type-messages.js.map +1 -1
- package/dist/tools/validators.d.ts +4 -1
- package/dist/tools/validators.d.ts.map +1 -1
- package/dist/tools/version-history.d.ts +4 -4
- package/dist/tools/widget-simulation.d.ts +6 -1
- package/dist/tools/widget-simulation.d.ts.map +1 -1
- package/dist/tools/widgets.d.ts +9 -5
- package/dist/tools/widgets.d.ts.map +1 -1
- package/dist/tools/wizards.d.ts +26 -23
- package/dist/tools/wizards.d.ts.map +1 -1
- package/dist/tools/wizards.js +4 -4
- package/dist/tools/wizards.js.map +1 -1
- package/dist/tools/workflow-scripts.d.ts +27 -6
- package/dist/tools/workflow-scripts.d.ts.map +1 -1
- package/dist/tools/workflow.d.ts +8 -2
- package/dist/tools/workflow.d.ts.map +1 -1
- package/dist/tools/workflow.js +2 -2
- package/dist/tools/workflow.js.map +1 -1
- package/dist/tools/workspace-admin.d.ts +14 -7
- package/dist/tools/workspace-admin.d.ts.map +1 -1
- package/dist/tools/workspace-core.d.ts +8 -4
- package/dist/tools/workspace-core.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -5,39 +5,15 @@ declare const BOARD_TOOL_DEFINITIONS: {
|
|
|
5
5
|
readonly cplace_board_get_configuration: {
|
|
6
6
|
readonly description: "Get current board widget configuration in a structured format suitable for modification.\n\nReturns the current state of:\n- cards: Card sources (searches) with display attribute mappings\n- columns: Column structure (static or dynamic mode)\n- swimlanes: Swimlane structure (if enabled)\n- visualComponents: UI settings and toggles\n\nWORKFLOW: Use this tool first, then modify the relevant section and pass to the corresponding configure tool.";
|
|
7
7
|
readonly inputSchema: {
|
|
8
|
-
readonly context: z.
|
|
8
|
+
readonly context: z.ZodPreprocess<z.ZodUnion<readonly [z.ZodObject<{
|
|
9
9
|
type: z.ZodLiteral<"page">;
|
|
10
10
|
pageUID: z.ZodString;
|
|
11
|
-
},
|
|
12
|
-
type: "page";
|
|
13
|
-
pageUID: string;
|
|
14
|
-
}, {
|
|
15
|
-
type: "page";
|
|
16
|
-
pageUID: string;
|
|
17
|
-
}>, z.ZodObject<{
|
|
11
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
18
12
|
type: z.ZodLiteral<"type">;
|
|
19
13
|
workspaceId: z.ZodString;
|
|
20
14
|
typeInternalName: z.ZodString;
|
|
21
15
|
alternativeLayoutName: z.ZodOptional<z.ZodString>;
|
|
22
|
-
},
|
|
23
|
-
type: "type";
|
|
24
|
-
workspaceId: string;
|
|
25
|
-
typeInternalName: string;
|
|
26
|
-
alternativeLayoutName?: string | undefined;
|
|
27
|
-
}, {
|
|
28
|
-
type: "type";
|
|
29
|
-
workspaceId: string;
|
|
30
|
-
typeInternalName: string;
|
|
31
|
-
alternativeLayoutName?: string | undefined;
|
|
32
|
-
}>]>, {
|
|
33
|
-
type: "page";
|
|
34
|
-
pageUID: string;
|
|
35
|
-
} | {
|
|
36
|
-
type: "type";
|
|
37
|
-
workspaceId: string;
|
|
38
|
-
typeInternalName: string;
|
|
39
|
-
alternativeLayoutName?: string | undefined;
|
|
40
|
-
}, unknown>;
|
|
16
|
+
}, z.core.$strip>]>, unknown>;
|
|
41
17
|
readonly widgetId: z.ZodString;
|
|
42
18
|
};
|
|
43
19
|
readonly annotations: {
|
|
@@ -47,39 +23,15 @@ declare const BOARD_TOOL_DEFINITIONS: {
|
|
|
47
23
|
readonly cplace_board_configure_cards: {
|
|
48
24
|
readonly description: "Configure card sources for a board widget. Declares the complete set of card sources - existing sources not in the array will be removed.\n\nIMPORTANT: Configure cards BEFORE columns/swimlanes, as they reference cards via searchId.\n\nEach card source defines:\n- searchId: Unique identifier used by columns/swimlanes to reference this source\n- search: cplaceJson from cplace_search_pages (defines which pages become cards)\n- cardDisplay: Visual card appearance (date footer, tag badges, border color, icon indicators)\n\n**WARNING**: Do not manually construct search JSON! The search parameter requires a specific format with a \"filters\" array.\n\n**Correct Usage**: Use the cplaceJson field from cplace_search_pages response\n\n**Search JSON Workflow**:\n1. Call cplace_search_pages with your desired filter (e.g., types, workspace)\n2. Take the cplaceJson field from the response\n3. Use that value for the search parameter\n\nExample of CORRECT format: {\"filters\":[{\"relativeSpace\":\"true\"},{\"types\":[\"cf.myApp.myType\"]}]}\nExample of WRONG format: {\"types\":[\"cf.myApp.myType\"]} (missing filters array - will cause \"No value for filters\" error)\n\nWORKFLOW:\n1. Get current config: cplace_board_get_configuration\n2. Modify the cards array\n3. Call this tool with the complete desired cards array";
|
|
49
25
|
readonly inputSchema: {
|
|
50
|
-
readonly context: z.
|
|
26
|
+
readonly context: z.ZodPreprocess<z.ZodUnion<readonly [z.ZodObject<{
|
|
51
27
|
type: z.ZodLiteral<"page">;
|
|
52
28
|
pageUID: z.ZodString;
|
|
53
|
-
},
|
|
54
|
-
type: "page";
|
|
55
|
-
pageUID: string;
|
|
56
|
-
}, {
|
|
57
|
-
type: "page";
|
|
58
|
-
pageUID: string;
|
|
59
|
-
}>, z.ZodObject<{
|
|
29
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
60
30
|
type: z.ZodLiteral<"type">;
|
|
61
31
|
workspaceId: z.ZodString;
|
|
62
32
|
typeInternalName: z.ZodString;
|
|
63
33
|
alternativeLayoutName: z.ZodOptional<z.ZodString>;
|
|
64
|
-
},
|
|
65
|
-
type: "type";
|
|
66
|
-
workspaceId: string;
|
|
67
|
-
typeInternalName: string;
|
|
68
|
-
alternativeLayoutName?: string | undefined;
|
|
69
|
-
}, {
|
|
70
|
-
type: "type";
|
|
71
|
-
workspaceId: string;
|
|
72
|
-
typeInternalName: string;
|
|
73
|
-
alternativeLayoutName?: string | undefined;
|
|
74
|
-
}>]>, {
|
|
75
|
-
type: "page";
|
|
76
|
-
pageUID: string;
|
|
77
|
-
} | {
|
|
78
|
-
type: "type";
|
|
79
|
-
workspaceId: string;
|
|
80
|
-
typeInternalName: string;
|
|
81
|
-
alternativeLayoutName?: string | undefined;
|
|
82
|
-
}, unknown>;
|
|
34
|
+
}, z.core.$strip>]>, unknown>;
|
|
83
35
|
readonly widgetId: z.ZodString;
|
|
84
36
|
readonly cards: z.ZodArray<z.ZodObject<{
|
|
85
37
|
searchId: z.ZodString;
|
|
@@ -87,83 +39,17 @@ declare const BOARD_TOOL_DEFINITIONS: {
|
|
|
87
39
|
typeId: z.ZodOptional<z.ZodString>;
|
|
88
40
|
cardDisplay: z.ZodOptional<z.ZodObject<{
|
|
89
41
|
dateAttribute: z.ZodOptional<z.ZodString>;
|
|
90
|
-
tagAttributes: z.ZodOptional<z.ZodArray<z.ZodString
|
|
42
|
+
tagAttributes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
91
43
|
colorAttribute: z.ZodOptional<z.ZodObject<{
|
|
92
44
|
attribute: z.ZodString;
|
|
93
45
|
colorMapping: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
94
|
-
},
|
|
95
|
-
attribute: string;
|
|
96
|
-
colorMapping: Record<string, string>;
|
|
97
|
-
}, {
|
|
98
|
-
attribute: string;
|
|
99
|
-
colorMapping: Record<string, string>;
|
|
100
|
-
}>>;
|
|
46
|
+
}, z.core.$strip>>;
|
|
101
47
|
iconAttributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
102
48
|
attribute: z.ZodString;
|
|
103
49
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
104
|
-
},
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
}, {
|
|
108
|
-
attribute: string;
|
|
109
|
-
enabled?: boolean | undefined;
|
|
110
|
-
}>, "many">>;
|
|
111
|
-
}, "strip", z.ZodTypeAny, {
|
|
112
|
-
dateAttribute?: string | undefined;
|
|
113
|
-
tagAttributes?: string[] | undefined;
|
|
114
|
-
colorAttribute?: {
|
|
115
|
-
attribute: string;
|
|
116
|
-
colorMapping: Record<string, string>;
|
|
117
|
-
} | undefined;
|
|
118
|
-
iconAttributes?: {
|
|
119
|
-
attribute: string;
|
|
120
|
-
enabled: boolean;
|
|
121
|
-
}[] | undefined;
|
|
122
|
-
}, {
|
|
123
|
-
dateAttribute?: string | undefined;
|
|
124
|
-
tagAttributes?: string[] | undefined;
|
|
125
|
-
colorAttribute?: {
|
|
126
|
-
attribute: string;
|
|
127
|
-
colorMapping: Record<string, string>;
|
|
128
|
-
} | undefined;
|
|
129
|
-
iconAttributes?: {
|
|
130
|
-
attribute: string;
|
|
131
|
-
enabled?: boolean | undefined;
|
|
132
|
-
}[] | undefined;
|
|
133
|
-
}>>;
|
|
134
|
-
}, "strip", z.ZodTypeAny, {
|
|
135
|
-
search: string;
|
|
136
|
-
searchId: string;
|
|
137
|
-
typeId?: string | undefined;
|
|
138
|
-
cardDisplay?: {
|
|
139
|
-
dateAttribute?: string | undefined;
|
|
140
|
-
tagAttributes?: string[] | undefined;
|
|
141
|
-
colorAttribute?: {
|
|
142
|
-
attribute: string;
|
|
143
|
-
colorMapping: Record<string, string>;
|
|
144
|
-
} | undefined;
|
|
145
|
-
iconAttributes?: {
|
|
146
|
-
attribute: string;
|
|
147
|
-
enabled: boolean;
|
|
148
|
-
}[] | undefined;
|
|
149
|
-
} | undefined;
|
|
150
|
-
}, {
|
|
151
|
-
search: string;
|
|
152
|
-
searchId: string;
|
|
153
|
-
typeId?: string | undefined;
|
|
154
|
-
cardDisplay?: {
|
|
155
|
-
dateAttribute?: string | undefined;
|
|
156
|
-
tagAttributes?: string[] | undefined;
|
|
157
|
-
colorAttribute?: {
|
|
158
|
-
attribute: string;
|
|
159
|
-
colorMapping: Record<string, string>;
|
|
160
|
-
} | undefined;
|
|
161
|
-
iconAttributes?: {
|
|
162
|
-
attribute: string;
|
|
163
|
-
enabled?: boolean | undefined;
|
|
164
|
-
}[] | undefined;
|
|
165
|
-
} | undefined;
|
|
166
|
-
}>, "many">;
|
|
50
|
+
}, z.core.$strip>>>;
|
|
51
|
+
}, z.core.$strip>>;
|
|
52
|
+
}, z.core.$strip>>;
|
|
167
53
|
};
|
|
168
54
|
readonly annotations: {
|
|
169
55
|
readonly title: "Configure Board Cards";
|
|
@@ -172,142 +58,43 @@ declare const BOARD_TOOL_DEFINITIONS: {
|
|
|
172
58
|
readonly cplace_board_configure_columns: {
|
|
173
59
|
readonly description: "Configure column structure for a board widget. Declares the complete column configuration.\n\nMODES:\n- static: Explicitly define columns with value mappings (most common)\n- dynamic: Auto-generate columns from attribute values\n\nVALID ATTRIBUTE TYPES for column mapping: Enumeration, Reference, Date, or linked attributes of these types.\nNOT valid: Workflow (excluded despite resembling enumerations), Number, Boolean, Color (these are only valid for card display attributes).\n\nVALUE MAPPING FIELDS (mutually exclusive per mapping):\n- values: For enumeration attributes (string values like \"Open\", \"Closed\")\n- referenceValues: For reference attributes (page UIDs like \"6a0pydt3gd31ea3d42hdhqf4t\")\n- dateRange: For date attributes ({start, end} date strings)\n\nIMPORTANT: All searchId references must exist in the board's card configurations.\nConfigure cards first if adding new card sources.\n\nSTATIC MODE: Array order = column order (left to right)\nDYNAMIC MODE: Columns auto-generated from enumeration attribute values. Date-based dynamic columns are not supported.\n\nWORKFLOW:\n1. Ensure cards are configured with desired searchIds\n2. Get current config: cplace_board_get_configuration\n3. Modify or replace columns configuration\n4. Call this tool with complete desired state";
|
|
174
60
|
readonly inputSchema: {
|
|
175
|
-
readonly context: z.
|
|
61
|
+
readonly context: z.ZodPreprocess<z.ZodUnion<readonly [z.ZodObject<{
|
|
176
62
|
type: z.ZodLiteral<"page">;
|
|
177
63
|
pageUID: z.ZodString;
|
|
178
|
-
},
|
|
179
|
-
type: "page";
|
|
180
|
-
pageUID: string;
|
|
181
|
-
}, {
|
|
182
|
-
type: "page";
|
|
183
|
-
pageUID: string;
|
|
184
|
-
}>, z.ZodObject<{
|
|
64
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
185
65
|
type: z.ZodLiteral<"type">;
|
|
186
66
|
workspaceId: z.ZodString;
|
|
187
67
|
typeInternalName: z.ZodString;
|
|
188
68
|
alternativeLayoutName: z.ZodOptional<z.ZodString>;
|
|
189
|
-
},
|
|
190
|
-
type: "type";
|
|
191
|
-
workspaceId: string;
|
|
192
|
-
typeInternalName: string;
|
|
193
|
-
alternativeLayoutName?: string | undefined;
|
|
194
|
-
}, {
|
|
195
|
-
type: "type";
|
|
196
|
-
workspaceId: string;
|
|
197
|
-
typeInternalName: string;
|
|
198
|
-
alternativeLayoutName?: string | undefined;
|
|
199
|
-
}>]>, {
|
|
200
|
-
type: "page";
|
|
201
|
-
pageUID: string;
|
|
202
|
-
} | {
|
|
203
|
-
type: "type";
|
|
204
|
-
workspaceId: string;
|
|
205
|
-
typeInternalName: string;
|
|
206
|
-
alternativeLayoutName?: string | undefined;
|
|
207
|
-
}, unknown>;
|
|
69
|
+
}, z.core.$strip>]>, unknown>;
|
|
208
70
|
readonly widgetId: z.ZodString;
|
|
209
|
-
readonly mode: z.ZodEnum<
|
|
71
|
+
readonly mode: z.ZodEnum<{
|
|
72
|
+
static: "static";
|
|
73
|
+
dynamic: "dynamic";
|
|
74
|
+
}>;
|
|
210
75
|
readonly columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
211
76
|
columnId: z.ZodString;
|
|
212
77
|
names: z.ZodObject<{
|
|
213
78
|
en: z.ZodString;
|
|
214
79
|
de: z.ZodOptional<z.ZodString>;
|
|
215
|
-
},
|
|
216
|
-
en: string;
|
|
217
|
-
de?: string | undefined;
|
|
218
|
-
}, {
|
|
219
|
-
en: string;
|
|
220
|
-
de?: string | undefined;
|
|
221
|
-
}>;
|
|
80
|
+
}, z.core.$strip>;
|
|
222
81
|
mappings: z.ZodArray<z.ZodObject<{
|
|
223
82
|
searchId: z.ZodString;
|
|
224
83
|
attribute: z.ZodString;
|
|
225
|
-
values: z.ZodOptional<z.ZodArray<z.ZodString
|
|
226
|
-
referenceValues: z.ZodOptional<z.ZodArray<z.ZodString
|
|
84
|
+
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
85
|
+
referenceValues: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
227
86
|
dateRange: z.ZodOptional<z.ZodObject<{
|
|
228
87
|
start: z.ZodString;
|
|
229
88
|
end: z.ZodString;
|
|
230
|
-
},
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
}, {
|
|
234
|
-
start: string;
|
|
235
|
-
end: string;
|
|
236
|
-
}>>;
|
|
237
|
-
}, "strip", z.ZodTypeAny, {
|
|
238
|
-
attribute: string;
|
|
239
|
-
searchId: string;
|
|
240
|
-
values?: string[] | undefined;
|
|
241
|
-
referenceValues?: string[] | undefined;
|
|
242
|
-
dateRange?: {
|
|
243
|
-
start: string;
|
|
244
|
-
end: string;
|
|
245
|
-
} | undefined;
|
|
246
|
-
}, {
|
|
247
|
-
attribute: string;
|
|
248
|
-
searchId: string;
|
|
249
|
-
values?: string[] | undefined;
|
|
250
|
-
referenceValues?: string[] | undefined;
|
|
251
|
-
dateRange?: {
|
|
252
|
-
start: string;
|
|
253
|
-
end: string;
|
|
254
|
-
} | undefined;
|
|
255
|
-
}>, "many">;
|
|
256
|
-
}, "strip", z.ZodTypeAny, {
|
|
257
|
-
columnId: string;
|
|
258
|
-
names: {
|
|
259
|
-
en: string;
|
|
260
|
-
de?: string | undefined;
|
|
261
|
-
};
|
|
262
|
-
mappings: {
|
|
263
|
-
attribute: string;
|
|
264
|
-
searchId: string;
|
|
265
|
-
values?: string[] | undefined;
|
|
266
|
-
referenceValues?: string[] | undefined;
|
|
267
|
-
dateRange?: {
|
|
268
|
-
start: string;
|
|
269
|
-
end: string;
|
|
270
|
-
} | undefined;
|
|
271
|
-
}[];
|
|
272
|
-
}, {
|
|
273
|
-
columnId: string;
|
|
274
|
-
names: {
|
|
275
|
-
en: string;
|
|
276
|
-
de?: string | undefined;
|
|
277
|
-
};
|
|
278
|
-
mappings: {
|
|
279
|
-
attribute: string;
|
|
280
|
-
searchId: string;
|
|
281
|
-
values?: string[] | undefined;
|
|
282
|
-
referenceValues?: string[] | undefined;
|
|
283
|
-
dateRange?: {
|
|
284
|
-
start: string;
|
|
285
|
-
end: string;
|
|
286
|
-
} | undefined;
|
|
287
|
-
}[];
|
|
288
|
-
}>, "many">>;
|
|
89
|
+
}, z.core.$strip>>;
|
|
90
|
+
}, z.core.$strip>>;
|
|
91
|
+
}, z.core.$strip>>>;
|
|
289
92
|
readonly dynamicConfig: z.ZodOptional<z.ZodObject<{
|
|
290
93
|
mappedAttributes: z.ZodArray<z.ZodObject<{
|
|
291
94
|
searchId: z.ZodString;
|
|
292
95
|
attribute: z.ZodString;
|
|
293
|
-
},
|
|
294
|
-
|
|
295
|
-
searchId: string;
|
|
296
|
-
}, {
|
|
297
|
-
attribute: string;
|
|
298
|
-
searchId: string;
|
|
299
|
-
}>, "many">;
|
|
300
|
-
}, "strip", z.ZodTypeAny, {
|
|
301
|
-
mappedAttributes: {
|
|
302
|
-
attribute: string;
|
|
303
|
-
searchId: string;
|
|
304
|
-
}[];
|
|
305
|
-
}, {
|
|
306
|
-
mappedAttributes: {
|
|
307
|
-
attribute: string;
|
|
308
|
-
searchId: string;
|
|
309
|
-
}[];
|
|
310
|
-
}>>;
|
|
96
|
+
}, z.core.$strip>>;
|
|
97
|
+
}, z.core.$strip>>;
|
|
311
98
|
};
|
|
312
99
|
readonly annotations: {
|
|
313
100
|
readonly title: "Configure Board Columns";
|
|
@@ -316,143 +103,44 @@ declare const BOARD_TOOL_DEFINITIONS: {
|
|
|
316
103
|
readonly cplace_board_configure_swimlanes: {
|
|
317
104
|
readonly description: "Configure swimlane structure for a board widget. Swimlanes create horizontal groupings within columns.\n\nSET enabled: false to remove all swimlanes (flat board).\n\nMODES (when enabled):\n- static: Explicitly define swimlanes with value mappings\n- dynamic: Auto-generate swimlanes from enumeration attribute values. Date-based dynamic swimlanes are not supported.\n\nVALID ATTRIBUTE TYPES for swimlane mapping: Enumeration, Reference, Date, or linked attributes of these types.\nNOT valid: Workflow (excluded despite resembling enumerations), Number, Boolean, Color (these are only valid for card display attributes).\n\nVALUE MAPPING FIELDS (mutually exclusive per mapping):\n- values: For enumeration attributes (string values like \"Open\", \"Closed\")\n- referenceValues: For reference attributes (page UIDs like \"6a0pydt3gd31ea3d42hdhqf4t\")\n- dateRange: For date attributes ({start, end} date strings)\n\nIMPORTANT: All searchId references must exist in the board's card configurations.\n\nWORKFLOW:\n1. Ensure cards are configured with desired searchIds\n2. Get current config: cplace_board_get_configuration\n3. Modify or replace swimlanes configuration\n4. Call this tool with complete desired state";
|
|
318
105
|
readonly inputSchema: {
|
|
319
|
-
readonly context: z.
|
|
106
|
+
readonly context: z.ZodPreprocess<z.ZodUnion<readonly [z.ZodObject<{
|
|
320
107
|
type: z.ZodLiteral<"page">;
|
|
321
108
|
pageUID: z.ZodString;
|
|
322
|
-
},
|
|
323
|
-
type: "page";
|
|
324
|
-
pageUID: string;
|
|
325
|
-
}, {
|
|
326
|
-
type: "page";
|
|
327
|
-
pageUID: string;
|
|
328
|
-
}>, z.ZodObject<{
|
|
109
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
329
110
|
type: z.ZodLiteral<"type">;
|
|
330
111
|
workspaceId: z.ZodString;
|
|
331
112
|
typeInternalName: z.ZodString;
|
|
332
113
|
alternativeLayoutName: z.ZodOptional<z.ZodString>;
|
|
333
|
-
},
|
|
334
|
-
type: "type";
|
|
335
|
-
workspaceId: string;
|
|
336
|
-
typeInternalName: string;
|
|
337
|
-
alternativeLayoutName?: string | undefined;
|
|
338
|
-
}, {
|
|
339
|
-
type: "type";
|
|
340
|
-
workspaceId: string;
|
|
341
|
-
typeInternalName: string;
|
|
342
|
-
alternativeLayoutName?: string | undefined;
|
|
343
|
-
}>]>, {
|
|
344
|
-
type: "page";
|
|
345
|
-
pageUID: string;
|
|
346
|
-
} | {
|
|
347
|
-
type: "type";
|
|
348
|
-
workspaceId: string;
|
|
349
|
-
typeInternalName: string;
|
|
350
|
-
alternativeLayoutName?: string | undefined;
|
|
351
|
-
}, unknown>;
|
|
114
|
+
}, z.core.$strip>]>, unknown>;
|
|
352
115
|
readonly widgetId: z.ZodString;
|
|
353
116
|
readonly enabled: z.ZodBoolean;
|
|
354
|
-
readonly mode: z.ZodOptional<z.ZodEnum<
|
|
117
|
+
readonly mode: z.ZodOptional<z.ZodEnum<{
|
|
118
|
+
static: "static";
|
|
119
|
+
dynamic: "dynamic";
|
|
120
|
+
}>>;
|
|
355
121
|
readonly swimlanes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
356
122
|
swimlaneId: z.ZodString;
|
|
357
123
|
names: z.ZodObject<{
|
|
358
124
|
en: z.ZodString;
|
|
359
125
|
de: z.ZodOptional<z.ZodString>;
|
|
360
|
-
},
|
|
361
|
-
en: string;
|
|
362
|
-
de?: string | undefined;
|
|
363
|
-
}, {
|
|
364
|
-
en: string;
|
|
365
|
-
de?: string | undefined;
|
|
366
|
-
}>;
|
|
126
|
+
}, z.core.$strip>;
|
|
367
127
|
mappings: z.ZodArray<z.ZodObject<{
|
|
368
128
|
searchId: z.ZodString;
|
|
369
129
|
attribute: z.ZodString;
|
|
370
|
-
values: z.ZodOptional<z.ZodArray<z.ZodString
|
|
371
|
-
referenceValues: z.ZodOptional<z.ZodArray<z.ZodString
|
|
130
|
+
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
131
|
+
referenceValues: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
372
132
|
dateRange: z.ZodOptional<z.ZodObject<{
|
|
373
133
|
start: z.ZodString;
|
|
374
134
|
end: z.ZodString;
|
|
375
|
-
},
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
}, {
|
|
379
|
-
start: string;
|
|
380
|
-
end: string;
|
|
381
|
-
}>>;
|
|
382
|
-
}, "strip", z.ZodTypeAny, {
|
|
383
|
-
attribute: string;
|
|
384
|
-
searchId: string;
|
|
385
|
-
values?: string[] | undefined;
|
|
386
|
-
referenceValues?: string[] | undefined;
|
|
387
|
-
dateRange?: {
|
|
388
|
-
start: string;
|
|
389
|
-
end: string;
|
|
390
|
-
} | undefined;
|
|
391
|
-
}, {
|
|
392
|
-
attribute: string;
|
|
393
|
-
searchId: string;
|
|
394
|
-
values?: string[] | undefined;
|
|
395
|
-
referenceValues?: string[] | undefined;
|
|
396
|
-
dateRange?: {
|
|
397
|
-
start: string;
|
|
398
|
-
end: string;
|
|
399
|
-
} | undefined;
|
|
400
|
-
}>, "many">;
|
|
401
|
-
}, "strip", z.ZodTypeAny, {
|
|
402
|
-
names: {
|
|
403
|
-
en: string;
|
|
404
|
-
de?: string | undefined;
|
|
405
|
-
};
|
|
406
|
-
mappings: {
|
|
407
|
-
attribute: string;
|
|
408
|
-
searchId: string;
|
|
409
|
-
values?: string[] | undefined;
|
|
410
|
-
referenceValues?: string[] | undefined;
|
|
411
|
-
dateRange?: {
|
|
412
|
-
start: string;
|
|
413
|
-
end: string;
|
|
414
|
-
} | undefined;
|
|
415
|
-
}[];
|
|
416
|
-
swimlaneId: string;
|
|
417
|
-
}, {
|
|
418
|
-
names: {
|
|
419
|
-
en: string;
|
|
420
|
-
de?: string | undefined;
|
|
421
|
-
};
|
|
422
|
-
mappings: {
|
|
423
|
-
attribute: string;
|
|
424
|
-
searchId: string;
|
|
425
|
-
values?: string[] | undefined;
|
|
426
|
-
referenceValues?: string[] | undefined;
|
|
427
|
-
dateRange?: {
|
|
428
|
-
start: string;
|
|
429
|
-
end: string;
|
|
430
|
-
} | undefined;
|
|
431
|
-
}[];
|
|
432
|
-
swimlaneId: string;
|
|
433
|
-
}>, "many">>;
|
|
135
|
+
}, z.core.$strip>>;
|
|
136
|
+
}, z.core.$strip>>;
|
|
137
|
+
}, z.core.$strip>>>;
|
|
434
138
|
readonly dynamicConfig: z.ZodOptional<z.ZodObject<{
|
|
435
139
|
mappedAttributes: z.ZodArray<z.ZodObject<{
|
|
436
140
|
searchId: z.ZodString;
|
|
437
141
|
attribute: z.ZodString;
|
|
438
|
-
},
|
|
439
|
-
|
|
440
|
-
searchId: string;
|
|
441
|
-
}, {
|
|
442
|
-
attribute: string;
|
|
443
|
-
searchId: string;
|
|
444
|
-
}>, "many">;
|
|
445
|
-
}, "strip", z.ZodTypeAny, {
|
|
446
|
-
mappedAttributes: {
|
|
447
|
-
attribute: string;
|
|
448
|
-
searchId: string;
|
|
449
|
-
}[];
|
|
450
|
-
}, {
|
|
451
|
-
mappedAttributes: {
|
|
452
|
-
attribute: string;
|
|
453
|
-
searchId: string;
|
|
454
|
-
}[];
|
|
455
|
-
}>>;
|
|
142
|
+
}, z.core.$strip>>;
|
|
143
|
+
}, z.core.$strip>>;
|
|
456
144
|
};
|
|
457
145
|
readonly annotations: {
|
|
458
146
|
readonly title: "Configure Board Swimlanes";
|
|
@@ -461,39 +149,15 @@ declare const BOARD_TOOL_DEFINITIONS: {
|
|
|
461
149
|
readonly cplace_board_configure_visual: {
|
|
462
150
|
readonly description: "Configure visual settings for a board widget. Controls UI features and display options.\n\nAvailable settings:\n- showCardCount: Show card count in column headers\n- enableQuickAdd: Show \"+\" button to create new cards\n- showUnmappedContainer: Show container for cards without valid column mapping\n- enableCardDetailsView: Show card details inline instead of navigation\n- showSpaceAfterLastColumn: Add visual spacing after last column\n- enableRecentHistory: Show button to highlight recently changed cards\n- recentHistoryWeeks: Time range for \"recent\" cards (default: 2)\n\nOmitted settings retain their current values (this tool does partial updates for visual settings).";
|
|
463
151
|
readonly inputSchema: {
|
|
464
|
-
readonly context: z.
|
|
152
|
+
readonly context: z.ZodPreprocess<z.ZodUnion<readonly [z.ZodObject<{
|
|
465
153
|
type: z.ZodLiteral<"page">;
|
|
466
154
|
pageUID: z.ZodString;
|
|
467
|
-
},
|
|
468
|
-
type: "page";
|
|
469
|
-
pageUID: string;
|
|
470
|
-
}, {
|
|
471
|
-
type: "page";
|
|
472
|
-
pageUID: string;
|
|
473
|
-
}>, z.ZodObject<{
|
|
155
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
474
156
|
type: z.ZodLiteral<"type">;
|
|
475
157
|
workspaceId: z.ZodString;
|
|
476
158
|
typeInternalName: z.ZodString;
|
|
477
159
|
alternativeLayoutName: z.ZodOptional<z.ZodString>;
|
|
478
|
-
},
|
|
479
|
-
type: "type";
|
|
480
|
-
workspaceId: string;
|
|
481
|
-
typeInternalName: string;
|
|
482
|
-
alternativeLayoutName?: string | undefined;
|
|
483
|
-
}, {
|
|
484
|
-
type: "type";
|
|
485
|
-
workspaceId: string;
|
|
486
|
-
typeInternalName: string;
|
|
487
|
-
alternativeLayoutName?: string | undefined;
|
|
488
|
-
}>]>, {
|
|
489
|
-
type: "page";
|
|
490
|
-
pageUID: string;
|
|
491
|
-
} | {
|
|
492
|
-
type: "type";
|
|
493
|
-
workspaceId: string;
|
|
494
|
-
typeInternalName: string;
|
|
495
|
-
alternativeLayoutName?: string | undefined;
|
|
496
|
-
}, unknown>;
|
|
160
|
+
}, z.core.$strip>]>, unknown>;
|
|
497
161
|
readonly widgetId: z.ZodString;
|
|
498
162
|
readonly showCardCount: z.ZodOptional<z.ZodBoolean>;
|
|
499
163
|
readonly enableQuickAdd: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -501,13 +165,7 @@ declare const BOARD_TOOL_DEFINITIONS: {
|
|
|
501
165
|
readonly unmappedContainerNames: z.ZodOptional<z.ZodObject<{
|
|
502
166
|
en: z.ZodString;
|
|
503
167
|
de: z.ZodOptional<z.ZodString>;
|
|
504
|
-
},
|
|
505
|
-
en: string;
|
|
506
|
-
de?: string | undefined;
|
|
507
|
-
}, {
|
|
508
|
-
en: string;
|
|
509
|
-
de?: string | undefined;
|
|
510
|
-
}>>;
|
|
168
|
+
}, z.core.$strip>>;
|
|
511
169
|
readonly enableCardDetailsView: z.ZodOptional<z.ZodBoolean>;
|
|
512
170
|
readonly showSpaceAfterLastColumn: z.ZodOptional<z.ZodBoolean>;
|
|
513
171
|
readonly enableRecentHistory: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"board-widget.d.ts","sourceRoot":"","sources":["../../src/tools/board-widget.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAgK5C,QAAA,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"board-widget.d.ts","sourceRoot":"","sources":["../../src/tools/board-widget.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAgK5C,QAAA,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2KlB,CAAC;AA+cX,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,eAAe,QAyhBlF;AAGD,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
|
|
@@ -24,7 +24,7 @@ const CardDisplaySchema = z
|
|
|
24
24
|
.string()
|
|
25
25
|
.describe("Enumeration attribute for dynamic left-border color (e.g., 'cf.myType.status')"),
|
|
26
26
|
colorMapping: z
|
|
27
|
-
.record(z.string())
|
|
27
|
+
.record(z.string(), z.string())
|
|
28
28
|
.describe('Map of enumeration values to hex colors (e.g., {"Open": "#4CAF50", "Closed": "#F44336"})'),
|
|
29
29
|
})
|
|
30
30
|
.optional()
|