@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.
- package/dist/.tsbuildinfo +1 -1
- package/dist/embed-docs/mem/adapter-migration.md +1 -1
- package/dist/embed-docs/mem/author-adapter.md +4 -4
- package/dist/embed-docs/mem/bulk-insert-adapters-via-cli.md +1 -1
- package/dist/embed-docs/mem/challenge-type-guide.md +8 -5
- package/dist/embed-docs/mem/critic-loop-guide.md +1 -1
- package/dist/embed-docs/mem/critic-loop.md +1 -1
- package/dist/embed-docs/mem/protocol-linking-guide.md +1 -1
- package/dist/embed-docs/mem/refine-search.md +1 -1
- package/dist/resources/embedded-mcp-resources.js +11 -11
- package/dist/resources/embedded-mcp-resources.js.map +1 -1
- package/dist/runtime-lock.json +2 -2
- package/dist/tools/activate-artifacts.d.ts.map +1 -1
- package/dist/tools/activate-artifacts.js +6 -5
- package/dist/tools/activate-artifacts.js.map +1 -1
- package/dist/tools/activate_schema.d.ts +4 -0
- package/dist/tools/activate_schema.d.ts.map +1 -1
- package/dist/tools/activate_schema.js +14 -7
- package/dist/tools/activate_schema.js.map +1 -1
- package/dist/tools/artifact-materialize-command.d.ts +16 -8
- package/dist/tools/artifact-materialize-command.d.ts.map +1 -1
- package/dist/tools/artifact-materialize-command.js +15 -9
- package/dist/tools/artifact-materialize-command.js.map +1 -1
- package/dist/tools/export-source.d.ts +3 -1
- package/dist/tools/export-source.d.ts.map +1 -1
- package/dist/tools/export-source.js +21 -8
- package/dist/tools/export-source.js.map +1 -1
- package/dist/tools/export.js +2 -2
- package/dist/tools/export.js.map +1 -1
- package/dist/tools/export_schema.d.ts +3 -2
- package/dist/tools/export_schema.d.ts.map +1 -1
- package/dist/tools/export_schema.js +5 -3
- package/dist/tools/export_schema.js.map +1 -1
- package/dist/tools/shell-failure-diagnostics.js +2 -2
- package/dist/tools/shell-failure-diagnostics.js.map +1 -1
- package/dist/tools/tool-registry.d.ts +6 -1
- package/dist/tools/tool-registry.d.ts.map +1 -1
- package/dist/ui/assets/{AccountPage-CZvXz3Go.js → AccountPage-BZHN4fr7.js} +1 -1
- package/dist/ui/assets/{index-CzjUJbp8.js → index-Cqev6gXs.js} +2 -2
- package/dist/ui/assets/index-DnurEMjY.css +2 -0
- package/dist/ui/index.html +2 -2
- package/package.json +2 -1
- package/dist/ui/assets/index-BhUIvr-O.css +0 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
slug: author-adapter
|
|
3
|
-
version: "5.
|
|
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.
|
|
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 —
|
|
210
|
-
|
|
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,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
version: "5.
|
|
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:**
|
|
283
|
-
`linked_artifacts[]` row —
|
|
284
|
-
|
|
285
|
-
|
|
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
|