@zackbart/connecta-eve 0.38.0 → 0.40.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.
Files changed (2) hide show
  1. package/README.md +50 -23
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -4,15 +4,16 @@ Connect an Eve agent to a Connecta agent pool and load its endpoint instructions
4
4
  once per turn. The helper runs in the Eve app; the Connecta server
5
5
  runs separately. No `@zackbart/connecta` dependency is installed by this package.
6
6
 
7
- Requires **Node 24+** and **Eve >=0.86.0 <0.87.0**. Development and consumer
8
- checks use real Eve 0.86.0. The range covers its patch line; newer minor releases
9
- need a compatibility check. Helper releases share Connecta's version and tag;
10
- choose the helper version matching your server release.
7
+ Requires **Node 24+** and **Eve 1.0.0-rc.1**. Development and consumer
8
+ checks use that exact release candidate. The peer stays pinned during the RC
9
+ period; later candidates and stable 1.0 need a compatibility check. Helper
10
+ releases share Connecta's version and tag; choose the helper version matching
11
+ your server release.
11
12
 
12
13
  ## Install and add two files
13
14
 
14
15
  ```sh
15
- npm install @zackbart/connecta-eve eve@0.86.0
16
+ npm install @zackbart/connecta-eve eve@1.0.0-rc.1
16
17
  ```
17
18
 
18
19
  The server must declare your agent, admit it to the named pool and issue its
@@ -89,22 +90,48 @@ Each selected name must match `[a-z0-9_-]+`. A throwing selector or an invalid
89
90
  name fails the turn, even when guidance is cached. Handle lookup failures in
90
91
  your selector if it should fall back to a least-privileged pool.
91
92
 
92
- ## Eve 0.86.0 dependency override
93
-
94
- Eve 0.86.0 pins undici 8.10.2. Connecta's development/test override does not ship
95
- with this helper, so the Eve app must apply its own override to 8.12.3 before
96
- installing. For an npm app, add this to its `package.json`, then reinstall and
97
- commit the lockfile:
98
-
99
- ```json
100
- { "overrides": { "eve": { "undici": "8.12.3" } } }
101
- ```
102
-
103
- For a pnpm app, add `overrides: { "eve@0.86.0>undici": "8.12.3" }` to its
104
- `pnpm-workspace.yaml`. Check the resolved dependency graph and audit the app.
105
- Remove this override after upgrading to an Eve release that pins a fixed version
106
- and validating compatibility. The server's optional undici 6.29.1 peer is a
107
- separate dependency and keeps its exact pin.
93
+ ## Upgrading to Eve 1.0 RC
94
+
95
+ Update the app to `eve@1.0.0-rc.1` and reinstall to refresh its lockfile.
96
+ The helper's connection, dynamic pool, instructions and approval APIs use Eve's
97
+ stable entry points and require no authoring changes for this RC. Eve's
98
+ [1.0 stability policy](https://eve.dev/docs/reference/typescript-api#stability-policy)
99
+ does not cover `experimental` fields or internal modules.
100
+
101
+ From 0.90, review the intervening
102
+ [release notes](https://github.com/vercel/eve/blob/eve%401.0.0-rc.1/packages/eve/CHANGELOG.md):
103
+ `session.clear()` now cancels running turns and tasks, and object-form connection
104
+ approvals are now preserved at runtime. RC.1 also requires `@vercel/connect`
105
+ `^2.7.0` when that optional integration is installed; older Connect releases
106
+ reject the prerelease Eve peer.
107
+
108
+ For older apps, follow Eve's [Upgrade to 1.0](https://eve.dev/docs/guides/upgrade)
109
+ guide for event consumers, saved history, extensions and client APIs.
110
+ Build and test the app before deploying it. The helper does not migrate those
111
+ app-owned surfaces.
112
+
113
+ ## Upgrading from Eve 0.86
114
+
115
+ Eve 0.88.1 and later pin undici 8.12.3, so the app no longer needs its own undici
116
+ override. Remove `"eve": { "undici": "8.12.3" }` from an npm app's `overrides`, or
117
+ `"eve@0.86.0>undici": "8.12.3"` from a pnpm app's `pnpm-workspace.yaml`, then
118
+ reinstall, commit the lockfile and audit the app. The server's optional undici
119
+ 6.29.1 peer is a separate dependency and keeps its exact pin.
120
+
121
+ Eve 0.87 through 0.90 also changed app code the helper does not own. Review every
122
+ intervening release in the
123
+ [Eve 0.90.0 changelog](https://raw.githubusercontent.com/vercel/eve/refs/tags/eve%400.90.0/packages/eve/CHANGELOG.md);
124
+ an app on Eve 0.84 or 0.85 must also review those releases. Notable changes:
125
+
126
+ - Builds reject connection definitions not made by Eve's own factories, and
127
+ `defineDynamic()` values are opaque (0.87). `connectaConnection()` and
128
+ `connectaInstructions()` already return values made by Eve's factories.
129
+ - Several client, workflow and channel APIs moved (0.87).
130
+ - Grant-bearing `vercelOidc` auth becomes `eveVercelOidc`, auth callbacks that
131
+ returned `allowToolStubs` become `EveAuthFn`, and `/info` access is restricted
132
+ (0.90). Identity-only `vercelOidc()` calls need no rename.
133
+
134
+ Build and test the app on the new Eve before deploying it.
108
135
 
109
136
  ## Approval and writes
110
137
 
@@ -176,9 +203,9 @@ custom audience, even when Vercel signed them.
176
203
 
177
204
  In a source checkout with dependencies installed and both packages built, run
178
205
  `pnpm --filter @zackbart/connecta-eve run probe:catalog --output /absolute/path/outside/checkout`
179
- on Node 24. This boots real Eve 0.86.0 with a packed, installed helper against
206
+ on Node 24. This boots real Eve 1.0.0-rc.1 with a packed, installed helper against
180
207
  seeded local catalogs of 40, 100, 250, 500, and 1,000 downstream tools on the
181
- meta, native, and native-plus-code surfaces. Native listings include two
208
+ meta, native, and native-plus-code surfaces. Native listings include three
182
209
  Connecta tools beyond the downstream count. A 1,001-tool native catalog must
183
210
  refuse listing. `--counts 40,1000` selects a smaller matrix.
184
211
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zackbart/connecta-eve",
3
- "version": "0.38.0",
3
+ "version": "0.40.0",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "description": "Eve connection and instructions helpers for Connecta agent endpoints.",
@@ -28,11 +28,11 @@
28
28
  }
29
29
  },
30
30
  "peerDependencies": {
31
- "eve": ">=0.86.0 <0.87.0"
31
+ "eve": "1.0.0-rc.1"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@types/node": "^24.19.2",
35
- "eve": "0.86.0",
35
+ "eve": "1.0.0-rc.1",
36
36
  "typescript": "^6.0.3",
37
37
  "vite": "^8.3.4",
38
38
  "vitest": "^5.0.4"