@tacitai/mcp-server 0.1.1 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/dist/auth.d.ts +32 -0
  2. package/dist/auth.js +64 -0
  3. package/dist/client.d.ts +60 -5
  4. package/dist/client.js +234 -53
  5. package/dist/index.js +130 -106
  6. package/dist/oauth.d.ts +115 -0
  7. package/dist/oauth.js +619 -0
  8. package/dist/prompts.d.ts +2 -0
  9. package/dist/prompts.js +12 -0
  10. package/dist/setup.d.ts +28 -5
  11. package/dist/setup.js +266 -59
  12. package/dist/tools/agents.d.ts +277 -0
  13. package/dist/tools/agents.js +335 -0
  14. package/dist/tools/annotations.d.ts +117 -0
  15. package/dist/tools/annotations.js +130 -0
  16. package/dist/tools/artifacts.d.ts +178 -8
  17. package/dist/tools/artifacts.js +372 -81
  18. package/dist/tools/chronicle.d.ts +3 -0
  19. package/dist/tools/chronicle.js +165 -0
  20. package/dist/tools/connector_write_back.d.ts +3 -0
  21. package/dist/tools/connector_write_back.js +27 -0
  22. package/dist/tools/converse.d.ts +10 -0
  23. package/dist/tools/converse.js +88 -0
  24. package/dist/tools/crews.d.ts +3 -0
  25. package/dist/tools/crews.js +115 -0
  26. package/dist/tools/drafts.d.ts +83 -0
  27. package/dist/tools/drafts.js +86 -0
  28. package/dist/tools/errors.d.ts +15 -0
  29. package/dist/tools/errors.js +21 -0
  30. package/dist/tools/export.d.ts +54 -0
  31. package/dist/tools/export.js +55 -0
  32. package/dist/tools/gm.d.ts +214 -0
  33. package/dist/tools/gm.js +198 -0
  34. package/dist/tools/ingest.d.ts +58 -4
  35. package/dist/tools/ingest.js +109 -76
  36. package/dist/tools/kb.d.ts +544 -0
  37. package/dist/tools/kb.js +687 -0
  38. package/dist/tools/lake-structure.d.ts +3 -0
  39. package/dist/tools/lake-structure.js +126 -0
  40. package/dist/tools/lake.d.ts +932 -0
  41. package/dist/tools/lake.js +1017 -0
  42. package/dist/tools/move.d.ts +200 -0
  43. package/dist/tools/move.js +96 -0
  44. package/dist/tools/outbox.d.ts +274 -0
  45. package/dist/tools/outbox.js +223 -0
  46. package/dist/tools/people.d.ts +3 -0
  47. package/dist/tools/people.js +59 -0
  48. package/dist/tools/pyramid.d.ts +554 -0
  49. package/dist/tools/pyramid.js +758 -0
  50. package/dist/tools/recall.d.ts +2 -0
  51. package/dist/tools/recall.js +28 -17
  52. package/dist/tools/registry.d.ts +17 -0
  53. package/dist/tools/registry.js +199 -0
  54. package/dist/tools/research.d.ts +47 -0
  55. package/dist/tools/research.js +575 -0
  56. package/dist/tools/search.d.ts +9 -0
  57. package/dist/tools/search.js +86 -25
  58. package/dist/tools/sharing.d.ts +63 -0
  59. package/dist/tools/sharing.js +157 -0
  60. package/dist/tools/skills.d.ts +9 -0
  61. package/dist/tools/skills.js +98 -0
  62. package/dist/tools/synthesize.d.ts +54 -2
  63. package/dist/tools/synthesize.js +80 -23
  64. package/dist/tools/web-url.d.ts +57 -0
  65. package/dist/tools/web-url.js +74 -0
  66. package/dist/tools/workspaces.d.ts +3 -0
  67. package/dist/tools/workspaces.js +47 -0
  68. package/dist/transport.d.ts +9 -0
  69. package/dist/transport.js +209 -0
  70. package/package.json +5 -4
