eve 0.52.1 → 0.52.2

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 (74) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/src/chunks/{use-eve-agent-CxkGSusZ.js → use-eve-agent-1NAM6ftx.js} +19 -9
  3. package/dist/src/chunks/{use-eve-agent-Crmh_YB-.js → use-eve-agent-BEjdhhhK.js} +19 -9
  4. package/dist/src/cli/dev/tui/subagent-pump.js +1 -1
  5. package/dist/src/client/eve-agent-store.js +1 -1
  6. package/dist/src/client/ndjson.js +1 -1
  7. package/dist/src/compiled/.vendor-stamp.json +1 -1
  8. package/dist/src/compiler/default-tool-policy.d.ts +6 -0
  9. package/dist/src/compiler/default-tool-policy.js +1 -0
  10. package/dist/src/compiler/extension-compatibility.d.ts +6 -6
  11. package/dist/src/compiler/extension-compatibility.js +1 -1
  12. package/dist/src/compiler/manifest.js +1 -1
  13. package/dist/src/compiler/normalize-agent-config.js +1 -1
  14. package/dist/src/compiler/normalize-manifest.js +1 -1
  15. package/dist/src/context/build-dynamic-tools.js +1 -1
  16. package/dist/src/context/dynamic-tool-lifecycle.js +1 -1
  17. package/dist/src/evals/cli/eval.js +1 -1
  18. package/dist/src/execution/tools/sleep-workflow.js +1 -1
  19. package/dist/src/execution/workflow-steps.js +1 -1
  20. package/dist/src/execution/workflow-webhook-route.js +1 -1
  21. package/dist/src/framework/sources/registry.js +1 -1
  22. package/dist/src/harness/approval-delivery-coordinator.js +1 -1
  23. package/dist/src/harness/compaction-prompt.d.ts +1 -0
  24. package/dist/src/harness/compaction-prompt.js +1 -1
  25. package/dist/src/harness/compaction.js +1 -1
  26. package/dist/src/harness/tool-loop.js +2 -2
  27. package/dist/src/internal/application/package.js +1 -1
  28. package/dist/src/internal/authored-definition/core.js +1 -1
  29. package/dist/src/internal/authored-definition/schema-backed.js +1 -1
  30. package/dist/src/internal/node-esm-compat-banner.d.ts +19 -6
  31. package/dist/src/internal/node-esm-compat-banner.js +2 -2
  32. package/dist/src/internal/workflow-bundle/dynamic-tool-transform.js +1 -1
  33. package/dist/src/internal/workflow-bundle/workflow-core-shim.js +1 -1
  34. package/dist/src/public/channels/slack/connections.d.ts +2 -2
  35. package/dist/src/public/channels/slack/connections.js +1 -1
  36. package/dist/src/public/memory/file/backends/default.js +1 -1
  37. package/dist/src/public/tools/agent.d.ts +1 -0
  38. package/dist/src/public/tools/agent.js +1 -0
  39. package/dist/src/public/tools/ask-question.d.ts +1 -0
  40. package/dist/src/public/tools/ask-question.js +1 -0
  41. package/dist/src/public/tools/connection-search.d.ts +1 -0
  42. package/dist/src/public/tools/connection-search.js +1 -0
  43. package/dist/src/public/tools/task-cancel.d.ts +1 -0
  44. package/dist/src/public/tools/task-cancel.js +1 -0
  45. package/dist/src/public/tools/task-update.d.ts +1 -0
  46. package/dist/src/public/tools/task-update.js +1 -0
  47. package/dist/src/runtime/connections/openapi-schema.js +1 -1
  48. package/dist/src/runtime/resolve-agent.js +1 -1
  49. package/dist/src/runtime/resolve-tool.js +1 -1
  50. package/dist/src/runtime/subagents/dynamic-agent-config.js +1 -1
  51. package/dist/src/setup/integrations/file-memory/vercel.d.ts +2 -2
  52. package/dist/src/setup/integrations/file-memory/vercel.js +1 -1
  53. package/dist/src/setup/scaffold/create/project.js +1 -1
  54. package/dist/src/shared/agent-definition.d.ts +7 -0
  55. package/dist/src/svelte/index.js +1 -1
  56. package/dist/src/svelte/use-eve-agent.js +1 -1
  57. package/dist/src/tools/definition.d.ts +8 -0
  58. package/dist/src/tools/definition.js +1 -1
  59. package/dist/src/tools/durable-callbacks.d.ts +4 -1
  60. package/dist/src/tools/durable-callbacks.js +1 -1
  61. package/dist/src/tools/dynamic.d.ts +2 -0
  62. package/dist/src/vue/index.js +1 -1
  63. package/dist/src/vue/use-eve-agent.js +1 -1
  64. package/docs/channels/slack.mdx +2 -0
  65. package/docs/concepts/built-in-tools.md +397 -68
  66. package/docs/connections/openapi.mdx +4 -0
  67. package/docs/evals/running.mdx +2 -0
  68. package/docs/guides/client/streaming.mdx +7 -1
  69. package/docs/guides/dynamic-capabilities.md +1 -1
  70. package/docs/guides/frontend/overview.mdx +1 -1
  71. package/docs/memory/custom-provider.md +4 -1
  72. package/docs/memory/file.md +25 -12
  73. package/docs/tools/workflows.mdx +3 -1
  74. package/package.json +32 -7
