@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.
- package/dist/.tsbuildinfo +1 -1
- package/dist/embed-docs/mem/adapter-migration.md +1 -1
- package/dist/embed-docs/mem/author-adapter.md +6 -5
- package/dist/embed-docs/mem/bulk-insert-adapters-via-cli.md +1 -1
- package/dist/embed-docs/mem/challenge-type-guide.md +6 -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 +10 -10
- package/dist/resources/embedded-mcp-resources.js.map +1 -1
- package/dist/tools/activate-artifacts.d.ts +1 -1
- package/dist/tools/activate-artifacts.d.ts.map +1 -1
- package/dist/tools/activate-artifacts.js +2 -2
- package/dist/tools/activate-artifacts.js.map +1 -1
- package/dist/tools/activate_schema.d.ts +20 -2
- package/dist/tools/activate_schema.d.ts.map +1 -1
- package/dist/tools/activate_schema.js +15 -1
- package/dist/tools/activate_schema.js.map +1 -1
- package/dist/tools/artifact-materialize-command.d.ts +21 -10
- package/dist/tools/artifact-materialize-command.d.ts.map +1 -1
- package/dist/tools/artifact-materialize-command.js +17 -31
- package/dist/tools/artifact-materialize-command.js.map +1 -1
- package/dist/tools/export_schema.d.ts +3 -3
- 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 +22 -4
- package/dist/tools/tool-registry.d.ts.map +1 -1
- package/dist/ui/assets/{AccountPage-Co_hJpj2.js → AccountPage-CsTk724l.js} +1 -1
- package/dist/ui/assets/{index-_ERynoIs.js → index-PfkVPrcd.js} +2 -2
- package/dist/ui/index.html +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
slug: author-adapter
|
|
3
|
-
version: "5.14.
|
|
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.
|
|
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 —
|
|
210
|
-
adapter. A step that says only "run `python3
|
|
211
|
-
guessing where the file is; a
|
|
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,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
version: "5.14.
|
|
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:**
|
|
283
|
-
`linked_artifacts[]` row —
|
|
284
|
-
|
|
285
|
-
|
|
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
|