Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

docs(cua-driver): add an Eve agent example with native Driver tools (#4274)

Francesco Bonaccidb69b4bddbff
diff --git a/libs/cua-driver/examples/eve/.gitignore b/libs/cua-driver/examples/eve/.gitignore
new file mode 100644
index 0000000000..0ee2c24870
--- /dev/null
+++ b/libs/cua-driver/examples/eve/.gitignore
@@ -0,0 +1,2 @@
+.eve/
+.output/
diff --git a/libs/cua-driver/examples/eve/README.md b/libs/cua-driver/examples/eve/README.md
new file mode 100644
index 0000000000..2d2d59d26b
--- /dev/null
+++ b/libs/cua-driver/examples/eve/README.md
@@ -0,0 +1,111 @@
+# Cua Driver tools for an Eve agent
+
+This example gives an [Eve](https://eve.dev) agent four Cua Driver tools that
+sit on the model's tool list from the first turn: `get_desktop_state`,
+`click`, `type_text` and `press_key`. Each tool is an Eve
+[`defineTool`](https://eve.dev/docs/tools.md) file that calls the in-process
+`@trycua/cua-driver` TypeScript SDK. The tool set and its action rules match
+[`../agent-sdks/native-tools.ts`](../agent-sdks/native-tools.ts), the Claude
+Agent SDK adapter.
+
+This is an example, not a supported SDK entry point. Issue
+[#4267](https://github.com/trycua/cua/issues/4267) tracks first-class Eve
+support.
+
+## Why native tools instead of an MCP connection
+
+Eve [connections](https://eve.dev/docs/connections.md) reach MCP or OpenAPI
+servers by URL. The model does not see connection tools on its
+default tool list. It finds them through the built-in `connection_search` tool
+and calls them as `<connection>__<tool>`. `cua-driver mcp` is a local stdio
+server, so Eve needs an HTTP bridge to reach it, and the agent still has to
+search before its first desktop action.
+
+Eve runs authored tools in the app runtime, so a tool file can import the
+Driver SDK directly. The model sees the Driver tools immediately, and no MCP
+bridge is needed.
+
+## Layout
+
+```text
+agent/
+├── agent.ts model, and keeps the native SDK out of eve's bundle
+├── instructions.md observe, act, verify; never blindly retry
+├── lib/desktop.ts one shared Driver client, bounded calls
+└── tools/
+ ├── get_desktop_state.ts
+ ├── click.ts
+ ├── type_text.ts
+ └── press_key.ts
+```
+
+Eve names each tool after its file under `agent/tools/`. Every action tool
+returns a fresh desktop observation. `toModelOutput` sends the Driver's text
+summary and each screenshot to the model as content parts.
+
+## Run it
+
+You need Node.js 24 or newer. The Eve app runtime must run on the computer it
+controls, for example through `eve dev` or a self-hosted Eve service on that
+machine. A hosted deployment cannot reach your desktop.
+
+```bash
+npm install
+npm run dev
+```
+
+In the Eve terminal UI, connect a vision-capable model. Then give the agent a
+task, for example:
+
+```text
+Open Calculator, compute 19 * 23, and tell me the result.
+```
+
+On macOS, grant Screen Recording and Accessibility to the app that runs
+`npm run dev`, such as your terminal. `agent/agent.ts` selects
+`anthropic/claude-opus-5.5`; change `model` to use another vision-capable
+model.
+
+## Behavior to know before you rely on it
+
+- **One Driver client per process.** `agent/lib/desktop.ts` creates one
+ `CuaDriver` client on first use. All Eve sessions served by that process
+ share its implicit Driver session, just as they share the one desktop.
+- **Screenshots stay in history.** Eve keeps each image in session history
+ and re-sends it on later model calls, and it warns about payloads above
+ 3 MiB. Long
+ sessions grow quickly, so start a new session for each unrelated task.
+- **Interrupted steps can re-run.** Eve replays completed steps from its
+ record, but a step interrupted mid-execution runs again. A desktop action
+ can therefore repeat after a crash or restart. Keep irreversible tasks
+ attended, or gate those tools with `approval` from `eve/tools/approval`.
+- **Unknown outcomes are reported, not retried.** When an action times out or
+ reports an error, the tool returns a fresh observation that starts with an
+ "outcome is unknown" notice. `instructions.md` tells the model to inspect
+ that observation before trying again.
+- **Coordinates only.** Like `native-tools.ts`, these tools act on absolute
+ desktop coordinates on the primary display. Window-targeted and
+ element-token tools would follow the same pattern with more SDK calls.
+
+## Checks without a model or desktop access
+
+```bash
+npm run typecheck
+npx eve info
+```
+
+`eve info` compiles the agent without calling a model. Its tool list should
+include `click`, `get_desktop_state`, `press_key` and `type_text` next to
+Eve's built-in tools.
+
+## Not covered yet
+
+- **A packaged tool set.** An Eve
+ [extension](https://eve.dev/docs/extensions.md) can ship tools, skills and
+ instructions in one npm package. Consumers mount it under a name, which
+ becomes a tool prefix such as `cua__click`. Whether Cua ships an extension,
+ a `@trycua/cua-driver/eve` subpath, or a generator is an open question in
+ #4267.
+- **Driver skills.** Eve reads `SKILL.md` skills from `agent/skills/`. The
+ Driver skills are written for the CLI and MCP tool names, not these four
+ tools, so this example does not install them.
diff --git a/libs/cua-driver/examples/eve/agent/agent.ts b/libs/cua-driver/examples/eve/agent/agent.ts
new file mode 100644
index 0000000000..1cf7cb0a3b
--- /dev/null
+++ b/libs/cua-driver/examples/eve/agent/agent.ts
@@ -0,0 +1,10 @@
+import { defineAgent } from 'eve';
+
+export default defineAgent({
+ // Any vision-capable model works; desktop observations include screenshots.
+ model: 'anthropic/claude-opus-5.5',
+ build: {
+ // The Driver SDK loads a native library, so keep it out of eve's bundle.
+ externalDependencies: ['@trycua/cua-driver'],
+ },
+});
diff --git a/libs/cua-driver/examples/eve/agent/instructions.md b/libs/cua-driver/examples/eve/agent/instructions.md
new file mode 100644
index 0000000000..1d08e819ac
--- /dev/null
+++ b/libs/cua-driver/examples/eve/agent/instructions.md
@@ -0,0 +1,13 @@
+You control this computer's desktop through Cua Driver tools:
+`get_desktop_state`, `click`, `type_text` and `press_key`.
+
+- Call `get_desktop_state` before the first action and whenever you are unsure
+ what is on screen. Every action tool returns a fresh observation.
+- Click coordinates come from the latest screenshot. Do not reuse coordinates
+ after the screen changes.
+- Verify each step from the observation that follows it. Name anything you
+ could not verify.
+- If a result says the outcome is unknown, inspect the new observation before
+ any retry. Never repeat an action blindly.
+- Do not purchase, send, delete, enter credentials or take another
+ irreversible action unless the user explicitly asked for it.
diff --git a/libs/cua-driver/examples/eve/agent/lib/desktop.ts b/libs/cua-driver/examples/eve/agent/lib/desktop.ts
new file mode 100644
index 0000000000..79ce46ddd6
--- /dev/null
+++ b/libs/cua-driver/examples/eve/agent/lib/desktop.ts
@@ -0,0 +1,168 @@
+/**
+ * Shared Cua Driver runtime for the Eve tools in `agent/tools/`.
+ *
+ * Eve runs authored tools in the app runtime, so this module imports the
+ * in-process `@trycua/cua-driver` SDK directly. It is modeled on
+ * `../../../agent-sdks/native-tools.ts`: every mutation is followed by a fresh
+ * observation, and an action whose outcome is unknown is reported as such
+ * instead of being retried.
+ */
+
+import {
+ ActionResult,
+ ActionTarget,
+ ClickButton,
+ ClickInput,
+ ClickPosition,
+ CuaDriver,
+ GetDesktopStateInput,
+ InputDeliveryMode,
+ PressKeyInput,
+ ToolResult,
+ TypeTextInput,
+} from '@trycua/cua-driver';
+import { toolOutput, toolOutputPart } from 'eve/tools';
+
+/** JSON-serializable tool result. Eve persists tool outputs durably. */
+export type DesktopObservation = {
+ text: string;
+ images: { dataBase64: string; mimeType: string }[];
+ isError: boolean;
+};
+
+const TIMEOUT_MS = 30_000;
+
+let driver: ReturnType<typeof CuaDriver.create> | undefined;
+const desktopTarget = new ActionTarget.Desktop({ displayId: 'primary' });
+
+/**
+ * One Driver client per app-runtime process. The client owns one implicit
+ * Driver lifecycle session, which every Eve session in this process shares.
+ * `eve dev` can load a new runtime generation after a source change; that
+ * generation creates its own client on first use.
+ */
+function client(): ReturnType<typeof CuaDriver.create> {
+ driver ??= CuaDriver.create(undefined);
+ return driver;
+}
+
+export async function observe(signal?: AbortSignal): Promise<DesktopObservation> {
+ const result = await bounded(
+ client().getDesktopState(GetDesktopStateInput.new({})),
+ 'get_desktop_state',
+ signal
+ );
+ return fromToolResult(result);
+}
+
+export async function click(
+ x: number,
+ y: number,
+ signal?: AbortSignal
+): Promise<DesktopObservation> {
+ return await mutateThenObserve(
+ () =>
+ client().click(
+ ClickInput.new({
+ position: new ClickPosition.Coordinates({ x, y }),
+ target: desktopTarget,
+ deliveryMode: InputDeliveryMode.Foreground,
+ button: ClickButton.Left,
+ count: 1,
+ })
+ ),
+ signal
+ );
+}
+
+export async function typeText(text: string, signal?: AbortSignal): Promise<DesktopObservation> {
+ return await mutateThenObserve(
+ () => client().typeText(TypeTextInput.new({ text, target: desktopTarget })),
+ signal
+ );
+}
+
+export async function pressKey(key: string, signal?: AbortSignal): Promise<DesktopObservation> {
+ return await mutateThenObserve(
+ () => client().pressKey(PressKeyInput.new({ key, target: desktopTarget })),
+ signal
+ );
+}
+
+/**
+ * Projects an observation into model content parts: the Driver's text summary
+ * plus each screenshot as an image part. The full output stays available to
+ * channels and hooks on `action.result`.
+ */
+export function toModelContent(output: DesktopObservation) {
+ return toolOutput.content([
+ toolOutputPart.text(output.text),
+ ...output.images.map((image) =>
+ toolOutputPart.file(image.dataBase64, { mediaType: image.mimeType })
+ ),
+ ]);
+}
+
+async function mutateThenObserve(
+ operation: () => Promise<ToolResult | ActionResult>,
+ signal?: AbortSignal
+): Promise<DesktopObservation> {
+ let unknownDetail: string | undefined;
+ try {
+ const result = await bounded(operation(), 'desktop action', signal);
+ if ('isError' in result && result.isError) {
+ unknownDetail =
+ `Action reported an error and its outcome may be unknown (${result.text}). ` +
+ 'A fresh observation follows. Do not retry until the observation proves ' +
+ 'the action did not land.';
+ }
+ } catch (error) {
+ if (signal?.aborted) throw error;
+ unknownDetail =
+ `Action outcome is unknown (${String(error)}). A fresh observation follows. ` +
+ 'Do not retry until the observation proves the action did not land.';
+ }
+
+ const observation = await observe(signal);
+ if (unknownDetail) {
+ observation.text = `${unknownDetail}\n\n${observation.text}`;
+ }
+ return observation;
+}
+
+/**
+ * Bounds how long a tool call waits for the Driver. A timeout or turn
+ * cancellation stops the wait; it does not cancel work the Driver already
+ * started, which is why a mutation's outcome is then treated as unknown.
+ */
+async function bounded<T>(operation: Promise<T>, label: string, signal?: AbortSignal): Promise<T> {
+ let timer: ReturnType<typeof setTimeout> | undefined;
+ let onAbort: (() => void) | undefined;
+ try {
+ return await Promise.race([
+ operation,
+ new Promise<never>((_, reject) => {
+ timer = setTimeout(() => reject(new Error(`${label} timed out`)), TIMEOUT_MS);
+ if (signal) {
+ onAbort = () => reject(new Error(`${label} cancelled`));
+ if (signal.aborted) onAbort();
+ else signal.addEventListener('abort', onAbort, { once: true });
+ }
+ }),
+ ]);
+ } finally {
+ if (timer !== undefined) clearTimeout(timer);
+ if (signal && onAbort) signal.removeEventListener('abort', onAbort);
+ }
+}
+
+function fromToolResult(result: ToolResult): DesktopObservation {
+ return {
+ text: result.text,
+ images: result.images.map((image) => ({
+ dataBase64: image.dataBase64,
+ mimeType: image.mimeType,
+ })),
+ isError: result.isError,
+ };
+}
diff --git a/libs/cua-driver/examples/eve/agent/tools/click.ts b/libs/cua-driver/examples/eve/agent/tools/click.ts
new file mode 100644
index 0000000000..9a902938ec
--- /dev/null
+++ b/libs/cua-driver/examples/eve/agent/tools/click.ts
@@ -0,0 +1,18 @@
+import { defineTool } from 'eve/tools';
+import { z } from 'zod';
+
+import { click, toModelContent } from '../lib/desktop.js';
+
+export default defineTool({
+ description:
+ 'Left-click an absolute desktop coordinate grounded in the latest get_desktop_state screenshot, then re-observe.',
+ inputSchema: z.object({
+ x: z.number().describe('Desktop x coordinate from the latest screenshot.'),
+ y: z.number().describe('Desktop y coordinate from the latest screenshot.'),
+ }),
+ label: { start: ({ x, y }) => `Click at (${Math.round(x)}, ${Math.round(y)})` },
+ async execute({ x, y }, ctx) {
+ return await click(x, y, ctx.abortSignal);
+ },
+ toModelOutput: toModelContent,
+});
diff --git a/libs/cua-driver/examples/eve/agent/tools/get_desktop_state.ts b/libs/cua-driver/examples/eve/agent/tools/get_desktop_state.ts
new file mode 100644
index 0000000000..bae2870087
--- /dev/null
+++ b/libs/cua-driver/examples/eve/agent/tools/get_desktop_state.ts
@@ -0,0 +1,15 @@
+import { defineTool } from 'eve/tools';
+import { z } from 'zod';
+
+import { observe, toModelContent } from '../lib/desktop.js';
+
+export default defineTool({
+ description:
+ 'Capture the whole primary desktop through Cua Driver. Use before every action and to verify its result.',
+ inputSchema: z.object({}),
+ label: { start: () => 'Look at the desktop' },
+ async execute(_input, ctx) {
+ return await observe(ctx.abortSignal);
+ },
+ toModelOutput: toModelContent,
+});
diff --git a/libs/cua-driver/examples/eve/agent/tools/press_key.ts b/libs/cua-driver/examples/eve/agent/tools/press_key.ts
new file mode 100644
index 0000000000..9664cac9d7
--- /dev/null
+++ b/libs/cua-driver/examples/eve/agent/tools/press_key.ts
@@ -0,0 +1,15 @@
+import { defineTool } from 'eve/tools';
+import { z } from 'zod';
+
+import { pressKey, toModelContent } from '../lib/desktop.js';
+
+export default defineTool({
+ description:
+ 'Press one named key, such as "return", "tab" or "escape", in the desktop session, then re-observe.',
+ inputSchema: z.object({ key: z.string().min(1) }),
+ label: { start: ({ key }) => `Press ${key}` },
+ async execute({ key }, ctx) {
+ return await pressKey(key, ctx.abortSignal);
+ },
+ toModelOutput: toModelContent,
+});
diff --git a/libs/cua-driver/examples/eve/agent/tools/type_text.ts b/libs/cua-driver/examples/eve/agent/tools/type_text.ts
new file mode 100644
index 0000000000..e1db00d289
--- /dev/null
+++ b/libs/cua-driver/examples/eve/agent/tools/type_text.ts
@@ -0,0 +1,15 @@
+import { defineTool } from 'eve/tools';
+import { z } from 'zod';
+
+import { toModelContent, typeText } from '../lib/desktop.js';
+
+export default defineTool({
+ description: 'Type text into the focused desktop control through Cua Driver, then re-observe.',
+ inputSchema: z.object({ text: z.string().min(1) }),
+ // Show the length, not the text: typed values can be private.
+ label: { start: ({ text }) => `Type ${text.length} characters` },
+ async execute({ text }, ctx) {
+ return await typeText(text, ctx.abortSignal);
+ },
+ toModelOutput: toModelContent,
+});
diff --git a/libs/cua-driver/examples/eve/package-lock.json b/libs/cua-driver/examples/eve/package-lock.json
new file mode 100644
index 0000000000..516bcc4f7a
--- /dev/null
+++ b/libs/cua-driver/examples/eve/package-lock.json
@@ -0,0 +1,941 @@
+{
+ "name": "cua-driver-eve-example",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "": {
+ "name": "cua-driver-eve-example",
+ "dependencies": {
+ "@trycua/cua-driver": "0.30.2",
+ "ai": "7.0.118",
+ "eve": "0.67.2",
+ "zod": "4.1.12"
+ },
+ "devDependencies": {
+ "@types/node": "24.19.0",
+ "typescript": "5.9.2"
+ },
+ "engines": {
+ "node": ">=24"
+ }
+ },
+ "node_modules/@ai-sdk/gateway": {
+ "version": "4.0.96",
+ "resolved": "https://registry.npmjs.org/@ai-sdk/gateway/-/gateway-4.0.96.tgz",
+ "integrity": "sha512-1aniRTzEf9T7uRHdKnBQ36WgEVQswK6wDgkPVsNMl+sPy7otcmrBa2HEurdFBS51s1q3/UXlh8nNcguwU79Hkg==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@ai-sdk/provider": "4.0.18",
+ "@ai-sdk/provider-utils": "5.0.49",
+ "@vercel/oidc": "3.2.0"
+ },
+ "engines": {
+ "node": ">=22"
+ },
+ "peerDependencies": {
+ "zod": "^3.25.76 || ^4.1.8"
+ }
+ },
+ "node_modules/@ai-sdk/provider": {
+ "version": "4.0.18",
+ "resolved": "https://registry.npmjs.org/@ai-sdk/provider/-/provider-4.0.18.tgz",
+ "integrity": "sha512-+GZJIgz1jk86pwEbb3f1BD2bdoSKyWE4Jg4YUc7NMnMozbWemSKYZcw2F4nMaO5qwsL5A8RmioAKW81YktRpIQ==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "json-schema": "^0.4.0"
+ },
+ "engines": {
+ "node": ">=22"
+ }
+ },
+ "node_modules/@ai-sdk/provider-utils": {
+ "version": "5.0.49",
+ "resolved": "https://registry.npmjs.org/@ai-sdk/provider-utils/-/provider-utils-5.0.49.tgz",
+ "integrity": "sha512-T+/H8DCvqJoCqLhltVatS7ffA779Iyk/ZZrgNXkrgv51E0n2Cd6eIdCmtwhCGIKqtbTtwCvTmQdAMv5Z8rOGHQ==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@ai-sdk/provider": "4.0.18",
+ "@standard-schema/spec": "^1.1.0",
+ "@workflow/serde": "4.1.0",
+ "eventsource-parser": "^3.0.8",
+ "undici": "^7.29.0"
+ },
+ "engines": {
+ "node": ">=22"
+ },
+ "peerDependencies": {
+ "zod": "^3.25.76 || ^4.1.8"
+ }
+ },
+ "node_modules/@oxc-project/types": {
+ "version": "0.151.0",
+ "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.151.0.tgz",
+ "integrity": "sha512-J1yXrIlNDZVzE3ada310xeAw7nH8yCAyLPuUIsjKatFPmfn5bS1oW+cM+QsGOtVWd5nhSpbwZWx/rue+r5Z+PA==",
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/oxc-project"
+ }
+ },
+ "node_modules/@rolldown/binding-android-arm-eabi": {
+ "version": "1.2.11",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm-eabi/-/binding-android-arm-eabi-1.2.11.tgz",
+ "integrity": "sha512-A5kXfGKvKWWZE0TtPrfsvT+q4Y5d1QG8gGUzpYjGydM+fARM9MuX90PrXYXe0XbsDVgyxxNzHo6giCj90bsFNw==",
+ "cpu": [
+ "arm"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ }
+ },
+ "node_modules/@rolldown/binding-android-arm64": {
+ "version": "1.2.11",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.2.11.tgz",
+ "integrity": "sha512-z6cTycz+iJ4PVkuL4HHW4DfTfoeU/2nqYYuSOrTmH7yHK5Y0LCOnA03V4ZNxavyVaU1oOqUgIg2klN/s+USGOA==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ }
+ },
+ "node_modules/@rolldown/binding-darwin-arm64": {
+ "version": "1.2.11",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.2.11.tgz",
+ "integrity": "sha512-jShvqNtP6vDC6/A5JOAzbVV+DkgHqhl/ScVCJEbt+TUY6QYz7YnXcrg3sLtFBniro0f/Ld50ZwCWA6f7KYD1nQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ }
+ },
+ "node_modules/@rolldown/binding-darwin-x64": {
+ "version": "1.2.11",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.2.11.tgz",
+ "integrity": "sha512-f2i2xiNWq1Z1l2++q2fuhZRdLAT3aqxD6vRNm1RAxpUoBcdqNB3C0s1Bt+K+PbEx2F5F4gQp6hqKkphCY/xF9w==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ }
+ },
+ "node_modules/@rolldown/binding-freebsd-x64": {
+ "version": "1.2.11",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.2.11.tgz",
+ "integrity": "sha512-4Ir5FSOKIAMr4r0kExpt1s3bMgzJU3rA45AYOHtQpls0oNeqcYBKrWMlckrYH4KCfGLfkfn1tN1dmZPMVsdXow==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ }
+ },
+ "node_modules/@rolldown/binding-linux-arm-gnueabihf": {
+ "version": "1.2.11",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.2.11.tgz",
+ "integrity": "sha512-/gnRDM+39BROzAN/k1OZjDPnDMcZxB/0EUxKjONO5yVkNEvlsoMDrxGNKgZi/ttFriS2gwlDNzB65pvNbFOXIQ==",
+ "cpu": [
+ "arm"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ }
+ },
+ "node_modules/@rolldown/binding-linux-arm64-gnu": {
+ "version": "1.2.11",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.2.11.tgz",
+ "integrity": "sha512-PFaK8HwvAHbaKbBcDNQihjMKYvFnA5hiENx/l5tphTDz1E0WFp32l0A7aq7lyUwGsRw/xSrNIy/gIK4thrSCrw==",
+ "cpu": [
+ "arm64"
+ ],
+ "libc": [
+ "glibc"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ }
+ },
+ "node_modules/@rolldown/binding-linux-arm64-musl": {
+ "version": "1.2.11",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.2.11.tgz",
+ "integrity": "sha512-AskzJUIKRLPxkruR1wLKewGbOw+EYfU/9lOrBFj4AFrEA8hPpKFnODWNu2WLaNs0QNkEb9QIJufmVZZIL/bJlg==",
+ "cpu": [
+ "arm64"
+ ],
+ "libc": [
+ "musl"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ }
+ },
+ "node_modules/@rolldown/binding-linux-ppc64-gnu": {
+ "version": "1.2.11",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.2.11.tgz",
+ "integrity": "sha512-qlUGAheh2yh8afH7QBgx0PrRHN85hKnNd78x8MeMhXivuevgd8vgf6/CstOzmNKY/lLTHvNTrPy98cLnAugzJw==",
+ "cpu": [
+ "ppc64"
+ ],
+ "libc": [
+ "glibc"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ }
+ },
+ "node_modules/@rolldown/binding-linux-s390x-gnu": {
+ "version": "1.2.11",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.2.11.tgz",
+ "integrity": "sha512-secpEad+0vCbSfn8upFySkDskv+bGPk3THSDS9Y89yc4rb4kzqHp8Dmyd9BkQW4SnhNXBZCl/6CrO//hZahNJQ==",
+ "cpu": [
+ "s390x"
+ ],
+ "libc": [
+ "glibc"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ }
+ },
+ "node_modules/@rolldown/binding-linux-x64-gnu": {
+ "version": "1.2.11",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.2.11.tgz",
+ "integrity": "sha512-mOVBT3dPpkWm8XBWPmU4bf+U6dYDLeMo/9ojUmis4N0L5uu10qra5vOyngZ7/PSdoE4G9KvRt4bloRxNjLas7A==",
+ "cpu": [
+ "x64"
+ ],
+ "libc": [
+ "glibc"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ }
+ },
+ "node_modules/@rolldown/binding-linux-x64-musl": {
+ "version": "1.2.11",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.2.11.tgz",
+ "integrity": "sha512-Is78i9A8Ui4SqcxUwFJ9uMmjDn58IbVTjFWYdQestFEgeuEmHMLGNriXnVJKkwG2YiZjw8cP0zCTyDMdDGtOOg==",
+ "cpu": [
+ "x64"
+ ],
+ "libc": [
+ "musl"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ }
+ },
+ "node_modules/@rolldown/binding-openharmony-arm64": {
+ "version": "1.2.11",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.2.11.tgz",
+ "integrity": "sha512-dUCXneZ87INUMyQ0D+C0HrEBNUPNXHaPmU5GTjyKTJEiussw9Kaj5Ln8UztPe4epV/ffvgNBEadksdYhmW6xJA==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openharmony"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ }
+ },
+ "node_modules/@rolldown/binding-win32-arm64-msvc": {
+ "version": "1.2.11",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.2.11.tgz",
+ "integrity": "sha512-jByxb6qfd+bH1xUd0qnfFnb17i9sWBPY2tOavJ0l3tdr3OTu+Kvtm8cd/JV5nFt657b1VqGltxg9olOEfofXWw==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ }
+ },
+ "node_modules/@rolldown/binding-win32-x64-msvc": {
+ "version": "1.2.11",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.2.11.tgz",
+ "integrity": "sha512-/PzKqzAJ03i19oy2ItPvyvaVjOjBCNnfaJs8yvUdGBKmiESgnrJSQ2awd81QzFbbnAmu7YO9ZnJrDCb9VSJPRA==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ }
+ },
+ "node_modules/@rolldown/pluginutils": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.1.tgz",
+ "integrity": "sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw==",
+ "license": "MIT"
+ },
+ "node_modules/@standard-schema/spec": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.1.0.tgz",
+ "integrity": "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==",
+ "license": "MIT"
+ },
+ "node_modules/@trycua/cua-driver": {
+ "version": "0.30.2",
+ "resolved": "https://registry.npmjs.org/@trycua/cua-driver/-/cua-driver-0.30.2.tgz",
+ "integrity": "sha512-bEzcs4XLOz05Nhwfb6lTcA7I4pmZ1A9BPwIkOF6h4HI2EQt0hfFbwqxGl90X0B/SfHX6Td/J17tXvMllTuj1CQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@ubjs/core": "0.31.0-3",
+ "@ubjs/node": "0.31.0-3"
+ },
+ "optionalDependencies": {
+ "@trycua/cua-driver-darwin-arm64": "0.30.2",
+ "@trycua/cua-driver-darwin-x64": "0.30.2",
+ "@trycua/cua-driver-linux-arm64-gnu": "0.30.2",
+ "@trycua/cua-driver-linux-x64-gnu": "0.30.2",
+ "@trycua/cua-driver-win32-arm64-msvc": "0.30.2",
+ "@trycua/cua-driver-win32-x64-msvc": "0.30.2"
+ }
+ },
+ "node_modules/@trycua/cua-driver-darwin-arm64": {
+ "version": "0.30.2",
+ "resolved": "https://registry.npmjs.org/@trycua/cua-driver-darwin-arm64/-/cua-driver-darwin-arm64-0.30.2.tgz",
+ "integrity": "sha512-pPSMSamUK9AxE+bUzs1IhBC0XeUk06QQBL1vbLxrFecZgwamRkWmCapiL39jhFQyrDBf8tlLEHE1vGca9mshTQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT AND MPL-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@trycua/cua-driver-darwin-x64": {
+ "version": "0.30.2",
+ "resolved": "https://registry.npmjs.org/@trycua/cua-driver-darwin-x64/-/cua-driver-darwin-x64-0.30.2.tgz",
+ "integrity": "sha512-rpsfvWUBr2DZgC4q4ZK55+GPGDFcIJoLG2DBUB+SXsAV5FmstrYTgueH1OfXney170CPIzE81T4/bWVbPOtB5g==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT AND MPL-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@trycua/cua-driver-linux-arm64-gnu": {
+ "version": "0.30.2",
+ "resolved": "https://registry.npmjs.org/@trycua/cua-driver-linux-arm64-gnu/-/cua-driver-linux-arm64-gnu-0.30.2.tgz",
+ "integrity": "sha512-rKPDUXsUhS1LXmChuGriTTGLNDk4QBAVZmRSVOwTloC/3h5Ac2vDmD8r4var9vaDkd9caiZZa7/BTKOCKsZAuw==",
+ "cpu": [
+ "arm64"
+ ],
+ "libc": [
+ "glibc"
+ ],
+ "license": "MIT AND MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@trycua/cua-driver-linux-x64-gnu": {
+ "version": "0.30.2",
+ "resolved": "https://registry.npmjs.org/@trycua/cua-driver-linux-x64-gnu/-/cua-driver-linux-x64-gnu-0.30.2.tgz",
+ "integrity": "sha512-SCZQLntuTTfk5H/+INEoONXLznByjBM/IZhE2/oXpyrZyHAFMv2LUU82UdDXK/eO20b7wQk/G376E8rk+cy6gg==",
+ "cpu": [
+ "x64"
+ ],
+ "libc": [
+ "glibc"
+ ],
+ "license": "MIT AND MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@trycua/cua-driver-win32-arm64-msvc": {
+ "version": "0.30.2",
+ "resolved": "https://registry.npmjs.org/@trycua/cua-driver-win32-arm64-msvc/-/cua-driver-win32-arm64-msvc-0.30.2.tgz",
+ "integrity": "sha512-0ul+icAKigJ3Jh7fWh/1rL8N+JnzOD6Y1UXdb9TeytV7d4ciAULyydwrsHkfimjfacUvkGH3bVyPidGwa2BSvw==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT AND MPL-2.0",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@trycua/cua-driver-win32-x64-msvc": {
+ "version": "0.30.2",
+ "resolved": "https://registry.npmjs.org/@trycua/cua-driver-win32-x64-msvc/-/cua-driver-win32-x64-msvc-0.30.2.tgz",
+ "integrity": "sha512-fLrrpBzxz4CFy30mWOQxOwpe9U2dhvQyVhBEtk9G4W6iWbLR3imwY2oGY9I8vw7GvFNDZRssKFotksIhnzZMxg==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT AND MPL-2.0",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@types/node": {
+ "version": "24.19.0",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-24.19.0.tgz",
+ "integrity": "sha512-zY+5tKxXdhGh1PYI0ac+7juvEu4OI6vWtVVoj5i2m42jxAY1U+zHGt6QCyOFwykdP62sM3MJ9stoYYUw5aCWew==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "undici-types": ">=7.24.0 <7.24.7"
+ }
+ },
+ "node_modules/@ubjs/core": {
+ "version": "0.31.0-3",
+ "resolved": "https://registry.npmjs.org/@ubjs/core/-/core-0.31.0-3.tgz",
+ "integrity": "sha512-39XrJgUZ2VVb561sSnkXPhczNoeBsNiSRArecsV0JE7CJq69ajFkcn9/tBAUS2NpgHkLIDU+z6Ks2+1wXnboxg==",
+ "license": "MPL-2.0"
+ },
+ "node_modules/@ubjs/node": {
+ "version": "0.31.0-3",
+ "resolved": "https://registry.npmjs.org/@ubjs/node/-/node-0.31.0-3.tgz",
+ "integrity": "sha512-qNMpi2LICNwxGXZyRF8fSDBSpbezyZbEsydrbiMPJOmtOWr4tmZIEl7jkWGHVGShoBvHfFo4eHp5B4UVP928Cg==",
+ "license": "MPL-2.0",
+ "optionalDependencies": {
+ "@ubjs/node-darwin-arm64": "0.31.0-3",
+ "@ubjs/node-darwin-x64": "0.31.0-3",
+ "@ubjs/node-linux-arm64-gnu": "0.31.0-3",
+ "@ubjs/node-linux-arm64-musl": "0.31.0-3",
+ "@ubjs/node-linux-x64-gnu": "0.31.0-3",
+ "@ubjs/node-linux-x64-musl": "0.31.0-3",
+ "@ubjs/node-win32-arm64-msvc": "0.31.0-3",
+ "@ubjs/node-win32-x64-msvc": "0.31.0-3"
+ }
+ },
+ "node_modules/@ubjs/node-darwin-arm64": {
+ "version": "0.31.0-3",
+ "resolved": "https://registry.npmjs.org/@ubjs/node-darwin-arm64/-/node-darwin-arm64-0.31.0-3.tgz",
+ "integrity": "sha512-GGQVPLkVo4Gc8qVLW4IGvS8bjl8eHXyeP4a97ntGmsAdXwE5gsS29o8xUEFROjhwHKD+9sgVeblCSWVG3CpHsw==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@ubjs/node-darwin-x64": {
+ "version": "0.31.0-3",
+ "resolved": "https://registry.npmjs.org/@ubjs/node-darwin-x64/-/node-darwin-x64-0.31.0-3.tgz",
+ "integrity": "sha512-2sc47u4XFYOsbmP5EW+Gx8m/yGrYnfFDFQm6+kz7goSWTNg84eEiz3COs9HKJDVuNJ5Khv5XipTO8CFadMLXCw==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@ubjs/node-linux-arm64-gnu": {
+ "version": "0.31.0-3",
+ "resolved": "https://registry.npmjs.org/@ubjs/node-linux-arm64-gnu/-/node-linux-arm64-gnu-0.31.0-3.tgz",
+ "integrity": "sha512-YStVXhYz/5jvlWf/p4fhiVT72unYAbGugifFC9QmO/+hnroQDAQ5t8SARbsc15G4olMcamdIB+GETiUB7gmaYg==",
+ "cpu": [
+ "arm64"
+ ],
+ "libc": [
+ "glibc"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@ubjs/node-linux-arm64-musl": {
+ "version": "0.31.0-3",
+ "resolved": "https://registry.npmjs.org/@ubjs/node-linux-arm64-musl/-/node-linux-arm64-musl-0.31.0-3.tgz",
+ "integrity": "sha512-Izp4nvfy/LmibzFowAztkoDOksCR2fb2zl6fh1ojR1HEsg0rAGruxtI8d3fn8DI0lBXwqmn6SF///oD4mFNJPQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "libc": [
+ "musl"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@ubjs/node-linux-x64-gnu": {
+ "version": "0.31.0-3",
+ "resolved": "https://registry.npmjs.org/@ubjs/node-linux-x64-gnu/-/node-linux-x64-gnu-0.31.0-3.tgz",
+ "integrity": "sha512-Xdm21blyg5U/kW6s7OMvgrr8coGTkUlt26DVR9x8gKISif+E3YwdEskbFScWqystAiJnfjw7xHEc8UMu0Qlz7Q==",
+ "cpu": [
+ "x64"
+ ],
+ "libc": [
+ "glibc"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@ubjs/node-linux-x64-musl": {
+ "version": "0.31.0-3",
+ "resolved": "https://registry.npmjs.org/@ubjs/node-linux-x64-musl/-/node-linux-x64-musl-0.31.0-3.tgz",
+ "integrity": "sha512-fFQ9BWS6i2LUH9SJgD9oEiKXXo/say59vHy7usFe1t7C2xvwvP34f5SuxXmWP9R8fHyA0aC4kIZ+TTwyHSv1Kw==",
+ "cpu": [
+ "x64"
+ ],
+ "libc": [
+ "musl"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@ubjs/node-win32-arm64-msvc": {
+ "version": "0.31.0-3",
+ "resolved": "https://registry.npmjs.org/@ubjs/node-win32-arm64-msvc/-/node-win32-arm64-msvc-0.31.0-3.tgz",
+ "integrity": "sha512-ID6rSz1NmPsWTNBBNAw4OnJ5Dj8pcbtNJtdPB3OxcGigLBd/e0x7buhSI7os6Mo5iYtEdCynBRQHFJwub5XSPg==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@ubjs/node-win32-x64-msvc": {
+ "version": "0.31.0-3",
+ "resolved": "https://registry.npmjs.org/@ubjs/node-win32-x64-msvc/-/node-win32-x64-msvc-0.31.0-3.tgz",
+ "integrity": "sha512-wevs+Y+szwcCUT8IJFbB4/1nfxyRv/51l8oG7FGUPWD1xLPyuHfJBG27C+PDeC7KRzes/2n6aLo4DGZbr/LYTw==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@vercel/oidc": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/@vercel/oidc/-/oidc-3.2.0.tgz",
+ "integrity": "sha512-UycprH3T6n3jH0k44NHMa7pnFHGu/N05MjojYr+Mc6I7obkoLIJujSWwin1pCvdy/eOxrI/l3uDLQsmcrOb4ug==",
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@workflow/serde": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/@workflow/serde/-/serde-4.1.0.tgz",
+ "integrity": "sha512-pav4F2BoirECWR7Nf1TKt+2eETcBj7jj4cBefQ8VXQCA6NPkaKeLfj/zMgi+3zYV5ZIBT4GuUiphsj0/b9hPQQ==",
+ "license": "Apache-2.0"
+ },
+ "node_modules/ai": {
+ "version": "7.0.118",
+ "resolved": "https://registry.npmjs.org/ai/-/ai-7.0.118.tgz",
+ "integrity": "sha512-ZjkbbOffH09yQAjeZ5yGXd8ePTQlFIyKH5aW0s0LOMmvaR1TSoeg5wVURwLvFry/IzzaLndmw9glTKwWRoog3Q==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@ai-sdk/gateway": "4.0.96",
+ "@ai-sdk/provider": "4.0.18",
+ "@ai-sdk/provider-utils": "5.0.49"
+ },
+ "engines": {
+ "node": ">=22"
+ },
+ "peerDependencies": {
+ "zod": "^3.25.76 || ^4.1.8"
+ }
+ },
+ "node_modules/consola": {
+ "version": "3.4.2",
+ "resolved": "https://registry.npmjs.org/consola/-/consola-3.4.2.tgz",
+ "integrity": "sha512-5IKcdX0nnYavi6G7TtOhwkYzyjfJlatbjMjuLSfE2kYT5pMDOilZ4OvMhi637CcDICTmz3wARPoyhqyX1Y+XvA==",
+ "license": "MIT",
+ "engines": {
+ "node": "^14.18.0 || >=16.10.0"
+ }
+ },
+ "node_modules/crossws": {
+ "version": "0.4.12",
+ "resolved": "https://registry.npmjs.org/crossws/-/crossws-0.4.12.tgz",
+ "integrity": "sha512-aypfsr6t0uNvkqaZc6zvBfXzC6pLI0/sIulpkV6RwCVtZqG5ebBzv4weImKK0VNCj91Wl9F5j7p5WU4MNrybng==",
+ "license": "MIT",
+ "peerDependencies": {
+ "srvx": ">=0.11.5"
+ },
+ "peerDependenciesMeta": {
+ "srvx": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/db0": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/db0/-/db0-0.4.1.tgz",
+ "integrity": "sha512-6RBY/bSn42UrqATwsiULj2uYFyEykB3XeA/NLIVQeHNXlYV6D4Idxx3/aa6k5Y45Dwzx7sygeLotnqHWSeURYA==",
+ "license": "MIT"
+ },
+ "node_modules/env-runner": {
+ "version": "0.2.3",
+ "resolved": "https://registry.npmjs.org/env-runner/-/env-runner-0.2.3.tgz",
+ "integrity": "sha512-S8EFBKyznRwPVwayK187cYjvnpgC92xy+q0BIF++V965pfjMVVRbQ/HoTYGA/1EHmZ7E68k6Heq+4WnvVhOL5w==",
+ "license": "MIT",
+ "dependencies": {
+ "crossws": "^0.4.12",
+ "exsolve": "^1.1.1",
+ "httpxy": "^0.5.5",
+ "srvx": "^1.0.5"
+ },
+ "bin": {
+ "env-runner": "dist/cli.mjs"
+ }
+ },
+ "node_modules/eve": {
+ "version": "0.67.2",
+ "resolved": "https://registry.npmjs.org/eve/-/eve-0.67.2.tgz",
+ "integrity": "sha512-SMdO0GbKLDIN0vsV6zbKca0OlWYaGb79yrdJLIAm7HWWjO/X2M598dJdxVTBWV+20SDtrLv0yrSLmb9CxP5QCQ==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "nitro": "3.0.260903-beta",
+ "undici": "8.9.0"
+ },
+ "bin": {
+ "eve": "bin/eve.js"
+ },
+ "engines": {
+ "node": ">=24"
+ },
+ "peerDependencies": {
+ "@opentelemetry/api": "^1.0.0",
+ "ai": "^7.0.105",
+ "braintrust": "^3.0.0",
+ "chat": "^4.41.0",
+ "dd-trace": "^6.13.0",
+ "just-bash": "^3.1.0",
+ "microsandbox": "^0.5.0"
+ },
+ "peerDependenciesMeta": {
+ "@opentelemetry/api": {
+ "optional": true
+ },
+ "braintrust": {
+ "optional": true
+ },
+ "chat": {
+ "optional": true
+ },
+ "dd-trace": {
+ "optional": true
+ },
+ "just-bash": {
+ "optional": true
+ },
+ "microsandbox": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/eve/node_modules/undici": {
+ "version": "8.9.0",
+ "resolved": "https://registry.npmjs.org/undici/-/undici-8.9.0.tgz",
+ "integrity": "sha512-aWZpUj7XoGonMClx4gdDRfgBjqeA+F473aDmROQQbM9n6PRfK/u1q/a0X4wMTgcHfT8H6fpbt98PFuDUwFg2YA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=22.19.0"
+ }
+ },
+ "node_modules/eventsource-parser": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/eventsource-parser/-/eventsource-parser-3.1.1.tgz",
+ "integrity": "sha512-EKN1vKAMcZ8MlYMpaNuxN6R9yakzH6uajHcHVTqWJzvu5pWw9DyhbP35HH8MVBQ+dZjAfDxk+A8NiR9KWaXiyQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=18.0.0"
+ }
+ },
+ "node_modules/exsolve": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/exsolve/-/exsolve-1.1.1.tgz",
+ "integrity": "sha512-9U/jZUgjnSGyntRr6y5Muu1MJcwFl6kPu7k8qLF0IMNfLqvw0NZ4nnVDq0RVoZ0RvCyumib4Ez3KYrVfilrw+g==",
+ "license": "MIT"
+ },
+ "node_modules/h3": {
+ "version": "2.0.1-rc.32",
+ "resolved": "https://registry.npmjs.org/h3/-/h3-2.0.1-rc.32.tgz",
+ "integrity": "sha512-Epg1E85L8yIKd9UeAQAVdm6QVrnHbppMsQ641EjpNi4c0IlAg+PJlwp4Xw03Z1loRXPQaH9k64gJT5qDELqm+g==",
+ "license": "MIT",
+ "dependencies": {
+ "rou3": "^0.9.2",
+ "srvx": "^1.0.5"
+ },
+ "bin": {
+ "h3": "bin/h3.mjs"
+ },
+ "engines": {
+ "node": ">=20.11.1"
+ },
+ "peerDependencies": {
+ "crossws": "^0.4.12",
+ "ocache": ">=0.3.0"
+ },
+ "peerDependenciesMeta": {
+ "crossws": {
+ "optional": true
+ },
+ "ocache": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/hookable": {
+ "version": "6.1.2",
+ "resolved": "https://registry.npmjs.org/hookable/-/hookable-6.1.2.tgz",
+ "integrity": "sha512-+abwxtiEA52GCVIsQqut3S/uKTbUwYIp4Pe/vv+6py5XiXBCqMZHg6pA6Y5qhgLSEys0/cYuPbO0z1QFj5ZCmg==",
+ "license": "MIT"
+ },
+ "node_modules/httpxy": {
+ "version": "0.5.5",
+ "resolved": "https://registry.npmjs.org/httpxy/-/httpxy-0.5.5.tgz",
+ "integrity": "sha512-uDjmnPyp1q4Sgzf3w+J/Fc6UqcCEj0x4Wjp7OqK5dGhNeDgpyrAmnS6ey8QWrX3SWDon2DMKf9sBa5X9+CVyMA==",
+ "license": "MIT"
+ },
+ "node_modules/json-schema": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz",
+ "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==",
+ "license": "(AFL-2.1 OR BSD-3-Clause)"
+ },
+ "node_modules/nf3": {
+ "version": "0.3.24",
+ "resolved": "https://registry.npmjs.org/nf3/-/nf3-0.3.24.tgz",
+ "integrity": "sha512-HxLK4bo+5jNsEETZp4w3tJblHOA9MCBY14IN9nZJJV8JDxt9yNIYxuBuLMjTAR5GFa3HL61+8VQDUrXv3/C8fw==",
+ "license": "MIT"
+ },
+ "node_modules/nitro": {
+ "version": "3.0.260903-beta",
+ "resolved": "https://registry.npmjs.org/nitro/-/nitro-3.0.260903-beta.tgz",
+ "integrity": "sha512-54gANPi62O8rfMvepiJUVuIzEIinYfpeHbebywlLxvVTgIYXDwSvpaU9Id+0sJOBjBx0wC1/CVYXJkH7SY+l0g==",
+ "license": "MIT",
+ "dependencies": {
+ "consola": "^3.4.2",
+ "crossws": "^0.4.12",
+ "db0": "^0.4.1",
+ "env-runner": "^0.2.1",
+ "h3": "^2.0.1-rc.31",
+ "hookable": "^6.1.1",
+ "nf3": "^0.3.24",
+ "ocache": "^0.3.0",
+ "rolldown": "^1.2.7",
+ "rou3": "^0.9.2",
+ "srvx": "^1.0.3",
+ "unenv": "^2.0.0-rc.24",
+ "unstorage": "^2.0.0-alpha.10"
+ },
+ "bin": {
+ "nitro": "dist/cli/index.mjs"
+ },
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ }
+ },
+ "node_modules/ocache": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/ocache/-/ocache-0.3.0.tgz",
+ "integrity": "sha512-RS/9P0zeBb0gDJmadGERLH8lZNXK7xbufTDhclkXGvFGTsj0G4M5/cLk+mizcERH29mLXNnocfB5wjcK70wGJg==",
+ "license": "MIT"
+ },
+ "node_modules/pathe": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz",
+ "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==",
+ "license": "MIT"
+ },
+ "node_modules/rolldown": {
+ "version": "1.2.11",
+ "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.2.11.tgz",
+ "integrity": "sha512-qpSwIyz0jHQq5qXBTNxFmE6664rJ7O+4TvPFOiOaBSrz8IOHc1koKKSqTM2H6u1UG1+TveuC6vaDHKXFOvb1Kw==",
+ "license": "MIT",
+ "dependencies": {
+ "@oxc-project/types": "=0.151.0",
+ "@rolldown/pluginutils": "^1.0.0"
+ },
+ "bin": {
+ "rolldown": "bin/cli.mjs"
+ },
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ },
+ "optionalDependencies": {
+ "@rolldown/binding-android-arm-eabi": "1.2.11",
+ "@rolldown/binding-android-arm64": "1.2.11",
+ "@rolldown/binding-darwin-arm64": "1.2.11",
+ "@rolldown/binding-darwin-x64": "1.2.11",
+ "@rolldown/binding-freebsd-x64": "1.2.11",
+ "@rolldown/binding-linux-arm-gnueabihf": "1.2.11",
+ "@rolldown/binding-linux-arm64-gnu": "1.2.11",
+ "@rolldown/binding-linux-arm64-musl": "1.2.11",
+ "@rolldown/binding-linux-ppc64-gnu": "1.2.11",
+ "@rolldown/binding-linux-s390x-gnu": "1.2.11",
+ "@rolldown/binding-linux-x64-gnu": "1.2.11",
+ "@rolldown/binding-linux-x64-musl": "1.2.11",
+ "@rolldown/binding-openharmony-arm64": "1.2.11",
+ "@rolldown/binding-win32-arm64-msvc": "1.2.11",
+ "@rolldown/binding-win32-x64-msvc": "1.2.11"
+ }
+ },
+ "node_modules/rou3": {
+ "version": "0.9.2",
+ "resolved": "https://registry.npmjs.org/rou3/-/rou3-0.9.2.tgz",
+ "integrity": "sha512-3SOzvaAg8rkHrXtRjpCvCvbyO5to9oOO27Z/XqHEYXfMRVSw/qMIVdmaOk9W2lcRLtR6dlqTjo9hDeJk70QBYQ==",
+ "license": "MIT"
+ },
+ "node_modules/srvx": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/srvx/-/srvx-1.0.5.tgz",
+ "integrity": "sha512-KvSKRpgPG/oaq3cyT614OQ2bAa7DynuGamivCZeoZzIUULOdbQz6wUtnnVuC4+DCx2Zglzo8v5gBYmWIWYhDxA==",
+ "license": "MIT",
+ "bin": {
+ "srvx": "bin/srvx.mjs"
+ },
+ "engines": {
+ "node": ">=20.16.0"
+ }
+ },
+ "node_modules/typescript": {
+ "version": "5.9.2",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.2.tgz",
+ "integrity": "sha512-CWBzXQrc/qOkhidw1OzBTQuYRbfyxDXJMVJ1XNwUHGROVmuaeiEm3OslpZ1RV96d7SKKjZKrSJu3+t/xlw3R9A==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "bin": {
+ "tsc": "bin/tsc",
+ "tsserver": "bin/tsserver"
+ },
+ "engines": {
+ "node": ">=14.17"
+ }
+ },
+ "node_modules/undici": {
+ "version": "7.30.0",
+ "resolved": "https://registry.npmjs.org/undici/-/undici-7.30.0.tgz",
+ "integrity": "sha512-dkrQXeHSaoamnItlYbmzG0wFYrM0ZwDxCIg0A7aKjTyyhh9svRzCNFEzV+Vm05/yehjCzjDZ31KXfGEjYSztDQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=20.18.1"
+ }
+ },
+ "node_modules/undici-types": {
+ "version": "7.24.6",
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.24.6.tgz",
+ "integrity": "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/unenv": {
+ "version": "2.0.0-rc.24",
+ "resolved": "https://registry.npmjs.org/unenv/-/unenv-2.0.0-rc.24.tgz",
+ "integrity": "sha512-i7qRCmY42zmCwnYlh9H2SvLEypEFGye5iRmEMKjcGi7zk9UquigRjFtTLz0TYqr0ZGLZhaMHl/foy1bZR+Cwlw==",
+ "license": "MIT",
+ "dependencies": {
+ "pathe": "^2.0.3"
+ }
+ },
+ "node_modules/unstorage": {
+ "version": "2.0.0-alpha.10",
+ "resolved": "https://registry.npmjs.org/unstorage/-/unstorage-2.0.0-alpha.10.tgz",
+ "integrity": "sha512-6h1veZp8gnp4dGllf0tDijoXxDYymJu251IpKKkrSVH+QHL6tXFbwG85KM+CBHSgpkkgtPuIiZ9oLCLP5+1Evw==",
+ "license": "MIT"
+ },
+ "node_modules/zod": {
+ "version": "4.1.12",
+ "resolved": "https://registry.npmjs.org/zod/-/zod-4.1.12.tgz",
+ "integrity": "sha512-JInaHOamG8pt5+Ey8kGmdcAcg3OL9reK8ltczgHTAwNhMys/6ThXHityHxVV2p3fkw/c+MAvBHFVYHFZDmjMCQ==",
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/colinhacks"
+ }
+ }
+ }
+}
diff --git a/libs/cua-driver/examples/eve/package.json b/libs/cua-driver/examples/eve/package.json
new file mode 100644
index 0000000000..8f550c23b9
--- /dev/null
+++ b/libs/cua-driver/examples/eve/package.json
@@ -0,0 +1,22 @@
+{
+ "name": "cua-driver-eve-example",
+ "private": true,
+ "type": "module",
+ "engines": {
+ "node": ">=24"
+ },
+ "scripts": {
+ "dev": "eve dev",
+ "typecheck": "tsc --noEmit"
+ },
+ "dependencies": {
+ "@trycua/cua-driver": "0.30.2",
+ "ai": "7.0.118",
+ "eve": "0.67.2",
+ "zod": "4.1.12"
+ },
+ "devDependencies": {
+ "@types/node": "24.19.0",
+ "typescript": "5.9.2"
+ }
+}
diff --git a/libs/cua-driver/examples/eve/tsconfig.json b/libs/cua-driver/examples/eve/tsconfig.json
new file mode 100644
index 0000000000..edb977400a
--- /dev/null
+++ b/libs/cua-driver/examples/eve/tsconfig.json
@@ -0,0 +1,13 @@
+{
+ "compilerOptions": {
+ "lib": ["ES2023"],
+ "module": "NodeNext",
+ "moduleResolution": "NodeNext",
+ "noEmit": true,
+ "skipLibCheck": true,
+ "strict": true,
+ "target": "ES2023",
+ "types": ["node"]
+ },
+ "include": ["agent/**/*.ts"]
+}