@martinloop/mcp 0.3.4 → 0.3.6

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 (48) hide show
  1. package/README.md +10 -2
  2. package/dist/discovery-metadata.d.ts +6 -6
  3. package/dist/discovery-metadata.js +8 -0
  4. package/dist/package-version.d.ts +1 -1
  5. package/dist/package-version.js +1 -1
  6. package/dist/prompts.js +19 -1
  7. package/dist/resources.d.ts +3 -0
  8. package/dist/resources.js +264 -148
  9. package/dist/server-validation.d.ts +1 -1
  10. package/dist/server-validation.js +17 -0
  11. package/dist/server.d.ts +23 -0
  12. package/dist/server.js +244 -2
  13. package/dist/tools/doctor.js +6 -0
  14. package/dist/tools/run-store.js +4 -4
  15. package/dist/tools/tool-support.d.ts +3 -1
  16. package/dist/tools/tool-support.js +17 -2
  17. package/dist/vendor/adapters/claude-cli.d.ts +2 -2
  18. package/dist/vendor/adapters/claude-cli.js +53 -9
  19. package/dist/vendor/adapters/cli-bridge.d.ts +17 -0
  20. package/dist/vendor/adapters/cli-bridge.js +124 -8
  21. package/dist/vendor/adapters/codex-launcher.d.ts +2 -0
  22. package/dist/vendor/adapters/codex-launcher.js +77 -9
  23. package/dist/vendor/adapters/openai-compatible.js +90 -57
  24. package/dist/vendor/contracts/execution-policy.d.ts +16 -0
  25. package/dist/vendor/contracts/execution-policy.js +9 -0
  26. package/dist/vendor/contracts/index.d.ts +29 -2
  27. package/dist/vendor/contracts/index.js +2 -0
  28. package/dist/vendor/core/index.d.ts +13 -3
  29. package/dist/vendor/core/index.js +123 -30
  30. package/dist/vendor/core/persistence/memory-store.d.ts +63 -0
  31. package/dist/vendor/core/persistence/memory-store.js +115 -0
  32. package/dist/vendor/core/persistence/store.js +13 -0
  33. package/dist/vendor/core/persistence/trace-store.d.ts +85 -0
  34. package/dist/vendor/core/persistence/trace-store.js +125 -0
  35. package/dist/vendor/core/policy.d.ts +13 -0
  36. package/dist/vendor/core/policy.js +13 -0
  37. package/dist/vendor/core/repo-analyzer.d.ts +53 -0
  38. package/dist/vendor/core/repo-analyzer.js +263 -0
  39. package/dist/vendor/core/rollback.d.ts +4 -0
  40. package/dist/vendor/core/rollback.js +15 -0
  41. package/dist/vendor/core/routing.d.ts +82 -0
  42. package/dist/vendor/core/routing.js +336 -0
  43. package/dist/vendor/core/test-integrity.d.ts +64 -0
  44. package/dist/vendor/core/test-integrity.js +197 -0
  45. package/dist/workflow-state.d.ts +17 -1
  46. package/dist/workflow-state.js +13 -5
  47. package/package.json +76 -76
  48. package/server.json +21 -21
