Skip to content

chore(deps): update all non-major dependencies#186

Merged
HugoRCD merged 1 commit intomainfrom
renovate/all-minor-patch
Mar 23, 2026
Merged

chore(deps): update all non-major dependencies#186
HugoRCD merged 1 commit intomainfrom
renovate/all-minor-patch

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Mar 23, 2026

This PR contains the following updates:

Package Change Age Confidence
@nuxt/ui (source) ^4.5.1^4.6.0 age confidence
agents (source) >=0.7.9>=0.8.0 age confidence
ai (source) ^6.0.134^6.0.137 age confidence
vitest (source) ^4.1.0^4.1.1 age confidence

Release Notes

nuxt/ui (@​nuxt/ui)

v4.6.0

Compare Source

⚠ BREAKING CHANGES
  • module: use moduleDependencies to manipulate options (#​5384)
Features
Bug Fixes
  • Avatar: use resolved size for image width/height (#​6008) (6dd0fc4)
  • ChatShimmer: handle RTL mode (#​6180) (51793a8)
  • ContentNavigation: prevent toggling disabled parent items (#​6122) (0f1074f)
  • ContentSurround: handle RTL mode (#​6148) (6921f13)
  • ContentToc: reset start margin at lg breakpoint (8f24f79)
  • DashboardSearchButton: use valid HTML structure for trailing slot (#​6194) (578a12f)
  • Editor: guard lift calls for unavailable list extensions (#​6100) (065db6b)
  • Error: support status and statusText properties (1350d62), closes #​6134
  • FileUpload: make multiple, accept and reset options reactive (#​6204) (ae093df)
  • Modal/Slideover/Popover/Drawer: prevent double close:prevent emit (#​6226) (9a0d501)
  • module: only auto-import public composables and allow Vite opt-out (#​6197) (886f5fb)
  • NavigationMenu: improve RTL support for viewport and indicator (#​6164) (755867b)
  • NavigationMenu: propagate disabled state to item in vertical orientation (6d4d651)
  • ProsePre: move shiki line highlight styles to theme (d663950)
cloudflare/agents (agents)

v0.8.0

Compare Source

Minor Changes
  • #​1152 16cc622 Thanks @​threepointone! - feat: expose readable state property on useAgent and AgentClient

    Both useAgent (React) and AgentClient (vanilla JS) now expose a state property that tracks the current agent state. Previously, state was write-only via setState() — reading state required manually tracking it through the onStateUpdate callback.

    React (useAgent)

    const agent = useAgent<GameAgent, GameState>({
      agent: "game-agent",
      name: "room-123",
    });
    
    // Read state directly — no need for separate useState + onStateUpdate
    return <div>Score: {agent.state?.score}</div>;
    
    // Spread for partial updates — works correctly now
    agent.setState({ ...agent.state, score: agent.state.score + 10 });

    agent.state is reactive — the component re-renders when state changes from either the server or client-side setState().

    Vanilla JS (AgentClient)

    const client = new AgentClient<GameAgent>({
      agent: "game-agent",
      name: "room-123",
      host: "your-worker.workers.dev",
    });
    
    // State updates synchronously on setState and server broadcasts
    client.setState({ score: 100 });
    console.log(client.state); // { score: 100 }

    Backward compatible

    The onStateUpdate callback continues to work exactly as before. The new state property is additive — it provides a simpler alternative to manual state tracking for the common case.

    Type: State | undefined

    State starts as undefined and is populated when the server sends state on connect (from initialState) or when setState() is called. Use optional chaining (agent.state?.field) for safe access.

  • #​1154 74a018a Thanks @​threepointone! - feat: idempotent schedule() to prevent row accumulation across DO restarts

    schedule() now supports an idempotent option that deduplicates by (type, callback, payload), preventing duplicate rows from accumulating when called repeatedly (e.g., in onStart()).

    Cron schedules are idempotent by default. Calling schedule("0 * * * *", "tick") multiple times with the same callback, cron expression, and payload returns the existing schedule instead of creating a duplicate. Set { idempotent: false } to override.

    Delayed and scheduled (Date) types support opt-in idempotency:

    async onStart() {
      // Safe across restarts — only one row exists at a time
      await this.schedule(60, "maintenance", undefined, { idempotent: true });
    }

    New warnings for common foot-guns:

    • schedule() called inside onStart() without { idempotent: true } now emits a console.warn with actionable guidance (once per callback, skipped for cron and when idempotent is explicitly set)
    • alarm() processing ≥10 stale one-shot rows for the same callback emits a console.warn and a schedule:duplicate_warning diagnostics channel event
  • #​1146 b74e108 Thanks @​threepointone! - feat: strongly-typed AgentClient with call inference and stub proxy

    AgentClient now accepts an optional agent type parameter for full type inference on RPC calls, matching the typed experience that useAgent already provides.

    New: typed call and stub

    When an agent type is provided, call() infers method names, argument types, and return types from the agent's methods. A new stub property provides a direct RPC-style proxy — call agent methods as if they were local functions:

    const client = new AgentClient<MyAgent>({
      agent: "my-agent",
      host: window.location.host,
    });
    
    // Typed call — method name autocompletes, args and return type inferred
    const value = await client.call("getValue");
    
    // Typed stub — direct RPC-style proxy
    await client.stub.getValue();
    await client.stub.add(1, 2);

    State is automatically inferred from the agent type, so onStateUpdate is also typed:

    const client = new AgentClient<MyAgent>({
      agent: "my-agent",
      host: window.location.host,
      onStateUpdate: (state) => {
        // state is typed as MyAgent's state type
      },
    });

    Backward compatible

    Existing untyped usage continues to work without changes:

    const client = new AgentClient({ agent: "my-agent", host: "..." });
    client.call("anyMethod", [args]); // still works
    client.call<number>("add", [1, 2]); // explicit return type still works
    client.stub.anyMethod("arg1", 123); // untyped stub also available

    The previous AgentClient<State> pattern is preserved — new AgentClient<{ count: number }>({...}) still correctly types onStateUpdate and leaves call/stub untyped.

    Breaking: call is now an instance property instead of a prototype method

    AgentClient.prototype.call no longer exists. The call function is assigned per-instance in the constructor (via .bind()). This is required for the conditional type system to switch between typed and untyped signatures. Normal usage (client.call(...)) is unaffected, but code that reflects on the prototype or subclasses that override call as a method may need adjustment.

    Shared type utilities

    The RPC type utilities (AgentMethods, AgentStub, RPCMethods, etc.) are now exported from agents/client so they can be shared between AgentClient and useAgent, and are available to consumers who need them for advanced typing scenarios.

  • #​1138 36e2020 Thanks @​threepointone! - Drop Zod v3 from peer dependency range — now requires zod ^4.0.0. Replace dynamic import("ai") with z.fromJSONSchema() from Zod 4 for MCP tool schema conversion, removing the ai runtime dependency from the agents core. Remove ensureJsonSchema().

Patch Changes
  • #​1147 1f85b06 Thanks @​threepointone! - Replace schedule-based keepAlive with lightweight ref-counted alarms

    • keepAlive() no longer creates schedule rows or emits schedule:create/schedule:execute/schedule:cancel observability events — it uses an in-memory ref count and feeds directly into _scheduleNextAlarm()
    • multiple concurrent keepAlive() callers now share a single alarm cycle instead of each creating their own interval schedule row
    • add _onAlarmHousekeeping() hook (called on every alarm cycle) for extensions like the fiber mixin to run housekeeping without coupling to the scheduling system
    • bump internal schema to v2 with a migration that cleans up orphaned _cf_keepAliveHeartbeat schedule rows from the previous implementation
    • remove @experimental from keepAlive() and keepAliveWhile()
vercel/ai (ai)

v6.0.137

Patch Changes

v6.0.136

Compare Source

Patch Changes

v6.0.135

Compare Source

Patch Changes
  • df6a330: chore(ai): remove all experimental agent events
vitest-dev/vitest (vitest)

v4.1.1

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

Configuration

📅 Schedule: Branch creation - "on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Mar 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
nuxt-mcp-toolkit-docs Ready Ready Preview, Comment Mar 30, 2026 2:38am

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Mar 23, 2026

npm i https://pkg.pr.new/@nuxtjs/mcp-toolkit@186

commit: eefbdfc

@github-actions
Copy link
Copy Markdown
Contributor

Thank you for following the naming conventions! 🙏

@renovate renovate bot force-pushed the renovate/all-minor-patch branch from c3df9da to eefbdfc Compare March 23, 2026 21:06
@HugoRCD HugoRCD merged commit 8a9d06c into main Mar 23, 2026
11 of 12 checks passed
@HugoRCD HugoRCD deleted the renovate/all-minor-patch branch March 23, 2026 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant