@agent-native/core 0.145.4 → 0.145.6
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/corpus/README.md +1 -1
- package/corpus/templates/analytics/.agents/skills/actions/SKILL.md +18 -0
- package/corpus/templates/analytics/.agents/skills/agent-native-toolkit/SKILL.md +5 -0
- package/corpus/templates/analytics/.agents/skills/dashboard-management/SKILL.md +17 -1
- package/corpus/templates/analytics/.agents/skills/delegate-to-agent/SKILL.md +45 -47
- package/corpus/templates/analytics/.agents/skills/frontend-design/SKILL.md +1 -0
- package/corpus/templates/analytics/.agents/skills/gong/SKILL.md +22 -3
- package/corpus/templates/analytics/.agents/skills/turn-into-app/SKILL.md +76 -23
- package/corpus/templates/analytics/.agents/skills/turn-into-app/agents/openai.yaml +2 -2
- package/corpus/templates/analytics/.agents/skills/turn-into-app/references/fresh-project.md +64 -0
- package/corpus/templates/analytics/AGENTS.md +2 -1
- package/corpus/templates/analytics/actions/account-deep-dive.ts +83 -47
- package/corpus/templates/analytics/actions/create-dashboard-folder.ts +27 -0
- package/corpus/templates/analytics/actions/gong-calls.ts +3 -3
- package/corpus/templates/analytics/actions/list-dashboard-folders.ts +26 -0
- package/corpus/templates/analytics/actions/list-sql-dashboards.ts +1 -0
- package/corpus/templates/analytics/actions/set-dashboard-folder.ts +26 -0
- package/corpus/templates/analytics/app/components/ProviderCorpusJobNotifier.tsx +18 -3
- package/corpus/templates/analytics/app/components/layout/CommandPalette.tsx +6 -4
- package/corpus/templates/analytics/app/components/layout/Header.tsx +1 -0
- package/corpus/templates/analytics/app/components/layout/NewDashboardDialog.tsx +12 -2
- package/corpus/templates/analytics/app/components/layout/Sidebar.tsx +35 -20
- package/corpus/templates/analytics/app/global.css +17 -0
- package/corpus/templates/analytics/app/hooks/use-dashboard-revisions.ts +29 -15
- package/corpus/templates/analytics/app/hooks/use-dashboard-views.ts +15 -3
- package/corpus/templates/analytics/app/i18n-data.ts +296 -0
- package/corpus/templates/analytics/app/lib/prefetch-keys.ts +23 -2
- package/corpus/templates/analytics/app/pages/DashboardOverview.tsx +642 -0
- package/corpus/templates/analytics/app/pages/adhoc/sql-dashboard/index.tsx +66 -31
- package/corpus/templates/analytics/app/root.tsx +4 -0
- package/corpus/templates/analytics/app/routes/dashboards._index.tsx +5 -1
- package/corpus/templates/analytics/changelog/2026-08-07-added-a-dashboards-overview-with-personal-and-shared-folders.md +6 -0
- package/corpus/templates/analytics/changelog/2026-08-07-analytics-tracking-and-chat-startup-no-longer-emit-avoidable.md +6 -0
- package/corpus/templates/analytics/changelog/2026-08-07-dashboard-panels-now-load-custom-api-data-programs-reliably.md +6 -0
- package/corpus/templates/analytics/changelog/2026-08-07-gong-searches-conserve-api-quota-and-report-incomplete-coverage.md +6 -0
- package/corpus/templates/analytics/changelog/2026-08-07-searchable-dashboards-make-personal-and-shared-folders-easie.md +6 -0
- package/corpus/templates/analytics/netlify.toml +3 -0
- package/corpus/templates/analytics/scripts/emit-netlify-dashboard-report-cron.ts +112 -0
- package/corpus/templates/analytics/server/db/index.ts +12 -0
- package/corpus/templates/analytics/server/db/schema.ts +14 -0
- package/corpus/templates/analytics/server/jobs/analytics-rollup-backfill.ts +4 -0
- package/corpus/templates/analytics/server/lib/agent-chat-plan-mode.ts +1 -0
- package/corpus/templates/analytics/server/lib/analytics-query-catalog.ts +85 -15
- package/corpus/templates/analytics/server/lib/dashboard-folders-store.ts +168 -0
- package/corpus/templates/analytics/server/lib/dashboard-panel-query.ts +9 -4
- package/corpus/templates/analytics/server/lib/dashboards-store.ts +116 -1
- package/corpus/templates/analytics/server/lib/first-party-analytics-rollups.ts +4 -8
- package/corpus/templates/analytics/server/lib/gong.ts +139 -78
- package/corpus/templates/analytics/server/plugins/db.ts +55 -15
- package/corpus/templates/analytics/server/plugins/session-replay-retention-jobs.ts +6 -2
- package/corpus/templates/analytics/server/routes/api/session-replay/retention.post.ts +65 -0
- package/corpus/templates/assets/.agents/skills/actions/SKILL.md +18 -0
- package/corpus/templates/assets/.agents/skills/agent-native-toolkit/SKILL.md +5 -0
- package/corpus/templates/assets/.agents/skills/delegate-to-agent/SKILL.md +45 -47
- package/corpus/templates/assets/.agents/skills/frontend-design/SKILL.md +1 -0
- package/corpus/templates/assets/.agents/skills/turn-into-app/SKILL.md +76 -23
- package/corpus/templates/assets/.agents/skills/turn-into-app/agents/openai.yaml +2 -2
- package/corpus/templates/assets/.agents/skills/turn-into-app/references/fresh-project.md +64 -0
- package/corpus/templates/brain/.agents/skills/actions/SKILL.md +18 -0
- package/corpus/templates/brain/.agents/skills/agent-native-toolkit/SKILL.md +5 -0
- package/corpus/templates/brain/.agents/skills/delegate-to-agent/SKILL.md +45 -47
- package/corpus/templates/brain/.agents/skills/frontend-design/SKILL.md +1 -0
- package/corpus/templates/brain/.agents/skills/turn-into-app/SKILL.md +76 -23
- package/corpus/templates/brain/.agents/skills/turn-into-app/agents/openai.yaml +2 -2
- package/corpus/templates/brain/.agents/skills/turn-into-app/references/fresh-project.md +64 -0
- package/corpus/templates/calendar/.agents/skills/actions/SKILL.md +18 -0
- package/corpus/templates/calendar/.agents/skills/agent-native-toolkit/SKILL.md +5 -0
- package/corpus/templates/calendar/.agents/skills/delegate-to-agent/SKILL.md +45 -47
- package/corpus/templates/calendar/.agents/skills/frontend-design/SKILL.md +1 -0
- package/corpus/templates/calendar/.agents/skills/turn-into-app/SKILL.md +76 -23
- package/corpus/templates/calendar/.agents/skills/turn-into-app/agents/openai.yaml +2 -2
- package/corpus/templates/calendar/.agents/skills/turn-into-app/references/fresh-project.md +64 -0
- package/corpus/templates/chat/.agents/skills/actions/SKILL.md +18 -0
- package/corpus/templates/chat/.agents/skills/agent-native-toolkit/SKILL.md +5 -0
- package/corpus/templates/chat/.agents/skills/delegate-to-agent/SKILL.md +45 -47
- package/corpus/templates/chat/.agents/skills/frontend-design/SKILL.md +1 -0
- package/corpus/templates/chat/.agents/skills/turn-into-app/SKILL.md +76 -23
- package/corpus/templates/chat/.agents/skills/turn-into-app/agents/openai.yaml +2 -2
- package/corpus/templates/chat/.agents/skills/turn-into-app/references/fresh-project.md +64 -0
- package/corpus/templates/chat/.env.example +3 -0
- package/corpus/templates/chat/AGENTS.md +4 -0
- package/corpus/templates/clips/.agents/skills/actions/SKILL.md +18 -0
- package/corpus/templates/clips/.agents/skills/agent-native-toolkit/SKILL.md +5 -0
- package/corpus/templates/clips/.agents/skills/delegate-to-agent/SKILL.md +45 -47
- package/corpus/templates/clips/.agents/skills/frontend-design/SKILL.md +1 -0
- package/corpus/templates/clips/.agents/skills/turn-into-app/SKILL.md +76 -23
- package/corpus/templates/clips/.agents/skills/turn-into-app/agents/openai.yaml +2 -2
- package/corpus/templates/clips/.agents/skills/turn-into-app/references/fresh-project.md +64 -0
- package/corpus/templates/clips/actions/lib/audio-only-transcription.ts +4 -0
- package/corpus/templates/clips/actions/request-transcript.ts +52 -3
- package/corpus/templates/clips/app/components/editor/editor-layout.tsx +8 -3
- package/corpus/templates/clips/app/components/editor/waveform.tsx +2 -1
- package/corpus/templates/clips/app/components/library/search-bar.tsx +1 -1
- package/corpus/templates/clips/app/components/recorder/recorder-engine.ts +3 -10
- package/corpus/templates/clips/app/global.css +9 -0
- package/corpus/templates/clips/app/routes/r.$recordingId.tsx +1 -0
- package/corpus/templates/clips/changelog/2026-08-07-screen-recordings-now-capture-tab-and-system-audio-even-when.md +6 -0
- package/corpus/templates/clips/changelog/2026-08-07-transcription-now-retries-transient-cloud-failures-automatic.md +6 -0
- package/corpus/templates/clips/desktop/src-tauri/src/silence_detector.rs +10 -11
- package/corpus/templates/clips/server/db/schema.ts +7 -0
- package/corpus/templates/clips/server/plugins/db.ts +8 -0
- package/corpus/templates/clips/shared/recording-capture.ts +38 -0
- package/corpus/templates/clips/shared/transcript-failure.ts +89 -0
- package/corpus/templates/content/.agents/skills/actions/SKILL.md +18 -0
- package/corpus/templates/content/.agents/skills/agent-native-toolkit/SKILL.md +5 -0
- package/corpus/templates/content/.agents/skills/delegate-to-agent/SKILL.md +45 -47
- package/corpus/templates/content/.agents/skills/frontend-design/SKILL.md +1 -0
- package/corpus/templates/content/.agents/skills/turn-into-app/SKILL.md +76 -23
- package/corpus/templates/content/.agents/skills/turn-into-app/agents/openai.yaml +2 -2
- package/corpus/templates/content/.agents/skills/turn-into-app/references/fresh-project.md +64 -0
- package/corpus/templates/content/.env.example +9 -3
- package/corpus/templates/content/app/components/sidebar/DocumentSidebar.tsx +1 -0
- package/corpus/templates/content/changelog/2026-08-07-collapsed-sidebar-utility-buttons-stay-anchored-at-the-botto.md +6 -0
- package/corpus/templates/crm/.agents/skills/agent-native-toolkit/SKILL.md +5 -0
- package/corpus/templates/crm/.agents/skills/turn-into-app/SKILL.md +76 -23
- package/corpus/templates/crm/.agents/skills/turn-into-app/agents/openai.yaml +2 -2
- package/corpus/templates/crm/.agents/skills/turn-into-app/references/fresh-project.md +64 -0
- package/corpus/templates/design/.agents/skills/actions/SKILL.md +18 -0
- package/corpus/templates/design/.agents/skills/agent-native-toolkit/SKILL.md +5 -0
- package/corpus/templates/design/.agents/skills/delegate-to-agent/SKILL.md +45 -47
- package/corpus/templates/design/.agents/skills/frontend-design/SKILL.md +1 -0
- package/corpus/templates/design/.agents/skills/turn-into-app/SKILL.md +76 -23
- package/corpus/templates/design/.agents/skills/turn-into-app/agents/openai.yaml +2 -2
- package/corpus/templates/design/.agents/skills/turn-into-app/references/fresh-project.md +64 -0
- package/corpus/templates/design/actions/view-screen.ts +1 -0
- package/corpus/templates/design/app/hooks/useDesignHotkeys.ts +14 -1
- package/corpus/templates/design/changelog/2026-08-07-cmd-c-now-copies-selected-text-in-the-agent-panel-instead-of.md +6 -0
- package/corpus/templates/design/changelog/2026-08-07-real-time-voice-can-now-read-the-current-selection-and-edit-.md +6 -0
- package/corpus/templates/design/server/lib/reprompt-action-guard.ts +7 -3
- package/corpus/templates/dispatch/.agents/skills/actions/SKILL.md +18 -0
- package/corpus/templates/dispatch/.agents/skills/agent-native-toolkit/SKILL.md +5 -0
- package/corpus/templates/dispatch/.agents/skills/delegate-to-agent/SKILL.md +45 -47
- package/corpus/templates/dispatch/.agents/skills/frontend-design/SKILL.md +1 -0
- package/corpus/templates/dispatch/.agents/skills/turn-into-app/SKILL.md +76 -23
- package/corpus/templates/dispatch/.agents/skills/turn-into-app/agents/openai.yaml +2 -2
- package/corpus/templates/dispatch/.agents/skills/turn-into-app/references/fresh-project.md +64 -0
- package/corpus/templates/factory/.agents/skills/actions/SKILL.md +18 -0
- package/corpus/templates/factory/.agents/skills/agent-native-toolkit/SKILL.md +5 -0
- package/corpus/templates/factory/.agents/skills/delegate-to-agent/SKILL.md +45 -47
- package/corpus/templates/factory/.agents/skills/frontend-design/SKILL.md +1 -0
- package/corpus/templates/factory/.agents/skills/turn-into-app/SKILL.md +76 -23
- package/corpus/templates/factory/.agents/skills/turn-into-app/agents/openai.yaml +2 -2
- package/corpus/templates/factory/.agents/skills/turn-into-app/references/fresh-project.md +64 -0
- package/corpus/templates/factory/actions/babysit-agent-native-pull-request.ts +279 -0
- package/corpus/templates/factory/actions/get-factory-automation-health.ts +23 -4
- package/corpus/templates/factory/app/components/factory/FactoryCanvas.tsx +1 -1
- package/corpus/templates/factory/app/routes/factory.tsx +21 -3
- package/corpus/templates/factory/changelog/2026-08-07-factory-can-keep-builder-bot-pull-requests-moving-by-request.md +6 -0
- package/corpus/templates/factory/server/lib/require-factory-automation.ts +1 -0
- package/corpus/templates/factory/server/plugins/agent-chat.ts +4 -1
- package/corpus/templates/factory/server/plugins/factory-scheduler-job.ts +81 -12
- package/corpus/templates/factory/server/triage/github-client.ts +31 -0
- package/corpus/templates/factory/server/triage/pr-babysit.ts +75 -1
- package/corpus/templates/forms/.agents/skills/actions/SKILL.md +18 -0
- package/corpus/templates/forms/.agents/skills/agent-native-toolkit/SKILL.md +5 -0
- package/corpus/templates/forms/.agents/skills/delegate-to-agent/SKILL.md +45 -47
- package/corpus/templates/forms/.agents/skills/frontend-design/SKILL.md +1 -0
- package/corpus/templates/forms/.agents/skills/turn-into-app/SKILL.md +76 -23
- package/corpus/templates/forms/.agents/skills/turn-into-app/agents/openai.yaml +2 -2
- package/corpus/templates/forms/.agents/skills/turn-into-app/references/fresh-project.md +64 -0
- package/corpus/templates/macros/.agents/skills/agent-native-toolkit/SKILL.md +5 -0
- package/corpus/templates/macros/.agents/skills/frontend-design/SKILL.md +1 -0
- package/corpus/templates/macros/.agents/skills/turn-into-app/SKILL.md +76 -23
- package/corpus/templates/macros/.agents/skills/turn-into-app/agents/openai.yaml +2 -2
- package/corpus/templates/macros/.agents/skills/turn-into-app/references/fresh-project.md +64 -0
- package/corpus/templates/mail/.agents/skills/actions/SKILL.md +18 -0
- package/corpus/templates/mail/.agents/skills/agent-native-toolkit/SKILL.md +5 -0
- package/corpus/templates/mail/.agents/skills/delegate-to-agent/SKILL.md +45 -47
- package/corpus/templates/mail/.agents/skills/frontend-design/SKILL.md +1 -0
- package/corpus/templates/mail/.agents/skills/turn-into-app/SKILL.md +76 -23
- package/corpus/templates/mail/.agents/skills/turn-into-app/agents/openai.yaml +2 -2
- package/corpus/templates/mail/.agents/skills/turn-into-app/references/fresh-project.md +64 -0
- package/corpus/templates/plan/.agents/skills/actions/SKILL.md +18 -0
- package/corpus/templates/plan/.agents/skills/agent-native-toolkit/SKILL.md +5 -0
- package/corpus/templates/plan/.agents/skills/delegate-to-agent/SKILL.md +45 -47
- package/corpus/templates/plan/.agents/skills/frontend-design/SKILL.md +1 -0
- package/corpus/templates/plan/.agents/skills/turn-into-app/SKILL.md +76 -23
- package/corpus/templates/plan/.agents/skills/turn-into-app/agents/openai.yaml +2 -2
- package/corpus/templates/plan/.agents/skills/turn-into-app/references/fresh-project.md +64 -0
- package/corpus/templates/plan/app/pages/PlansPage.tsx +2 -1
- package/corpus/templates/plan/changelog/2026-08-07-inline-help-icons-now-stay-visually-balanced-with-nearby-tex.md +6 -0
- package/corpus/templates/slides/.agents/skills/actions/SKILL.md +18 -0
- package/corpus/templates/slides/.agents/skills/agent-native-toolkit/SKILL.md +5 -0
- package/corpus/templates/slides/.agents/skills/delegate-to-agent/SKILL.md +45 -47
- package/corpus/templates/slides/.agents/skills/frontend-design/SKILL.md +1 -0
- package/corpus/templates/slides/.agents/skills/turn-into-app/SKILL.md +76 -23
- package/corpus/templates/slides/.agents/skills/turn-into-app/agents/openai.yaml +2 -2
- package/corpus/templates/slides/.agents/skills/turn-into-app/references/fresh-project.md +64 -0
- package/corpus/templates/slides/.env.example +5 -0
- package/corpus/templates/slides/changelog/2026-08-07-fixed-generated-slides-briefly-disappearing-while-they-are-b.md +6 -0
- package/corpus/templates/slides/server/plugins/collab.ts +20 -8
- package/corpus/templates/tasks/.agents/skills/actions/SKILL.md +18 -0
- package/corpus/templates/tasks/.agents/skills/agent-native-toolkit/SKILL.md +5 -0
- package/corpus/templates/tasks/.agents/skills/delegate-to-agent/SKILL.md +45 -47
- package/corpus/templates/tasks/.agents/skills/frontend-design/SKILL.md +1 -0
- package/corpus/templates/tasks/.agents/skills/turn-into-app/SKILL.md +76 -23
- package/corpus/templates/tasks/.agents/skills/turn-into-app/agents/openai.yaml +2 -2
- package/corpus/templates/tasks/.agents/skills/turn-into-app/references/fresh-project.md +64 -0
- package/corpus/templates/tasks/.env.example +3 -0
- package/dist/agent/production-agent.js +24 -3
- package/dist/client/AgentPanel.d.ts +6 -0
- package/dist/client/AgentPanel.js +176 -30
- package/dist/client/AssistantChat.d.ts +2 -0
- package/dist/client/AssistantChat.js +4 -1
- package/dist/client/ConnectBuilderCard.js +6 -11
- package/dist/client/MultiTabAssistantChat.js +1 -1
- package/dist/client/RuntimeConfigNotice.d.ts +1 -0
- package/dist/client/RuntimeConfigNotice.js +94 -0
- package/dist/client/agent-chat/index.d.ts +1 -1
- package/dist/client/agent-chat/index.js +1 -1
- package/dist/client/agent-chat-adapter.js +85 -4
- package/dist/client/agent-page/AgentTabsPage.js +1 -1
- package/dist/client/agent-sidebar-state.d.ts +6 -0
- package/dist/client/agent-sidebar-state.js +25 -0
- package/dist/client/app-providers.js +2 -1
- package/dist/client/assistant-ui-recovery.js +1 -1
- package/dist/client/chat/index.d.ts +1 -1
- package/dist/client/chat/index.js +1 -1
- package/dist/client/chat/markdown-renderer.d.ts +2 -1
- package/dist/client/chat/markdown-renderer.js +48 -2
- package/dist/client/chat/message-components.d.ts +6 -0
- package/dist/client/chat/message-components.js +182 -53
- package/dist/client/chat/tool-call-display.d.ts +16 -4
- package/dist/client/chat/tool-call-display.js +225 -18
- package/dist/client/extensions/ExtensionsSidebarSection.js +1 -1
- package/dist/client/frame-protocol.d.ts +4 -0
- package/dist/client/i18n.js +9 -0
- package/dist/client/integrations/IntegrationsPanel.js +2 -5
- package/dist/client/onboarding/FirstRunOnboarding.js +2 -3
- package/dist/client/org/TeamPage.js +49 -6
- package/dist/client/org/hooks.d.ts +7 -2
- package/dist/client/org/hooks.js +11 -4
- package/dist/client/resources/McpConnectionSuggestion.js +2 -3
- package/dist/client/resources/McpIntegrationDialog.js +2 -16
- package/dist/client/resources/McpIntegrationLogo.d.ts +11 -0
- package/dist/client/resources/McpIntegrationLogo.js +14 -0
- package/dist/client/resources/ResourceTree.js +1 -1
- package/dist/client/resources/mcp-integration-logos.d.ts +1 -0
- package/dist/client/resources/mcp-integration-logos.js +47 -18
- package/dist/client/settings/useBuilderStatus.js +6 -0
- package/dist/client/ui/index.d.ts +1 -0
- package/dist/client/ui/index.js +1 -0
- package/dist/collab/struct-routes.d.ts +1 -1
- package/dist/config.d.ts +26 -3
- package/dist/config.js +106 -14
- package/dist/db/ddl-guard.d.ts +15 -2
- package/dist/db/ddl-guard.js +53 -5
- package/dist/jobs/scheduler.js +7 -0
- package/dist/localization/default-messages.d.ts +17 -0
- package/dist/localization/default-messages.js +17 -0
- package/dist/mcp/oauth-client-metadata.js +5 -1
- package/dist/mcp/oauth-route.d.ts +5 -4
- package/dist/mcp/oauth-route.js +25 -9
- package/dist/mcp/server.d.ts +1 -1
- package/dist/mcp/server.js +9 -10
- package/dist/notifications/routes.d.ts +3 -3
- package/dist/org/handlers.d.ts +1 -0
- package/dist/org/handlers.js +17 -2
- package/dist/provider-api/actions/custom-provider-registration.d.ts +9 -9
- package/dist/provider-api/actions/provider-api.d.ts +7 -7
- package/dist/provider-api/corpus-jobs.d.ts +12 -2
- package/dist/provider-api/corpus-jobs.js +31 -1
- package/dist/provider-api/index.d.ts +2 -0
- package/dist/provider-api/index.js +7 -1
- package/dist/secrets/routes.d.ts +6 -6
- package/dist/server/agent-chat/recurring-jobs-runtime.d.ts +1 -1
- package/dist/server/agent-chat/recurring-jobs-runtime.js +14 -2
- package/dist/server/agent-chat/script-entries.js +12 -1
- package/dist/server/agent-chat-plugin.js +2 -2
- package/dist/server/auth.d.ts +1 -0
- package/dist/server/auth.js +85 -1
- package/dist/server/better-auth-instance.d.ts +9 -0
- package/dist/server/better-auth-instance.js +25 -11
- package/dist/server/core-routes-plugin.d.ts +7 -0
- package/dist/server/core-routes-plugin.js +51 -5
- package/dist/server/create-server.js +23 -2
- package/dist/server/db-pressure.d.ts +38 -0
- package/dist/server/db-pressure.js +147 -0
- package/dist/server/index.d.ts +1 -0
- package/dist/server/index.js +1 -0
- package/dist/server/legacy-auth-migration.d.ts +10 -0
- package/dist/server/legacy-auth-migration.js +37 -0
- package/dist/server/onboarding-html.js +206 -2
- package/dist/server/poll.d.ts +26 -0
- package/dist/server/poll.js +108 -13
- package/dist/server/realtime-voice.d.ts +2 -1
- package/dist/server/realtime-voice.js +38 -56
- package/dist/server/short-lived-token.d.ts +43 -0
- package/dist/server/short-lived-token.js +74 -0
- package/dist/server/ssr-handler.js +4 -1
- package/dist/shared/index.d.ts +1 -0
- package/dist/shared/index.js +1 -0
- package/dist/shared/runtime-config.d.ts +44 -0
- package/dist/shared/runtime-config.js +284 -0
- package/dist/styles/agent-native.css +48 -1
- package/dist/templates/chat/.agents/skills/actions/SKILL.md +18 -0
- package/dist/templates/chat/.agents/skills/agent-native-toolkit/SKILL.md +5 -0
- package/dist/templates/chat/.agents/skills/delegate-to-agent/SKILL.md +45 -47
- package/dist/templates/chat/.agents/skills/frontend-design/SKILL.md +1 -0
- package/dist/templates/chat/.agents/skills/turn-into-app/SKILL.md +76 -23
- package/dist/templates/chat/.agents/skills/turn-into-app/agents/openai.yaml +2 -2
- package/dist/templates/chat/.agents/skills/turn-into-app/references/fresh-project.md +64 -0
- package/dist/templates/chat/.env.example +3 -0
- package/dist/templates/chat/AGENTS.md +4 -0
- package/dist/templates/default/.agents/skills/actions/SKILL.md +18 -0
- package/dist/templates/default/.agents/skills/agent-native-toolkit/SKILL.md +5 -0
- package/dist/templates/default/.agents/skills/delegate-to-agent/SKILL.md +45 -47
- package/dist/templates/default/.agents/skills/frontend-design/SKILL.md +1 -0
- package/dist/templates/default/.agents/skills/turn-into-app/SKILL.md +76 -23
- package/dist/templates/default/.agents/skills/turn-into-app/agents/openai.yaml +2 -2
- package/dist/templates/default/.agents/skills/turn-into-app/references/fresh-project.md +64 -0
- package/dist/templates/default/AGENTS.md +6 -1
- package/dist/templates/default/app/i18n/ar-SA.ts +6 -0
- package/dist/templates/default/app/i18n/de-DE.ts +6 -0
- package/dist/templates/default/app/i18n/en-US.ts +6 -0
- package/dist/templates/default/app/i18n/es-ES.ts +6 -0
- package/dist/templates/default/app/i18n/fr-FR.ts +6 -0
- package/dist/templates/default/app/i18n/hi-IN.ts +6 -0
- package/dist/templates/default/app/i18n/ja-JP.ts +6 -0
- package/dist/templates/default/app/i18n/ko-KR.ts +6 -0
- package/dist/templates/default/app/i18n/pt-BR.ts +6 -0
- package/dist/templates/default/app/i18n/zh-CN.ts +6 -0
- package/dist/templates/default/app/i18n/zh-TW.ts +6 -0
- package/dist/templates/headless/.agents/skills/actions/SKILL.md +18 -0
- package/dist/templates/headless/.agents/skills/agent-native-toolkit/SKILL.md +5 -0
- package/dist/templates/headless/.agents/skills/turn-into-app/SKILL.md +76 -23
- package/dist/templates/headless/.agents/skills/turn-into-app/agents/openai.yaml +2 -2
- package/dist/templates/headless/.agents/skills/turn-into-app/references/fresh-project.md +64 -0
- package/dist/templates/workspace-core/.agents/skills/actions/SKILL.md +18 -0
- package/dist/templates/workspace-core/.agents/skills/agent-native-toolkit/SKILL.md +5 -0
- package/dist/templates/workspace-core/.agents/skills/delegate-to-agent/SKILL.md +45 -47
- package/dist/templates/workspace-core/.agents/skills/frontend-design/SKILL.md +1 -0
- package/dist/templates/workspace-core/.agents/skills/turn-into-app/SKILL.md +76 -23
- package/dist/templates/workspace-core/.agents/skills/turn-into-app/agents/openai.yaml +2 -2
- package/dist/templates/workspace-core/.agents/skills/turn-into-app/references/fresh-project.md +64 -0
- package/dist/templates/workspace-core/.agents/skills/workspace-conventions/SKILL.md +4 -0
- package/dist/templates/workspace-core/.agents/skills/writing-agent-instructions/SKILL.md +8 -0
- package/dist/templates/workspace-core/AGENTS.md +7 -2
- package/dist/templates/workspace-root/AGENTS.md +5 -0
- package/dist/vite/client.d.ts +3 -3
- package/dist/vite/client.js +47 -1
- package/dist/vite/index.d.ts +1 -1
- package/docs/content/agent-native-config.mdx +240 -139
- package/docs/content/authentication.mdx +17 -0
- package/docs/content/deployment.mdx +19 -14
- package/docs/content/drop-in-agent.mdx +19 -2
- package/docs/content/environment-variables.mdx +63 -38
- package/docs/content/getting-started-actions.mdx +15 -6
- package/docs/content/getting-started-database.mdx +14 -10
- package/docs/content/getting-started-pages.mdx +32 -35
- package/docs/content/getting-started.mdx +7 -6
- package/package.json +2 -2
- package/src/templates/chat/.agents/skills/actions/SKILL.md +18 -0
- package/src/templates/chat/.agents/skills/agent-native-toolkit/SKILL.md +5 -0
- package/src/templates/chat/.agents/skills/delegate-to-agent/SKILL.md +45 -47
- package/src/templates/chat/.agents/skills/frontend-design/SKILL.md +1 -0
- package/src/templates/chat/.agents/skills/turn-into-app/SKILL.md +76 -23
- package/src/templates/chat/.agents/skills/turn-into-app/agents/openai.yaml +2 -2
- package/src/templates/chat/.agents/skills/turn-into-app/references/fresh-project.md +64 -0
- package/src/templates/chat/.env.example +3 -0
- package/src/templates/chat/AGENTS.md +4 -0
- package/src/templates/default/.agents/skills/actions/SKILL.md +18 -0
- package/src/templates/default/.agents/skills/agent-native-toolkit/SKILL.md +5 -0
- package/src/templates/default/.agents/skills/delegate-to-agent/SKILL.md +45 -47
- package/src/templates/default/.agents/skills/frontend-design/SKILL.md +1 -0
- package/src/templates/default/.agents/skills/turn-into-app/SKILL.md +76 -23
- package/src/templates/default/.agents/skills/turn-into-app/agents/openai.yaml +2 -2
- package/src/templates/default/.agents/skills/turn-into-app/references/fresh-project.md +64 -0
- package/src/templates/default/AGENTS.md +6 -1
- package/src/templates/default/app/i18n/ar-SA.ts +6 -0
- package/src/templates/default/app/i18n/de-DE.ts +6 -0
- package/src/templates/default/app/i18n/en-US.ts +6 -0
- package/src/templates/default/app/i18n/es-ES.ts +6 -0
- package/src/templates/default/app/i18n/fr-FR.ts +6 -0
- package/src/templates/default/app/i18n/hi-IN.ts +6 -0
- package/src/templates/default/app/i18n/ja-JP.ts +6 -0
- package/src/templates/default/app/i18n/ko-KR.ts +6 -0
- package/src/templates/default/app/i18n/pt-BR.ts +6 -0
- package/src/templates/default/app/i18n/zh-CN.ts +6 -0
- package/src/templates/default/app/i18n/zh-TW.ts +6 -0
- package/src/templates/headless/.agents/skills/actions/SKILL.md +18 -0
- package/src/templates/headless/.agents/skills/agent-native-toolkit/SKILL.md +5 -0
- package/src/templates/headless/.agents/skills/turn-into-app/SKILL.md +76 -23
- package/src/templates/headless/.agents/skills/turn-into-app/agents/openai.yaml +2 -2
- package/src/templates/headless/.agents/skills/turn-into-app/references/fresh-project.md +64 -0
- package/src/templates/workspace-core/.agents/skills/actions/SKILL.md +18 -0
- package/src/templates/workspace-core/.agents/skills/agent-native-toolkit/SKILL.md +5 -0
- package/src/templates/workspace-core/.agents/skills/delegate-to-agent/SKILL.md +45 -47
- package/src/templates/workspace-core/.agents/skills/frontend-design/SKILL.md +1 -0
- package/src/templates/workspace-core/.agents/skills/turn-into-app/SKILL.md +76 -23
- package/src/templates/workspace-core/.agents/skills/turn-into-app/agents/openai.yaml +2 -2
- package/src/templates/workspace-core/.agents/skills/turn-into-app/references/fresh-project.md +64 -0
- package/src/templates/workspace-core/.agents/skills/workspace-conventions/SKILL.md +4 -0
- package/src/templates/workspace-core/.agents/skills/writing-agent-instructions/SKILL.md +8 -0
- package/src/templates/workspace-core/AGENTS.md +7 -2
- package/src/templates/workspace-root/AGENTS.md +5 -0
- package/corpus/templates/dispatch/app/routes/admin.apps.$appId.tsx +0 -1
- package/corpus/templates/dispatch/app/routes/admin.apps.tsx +0 -1
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# Fresh Project source guide
|
|
2
|
+
|
|
3
|
+
Use this guide when `/turn-into-app` is invoked in a new Claude or ChatGPT
|
|
4
|
+
Project rather than after a completed thread.
|
|
5
|
+
|
|
6
|
+
## What the host can provide
|
|
7
|
+
|
|
8
|
+
The source is whatever the host put in the model's current context:
|
|
9
|
+
|
|
10
|
+
- Project instructions: the job, audience, constraints, quality bar, and
|
|
11
|
+
approved tools or integrations.
|
|
12
|
+
- Knowledge files and attachments: reference material, templates, examples,
|
|
13
|
+
and links that the app should use.
|
|
14
|
+
- Past runs: only conversations or outputs the host actually supplied. They
|
|
15
|
+
are examples and evaluation material, not an automatic import of every
|
|
16
|
+
private Project conversation.
|
|
17
|
+
- The current request: the app boundary, target workspace, name, and explicit
|
|
18
|
+
corrections.
|
|
19
|
+
|
|
20
|
+
Do not infer hidden system prompts, account settings, private history, API keys,
|
|
21
|
+
or credentials. The Dispatch MCP connector can start a workspace app creation,
|
|
22
|
+
but it cannot unlock or scrape private Project content.
|
|
23
|
+
|
|
24
|
+
## Source brief
|
|
25
|
+
|
|
26
|
+
Write a compact brief before starting the app:
|
|
27
|
+
|
|
28
|
+
```text
|
|
29
|
+
Source: host-provided Claude/ChatGPT Project context
|
|
30
|
+
Provenance: project instructions, selected knowledge files, and visible runs
|
|
31
|
+
Project goal:
|
|
32
|
+
Configuration and constraints:
|
|
33
|
+
Knowledge sources:
|
|
34
|
+
Repeatable workflow:
|
|
35
|
+
Inputs and outputs:
|
|
36
|
+
Judgment and review points:
|
|
37
|
+
Representative runs: none, or 1-3 selected examples
|
|
38
|
+
Integrations and permissions:
|
|
39
|
+
Unknowns and follow-up:
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Keep source references bounded. Prefer a file name, URL, resource ID, or short
|
|
43
|
+
summary over a large pasted document. Do not put secrets or raw customer data
|
|
44
|
+
in the brief.
|
|
45
|
+
|
|
46
|
+
## Fresh-box setup
|
|
47
|
+
|
|
48
|
+
Install the exported `turn-into-app` skill in the host when the host supports
|
|
49
|
+
skills. For a ChatGPT Project or any host that exposes only the MCP connector,
|
|
50
|
+
also place the skill instructions or this reference in the Project
|
|
51
|
+
instructions/knowledge files. Then add and authenticate the Dispatch MCP
|
|
52
|
+
connector from the packaged `adapters/chatgpt-mcp/connector.json`.
|
|
53
|
+
|
|
54
|
+
In a new Project chat, say:
|
|
55
|
+
|
|
56
|
+
```text
|
|
57
|
+
Turn this project into an app. Use the visible Project instructions,
|
|
58
|
+
knowledge files, and any selected successful runs as the source. Create the
|
|
59
|
+
app in the connected Agent-Native workspace, keep the source brief bounded,
|
|
60
|
+
and report the real path and verification result.
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
If the host does not show the Project instructions or files to the model, stop
|
|
64
|
+
and request an export or attachment. Do not claim that the Project was read.
|
|
@@ -24,7 +24,12 @@ cross-cutting work and `self-modifying-code` when changing app source.
|
|
|
24
24
|
unauthenticated URLs, or non-JSON responses.
|
|
25
25
|
- Keep database code provider-agnostic and migrations additive. Do not use
|
|
26
26
|
adapter-only database methods or production schema push commands.
|
|
27
|
-
- All AI work goes through the agent chat.
|
|
27
|
+
- All user-facing AI work goes through the agent chat. UI and server code do
|
|
28
|
+
not call model providers or inline LLM APIs directly, or hide AI-shaped
|
|
29
|
+
multi-step work in one action.
|
|
30
|
+
Keep actions deterministic and focused; use the AgentSidebar for research,
|
|
31
|
+
analysis, generation, recommendation, synthesis, and follow-ups in the same
|
|
32
|
+
thread.
|
|
28
33
|
- Keep domain workflows on named routes and preserve the scaffold's full-page
|
|
29
34
|
chat route. Use the right AgentSidebar for contextual AI and open it when a
|
|
30
35
|
domain button hands work to the agent.
|
|
@@ -232,6 +232,8 @@ const messages = {
|
|
|
232
232
|
newTerminal: "محطة جديدة",
|
|
233
233
|
panelOptions: "خيارات لوحة الوكيل",
|
|
234
234
|
collapseSidebar: "طي الشريط الجانبي",
|
|
235
|
+
widenChat: "توسيع الدردشة إلى 75٪",
|
|
236
|
+
returnChatToLayout: "إعادة الدردشة إلى تخطيط الصفحة",
|
|
235
237
|
hideChats: "إخفاء الدردشات",
|
|
236
238
|
allChats: "جميع الدردشات",
|
|
237
239
|
settings: "الإعدادات",
|
|
@@ -487,6 +489,10 @@ const messages = {
|
|
|
487
489
|
noMembers: "لا يوجد أعضاء بعد.",
|
|
488
490
|
memberCount_one: "{{count}} member",
|
|
489
491
|
memberCount_other: "{{count}} members",
|
|
492
|
+
memberPagination: "ترقيم قائمة الأعضاء",
|
|
493
|
+
previousMemberPage: "الانتقال إلى صفحة الأعضاء السابقة",
|
|
494
|
+
nextMemberPage: "الانتقال إلى صفحة الأعضاء التالية",
|
|
495
|
+
memberPageStatus: "الصفحة {{page}} من {{totalPages}}",
|
|
490
496
|
memberCount_zero: "{{count}} members",
|
|
491
497
|
memberCount_two: "{{count}} members",
|
|
492
498
|
memberCount_few: "{{count}} members",
|
|
@@ -234,6 +234,8 @@ const messages = {
|
|
|
234
234
|
newTerminal: "Neues Terminal",
|
|
235
235
|
panelOptions: "Optionen im Agentenpanel",
|
|
236
236
|
collapseSidebar: "Seitenleiste einklappen",
|
|
237
|
+
widenChat: "Chat auf 75 % verbreitern",
|
|
238
|
+
returnChatToLayout: "Chat zurück ins Layout",
|
|
237
239
|
hideChats: "Chats ausblenden",
|
|
238
240
|
allChats: "Alle Chats",
|
|
239
241
|
settings: "Einstellungen",
|
|
@@ -476,6 +478,10 @@ const messages = {
|
|
|
476
478
|
noMembers: "Noch keine Mitglieder.",
|
|
477
479
|
memberCount_one: "{{count}} member",
|
|
478
480
|
memberCount_other: "{{count}} members",
|
|
481
|
+
memberPagination: "Seitennavigation der Mitgliederliste",
|
|
482
|
+
previousMemberPage: "Zur vorherigen Mitgliederseite",
|
|
483
|
+
nextMemberPage: "Zur nächsten Mitgliederseite",
|
|
484
|
+
memberPageStatus: "Seite {{page}} von {{totalPages}}",
|
|
479
485
|
youAreRole: "You are {{role}}",
|
|
480
486
|
changeRole: "Rolle wechseln",
|
|
481
487
|
removeMember: "Mitglied entfernen",
|
|
@@ -229,6 +229,8 @@ const messages = {
|
|
|
229
229
|
newTerminal: "New terminal",
|
|
230
230
|
panelOptions: "Agent panel options",
|
|
231
231
|
collapseSidebar: "Collapse sidebar",
|
|
232
|
+
widenChat: "Widen chat to 75%",
|
|
233
|
+
returnChatToLayout: "Return chat to layout",
|
|
232
234
|
hideChats: "Hide chats",
|
|
233
235
|
allChats: "All chats",
|
|
234
236
|
settings: "Settings",
|
|
@@ -466,6 +468,10 @@ const messages = {
|
|
|
466
468
|
noMembers: "No members yet.",
|
|
467
469
|
memberCount_one: "{{count}} member",
|
|
468
470
|
memberCount_other: "{{count}} members",
|
|
471
|
+
memberPagination: "Member list pagination",
|
|
472
|
+
previousMemberPage: "Go to previous member page",
|
|
473
|
+
nextMemberPage: "Go to next member page",
|
|
474
|
+
memberPageStatus: "Page {{page}} of {{totalPages}}",
|
|
469
475
|
youAreRole: "You are {{role}}",
|
|
470
476
|
changeRole: "Change role",
|
|
471
477
|
removeMember: "Remove member",
|
|
@@ -235,6 +235,8 @@ const messages = {
|
|
|
235
235
|
newTerminal: "Nueva terminal",
|
|
236
236
|
panelOptions: "Opciones del panel de agentes",
|
|
237
237
|
collapseSidebar: "Contraer barra lateral",
|
|
238
|
+
widenChat: "Ampliar el chat al 75 %",
|
|
239
|
+
returnChatToLayout: "Devolver el chat al diseño",
|
|
238
240
|
hideChats: "Ocultar chats",
|
|
239
241
|
allChats: "Todos los chats",
|
|
240
242
|
settings: "Ajustes",
|
|
@@ -482,6 +484,10 @@ const messages = {
|
|
|
482
484
|
noMembers: "Aún no hay miembros.",
|
|
483
485
|
memberCount_one: "{{count}} member",
|
|
484
486
|
memberCount_other: "{{count}} members",
|
|
487
|
+
memberPagination: "Paginación de la lista de miembros",
|
|
488
|
+
previousMemberPage: "Ir a la página anterior de miembros",
|
|
489
|
+
nextMemberPage: "Ir a la página siguiente de miembros",
|
|
490
|
+
memberPageStatus: "Página {{page}} de {{totalPages}}",
|
|
485
491
|
memberCount_many: "{{count}} members",
|
|
486
492
|
youAreRole: "You are {{role}}",
|
|
487
493
|
changeRole: "Cambiar rol",
|
|
@@ -236,6 +236,8 @@ const messages = {
|
|
|
236
236
|
newTerminal: "Nouvelle borne",
|
|
237
237
|
panelOptions: "Options du panneau d'agent",
|
|
238
238
|
collapseSidebar: "Réduire la barre latérale",
|
|
239
|
+
widenChat: "Élargir le chat à 75 %",
|
|
240
|
+
returnChatToLayout: "Remettre le chat dans la mise en page",
|
|
239
241
|
hideChats: "Masquer les discussions",
|
|
240
242
|
allChats: "Toutes les discussions",
|
|
241
243
|
settings: "Paramètres",
|
|
@@ -481,6 +483,10 @@ const messages = {
|
|
|
481
483
|
noMembers: "Aucun membre pour le moment.",
|
|
482
484
|
memberCount_one: "{{count}} member",
|
|
483
485
|
memberCount_other: "{{count}} members",
|
|
486
|
+
memberPagination: "Pagination de la liste des membres",
|
|
487
|
+
previousMemberPage: "Accéder à la page précédente des membres",
|
|
488
|
+
nextMemberPage: "Accéder à la page suivante des membres",
|
|
489
|
+
memberPageStatus: "Page {{page}} sur {{totalPages}}",
|
|
484
490
|
memberCount_many: "{{count}} members",
|
|
485
491
|
youAreRole: "You are {{role}}",
|
|
486
492
|
changeRole: "Changer de rôle",
|
|
@@ -221,6 +221,8 @@ const messages = {
|
|
|
221
221
|
newTerminal: "नया टर्मिनल",
|
|
222
222
|
panelOptions: "एजेंट पैनल विकल्प",
|
|
223
223
|
collapseSidebar: "साइडबार समेटें",
|
|
224
|
+
widenChat: "चैट को 75% चौड़ा करें",
|
|
225
|
+
returnChatToLayout: "चैट को लेआउट में वापस लाएँ",
|
|
224
226
|
hideChats: "चैट छुपाएं",
|
|
225
227
|
allChats: "सभी चैट",
|
|
226
228
|
settings: "सेटिंग्स",
|
|
@@ -459,6 +461,10 @@ const messages = {
|
|
|
459
461
|
noMembers: "अभी कोई सदस्य नहीं है.",
|
|
460
462
|
memberCount_one: "{{count}} member",
|
|
461
463
|
memberCount_other: "{{count}} members",
|
|
464
|
+
memberPagination: "सदस्य सूची पृष्ठांकन",
|
|
465
|
+
previousMemberPage: "पिछले सदस्य पृष्ठ पर जाएं",
|
|
466
|
+
nextMemberPage: "अगले सदस्य पृष्ठ पर जाएं",
|
|
467
|
+
memberPageStatus: "पृष्ठ {{page}} / {{totalPages}}",
|
|
462
468
|
youAreRole: "You are {{role}}",
|
|
463
469
|
changeRole: "भूमिका बदलें",
|
|
464
470
|
removeMember: "सदस्य हटाएँ",
|
|
@@ -230,6 +230,8 @@ const messages = {
|
|
|
230
230
|
newTerminal: "新しいターミナル",
|
|
231
231
|
panelOptions: "エージェントパネルのオプション",
|
|
232
232
|
collapseSidebar: "サイドバーを折りたたむ",
|
|
233
|
+
widenChat: "チャットを75%に広げる",
|
|
234
|
+
returnChatToLayout: "チャットをレイアウトに戻す",
|
|
233
235
|
hideChats: "チャットを非表示にする",
|
|
234
236
|
allChats: "すべてのチャット",
|
|
235
237
|
settings: "設定",
|
|
@@ -466,6 +468,10 @@ const messages = {
|
|
|
466
468
|
actions: "操作",
|
|
467
469
|
noMembers: "メンバーはまだいません。",
|
|
468
470
|
memberCount_other: "{{count}} members",
|
|
471
|
+
memberPagination: "メンバー一覧のページネーション",
|
|
472
|
+
previousMemberPage: "前のメンバーページへ移動",
|
|
473
|
+
nextMemberPage: "次のメンバーページへ移動",
|
|
474
|
+
memberPageStatus: "{{totalPages}}ページ中{{page}}ページ",
|
|
469
475
|
youAreRole: "You are {{role}}",
|
|
470
476
|
changeRole: "役割を変更する",
|
|
471
477
|
removeMember: "メンバーの削除",
|
|
@@ -225,6 +225,8 @@ const messages = {
|
|
|
225
225
|
newTerminal: "새로운 터미널",
|
|
226
226
|
panelOptions: "상담원 패널 옵션",
|
|
227
227
|
collapseSidebar: "사이드바 접기",
|
|
228
|
+
widenChat: "채팅을 75% 너비로 넓히기",
|
|
229
|
+
returnChatToLayout: "채팅을 레이아웃으로 되돌리기",
|
|
228
230
|
hideChats: "채팅 숨기기",
|
|
229
231
|
allChats: "모든 채팅",
|
|
230
232
|
settings: "설정",
|
|
@@ -458,6 +460,10 @@ const messages = {
|
|
|
458
460
|
actions: "작업",
|
|
459
461
|
noMembers: "아직 구성원이 없습니다.",
|
|
460
462
|
memberCount_other: "{{count}} members",
|
|
463
|
+
memberPagination: "멤버 목록 페이지 매김",
|
|
464
|
+
previousMemberPage: "이전 멤버 페이지로 이동",
|
|
465
|
+
nextMemberPage: "다음 멤버 페이지로 이동",
|
|
466
|
+
memberPageStatus: "{{totalPages}}페이지 중 {{page}}페이지",
|
|
461
467
|
youAreRole: "You are {{role}}",
|
|
462
468
|
changeRole: "역할 변경",
|
|
463
469
|
removeMember: "회원 삭제",
|
|
@@ -234,6 +234,8 @@ const messages = {
|
|
|
234
234
|
newTerminal: "Novo terminal",
|
|
235
235
|
panelOptions: "Opções do painel do agente",
|
|
236
236
|
collapseSidebar: "Recolher barra lateral",
|
|
237
|
+
widenChat: "Ampliar o chat para 75%",
|
|
238
|
+
returnChatToLayout: "Retornar o chat ao layout",
|
|
237
239
|
hideChats: "Ocultar bate-papos",
|
|
238
240
|
allChats: "Todos os bate-papos",
|
|
239
241
|
settings: "Configurações",
|
|
@@ -478,6 +480,10 @@ const messages = {
|
|
|
478
480
|
noMembers: "Ainda não há membros.",
|
|
479
481
|
memberCount_one: "{{count}} member",
|
|
480
482
|
memberCount_other: "{{count}} members",
|
|
483
|
+
memberPagination: "Paginação da lista de membros",
|
|
484
|
+
previousMemberPage: "Ir para a página anterior de membros",
|
|
485
|
+
nextMemberPage: "Ir para a próxima página de membros",
|
|
486
|
+
memberPageStatus: "Página {{page}} de {{totalPages}}",
|
|
481
487
|
memberCount_many: "{{count}} members",
|
|
482
488
|
youAreRole: "You are {{role}}",
|
|
483
489
|
changeRole: "Mudar função",
|
|
@@ -219,6 +219,8 @@ const messages = {
|
|
|
219
219
|
newTerminal: "新航站楼",
|
|
220
220
|
panelOptions: "代理面板选项",
|
|
221
221
|
collapseSidebar: "收起侧边栏",
|
|
222
|
+
widenChat: "将聊天窗口加宽到 75%",
|
|
223
|
+
returnChatToLayout: "将聊天窗口恢复到布局中",
|
|
222
224
|
hideChats: "隐藏聊天记录",
|
|
223
225
|
allChats: "所有聊天记录",
|
|
224
226
|
settings: "设置",
|
|
@@ -443,6 +445,10 @@ const messages = {
|
|
|
443
445
|
actions: "操作",
|
|
444
446
|
noMembers: "暂无成员。",
|
|
445
447
|
memberCount_other: "{{count}} members",
|
|
448
|
+
memberPagination: "成员列表分页",
|
|
449
|
+
previousMemberPage: "转到上一页成员",
|
|
450
|
+
nextMemberPage: "转到下一页成员",
|
|
451
|
+
memberPageStatus: "第 {{page}} 页,共 {{totalPages}} 页",
|
|
446
452
|
youAreRole: "You are {{role}}",
|
|
447
453
|
changeRole: "改变角色",
|
|
448
454
|
removeMember: "删除成员",
|
|
@@ -217,6 +217,8 @@ const messages = {
|
|
|
217
217
|
newTerminal: "新航站樓",
|
|
218
218
|
panelOptions: "代理面板選項",
|
|
219
219
|
collapseSidebar: "收起側邊欄",
|
|
220
|
+
widenChat: "將聊天視窗加寬至 75%",
|
|
221
|
+
returnChatToLayout: "將聊天視窗放回版面配置",
|
|
220
222
|
hideChats: "隱藏聊天紀錄",
|
|
221
223
|
allChats: "所有聊天紀錄",
|
|
222
224
|
settings: "設定",
|
|
@@ -441,6 +443,10 @@ const messages = {
|
|
|
441
443
|
actions: "操作",
|
|
442
444
|
noMembers: "尚無成員。",
|
|
443
445
|
memberCount_other: "{{count}} 位成員",
|
|
446
|
+
memberPagination: "成員列表分頁",
|
|
447
|
+
previousMemberPage: "前往上一頁成員",
|
|
448
|
+
nextMemberPage: "前往下一頁成員",
|
|
449
|
+
memberPageStatus: "第 {{page}} 頁,共 {{totalPages}} 頁",
|
|
444
450
|
youAreRole: "你的角色是 {{role}}",
|
|
445
451
|
changeRole: "改變角色",
|
|
446
452
|
removeMember: "刪除成員",
|
|
@@ -20,6 +20,24 @@ Before creating any custom REST/API route for app data, inspect `actions/` and t
|
|
|
20
20
|
|
|
21
21
|
**Stop trigger:** the moment you are about to create a file under `server/routes/api/` — or add server middleware to guard one — stop and check it against the exception list in *When You Still Need Custom `/api/` Routes* below. If it is not on that list, write a `defineAction` instead. This applies even when you already started the route; abandoning a half-written action to hand-roll routes is the exact failure this rule exists to prevent.
|
|
22
22
|
|
|
23
|
+
## Keep actions deterministic and composable
|
|
24
|
+
|
|
25
|
+
An action may call a provider API, validate or normalize data, and persist
|
|
26
|
+
records without being an AI feature. Keep those operations deterministic,
|
|
27
|
+
focused, and independently useful to the agent. Do not put LLM calls or a
|
|
28
|
+
second model runtime in ordinary actions. The only narrow exception is the
|
|
29
|
+
`completeText()` text-in/text-out escape hatch described in
|
|
30
|
+
`delegate-to-agent`; it must not own tools, chat history, run state, side
|
|
31
|
+
effects, or user steering.
|
|
32
|
+
|
|
33
|
+
When a workflow is framed as research, analysis, generation, recommendation,
|
|
34
|
+
or synthesis, or spans several provider calls and writes, route the user into
|
|
35
|
+
the AgentSidebar and let the agent orchestrate focused actions. Do not hide an
|
|
36
|
+
AI-shaped workflow behind one opaque `generate-*` or `create-*` action just
|
|
37
|
+
because its implementation is deterministic. A visible user-initiated run
|
|
38
|
+
should use `sendToAgentChat({ openSidebar: true })`, and its follow-ups should
|
|
39
|
+
continue in the same thread rather than a separate freeform input.
|
|
40
|
+
|
|
23
41
|
## Why
|
|
24
42
|
|
|
25
43
|
Actions give the agent callable tools with structured input/output, AND they give the frontend a typed client contract through hooks. One implementation serves both the agent and the UI. They keep the agent's chat context clean, they're reusable, and they can be tested independently.
|
|
@@ -56,6 +56,11 @@ The repeated app shell has two distinct navigation surfaces:
|
|
|
56
56
|
labeled as local, preview, or analyze. For original/generated review, stack
|
|
57
57
|
the source above the result by default and use side-by-side only for short,
|
|
58
58
|
highly scannable content.
|
|
59
|
+
- Deterministic implementation does not make an AI-shaped experience
|
|
60
|
+
deterministic. If the user expects research, analysis, generation,
|
|
61
|
+
recommendation, synthesis, visible progress, or steering, route the button
|
|
62
|
+
to the AgentSidebar and let the agent call focused actions. Keep revisions in
|
|
63
|
+
the same thread instead of adding a second freeform prompt box.
|
|
59
64
|
- Standalone apps with `AgentSidebar` must resolve one assistant-ui runtime
|
|
60
65
|
context. Match direct assistant-ui pins to the installed core/toolkit peer
|
|
61
66
|
graph, use Vite dedupe/aliases when linked dependencies can split contexts,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: turn-into-app
|
|
3
3
|
description: >-
|
|
4
|
-
Turn a proven thread, skill, or workflow into a
|
|
5
|
-
with simple buttons, visible agent steps, preview,
|
|
6
|
-
Use when a user invokes `/turn-into-app` or asks to
|
|
7
|
-
app.
|
|
4
|
+
Turn visible project context, a proven thread, skill, or workflow into a
|
|
5
|
+
runnable Agent-Native app with simple buttons, visible agent steps, preview,
|
|
6
|
+
and deployment handoff. Use when a user invokes `/turn-into-app` or asks to
|
|
7
|
+
make a workflow into an app.
|
|
8
8
|
user-invocable: true
|
|
9
9
|
scope: both
|
|
10
10
|
metadata:
|
|
@@ -17,34 +17,72 @@ metadata:
|
|
|
17
17
|
|
|
18
18
|
This is an end-to-end build skill, not a request for an app proposal.
|
|
19
19
|
|
|
20
|
-
- With no argument,
|
|
21
|
-
|
|
20
|
+
- With no argument, choose the source in this order: visible project context,
|
|
21
|
+
then the current thread. A fresh Claude or ChatGPT Project is a valid source
|
|
22
|
+
on its first turn. Treat its visible project instructions, knowledge files,
|
|
23
|
+
and supplied past runs as the source; a completed thread is not required.
|
|
24
|
+
Treat the current turn as a request or configuration unless it contains a
|
|
25
|
+
concrete repeatable workflow.
|
|
22
26
|
- With a named skill or local workflow, read that source and package it
|
|
23
27
|
immediately, even at the beginning of a thread. For example,
|
|
24
28
|
`/turn-into-app /some-skill` means “turn `/some-skill` into an app.”
|
|
25
29
|
- With an attachment or path, read the supplied artifact as the source.
|
|
26
30
|
- Do not ask the user to restate context that is already in the thread.
|
|
27
|
-
- When invoked from an Agent-Native app,
|
|
28
|
-
and use the available workspace/coding-agent
|
|
29
|
-
cannot edit files. Do not claim the app
|
|
30
|
-
verification result.
|
|
31
|
+
- When invoked from an Agent-Native app, use its visible project context first,
|
|
32
|
+
then the current thread, and use the available workspace/coding-agent
|
|
33
|
+
handoff when the current runtime cannot edit files. Do not claim the app
|
|
34
|
+
exists without an actual path and verification result.
|
|
31
35
|
|
|
32
36
|
## Source support
|
|
33
37
|
|
|
34
|
-
Supported source paths today are
|
|
35
|
-
|
|
36
|
-
|
|
38
|
+
Supported source paths today are visible Claude or ChatGPT Project context, the
|
|
39
|
+
current Codex or host thread, a named skill, or a local workflow/transcript
|
|
40
|
+
supplied as a path or attachment. An exported ChatGPT or Claude transcript can
|
|
41
|
+
use the same local-file path today.
|
|
37
42
|
|
|
38
|
-
ChatGPT
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
+
Claude and ChatGPT Project context is supported only when the host supplies it
|
|
44
|
+
to the model in the current context. The MCP connector does not read hidden
|
|
45
|
+
project chats, private URLs, account settings, or credentials. Do not claim
|
|
46
|
+
private web access, invent an importer, add fake OAuth, or scrape a logged-in
|
|
47
|
+
page. If the needed context is not visible, ask for an export, transcript, or
|
|
48
|
+
attachment and treat that artifact as imported source material.
|
|
43
49
|
|
|
44
50
|
Deliver a fresh app in a new directory, implement the repeatable workflow with
|
|
45
51
|
buttons and agent handoffs, start its dev server, verify the main path, and
|
|
46
52
|
continue through build/deployment handoff. Do not stop at a plan.
|
|
47
53
|
|
|
54
|
+
## Fresh project context mode
|
|
55
|
+
|
|
56
|
+
When the source is a fresh Claude or ChatGPT Project, build a short source brief
|
|
57
|
+
before creating the app. Read the host-provided context in this order:
|
|
58
|
+
|
|
59
|
+
1. Project instructions and configuration: goal, audience, constraints, output
|
|
60
|
+
standards, approved tools, and integration expectations. Treat these as
|
|
61
|
+
product configuration, not as a transcript.
|
|
62
|
+
2. Knowledge files and attachments: read the relevant files fully, preserve
|
|
63
|
+
their provenance, and reduce them to bounded references, IDs, URLs, or
|
|
64
|
+
summaries for the new app. Do not copy secrets or large raw payloads into
|
|
65
|
+
prompts or SQL.
|
|
66
|
+
3. Past runs or examples that are actually visible in the context: select at
|
|
67
|
+
most 1-3 successful, representative runs. Extract repeatable decisions and
|
|
68
|
+
review criteria. Treat one-off answers and private data as examples, not as
|
|
69
|
+
product behavior. If no runs are supplied, proceed from the instructions
|
|
70
|
+
and knowledge files and say that examples were not available.
|
|
71
|
+
4. The current turn: use it for the requested app boundary, target workspace,
|
|
72
|
+
naming, and any explicit corrections.
|
|
73
|
+
|
|
74
|
+
Record the brief with these headings before handoff: source and provenance,
|
|
75
|
+
project goal, configuration and constraints, knowledge sources, repeatable
|
|
76
|
+
workflow, inputs and outputs, judgment and review points, representative runs,
|
|
77
|
+
integrations and permissions, and unknowns. This is the compact contract for
|
|
78
|
+
the app. It keeps the new app useful without pretending that hidden Project
|
|
79
|
+
history was imported. See [the fresh Project reference](references/fresh-project.md)
|
|
80
|
+
for the host setup and brief template.
|
|
81
|
+
|
|
82
|
+
If the visible Project context has no concrete repeatable job, ask for one
|
|
83
|
+
focused clarification or a representative artifact. Do not fall back to a
|
|
84
|
+
generic “what app do you want to make?” builder.
|
|
85
|
+
|
|
48
86
|
## Source selection guard
|
|
49
87
|
|
|
50
88
|
The generated app must implement the concrete workflow found in the source. It
|
|
@@ -151,6 +189,14 @@ pnpm exec agent-native add-app <slug> --template=chat
|
|
|
151
189
|
Do not use `create` for an existing workspace; it scaffolds a new standalone
|
|
152
190
|
workspace rather than adding an app to the current one.
|
|
153
191
|
|
|
192
|
+
When the source came from a fresh external Project and the target is a Builder
|
|
193
|
+
workspace, prefer the available Dispatch MCP workspace handoff after writing
|
|
194
|
+
the source brief. Call `start-workspace-app-creation` with a concise prompt,
|
|
195
|
+
the inferred app id, and the brief's repeatable workflow. Pass selected
|
|
196
|
+
workspace resource IDs when they are available, rather than pasting entire
|
|
197
|
+
knowledge files. Continue from the returned workspace path or Builder handoff
|
|
198
|
+
and report the actual verification result.
|
|
199
|
+
|
|
154
200
|
Use a first-party template only when it materially fits the workflow. Keep the
|
|
155
201
|
new app independent from the source thread's working tree unless the user
|
|
156
202
|
explicitly asks to extend an existing app.
|
|
@@ -167,13 +213,20 @@ should make the repeated path obvious without hiding the agent's judgment:
|
|
|
167
213
|
- Give each important repeated moment a clear button, such as “Analyze,”
|
|
168
214
|
“Suggest options,” “Draft,” “Review,” or “Publish.” Use the source's actual
|
|
169
215
|
vocabulary when it is clear.
|
|
170
|
-
- Put deterministic reads, writes, approvals, and publishing
|
|
171
|
-
with `defineAction`. The UI and agent must call the
|
|
216
|
+
- Put deterministic reads, writes, approvals, provider fetches, and publishing
|
|
217
|
+
in focused `actions/` with `defineAction`. The UI and agent must call the
|
|
218
|
+
same action surface.
|
|
219
|
+
- If a workflow is framed as research, analysis, generation, recommendation,
|
|
220
|
+
or synthesis, start it in the AgentSidebar and let the agent orchestrate
|
|
221
|
+
those actions. Do not hide an AI-shaped multi-step workflow behind one
|
|
222
|
+
opaque action just because the implementation is deterministic.
|
|
172
223
|
- Use application state for the current screen, selected item, and focused
|
|
173
224
|
object so the agent can see where the user is.
|
|
174
|
-
- Use `sendToAgentChat({ message, context, submit: true })`
|
|
175
|
-
button-triggered agent work. Use `submit: false` when the
|
|
176
|
-
or edit the proposed prompt first.
|
|
225
|
+
- Use `sendToAgentChat({ message, context, submit: true, openSidebar: true })`
|
|
226
|
+
for intentional button-triggered agent work. Use `submit: false` when the
|
|
227
|
+
user should review or edit the proposed prompt in the AgentSidebar first.
|
|
228
|
+
Keep follow-up and revision prompts in that same thread; do not add a second
|
|
229
|
+
freeform textbox beside the result.
|
|
177
230
|
- Pass IDs, URLs, and bounded summaries in context. Do not paste large provider
|
|
178
231
|
dumps into prompts, call an LLM directly from the browser, or invent fake
|
|
179
232
|
progress.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
interface:
|
|
2
2
|
display_name: "Turn Into App"
|
|
3
|
-
short_description: "Turn
|
|
4
|
-
default_prompt: "
|
|
3
|
+
short_description: "Turn project context or a workflow into a runnable app"
|
|
4
|
+
default_prompt: "Use the visible project context first, then any supplied workflow. Turn the instructions, knowledge files, and selected successful runs into a new Agent-Native app with clear buttons, run it locally, verify it, and complete the deployment handoff."
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# Fresh Project source guide
|
|
2
|
+
|
|
3
|
+
Use this guide when `/turn-into-app` is invoked in a new Claude or ChatGPT
|
|
4
|
+
Project rather than after a completed thread.
|
|
5
|
+
|
|
6
|
+
## What the host can provide
|
|
7
|
+
|
|
8
|
+
The source is whatever the host put in the model's current context:
|
|
9
|
+
|
|
10
|
+
- Project instructions: the job, audience, constraints, quality bar, and
|
|
11
|
+
approved tools or integrations.
|
|
12
|
+
- Knowledge files and attachments: reference material, templates, examples,
|
|
13
|
+
and links that the app should use.
|
|
14
|
+
- Past runs: only conversations or outputs the host actually supplied. They
|
|
15
|
+
are examples and evaluation material, not an automatic import of every
|
|
16
|
+
private Project conversation.
|
|
17
|
+
- The current request: the app boundary, target workspace, name, and explicit
|
|
18
|
+
corrections.
|
|
19
|
+
|
|
20
|
+
Do not infer hidden system prompts, account settings, private history, API keys,
|
|
21
|
+
or credentials. The Dispatch MCP connector can start a workspace app creation,
|
|
22
|
+
but it cannot unlock or scrape private Project content.
|
|
23
|
+
|
|
24
|
+
## Source brief
|
|
25
|
+
|
|
26
|
+
Write a compact brief before starting the app:
|
|
27
|
+
|
|
28
|
+
```text
|
|
29
|
+
Source: host-provided Claude/ChatGPT Project context
|
|
30
|
+
Provenance: project instructions, selected knowledge files, and visible runs
|
|
31
|
+
Project goal:
|
|
32
|
+
Configuration and constraints:
|
|
33
|
+
Knowledge sources:
|
|
34
|
+
Repeatable workflow:
|
|
35
|
+
Inputs and outputs:
|
|
36
|
+
Judgment and review points:
|
|
37
|
+
Representative runs: none, or 1-3 selected examples
|
|
38
|
+
Integrations and permissions:
|
|
39
|
+
Unknowns and follow-up:
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Keep source references bounded. Prefer a file name, URL, resource ID, or short
|
|
43
|
+
summary over a large pasted document. Do not put secrets or raw customer data
|
|
44
|
+
in the brief.
|
|
45
|
+
|
|
46
|
+
## Fresh-box setup
|
|
47
|
+
|
|
48
|
+
Install the exported `turn-into-app` skill in the host when the host supports
|
|
49
|
+
skills. For a ChatGPT Project or any host that exposes only the MCP connector,
|
|
50
|
+
also place the skill instructions or this reference in the Project
|
|
51
|
+
instructions/knowledge files. Then add and authenticate the Dispatch MCP
|
|
52
|
+
connector from the packaged `adapters/chatgpt-mcp/connector.json`.
|
|
53
|
+
|
|
54
|
+
In a new Project chat, say:
|
|
55
|
+
|
|
56
|
+
```text
|
|
57
|
+
Turn this project into an app. Use the visible Project instructions,
|
|
58
|
+
knowledge files, and any selected successful runs as the source. Create the
|
|
59
|
+
app in the connected Agent-Native workspace, keep the source brief bounded,
|
|
60
|
+
and report the real path and verification result.
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
If the host does not show the Project instructions or files to the model, stop
|
|
64
|
+
and request an export or attachment. Do not claim that the Project was read.
|
|
@@ -20,6 +20,24 @@ Before creating any custom REST/API route for app data, inspect `actions/` and t
|
|
|
20
20
|
|
|
21
21
|
**Stop trigger:** the moment you are about to create a file under `server/routes/api/` — or add server middleware to guard one — stop and check it against the exception list in *When You Still Need Custom `/api/` Routes* below. If it is not on that list, write a `defineAction` instead. This applies even when you already started the route; abandoning a half-written action to hand-roll routes is the exact failure this rule exists to prevent.
|
|
22
22
|
|
|
23
|
+
## Keep actions deterministic and composable
|
|
24
|
+
|
|
25
|
+
An action may call a provider API, validate or normalize data, and persist
|
|
26
|
+
records without being an AI feature. Keep those operations deterministic,
|
|
27
|
+
focused, and independently useful to the agent. Do not put LLM calls or a
|
|
28
|
+
second model runtime in ordinary actions. The only narrow exception is the
|
|
29
|
+
`completeText()` text-in/text-out escape hatch described in
|
|
30
|
+
`delegate-to-agent`; it must not own tools, chat history, run state, side
|
|
31
|
+
effects, or user steering.
|
|
32
|
+
|
|
33
|
+
When a workflow is framed as research, analysis, generation, recommendation,
|
|
34
|
+
or synthesis, or spans several provider calls and writes, route the user into
|
|
35
|
+
the AgentSidebar and let the agent orchestrate focused actions. Do not hide an
|
|
36
|
+
AI-shaped workflow behind one opaque `generate-*` or `create-*` action just
|
|
37
|
+
because its implementation is deterministic. A visible user-initiated run
|
|
38
|
+
should use `sendToAgentChat({ openSidebar: true })`, and its follow-ups should
|
|
39
|
+
continue in the same thread rather than a separate freeform input.
|
|
40
|
+
|
|
23
41
|
## Why
|
|
24
42
|
|
|
25
43
|
Actions give the agent callable tools with structured input/output, AND they give the frontend a typed client contract through hooks. One implementation serves both the agent and the UI. They keep the agent's chat context clean, they're reusable, and they can be tested independently.
|
|
@@ -56,6 +56,11 @@ The repeated app shell has two distinct navigation surfaces:
|
|
|
56
56
|
labeled as local, preview, or analyze. For original/generated review, stack
|
|
57
57
|
the source above the result by default and use side-by-side only for short,
|
|
58
58
|
highly scannable content.
|
|
59
|
+
- Deterministic implementation does not make an AI-shaped experience
|
|
60
|
+
deterministic. If the user expects research, analysis, generation,
|
|
61
|
+
recommendation, synthesis, visible progress, or steering, route the button
|
|
62
|
+
to the AgentSidebar and let the agent call focused actions. Keep revisions in
|
|
63
|
+
the same thread instead of adding a second freeform prompt box.
|
|
59
64
|
- Standalone apps with `AgentSidebar` must resolve one assistant-ui runtime
|
|
60
65
|
context. Match direct assistant-ui pins to the installed core/toolkit peer
|
|
61
66
|
graph, use Vite dedupe/aliases when linked dependencies can split contexts,
|