eve 0.46.0 → 0.46.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/CHANGELOG.md +10 -0
- package/dist/src/chunks/{use-eve-agent-DI2j5XK8.js → use-eve-agent-CacMaX4P.js} +91 -43
- package/dist/src/chunks/{use-eve-agent-BH7Z6SDu.js → use-eve-agent-kmlFdOBB.js} +91 -43
- package/dist/src/cli/commands/info.d.ts +2 -0
- package/dist/src/cli/commands/info.js +2 -2
- package/dist/src/cli/dev/tui/prompt-commands.d.ts +2 -0
- package/dist/src/cli/dev/tui/prompt-commands.js +1 -1
- package/dist/src/cli/dev/tui/runner.d.ts +3 -0
- package/dist/src/cli/dev/tui/runner.js +1 -1
- package/dist/src/client/message-reducer-primitives.d.ts +8 -0
- package/dist/src/client/message-reducer-primitives.js +1 -0
- package/dist/src/client/message-reducer-types.d.ts +2 -0
- package/dist/src/client/message-reducer.js +1 -1
- package/dist/src/compiled/.vendor-stamp.json +1 -1
- package/dist/src/compiled/@linqapp/chat-sdk-adapter/index.d.ts +2 -1
- package/dist/src/compiled/@linqapp/chat-sdk-adapter/index.js +3 -3
- package/dist/src/compiler/extension-compatibility.d.ts +18 -18
- package/dist/src/compiler/extension-compatibility.js +1 -1
- package/dist/src/execution/tools/connection-search.js +1 -1
- package/dist/src/harness/emission.d.ts +1 -8
- package/dist/src/harness/emission.js +1 -1
- package/dist/src/harness/ordered-stream-emitter.js +1 -1
- package/dist/src/internal/application/package.js +1 -1
- package/dist/src/packages/eve-catalog/src/index.js +1 -1
- package/dist/src/protocol/message.d.ts +29 -2
- package/dist/src/protocol/message.js +2 -2
- package/dist/src/public/definitions/connections/tool-call.d.ts +2 -0
- package/dist/src/public/definitions/hook.d.ts +1 -0
- package/dist/src/runtime/connections/mcp-client.d.ts +1 -1
- package/dist/src/runtime/connections/mcp-client.js +1 -1
- package/dist/src/runtime/connections/openapi-client.d.ts +1 -1
- package/dist/src/runtime/connections/openapi-client.js +1 -1
- package/dist/src/runtime/connections/provided-arguments.d.ts +1 -0
- package/dist/src/runtime/connections/provided-arguments.js +1 -1
- package/dist/src/setup/integrations/registry.js +1 -1
- package/dist/src/setup/integrations/shopify/setup.d.ts +20 -0
- package/dist/src/setup/integrations/shopify/setup.js +1 -0
- package/dist/src/setup/integrations/shopify/templates.d.ts +1 -0
- package/dist/src/setup/integrations/shopify/templates.js +88 -0
- package/dist/src/setup/scaffold/create/project.js +1 -1
- package/dist/src/shared/connection-types.d.ts +3 -1
- package/dist/src/svelte/index.js +1 -1
- package/dist/src/svelte/use-eve-agent.js +1 -1
- package/dist/src/vue/index.js +1 -1
- package/dist/src/vue/use-eve-agent.js +1 -1
- package/docs/concepts/sessions-runs-and-streaming.md +5 -2
- package/docs/connections/mcp.mdx +1 -1
- package/docs/connections/openapi.mdx +1 -1
- package/docs/guides/client/streaming.mdx +18 -15
- package/docs/guides/dev-tui.md +2 -1
- package/package.json +2 -2
|
@@ -75,7 +75,7 @@ for await (const event of response) {
|
|
|
75
75
|
}
|
|
76
76
|
```
|
|
77
77
|
|
|
78
|
-
`message.appended` and `
|
|
78
|
+
`message.appended`, `reasoning.appended`, and `action.input.appended` are incremental delta events. eve may combine adjacent deltas for the same text block or tool call while a durable stream write is in flight, but preserves their text and event ordering. A different event type, tool `callId`, or stream coordinate is a barrier. The completed text forms, `message.completed` and `reasoning.completed`, are the compatibility path for clients that don't render deltas. A streamed tool input is complete when the matching validated call arrives in `actions.requested`.
|
|
79
79
|
|
|
80
80
|
## Handle event types
|
|
81
81
|
|
|
@@ -98,23 +98,26 @@ function handleEvent(event: MessageStreamEvent) {
|
|
|
98
98
|
|
|
99
99
|
The most common UI events are:
|
|
100
100
|
|
|
101
|
-
| Event
|
|
102
|
-
|
|
|
103
|
-
| `message.received`
|
|
104
|
-
| `reasoning.appended`
|
|
105
|
-
| `message.appended`
|
|
106
|
-
| `
|
|
107
|
-
| `
|
|
108
|
-
| `action.
|
|
109
|
-
| `
|
|
110
|
-
| `input.
|
|
111
|
-
| `
|
|
112
|
-
| `
|
|
113
|
-
| `session.
|
|
114
|
-
| `session.
|
|
101
|
+
| Event | Use |
|
|
102
|
+
| ----------------------- | ------------------------------------------------------------------------------ |
|
|
103
|
+
| `message.received` | Confirm the user message landed; `data.parts` includes text and file metadata. |
|
|
104
|
+
| `reasoning.appended` | Render reasoning deltas when the model provides them. |
|
|
105
|
+
| `message.appended` | Render assistant text deltas. |
|
|
106
|
+
| `action.input.appended` | Accumulate raw tool-input deltas before validation completes. |
|
|
107
|
+
| `actions.requested` | Show tool calls as the model requests them, before execution. |
|
|
108
|
+
| `action.partial` | Update a generator tool's provisional output snapshot. |
|
|
109
|
+
| `action.result` | Show tool call results. |
|
|
110
|
+
| `input.requested` | Pause the UI for approval or a question answer. |
|
|
111
|
+
| `input.resolved` | Record the server-accepted outcome and response for each human-input request. |
|
|
112
|
+
| `result.completed` | Read structured output from an [output schema](./output-schema). |
|
|
113
|
+
| `session.waiting` | Enable the composer; the same fixed session handle accepts the next message. |
|
|
114
|
+
| `session.completed` | Mark the conversation terminal. |
|
|
115
|
+
| `session.failed` | Mark the conversation failed. |
|
|
115
116
|
|
|
116
117
|
For the complete event table, see [Sessions, runs & streaming](../../concepts/sessions-runs-and-streaming).
|
|
117
118
|
|
|
119
|
+
Each `action.input.appended` event stores `inputTextDelta` and its zero-based UTF-16 code-unit `inputTextOffset`, so consumers can reject a gap instead of concatenating corrupt input. The default message reducer starts or restarts at offset `0` and ignores a nonzero offset that is not contiguous. It accumulates accepted deltas into a `dynamic-tool` part with `state: "input-streaming"`; its `inputText` field contains cumulative raw text that may be incomplete JSON. The matching `actions.requested` event upgrades the same `toolCallId` to `state: "input-available"` and puts the validated value in `input`.
|
|
120
|
+
|
|
118
121
|
When a submitted message includes attachments, `message.received.data.message` stays the
|
|
119
122
|
flattened compatibility summary, while `message.received.data.parts` carries renderable text and
|
|
120
123
|
file metadata. File parts never include raw bytes or internal sandbox paths; `url` appears only for
|
package/docs/guides/dev-tui.md
CHANGED
|
@@ -20,6 +20,7 @@ The transcript remains in your terminal scrollback after you exit. Run `/help` i
|
|
|
20
20
|
| `/deploy` | Deploy the agent to Vercel production. Links the directory first if needed. |
|
|
21
21
|
| `/vc:install` | Install the Vercel CLI. |
|
|
22
22
|
| `/vc:login` | Log in to Vercel or restore access to a remote deployment. |
|
|
23
|
+
| `/info` | Show the resolved application, compiled artifacts, discovery diagnostics, and messaging routes. |
|
|
23
24
|
| `/loglevel` | Choose which server and agent logs appear in the transcript. |
|
|
24
25
|
| `/traces` | Open the local trace viewer. Pass a trace ID prefix to open a specific trace. |
|
|
25
26
|
| `/reset` | Start a fresh session. |
|
|
@@ -29,7 +30,7 @@ The transcript remains in your terminal scrollback after you exit. Run `/help` i
|
|
|
29
30
|
| `/exit` | Quit the UI. |
|
|
30
31
|
| `/help` | List available commands. |
|
|
31
32
|
|
|
32
|
-
`/model`, `/add`, `/deploy`, and `/traces` are available when `eve dev` runs locally. They are unavailable when the UI connects to a server with `--url`.
|
|
33
|
+
`/model`, `/add`, `/deploy`, `/info`, and `/traces` are available when `eve dev` runs locally. They are unavailable when the UI connects to a server with `--url`.
|
|
33
34
|
|
|
34
35
|
## Add an integration
|
|
35
36
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eve",
|
|
3
|
-
"version": "0.46.
|
|
3
|
+
"version": "0.46.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Filesystem-first framework for durable backend AI agents that run anywhere.",
|
|
6
6
|
"keywords": [
|
|
@@ -390,7 +390,7 @@
|
|
|
390
390
|
"@chat-adapter/state-memory": "4.34.0",
|
|
391
391
|
"@chat-adapter/twilio": "4.34.0",
|
|
392
392
|
"@clack/core": "1.3.1",
|
|
393
|
-
"@linqapp/chat-sdk-adapter": "^0.
|
|
393
|
+
"@linqapp/chat-sdk-adapter": "^0.5.1",
|
|
394
394
|
"@modelcontextprotocol/server": "2.0.0",
|
|
395
395
|
"@nuxt/kit": "^4.0.0",
|
|
396
396
|
"@opentelemetry/context-async-hooks": "2.6.1",
|