@martinloop/mcp 0.3.6 → 0.3.7

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 (102) hide show
  1. package/README.md +137 -145
  2. package/dist/discovery-metadata.d.ts +1 -1
  3. package/dist/discovery-metadata.js +1 -1
  4. package/dist/package-version.d.ts +1 -1
  5. package/dist/package-version.js +1 -1
  6. package/dist/resources.d.ts +2 -1
  7. package/dist/resources.js +251 -197
  8. package/dist/server-validation.d.ts +1 -1
  9. package/dist/server-validation.js +11 -16
  10. package/dist/server.d.ts +0 -23
  11. package/dist/server.js +7 -152
  12. package/dist/tools/run-loop.d.ts +2 -1
  13. package/dist/tools/run-loop.js +5 -1
  14. package/dist/tools/tool-support.js +1 -0
  15. package/dist/vendor/adapters/adapters/src/claude-cli.d.ts +146 -0
  16. package/dist/vendor/adapters/adapters/src/claude-cli.js +1100 -0
  17. package/dist/vendor/adapters/adapters/src/cli-bridge.d.ts +103 -0
  18. package/dist/vendor/adapters/adapters/src/cli-bridge.js +569 -0
  19. package/dist/vendor/adapters/adapters/src/codex-launcher.d.ts +78 -0
  20. package/dist/vendor/adapters/adapters/src/codex-launcher.js +663 -0
  21. package/dist/vendor/adapters/adapters/src/direct-provider.d.ts +10 -0
  22. package/dist/vendor/adapters/adapters/src/direct-provider.js +40 -0
  23. package/dist/vendor/adapters/adapters/src/index.d.ts +8 -0
  24. package/dist/vendor/adapters/adapters/src/index.js +8 -0
  25. package/dist/vendor/adapters/adapters/src/openai-compatible.d.ts +62 -0
  26. package/dist/vendor/adapters/adapters/src/openai-compatible.js +306 -0
  27. package/dist/vendor/adapters/adapters/src/runtime-support.d.ts +17 -0
  28. package/dist/vendor/adapters/adapters/src/runtime-support.js +59 -0
  29. package/dist/vendor/adapters/adapters/src/stub-agent-cli.d.ts +8 -0
  30. package/dist/vendor/adapters/adapters/src/stub-agent-cli.js +40 -0
  31. package/dist/vendor/adapters/adapters/src/stub-direct-provider.d.ts +8 -0
  32. package/dist/vendor/adapters/adapters/src/stub-direct-provider.js +12 -0
  33. package/dist/vendor/adapters/adapters/src/verifier-only.d.ts +9 -0
  34. package/dist/vendor/adapters/adapters/src/verifier-only.js +63 -0
  35. package/dist/vendor/adapters/claude-cli.d.ts +2 -2
  36. package/dist/vendor/adapters/claude-cli.js +28 -42
  37. package/dist/vendor/adapters/contracts/src/context-graph.d.ts +48 -0
  38. package/dist/vendor/adapters/contracts/src/context-graph.js +26 -0
  39. package/dist/vendor/adapters/contracts/src/execution-policy.d.ts +78 -0
  40. package/dist/vendor/adapters/contracts/src/execution-policy.js +43 -0
  41. package/dist/vendor/adapters/contracts/src/governance.d.ts +24 -0
  42. package/dist/vendor/adapters/contracts/src/governance.js +11 -0
  43. package/dist/vendor/adapters/contracts/src/identity.d.ts +29 -0
  44. package/dist/vendor/adapters/contracts/src/identity.js +30 -0
  45. package/dist/vendor/adapters/contracts/src/index.d.ts +412 -0
  46. package/dist/vendor/adapters/contracts/src/index.js +225 -0
  47. package/dist/vendor/adapters/contracts/src/operator.d.ts +19 -0
  48. package/dist/vendor/adapters/contracts/src/operator.js +11 -0
  49. package/dist/vendor/adapters/contracts/src/trajectory.d.ts +26 -0
  50. package/dist/vendor/adapters/contracts/src/trajectory.js +27 -0
  51. package/dist/vendor/adapters/core/src/compiler.d.ts +52 -0
  52. package/dist/vendor/adapters/core/src/compiler.js +52 -0
  53. package/dist/vendor/adapters/core/src/context-graph.d.ts +3 -0
  54. package/dist/vendor/adapters/core/src/context-graph.js +371 -0
  55. package/dist/vendor/adapters/core/src/context-integrity.d.ts +26 -0
  56. package/dist/vendor/adapters/core/src/context-integrity.js +80 -0
  57. package/dist/vendor/adapters/core/src/grounding.d.ts +38 -0
  58. package/dist/vendor/adapters/core/src/grounding.js +273 -0
  59. package/dist/vendor/adapters/core/src/identity.d.ts +20 -0
  60. package/dist/vendor/adapters/core/src/identity.js +86 -0
  61. package/dist/vendor/adapters/core/src/index.d.ts +186 -0
  62. package/dist/vendor/adapters/core/src/index.js +1495 -0
  63. package/dist/vendor/adapters/core/src/leash.d.ts +48 -0
  64. package/dist/vendor/adapters/core/src/leash.js +497 -0
  65. package/dist/vendor/adapters/core/src/persistence/compiler.d.ts +18 -0
  66. package/dist/vendor/adapters/core/src/persistence/compiler.js +34 -0
  67. package/dist/vendor/adapters/core/src/persistence/index.d.ts +10 -0
  68. package/dist/vendor/adapters/core/src/persistence/index.js +5 -0
  69. package/dist/vendor/adapters/core/src/persistence/integrity.d.ts +39 -0
  70. package/dist/vendor/adapters/core/src/persistence/integrity.js +252 -0
  71. package/dist/vendor/adapters/core/src/persistence/ledger.d.ts +23 -0
  72. package/dist/vendor/adapters/core/src/persistence/ledger.js +9 -0
  73. package/dist/vendor/adapters/core/src/persistence/memory-store.d.ts +63 -0
  74. package/dist/vendor/adapters/core/src/persistence/memory-store.js +115 -0
  75. package/dist/vendor/adapters/core/src/persistence/runs-reader.d.ts +66 -0
  76. package/dist/vendor/adapters/core/src/persistence/runs-reader.js +140 -0
  77. package/dist/vendor/adapters/core/src/persistence/store.d.ts +89 -0
  78. package/dist/vendor/adapters/core/src/persistence/store.js +125 -0
  79. package/dist/vendor/adapters/core/src/persistence/trace-store.d.ts +85 -0
  80. package/dist/vendor/adapters/core/src/persistence/trace-store.js +125 -0
  81. package/dist/vendor/adapters/core/src/policy-compiler.d.ts +2 -0
  82. package/dist/vendor/adapters/core/src/policy-compiler.js +195 -0
  83. package/dist/vendor/adapters/core/src/policy.d.ts +156 -0
  84. package/dist/vendor/adapters/core/src/policy.js +704 -0
  85. package/dist/vendor/adapters/core/src/repo-analyzer.d.ts +53 -0
  86. package/dist/vendor/adapters/core/src/repo-analyzer.js +263 -0
  87. package/dist/vendor/adapters/core/src/rollback.d.ts +15 -0
  88. package/dist/vendor/adapters/core/src/rollback.js +253 -0
  89. package/dist/vendor/adapters/core/src/routing.d.ts +82 -0
  90. package/dist/vendor/adapters/core/src/routing.js +336 -0
  91. package/dist/vendor/adapters/core/src/test-integrity.d.ts +64 -0
  92. package/dist/vendor/adapters/core/src/test-integrity.js +197 -0
  93. package/dist/vendor/adapters/core/src/trajectory.d.ts +18 -0
  94. package/dist/vendor/adapters/core/src/trajectory.js +295 -0
  95. package/dist/vendor/adapters/openai-compatible.js +6 -6
  96. package/dist/vendor/adapters/verifier-only.js +2 -2
  97. package/dist/vendor/contracts/index.d.ts +1 -1
  98. package/dist/vendor/core/compiler.js +4 -9
  99. package/dist/vendor/core/index.js +1 -88
  100. package/dist/vendor/core/rollback.js +2 -3
  101. package/package.json +76 -76
  102. package/server.json +21 -21
