@lumenflow/mcp 2.18.3 → 2.20.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 (49) hide show
  1. package/dist/tools/agent-tools.d.ts +26 -0
  2. package/dist/tools/agent-tools.d.ts.map +1 -0
  3. package/dist/tools/agent-tools.js +161 -0
  4. package/dist/tools/agent-tools.js.map +1 -0
  5. package/dist/tools/context-tools.d.ts +19 -0
  6. package/dist/tools/context-tools.d.ts.map +1 -0
  7. package/dist/tools/context-tools.js +73 -0
  8. package/dist/tools/context-tools.js.map +1 -0
  9. package/dist/tools/flow-tools.d.ts +30 -0
  10. package/dist/tools/flow-tools.d.ts.map +1 -0
  11. package/dist/tools/flow-tools.js +141 -0
  12. package/dist/tools/flow-tools.js.map +1 -0
  13. package/dist/tools/initiative-tools.d.ts +42 -0
  14. package/dist/tools/initiative-tools.d.ts.map +1 -0
  15. package/dist/tools/initiative-tools.js +304 -0
  16. package/dist/tools/initiative-tools.js.map +1 -0
  17. package/dist/tools/memory-tools.d.ts +66 -0
  18. package/dist/tools/memory-tools.d.ts.map +1 -0
  19. package/dist/tools/memory-tools.js +419 -0
  20. package/dist/tools/memory-tools.js.map +1 -0
  21. package/dist/tools/orchestration-tools.d.ts +26 -0
  22. package/dist/tools/orchestration-tools.d.ts.map +1 -0
  23. package/dist/tools/orchestration-tools.js +158 -0
  24. package/dist/tools/orchestration-tools.js.map +1 -0
  25. package/dist/tools/parity-tools.d.ts +118 -0
  26. package/dist/tools/parity-tools.d.ts.map +1 -0
  27. package/dist/tools/parity-tools.js +897 -0
  28. package/dist/tools/parity-tools.js.map +1 -0
  29. package/dist/tools/setup-tools.d.ts +42 -0
  30. package/dist/tools/setup-tools.d.ts.map +1 -0
  31. package/dist/tools/setup-tools.js +167 -0
  32. package/dist/tools/setup-tools.js.map +1 -0
  33. package/dist/tools/validation-tools.d.ts +34 -0
  34. package/dist/tools/validation-tools.d.ts.map +1 -0
  35. package/dist/tools/validation-tools.js +134 -0
  36. package/dist/tools/validation-tools.js.map +1 -0
  37. package/dist/tools/wu-tools.d.ts +111 -0
  38. package/dist/tools/wu-tools.d.ts.map +1 -0
  39. package/dist/tools/wu-tools.js +768 -0
  40. package/dist/tools/wu-tools.js.map +1 -0
  41. package/dist/tools-shared.d.ts +170 -0
  42. package/dist/tools-shared.d.ts.map +1 -0
  43. package/dist/tools-shared.js +203 -0
  44. package/dist/tools-shared.js.map +1 -0
  45. package/dist/tools.d.ts +34 -466
  46. package/dist/tools.d.ts.map +1 -1
  47. package/dist/tools.js +55 -3323
  48. package/dist/tools.js.map +1 -1
  49. package/package.json +4 -4