package/package.json CHANGED
@@ -1,76 +1,76 @@
1
- {
2
- "name": "@martinloop/mcp",
3
- "version": "0.3.4",
4
- "mcpName": "io.github.Keesan12/martin-loop",
5
- "private": false,
6
- "type": "module",
7
- "description": "Governed MCP server for AI coding agents with budgets, verifier gates, and inspectable runs.",
8
- "license": "Apache-2.0",
9
- "author": "MartinLoop contributors",
10
- "homepage": "https://martinloop.com/",
11
- "repository": {
12
- "type": "git",
13
- "url": "git+https://github.com/Keesan12/martin-loop.git",
14
- "directory": "packages/mcp"
15
- },
16
- "bugs": {
17
- "url": "https://github.com/Keesan12/martin-loop/issues"
18
- },
19
- "keywords": [
20
- "mcp",
21
- "model-context-protocol",
22
- "martin-loop",
23
- "ai-agent",
24
- "claude",
25
- "codex",
26
- "martin_doctor",
27
- "martin_triage_runs",
28
- "martin_run_dossier",
29
- "mcp-resources",
30
- "mcp-prompts"
31
- ],
32
- "bin": {
33
- "mcp": "./dist/server.js",
34
- "martin-loop-mcp": "./dist/server.js"
35
- },
36
- "exports": {
37
- "./server.json": "./server.json",
38
- "./package.json": "./package.json"
39
- },
40
- "files": [
41
- "dist",
42
- "README.md",
43
- "server.json"
44
- ],
45
- "engines": {
46
- "node": ">=20.0.0"
47
- },
48
- "publishConfig": {
49
- "access": "public"
50
- },
51
- "scripts": {
52
- "build": "node ./scripts/build-package.mjs",
53
- "prepack": "pnpm build",
54
- "smoke:pack": "node ./scripts/smoke-package.mjs",
55
- "smoke:published": "node ./scripts/smoke-published-package.mjs",
56
- "smoke:published:pack": "node ./scripts/smoke-published-package.mjs --package-spec=pack",
57
- "verify:release": "node --test ../../scripts/tests/publish-mcp-workflow.test.mjs ../../scripts/tests/mcp-publish-reliability.test.mjs ../../scripts/tests/mcp-release-docs.test.mjs",
58
- "test:baseline": "node ./scripts/run-test-lane.mjs baseline",
59
- "test": "vitest run --maxWorkers=1",
60
- "lint": "tsc -p tsconfig.json --noEmit",
61
- "start": "node dist/server.js",
62
- "inspect:live": "node ./scripts/inspect-live.mjs"
63
- },
64
- "dependencies": {
65
- "@modelcontextprotocol/sdk": "^1.29.0",
66
- "@open-policy-agent/opa-wasm": "^1.10.0",
67
- "@opentelemetry/api-logs": "^0.214.0",
68
- "@opentelemetry/exporter-logs-otlp-http": "^0.214.0",
69
- "@opentelemetry/resources": "^2.6.1",
70
- "@opentelemetry/sdk-logs": "^0.214.0",
71
- "ts-morph": "^21.0.0"
72
- },
73
- "devDependencies": {
74
- "@martin/contracts": "workspace:*"
75
- }
76
- }
1
+ {
2
+ "name": "@martinloop/mcp",
3
+ "version": "0.3.6",
4
+ "mcpName": "io.github.Keesan12/martin-loop",
5
+ "private": false,
6
+ "type": "module",
7
+ "description": "Governed MCP server for AI coding agents with budgets, verifier gates, and inspectable runs.",
8
+ "license": "Apache-2.0",
9
+ "author": "MartinLoop contributors",
10
+ "homepage": "https://martinloop.com/",
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "git+https://github.com/Keesan12/martin-loop.git",
14
+ "directory": "packages/mcp"
15
+ },
16
+ "bugs": {
17
+ "url": "https://github.com/Keesan12/martin-loop/issues"
18
+ },
19
+ "keywords": [
20
+ "mcp",
21
+ "model-context-protocol",
22
+ "martin-loop",
23
+ "ai-agent",
24
+ "claude",
25
+ "codex",
26
+ "martin_doctor",
27
+ "martin_triage_runs",
28
+ "martin_run_dossier",
29
+ "mcp-resources",
30
+ "mcp-prompts"
31
+ ],
32
+ "bin": {
33
+ "mcp": "./dist/server.js",
34
+ "martin-loop-mcp": "./dist/server.js"
35
+ },
36
+ "exports": {
37
+ "./server.json": "./server.json",
38
+ "./package.json": "./package.json"
39
+ },
40
+ "files": [
41
+ "dist",
42
+ "README.md",
43
+ "server.json"
44
+ ],
45
+ "engines": {
46
+ "node": ">=20.0.0"
47
+ },
48
+ "publishConfig": {
49
+ "access": "public"
50
+ },
51
+ "scripts": {
52
+ "build": "node ./scripts/build-package.mjs",
53
+ "prepack": "pnpm build",
54
+ "smoke:pack": "node ./scripts/smoke-package.mjs",
55
+ "smoke:published": "node ./scripts/smoke-published-package.mjs",
56
+ "smoke:published:pack": "node ./scripts/smoke-published-package.mjs --package-spec=pack",
57
+ "verify:release": "node --test ../../scripts/tests/publish-mcp-workflow.test.mjs ../../scripts/tests/mcp-publish-reliability.test.mjs ../../scripts/tests/mcp-release-docs.test.mjs",
58
+ "test:baseline": "node ./scripts/run-test-lane.mjs baseline",
59
+ "test": "vitest run --maxWorkers=1",
60
+ "lint": "tsc -p tsconfig.json --noEmit",
61
+ "start": "node dist/server.js",
62
+ "inspect:live": "node ./scripts/inspect-live.mjs"
63
+ },
64
+ "dependencies": {
65
+ "@modelcontextprotocol/sdk": "^1.29.0",
66
+ "@open-policy-agent/opa-wasm": "^1.10.0",
67
+ "@opentelemetry/api-logs": "^0.214.0",
68
+ "@opentelemetry/exporter-logs-otlp-http": "^0.214.0",
69
+ "@opentelemetry/resources": "^2.6.1",
70
+ "@opentelemetry/sdk-logs": "^0.214.0",
71
+ "ts-morph": "^21.0.0"
72
+ },
73
+ "devDependencies": {
74
+ "@martin/contracts": "workspace:*"
75
+ }
76
+ }
package/server.json CHANGED
@@ -1,21 +1,21 @@
1
- {
2
- "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
- "name": "io.github.Keesan12/martin-loop",
4
- "title": "Martin Loop",
5
- "description": "Governed MCP server for AI coding agents with budgets, verifier gates, and inspectable runs.",
6
- "repository": {
7
- "url": "https://github.com/Keesan12/martin-loop",
8
- "source": "github"
9
- },
10
- "version": "0.3.4",
11
- "packages": [
12
- {
13
- "registryType": "npm",
14
- "identifier": "@martinloop/mcp",
15
- "version": "0.3.4",
16
- "transport": {
17
- "type": "stdio"
18
- }
19
- }
20
- ]
21
- }
1
+ {
2
+ "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
+ "name": "io.github.Keesan12/martin-loop",
4
+ "title": "Martin Loop",
5
+ "description": "Governed MCP server for AI coding agents with budgets, verifier gates, and inspectable runs.",
6
+ "repository": {
7
+ "url": "https://github.com/Keesan12/martin-loop",
8
+ "source": "github"
9
+ },
10
+ "version": "0.3.6",
11
+ "packages": [
12
+ {
13
+ "registryType": "npm",
14
+ "identifier": "@martinloop/mcp",
15
+ "version": "0.3.6",
16
+ "transport": {
17
+ "type": "stdio"
18
+ }
19
+ }
20
+ ]
21
+ }