@@ -18,9 +18,10 @@ eve add memory/file
18
18
 
19
19
  After you choose **Install and set up**, eve creates or reuses one private
20
20
  Vercel Blob store for the linked project, connects it to production, preview,
21
- and development with `EVE_MEMORY_`-prefixed variables, and pulls the updated
22
- environment. It uses the project's first configured function region, falling
23
- back to `iad1`. Blob usage may incur charges.
21
+ and development using OIDC, and pulls the updated environment. The connection
22
+ sets `EVE_MEMORY_BLOB_STORE_ID` and `EVE_MEMORY_BLOB_WEBHOOK_PUBLIC_KEY`
23
+ without adding a read-write token. It uses the project's first configured
24
+ function region, falling back to `iad1`. Blob usage may incur charges.
24
25
 
25
26
  The registry writes:
26
27
 
@@ -96,13 +97,21 @@ provider: fileMemory({ backend: inMemory() });
96
97
  ### Vercel Blob
97
98
 
98
99
  Provisioned bindings use the `EVE_MEMORY_BLOB_*` namespace so file memory does
99
- not take over an application's own Blob store. `fileMemory()` checks Vercel
100
- credentials in this order:
100
+ not take over an application's own Blob store. Vercel supplies the OIDC token;
101
+ the Blob SDK resolves the current token for each operation and handles refresh.
102
+ File-memory reads and writes need the store ID. The webhook public key is for upload callbacks
103
+ and is not used by file memory.
101
104
 
102
- 1. `EVE_MEMORY_BLOB_READ_WRITE_TOKEN`
103
- 2. `EVE_MEMORY_BLOB_STORE_ID` with Vercel OIDC from the environment or request context
104
- 3. `BLOB_READ_WRITE_TOKEN`
105
- 4. `BLOB_STORE_ID` with Vercel OIDC from the environment or request context
105
+ `fileMemory()` checks Vercel configuration in this order:
106
+
107
+ 1. `EVE_MEMORY_BLOB_STORE_ID` with Vercel OIDC from the environment or request context
108
+ 2. `EVE_MEMORY_BLOB_READ_WRITE_TOKEN`
109
+ 3. `BLOB_STORE_ID` with Vercel OIDC from the environment or request context
110
+ 4. `BLOB_READ_WRITE_TOKEN`
111
+
112
+ Prefer OIDC on Vercel. You do not need to set a read-write token or copy
113
+ `VERCEL_OIDC_TOKEN` into your configuration. Redeploy after connecting the
114
+ store: changes to project environment variables apply to new deployments.
106
115
 
107
116
  Generic `BLOB_*` variables remain supported for a store you attach manually.
108
117
  Run setup again without reinstalling the memory definition when a previous
@@ -113,8 +122,11 @@ eve integration setup file-memory
113
122
  ```
114
123
 
115
124
  Setup repairs the deterministic unconnected private store left by a partial
116
- run and reuses a complete `EVE_MEMORY_` connection. It does not adopt an
117
- arbitrary application store, change a `BLOB_*` connection, or replace a public
125
+ run and reuses a complete `EVE_MEMORY_BLOB` connection. If an earlier setup
126
+ created an `EVE_MEMORY_` connection, reconnect that same store with the
127
+ `EVE_MEMORY_BLOB` prefix and OIDC in Vercel, then redeploy. Keep the existing
128
+ store to preserve its memory documents. Setup does not adopt an arbitrary
129
+ application store, change a `BLOB_*` connection, or replace a public
118
130
  or incompatible store. If the linked project later moves to another primary
119
131
  region, setup preserves the existing memory store and warns about the drift
120
132
  instead of risking data loss.
@@ -134,7 +146,8 @@ provider: fileMemory({
134
146
  `vercelBlob()` accepts `token`, `oidcToken`, `storeId`, and `prefix`. The
135
147
  default prefix is `eve/memory/file`; documents are stored privately under
136
148
  `<prefix>/<scope key>/MEMORY.md`. Passing these options continues to override
137
- the generic environment defaults directly.
149
+ the generic environment defaults directly. Leave `oidcToken` unset on Vercel
150
+ so the Blob SDK can manage token refresh.
138
151
 
139
152
  ### Custom backend
140
153
 
@@ -317,7 +317,9 @@ export default defineWorkflowTool({
317
317
  ```
318
318
 
319
319
  `createWebhook` mints a URL under `/.well-known/workflow/v1/webhook/` that eve serves. The external
320
- system posts to it when it is done. Nothing runs in between.
320
+ system posts to it when it is done. Nothing runs in between. Webhook tokens are generated for
321
+ you; use `createHook` with `resumeHook` if you need a deterministic token. To customize the HTTP
322
+ response, pass `respondWith: new Response(...)` to `createWebhook`.
321
323
 
