Skip to content

@agent-native/dispatch@0.39.0

Choose a tag to compare

@builder-io-integration builder-io-integration released this 28 Sep 20:10
· 2506 commits to main since this release
56b38c6

Minor Changes

  • 108074a: Standardize full-page AgentKit chat homes and restore the Dispatch workspace app launcher.

Patch Changes

  • 08fec9a: Allow Desktop workspace sign-in to mint shared app sessions when Dispatch pane SSO is off.

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

  • a20f0b4: Fix member offboarding and email-change rekey on migrated app databases. Apps declare their own identity columns with registerIdentityColumns() from @agent-native/core/org, share tables made by createSharesTable() are recognized by shape, Better Auth sessions keyed by user_id are revoked, and org member routes log the underlying failure instead of discarding it.

  • a20f0b4: Usage estimates read the organization's default model instead of the old deployment-wide agent-engine row.

  • a20f0b4: Add the {App} › Channels page to the redesigned Settings (behind the settings-redesign flag): Slack, Google Docs, Telegram, WhatsApp, Discord, Microsoft Teams, and Email, each with its state, a page with the adapter's own required variables, the webhook URL to copy, and setup that only owners and admins can run. Owners and admins save, replace, and remove a channel's credentials there in any app, stored as the organization's workspace secrets, so a template no longer has to declare channel keys. New core actions list-messaging-channels and manage-messaging-channel (save-credentials, enable, disable, remove-credentials, register-webhook) back the page, so the agent can set up and switch channels too; the /integrations/:platform/enable|disable|setup routes share the same operations. EnvKeyConfig gains deploymentOnly for keys the runtime reads only from the environment, which Google Docs' service account key sets. Google Docs joins the channel catalog. Apps can add their own settings to a channel's page with registerChannelSettingsExtensions, and Clips shows its Slack link previews there. The old Integrations panel now lists the variables each adapter reports instead of a hardcoded set, which listed the wrong WhatsApp keys and missed Telegram's webhook secret. Dispatch's Messaging page uses the shared channel helpers from core.

  • a20f0b4: Dispatch's Settings page has one implementation: @agent-native/dispatch/routes/pages/settings exports DispatchSettingsPage({ changelog }), and the Dispatch template renders it with its own changelog. With settings-redesign on, the Dispatch layout renders Settings full width, Members keeps the Dispatch access column, and Dispatch › General shows a Workspace group (Chat-first workspace, Resources, Connect apps) while core Preferences owns the interface language. The route's default export now matches the template's page: it gains the Account and Integrations tabs, links Resources to /workspace, and drops the Delivery card and page title wrapper.

  • a20f0b4: Settings polish follow-ups:

    • @agent-native/core/client/settings now exports KeyValueDialog (with KeyValueDialogMode and KeyValueDialogProps) and the ApiKeyEntry and ApiKeysListing types, so an app page can add or replace a key in place instead of sending people to Settings › API keys.
    • NewKeyMenu takes size (xs, sm, or default) and variant props and no longer restyles its trigger; triggerClassName is for layout only. The default is xs secondary, the group heading action size. The sub-agent dialog's credential picker uses the dialog control size, and the Dispatch Vault's New button uses size="default" instead of size classes.
    • The custom integration dialog shows "Connecting…" and "Testing…" beside the spinner while a connect or test runs.
    • Removed catalog keys that nothing reads anymore: agentChat.settings.storage.missing, agentChat.settings.storage.missingPublicUrl, agentChat.settingsOrg.invite.close, agentChat.settingsShell.account.newEmailPlaceholder, and agentChat.settingsSubAgents.browseDirectory.
  • 9199a7f: Standardize chat home suggestions and restore the compact Dispatch app grid.

  • a20f0b4: Move the toolkit's Button, Switch, Select, and Input to shadcn new-york-v4 sizing. Buttons are 36px by default and 32px at sm, with new xs, icon-xs, icon-sm, and icon-lg sizes. outline is now the v4 bordered outline (border bg-background shadow-xs, with bg-input/30 in dark mode) instead of an accent fill, and a new outline-destructive variant (outline with red text) marks destructive row actions; it maps to the design-system danger intent with outline emphasis. Switch is 32x18 with a size prop (sm is 24x14), SelectTrigger and Input take size="sm" | "default" (32px or 36px), Toggle is 36px (sm 32px), and TabsList is 36px. Alert sets text-sm on the root, so titles are 14px, and AlertDescription uses relaxed leading. Adds the shadcn InputGroup (InputGroupAddon, InputGroupInput, InputGroupButton, InputGroupText, InputGroupTextarea) for fields with icons or inline actions. Dispatch's local Button, Switch, Input, Tabs, Toggle, and AlertDialog now re-export the toolkit's, so its tabs and toggles follow the same heights and its confirm dialogs stack above toolkit dialogs. The Dispatch app search matches the 32px toolbar buttons beside it. Settings row, retry, and group-heading buttons use outline instead of secondary; dialog Cancel buttons stay secondary.

  • Updated dependencies

  • Updated dependencies [a20f0b4]

    • @agent-native/toolkit@0.23.0