@girardmedia/bootspring 3.3.3 → 3.4.1

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 (174) hide show
  1. package/assets/agents/accessibility-auditor.md +39 -0
  2. package/assets/agents/api-designer.md +40 -0
  3. package/assets/agents/auth-implementer.md +64 -0
  4. package/assets/agents/bug-hunter.md +42 -0
  5. package/assets/agents/bundle-analyzer.md +40 -0
  6. package/assets/agents/cache-optimizer.md +55 -0
  7. package/assets/agents/changelog-writer.md +55 -0
  8. package/assets/agents/ci-cd-builder.md +40 -0
  9. package/assets/agents/code-explainer.md +39 -0
  10. package/assets/agents/code-reviewer.md +39 -0
  11. package/assets/agents/cost-optimizer.md +57 -0
  12. package/assets/agents/cron-scheduler.md +51 -0
  13. package/assets/agents/data-seeder.md +56 -0
  14. package/assets/agents/database-architect.md +40 -0
  15. package/assets/agents/dependency-updater.md +40 -0
  16. package/assets/agents/deploy-checker.md +40 -0
  17. package/assets/agents/docker-optimizer.md +40 -0
  18. package/assets/agents/documentation-writer.md +40 -0
  19. package/assets/agents/email-builder.md +55 -0
  20. package/assets/agents/env-setup.md +40 -0
  21. package/assets/agents/error-handler.md +40 -0
  22. package/assets/agents/eslint-fixer.md +46 -0
  23. package/assets/agents/feature-flagger.md +69 -0
  24. package/assets/agents/git-detective.md +39 -0
  25. package/assets/agents/graphql-builder.md +60 -0
  26. package/assets/agents/incident-responder.md +59 -0
  27. package/assets/agents/log-analyzer.md +39 -0
  28. package/assets/agents/migration-planner.md +41 -0
  29. package/assets/agents/monorepo-navigator.md +39 -0
  30. package/assets/agents/nextjs-expert.md +57 -0
  31. package/assets/agents/notification-builder.md +56 -0
  32. package/assets/agents/onboarding-guide.md +39 -0
  33. package/assets/agents/performance-profiler.md +40 -0
  34. package/assets/agents/prisma-expert.md +57 -0
  35. package/assets/agents/rate-limiter.md +58 -0
  36. package/assets/agents/react-expert.md +58 -0
  37. package/assets/agents/refactorer.md +42 -0
  38. package/assets/agents/regex-builder.md +46 -0
  39. package/assets/agents/release-manager.md +40 -0
  40. package/assets/agents/s3-manager.md +58 -0
  41. package/assets/agents/schema-validator.md +40 -0
  42. package/assets/agents/search-builder.md +62 -0
  43. package/assets/agents/security-auditor.md +39 -0
  44. package/assets/agents/sitemap-generator.md +53 -0
  45. package/assets/agents/stripe-integrator.md +59 -0
  46. package/assets/agents/tailwind-expert.md +55 -0
  47. package/assets/agents/tech-debt-tracker.md +39 -0
  48. package/assets/agents/test-writer.md +42 -0
  49. package/assets/agents/type-fixer.md +45 -0
  50. package/assets/agents/webhook-builder.md +54 -0
  51. package/assets/rules/cpp.md +53 -0
  52. package/assets/rules/css.md +52 -0
  53. package/assets/rules/go.md +50 -0
  54. package/assets/rules/html.md +52 -0
  55. package/assets/rules/java.md +51 -0
  56. package/assets/rules/kotlin.md +50 -0
  57. package/assets/rules/php.md +51 -0
  58. package/assets/rules/python.md +51 -0
  59. package/assets/rules/ruby.md +51 -0
  60. package/assets/rules/rust.md +49 -0
  61. package/assets/rules/shell.md +52 -0
  62. package/assets/rules/sql.md +49 -0
  63. package/assets/rules/swift.md +50 -0
  64. package/assets/rules/typescript.md +52 -0
  65. package/assets/rules/yaml-json.md +51 -0
  66. package/assets/skills/accessibility.md +210 -0
  67. package/assets/skills/agent-patterns.md +387 -0
  68. package/assets/skills/ai-integration.md +263 -0
  69. package/assets/skills/animation-patterns.md +224 -0
  70. package/assets/skills/api-design.md +218 -0
  71. package/assets/skills/api-gateway.md +341 -0
  72. package/assets/skills/api-versioning.md +226 -0
  73. package/assets/skills/astro-patterns.md +233 -0
  74. package/assets/skills/auth-patterns.md +248 -0
  75. package/assets/skills/aws-patterns.md +171 -0
  76. package/assets/skills/background-jobs.md +162 -0
  77. package/assets/skills/browser-extensions.md +309 -0
  78. package/assets/skills/caching-patterns.md +253 -0
  79. package/assets/skills/ci-cd.md +251 -0
  80. package/assets/skills/cli-development.md +296 -0
  81. package/assets/skills/code-review.md +185 -0
  82. package/assets/skills/cron-patterns.md +327 -0
  83. package/assets/skills/data-fetching.md +231 -0
  84. package/assets/skills/database-migrations.md +346 -0
  85. package/assets/skills/database-patterns.md +219 -0
  86. package/assets/skills/debugging.md +281 -0
  87. package/assets/skills/design-system.md +289 -0
  88. package/assets/skills/django-patterns.md +182 -0
  89. package/assets/skills/docker-patterns.md +235 -0
  90. package/assets/skills/e2e-testing.md +287 -0
  91. package/assets/skills/edge-computing.md +268 -0
  92. package/assets/skills/electron-patterns.md +266 -0
  93. package/assets/skills/email-templates.md +206 -0
  94. package/assets/skills/error-handling.md +265 -0
  95. package/assets/skills/event-driven.md +232 -0
  96. package/assets/skills/express-patterns.md +239 -0
  97. package/assets/skills/fastapi-patterns.md +198 -0
  98. package/assets/skills/feature-flags.md +212 -0
  99. package/assets/skills/figma-to-code.md +298 -0
  100. package/assets/skills/file-upload.md +228 -0
  101. package/assets/skills/forms-patterns.md +264 -0
  102. package/assets/skills/gcp-patterns.md +189 -0
  103. package/assets/skills/git-workflow.md +187 -0
  104. package/assets/skills/golang-patterns.md +185 -0
  105. package/assets/skills/graphql-patterns.md +244 -0
  106. package/assets/skills/i18n-patterns.md +172 -0
  107. package/assets/skills/image-processing.md +350 -0
  108. package/assets/skills/java-springboot.md +226 -0
  109. package/assets/skills/kotlin-patterns.md +207 -0
  110. package/assets/skills/kubernetes-patterns.md +326 -0
  111. package/assets/skills/laravel-patterns.md +261 -0
  112. package/assets/skills/llm-fine-tuning.md +335 -0
  113. package/assets/skills/load-testing.md +303 -0
  114. package/assets/skills/logging-observability.md +228 -0
  115. package/assets/skills/markdown-processing.md +318 -0
  116. package/assets/skills/mcp-server-patterns.md +292 -0
  117. package/assets/skills/microservices.md +272 -0
  118. package/assets/skills/migration-patterns.md +239 -0
  119. package/assets/skills/mongodb-patterns.md +189 -0
  120. package/assets/skills/monorepo-patterns.md +287 -0
  121. package/assets/skills/nextjs-app-router.md +237 -0
  122. package/assets/skills/notification-patterns.md +348 -0
  123. package/assets/skills/oauth-patterns.md +246 -0
  124. package/assets/skills/payment-integration.md +222 -0
  125. package/assets/skills/pdf-generation.md +307 -0
  126. package/assets/skills/performance-optimization.md +277 -0
  127. package/assets/skills/php-patterns.md +210 -0
  128. package/assets/skills/prisma-patterns.md +241 -0
  129. package/assets/skills/prompt-engineering.md +193 -0
  130. package/assets/skills/pwa-patterns.md +247 -0
  131. package/assets/skills/python-patterns.md +158 -0
  132. package/assets/skills/python-testing.md +172 -0
  133. package/assets/skills/queue-patterns.md +295 -0
  134. package/assets/skills/rag-patterns.md +159 -0
  135. package/assets/skills/rate-limiting.md +319 -0
  136. package/assets/skills/react-components.md +201 -0
  137. package/assets/skills/react-native-patterns.md +299 -0
  138. package/assets/skills/real-time-patterns.md +181 -0
  139. package/assets/skills/redis-patterns.md +188 -0
  140. package/assets/skills/refactoring.md +218 -0
  141. package/assets/skills/regex-patterns.md +191 -0
  142. package/assets/skills/remix-patterns.md +262 -0
  143. package/assets/skills/responsive-design.md +199 -0
  144. package/assets/skills/ruby-rails-patterns.md +178 -0
  145. package/assets/skills/rust-patterns.md +211 -0
  146. package/assets/skills/search-patterns.md +227 -0
  147. package/assets/skills/security-hardening.md +237 -0
  148. package/assets/skills/seo-patterns.md +179 -0
  149. package/assets/skills/serverless-patterns.md +223 -0
  150. package/assets/skills/sql-optimization.md +154 -0
  151. package/assets/skills/state-management.md +254 -0
  152. package/assets/skills/storybook-patterns.md +330 -0
  153. package/assets/skills/svelte-patterns.md +258 -0
  154. package/assets/skills/swift-patterns.md +227 -0
  155. package/assets/skills/tailwind-patterns.md +272 -0
  156. package/assets/skills/tdd-workflow.md +199 -0
  157. package/assets/skills/terraform-patterns.md +270 -0
  158. package/assets/skills/testing-react.md +240 -0
  159. package/assets/skills/testing-vitest.md +232 -0
  160. package/assets/skills/typescript-strict.md +159 -0
  161. package/assets/skills/video-processing.md +340 -0
  162. package/assets/skills/vue-patterns.md +247 -0
  163. package/assets/skills/web-workers.md +327 -0
  164. package/assets/skills/webhooks-patterns.md +283 -0
  165. package/assets/skills/websocket-patterns.md +306 -0
  166. package/dist/cli/index.js +1024 -888
  167. package/dist/cli-launcher.js +1 -1
  168. package/dist/core/index.d.ts +2777 -0
  169. package/dist/core/index.js +2 -0
  170. package/dist/core.js +40 -32
  171. package/dist/mcp/index.d.ts +618 -0
  172. package/dist/mcp/index.js +2 -0
  173. package/dist/mcp-server.js +74 -245
  174. package/package.json +4 -1
