@squadrules/mcp 5.14.7 → 5.15.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 (43) 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 +4 -4
  4. package/dist/embed-docs/mem/bulk-insert-adapters-via-cli.md +1 -1
  5. package/dist/embed-docs/mem/challenge-type-guide.md +8 -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 +11 -11
  11. package/dist/resources/embedded-mcp-resources.js.map +1 -1
  12. package/dist/runtime-lock.json +2 -2
  13. package/dist/tools/activate-artifacts.d.ts.map +1 -1
  14. package/dist/tools/activate-artifacts.js +6 -5
  15. package/dist/tools/activate-artifacts.js.map +1 -1
  16. package/dist/tools/activate_schema.d.ts +4 -0
  17. package/dist/tools/activate_schema.d.ts.map +1 -1
  18. package/dist/tools/activate_schema.js +14 -7
  19. package/dist/tools/activate_schema.js.map +1 -1
  20. package/dist/tools/artifact-materialize-command.d.ts +16 -8
  21. package/dist/tools/artifact-materialize-command.d.ts.map +1 -1
  22. package/dist/tools/artifact-materialize-command.js +15 -9
  23. package/dist/tools/artifact-materialize-command.js.map +1 -1
  24. package/dist/tools/export-source.d.ts +3 -1
  25. package/dist/tools/export-source.d.ts.map +1 -1
  26. package/dist/tools/export-source.js +21 -8
  27. package/dist/tools/export-source.js.map +1 -1
  28. package/dist/tools/export.js +2 -2
  29. package/dist/tools/export.js.map +1 -1
  30. package/dist/tools/export_schema.d.ts +3 -2
  31. package/dist/tools/export_schema.d.ts.map +1 -1
  32. package/dist/tools/export_schema.js +5 -3
  33. package/dist/tools/export_schema.js.map +1 -1
  34. package/dist/tools/shell-failure-diagnostics.js +2 -2
  35. package/dist/tools/shell-failure-diagnostics.js.map +1 -1
  36. package/dist/tools/tool-registry.d.ts +6 -1
  37. package/dist/tools/tool-registry.d.ts.map +1 -1
  38. package/dist/ui/assets/{AccountPage-CZvXz3Go.js → AccountPage-BZHN4fr7.js} +1 -1
  39. package/dist/ui/assets/{index-CzjUJbp8.js → index-Cqev6gXs.js} +2 -2
  40. package/dist/ui/assets/index-DnurEMjY.css +2 -0
  41. package/dist/ui/index.html +2 -2
  42. package/package.json +2 -1
  43. package/dist/ui/assets/index-BhUIvr-O.css +0 -2
@@ -1,5 +1,5 @@
1
1
  ---
2
- version: "5.14.7"
2
+ version: "5.15.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.7"
3
+ version: "5.15.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. Follow each row's `materialize` instruction before
172
+ exactly the path `cmd` invokes. Run each row's `materialize.cmd` 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,8 +206,8 @@ 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 — follow the `activate` artifact row's `materialize`
210
- instruction, or `export` the adapter. A step that says only "run `python3
209
+ running the command — run the `activate` artifact row's `materialize.cmd`,
210
+ or `export` the adapter. A step that says only "run `python3
211
211
  …/artifacts/x.py`" leaves the agent guessing where the file is; a
212
212
  missing-file gate failure is the most common
213
213
  result of that omission.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  slug: bulk-insert-adapters-via-cli
3
- version: "5.14.7"
3
+ version: "5.15.1"
4
4
  title: Bulk Insert Adapters via SQUADRULES CLI
5
5
  ---
6
6
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- version: "5.14.7"
2
+ version: "5.15.1"
3
3
  slug: challenge-type-guide
4
4
  title: Challenge Type Selection Guide
5
5
  ---
@@ -279,10 +279,13 @@ 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:** 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.
282
+ **At execution time:** run the `materialize.cmd` carried by that
283
+ `linked_artifacts[]` row verbatim — it creates the parent directory, writes the
284
+ file under `$SQUADRULES_LOCAL_ARTIFACT_DIR`, verifies the digest, and sets
285
+ permissions. On the stdio transport, call the MCP `export` tool with the row's
286
+ `arguments` first and set `B64` to the returned `content`; on HTTP, `cmd`
287
+ downloads the artifact itself. Do not retype artifact bytes through an editor or
288
+ a heredoc — an exact-byte write is not an agent task.
286
289
  `forward` responses do not repeat the list, so materialize during the
287
290
  run's first step. When the choice carries no artifact row, the agent obtains the
288
291
  script with **`export`** (`format: skill_tree` or `format: skill_zip`) and takes
@@ -1,5 +1,5 @@
1
1
  ---
2
- version: "5.14.7"
2
+ version: "5.15.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.7"
2
+ version: "5.15.1"
3
3
  slug: critic-loop
4
4
  title: Critic Loop
5
5
  ---
@@ -1,5 +1,5 @@
1
1
  ---
2
- version: "5.14.7"
2
+ version: "5.15.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.7"
2
+ version: "5.15.1"
3
3
  slug: refine-search
4
4
  title: Get help refining your search
5
5
  ---