@squadrules/mcp 5.14.0 → 5.14.1

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 (32) hide show
  1. package/dist/.tsbuildinfo +1 -1
  2. package/dist/embed-docs/mem/adapter-migration.md +1 -1
  3. package/dist/embed-docs/mem/author-adapter.md +6 -5
  4. package/dist/embed-docs/mem/bulk-insert-adapters-via-cli.md +1 -1
  5. package/dist/embed-docs/mem/challenge-type-guide.md +6 -5
  6. package/dist/embed-docs/mem/critic-loop-guide.md +1 -1
  7. package/dist/embed-docs/mem/critic-loop.md +1 -1
  8. package/dist/embed-docs/mem/protocol-linking-guide.md +1 -1
  9. package/dist/embed-docs/mem/refine-search.md +1 -1
  10. package/dist/resources/embedded-mcp-resources.js +10 -10
  11. package/dist/resources/embedded-mcp-resources.js.map +1 -1
  12. package/dist/tools/activate-artifacts.d.ts +1 -1
  13. package/dist/tools/activate-artifacts.d.ts.map +1 -1
  14. package/dist/tools/activate-artifacts.js +2 -2
  15. package/dist/tools/activate-artifacts.js.map +1 -1
  16. package/dist/tools/activate_schema.d.ts +20 -2
  17. package/dist/tools/activate_schema.d.ts.map +1 -1
  18. package/dist/tools/activate_schema.js +15 -1
  19. package/dist/tools/activate_schema.js.map +1 -1
  20. package/dist/tools/artifact-materialize-command.d.ts +21 -10
  21. package/dist/tools/artifact-materialize-command.d.ts.map +1 -1
  22. package/dist/tools/artifact-materialize-command.js +17 -31
  23. package/dist/tools/artifact-materialize-command.js.map +1 -1
  24. package/dist/tools/export_schema.d.ts +3 -3
  25. package/dist/tools/shell-failure-diagnostics.js +2 -2
  26. package/dist/tools/shell-failure-diagnostics.js.map +1 -1
  27. package/dist/tools/tool-registry.d.ts +22 -4
  28. package/dist/tools/tool-registry.d.ts.map +1 -1
  29. package/dist/ui/assets/{AccountPage-Co_hJpj2.js → AccountPage-CsTk724l.js} +1 -1
  30. package/dist/ui/assets/{index-_ERynoIs.js → index-PfkVPrcd.js} +2 -2
  31. package/dist/ui/index.html +1 -1
  32. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  ---
2
- version: "5.14.0"
2
+ version: "5.14.1"
3
3
  slug: adapter-migration
4
4
  title: Adapter Migration Workflow
5
5
  ---
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  slug: author-adapter
3
- version: "5.14.0"
3
+ version: "5.14.1"
4
4
  title: Author Adapter (Create / Review / Refactor)
5
5
  ---
6
6
 
@@ -169,7 +169,7 @@ The server never names a path on your machine; you do.
169
169
  "$SQUADRULES_LOCAL_ARTIFACT_DIR/artifacts/<name>.py" --gate <name>`.
170
170
  - Verify before shipping — **two** checks, both required:
171
171
  1. `activate` the adapter and confirm `linked_artifacts[].relative_path` is
172
- exactly the path `cmd` invokes. Run each row's `materialize` command before
172
+ exactly the path `cmd` invokes. Follow each row's `materialize` instruction before
173
173
  the contract that needs it.
174
174
  2. **Export check:** call MCP **`export`** with
175
175
  `uri: "squadrules://adapter/<slug>"` and `format: skill_tree` (or
@@ -206,9 +206,10 @@ Signal. Frontmatter: `slug` (required), `version` (optional), `chain_root`
206
206
 
207
207
  **Scripts are obtained, not assumed:** when a step's `cmd` invokes a script, the
208
208
  adapter must state in its own text how the agent obtains that file before
209
- running the command — materialize the `activate` artifact row, or `export` the
210
- adapter. A step that says only "run `python3 …/artifacts/x.py`" leaves the agent
211
- guessing where the file is; a missing-file gate failure is the most common
209
+ running the command — follow the `activate` artifact row's `materialize`
210
+ instruction, or `export` the adapter. A step that says only "run `python3
211
+ …/artifacts/x.py`" leaves the agent guessing where the file is; a
212
+ missing-file gate failure is the most common
212
213
  result of that omission.
213
214
 
214
215
  **Contracts:** One per adapter is the default; a second is justified only at a
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  slug: bulk-insert-adapters-via-cli
3
- version: "5.14.0"
3
+ version: "5.14.1"
4
4
  title: Bulk Insert Adapters via SQUADRULES CLI
5
5
  ---
6
6
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- version: "5.14.0"
2
+ version: "5.14.1"
3
3
  slug: challenge-type-guide
4
4
  title: Challenge Type Selection Guide
5
5
  ---
@@ -279,10 +279,11 @@ exists:
279
279
  A mismatch surfaces only when the gate runs — by then it is the user's
280
280
  failed step, not your typo.
281
281
 
282
- **At execution time:** run the `materialize` command carried by that
283
- `linked_artifacts[]` row — it writes the payload under
284
- `$SQUADRULES_LOCAL_ARTIFACT_DIR`, verifies the digest, and marks the file
285
- executable. `forward` responses do not repeat the list, so materialize during the
282
+ **At execution time:** follow the `materialize` instruction carried by that
283
+ `linked_artifacts[]` row — call the MCP `export` tool with the specified
284
+ arguments, write the returned content to the `out` path under
285
+ `$SQUADRULES_LOCAL_ARTIFACT_DIR`, verify the digest, and set permissions.
286
+ `forward` responses do not repeat the list, so materialize during the
286
287
  run's first step. When the choice carries no artifact row, the agent obtains the
287
288
  script with **`export`** (`format: skill_tree` or `format: skill_zip`) and takes
288
289
  it from `artifacts/`. State which route applies in the adapter text — a step that
@@ -1,5 +1,5 @@
1
1
  ---
2
- version: "5.14.0"
2
+ version: "5.14.1"
3
3
  slug: critic-loop-guide
4
4
  title: Critic Loop Integration and Mutation Gate Guide
5
5
  ---
@@ -1,5 +1,5 @@
1
1
  ---
2
- version: "5.14.0"
2
+ version: "5.14.1"
3
3
  slug: critic-loop
4
4
  title: Critic Loop
5
5
  ---
@@ -1,5 +1,5 @@
1
1
  ---
2
- version: "5.14.0"
2
+ version: "5.14.1"
3
3
  slug: protocol-linking-guide
4
4
  title: Adapter Linking Guide
5
5
  ---
@@ -1,5 +1,5 @@
1
1
  ---
2
- version: "5.14.0"
2
+ version: "5.14.1"
3
3
  slug: refine-search
4
4
  title: Get help refining your search
5
5
  ---