@aexhq/agentloop-pi 7.2.2 → 7.2.3

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 CHANGED
@@ -67,7 +67,7 @@ siblings. For hosted applications, publish bytes with Aex's attachment API and r
67
67
  Compaction explicitly resets the response format and installs a summary only after `end_turn`;
68
68
  a truncated, refused, or unknown summary leaves the original saved context intact.
69
69
 
70
- Version 7.0 targets Brain SDK 0.32 and `brain:agentloop@0.2.0`. The Tool return/completion
70
+ This release targets Brain SDK 0.34 and `brain:agentloop@0.2.0`. The Tool return/completion
71
71
  contract is breaking. Existing sessions retain their immutable loop implementation; the
72
72
  server upgrade preflight refuses unclosed sessions from the previous contract. Keep matching
73
73
  server/artifacts for recovery. An upgrade does not migrate or delete session data.
@@ -75,7 +75,8 @@ server/artifacts for recovery. An upgrade does not migrate or delete session dat
75
75
  Image and PDF blocks remain native media in compaction requests. The JSON-length estimate used
76
76
  for new context does not measure image/PDF tokens; provider context-limit failures remain explicit.
77
77
 
78
- Use `session.send(prompt, { output: { type: AnswerSchema } })` for validated application output.
78
+ For validated JSON within the turn, use [loop-level structured output](#hosted-structured-output).
79
+ Per-send Zod validation and corrective turns belong to the [Aex SDK](https://aex.dev/docs#structured-output), not Brain's `session.send()`.
79
80
  Pi finishes when the assistant returns no Tool calls; no special terminal Tool is required.
80
81
  Ordinary `send()` returns session state, so `idle` alone does not establish turn success.
81
82
 
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aexhq/agentloop-pi",
3
- "version": "7.2.2",
3
+ "version": "7.2.3",
4
4
  "description": "Pi-style parallel-Tool Brain extension",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -40,7 +40,7 @@
40
40
  "prepack": "npm run build"
41
41
  },
42
42
  "dependencies": {
43
- "@aexhq/brain": "0.34.0",
43
+ "@aexhq/brain": "0.34.1",
44
44
  "ajv": "8.20.0",
45
45
  "ajv-formats": "3.0.1",
46
46
  "zod": "4.4.3"