@cratis/pi 7.183.0 → 7.184.0

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.
@@ -54,6 +54,7 @@ An absent block exposes nothing and manifest export refuses `NoAgentsBlock`. An
54
54
  | Ambiguous reference | PLAY0967 error; qualify it |
55
55
  | Duplicate resolved operation | PLAY0968 error, even with different short references |
56
56
  | Missing or blank description | PLAY0969 error |
57
+ | More than 20 distinct exposed operations | PLAY1167 warning; recommended maximum is 20 per `agents` block, so keep the MCP tool surface small; compilation still succeeds |
57
58
  | Missing, invalid or duplicate scope | PLAY0970 error |
58
59
  | Command with `scope read` | PLAY0971 error |
59
60
  | Missing or duplicate tokens declaration | PLAY0972 error |
@@ -59,6 +59,7 @@ then STAGE (V5 admission). Tool differences: `../SKILL.md` ("Tool versions and t
59
59
  | PLAY0455 | quoted import glob matches no file | fix the glob |
60
60
  | PLAY0196/0197/0198 | unknown query/screen; ambiguous bare name | declare or qualify `Slice.Name` |
61
61
  | PLAY1142 | a projection mapping, AutoMap or reducer copies a `secret` concept into a read model (Screenplay 6.28.0+) | leave it out or map a non-secret derived value |
62
+ | PLAY1167 | an `agents` block exposes more than 20 distinct operations; arguments `count` and `recommendedMaximum` give the decimal counts; compilation still succeeds | expose a smaller, focused allowlist; see [agent exposure](agent-exposure.md) |
62
63
 
63
64
  ## Source reference and identifier checks
64
65
 
@@ -85389,6 +85389,31 @@
85389
85389
  "title": "Malformed, duplicate or empty action presentation value.",
85390
85390
  "reserved": false,
85391
85391
  "retired": false
85392
+ },
85393
+ {
85394
+ "code": "PLAY1167",
85395
+ "name": "AgentToolCountExceedsRecommendation",
85396
+ "severity": "warning",
85397
+ "severities": [
85398
+ "warning"
85399
+ ],
85400
+ "title": "An agents block exposes more than the recommended number of distinct operations.",
85401
+ "reserved": false,
85402
+ "retired": false,
85403
+ "arguments": [
85404
+ {
85405
+ "name": "count",
85406
+ "kind": "text",
85407
+ "optional": false,
85408
+ "meaning": "The number of distinct resolved exposed operations, in decimal."
85409
+ },
85410
+ {
85411
+ "name": "recommendedMaximum",
85412
+ "kind": "text",
85413
+ "optional": false,
85414
+ "meaning": "The recommended maximum number of exposed operations, in decimal."
85415
+ }
85416
+ ]
85392
85417
  }
85393
85418
  ],
85394
85419
  "mcpTools": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cratis/pi",
3
- "version": "7.183.0",
3
+ "version": "7.184.0",
4
4
  "description": "Configuration-aware Cratis AI integration for Pi",
5
5
  "type": "module",
6
6
  "files": [