@cplace/mcp-server 1.16.0 → 2.1.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 +37 -110
- package/dist/backend-capabilities.d.ts +15 -1
- package/dist/backend-capabilities.d.ts.map +1 -1
- package/dist/backend-capabilities.js +26 -1
- package/dist/backend-capabilities.js.map +1 -1
- package/dist/capability-gating.d.ts +35 -0
- package/dist/capability-gating.d.ts.map +1 -0
- package/dist/capability-gating.js +169 -0
- package/dist/capability-gating.js.map +1 -0
- package/dist/index.js +88 -41
- package/dist/index.js.map +1 -1
- package/dist/lint-on-write.d.ts +14 -0
- package/dist/lint-on-write.d.ts.map +1 -0
- package/dist/lint-on-write.js +29 -0
- package/dist/lint-on-write.js.map +1 -0
- package/dist/plugin-registry.d.ts +1 -1
- package/dist/plugin-registry.d.ts.map +1 -1
- package/dist/plugin-registry.js +28 -13
- package/dist/plugin-registry.js.map +1 -1
- package/dist/plugins/core/widget-specifications/cf.cplace.platform.tableWidget/search.md +10 -0
- package/dist/plugins/core/widget-specifications/cf.platform.connectedBarChart/search.md +6 -0
- package/dist/plugins/core/widget-specifications/cf.platform.connectedPieChart/search.md +6 -0
- package/dist/plugins/core/widget-specifications/cf.platform.embeddedSearchAsList/search.md +6 -0
- package/dist/plugins/core/widget-specifications/cf.platform.embeddedSearchAsTable/search.md +6 -0
- package/dist/plugins/low-code.d.ts.map +1 -1
- package/dist/plugins/low-code.js +5 -0
- package/dist/plugins/low-code.js.map +1 -1
- package/dist/searchConversion.d.ts +6 -0
- package/dist/searchConversion.d.ts.map +1 -1
- package/dist/searchConversion.js +219 -132
- package/dist/searchConversion.js.map +1 -1
- package/dist/searchEditorShape.d.ts +10 -0
- package/dist/searchEditorShape.d.ts.map +1 -0
- package/dist/searchEditorShape.js +103 -0
- package/dist/searchEditorShape.js.map +1 -0
- package/dist/searchSchema.d.ts +119 -119
- package/dist/searchSchema.d.ts.map +1 -1
- package/dist/searchSchema.js +102 -50
- package/dist/searchSchema.js.map +1 -1
- package/dist/session-responses.d.ts +23 -0
- package/dist/session-responses.d.ts.map +1 -0
- package/dist/session-responses.js +17 -0
- package/dist/session-responses.js.map +1 -0
- package/dist/strict-schemas.d.ts +8 -0
- package/dist/strict-schemas.d.ts.map +1 -0
- package/dist/strict-schemas.js +202 -0
- package/dist/strict-schemas.js.map +1 -0
- package/dist/tools/app-configuration.d.ts +1 -0
- package/dist/tools/app-configuration.d.ts.map +1 -1
- package/dist/tools/app-configuration.js +1 -0
- package/dist/tools/app-configuration.js.map +1 -1
- package/dist/tools/apps-catalog.d.ts.map +1 -1
- package/dist/tools/apps-catalog.js +11 -5
- package/dist/tools/apps-catalog.js.map +1 -1
- package/dist/tools/change-listeners.d.ts +2 -0
- package/dist/tools/change-listeners.d.ts.map +1 -1
- package/dist/tools/change-listeners.js +42 -16
- package/dist/tools/change-listeners.js.map +1 -1
- package/dist/tools/common-schemas.d.ts +5 -0
- package/dist/tools/common-schemas.d.ts.map +1 -1
- package/dist/tools/common-schemas.js +13 -0
- package/dist/tools/common-schemas.js.map +1 -1
- package/dist/tools/csv-export.d.ts +122 -119
- package/dist/tools/csv-export.d.ts.map +1 -1
- package/dist/tools/csv-export.js +17 -2
- package/dist/tools/csv-export.js.map +1 -1
- package/dist/tools/enum-providers.d.ts.map +1 -1
- package/dist/tools/enum-providers.js +21 -7
- package/dist/tools/enum-providers.js.map +1 -1
- package/dist/tools/get-operations.d.ts +1 -1
- package/dist/tools/get-operations.d.ts.map +1 -1
- package/dist/tools/get-operations.js +3 -1
- package/dist/tools/get-operations.js.map +1 -1
- package/dist/tools/job-scripts.d.ts.map +1 -1
- package/dist/tools/job-scripts.js +19 -11
- package/dist/tools/job-scripts.js.map +1 -1
- package/dist/tools/layout-richstring-widgets.d.ts +2 -2
- package/dist/tools/layout-richstring-widgets.d.ts.map +1 -1
- package/dist/tools/layout-richstring-widgets.js +16 -6
- package/dist/tools/layout-richstring-widgets.js.map +1 -1
- package/dist/tools/layout.d.ts +115 -2
- package/dist/tools/layout.d.ts.map +1 -1
- package/dist/tools/layout.js +39 -14
- package/dist/tools/layout.js.map +1 -1
- package/dist/tools/linting.d.ts +1 -1
- package/dist/tools/linting.js +1 -1
- package/dist/tools/linting.js.map +1 -1
- package/dist/tools/page-action-simulation.d.ts +51 -1
- package/dist/tools/page-action-simulation.d.ts.map +1 -1
- package/dist/tools/page-action-simulation.js +2 -2
- package/dist/tools/page-action-simulation.js.map +1 -1
- package/dist/tools/page-actions.d.ts.map +1 -1
- package/dist/tools/page-actions.js +19 -11
- package/dist/tools/page-actions.js.map +1 -1
- package/dist/tools/pages.d.ts +3 -3
- package/dist/tools/pages.d.ts.map +1 -1
- package/dist/tools/pages.js +54 -15
- package/dist/tools/pages.js.map +1 -1
- package/dist/tools/ppt-export-schemas.d.ts +6 -6
- package/dist/tools/ppt-export.d.ts +4 -4
- package/dist/tools/profile-management.d.ts +4 -0
- package/dist/tools/profile-management.d.ts.map +1 -1
- package/dist/tools/profile-management.js +6 -4
- package/dist/tools/profile-management.js.map +1 -1
- package/dist/tools/resource-planner-widget.d.ts +4 -4
- package/dist/tools/richstring-widgets.js +3 -3
- package/dist/tools/richstring-widgets.js.map +1 -1
- package/dist/tools/script.d.ts +25 -2
- package/dist/tools/script.d.ts.map +1 -1
- package/dist/tools/script.js +5 -4
- package/dist/tools/script.js.map +1 -1
- package/dist/tools/search.d.ts +142 -122
- package/dist/tools/search.d.ts.map +1 -1
- package/dist/tools/search.js +71 -23
- package/dist/tools/search.js.map +1 -1
- package/dist/tools/system.d.ts +2 -1
- package/dist/tools/system.d.ts.map +1 -1
- package/dist/tools/system.js +2 -2
- package/dist/tools/system.js.map +1 -1
- package/dist/tools/type-management.d.ts +15 -14
- package/dist/tools/type-management.d.ts.map +1 -1
- package/dist/tools/type-management.js +168 -51
- package/dist/tools/type-management.js.map +1 -1
- package/dist/tools/validators.d.ts +1 -1
- package/dist/tools/validators.d.ts.map +1 -1
- package/dist/tools/validators.js +24 -8
- package/dist/tools/validators.js.map +1 -1
- package/dist/tools/version-check.d.ts +3 -2
- package/dist/tools/version-check.d.ts.map +1 -1
- package/dist/tools/version-check.js +39 -101
- package/dist/tools/version-check.js.map +1 -1
- package/dist/tools/widget-simulation-legacy.d.ts +50 -0
- package/dist/tools/widget-simulation-legacy.d.ts.map +1 -0
- package/dist/tools/widget-simulation-legacy.js +99 -0
- package/dist/tools/widget-simulation-legacy.js.map +1 -0
- package/dist/tools/widget-simulation.d.ts +1 -0
- package/dist/tools/widget-simulation.d.ts.map +1 -1
- package/dist/tools/widget-simulation.js +3 -1
- package/dist/tools/widget-simulation.js.map +1 -1
- package/dist/tools/wizards.d.ts.map +1 -1
- package/dist/tools/wizards.js +3 -2
- package/dist/tools/wizards.js.map +1 -1
- package/dist/tools/workflow-execution.d.ts +1 -0
- package/dist/tools/workflow-execution.d.ts.map +1 -1
- package/dist/tools/workflow-execution.js +5 -1
- package/dist/tools/workflow-execution.js.map +1 -1
- package/dist/tools/workflow-scripts.d.ts +2 -2
- package/dist/tools/workflow-scripts.d.ts.map +1 -1
- package/dist/tools/workflow-scripts.js +21 -11
- package/dist/tools/workflow-scripts.js.map +1 -1
- package/dist/tools/workflow.d.ts +5 -2
- package/dist/tools/workflow.d.ts.map +1 -1
- package/dist/tools/workflow.js +26 -3
- package/dist/tools/workflow.js.map +1 -1
- package/dist/tools/workspace-core.d.ts +3 -2
- package/dist/tools/workspace-core.d.ts.map +1 -1
- package/dist/tools/workspace-core.js +26 -8
- package/dist/tools/workspace-core.js.map +1 -1
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +17 -0
- package/dist/utils.js.map +1 -1
- package/package.json +4 -4
package/dist/tools/search.d.ts
CHANGED
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import { CplaceApiClient } from '../api.js';
|
|
4
|
+
import { type Guard } from '../capability-gating.js';
|
|
5
|
+
export declare const BEGINS_WITH_GUARD: Guard;
|
|
4
6
|
export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
5
7
|
readonly cplace_search_pages: {
|
|
6
|
-
readonly description:
|
|
8
|
+
readonly description: `Find pages of one type in cplace, narrowed by attribute conditions in searchFilter. Pass searchFilter: [] to get every page of the type.
|
|
9
|
+
|
|
10
|
+
Before the first search, look up what to search for: cplace_list_workspaces for the workspace, cplace_list_types for the type's internal name, cplace_get_type_datamodel for its attribute names and value types.
|
|
11
|
+
|
|
12
|
+
searchFilter uses this tool's own condition format, described on the parameter. The cplace REST filter format ({"filters": [{"type": \u2026}]}) does not work here. Type and workspace are not conditions: pass them as typeInternalName and workspaceId.
|
|
13
|
+
|
|
14
|
+
Picking a search tool: use cplace_search_pages_fulltext for a plain keyword search with no attribute conditions; use cplace_list_pages_of_type to list every page of one type in one workspace with no filtering; use cplace_search_pages_csv for the same search as CSV, once it works here.
|
|
15
|
+
|
|
16
|
+
Checking a search: humanReadableRepresentation and cplaceJson in the response show the filter the backend actually ran. A condition missing there was not applied. Check them before you rely on the result.${string}
|
|
17
|
+
|
|
18
|
+
Limits:
|
|
19
|
+
- A response stops at 45,000 characters. Stay under it with responseFormat "minimal" or "count", only the attributes you need, a lower limit, or cplace_search_pages_csv.
|
|
20
|
+
- Results are always sorted by name. There is no sort parameter, and paging with offset is stable.
|
|
21
|
+
- The filter is sent in the request URL. Split a very long "or" block into several searches.
|
|
22
|
+
|
|
23
|
+
The response includes a 'cplaceJson' field - use this when configuring search for embedded table/list widgets (cf.platform.embeddedSearchAsTable, cf.platform.embeddedSearchAsList). The cplace search editor cannot show every condition: or groups, not_equals and is_not_empty open only in extended search, and number \u2265 / \u2264, date on_or_before and relativeDate greaterEquals / lessEquals show a blank operator. An 'editorNote' in the response names such conditions: tell the user before storing cplaceJson in a widget.
|
|
24
|
+
|
|
25
|
+
RichString attributes appear in decoded form: \`<decoded-widget id="\u2026" type="\u2026">{"properties":{\u2026}}</decoded-widget>\` \u2014 no base64.`;
|
|
7
26
|
readonly inputSchema: {
|
|
8
27
|
readonly workspaceId: z.ZodOptional<z.ZodString>;
|
|
9
28
|
readonly typeInternalName: z.ZodString;
|
|
@@ -11,12 +30,12 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
11
30
|
readonly searchFilter: z.ZodEffects<z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
12
31
|
name: z.ZodObject<{
|
|
13
32
|
equals: z.ZodString;
|
|
14
|
-
}, "
|
|
33
|
+
}, "strict", z.ZodTypeAny, {
|
|
15
34
|
equals: string;
|
|
16
35
|
}, {
|
|
17
36
|
equals: string;
|
|
18
37
|
}>;
|
|
19
|
-
}, "
|
|
38
|
+
}, "strict", z.ZodTypeAny, {
|
|
20
39
|
name: {
|
|
21
40
|
equals: string;
|
|
22
41
|
};
|
|
@@ -62,7 +81,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
62
81
|
is_empty?: boolean | undefined;
|
|
63
82
|
is_not_empty?: boolean | undefined;
|
|
64
83
|
}>;
|
|
65
|
-
}, "
|
|
84
|
+
}, "strict", z.ZodTypeAny, {
|
|
66
85
|
string: {
|
|
67
86
|
equals?: string | undefined;
|
|
68
87
|
not_equals?: string | undefined;
|
|
@@ -130,7 +149,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
130
149
|
less_than?: number | undefined;
|
|
131
150
|
less_than_or_equal_to?: number | undefined;
|
|
132
151
|
}>;
|
|
133
|
-
}, "
|
|
152
|
+
}, "strict", z.ZodTypeAny, {
|
|
134
153
|
number: {
|
|
135
154
|
equals?: number | undefined;
|
|
136
155
|
not_equals?: number | undefined;
|
|
@@ -202,7 +221,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
202
221
|
on_or_after?: string | undefined;
|
|
203
222
|
on_or_before?: string | undefined;
|
|
204
223
|
}>;
|
|
205
|
-
}, "
|
|
224
|
+
}, "strict", z.ZodTypeAny, {
|
|
206
225
|
date: {
|
|
207
226
|
equals?: string | undefined;
|
|
208
227
|
not_equals?: string | undefined;
|
|
@@ -254,7 +273,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
254
273
|
is_empty?: boolean | undefined;
|
|
255
274
|
is_not_empty?: boolean | undefined;
|
|
256
275
|
}>;
|
|
257
|
-
}, "
|
|
276
|
+
}, "strict", z.ZodTypeAny, {
|
|
258
277
|
reference: {
|
|
259
278
|
equals?: string | undefined;
|
|
260
279
|
not_equals?: string | undefined;
|
|
@@ -288,7 +307,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
288
307
|
equals?: boolean | undefined;
|
|
289
308
|
not_equals?: boolean | undefined;
|
|
290
309
|
}>;
|
|
291
|
-
}, "
|
|
310
|
+
}, "strict", z.ZodTypeAny, {
|
|
292
311
|
boolean: {
|
|
293
312
|
equals?: boolean | undefined;
|
|
294
313
|
not_equals?: boolean | undefined;
|
|
@@ -304,14 +323,14 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
304
323
|
relativeReference: z.ZodObject<{
|
|
305
324
|
attribute: z.ZodString;
|
|
306
325
|
operator: z.ZodString;
|
|
307
|
-
}, "
|
|
326
|
+
}, "strict", z.ZodTypeAny, {
|
|
308
327
|
attribute: string;
|
|
309
328
|
operator: string;
|
|
310
329
|
}, {
|
|
311
330
|
attribute: string;
|
|
312
331
|
operator: string;
|
|
313
332
|
}>;
|
|
314
|
-
}, "
|
|
333
|
+
}, "strict", z.ZodTypeAny, {
|
|
315
334
|
relativeReference: {
|
|
316
335
|
attribute: string;
|
|
317
336
|
operator: string;
|
|
@@ -327,7 +346,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
327
346
|
operator: z.ZodEnum<["equals", "lessThan", "lessEquals", "greaterThan", "greaterEquals"]>;
|
|
328
347
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
329
348
|
relativeToAttribute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
330
|
-
}, "
|
|
349
|
+
}, "strict", z.ZodTypeAny, {
|
|
331
350
|
attribute: string;
|
|
332
351
|
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
|
|
333
352
|
offset?: number | undefined;
|
|
@@ -338,7 +357,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
338
357
|
offset?: number | undefined;
|
|
339
358
|
relativeToAttribute?: string | null | undefined;
|
|
340
359
|
}>;
|
|
341
|
-
}, "
|
|
360
|
+
}, "strict", z.ZodTypeAny, {
|
|
342
361
|
relativeDate: {
|
|
343
362
|
attribute: string;
|
|
344
363
|
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
|
|
@@ -356,14 +375,14 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
356
375
|
relativeString: z.ZodObject<{
|
|
357
376
|
attribute: z.ZodString;
|
|
358
377
|
sourceAttribute: z.ZodString;
|
|
359
|
-
}, "
|
|
378
|
+
}, "strict", z.ZodTypeAny, {
|
|
360
379
|
attribute: string;
|
|
361
380
|
sourceAttribute: string;
|
|
362
381
|
}, {
|
|
363
382
|
attribute: string;
|
|
364
383
|
sourceAttribute: string;
|
|
365
384
|
}>;
|
|
366
|
-
}, "
|
|
385
|
+
}, "strict", z.ZodTypeAny, {
|
|
367
386
|
relativeString: {
|
|
368
387
|
attribute: string;
|
|
369
388
|
sourceAttribute: string;
|
|
@@ -379,7 +398,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
379
398
|
sourceAttribute: z.ZodString;
|
|
380
399
|
operator: z.ZodOptional<z.ZodEnum<["equals", "lessThan", "lessEquals", "greaterThan", "greaterEquals"]>>;
|
|
381
400
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
382
|
-
}, "
|
|
401
|
+
}, "strict", z.ZodTypeAny, {
|
|
383
402
|
attribute: string;
|
|
384
403
|
sourceAttribute: string;
|
|
385
404
|
offset?: number | undefined;
|
|
@@ -390,7 +409,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
390
409
|
offset?: number | undefined;
|
|
391
410
|
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
|
|
392
411
|
}>;
|
|
393
|
-
}, "
|
|
412
|
+
}, "strict", z.ZodTypeAny, {
|
|
394
413
|
relativeNumber: {
|
|
395
414
|
attribute: string;
|
|
396
415
|
sourceAttribute: string;
|
|
@@ -408,14 +427,14 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
408
427
|
relativeBoolean: z.ZodObject<{
|
|
409
428
|
attribute: z.ZodString;
|
|
410
429
|
sourceAttribute: z.ZodString;
|
|
411
|
-
}, "
|
|
430
|
+
}, "strict", z.ZodTypeAny, {
|
|
412
431
|
attribute: string;
|
|
413
432
|
sourceAttribute: string;
|
|
414
433
|
}, {
|
|
415
434
|
attribute: string;
|
|
416
435
|
sourceAttribute: string;
|
|
417
436
|
}>;
|
|
418
|
-
}, "
|
|
437
|
+
}, "strict", z.ZodTypeAny, {
|
|
419
438
|
relativeBoolean: {
|
|
420
439
|
attribute: string;
|
|
421
440
|
sourceAttribute: string;
|
|
@@ -426,20 +445,20 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
426
445
|
sourceAttribute: string;
|
|
427
446
|
};
|
|
428
447
|
}>, z.ZodObject<{
|
|
429
|
-
relativeSpace: z.ZodObject<{}, "
|
|
430
|
-
}, "
|
|
448
|
+
relativeSpace: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
449
|
+
}, "strict", z.ZodTypeAny, {
|
|
431
450
|
relativeSpace: {};
|
|
432
451
|
}, {
|
|
433
452
|
relativeSpace: {};
|
|
434
453
|
}>, z.ZodObject<{
|
|
435
454
|
relativeUid: z.ZodObject<{
|
|
436
455
|
operator: z.ZodString;
|
|
437
|
-
}, "
|
|
456
|
+
}, "strict", z.ZodTypeAny, {
|
|
438
457
|
operator: string;
|
|
439
458
|
}, {
|
|
440
459
|
operator: string;
|
|
441
460
|
}>;
|
|
442
|
-
}, "
|
|
461
|
+
}, "strict", z.ZodTypeAny, {
|
|
443
462
|
relativeUid: {
|
|
444
463
|
operator: string;
|
|
445
464
|
};
|
|
@@ -451,14 +470,14 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
451
470
|
relativeBuiltinReference: z.ZodObject<{
|
|
452
471
|
attribute: z.ZodString;
|
|
453
472
|
operator: z.ZodString;
|
|
454
|
-
}, "
|
|
473
|
+
}, "strict", z.ZodTypeAny, {
|
|
455
474
|
attribute: string;
|
|
456
475
|
operator: string;
|
|
457
476
|
}, {
|
|
458
477
|
attribute: string;
|
|
459
478
|
operator: string;
|
|
460
479
|
}>;
|
|
461
|
-
}, "
|
|
480
|
+
}, "strict", z.ZodTypeAny, {
|
|
462
481
|
relativeBuiltinReference: {
|
|
463
482
|
attribute: string;
|
|
464
483
|
operator: string;
|
|
@@ -472,12 +491,12 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
472
491
|
and: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
473
492
|
name: z.ZodObject<{
|
|
474
493
|
equals: z.ZodString;
|
|
475
|
-
}, "
|
|
494
|
+
}, "strict", z.ZodTypeAny, {
|
|
476
495
|
equals: string;
|
|
477
496
|
}, {
|
|
478
497
|
equals: string;
|
|
479
498
|
}>;
|
|
480
|
-
}, "
|
|
499
|
+
}, "strict", z.ZodTypeAny, {
|
|
481
500
|
name: {
|
|
482
501
|
equals: string;
|
|
483
502
|
};
|
|
@@ -523,7 +542,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
523
542
|
is_empty?: boolean | undefined;
|
|
524
543
|
is_not_empty?: boolean | undefined;
|
|
525
544
|
}>;
|
|
526
|
-
}, "
|
|
545
|
+
}, "strict", z.ZodTypeAny, {
|
|
527
546
|
string: {
|
|
528
547
|
equals?: string | undefined;
|
|
529
548
|
not_equals?: string | undefined;
|
|
@@ -591,7 +610,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
591
610
|
less_than?: number | undefined;
|
|
592
611
|
less_than_or_equal_to?: number | undefined;
|
|
593
612
|
}>;
|
|
594
|
-
}, "
|
|
613
|
+
}, "strict", z.ZodTypeAny, {
|
|
595
614
|
number: {
|
|
596
615
|
equals?: number | undefined;
|
|
597
616
|
not_equals?: number | undefined;
|
|
@@ -663,7 +682,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
663
682
|
on_or_after?: string | undefined;
|
|
664
683
|
on_or_before?: string | undefined;
|
|
665
684
|
}>;
|
|
666
|
-
}, "
|
|
685
|
+
}, "strict", z.ZodTypeAny, {
|
|
667
686
|
date: {
|
|
668
687
|
equals?: string | undefined;
|
|
669
688
|
not_equals?: string | undefined;
|
|
@@ -715,7 +734,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
715
734
|
is_empty?: boolean | undefined;
|
|
716
735
|
is_not_empty?: boolean | undefined;
|
|
717
736
|
}>;
|
|
718
|
-
}, "
|
|
737
|
+
}, "strict", z.ZodTypeAny, {
|
|
719
738
|
reference: {
|
|
720
739
|
equals?: string | undefined;
|
|
721
740
|
not_equals?: string | undefined;
|
|
@@ -749,7 +768,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
749
768
|
equals?: boolean | undefined;
|
|
750
769
|
not_equals?: boolean | undefined;
|
|
751
770
|
}>;
|
|
752
|
-
}, "
|
|
771
|
+
}, "strict", z.ZodTypeAny, {
|
|
753
772
|
boolean: {
|
|
754
773
|
equals?: boolean | undefined;
|
|
755
774
|
not_equals?: boolean | undefined;
|
|
@@ -765,14 +784,14 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
765
784
|
relativeReference: z.ZodObject<{
|
|
766
785
|
attribute: z.ZodString;
|
|
767
786
|
operator: z.ZodString;
|
|
768
|
-
}, "
|
|
787
|
+
}, "strict", z.ZodTypeAny, {
|
|
769
788
|
attribute: string;
|
|
770
789
|
operator: string;
|
|
771
790
|
}, {
|
|
772
791
|
attribute: string;
|
|
773
792
|
operator: string;
|
|
774
793
|
}>;
|
|
775
|
-
}, "
|
|
794
|
+
}, "strict", z.ZodTypeAny, {
|
|
776
795
|
relativeReference: {
|
|
777
796
|
attribute: string;
|
|
778
797
|
operator: string;
|
|
@@ -788,7 +807,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
788
807
|
operator: z.ZodEnum<["equals", "lessThan", "lessEquals", "greaterThan", "greaterEquals"]>;
|
|
789
808
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
790
809
|
relativeToAttribute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
791
|
-
}, "
|
|
810
|
+
}, "strict", z.ZodTypeAny, {
|
|
792
811
|
attribute: string;
|
|
793
812
|
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
|
|
794
813
|
offset?: number | undefined;
|
|
@@ -799,7 +818,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
799
818
|
offset?: number | undefined;
|
|
800
819
|
relativeToAttribute?: string | null | undefined;
|
|
801
820
|
}>;
|
|
802
|
-
}, "
|
|
821
|
+
}, "strict", z.ZodTypeAny, {
|
|
803
822
|
relativeDate: {
|
|
804
823
|
attribute: string;
|
|
805
824
|
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
|
|
@@ -817,14 +836,14 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
817
836
|
relativeString: z.ZodObject<{
|
|
818
837
|
attribute: z.ZodString;
|
|
819
838
|
sourceAttribute: z.ZodString;
|
|
820
|
-
}, "
|
|
839
|
+
}, "strict", z.ZodTypeAny, {
|
|
821
840
|
attribute: string;
|
|
822
841
|
sourceAttribute: string;
|
|
823
842
|
}, {
|
|
824
843
|
attribute: string;
|
|
825
844
|
sourceAttribute: string;
|
|
826
845
|
}>;
|
|
827
|
-
}, "
|
|
846
|
+
}, "strict", z.ZodTypeAny, {
|
|
828
847
|
relativeString: {
|
|
829
848
|
attribute: string;
|
|
830
849
|
sourceAttribute: string;
|
|
@@ -840,7 +859,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
840
859
|
sourceAttribute: z.ZodString;
|
|
841
860
|
operator: z.ZodOptional<z.ZodEnum<["equals", "lessThan", "lessEquals", "greaterThan", "greaterEquals"]>>;
|
|
842
861
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
843
|
-
}, "
|
|
862
|
+
}, "strict", z.ZodTypeAny, {
|
|
844
863
|
attribute: string;
|
|
845
864
|
sourceAttribute: string;
|
|
846
865
|
offset?: number | undefined;
|
|
@@ -851,7 +870,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
851
870
|
offset?: number | undefined;
|
|
852
871
|
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
|
|
853
872
|
}>;
|
|
854
|
-
}, "
|
|
873
|
+
}, "strict", z.ZodTypeAny, {
|
|
855
874
|
relativeNumber: {
|
|
856
875
|
attribute: string;
|
|
857
876
|
sourceAttribute: string;
|
|
@@ -869,14 +888,14 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
869
888
|
relativeBoolean: z.ZodObject<{
|
|
870
889
|
attribute: z.ZodString;
|
|
871
890
|
sourceAttribute: z.ZodString;
|
|
872
|
-
}, "
|
|
891
|
+
}, "strict", z.ZodTypeAny, {
|
|
873
892
|
attribute: string;
|
|
874
893
|
sourceAttribute: string;
|
|
875
894
|
}, {
|
|
876
895
|
attribute: string;
|
|
877
896
|
sourceAttribute: string;
|
|
878
897
|
}>;
|
|
879
|
-
}, "
|
|
898
|
+
}, "strict", z.ZodTypeAny, {
|
|
880
899
|
relativeBoolean: {
|
|
881
900
|
attribute: string;
|
|
882
901
|
sourceAttribute: string;
|
|
@@ -887,20 +906,20 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
887
906
|
sourceAttribute: string;
|
|
888
907
|
};
|
|
889
908
|
}>, z.ZodObject<{
|
|
890
|
-
relativeSpace: z.ZodObject<{}, "
|
|
891
|
-
}, "
|
|
909
|
+
relativeSpace: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
910
|
+
}, "strict", z.ZodTypeAny, {
|
|
892
911
|
relativeSpace: {};
|
|
893
912
|
}, {
|
|
894
913
|
relativeSpace: {};
|
|
895
914
|
}>, z.ZodObject<{
|
|
896
915
|
relativeUid: z.ZodObject<{
|
|
897
916
|
operator: z.ZodString;
|
|
898
|
-
}, "
|
|
917
|
+
}, "strict", z.ZodTypeAny, {
|
|
899
918
|
operator: string;
|
|
900
919
|
}, {
|
|
901
920
|
operator: string;
|
|
902
921
|
}>;
|
|
903
|
-
}, "
|
|
922
|
+
}, "strict", z.ZodTypeAny, {
|
|
904
923
|
relativeUid: {
|
|
905
924
|
operator: string;
|
|
906
925
|
};
|
|
@@ -912,14 +931,14 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
912
931
|
relativeBuiltinReference: z.ZodObject<{
|
|
913
932
|
attribute: z.ZodString;
|
|
914
933
|
operator: z.ZodString;
|
|
915
|
-
}, "
|
|
934
|
+
}, "strict", z.ZodTypeAny, {
|
|
916
935
|
attribute: string;
|
|
917
936
|
operator: string;
|
|
918
937
|
}, {
|
|
919
938
|
attribute: string;
|
|
920
939
|
operator: string;
|
|
921
940
|
}>;
|
|
922
|
-
}, "
|
|
941
|
+
}, "strict", z.ZodTypeAny, {
|
|
923
942
|
relativeBuiltinReference: {
|
|
924
943
|
attribute: string;
|
|
925
944
|
operator: string;
|
|
@@ -933,12 +952,12 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
933
952
|
or: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
934
953
|
name: z.ZodObject<{
|
|
935
954
|
equals: z.ZodString;
|
|
936
|
-
}, "
|
|
955
|
+
}, "strict", z.ZodTypeAny, {
|
|
937
956
|
equals: string;
|
|
938
957
|
}, {
|
|
939
958
|
equals: string;
|
|
940
959
|
}>;
|
|
941
|
-
}, "
|
|
960
|
+
}, "strict", z.ZodTypeAny, {
|
|
942
961
|
name: {
|
|
943
962
|
equals: string;
|
|
944
963
|
};
|
|
@@ -984,7 +1003,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
984
1003
|
is_empty?: boolean | undefined;
|
|
985
1004
|
is_not_empty?: boolean | undefined;
|
|
986
1005
|
}>;
|
|
987
|
-
}, "
|
|
1006
|
+
}, "strict", z.ZodTypeAny, {
|
|
988
1007
|
string: {
|
|
989
1008
|
equals?: string | undefined;
|
|
990
1009
|
not_equals?: string | undefined;
|
|
@@ -1052,7 +1071,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
1052
1071
|
less_than?: number | undefined;
|
|
1053
1072
|
less_than_or_equal_to?: number | undefined;
|
|
1054
1073
|
}>;
|
|
1055
|
-
}, "
|
|
1074
|
+
}, "strict", z.ZodTypeAny, {
|
|
1056
1075
|
number: {
|
|
1057
1076
|
equals?: number | undefined;
|
|
1058
1077
|
not_equals?: number | undefined;
|
|
@@ -1124,7 +1143,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
1124
1143
|
on_or_after?: string | undefined;
|
|
1125
1144
|
on_or_before?: string | undefined;
|
|
1126
1145
|
}>;
|
|
1127
|
-
}, "
|
|
1146
|
+
}, "strict", z.ZodTypeAny, {
|
|
1128
1147
|
date: {
|
|
1129
1148
|
equals?: string | undefined;
|
|
1130
1149
|
not_equals?: string | undefined;
|
|
@@ -1176,7 +1195,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
1176
1195
|
is_empty?: boolean | undefined;
|
|
1177
1196
|
is_not_empty?: boolean | undefined;
|
|
1178
1197
|
}>;
|
|
1179
|
-
}, "
|
|
1198
|
+
}, "strict", z.ZodTypeAny, {
|
|
1180
1199
|
reference: {
|
|
1181
1200
|
equals?: string | undefined;
|
|
1182
1201
|
not_equals?: string | undefined;
|
|
@@ -1210,7 +1229,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
1210
1229
|
equals?: boolean | undefined;
|
|
1211
1230
|
not_equals?: boolean | undefined;
|
|
1212
1231
|
}>;
|
|
1213
|
-
}, "
|
|
1232
|
+
}, "strict", z.ZodTypeAny, {
|
|
1214
1233
|
boolean: {
|
|
1215
1234
|
equals?: boolean | undefined;
|
|
1216
1235
|
not_equals?: boolean | undefined;
|
|
@@ -1226,14 +1245,14 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
1226
1245
|
relativeReference: z.ZodObject<{
|
|
1227
1246
|
attribute: z.ZodString;
|
|
1228
1247
|
operator: z.ZodString;
|
|
1229
|
-
}, "
|
|
1248
|
+
}, "strict", z.ZodTypeAny, {
|
|
1230
1249
|
attribute: string;
|
|
1231
1250
|
operator: string;
|
|
1232
1251
|
}, {
|
|
1233
1252
|
attribute: string;
|
|
1234
1253
|
operator: string;
|
|
1235
1254
|
}>;
|
|
1236
|
-
}, "
|
|
1255
|
+
}, "strict", z.ZodTypeAny, {
|
|
1237
1256
|
relativeReference: {
|
|
1238
1257
|
attribute: string;
|
|
1239
1258
|
operator: string;
|
|
@@ -1249,7 +1268,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
1249
1268
|
operator: z.ZodEnum<["equals", "lessThan", "lessEquals", "greaterThan", "greaterEquals"]>;
|
|
1250
1269
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
1251
1270
|
relativeToAttribute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1252
|
-
}, "
|
|
1271
|
+
}, "strict", z.ZodTypeAny, {
|
|
1253
1272
|
attribute: string;
|
|
1254
1273
|
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
|
|
1255
1274
|
offset?: number | undefined;
|
|
@@ -1260,7 +1279,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
1260
1279
|
offset?: number | undefined;
|
|
1261
1280
|
relativeToAttribute?: string | null | undefined;
|
|
1262
1281
|
}>;
|
|
1263
|
-
}, "
|
|
1282
|
+
}, "strict", z.ZodTypeAny, {
|
|
1264
1283
|
relativeDate: {
|
|
1265
1284
|
attribute: string;
|
|
1266
1285
|
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
|
|
@@ -1278,14 +1297,14 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
1278
1297
|
relativeString: z.ZodObject<{
|
|
1279
1298
|
attribute: z.ZodString;
|
|
1280
1299
|
sourceAttribute: z.ZodString;
|
|
1281
|
-
}, "
|
|
1300
|
+
}, "strict", z.ZodTypeAny, {
|
|
1282
1301
|
attribute: string;
|
|
1283
1302
|
sourceAttribute: string;
|
|
1284
1303
|
}, {
|
|
1285
1304
|
attribute: string;
|
|
1286
1305
|
sourceAttribute: string;
|
|
1287
1306
|
}>;
|
|
1288
|
-
}, "
|
|
1307
|
+
}, "strict", z.ZodTypeAny, {
|
|
1289
1308
|
relativeString: {
|
|
1290
1309
|
attribute: string;
|
|
1291
1310
|
sourceAttribute: string;
|
|
@@ -1301,7 +1320,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
1301
1320
|
sourceAttribute: z.ZodString;
|
|
1302
1321
|
operator: z.ZodOptional<z.ZodEnum<["equals", "lessThan", "lessEquals", "greaterThan", "greaterEquals"]>>;
|
|
1303
1322
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
1304
|
-
}, "
|
|
1323
|
+
}, "strict", z.ZodTypeAny, {
|
|
1305
1324
|
attribute: string;
|
|
1306
1325
|
sourceAttribute: string;
|
|
1307
1326
|
offset?: number | undefined;
|
|
@@ -1312,7 +1331,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
1312
1331
|
offset?: number | undefined;
|
|
1313
1332
|
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
|
|
1314
1333
|
}>;
|
|
1315
|
-
}, "
|
|
1334
|
+
}, "strict", z.ZodTypeAny, {
|
|
1316
1335
|
relativeNumber: {
|
|
1317
1336
|
attribute: string;
|
|
1318
1337
|
sourceAttribute: string;
|
|
@@ -1330,14 +1349,14 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
1330
1349
|
relativeBoolean: z.ZodObject<{
|
|
1331
1350
|
attribute: z.ZodString;
|
|
1332
1351
|
sourceAttribute: z.ZodString;
|
|
1333
|
-
}, "
|
|
1352
|
+
}, "strict", z.ZodTypeAny, {
|
|
1334
1353
|
attribute: string;
|
|
1335
1354
|
sourceAttribute: string;
|
|
1336
1355
|
}, {
|
|
1337
1356
|
attribute: string;
|
|
1338
1357
|
sourceAttribute: string;
|
|
1339
1358
|
}>;
|
|
1340
|
-
}, "
|
|
1359
|
+
}, "strict", z.ZodTypeAny, {
|
|
1341
1360
|
relativeBoolean: {
|
|
1342
1361
|
attribute: string;
|
|
1343
1362
|
sourceAttribute: string;
|
|
@@ -1348,20 +1367,20 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
1348
1367
|
sourceAttribute: string;
|
|
1349
1368
|
};
|
|
1350
1369
|
}>, z.ZodObject<{
|
|
1351
|
-
relativeSpace: z.ZodObject<{}, "
|
|
1352
|
-
}, "
|
|
1370
|
+
relativeSpace: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
1371
|
+
}, "strict", z.ZodTypeAny, {
|
|
1353
1372
|
relativeSpace: {};
|
|
1354
1373
|
}, {
|
|
1355
1374
|
relativeSpace: {};
|
|
1356
1375
|
}>, z.ZodObject<{
|
|
1357
1376
|
relativeUid: z.ZodObject<{
|
|
1358
1377
|
operator: z.ZodString;
|
|
1359
|
-
}, "
|
|
1378
|
+
}, "strict", z.ZodTypeAny, {
|
|
1360
1379
|
operator: string;
|
|
1361
1380
|
}, {
|
|
1362
1381
|
operator: string;
|
|
1363
1382
|
}>;
|
|
1364
|
-
}, "
|
|
1383
|
+
}, "strict", z.ZodTypeAny, {
|
|
1365
1384
|
relativeUid: {
|
|
1366
1385
|
operator: string;
|
|
1367
1386
|
};
|
|
@@ -1373,14 +1392,14 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
1373
1392
|
relativeBuiltinReference: z.ZodObject<{
|
|
1374
1393
|
attribute: z.ZodString;
|
|
1375
1394
|
operator: z.ZodString;
|
|
1376
|
-
}, "
|
|
1395
|
+
}, "strict", z.ZodTypeAny, {
|
|
1377
1396
|
attribute: string;
|
|
1378
1397
|
operator: string;
|
|
1379
1398
|
}, {
|
|
1380
1399
|
attribute: string;
|
|
1381
1400
|
operator: string;
|
|
1382
1401
|
}>;
|
|
1383
|
-
}, "
|
|
1402
|
+
}, "strict", z.ZodTypeAny, {
|
|
1384
1403
|
relativeBuiltinReference: {
|
|
1385
1404
|
attribute: string;
|
|
1386
1405
|
operator: string;
|
|
@@ -1391,7 +1410,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
1391
1410
|
operator: string;
|
|
1392
1411
|
};
|
|
1393
1412
|
}>]>, "many">;
|
|
1394
|
-
}, "
|
|
1413
|
+
}, "strict", z.ZodTypeAny, {
|
|
1395
1414
|
or: ({
|
|
1396
1415
|
relativeReference: {
|
|
1397
1416
|
attribute: string;
|
|
@@ -1580,7 +1599,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
1580
1599
|
attribute: string;
|
|
1581
1600
|
})[];
|
|
1582
1601
|
}>]>, "many">;
|
|
1583
|
-
}, "
|
|
1602
|
+
}, "strict", z.ZodTypeAny, {
|
|
1584
1603
|
and: ({
|
|
1585
1604
|
relativeReference: {
|
|
1586
1605
|
attribute: string;
|
|
@@ -1960,12 +1979,12 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
1960
1979
|
or: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
1961
1980
|
name: z.ZodObject<{
|
|
1962
1981
|
equals: z.ZodString;
|
|
1963
|
-
}, "
|
|
1982
|
+
}, "strict", z.ZodTypeAny, {
|
|
1964
1983
|
equals: string;
|
|
1965
1984
|
}, {
|
|
1966
1985
|
equals: string;
|
|
1967
1986
|
}>;
|
|
1968
|
-
}, "
|
|
1987
|
+
}, "strict", z.ZodTypeAny, {
|
|
1969
1988
|
name: {
|
|
1970
1989
|
equals: string;
|
|
1971
1990
|
};
|
|
@@ -2011,7 +2030,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
2011
2030
|
is_empty?: boolean | undefined;
|
|
2012
2031
|
is_not_empty?: boolean | undefined;
|
|
2013
2032
|
}>;
|
|
2014
|
-
}, "
|
|
2033
|
+
}, "strict", z.ZodTypeAny, {
|
|
2015
2034
|
string: {
|
|
2016
2035
|
equals?: string | undefined;
|
|
2017
2036
|
not_equals?: string | undefined;
|
|
@@ -2079,7 +2098,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
2079
2098
|
less_than?: number | undefined;
|
|
2080
2099
|
less_than_or_equal_to?: number | undefined;
|
|
2081
2100
|
}>;
|
|
2082
|
-
}, "
|
|
2101
|
+
}, "strict", z.ZodTypeAny, {
|
|
2083
2102
|
number: {
|
|
2084
2103
|
equals?: number | undefined;
|
|
2085
2104
|
not_equals?: number | undefined;
|
|
@@ -2151,7 +2170,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
2151
2170
|
on_or_after?: string | undefined;
|
|
2152
2171
|
on_or_before?: string | undefined;
|
|
2153
2172
|
}>;
|
|
2154
|
-
}, "
|
|
2173
|
+
}, "strict", z.ZodTypeAny, {
|
|
2155
2174
|
date: {
|
|
2156
2175
|
equals?: string | undefined;
|
|
2157
2176
|
not_equals?: string | undefined;
|
|
@@ -2203,7 +2222,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
2203
2222
|
is_empty?: boolean | undefined;
|
|
2204
2223
|
is_not_empty?: boolean | undefined;
|
|
2205
2224
|
}>;
|
|
2206
|
-
}, "
|
|
2225
|
+
}, "strict", z.ZodTypeAny, {
|
|
2207
2226
|
reference: {
|
|
2208
2227
|
equals?: string | undefined;
|
|
2209
2228
|
not_equals?: string | undefined;
|
|
@@ -2237,7 +2256,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
2237
2256
|
equals?: boolean | undefined;
|
|
2238
2257
|
not_equals?: boolean | undefined;
|
|
2239
2258
|
}>;
|
|
2240
|
-
}, "
|
|
2259
|
+
}, "strict", z.ZodTypeAny, {
|
|
2241
2260
|
boolean: {
|
|
2242
2261
|
equals?: boolean | undefined;
|
|
2243
2262
|
not_equals?: boolean | undefined;
|
|
@@ -2253,14 +2272,14 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
2253
2272
|
relativeReference: z.ZodObject<{
|
|
2254
2273
|
attribute: z.ZodString;
|
|
2255
2274
|
operator: z.ZodString;
|
|
2256
|
-
}, "
|
|
2275
|
+
}, "strict", z.ZodTypeAny, {
|
|
2257
2276
|
attribute: string;
|
|
2258
2277
|
operator: string;
|
|
2259
2278
|
}, {
|
|
2260
2279
|
attribute: string;
|
|
2261
2280
|
operator: string;
|
|
2262
2281
|
}>;
|
|
2263
|
-
}, "
|
|
2282
|
+
}, "strict", z.ZodTypeAny, {
|
|
2264
2283
|
relativeReference: {
|
|
2265
2284
|
attribute: string;
|
|
2266
2285
|
operator: string;
|
|
@@ -2276,7 +2295,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
2276
2295
|
operator: z.ZodEnum<["equals", "lessThan", "lessEquals", "greaterThan", "greaterEquals"]>;
|
|
2277
2296
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
2278
2297
|
relativeToAttribute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2279
|
-
}, "
|
|
2298
|
+
}, "strict", z.ZodTypeAny, {
|
|
2280
2299
|
attribute: string;
|
|
2281
2300
|
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
|
|
2282
2301
|
offset?: number | undefined;
|
|
@@ -2287,7 +2306,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
2287
2306
|
offset?: number | undefined;
|
|
2288
2307
|
relativeToAttribute?: string | null | undefined;
|
|
2289
2308
|
}>;
|
|
2290
|
-
}, "
|
|
2309
|
+
}, "strict", z.ZodTypeAny, {
|
|
2291
2310
|
relativeDate: {
|
|
2292
2311
|
attribute: string;
|
|
2293
2312
|
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
|
|
@@ -2305,14 +2324,14 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
2305
2324
|
relativeString: z.ZodObject<{
|
|
2306
2325
|
attribute: z.ZodString;
|
|
2307
2326
|
sourceAttribute: z.ZodString;
|
|
2308
|
-
}, "
|
|
2327
|
+
}, "strict", z.ZodTypeAny, {
|
|
2309
2328
|
attribute: string;
|
|
2310
2329
|
sourceAttribute: string;
|
|
2311
2330
|
}, {
|
|
2312
2331
|
attribute: string;
|
|
2313
2332
|
sourceAttribute: string;
|
|
2314
2333
|
}>;
|
|
2315
|
-
}, "
|
|
2334
|
+
}, "strict", z.ZodTypeAny, {
|
|
2316
2335
|
relativeString: {
|
|
2317
2336
|
attribute: string;
|
|
2318
2337
|
sourceAttribute: string;
|
|
@@ -2328,7 +2347,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
2328
2347
|
sourceAttribute: z.ZodString;
|
|
2329
2348
|
operator: z.ZodOptional<z.ZodEnum<["equals", "lessThan", "lessEquals", "greaterThan", "greaterEquals"]>>;
|
|
2330
2349
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
2331
|
-
}, "
|
|
2350
|
+
}, "strict", z.ZodTypeAny, {
|
|
2332
2351
|
attribute: string;
|
|
2333
2352
|
sourceAttribute: string;
|
|
2334
2353
|
offset?: number | undefined;
|
|
@@ -2339,7 +2358,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
2339
2358
|
offset?: number | undefined;
|
|
2340
2359
|
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
|
|
2341
2360
|
}>;
|
|
2342
|
-
}, "
|
|
2361
|
+
}, "strict", z.ZodTypeAny, {
|
|
2343
2362
|
relativeNumber: {
|
|
2344
2363
|
attribute: string;
|
|
2345
2364
|
sourceAttribute: string;
|
|
@@ -2357,14 +2376,14 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
2357
2376
|
relativeBoolean: z.ZodObject<{
|
|
2358
2377
|
attribute: z.ZodString;
|
|
2359
2378
|
sourceAttribute: z.ZodString;
|
|
2360
|
-
}, "
|
|
2379
|
+
}, "strict", z.ZodTypeAny, {
|
|
2361
2380
|
attribute: string;
|
|
2362
2381
|
sourceAttribute: string;
|
|
2363
2382
|
}, {
|
|
2364
2383
|
attribute: string;
|
|
2365
2384
|
sourceAttribute: string;
|
|
2366
2385
|
}>;
|
|
2367
|
-
}, "
|
|
2386
|
+
}, "strict", z.ZodTypeAny, {
|
|
2368
2387
|
relativeBoolean: {
|
|
2369
2388
|
attribute: string;
|
|
2370
2389
|
sourceAttribute: string;
|
|
@@ -2375,20 +2394,20 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
2375
2394
|
sourceAttribute: string;
|
|
2376
2395
|
};
|
|
2377
2396
|
}>, z.ZodObject<{
|
|
2378
|
-
relativeSpace: z.ZodObject<{}, "
|
|
2379
|
-
}, "
|
|
2397
|
+
relativeSpace: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
2398
|
+
}, "strict", z.ZodTypeAny, {
|
|
2380
2399
|
relativeSpace: {};
|
|
2381
2400
|
}, {
|
|
2382
2401
|
relativeSpace: {};
|
|
2383
2402
|
}>, z.ZodObject<{
|
|
2384
2403
|
relativeUid: z.ZodObject<{
|
|
2385
2404
|
operator: z.ZodString;
|
|
2386
|
-
}, "
|
|
2405
|
+
}, "strict", z.ZodTypeAny, {
|
|
2387
2406
|
operator: string;
|
|
2388
2407
|
}, {
|
|
2389
2408
|
operator: string;
|
|
2390
2409
|
}>;
|
|
2391
|
-
}, "
|
|
2410
|
+
}, "strict", z.ZodTypeAny, {
|
|
2392
2411
|
relativeUid: {
|
|
2393
2412
|
operator: string;
|
|
2394
2413
|
};
|
|
@@ -2400,14 +2419,14 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
2400
2419
|
relativeBuiltinReference: z.ZodObject<{
|
|
2401
2420
|
attribute: z.ZodString;
|
|
2402
2421
|
operator: z.ZodString;
|
|
2403
|
-
}, "
|
|
2422
|
+
}, "strict", z.ZodTypeAny, {
|
|
2404
2423
|
attribute: string;
|
|
2405
2424
|
operator: string;
|
|
2406
2425
|
}, {
|
|
2407
2426
|
attribute: string;
|
|
2408
2427
|
operator: string;
|
|
2409
2428
|
}>;
|
|
2410
|
-
}, "
|
|
2429
|
+
}, "strict", z.ZodTypeAny, {
|
|
2411
2430
|
relativeBuiltinReference: {
|
|
2412
2431
|
attribute: string;
|
|
2413
2432
|
operator: string;
|
|
@@ -2421,12 +2440,12 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
2421
2440
|
and: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
2422
2441
|
name: z.ZodObject<{
|
|
2423
2442
|
equals: z.ZodString;
|
|
2424
|
-
}, "
|
|
2443
|
+
}, "strict", z.ZodTypeAny, {
|
|
2425
2444
|
equals: string;
|
|
2426
2445
|
}, {
|
|
2427
2446
|
equals: string;
|
|
2428
2447
|
}>;
|
|
2429
|
-
}, "
|
|
2448
|
+
}, "strict", z.ZodTypeAny, {
|
|
2430
2449
|
name: {
|
|
2431
2450
|
equals: string;
|
|
2432
2451
|
};
|
|
@@ -2472,7 +2491,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
2472
2491
|
is_empty?: boolean | undefined;
|
|
2473
2492
|
is_not_empty?: boolean | undefined;
|
|
2474
2493
|
}>;
|
|
2475
|
-
}, "
|
|
2494
|
+
}, "strict", z.ZodTypeAny, {
|
|
2476
2495
|
string: {
|
|
2477
2496
|
equals?: string | undefined;
|
|
2478
2497
|
not_equals?: string | undefined;
|
|
@@ -2540,7 +2559,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
2540
2559
|
less_than?: number | undefined;
|
|
2541
2560
|
less_than_or_equal_to?: number | undefined;
|
|
2542
2561
|
}>;
|
|
2543
|
-
}, "
|
|
2562
|
+
}, "strict", z.ZodTypeAny, {
|
|
2544
2563
|
number: {
|
|
2545
2564
|
equals?: number | undefined;
|
|
2546
2565
|
not_equals?: number | undefined;
|
|
@@ -2612,7 +2631,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
2612
2631
|
on_or_after?: string | undefined;
|
|
2613
2632
|
on_or_before?: string | undefined;
|
|
2614
2633
|
}>;
|
|
2615
|
-
}, "
|
|
2634
|
+
}, "strict", z.ZodTypeAny, {
|
|
2616
2635
|
date: {
|
|
2617
2636
|
equals?: string | undefined;
|
|
2618
2637
|
not_equals?: string | undefined;
|
|
@@ -2664,7 +2683,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
2664
2683
|
is_empty?: boolean | undefined;
|
|
2665
2684
|
is_not_empty?: boolean | undefined;
|
|
2666
2685
|
}>;
|
|
2667
|
-
}, "
|
|
2686
|
+
}, "strict", z.ZodTypeAny, {
|
|
2668
2687
|
reference: {
|
|
2669
2688
|
equals?: string | undefined;
|
|
2670
2689
|
not_equals?: string | undefined;
|
|
@@ -2698,7 +2717,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
2698
2717
|
equals?: boolean | undefined;
|
|
2699
2718
|
not_equals?: boolean | undefined;
|
|
2700
2719
|
}>;
|
|
2701
|
-
}, "
|
|
2720
|
+
}, "strict", z.ZodTypeAny, {
|
|
2702
2721
|
boolean: {
|
|
2703
2722
|
equals?: boolean | undefined;
|
|
2704
2723
|
not_equals?: boolean | undefined;
|
|
@@ -2714,14 +2733,14 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
2714
2733
|
relativeReference: z.ZodObject<{
|
|
2715
2734
|
attribute: z.ZodString;
|
|
2716
2735
|
operator: z.ZodString;
|
|
2717
|
-
}, "
|
|
2736
|
+
}, "strict", z.ZodTypeAny, {
|
|
2718
2737
|
attribute: string;
|
|
2719
2738
|
operator: string;
|
|
2720
2739
|
}, {
|
|
2721
2740
|
attribute: string;
|
|
2722
2741
|
operator: string;
|
|
2723
2742
|
}>;
|
|
2724
|
-
}, "
|
|
2743
|
+
}, "strict", z.ZodTypeAny, {
|
|
2725
2744
|
relativeReference: {
|
|
2726
2745
|
attribute: string;
|
|
2727
2746
|
operator: string;
|
|
@@ -2737,7 +2756,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
2737
2756
|
operator: z.ZodEnum<["equals", "lessThan", "lessEquals", "greaterThan", "greaterEquals"]>;
|
|
2738
2757
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
2739
2758
|
relativeToAttribute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2740
|
-
}, "
|
|
2759
|
+
}, "strict", z.ZodTypeAny, {
|
|
2741
2760
|
attribute: string;
|
|
2742
2761
|
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
|
|
2743
2762
|
offset?: number | undefined;
|
|
@@ -2748,7 +2767,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
2748
2767
|
offset?: number | undefined;
|
|
2749
2768
|
relativeToAttribute?: string | null | undefined;
|
|
2750
2769
|
}>;
|
|
2751
|
-
}, "
|
|
2770
|
+
}, "strict", z.ZodTypeAny, {
|
|
2752
2771
|
relativeDate: {
|
|
2753
2772
|
attribute: string;
|
|
2754
2773
|
operator: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals";
|
|
@@ -2766,14 +2785,14 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
2766
2785
|
relativeString: z.ZodObject<{
|
|
2767
2786
|
attribute: z.ZodString;
|
|
2768
2787
|
sourceAttribute: z.ZodString;
|
|
2769
|
-
}, "
|
|
2788
|
+
}, "strict", z.ZodTypeAny, {
|
|
2770
2789
|
attribute: string;
|
|
2771
2790
|
sourceAttribute: string;
|
|
2772
2791
|
}, {
|
|
2773
2792
|
attribute: string;
|
|
2774
2793
|
sourceAttribute: string;
|
|
2775
2794
|
}>;
|
|
2776
|
-
}, "
|
|
2795
|
+
}, "strict", z.ZodTypeAny, {
|
|
2777
2796
|
relativeString: {
|
|
2778
2797
|
attribute: string;
|
|
2779
2798
|
sourceAttribute: string;
|
|
@@ -2789,7 +2808,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
2789
2808
|
sourceAttribute: z.ZodString;
|
|
2790
2809
|
operator: z.ZodOptional<z.ZodEnum<["equals", "lessThan", "lessEquals", "greaterThan", "greaterEquals"]>>;
|
|
2791
2810
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
2792
|
-
}, "
|
|
2811
|
+
}, "strict", z.ZodTypeAny, {
|
|
2793
2812
|
attribute: string;
|
|
2794
2813
|
sourceAttribute: string;
|
|
2795
2814
|
offset?: number | undefined;
|
|
@@ -2800,7 +2819,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
2800
2819
|
offset?: number | undefined;
|
|
2801
2820
|
operator?: "equals" | "lessThan" | "lessEquals" | "greaterThan" | "greaterEquals" | undefined;
|
|
2802
2821
|
}>;
|
|
2803
|
-
}, "
|
|
2822
|
+
}, "strict", z.ZodTypeAny, {
|
|
2804
2823
|
relativeNumber: {
|
|
2805
2824
|
attribute: string;
|
|
2806
2825
|
sourceAttribute: string;
|
|
@@ -2818,14 +2837,14 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
2818
2837
|
relativeBoolean: z.ZodObject<{
|
|
2819
2838
|
attribute: z.ZodString;
|
|
2820
2839
|
sourceAttribute: z.ZodString;
|
|
2821
|
-
}, "
|
|
2840
|
+
}, "strict", z.ZodTypeAny, {
|
|
2822
2841
|
attribute: string;
|
|
2823
2842
|
sourceAttribute: string;
|
|
2824
2843
|
}, {
|
|
2825
2844
|
attribute: string;
|
|
2826
2845
|
sourceAttribute: string;
|
|
2827
2846
|
}>;
|
|
2828
|
-
}, "
|
|
2847
|
+
}, "strict", z.ZodTypeAny, {
|
|
2829
2848
|
relativeBoolean: {
|
|
2830
2849
|
attribute: string;
|
|
2831
2850
|
sourceAttribute: string;
|
|
@@ -2836,20 +2855,20 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
2836
2855
|
sourceAttribute: string;
|
|
2837
2856
|
};
|
|
2838
2857
|
}>, z.ZodObject<{
|
|
2839
|
-
relativeSpace: z.ZodObject<{}, "
|
|
2840
|
-
}, "
|
|
2858
|
+
relativeSpace: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
2859
|
+
}, "strict", z.ZodTypeAny, {
|
|
2841
2860
|
relativeSpace: {};
|
|
2842
2861
|
}, {
|
|
2843
2862
|
relativeSpace: {};
|
|
2844
2863
|
}>, z.ZodObject<{
|
|
2845
2864
|
relativeUid: z.ZodObject<{
|
|
2846
2865
|
operator: z.ZodString;
|
|
2847
|
-
}, "
|
|
2866
|
+
}, "strict", z.ZodTypeAny, {
|
|
2848
2867
|
operator: string;
|
|
2849
2868
|
}, {
|
|
2850
2869
|
operator: string;
|
|
2851
2870
|
}>;
|
|
2852
|
-
}, "
|
|
2871
|
+
}, "strict", z.ZodTypeAny, {
|
|
2853
2872
|
relativeUid: {
|
|
2854
2873
|
operator: string;
|
|
2855
2874
|
};
|
|
@@ -2861,14 +2880,14 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
2861
2880
|
relativeBuiltinReference: z.ZodObject<{
|
|
2862
2881
|
attribute: z.ZodString;
|
|
2863
2882
|
operator: z.ZodString;
|
|
2864
|
-
}, "
|
|
2883
|
+
}, "strict", z.ZodTypeAny, {
|
|
2865
2884
|
attribute: string;
|
|
2866
2885
|
operator: string;
|
|
2867
2886
|
}, {
|
|
2868
2887
|
attribute: string;
|
|
2869
2888
|
operator: string;
|
|
2870
2889
|
}>;
|
|
2871
|
-
}, "
|
|
2890
|
+
}, "strict", z.ZodTypeAny, {
|
|
2872
2891
|
relativeBuiltinReference: {
|
|
2873
2892
|
attribute: string;
|
|
2874
2893
|
operator: string;
|
|
@@ -2879,7 +2898,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
2879
2898
|
operator: string;
|
|
2880
2899
|
};
|
|
2881
2900
|
}>]>, "many">;
|
|
2882
|
-
}, "
|
|
2901
|
+
}, "strict", z.ZodTypeAny, {
|
|
2883
2902
|
and: ({
|
|
2884
2903
|
relativeReference: {
|
|
2885
2904
|
attribute: string;
|
|
@@ -3068,7 +3087,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
3068
3087
|
attribute: string;
|
|
3069
3088
|
})[];
|
|
3070
3089
|
}>]>, "many">;
|
|
3071
|
-
}, "
|
|
3090
|
+
}, "strict", z.ZodTypeAny, {
|
|
3072
3091
|
or: ({
|
|
3073
3092
|
relativeReference: {
|
|
3074
3093
|
attribute: string;
|
|
@@ -3923,9 +3942,10 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
3923
3942
|
readonly annotations: {
|
|
3924
3943
|
readonly title: "Search Pages";
|
|
3925
3944
|
};
|
|
3945
|
+
readonly guards: readonly [Guard];
|
|
3926
3946
|
};
|
|
3927
3947
|
readonly cplace_search_pages_fulltext: {
|
|
3928
|
-
readonly description: "Search for pages by text content in cplace. Optionally filter by type and workspace. Use this for simple keyword searches.\n\nPicking a search tool: use cplace_search_pages when results must be narrowed by attribute values, dates or references; use cplace_list_pages_of_type to list every page of one type in one workspace with no keyword and no filtering.\n\nRichString attributes appear in decoded form: `<decoded-widget id=\"…\" type=\"…\">{\"properties\":{…}}</decoded-widget>` — no base64.";
|
|
3948
|
+
readonly description: "Search for pages by text content in cplace. Optionally filter by type and workspace. Use this for simple keyword searches.\n\nPicking a search tool: use cplace_search_pages when results must be narrowed by attribute values, dates or references; use cplace_list_pages_of_type to list every page of one type in one workspace with no keyword and no filtering; use cplace_search_pages_csv for an attribute search as CSV.\n\nRichString attributes appear in decoded form: `<decoded-widget id=\"…\" type=\"…\">{\"properties\":{…}}</decoded-widget>` — no base64.";
|
|
3929
3949
|
readonly inputSchema: {
|
|
3930
3950
|
readonly workspaceId: z.ZodOptional<z.ZodString>;
|
|
3931
3951
|
readonly fulltext: z.ZodString;
|
|
@@ -3939,7 +3959,7 @@ export declare const SEARCH_TOOL_DEFINITIONS: {
|
|
|
3939
3959
|
};
|
|
3940
3960
|
};
|
|
3941
3961
|
readonly cplace_list_pages_of_type: {
|
|
3942
|
-
readonly description: "List every page of one type in one workspace in cplace. Use this when the whole set is wanted and no filtering is needed
|
|
3962
|
+
readonly description: "List every page of one type in one workspace in cplace. Use this when the whole set is wanted and no filtering is needed.\n\nPicking a search tool: use cplace_search_pages when results must be narrowed by attribute values, dates or references, or when searching across all workspaces; use cplace_search_pages_fulltext for a keyword search; use cplace_search_pages_csv for an attribute search as CSV.\n\nRichString attributes appear in decoded form: `<decoded-widget id=\"…\" type=\"…\">{\"properties\":{…}}</decoded-widget>` — no base64.";
|
|
3943
3963
|
readonly inputSchema: {
|
|
3944
3964
|
readonly workspaceId: z.ZodString;
|
|
3945
3965
|
readonly typeInternalName: z.ZodString;
|