@girardmedia/bootspring 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +255 -0
- package/agents/README.md +93 -0
- package/agents/api-expert/context.md +416 -0
- package/agents/architecture-expert/context.md +454 -0
- package/agents/backend-expert/context.md +483 -0
- package/agents/code-review-expert/context.md +365 -0
- package/agents/database-expert/context.md +250 -0
- package/agents/devops-expert/context.md +446 -0
- package/agents/frontend-expert/context.md +364 -0
- package/agents/index.js +140 -0
- package/agents/performance-expert/context.md +377 -0
- package/agents/security-expert/context.md +343 -0
- package/agents/testing-expert/context.md +414 -0
- package/agents/ui-ux-expert/context.md +448 -0
- package/agents/vercel-expert/context.md +426 -0
- package/bin/bootspring.js +310 -0
- package/cli/agent.js +337 -0
- package/cli/context.js +194 -0
- package/cli/dashboard.js +150 -0
- package/cli/generate.js +294 -0
- package/cli/init.js +410 -0
- package/cli/loop.js +421 -0
- package/cli/mcp.js +241 -0
- package/cli/memory.js +303 -0
- package/cli/orchestrator.js +400 -0
- package/cli/plugin.js +451 -0
- package/cli/quality.js +332 -0
- package/cli/skill.js +369 -0
- package/cli/task.js +628 -0
- package/cli/telemetry.js +114 -0
- package/cli/todo.js +614 -0
- package/cli/update.js +312 -0
- package/core/config.js +245 -0
- package/core/context.js +329 -0
- package/core/entitlements.js +209 -0
- package/core/index.js +43 -0
- package/core/policies.js +68 -0
- package/core/telemetry.js +247 -0
- package/core/utils.js +380 -0
- package/dashboard/server.js +818 -0
- package/docs/integrations/claude-code.md +42 -0
- package/docs/integrations/codex.md +42 -0
- package/docs/mcp-api-platform.md +102 -0
- package/generators/generate.js +598 -0
- package/generators/index.js +18 -0
- package/hooks/context-detector.js +177 -0
- package/hooks/index.js +35 -0
- package/hooks/prompt-enhancer.js +289 -0
- package/intelligence/git-memory.js +551 -0
- package/intelligence/index.js +59 -0
- package/intelligence/orchestrator.js +964 -0
- package/intelligence/prd.js +447 -0
- package/intelligence/recommendation-weights.json +18 -0
- package/intelligence/recommendations.js +234 -0
- package/mcp/capabilities.js +71 -0
- package/mcp/contracts/mcp-contract.v1.json +497 -0
- package/mcp/registry.js +213 -0
- package/mcp/response-formatter.js +462 -0
- package/mcp/server.js +99 -0
- package/mcp/tools/agent-tool.js +137 -0
- package/mcp/tools/capabilities-tool.js +54 -0
- package/mcp/tools/context-tool.js +49 -0
- package/mcp/tools/dashboard-tool.js +58 -0
- package/mcp/tools/generate-tool.js +46 -0
- package/mcp/tools/loop-tool.js +134 -0
- package/mcp/tools/memory-tool.js +180 -0
- package/mcp/tools/orchestrator-tool.js +232 -0
- package/mcp/tools/plugin-tool.js +76 -0
- package/mcp/tools/quality-tool.js +47 -0
- package/mcp/tools/skill-tool.js +233 -0
- package/mcp/tools/telemetry-tool.js +95 -0
- package/mcp/tools/todo-tool.js +133 -0
- package/package.json +98 -0
- package/plugins/index.js +141 -0
- package/quality/index.js +380 -0
- package/quality/lint-budgets.json +19 -0
- package/skills/index.js +787 -0
- package/skills/patterns/README.md +163 -0
- package/skills/patterns/api/route-handler.md +217 -0
- package/skills/patterns/api/server-action.md +249 -0
- package/skills/patterns/auth/clerk.md +132 -0
- package/skills/patterns/database/prisma.md +180 -0
- package/skills/patterns/payments/stripe.md +272 -0
- package/skills/patterns/security/validation.md +268 -0
- package/skills/patterns/testing/vitest.md +307 -0
- package/templates/bootspring.config.js +83 -0
- package/templates/mcp.json +9 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Bootspring + Claude Code
|
|
2
|
+
|
|
3
|
+
## Goal
|
|
4
|
+
|
|
5
|
+
Connect Claude Code to Bootspring MCP so Claude can discover capabilities, run workflows, and respect premium entitlements.
|
|
6
|
+
|
|
7
|
+
## Quickstart
|
|
8
|
+
|
|
9
|
+
1. Install and configure Bootspring in your project.
|
|
10
|
+
2. Run MCP server:
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
npm run mcp
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
3. Register Bootspring MCP server in Claude Code MCP settings.
|
|
17
|
+
4. On session start, call:
|
|
18
|
+
- `bootspring_capabilities`
|
|
19
|
+
|
|
20
|
+
## Recommended call pattern
|
|
21
|
+
|
|
22
|
+
1. Session bootstrap:
|
|
23
|
+
- `bootspring_capabilities`
|
|
24
|
+
|
|
25
|
+
2. Context and planning:
|
|
26
|
+
- `bootspring_context action=summary`
|
|
27
|
+
- `bootspring_orchestrator action=analyze`
|
|
28
|
+
- `bootspring_orchestrator action=recommend`
|
|
29
|
+
|
|
30
|
+
3. Execution:
|
|
31
|
+
- `bootspring_orchestrator action=start workflow="<workflow-key>"`
|
|
32
|
+
- `bootspring_orchestrator action=next`
|
|
33
|
+
- `bootspring_orchestrator action=checkpoint signal="<signal>"`
|
|
34
|
+
|
|
35
|
+
4. Learning loop:
|
|
36
|
+
- `bootspring_telemetry action=upload`
|
|
37
|
+
|
|
38
|
+
## Entitlement behavior
|
|
39
|
+
|
|
40
|
+
- Premium-blocked paths emit `premium_prompted`.
|
|
41
|
+
- Unlocked premium usage emits `premium_unlocked`.
|
|
42
|
+
- Use these events to drive upgrade UX in Claude workflows.
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Bootspring + Codex
|
|
2
|
+
|
|
3
|
+
## Goal
|
|
4
|
+
|
|
5
|
+
Use Bootspring MCP as Codex's execution layer for capability discovery, workflow orchestration, and measurable outcomes.
|
|
6
|
+
|
|
7
|
+
## Quickstart
|
|
8
|
+
|
|
9
|
+
1. Ensure Bootspring is installed in project.
|
|
10
|
+
2. Start MCP server:
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
npm run mcp
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
3. Configure Codex MCP client to connect to Bootspring server.
|
|
17
|
+
4. At session start, read:
|
|
18
|
+
- `bootspring_capabilities`
|
|
19
|
+
|
|
20
|
+
## Recommended call pattern
|
|
21
|
+
|
|
22
|
+
1. Discover and adapt:
|
|
23
|
+
- `bootspring_capabilities`
|
|
24
|
+
|
|
25
|
+
2. Build execution plan:
|
|
26
|
+
- `bootspring_context action=summary`
|
|
27
|
+
- `bootspring_orchestrator action=recommend context="<task context>" limit=5`
|
|
28
|
+
|
|
29
|
+
3. Execute workflow:
|
|
30
|
+
- `bootspring_orchestrator action=start workflow="<workflow-key>"`
|
|
31
|
+
- `bootspring_orchestrator action=next`
|
|
32
|
+
- `bootspring_orchestrator action=status`
|
|
33
|
+
|
|
34
|
+
4. Improve over time:
|
|
35
|
+
- `bootspring_skill action=search query="<topic>"`
|
|
36
|
+
- `bootspring_telemetry action=upload`
|
|
37
|
+
|
|
38
|
+
## Production guidance
|
|
39
|
+
|
|
40
|
+
- Keep npm package lean; use server-mode manifests for premium data.
|
|
41
|
+
- Enforce contract drift checks with `npm run verify:mcp-contract`.
|
|
42
|
+
- Use telemetry to rank workflows/skills by completion efficiency.
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
# Bootspring MCP API Platform
|
|
2
|
+
|
|
3
|
+
Bootspring provides a portable MCP capability layer that can add value to any AI coding client, including Claude Code and Codex.
|
|
4
|
+
|
|
5
|
+
## Why this helps standalone clients
|
|
6
|
+
|
|
7
|
+
1. Faster startup
|
|
8
|
+
- `bootspring_capabilities` tells clients what is available by tier and mode.
|
|
9
|
+
|
|
10
|
+
2. Better execution
|
|
11
|
+
- `bootspring_orchestrator` provides workflow packs with checkpoints and phase progression.
|
|
12
|
+
|
|
13
|
+
3. Safer premium delivery
|
|
14
|
+
- `bootspring_skill sync` and signed manifests keep npm builds lean while protecting premium value.
|
|
15
|
+
|
|
16
|
+
4. Measurable product loop
|
|
17
|
+
- Telemetry events track workflow completion and premium conversion signals.
|
|
18
|
+
|
|
19
|
+
## Tool contract highlights
|
|
20
|
+
|
|
21
|
+
1. `bootspring_capabilities`
|
|
22
|
+
- Use on session start.
|
|
23
|
+
- Enables adaptive UI/UX and feature toggles in client integrations.
|
|
24
|
+
|
|
25
|
+
2. `bootspring_skill`
|
|
26
|
+
- Supports bounded content via `summary`, `sections`, `maxChars`.
|
|
27
|
+
- Supports remote catalog sync with checksum/signature safeguards.
|
|
28
|
+
|
|
29
|
+
3. `bootspring_orchestrator`
|
|
30
|
+
- Supports lifecycle actions: list/show/start/next/checkpoint/status.
|
|
31
|
+
- Supports recommendation action: `recommend` (context + telemetry ranked workflows/skills).
|
|
32
|
+
- Exposes completion signal progress for workflow packs.
|
|
33
|
+
|
|
34
|
+
4. `bootspring_telemetry`
|
|
35
|
+
- Supports `status`, `list`, `upload`, `clear`.
|
|
36
|
+
- Bridges local event log to hosted analytics pipeline.
|
|
37
|
+
- Upload supports batching and retry semantics for production transport reliability.
|
|
38
|
+
|
|
39
|
+
## Contract artifact
|
|
40
|
+
|
|
41
|
+
- Canonical v1 contract snapshot: `mcp/contracts/mcp-contract.v1.json`
|
|
42
|
+
- Regenerate: `npm run build:mcp-contract`
|
|
43
|
+
- Verify no drift: `npm run verify:mcp-contract`
|
|
44
|
+
- CI enforcement: `.github/workflows/ci.yml` and `.github/workflows/publish.yml` run contract verification.
|
|
45
|
+
- Registry source of truth: `mcp/registry.js` composes tool/resource definitions and handlers.
|
|
46
|
+
|
|
47
|
+
## Entitlement model
|
|
48
|
+
|
|
49
|
+
1. Local mode
|
|
50
|
+
- Premium features can run locally for development and internal testing.
|
|
51
|
+
|
|
52
|
+
2. Server mode
|
|
53
|
+
- Premium skills and workflows require entitlement (`tier` or explicit entitlement flag).
|
|
54
|
+
- Blocked access emits `premium_prompted`.
|
|
55
|
+
- Granted premium access emits `premium_unlocked`.
|
|
56
|
+
|
|
57
|
+
## Policy profiles
|
|
58
|
+
|
|
59
|
+
- Policy profile is included in capabilities response (`access.policyProfile` and `policy`).
|
|
60
|
+
- Current profiles: `startup`, `regulated`, `enterprise`.
|
|
61
|
+
- Regulated profile currently blocks external skills and selected workflows (for governance-first environments).
|
|
62
|
+
|
|
63
|
+
## Telemetry taxonomy
|
|
64
|
+
|
|
65
|
+
- `workflow_started`
|
|
66
|
+
- `workflow_step_advanced`
|
|
67
|
+
- `workflow_checkpoint_completed`
|
|
68
|
+
- `pack_signal_checkpoint`
|
|
69
|
+
- `workflow_completed`
|
|
70
|
+
- `premium_prompted`
|
|
71
|
+
- `premium_unlocked`
|
|
72
|
+
|
|
73
|
+
## Website handoff notes
|
|
74
|
+
|
|
75
|
+
Use this doc to generate:
|
|
76
|
+
|
|
77
|
+
1. Product page section: "Works with Claude Code and Codex"
|
|
78
|
+
2. Integration guide: "MCP quickstart"
|
|
79
|
+
3. Enterprise page: "Entitlements, signatures, and audit-ready telemetry"
|
|
80
|
+
|
|
81
|
+
See implementation-ready client docs:
|
|
82
|
+
- `docs/integrations/claude-code.md`
|
|
83
|
+
- `docs/integrations/codex.md`
|
|
84
|
+
|
|
85
|
+
## Integration checklist (for any standalone client)
|
|
86
|
+
|
|
87
|
+
1. Call `bootspring_capabilities` at session start and cache response for the session.
|
|
88
|
+
2. Use tool `inputSchema` action enums as the single source of truth for UI/actions.
|
|
89
|
+
3. Route premium-denied responses to an upgrade surface keyed by `premium_prompted`.
|
|
90
|
+
4. Periodically call `bootspring_telemetry action=upload` (or after workflow completion).
|
|
91
|
+
5. Log client type (`claude-code`, `codex`, custom) in telemetry payload metadata.
|
|
92
|
+
|
|
93
|
+
## Why this is hard to replace
|
|
94
|
+
|
|
95
|
+
1. Curated execution packs
|
|
96
|
+
- Bootspring gives opinionated path-to-outcome workflows, not just command wrappers.
|
|
97
|
+
|
|
98
|
+
2. Entitlement-safe premium model
|
|
99
|
+
- Premium assets can stay server-delivered and signature-validated outside npm bundles.
|
|
100
|
+
|
|
101
|
+
3. Outcome analytics loop
|
|
102
|
+
- Workflow checkpoints and premium boundaries are instrumented as product signals, enabling compounding optimization.
|