@nestr/mcp 0.1.73 → 0.1.89

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.
Files changed (45) hide show
  1. package/build/api/client.d.ts +30 -2
  2. package/build/api/client.d.ts.map +1 -1
  3. package/build/api/client.js +38 -3
  4. package/build/api/client.js.map +1 -1
  5. package/build/help/articles.d.ts +146 -0
  6. package/build/help/articles.d.ts.map +1 -0
  7. package/build/help/articles.js +574 -0
  8. package/build/help/articles.js.map +1 -0
  9. package/build/help/cross-links.d.ts +21 -0
  10. package/build/help/cross-links.d.ts.map +1 -0
  11. package/build/help/cross-links.js +61 -0
  12. package/build/help/cross-links.js.map +1 -0
  13. package/build/help/topics.d.ts.map +1 -1
  14. package/build/help/topics.js +312 -12
  15. package/build/help/topics.js.map +1 -1
  16. package/build/http.d.ts +4 -13
  17. package/build/http.d.ts.map +1 -1
  18. package/build/http.js +341 -89
  19. package/build/http.js.map +1 -1
  20. package/build/oauth/client-info.d.ts +58 -0
  21. package/build/oauth/client-info.d.ts.map +1 -0
  22. package/build/oauth/client-info.js +68 -0
  23. package/build/oauth/client-info.js.map +1 -0
  24. package/build/oauth/config.d.ts +19 -0
  25. package/build/oauth/config.d.ts.map +1 -1
  26. package/build/oauth/config.js +12 -0
  27. package/build/oauth/config.js.map +1 -1
  28. package/build/server.d.ts +7 -0
  29. package/build/server.d.ts.map +1 -1
  30. package/build/server.js +23 -4
  31. package/build/server.js.map +1 -1
  32. package/build/skills/tension-processing.d.ts.map +1 -1
  33. package/build/skills/tension-processing.js +11 -1
  34. package/build/skills/tension-processing.js.map +1 -1
  35. package/build/tools/index.d.ts +493 -13
  36. package/build/tools/index.d.ts.map +1 -1
  37. package/build/tools/index.js +509 -58
  38. package/build/tools/index.js.map +1 -1
  39. package/build/tools/validation.d.ts +42 -0
  40. package/build/tools/validation.d.ts.map +1 -0
  41. package/build/tools/validation.js +97 -0
  42. package/build/tools/validation.js.map +1 -0
  43. package/package.json +2 -1
  44. package/web/index.html +25 -0
  45. package/web/styles.css +62 -0
@@ -5,6 +5,13 @@
5
5
  import { z } from "zod";
6
6
  import { type NestrClient } from "../api/client.js";
7
7
  import type { DiagnoseSnapshot } from "../util/diagnose.js";
8
+ export declare const PUBLIC_TOOL_NAMES: ReadonlySet<string>;
9
+ export declare const PUBLIC_GUEST_ME: {
10
+ readonly authMode: "public";
11
+ readonly user: null;
12
+ readonly mode: "guest";
13
+ readonly hint: "Guest mode: product help only. Add AI credit / sign in for workspace tools.";
14
+ };
8
15
  type CompletableSource = "inbox" | "daily-plan" | "children" | "projects" | "search";
