Skip to content

@agent-native/dispatch@0.42.10

Choose a tag to compare

@github-actions github-actions released this 18 Nov 13:32
· 6 commits to main since this release
c9e37cb

Patch Changes

  • 2755d62: Add billing.commercialSurfaces to agent-native.json (env AGENT_NATIVE_CONFIG_BILLING_COMMERCIAL_SURFACES). It defaults to "show", which changes nothing. "hide" removes credit units and amounts, plan upgrades, free-credit offers and referral rewards: usage reads as dollars and tokens (a run reports its provider cost and no credits), existing credit alerts can't be listed, changed or delivered and new ones can't be created, stored credit-alert notices drop out of the inbox, the credit notice, credit-limit email and run-details credits row are left out, a credits-limit error offers only Retry in the card and the transcript, the referral action returns nothing, and the Builder connect popover, model picker and first-run setup drop the free-credit pitch. A composer host sets the Builder choice's caption with the builder.creditsOffered adapter. commercialSurfacesHidden() (from @agent-native/core/client/app-config) and deploymentUsageBilling() let an app follow the same setting, and AgentKitRoot takes showRunCredits. With notifications.usageLimitNotices: false, usage-limit alerts are no longer evaluated or sent on any channel.

  • 50f7168: Dispatch can now run a granted workspace app's actions directly. Set dispatch.directAppActions (env DISPATCH_DIRECT_APP_ACTIONS=true) to add list_app_actions, call_app_action, and read_view to Dispatch's agent and MCP tools; they call the target app as the signed-in user, only for apps that user has granted, and return in about a second instead of running the app's agent through ask_app. The setting is off by default, and with it off Dispatch's tools and ask_app are unchanged.

    Dispatch app discovery now honors the workspace's deployment.workspace.appsDirectory and appInclude settings, and shows the icon set for an app in the deployment manifest or in .agent-native/workspace-apps.json. Apps listed without a description no longer break MCP task discovery.

    setDispatchAppActionHeaderProvider (from @agent-native/dispatch/server) lets a deployment add headers to each direct app action connection, such as a per-turn grant the target app's MCP turn grant admitter recognizes. It can't replace Authorization.

    A full MCP catalog (catalog_scope: "full") now honors externalAgents.writes: "ask_app_only": only reads and the compact builtins stay directly callable, and writes still go through ask_app. mcpToolCallWasNotSent (from @agent-native/core/mcp-client) tells a refusal callTool raised before sending apart from a failure after the call may have run.

  • Release all public npm packages with a patch version bump.

  • Updated dependencies [9f49abc]

  • Updated dependencies [2755d62]

  • Updated dependencies [d863c6a]

  • Updated dependencies [3d92e2e]

  • Updated dependencies

    • @agent-native/toolkit@0.231.0