package/dist/tools.d.ts CHANGED
@@ -1,476 +1,44 @@
1
1
  /**
2
2
  * @file tools.ts
3
- * @description MCP tool implementations for LumenFlow operations
3
+ * @description MCP tool barrel - re-exports all domain tool modules and assembles the allTools registry.
4
+ *
5
+ * WU-1642: Decomposed from monolithic tools.ts into domain-scoped modules:
6
+ * - tools-shared.ts: Types, constants, helpers shared across domains
7
+ * - tools/context-tools.ts: context_get, wu_list
8
+ * - tools/wu-tools.ts: WU lifecycle (create, claim, done, block, edit, etc.)
9
+ * - tools/initiative-tools.ts: Initiative operations
10
+ * - tools/memory-tools.ts: Memory operations
11
+ * - tools/agent-tools.ts: Agent session/issue operations
12
+ * - tools/orchestration-tools.ts: Orchestration + spawn operations
13
+ * - tools/flow-tools.ts: Flow/metrics operations
14
+ * - tools/validation-tools.ts: Validation operations
15
+ * - tools/setup-tools.ts: Setup/LumenFlow operations
16
+ * - tools/parity-tools.ts: Wave-1 + Wave-2 public parity operations
4
17
  *
5
18
  * WU-1412: Tools available: context_get, wu_list, wu_status, wu_create, wu_claim, wu_done, gates_run
6
- * WU-1422: Additional WU tools: wu_block, wu_unblock, wu_edit, wu_release, wu_recover, wu_repair,
7
- * wu_deps, wu_prep, wu_preflight, wu_prune, wu_delete, wu_cleanup, wu_validate,
8
- * wu_infer_lane, wu_unlock_lane
9
- * WU-1424: Initiative tools: initiative_list, initiative_status, initiative_create, initiative_edit,
10
- * initiative_add_wu, initiative_remove_wu, initiative_bulk_assign, initiative_plan
11
- * Memory tools: mem_init, mem_start, mem_ready, mem_checkpoint, mem_cleanup, mem_context,
12
- * mem_create, mem_delete, mem_export, mem_inbox, mem_signal, mem_summarize, mem_triage,
13
- * mem_recover
14
- * WU-1425: Agent tools: agent_session, agent_session_end, agent_log_issue, agent_issues_query
15
- * Orchestration tools: orchestrate_initiative, orchestrate_init_status, orchestrate_monitor
16
- * Spawn tools: spawn_list
17
- * WU-1426: Flow/Metrics tools: flow_bottlenecks, flow_report, metrics_snapshot
18
- * Validation tools: validate, validate_agent_skills, validate_agent_sync,
19
- * validate_backlog_sync, validate_skills_spec
20
- * Setup tools: lumenflow_init, lumenflow_doctor, lumenflow_integrate, lumenflow_upgrade,
21
- * lumenflow_commands, lumenflow_docs_sync, lumenflow_release, lumenflow_sync_templates
19
+ * WU-1422: Additional WU tools
20
+ * WU-1424: Initiative tools, Memory tools
21
+ * WU-1425: Agent tools, Orchestration tools, Spawn tools
22
+ * WU-1426: Flow/Metrics tools, Validation tools, Setup tools
22
23
  * WU-1431: Uses shared Zod schemas from @lumenflow/core for CLI/MCP parity
23
24
  * WU-1454: All 16 WU lifecycle commands now use shared schemas
24
25
  * WU-1456: Memory commands use shared schemas where available
25
- * WU-1457: All remaining commands (flow, validation, setup, agent, orchestration, spawn) use shared schemas
26
- *
27
- * Architecture:
28
- * - Read operations (context_get) use @lumenflow/core directly for context
29
- * - All other operations shell out to CLI for consistency and safety
30
- * - Input schemas are derived from shared schemas in @lumenflow/core (WU-1431, WU-1454)
31
- */
32
- import { z } from 'zod';
33
- /**
34
- * Tool result structure matching MCP SDK expectations
35
- */
36
- export interface ToolResult {
37
- success: boolean;
38
- data?: unknown;
39
- error?: {
40
- message: string;
41
- code?: string;
42
- };
43
- }
44
- /**
45
- * Base tool definition
46
- */
47
- export interface ToolDefinition {
48
- name: string;
49
- description: string;
50
- inputSchema: z.ZodType;
51
- execute: (input: Record<string, unknown>, options?: {
52
- projectRoot?: string;
53
- }) => Promise<ToolResult>;
54
- }
55
- /**
56
- * context_get - Get current WU context (location, git state, WU state)
57
- */
58
- export declare const contextGetTool: ToolDefinition;
59
- /**
60
- * wu_list - List all WUs with optional status filter
61
- * Uses CLI shell-out for consistency with other tools
62
- *
63
- * WU-1431: Uses shared wuStatusEnum for status filter
64
- */
65
- export declare const wuListTool: ToolDefinition;
66
- /**
67
- * wu_status - Get status of a specific WU
68
- * Uses CLI shell-out for consistency
69
- *
70
- * WU-1431: Uses shared wuStatusSchema for parity with CLI
71
- * Note: CLI allows id to be optional (auto-detect from worktree), but MCP requires it
72
- * since there's no "current directory" concept for MCP clients
73
- */
74
- export declare const wuStatusTool: ToolDefinition;
75
- /**
76
- * wu_create - Create a new WU
77
- *
78
- * WU-1431: Uses shared wuCreateSchema for CLI/MCP parity
79
- */
80
- export declare const wuCreateTool: ToolDefinition;
81
- /**
82
- * wu_claim - Claim a WU and create worktree
83
- *
84
- * WU-1431: Uses shared wuClaimSchema for CLI/MCP parity
85
- * WU-1491: Supports --cloud, --branch-only, and --pr-mode passthrough
86
- */
87
- export declare const wuClaimTool: ToolDefinition;
88
- /**
89
- * wu_done - Complete a WU (must be run from main checkout)
90
- *
91
- * WU-1431: Uses shared wuDoneSchema for CLI/MCP parity
92
- */
93
- export declare const wuDoneTool: ToolDefinition;
94
- /**
95
- * gates_run - Run quality gates
96
- *
97
- * WU-1431: Uses shared gatesSchema for CLI/MCP parity
98
- */
99
- export declare const gatesRunTool: ToolDefinition;
100
- /**
101
- * backlog_prune - Clean stale backlog entries
102
- */
103
- export declare const backlogPruneTool: ToolDefinition;
104
- /**
105
- * docs_sync - Sync agent docs to existing project
106
- */
107
- export declare const docsSyncTool: ToolDefinition;
108
- /**
109
- * gates - Public gates command
110
- */
111
- export declare const gatesTool: ToolDefinition;
112
- /**
113
- * gates_docs - Public docs-only gates alias
114
- */
115
- export declare const gatesDocsTool: ToolDefinition;
116
- /**
117
- * lane_health - Diagnose lane configuration issues
118
- */
119
- export declare const laneHealthTool: ToolDefinition;
120
- /**
121
- * lane_suggest - Suggest lane definitions from project context
122
- */
123
- export declare const laneSuggestTool: ToolDefinition;
124
- /**
125
- * lumenflow - Public initializer command
126
- */
127
- export declare const lumenflowTool: ToolDefinition;
128
- /**
129
- * lumenflow_gates - Public gates alias
130
- */
131
- export declare const lumenflowGatesTool: ToolDefinition;
132
- /**
133
- * lumenflow_validate - Public validate alias
134
- */
135
- export declare const lumenflowValidateTool: ToolDefinition;
136
- /**
137
- * lumenflow_metrics - Public metrics alias
138
- */
139
- export declare const lumenflowMetricsTool: ToolDefinition;
140
- /**
141
- * metrics - Unified workflow metrics command
142
- */
143
- export declare const metricsTool: ToolDefinition;
144
- /**
145
- * state_bootstrap - Bootstrap event store from WU YAMLs
146
- */
147
- export declare const stateBootstrapTool: ToolDefinition;
148
- /**
149
- * state_cleanup - Run unified state cleanup
150
- */
151
- export declare const stateCleanupTool: ToolDefinition;
152
- /**
153
- * state_doctor - Diagnose and repair state issues
154
- */
155
- export declare const stateDoctorTool: ToolDefinition;
156
- /**
157
- * sync_templates - Sync templates from source docs
158
- */
159
- export declare const syncTemplatesTool: ToolDefinition;
160
- /**
161
- * file_read - Read file content with audit trail
162
- */
163
- export declare const fileReadTool: ToolDefinition;
164
- /**
165
- * file_write - Write file content with audit trail
166
- */
167
- export declare const fileWriteTool: ToolDefinition;
168
- /**
169
- * file_edit - Replace exact string matches in a file
170
- */
171
- export declare const fileEditTool: ToolDefinition;
172
- /**
173
- * file_delete - Delete file or directory with audit trail
174
- */
175
- export declare const fileDeleteTool: ToolDefinition;
176
- /**
177
- * git_status - Show git status
178
- */
179
- export declare const gitStatusTool: ToolDefinition;
180
- /**
181
- * git_diff - Show git diff
182
- */
183
- export declare const gitDiffTool: ToolDefinition;
184
- /**
185
- * git_log - Show commit history
186
- */
187
- export declare const gitLogTool: ToolDefinition;
188
- /**
189
- * git_branch - Show branch information
190
- */
191
- export declare const gitBranchTool: ToolDefinition;
192
- /**
193
- * init_plan - Link plan to initiative (alias)
194
- */
195
- export declare const initPlanTool: ToolDefinition;
196
- /**
197
- * plan_create - Create a plan file
198
- */
199
- export declare const planCreateTool: ToolDefinition;
200
- /**
201
- * plan_edit - Edit an existing plan section
202
- */
203
- export declare const planEditTool: ToolDefinition;
204
- /**
205
- * plan_link - Link plan URI to WU/initiative
206
- */
207
- export declare const planLinkTool: ToolDefinition;
208
- /**
209
- * plan_promote - Promote plan to approved status
210
- */
211
- export declare const planPromoteTool: ToolDefinition;
212
- /**
213
- * signal_cleanup - Clean stale signals
214
- */
215
- export declare const signalCleanupTool: ToolDefinition;
216
- /**
217
- * wu_proto - Create and claim a prototype WU
218
- */
219
- export declare const wuProtoTool: ToolDefinition;
220
- /**
221
- * wu_block - Block a WU and move it to blocked status
222
- */
223
- export declare const wuBlockTool: ToolDefinition;
224
- /**
225
- * wu_unblock - Unblock a WU and move it back to in_progress status
226
- */
227
- export declare const wuUnblockTool: ToolDefinition;
228
- /**
229
- * wu_edit - Edit WU spec fields
230
- */
231
- export declare const wuEditTool: ToolDefinition;
232
- /**
233
- * wu_release - Release an orphaned WU from in_progress to ready status
234
- */
235
- export declare const wuReleaseTool: ToolDefinition;
236
- /**
237
- * wu_recover - Analyze and fix WU state inconsistencies
238
- */
239
- export declare const wuRecoverTool: ToolDefinition;
240
- /**
241
- * wu_repair - Unified WU repair tool for state issues
242
- */
243
- export declare const wuRepairTool: ToolDefinition;
244
- /**
245
- * wu_deps - Visualize WU dependency graph
246
- */
247
- export declare const wuDepsTool: ToolDefinition;
248
- /**
249
- * wu_prep - Prepare WU for completion (run gates in worktree)
250
- */
251
- export declare const wuPrepTool: ToolDefinition;
252
- /**
253
- * wu_preflight - Fast validation before gates run
254
- */
255
- export declare const wuPreflightTool: ToolDefinition;
256
- /**
257
- * wu_prune - Clean stale worktrees
258
- */
259
- export declare const wuPruneTool: ToolDefinition;
260
- /**
261
- * wu_delete - Safely delete WU YAML files
262
- */
263
- export declare const wuDeleteTool: ToolDefinition;
264
- /**
265
- * wu_cleanup - Clean up worktree and branch after PR merge
266
- */
267
- export declare const wuCleanupTool: ToolDefinition;
268
- /**
269
- * wu_brief - Generate handoff prompt for sub-agent WU execution (WU-1603)
270
- *
271
- * This is the canonical prompt-generation tool.
272
- */
273
- export declare const wuBriefTool: ToolDefinition;
274
- /**
275
- * wu_delegate - Generate prompt and explicitly record delegation lineage intent
276
- */
277
- export declare const wuDelegateTool: ToolDefinition;
278
- /**
279
- * wu_validate - Validate WU YAML files
280
- */
281
- export declare const wuValidateTool: ToolDefinition;
282
- /**
283
- * wu_infer_lane - Suggest lane for a WU based on code paths and description
284
- */
285
- export declare const wuInferLaneTool: ToolDefinition;
286
- /**
287
- * wu_unlock_lane - Safely unlock a lane lock with audit logging
288
- */
289
- export declare const wuUnlockLaneTool: ToolDefinition;
290
- /**
291
- * initiative_list - List all initiatives
292
- */
293
- export declare const initiativeListTool: ToolDefinition;
294
- /**
295
- * initiative_status - Get status of a specific initiative
296
- */
297
- export declare const initiativeStatusTool: ToolDefinition;
298
- /**
299
- * initiative_create - Create a new initiative
300
- */
301
- export declare const initiativeCreateTool: ToolDefinition;
302
- /**
303
- * initiative_edit - Edit initiative fields
304
- */
305
- export declare const initiativeEditTool: ToolDefinition;
306
- /**
307
- * initiative_add_wu - Add a WU to an initiative
308
- */
309
- export declare const initiativeAddWuTool: ToolDefinition;
310
- /**
311
- * initiative_remove_wu - Remove a WU from an initiative
312
- */
313
- export declare const initiativeRemoveWuTool: ToolDefinition;
314
- /**
315
- * initiative_bulk_assign - Bulk assign WUs to an initiative
316
- */
317
- export declare const initiatiBulkAssignTool: ToolDefinition;
318
- /**
319
- * initiative_plan - Link or create a plan for an initiative
320
- */
321
- export declare const initiativePlanTool: ToolDefinition;
322
- /**
323
- * mem_init - Initialize memory for a WU
324
- */
325
- export declare const memInitTool: ToolDefinition;
326
- /**
327
- * mem_start - Start a memory session
328
- */
329
- export declare const memStartTool: ToolDefinition;
330
- /**
331
- * mem_ready - Check pending nodes
332
- */
333
- export declare const memReadyTool: ToolDefinition;
334
- /**
335
- * mem_checkpoint - Save progress checkpoint
336
- */
337
- export declare const memCheckpointTool: ToolDefinition;
338
- /**
339
- * mem_cleanup - Clean up stale memory data
340
- */
341
- export declare const memCleanupTool: ToolDefinition;
342
- /**
343
- * mem_context - Get context for current lane/WU
344
- */
345
- export declare const memContextTool: ToolDefinition;
346
- /**
347
- * mem_create - Create a memory node
348
- */
349
- export declare const memCreateTool: ToolDefinition;
350
- /**
351
- * mem_delete - Delete/archive a memory node
352
- */
353
- export declare const memDeleteTool: ToolDefinition;
354
- /**
355
- * mem_export - Export memory as markdown
356
- */
357
- export declare const memExportTool: ToolDefinition;
358
- /**
359
- * mem_inbox - Check coordination signals
360
- */
361
- export declare const memInboxTool: ToolDefinition;
362
- /**
363
- * mem_signal - Broadcast coordination signal
364
- */
365
- export declare const memSignalTool: ToolDefinition;
366
- /**
367
- * mem_summarize - Summarize memory context
368
- */
369
- export declare const memSummarizeTool: ToolDefinition;
370
- /**
371
- * mem_triage - Triage discovered bugs
372
- */
373
- export declare const memTriageTool: ToolDefinition;
374
- /**
375
- * mem_recover - Generate post-compaction recovery context for a Work Unit
376
- */
377
- export declare const memRecoverTool: ToolDefinition;
378
- /**
379
- * agent_session - Start an agent session for tracking WU execution
380
- */
381
- export declare const agentSessionTool: ToolDefinition;
382
- /**
383
- * agent_session_end - End the current agent session
384
- */
385
- export declare const agentSessionEndTool: ToolDefinition;
386
- /**
387
- * agent_log_issue - Log a workflow issue or incident during agent execution
388
- */
389
- export declare const agentLogIssueTool: ToolDefinition;
390
- /**
391
- * agent_issues_query - Query and display logged agent incidents
392
- */
393
- export declare const agentIssuesQueryTool: ToolDefinition;
394
- /**
395
- * orchestrate_initiative - Orchestrate initiative execution with parallel agent spawning
396
- */
397
- export declare const orchestrateInitiativeTool: ToolDefinition;
398
- /**
399
- * orchestrate_init_status - Show initiative progress status
400
- */
401
- export declare const orchestrateInitStatusTool: ToolDefinition;
402
- /**
403
- * orchestrate_monitor - Monitor spawned agent progress and spawn health
404
- */
405
- export declare const orchestrateMonitorTool: ToolDefinition;
406
- /**
407
- * spawn_list - Display spawn trees for WUs or initiatives
408
- */
409
- export declare const spawnListTool: ToolDefinition;
410
- /**
411
- * flow_bottlenecks - Identify flow bottlenecks
412
- */
413
- export declare const flowBottlenecksTool: ToolDefinition;
414
- /**
415
- * flow_report - Generate flow metrics report
416
- */
417
- export declare const flowReportTool: ToolDefinition;
418
- /**
419
- * metrics_snapshot - Capture metrics snapshot
420
- */
421
- export declare const metricsSnapshotTool: ToolDefinition;
422
- /**
423
- * validate - Validate WU YAML files
424
- */
425
- export declare const validateTool: ToolDefinition;
426
- /**
427
- * validate_agent_skills - Validate agent skill definitions
428
- */
429
- export declare const validateAgentSkillsTool: ToolDefinition;
430
- /**
431
- * validate_agent_sync - Validate agent sync state
432
- */
433
- export declare const validateAgentSyncTool: ToolDefinition;
434
- /**
435
- * validate_backlog_sync - Validate backlog synchronization
436
- */
437
- export declare const validateBacklogSyncTool: ToolDefinition;
438
- /**
439
- * validate_skills_spec - Validate skills specification
440
- */
441
- export declare const validateSkillsSpecTool: ToolDefinition;
442
- /**
443
- * lumenflow_init - Initialize LumenFlow in a project
444
- */
445
- export declare const lumenflowInitTool: ToolDefinition;
446
- /**
447
- * lumenflow_doctor - Diagnose LumenFlow configuration
448
- */
449
- export declare const lumenflowDoctorTool: ToolDefinition;
450
- /**
451
- * lumenflow_integrate - Generate enforcement hooks for a client
452
- */
453
- export declare const lumenflowIntegrateTool: ToolDefinition;
454
- /**
455
- * lumenflow_upgrade - Upgrade LumenFlow packages
456
- */
457
- export declare const lumenflowUpgradeTool: ToolDefinition;
458
- /**
459
- * lumenflow_commands - List all available CLI commands
460
- */
461
- export declare const lumenflowCommandsTool: ToolDefinition;
462
- /**
463
- * lumenflow_docs_sync - Sync agent documentation
464
- */
465
- export declare const lumenflowDocsSyncTool: ToolDefinition;
466
- /**
467
- * lumenflow_release - Run release workflow
468
- */
469
- export declare const lumenflowReleaseTool: ToolDefinition;
470
- /**
471
- * lumenflow_sync_templates - Sync templates to project
472
- */
473
- export declare const lumenflowSyncTemplatesTool: ToolDefinition;
26
+ * WU-1457: All remaining commands use shared schemas
27
+ * WU-1482: Wave-1 public parity tools
28
+ * WU-1483: Wave-2 public parity tools
29
+ */
30
+ export type { ToolResult, ToolDefinition } from './tools-shared.js';
31
+ export { contextGetTool, wuListTool } from './tools/context-tools.js';
32
+ export { wuStatusTool, wuCreateTool, wuClaimTool, wuSandboxTool, wuDoneTool, gatesRunTool, wuBlockTool, wuUnblockTool, wuEditTool, wuReleaseTool, wuRecoverTool, wuRepairTool, wuDepsTool, wuPrepTool, wuPreflightTool, wuPruneTool, wuDeleteTool, wuCleanupTool, wuBriefTool, wuDelegateTool, wuValidateTool, wuInferLaneTool, wuUnlockLaneTool, } from './tools/wu-tools.js';
33
+ export { initiativeListTool, initiativeStatusTool, initiativeCreateTool, initiativeEditTool, initiativeAddWuTool, initiativeRemoveWuTool, initiatiBulkAssignTool, initiativePlanTool, } from './tools/initiative-tools.js';
34
+ export { memInitTool, memStartTool, memReadyTool, memCheckpointTool, memCleanupTool, memContextTool, memCreateTool, memDeleteTool, memExportTool, memInboxTool, memSignalTool, memSummarizeTool, memTriageTool, memRecoverTool, } from './tools/memory-tools.js';
35
+ export { agentSessionTool, agentSessionEndTool, agentLogIssueTool, agentIssuesQueryTool, } from './tools/agent-tools.js';
36
+ export { orchestrateInitiativeTool, orchestrateInitStatusTool, orchestrateMonitorTool, delegationListTool, } from './tools/orchestration-tools.js';
37
+ export { flowBottlenecksTool, flowReportTool, metricsSnapshotTool, lumenflowMetricsTool, metricsTool, } from './tools/flow-tools.js';
38
+ export { validateTool, validateAgentSkillsTool, validateAgentSyncTool, validateBacklogSyncTool, validateSkillsSpecTool, lumenflowValidateTool, } from './tools/validation-tools.js';
39
+ export { lumenflowInitTool, lumenflowDoctorTool, lumenflowIntegrateTool, lumenflowUpgradeTool, lumenflowCommandsTool, lumenflowDocsSyncTool, lumenflowReleaseTool, lumenflowSyncTemplatesTool, } from './tools/setup-tools.js';
40
+ export { backlogPruneTool, docsSyncTool, gatesTool, gatesDocsTool, laneHealthTool, laneSuggestTool, lumenflowTool, lumenflowGatesTool, stateBootstrapTool, stateCleanupTool, stateDoctorTool, syncTemplatesTool, fileReadTool, fileWriteTool, fileEditTool, fileDeleteTool, gitStatusTool, gitDiffTool, gitLogTool, gitBranchTool, initPlanTool, planCreateTool, planEditTool, planLinkTool, planPromoteTool, signalCleanupTool, wuProtoTool, } from './tools/parity-tools.js';
41
+ import type { ToolDefinition } from './tools-shared.js';
474
42
  /**
475
43
  * MCP parity exclusions for tools that are intentionally MCP-only or maintainer-only.
476
44
  *
@@ -1 +1 @@
1
- {"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAiGxB;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE;QACN,OAAO,EAAE,MAAM,CAAC;QAChB,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,CAAC;CACH;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,CAAC,CAAC,OAAO,CAAC;IACvB,OAAO,EAAE,CACP,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC9B,OAAO,CAAC,EAAE;QAAE,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE,KAC/B,OAAO,CAAC,UAAU,CAAC,CAAC;CAC1B;AA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AAE,GAC9B,uBAAuB,CAgBzB;AAED;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,cAAc,EAgHpC,CAAC"}
1
+ {"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAGH,YAAY,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGpE,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAGtE,OAAO,EACL,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,aAAa,EACb,UAAU,EACV,YAAY,EACZ,WAAW,EACX,aAAa,EACb,UAAU,EACV,aAAa,EACb,aAAa,EACb,YAAY,EACZ,UAAU,EACV,UAAU,EACV,eAAe,EACf,WAAW,EACX,YAAY,EACZ,aAAa,EACb,WAAW,EACX,cAAc,EACd,cAAc,EACd,eAAe,EACf,gBAAgB,GACjB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,oBAAoB,EACpB,kBAAkB,EAClB,mBAAmB,EACnB,sBAAsB,EACtB,sBAAsB,EACtB,kBAAkB,GACnB,MAAM,6BAA6B,CAAC;AAGrC,OAAO,EACL,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,iBAAiB,EACjB,cAAc,EACd,cAAc,EACd,aAAa,EACb,aAAa,EACb,aAAa,EACb,YAAY,EACZ,aAAa,EACb,gBAAgB,EAChB,aAAa,EACb,cAAc,GACf,MAAM,yBAAyB,CAAC;AAGjC,OAAO,EACL,gBAAgB,EAChB,mBAAmB,EACnB,iBAAiB,EACjB,oBAAoB,GACrB,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EACL,yBAAyB,EACzB,yBAAyB,EACzB,sBAAsB,EACtB,kBAAkB,GACnB,MAAM,gCAAgC,CAAC;AAGxC,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,mBAAmB,EAC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