9
16
  export declare function completableResponse(data: unknown, source: CompletableSource, title: string): {
10
17
  title: string;
@@ -20,7 +27,33 @@ export declare function compactResponse<T>(data: T[] | {
20
27
  meta?: unknown;
21
28
  data: Partial<T>[];
22
29
  } | T;
30
+ /**
31
+ * Single endpoint object the API returns inside hint.endpoints.
32
+ * `body_example` is intentionally snake_case — it's a passthrough from the API.
33
+ */
34
+ export interface ApiHintEndpoint {
35
+ purpose: string;
36
+ method: string;
37
+ path: string;
38
+ body_example?: Record<string, unknown>;
39
+ }
40
+ /**
41
+ * Per-endpoint MCP-tool guidance produced by translateEndpoint.
42
+ * Field names follow this codebase's camelCase convention (e.g. `toolCall`).
43
+ */
44
+ export interface EnrichedToolCall {
45
+ tool: string;
46
+ purpose: string;
47
+ parametersExample: Record<string, unknown>;
48
+ notes?: string;
49
+ }
50
+ /**
51
+ * Translate one API hint endpoint into an MCP tool-call suggestion.
52
+ * Returns null for routes we don't have a mapping for — never guesses a tool.
53
+ */
54
+ export declare function translateEndpoint(endpoint: ApiHintEndpoint): EnrichedToolCall | null;
23
55
  export declare function enrichHints<T>(data: T): T;
56
+ export declare function addNestUrls<T>(data: T): T;
24
57
  export declare const schemas: {
25
58
  listWorkspaces: z.ZodObject<{
26
59
  search: z.ZodOptional<z.ZodString>;
@@ -208,22 +241,28 @@ export declare const schemas: {
208
241
  addComment: z.ZodObject<{
209
242
  nestId: z.ZodString;
210
243
  body: z.ZodString;
244
+ labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
211
245
  }, "strip", z.ZodTypeAny, {
212
246
  nestId: string;
213
247
  body: string;
248
+ labels?: string[] | undefined;
214
249
  }, {
215
250
  nestId: string;
216
251
  body: string;
252
+ labels?: string[] | undefined;
217
253
  }>;
218
254
  updateComment: z.ZodObject<{
219
255
  commentId: z.ZodString;
220
256
  body: z.ZodString;
257
+ labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
221
258
  }, "strip", z.ZodTypeAny, {
222
259
  body: string;
223
260
  commentId: string;
261
+ labels?: string[] | undefined;
224
262
  }, {
225
263
  body: string;
226
264
  commentId: string;
265
+ labels?: string[] | undefined;
227
266
  }>;
228
267
  deleteComment: z.ZodObject<{
229
268
  commentId: z.ZodString;
@@ -353,13 +392,13 @@ export declare const schemas: {
353
392
  }>;
354
393
  getComments: z.ZodObject<{
355
394
  nestId: z.ZodString;
356
- depth: z.ZodOptional<z.ZodNumber>;
395
+ depth: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"all">]>>;
357
396
  }, "strip", z.ZodTypeAny, {
358
397
  nestId: string;
359
- depth?: number | undefined;
398
+ depth?: number | "all" | undefined;
360
399
  }, {
361
400
  nestId: string;
362
- depth?: number | undefined;
401
+ depth?: number | "all" | undefined;
363
402
  }>;
364
403
  getCircle: z.ZodObject<{
365
404
  workspaceId: z.ZodString;
@@ -699,7 +738,7 @@ export declare const schemas: {
699
738
  nestId: string;
700
739
  tensionId: string;
701
740
  }>;
702
- addTensionPart: z.ZodObject<{
741
+ addTensionPart: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
703
742
  nestId: z.ZodString;
704
743
  tensionId: z.ZodString;
705
744
  _id: z.ZodOptional<z.ZodString>;
@@ -712,6 +751,8 @@ export declare const schemas: {
712
751
  due: z.ZodOptional<z.ZodString>;
713
752
  accountabilities: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], unknown>>;
714
753
  domains: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], unknown>>;
754
+ roleId: z.ZodOptional<z.ZodString>;
755
+ removeNest: z.ZodOptional<z.ZodBoolean>;
715
756
  }, "strip", z.ZodTypeAny, {
716
757
  nestId: string;
717
758
  tensionId: string;
@@ -725,6 +766,38 @@ export declare const schemas: {
725
766
  users?: string[] | undefined;
726
767
  accountabilities?: string[] | undefined;
727
768
  domains?: string[] | undefined;
769
+ roleId?: string | undefined;
770
+ removeNest?: boolean | undefined;
771
+ }, {
772
+ nestId: string;
773
+ tensionId: string;
774
+ _id?: string | undefined;
775
+ title?: string | undefined;
776
+ purpose?: string | undefined;
777
+ description?: string | undefined;
778
+ parentId?: string | undefined;
779
+ labels?: unknown;
780
+ due?: string | undefined;
781
+ users?: unknown;
782
+ accountabilities?: unknown;
783
+ domains?: unknown;
784
+ roleId?: string | undefined;
785
+ removeNest?: boolean | undefined;
786
+ }>, {
787
+ nestId: string;
788
+ tensionId: string;
789
+ _id?: string | undefined;
790
+ title?: string | undefined;
791
+ purpose?: string | undefined;
792
+ description?: string | undefined;
793
+ parentId?: string | undefined;
794
+ labels?: string[] | undefined;
795
+ due?: string | undefined;
796
+ users?: string[] | undefined;
797
+ accountabilities?: string[] | undefined;
798
+ domains?: string[] | undefined;
799
+ roleId?: string | undefined;
800
+ removeNest?: boolean | undefined;
728
801
  }, {
729
802
  nestId: string;
730
803
  tensionId: string;
@@ -738,6 +811,68 @@ export declare const schemas: {
738
811
  users?: unknown;
739
812
  accountabilities?: unknown;
740
813
  domains?: unknown;
814
+ roleId?: string | undefined;
815
+ removeNest?: boolean | undefined;
816
+ }>, {
817
+ nestId: string;
818
+ tensionId: string;
819
+ _id?: string | undefined;
820
+ title?: string | undefined;
821
+ purpose?: string | undefined;
822
+ description?: string | undefined;
823
+ parentId?: string | undefined;
824
+ labels?: string[] | undefined;
825
+ due?: string | undefined;
826
+ users?: string[] | undefined;
827
+ accountabilities?: string[] | undefined;
828
+ domains?: string[] | undefined;
829
+ roleId?: string | undefined;
830
+ removeNest?: boolean | undefined;
831
+ }, {
832
+ nestId: string;
833
+ tensionId: string;
834
+ _id?: string | undefined;
835
+ title?: string | undefined;
836
+ purpose?: string | undefined;
837
+ description?: string | undefined;
838
+ parentId?: string | undefined;
839
+ labels?: unknown;
840
+ due?: string | undefined;
841
+ users?: unknown;
842
+ accountabilities?: unknown;
843
+ domains?: unknown;
844
+ roleId?: string | undefined;
845
+ removeNest?: boolean | undefined;
846
+ }>, {
847
+ nestId: string;
848
+ tensionId: string;
849
+ _id?: string | undefined;
850
+ title?: string | undefined;
851
+ purpose?: string | undefined;
852
+ description?: string | undefined;
853
+ parentId?: string | undefined;
854
+ labels?: string[] | undefined;
855
+ due?: string | undefined;
856
+ users?: string[] | undefined;
857
+ accountabilities?: string[] | undefined;
858
+ domains?: string[] | undefined;
859
+ roleId?: string | undefined;
860
+ removeNest?: boolean | undefined;
861
+ }, {
862
+ nestId: string;
863
+ tensionId: string;
864
+ _id?: string | undefined;
865
+ title?: string | undefined;
866
+ purpose?: string | undefined;
867
+ description?: string | undefined;
868
+ parentId?: string | undefined;
869
+ labels?: unknown;
870
+ due?: string | undefined;
871
+ users?: unknown;
872
+ accountabilities?: unknown;
873
+ domains?: unknown;
874
+ roleId?: string | undefined;
875
+ removeNest?: boolean | undefined;
741
876
  }>;
742
877
  modifyTensionPart: z.ZodObject<{
743
878
  nestId: z.ZodString;
@@ -940,12 +1075,36 @@ export declare const schemas: {
940
1075
  relation: string;
941
1076
  targetId: string;
942
1077
  }>;
943
- help: z.ZodObject<{
944
- topic: z.ZodString;
1078
+ help: z.ZodEffects<z.ZodObject<{
1079
+ topic: z.ZodOptional<z.ZodString>;
1080
+ search: z.ZodOptional<z.ZodString>;
1081
+ includeImages: z.ZodOptional<z.ZodBoolean>;
1082
+ imageIndexes: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>, number[] | undefined, unknown>;
1083
+ maxImages: z.ZodEffects<z.ZodOptional<z.ZodNumber>, number | undefined, unknown>;
945
1084
  }, "strip", z.ZodTypeAny, {
946
- topic: string;
1085
+ search?: string | undefined;
1086
+ topic?: string | undefined;
1087
+ includeImages?: boolean | undefined;
1088
+ imageIndexes?: number[] | undefined;
1089
+ maxImages?: number | undefined;
1090
+ }, {
1091
+ search?: string | undefined;
1092
+ topic?: string | undefined;
1093
+ includeImages?: boolean | undefined;
1094
+ imageIndexes?: unknown;
1095
+ maxImages?: unknown;
1096
+ }>, {
1097
+ search?: string | undefined;
1098
+ topic?: string | undefined;
1099
+ includeImages?: boolean | undefined;
1100
+ imageIndexes?: number[] | undefined;
1101
+ maxImages?: number | undefined;
947
1102
  }, {
948
- topic: string;
1103
+ search?: string | undefined;
1104
+ topic?: string | undefined;
1105
+ includeImages?: boolean | undefined;
1106
+ imageIndexes?: unknown;
1107
+ maxImages?: unknown;
949
1108
  }>;
950
1109
  diagnose: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
951
1110
  };
@@ -963,7 +1122,27 @@ export declare const toolDefinitions: ({
963
1122
  type: string;
964
1123
  description: string;
965
1124
  };
966
- search?: undefined;
1125
+ search: {
1126
+ type: string;
1127
+ description: string;
1128
+ };
1129
+ includeImages: {
1130
+ type: string;
1131
+ description: string;
1132
+ };
1133
+ imageIndexes: {
1134
+ type: string;
1135
+ items: {
1136
+ type: string;
1137
+ minimum: number;
1138
+ };
1139
+ description: string;
1140
+ };
1141
+ maxImages: {
1142
+ type: string;
1143
+ minimum: number;
1144
+ description: string;
1145
+ };
967
1146
  limit?: undefined;
968
1147
  page?: undefined;
969
1148
  stripDescription?: undefined;
@@ -1020,6 +1199,8 @@ export declare const toolDefinitions: ({
1020
1199
  tensionId?: undefined;
1021
1200
  order?: undefined;
1022
1201
  _id?: undefined;
1202
+ roleId?: undefined;
1203
+ removeNest?: undefined;
1023
1204
  partId?: undefined;
1024
1205
  childId?: undefined;
1025
1206
  status?: undefined;
@@ -1027,7 +1208,7 @@ export declare const toolDefinitions: ({
1027
1208
  direction?: undefined;
1028
1209
  targetId?: undefined;
1029
1210
  };
1030
- required: string[];
1211
+ required?: undefined;
1031
1212
  };
1032
1213
  } | {
1033
1214
  annotations: {
@@ -1041,6 +1222,9 @@ export declare const toolDefinitions: ({
1041
1222
  properties: {
1042
1223
  topic?: undefined;
1043
1224
  search?: undefined;
1225
+ includeImages?: undefined;
1226
+ imageIndexes?: undefined;
1227
+ maxImages?: undefined;
1044
1228
  limit?: undefined;
1045
1229
  page?: undefined;
1046
1230
  stripDescription?: undefined;
@@ -1097,6 +1281,8 @@ export declare const toolDefinitions: ({
1097
1281
  tensionId?: undefined;
1098
1282
  order?: undefined;
1099
1283
  _id?: undefined;
1284
+ roleId?: undefined;
1285
+ removeNest?: undefined;
1100
1286
  partId?: undefined;
1101
1287
  childId?: undefined;
1102
1288
  status?: undefined;
@@ -1133,6 +1319,9 @@ export declare const toolDefinitions: ({
1133
1319
  description: string;
1134
1320
  };
1135
1321
  topic?: undefined;
1322
+ includeImages?: undefined;
1323
+ imageIndexes?: undefined;
1324
+ maxImages?: undefined;
1136
1325
  workspaceId?: undefined;
1137
1326
  title?: undefined;
1138
1327
  purpose?: undefined;
@@ -1186,6 +1375,8 @@ export declare const toolDefinitions: ({
1186
1375
  tensionId?: undefined;
1187
1376
  order?: undefined;
1188
1377
  _id?: undefined;
1378
+ roleId?: undefined;
1379
+ removeNest?: undefined;
1189
1380
  partId?: undefined;
1190
1381
  childId?: undefined;
1191
1382
  status?: undefined;
@@ -1215,6 +1406,9 @@ export declare const toolDefinitions: ({
1215
1406
  };
1216
1407
  topic?: undefined;
1217
1408
  search?: undefined;
1409
+ includeImages?: undefined;
1410
+ imageIndexes?: undefined;
1411
+ maxImages?: undefined;
1218
1412
  limit?: undefined;
1219
1413
  page?: undefined;
1220
1414
  title?: undefined;
@@ -1269,6 +1463,8 @@ export declare const toolDefinitions: ({
1269
1463
  tensionId?: undefined;
1270
1464
  order?: undefined;
1271
1465
  _id?: undefined;
1466
+ roleId?: undefined;
1467
+ removeNest?: undefined;
1272
1468
  partId?: undefined;
1273
1469
  childId?: undefined;
1274
1470
  status?: undefined;
@@ -1326,6 +1522,9 @@ export declare const toolDefinitions: ({
1326
1522
  };
1327
1523
  topic?: undefined;
1328
1524
  search?: undefined;
1525
+ includeImages?: undefined;
1526
+ imageIndexes?: undefined;
1527
+ maxImages?: undefined;
1329
1528
  limit?: undefined;
1330
1529
  page?: undefined;
1331
1530
  stripDescription?: undefined;
@@ -1375,6 +1574,8 @@ export declare const toolDefinitions: ({
1375
1574
  tensionId?: undefined;
1376
1575
  order?: undefined;
1377
1576
  _id?: undefined;
1577
+ roleId?: undefined;
1578
+ removeNest?: undefined;
1378
1579
  partId?: undefined;
1379
1580
  childId?: undefined;
1380
1581
  status?: undefined;
@@ -1420,6 +1621,9 @@ export declare const toolDefinitions: ({
1420
1621
  };
1421
1622
  topic?: undefined;
1422
1623
  search?: undefined;
1624
+ includeImages?: undefined;
1625
+ imageIndexes?: undefined;
1626
+ maxImages?: undefined;
1423
1627
  title?: undefined;
1424
1628
  purpose?: undefined;
1425
1629
  type?: undefined;
@@ -1470,6 +1674,8 @@ export declare const toolDefinitions: ({
1470
1674
  tensionId?: undefined;
1471
1675
  order?: undefined;
1472
1676
  _id?: undefined;
1677
+ roleId?: undefined;
1678
+ removeNest?: undefined;
1473
1679
  partId?: undefined;
1474
1680
  childId?: undefined;
1475
1681
  status?: undefined;
@@ -1507,6 +1713,9 @@ export declare const toolDefinitions: ({
1507
1713
  };
1508
1714
  topic?: undefined;
1509
1715
  search?: undefined;
1716
+ includeImages?: undefined;
1717
+ imageIndexes?: undefined;
1718
+ maxImages?: undefined;
1510
1719
  limit?: undefined;
1511
1720
  page?: undefined;
1512
1721
  workspaceId?: undefined;
@@ -1559,6 +1768,8 @@ export declare const toolDefinitions: ({
1559
1768
  tensionId?: undefined;
1560
1769
  order?: undefined;
1561
1770
  _id?: undefined;
1771
+ roleId?: undefined;
1772
+ removeNest?: undefined;
1562
1773
  partId?: undefined;
1563
1774
  childId?: undefined;
1564
1775
  status?: undefined;
@@ -1604,6 +1815,9 @@ export declare const toolDefinitions: ({
1604
1815
  };
1605
1816
  topic?: undefined;
1606
1817
  search?: undefined;
1818
+ includeImages?: undefined;
1819
+ imageIndexes?: undefined;
1820
+ maxImages?: undefined;
1607
1821
  workspaceId?: undefined;
1608
1822
  title?: undefined;
1609
1823
  purpose?: undefined;
@@ -1654,6 +1868,8 @@ export declare const toolDefinitions: ({
1654
1868
  tensionId?: undefined;
1655
1869
  order?: undefined;
1656
1870
  _id?: undefined;
1871
+ roleId?: undefined;
1872
+ removeNest?: undefined;
1657
1873
  partId?: undefined;
1658
1874
  childId?: undefined;
1659
1875
  status?: undefined;
@@ -1727,6 +1943,9 @@ export declare const toolDefinitions: ({
1727
1943
  };
1728
1944
  topic?: undefined;
1729
1945
  search?: undefined;
1946
+ includeImages?: undefined;
1947
+ imageIndexes?: undefined;
1948
+ maxImages?: undefined;
1730
1949
  limit?: undefined;
1731
1950
  page?: undefined;
1732
1951
  stripDescription?: undefined;
@@ -1773,6 +1992,8 @@ export declare const toolDefinitions: ({
1773
1992
  tensionId?: undefined;
1774
1993
  order?: undefined;
1775
1994
  _id?: undefined;
1995
+ roleId?: undefined;
1996
+ removeNest?: undefined;
1776
1997
  partId?: undefined;
1777
1998
  childId?: undefined;
1778
1999
  status?: undefined;
@@ -1862,6 +2083,9 @@ export declare const toolDefinitions: ({
1862
2083
  };
1863
2084
  topic?: undefined;
1864
2085
  search?: undefined;
2086
+ includeImages?: undefined;
2087
+ imageIndexes?: undefined;
2088
+ maxImages?: undefined;
1865
2089
  limit?: undefined;
1866
2090
  page?: undefined;
1867
2091
  stripDescription?: undefined;
@@ -1904,6 +2128,8 @@ export declare const toolDefinitions: ({
1904
2128
  tensionId?: undefined;
1905
2129
  order?: undefined;
1906
2130
  _id?: undefined;
2131
+ roleId?: undefined;
2132
+ removeNest?: undefined;
1907
2133
  partId?: undefined;
1908
2134
  childId?: undefined;
1909
2135
  status?: undefined;
@@ -1929,6 +2155,9 @@ export declare const toolDefinitions: ({
1929
2155
  };
1930
2156
  topic?: undefined;
1931
2157
  search?: undefined;
2158
+ includeImages?: undefined;
2159
+ imageIndexes?: undefined;
2160
+ maxImages?: undefined;
1932
2161
  limit?: undefined;
1933
2162
  page?: undefined;
1934
2163
  stripDescription?: undefined;
@@ -1984,6 +2213,8 @@ export declare const toolDefinitions: ({
1984
2213
  tensionId?: undefined;
1985
2214
  order?: undefined;
1986
2215
  _id?: undefined;
2216
+ roleId?: undefined;
2217
+ removeNest?: undefined;
1987
2218
  partId?: undefined;
1988
2219
  childId?: undefined;
1989
2220
  status?: undefined;
@@ -2011,8 +2242,18 @@ export declare const toolDefinitions: ({
2011
2242
  type: string;
2012
2243
  description: string;
2013
2244
  };
2245
+ labels: {
2246
+ type: string;
2247
+ items: {
2248
+ type: string;
2249
+ };
2250
+ description: string;
2251
+ };
2014
2252
  topic?: undefined;
2015
2253
  search?: undefined;
2254
+ includeImages?: undefined;
2255
+ imageIndexes?: undefined;
2256
+ maxImages?: undefined;
2016
2257
  limit?: undefined;
2017
2258
  page?: undefined;
2018
2259
  stripDescription?: undefined;
@@ -2030,7 +2271,6 @@ export declare const toolDefinitions: ({
2030
2271
  hints?: undefined;
2031
2272
  parentId?: undefined;
2032
2273
  description?: undefined;
2033
- labels?: undefined;
2034
2274
  fields?: undefined;
2035
2275
  users?: undefined;
2036
2276
  accountabilities?: undefined;
@@ -2067,6 +2307,8 @@ export declare const toolDefinitions: ({
2067
2307
  tensionId?: undefined;
2068
2308
  order?: undefined;
2069
2309
  _id?: undefined;
2310
+ roleId?: undefined;
2311
+ removeNest?: undefined;
2070
2312
  partId?: undefined;
2071
2313
  childId?: undefined;
2072
2314
  status?: undefined;
@@ -2094,8 +2336,18 @@ export declare const toolDefinitions: ({
2094
2336
  type: string;
2095
2337
  description: string;
2096
2338
  };
2339
+ labels: {
2340
+ type: string;
2341
+ items: {
2342
+ type: string;
2343
+ };
2344
+ description: string;
2345
+ };
2097
2346
  topic?: undefined;
2098
2347
  search?: undefined;
2348
+ includeImages?: undefined;
2349
+ imageIndexes?: undefined;
2350
+ maxImages?: undefined;
2099
2351
  limit?: undefined;
2100
2352
  page?: undefined;
2101
2353
  stripDescription?: undefined;
@@ -2114,7 +2366,6 @@ export declare const toolDefinitions: ({
2114
2366
  hints?: undefined;
2115
2367
  parentId?: undefined;
2116
2368
  description?: undefined;
2117
- labels?: undefined;
2118
2369
  fields?: undefined;
2119
2370
  users?: undefined;
2120
2371
  accountabilities?: undefined;
@@ -2150,6 +2401,8 @@ export declare const toolDefinitions: ({
2150
2401
  tensionId?: undefined;
2151
2402
  order?: undefined;
2152
2403
  _id?: undefined;
2404
+ roleId?: undefined;
2405
+ removeNest?: undefined;
2153
2406
  partId?: undefined;
2154
2407
  childId?: undefined;
2155
2408
  status?: undefined;
@@ -2175,6 +2428,9 @@ export declare const toolDefinitions: ({
2175
2428
  };
2176
2429
  topic?: undefined;
2177
2430
  search?: undefined;
2431
+ includeImages?: undefined;
2432
+ imageIndexes?: undefined;
2433
+ maxImages?: undefined;
2178
2434
  limit?: undefined;
2179
2435
  page?: undefined;
2180
2436
  stripDescription?: undefined;
@@ -2230,6 +2486,8 @@ export declare const toolDefinitions: ({
2230
2486
  tensionId?: undefined;
2231
2487
  order?: undefined;
2232
2488
  _id?: undefined;
2489
+ roleId?: undefined;
2490
+ removeNest?: undefined;
2233
2491
  partId?: undefined;
2234
2492
  childId?: undefined;
2235
2493
  status?: undefined;
@@ -2267,6 +2525,9 @@ export declare const toolDefinitions: ({
2267
2525
  };
2268
2526
  topic?: undefined;
2269
2527
  search?: undefined;
2528
+ includeImages?: undefined;
2529
+ imageIndexes?: undefined;
2530
+ maxImages?: undefined;
2270
2531
  title?: undefined;
2271
2532
  purpose?: undefined;
2272
2533
  type?: undefined;
@@ -2319,6 +2580,8 @@ export declare const toolDefinitions: ({
2319
2580
  tensionId?: undefined;
2320
2581
  order?: undefined;
2321
2582
  _id?: undefined;
2583
+ roleId?: undefined;
2584
+ removeNest?: undefined;
2322
2585
  partId?: undefined;
2323
2586
  childId?: undefined;
2324
2587
  status?: undefined;
@@ -2360,6 +2623,9 @@ export declare const toolDefinitions: ({
2360
2623
  };
2361
2624
  topic?: undefined;
2362
2625
  search?: undefined;
2626
+ includeImages?: undefined;
2627
+ imageIndexes?: undefined;
2628
+ maxImages?: undefined;
2363
2629
  title?: undefined;
2364
2630
  purpose?: undefined;
2365
2631
  type?: undefined;
@@ -2411,6 +2677,8 @@ export declare const toolDefinitions: ({
2411
2677
  tensionId?: undefined;
2412
2678
  order?: undefined;
2413
2679
  _id?: undefined;
2680
+ roleId?: undefined;
2681
+ removeNest?: undefined;
2414
2682
  partId?: undefined;
2415
2683
  childId?: undefined;
2416
2684
  status?: undefined;
@@ -2452,6 +2720,9 @@ export declare const toolDefinitions: ({
2452
2720
  };
2453
2721
  topic?: undefined;
2454
2722
  search?: undefined;
2723
+ includeImages?: undefined;
2724
+ imageIndexes?: undefined;
2725
+ maxImages?: undefined;
2455
2726
  limit?: undefined;
2456
2727
  page?: undefined;
2457
2728
  stripDescription?: undefined;
@@ -2503,6 +2774,8 @@ export declare const toolDefinitions: ({
2503
2774
  tensionId?: undefined;
2504
2775
  order?: undefined;
2505
2776
  _id?: undefined;
2777
+ roleId?: undefined;
2778
+ removeNest?: undefined;
2506
2779
  partId?: undefined;
2507
2780
  childId?: undefined;
2508
2781
  status?: undefined;
@@ -2532,6 +2805,9 @@ export declare const toolDefinitions: ({
2532
2805
  };
2533
2806
  topic?: undefined;
2534
2807
  search?: undefined;
2808
+ includeImages?: undefined;
2809
+ imageIndexes?: undefined;
2810
+ maxImages?: undefined;
2535
2811
  limit?: undefined;
2536
2812
  page?: undefined;
2537
2813
  stripDescription?: undefined;
@@ -2586,6 +2862,8 @@ export declare const toolDefinitions: ({
2586
2862
  tensionId?: undefined;
2587
2863
  order?: undefined;
2588
2864
  _id?: undefined;
2865
+ roleId?: undefined;
2866
+ removeNest?: undefined;
2589
2867
  partId?: undefined;
2590
2868
  childId?: undefined;
2591
2869
  status?: undefined;
@@ -2622,6 +2900,9 @@ export declare const toolDefinitions: ({
2622
2900
  description: string;
2623
2901
  };
2624
2902
  topic?: undefined;
2903
+ includeImages?: undefined;
2904
+ imageIndexes?: undefined;
2905
+ maxImages?: undefined;
2625
2906
  stripDescription?: undefined;
2626
2907
  title?: undefined;
2627
2908
  purpose?: undefined;
@@ -2675,6 +2956,8 @@ export declare const toolDefinitions: ({
2675
2956
  tensionId?: undefined;
2676
2957
  order?: undefined;
2677
2958
  _id?: undefined;
2959
+ roleId?: undefined;
2960
+ removeNest?: undefined;
2678
2961
  partId?: undefined;
2679
2962
  childId?: undefined;
2680
2963
  status?: undefined;
@@ -2716,6 +2999,9 @@ export declare const toolDefinitions: ({
2716
2999
  };
2717
3000
  topic?: undefined;
2718
3001
  search?: undefined;
3002
+ includeImages?: undefined;
3003
+ imageIndexes?: undefined;
3004
+ maxImages?: undefined;
2719
3005
  title?: undefined;
2720
3006
  purpose?: undefined;
2721
3007
  type?: undefined;
@@ -2767,6 +3053,8 @@ export declare const toolDefinitions: ({
2767
3053
  tensionId?: undefined;
2768
3054
  order?: undefined;
2769
3055
  _id?: undefined;
3056
+ roleId?: undefined;
3057
+ removeNest?: undefined;
2770
3058
  partId?: undefined;
2771
3059
  childId?: undefined;
2772
3060
  status?: undefined;
@@ -2796,11 +3084,20 @@ export declare const toolDefinitions: ({
2796
3084
  description: string;
2797
3085
  };
2798
3086
  depth: {
2799
- type: string;
3087
+ oneOf: ({
3088
+ type: string;
3089
+ enum?: undefined;
3090
+ } | {
3091
+ type: string;
3092
+ enum: string[];
3093
+ })[];
2800
3094
  description: string;
2801
3095
  };
2802
3096
  topic?: undefined;
2803
3097
  search?: undefined;
3098
+ includeImages?: undefined;
3099
+ imageIndexes?: undefined;
3100
+ maxImages?: undefined;
2804
3101
  limit?: undefined;
2805
3102
  page?: undefined;
2806
3103
  stripDescription?: undefined;
@@ -2855,6 +3152,8 @@ export declare const toolDefinitions: ({
2855
3152
  tensionId?: undefined;
2856
3153
  order?: undefined;
2857
3154
  _id?: undefined;
3155
+ roleId?: undefined;
3156
+ removeNest?: undefined;
2858
3157
  partId?: undefined;
2859
3158
  childId?: undefined;
2860
3159
  status?: undefined;
@@ -2888,6 +3187,9 @@ export declare const toolDefinitions: ({
2888
3187
  };
2889
3188
  topic?: undefined;
2890
3189
  search?: undefined;
3190
+ includeImages?: undefined;
3191
+ imageIndexes?: undefined;
3192
+ maxImages?: undefined;
2891
3193
  limit?: undefined;
2892
3194
  page?: undefined;
2893
3195
  title?: undefined;
@@ -2941,6 +3243,8 @@ export declare const toolDefinitions: ({
2941
3243
  tensionId?: undefined;
2942
3244
  order?: undefined;
2943
3245
  _id?: undefined;
3246
+ roleId?: undefined;
3247
+ removeNest?: undefined;
2944
3248
  partId?: undefined;
2945
3249
  childId?: undefined;
2946
3250
  status?: undefined;
@@ -2970,6 +3274,9 @@ export declare const toolDefinitions: ({
2970
3274
  };
2971
3275
  topic?: undefined;
2972
3276
  search?: undefined;
3277
+ includeImages?: undefined;
3278
+ imageIndexes?: undefined;
3279
+ maxImages?: undefined;
2973
3280
  limit?: undefined;
2974
3281
  page?: undefined;
2975
3282
  stripDescription?: undefined;
@@ -3024,6 +3331,8 @@ export declare const toolDefinitions: ({
3024
3331
  tensionId?: undefined;
3025
3332
  order?: undefined;
3026
3333
  _id?: undefined;
3334
+ roleId?: undefined;
3335
+ removeNest?: undefined;
3027
3336
  partId?: undefined;
3028
3337
  childId?: undefined;
3029
3338
  status?: undefined;
@@ -3061,6 +3370,9 @@ export declare const toolDefinitions: ({
3061
3370
  };
3062
3371
  topic?: undefined;
3063
3372
  search?: undefined;
3373
+ includeImages?: undefined;
3374
+ imageIndexes?: undefined;
3375
+ maxImages?: undefined;
3064
3376
  limit?: undefined;
3065
3377
  page?: undefined;
3066
3378
  stripDescription?: undefined;
@@ -3113,6 +3425,8 @@ export declare const toolDefinitions: ({
3113
3425
  tensionId?: undefined;
3114
3426
  order?: undefined;
3115
3427
  _id?: undefined;
3428
+ roleId?: undefined;
3429
+ removeNest?: undefined;
3116
3430
  partId?: undefined;
3117
3431
  childId?: undefined;
3118
3432
  status?: undefined;
@@ -3142,6 +3456,9 @@ export declare const toolDefinitions: ({
3142
3456
  };
3143
3457
  topic?: undefined;
3144
3458
  search?: undefined;
3459
+ includeImages?: undefined;
3460
+ imageIndexes?: undefined;
3461
+ maxImages?: undefined;
3145
3462
  limit?: undefined;
3146
3463
  page?: undefined;
3147
3464
  stripDescription?: undefined;
@@ -3196,6 +3513,8 @@ export declare const toolDefinitions: ({
3196
3513
  tensionId?: undefined;
3197
3514
  order?: undefined;
3198
3515
  _id?: undefined;
3516
+ roleId?: undefined;
3517
+ removeNest?: undefined;
3199
3518
  partId?: undefined;
3200
3519
  childId?: undefined;
3201
3520
  status?: undefined;
@@ -3237,6 +3556,9 @@ export declare const toolDefinitions: ({
3237
3556
  };
3238
3557
  topic?: undefined;
3239
3558
  search?: undefined;
3559
+ includeImages?: undefined;
3560
+ imageIndexes?: undefined;
3561
+ maxImages?: undefined;
3240
3562
  page?: undefined;
3241
3563
  stripDescription?: undefined;
3242
3564
  title?: undefined;
@@ -3288,6 +3610,8 @@ export declare const toolDefinitions: ({
3288
3610
  tensionId?: undefined;
3289
3611
  order?: undefined;
3290
3612
  _id?: undefined;
3613
+ roleId?: undefined;
3614
+ removeNest?: undefined;
3291
3615
  partId?: undefined;
3292
3616
  childId?: undefined;
3293
3617
  status?: undefined;
@@ -3313,6 +3637,9 @@ export declare const toolDefinitions: ({
3313
3637
  };
3314
3638
  topic?: undefined;
3315
3639
  search?: undefined;
3640
+ includeImages?: undefined;
3641
+ imageIndexes?: undefined;
3642
+ maxImages?: undefined;
3316
3643
  limit?: undefined;
3317
3644
  page?: undefined;
3318
3645
  stripDescription?: undefined;
@@ -3368,6 +3695,8 @@ export declare const toolDefinitions: ({
3368
3695
  tensionId?: undefined;
3369
3696
  order?: undefined;
3370
3697
  _id?: undefined;
3698
+ roleId?: undefined;
3699
+ removeNest?: undefined;
3371
3700
  partId?: undefined;
3372
3701
  childId?: undefined;
3373
3702
  status?: undefined;
@@ -3397,6 +3726,9 @@ export declare const toolDefinitions: ({
3397
3726
  };
3398
3727
  topic?: undefined;
3399
3728
  search?: undefined;
3729
+ includeImages?: undefined;
3730
+ imageIndexes?: undefined;
3731
+ maxImages?: undefined;
3400
3732
  limit?: undefined;
3401
3733
  page?: undefined;
3402
3734
  workspaceId?: undefined;
@@ -3451,6 +3783,8 @@ export declare const toolDefinitions: ({
3451
3783
  tensionId?: undefined;
3452
3784
  order?: undefined;
3453
3785
  _id?: undefined;
3786
+ roleId?: undefined;
3787
+ removeNest?: undefined;
3454
3788
  partId?: undefined;
3455
3789
  childId?: undefined;
3456
3790
  status?: undefined;
@@ -3485,6 +3819,9 @@ export declare const toolDefinitions: ({
3485
3819
  };
3486
3820
  topic?: undefined;
3487
3821
  search?: undefined;
3822
+ includeImages?: undefined;
3823
+ imageIndexes?: undefined;
3824
+ maxImages?: undefined;
3488
3825
  limit?: undefined;
3489
3826
  page?: undefined;
3490
3827
  stripDescription?: undefined;
@@ -3539,6 +3876,8 @@ export declare const toolDefinitions: ({
3539
3876
  tensionId?: undefined;
3540
3877
  order?: undefined;
3541
3878
  _id?: undefined;
3879
+ roleId?: undefined;
3880
+ removeNest?: undefined;
3542
3881
  partId?: undefined;
3543
3882
  childId?: undefined;
3544
3883
  status?: undefined;
@@ -3568,6 +3907,9 @@ export declare const toolDefinitions: ({
3568
3907
  };
3569
3908
  topic?: undefined;
3570
3909
  search?: undefined;
3910
+ includeImages?: undefined;
3911
+ imageIndexes?: undefined;
3912
+ maxImages?: undefined;
3571
3913
  limit?: undefined;
3572
3914
  page?: undefined;
3573
3915
  workspaceId?: undefined;
@@ -3622,6 +3964,8 @@ export declare const toolDefinitions: ({
3622
3964
  tensionId?: undefined;
3623
3965
  order?: undefined;
3624
3966
  _id?: undefined;
3967
+ roleId?: undefined;
3968
+ removeNest?: undefined;
3625
3969
  partId?: undefined;
3626
3970
  childId?: undefined;
3627
3971
  status?: undefined;
@@ -3663,6 +4007,9 @@ export declare const toolDefinitions: ({
3663
4007
  };
3664
4008
  topic?: undefined;
3665
4009
  search?: undefined;
4010
+ includeImages?: undefined;
4011
+ imageIndexes?: undefined;
4012
+ maxImages?: undefined;
3666
4013
  limit?: undefined;
3667
4014
  page?: undefined;
3668
4015
  stripDescription?: undefined;
@@ -3714,6 +4061,8 @@ export declare const toolDefinitions: ({
3714
4061
  tensionId?: undefined;
3715
4062
  order?: undefined;
3716
4063
  _id?: undefined;
4064
+ roleId?: undefined;
4065
+ removeNest?: undefined;
3717
4066
  partId?: undefined;
3718
4067
  childId?: undefined;
3719
4068
  status?: undefined;
@@ -3742,6 +4091,9 @@ export declare const toolDefinitions: ({
3742
4091
  };
3743
4092
  topic?: undefined;
3744
4093
  search?: undefined;
4094
+ includeImages?: undefined;
4095
+ imageIndexes?: undefined;
4096
+ maxImages?: undefined;
3745
4097
  limit?: undefined;
3746
4098
  page?: undefined;
3747
4099
  stripDescription?: undefined;
@@ -3797,6 +4149,8 @@ export declare const toolDefinitions: ({
3797
4149
  tensionId?: undefined;
3798
4150
  order?: undefined;
3799
4151
  _id?: undefined;
4152
+ roleId?: undefined;
4153
+ removeNest?: undefined;
3800
4154
  partId?: undefined;
3801
4155
  childId?: undefined;
3802
4156
  status?: undefined;
@@ -3831,6 +4185,9 @@ export declare const toolDefinitions: ({
3831
4185
  };
3832
4186
  topic?: undefined;
3833
4187
  search?: undefined;
4188
+ includeImages?: undefined;
4189
+ imageIndexes?: undefined;
4190
+ maxImages?: undefined;
3834
4191
  limit?: undefined;
3835
4192
  page?: undefined;
3836
4193
  stripDescription?: undefined;
@@ -3884,6 +4241,8 @@ export declare const toolDefinitions: ({
3884
4241
  tensionId?: undefined;
3885
4242
  order?: undefined;
3886
4243
  _id?: undefined;
4244
+ roleId?: undefined;
4245
+ removeNest?: undefined;
3887
4246
  partId?: undefined;
3888
4247
  childId?: undefined;
3889
4248
  status?: undefined;
@@ -3921,6 +4280,9 @@ export declare const toolDefinitions: ({
3921
4280
  };
3922
4281
  topic?: undefined;
3923
4282
  search?: undefined;
4283
+ includeImages?: undefined;
4284
+ imageIndexes?: undefined;
4285
+ maxImages?: undefined;
3924
4286
  limit?: undefined;
3925
4287
  page?: undefined;
3926
4288
  stripDescription?: undefined;
@@ -3973,6 +4335,8 @@ export declare const toolDefinitions: ({
3973
4335
  tensionId?: undefined;
3974
4336
  order?: undefined;
3975
4337
  _id?: undefined;
4338
+ roleId?: undefined;
4339
+ removeNest?: undefined;
3976
4340
  partId?: undefined;
3977
4341
  childId?: undefined;
3978
4342
  status?: undefined;
@@ -4005,6 +4369,9 @@ export declare const toolDefinitions: ({
4005
4369
  };
4006
4370
  topic?: undefined;
4007
4371
  search?: undefined;
4372
+ includeImages?: undefined;
4373
+ imageIndexes?: undefined;
4374
+ maxImages?: undefined;
4008
4375
  limit?: undefined;
4009
4376
  page?: undefined;
4010
4377
  stripDescription?: undefined;
@@ -4059,6 +4426,8 @@ export declare const toolDefinitions: ({
4059
4426
  tensionId?: undefined;
4060
4427
  order?: undefined;
4061
4428
  _id?: undefined;
4429
+ roleId?: undefined;
4430
+ removeNest?: undefined;
4062
4431
  partId?: undefined;
4063
4432
  childId?: undefined;
4064
4433
  status?: undefined;
@@ -4084,6 +4453,9 @@ export declare const toolDefinitions: ({
4084
4453
  };
4085
4454
  topic?: undefined;
4086
4455
  search?: undefined;
4456
+ includeImages?: undefined;
4457
+ imageIndexes?: undefined;
4458
+ maxImages?: undefined;
4087
4459
  limit?: undefined;
4088
4460
  page?: undefined;
4089
4461
  workspaceId?: undefined;
@@ -4139,6 +4511,8 @@ export declare const toolDefinitions: ({
4139
4511
  tensionId?: undefined;
4140
4512
  order?: undefined;
4141
4513
  _id?: undefined;
4514
+ roleId?: undefined;
4515
+ removeNest?: undefined;
4142
4516
  partId?: undefined;
4143
4517
  childId?: undefined;
4144
4518
  status?: undefined;
@@ -4173,6 +4547,9 @@ export declare const toolDefinitions: ({
4173
4547
  };
4174
4548
  topic?: undefined;
4175
4549
  search?: undefined;
4550
+ includeImages?: undefined;
4551
+ imageIndexes?: undefined;
4552
+ maxImages?: undefined;
4176
4553
  limit?: undefined;
4177
4554
  page?: undefined;
4178
4555
  stripDescription?: undefined;
@@ -4227,6 +4604,8 @@ export declare const toolDefinitions: ({
4227
4604
  tensionId?: undefined;
4228
4605
  order?: undefined;
4229
4606
  _id?: undefined;
4607
+ roleId?: undefined;
4608
+ removeNest?: undefined;
4230
4609
  partId?: undefined;
4231
4610
  childId?: undefined;
4232
4611
  status?: undefined;
@@ -4252,6 +4631,9 @@ export declare const toolDefinitions: ({
4252
4631
  };
4253
4632
  topic?: undefined;
4254
4633
  search?: undefined;
4634
+ includeImages?: undefined;
4635
+ imageIndexes?: undefined;
4636
+ maxImages?: undefined;
4255
4637
  limit?: undefined;
4256
4638
  page?: undefined;
4257
4639
  stripDescription?: undefined;
@@ -4307,6 +4689,8 @@ export declare const toolDefinitions: ({
4307
4689
  tensionId?: undefined;
4308
4690
  order?: undefined;
4309
4691
  _id?: undefined;
4692
+ roleId?: undefined;
4693
+ removeNest?: undefined;
4310
4694
  partId?: undefined;
4311
4695
  childId?: undefined;
4312
4696
  status?: undefined;
@@ -4332,6 +4716,9 @@ export declare const toolDefinitions: ({
4332
4716
  };
4333
4717
  topic?: undefined;
4334
4718
  search?: undefined;
4719
+ includeImages?: undefined;
4720
+ imageIndexes?: undefined;
4721
+ maxImages?: undefined;
4335
4722
  limit?: undefined;
4336
4723
  page?: undefined;
4337
4724
  stripDescription?: undefined;
@@ -4387,6 +4774,8 @@ export declare const toolDefinitions: ({
4387
4774
  tensionId?: undefined;
4388
4775
  order?: undefined;
4389
4776
  _id?: undefined;
4777
+ roleId?: undefined;
4778
+ removeNest?: undefined;
4390
4779
  partId?: undefined;
4391
4780
  childId?: undefined;
4392
4781
  status?: undefined;
@@ -4429,6 +4818,9 @@ export declare const toolDefinitions: ({
4429
4818
  };
4430
4819
  topic?: undefined;
4431
4820
  search?: undefined;
4821
+ includeImages?: undefined;
4822
+ imageIndexes?: undefined;
4823
+ maxImages?: undefined;
4432
4824
  page?: undefined;
4433
4825
  stripDescription?: undefined;
4434
4826
  workspaceId?: undefined;
@@ -4480,6 +4872,8 @@ export declare const toolDefinitions: ({
4480
4872
  tensionId?: undefined;
4481
4873
  order?: undefined;
4482
4874
  _id?: undefined;
4875
+ roleId?: undefined;
4876
+ removeNest?: undefined;
4483
4877
  partId?: undefined;
4484
4878
  childId?: undefined;
4485
4879
  status?: undefined;
@@ -4521,6 +4915,9 @@ export declare const toolDefinitions: ({
4521
4915
  };
4522
4916
  topic?: undefined;
4523
4917
  search?: undefined;
4918
+ includeImages?: undefined;
4919
+ imageIndexes?: undefined;
4920
+ maxImages?: undefined;
4524
4921
  limit?: undefined;
4525
4922
  page?: undefined;
4526
4923
  stripDescription?: undefined;
@@ -4572,6 +4969,8 @@ export declare const toolDefinitions: ({
4572
4969
  tensionId?: undefined;
4573
4970
  order?: undefined;
4574
4971
  _id?: undefined;
4972
+ roleId?: undefined;
4973
+ removeNest?: undefined;
4575
4974
  partId?: undefined;
4576
4975
  childId?: undefined;
4577
4976
  status?: undefined;
@@ -4601,6 +5000,9 @@ export declare const toolDefinitions: ({
4601
5000
  };
4602
5001
  topic?: undefined;
4603
5002
  search?: undefined;
5003
+ includeImages?: undefined;
5004
+ imageIndexes?: undefined;
5005
+ maxImages?: undefined;
4604
5006
  limit?: undefined;
4605
5007
  page?: undefined;
4606
5008
  stripDescription?: undefined;
@@ -4655,6 +5057,8 @@ export declare const toolDefinitions: ({
4655
5057
  needs?: undefined;
4656
5058
  order?: undefined;
4657
5059
  _id?: undefined;
5060
+ roleId?: undefined;
5061
+ removeNest?: undefined;
4658
5062
  partId?: undefined;
4659
5063
  childId?: undefined;
4660
5064
  status?: undefined;
@@ -4691,6 +5095,9 @@ export declare const toolDefinitions: ({
4691
5095
  description: string;
4692
5096
  };
4693
5097
  topic?: undefined;
5098
+ includeImages?: undefined;
5099
+ imageIndexes?: undefined;
5100
+ maxImages?: undefined;
4694
5101
  page?: undefined;
4695
5102
  stripDescription?: undefined;
4696
5103
  workspaceId?: undefined;
@@ -4744,6 +5151,8 @@ export declare const toolDefinitions: ({
4744
5151
  needs?: undefined;
4745
5152
  tensionId?: undefined;
4746
5153
  _id?: undefined;
5154
+ roleId?: undefined;
5155
+ removeNest?: undefined;
4747
5156
  partId?: undefined;
4748
5157
  childId?: undefined;
4749
5158
  status?: undefined;
@@ -4789,6 +5198,9 @@ export declare const toolDefinitions: ({
4789
5198
  };
4790
5199
  topic?: undefined;
4791
5200
  search?: undefined;
5201
+ includeImages?: undefined;
5202
+ imageIndexes?: undefined;
5203
+ maxImages?: undefined;
4792
5204
  limit?: undefined;
4793
5205
  page?: undefined;
4794
5206
  stripDescription?: undefined;
@@ -4839,6 +5251,8 @@ export declare const toolDefinitions: ({
4839
5251
  group?: undefined;
4840
5252
  order?: undefined;
4841
5253
  _id?: undefined;
5254
+ roleId?: undefined;
5255
+ removeNest?: undefined;
4842
5256
  partId?: undefined;
4843
5257
  childId?: undefined;
4844
5258
  status?: undefined;
@@ -4918,8 +5332,19 @@ export declare const toolDefinitions: ({
4918
5332
  };
4919
5333
  description: string;
4920
5334
  };
5335
+ roleId: {
5336
+ type: string;
5337
+ description: string;
5338
+ };
5339
+ removeNest: {
5340
+ type: string;
5341
+ description: string;
5342
+ };
4921
5343
  topic?: undefined;
4922
5344
  search?: undefined;
5345
+ includeImages?: undefined;
5346
+ imageIndexes?: undefined;
5347
+ maxImages?: undefined;
4923
5348
  limit?: undefined;
4924
5349
  page?: undefined;
4925
5350
  stripDescription?: undefined;
@@ -5045,6 +5470,9 @@ export declare const toolDefinitions: ({
5045
5470
  };
5046
5471
  topic?: undefined;
5047
5472
  search?: undefined;
5473
+ includeImages?: undefined;
5474
+ imageIndexes?: undefined;
5475
+ maxImages?: undefined;
5048
5476
  limit?: undefined;
5049
5477
  page?: undefined;
5050
5478
  stripDescription?: undefined;
@@ -5090,6 +5518,8 @@ export declare const toolDefinitions: ({
5090
5518
  needs?: undefined;
5091
5519
  order?: undefined;
5092
5520
  _id?: undefined;
5521
+ roleId?: undefined;
5522
+ removeNest?: undefined;
5093
5523
  childId?: undefined;
5094
5524
  status?: undefined;
5095
5525
  relation?: undefined;
@@ -5122,6 +5552,9 @@ export declare const toolDefinitions: ({
5122
5552
  };
5123
5553
  topic?: undefined;
5124
5554
  search?: undefined;
5555
+ includeImages?: undefined;
5556
+ imageIndexes?: undefined;
5557
+ maxImages?: undefined;
5125
5558
  limit?: undefined;
5126
5559
  page?: undefined;
5127
5560
  stripDescription?: undefined;
@@ -5176,6 +5609,8 @@ export declare const toolDefinitions: ({
5176
5609
  needs?: undefined;
5177
5610
  order?: undefined;
5178
5611
  _id?: undefined;
5612
+ roleId?: undefined;
5613
+ removeNest?: undefined;
5179
5614
  childId?: undefined;
5180
5615
  status?: undefined;
5181
5616
  relation?: undefined;
@@ -5204,6 +5639,9 @@ export declare const toolDefinitions: ({
5204
5639
  };
5205
5640
  topic?: undefined;
5206
5641
  search?: undefined;
5642
+ includeImages?: undefined;
5643
+ imageIndexes?: undefined;
5644
+ maxImages?: undefined;
5207
5645
  limit?: undefined;
5208
5646
  page?: undefined;
5209
5647
  stripDescription?: undefined;
@@ -5258,6 +5696,8 @@ export declare const toolDefinitions: ({
5258
5696
  needs?: undefined;
5259
5697
  order?: undefined;
5260
5698
  _id?: undefined;
5699
+ roleId?: undefined;
5700
+ removeNest?: undefined;
5261
5701
  childId?: undefined;
5262
5702
  status?: undefined;
5263
5703
  relation?: undefined;
@@ -5297,6 +5737,9 @@ export declare const toolDefinitions: ({
5297
5737
  };
5298
5738
  topic?: undefined;
5299
5739
  search?: undefined;
5740
+ includeImages?: undefined;
5741
+ imageIndexes?: undefined;
5742
+ maxImages?: undefined;
5300
5743
  limit?: undefined;
5301
5744
  page?: undefined;
5302
5745
  stripDescription?: undefined;
@@ -5349,6 +5792,8 @@ export declare const toolDefinitions: ({
5349
5792
  needs?: undefined;
5350
5793
  order?: undefined;
5351
5794
  _id?: undefined;
5795
+ roleId?: undefined;
5796
+ removeNest?: undefined;
5352
5797
  childId?: undefined;
5353
5798
  status?: undefined;
5354
5799
  relation?: undefined;
@@ -5385,6 +5830,9 @@ export declare const toolDefinitions: ({
5385
5830
  };
5386
5831
  topic?: undefined;
5387
5832
  search?: undefined;
5833
+ includeImages?: undefined;
5834
+ imageIndexes?: undefined;
5835
+ maxImages?: undefined;
5388
5836
  limit?: undefined;
5389
5837
  page?: undefined;
5390
5838
  stripDescription?: undefined;
@@ -5438,6 +5886,8 @@ export declare const toolDefinitions: ({
5438
5886
  needs?: undefined;
5439
5887
  order?: undefined;
5440
5888
  _id?: undefined;
5889
+ roleId?: undefined;
5890
+ removeNest?: undefined;
5441
5891
  status?: undefined;
5442
5892
  relation?: undefined;
5443
5893
  direction?: undefined;
@@ -5469,6 +5919,9 @@ export declare const toolDefinitions: ({
5469
5919
  };
5470
5920
  topic?: undefined;
5471
5921
  search?: undefined;
5922
+ includeImages?: undefined;
5923
+ imageIndexes?: undefined;
5924
+ maxImages?: undefined;
5472
5925
  limit?: undefined;
5473
5926
  page?: undefined;
5474
5927
  stripDescription?: undefined;
@@ -5523,6 +5976,8 @@ export declare const toolDefinitions: ({
5523
5976
  needs?: undefined;
5524
5977
  order?: undefined;
5525
5978
  _id?: undefined;
5979
+ roleId?: undefined;
5980
+ removeNest?: undefined;
5526
5981
  status?: undefined;
5527
5982
  relation?: undefined;
5528
5983
  direction?: undefined;
@@ -5555,6 +6010,9 @@ export declare const toolDefinitions: ({
5555
6010
  };
5556
6011
  topic?: undefined;
5557
6012
  search?: undefined;
6013
+ includeImages?: undefined;
6014
+ imageIndexes?: undefined;
6015
+ maxImages?: undefined;
5558
6016
  limit?: undefined;
5559
6017
  page?: undefined;
5560
6018
  stripDescription?: undefined;
@@ -5609,6 +6067,8 @@ export declare const toolDefinitions: ({
5609
6067
  needs?: undefined;
5610
6068
  order?: undefined;
5611
6069
  _id?: undefined;
6070
+ roleId?: undefined;
6071
+ removeNest?: undefined;
5612
6072
  partId?: undefined;
5613
6073
  childId?: undefined;
5614
6074
  relation?: undefined;
@@ -5650,6 +6110,9 @@ export declare const toolDefinitions: ({
5650
6110
  };
5651
6111
  topic?: undefined;
5652
6112
  search?: undefined;
6113
+ includeImages?: undefined;
6114
+ imageIndexes?: undefined;
6115
+ maxImages?: undefined;
5653
6116
  stripDescription?: undefined;
5654
6117
  workspaceId?: undefined;
5655
6118
  title?: undefined;
@@ -5703,6 +6166,8 @@ export declare const toolDefinitions: ({
5703
6166
  tensionId?: undefined;
5704
6167
  order?: undefined;
5705
6168
  _id?: undefined;
6169
+ roleId?: undefined;
6170
+ removeNest?: undefined;
5706
6171
  partId?: undefined;
5707
6172
  childId?: undefined;
5708
6173
  status?: undefined;
@@ -5734,6 +6199,9 @@ export declare const toolDefinitions: ({
5734
6199
  };
5735
6200
  topic?: undefined;
5736
6201
  search?: undefined;
6202
+ includeImages?: undefined;
6203
+ imageIndexes?: undefined;
6204
+ maxImages?: undefined;
5737
6205
  limit?: undefined;
5738
6206
  page?: undefined;
5739
6207
  stripDescription?: undefined;
@@ -5789,6 +6257,8 @@ export declare const toolDefinitions: ({
5789
6257
  tensionId?: undefined;
5790
6258
  order?: undefined;
5791
6259
  _id?: undefined;
6260
+ roleId?: undefined;
6261
+ removeNest?: undefined;
5792
6262
  partId?: undefined;
5793
6263
  childId?: undefined;
5794
6264
  status?: undefined;
@@ -5801,6 +6271,10 @@ export type ToolResult = {
5801
6271
  content: Array<{
5802
6272
  type: "text";
5803
6273
  text: string;
6274
+ } | {
6275
+ type: "image";
6276
+ data: string;
6277
+ mimeType: string;
5804
6278
  }>;
5805
6279
  isError?: boolean;
5806
6280
  };
@@ -5813,6 +6287,12 @@ export declare function unescapeRichTextFields(args: Record<string, unknown>): R
5813
6287
  */
5814
6288
  export interface ToolCallContext {
5815
6289
  getDiagnose?: () => DiagnoseSnapshot;
6290
+ /**
6291
+ * When true, this call came in on the PUBLIC (unauthenticated) MCP surface.
6292
+ * Only PUBLIC_TOOL_NAMES are permitted, and nestr_get_me returns a guest
6293
+ * payload without contacting the Nestr API. Any other tool is refused.
6294
+ */
6295
+ isPublic?: boolean;
5816
6296
  }
5817
6297
  export declare function handleToolCall(client: NestrClient, name: string, args: Record<string, unknown>, context?: ToolCallContext): Promise<ToolResult>;
5818
6298
  export {};