@@ -0,0 +1,932 @@
1
+ /**
2
+ * Lake tools — CLI wrappers for data lake source, sync, proposal,
3
+ * classification, catalog, taxonomy, and subject-classification operations
4
+ * on the Axum REST API.
5
+ *
6
+ * Routes (Axum, all under /api/v1/org/lake):
7
+ * POST /onboard
8
+ * GET /sources
9
+ * DELETE /sources/:id
10
+ * GET /status
11
+ * POST /sync
12
+ * GET /proposals
13
+ * POST /proposals/confirm
14
+ * POST /classify
15
+ * POST /catalog/:id/reclassify
16
+ * POST /writeback
17
+ * GET /catalog
18
+ * GET /catalog/:id
19
+ * DELETE /catalog/:id
20
+ * POST /ingest
21
+ * GET /taxonomy
22
+ * POST /taxonomy/seed
23
+ * POST /taxonomy/nodes
24
+ * POST /catalog/:id/subject
25
+ * POST /catalog/subject/bulk
26
+ */
27
+ import { z } from 'zod';
28
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
29
+ import { TacitClient } from '../client.js';
30
+ export interface ToolRequest {
31
+ execute(): Promise<{
32
+ content: Array<{
33
+ type: 'text';
34
+ text: string;
35
+ }>;
36
+ isError?: boolean;
37
+ }>;
38
+ }
39
+ export declare const registerSourceInputSchema: z.ZodObject<{
40
+ source: z.ZodString;
41
+ kind: z.ZodOptional<z.ZodString>;
42
+ sync_mode: z.ZodOptional<z.ZodString>;
43
+ interval: z.ZodOptional<z.ZodNumber>;
44
+ write_back: z.ZodOptional<z.ZodBoolean>;
45
+ write_back_path: z.ZodOptional<z.ZodString>;
46
+ default_kb_collection: z.ZodOptional<z.ZodString>;
47
+ webhook_secret: z.ZodOptional<z.ZodString>;
48
+ }, "strip", z.ZodTypeAny, {
49
+ source: string;
50
+ kind?: string | undefined;
51
+ sync_mode?: string | undefined;
52
+ interval?: number | undefined;
53
+ write_back?: boolean | undefined;
54
+ write_back_path?: string | undefined;
55
+ default_kb_collection?: string | undefined;
56
+ webhook_secret?: string | undefined;
57
+ }, {
58
+ source: string;
59
+ kind?: string | undefined;
60
+ sync_mode?: string | undefined;
61
+ interval?: number | undefined;
62
+ write_back?: boolean | undefined;
63
+ write_back_path?: string | undefined;
64
+ default_kb_collection?: string | undefined;
65
+ webhook_secret?: string | undefined;
66
+ }>;
67
+ export type RegisterSourceInput = z.infer<typeof registerSourceInputSchema>;
68
+ export declare const REGISTER_SOURCE_TOOL_DEF: {
69
+ name: "tacit_lake_register_source";
70
+ description: string;
71
+ inputSchema: {
72
+ type: "object";
73
+ properties: {
74
+ source: {
75
+ type: string;
76
+ description: string;
77
+ };
78
+ kind: {
79
+ type: string;
80
+ description: string;
81
+ };
82
+ sync_mode: {
83
+ type: string;
84
+ description: string;
85
+ };
86
+ interval: {
87
+ type: string;
88
+ description: string;
89
+ };
90
+ write_back: {
91
+ type: string;
92
+ description: string;
93
+ };
94
+ write_back_path: {
95
+ type: string;
96
+ description: string;
97
+ };
98
+ default_kb_collection: {
99
+ type: string;
100
+ description: string;
101
+ };
102
+ webhook_secret: {
103
+ type: string;
104
+ description: string;
105
+ };
106
+ };
107
+ required: string[];
108
+ };
109
+ };
110
+ export declare function buildRegisterSourceRequest(client: TacitClient, input: RegisterSourceInput): ToolRequest;
111
+ export declare function handleRegisterSource(args: unknown): Promise<{
112
+ content: Array<{
113
+ type: 'text';
114
+ text: string;
115
+ }>;
116
+ isError?: boolean;
117
+ }>;
118
+ export declare const listSourcesInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
119
+ export type ListSourcesInput = z.infer<typeof listSourcesInputSchema>;
120
+ export declare const LIST_SOURCES_TOOL_DEF: {
121
+ name: "tacit_lake_list_sources";
122
+ description: string;
123
+ inputSchema: {
124
+ type: "object";
125
+ properties: {};
126
+ required: string[];
127
+ };
128
+ };
129
+ export declare function buildListSourcesRequest(client: TacitClient, _input: ListSourcesInput): ToolRequest;
130
+ export declare function handleListSources(args: unknown): Promise<{
131
+ content: Array<{
132
+ type: 'text';
133
+ text: string;
134
+ }>;
135
+ isError?: boolean;
136
+ }>;
137
+ export declare const deregisterSourceInputSchema: z.ZodObject<{
138
+ source_id: z.ZodString;
139
+ }, "strip", z.ZodTypeAny, {
140
+ source_id: string;
141
+ }, {
142
+ source_id: string;
143
+ }>;
144
+ export type DeregisterSourceInput = z.infer<typeof deregisterSourceInputSchema>;
145
+ export declare const DEREGISTER_SOURCE_TOOL_DEF: {
146
+ name: "tacit_lake_deregister_source";
147
+ description: string;
148
+ inputSchema: {
149
+ type: "object";
150
+ properties: {
151
+ source_id: {
152
+ type: string;
153
+ description: string;
154
+ };
155
+ };
156
+ required: string[];
157
+ };
158
+ };
159
+ export declare function buildDeregisterSourceRequest(client: TacitClient, input: DeregisterSourceInput): ToolRequest;
160
+ export declare function handleDeregisterSource(args: unknown): Promise<{
161
+ content: Array<{
162
+ type: 'text';
163
+ text: string;
164
+ }>;
165
+ isError?: boolean;
166
+ }>;
167
+ export declare const syncStatusInputSchema: z.ZodObject<{
168
+ source_id: z.ZodOptional<z.ZodString>;
169
+ }, "strip", z.ZodTypeAny, {
170
+ source_id?: string | undefined;
171
+ }, {
172
+ source_id?: string | undefined;
173
+ }>;
174
+ export type SyncStatusInput = z.infer<typeof syncStatusInputSchema>;
175
+ export declare const SYNC_STATUS_TOOL_DEF: {
176
+ name: "tacit_lake_sync_status";
177
+ description: string;
178
+ inputSchema: {
179
+ type: "object";
180
+ properties: {
181
+ source_id: {
182
+ type: string;
183
+ description: string;
184
+ };
185
+ };
186
+ required: string[];
187
+ };
188
+ };
189
+ export declare function buildSyncStatusRequest(client: TacitClient, input: SyncStatusInput): ToolRequest;
190
+ export declare function handleSyncStatus(args: unknown): Promise<{
191
+ content: Array<{
192
+ type: 'text';
193
+ text: string;
194
+ }>;
195
+ isError?: boolean;
196
+ }>;
197
+ export declare const triggerSyncInputSchema: z.ZodObject<{
198
+ source_id: z.ZodString;
199
+ confirm_deletions: z.ZodOptional<z.ZodBoolean>;
200
+ }, "strip", z.ZodTypeAny, {
201
+ source_id: string;
202
+ confirm_deletions?: boolean | undefined;
203
+ }, {
204
+ source_id: string;
205
+ confirm_deletions?: boolean | undefined;
206
+ }>;
207
+ export type TriggerSyncInput = z.infer<typeof triggerSyncInputSchema>;
208
+ export declare const TRIGGER_SYNC_TOOL_DEF: {
209
+ name: "tacit_lake_trigger_sync";
210
+ description: string;
211
+ inputSchema: {
212
+ type: "object";
213
+ properties: {
214
+ source_id: {
215
+ type: string;
216
+ description: string;
217
+ };
218
+ confirm_deletions: {
219
+ type: string;
220
+ description: string;
221
+ };
222
+ };
223
+ required: string[];
224
+ };
225
+ };
226
+ export declare function buildTriggerSyncRequest(client: TacitClient, input: TriggerSyncInput): ToolRequest;
227
+ export declare function handleTriggerSync(args: unknown): Promise<{
228
+ content: Array<{
229
+ type: 'text';
230
+ text: string;
231
+ }>;
232
+ isError?: boolean;
233
+ }>;
234
+ export declare const listProposalsInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
235
+ export type ListProposalsInput = z.infer<typeof listProposalsInputSchema>;
236
+ export declare const LIST_PROPOSALS_TOOL_DEF: {
237
+ name: "tacit_lake_list_proposals";
238
+ description: string;
239
+ inputSchema: {
240
+ type: "object";
241
+ properties: {};
242
+ required: string[];
243
+ };
244
+ };
245
+ export declare function buildListProposalsRequest(client: TacitClient, _input: ListProposalsInput): ToolRequest;
246
+ export declare function handleListProposals(args: unknown): Promise<{
247
+ content: Array<{
248
+ type: 'text';
249
+ text: string;
250
+ }>;
251
+ isError?: boolean;
252
+ }>;
253
+ export declare const confirmProposalInputSchema: z.ZodObject<{
254
+ proposal_id: z.ZodString;
255
+ }, "strip", z.ZodTypeAny, {
256
+ proposal_id: string;
257
+ }, {
258
+ proposal_id: string;
259
+ }>;
260
+ export type ConfirmProposalInput = z.infer<typeof confirmProposalInputSchema>;
261
+ export declare const CONFIRM_PROPOSAL_TOOL_DEF: {
262
+ name: "tacit_lake_confirm_proposal";
263
+ description: string;
264
+ inputSchema: {
265
+ type: "object";
266
+ properties: {
267
+ proposal_id: {
268
+ type: string;
269
+ description: string;
270
+ };
271
+ };
272
+ required: string[];
273
+ };
274
+ };
275
+ export declare function buildConfirmProposalRequest(client: TacitClient, input: ConfirmProposalInput): ToolRequest;
276
+ export declare function handleConfirmProposal(args: unknown): Promise<{
277
+ content: Array<{
278
+ type: 'text';
279
+ text: string;
280
+ }>;
281
+ isError?: boolean;
282
+ }>;
283
+ export declare const classifyInputSchema: z.ZodObject<{
284
+ source_uri: z.ZodString;
285
+ content: z.ZodOptional<z.ZodString>;
286
+ }, "strip", z.ZodTypeAny, {
287
+ source_uri: string;
288
+ content?: string | undefined;
289
+ }, {
290
+ source_uri: string;
291
+ content?: string | undefined;
292
+ }>;
293
+ export type ClassifyInput = z.infer<typeof classifyInputSchema>;
294
+ export declare const CLASSIFY_TOOL_DEF: {
295
+ name: "tacit_lake_classify";
296
+ description: string;
297
+ inputSchema: {
298
+ type: "object";
299
+ properties: {
300
+ source_uri: {
301
+ type: string;
302
+ description: string;
303
+ };
304
+ content: {
305
+ type: string;
306
+ description: string;
307
+ };
308
+ };
309
+ required: string[];
310
+ };
311
+ };
312
+ export declare function buildClassifyRequest(client: TacitClient, input: ClassifyInput): ToolRequest;
313
+ export declare function handleClassify(args: unknown): Promise<{
314
+ content: Array<{
315
+ type: 'text';
316
+ text: string;
317
+ }>;
318
+ isError?: boolean;
319
+ }>;
320
+ export declare const reclassifyInputSchema: z.ZodObject<{
321
+ catalog_id: z.ZodString;
322
+ proposed_portfolio: z.ZodOptional<z.ZodString>;
323
+ proposed_program: z.ZodOptional<z.ZodString>;
324
+ proposed_domain_id: z.ZodOptional<z.ZodString>;
325
+ }, "strip", z.ZodTypeAny, {
326
+ catalog_id: string;
327
+ proposed_portfolio?: string | undefined;
328
+ proposed_program?: string | undefined;
329
+ proposed_domain_id?: string | undefined;
330
+ }, {
331
+ catalog_id: string;
332
+ proposed_portfolio?: string | undefined;
333
+ proposed_program?: string | undefined;
334
+ proposed_domain_id?: string | undefined;
335
+ }>;
336
+ export type ReclassifyInput = z.infer<typeof reclassifyInputSchema>;
337
+ export declare const RECLASSIFY_TOOL_DEF: {
338
+ name: "tacit_lake_reclassify";
339
+ description: string;
340
+ inputSchema: {
341
+ type: "object";
342
+ properties: {
343
+ catalog_id: {
344
+ type: string;
345
+ description: string;
346
+ };
347
+ proposed_portfolio: {
348
+ type: string;
349
+ description: string;
350
+ };
351
+ proposed_program: {
352
+ type: string;
353
+ description: string;
354
+ };
355
+ proposed_domain_id: {
356
+ type: string;
357
+ description: string;
358
+ };
359
+ };
360
+ required: string[];
361
+ };
362
+ };
363
+ export declare function buildReclassifyRequest(client: TacitClient, input: ReclassifyInput): ToolRequest;
364
+ export declare function handleReclassify(args: unknown): Promise<{
365
+ content: Array<{
366
+ type: 'text';
367
+ text: string;
368
+ }>;
369
+ isError?: boolean;
370
+ }>;
371
+ export declare const writebackInputSchema: z.ZodObject<{
372
+ source_id: z.ZodString;
373
+ artifact_id: z.ZodString;
374
+ target_folder: z.ZodOptional<z.ZodString>;
375
+ slug: z.ZodOptional<z.ZodString>;
376
+ frontmatter: z.ZodOptional<z.ZodObject<{
377
+ subject: z.ZodOptional<z.ZodString>;
378
+ title: z.ZodOptional<z.ZodString>;
379
+ supersedes: z.ZodOptional<z.ZodString>;
380
+ sensitivity: z.ZodOptional<z.ZodString>;
381
+ status: z.ZodOptional<z.ZodString>;
382
+ }, "strip", z.ZodTypeAny, {
383
+ status?: string | undefined;
384
+ title?: string | undefined;
385
+ subject?: string | undefined;
386
+ supersedes?: string | undefined;
387
+ sensitivity?: string | undefined;
388
+ }, {
389
+ status?: string | undefined;
390
+ title?: string | undefined;
391
+ subject?: string | undefined;
392
+ supersedes?: string | undefined;
393
+ sensitivity?: string | undefined;
394
+ }>>;
395
+ }, "strip", z.ZodTypeAny, {
396
+ artifact_id: string;
397
+ source_id: string;
398
+ slug?: string | undefined;
399
+ target_folder?: string | undefined;
400
+ frontmatter?: {
401
+ status?: string | undefined;
402
+ title?: string | undefined;
403
+ subject?: string | undefined;
404
+ supersedes?: string | undefined;
405
+ sensitivity?: string | undefined;
406
+ } | undefined;
407
+ }, {
408
+ artifact_id: string;
409
+ source_id: string;
410
+ slug?: string | undefined;
411
+ target_folder?: string | undefined;
412
+ frontmatter?: {
413
+ status?: string | undefined;
414
+ title?: string | undefined;
415
+ subject?: string | undefined;
416
+ supersedes?: string | undefined;
417
+ sensitivity?: string | undefined;
418
+ } | undefined;
419
+ }>;
420
+ export type WritebackInput = z.infer<typeof writebackInputSchema>;
421
+ export declare const WRITEBACK_TOOL_DEF: {
422
+ name: "tacit_lake_writeback";
423
+ description: string;
424
+ inputSchema: {
425
+ type: "object";
426
+ properties: {
427
+ source_id: {
428
+ type: string;
429
+ description: string;
430
+ };
431
+ artifact_id: {
432
+ type: string;
433
+ description: string;
434
+ };
435
+ target_folder: {
436
+ type: string;
437
+ description: string;
438
+ };
439
+ slug: {
440
+ type: string;
441
+ description: string;
442
+ };
443
+ frontmatter: {
444
+ type: string;
445
+ description: string;
446
+ };
447
+ };
448
+ required: string[];
449
+ };
450
+ };
451
+ export declare function buildWritebackRequest(client: TacitClient, input: WritebackInput): ToolRequest;
452
+ export declare function handleWriteback(args: unknown): Promise<{
453
+ content: Array<{
454
+ type: 'text';
455
+ text: string;
456
+ }>;
457
+ isError?: boolean;
458
+ }>;
459
+ export declare const browseCatalogInputSchema: z.ZodObject<{
460
+ limit: z.ZodOptional<z.ZodNumber>;
461
+ offset: z.ZodOptional<z.ZodNumber>;
462
+ origin: z.ZodOptional<z.ZodString>;
463
+ catalog_status: z.ZodOptional<z.ZodString>;
464
+ content_type: z.ZodOptional<z.ZodString>;
465
+ source_id: z.ZodOptional<z.ZodString>;
466
+ q: z.ZodOptional<z.ZodString>;
467
+ subject_id: z.ZodOptional<z.ZodString>;
468
+ subject_needs_review: z.ZodOptional<z.ZodBoolean>;
469
+ subject_layer: z.ZodOptional<z.ZodString>;
470
+ }, "strip", z.ZodTypeAny, {
471
+ limit?: number | undefined;
472
+ origin?: string | undefined;
473
+ q?: string | undefined;
474
+ offset?: number | undefined;
475
+ source_id?: string | undefined;
476
+ catalog_status?: string | undefined;
477
+ content_type?: string | undefined;
478
+ subject_id?: string | undefined;
479
+ subject_needs_review?: boolean | undefined;
480
+ subject_layer?: string | undefined;
481
+ }, {
482
+ limit?: number | undefined;
483
+ origin?: string | undefined;
484
+ q?: string | undefined;
485
+ offset?: number | undefined;
486
+ source_id?: string | undefined;
487
+ catalog_status?: string | undefined;
488
+ content_type?: string | undefined;
489
+ subject_id?: string | undefined;
490
+ subject_needs_review?: boolean | undefined;
491
+ subject_layer?: string | undefined;
492
+ }>;
493
+ export type BrowseCatalogInput = z.infer<typeof browseCatalogInputSchema>;
494
+ export declare const BROWSE_CATALOG_TOOL_DEF: {
495
+ name: "tacit_lake_browse_catalog";
496
+ description: string;
497
+ inputSchema: {
498
+ type: "object";
499
+ properties: {
500
+ limit: {
501
+ type: string;
502
+ description: string;
503
+ };
504
+ offset: {
505
+ type: string;
506
+ description: string;
507
+ };
508
+ origin: {
509
+ type: string;
510
+ description: string;
511
+ };
512
+ catalog_status: {
513
+ type: string;
514
+ description: string;
515
+ };
516
+ content_type: {
517
+ type: string;
518
+ description: string;
519
+ };
520
+ source_id: {
521
+ type: string;
522
+ description: string;
523
+ };
524
+ q: {
525
+ type: string;
526
+ description: string;
527
+ };
528
+ subject_id: {
529
+ type: string;
530
+ description: string;
531
+ };
532
+ subject_needs_review: {
533
+ type: string;
534
+ description: string;
535
+ };
536
+ subject_layer: {
537
+ type: string;
538
+ description: string;
539
+ };
540
+ };
541
+ required: string[];
542
+ };
543
+ };
544
+ export declare function buildBrowseCatalogRequest(client: TacitClient, input: BrowseCatalogInput): ToolRequest;
545
+ export declare function handleBrowseCatalog(args: unknown): Promise<{
546
+ content: Array<{
547
+ type: 'text';
548
+ text: string;
549
+ }>;
550
+ isError?: boolean;
551
+ }>;
552
+ export declare const catalogDetailInputSchema: z.ZodObject<{
553
+ catalog_id: z.ZodString;
554
+ }, "strip", z.ZodTypeAny, {
555
+ catalog_id: string;
556
+ }, {
557
+ catalog_id: string;
558
+ }>;
559
+ export type CatalogDetailInput = z.infer<typeof catalogDetailInputSchema>;
560
+ export declare const CATALOG_DETAIL_TOOL_DEF: {
561
+ name: "tacit_lake_catalog_detail";
562
+ description: string;
563
+ inputSchema: {
564
+ type: "object";
565
+ properties: {
566
+ catalog_id: {
567
+ type: string;
568
+ description: string;
569
+ };
570
+ };
571
+ required: string[];
572
+ };
573
+ };
574
+ export declare function buildCatalogDetailRequest(client: TacitClient, input: CatalogDetailInput): ToolRequest;
575
+ export declare function handleCatalogDetail(args: unknown): Promise<{
576
+ content: Array<{
577
+ type: 'text';
578
+ text: string;
579
+ }>;
580
+ isError?: boolean;
581
+ }>;
582
+ export declare const deleteCatalogItemInputSchema: z.ZodObject<{
583
+ catalog_id: z.ZodString;
584
+ }, "strip", z.ZodTypeAny, {
585
+ catalog_id: string;
586
+ }, {
587
+ catalog_id: string;
588
+ }>;
589
+ export type DeleteCatalogItemInput = z.infer<typeof deleteCatalogItemInputSchema>;
590
+ export declare const DELETE_CATALOG_ITEM_TOOL_DEF: {
591
+ name: "tacit_lake_delete_catalog_item";
592
+ description: string;
593
+ inputSchema: {
594
+ type: "object";
595
+ properties: {
596
+ catalog_id: {
597
+ type: string;
598
+ description: string;
599
+ };
600
+ };
601
+ required: string[];
602
+ };
603
+ };
604
+ export declare function buildDeleteCatalogItemRequest(client: TacitClient, input: DeleteCatalogItemInput): ToolRequest;
605
+ export declare function handleDeleteCatalogItem(args: unknown): Promise<{
606
+ content: Array<{
607
+ type: 'text';
608
+ text: string;
609
+ }>;
610
+ isError?: boolean;
611
+ }>;
612
+ export declare const ingestInputSchema: z.ZodObject<{
613
+ source_uri: z.ZodString;
614
+ content: z.ZodString;
615
+ content_type: z.ZodOptional<z.ZodString>;
616
+ }, "strip", z.ZodTypeAny, {
617
+ content: string;
618
+ source_uri: string;
619
+ content_type?: string | undefined;
620
+ }, {
621
+ content: string;
622
+ source_uri: string;
623
+ content_type?: string | undefined;
624
+ }>;
625
+ export type IngestInput = z.infer<typeof ingestInputSchema>;
626
+ export declare const INGEST_TOOL_DEF: {
627
+ name: "tacit_lake_ingest";
628
+ description: string;
629
+ inputSchema: {
630
+ type: "object";
631
+ properties: {
632
+ source_uri: {
633
+ type: string;
634
+ description: string;
635
+ };
636
+ content: {
637
+ type: string;
638
+ description: string;
639
+ };
640
+ content_type: {
641
+ type: string;
642
+ description: string;
643
+ };
644
+ };
645
+ required: string[];
646
+ };
647
+ };
648
+ export declare function buildIngestRequest(client: TacitClient, input: IngestInput): ToolRequest;
649
+ export declare function handleIngest(args: unknown): Promise<{
650
+ content: Array<{
651
+ type: 'text';
652
+ text: string;
653
+ }>;
654
+ isError?: boolean;
655
+ }>;
656
+ export declare const taxonomyBrowseInputSchema: z.ZodObject<{
657
+ layer: z.ZodOptional<z.ZodString>;
658
+ parent_id: z.ZodOptional<z.ZodString>;
659
+ }, "strip", z.ZodTypeAny, {
660
+ layer?: string | undefined;
661
+ parent_id?: string | undefined;
662
+ }, {
663
+ layer?: string | undefined;
664
+ parent_id?: string | undefined;
665
+ }>;
666
+ export type TaxonomyBrowseInput = z.infer<typeof taxonomyBrowseInputSchema>;
667
+ export declare const TAXONOMY_BROWSE_TOOL_DEF: {
668
+ name: "tacit_lake_taxonomy_browse";
669
+ description: string;
670
+ inputSchema: {
671
+ type: "object";
672
+ properties: {
673
+ layer: {
674
+ type: string;
675
+ description: string;
676
+ };
677
+ parent_id: {
678
+ type: string;
679
+ description: string;
680
+ };
681
+ };
682
+ required: string[];
683
+ };
684
+ };
685
+ export declare function buildTaxonomyBrowseRequest(client: TacitClient, input: TaxonomyBrowseInput): ToolRequest;
686
+ export declare function handleTaxonomyBrowse(args: unknown): Promise<{
687
+ content: Array<{
688
+ type: 'text';
689
+ text: string;
690
+ }>;
691
+ isError?: boolean;
692
+ }>;
693
+ export declare const taxonomySeedInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
694
+ export type TaxonomySeedInput = z.infer<typeof taxonomySeedInputSchema>;
695
+ export declare const TAXONOMY_SEED_TOOL_DEF: {
696
+ name: "tacit_lake_taxonomy_seed";
697
+ description: string;
698
+ inputSchema: {
699
+ type: "object";
700
+ properties: {};
701
+ required: string[];
702
+ };
703
+ };
704
+ export declare function buildTaxonomySeedRequest(client: TacitClient, _input: TaxonomySeedInput): ToolRequest;
705
+ export declare function handleTaxonomySeed(args: unknown): Promise<{
706
+ content: Array<{
707
+ type: 'text';
708
+ text: string;
709
+ }>;
710
+ isError?: boolean;
711
+ }>;
712
+ export declare const taxonomyUpsertNodeInputSchema: z.ZodObject<{
713
+ slug: z.ZodString;
714
+ name: z.ZodString;
715
+ layer: z.ZodEnum<["COMPANY", "DOMAIN", "DIMENSION"]>;
716
+ parent_id: z.ZodOptional<z.ZodString>;
717
+ description: z.ZodOptional<z.ZodString>;
718
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
719
+ }, "strip", z.ZodTypeAny, {
720
+ name: string;
721
+ slug: string;
722
+ layer: "COMPANY" | "DOMAIN" | "DIMENSION";
723
+ description?: string | undefined;
724
+ parent_id?: string | undefined;
725
+ aliases?: string[] | undefined;
726
+ }, {
727
+ name: string;
728
+ slug: string;
729
+ layer: "COMPANY" | "DOMAIN" | "DIMENSION";
730
+ description?: string | undefined;
731
+ parent_id?: string | undefined;
732
+ aliases?: string[] | undefined;
733
+ }>;
734
+ export type TaxonomyUpsertNodeInput = z.infer<typeof taxonomyUpsertNodeInputSchema>;
735
+ export declare const TAXONOMY_UPSERT_NODE_TOOL_DEF: {
736
+ name: "tacit_lake_taxonomy_upsert_node";
737
+ description: string;
738
+ inputSchema: {
739
+ type: "object";
740
+ properties: {
741
+ slug: {
742
+ type: string;
743
+ description: string;
744
+ };
745
+ name: {
746
+ type: string;
747
+ description: string;
748
+ };
749
+ layer: {
750
+ type: string;
751
+ enum: string[];
752
+ description: string;
753
+ };
754
+ parent_id: {
755
+ type: string;
756
+ description: string;
757
+ };
758
+ description: {
759
+ type: string;
760
+ description: string;
761
+ };
762
+ aliases: {
763
+ type: string;
764
+ items: {
765
+ type: string;
766
+ };
767
+ description: string;
768
+ };
769
+ };
770
+ required: string[];
771
+ };
772
+ };
773
+ export declare function buildTaxonomyUpsertNodeRequest(client: TacitClient, input: TaxonomyUpsertNodeInput): ToolRequest;
774
+ export declare function handleTaxonomyUpsertNode(args: unknown): Promise<{
775
+ content: Array<{
776
+ type: 'text';
777
+ text: string;
778
+ }>;
779
+ isError?: boolean;
780
+ }>;
781
+ export declare const classifySubjectInputSchema: z.ZodObject<{
782
+ catalog_id: z.ZodString;
783
+ subject_id: z.ZodString;
784
+ }, "strip", z.ZodTypeAny, {
785
+ catalog_id: string;
786
+ subject_id: string;
787
+ }, {
788
+ catalog_id: string;
789
+ subject_id: string;
790
+ }>;
791
+ export type ClassifySubjectInput = z.infer<typeof classifySubjectInputSchema>;
792
+ export declare const CLASSIFY_SUBJECT_TOOL_DEF: {
793
+ name: "tacit_lake_classify_subject";
794
+ description: string;
795
+ inputSchema: {
796
+ type: "object";
797
+ properties: {
798
+ catalog_id: {
799
+ type: string;
800
+ description: string;
801
+ };
802
+ subject_id: {
803
+ type: string;
804
+ description: string;
805
+ };
806
+ };
807
+ required: string[];
808
+ };
809
+ };
810
+ export declare function buildClassifySubjectRequest(client: TacitClient, input: ClassifySubjectInput): ToolRequest;
811
+ export declare function handleClassifySubject(args: unknown): Promise<{
812
+ content: Array<{
813
+ type: 'text';
814
+ text: string;
815
+ }>;
816
+ isError?: boolean;
817
+ }>;
818
+ export declare const reclassifySubjectsInputSchema: z.ZodObject<{
819
+ subject_id: z.ZodString;
820
+ catalog_ids: z.ZodArray<z.ZodString, "many">;
821
+ }, "strip", z.ZodTypeAny, {
822
+ subject_id: string;
823
+ catalog_ids: string[];
824
+ }, {
825
+ subject_id: string;
826
+ catalog_ids: string[];
827
+ }>;
828
+ export type ReclassifySubjectsInput = z.infer<typeof reclassifySubjectsInputSchema>;
829
+ export declare const RECLASSIFY_SUBJECTS_TOOL_DEF: {
830
+ name: "tacit_lake_reclassify_subjects";
831
+ description: string;
832
+ inputSchema: {
833
+ type: "object";
834
+ properties: {
835
+ subject_id: {
836
+ type: string;
837
+ description: string;
838
+ };
839
+ catalog_ids: {
840
+ type: string;
841
+ items: {
842
+ type: string;
843
+ };
844
+ description: string;
845
+ };
846
+ };
847
+ required: string[];
848
+ };
849
+ };
850
+ export declare function buildReclassifySubjectsRequest(client: TacitClient, input: ReclassifySubjectsInput): ToolRequest;
851
+ export declare function handleReclassifySubjects(args: unknown): Promise<{
852
+ content: Array<{
853
+ type: 'text';
854
+ text: string;
855
+ }>;
856
+ isError?: boolean;
857
+ }>;
858
+ export declare const resolveInputSchema: z.ZodObject<{
859
+ doc_id: z.ZodOptional<z.ZodString>;
860
+ sha256: z.ZodOptional<z.ZodString>;
861
+ path: z.ZodOptional<z.ZodString>;
862
+ }, "strip", z.ZodTypeAny, {
863
+ sha256?: string | undefined;
864
+ path?: string | undefined;
865
+ doc_id?: string | undefined;
866
+ }, {
867
+ sha256?: string | undefined;
868
+ path?: string | undefined;
869
+ doc_id?: string | undefined;
870
+ }>;
871
+ export type ResolveInput = z.infer<typeof resolveInputSchema>;
872
+ export declare const RESOLVE_TOOL_DEF: {
873
+ name: "tacit_lake_resolve";
874
+ description: string;
875
+ inputSchema: {
876
+ type: "object";
877
+ properties: {
878
+ doc_id: {
879
+ type: string;
880
+ description: string;
881
+ };
882
+ sha256: {
883
+ type: string;
884
+ description: string;
885
+ };
886
+ path: {
887
+ type: string;
888
+ description: string;
889
+ };
890
+ };
891
+ required: string[];
892
+ };
893
+ };
894
+ export declare function buildResolveRequest(client: TacitClient, input: ResolveInput): ToolRequest;
895
+ export declare function handleResolve(args: unknown): Promise<{
896
+ content: Array<{
897
+ type: 'text';
898
+ text: string;
899
+ }>;
900
+ isError?: boolean;
901
+ }>;
902
+ export declare const manifestInputSchema: z.ZodObject<{
903
+ source_id: z.ZodString;
904
+ }, "strip", z.ZodTypeAny, {
905
+ source_id: string;
906
+ }, {
907
+ source_id: string;
908
+ }>;
909
+ export type ManifestInput = z.infer<typeof manifestInputSchema>;
910
+ export declare const MANIFEST_TOOL_DEF: {
911
+ name: "tacit_lake_manifest";
912
+ description: string;
913
+ inputSchema: {
914
+ type: "object";
915
+ properties: {
916
+ source_id: {
917
+ type: string;
918
+ description: string;
919
+ };
920
+ };
921
+ required: string[];
922
+ };
923
+ };
924
+ export declare function buildManifestRequest(client: TacitClient, input: ManifestInput): ToolRequest;
925
+ export declare function handleManifest(args: unknown): Promise<{
926
+ content: Array<{
927
+ type: 'text';
928
+ text: string;
929
+ }>;
930
+ isError?: boolean;
931
+ }>;
932
+ export declare function registerLakeTools(server: McpServer, getClientFn: () => Promise<TacitClient>): void;