package/README.md CHANGED
@@ -1,145 +1,137 @@
1
- # @martinloop/mcp
2
-
3
- You give an AI agent a coding task. It runs. You get a bill.
4
-
5
- But did it actually work? Did it pass your tests? How much did it spend? What files did it touch? Did it loop 47 times trying the same broken approach?
6
-
7
- You don't know. And that's the problem.
8
-
9
- ## What This Does
10
-
11
- MartinLoop is a governed loop for AI coding agents. You tell it what to do, set a budget, and point it at your test suite. It runs the agent, checks your tests after every attempt, and stops when either the tests pass or the money runs out.
12
-
13
- When it's done, you get a receipt — not a vague summary, but a structured record: dollars spent, attempts made, verification results, files changed, and whether you got what you asked for.
14
-
15
- **One line to connect it:**
16
-
17
- ```sh
18
- claude mcp add martin-loop -- npx -y @martinloop/mcp
19
- ```
20
-
21
- That's it. Your agent now runs governed.
22
-
23
- ## Real Numbers From Real Runs
24
-
25
- We tested this against live repos with real API spend:
26
-
27
- | What happened | Without MartinLoop | With MartinLoop |
28
- |---|---|---|
29
- | Budget: $1.50 task | Agent spent **$28.42** | Agent stopped at **$1.20** |
30
- | Failing verifier | Retried indefinitely | Stopped after 3 attempts with diagnosis |
31
- | CLI not on PATH | "not available on PATH" (dead stop) | Auto-discovered in AppData, kept running |
32
- | `bun run lint && bun run test` | Passed `&&` as a literal arg (always fails) | Routed through shell, worked |
33
-
34
- These aren't hypotheticals. The $28 overshoot happened in production testing. We fixed the circuit breaker in `0.3.8`.
35
-
36
- ## Install
37
-
38
- ### Claude Code
39
- ```sh
40
- claude mcp add martin-loop -- npx -y @martinloop/mcp
41
- ```
42
-
43
- Windows:
44
- ```sh
45
- claude mcp add --transport stdio --scope user martin-loop -- cmd /c npx -y @martinloop/mcp
46
- ```
47
-
48
- ### Codex
49
- ```sh
50
- codex mcp add martin-loop -- npx -y @martinloop/mcp
51
- ```
52
-
53
- ### Gemini CLI
54
- ```sh
55
- gemini mcp add martin-loop -- npx -y @martinloop/mcp
56
- ```
57
-
58
- ### Any MCP Host
59
- ```sh
60
- npx -y @martinloop/mcp
61
- ```
62
-
63
- ### Optional HTTP Endpoint
64
-
65
- If you need a local HTTP endpoint for a bridge or proxy, start the server in HTTP mode:
66
-
67
- ```sh
68
- npx -y @martinloop/mcp --http --port 3033
69
- ```
70
-
71
- ## How a Governed Run Works
72
-
73
- ```
74
- You: "Fix the auth bug. Budget $3. Verify: npm test"
75
-
76
- martin_doctor → checks CLI, auth, environment
77
- martin_plan → scopes the task, sets constraints
78
- martin_preflight → validates before any spend
79
- martin_run → agent works inside budget + verifier gates
80
- martin_dossier → receipt: $1.40 spent, 2 attempts, tests pass
81
- ```
82
-
83
- Every attempt runs your verifier. Every dollar is tracked. If the agent drifts off-task, the scope contract catches it. If it blows the budget, the circuit breaker kills the subprocess mid-stream — not after the bill arrives.
84
-
85
- ## What Your Agent Gets
86
-
87
- ### 21 Tools
88
-
89
- **Run the loop:**
90
- `martin_doctor` `martin_plan` `martin_preflight` `martin_run` `martin_pause` `martin_continue` `martin_cancel`
91
-
92
- **Inspect results:**
93
- `martin_status` `martin_logs` `martin_dossier` `martin_eval` `martin_inspect` `martin_list_runs` `martin_get_run` `martin_get_attempt` `martin_get_verification_results` `martin_triage_runs`
94
-
95
- **Ship the work:**
96
- `martin_pr_summary` `martin_create_pr` `martin_review_pr`
97
-
98
- ### Key Read-Only Resources
99
-
100
- Your agent can pull context without side effects:
101
-
102
- `martin://runs/latest` · `martin://runs/latest/proof-card` · `martin://runs/latest/budget-status` · `martin://runs/latest/verifier-evidence` · `martin://runs/recent` · `martin://server/health` · `martin://policies/current` · `martin://agent/next-step` · `martin://agent/governance-status` · `martin://agent/mode-status` · `martin://agent/memory-summary` · `martin://guides/mcp-usage` · `martin://guides/agent-start` · `martin://repo/risk-map`
103
-
104
- ### Configuration Profiles
105
-
106
- Generate host config tuned to your workflow:
107
-
108
- ```sh
109
- npx martin-loop mcp print-config --host claude --profile minimal # run + inspect
110
- npx martin-loop mcp print-config --host claude --profile diagnostic # + doctor + triage
111
- npx martin-loop mcp print-config --host claude --profile full-local # all local tools
112
- npx martin-loop mcp print-config --host claude --profile github-review # + PR workflow
113
- ```
114
-
115
- ## What Happens When Things Go Wrong
116
-
117
- MartinLoop doesn't just report failures — it tries to fix them:
118
-
119
- | Failure | Old behavior | Now |
120
- |---|---|---|
121
- | CLI not on PATH | Error message, dead stop | Searches npm global, homebrew, nvm, scoop — uses what it finds |
122
- | Verifier says "command not found" | Generic "verification failed" | Tells the next attempt: "bun is missing, install with `npm i -g bun`" |
123
- | `git restore` fails mid-rollback | Throws, leaves dirty state | Retries once, falls back to `git checkout`, cleans up |
124
- | Invalid `--profile` flag | Crashes | Warns, falls back to `minimal`, keeps running |
125
-
126
- ## Who Uses This
127
-
128
- - **Engineers running overnight agent loops** — you need a kill switch that actually works, and a receipt in the morning
129
- - **Teams with shared API budgets** — you need per-task spend caps, not org-wide prayer
130
- - **Anyone reviewing agent-generated PRs** — the dossier shows what the agent tried, what passed, and what didn't
131
-
132
- ## Requirements
133
-
134
- - Node.js 20+
135
- - One AI coding CLI: [Claude Code](https://docs.anthropic.com/claude-code), [Codex](https://github.com/openai/codex), or [Gemini CLI](https://github.com/google/gemini-cli)
136
-
137
- ## Links
138
-
139
- - [martin-loop](https://www.npmjs.com/package/martin-loop) — the standalone CLI
140
- - [GitHub](https://github.com/Keesan12/martin-loop) — source and issues
141
- - [martinloop.com](https://martinloop.com)
142
-
143
- ## License
144
-
145
- Apache-2.0
1
+ # @martinloop/mcp
2
+
3
+ You give an AI agent a coding task. It runs. You get a bill.
4
+
5
+ But did it actually work? Did it pass your tests? How much did it spend? What files did it touch? Did it loop 47 times trying the same broken approach?
6
+
7
+ You don't know. And that's the problem.
8
+
9
+ ## What This Does
10
+
11
+ MartinLoop is a governed loop for AI coding agents. You tell it what to do, set a budget, and point it at your test suite. It runs the agent, checks your tests after every attempt, and stops when either the tests pass or the money runs out.
12
+
13
+ When it's done, you get a receipt — not a vague summary, but a structured record: dollars spent, attempts made, verification results, files changed, and whether you got what you asked for.
14
+
15
+ **One line to connect it:**
16
+
17
+ ```sh
18
+ claude mcp add martin-loop -- npx -y @martinloop/mcp
19
+ ```
20
+
21
+ That's it. Your agent now runs governed.
22
+
23
+ ## Real Numbers From Real Runs
24
+
25
+ We tested this against live repos with real API spend:
26
+
27
+ | What happened | Without MartinLoop | With MartinLoop |
28
+ |---|---|---|
29
+ | Budget: $1.50 task | Agent spent **$28.42** | Agent stopped at **$1.20** |
30
+ | Failing verifier | Retried indefinitely | Stopped after 3 attempts with diagnosis |
31
+ | CLI not on PATH | "not available on PATH" (dead stop) | Auto-discovered in AppData, kept running |
32
+ | `bun run lint && bun run test` | Passed `&&` as a literal arg (always fails) | Routed through shell, worked |
33
+
34
+ These aren't hypotheticals. The $28 overshoot happened in production testing. We fixed the circuit breaker in `0.3.8`.
35
+
36
+ ## Install
37
+
38
+ ### Claude Code
39
+ ```sh
40
+ claude mcp add martin-loop -- npx -y @martinloop/mcp
41
+ ```
42
+
43
+ Windows:
44
+ ```sh
45
+ claude mcp add --transport stdio --scope user martin-loop -- cmd /c npx -y @martinloop/mcp
46
+ ```
47
+
48
+ ### Codex
49
+ ```sh
50
+ codex mcp add martin-loop -- npx -y @martinloop/mcp
51
+ ```
52
+
53
+ ### Gemini CLI
54
+ ```sh
55
+ gemini mcp add martin-loop -- npx -y @martinloop/mcp
56
+ ```
57
+
58
+ ### Any MCP Host
59
+ ```sh
60
+ npx -y @martinloop/mcp
61
+ ```
62
+
63
+ ## How a Governed Run Works
64
+
65
+ ```
66
+ You: "Fix the auth bug. Budget $3. Verify: npm test"
67
+
68
+ martin_doctor → checks CLI, auth, environment
69
+ martin_plan → scopes the task, sets constraints
70
+ martin_preflight → validates before any spend
71
+ martin_run → agent works inside budget + verifier gates
72
+ martin_dossier → receipt: $1.40 spent, 2 attempts, tests pass
73
+ ```
74
+
75
+ Every attempt runs your verifier. Every dollar is tracked. If the agent drifts off-task, the scope contract catches it. If it blows the budget, the circuit breaker kills the subprocess mid-stream — not after the bill arrives.
76
+
77
+ ## What Your Agent Gets
78
+
79
+ ### 21 Tools
80
+
81
+ **Run the loop:**
82
+ `martin_doctor` `martin_plan` `martin_preflight` `martin_run` `martin_pause` `martin_continue` `martin_cancel`
83
+
84
+ **Inspect results:**
85
+ `martin_status` `martin_logs` `martin_dossier` `martin_eval` `martin_inspect` `martin_list_runs` `martin_get_run` `martin_get_attempt` `martin_get_verification_results` `martin_triage_runs`
86
+
87
+ **Ship the work:**
88
+ `martin_pr_summary` `martin_create_pr` `martin_review_pr`
89
+
90
+ ### 11 Read-Only Resources
91
+
92
+ Your agent can pull context without side effects:
93
+
94
+ `martin://runs/latest` · `martin://runs/latest/summary` · `martin://runs/latest/receipt` · `martin://runs/latest/proof-card` · `martin://runs/latest/budget-status` · `martin://runs/latest/verifier-evidence` · `martin://runs/recent` · `martin://server/health` · `martin://policies/current` · `martin://agent/next-step` · `martin://guides/mcp-usage` · `martin://guides/agent-start` · `martin://repo/risk-map`
95
+
96
+ ### Configuration Profiles
97
+
98
+ Generate host config tuned to your workflow:
99
+
100
+ ```sh
101
+ npx martin-loop mcp print-config --host claude --profile minimal # run + inspect
102
+ npx martin-loop mcp print-config --host claude --profile diagnostic # + doctor + triage
103
+ npx martin-loop mcp print-config --host claude --profile full-local # all local tools
104
+ npx martin-loop mcp print-config --host claude --profile github-review # + PR workflow
105
+ ```
106
+
107
+ ## What Happens When Things Go Wrong
108
+
109
+ MartinLoop doesn't just report failures — it tries to fix them:
110
+
111
+ | Failure | Old behavior | Now |
112
+ |---|---|---|
113
+ | CLI not on PATH | Error message, dead stop | Searches npm global, homebrew, nvm, scoop — uses what it finds |
114
+ | Verifier says "command not found" | Generic "verification failed" | Tells the next attempt: "bun is missing, install with `npm i -g bun`" |
115
+ | `git restore` fails mid-rollback | Throws, leaves dirty state | Retries once, falls back to `git checkout`, cleans up |
116
+ | Invalid `--profile` flag | Crashes | Warns, falls back to `minimal`, keeps running |
117
+
118
+ ## Who Uses This
119
+
120
+ - **Engineers running overnight agent loops** — you need a kill switch that actually works, and a receipt in the morning
121
+ - **Teams with shared API budgets** — you need per-task spend caps, not org-wide prayer
122
+ - **Anyone reviewing agent-generated PRs** — the dossier shows what the agent tried, what passed, and what didn't
123
+
124
+ ## Requirements
125
+
126
+ - Node.js 20+
127
+ - One AI coding CLI: [Claude Code](https://docs.anthropic.com/claude-code), [Codex](https://github.com/openai/codex), or [Gemini CLI](https://github.com/google/gemini-cli)
128
+
129
+ ## Links
130
+
131
+ - [martin-loop](https://www.npmjs.com/package/martin-loop) — the standalone CLI
132
+ - [GitHub](https://github.com/Keesan12/martin-loop) — source and issues
133
+ - [martinloop.com](https://martinloop.com)
134
+
135
+ ## License
136
+
137
+ Apache-2.0
@@ -4,7 +4,7 @@ export declare const MARTIN_MINIMAL_TOOL_NAMES: readonly ["martin_doctor", "mart
4
4
  export declare const MARTIN_DIAGNOSTIC_TOOL_NAMES: readonly ["martin_doctor", "martin_plan", "martin_preflight", "martin_estimate", "martin_logs", "martin_list_runs", "martin_triage_runs", "martin_get_run", "martin_get_attempt", "martin_get_verification_results", "martin_dossier", "martin_eval"];
5
5
  export declare const MARTIN_GITHUB_REVIEW_TOOL_NAMES: readonly ["martin_doctor", "martin_plan", "martin_preflight", "martin_dossier", "martin_eval", "martin_pr_summary", "martin_create_pr", "martin_review_pr"];
6
6
  export declare const MARTIN_PAID_REMOTE_TOOL_NAMES: readonly ["martin_doctor", "martin_plan", "martin_preflight", "martin_estimate", "martin_run", "martin_list_runs", "martin_triage_runs", "martin_get_run", "martin_get_verification_results", "martin_dossier", "martin_eval"];
7
- export declare const MARTIN_RESOURCE_URIS: readonly ["martin://server/health", "martin://runs/recent", "martin://runs/triage", "martin://runs/latest", "martin://runs/latest/summary", "martin://runs/latest/proof-card", "martin://runs/latest/budget-status", "martin://runs/latest/verifier-evidence", "martin://runs/latest/rollback-evidence", "martin://policies/current", "martin://repo/risk-map", "martin://verifiers/results", "martin://agent/next-step", "martin://agent/governance-status", "martin://agent/mode-status", "martin://agent/memory-summary", "martin://guides/mcp-usage", "martin://guides/agent-start", "martin://guides/command-map", "martin://guides/ide-onboarding", "martin://guides/operating-rules", "martin://guides/publish-readiness"];
7
+ export declare const MARTIN_RESOURCE_URIS: readonly ["martin://server/health", "martin://runs/recent", "martin://runs/triage", "martin://runs/latest", "martin://runs/latest/summary", "martin://runs/latest/receipt", "martin://runs/latest/proof-card", "martin://runs/latest/budget-status", "martin://runs/latest/verifier-evidence", "martin://runs/latest/rollback-evidence", "martin://policies/current", "martin://repo/risk-map", "martin://verifiers/results", "martin://agent/next-step", "martin://agent/governance-status", "martin://agent/memory-summary", "martin://guides/mcp-usage", "martin://guides/agent-start", "martin://guides/command-map", "martin://guides/ide-onboarding", "martin://guides/operating-rules", "martin://guides/publish-readiness"];
8
8
  export declare const MARTIN_RESOURCE_TEMPLATE_URIS: readonly ["martin://runs/{loopId}", "martin://runs/{loopId}/dossier", "martin://runs/{loopId}/attempts/{attemptIndex}", "martin://runs/{loopId}/verification"];
9
9
  export declare const MARTIN_PROMPT_NAMES: readonly ["martin_start", "martin_preflight", "martin_triage", "martin_resume", "martin_prove", "martin_release_check", "martin_governed_coding_kickoff", "martin_debug_failed_run", "martin_publish_readiness_review", "martin_triage_run_store", "safe_bug_fix", "write_tests_first", "small_refactor", "security_review", "pr_review", "release_check"];
10
10
  export interface MartinDiscoveryMetadata {
@@ -84,6 +84,7 @@ export const MARTIN_RESOURCE_URIS = [
84
84
  "martin://runs/triage",
85
85
  "martin://runs/latest",
86
86
  "martin://runs/latest/summary",
87
+ "martin://runs/latest/receipt",
87
88
  "martin://runs/latest/proof-card",
88
89
  "martin://runs/latest/budget-status",
89
90
  "martin://runs/latest/verifier-evidence",
@@ -93,7 +94,6 @@ export const MARTIN_RESOURCE_URIS = [
93
94
  "martin://verifiers/results",
94
95
  "martin://agent/next-step",
95
96
  "martin://agent/governance-status",
96
- "martin://agent/mode-status",
97
97
  "martin://agent/memory-summary",
98
98
  "martin://guides/mcp-usage",
99
99
  "martin://guides/agent-start",
@@ -1 +1 @@
1
- export declare const MARTIN_MCP_PACKAGE_VERSION = "0.3.6";
1
+ export declare const MARTIN_MCP_PACKAGE_VERSION = "0.3.2";
@@ -1,3 +1,3 @@
1
1
  // Keep this aligned with packages/mcp/package.json during version bumps so the
2
2
  // runtime does not depend on package.json being present in every hosted bundle.
3
- export const MARTIN_MCP_PACKAGE_VERSION = "0.3.6";
3
+ export const MARTIN_MCP_PACKAGE_VERSION = "0.3.2";
@@ -6,6 +6,7 @@ export declare const MARTIN_STATIC_RESOURCE_URIS: {
6
6
  readonly triage: "martin://runs/triage";
7
7
  readonly latestRun: "martin://runs/latest";
8
8
  readonly latestSummary: "martin://runs/latest/summary";
9
+ readonly latestReceipt: "martin://runs/latest/receipt";
9
10
  readonly latestProofCard: "martin://runs/latest/proof-card";
10
11
  readonly latestBudgetStatus: "martin://runs/latest/budget-status";
11
12
  readonly latestVerifierEvidence: "martin://runs/latest/verifier-evidence";
@@ -21,8 +22,8 @@ export declare const MARTIN_STATIC_RESOURCE_URIS: {
21
22
  readonly operatingRulesGuide: "martin://guides/operating-rules";
22
23
  readonly publishReadinessGuide: "martin://guides/publish-readiness";
23
24
  readonly governanceStatus: "martin://agent/governance-status";
24
- readonly modeStatus: "martin://agent/mode-status";
25
25
  readonly memorySummary: "martin://agent/memory-summary";
26
+ readonly modeStatus: "martin://agent/mode-status";
26
27
  };
27
28
  export declare const MARTIN_RESOURCE_TEMPLATES: ResourceTemplate[];
28
29
  export declare const MARTIN_STATIC_RESOURCES: Resource[];