specguard-mcp 0.1.30 → 0.1.31

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.
@@ -3,7 +3,7 @@ import type { ToolDefinition } from "./types.js";
3
3
  * `GET /api/v1/repositories` as a tool — shipped today in the platform
4
4
  * (`specguard/config/routes.rb`, `Api::V1::UserRepositoriesController#index`).
5
5
  *
6
- * == Why this is the first user-scoped tool, and for now the only one
6
+ * == Why this tool exists: it answers which repositories there ARE
7
7
  *
8
8
  * Every other tool here answers about ONE repository the caller has already
9
9
  * named — and a bridge that can only answer about a repository you can already
@@ -20,8 +20,10 @@ import type { ToolDefinition } from "./types.js";
20
20
  * tool and designed against a real request body and a real 4xx surface, exactly
21
21
  * as the reservation recorded here asked. The registry's standing rule
22
22
  * (`tools/index.ts`) is unchanged and still binding: a tool in `tools/list` is a
23
- * promise an agent acts on, so the REST of the user-scoped surface — removing a
24
- * repository, minting or revoking keys — stays out until those endpoints ship.
23
+ * promise an agent acts on. This file once carried a reservation on that
24
+ * rule — the rest of the user-scoped surface would stay out until its
25
+ * endpoints shipped — and the reservation retired when the endpoints did.
26
+ * What moved was the platform, not the bar.
25
27
  *
26
28
  * What this tool still uniquely answers is the question above: which
27
29
  * repositories there ARE. `add_repository` extends that surface rather than
@@ -4,7 +4,7 @@ import { optionalString } from "./args.js";
4
4
  * `GET /api/v1/repositories` as a tool — shipped today in the platform
5
5
  * (`specguard/config/routes.rb`, `Api::V1::UserRepositoriesController#index`).
6
6
  *
7
- * == Why this is the first user-scoped tool, and for now the only one
7
+ * == Why this tool exists: it answers which repositories there ARE
8
8
  *
9
9
  * Every other tool here answers about ONE repository the caller has already
10
10
  * named — and a bridge that can only answer about a repository you can already
@@ -21,8 +21,10 @@ import { optionalString } from "./args.js";
21
21
  * tool and designed against a real request body and a real 4xx surface, exactly
22
22
  * as the reservation recorded here asked. The registry's standing rule
23
23
  * (`tools/index.ts`) is unchanged and still binding: a tool in `tools/list` is a
24
- * promise an agent acts on, so the REST of the user-scoped surface — removing a
25
- * repository, minting or revoking keys — stays out until those endpoints ship.
24
+ * promise an agent acts on. This file once carried a reservation on that
25
+ * rule — the rest of the user-scoped surface would stay out until its
26
+ * endpoints shipped — and the reservation retired when the endpoints did.
27
+ * What moved was the platform, not the bar.
26
28
  *
27
29
  * What this tool still uniquely answers is the question above: which
28
30
  * repositories there ARE. `add_repository` extends that surface rather than
@@ -1 +1 @@
1
- {"version":3,"file":"list-repositories.js","sourceRoot":"","sources":["../../../src/tools/list-repositories.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AACzF,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAG3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkKG;AACH,MAAM,gBAAgB,GAAmB;IACvC,IAAI,EAAE,mBAAmB;IACzB,KAAK,EAAE,mBAAmB;IAC1B,WAAW,EACT,2FAA2F;QAC3F,6FAA6F;QAC7F,gCAAgC;QAChC,6FAA6F;QAC7F,yFAAyF;QACzF,8FAA8F;QAC9F,0FAA0F;QAC1F,8FAA8F;QAC9F,0FAA0F;QAC1F,sFAAsF;QACtF,6FAA6F;QAC7F,2FAA2F;QAC3F,0FAA0F;QAC1F,SAAS;QACT,0FAA0F;QAC1F,2FAA2F;QAC3F,wFAAwF;QACxF,2FAA2F;QAC3F,2FAA2F;QAC3F,uDAAuD;QACvD,wFAAwF;QACxF,sFAAsF;QACtF,0FAA0F;QAC1F,wFAAwF;QACxF,OAAO;QACP,yFAAyF;QACzF,2EAA2E;QAC3E,wFAAwF;QACxF,0FAA0F;QAC1F,wFAAwF;QACxF,kCAAkC;QA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BAAsB,EACtB,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,EACjB,OAAO,CAAC,KAAK,CACd,CAAC;QAEF,OAAO;YACL,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;YACtC,UAAU,EAAE,OAAO;SACpB,CAAC;IACJ,CAAC;CACF,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "specguard-mcp",
3
- "version": "0.1.30",
3
+ "version": "0.1.31",
4
4
  "description": "MCP server exposing SpecGuard suite intelligence to AI coding agents",
5
5
  "license": "ISC",
6
6
  "type": "module",