mirror of
https://github.com/vercel/eve.git
synced 2026-09-20 05:35:39 +08:00
chore(eve): dependencies - upgrade Nitro to 3.0.260903-beta (#3037)
Signed-off-by: Andrew Barba <barba@hey.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"eve": patch
|
||||
---
|
||||
|
||||
Upgrade Nitro to 3.0.260903-beta for upstream fixes and dependency updates.
|
||||
+24
-24
@@ -7,31 +7,31 @@ Relevant `eve` commands can run from the application root or any directory benea
|
||||
|
||||
## Commands
|
||||
|
||||
| Command | Description |
|
||||
| ----------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `eve` | Initialize the current directory, or start development when it is already an eve project |
|
||||
| `eve init [target]` | Create a new agent, or add an agent to an existing project |
|
||||
| `eve info` | Print the resolved application, including static instructions and discovered capabilities, routes, artifact paths, and diagnostics |
|
||||
| `eve build` | Compile `.eve/` artifacts and build the host output; prints the output directory |
|
||||
| `eve start` | Serve the built `.output/` app; prints the listening URL |
|
||||
| `eve dev` | Start the local dev server and open the terminal UI |
|
||||
| `eve dev <url>` | Connect the UI to an existing server URL (e.g. a remote deployment) instead of booting a local server |
|
||||
| `eve acp [url]` | Serve the local application or an existing eve server URL as a stable ACP v1 agent over stdio |
|
||||
| `eve logs [logid]` | Print an `eve dev` diagnostic log (the most recent when `logid` is omitted) |
|
||||
| `eve logs ls` | List `eve dev` diagnostic logs, most recent first |
|
||||
| `eve traces ls` | List locally captured agent traces, most recent first |
|
||||
| `eve traces [trace]` | Show a local span tree (the most recent when omitted) |
|
||||
| `eve telemetry <command>` | Show, enable, or disable CLI telemetry collection |
|
||||
| `eve link` | Link the directory to a Vercel project and pull AI Gateway credentials |
|
||||
| `eve deploy` | Deploy the agent to Vercel production (links first if needed) |
|
||||
| `eve eval` | Run evals against the local app or a remote target |
|
||||
| `eve channels list` | List user-authored channels |
|
||||
| `eve extension init [target]` | Create a new extension package |
|
||||
| `eve extension build` | Build the current package as an extension |
|
||||
| `eve set` | Change the root agent's model and reasoning effort |
|
||||
| `eve add <item>` | Install an item from the official or a configured shadcn registry |
|
||||
| Command | Description |
|
||||
| ------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `eve` | Initialize the current directory, or start development when it is already an eve project |
|
||||
| `eve init [target]` | Create a new agent, or add an agent to an existing project |
|
||||
| `eve info` | Print the resolved application, including static instructions and discovered capabilities, routes, artifact paths, and diagnostics |
|
||||
| `eve build` | Compile `.eve/` artifacts and build the host output; prints the output directory |
|
||||
| `eve start` | Serve the built `.output/` app; prints the listening URL |
|
||||
| `eve dev` | Start the local dev server and open the terminal UI |
|
||||
| `eve dev <url>` | Connect the UI to an existing server URL (e.g. a remote deployment) instead of booting a local server |
|
||||
| `eve acp [url]` | Serve the local application or an existing eve server URL as a stable ACP v1 agent over stdio |
|
||||
| `eve logs [logid]` | Print an `eve dev` diagnostic log (the most recent when `logid` is omitted) |
|
||||
| `eve logs ls` | List `eve dev` diagnostic logs, most recent first |
|
||||
| `eve traces ls` | List locally captured agent traces, most recent first |
|
||||
| `eve traces [trace]` | Show a local span tree (the most recent when omitted) |
|
||||
| `eve telemetry <command>` | Show, enable, or disable CLI telemetry collection |
|
||||
| `eve link` | Link the directory to a Vercel project and pull AI Gateway credentials |
|
||||
| `eve deploy` | Deploy the agent to Vercel production (links first if needed) |
|
||||
| `eve eval` | Run evals against the local app or a remote target |
|
||||
| `eve channels list` | List user-authored channels |
|
||||
| `eve extension init [target]` | Create a new extension package |
|
||||
| `eve extension build` | Build the current package as an extension |
|
||||
| `eve set` | Change the root agent's model and reasoning effort |
|
||||
| `eve add <item>` | Install an item from the official or a configured shadcn registry |
|
||||
| `eve integration setup <kind>` | Run a built-in setup flow directly after its registry files are installed |
|
||||
| `eve registry <command>` | Add sources and list, search, or view registry catalog items |
|
||||
| `eve registry <command>` | Add sources and list, search, or view registry catalog items |
|
||||
|
||||
When `eve build` fails on discovery errors, it prints the full diagnostics report (severity, message, source path) and the diagnostics artifact path.
|
||||
|
||||
|
||||
@@ -421,7 +421,7 @@
|
||||
"test:vercel": "vitest run --config vitest.vercel.config.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"nitro": "3.0.260610-beta",
|
||||
"nitro": "3.0.260903-beta",
|
||||
"undici": "8.9.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -551,7 +551,7 @@ describe("application Nitro creation", () => {
|
||||
).toBeNull();
|
||||
});
|
||||
|
||||
it("merges framework and configured hosted dependencies", async () => {
|
||||
it("includes configured hosted dependencies without tracing eve", async () => {
|
||||
const nitroStub = createNitroStub();
|
||||
createNitroMock.mockResolvedValueOnce(nitroStub.nitro);
|
||||
|
||||
@@ -568,9 +568,7 @@ describe("application Nitro creation", () => {
|
||||
await createProductionApplicationNitro(preparedHost, createProductionOptions(preparedHost));
|
||||
|
||||
const traceDeps = createNitroMock.mock.calls[0]?.[0].traceDeps;
|
||||
expect(traceDeps).toEqual(
|
||||
expect.arrayContaining(["@napi-rs/keyring", "sharp", "fixture-external"]),
|
||||
);
|
||||
expect(traceDeps).toEqual(expect.arrayContaining(["sharp", "fixture-external"]));
|
||||
expect(traceDeps.filter((dependencyName: string) => dependencyName === "sharp")).toHaveLength(
|
||||
1,
|
||||
);
|
||||
@@ -681,7 +679,7 @@ describe("application Nitro creation", () => {
|
||||
|
||||
await createProductionApplicationNitro(preparedHost, createProductionOptions(preparedHost));
|
||||
|
||||
expect(createNitroMock.mock.calls[0]?.[0].traceDeps).toEqual(["@napi-rs/keyring"]);
|
||||
expect(createNitroMock.mock.calls[0]?.[0].traceDeps).toEqual([]);
|
||||
});
|
||||
|
||||
it("includes the Workflow sandbox runtime plugin only when Workflow is enabled", async () => {
|
||||
@@ -773,7 +771,7 @@ describe("application Nitro creation", () => {
|
||||
);
|
||||
});
|
||||
|
||||
it("deduplicates defaults when the app also lists them", async () => {
|
||||
it("deduplicates configured hosted dependencies", async () => {
|
||||
const nitroStub = createNitroStub();
|
||||
createNitroMock.mockResolvedValueOnce(nitroStub.nitro);
|
||||
|
||||
@@ -783,7 +781,7 @@ describe("application Nitro creation", () => {
|
||||
preparedHost.compileResult.manifest.config = {
|
||||
...preparedHost.compileResult.manifest.config,
|
||||
build: {
|
||||
externalDependencies: ["@napi-rs/keyring", "sharp", "fixture-external"],
|
||||
externalDependencies: ["@napi-rs/keyring", "sharp", "fixture-external", "sharp"],
|
||||
},
|
||||
} as typeof preparedHost.compileResult.manifest.config;
|
||||
|
||||
|
||||
@@ -59,17 +59,6 @@ const WORKFLOW_ALIAS_SPECIFIERS = [
|
||||
const WORKFLOW_TRANSFORM_PATCHED = Symbol("eve.workflow-transform-patched");
|
||||
const WORKFLOW_CACHE_PATH_FRAGMENT = "/.eve/workflow-cache/";
|
||||
|
||||
/**
|
||||
* Packages eve itself pulls into hosted application output that must stay
|
||||
* external so Nitro/rolldown does not try to inline platform-specific
|
||||
* `.node` binaries (which would fail with a UTF-8 decode error).
|
||||
*
|
||||
* `@napi-rs/keyring` reaches the hosted bundle transitively through
|
||||
* `@vercel/oidc` → `@vercel/cli-auth` and ships native `keyring.<platform>.node`
|
||||
* binaries. App authors should not have to know about this; the framework
|
||||
* traces it into `server/node_modules` automatically.
|
||||
*/
|
||||
const FRAMEWORK_HOSTED_EXTERNAL_PACKAGES: readonly string[] = ["@napi-rs/keyring"];
|
||||
const LOCAL_SANDBOX_BACKEND_NAMES = new Set([
|
||||
"docker",
|
||||
...Object.keys(OPTIONAL_ENGINE_PACKAGES_BY_BACKEND_NAME),
|
||||
@@ -116,7 +105,6 @@ function collectHostedTraceDependencies(
|
||||
// its nf3 database. traceDeps is only for eve-owned or author-configured
|
||||
// additions to that upstream policy.
|
||||
const merged = new Set<string>([
|
||||
...FRAMEWORK_HOSTED_EXTERNAL_PACKAGES,
|
||||
// Optional engine packages (just-bash, microsandbox) join the
|
||||
// externalize-and-trace path only when the compiled sandbox config
|
||||
// selects their backend — the app's opt-in. Otherwise
|
||||
|
||||
Generated
+405
-131
File diff suppressed because it is too large
Load Diff
@@ -66,5 +66,10 @@ minimumReleaseAgeExclude:
|
||||
- "@vercel/*"
|
||||
- "@workflow/*"
|
||||
- nitro
|
||||
# Required by nitro@3.0.260903-beta, published September 3.
|
||||
- db0@0.4.1
|
||||
- h3@2.0.1-rc.31
|
||||
- srvx@1.0.3
|
||||
- unstorage@2.0.0-alpha.10
|
||||
- run
|
||||
- workflow
|
||||
|
||||
Reference in New Issue
Block a user