322
324
  ### Ask now, act when answered
323
325
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eve",
3
- "version": "0.52.1",
3
+ "version": "0.52.2",
4
4
  "private": false,
5
5
  "description": "Filesystem-first framework for durable backend AI agents that run anywhere.",
6
6
  "keywords": [
@@ -131,6 +131,16 @@
131
131
  "import": "./dist/src/public/tools/index.js",
132
132
  "default": "./dist/src/public/tools/index.js"
133
133
  },
134
+ "./tools/agent": {
135
+ "types": "./dist/src/public/tools/agent.d.ts",
136
+ "import": "./dist/src/public/tools/agent.js",
137
+ "default": "./dist/src/public/tools/agent.js"
138
+ },
139
+ "./tools/ask_question": {
140
+ "types": "./dist/src/public/tools/ask-question.d.ts",
141
+ "import": "./dist/src/public/tools/ask-question.js",
142
+ "default": "./dist/src/public/tools/ask-question.js"
143
+ },
134
144
  "./tools/bash": {
135
145
  "types": "./dist/src/public/tools/bash.d.ts",
136
146
  "import": "./dist/src/public/tools/bash.js",
@@ -166,6 +176,21 @@
166
176
  "import": "./dist/src/public/tools/load-skill.js",
167
177
  "default": "./dist/src/public/tools/load-skill.js"
168
178
  },
179
+ "./tools/connection_search": {
180
+ "types": "./dist/src/public/tools/connection-search.d.ts",
181
+ "import": "./dist/src/public/tools/connection-search.js",
182
+ "default": "./dist/src/public/tools/connection-search.js"
183
+ },
184
+ "./tools/task_cancel": {
185
+ "types": "./dist/src/public/tools/task-cancel.d.ts",
186
+ "import": "./dist/src/public/tools/task-cancel.js",
187
+ "default": "./dist/src/public/tools/task-cancel.js"
188
+ },
189
+ "./tools/task_update": {
190
+ "types": "./dist/src/public/tools/task-update.d.ts",
191
+ "import": "./dist/src/public/tools/task-update.js",
192
+ "default": "./dist/src/public/tools/task-update.js"
193
+ },
169
194
  "./tools/glob": {
170
195
  "types": "./dist/src/public/tools/glob.d.ts",
171
196
  "import": "./dist/src/public/tools/glob.js",
@@ -182,7 +207,7 @@
182
207
  "default": "./dist/src/public/tools/workflow.js"
183
208
  },
184
209
  "./workflow-modules": {
185
- "eve-source": "./src/public/workflow-modules.d.ts",
210
+ "eve-source": "./dist/src/public/workflow-modules.d.ts",
186
211
  "types": "./dist/src/public/workflow-modules.d.ts"
187
212
  },
188
213
  "./models/openai": {
@@ -276,19 +301,19 @@
276
301
  "default": "./dist/src/public/local-dev.js"
277
302
  },
278
303
  "./self-modification": {
279
- "eve-source": "./src/self-modification/extension/extension.ts",
304
+ "eve-source": "./dist/src/self-modification/extension/extension.js",
280
305
  "types": "./dist/src/self-modification/extension/extension.d.ts",
281
306
  "import": "./dist/src/self-modification/extension/extension.js",
282
307
  "default": "./dist/src/self-modification/extension/extension.js"
283
308
  },
284
309
  "./self-modification/agent": {
285
- "eve-source": "./src/self-modification/agent.ts",
310
+ "eve-source": "./dist/src/self-modification/agent.js",
286
311
  "types": "./dist/src/self-modification/agent.d.ts",
287
312
  "import": "./dist/src/self-modification/agent.js",
288
313
  "default": "./dist/src/self-modification/agent.js"
289
314
  },
290
315
  "./self-modification/sandbox": {
291
- "eve-source": "./src/self-modification/sandbox.ts",
316
+ "eve-source": "./dist/src/self-modification/sandbox.js",
292
317
  "types": "./dist/src/self-modification/sandbox.d.ts",
293
318
  "import": "./dist/src/self-modification/sandbox.js",
294
319
  "default": "./dist/src/self-modification/sandbox.js"
@@ -385,13 +410,13 @@
385
410
  },
386
411
  "./package.json": "./package.json",
387
412
  "./setup/scaffold": {
388
- "eve-source": "./src/setup/scaffold/index.ts",
413
+ "eve-source": "./dist/src/setup/scaffold/index.js",
389
414
  "types": "./dist/src/setup/scaffold/index.d.ts",
390
415
  "import": "./dist/src/setup/scaffold/index.js",
391
416
  "default": "./dist/src/setup/scaffold/index.js"
392
417
  },
393
418
  "./setup": {
394
- "eve-source": "./src/setup/index.ts",
419
+ "eve-source": "./dist/src/setup/index.js",
395
420
  "types": "./dist/src/setup/index.d.ts",
396
421
  "import": "./dist/src/setup/index.js",
397
422
  "default": "./dist/src/setup/index.js"