@aexhq/sdk 0.88.0 → 0.88.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 +3 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ tools, send messages, and read saved conversations without operating a Brain ser
|
|
|
8
8
|
Create a key in the [dashboard](https://aex.dev/dashboard). With Node.js 22 or newer, install:
|
|
9
9
|
|
|
10
10
|
```sh
|
|
11
|
-
npm install @aexhq/sdk@0.88.
|
|
11
|
+
npm install @aexhq/sdk@0.88.1 @aexhq/agentloop-pi@9.0.1 zod@4.4.3
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
Set `AEX_API_KEY` and `OPENAI_API_KEY` in your server environment. Save as `order.mjs` and
|
|
@@ -56,7 +56,7 @@ The SDK uses Brain's session API and extension helpers. You can import `tool`, `
|
|
|
56
56
|
|
|
57
57
|
- [Sessions](https://aex.dev/brain/docs/concepts/sessions): send, submit, stream, reconnect and stop.
|
|
58
58
|
- [Tools](https://aex.dev/brain/docs/guides/write-a-tool): application functions and packaged tools.
|
|
59
|
-
- [Custom Agentloops](https://aex.dev/brain/docs/reference/agentloop-contract): one scoped `ctx`, KV state and automatic completion on successful return. Rebuild custom loops with Brain SDK 0.
|
|
59
|
+
- [Custom Agentloops](https://aex.dev/brain/docs/reference/agentloop-contract): one scoped `ctx`, KV state and automatic completion on successful return. Rebuild custom loops with Brain SDK 0.39.0 and use matching Pi/Codex 9.0.1 for new sessions.
|
|
60
60
|
- [Structured output](#structured-output): validated JSON answers.
|
|
61
61
|
- [Managed environments](https://github.com/aexhq/aex/blob/main/docs/environments.md): hosted tools and workspaces.
|
|
62
62
|
- [Attachments](https://github.com/aexhq/aex/blob/main/docs/attachments.md): upload images and PDFs.
|
|
@@ -123,7 +123,7 @@ correction. It supports JSON Schema, not arbitrary local Zod refinements or tran
|
|
|
123
123
|
Brain SDK 0.34 removes typed sends and the corresponding types and errors. Aex SDK 0.84
|
|
124
124
|
owns them. Existing Aex `send(..., { output })` calls keep the same syntax and behavior.
|
|
125
125
|
Import `StructuredSendOptions` and `StructuredOutputError` from `@aexhq/sdk`.
|
|
126
|
-
Use Pi 9.0.
|
|
126
|
+
Use Pi 9.0.1, Codex 9.0.1 and extension packages pinned to Brain 0.39.0 with this SDK.
|
|
127
127
|
Mixing exact Brain dependency versions creates different TypeScript extension brands.
|
|
128
128
|
|
|
129
129
|
An existing standalone Brain handle can use Aex's policy without changing servers:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aexhq/sdk",
|
|
3
|
-
"version": "0.88.
|
|
3
|
+
"version": "0.88.1",
|
|
4
4
|
"description": "Aex accounts and hosted sessions using the Brain SDK",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
"tag": "next"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@aexhq/brain": "0.
|
|
31
|
+
"@aexhq/brain": "0.39.0",
|
|
32
32
|
"zod": "4.4.3",
|
|
33
|
-
"@aexhq/env-http": "0.3.
|
|
33
|
+
"@aexhq/env-http": "0.3.4"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"gen": "node ../../tools/sdk-contracts.mjs",
|