@inspectr/mcplab 1.23.1 → 1.24.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/README.md +4 -7
- package/dist/app/assets/index-6zaiXZWP.js +256 -0
- package/dist/app/assets/index-DBjVHflA.css +1 -0
- package/dist/app/index.html +2 -2
- package/dist/app-server/scenario-assistant-domain.d.ts +3 -0
- package/dist/app-server/scenario-assistant-domain.d.ts.map +1 -1
- package/dist/app-server/scenario-assistant-domain.js +16 -2
- package/dist/app-server/scenario-assistant-domain.js.map +1 -1
- package/package.json +4 -4
- package/dist/app/assets/index-CzyHE2sW.css +0 -1
- package/dist/app/assets/index-DBzR3mRz.js +0 -255
package/README.md
CHANGED
|
@@ -268,11 +268,8 @@ scenarios:
|
|
|
268
268
|
required_tools: ["search", "analyze"]
|
|
269
269
|
forbidden_tools: ["delete"]
|
|
270
270
|
|
|
271
|
-
# Validate tool
|
|
272
|
-
tool_sequence:
|
|
273
|
-
allow:
|
|
274
|
-
- ["search", "analyze"]
|
|
275
|
-
- ["search", "search", "analyze"]
|
|
271
|
+
# Validate tool order
|
|
272
|
+
tool_sequence: ["search", "analyze"]
|
|
276
273
|
|
|
277
274
|
# Validate response content
|
|
278
275
|
response_assertions:
|
|
@@ -305,8 +302,8 @@ run_defaults:
|
|
|
305
302
|
- `required_tools`: Tools that must be called
|
|
306
303
|
- `forbidden_tools`: Tools that must not be called
|
|
307
304
|
|
|
308
|
-
- **`tool_sequence`** -
|
|
309
|
-
-
|
|
305
|
+
- **`tool_sequence`** - Ordered tool list that must appear in the run in the same order
|
|
306
|
+
- Example: `["search", "analyze"]` passes when the run contains `search` before `analyze`, even if other tools happen in between
|
|
310
307
|
|
|
311
308
|
- **`response_assertions`** - Validate the final response
|
|
312
309
|
- `contains`: Final text must include a literal substring (case-insensitive)
|