@codapult/guard 0.5.0 → 0.6.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 (2) hide show
  1. package/README.md +8 -0
  2. package/package.json +5 -2
package/README.md CHANGED
@@ -308,6 +308,14 @@ task finished
308
308
  For Cursor, Claude Code, Codex, Gemini CLI, GitHub Copilot, and generic hosts, see
309
309
  [`docs/integrations/`](docs/integrations/).
310
310
 
311
+ ### MCP Registry
312
+
313
+ Guard is also prepared for discovery through the official [MCP Registry](https://registry.modelcontextprotocol.io/).
314
+ The Registry entry points to the published `@codapult/guard` npm package and its stdio MCP server;
315
+ it does not replace npm installation or the host-specific configuration above. Registry metadata is
316
+ validated during CI and published after npm in the release workflow. The Registry is currently in
317
+ preview, so the canonical installation path remains npm.
318
+
311
319
  For workflows where the authoring agent must not approve its own policy proposals, set Guard to
312
320
  protected mode in `rules.json`:
313
321
 
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@codapult/guard",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
+ "mcpName": "io.github.codapult/guard",
4
5
  "description": "Local-first architecture guardrails for JavaScript and TypeScript projects, with first-class support for Next.js SaaS and AI-assisted development",
5
6
  "license": "MIT",
6
7
  "packageManager": "pnpm@12.4.2+sha512.08adc6613180275c7c9edada39dcf08c9c61ad4e7eaf330a4f3461f102b0f907423454d117f98e72d47fef0616070644d7bffc973a6a57f5090a6d7c368b07c9",
@@ -53,7 +54,9 @@
53
54
  "lint:fix": "eslint --fix .",
54
55
  "format": "prettier --write .",
55
56
  "format:check": "prettier --check .",
56
- "release:check": "pnpm lint && pnpm format:check && pnpm typecheck && pnpm test && pnpm build && npm pack --dry-run",
57
+ "release:check": "pnpm lint && pnpm format:check && pnpm typecheck && pnpm test && pnpm build && npm pack --dry-run && pnpm mcp:validate",
58
+ "mcp:validate": "node scripts/mcp-registry.mjs validate",
59
+ "mcp:sync": "node scripts/mcp-registry.mjs sync",
57
60
  "test": "vitest run",
58
61
  "test:coverage": "vitest run --coverage",
59
62
  "test:guard:coverage": "vitest run src/core src/adapters/project-checks.test.ts --coverage --coverage.include='src/core/**/*.ts' --coverage.include='src/adapters/project-checks.ts'",