@@ -0,0 +1,618 @@
1
+ import { Server } from '@modelcontextprotocol/sdk/server/index.js';
2
+ import { ToolDefinition, ResourceDefinition, ToolHandler, ResourceHandler, InvokeToolOptions, InvokeToolResult, MCPToolResult, WorkflowDefinition, CapabilitiesManifest } from '@bootspring/types';
3
+ export { InvocationContext, InvokeToolOptions, InvokeToolResult, ResourceDefinition, ResourceHandler, ToolDefinition, ToolHandler } from '@bootspring/types';
4
+ import { Vitals } from '@bootspring/shared';
5
+
6
+ /**
7
+ * Bootspring MCP Server
8
+ * Model Context Protocol server for AI assistant integration
9
+ *
10
+ * @package @bootspring/mcp
11
+ * @module server
12
+ */
13
+
14
+ interface ValidationResult {
15
+ valid: boolean;
16
+ errors: string[];
17
+ }
18
+ interface RegistryExports {
19
+ TOOLS: ToolDefinition[];
20
+ RESOURCES: ResourceDefinition[];
21
+ toolHandlers: Record<string, ToolHandler>;
22
+ resourceHandlers: Record<string, ResourceHandler>;
23
+ trackTelemetry: (event: string, payload: Record<string, unknown>) => void;
24
+ }
25
+ interface MCPServerOptions {
26
+ name?: string;
27
+ version?: string;
28
+ registry: RegistryExports;
29
+ onToolSuccess?: (toolName: string) => void;
30
+ }
31
+ interface BootstrapModule {
32
+ getRegistry?: () => RegistryExports;
33
+ main?: () => Promise<void>;
34
+ default?: {
35
+ getRegistry?: () => RegistryExports;
36
+ main?: () => Promise<void>;
37
+ };
38
+ }
39
+ interface ResolveRuntimeRegistryOptions {
40
+ basePath?: string;
41
+ defaultRegistry?: RegistryExports;
42
+ loadModule?: (specifier: string) => Promise<BootstrapModule>;
43
+ }
44
+ declare function createServer(options: MCPServerOptions): Promise<Server>;
45
+ declare function isRegistryPopulated(registry: RegistryExports): boolean;
46
+ /**
47
+ * @deprecated Legacy path resolution for pre-monorepo MCP installations.
48
+ * Will be removed in v5.0. Use getRegistryExports() from @bootspring/mcp/registry instead.
49
+ */
50
+ declare function getLegacyRegistryCandidatePaths(basePath?: string): string[];
51
+ declare function resolveRuntimeRegistry(options?: ResolveRuntimeRegistryOptions): Promise<RegistryExports | null>;
52
+ declare function startStdioServer(options: MCPServerOptions): Promise<void>;
53
+ declare function validateDependencies(): ValidationResult;
54
+ declare function main(): Promise<void>;
55
+
56
+ /**
57
+ * MCP Registry
58
+ * Central registry for tool/resource definitions and handler wiring
59
+ *
60
+ * @package @bootspring/mcp
61
+ * @module registry
62
+ */
63
+
64
+ type CompatibilityRegistry = ReturnType<typeof createRegistryExports>;
65
+ interface LegacyRegistryModule {
66
+ TOOLS?: ToolDefinition[] | undefined;
67
+ RESOURCES?: ResourceDefinition[] | undefined;
68
+ toolHandlers?: Record<string, ToolHandler> | undefined;
69
+ resourceHandlers?: Record<string, ResourceHandler> | undefined;
70
+ trackTelemetry?: ((event: string, payload: Record<string, unknown>) => void) | undefined;
71
+ getRegistry?: (() => CompatibilityRegistry) | undefined;
72
+ getRegistryExports?: (() => CompatibilityRegistry) | undefined;
73
+ default?: LegacyRegistryModule | undefined;
74
+ }
75
+ interface CompatibilityRegistryOptions {
76
+ basePath?: string | undefined;
77
+ defaultRegistry?: CompatibilityRegistry | undefined;
78
+ loadModule?: ((candidatePath: string) => LegacyRegistryModule) | undefined;
79
+ }
80
+ /**
81
+ * Register a tool with the MCP server
82
+ */
83
+ declare function registerTool(definition: ToolDefinition, handler: ToolHandler): void;
84
+ /**
85
+ * Register a resource with the MCP server
86
+ */
87
+ declare function registerResource(definition: ResourceDefinition, handler: ResourceHandler): void;
88
+ /**
89
+ * Load tools from a directory of tool modules
90
+ */
91
+ declare function loadToolsFromDirectory(toolsDir: string): void;
92
+ /**
93
+ * Invoke a tool from within another tool (tool-to-tool calls)
94
+ */
95
+ declare function invokeTool(toolName: string, args: Record<string, unknown>, options?: InvokeToolOptions): Promise<InvokeToolResult>;
96
+ /**
97
+ * Track telemetry events
98
+ */
99
+ declare function trackTelemetry(event: string, payload: Record<string, unknown>): void;
100
+ declare function createRegistryExports(): {
101
+ TOOLS: ToolDefinition[];
102
+ RESOURCES: ResourceDefinition[];
103
+ toolHandlers: Record<string, ToolHandler>;
104
+ resourceHandlers: Record<string, ResourceHandler>;
105
+ trackTelemetry: typeof trackTelemetry;
106
+ };
107
+ declare function getCompatibilityRegistryCandidatePaths(basePath?: string): string[];
108
+ declare function resolveCompatibilityRegistry(options?: CompatibilityRegistryOptions): CompatibilityRegistry;
109
+ /**
110
+ * Clear the result cache
111
+ */
112
+ declare function clearCache(): void;
113
+ /**
114
+ * Get all registered tools
115
+ */
116
+ declare function getTools(): ToolDefinition[];
117
+ /**
118
+ * Get all registered resources
119
+ */
120
+ declare function getResources(): ResourceDefinition[];
121
+ /**
122
+ * Get all tool handlers
123
+ */
124
+ declare function getToolHandlers(): Record<string, ToolHandler>;
125
+ /**
126
+ * Get all resource handlers
127
+ */
128
+ declare function getResourceHandlers(): Record<string, ResourceHandler>;
129
+ /**
130
+ * Get the full registry export object
131
+ */
132
+ declare function getRegistryExports(): {
133
+ TOOLS: ToolDefinition[];
134
+ RESOURCES: ResourceDefinition[];
135
+ toolHandlers: Record<string, ToolHandler>;
136
+ resourceHandlers: Record<string, ResourceHandler>;
137
+ trackTelemetry: typeof trackTelemetry;
138
+ };
139
+
140
+ /**
141
+ * MCP Response Formatter
142
+ * Creates well-structured, human-friendly tool responses
143
+ *
144
+ * @package @bootspring/mcp
145
+ * @module response-formatter
146
+ */
147
+
148
+ interface SuccessOptions {
149
+ summary?: string;
150
+ data?: unknown;
151
+ hints?: string[];
152
+ meta?: Record<string, unknown>;
153
+ }
154
+ interface ListOptions<T> {
155
+ title: string;
156
+ items: T[];
157
+ formatter?: (item: T, index: number) => string;
158
+ emptyMessage?: string;
159
+ hints?: string[];
160
+ }
161
+ interface AgentData {
162
+ name: string;
163
+ category?: string;
164
+ description: string;
165
+ expertise: string[];
166
+ systemPrompt?: string;
167
+ }
168
+ interface SkillData {
169
+ name: string;
170
+ description: string;
171
+ tags?: string[];
172
+ }
173
+ interface TodoItem {
174
+ text: string;
175
+ status?: string;
176
+ }
177
+ interface QualityGateResults {
178
+ name?: string;
179
+ gate?: string;
180
+ status: 'pass' | 'fail';
181
+ passed: number;
182
+ failed: number;
183
+ skipped?: number;
184
+ results: Array<{
185
+ name: string;
186
+ status: 'pass' | 'fail' | 'skip';
187
+ message?: string;
188
+ }>;
189
+ }
190
+ interface ContextValidationResult {
191
+ valid: boolean;
192
+ errors?: string[];
193
+ warnings?: string[];
194
+ suggestions?: string[];
195
+ }
196
+ interface ProjectContextDisplay {
197
+ project?: {
198
+ name?: string;
199
+ version?: string;
200
+ };
201
+ stack?: {
202
+ framework?: string;
203
+ language?: string;
204
+ database?: string;
205
+ };
206
+ plugins?: Record<string, unknown>;
207
+ }
208
+ interface OrchestratorStatus {
209
+ currentPhase?: string;
210
+ availableAgents?: number;
211
+ activeWorkflow?: string;
212
+ activeWorkflowSignalProgress?: {
213
+ completedSignals: unknown[];
214
+ totalSignals: number;
215
+ };
216
+ recentSuggestions?: Array<{
217
+ text?: string;
218
+ } | string>;
219
+ }
220
+ interface PRDData {
221
+ name: string;
222
+ stories: Array<{
223
+ title: string;
224
+ status: string;
225
+ }>;
226
+ }
227
+ interface ProgressInfo {
228
+ completed: number;
229
+ total: number;
230
+ percentage: number;
231
+ }
232
+ interface AssistResponseData {
233
+ confidenceTier?: 'high' | 'medium' | 'low' | 'very_low';
234
+ understood?: {
235
+ intent?: string;
236
+ confidence?: number;
237
+ description?: string;
238
+ };
239
+ primarySuggestion?: {
240
+ message: string;
241
+ };
242
+ clarificationNeeded?: boolean;
243
+ clarificationQuestion?: string;
244
+ clarificationOptions?: string[];
245
+ suggestions?: Array<{
246
+ message: string;
247
+ }>;
248
+ memoryInsight?: {
249
+ message: string;
250
+ recommendation: string;
251
+ };
252
+ recommendedTool?: {
253
+ name: string;
254
+ args: Record<string, unknown>;
255
+ reason: string;
256
+ };
257
+ }
258
+ interface MCPToolResultWithMeta extends MCPToolResult {
259
+ _meta?: Record<string, unknown>;
260
+ }
261
+ /**
262
+ * Lead any tool response with the signature Bootspring vitals strip — the
263
+ * glyph-forward one-liner (progress · tools · cost · burn). Returns fenced
264
+ * markdown so it survives in every MCP host. Use to prefix a response body:
265
+ * `${vitalsLine({ surface: 'agent', tools: 142, cost: 0.43 })}\n\n${body}`
266
+ */
267
+ declare function vitalsLine(vitals: Vitals): string;
268
+ /**
269
+ * Format a success response
270
+ */
271
+ declare function success(options: SuccessOptions): MCPToolResultWithMeta;
272
+ /**
273
+ * Format an error response
274
+ */
275
+ declare function error(message: string, suggestions?: string[]): MCPToolResult;
276
+ /**
277
+ * Format a warning response
278
+ */
279
+ declare function warning(message: string, suggestions?: string[]): MCPToolResult;
280
+ /**
281
+ * Format a list response
282
+ */
283
+ declare function list<T>(options: ListOptions<T>): MCPToolResult;
284
+ /**
285
+ * Format agent details
286
+ */
287
+ declare function agentDetails(id: string, agent: AgentData): MCPToolResult;
288
+ /**
289
+ * Format skill details
290
+ */
291
+ declare function skillDetails(id: string, skill: SkillData, content?: string | null): MCPToolResult;
292
+ /**
293
+ * Format todo list
294
+ */
295
+ declare function todoList(pending: TodoItem[], completed: TodoItem[]): MCPToolResult;
296
+ /**
297
+ * Format quality gate results
298
+ */
299
+ declare function qualityResults(results: QualityGateResults): MCPToolResult;
300
+ /**
301
+ * Format context validation results
302
+ */
303
+ declare function contextValidation(validation: ContextValidationResult): MCPToolResult;
304
+ /**
305
+ * Format project context summary
306
+ */
307
+ declare function contextSummary(ctx: ProjectContextDisplay): MCPToolResult;
308
+ /**
309
+ * Format orchestrator status
310
+ */
311
+ declare function orchestratorStatus(status: OrchestratorStatus): MCPToolResult;
312
+ /**
313
+ * Format PRD/loop status
314
+ */
315
+ declare function loopStatus(prd: PRDData, progress: ProgressInfo): MCPToolResult;
316
+ /**
317
+ * Generate a progress bar
318
+ */
319
+ declare function generateProgressBar(percentage: number): string;
320
+ /**
321
+ * Format assist response
322
+ */
323
+ declare function assistResponse(response: AssistResponseData): MCPToolResult;
324
+
325
+ /**
326
+ * MCP Capabilities
327
+ * Capability manifest for assistant clients
328
+ *
329
+ * @package @bootspring/mcp
330
+ * @module capabilities
331
+ */
332
+
333
+ interface BuildCapabilitiesOptions {
334
+ tier?: string;
335
+ entitled?: boolean;
336
+ mode?: string;
337
+ [key: string]: unknown;
338
+ }
339
+ interface WorkflowAccessContext {
340
+ mode: string;
341
+ tier: string;
342
+ entitled: boolean;
343
+ policyProfile: string;
344
+ }
345
+ interface PolicyProfile {
346
+ id: string;
347
+ allowExternalSkills: boolean;
348
+ blockedWorkflows: string[];
349
+ }
350
+ interface FilteredWorkflows {
351
+ allowed: WorkflowDefinition[];
352
+ denied: WorkflowDefinition[];
353
+ }
354
+ interface CapabilitiesDeps {
355
+ resolveWorkflowAccessContext: (options: BuildCapabilitiesOptions) => WorkflowAccessContext;
356
+ filterAccessibleWorkflows: (workflows: WorkflowDefinition[], options: BuildCapabilitiesOptions) => FilteredWorkflows;
357
+ getPolicyProfile: (profileId: string, options: BuildCapabilitiesOptions) => PolicyProfile;
358
+ listWorkflows: () => WorkflowDefinition[];
359
+ }
360
+ /**
361
+ * Build capabilities manifest
362
+ */
363
+ declare function buildCapabilities(deps: CapabilitiesDeps, options?: BuildCapabilitiesOptions): CapabilitiesManifest;
364
+ /**
365
+ * Build a default capabilities manifest for unauthenticated/local mode
366
+ */
367
+ declare function buildDefaultCapabilities(): CapabilitiesManifest;
368
+
369
+ /**
370
+ * MCP Tools — Docs Intelligence
371
+ * 5 tools for AI-powered documentation generation, updates, drift detection,
372
+ * quality improvement, and status checking.
373
+ *
374
+ * All tools call the server API — no IP in the MCP layer.
375
+ * @package @bootspring/mcp
376
+ */
377
+
378
+ declare function registerDocsIntelligenceTools(): void;
379
+ declare const DOCS_INTELLIGENCE_TOOLS: {
380
+ definition: ToolDefinition;
381
+ handler: ToolHandler;
382
+ }[];
383
+
384
+ /**
385
+ * MCP Tools — Quality Intelligence
386
+ * 3 tools for multi-agent quality analysis, history, and trend.
387
+ *
388
+ * All tools call the server API — no IP in the MCP layer.
389
+ * @package @bootspring/mcp
390
+ */
391
+
392
+ declare function registerQualityIntelligenceTools(): void;
393
+ declare const QUALITY_INTELLIGENCE_TOOLS: {
394
+ definition: ToolDefinition;
395
+ handler: ToolHandler;
396
+ }[];
397
+
398
+ /**
399
+ * MCP Tools — Assistant Parity Matrix
400
+ * 3 tools for assistant detection, listing, and parity checking.
401
+ *
402
+ * All tools call the server API — no IP in the MCP layer.
403
+ * @package @bootspring/mcp
404
+ */
405
+
406
+ declare function registerAssistantParityTools(): void;
407
+ declare const ASSISTANT_PARITY_TOOLS: {
408
+ definition: ToolDefinition;
409
+ handler: ToolHandler;
410
+ }[];
411
+
412
+ /**
413
+ * MCP Tools — RBAC Management
414
+ * 4 tools for project member management and audit access.
415
+ *
416
+ * All tools call the server API — no IP in the MCP layer.
417
+ * @package @bootspring/mcp
418
+ */
419
+
420
+ declare const RBAC_TOOLS: ToolDefinition[];
421
+ declare function registerRbacTools(): void;
422
+
423
+ /**
424
+ * MCP Tools — Metrics & Telemetry
425
+ * 3 tools for KPIs, telemetry events, and experiment management.
426
+ *
427
+ * All tools call the server API — no IP in the MCP layer.
428
+ * @package @bootspring/mcp
429
+ */
430
+
431
+ declare const METRICS_TOOLS: ToolDefinition[];
432
+ declare function registerMetricsTools(): void;
433
+
434
+ /**
435
+ * MCP Tools — Audit Quality Gates
436
+ * 4 tools for audit scanning, gate evaluation, findings, and regression.
437
+ *
438
+ * All tools call the server API — no IP in the MCP layer.
439
+ * @package @bootspring/mcp
440
+ */
441
+
442
+ declare const AUDIT_TOOLS: ToolDefinition[];
443
+ declare function registerAuditTools(): void;
444
+
445
+ /**
446
+ * MCP Tools — Release Engineering
447
+ * 4 tools for release gates, prepare, history, and rollback.
448
+ *
449
+ * All tools call the server API — no IP in the MCP layer.
450
+ * @package @bootspring/mcp
451
+ */
452
+
453
+ declare const RELEASE_TOOLS: ToolDefinition[];
454
+ declare function registerReleaseTools(): void;
455
+
456
+ /**
457
+ * MCP Tools — Context Sync & Document Integrity
458
+ * 4 tools for document tracking, integrity checks, sync operations, and conflict resolution.
459
+ *
460
+ * All tools call the server API — no IP in the MCP layer.
461
+ * @package @bootspring/mcp
462
+ */
463
+
464
+ declare const SYNC_TOOLS: ToolDefinition[];
465
+ declare function registerSyncTools(): void;
466
+
467
+ /**
468
+ * MCP Tools — Documentation Experience & Onboarding
469
+ * 4 tools for checklists, progress, guides, and onboarding stats.
470
+ *
471
+ * All tools call the server API — no IP in the MCP layer.
472
+ * @package @bootspring/mcp
473
+ */
474
+
475
+ declare const ONBOARDING_TOOLS: ToolDefinition[];
476
+ declare function registerOnboardingTools(): void;
477
+
478
+ /**
479
+ * MCP Tools — Marketplace & Partner Integration
480
+ * 4 tools for browsing integrations, managing installs, webhooks, and stats.
481
+ *
482
+ * All tools call the server API — no IP in the MCP layer.
483
+ * @package @bootspring/mcp
484
+ */
485
+
486
+ declare const MARKETPLACE_TOOLS: ToolDefinition[];
487
+ declare function registerMarketplaceTools(): void;
488
+
489
+ /**
490
+ * MCP Tools — Enterprise Compliance & Governance
491
+ * 4 tools for controls, risks, actions, and compliance stats.
492
+ *
493
+ * All tools call the server API — no IP in the MCP layer.
494
+ * @package @bootspring/mcp
495
+ */
496
+
497
+ declare const COMPLIANCE_TOOLS: ToolDefinition[];
498
+ declare function registerComplianceTools(): void;
499
+
500
+ /**
501
+ * MCP Tools — Notification & Event System
502
+ * 4 tools for events, notifications, subscriptions, and stats.
503
+ *
504
+ * All tools call the server API — no IP in the MCP layer.
505
+ * @package @bootspring/mcp
506
+ */
507
+
508
+ declare const NOTIFICATION_TOOLS: ToolDefinition[];
509
+ declare function registerNotificationTools(): void;
510
+
511
+ /**
512
+ * MCP Tools — Observer Intelligence Layer
513
+ * 10 tools for session metrics, cost tracking, intelligence analysis,
514
+ * pattern detection, alerts, trends, comparison, and optimization.
515
+ *
516
+ * All tools call the server API — no IP in the MCP layer.
517
+ * @package @bootspring/mcp
518
+ */
519
+
520
+ declare const OBSERVER_TOOLS: ToolDefinition[];
521
+ declare function registerObserverTools(): void;
522
+
523
+ /**
524
+ * @bootspring/mcp — Autopilot MCP Tools
525
+ * 4 tools: autopilot-status, autopilot-config, autopilot-suggestions, autopilot-learning
526
+ * @package @bootspring/mcp
527
+ */
528
+
529
+ declare const AUTOPILOT_TOOLS: ToolDefinition[];
530
+ declare function registerAutopilotTools(): void;
531
+
532
+ /**
533
+ * @bootspring/mcp — Brain NLU Router MCP Tool
534
+ * 1 tool: bootspring_brain — natural language router for skills, workflows, agents, pipelines.
535
+ * @package @bootspring/mcp
536
+ */
537
+
538
+ declare const BRAIN_TOOLS: ToolDefinition[];
539
+ declare function registerBrainTools(): void;
540
+
541
+ /**
542
+ * @bootspring/mcp — Swarm Intelligence MCP Tools
543
+ * 3 tools: bootspring_swarm, bootspring_memory, bootspring_plan
544
+ * @package @bootspring/mcp
545
+ */
546
+
547
+ declare const SWARM_TOOLS: ToolDefinition[];
548
+ declare function registerSwarmTools(): void;
549
+
550
+ /**
551
+ * Local Sprint Stack artifact helpers.
552
+ *
553
+ * @package @bootspring/mcp
554
+ */
555
+ type SprintEvidenceKind = 'review' | 'qa' | 'security' | 'release' | 'learning';
556
+ interface SprintArtifactResult {
557
+ kind: string;
558
+ path: string;
559
+ action: 'wrote' | 'appended';
560
+ }
561
+ interface SprintArtifactHistoryItem {
562
+ id: string;
563
+ kind: 'plan' | 'note';
564
+ label: string;
565
+ path: string;
566
+ updatedAt: string;
567
+ detail: string;
568
+ }
569
+ interface SprintArtifactDetail {
570
+ item: SprintArtifactHistoryItem;
571
+ content: string;
572
+ format: 'json' | 'markdown' | 'text';
573
+ size: number;
574
+ truncated: boolean;
575
+ }
576
+ declare const SPRINT_EVIDENCE_KINDS: SprintEvidenceKind[];
577
+ declare function sprintDir(projectRoot?: string): string;
578
+ declare function ensureSprintDir(projectRoot?: string): string;
579
+ declare function appendSprintEvidenceNote(kind: SprintEvidenceKind, note: string, projectRoot?: string): SprintArtifactResult;
580
+ declare function listSprintArtifacts(projectRoot?: string, limit?: number): SprintArtifactHistoryItem[];
581
+ declare function readSprintArtifactDetail(artifactPath: string, projectRoot?: string, maxBytes?: number): SprintArtifactDetail | null;
582
+
583
+ declare const SPRINT_TOOLS: ToolDefinition[];
584
+ declare function registerSprintTools(): void;
585
+
586
+ /**
587
+ * MCP Tools — Context Search
588
+ * Token-efficient code search tool that returns compact file:line:excerpt results
589
+ * instead of full file contents. Supports file glob, symbol, and content search.
590
+ *
591
+ * Local executor — no API calls; uses only Node.js built-ins.
592
+ * @package @bootspring/mcp
593
+ */
594
+
595
+ declare const CONTEXT_SEARCH_TOOLS: ToolDefinition[];
596
+ declare const contextSearchToolHandlers: Record<string, ToolHandler>;
597
+ declare function registerContextSearchTools(): void;
598
+
599
+ /**
600
+ * MCP Tools — Output Sandbox
601
+ *
602
+ * Since PostToolUse hooks cannot modify tool output, these MCP tools
603
+ * provide token-efficient alternatives to common operations that
604
+ * would otherwise dump large amounts of text into context.
605
+ *
606
+ * Tools:
607
+ * - bootspring_read_summary: Read a file and return structure + key sections
608
+ * - bootspring_test_compact: Run tests and return compact results
609
+ * - bootspring_doc_search: Search project docs with TF-IDF scoring
610
+ *
611
+ * @package @bootspring/mcp
612
+ */
613
+
614
+ declare const OUTPUT_SANDBOX_TOOLS: ToolDefinition[];
615
+ declare const outputSandboxToolHandlers: Record<string, ToolHandler>;
616
+ declare function registerOutputSandboxTools(): void;
617
+
618
+ export { ASSISTANT_PARITY_TOOLS, AUDIT_TOOLS, AUTOPILOT_TOOLS, type AgentData, type AssistResponseData, BRAIN_TOOLS, type BuildCapabilitiesOptions, COMPLIANCE_TOOLS, CONTEXT_SEARCH_TOOLS, type CapabilitiesDeps, type ContextValidationResult, DOCS_INTELLIGENCE_TOOLS, type FilteredWorkflows, type ListOptions, MARKETPLACE_TOOLS, type MCPServerOptions, type MCPToolResultWithMeta, METRICS_TOOLS, NOTIFICATION_TOOLS, OBSERVER_TOOLS, ONBOARDING_TOOLS, OUTPUT_SANDBOX_TOOLS, type OrchestratorStatus, type PRDData, type PolicyProfile, type ProgressInfo, type ProjectContextDisplay, QUALITY_INTELLIGENCE_TOOLS, type QualityGateResults, RBAC_TOOLS, RELEASE_TOOLS, type RegistryExports, SPRINT_EVIDENCE_KINDS, SPRINT_TOOLS, SWARM_TOOLS, SYNC_TOOLS, type SkillData, type SprintArtifactDetail, type SprintArtifactHistoryItem, type SprintArtifactResult, type SprintEvidenceKind, type SuccessOptions, type TodoItem, type ValidationResult, type WorkflowAccessContext, agentDetails, appendSprintEvidenceNote, assistResponse, buildCapabilities, buildDefaultCapabilities, clearCache, contextSearchToolHandlers, contextSummary, contextValidation, createServer, ensureSprintDir, error, generateProgressBar, getCompatibilityRegistryCandidatePaths, getLegacyRegistryCandidatePaths, getRegistryExports, getResourceHandlers, getResources, getToolHandlers, getTools, invokeTool, isRegistryPopulated, list, listSprintArtifacts, loadToolsFromDirectory, loopStatus, main, orchestratorStatus, outputSandboxToolHandlers, qualityResults, readSprintArtifactDetail, registerAssistantParityTools, registerAuditTools, registerAutopilotTools, registerBrainTools, registerComplianceTools, registerContextSearchTools, registerDocsIntelligenceTools, registerMarketplaceTools, registerMetricsTools, registerNotificationTools, registerObserverTools, registerOnboardingTools, registerOutputSandboxTools, registerQualityIntelligenceTools, registerRbacTools, registerReleaseTools, registerResource, registerSprintTools, registerSwarmTools, registerSyncTools, registerTool, resolveCompatibilityRegistry, resolveRuntimeRegistry, skillDetails, sprintDir, startStdioServer, success, todoList, trackTelemetry, validateDependencies, vitalsLine, warning };
@@ -0,0 +1,2 @@
1
+ 'use strict';
2
+ module.exports = require('../mcp-server.js');