@agent-native/core 0.46.0 → 0.48.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/agent-native.js +41 -0
- package/dist/a2a/handlers.js +2 -2
- package/dist/a2a/handlers.js.map +1 -1
- package/dist/a2a/server.js +2 -2
- package/dist/a2a/server.js.map +1 -1
- package/dist/action.d.ts +43 -2
- package/dist/action.d.ts.map +1 -1
- package/dist/action.js.map +1 -1
- package/dist/agent/context-xray/actions/context-evict.d.ts +7 -1
- package/dist/agent/context-xray/actions/context-evict.d.ts.map +1 -1
- package/dist/agent/context-xray/actions/context-manifest-get.d.ts +4 -1
- package/dist/agent/context-xray/actions/context-manifest-get.d.ts.map +1 -1
- package/dist/agent/context-xray/actions/context-pin.d.ts +7 -1
- package/dist/agent/context-xray/actions/context-pin.d.ts.map +1 -1
- package/dist/agent/context-xray/actions/context-report.d.ts +12 -1
- package/dist/agent/context-xray/actions/context-report.d.ts.map +1 -1
- package/dist/agent/context-xray/actions/context-restore.d.ts +7 -1
- package/dist/agent/context-xray/actions/context-restore.d.ts.map +1 -1
- package/dist/agent/context-xray/apply-directives.d.ts.map +1 -1
- package/dist/agent/context-xray/apply-directives.js.map +1 -1
- package/dist/agent/context-xray/schema.d.ts +10 -10
- package/dist/agent/engine/ai-sdk-engine.d.ts.map +1 -1
- package/dist/agent/engine/ai-sdk-engine.js +26 -3
- package/dist/agent/engine/ai-sdk-engine.js.map +1 -1
- package/dist/agent/engine/anthropic-engine.d.ts +1 -1
- package/dist/agent/engine/anthropic-engine.d.ts.map +1 -1
- package/dist/agent/engine/builder-engine.d.ts +1 -1
- package/dist/agent/engine/builder-engine.d.ts.map +1 -1
- package/dist/agent/engine/builder-engine.js +47 -8
- package/dist/agent/engine/builder-engine.js.map +1 -1
- package/dist/agent/engine/builtin.js +1 -1
- package/dist/agent/engine/builtin.js.map +1 -1
- package/dist/agent/engine/output-tokens.d.ts +1 -1
- package/dist/agent/engine/output-tokens.d.ts.map +1 -1
- package/dist/agent/engine/output-tokens.js +6 -2
- package/dist/agent/engine/output-tokens.js.map +1 -1
- package/dist/agent/engine/registry.d.ts.map +1 -1
- package/dist/agent/engine/registry.js +7 -4
- package/dist/agent/engine/registry.js.map +1 -1
- package/dist/agent/engine/types.d.ts +19 -0
- package/dist/agent/engine/types.d.ts.map +1 -1
- package/dist/agent/engine/types.js +6 -0
- package/dist/agent/engine/types.js.map +1 -1
- package/dist/agent/model-config.d.ts +22 -14
- package/dist/agent/model-config.d.ts.map +1 -1
- package/dist/agent/model-config.js +113 -8
- package/dist/agent/model-config.js.map +1 -1
- package/dist/agent/production-agent.d.ts +47 -1
- package/dist/agent/production-agent.d.ts.map +1 -1
- package/dist/agent/production-agent.js +267 -46
- package/dist/agent/production-agent.js.map +1 -1
- package/dist/agent/run-loop-with-resume.d.ts.map +1 -1
- package/dist/agent/run-loop-with-resume.js +10 -0
- package/dist/agent/run-loop-with-resume.js.map +1 -1
- package/dist/agent/run-manager.d.ts +1 -0
- package/dist/agent/run-manager.d.ts.map +1 -1
- package/dist/agent/run-manager.js +36 -9
- package/dist/agent/run-manager.js.map +1 -1
- package/dist/agent/run-store.d.ts +47 -4
- package/dist/agent/run-store.d.ts.map +1 -1
- package/dist/agent/run-store.js +154 -4
- package/dist/agent/run-store.js.map +1 -1
- package/dist/agent/thread-data-builder.d.ts.map +1 -1
- package/dist/agent/thread-data-builder.js +57 -2
- package/dist/agent/thread-data-builder.js.map +1 -1
- package/dist/agent/types.d.ts +3 -0
- package/dist/agent/types.d.ts.map +1 -1
- package/dist/agent/types.js.map +1 -1
- package/dist/agent-web/generator.d.ts +3 -3
- package/dist/appearance/actions/change-appearance.d.ts +6 -1
- package/dist/appearance/actions/change-appearance.d.ts.map +1 -1
- package/dist/application-state/handlers.d.ts +2 -2
- package/dist/application-state/handlers.d.ts.map +1 -1
- package/dist/application-state/store.d.ts.map +1 -1
- package/dist/application-state/store.js +17 -0
- package/dist/application-state/store.js.map +1 -1
- package/dist/catalog.json +2 -1
- package/dist/cli/code-agent-commands.d.ts.map +1 -1
- package/dist/cli/code-agent-commands.js +2 -0
- package/dist/cli/code-agent-commands.js.map +1 -1
- package/dist/cli/code-agent-connector.js +7 -13
- package/dist/cli/code-agent-connector.js.map +1 -1
- package/dist/cli/code-agent-executor.d.ts +54 -2
- package/dist/cli/code-agent-executor.d.ts.map +1 -1
- package/dist/cli/code-agent-executor.js +504 -48
- package/dist/cli/code-agent-executor.js.map +1 -1
- package/dist/cli/code-agent-runs.d.ts +13 -0
- package/dist/cli/code-agent-runs.d.ts.map +1 -1
- package/dist/cli/code-agent-runs.js +36 -0
- package/dist/cli/code-agent-runs.js.map +1 -1
- package/dist/cli/code.js +59 -5
- package/dist/cli/code.js.map +1 -1
- package/dist/cli/connect.js +141 -3
- package/dist/cli/connect.js.map +1 -1
- package/dist/cli/index.js +0 -0
- package/dist/cli/pr-visual-recap-workflow.js +1 -1
- package/dist/cli/pr-visual-recap-workflow.js.map +1 -1
- package/dist/cli/recap.js +476 -46
- package/dist/cli/recap.js.map +1 -1
- package/dist/cli/skills.js +331 -179
- package/dist/cli/skills.js.map +1 -1
- package/dist/client/AgentPanel.d.ts.map +1 -1
- package/dist/client/AgentPanel.js +29 -2
- package/dist/client/AgentPanel.js.map +1 -1
- package/dist/client/AgentTaskCard.d.ts.map +1 -1
- package/dist/client/AgentTaskCard.js +17 -2
- package/dist/client/AgentTaskCard.js.map +1 -1
- package/dist/client/AssistantChat.d.ts +1 -1
- package/dist/client/AssistantChat.d.ts.map +1 -1
- package/dist/client/AssistantChat.js +310 -1732
- package/dist/client/AssistantChat.js.map +1 -1
- package/dist/client/CommandMenu.d.ts +1 -1
- package/dist/client/CommandMenu.d.ts.map +1 -1
- package/dist/client/CommandMenu.js +1 -1
- package/dist/client/CommandMenu.js.map +1 -1
- package/dist/client/HighlightedCodeBlock.d.ts +40 -0
- package/dist/client/HighlightedCodeBlock.d.ts.map +1 -0
- package/dist/client/HighlightedCodeBlock.js +110 -0
- package/dist/client/HighlightedCodeBlock.js.map +1 -0
- package/dist/client/MultiTabAssistantChat.d.ts.map +1 -1
- package/dist/client/MultiTabAssistantChat.js +8 -1
- package/dist/client/MultiTabAssistantChat.js.map +1 -1
- package/dist/client/PoweredByBadge.d.ts +2 -2
- package/dist/client/PoweredByBadge.d.ts.map +1 -1
- package/dist/client/RunStuckBanner.d.ts +1 -1
- package/dist/client/RunStuckBanner.d.ts.map +1 -1
- package/dist/client/StarfieldBackground.d.ts.map +1 -1
- package/dist/client/StarfieldBackground.js +10 -5
- package/dist/client/StarfieldBackground.js.map +1 -1
- package/dist/client/Turnstile.d.ts +1 -1
- package/dist/client/Turnstile.d.ts.map +1 -1
- package/dist/client/agent-chat-adapter.d.ts +3 -2
- package/dist/client/agent-chat-adapter.d.ts.map +1 -1
- package/dist/client/agent-chat-adapter.js +13 -9
- package/dist/client/agent-chat-adapter.js.map +1 -1
- package/dist/client/app-providers.d.ts +99 -0
- package/dist/client/app-providers.d.ts.map +1 -0
- package/dist/client/app-providers.js +19 -0
- package/dist/client/app-providers.js.map +1 -0
- package/dist/client/assistant-ui-recovery.d.ts +1 -1
- package/dist/client/auth-redirect-url.d.ts +1 -1
- package/dist/client/auth-redirect-url.d.ts.map +1 -1
- package/dist/client/blocks/library/AnnotatedCodeBlock.d.ts +0 -19
- package/dist/client/blocks/library/AnnotatedCodeBlock.d.ts.map +1 -1
- package/dist/client/blocks/library/AnnotatedCodeBlock.js +141 -55
- package/dist/client/blocks/library/AnnotatedCodeBlock.js.map +1 -1
- package/dist/client/blocks/library/DiffBlock.js +1 -1
- package/dist/client/blocks/library/DiffBlock.js.map +1 -1
- package/dist/client/blocks/library/FileTreeBlock.d.ts.map +1 -1
- package/dist/client/blocks/library/FileTreeBlock.js +1 -1
- package/dist/client/blocks/library/FileTreeBlock.js.map +1 -1
- package/dist/client/blocks/library/HighlightedCode.d.ts.map +1 -1
- package/dist/client/blocks/library/HighlightedCode.js +5 -3
- package/dist/client/blocks/library/HighlightedCode.js.map +1 -1
- package/dist/client/blocks/library/annotation-rail.d.ts +5 -4
- package/dist/client/blocks/library/annotation-rail.d.ts.map +1 -1
- package/dist/client/blocks/library/annotation-rail.js +22 -3
- package/dist/client/blocks/library/annotation-rail.js.map +1 -1
- package/dist/client/blocks/library/diagram.js +1 -1
- package/dist/client/blocks/library/diagram.js.map +1 -1
- package/dist/client/blocks/library/diff.config.d.ts +3 -2
- package/dist/client/blocks/library/diff.config.d.ts.map +1 -1
- package/dist/client/blocks/library/diff.config.js +4 -3
- package/dist/client/blocks/library/diff.config.js.map +1 -1
- package/dist/client/blocks/library/question-form.d.ts.map +1 -1
- package/dist/client/blocks/library/question-form.js +2 -1
- package/dist/client/blocks/library/question-form.js.map +1 -1
- package/dist/client/blocks/library/wireframe-kit.d.ts +1 -1
- package/dist/client/blocks/library/wireframe-kit.d.ts.map +1 -1
- package/dist/client/blocks/library/wireframe.js +1 -1
- package/dist/client/blocks/library/wireframe.js.map +1 -1
- package/dist/client/chat/attachment-adapters.d.ts +58 -0
- package/dist/client/chat/attachment-adapters.d.ts.map +1 -0
- package/dist/client/chat/attachment-adapters.js +331 -0
- package/dist/client/chat/attachment-adapters.js.map +1 -0
- package/dist/client/chat/index.d.ts +13 -0
- package/dist/client/chat/index.d.ts.map +1 -0
- package/dist/client/chat/index.js +13 -0
- package/dist/client/chat/index.js.map +1 -0
- package/dist/client/chat/markdown-renderer.d.ts +49 -0
- package/dist/client/chat/markdown-renderer.d.ts.map +1 -0
- package/dist/client/chat/markdown-renderer.js +391 -0
- package/dist/client/chat/markdown-renderer.js.map +1 -0
- package/dist/client/chat/message-components.d.ts +35 -0
- package/dist/client/chat/message-components.d.ts.map +1 -0
- package/dist/client/chat/message-components.js +452 -0
- package/dist/client/chat/message-components.js.map +1 -0
- package/dist/client/chat/repo-helpers.d.ts +41 -0
- package/dist/client/chat/repo-helpers.d.ts.map +1 -0
- package/dist/client/chat/repo-helpers.js +61 -0
- package/dist/client/chat/repo-helpers.js.map +1 -0
- package/dist/client/chat/run-recovery.d.ts +41 -0
- package/dist/client/chat/run-recovery.d.ts.map +1 -0
- package/dist/client/chat/run-recovery.js +348 -0
- package/dist/client/chat/run-recovery.js.map +1 -0
- package/dist/client/chat/tool-call-display.d.ts +34 -0
- package/dist/client/chat/tool-call-display.d.ts.map +1 -0
- package/dist/client/chat/tool-call-display.js +284 -0
- package/dist/client/chat/tool-call-display.js.map +1 -0
- package/dist/client/code-agent-chat-adapter.d.ts.map +1 -1
- package/dist/client/code-agent-chat-adapter.js +20 -0
- package/dist/client/code-agent-chat-adapter.js.map +1 -1
- package/dist/client/collab/index.d.ts +10 -0
- package/dist/client/collab/index.d.ts.map +1 -0
- package/dist/client/collab/index.js +10 -0
- package/dist/client/collab/index.js.map +1 -0
- package/dist/client/components/AgentPresenceChip.d.ts +1 -1
- package/dist/client/components/AgentPresenceChip.d.ts.map +1 -1
- package/dist/client/components/ApiKeySettings.d.ts +1 -1
- package/dist/client/components/ApiKeySettings.d.ts.map +1 -1
- package/dist/client/components/CodeAgentIndicator.d.ts +1 -1
- package/dist/client/components/CodeAgentIndicator.d.ts.map +1 -1
- package/dist/client/components/CodeRequiredDialog.d.ts +1 -1
- package/dist/client/components/CodeRequiredDialog.d.ts.map +1 -1
- package/dist/client/components/LiveCursorOverlay.d.ts.map +1 -1
- package/dist/client/components/LiveCursorOverlay.js.map +1 -1
- package/dist/client/components/PresenceBar.d.ts +1 -1
- package/dist/client/components/PresenceBar.d.ts.map +1 -1
- package/dist/client/composer/PromptComposer.d.ts.map +1 -1
- package/dist/client/composer/PromptComposer.js +6 -26
- package/dist/client/composer/PromptComposer.js.map +1 -1
- package/dist/client/composer/TiptapComposer.d.ts +8 -2
- package/dist/client/composer/TiptapComposer.d.ts.map +1 -1
- package/dist/client/composer/TiptapComposer.js +21 -9
- package/dist/client/composer/TiptapComposer.js.map +1 -1
- package/dist/client/composer/VoiceButton.d.ts +2 -2
- package/dist/client/composer/VoiceButton.d.ts.map +1 -1
- package/dist/client/composer/index.d.ts +1 -1
- package/dist/client/composer/index.d.ts.map +1 -1
- package/dist/client/composer/index.js +1 -1
- package/dist/client/composer/index.js.map +1 -1
- package/dist/client/composer/use-skills.d.ts +1 -1
- package/dist/client/context-xray/ContextMeter.d.ts +1 -1
- package/dist/client/context-xray/ContextMeter.d.ts.map +1 -1
- package/dist/client/context-xray/ContextMeter.js +3 -3
- package/dist/client/context-xray/ContextMeter.js.map +1 -1
- package/dist/client/context-xray/ContextXRayPanel.d.ts.map +1 -1
- package/dist/client/context-xray/ContextXRayPanel.js +4 -3
- package/dist/client/context-xray/ContextXRayPanel.js.map +1 -1
- package/dist/client/context-xray/format.d.ts +11 -0
- package/dist/client/context-xray/format.d.ts.map +1 -1
- package/dist/client/context-xray/format.js +16 -0
- package/dist/client/context-xray/format.js.map +1 -1
- package/dist/client/conversation/AgentConversation.d.ts.map +1 -1
- package/dist/client/conversation/AgentConversation.js +8 -53
- package/dist/client/conversation/AgentConversation.js.map +1 -1
- package/dist/client/conversation/use-near-bottom-autoscroll.d.ts +1 -1
- package/dist/client/conversation/use-near-bottom-autoscroll.d.ts.map +1 -1
- package/dist/client/conversation/use-near-bottom-autoscroll.js +14 -1
- package/dist/client/conversation/use-near-bottom-autoscroll.js.map +1 -1
- package/dist/client/create-query-client.d.ts +28 -0
- package/dist/client/create-query-client.d.ts.map +1 -0
- package/dist/client/create-query-client.js +78 -0
- package/dist/client/create-query-client.js.map +1 -0
- package/dist/client/db-admin/DevDatabaseLink.d.ts +1 -1
- package/dist/client/db-admin/DevDatabaseLink.d.ts.map +1 -1
- package/dist/client/db-admin/RowSidePanel.d.ts +1 -1
- package/dist/client/db-admin/RowSidePanel.d.ts.map +1 -1
- package/dist/client/db-admin/RowSidePanel.js +2 -2
- package/dist/client/db-admin/RowSidePanel.js.map +1 -1
- package/dist/client/db-admin/TableEditor.d.ts +1 -1
- package/dist/client/db-admin/TableEditor.d.ts.map +1 -1
- package/dist/client/db-admin/TableEditor.js +1 -1
- package/dist/client/db-admin/TableEditor.js.map +1 -1
- package/dist/client/db-admin/cell-format.d.ts +1 -1
- package/dist/client/db-admin/cell-format.d.ts.map +1 -1
- package/dist/client/dev-overlay/DevOverlay.d.ts +1 -1
- package/dist/client/dev-overlay/DevOverlay.d.ts.map +1 -1
- package/dist/client/editor/index.d.ts +2 -0
- package/dist/client/editor/index.d.ts.map +1 -0
- package/dist/client/editor/index.js +2 -0
- package/dist/client/editor/index.js.map +1 -0
- package/dist/client/error-format.d.ts.map +1 -1
- package/dist/client/error-format.js +4 -0
- package/dist/client/error-format.js.map +1 -1
- package/dist/client/extensions/AgentNativeExtensionFrame.d.ts +1 -1
- package/dist/client/extensions/AgentNativeExtensionFrame.d.ts.map +1 -1
- package/dist/client/extensions/EmbeddedExtension.d.ts +1 -1
- package/dist/client/extensions/EmbeddedExtension.d.ts.map +1 -1
- package/dist/client/extensions/ExtensionSlot.d.ts +1 -1
- package/dist/client/extensions/ExtensionSlot.d.ts.map +1 -1
- package/dist/client/extensions/ExtensionViewerPage.d.ts +1 -1
- package/dist/client/extensions/ExtensionViewerPage.d.ts.map +1 -1
- package/dist/client/guided-questions.d.ts +6 -6
- package/dist/client/host-bridge.d.ts.map +1 -1
- package/dist/client/host-bridge.js +2 -0
- package/dist/client/host-bridge.js.map +1 -1
- package/dist/client/index.d.ts +7 -6
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +5 -3
- package/dist/client/index.js.map +1 -1
- package/dist/client/onboarding/OnboardingBanner.d.ts +1 -1
- package/dist/client/onboarding/OnboardingBanner.d.ts.map +1 -1
- package/dist/client/onboarding/OnboardingPanel.d.ts +1 -1
- package/dist/client/onboarding/OnboardingPanel.d.ts.map +1 -1
- package/dist/client/onboarding/SetupButton.d.ts +1 -1
- package/dist/client/onboarding/SetupButton.d.ts.map +1 -1
- package/dist/client/org/InvitationBanner.d.ts +1 -1
- package/dist/client/org/InvitationBanner.d.ts.map +1 -1
- package/dist/client/org/OrgSwitcher.d.ts +1 -1
- package/dist/client/org/OrgSwitcher.d.ts.map +1 -1
- package/dist/client/org/RequireActiveOrg.d.ts +1 -1
- package/dist/client/org/RequireActiveOrg.d.ts.map +1 -1
- package/dist/client/org/hooks.d.ts +3 -3
- package/dist/client/org/hooks.d.ts.map +1 -1
- package/dist/client/progress/RunsTray.d.ts +2 -2
- package/dist/client/progress/RunsTray.d.ts.map +1 -1
- package/dist/client/progress/RunsTray.js +34 -9
- package/dist/client/progress/RunsTray.js.map +1 -1
- package/dist/client/resources/ResourceEditor.d.ts.map +1 -1
- package/dist/client/resources/ResourceEditor.js +1 -1
- package/dist/client/resources/ResourceEditor.js.map +1 -1
- package/dist/client/resources/ResourcesPanel.d.ts.map +1 -1
- package/dist/client/resources/ResourcesPanel.js +2 -0
- package/dist/client/resources/ResourcesPanel.js.map +1 -1
- package/dist/client/rich-markdown-editor/BubbleToolbar.d.ts +1 -1
- package/dist/client/rich-markdown-editor/BubbleToolbar.d.ts.map +1 -1
- package/dist/client/rich-markdown-editor/CodeBlockNode.d.ts.map +1 -1
- package/dist/client/rich-markdown-editor/CodeBlockNode.js +2 -1
- package/dist/client/rich-markdown-editor/CodeBlockNode.js.map +1 -1
- package/dist/client/rich-markdown-editor/ImageExtension.d.ts.map +1 -1
- package/dist/client/rich-markdown-editor/ImageExtension.js +2 -1
- package/dist/client/rich-markdown-editor/ImageExtension.js.map +1 -1
- package/dist/client/rich-markdown-editor/RegistryBlockNode.d.ts +1 -1
- package/dist/client/rich-markdown-editor/RegistryBlockNode.d.ts.map +1 -1
- package/dist/client/rich-markdown-editor/RegistryBlockNode.js +1 -1
- package/dist/client/rich-markdown-editor/RegistryBlockNode.js.map +1 -1
- package/dist/client/rich-markdown-editor/RichMarkdownEditor.d.ts +1 -1
- package/dist/client/rich-markdown-editor/SharedRichEditor.d.ts.map +1 -1
- package/dist/client/rich-markdown-editor/SharedRichEditor.js +2 -3
- package/dist/client/rich-markdown-editor/SharedRichEditor.js.map +1 -1
- package/dist/client/rich-markdown-editor/SlashCommandMenu.d.ts +1 -1
- package/dist/client/rich-markdown-editor/SlashCommandMenu.d.ts.map +1 -1
- package/dist/client/route-state.d.ts +12 -2
- package/dist/client/route-state.d.ts.map +1 -1
- package/dist/client/route-state.js +1 -1
- package/dist/client/route-state.js.map +1 -1
- package/dist/client/route-warmup.d.ts +1 -1
- package/dist/client/route-warmup.d.ts.map +1 -1
- package/dist/client/settings/VoiceTranscriptionSection.js +1 -1
- package/dist/client/settings/VoiceTranscriptionSection.js.map +1 -1
- package/dist/client/settings/useBuilderStatus.d.ts +2 -2
- package/dist/client/sharing/ShareDialog.d.ts +1 -1
- package/dist/client/sharing/ShareDialog.d.ts.map +1 -1
- package/dist/client/sse-event-processor.d.ts +8 -0
- package/dist/client/sse-event-processor.d.ts.map +1 -1
- package/dist/client/sse-event-processor.js +33 -10
- package/dist/client/sse-event-processor.js.map +1 -1
- package/dist/client/terminal/AgentTerminal.d.ts +1 -1
- package/dist/client/terminal/AgentTerminal.d.ts.map +1 -1
- package/dist/client/terminal/AgentTerminal.js +4 -2
- package/dist/client/terminal/AgentTerminal.js.map +1 -1
- package/dist/client/tool-cells/BashCell.d.ts +25 -0
- package/dist/client/tool-cells/BashCell.d.ts.map +1 -0
- package/dist/client/tool-cells/BashCell.js +49 -0
- package/dist/client/tool-cells/BashCell.js.map +1 -0
- package/dist/client/tool-cells/EditCell.d.ts +24 -0
- package/dist/client/tool-cells/EditCell.d.ts.map +1 -0
- package/dist/client/tool-cells/EditCell.js +126 -0
- package/dist/client/tool-cells/EditCell.js.map +1 -0
- package/dist/client/tool-cells/FilesChangedSummary.d.ts +13 -0
- package/dist/client/tool-cells/FilesChangedSummary.d.ts.map +1 -0
- package/dist/client/tool-cells/FilesChangedSummary.js +98 -0
- package/dist/client/tool-cells/FilesChangedSummary.js.map +1 -0
- package/dist/client/tool-cells/WriteCell.d.ts +17 -0
- package/dist/client/tool-cells/WriteCell.d.ts.map +1 -0
- package/dist/client/tool-cells/WriteCell.js +26 -0
- package/dist/client/tool-cells/WriteCell.js.map +1 -0
- package/dist/client/tool-cells/index.d.ts +8 -0
- package/dist/client/tool-cells/index.d.ts.map +1 -0
- package/dist/client/tool-cells/index.js +5 -0
- package/dist/client/tool-cells/index.js.map +1 -0
- package/dist/client/transcription/BuilderTranscriptionCta.d.ts +1 -1
- package/dist/client/transcription/BuilderTranscriptionCta.d.ts.map +1 -1
- package/dist/client/use-chat-threads.d.ts +1 -1
- package/dist/client/use-chat-threads.d.ts.map +1 -1
- package/dist/client/use-chat-threads.js +11 -8
- package/dist/client/use-chat-threads.js.map +1 -1
- package/dist/client/use-db-sync.d.ts +2 -0
- package/dist/client/use-db-sync.d.ts.map +1 -1
- package/dist/client/use-db-sync.js +329 -302
- package/dist/client/use-db-sync.js.map +1 -1
- package/dist/code-agents/transcript-normalizer.d.ts +15 -1
- package/dist/code-agents/transcript-normalizer.d.ts.map +1 -1
- package/dist/code-agents/transcript-normalizer.js +47 -0
- package/dist/code-agents/transcript-normalizer.js.map +1 -1
- package/dist/coding-tools/index.d.ts +75 -0
- package/dist/coding-tools/index.d.ts.map +1 -1
- package/dist/coding-tools/index.js +137 -10
- package/dist/coding-tools/index.js.map +1 -1
- package/dist/coding-tools/run-code.d.ts +40 -0
- package/dist/coding-tools/run-code.d.ts.map +1 -0
- package/dist/coding-tools/run-code.js +511 -0
- package/dist/coding-tools/run-code.js.map +1 -0
- package/dist/collab/client.d.ts.map +1 -1
- package/dist/collab/client.js +15 -9
- package/dist/collab/client.js.map +1 -1
- package/dist/collab/ydoc-manager.d.ts +1 -1
- package/dist/collab/ydoc-manager.d.ts.map +1 -1
- package/dist/collab/ydoc-manager.js +1 -1
- package/dist/collab/ydoc-manager.js.map +1 -1
- package/dist/db/client.d.ts +9 -1
- package/dist/db/client.d.ts.map +1 -1
- package/dist/db/client.js +204 -48
- package/dist/db/client.js.map +1 -1
- package/dist/db/create-get-db.d.ts +38 -0
- package/dist/db/create-get-db.d.ts.map +1 -1
- package/dist/db/create-get-db.js +204 -4
- package/dist/db/create-get-db.js.map +1 -1
- package/dist/db/migrations.d.ts.map +1 -1
- package/dist/db/migrations.js +159 -67
- package/dist/db/migrations.js.map +1 -1
- package/dist/demo/actions/toggle-demo-mode.d.ts +6 -1
- package/dist/demo/actions/toggle-demo-mode.d.ts.map +1 -1
- package/dist/deploy/build.d.ts.map +1 -1
- package/dist/deploy/build.js +80 -39
- package/dist/deploy/build.js.map +1 -1
- package/dist/deploy/workspace-deploy.js +20 -10
- package/dist/deploy/workspace-deploy.js.map +1 -1
- package/dist/extensions/fetch-tool.d.ts.map +1 -1
- package/dist/extensions/fetch-tool.js +62 -7
- package/dist/extensions/fetch-tool.js.map +1 -1
- package/dist/extensions/schema.d.ts +51 -51
- package/dist/extensions/slots/schema.d.ts +13 -13
- package/dist/extensions/web-search-tool.d.ts +41 -0
- package/dist/extensions/web-search-tool.d.ts.map +1 -0
- package/dist/extensions/web-search-tool.js +200 -0
- package/dist/extensions/web-search-tool.js.map +1 -0
- package/dist/file-upload/actions/upload-image.d.ts +26 -1
- package/dist/file-upload/actions/upload-image.d.ts.map +1 -1
- package/dist/file-upload/index.d.ts +1 -1
- package/dist/file-upload/index.d.ts.map +1 -1
- package/dist/file-upload/index.js +1 -1
- package/dist/file-upload/index.js.map +1 -1
- package/dist/file-upload/pre-upload-attachments.d.ts +37 -0
- package/dist/file-upload/pre-upload-attachments.d.ts.map +1 -1
- package/dist/file-upload/pre-upload-attachments.js +79 -19
- package/dist/file-upload/pre-upload-attachments.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/integrations/adapters/slack.js +1 -1
- package/dist/integrations/adapters/slack.js.map +1 -1
- package/dist/integrations/plugin.js +1 -1
- package/dist/integrations/plugin.js.map +1 -1
- package/dist/jobs/scheduler.js +70 -21
- package/dist/jobs/scheduler.js.map +1 -1
- package/dist/mcp/actions/create-org-service-token.d.ts +14 -0
- package/dist/mcp/actions/create-org-service-token.d.ts.map +1 -0
- package/dist/mcp/actions/create-org-service-token.js +74 -0
- package/dist/mcp/actions/create-org-service-token.js.map +1 -0
- package/dist/mcp/actions/list-org-service-tokens.d.ts +17 -0
- package/dist/mcp/actions/list-org-service-tokens.d.ts.map +1 -0
- package/dist/mcp/actions/list-org-service-tokens.js +42 -0
- package/dist/mcp/actions/list-org-service-tokens.js.map +1 -0
- package/dist/mcp/actions/revoke-org-service-token.d.ts +7 -0
- package/dist/mcp/actions/revoke-org-service-token.d.ts.map +1 -0
- package/dist/mcp/actions/revoke-org-service-token.js +28 -0
- package/dist/mcp/actions/revoke-org-service-token.js.map +1 -0
- package/dist/mcp/actions/service-token-access.d.ts +24 -0
- package/dist/mcp/actions/service-token-access.d.ts.map +1 -0
- package/dist/mcp/actions/service-token-access.js +63 -0
- package/dist/mcp/actions/service-token-access.js.map +1 -0
- package/dist/mcp/build-server.d.ts +42 -11
- package/dist/mcp/build-server.d.ts.map +1 -1
- package/dist/mcp/build-server.js +53 -3
- package/dist/mcp/build-server.js.map +1 -1
- package/dist/mcp/connect-route.d.ts +35 -0
- package/dist/mcp/connect-route.d.ts.map +1 -1
- package/dist/mcp/connect-route.js +57 -2
- package/dist/mcp/connect-route.js.map +1 -1
- package/dist/mcp/connect-store.d.ts +43 -0
- package/dist/mcp/connect-store.d.ts.map +1 -1
- package/dist/mcp/connect-store.js +129 -12
- package/dist/mcp/connect-store.js.map +1 -1
- package/dist/mcp/oauth-token.d.ts +10 -0
- package/dist/mcp/oauth-token.d.ts.map +1 -1
- package/dist/mcp/oauth-token.js +2 -0
- package/dist/mcp/oauth-token.js.map +1 -1
- package/dist/mcp/server.d.ts.map +1 -1
- package/dist/mcp/server.js +3 -0
- package/dist/mcp/server.js.map +1 -1
- package/dist/mcp-client/routes.js +1 -1
- package/dist/mcp-client/routes.js.map +1 -1
- package/dist/org/context.d.ts +4 -0
- package/dist/org/context.d.ts.map +1 -1
- package/dist/org/context.js +10 -0
- package/dist/org/context.js.map +1 -1
- package/dist/org/handlers.d.ts +11 -7
- package/dist/org/handlers.d.ts.map +1 -1
- package/dist/org/handlers.js +0 -8
- package/dist/org/handlers.js.map +1 -1
- package/dist/org/migrations.d.ts.map +1 -1
- package/dist/org/migrations.js +8 -0
- package/dist/org/migrations.js.map +1 -1
- package/dist/org/schema.d.ts +15 -15
- package/dist/progress/actions.d.ts.map +1 -1
- package/dist/progress/actions.js +13 -5
- package/dist/progress/actions.js.map +1 -1
- package/dist/provider-api/actions/delete-staged-dataset.d.ts +9 -0
- package/dist/provider-api/actions/delete-staged-dataset.d.ts.map +1 -0
- package/dist/provider-api/actions/delete-staged-dataset.js +35 -0
- package/dist/provider-api/actions/delete-staged-dataset.js.map +1 -0
- package/dist/provider-api/actions/list-staged-datasets.d.ts +15 -0
- package/dist/provider-api/actions/list-staged-datasets.d.ts.map +1 -0
- package/dist/provider-api/actions/list-staged-datasets.js +41 -0
- package/dist/provider-api/actions/list-staged-datasets.js.map +1 -0
- package/dist/provider-api/actions/query-staged-dataset.d.ts +29 -0
- package/dist/provider-api/actions/query-staged-dataset.d.ts.map +1 -0
- package/dist/provider-api/actions/query-staged-dataset.js +116 -0
- package/dist/provider-api/actions/query-staged-dataset.js.map +1 -0
- package/dist/provider-api/custom-registry.d.ts +92 -0
- package/dist/provider-api/custom-registry.d.ts.map +1 -0
- package/dist/provider-api/custom-registry.js +289 -0
- package/dist/provider-api/custom-registry.js.map +1 -0
- package/dist/provider-api/index.d.ts +88 -52
- package/dist/provider-api/index.d.ts.map +1 -1
- package/dist/provider-api/index.js +569 -23
- package/dist/provider-api/index.js.map +1 -1
- package/dist/provider-api/staged-datasets-aggregate.d.ts +46 -0
- package/dist/provider-api/staged-datasets-aggregate.d.ts.map +1 -0
- package/dist/provider-api/staged-datasets-aggregate.js +209 -0
- package/dist/provider-api/staged-datasets-aggregate.js.map +1 -0
- package/dist/provider-api/staged-datasets-store.d.ts +76 -0
- package/dist/provider-api/staged-datasets-store.d.ts.map +1 -0
- package/dist/provider-api/staged-datasets-store.js +319 -0
- package/dist/provider-api/staged-datasets-store.js.map +1 -0
- package/dist/provider-api/staging.d.ts +100 -0
- package/dist/provider-api/staging.d.ts.map +1 -0
- package/dist/provider-api/staging.js +281 -0
- package/dist/provider-api/staging.js.map +1 -0
- package/dist/resources/handlers.d.ts.map +1 -1
- package/dist/resources/handlers.js +13 -1
- package/dist/resources/handlers.js.map +1 -1
- package/dist/scripts/call-agent.d.ts.map +1 -1
- package/dist/scripts/call-agent.js +1 -2
- package/dist/scripts/call-agent.js.map +1 -1
- package/dist/scripts/resources/migrate-learnings.d.ts +1 -1
- package/dist/scripts/resources/migrate-learnings.d.ts.map +1 -1
- package/dist/scripts/resources/migrate-learnings.js +1 -1
- package/dist/scripts/resources/migrate-learnings.js.map +1 -1
- package/dist/secrets/register-framework-secrets.d.ts.map +1 -1
- package/dist/secrets/register-framework-secrets.js +36 -3
- package/dist/secrets/register-framework-secrets.js.map +1 -1
- package/dist/secrets/schema.d.ts +7 -7
- package/dist/server/action-discovery.d.ts.map +1 -1
- package/dist/server/action-discovery.js +14 -0
- package/dist/server/action-discovery.js.map +1 -1
- package/dist/server/action-routes.d.ts.map +1 -1
- package/dist/server/action-routes.js +3 -2
- package/dist/server/action-routes.js.map +1 -1
- package/dist/server/agent-chat-plugin.d.ts +69 -0
- package/dist/server/agent-chat-plugin.d.ts.map +1 -1
- package/dist/server/agent-chat-plugin.js +369 -179
- package/dist/server/agent-chat-plugin.js.map +1 -1
- package/dist/server/agent-discovery.d.ts.map +1 -1
- package/dist/server/agent-discovery.js +13 -16
- package/dist/server/agent-discovery.js.map +1 -1
- package/dist/server/agent-teams-run-queue.d.ts +31 -8
- package/dist/server/agent-teams-run-queue.d.ts.map +1 -1
- package/dist/server/agent-teams-run-queue.js +61 -18
- package/dist/server/agent-teams-run-queue.js.map +1 -1
- package/dist/server/agent-teams.d.ts +27 -1
- package/dist/server/agent-teams.d.ts.map +1 -1
- package/dist/server/agent-teams.js +214 -14
- package/dist/server/agent-teams.js.map +1 -1
- package/dist/server/app-base-path.d.ts +20 -0
- package/dist/server/app-base-path.d.ts.map +1 -1
- package/dist/server/app-base-path.js +36 -0
- package/dist/server/app-base-path.js.map +1 -1
- package/dist/server/attachment-actions.d.ts +43 -0
- package/dist/server/attachment-actions.d.ts.map +1 -0
- package/dist/server/attachment-actions.js +214 -0
- package/dist/server/attachment-actions.js.map +1 -0
- package/dist/server/auth.js +1 -1
- package/dist/server/auth.js.map +1 -1
- package/dist/server/complete-text.d.ts +56 -0
- package/dist/server/complete-text.d.ts.map +1 -0
- package/dist/server/complete-text.js +147 -0
- package/dist/server/complete-text.js.map +1 -0
- package/dist/server/core-routes-plugin.d.ts +1 -0
- package/dist/server/core-routes-plugin.d.ts.map +1 -1
- package/dist/server/core-routes-plugin.js +37 -27
- package/dist/server/core-routes-plugin.js.map +1 -1
- package/dist/server/cors-origins.d.ts.map +1 -1
- package/dist/server/cors-origins.js +6 -1
- package/dist/server/cors-origins.js.map +1 -1
- package/dist/server/create-server.d.ts.map +1 -1
- package/dist/server/create-server.js +2 -1
- package/dist/server/create-server.js.map +1 -1
- package/dist/server/csrf.d.ts +1 -1
- package/dist/server/csrf.d.ts.map +1 -1
- package/dist/server/email-actions.d.ts +19 -0
- package/dist/server/email-actions.d.ts.map +1 -0
- package/dist/server/email-actions.js +191 -0
- package/dist/server/email-actions.js.map +1 -0
- package/dist/server/embed-route.js +1 -1
- package/dist/server/embed-route.js.map +1 -1
- package/dist/server/embed-session.d.ts.map +1 -1
- package/dist/server/embed-session.js +5 -1
- package/dist/server/embed-session.js.map +1 -1
- package/dist/server/entry-server.d.ts +24 -0
- package/dist/server/entry-server.d.ts.map +1 -0
- package/dist/server/entry-server.js +54 -0
- package/dist/server/entry-server.js.map +1 -0
- package/dist/server/framework-request-handler.d.ts.map +1 -1
- package/dist/server/framework-request-handler.js +2 -10
- package/dist/server/framework-request-handler.js.map +1 -1
- package/dist/server/google-oauth.d.ts.map +1 -1
- package/dist/server/google-oauth.js +2 -9
- package/dist/server/google-oauth.js.map +1 -1
- package/dist/server/google-realtime-session.d.ts.map +1 -1
- package/dist/server/google-realtime-session.js +6 -4
- package/dist/server/google-realtime-session.js.map +1 -1
- package/dist/server/h3-helpers.d.ts +39 -0
- package/dist/server/h3-helpers.d.ts.map +1 -1
- package/dist/server/h3-helpers.js +104 -1
- package/dist/server/h3-helpers.js.map +1 -1
- package/dist/server/index.d.ts +2 -1
- package/dist/server/index.d.ts.map +1 -1
- package/dist/server/index.js +2 -1
- package/dist/server/index.js.map +1 -1
- package/dist/server/onboarding-html.d.ts.map +1 -1
- package/dist/server/onboarding-html.js +1 -8
- package/dist/server/onboarding-html.js.map +1 -1
- package/dist/server/open-route.d.ts.map +1 -1
- package/dist/server/open-route.js +1 -0
- package/dist/server/open-route.js.map +1 -1
- package/dist/server/prompts/framework-core-compact.d.ts +19 -0
- package/dist/server/prompts/framework-core-compact.d.ts.map +1 -0
- package/dist/server/prompts/framework-core-compact.js +69 -0
- package/dist/server/prompts/framework-core-compact.js.map +1 -0
- package/dist/server/prompts/framework-core.d.ts +26 -0
- package/dist/server/prompts/framework-core.d.ts.map +1 -0
- package/dist/server/prompts/framework-core.js +130 -0
- package/dist/server/prompts/framework-core.js.map +1 -0
- package/dist/server/prompts/index.d.ts +9 -0
- package/dist/server/prompts/index.d.ts.map +1 -0
- package/dist/server/prompts/index.js +9 -0
- package/dist/server/prompts/index.js.map +1 -0
- package/dist/server/prompts/model-overlays.d.ts +18 -0
- package/dist/server/prompts/model-overlays.d.ts.map +1 -0
- package/dist/server/prompts/model-overlays.js +46 -0
- package/dist/server/prompts/model-overlays.js.map +1 -0
- package/dist/server/prompts/shared-rules.d.ts +29 -0
- package/dist/server/prompts/shared-rules.d.ts.map +1 -0
- package/dist/server/prompts/shared-rules.js +54 -0
- package/dist/server/prompts/shared-rules.js.map +1 -0
- package/dist/server/security-headers.d.ts +7 -1
- package/dist/server/security-headers.d.ts.map +1 -1
- package/dist/server/security-headers.js +11 -0
- package/dist/server/security-headers.js.map +1 -1
- package/dist/server/ssr-handler.d.ts.map +1 -1
- package/dist/server/ssr-handler.js +135 -46
- package/dist/server/ssr-handler.js.map +1 -1
- package/dist/server/transcribe-voice.d.ts.map +1 -1
- package/dist/server/transcribe-voice.js +7 -4
- package/dist/server/transcribe-voice.js.map +1 -1
- package/dist/settings/store.d.ts.map +1 -1
- package/dist/settings/store.js +9 -0
- package/dist/settings/store.js.map +1 -1
- package/dist/shared/markdown-block-split.d.ts +39 -0
- package/dist/shared/markdown-block-split.d.ts.map +1 -0
- package/dist/shared/markdown-block-split.js +97 -0
- package/dist/shared/markdown-block-split.js.map +1 -0
- package/dist/shared/reasoning-effort.js +13 -1
- package/dist/shared/reasoning-effort.js.map +1 -1
- package/dist/shared/streaming-text-smoothing.d.ts +18 -0
- package/dist/shared/streaming-text-smoothing.d.ts.map +1 -1
- package/dist/shared/streaming-text-smoothing.js +70 -4
- package/dist/shared/streaming-text-smoothing.js.map +1 -1
- package/dist/sharing/actions/list-resource-shares.d.ts +24 -1
- package/dist/sharing/actions/list-resource-shares.d.ts.map +1 -1
- package/dist/sharing/actions/set-resource-visibility.d.ts +8 -1
- package/dist/sharing/actions/set-resource-visibility.d.ts.map +1 -1
- package/dist/sharing/actions/share-resource.d.ts +12 -1
- package/dist/sharing/actions/share-resource.d.ts.map +1 -1
- package/dist/sharing/actions/unshare-resource.d.ts +8 -1
- package/dist/sharing/actions/unshare-resource.d.ts.map +1 -1
- package/dist/sharing/schema.d.ts +10 -10
- package/dist/styles/agent-conversation.css +239 -0
- package/dist/templates/default/.agents/skills/delegate-to-agent/SKILL.md +50 -2
- package/dist/templates/default/AGENTS.md +1 -1
- package/dist/templates/default/DEVELOPING.md +19 -0
- package/dist/templates/default/app/entry.client.tsx +4 -1
- package/dist/templates/default/app/entry.server.tsx +4 -56
- package/dist/templates/default/app/global.css +3 -2
- package/dist/templates/default/app/root.tsx +8 -24
- package/dist/templates/default/app/routes/_index.tsx +0 -13
- package/dist/templates/default/package.json +6 -5
- package/dist/templates/default/tsconfig.json +2 -1
- package/dist/templates/starter-shell-sync.spec.ts +118 -0
- package/dist/templates/ui-primitives-sync.spec.ts +399 -0
- package/dist/templates/workspace-core/.agents/skills/delegate-to-agent/SKILL.md +50 -2
- package/dist/terminal/pty-server.js +1 -1
- package/dist/terminal/pty-server.js.map +1 -1
- package/dist/triggers/dispatcher.js +1 -1
- package/dist/triggers/dispatcher.js.map +1 -1
- package/dist/usage/store.d.ts.map +1 -1
- package/dist/usage/store.js +60 -7
- package/dist/usage/store.js.map +1 -1
- package/dist/vite/client.d.ts.map +1 -1
- package/dist/vite/client.js +44 -12
- package/dist/vite/client.js.map +1 -1
- package/dist/workspace-files/index.d.ts +4 -0
- package/dist/workspace-files/index.d.ts.map +1 -0
- package/dist/workspace-files/index.js +4 -0
- package/dist/workspace-files/index.js.map +1 -0
- package/dist/workspace-files/schema.d.ts +195 -0
- package/dist/workspace-files/schema.d.ts.map +1 -0
- package/dist/workspace-files/schema.js +48 -0
- package/dist/workspace-files/schema.js.map +1 -0
- package/dist/workspace-files/store.d.ts +89 -0
- package/dist/workspace-files/store.d.ts.map +1 -0
- package/dist/workspace-files/store.js +298 -0
- package/dist/workspace-files/store.js.map +1 -0
- package/dist/workspace-files/tool.d.ts +15 -0
- package/dist/workspace-files/tool.d.ts.map +1 -0
- package/dist/workspace-files/tool.js +225 -0
- package/dist/workspace-files/tool.js.map +1 -0
- package/docs/content/a2a-protocol.md +18 -12
- package/docs/content/actions.md +42 -10
- package/docs/content/agent-mentions.md +7 -8
- package/docs/content/agent-teams.md +23 -37
- package/docs/content/agent-web-surfaces.md +18 -9
- package/docs/content/authentication.md +6 -17
- package/docs/content/automations.md +43 -15
- package/docs/content/cli-adapters.md +25 -24
- package/docs/content/client.md +66 -17
- package/docs/content/cloneable-saas.md +19 -23
- package/docs/content/code-agents-ui.md +3 -31
- package/docs/content/components.md +308 -0
- package/docs/content/context-awareness.md +4 -0
- package/docs/content/creating-templates.md +4 -2
- package/docs/content/cross-app-sso.md +45 -19
- package/docs/content/database.md +26 -1
- package/docs/content/deployment.md +3 -1
- package/docs/content/dispatch.md +9 -37
- package/docs/content/drop-in-agent.md +123 -2
- package/docs/content/embedding-sdk.md +35 -0
- package/docs/content/extensions.md +2 -2
- package/docs/content/external-agents.md +86 -171
- package/docs/content/faq.md +6 -27
- package/docs/content/frames.md +9 -12
- package/docs/content/getting-started.md +80 -77
- package/docs/content/key-concepts.md +29 -19
- package/docs/content/mcp-apps.md +103 -0
- package/docs/content/mcp-clients.md +2 -2
- package/docs/content/mcp-protocol.md +40 -17
- package/docs/content/messaging.md +11 -4
- package/docs/content/migration-workbench.md +4 -47
- package/docs/content/multi-app-workspace.md +48 -17
- package/docs/content/multi-tenancy.md +1 -1
- package/docs/content/notifications.md +8 -6
- package/docs/content/observability.md +26 -15
- package/docs/content/onboarding.md +7 -1
- package/docs/content/pr-visual-recap.md +203 -23
- package/docs/content/progress.md +5 -5
- package/docs/content/pure-agent-apps.md +3 -1
- package/docs/content/real-time-collaboration.md +106 -0
- package/docs/content/recurring-jobs.md +17 -1
- package/docs/content/security.md +17 -3
- package/docs/content/server.md +39 -3
- package/docs/content/sharing.md +20 -1
- package/docs/content/skills-guide.md +151 -125
- package/docs/content/template-analytics.md +8 -0
- package/docs/content/template-assets.md +2 -0
- package/docs/content/template-brain.md +59 -3
- package/docs/content/template-calendar.md +8 -0
- package/docs/content/template-clips.md +11 -2
- package/docs/content/template-content.md +24 -4
- package/docs/content/template-design.md +19 -17
- package/docs/content/template-dispatch.md +2 -0
- package/docs/content/template-forms.md +28 -1
- package/docs/content/template-mail.md +17 -0
- package/docs/content/template-plan.md +177 -10
- package/docs/content/template-slides.md +51 -12
- package/docs/content/template-videos.md +17 -0
- package/docs/content/tracking.md +17 -13
- package/docs/content/using-your-agent.md +15 -5
- package/docs/content/voice-input.md +1 -1
- package/docs/content/what-is-agent-native.md +5 -6
- package/docs/content/workspace-connections.md +138 -424
- package/docs/content/workspace-management.md +12 -128
- package/docs/content/workspace.md +125 -199
- package/docs/content/writing-agent-instructions.md +17 -1
- package/package.json +26 -6
- package/src/templates/default/.agents/skills/delegate-to-agent/SKILL.md +50 -2
- package/src/templates/default/AGENTS.md +1 -1
- package/src/templates/default/DEVELOPING.md +19 -0
- package/src/templates/default/app/entry.client.tsx +4 -1
- package/src/templates/default/app/entry.server.tsx +4 -56
- package/src/templates/default/app/global.css +3 -2
- package/src/templates/default/app/root.tsx +8 -24
- package/src/templates/default/app/routes/_index.tsx +0 -13
- package/src/templates/default/package.json +6 -5
- package/src/templates/default/tsconfig.json +2 -1
- package/src/templates/starter-shell-sync.spec.ts +118 -0
- package/src/templates/ui-primitives-sync.spec.ts +399 -0
- package/src/templates/workspace-core/.agents/skills/delegate-to-agent/SKILL.md +50 -2
- package/tsconfig.base.json +2 -10
- package/dist/cli/app-skill.d.ts +0 -157
- package/dist/cli/app-skill.d.ts.map +0 -1
- package/dist/cli/audit-agent-web.d.ts +0 -2
- package/dist/cli/audit-agent-web.d.ts.map +0 -1
- package/dist/cli/code-agent-connector.d.ts +0 -17
- package/dist/cli/code-agent-connector.d.ts.map +0 -1
- package/dist/cli/code.d.ts +0 -66
- package/dist/cli/code.d.ts.map +0 -1
- package/dist/cli/connect.d.ts +0 -140
- package/dist/cli/connect.d.ts.map +0 -1
- package/dist/cli/context-xray-local.d.ts +0 -16
- package/dist/cli/context-xray-local.d.ts.map +0 -1
- package/dist/cli/create-workspace.d.ts +0 -8
- package/dist/cli/create-workspace.d.ts.map +0 -1
- package/dist/cli/index.d.ts +0 -3
- package/dist/cli/index.d.ts.map +0 -1
- package/dist/cli/info.d.ts +0 -2
- package/dist/cli/info.d.ts.map +0 -1
- package/dist/cli/mcp-config-writers.d.ts +0 -82
- package/dist/cli/mcp-config-writers.d.ts.map +0 -1
- package/dist/cli/mcp.d.ts +0 -16
- package/dist/cli/mcp.d.ts.map +0 -1
- package/dist/cli/migrate.d.ts +0 -38
- package/dist/cli/migrate.d.ts.map +0 -1
- package/dist/cli/plan-local.d.ts +0 -43
- package/dist/cli/plan-local.d.ts.map +0 -1
- package/dist/cli/plan-publish-store.d.ts +0 -62
- package/dist/cli/plan-publish-store.d.ts.map +0 -1
- package/dist/cli/pr-visual-recap-workflow.d.ts +0 -11
- package/dist/cli/pr-visual-recap-workflow.d.ts.map +0 -1
- package/dist/cli/recap.d.ts +0 -297
- package/dist/cli/recap.d.ts.map +0 -1
- package/dist/cli/skills.d.ts +0 -162
- package/dist/cli/skills.d.ts.map +0 -1
- package/dist/cli/workspace-dev.d.ts +0 -96
- package/dist/cli/workspace-dev.d.ts.map +0 -1
|
@@ -5,7 +5,7 @@ description: "Branching, CODEOWNERS, PR review, and how Dispatch handles runtime
|
|
|
5
5
|
|
|
6
6
|
# Workspace Governance
|
|
7
7
|
|
|
8
|
-
This guide covers the operational side of running an agent-native workspace — how to branch, who reviews what, how to set up code ownership, and how the
|
|
8
|
+
This guide covers the operational side of running an agent-native workspace — how to branch, who reviews what, how to set up code ownership, and how the Dispatch control plane fits into your governance model.
|
|
9
9
|
|
|
10
10
|
For workspace setup, shared auth, and deployment, see [Multi-App Workspaces](/docs/multi-app-workspace).
|
|
11
11
|
|
|
@@ -34,33 +34,16 @@ Keep branches short-lived. Long-lived branches diverge from main and create pain
|
|
|
34
34
|
|
|
35
35
|
### Non-Developer Branching
|
|
36
36
|
|
|
37
|
-
Not everyone who needs to make changes is comfortable with git.
|
|
38
|
-
|
|
39
|
-
[Builder.io](https://www.builder.io) supports a visual branching model that maps to git branches under the hood:
|
|
40
|
-
|
|
41
|
-
- Create branches from Builder's dashboard — no terminal needed
|
|
42
|
-
- Edit content, components, layouts, and configuration visually
|
|
43
|
-
- Preview changes in isolation before merging
|
|
44
|
-
- Changes map to git branches, so developer and non-developer work converges
|
|
45
|
-
|
|
46
|
-
This is useful for content and copy changes, layout adjustments, design iterations, and A/B testing — work that shouldn't require a dev environment. Developer code changes and Builder visual changes can coexist on the same branch.
|
|
37
|
+
Not everyone who needs to make changes is comfortable with git. [Builder.io](https://www.builder.io) supports a visual branching model that maps to git branches under the hood — useful for content and copy changes, layout adjustments, design iterations, and A/B testing without a dev environment.
|
|
47
38
|
|
|
48
39
|
## Code Ownership
|
|
49
40
|
|
|
50
|
-
GitHub's CODEOWNERS file auto-assigns reviewers to PRs based on which files changed.
|
|
51
|
-
|
|
52
|
-
### Example CODEOWNERS
|
|
53
|
-
|
|
54
|
-
Create `.github/CODEOWNERS` at the repo root:
|
|
41
|
+
GitHub's CODEOWNERS file auto-assigns reviewers to PRs based on which files changed. Create `.github/CODEOWNERS` at the repo root:
|
|
55
42
|
|
|
56
43
|
```
|
|
57
|
-
# Framework core — platform
|
|
58
|
-
# because they affect every app in the workspace
|
|
44
|
+
# Framework core — affects every app; platform team reviews all changes
|
|
59
45
|
packages/core/ @your-org/platform-team
|
|
60
46
|
|
|
61
|
-
# Desktop app shell
|
|
62
|
-
packages/desktop-app/ @your-org/platform-team
|
|
63
|
-
|
|
64
47
|
# Dispatch control plane — secrets, integrations, workspace resources
|
|
65
48
|
templates/dispatch/ @your-org/platform-team
|
|
66
49
|
|
|
@@ -68,94 +51,38 @@ templates/dispatch/ @your-org/platform-team
|
|
|
68
51
|
templates/mail/ @your-org/mail-team
|
|
69
52
|
templates/analytics/ @your-org/analytics-team
|
|
70
53
|
templates/calendar/ @your-org/calendar-team
|
|
71
|
-
|
|
72
|
-
templates/design/ @your-org/design-team
|
|
73
|
-
templates/forms/ @your-org/forms-team
|
|
74
|
-
templates/clips/ @your-org/clips-team
|
|
75
|
-
templates/slides/ @your-org/slides-team
|
|
76
|
-
templates/videos/ @your-org/videos-team
|
|
54
|
+
# ... add an entry per app
|
|
77
55
|
|
|
78
56
|
# Workspace-level config — broad review since it affects everyone
|
|
79
57
|
.github/ @your-org/platform-team
|
|
80
58
|
package.json @your-org/platform-team
|
|
81
59
|
pnpm-workspace.yaml @your-org/platform-team
|
|
82
|
-
.env.example @your-org/platform-team
|
|
83
60
|
```
|
|
84
61
|
|
|
85
|
-
|
|
62
|
+
Key tips: use GitHub teams (`@org/team`), not individuals. Framework and Dispatch changes should always require platform review. See [GitHub CODEOWNERS docs](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners) for glob syntax and multiple-owner patterns.
|
|
86
63
|
|
|
87
|
-
|
|
88
|
-
- **Framework changes need platform review.** A one-line change in `packages/core/` can break every app. The platform team should always see these.
|
|
89
|
-
- **App teams own their templates.** The people who built and maintain an app understand its domain — they should review changes to it.
|
|
90
|
-
- **Dispatch is infrastructure.** Treat it like core. It manages secrets and resources that affect the whole workspace.
|
|
91
|
-
- **You can narrow with globs.** `templates/mail/**/*.tsx` if you want to assign frontend-specific reviewers for UI-only changes.
|
|
92
|
-
- **Multiple owners are fine.** List both the app team and a senior engineer for critical paths like DB schemas or auth.
|
|
93
|
-
|
|
94
|
-
### Enabling Required Reviews
|
|
95
|
-
|
|
96
|
-
1. Create `.github/CODEOWNERS` with the patterns above
|
|
97
|
-
2. In GitHub → Settings → Branches → Branch protection for `main`:
|
|
98
|
-
- Enable **Require a pull request before merging**
|
|
99
|
-
- Enable **Require review from Code Owners**
|
|
100
|
-
- Set minimum required approvals (1 is usually fine, 2 for regulated environments)
|
|
101
|
-
3. Create the GitHub teams referenced in CODEOWNERS
|
|
102
|
-
|
|
103
|
-
Once enabled, GitHub won't let a PR merge until each CODEOWNERS-matched team has approved. A PR that touches `templates/mail/` and `packages/core/` requires approval from both `@your-org/mail-team` and `@your-org/platform-team`.
|
|
64
|
+
To enable required reviews: Settings → Branches → Branch protection for `main` → **Require a pull request before merging** → **Require review from Code Owners**.
|
|
104
65
|
|
|
105
66
|
## PR Labeling
|
|
106
67
|
|
|
107
|
-
Auto-
|
|
68
|
+
Auto-label PRs by app with `.github/labeler.yml` (excerpt):
|
|
108
69
|
|
|
109
70
|
```yaml
|
|
110
71
|
app:mail:
|
|
111
72
|
- changed-files:
|
|
112
73
|
- any-glob-to-any-file: templates/mail/**
|
|
113
|
-
|
|
114
74
|
app:analytics:
|
|
115
75
|
- changed-files:
|
|
116
76
|
- any-glob-to-any-file: templates/analytics/**
|
|
117
|
-
|
|
118
|
-
app:calendar:
|
|
119
|
-
- changed-files:
|
|
120
|
-
- any-glob-to-any-file: templates/calendar/**
|
|
121
|
-
|
|
122
|
-
app:design:
|
|
123
|
-
- changed-files:
|
|
124
|
-
- any-glob-to-any-file: templates/design/**
|
|
125
|
-
|
|
126
|
-
dispatch:
|
|
127
|
-
- changed-files:
|
|
128
|
-
- any-glob-to-any-file: templates/dispatch/**
|
|
129
|
-
|
|
130
77
|
core:
|
|
131
78
|
- changed-files:
|
|
132
79
|
- any-glob-to-any-file: packages/core/**
|
|
133
80
|
```
|
|
134
81
|
|
|
135
|
-
Then add the [actions/labeler](https://github.com/actions/labeler)
|
|
136
|
-
|
|
137
|
-
```yaml
|
|
138
|
-
name: Label PRs
|
|
139
|
-
on:
|
|
140
|
-
pull_request:
|
|
141
|
-
types: [opened, synchronize]
|
|
142
|
-
|
|
143
|
-
jobs:
|
|
144
|
-
label:
|
|
145
|
-
runs-on: ubuntu-latest
|
|
146
|
-
permissions:
|
|
147
|
-
contents: read
|
|
148
|
-
pull-requests: write
|
|
149
|
-
steps:
|
|
150
|
-
- uses: actions/labeler@v5
|
|
151
|
-
```
|
|
152
|
-
|
|
153
|
-
Labels apply automatically when PRs are opened or updated. Teams can then filter their review queue by label.
|
|
82
|
+
Then add the [actions/labeler](https://github.com/actions/labeler) action — see that repo's README for the full workflow YAML. Labels apply automatically when PRs are opened or updated.
|
|
154
83
|
|
|
155
84
|
## PR Review Guidelines
|
|
156
85
|
|
|
157
|
-
### By Change Type
|
|
158
|
-
|
|
159
86
|
| Change type | Who reviews | What to watch for |
|
|
160
87
|
| --------------------------------- | ------------------------------------- | ------------------------------------------------------------------------- |
|
|
161
88
|
| **App-only** (`templates/<app>/`) | Owning app team | Domain correctness, action schemas |
|
|
@@ -192,54 +119,11 @@ The [Dispatch](/docs/dispatch) app is the workspace's runtime control plane. It
|
|
|
192
119
|
| Audit trail | `git log` / `git blame` | Vault audit + dispatch audit logs |
|
|
193
120
|
| Messaging & routing | — | Slack / Telegram integration |
|
|
194
121
|
|
|
195
|
-
**Git handles code governance. Dispatch handles runtime governance.** Don't try to replicate git workflows inside
|
|
196
|
-
|
|
197
|
-
### What Dispatch Manages
|
|
198
|
-
|
|
199
|
-
- **Vault** — store credentials centrally and sync on demand. The default policy makes all vault keys available to all workspace apps; manual mode requires specific app grants. Non-admins can request access; admins approve.
|
|
200
|
-
- **Reusable integrations** — connect provider accounts once, store safe
|
|
201
|
-
credential refs and account metadata, and grant apps access without copying
|
|
202
|
-
secrets. Dispatch is the control plane for provider inventory, repair,
|
|
203
|
-
grants, and audit; the vault/secrets layer owns values; each app keeps its
|
|
204
|
-
own source configuration and interpretation.
|
|
205
|
-
- **Workspace resources** — manage global skills, always-on guardrail instructions, reusable agent profiles, reference resources, and HTTP MCP servers inherited by apps. Use `AGENTS.md` or `instructions/<slug>.md` for instructions loaded every turn, `skills/<slug>/SKILL.md` for on-demand skills, `context/<slug>.md` for brand/company/product knowledge, and `mcp-servers/<slug>.json` for shared HTTP MCP tool servers. Scope to All apps for workspace defaults; apps read those defaults at runtime with no copy or manual sync step, and app shared or personal resources can override locally. The Resources page highlights the starter global context files, can restore missing starter files, and each app card shows the exact inherited/granted resources that app receives.
|
|
206
|
-
- **Approvals** — require review before runtime changes (destinations, settings) take effect.
|
|
207
|
-
- **Audit** — full history of secret access, grants, syncs, and changes.
|
|
208
|
-
|
|
209
|
-
### Public App Routes
|
|
210
|
-
|
|
211
|
-
Workspace apps are internal by default. For a public site with login-only admin
|
|
212
|
-
pages, set a public audience and protect the admin prefix in that app's
|
|
213
|
-
`package.json`:
|
|
214
|
-
|
|
215
|
-
```json
|
|
216
|
-
{
|
|
217
|
-
"agent-native": {
|
|
218
|
-
"workspaceApp": {
|
|
219
|
-
"audience": "public",
|
|
220
|
-
"protectedPaths": ["/admin"]
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
```
|
|
122
|
+
**Git handles code governance. Dispatch handles runtime governance.** Don't try to replicate git workflows inside Dispatch or vice versa.
|
|
225
123
|
|
|
226
|
-
|
|
227
|
-
list page prefixes:
|
|
228
|
-
|
|
229
|
-
```json
|
|
230
|
-
{
|
|
231
|
-
"agent-native": {
|
|
232
|
-
"workspaceApp": {
|
|
233
|
-
"publicPaths": ["/", "/share"]
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
```
|
|
124
|
+
Dispatch manages: vault secrets, reusable workspace connections, workspace resources (skills, instructions, agent profiles, MCP servers), approvals, and audit logs. For public app route configuration (`workspaceApp.audience` / `publicPaths` / `protectedPaths`), see [Multi-App Workspaces — Public app routes](/docs/multi-app-workspace#deployment).
|
|
238
125
|
|
|
239
|
-
|
|
240
|
-
chat, A2A, vault access, and arbitrary APIs stay authenticated unless the app
|
|
241
|
-
explicitly declares public prefixes with
|
|
242
|
-
`createAuthPlugin({ publicPaths: [...] })`.
|
|
126
|
+
For the resource model and canonical paths, see [Workspace — Global resources](/docs/workspace#global-resources).
|
|
243
127
|
|
|
244
128
|
## Setup Checklist
|
|
245
129
|
|
|
@@ -22,39 +22,8 @@ The twist: **it's SQL rows, not filesystem files.** Each user gets their own wor
|
|
|
22
22
|
|
|
23
23
|
Same capabilities. Different economics. See [Templates](/docs/cloneable-saas) for why this matters for SaaS.
|
|
24
24
|
|
|
25
|
-
## The Workspace tab {#the-tab}
|
|
26
|
-
|
|
27
|
-
The **Workspace** tab in the agent sidebar is where you and the agent share persistent files — notes, instructions, skills, custom agents, and scheduled jobs. Files live in the database (not the filesystem), so they persist across sessions, work in serverless/edge deploys, and can be edited from both the UI and the agent.
|
|
28
|
-
|
|
29
|
-
## TL;DR {#tldr}
|
|
30
|
-
|
|
31
|
-
- Open the **Workspace** tab in the agent sidebar.
|
|
32
|
-
- Create files with the `+` menu. Upload with the upload button. Edit inline (visual or code view).
|
|
33
|
-
- **Personal** is just you. **Shared** is your team/org.
|
|
34
|
-
- The agent can read, write, and rename any of these files as part of a conversation.
|
|
35
|
-
- Special files the agent preloads: shared `AGENTS.md`, shared `instructions/*.md`, shared `LEARNINGS.md`, and personal structured memory at `memory/MEMORY.md`.
|
|
36
|
-
- Shared reference resources such as `context/brand-guidelines.md` are indexed for the agent; it reads the relevant file when a task may depend on company, brand, positioning, persona, product, or domain context.
|
|
37
|
-
|
|
38
|
-
## What goes in here? {#what-goes-in-here}
|
|
39
|
-
|
|
40
|
-
| File / path | What it's for |
|
|
41
|
-
| --------------------------- | ------------------------------------------------------------------------------------------------------- |
|
|
42
|
-
| `AGENTS.md` (Shared) | Team instructions the agent reads every turn — tone, rules, domain context, skill references. |
|
|
43
|
-
| `instructions/<name>.md` | Additional always-on shared guardrails loaded every turn. Good for compliance, brand voice, and policy. |
|
|
44
|
-
| `LEARNINGS.md` (Shared) | Shared corrections, conventions, and durable project memory the agent preloads. |
|
|
45
|
-
| `memory/MEMORY.md` | Personal structured memory the chat preloads for the current user. |
|
|
46
|
-
| `skills/<name>/SKILL.md` | Focused domain guidance the agent pulls in on demand (invoked with `/` slash commands). |
|
|
47
|
-
| `agents/<name>.md` | **Custom agents** — reusable sub-agent profiles the agent can delegate to (invoked with `@` mentions). |
|
|
48
|
-
| `remote-agents/<name>.json` | A2A manifests for connected remote agents — edited via a form, not raw JSON. |
|
|
49
|
-
| `mcp-servers/<name>.json` | HTTP MCP server definitions that add external tools to the agent. |
|
|
50
|
-
| `jobs/<name>.md` | Scheduled tasks that run on a cron (see the recurring-jobs docs). |
|
|
51
|
-
| `context/<name>.md` | Shared reference material: brand guidelines, personas, positioning, product facts, messaging, etc. |
|
|
52
|
-
| Anything else | Notes, prompts, config, dataset snippets — any text file. |
|
|
53
|
-
|
|
54
25
|
## Overview {#overview}
|
|
55
26
|
|
|
56
|
-
Every agent-native app has a built-in resource system. Resources are SQL-backed files that persist across sessions and deployments. Unlike code files, resources live in the database — not the filesystem — so they work in serverless environments, edge runtimes, and production deploys without any filesystem dependency.
|
|
57
|
-
|
|
58
27
|
Resources have three runtime scopes:
|
|
59
28
|
|
|
60
29
|
- **Personal** — scoped to a single user (their email). Good for preferences, notes, and per-user context.
|
|
@@ -63,14 +32,7 @@ Resources have three runtime scopes:
|
|
|
63
32
|
|
|
64
33
|
The in-app Workspace panel shows all three scopes. Personal and shared/organization resources are editable there. Workspace-scope resources are read-only in app panels and edited centrally from Dispatch, so every app sees the same canonical files without a sync step.
|
|
65
34
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
Workspace-scope resources are managed from Dispatch's **Resources** page and inherited by apps at runtime — no copy or sync step. Dispatch supports two grant scopes:
|
|
69
|
-
|
|
70
|
-
- **All apps** — global resources every app in the workspace inherits. Most company, brand, persona, positioning, messaging, and guardrail context should be **All apps**.
|
|
71
|
-
- **Selected apps** — resources granted to specific apps for app-specific context or tools. Use these sparingly.
|
|
72
|
-
|
|
73
|
-
The path determines how the agent uses a resource. These canonical paths apply across all three scopes (workspace, organization/app, personal):
|
|
35
|
+
The canonical paths that control how the agent uses each resource:
|
|
74
36
|
|
|
75
37
|
| Runtime resource | Path | How agents use it |
|
|
76
38
|
| ----------------------- | --------------------------------------- | ----------------------------------------------- |
|
|
@@ -80,40 +42,7 @@ The path determines how the agent uses a resource. These canonical paths apply a
|
|
|
80
42
|
| Custom agent profiles | `agents/<slug>.md` | Available as reusable local agent profiles |
|
|
81
43
|
| Shared HTTP MCP servers | `mcp-servers/<slug>.json` | Loaded into granted apps' MCP tool registry |
|
|
82
44
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
## Workspace Panel {#workspace-panel}
|
|
86
|
-
|
|
87
|
-
The agent panel includes a **Workspace** tab alongside Chat and CLI. This panel lets users browse workspace resources, create/edit/delete personal or organization resources, and view inherited workspace defaults. It displays a tree view of all resources organized by folder path.
|
|
88
|
-
|
|
89
|
-
Resources can be any text file — Markdown, JSON, YAML, plain text. The panel includes an inline editor for viewing and modifying resource content directly.
|
|
90
|
-
|
|
91
|
-
The `+` menu in Workspace supports typed creation flows for:
|
|
92
|
-
|
|
93
|
-
- **Files** — arbitrary resources
|
|
94
|
-
- **Skills** — reusable instruction files under `skills/`
|
|
95
|
-
- **Agents** — custom sub-agent profiles under `agents/*.md`
|
|
96
|
-
- **Scheduled Tasks** — recurring jobs under `jobs/`
|
|
97
|
-
|
|
98
|
-
Workspace resources appear in three scopes:
|
|
99
|
-
|
|
100
|
-
- **Workspace** — inherited from Dispatch by every app; read-only in app panels
|
|
101
|
-
- **Organization** — visible across the team/org
|
|
102
|
-
- **Personal** — visible only to the current user
|
|
103
|
-
|
|
104
|
-
When you open a resource, the editor shows an **Effective context** strip with the precedence stack:
|
|
105
|
-
|
|
106
|
-
```text
|
|
107
|
-
workspace default -> organization/app override -> personal override
|
|
108
|
-
```
|
|
109
|
-
|
|
110
|
-
If the same path exists at multiple levels, the later level wins. For example, `instructions/guardrails.md` in Personal overrides the organization version, which overrides the workspace default. Workspace resources are still visible in the stack so users can see what was inherited and why an override is active.
|
|
111
|
-
|
|
112
|
-
Dispatch shows the same model from the control-plane side. On the **Resources** page, expand a resource and use **Effective in app** to choose an app and optional user email. The preview reports whether the resource is inherited by all apps or selected-only, and which layer is active for that exact path. From an app card's **Context** dialog, expand **Stack** on any resource row to see the same winner/override chain for that app.
|
|
113
|
-
|
|
114
|
-
When Dispatch approval policy is enabled, creating, updating, or deleting an **All apps** resource queues an approval request instead of applying immediately. The create/edit/delete dialogs show an impact preview before save: whether the change reaches all apps, whether approval is required, and whether the same path is overridden at the organization/app or personal layer.
|
|
115
|
-
|
|
116
|
-
Click the `?` icon in the Workspace toolbar to jump back to these docs at any time.
|
|
45
|
+
These paths apply across all three scopes — workspace, organization/app, and personal. The later scope wins when the same path exists at multiple levels.
|
|
117
46
|
|
|
118
47
|
## Getting Started: a 1-minute walkthrough {#getting-started}
|
|
119
48
|
|
|
@@ -137,63 +66,16 @@ Change how the agent behaves, in 60 seconds.
|
|
|
137
66
|
- **Scheduled Tasks** (`+` → **Scheduled Task**) — prompts that run on a cron.
|
|
138
67
|
- **Memory** — shared `LEARNINGS.md` and personal `memory/MEMORY.md` keep durable context available across conversations.
|
|
139
68
|
|
|
140
|
-
##
|
|
141
|
-
|
|
142
|
-
The built-in app agent manages resources with the unified `resources` tool: use `action: "list"`, `"read"`, `"effective"`, `"write"`, `"promote"`, or `"delete"`. External CLI/code agents can use the equivalent `pnpm action resource-*` commands.
|
|
143
|
-
|
|
144
|
-
At the start of every conversation, the agent automatically reads:
|
|
145
|
-
|
|
146
|
-
### AGENTS.md {#agents-md}
|
|
147
|
-
|
|
148
|
-
An instruction resource seeded by default. The agent loads `AGENTS.md` from workspace, shared/organization, and personal scopes in that order. Edit the workspace version from Dispatch for company-wide defaults, the shared/app version for team or app-specific rules, and the personal version for per-user preferences.
|
|
149
|
-
|
|
150
|
-
```text
|
|
151
|
-
# Agent Instructions
|
|
152
|
-
|
|
153
|
-
## Tone
|
|
154
|
-
|
|
155
|
-
Be concise. Lead with the answer.
|
|
156
|
-
|
|
157
|
-
## Code style
|
|
158
|
-
|
|
159
|
-
- Use TypeScript, never JavaScript
|
|
160
|
-
- Prefer named exports
|
|
161
|
-
|
|
162
|
-
## Skills
|
|
163
|
-
|
|
164
|
-
| Skill | Path | Description |
|
|
165
|
-
| ------------- | ------------------------------- | --------------------------- |
|
|
166
|
-
| data-analysis | `skills/data-analysis/SKILL.md` | BigQuery and data workflows |
|
|
167
|
-
```
|
|
168
|
-
|
|
169
|
-
### Global Instructions {#global-instructions}
|
|
69
|
+
## Global resources and canonical paths {#global-resources}
|
|
170
70
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
For example:
|
|
174
|
-
|
|
175
|
-
```text
|
|
176
|
-
AGENTS.md
|
|
177
|
-
instructions/customer-support-guardrails.md
|
|
178
|
-
instructions/legal-review-policy.md
|
|
179
|
-
```
|
|
180
|
-
|
|
181
|
-
Both normal chat and integration-triggered agent runs load these instruction resources before responding.
|
|
182
|
-
|
|
183
|
-
### Reference Resources {#reference-resources}
|
|
184
|
-
|
|
185
|
-
Put reusable company context under `context/`: personas, positioning, messaging, product facts, customer proof points, brand guidelines, competitive notes, and similar material. The agent sees an index of workspace and shared reference resources and reads the relevant file with the `resources` tool (`action: "read"`) when a task may depend on it. Use `resources` with `action: "effective"` and `path: "context/brand.md"` when you need to see whether a workspace default is overridden by an organization/app or personal resource.
|
|
71
|
+
Workspace-scope resources are managed from Dispatch's **Resources** page and inherited by apps at runtime — no copy or sync step. Dispatch supports two grant scopes:
|
|
186
72
|
|
|
187
|
-
|
|
73
|
+
- **All apps** — global resources every app in the workspace inherits. Most company, brand, persona, positioning, messaging, and guardrail context should be **All apps**.
|
|
74
|
+
- **Selected apps** — resources granted to specific apps for app-specific context or tools. Use these sparingly.
|
|
188
75
|
|
|
189
|
-
|
|
190
|
-
context/core-positioning.md
|
|
191
|
-
context/buyer-personas.md
|
|
192
|
-
context/brand-guidelines.md
|
|
193
|
-
context/company-facts.md
|
|
194
|
-
```
|
|
76
|
+
The path determines how the agent uses a resource (see the table in [Overview](#overview) above). This is the right home for core personas, positioning, messaging, company facts, brand guidelines, support policies, shared skills, or shared HTTP MCP tools that many apps should benefit from.
|
|
195
77
|
|
|
196
|
-
|
|
78
|
+
A useful starter pack for a new workspace:
|
|
197
79
|
|
|
198
80
|
```text
|
|
199
81
|
context/company.md # what the company does, ICP, products, links
|
|
@@ -201,6 +83,7 @@ context/brand.md # voice, visual identity, spelling, forbidden us
|
|
|
201
83
|
context/messaging.md # positioning, value props, proof points, objections
|
|
202
84
|
instructions/guardrails.md # compliance, escalation, and approval rules
|
|
203
85
|
skills/company-voice/SKILL.md # on-demand guidance for customer-facing writing
|
|
86
|
+
agents/<slug>.md # reusable custom agent profiles
|
|
204
87
|
```
|
|
205
88
|
|
|
206
89
|
Keep `context/` files factual and easy to skim. Put rules that must apply every turn in `instructions/guardrails.md`. Use `skills/company-voice/SKILL.md` when the agent should deliberately transform or review copy in the company's voice.
|
|
@@ -259,6 +142,80 @@ description: Rewrite or review customer-facing copy using the workspace brand an
|
|
|
259
142
|
Read `context/brand.md` and `context/messaging.md` before writing. Keep claims grounded in those files, preserve approved terminology, and flag missing proof instead of inventing it.
|
|
260
143
|
```
|
|
261
144
|
|
|
145
|
+
## Workspace Panel {#workspace-panel}
|
|
146
|
+
|
|
147
|
+
The agent panel includes a **Workspace** tab alongside Chat and CLI. This panel lets users browse workspace resources, create/edit/delete personal or organization resources, and view inherited workspace defaults. It displays a tree view of all resources organized by folder path.
|
|
148
|
+
|
|
149
|
+
Resources can be any text file — Markdown, JSON, YAML, plain text. The panel includes an inline editor for viewing and modifying resource content directly.
|
|
150
|
+
|
|
151
|
+
The `+` menu in Workspace supports typed creation flows for:
|
|
152
|
+
|
|
153
|
+
- **Files** — arbitrary resources
|
|
154
|
+
- **Skills** — reusable instruction files under `skills/`
|
|
155
|
+
- **Agents** — custom sub-agent profiles under `agents/*.md`
|
|
156
|
+
- **Scheduled Tasks** — recurring jobs under `jobs/`
|
|
157
|
+
|
|
158
|
+
When you open a resource, the editor shows an **Effective context** strip with the precedence stack:
|
|
159
|
+
|
|
160
|
+
```text
|
|
161
|
+
workspace default -> organization/app override -> personal override
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
If the same path exists at multiple levels, the later level wins. Workspace resources are still visible in the stack so users can see what was inherited and why an override is active.
|
|
165
|
+
|
|
166
|
+
Dispatch shows the same model from the control-plane side. On the **Resources** page, expand a resource and use **Effective in app** to choose an app and optional user email. From an app card's **Context** dialog, expand **Stack** on any resource row to see the same winner/override chain for that app.
|
|
167
|
+
|
|
168
|
+
When Dispatch approval policy is enabled, creating, updating, or deleting an **All apps** resource queues an approval request instead of applying immediately. The create/edit/delete dialogs show an impact preview before save.
|
|
169
|
+
|
|
170
|
+
Click the `?` icon in the Workspace toolbar to jump back to these docs at any time.
|
|
171
|
+
|
|
172
|
+
## How the Agent Uses Resources {#how-the-agent-uses-resources}
|
|
173
|
+
|
|
174
|
+
The built-in app agent manages resources with the unified `resources` tool: use `action: "list"`, `"read"`, `"effective"`, `"write"`, `"promote"`, or `"delete"`. External CLI/code agents can use the equivalent `pnpm action resource-*` commands.
|
|
175
|
+
|
|
176
|
+
At the start of every conversation, the agent automatically reads:
|
|
177
|
+
|
|
178
|
+
### AGENTS.md {#agents-md}
|
|
179
|
+
|
|
180
|
+
An instruction resource seeded by default. The agent loads `AGENTS.md` from workspace, shared/organization, and personal scopes in that order. Edit the workspace version from Dispatch for company-wide defaults, the shared/app version for team or app-specific rules, and the personal version for per-user preferences.
|
|
181
|
+
|
|
182
|
+
```text
|
|
183
|
+
# Agent Instructions
|
|
184
|
+
|
|
185
|
+
## Tone
|
|
186
|
+
|
|
187
|
+
Be concise. Lead with the answer.
|
|
188
|
+
|
|
189
|
+
## Code style
|
|
190
|
+
|
|
191
|
+
- Use TypeScript, never JavaScript
|
|
192
|
+
- Prefer named exports
|
|
193
|
+
|
|
194
|
+
## Skills
|
|
195
|
+
|
|
196
|
+
| Skill | Path | Description |
|
|
197
|
+
| ------------- | ------------------------------- | --------------------------- |
|
|
198
|
+
| data-analysis | `skills/data-analysis/SKILL.md` | BigQuery and data workflows |
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
### Global Instructions {#global-instructions}
|
|
202
|
+
|
|
203
|
+
Use workspace `AGENTS.md` for company-wide defaults, shared `AGENTS.md` for app/team rules, and personal `AGENTS.md` for per-user preferences. Use files under `instructions/` for separate guardrail documents that should also apply every turn, such as compliance rules, customer-facing tone, escalation policy, or brand voice. These files use the same workspace -> organization/app -> personal precedence.
|
|
204
|
+
|
|
205
|
+
For example:
|
|
206
|
+
|
|
207
|
+
```text
|
|
208
|
+
AGENTS.md
|
|
209
|
+
instructions/customer-support-guardrails.md
|
|
210
|
+
instructions/legal-review-policy.md
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
Both normal chat and integration-triggered agent runs load these instruction resources before responding.
|
|
214
|
+
|
|
215
|
+
### Reference Resources {#reference-resources}
|
|
216
|
+
|
|
217
|
+
Put reusable company context under `context/`: personas, positioning, messaging, product facts, customer proof points, brand guidelines, competitive notes, and similar material. The agent sees an index of workspace and shared reference resources and reads the relevant file with the `resources` tool (`action: "read"`) when a task may depend on it. Use `resources` with `action: "effective"` and `path: "context/brand.md"` when you need to see whether a workspace default is overridden by an organization/app or personal resource.
|
|
218
|
+
|
|
262
219
|
### Memory {#memory}
|
|
263
220
|
|
|
264
221
|
The workspace has two current memory surfaces:
|
|
@@ -290,42 +247,19 @@ The resource system also seeds a personal `LEARNINGS.md` for compatibility with
|
|
|
290
247
|
|
|
291
248
|
**Where it fits.**
|
|
292
249
|
|
|
293
|
-
| Surface | Scope | Written by | Read when
|
|
294
|
-
| ------------------ | ------------------ | ------------------------------------ |
|
|
295
|
-
| `AGENTS.md` | Shared | Humans / agent on request | Every turn
|
|
296
|
-
| `LEARNINGS.md` | Shared | Humans / agent on request | Every turn (
|
|
297
|
-
| `memory/MEMORY.md` | Personal | Agent / humans | Every turn
|
|
298
|
-
| `instructions/…` | Shared | Humans / agent on request | Every turn
|
|
299
|
-
| `skills/…` | Shared | Humans / agent on request | On demand (`/slash` command)
|
|
300
|
-
| `context/…` | Shared | Humans / agent on request | Indexed every turn, read when relevant
|
|
301
|
-
| `mcp-servers/…` | Workspace / shared | Humans via Dispatch or app workspace | MCP config refresh
|
|
302
|
-
|
|
303
|
-
Users can edit these memory files directly in the Workspace tab — they're regular resources. Delete lines the agent got wrong, keep personal preferences in `memory/MEMORY.md`, or promote team-wide rules into `AGENTS.md`.
|
|
250
|
+
| Surface | Scope | Written by | Read when |
|
|
251
|
+
| ------------------ | ------------------ | ------------------------------------ | -------------------------------------- |
|
|
252
|
+
| `AGENTS.md` | Shared | Humans / agent on request | Every turn |
|
|
253
|
+
| `LEARNINGS.md` | Shared | Humans / agent on request | Every turn (shared copy only) |
|
|
254
|
+
| `memory/MEMORY.md` | Personal | Agent / humans | Every turn |
|
|
255
|
+
| `instructions/…` | Shared | Humans / agent on request | Every turn |
|
|
256
|
+
| `skills/…` | Shared | Humans / agent on request | On demand (`/slash` command) |
|
|
257
|
+
| `context/…` | Shared | Humans / agent on request | Indexed every turn, read when relevant |
|
|
258
|
+
| `mcp-servers/…` | Workspace / shared | Humans via Dispatch or app workspace | MCP config refresh |
|
|
304
259
|
|
|
305
|
-
|
|
260
|
+
> A personal `LEARNINGS.md` is seeded for back-compat with older workspaces, but the chat preload path reads the shared copy. Put personal context in `memory/MEMORY.md` instead.
|
|
306
261
|
|
|
307
|
-
Workspace
|
|
308
|
-
that need the same third-party account. A connection records provider identity,
|
|
309
|
-
account labels, status, scopes, app grants, and credential references in
|
|
310
|
-
portable SQL. Secrets stay in the scoped credential store; connection records
|
|
311
|
-
should only point at credential keys such as `SLACK_BOT_TOKEN` or
|
|
312
|
-
`GITHUB_TOKEN`.
|
|
313
|
-
|
|
314
|
-
This is the foundation for “connect once, use everywhere”: Brain can ingest
|
|
315
|
-
approved repositories, Analytics can analyze the same provider later, and
|
|
316
|
-
Dispatch can remain the control plane for sharing credentials and policy. The
|
|
317
|
-
initial API lives in `@agent-native/core/workspace-connections` and is scoped by
|
|
318
|
-
the active request user/org.
|
|
319
|
-
|
|
320
|
-
The boundary is deliberate: reusable connections own provider identity and
|
|
321
|
-
grants; app-local source config still belongs to the app. Brain decides which
|
|
322
|
-
channels, repositories, captures, review gates, and citations are allowed.
|
|
323
|
-
Analytics decides which source is authoritative for a metric and stores the
|
|
324
|
-
dashboard, dictionary, and analysis context.
|
|
325
|
-
|
|
326
|
-
See [Workspace Connections](/docs/workspace-connections) for the reusable
|
|
327
|
-
connector pattern, app grant/readiness APIs, and concrete Slack, HubSpot, and
|
|
328
|
-
GitHub examples.
|
|
262
|
+
Users can edit these memory files directly in the Workspace tab — they're regular resources. Delete lines the agent got wrong, keep personal preferences in `memory/MEMORY.md`, or promote team-wide rules into `AGENTS.md`.
|
|
329
263
|
|
|
330
264
|
## Skills {#skills}
|
|
331
265
|
|
|
@@ -340,18 +274,34 @@ There are two ways to add skills:
|
|
|
340
274
|
1. **Via Workspace tab** — Create a new resource with a path like `skills/my-skill/SKILL.md`. This works in both Code mode and App mode.
|
|
341
275
|
2. **Via code (Code mode only)** — Add a Markdown file to `.agents/skills/` in your project. These are available when the app runs in Code mode.
|
|
342
276
|
|
|
343
|
-
|
|
277
|
+
### Skill Format {#skill-format}
|
|
278
|
+
|
|
279
|
+
Skills are Markdown files with optional YAML frontmatter for metadata:
|
|
280
|
+
|
|
281
|
+
```markdown
|
|
282
|
+
---
|
|
283
|
+
name: data-analysis
|
|
284
|
+
description: BigQuery queries, data transforms, and visualization
|
|
285
|
+
---
|
|
344
286
|
|
|
345
|
-
|
|
287
|
+
# Data Analysis
|
|
346
288
|
|
|
347
|
-
|
|
289
|
+
## When to use
|
|
348
290
|
|
|
349
|
-
|
|
350
|
-
- description
|
|
351
|
-
- model preference
|
|
352
|
-
- instruction set
|
|
291
|
+
Use this skill when the user asks about data, queries, or analytics.
|
|
353
292
|
|
|
354
|
-
|
|
293
|
+
## Rules
|
|
294
|
+
|
|
295
|
+
- Always validate SQL before executing
|
|
296
|
+
- Prefer CTEs over subqueries
|
|
297
|
+
- Include LIMIT on exploratory queries
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
## Custom Agents {#custom-agents}
|
|
301
|
+
|
|
302
|
+
Custom agents are reusable local sub-agent profiles stored as Markdown resources under `agents/*.md`. Agent-teams.md and agent-mentions.md use `/docs/workspace#custom-agents` as the canonical reference for this pattern.
|
|
303
|
+
|
|
304
|
+
Use them when you want a focused delegate with its own name, description, model preference, and instruction set. Unlike skills, custom agents are not passive guidance — they are operational personas the main agent can invoke through `@` mentions or by selecting them during sub-agent spawning.
|
|
355
305
|
|
|
356
306
|
### Agent format {#agent-format}
|
|
357
307
|
|
|
@@ -393,36 +343,6 @@ There are two agent types in Workspace:
|
|
|
393
343
|
|
|
394
344
|
Use custom agents for delegation within one app. Use connected agents when you need to call another app over A2A.
|
|
395
345
|
|
|
396
|
-
### Skill Format {#skill-format}
|
|
397
|
-
|
|
398
|
-
Skills are Markdown files with optional YAML frontmatter for metadata:
|
|
399
|
-
|
|
400
|
-
```markdown
|
|
401
|
-
---
|
|
402
|
-
name: data-analysis
|
|
403
|
-
description: BigQuery queries, data transforms, and visualization
|
|
404
|
-
---
|
|
405
|
-
|
|
406
|
-
# Data Analysis
|
|
407
|
-
|
|
408
|
-
## When to use
|
|
409
|
-
|
|
410
|
-
Use this skill when the user asks about data, queries, or analytics.
|
|
411
|
-
|
|
412
|
-
## Rules
|
|
413
|
-
|
|
414
|
-
- Always validate SQL before executing
|
|
415
|
-
- Prefer CTEs over subqueries
|
|
416
|
-
- Include LIMIT on exploratory queries
|
|
417
|
-
|
|
418
|
-
## Patterns
|
|
419
|
-
|
|
420
|
-
-- Standard BigQuery date filter
|
|
421
|
-
WHERE DATE(created_at) BETWEEN @start_date AND @end_date
|
|
422
|
-
```
|
|
423
|
-
|
|
424
|
-
> Skill bodies can embed fenced code blocks in any language — shown above as indented code to keep this outer example readable, but you'd normally use a language-tagged fence in your real skill file.
|
|
425
|
-
|
|
426
346
|
## @ Tagging {#at-tagging}
|
|
427
347
|
|
|
428
348
|
Type `@` in the chat input to reference workspace items. A dropdown appears at the cursor showing matching agents and files. Use arrow keys to navigate and Enter to select. The selected item appears as an inline chip in the input.
|
|
@@ -440,7 +360,7 @@ What shows up depends on the mode:
|
|
|
440
360
|
|
|
441
361
|
## / Slash Commands {#slash-commands}
|
|
442
362
|
|
|
443
|
-
Type `/` at the start of a line to invoke a skill. A dropdown shows available skills with their names and descriptions. Selecting a skill adds it as an inline chip, and its content is included as context when the message is sent
|
|
363
|
+
Type `/` at the start of a line to invoke a skill. A dropdown shows available skills with their names and descriptions. Selecting a skill adds it as an inline chip, and its content is included as context when the message is sent.
|
|
444
364
|
|
|
445
365
|
What shows up depends on the mode:
|
|
446
366
|
|
|
@@ -461,6 +381,12 @@ The resource system works identically in both modes. The difference is what addi
|
|
|
461
381
|
| Workspace panel | Full access | Full access |
|
|
462
382
|
| AGENTS.md / memory | Available | Available |
|
|
463
383
|
|
|
384
|
+
## Workspace Connections {#workspace-connections}
|
|
385
|
+
|
|
386
|
+
Workspace Connections let apps share the same provider account (Slack, GitHub, HubSpot, etc.) without duplicating credentials. A connection records provider identity, account labels, status, scopes, app grants, and credential references in SQL. Secrets stay in the credential store; connections only point at credential key names such as `SLACK_BOT_TOKEN`.
|
|
387
|
+
|
|
388
|
+
See [Workspace Connections](/docs/workspace-connections) for the quickstart, connection/grant/credentialRef API, and concrete Slack, HubSpot, and GitHub examples.
|
|
389
|
+
|
|
464
390
|
## Resource API {#resource-api}
|
|
465
391
|
|
|
466
392
|
Resources can be managed from server code, actions, or the REST API.
|
|
@@ -117,6 +117,22 @@ App instructions should make honesty and verification the default behavior:
|
|
|
117
117
|
|
|
118
118
|
Put these as core rules in `AGENTS.md` so they apply to every turn.
|
|
119
119
|
|
|
120
|
+
## The four surfaces the agent sees {#four-surfaces}
|
|
121
|
+
|
|
122
|
+
Every piece of guidance you author lands in one of four surfaces. Knowing which surface to use prevents duplication and misplaced detail:
|
|
123
|
+
|
|
124
|
+
| Surface | Who writes it | When it's loaded | What belongs there |
|
|
125
|
+
| --------------------------- | ------------------------- | ------------------------------------------------------ | ----------------------------------------------------------- |
|
|
126
|
+
| `AGENTS.md` instructions | You (developer) | Every turn, as orientation | Purpose, core rules, state keys, action index, skills index |
|
|
127
|
+
| Skills (`SKILL.md`) | You (developer) | On demand when the agent decides the skill is relevant | Step-by-step how-to for a specific pattern, do/don't lists |
|
|
128
|
+
| Action descriptions (tools) | You (developer) | Every turn, as the tool list | What the action does, what it returns, parameter semantics |
|
|
129
|
+
| `application_state` context | Your UI code (at runtime) | Every turn, as live app state | Current navigation, selection, focused object, URL |
|
|
130
|
+
|
|
131
|
+
**Quick diagnosis:**
|
|
132
|
+
|
|
133
|
+
- "The agent keeps asking which record to act on even when one is open" → fix: write the current item ID into `application_state` (`navigation` key) from your UI. That's an `application_state` gap, not a skill gap.
|
|
134
|
+
- "The agent calls the wrong action or misuses a parameter" → fix: improve the action's `description` and `.describe()` on the parameter. That's a tool description fix, not a skill.
|
|
135
|
+
|
|
120
136
|
## What goes where {#what-goes-where}
|
|
121
137
|
|
|
122
138
|
- **AGENTS.md** — applies to the whole app, every turn: purpose, core rules, state keys, action index, skills index.
|
|
@@ -127,4 +143,4 @@ Put these as core rules in `AGENTS.md` so they apply to every turn.
|
|
|
127
143
|
|
|
128
144
|
- [Skills Guide](/docs/skills-guide) — the skill file format, framework skills, and app-backed skills.
|
|
129
145
|
- [Creating Templates](/docs/creating-templates) — how `AGENTS.md` and skills fit into a shippable template.
|
|
130
|
-
- [
|
|
146
|
+
- [The four-area checklist](/docs/key-concepts#four-area-checklist) — the four-area model every feature must satisfy.
|