@agent-native/core 0.15.13 → 0.16.0
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/README.md +37 -0
- package/dist/agent/app-model-defaults.d.ts +37 -0
- package/dist/agent/app-model-defaults.d.ts.map +1 -0
- package/dist/agent/app-model-defaults.js +136 -0
- package/dist/agent/app-model-defaults.js.map +1 -0
- package/dist/agent/engine/registry.d.ts +12 -7
- package/dist/agent/engine/registry.d.ts.map +1 -1
- package/dist/agent/engine/registry.js +28 -8
- package/dist/agent/engine/registry.js.map +1 -1
- package/dist/agent/production-agent.d.ts +2 -0
- package/dist/agent/production-agent.d.ts.map +1 -1
- package/dist/agent/production-agent.js +3 -1
- package/dist/agent/production-agent.js.map +1 -1
- package/dist/browser-sessions/actions.d.ts +7 -0
- package/dist/browser-sessions/actions.d.ts.map +1 -0
- package/dist/browser-sessions/actions.js +223 -0
- package/dist/browser-sessions/actions.js.map +1 -0
- package/dist/browser-sessions/routes.d.ts +7 -0
- package/dist/browser-sessions/routes.d.ts.map +1 -0
- package/dist/browser-sessions/routes.js +159 -0
- package/dist/browser-sessions/routes.js.map +1 -0
- package/dist/browser-sessions/store.d.ts +33 -0
- package/dist/browser-sessions/store.d.ts.map +1 -0
- package/dist/browser-sessions/store.js +506 -0
- package/dist/browser-sessions/store.js.map +1 -0
- package/dist/browser-sessions/types.d.ts +68 -0
- package/dist/browser-sessions/types.d.ts.map +1 -0
- package/dist/browser-sessions/types.js +2 -0
- package/dist/browser-sessions/types.js.map +1 -0
- package/dist/cli/code-agent-commands.d.ts +36 -0
- package/dist/cli/code-agent-commands.d.ts.map +1 -0
- package/dist/cli/code-agent-commands.js +192 -0
- package/dist/cli/code-agent-commands.js.map +1 -0
- package/dist/cli/code-agent-connector.d.ts +17 -0
- package/dist/cli/code-agent-connector.d.ts.map +1 -0
- package/dist/cli/code-agent-connector.js +724 -0
- package/dist/cli/code-agent-connector.js.map +1 -0
- package/dist/cli/code-agent-executor.d.ts +31 -0
- package/dist/cli/code-agent-executor.d.ts.map +1 -0
- package/dist/cli/code-agent-executor.js +921 -0
- package/dist/cli/code-agent-executor.js.map +1 -0
- package/dist/cli/code-agent-runs.d.ts +102 -0
- package/dist/cli/code-agent-runs.d.ts.map +1 -0
- package/dist/cli/code-agent-runs.js +277 -0
- package/dist/cli/code-agent-runs.js.map +1 -0
- package/dist/cli/code.d.ts +66 -0
- package/dist/cli/code.d.ts.map +1 -0
- package/dist/cli/code.js +1306 -0
- package/dist/cli/code.js.map +1 -0
- package/dist/cli/create.d.ts +2 -1
- package/dist/cli/create.d.ts.map +1 -1
- package/dist/cli/create.js +11 -1
- package/dist/cli/create.js.map +1 -1
- package/dist/cli/index.js +26 -1
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/migrate.d.ts +27 -0
- package/dist/cli/migrate.d.ts.map +1 -1
- package/dist/cli/migrate.js +1328 -20
- package/dist/cli/migrate.js.map +1 -1
- package/dist/cli/templates-meta.d.ts.map +1 -1
- package/dist/cli/templates-meta.js +26 -2
- package/dist/cli/templates-meta.js.map +1 -1
- package/dist/cli/workspacify.d.ts +2 -0
- package/dist/cli/workspacify.d.ts.map +1 -1
- package/dist/cli/workspacify.js +2 -1
- package/dist/cli/workspacify.js.map +1 -1
- package/dist/client/AgentNative.d.ts +32 -0
- package/dist/client/AgentNative.d.ts.map +1 -0
- package/dist/client/AgentNative.js +79 -0
- package/dist/client/AgentNative.js.map +1 -0
- package/dist/client/AgentNativeEmbedded.d.ts +47 -0
- package/dist/client/AgentNativeEmbedded.d.ts.map +1 -0
- package/dist/client/AgentNativeEmbedded.js +148 -0
- package/dist/client/AgentNativeEmbedded.js.map +1 -0
- package/dist/client/AgentNativeFrame.d.ts +25 -0
- package/dist/client/AgentNativeFrame.d.ts.map +1 -0
- package/dist/client/AgentNativeFrame.js +68 -0
- package/dist/client/AgentNativeFrame.js.map +1 -0
- package/dist/client/AgentPanel.d.ts +19 -2
- package/dist/client/AgentPanel.d.ts.map +1 -1
- package/dist/client/AgentPanel.js +15 -4
- package/dist/client/AgentPanel.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 +79 -48
- package/dist/client/AssistantChat.js.map +1 -1
- package/dist/client/MultiTabAssistantChat.d.ts.map +1 -1
- package/dist/client/MultiTabAssistantChat.js +2 -1
- package/dist/client/MultiTabAssistantChat.js.map +1 -1
- package/dist/client/NewWorkspaceAppFlow.d.ts.map +1 -1
- package/dist/client/NewWorkspaceAppFlow.js +3 -2
- package/dist/client/NewWorkspaceAppFlow.js.map +1 -1
- package/dist/client/browser-session-bridge.d.ts +44 -0
- package/dist/client/browser-session-bridge.d.ts.map +1 -0
- package/dist/client/browser-session-bridge.js +339 -0
- package/dist/client/browser-session-bridge.js.map +1 -0
- package/dist/client/client-action.d.ts +7 -0
- package/dist/client/client-action.d.ts.map +1 -0
- package/dist/client/client-action.js +4 -0
- package/dist/client/client-action.js.map +1 -0
- package/dist/client/components/ui/tooltip.d.ts.map +1 -1
- package/dist/client/components/ui/tooltip.js +1 -1
- package/dist/client/components/ui/tooltip.js.map +1 -1
- package/dist/client/composer/AgentComposerFrame.d.ts +17 -0
- package/dist/client/composer/AgentComposerFrame.d.ts.map +1 -0
- package/dist/client/composer/AgentComposerFrame.js +14 -0
- package/dist/client/composer/AgentComposerFrame.js.map +1 -0
- package/dist/client/composer/MentionPopover.d.ts.map +1 -1
- package/dist/client/composer/MentionPopover.js +2 -2
- package/dist/client/composer/MentionPopover.js.map +1 -1
- package/dist/client/composer/PromptComposer.d.ts +35 -2
- package/dist/client/composer/PromptComposer.d.ts.map +1 -1
- package/dist/client/composer/PromptComposer.js +31 -17
- package/dist/client/composer/PromptComposer.js.map +1 -1
- package/dist/client/composer/TiptapComposer.d.ts +20 -2
- package/dist/client/composer/TiptapComposer.d.ts.map +1 -1
- package/dist/client/composer/TiptapComposer.js +112 -22
- package/dist/client/composer/TiptapComposer.js.map +1 -1
- package/dist/client/composer/index.d.ts +3 -2
- package/dist/client/composer/index.d.ts.map +1 -1
- package/dist/client/composer/index.js +1 -0
- package/dist/client/composer/index.js.map +1 -1
- package/dist/client/composer/types.d.ts +1 -0
- package/dist/client/composer/types.d.ts.map +1 -1
- package/dist/client/composer/types.js.map +1 -1
- package/dist/client/extensions/AgentNativeExtensionFrame.d.ts +58 -0
- package/dist/client/extensions/AgentNativeExtensionFrame.d.ts.map +1 -0
- package/dist/client/extensions/AgentNativeExtensionFrame.e2e-host.d.ts +2 -0
- package/dist/client/extensions/AgentNativeExtensionFrame.e2e-host.d.ts.map +1 -0
- package/dist/client/extensions/AgentNativeExtensionFrame.e2e-host.js +110 -0
- package/dist/client/extensions/AgentNativeExtensionFrame.e2e-host.js.map +1 -0
- package/dist/client/extensions/AgentNativeExtensionFrame.js +354 -0
- package/dist/client/extensions/AgentNativeExtensionFrame.js.map +1 -0
- package/dist/client/extensions/AgentNativeExtensionFrame.spec.d.ts +2 -0
- package/dist/client/extensions/AgentNativeExtensionFrame.spec.d.ts.map +1 -0
- package/dist/client/extensions/AgentNativeExtensionFrame.spec.js +68 -0
- package/dist/client/extensions/AgentNativeExtensionFrame.spec.js.map +1 -0
- package/dist/client/extensions/agent-native-extension-runtime.d.ts +69 -0
- package/dist/client/extensions/agent-native-extension-runtime.d.ts.map +1 -0
- package/dist/client/extensions/agent-native-extension-runtime.js +348 -0
- package/dist/client/extensions/agent-native-extension-runtime.js.map +1 -0
- package/dist/client/extensions/index.d.ts +2 -0
- package/dist/client/extensions/index.d.ts.map +1 -1
- package/dist/client/extensions/index.js +2 -0
- package/dist/client/extensions/index.js.map +1 -1
- package/dist/client/extensions/portable-extension.d.ts +86 -0
- package/dist/client/extensions/portable-extension.d.ts.map +1 -0
- package/dist/client/extensions/portable-extension.js +480 -0
- package/dist/client/extensions/portable-extension.js.map +1 -0
- package/dist/client/host-bridge.d.ts +266 -0
- package/dist/client/host-bridge.d.ts.map +1 -0
- package/dist/client/host-bridge.js +745 -0
- package/dist/client/host-bridge.js.map +1 -0
- package/dist/client/host-tools.d.ts +40 -0
- package/dist/client/host-tools.d.ts.map +1 -0
- package/dist/client/host-tools.js +94 -0
- package/dist/client/host-tools.js.map +1 -0
- package/dist/client/index.d.ts +13 -2
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +11 -2
- package/dist/client/index.js.map +1 -1
- package/dist/client/resources/BuiltinCapabilityDetail.d.ts +10 -0
- package/dist/client/resources/BuiltinCapabilityDetail.d.ts.map +1 -0
- package/dist/client/resources/BuiltinCapabilityDetail.js +51 -0
- package/dist/client/resources/BuiltinCapabilityDetail.js.map +1 -0
- package/dist/client/resources/ResourceEditor.d.ts +3 -1
- package/dist/client/resources/ResourceEditor.d.ts.map +1 -1
- package/dist/client/resources/ResourceEditor.js +40 -17
- package/dist/client/resources/ResourceEditor.js.map +1 -1
- package/dist/client/resources/ResourceTree.d.ts.map +1 -1
- package/dist/client/resources/ResourceTree.js +23 -2
- package/dist/client/resources/ResourceTree.js.map +1 -1
- package/dist/client/resources/ResourcesPanel.d.ts.map +1 -1
- package/dist/client/resources/ResourcesPanel.js +77 -17
- package/dist/client/resources/ResourcesPanel.js.map +1 -1
- package/dist/client/resources/index.d.ts +1 -0
- package/dist/client/resources/index.d.ts.map +1 -1
- package/dist/client/resources/index.js +1 -0
- package/dist/client/resources/index.js.map +1 -1
- package/dist/client/resources/use-builtin-capabilities.d.ts +62 -0
- package/dist/client/resources/use-builtin-capabilities.d.ts.map +1 -0
- package/dist/client/resources/use-builtin-capabilities.js +54 -0
- package/dist/client/resources/use-builtin-capabilities.js.map +1 -0
- package/dist/client/resources/use-resources.d.ts +30 -2
- package/dist/client/resources/use-resources.d.ts.map +1 -1
- package/dist/client/resources/use-resources.js +42 -1
- package/dist/client/resources/use-resources.js.map +1 -1
- package/dist/client/settings/SettingsPanel.d.ts.map +1 -1
- package/dist/client/settings/SettingsPanel.js +151 -2
- package/dist/client/settings/SettingsPanel.js.map +1 -1
- package/dist/client/use-chat-models.d.ts.map +1 -1
- package/dist/client/use-chat-models.js +20 -0
- package/dist/client/use-chat-models.js.map +1 -1
- package/dist/client/use-chat-threads.d.ts.map +1 -1
- package/dist/client/use-chat-threads.js +46 -2
- package/dist/client/use-chat-threads.js.map +1 -1
- package/dist/client/use-chat-threads.spec.js +77 -0
- package/dist/client/use-chat-threads.spec.js.map +1 -1
- package/dist/code-agents/index.d.ts +4 -0
- package/dist/code-agents/index.d.ts.map +1 -0
- package/dist/code-agents/index.js +4 -0
- package/dist/code-agents/index.js.map +1 -0
- package/dist/connections/catalog.d.ts +134 -0
- package/dist/connections/catalog.d.ts.map +1 -0
- package/dist/connections/catalog.js +180 -0
- package/dist/connections/catalog.js.map +1 -0
- package/dist/connections/index.d.ts +2 -0
- package/dist/connections/index.d.ts.map +1 -0
- package/dist/connections/index.js +2 -0
- package/dist/connections/index.js.map +1 -0
- package/dist/extensions/change-marker.d.ts +10 -0
- package/dist/extensions/change-marker.d.ts.map +1 -0
- package/dist/extensions/change-marker.js +42 -0
- package/dist/extensions/change-marker.js.map +1 -0
- package/dist/extensions/routes.d.ts.map +1 -1
- package/dist/extensions/routes.js +1 -7
- package/dist/extensions/routes.js.map +1 -1
- package/dist/extensions/schema.d.ts +1 -0
- package/dist/extensions/schema.d.ts.map +1 -1
- package/dist/extensions/schema.js +1 -0
- package/dist/extensions/schema.js.map +1 -1
- package/dist/extensions/slots/routes.js +1 -1
- package/dist/extensions/slots/routes.js.map +1 -1
- package/dist/extensions/store.d.ts +3 -0
- package/dist/extensions/store.d.ts.map +1 -1
- package/dist/extensions/store.js +112 -4
- package/dist/extensions/store.js.map +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/integrations/adapters/telegram.d.ts.map +1 -1
- package/dist/integrations/adapters/telegram.js +1 -0
- package/dist/integrations/adapters/telegram.js.map +1 -1
- package/dist/integrations/index.d.ts +5 -1
- package/dist/integrations/index.d.ts.map +1 -1
- package/dist/integrations/index.js +4 -1
- package/dist/integrations/index.js.map +1 -1
- package/dist/integrations/plugin.d.ts +8 -0
- package/dist/integrations/plugin.d.ts.map +1 -1
- package/dist/integrations/plugin.js +760 -32
- package/dist/integrations/plugin.js.map +1 -1
- package/dist/integrations/remote-commands-store.d.ts +36 -0
- package/dist/integrations/remote-commands-store.d.ts.map +1 -0
- package/dist/integrations/remote-commands-store.js +273 -0
- package/dist/integrations/remote-commands-store.js.map +1 -0
- package/dist/integrations/remote-devices-store.d.ts +43 -0
- package/dist/integrations/remote-devices-store.d.ts.map +1 -0
- package/dist/integrations/remote-devices-store.js +315 -0
- package/dist/integrations/remote-devices-store.js.map +1 -0
- package/dist/integrations/remote-push-store.d.ts +37 -0
- package/dist/integrations/remote-push-store.d.ts.map +1 -0
- package/dist/integrations/remote-push-store.js +299 -0
- package/dist/integrations/remote-push-store.js.map +1 -0
- package/dist/integrations/remote-retry-job.d.ts +7 -0
- package/dist/integrations/remote-retry-job.d.ts.map +1 -0
- package/dist/integrations/remote-retry-job.js +45 -0
- package/dist/integrations/remote-retry-job.js.map +1 -0
- package/dist/integrations/remote-run-events-store.d.ts +18 -0
- package/dist/integrations/remote-run-events-store.d.ts.map +1 -0
- package/dist/integrations/remote-run-events-store.js +82 -0
- package/dist/integrations/remote-run-events-store.js.map +1 -0
- package/dist/integrations/remote-types.d.ts +101 -0
- package/dist/integrations/remote-types.d.ts.map +1 -0
- package/dist/integrations/remote-types.js +2 -0
- package/dist/integrations/remote-types.js.map +1 -0
- package/dist/integrations/webhook-handler.d.ts +2 -0
- package/dist/integrations/webhook-handler.d.ts.map +1 -1
- package/dist/integrations/webhook-handler.js +4 -1
- package/dist/integrations/webhook-handler.js.map +1 -1
- package/dist/jobs/scheduler.d.ts +4 -2
- package/dist/jobs/scheduler.d.ts.map +1 -1
- package/dist/jobs/scheduler.js +9 -3
- package/dist/jobs/scheduler.js.map +1 -1
- package/dist/mcp-client/builtin-capabilities.d.ts +20 -0
- package/dist/mcp-client/builtin-capabilities.d.ts.map +1 -0
- package/dist/mcp-client/builtin-capabilities.js +75 -0
- package/dist/mcp-client/builtin-capabilities.js.map +1 -0
- package/dist/mcp-client/builtin-store.d.ts +10 -0
- package/dist/mcp-client/builtin-store.d.ts.map +1 -0
- package/dist/mcp-client/builtin-store.js +55 -0
- package/dist/mcp-client/builtin-store.js.map +1 -0
- package/dist/mcp-client/index.d.ts +3 -1
- package/dist/mcp-client/index.d.ts.map +1 -1
- package/dist/mcp-client/index.js +3 -1
- package/dist/mcp-client/index.js.map +1 -1
- package/dist/mcp-client/routes.d.ts +28 -0
- package/dist/mcp-client/routes.d.ts.map +1 -1
- package/dist/mcp-client/routes.js +195 -1
- package/dist/mcp-client/routes.js.map +1 -1
- package/dist/org/context.d.ts.map +1 -1
- package/dist/org/context.js +34 -0
- package/dist/org/context.js.map +1 -1
- package/dist/resources/handlers.d.ts +4 -0
- package/dist/resources/handlers.d.ts.map +1 -1
- package/dist/resources/handlers.js +46 -7
- package/dist/resources/handlers.js.map +1 -1
- package/dist/resources/script-helpers.d.ts +8 -1
- package/dist/resources/script-helpers.d.ts.map +1 -1
- package/dist/resources/script-helpers.js +18 -8
- package/dist/resources/script-helpers.js.map +1 -1
- package/dist/resources/store.d.ts +19 -0
- package/dist/resources/store.d.ts.map +1 -1
- package/dist/resources/store.js +86 -3
- package/dist/resources/store.js.map +1 -1
- package/dist/scripts/agent-engines/list-agent-engines.d.ts +1 -1
- package/dist/scripts/agent-engines/list-agent-engines.d.ts.map +1 -1
- package/dist/scripts/agent-engines/list-agent-engines.js +18 -7
- package/dist/scripts/agent-engines/list-agent-engines.js.map +1 -1
- package/dist/scripts/agent-engines/manage-agent-engine.d.ts.map +1 -1
- package/dist/scripts/agent-engines/manage-agent-engine.js +100 -7
- package/dist/scripts/agent-engines/manage-agent-engine.js.map +1 -1
- package/dist/scripts/resources/delete.d.ts.map +1 -1
- package/dist/scripts/resources/delete.js +4 -1
- package/dist/scripts/resources/delete.js.map +1 -1
- package/dist/scripts/resources/effective.d.ts +11 -0
- package/dist/scripts/resources/effective.d.ts.map +1 -0
- package/dist/scripts/resources/effective.js +54 -0
- package/dist/scripts/resources/effective.js.map +1 -0
- package/dist/scripts/resources/index.d.ts.map +1 -1
- package/dist/scripts/resources/index.js +1 -0
- package/dist/scripts/resources/index.js.map +1 -1
- package/dist/scripts/resources/list.d.ts +1 -1
- package/dist/scripts/resources/list.d.ts.map +1 -1
- package/dist/scripts/resources/list.js +17 -5
- package/dist/scripts/resources/list.js.map +1 -1
- package/dist/scripts/resources/read.d.ts +1 -1
- package/dist/scripts/resources/read.d.ts.map +1 -1
- package/dist/scripts/resources/read.js +20 -5
- package/dist/scripts/resources/read.js.map +1 -1
- package/dist/scripts/resources/write.d.ts.map +1 -1
- package/dist/scripts/resources/write.js +4 -1
- package/dist/scripts/resources/write.js.map +1 -1
- package/dist/scripts/runner.d.ts +11 -1
- package/dist/scripts/runner.d.ts.map +1 -1
- package/dist/scripts/runner.js +75 -27
- package/dist/scripts/runner.js.map +1 -1
- package/dist/server/action-discovery.d.ts.map +1 -1
- package/dist/server/action-discovery.js +5 -0
- package/dist/server/action-discovery.js.map +1 -1
- package/dist/server/agent-chat-plugin.d.ts +24 -0
- package/dist/server/agent-chat-plugin.d.ts.map +1 -1
- package/dist/server/agent-chat-plugin.js +608 -54
- package/dist/server/agent-chat-plugin.js.map +1 -1
- package/dist/server/core-routes-plugin.d.ts.map +1 -1
- package/dist/server/core-routes-plugin.js +2 -0
- package/dist/server/core-routes-plugin.js.map +1 -1
- package/dist/server/embedded.d.ts +72 -0
- package/dist/server/embedded.d.ts.map +1 -0
- package/dist/server/embedded.js +119 -0
- package/dist/server/embedded.js.map +1 -0
- package/dist/server/index.d.ts +8 -1
- package/dist/server/index.d.ts.map +1 -1
- package/dist/server/index.js +7 -1
- package/dist/server/index.js.map +1 -1
- package/dist/server/poll.d.ts.map +1 -1
- package/dist/server/poll.js +184 -13
- package/dist/server/poll.js.map +1 -1
- package/dist/server/resources-plugin.d.ts.map +1 -1
- package/dist/server/resources-plugin.js +11 -2
- package/dist/server/resources-plugin.js.map +1 -1
- package/dist/sharing/actions/extension-change.d.ts +4 -0
- package/dist/sharing/actions/extension-change.d.ts.map +1 -0
- package/dist/sharing/actions/extension-change.js +13 -0
- package/dist/sharing/actions/extension-change.js.map +1 -0
- package/dist/sharing/actions/set-resource-visibility.d.ts.map +1 -1
- package/dist/sharing/actions/set-resource-visibility.js +3 -0
- package/dist/sharing/actions/set-resource-visibility.js.map +1 -1
- package/dist/sharing/actions/share-resource.d.ts.map +1 -1
- package/dist/sharing/actions/share-resource.js +4 -0
- package/dist/sharing/actions/share-resource.js.map +1 -1
- package/dist/sharing/actions/unshare-resource.d.ts.map +1 -1
- package/dist/sharing/actions/unshare-resource.js +3 -0
- package/dist/sharing/actions/unshare-resource.js.map +1 -1
- package/dist/templates/default/AGENTS.md +3 -3
- package/dist/templates/workspace-core/AGENTS.md +7 -0
- package/dist/templates/workspace-root/AGENTS.md +7 -0
- package/dist/templates/workspace-root/README.md +25 -0
- package/dist/triggers/dispatcher.d.ts +3 -1
- package/dist/triggers/dispatcher.d.ts.map +1 -1
- package/dist/triggers/dispatcher.js +9 -3
- package/dist/triggers/dispatcher.js.map +1 -1
- package/dist/workspace-connections/index.d.ts +2 -0
- package/dist/workspace-connections/index.d.ts.map +1 -0
- package/dist/workspace-connections/index.js +2 -0
- package/dist/workspace-connections/index.js.map +1 -0
- package/dist/workspace-connections/store.d.ts +229 -0
- package/dist/workspace-connections/store.d.ts.map +1 -0
- package/dist/workspace-connections/store.js +938 -0
- package/dist/workspace-connections/store.js.map +1 -0
- package/docs/content/agent-teams.md +6 -0
- package/docs/content/cloneable-saas.md +1 -0
- package/docs/content/code-agents-ui.md +261 -0
- package/docs/content/dispatch.md +40 -3
- package/docs/content/embedding-sdk.md +459 -0
- package/docs/content/faq.md +1 -0
- package/docs/content/getting-started.md +1 -0
- package/docs/content/mcp-clients.md +41 -3
- package/docs/content/migration-workbench.md +237 -54
- package/docs/content/multi-app-workspace.md +41 -0
- package/docs/content/multi-tenancy.md +1 -1
- package/docs/content/template-brain.md +418 -0
- package/docs/content/template-dispatch.md +30 -0
- package/docs/content/workspace-connections.md +509 -0
- package/docs/content/workspace-management.md +12 -12
- package/docs/content/workspace.md +180 -40
- package/package.json +7 -2
- package/src/templates/default/AGENTS.md +3 -3
- package/src/templates/workspace-core/AGENTS.md +7 -0
- package/src/templates/workspace-root/AGENTS.md +7 -0
- package/src/templates/workspace-root/README.md +25 -0
|
@@ -32,33 +32,39 @@ The **Workspace** tab in the agent sidebar is where you and the agent share pers
|
|
|
32
32
|
- Create files with the `+` menu. Upload with the upload button. Edit inline (visual or code view).
|
|
33
33
|
- **Personal** is just you. **Shared** is your team/org.
|
|
34
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 `LEARNINGS.md`, and personal structured memory at `memory/MEMORY.md`.
|
|
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.
|
|
36
37
|
|
|
37
38
|
## What goes in here? {#what-goes-in-here}
|
|
38
39
|
|
|
39
|
-
| File / path | What it's for
|
|
40
|
-
| --------------------------- |
|
|
41
|
-
| `AGENTS.md` (Shared) | Team instructions the agent reads every turn — tone, rules, domain context, skill references.
|
|
42
|
-
| `
|
|
43
|
-
| `
|
|
44
|
-
| `
|
|
45
|
-
| `
|
|
46
|
-
| `
|
|
47
|
-
| `
|
|
48
|
-
|
|
|
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
|
+
| `jobs/<name>.md` | Scheduled tasks that run on a cron (see the recurring-jobs docs). |
|
|
50
|
+
| `context/<name>.md` | Shared reference material: brand guidelines, personas, positioning, product facts, messaging, etc. |
|
|
51
|
+
| Anything else | Notes, prompts, config, dataset snippets — any text file. |
|
|
49
52
|
|
|
50
53
|
## Overview {#overview}
|
|
51
54
|
|
|
52
55
|
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.
|
|
53
56
|
|
|
54
|
-
Resources have
|
|
57
|
+
Resources have three runtime scopes:
|
|
55
58
|
|
|
56
59
|
- **Personal** — scoped to a single user (their email). Good for preferences, notes, and per-user context.
|
|
57
|
-
- **Shared** — visible to all users. Good for team instructions, skills, and shared config.
|
|
60
|
+
- **Shared / organization** — visible to all users in the app or organization. Good for app/team instructions, skills, and shared config.
|
|
61
|
+
- **Workspace** — inherited global defaults managed from Dispatch Resources. Good for company facts, positioning, brand guidelines, global guardrails, and workspace-wide skills. Apps read these at runtime; they are not copied into each app.
|
|
62
|
+
|
|
63
|
+
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.
|
|
58
64
|
|
|
59
65
|
## Workspace Panel {#workspace-panel}
|
|
60
66
|
|
|
61
|
-
The agent panel includes a **Workspace** tab alongside Chat and CLI. This panel lets users browse, create
|
|
67
|
+
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.
|
|
62
68
|
|
|
63
69
|
Resources can be any text file — Markdown, JSON, YAML, plain text. The panel includes an inline editor for viewing and modifying resource content directly.
|
|
64
70
|
|
|
@@ -69,10 +75,23 @@ The `+` menu in Workspace supports typed creation flows for:
|
|
|
69
75
|
- **Agents** — custom sub-agent profiles under `agents/*.md`
|
|
70
76
|
- **Scheduled Tasks** — recurring jobs under `jobs/`
|
|
71
77
|
|
|
72
|
-
Workspace resources
|
|
78
|
+
Workspace resources appear in three scopes:
|
|
73
79
|
|
|
80
|
+
- **Workspace** — inherited from Dispatch by every app; read-only in app panels
|
|
81
|
+
- **Organization** — visible across the team/org
|
|
74
82
|
- **Personal** — visible only to the current user
|
|
75
|
-
|
|
83
|
+
|
|
84
|
+
When you open a resource, the editor shows an **Effective context** strip with the precedence stack:
|
|
85
|
+
|
|
86
|
+
```text
|
|
87
|
+
workspace default -> organization/app override -> personal override
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
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.
|
|
91
|
+
|
|
92
|
+
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.
|
|
93
|
+
|
|
94
|
+
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.
|
|
76
95
|
|
|
77
96
|
Click the `?` icon in the Workspace toolbar to jump back to these docs at any time.
|
|
78
97
|
|
|
@@ -100,15 +119,15 @@ Change how the agent behaves, in 60 seconds.
|
|
|
100
119
|
|
|
101
120
|
## How the Agent Uses Resources {#how-the-agent-uses-resources}
|
|
102
121
|
|
|
103
|
-
The agent has built-in tools for managing resources: `resource-list`, `resource-read`, `resource-write`, and `resource-delete`. These are available in both dev and production modes.
|
|
122
|
+
The agent has built-in tools for managing resources: `resource-list`, `resource-read`, `resource-effective`, `resource-write`, and `resource-delete`. These are available in both dev and production modes.
|
|
104
123
|
|
|
105
124
|
At the start of every conversation, the agent automatically reads:
|
|
106
125
|
|
|
107
126
|
### AGENTS.md {#agents-md}
|
|
108
127
|
|
|
109
|
-
|
|
128
|
+
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.
|
|
110
129
|
|
|
111
|
-
```
|
|
130
|
+
```text
|
|
112
131
|
# Agent Instructions
|
|
113
132
|
|
|
114
133
|
## Tone
|
|
@@ -122,9 +141,102 @@ Be concise. Lead with the answer.
|
|
|
122
141
|
|
|
123
142
|
## Skills
|
|
124
143
|
|
|
125
|
-
| Skill | Path
|
|
126
|
-
| ------------- |
|
|
127
|
-
| data-analysis | `skills/data-analysis.md` | BigQuery and data workflows |
|
|
144
|
+
| Skill | Path | Description |
|
|
145
|
+
| ------------- | ------------------------------- | --------------------------- |
|
|
146
|
+
| data-analysis | `skills/data-analysis/SKILL.md` | BigQuery and data workflows |
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
### Global Instructions {#global-instructions}
|
|
150
|
+
|
|
151
|
+
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.
|
|
152
|
+
|
|
153
|
+
For example:
|
|
154
|
+
|
|
155
|
+
```text
|
|
156
|
+
AGENTS.md
|
|
157
|
+
instructions/customer-support-guardrails.md
|
|
158
|
+
instructions/legal-review-policy.md
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
Both normal chat and integration-triggered agent runs load these instruction resources before responding.
|
|
162
|
+
|
|
163
|
+
### Reference Resources {#reference-resources}
|
|
164
|
+
|
|
165
|
+
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 `resource-read` when a task may depend on it. Use `resource-effective --path "context/brand.md"` when you need to see whether a workspace default is overridden by an organization/app or personal resource.
|
|
166
|
+
|
|
167
|
+
Examples:
|
|
168
|
+
|
|
169
|
+
```text
|
|
170
|
+
context/core-positioning.md
|
|
171
|
+
context/buyer-personas.md
|
|
172
|
+
context/brand-guidelines.md
|
|
173
|
+
context/company-facts.md
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
For a new workspace, a useful starter pack is:
|
|
177
|
+
|
|
178
|
+
```text
|
|
179
|
+
context/company.md # what the company does, ICP, products, links
|
|
180
|
+
context/brand.md # voice, visual identity, spelling, forbidden usage
|
|
181
|
+
context/messaging.md # positioning, value props, proof points, objections
|
|
182
|
+
instructions/guardrails.md # compliance, escalation, and approval rules
|
|
183
|
+
skills/company-voice/SKILL.md # on-demand guidance for customer-facing writing
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
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.
|
|
187
|
+
|
|
188
|
+
To override a global default for one app or team, create a shared/organization resource in that app with the same path. To override it for one person, create a personal resource with the same path. Do not copy the workspace file into every app; the runtime resolves the stack on read:
|
|
189
|
+
|
|
190
|
+
```text
|
|
191
|
+
workspace context/brand.md
|
|
192
|
+
-> shared/app context/brand.md
|
|
193
|
+
-> personal context/brand.md
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
Example contents:
|
|
197
|
+
|
|
198
|
+
```text
|
|
199
|
+
<!-- context/company.md -->
|
|
200
|
+
|
|
201
|
+
# Company
|
|
202
|
+
|
|
203
|
+
- Company: Example Co
|
|
204
|
+
- Product: Agent-native workspace for internal teams
|
|
205
|
+
- ICP: Operations, support, and GTM teams managing many small tools
|
|
206
|
+
- Canonical links: https://example.com, https://docs.example.com
|
|
207
|
+
|
|
208
|
+
<!-- context/brand.md -->
|
|
209
|
+
|
|
210
|
+
# Brand
|
|
211
|
+
|
|
212
|
+
- Voice: direct, warm, concrete
|
|
213
|
+
- Use: "workspace", "agent", "team"
|
|
214
|
+
- Avoid: unsupported superlatives and vague AI claims
|
|
215
|
+
|
|
216
|
+
<!-- context/messaging.md -->
|
|
217
|
+
|
|
218
|
+
# Messaging
|
|
219
|
+
|
|
220
|
+
- Positioning: one control plane for every app agent
|
|
221
|
+
- Value props: shared context, shared credentials, cross-app delegation
|
|
222
|
+
- Proof points: fewer duplicated Slack bots, one vault, one policy surface
|
|
223
|
+
|
|
224
|
+
<!-- instructions/guardrails.md -->
|
|
225
|
+
|
|
226
|
+
# Guardrails
|
|
227
|
+
|
|
228
|
+
- Do not invent customer names, metrics, or legal claims.
|
|
229
|
+
- Ask for approval before changing shared instructions or All-app resources.
|
|
230
|
+
- Escalate security, billing, and data-loss concerns to an admin.
|
|
231
|
+
|
|
232
|
+
<!-- skills/company-voice/SKILL.md -->
|
|
233
|
+
|
|
234
|
+
---
|
|
235
|
+
name: company-voice
|
|
236
|
+
description: Rewrite or review customer-facing copy using the workspace brand and messaging resources.
|
|
237
|
+
---
|
|
238
|
+
|
|
239
|
+
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.
|
|
128
240
|
```
|
|
129
241
|
|
|
130
242
|
### Memory {#memory}
|
|
@@ -158,18 +270,38 @@ The resource system also seeds a personal `LEARNINGS.md` for compatibility with
|
|
|
158
270
|
|
|
159
271
|
**Where it fits.**
|
|
160
272
|
|
|
161
|
-
| Surface | Scope | Written by | Read when
|
|
162
|
-
| ------------------ | -------- | ------------------------- |
|
|
163
|
-
| `AGENTS.md` | Shared | Humans / agent on request | Every turn
|
|
164
|
-
| `LEARNINGS.md` | Shared | Humans / agent on request | Every turn
|
|
165
|
-
| `memory/MEMORY.md` | Personal | Agent / humans | Every turn
|
|
166
|
-
| `
|
|
273
|
+
| Surface | Scope | Written by | Read when |
|
|
274
|
+
| ------------------ | -------- | ------------------------- | -------------------------------------- |
|
|
275
|
+
| `AGENTS.md` | Shared | Humans / agent on request | Every turn |
|
|
276
|
+
| `LEARNINGS.md` | Shared | Humans / agent on request | Every turn |
|
|
277
|
+
| `memory/MEMORY.md` | Personal | Agent / humans | Every turn |
|
|
278
|
+
| `instructions/…` | Shared | Humans / agent on request | Every turn |
|
|
279
|
+
| `skills/…` | Shared | Humans / agent on request | On demand (`/slash` command) |
|
|
280
|
+
| `context/…` | Shared | Humans / agent on request | Indexed every turn, read when relevant |
|
|
167
281
|
|
|
168
282
|
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`.
|
|
169
283
|
|
|
284
|
+
## Workspace Connections {#workspace-connections}
|
|
285
|
+
|
|
286
|
+
Workspace Connections are the reusable integration metadata layer for apps that
|
|
287
|
+
need the same third-party account. A connection records the provider, account
|
|
288
|
+
label, status, scopes, allowed app slugs, and credential references in portable
|
|
289
|
+
SQL. Secrets stay in the scoped credential store; connection records should only
|
|
290
|
+
point at credential keys such as `SLACK_BOT_TOKEN` or `GITHUB_TOKEN`.
|
|
291
|
+
|
|
292
|
+
This is the foundation for “connect once, use everywhere”: Brain can ingest
|
|
293
|
+
approved repositories, Analytics can analyze the same provider later, and
|
|
294
|
+
Dispatch can remain the control plane for sharing credentials and policy. The
|
|
295
|
+
initial API lives in `@agent-native/core/workspace-connections` and is scoped by
|
|
296
|
+
the active request user/org.
|
|
297
|
+
|
|
298
|
+
See [Workspace Connections](/docs/workspace-connections) for the reusable
|
|
299
|
+
connector pattern, app grant/readiness APIs, and concrete Slack, HubSpot, and
|
|
300
|
+
GitHub examples.
|
|
301
|
+
|
|
170
302
|
## Skills {#skills}
|
|
171
303
|
|
|
172
|
-
Skills are Markdown resource files that give the agent deep domain knowledge for specific tasks. They live under the `skills/` path prefix in resources (e.g. `skills/data-analysis.md`, `skills/code-review.md`).
|
|
304
|
+
Skills are Markdown resource files that give the agent deep domain knowledge for specific tasks. They live under the `skills/` path prefix in resources, preferably as `skills/<name>/SKILL.md` (e.g. `skills/data-analysis/SKILL.md`, `skills/code-review/SKILL.md`). Flat `skills/<name>.md` files still work for compatibility.
|
|
173
305
|
|
|
174
306
|
When the agent encounters a task that matches a skill, it reads the skill file and follows its guidance. Skills referenced in `AGENTS.md` are discovered automatically.
|
|
175
307
|
|
|
@@ -177,7 +309,7 @@ When the agent encounters a task that matches a skill, it reads the skill file a
|
|
|
177
309
|
|
|
178
310
|
There are two ways to add skills:
|
|
179
311
|
|
|
180
|
-
1. **Via Workspace tab** — Create a new resource with a path like `skills/my-skill.md`. This works in both dev and production.
|
|
312
|
+
1. **Via Workspace tab** — Create a new resource with a path like `skills/my-skill/SKILL.md`. This works in both dev and production.
|
|
181
313
|
2. **Via code (dev only)** — Add a Markdown file to `.agents/skills/` in your project. These are available when the app runs in dev mode.
|
|
182
314
|
|
|
183
315
|
## Custom Agents {#custom-agents}
|
|
@@ -309,15 +441,17 @@ Resources can be managed from server code, actions, or the REST API.
|
|
|
309
441
|
|
|
310
442
|
REST endpoints mounted automatically:
|
|
311
443
|
|
|
312
|
-
| Method | Endpoint
|
|
313
|
-
| -------- |
|
|
314
|
-
| `GET` | `/_agent-native/resources?scope=all`
|
|
315
|
-
| `GET` | `/_agent-native/resources
|
|
316
|
-
| `
|
|
317
|
-
| `GET` | `/_agent-native/resources
|
|
318
|
-
| `
|
|
319
|
-
| `
|
|
320
|
-
| `
|
|
444
|
+
| Method | Endpoint | Description |
|
|
445
|
+
| -------- | --------------------------------------------- | ------------------------------------ |
|
|
446
|
+
| `GET` | `/_agent-native/resources?scope=all` | List resources |
|
|
447
|
+
| `GET` | `/_agent-native/resources?scope=workspace` | List inherited workspace resources |
|
|
448
|
+
| `GET` | `/_agent-native/resources/tree?scope=all` | Get folder tree |
|
|
449
|
+
| `GET` | `/_agent-native/resources/effective?path=...` | Show the effective inheritance stack |
|
|
450
|
+
| `POST` | `/_agent-native/resources` | Create a resource |
|
|
451
|
+
| `GET` | `/_agent-native/resources/:id` | Get resource with content |
|
|
452
|
+
| `PUT` | `/_agent-native/resources/:id` | Update a resource |
|
|
453
|
+
| `DELETE` | `/_agent-native/resources/:id` | Delete a resource |
|
|
454
|
+
| `POST` | `/_agent-native/resources/upload` | Upload a file as resource |
|
|
321
455
|
|
|
322
456
|
### Action API {#script-api}
|
|
323
457
|
|
|
@@ -328,7 +462,13 @@ The agent uses these built-in actions. You can also call them from your own acti
|
|
|
328
462
|
pnpm action resource-list --scope all
|
|
329
463
|
|
|
330
464
|
# Read a resource
|
|
331
|
-
pnpm action resource-read --path "skills/my-skill.md"
|
|
465
|
+
pnpm action resource-read --path "skills/my-skill/SKILL.md"
|
|
466
|
+
|
|
467
|
+
# Read inherited workspace context managed by Dispatch
|
|
468
|
+
pnpm action resource-read --scope workspace --path "context/brand.md"
|
|
469
|
+
|
|
470
|
+
# Show workspace -> organization/app -> personal precedence for a path
|
|
471
|
+
pnpm action resource-effective --path "context/brand.md"
|
|
332
472
|
|
|
333
473
|
# Write a resource
|
|
334
474
|
pnpm action resource-write --path "notes/meeting.md" --content "# Meeting Notes..."
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-native/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Framework for agent-native application development — where AI agents and UI share state via files",
|
|
6
6
|
"license": "MIT",
|
|
@@ -76,6 +76,9 @@
|
|
|
76
76
|
"./mcp-client": "./dist/mcp-client/index.js",
|
|
77
77
|
"./tracking": "./dist/tracking/index.js",
|
|
78
78
|
"./usage": "./dist/usage/store.js",
|
|
79
|
+
"./connections": "./dist/connections/index.js",
|
|
80
|
+
"./code-agents": "./dist/code-agents/index.js",
|
|
81
|
+
"./workspace-connections": "./dist/workspace-connections/index.js",
|
|
79
82
|
"./notifications": "./dist/notifications/index.js",
|
|
80
83
|
"./client/notifications": "./dist/client/notifications/index.js",
|
|
81
84
|
"./progress": "./dist/progress/index.js",
|
|
@@ -99,7 +102,7 @@
|
|
|
99
102
|
"dev": "tsc --watch",
|
|
100
103
|
"typecheck": "tsc --noEmit",
|
|
101
104
|
"test": "vitest --run src",
|
|
102
|
-
"prepack": "cp ../../README.md ./README.md",
|
|
105
|
+
"prepack": "npm run build && cp ../../README.md ./README.md",
|
|
103
106
|
"prepublishOnly": "npm run build",
|
|
104
107
|
"release": "npm version patch && npm publish --access public"
|
|
105
108
|
},
|
|
@@ -292,7 +295,9 @@
|
|
|
292
295
|
"express": "^5.2.1",
|
|
293
296
|
"firebase-admin": "^13.0.0",
|
|
294
297
|
"node-pty": "^1.1.0",
|
|
298
|
+
"playwright": "^1.60.0",
|
|
295
299
|
"react": "^19.2.5",
|
|
300
|
+
"react-dom": "19.2.5",
|
|
296
301
|
"react-router": "^7.13.1",
|
|
297
302
|
"tailwindcss": "catalog:",
|
|
298
303
|
"typescript": "^6.0.3",
|
|
@@ -25,10 +25,10 @@ Use `getSession(event)` server-side and `useSession()` client-side.
|
|
|
25
25
|
|
|
26
26
|
Resources are SQL-backed persistent files for notes, learnings, and context.
|
|
27
27
|
|
|
28
|
-
**At the start of every conversation, read these resources (
|
|
28
|
+
**At the start of every conversation, read these resources (workspace, shared, and personal scopes as relevant):**
|
|
29
29
|
|
|
30
|
-
1. **`AGENTS.md`** --
|
|
31
|
-
2. **`LEARNINGS.md`** -- user preferences, corrections, and patterns. Read
|
|
30
|
+
1. **`AGENTS.md`** -- inherited workspace defaults, app/team instructions, and user-specific context.
|
|
31
|
+
2. **`LEARNINGS.md`** -- user preferences, corrections, and patterns. Read personal and shared scopes.
|
|
32
32
|
|
|
33
33
|
**Update `LEARNINGS.md` when you learn something important.**
|
|
34
34
|
|
|
@@ -27,6 +27,13 @@ agent should know.
|
|
|
27
27
|
notes, scripts, task plans, or intermediate outputs, but should promote them
|
|
28
28
|
to normal workspace visibility only when the user explicitly asks to keep or
|
|
29
29
|
manage the file.
|
|
30
|
+
- Runtime-editable global resources can be managed from Dispatch Resources.
|
|
31
|
+
Use `AGENTS.md` or `instructions/<slug>.md` for always-on guardrails,
|
|
32
|
+
`skills/<slug>/SKILL.md` for workspace skills, `context/<slug>.md` for
|
|
33
|
+
personas/positioning/messaging/company facts/brand guidelines, and
|
|
34
|
+
`agents/<slug>.md` for custom agent profiles. Scope them to All apps when
|
|
35
|
+
every workspace app should inherit them. All-app resources are inherited at
|
|
36
|
+
runtime; do not copy or sync them into individual apps.
|
|
30
37
|
|
|
31
38
|
## Adding Apps
|
|
32
39
|
|
|
@@ -24,6 +24,13 @@ coding agents can discover the same workspace-wide guidance from the root.
|
|
|
24
24
|
manage the file.
|
|
25
25
|
- Durable instructions, skills, jobs, memories, custom agents, and files the
|
|
26
26
|
user explicitly asked to save belong in normal workspace visibility.
|
|
27
|
+
- Runtime-editable global resources are managed from Dispatch Resources. Use
|
|
28
|
+
`AGENTS.md` or `instructions/<slug>.md` for always-on guardrails,
|
|
29
|
+
`skills/<slug>/SKILL.md` for workspace skills, `context/<slug>.md` for
|
|
30
|
+
personas/positioning/messaging/company facts/brand guidelines, and
|
|
31
|
+
`agents/<slug>.md` for custom agent profiles.
|
|
32
|
+
- Set Dispatch resources to All apps when every workspace app should inherit
|
|
33
|
+
them. Use selected-app grants only for resources that should not be global.
|
|
27
34
|
|
|
28
35
|
## Workspace Scope
|
|
29
36
|
|
|
@@ -36,6 +36,28 @@ the shared package (`@{{APP_NAME}}/shared`).
|
|
|
36
36
|
The workspace root also links `.agents/skills` to the shared package so coding
|
|
37
37
|
agents launched from the root can discover the same workspace-wide skills.
|
|
38
38
|
|
|
39
|
+
Runtime-editable global resources live in Dispatch, not in `packages/shared`.
|
|
40
|
+
Use Dispatch **Resources** for company context and guardrails that admins should
|
|
41
|
+
change without a code deploy:
|
|
42
|
+
|
|
43
|
+
- `AGENTS.md` or `instructions/<slug>.md` for instructions every app agent loads
|
|
44
|
+
- `skills/<slug>/SKILL.md` for workspace skills
|
|
45
|
+
- `context/<slug>.md` for personas, positioning, messaging, company facts, and brand guidelines
|
|
46
|
+
- `agents/<slug>.md` for reusable custom agent profiles
|
|
47
|
+
|
|
48
|
+
Set those resources to **All apps** when every workspace app should receive
|
|
49
|
+
them; use selected-app grants for app-specific packs.
|
|
50
|
+
|
|
51
|
+
Starter global resources:
|
|
52
|
+
|
|
53
|
+
```text
|
|
54
|
+
context/company.md # company overview, ICP, products, canonical links
|
|
55
|
+
context/brand.md # brand voice, visual identity, spelling, terms to avoid
|
|
56
|
+
context/messaging.md # positioning, value props, proof points, objections
|
|
57
|
+
instructions/guardrails.md # compliance, escalation, and approval rules
|
|
58
|
+
skills/company-voice/SKILL.md # copywriting/review guidance for customer-facing work
|
|
59
|
+
```
|
|
60
|
+
|
|
39
61
|
## Getting started
|
|
40
62
|
|
|
41
63
|
```bash
|
|
@@ -55,6 +77,9 @@ localhost or dev ports because the active gateway origin owns the port.
|
|
|
55
77
|
Dispatch vault keys are workspace-wide by default: every saved vault key is
|
|
56
78
|
available to every workspace app and can be synced from Dispatch. Switch the
|
|
57
79
|
Vault page to manual access only when you need explicit per-app key grants.
|
|
80
|
+
Dispatch resources are inherited rather than synced: All-app resources live
|
|
81
|
+
once at workspace scope and every app agent reads them at runtime. Use selected
|
|
82
|
+
resource grants only for genuinely app-specific context.
|
|
58
83
|
|
|
59
84
|
## Workspace org identity
|
|
60
85
|
|