@agent-native/core 0.175.4-nightly-20260826190205 → 0.175.4
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 +2 -2
- package/corpus/templates/analytics/.agents/skills/adding-a-feature/SKILL.md +1 -1
- package/corpus/templates/analytics/.agents/skills/agent-native-docs/SKILL.md +3 -3
- package/corpus/templates/analytics/.agents/skills/agent-native-toolkit/SKILL.md +1 -1
- package/corpus/templates/analytics/.agents/skills/customizing-agent-native/SKILL.md +3 -3
- package/corpus/templates/analytics/.agents/skills/frontend-design/SKILL.md +1 -1
- package/corpus/templates/analytics/.agents/skills/provider-api/SKILL.md +1 -1
- package/corpus/templates/analytics/.agents/skills/session-replay/SKILL.md +2 -2
- package/corpus/templates/analytics/.agents/skills/shadcn-ui/SKILL.md +3 -3
- package/corpus/templates/analytics/.agents/skills/storing-data/SKILL.md +1 -1
- package/corpus/templates/analytics/.agents/skills/workspace-conventions/SKILL.md +1 -1
- package/corpus/templates/analytics/CHANGELOG.md +4 -4
- package/corpus/templates/analytics/actions/navigate.ts +1 -1
- package/corpus/templates/analytics/actions/search-analytics-query-catalog.ts +1 -1
- package/corpus/templates/analytics/app/i18n-data.ts +10 -10
- package/corpus/templates/analytics/app/pages/DataSources.tsx +1 -1
- package/corpus/templates/analytics/app/pages/monitoring/errors/IssueList.tsx +1 -1
- package/corpus/templates/analytics/app/pages/sessions/SessionsPage.tsx +1 -1
- package/corpus/templates/analytics/changelog/2026-07-03-agent-llm-observability-dashboard.md +1 -1
- package/corpus/templates/analytics/changelog/2026-07-11-agent-feedback-sentiment-dashboard.md +1 -1
- package/corpus/templates/analytics/changelog/2026-07-11-inferred-message-sentiment-dashboard.md +1 -1
- package/corpus/templates/analytics/changelog/2026-08-07-template-activity-charts-now-show-only-core-agent-native-app.md +1 -1
- package/corpus/templates/analytics/changelog/2026-08-22-fixed-the-agent-native-templates-first-party-dashboard-panel.md +1 -1
- package/corpus/templates/analytics/docs/schemas/first-party-analytics.md +1 -1
- package/corpus/templates/analytics/scripts/seed-session-replay.ts +1 -1
- package/corpus/templates/analytics/seeds/dashboards/agent-native-templates-first-party.json +1 -1
- package/corpus/templates/analytics/server/lib/analytics-alerts.ts +2 -2
- package/corpus/templates/assets/.agents/skills/adding-a-feature/SKILL.md +1 -1
- package/corpus/templates/assets/.agents/skills/agent-native-docs/SKILL.md +3 -3
- package/corpus/templates/assets/.agents/skills/agent-native-toolkit/SKILL.md +1 -1
- package/corpus/templates/assets/.agents/skills/customizing-agent-native/SKILL.md +3 -3
- package/corpus/templates/assets/.agents/skills/frontend-design/SKILL.md +1 -1
- package/corpus/templates/assets/.agents/skills/shadcn-ui/SKILL.md +3 -3
- package/corpus/templates/assets/.agents/skills/storing-data/SKILL.md +1 -1
- package/corpus/templates/assets/.agents/skills/workspace-conventions/SKILL.md +1 -1
- package/corpus/templates/assets/CHANGELOG.md +1 -1
- package/corpus/templates/assets/changelog/2026-07-31-the-agent-native-logo-stays-visible-when-the-sidebar-is-coll.md +1 -1
- package/corpus/templates/brain/.agents/skills/adding-a-feature/SKILL.md +1 -1
- package/corpus/templates/brain/.agents/skills/agent-native-docs/SKILL.md +3 -3
- package/corpus/templates/brain/.agents/skills/agent-native-toolkit/SKILL.md +1 -1
- package/corpus/templates/brain/.agents/skills/brain/RUNBOOK.md +3 -3
- package/corpus/templates/brain/.agents/skills/customizing-agent-native/SKILL.md +3 -3
- package/corpus/templates/brain/.agents/skills/frontend-design/SKILL.md +1 -1
- package/corpus/templates/brain/.agents/skills/ingestion-and-connectors/SKILL.md +1 -1
- package/corpus/templates/brain/.agents/skills/shadcn-ui/SKILL.md +3 -3
- package/corpus/templates/brain/.agents/skills/storing-data/SKILL.md +1 -1
- package/corpus/templates/brain/.agents/skills/workspace-conventions/SKILL.md +1 -1
- package/corpus/templates/brain/CHANGELOG.md +1 -1
- package/corpus/templates/brain/changelog/2026-07-31-clicking-the-agent-native-logo-now-toggles-the-app-sidebar.md +1 -1
- package/corpus/templates/brain/evals/slack-pilot-corpus.ts +6 -6
- package/corpus/templates/brain/server/lib/brain-response-guard.ts +1 -1
- package/corpus/templates/calendar/.agents/skills/adding-a-feature/SKILL.md +1 -1
- package/corpus/templates/calendar/.agents/skills/agent-native-docs/SKILL.md +3 -3
- package/corpus/templates/calendar/.agents/skills/agent-native-toolkit/SKILL.md +1 -1
- package/corpus/templates/calendar/.agents/skills/customizing-agent-native/SKILL.md +3 -3
- package/corpus/templates/calendar/.agents/skills/frontend-design/SKILL.md +1 -1
- package/corpus/templates/calendar/.agents/skills/shadcn-ui/SKILL.md +3 -3
- package/corpus/templates/calendar/.agents/skills/storing-data/SKILL.md +1 -1
- package/corpus/templates/calendar/.agents/skills/workspace-conventions/SKILL.md +1 -1
- package/corpus/templates/calendar/CHANGELOG.md +2 -2
- package/corpus/templates/calendar/changelog/2026-07-06-google-calendar-now-finishes-connecting-correctly-after-sign.md +1 -1
- package/corpus/templates/calendar/changelog/2026-07-31-the-agent-native-logo-stays-visible-when-the-sidebar-is-coll.md +1 -1
- package/corpus/templates/chat/.agents/skills/adding-a-feature/SKILL.md +1 -1
- package/corpus/templates/chat/.agents/skills/agent-native-docs/SKILL.md +3 -3
- package/corpus/templates/chat/.agents/skills/agent-native-toolkit/SKILL.md +1 -1
- package/corpus/templates/chat/.agents/skills/customizing-agent-native/SKILL.md +3 -3
- package/corpus/templates/chat/.agents/skills/frontend-design/SKILL.md +1 -1
- package/corpus/templates/chat/.agents/skills/shadcn-ui/SKILL.md +3 -3
- package/corpus/templates/chat/.agents/skills/storing-data/SKILL.md +1 -1
- package/corpus/templates/chat/.agents/skills/workspace-conventions/SKILL.md +1 -1
- package/corpus/templates/chat/CHANGELOG.md +1 -1
- package/corpus/templates/chat/changelog/2026-07-31-clicking-the-agent-native-logo-now-toggles-the-app-sidebar.md +1 -1
- package/corpus/templates/clips/.agents/skills/agent-native-docs/SKILL.md +3 -3
- package/corpus/templates/clips/.agents/skills/agent-native-toolkit/SKILL.md +1 -1
- package/corpus/templates/clips/.agents/skills/customizing-agent-native/SKILL.md +3 -3
- package/corpus/templates/clips/.agents/skills/dictate/SKILL.md +1 -1
- package/corpus/templates/clips/.agents/skills/frontend-design/SKILL.md +1 -1
- package/corpus/templates/clips/.agents/skills/recording/SKILL.md +2 -2
- package/corpus/templates/clips/.agents/skills/shadcn-ui/SKILL.md +3 -3
- package/corpus/templates/clips/.agents/skills/workspace-conventions/SKILL.md +1 -1
- package/corpus/templates/clips/CHANGELOG.md +3 -3
- package/corpus/templates/clips/actions/set-mobile-capture-state.ts +1 -1
- package/corpus/templates/clips/app/lib/capture-permissions.ts +1 -1
- package/corpus/templates/clips/changelog/2026-07-07-the-clips-desktop-download-page-now-uses-the-agent-native-ap.md +1 -1
- package/corpus/templates/clips/changelog/2026-07-17-capture-dictation-background-meeting-audio-and-camera-videos.md +1 -1
- package/corpus/templates/clips/changelog/2026-07-31-the-agent-native-logo-stays-visible-when-the-sidebar-is-coll.md +1 -1
- package/corpus/templates/clips/desktop/src/lib/rewind-agent-prompt.ts +1 -1
- package/corpus/templates/clips/desktop/src/styles.css +1 -1
- package/corpus/templates/clips/desktop/src-tauri/src/rewind_chapters.rs +1 -1
- package/corpus/templates/clips/server/db/index.ts +1 -1
- package/corpus/templates/content/.agents/skills/adding-a-feature/SKILL.md +1 -1
- package/corpus/templates/content/.agents/skills/agent-native-docs/SKILL.md +3 -3
- package/corpus/templates/content/.agents/skills/agent-native-toolkit/SKILL.md +1 -1
- package/corpus/templates/content/.agents/skills/content/SKILL.md +1 -1
- package/corpus/templates/content/.agents/skills/content/references/local-file-mode.md +2 -2
- package/corpus/templates/content/.agents/skills/content-product-development/SKILL.md +2 -2
- package/corpus/templates/content/.agents/skills/customizing-agent-native/SKILL.md +3 -3
- package/corpus/templates/content/.agents/skills/frontend-design/SKILL.md +1 -1
- package/corpus/templates/content/.agents/skills/shadcn-ui/SKILL.md +3 -3
- package/corpus/templates/content/.agents/skills/storing-data/SKILL.md +1 -1
- package/corpus/templates/content/.agents/skills/workspace-conventions/SKILL.md +1 -1
- package/corpus/templates/content/CHANGELOG.md +2 -2
- package/corpus/templates/content/actions/_builder-cms-read-client.ts +33 -24
- package/corpus/templates/content/agent-native.app-skill.json +1 -1
- package/corpus/templates/content/app/components/editor/DocumentEditor.tsx +1 -1
- package/corpus/templates/content/app/components/editor/database/settings.tsx +3 -3
- package/corpus/templates/content/app/i18n-data.ts +49 -49
- package/corpus/templates/content/app/lib/local-content-source-files.ts +2 -2
- package/corpus/templates/content/changelog/2026-07-18-local-folder-selection-no-longer-invokes-the-unsafe-native-p.md +1 -1
- package/corpus/templates/content/changelog/2026-07-31-the-agent-native-logo-stays-visible-when-the-sidebar-is-coll.md +1 -1
- package/corpus/templates/content/docs/product/README.md +1 -1
- package/corpus/templates/content/docs/product/architecture.md +2 -2
- package/corpus/templates/content/docs/product/capabilities/content.author.mermaid.md +2 -2
- package/corpus/templates/content/docs/product/capabilities/content.form.shared-engine.md +2 -2
- package/corpus/templates/content/docs/product/encyclopedia.md +2 -2
- package/corpus/templates/content/docs/product/features/content.feature.collect-structured-input.md +2 -2
- package/corpus/templates/content/docs/product/features/content.feature.connect-your-sources.md +1 -1
- package/corpus/templates/content/docs/product/features/content.feature.put-your-organizations-know-how-to-work.md +1 -1
- package/corpus/templates/content/docs/product/features/content.feature.read-and-annotate-anything.md +1 -1
- package/corpus/templates/content/docs/product/features/content.feature.understand-what-your-data-says.md +2 -2
- package/corpus/templates/content/docs/product/features/content.feature.work-on-content-inside-another-application.md +3 -3
- package/corpus/templates/content/docs/product/roadmap.md +12 -12
- package/corpus/templates/content/docs/solutions/2026-08-12-toggle-summary-focus-persistence-shape.md +3 -3
- package/corpus/templates/content/shared/nfm.ts +25 -1
- package/corpus/templates/crm/.agents/skills/adding-a-feature/SKILL.md +1 -1
- package/corpus/templates/crm/.agents/skills/agent-native-docs/SKILL.md +3 -3
- package/corpus/templates/crm/.agents/skills/agent-native-toolkit/SKILL.md +1 -1
- package/corpus/templates/crm/.agents/skills/customizing-agent-native/SKILL.md +3 -3
- package/corpus/templates/crm/.agents/skills/frontend-design/SKILL.md +1 -1
- package/corpus/templates/crm/.agents/skills/shadcn-ui/SKILL.md +3 -3
- package/corpus/templates/crm/.agents/skills/storing-data/SKILL.md +1 -1
- package/corpus/templates/crm/.agents/skills/workspace-conventions/SKILL.md +1 -1
- package/corpus/templates/crm/DEVELOPING.md +1 -1
- package/corpus/templates/design/.agents/skills/adding-a-feature/SKILL.md +1 -1
- package/corpus/templates/design/.agents/skills/agent-native-docs/SKILL.md +3 -3
- package/corpus/templates/design/.agents/skills/agent-native-toolkit/SKILL.md +1 -1
- package/corpus/templates/design/.agents/skills/customizing-agent-native/SKILL.md +3 -3
- package/corpus/templates/design/.agents/skills/frontend-design/SKILL.md +1 -1
- package/corpus/templates/design/.agents/skills/shadcn-ui/SKILL.md +3 -3
- package/corpus/templates/design/.agents/skills/storing-data/SKILL.md +1 -1
- package/corpus/templates/design/.agents/skills/visual-edit/SKILL.md +3 -3
- package/corpus/templates/design/.agents/skills/workspace-conventions/SKILL.md +1 -1
- package/corpus/templates/design/CHANGELOG.md +3 -3
- package/corpus/templates/design/changelog/2026-06-28-editor-app-menus-now-use-an-outline-agent-native-mark-with-b.md +1 -1
- package/corpus/templates/design/changelog/2026-07-27-collapsed-sidebar-keeps-the-agent-native-logo.md +1 -1
- package/corpus/templates/design/changelog/2026-07-31-clicking-the-agent-native-logo-now-toggles-the-app-sidebar.md +1 -1
- package/corpus/templates/design/public/manifest.json +1 -1
- package/corpus/templates/dispatch/.agents/skills/adding-a-feature/SKILL.md +1 -1
- package/corpus/templates/dispatch/.agents/skills/agent-native-docs/SKILL.md +3 -3
- package/corpus/templates/dispatch/.agents/skills/agent-native-toolkit/SKILL.md +1 -1
- package/corpus/templates/dispatch/.agents/skills/customizing-agent-native/SKILL.md +3 -3
- package/corpus/templates/dispatch/.agents/skills/frontend-design/SKILL.md +1 -1
- package/corpus/templates/dispatch/.agents/skills/shadcn-ui/SKILL.md +3 -3
- package/corpus/templates/dispatch/.agents/skills/storing-data/SKILL.md +1 -1
- package/corpus/templates/dispatch/.agents/skills/workspace-conventions/SKILL.md +1 -1
- package/corpus/templates/dispatch/AGENTS.md +1 -1
- package/corpus/templates/dispatch/CHANGELOG.md +1 -1
- package/corpus/templates/dispatch/changelog/2026-07-27-thread-debug-accepts-request-run-ids.md +1 -1
- package/corpus/templates/dispatch/shared/feature-flags.ts +1 -1
- package/corpus/templates/factory/.agents/skills/adding-a-feature/SKILL.md +1 -1
- package/corpus/templates/factory/.agents/skills/agent-native-docs/SKILL.md +3 -3
- package/corpus/templates/factory/.agents/skills/agent-native-toolkit/SKILL.md +1 -1
- package/corpus/templates/factory/.agents/skills/customizing-agent-native/SKILL.md +3 -3
- package/corpus/templates/factory/.agents/skills/frontend-design/SKILL.md +1 -1
- package/corpus/templates/factory/.agents/skills/shadcn-ui/SKILL.md +3 -3
- package/corpus/templates/factory/.agents/skills/storing-data/SKILL.md +1 -1
- package/corpus/templates/factory/.agents/skills/workspace-conventions/SKILL.md +1 -1
- package/corpus/templates/factory/CHANGELOG.md +1 -1
- package/corpus/templates/factory/changelog/2026-07-31-clicking-the-agent-native-logo-now-toggles-the-app-sidebar.md +1 -1
- package/corpus/templates/factory/changelog/2026-08-24-slack-polling-accepts-the-agentnative-bot-handle.md +1 -1
- package/corpus/templates/forms/.agents/skills/adding-a-feature/SKILL.md +1 -1
- package/corpus/templates/forms/.agents/skills/agent-native-docs/SKILL.md +3 -3
- package/corpus/templates/forms/.agents/skills/agent-native-toolkit/SKILL.md +1 -1
- package/corpus/templates/forms/.agents/skills/customizing-agent-native/SKILL.md +3 -3
- package/corpus/templates/forms/.agents/skills/form-publishing/SKILL.md +1 -1
- package/corpus/templates/forms/.agents/skills/frontend-design/SKILL.md +1 -1
- package/corpus/templates/forms/.agents/skills/shadcn-ui/SKILL.md +3 -3
- package/corpus/templates/forms/.agents/skills/storing-data/SKILL.md +1 -1
- package/corpus/templates/forms/.agents/skills/workspace-conventions/SKILL.md +1 -1
- package/corpus/templates/forms/CHANGELOG.md +2 -2
- package/corpus/templates/forms/changelog/2026-06-27-anonymous-feedback-no-longer-shows-internal-agent-native-ano.md +1 -1
- package/corpus/templates/forms/changelog/2026-07-31-the-agent-native-logo-stays-visible-when-the-sidebar-is-coll.md +1 -1
- package/corpus/templates/forms/server/lib/public-form-ssr.ts +1 -1
- package/corpus/templates/macros/.agents/skills/adding-a-feature/SKILL.md +1 -1
- package/corpus/templates/macros/.agents/skills/agent-native-docs/SKILL.md +3 -3
- package/corpus/templates/macros/.agents/skills/agent-native-toolkit/SKILL.md +1 -1
- package/corpus/templates/macros/.agents/skills/customizing-agent-native/SKILL.md +3 -3
- package/corpus/templates/macros/.agents/skills/frontend-design/SKILL.md +1 -1
- package/corpus/templates/macros/.agents/skills/shadcn-ui/SKILL.md +3 -3
- package/corpus/templates/macros/.agents/skills/storing-data/SKILL.md +1 -1
- package/corpus/templates/macros/.agents/skills/workspace-conventions/SKILL.md +1 -1
- package/corpus/templates/mail/.agents/skills/adding-a-feature/SKILL.md +1 -1
- package/corpus/templates/mail/.agents/skills/agent-native-docs/SKILL.md +3 -3
- package/corpus/templates/mail/.agents/skills/agent-native-toolkit/SKILL.md +1 -1
- package/corpus/templates/mail/.agents/skills/customizing-agent-native/SKILL.md +3 -3
- package/corpus/templates/mail/.agents/skills/frontend-design/SKILL.md +1 -1
- package/corpus/templates/mail/.agents/skills/shadcn-ui/SKILL.md +3 -3
- package/corpus/templates/mail/.agents/skills/storing-data/SKILL.md +1 -1
- package/corpus/templates/mail/.agents/skills/workspace-conventions/SKILL.md +1 -1
- package/corpus/templates/plan/.agents/skills/adding-a-feature/SKILL.md +1 -1
- package/corpus/templates/plan/.agents/skills/agent-native-docs/SKILL.md +3 -3
- package/corpus/templates/plan/.agents/skills/agent-native-toolkit/SKILL.md +1 -1
- package/corpus/templates/plan/.agents/skills/customizing-agent-native/SKILL.md +3 -3
- package/corpus/templates/plan/.agents/skills/frontend-design/SKILL.md +1 -1
- package/corpus/templates/plan/.agents/skills/plan-source-sync/SKILL.md +1 -1
- package/corpus/templates/plan/.agents/skills/shadcn-ui/SKILL.md +3 -3
- package/corpus/templates/plan/.agents/skills/storing-data/SKILL.md +1 -1
- package/corpus/templates/plan/.agents/skills/workspace-conventions/SKILL.md +1 -1
- package/corpus/templates/plan/CHANGELOG.md +1 -1
- package/corpus/templates/plan/changelog/2026-07-31-clicking-the-agent-native-logo-now-toggles-the-app-sidebar.md +1 -1
- package/corpus/templates/slides/.agents/skills/adding-a-feature/SKILL.md +1 -1
- package/corpus/templates/slides/.agents/skills/agent-native-docs/SKILL.md +3 -3
- package/corpus/templates/slides/.agents/skills/agent-native-toolkit/SKILL.md +1 -1
- package/corpus/templates/slides/.agents/skills/customizing-agent-native/SKILL.md +3 -3
- package/corpus/templates/slides/.agents/skills/frontend-design/SKILL.md +1 -1
- package/corpus/templates/slides/.agents/skills/shadcn-ui/SKILL.md +3 -3
- package/corpus/templates/slides/.agents/skills/storing-data/SKILL.md +1 -1
- package/corpus/templates/slides/.agents/skills/workspace-conventions/SKILL.md +1 -1
- package/corpus/templates/slides/CHANGELOG.md +1 -1
- package/corpus/templates/slides/actions/export-pptx.ts +1 -1
- package/corpus/templates/slides/changelog/2026-07-31-the-agent-native-logo-stays-visible-when-the-sidebar-is-coll.md +1 -1
- package/corpus/templates/tasks/.agents/skills/adding-a-feature/SKILL.md +1 -1
- package/corpus/templates/tasks/.agents/skills/agent-native-docs/SKILL.md +3 -3
- package/corpus/templates/tasks/.agents/skills/agent-native-toolkit/SKILL.md +1 -1
- package/corpus/templates/tasks/.agents/skills/customizing-agent-native/SKILL.md +3 -3
- package/corpus/templates/tasks/.agents/skills/frontend-design/SKILL.md +1 -1
- package/corpus/templates/tasks/.agents/skills/shadcn-ui/SKILL.md +3 -3
- package/corpus/templates/tasks/.agents/skills/storing-data/SKILL.md +1 -1
- package/corpus/templates/tasks/.agents/skills/workspace-conventions/SKILL.md +1 -1
- package/corpus/templates/tasks/CHANGELOG.md +1 -1
- package/corpus/templates/tasks/changelog/2026-07-31-clicking-the-agent-native-logo-now-toggles-the-app-sidebar.md +1 -1
- package/corpus/templates/videos/.agents/skills/upgrade-agent-native/SKILL.md +3 -3
- package/dist/a2a/client.d.ts +1 -1
- package/dist/a2a/client.js +1 -1
- package/dist/agent/engine/builder-engine.js +2 -2
- package/dist/agent/harness/hosted.js +1 -1
- package/dist/agent/harness/types.d.ts +3 -3
- package/dist/agent/production-agent.js +2 -2
- package/dist/cli/agent.js +2 -2
- package/dist/cli/app-skill.js +1 -1
- package/dist/cli/clean.js +7 -7
- package/dist/cli/code-agent-connector.js +1 -1
- package/dist/cli/codex-cli-participant.d.ts +1 -1
- package/dist/cli/connect.js +6 -6
- package/dist/cli/create.js +5 -5
- package/dist/cli/design-connect.js +1 -1
- package/dist/cli/portal-workspace.js +1 -1
- package/dist/cli/skills-content/content-skill.d.ts +1 -1
- package/dist/cli/skills-content/content-skill.js +1 -1
- package/dist/cli/skills-content/design-visual-edit-skill.d.ts +1 -1
- package/dist/cli/skills-content/design-visual-edit-skill.js +3 -3
- package/dist/cli/skills-content/help.js +1 -1
- package/dist/cli/skills.d.ts +1 -1
- package/dist/cli/skills.js +8 -8
- package/dist/cli/telemetry.js +1 -1
- package/dist/cli/template-sync.js +1 -1
- package/dist/cli/templates-meta.js +7 -7
- package/dist/cli/upgrade.d.ts +1 -1
- package/dist/cli/upgrade.js +5 -5
- package/dist/client/AboutAgentNativeDialog.js +1 -1
- package/dist/client/AgentNativeFrame.js +1 -1
- package/dist/client/CommandMenu.d.ts +1 -1
- package/dist/client/CommandMenu.js +2 -2
- package/dist/client/EnvironmentBadge.js +2 -2
- package/dist/client/ErrorBoundary.js +1 -1
- package/dist/client/FeedbackButton.d.ts +1 -1
- package/dist/client/PoweredByBadge.d.ts +1 -1
- package/dist/client/PoweredByBadge.js +2 -2
- package/dist/client/agent-chat.d.ts +1 -1
- package/dist/client/analytics.d.ts +1 -1
- package/dist/client/analytics.js +1 -1
- package/dist/client/app-providers.js +3 -3
- package/dist/client/chat/run-recovery.js +1 -1
- package/dist/client/chat/runtime.js +1 -1
- package/dist/client/client-surface.d.ts +1 -1
- package/dist/client/components/CodeRequiredDialog.d.ts +1 -1
- package/dist/client/components/CodeRequiredDialog.js +1 -1
- package/dist/client/error-capture.js +1 -1
- package/dist/client/error-reporting.js +1 -1
- package/dist/client/extensions/portable-extension.js +1 -1
- package/dist/client/i18n.js +2 -2
- package/dist/client/mcp-app-host.js +1 -1
- package/dist/client/mcp-apps/McpAppRenderer.js +1 -1
- package/dist/client/settings/useBuilderStatus.js +1 -1
- package/dist/client/track.d.ts +1 -1
- package/dist/client/track.js +1 -1
- package/dist/collab/struct-routes.d.ts +1 -1
- package/dist/connections/catalog.d.ts +1 -1
- package/dist/connections/catalog.js +1 -1
- package/dist/integrations/catalog.d.ts +1 -1
- package/dist/integrations/catalog.js +4 -4
- package/dist/integrations/identity-links-store.d.ts +1 -1
- package/dist/integrations/identity-links-store.js +3 -3
- package/dist/integrations/identity.d.ts +1 -1
- package/dist/integrations/identity.js +2 -2
- package/dist/integrations/installations-store.d.ts +1 -1
- package/dist/integrations/installations-store.js +1 -1
- package/dist/integrations/plugin.js +4 -4
- package/dist/integrations/remote-browser-actions.js +3 -3
- package/dist/integrations/remote-push-delivery.js +1 -1
- package/dist/integrations/slack-manifest.d.ts +4 -4
- package/dist/integrations/slack-manifest.js +4 -4
- package/dist/integrations/slack-oauth.d.ts +2 -2
- package/dist/integrations/slack-oauth.js +2 -2
- package/dist/integrations/webhook-handler.js +1 -1
- package/dist/localization/core-messages/ar-SA.js +2 -2
- package/dist/localization/core-messages/de-DE.js +2 -2
- package/dist/localization/core-messages/en-US.d.ts +2 -2
- package/dist/localization/core-messages/en-US.js +2 -2
- package/dist/localization/core-messages/es-ES.js +2 -2
- package/dist/localization/core-messages/fr-FR.js +2 -2
- package/dist/localization/core-messages/hi-IN.js +2 -2
- package/dist/localization/core-messages/ja-JP.js +2 -2
- package/dist/localization/core-messages/ko-KR.js +2 -2
- package/dist/localization/core-messages/pt-BR.js +2 -2
- package/dist/localization/core-messages/zh-CN.js +2 -2
- package/dist/localization/core-messages/zh-TW.js +2 -2
- package/dist/localization/core-messages.d.ts +2 -2
- package/dist/localization/default-messages.js +6 -6
- package/dist/mcp/builtin-tools.js +3 -2
- package/dist/mcp/embed-app.js +4 -4
- package/dist/mcp/oauth-route.js +2 -2
- package/dist/mcp/stdio.js +1 -1
- package/dist/mcp-client/config.js +1 -1
- package/dist/mcp-client/manager.d.ts +9 -0
- package/dist/mcp-client/manager.js +7 -2
- package/dist/mcp-client/oauth-client.js +1 -1
- package/dist/observability/posthog-ai.d.ts +1 -1
- package/dist/observability/posthog-ai.js +1 -1
- package/dist/observability/routes.d.ts +3 -3
- package/dist/onboarding/default-steps.js +3 -3
- package/dist/provider-api/index.js +1 -1
- package/dist/scripts/call-agent.js +1 -1
- package/dist/secrets/routes.d.ts +9 -9
- package/dist/server/agent-chat/mcp-options.d.ts +1 -1
- package/dist/server/agent-chat/script-entries.js +1 -1
- package/dist/server/agent-chat-plugin.js +4 -4
- package/dist/server/auth.d.ts +1 -1
- package/dist/server/auth.js +1 -1
- package/dist/server/beta-opt-out-html.js +1 -1
- package/dist/server/builder-browser.js +1 -1
- package/dist/server/core-routes-plugin.js +4 -4
- package/dist/server/credential-provider.js +3 -0
- package/dist/server/deep-link.d.ts +1 -1
- package/dist/server/deep-link.js +1 -1
- package/dist/server/email-template.d.ts +1 -1
- package/dist/server/email-template.js +1 -1
- package/dist/server/email-templates.js +7 -7
- package/dist/server/email.js +1 -1
- package/dist/server/google-auth-mode.d.ts +1 -1
- package/dist/server/google-oauth.d.ts +2 -2
- package/dist/server/google-oauth.js +10 -8
- package/dist/server/onboarding-html.d.ts +1 -1
- package/dist/server/onboarding-html.js +2 -2
- package/dist/server/realtime-token.d.ts +1 -1
- package/dist/server/realtime-voice.js +1 -1
- package/dist/server/security-headers.d.ts +1 -1
- package/dist/server/security-headers.js +1 -1
- package/dist/shared/document-title.js +1 -1
- package/dist/sharing/actions/share-resource.js +1 -1
- package/dist/sharing/registry.d.ts +1 -1
- package/dist/styles/agent-native.css +1 -1
- package/dist/templates/chat/.agents/skills/adding-a-feature/SKILL.md +1 -1
- package/dist/templates/chat/.agents/skills/agent-native-docs/SKILL.md +3 -3
- package/dist/templates/chat/.agents/skills/agent-native-toolkit/SKILL.md +1 -1
- package/dist/templates/chat/.agents/skills/customizing-agent-native/SKILL.md +3 -3
- package/dist/templates/chat/.agents/skills/frontend-design/SKILL.md +1 -1
- package/dist/templates/chat/.agents/skills/shadcn-ui/SKILL.md +3 -3
- package/dist/templates/chat/.agents/skills/storing-data/SKILL.md +1 -1
- package/dist/templates/chat/.agents/skills/workspace-conventions/SKILL.md +1 -1
- package/dist/templates/chat/CHANGELOG.md +1 -1
- package/dist/templates/chat/changelog/2026-07-31-clicking-the-agent-native-logo-now-toggles-the-app-sidebar.md +1 -1
- package/dist/templates/default/.agents/skills/adding-a-feature/SKILL.md +1 -1
- package/dist/templates/default/.agents/skills/agent-native-docs/SKILL.md +3 -3
- package/dist/templates/default/.agents/skills/agent-native-toolkit/SKILL.md +1 -1
- package/dist/templates/default/.agents/skills/customizing-agent-native/SKILL.md +3 -3
- package/dist/templates/default/.agents/skills/frontend-design/SKILL.md +1 -1
- package/dist/templates/default/.agents/skills/shadcn-ui/SKILL.md +3 -3
- package/dist/templates/default/.agents/skills/storing-data/SKILL.md +1 -1
- package/dist/templates/default/.agents/skills/workspace-conventions/SKILL.md +1 -1
- package/dist/templates/default/app/i18n/ar-SA.ts +2 -2
- package/dist/templates/default/app/i18n/de-DE.ts +2 -2
- package/dist/templates/default/app/i18n/en-US.ts +2 -2
- package/dist/templates/default/app/i18n/es-ES.ts +2 -2
- package/dist/templates/default/app/i18n/fr-FR.ts +2 -2
- package/dist/templates/default/app/i18n/hi-IN.ts +2 -2
- package/dist/templates/default/app/i18n/ja-JP.ts +2 -2
- package/dist/templates/default/app/i18n/ko-KR.ts +2 -2
- package/dist/templates/default/app/i18n/pt-BR.ts +2 -2
- package/dist/templates/default/app/i18n/zh-CN.ts +2 -2
- package/dist/templates/default/app/i18n/zh-TW.ts +2 -2
- package/dist/templates/default/public/manifest.json +1 -1
- package/dist/templates/headless/.agents/skills/agent-native-docs/SKILL.md +3 -3
- package/dist/templates/headless/.agents/skills/agent-native-toolkit/SKILL.md +1 -1
- package/dist/templates/headless/.agents/skills/customizing-agent-native/SKILL.md +3 -3
- package/dist/templates/headless/.agents/skills/storing-data/SKILL.md +1 -1
- package/dist/templates/headless/AGENTS.md +6 -6
- package/dist/templates/headless/actions/run.ts +1 -1
- package/dist/templates/workspace-core/.agents/skills/adding-a-feature/SKILL.md +1 -1
- package/dist/templates/workspace-core/.agents/skills/agent-native-docs/SKILL.md +3 -3
- package/dist/templates/workspace-core/.agents/skills/agent-native-toolkit/SKILL.md +1 -1
- package/dist/templates/workspace-core/.agents/skills/customizing-agent-native/SKILL.md +3 -3
- package/dist/templates/workspace-core/.agents/skills/frontend-design/SKILL.md +1 -1
- package/dist/templates/workspace-core/.agents/skills/shadcn-ui/SKILL.md +3 -3
- package/dist/templates/workspace-core/.agents/skills/storing-data/SKILL.md +1 -1
- package/dist/templates/workspace-core/.agents/skills/workspace-conventions/SKILL.md +1 -1
- package/dist/templates/workspace-core/AGENTS.md +1 -1
- package/dist/templates/workspace-root/AGENTS.md +1 -1
- package/dist/tracking/providers.d.ts +2 -2
- package/dist/tracking/providers.js +5 -5
- package/dist/vite/client.d.ts +1 -1
- package/dist/vite/client.js +1 -1
- package/docs/AGENTS.md +3 -3
- package/docs/SKILL.md +3 -3
- package/docs/content/a2a-protocol.mdx +2 -2
- package/docs/content/actions-overview.mdx +3 -3
- package/docs/content/agent-resources.mdx +4 -2
- package/docs/content/authentication.mdx +4 -2
- package/docs/content/automation-connectors.mdx +5 -5
- package/docs/content/client-data.mdx +1 -1
- package/docs/content/client-overview.mdx +2 -2
- package/docs/content/client-routing.mdx +3 -1
- package/docs/content/cloneable-saas.mdx +5 -5
- package/docs/content/creating-templates.mdx +4 -2
- package/docs/content/cross-app-sso.mdx +4 -2
- package/docs/content/custom-design-system.mdx +9 -9
- package/docs/content/docs-components.mdx +1 -1
- package/docs/content/external-agents-catalog.mdx +2 -2
- package/docs/content/external-agents.mdx +1 -1
- package/docs/content/frames.mdx +3 -3
- package/docs/content/integrations.mdx +1 -1
- package/docs/content/internationalization.mdx +2 -2
- package/docs/content/mcp-clients.mdx +4 -2
- package/docs/content/messaging.mdx +5 -3
- package/docs/content/multi-app-workspace.mdx +3 -1
- package/docs/content/organizations-teams-permissions.mdx +2 -2
- package/docs/content/package-lifecycle.mdx +4 -2
- package/docs/content/plan-plugin.mdx +1 -1
- package/docs/content/pr-visual-recap.mdx +1 -1
- package/docs/content/security.mdx +3 -1
- package/docs/content/server-database.mdx +3 -1
- package/docs/content/server-overview.mdx +6 -4
- package/docs/content/skills-guide.mdx +3 -3
- package/docs/content/template-assets-integrations.mdx +1 -1
- package/docs/content/template-brain-agent.mdx +1 -1
- package/docs/content/template-brain-developers.mdx +1 -1
- package/docs/content/template-calendar-integrations.mdx +1 -1
- package/docs/content/template-clips-ai-and-editing.mdx +1 -1
- package/docs/content/template-clips-capture-everywhere.mdx +1 -1
- package/docs/content/template-content-local-files.mdx +1 -1
- package/docs/content/template-content-sync.mdx +2 -2
- package/docs/content/template-design-collaboration-and-full-apps.mdx +1 -1
- package/docs/content/template-dispatch.mdx +1 -1
- package/docs/content/template-forms-building-publishing.mdx +2 -2
- package/docs/content/template-forms.mdx +3 -1
- package/docs/content/template-plan-local-and-desktop.mdx +3 -3
- package/docs/content/template-plan.mdx +1 -1
- package/docs/content/tracking.mdx +5 -5
- package/docs/content/voice-input.mdx +3 -1
- package/docs/content/webmcp.mdx +2 -0
- package/docs/content/workspace-management.mdx +3 -1
- package/package.json +3 -3
- package/src/templates/chat/.agents/skills/adding-a-feature/SKILL.md +1 -1
- package/src/templates/chat/.agents/skills/agent-native-docs/SKILL.md +3 -3
- package/src/templates/chat/.agents/skills/agent-native-toolkit/SKILL.md +1 -1
- package/src/templates/chat/.agents/skills/customizing-agent-native/SKILL.md +3 -3
- package/src/templates/chat/.agents/skills/frontend-design/SKILL.md +1 -1
- package/src/templates/chat/.agents/skills/shadcn-ui/SKILL.md +3 -3
- package/src/templates/chat/.agents/skills/storing-data/SKILL.md +1 -1
- package/src/templates/chat/.agents/skills/workspace-conventions/SKILL.md +1 -1
- package/src/templates/chat/CHANGELOG.md +1 -1
- package/src/templates/chat/changelog/2026-07-31-clicking-the-agent-native-logo-now-toggles-the-app-sidebar.md +1 -1
- package/src/templates/default/.agents/skills/adding-a-feature/SKILL.md +1 -1
- package/src/templates/default/.agents/skills/agent-native-docs/SKILL.md +3 -3
- package/src/templates/default/.agents/skills/agent-native-toolkit/SKILL.md +1 -1
- package/src/templates/default/.agents/skills/customizing-agent-native/SKILL.md +3 -3
- package/src/templates/default/.agents/skills/frontend-design/SKILL.md +1 -1
- package/src/templates/default/.agents/skills/shadcn-ui/SKILL.md +3 -3
- package/src/templates/default/.agents/skills/storing-data/SKILL.md +1 -1
- package/src/templates/default/.agents/skills/workspace-conventions/SKILL.md +1 -1
- package/src/templates/default/app/i18n/ar-SA.ts +2 -2
- package/src/templates/default/app/i18n/de-DE.ts +2 -2
- package/src/templates/default/app/i18n/en-US.ts +2 -2
- package/src/templates/default/app/i18n/es-ES.ts +2 -2
- package/src/templates/default/app/i18n/fr-FR.ts +2 -2
- package/src/templates/default/app/i18n/hi-IN.ts +2 -2
- package/src/templates/default/app/i18n/ja-JP.ts +2 -2
- package/src/templates/default/app/i18n/ko-KR.ts +2 -2
- package/src/templates/default/app/i18n/pt-BR.ts +2 -2
- package/src/templates/default/app/i18n/zh-CN.ts +2 -2
- package/src/templates/default/app/i18n/zh-TW.ts +2 -2
- package/src/templates/default/public/manifest.json +1 -1
- package/src/templates/headless/.agents/skills/agent-native-docs/SKILL.md +3 -3
- package/src/templates/headless/.agents/skills/agent-native-toolkit/SKILL.md +1 -1
- package/src/templates/headless/.agents/skills/customizing-agent-native/SKILL.md +3 -3
- package/src/templates/headless/.agents/skills/storing-data/SKILL.md +1 -1
- package/src/templates/headless/AGENTS.md +6 -6
- package/src/templates/headless/actions/run.ts +1 -1
- package/src/templates/workspace-core/.agents/skills/adding-a-feature/SKILL.md +1 -1
- package/src/templates/workspace-core/.agents/skills/agent-native-docs/SKILL.md +3 -3
- package/src/templates/workspace-core/.agents/skills/agent-native-toolkit/SKILL.md +1 -1
- package/src/templates/workspace-core/.agents/skills/customizing-agent-native/SKILL.md +3 -3
- package/src/templates/workspace-core/.agents/skills/frontend-design/SKILL.md +1 -1
- package/src/templates/workspace-core/.agents/skills/shadcn-ui/SKILL.md +3 -3
- package/src/templates/workspace-core/.agents/skills/storing-data/SKILL.md +1 -1
- package/src/templates/workspace-core/.agents/skills/workspace-conventions/SKILL.md +1 -1
- package/src/templates/workspace-core/AGENTS.md +1 -1
- package/src/templates/workspace-root/AGENTS.md +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: customizing-agent-native
|
|
3
3
|
description: >-
|
|
4
|
-
How to configure, compose, or eject Agent
|
|
4
|
+
How to configure, compose, or eject Agent-Native features into app-owned
|
|
5
5
|
code. Use when overriding shared components or integrations, customizing a
|
|
6
6
|
template, adding UI to chat or headless apps, or inspecting package source.
|
|
7
7
|
scope: dev
|
|
@@ -9,7 +9,7 @@ metadata:
|
|
|
9
9
|
internal: true
|
|
10
10
|
---
|
|
11
11
|
|
|
12
|
-
# Customizing Agent
|
|
12
|
+
# Customizing Agent-Native
|
|
13
13
|
|
|
14
14
|
## Rule
|
|
15
15
|
|
|
@@ -205,7 +205,7 @@ UI ownership may change; product contracts should not:
|
|
|
205
205
|
## Don't
|
|
206
206
|
|
|
207
207
|
- Don't edit or import from `node_modules/@agent-native/*/src` at runtime.
|
|
208
|
-
- Don't add `pnpm.overrides`, patches, or resolutions for Agent
|
|
208
|
+
- Don't add `pnpm.overrides`, patches, or resolutions for Agent-Native packages.
|
|
209
209
|
- Don't copy Core auth, DB, action, agent-loop, or transport internals.
|
|
210
210
|
- Don't manually copy a first-party unit with a missing recipe; fix its manifest.
|
|
211
211
|
- Don't eject a full package when a prop, slot, wrapper, or smaller unit works.
|
|
@@ -137,7 +137,7 @@ yours to apply.
|
|
|
137
137
|
|
|
138
138
|
## Agent-Native UI Rules
|
|
139
139
|
|
|
140
|
-
- Agent-
|
|
140
|
+
- Agent-Native apps use React and Vite. The default adapter uses Tailwind CSS,
|
|
141
141
|
shadcn/ui, and `@tabler/icons-react`, but an app may register a different
|
|
142
142
|
company design system in `app/design-system.ts`.
|
|
143
143
|
- **Use the app's design-system seam for standard UI.** Inspect
|
|
@@ -52,7 +52,7 @@ Annotation/Connector markup, optional `assets/`, and optional
|
|
|
52
52
|
pass that read's `plan.updatedAt` as `expectedUpdatedAt`. Re-read the plan
|
|
53
53
|
after the patch and verify that unrelated MDX files and visual surfaces were
|
|
54
54
|
preserved.
|
|
55
|
-
- In Agent
|
|
55
|
+
- In Agent-Native Desktop, the Plan menu can link a user-chosen local folder for
|
|
56
56
|
the current plan, write the exported MDX files to it, import local edits back
|
|
57
57
|
through `import-visual-plan-source`, and optionally auto-export whenever the
|
|
58
58
|
hosted plan changes. This is a native desktop bridge; it does not require a
|
|
@@ -21,7 +21,7 @@ This skill keeps shadcn/ui work project-aware. Components are source files in th
|
|
|
21
21
|
## First Steps
|
|
22
22
|
|
|
23
23
|
1. Work from the app root that owns `components.json`.
|
|
24
|
-
2. In an Agent
|
|
24
|
+
2. In an Agent-Native app, inspect `app/design-system.ts` and
|
|
25
25
|
`ToolkitProvider` before choosing a primitive. A registered company design
|
|
26
26
|
system takes precedence over the default shadcn adapter.
|
|
27
27
|
3. Run `pnpm dlx shadcn@latest info --json` when you need current project context: framework, Tailwind version, aliases, icon library, installed components, and resolved paths.
|
|
@@ -29,7 +29,7 @@ This skill keeps shadcn/ui work project-aware. Components are source files in th
|
|
|
29
29
|
5. Check `app/components/ui/` or the resolved `ui` path before importing a component.
|
|
30
30
|
6. For unfamiliar components, run `pnpm dlx shadcn@latest docs <component>` and read the returned docs or examples before coding.
|
|
31
31
|
|
|
32
|
-
## Agent
|
|
32
|
+
## Agent-Native Adapter Rule
|
|
33
33
|
|
|
34
34
|
Pages, routes, and domain components import controls through the app's local UI
|
|
35
35
|
adapter layer. Never import `@agent-native/toolkit/ui/*` directly in app product
|
|
@@ -102,7 +102,7 @@ shadcn's built-in component animations are the right level of polish — keep th
|
|
|
102
102
|
|
|
103
103
|
## Icons
|
|
104
104
|
|
|
105
|
-
- Agent-
|
|
105
|
+
- Agent-Native apps use `@tabler/icons-react`. Do not add `lucide-react` because a registry example used it.
|
|
106
106
|
- If registry code imports a different icon package, replace those imports with Tabler equivalents before finishing.
|
|
107
107
|
- Let shadcn components size icons through their CSS. Avoid manual icon sizing inside buttons, menus, alerts, and sidebars unless the local component API requires it.
|
|
108
108
|
|
|
@@ -23,7 +23,7 @@ When you add a data model, a list, or a read path, also follow the `performance`
|
|
|
23
23
|
|
|
24
24
|
## How It Works
|
|
25
25
|
|
|
26
|
-
Agent-
|
|
26
|
+
Agent-Native apps use Drizzle ORM over the configured SQL backend. Local development works out of the box with a SQLite file at `data/app.db`; production and shared preview deploys need a persistent `DATABASE_URL` because container/serverless filesystems can reset. The code should behave the same across backends, but the local SQLite file is not durable once deployed.
|
|
27
27
|
|
|
28
28
|
For app code, use Drizzle's schema/query DSL by default. Raw SQL is an escape hatch for additive migrations, health checks, or one-off maintenance, not the normal way to build features.
|
|
29
29
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: workspace-conventions
|
|
3
3
|
description: >-
|
|
4
|
-
Shared conventions for a multi-app Agent
|
|
4
|
+
Shared conventions for a multi-app Agent-Native workspace: finding
|
|
5
5
|
version-matched framework docs and source, shared vs app-owned code, file and
|
|
6
6
|
blob storage, env and secrets, agent scratch files, and Dispatch Resources.
|
|
7
7
|
Use when working across workspace apps, storing files or credentials, or
|
|
@@ -18,7 +18,7 @@ Scope check first: this is the checklist for a feature that adds app data or a n
|
|
|
18
18
|
|
|
19
19
|
## Why
|
|
20
20
|
|
|
21
|
-
Agent-
|
|
21
|
+
Agent-Native apps are defined by parity: everything the UI can do, the agent can do, and vice versa. A feature that only has UI is invisible to the agent. A feature that only has scripts is invisible to the user. A feature without app-state sync means the agent is blind to what the user is doing.
|
|
22
22
|
|
|
23
23
|
## The Checklist
|
|
24
24
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: agent-native-docs
|
|
3
3
|
description: >-
|
|
4
|
-
How to find version-matched Agent
|
|
4
|
+
How to find version-matched Agent-Native framework docs and source bundled in
|
|
5
5
|
node_modules. Use before implementing or answering questions about
|
|
6
6
|
@agent-native/core APIs, generated apps, workspaces, templates, or advanced
|
|
7
7
|
features.
|
|
@@ -10,11 +10,11 @@ metadata:
|
|
|
10
10
|
internal: true
|
|
11
11
|
---
|
|
12
12
|
|
|
13
|
-
# Agent
|
|
13
|
+
# Agent-Native Docs Lookup
|
|
14
14
|
|
|
15
15
|
## Rule
|
|
16
16
|
|
|
17
|
-
Before implementing or explaining non-trivial Agent
|
|
17
|
+
Before implementing or explaining non-trivial Agent-Native behavior, read the
|
|
18
18
|
version-matched docs installed with `@agent-native/core`. When examples,
|
|
19
19
|
imports, or implementation details matter, inspect the packaged source corpus
|
|
20
20
|
too.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: agent-native-toolkit
|
|
3
3
|
description: >-
|
|
4
|
-
Inventory and ownership rules for shared Agent
|
|
4
|
+
Inventory and ownership rules for shared Agent-Native workspace UI. Use
|
|
5
5
|
before building app chrome, settings, navigation, sharing, collaboration,
|
|
6
6
|
setup, history, comments, chat rails, agent UX, or repeated workspace behavior.
|
|
7
7
|
scope: dev
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: customizing-agent-native
|
|
3
3
|
description: >-
|
|
4
|
-
How to configure, compose, or eject Agent
|
|
4
|
+
How to configure, compose, or eject Agent-Native features into app-owned
|
|
5
5
|
code. Use when overriding shared components or integrations, customizing a
|
|
6
6
|
template, adding UI to chat or headless apps, or inspecting package source.
|
|
7
7
|
scope: dev
|
|
@@ -9,7 +9,7 @@ metadata:
|
|
|
9
9
|
internal: true
|
|
10
10
|
---
|
|
11
11
|
|
|
12
|
-
# Customizing Agent
|
|
12
|
+
# Customizing Agent-Native
|
|
13
13
|
|
|
14
14
|
## Rule
|
|
15
15
|
|
|
@@ -205,7 +205,7 @@ UI ownership may change; product contracts should not:
|
|
|
205
205
|
## Don't
|
|
206
206
|
|
|
207
207
|
- Don't edit or import from `node_modules/@agent-native/*/src` at runtime.
|
|
208
|
-
- Don't add `pnpm.overrides`, patches, or resolutions for Agent
|
|
208
|
+
- Don't add `pnpm.overrides`, patches, or resolutions for Agent-Native packages.
|
|
209
209
|
- Don't copy Core auth, DB, action, agent-loop, or transport internals.
|
|
210
210
|
- Don't manually copy a first-party unit with a missing recipe; fix its manifest.
|
|
211
211
|
- Don't eject a full package when a prop, slot, wrapper, or smaller unit works.
|
|
@@ -137,7 +137,7 @@ yours to apply.
|
|
|
137
137
|
|
|
138
138
|
## Agent-Native UI Rules
|
|
139
139
|
|
|
140
|
-
- Agent-
|
|
140
|
+
- Agent-Native apps use React and Vite. The default adapter uses Tailwind CSS,
|
|
141
141
|
shadcn/ui, and `@tabler/icons-react`, but an app may register a different
|
|
142
142
|
company design system in `app/design-system.ts`.
|
|
143
143
|
- **Use the app's design-system seam for standard UI.** Inspect
|
|
@@ -21,7 +21,7 @@ This skill keeps shadcn/ui work project-aware. Components are source files in th
|
|
|
21
21
|
## First Steps
|
|
22
22
|
|
|
23
23
|
1. Work from the app root that owns `components.json`.
|
|
24
|
-
2. In an Agent
|
|
24
|
+
2. In an Agent-Native app, inspect `app/design-system.ts` and
|
|
25
25
|
`ToolkitProvider` before choosing a primitive. A registered company design
|
|
26
26
|
system takes precedence over the default shadcn adapter.
|
|
27
27
|
3. Run `pnpm dlx shadcn@latest info --json` when you need current project context: framework, Tailwind version, aliases, icon library, installed components, and resolved paths.
|
|
@@ -29,7 +29,7 @@ This skill keeps shadcn/ui work project-aware. Components are source files in th
|
|
|
29
29
|
5. Check `app/components/ui/` or the resolved `ui` path before importing a component.
|
|
30
30
|
6. For unfamiliar components, run `pnpm dlx shadcn@latest docs <component>` and read the returned docs or examples before coding.
|
|
31
31
|
|
|
32
|
-
## Agent
|
|
32
|
+
## Agent-Native Adapter Rule
|
|
33
33
|
|
|
34
34
|
Pages, routes, and domain components import controls through the app's local UI
|
|
35
35
|
adapter layer. Never import `@agent-native/toolkit/ui/*` directly in app product
|
|
@@ -102,7 +102,7 @@ shadcn's built-in component animations are the right level of polish — keep th
|
|
|
102
102
|
|
|
103
103
|
## Icons
|
|
104
104
|
|
|
105
|
-
- Agent-
|
|
105
|
+
- Agent-Native apps use `@tabler/icons-react`. Do not add `lucide-react` because a registry example used it.
|
|
106
106
|
- If registry code imports a different icon package, replace those imports with Tabler equivalents before finishing.
|
|
107
107
|
- Let shadcn components size icons through their CSS. Avoid manual icon sizing inside buttons, menus, alerts, and sidebars unless the local component API requires it.
|
|
108
108
|
|
|
@@ -23,7 +23,7 @@ When you add a data model, a list, or a read path, also follow the `performance`
|
|
|
23
23
|
|
|
24
24
|
## How It Works
|
|
25
25
|
|
|
26
|
-
Agent-
|
|
26
|
+
Agent-Native apps use Drizzle ORM over the configured SQL backend. Local development works out of the box with a SQLite file at `data/app.db`; production and shared preview deploys need a persistent `DATABASE_URL` because container/serverless filesystems can reset. The code should behave the same across backends, but the local SQLite file is not durable once deployed.
|
|
27
27
|
|
|
28
28
|
For app code, use Drizzle's schema/query DSL by default. Raw SQL is an escape hatch for additive migrations, health checks, or one-off maintenance, not the normal way to build features.
|
|
29
29
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: workspace-conventions
|
|
3
3
|
description: >-
|
|
4
|
-
Shared conventions for a multi-app Agent
|
|
4
|
+
Shared conventions for a multi-app Agent-Native workspace: finding
|
|
5
5
|
version-matched framework docs and source, shared vs app-owned code, file and
|
|
6
6
|
blob storage, env and secrets, agent scratch files, and Dispatch Resources.
|
|
7
7
|
Use when working across workspace apps, storing files or credentials, or
|
|
@@ -227,7 +227,7 @@ time from the command menu (Cmd+K → "What's new").
|
|
|
227
227
|
- Design system setup keeps focus rings visible and uses a simpler dialog title.
|
|
228
228
|
- Skip prompt is now available in the new deck prompt header
|
|
229
229
|
- Slides now detect real text and box overflow across the deck and verify bounded repairs.
|
|
230
|
-
- The Agent
|
|
230
|
+
- The Agent-Native logo stays visible when the sidebar is collapsed and toggles the sidebar when clicked.
|
|
231
231
|
|
|
232
232
|
### Fixed
|
|
233
233
|
|
|
@@ -1965,7 +1965,7 @@ export default defineAction({
|
|
|
1965
1965
|
});
|
|
1966
1966
|
pptx.layout = "AGENT_NATIVE";
|
|
1967
1967
|
}
|
|
1968
|
-
pptx.author = "Agent
|
|
1968
|
+
pptx.author = "Agent-Native Slides";
|
|
1969
1969
|
pptx.title = row.title;
|
|
1970
1970
|
// The font scheme is the one half of the theme pptxgenjs does expose;
|
|
1971
1971
|
// without it a themed deck re-imports as Calibri Light / Calibri.
|
|
@@ -18,7 +18,7 @@ Scope check first: this is the checklist for a feature that adds app data or a n
|
|
|
18
18
|
|
|
19
19
|
## Why
|
|
20
20
|
|
|
21
|
-
Agent-
|
|
21
|
+
Agent-Native apps are defined by parity: everything the UI can do, the agent can do, and vice versa. A feature that only has UI is invisible to the agent. A feature that only has scripts is invisible to the user. A feature without app-state sync means the agent is blind to what the user is doing.
|
|
22
22
|
|
|
23
23
|
## The Checklist
|
|
24
24
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: agent-native-docs
|
|
3
3
|
description: >-
|
|
4
|
-
How to find version-matched Agent
|
|
4
|
+
How to find version-matched Agent-Native framework docs and source bundled in
|
|
5
5
|
node_modules. Use before implementing or answering questions about
|
|
6
6
|
@agent-native/core APIs, generated apps, workspaces, templates, or advanced
|
|
7
7
|
features.
|
|
@@ -10,11 +10,11 @@ metadata:
|
|
|
10
10
|
internal: true
|
|
11
11
|
---
|
|
12
12
|
|
|
13
|
-
# Agent
|
|
13
|
+
# Agent-Native Docs Lookup
|
|
14
14
|
|
|
15
15
|
## Rule
|
|
16
16
|
|
|
17
|
-
Before implementing or explaining non-trivial Agent
|
|
17
|
+
Before implementing or explaining non-trivial Agent-Native behavior, read the
|
|
18
18
|
version-matched docs installed with `@agent-native/core`. When examples,
|
|
19
19
|
imports, or implementation details matter, inspect the packaged source corpus
|
|
20
20
|
too.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: agent-native-toolkit
|
|
3
3
|
description: >-
|
|
4
|
-
Inventory and ownership rules for shared Agent
|
|
4
|
+
Inventory and ownership rules for shared Agent-Native workspace UI. Use
|
|
5
5
|
before building app chrome, settings, navigation, sharing, collaboration,
|
|
6
6
|
setup, history, comments, chat rails, agent UX, or repeated workspace behavior.
|
|
7
7
|
scope: dev
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: customizing-agent-native
|
|
3
3
|
description: >-
|
|
4
|
-
How to configure, compose, or eject Agent
|
|
4
|
+
How to configure, compose, or eject Agent-Native features into app-owned
|
|
5
5
|
code. Use when overriding shared components or integrations, customizing a
|
|
6
6
|
template, adding UI to chat or headless apps, or inspecting package source.
|
|
7
7
|
scope: dev
|
|
@@ -9,7 +9,7 @@ metadata:
|
|
|
9
9
|
internal: true
|
|
10
10
|
---
|
|
11
11
|
|
|
12
|
-
# Customizing Agent
|
|
12
|
+
# Customizing Agent-Native
|
|
13
13
|
|
|
14
14
|
## Rule
|
|
15
15
|
|
|
@@ -205,7 +205,7 @@ UI ownership may change; product contracts should not:
|
|
|
205
205
|
## Don't
|
|
206
206
|
|
|
207
207
|
- Don't edit or import from `node_modules/@agent-native/*/src` at runtime.
|
|
208
|
-
- Don't add `pnpm.overrides`, patches, or resolutions for Agent
|
|
208
|
+
- Don't add `pnpm.overrides`, patches, or resolutions for Agent-Native packages.
|
|
209
209
|
- Don't copy Core auth, DB, action, agent-loop, or transport internals.
|
|
210
210
|
- Don't manually copy a first-party unit with a missing recipe; fix its manifest.
|
|
211
211
|
- Don't eject a full package when a prop, slot, wrapper, or smaller unit works.
|
|
@@ -137,7 +137,7 @@ yours to apply.
|
|
|
137
137
|
|
|
138
138
|
## Agent-Native UI Rules
|
|
139
139
|
|
|
140
|
-
- Agent-
|
|
140
|
+
- Agent-Native apps use React and Vite. The default adapter uses Tailwind CSS,
|
|
141
141
|
shadcn/ui, and `@tabler/icons-react`, but an app may register a different
|
|
142
142
|
company design system in `app/design-system.ts`.
|
|
143
143
|
- **Use the app's design-system seam for standard UI.** Inspect
|
|
@@ -21,7 +21,7 @@ This skill keeps shadcn/ui work project-aware. Components are source files in th
|
|
|
21
21
|
## First Steps
|
|
22
22
|
|
|
23
23
|
1. Work from the app root that owns `components.json`.
|
|
24
|
-
2. In an Agent
|
|
24
|
+
2. In an Agent-Native app, inspect `app/design-system.ts` and
|
|
25
25
|
`ToolkitProvider` before choosing a primitive. A registered company design
|
|
26
26
|
system takes precedence over the default shadcn adapter.
|
|
27
27
|
3. Run `pnpm dlx shadcn@latest info --json` when you need current project context: framework, Tailwind version, aliases, icon library, installed components, and resolved paths.
|
|
@@ -29,7 +29,7 @@ This skill keeps shadcn/ui work project-aware. Components are source files in th
|
|
|
29
29
|
5. Check `app/components/ui/` or the resolved `ui` path before importing a component.
|
|
30
30
|
6. For unfamiliar components, run `pnpm dlx shadcn@latest docs <component>` and read the returned docs or examples before coding.
|
|
31
31
|
|
|
32
|
-
## Agent
|
|
32
|
+
## Agent-Native Adapter Rule
|
|
33
33
|
|
|
34
34
|
Pages, routes, and domain components import controls through the app's local UI
|
|
35
35
|
adapter layer. Never import `@agent-native/toolkit/ui/*` directly in app product
|
|
@@ -102,7 +102,7 @@ shadcn's built-in component animations are the right level of polish — keep th
|
|
|
102
102
|
|
|
103
103
|
## Icons
|
|
104
104
|
|
|
105
|
-
- Agent-
|
|
105
|
+
- Agent-Native apps use `@tabler/icons-react`. Do not add `lucide-react` because a registry example used it.
|
|
106
106
|
- If registry code imports a different icon package, replace those imports with Tabler equivalents before finishing.
|
|
107
107
|
- Let shadcn components size icons through their CSS. Avoid manual icon sizing inside buttons, menus, alerts, and sidebars unless the local component API requires it.
|
|
108
108
|
|
|
@@ -23,7 +23,7 @@ When you add a data model, a list, or a read path, also follow the `performance`
|
|
|
23
23
|
|
|
24
24
|
## How It Works
|
|
25
25
|
|
|
26
|
-
Agent-
|
|
26
|
+
Agent-Native apps use Drizzle ORM over the configured SQL backend. Local development works out of the box with a SQLite file at `data/app.db`; production and shared preview deploys need a persistent `DATABASE_URL` because container/serverless filesystems can reset. The code should behave the same across backends, but the local SQLite file is not durable once deployed.
|
|
27
27
|
|
|
28
28
|
For app code, use Drizzle's schema/query DSL by default. Raw SQL is an escape hatch for additive migrations, health checks, or one-off maintenance, not the normal way to build features.
|
|
29
29
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: workspace-conventions
|
|
3
3
|
description: >-
|
|
4
|
-
Shared conventions for a multi-app Agent
|
|
4
|
+
Shared conventions for a multi-app Agent-Native workspace: finding
|
|
5
5
|
version-matched framework docs and source, shared vs app-owned code, file and
|
|
6
6
|
blob storage, env and secrets, agent scratch files, and Dispatch Resources.
|
|
7
7
|
Use when working across workspace apps, storing files or credentials, or
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: upgrade-agent-native
|
|
3
3
|
description: >-
|
|
4
|
-
Bring an older Agent
|
|
4
|
+
Bring an older Agent-Native app or workspace current. Use when updating
|
|
5
5
|
@agent-native/core, fixing a broken upgrade, or when tempted to patch or
|
|
6
6
|
override core/dispatch packages to make an old branch run.
|
|
7
7
|
scope: dev
|
|
@@ -9,11 +9,11 @@ metadata:
|
|
|
9
9
|
internal: true
|
|
10
10
|
---
|
|
11
11
|
|
|
12
|
-
# Upgrade Agent
|
|
12
|
+
# Upgrade Agent-Native
|
|
13
13
|
|
|
14
14
|
## Rule
|
|
15
15
|
|
|
16
|
-
When an older Agent
|
|
16
|
+
When an older Agent-Native app/branch needs to run on current packages, use
|
|
17
17
|
`agent-native upgrade`. Never "fix" upgrade breakage with
|
|
18
18
|
`pnpm.overrides`, `patchedDependencies`, `resolutions`, local patches, or
|
|
19
19
|
edits under `node_modules/@agent-native/*` — especially not against
|
package/dist/a2a/client.d.ts
CHANGED
|
@@ -59,7 +59,7 @@ export declare class A2AClient {
|
|
|
59
59
|
});
|
|
60
60
|
/**
|
|
61
61
|
* Detect which A2A path the target agent uses.
|
|
62
|
-
* Agent-
|
|
62
|
+
* Agent-Native apps use /_agent-native/a2a, external agents may use /a2a.
|
|
63
63
|
*/
|
|
64
64
|
resolveEndpoint(): Promise<void>;
|
|
65
65
|
/** Resolve the card-advertised endpoint without sending an RPC request. */
|
package/dist/a2a/client.js
CHANGED
|
@@ -161,7 +161,7 @@ export class A2AClient {
|
|
|
161
161
|
}
|
|
162
162
|
/**
|
|
163
163
|
* Detect which A2A path the target agent uses.
|
|
164
|
-
* Agent-
|
|
164
|
+
* Agent-Native apps use /_agent-native/a2a, external agents may use /a2a.
|
|
165
165
|
*/
|
|
166
166
|
async resolveEndpoint() {
|
|
167
167
|
await this.ensureEndpointCandidates();
|
|
@@ -96,7 +96,7 @@ function mapReasoningEffort(budgetTokens) {
|
|
|
96
96
|
* `/app/organizations/Nicholas%20kipchumba%20Space/billing` which Builder's
|
|
97
97
|
* router treats as unknown and silently bounces to `/app/projects`. The
|
|
98
98
|
* Builder CLI-auth callback doesn't expose the org slug/id today, so we route
|
|
99
|
-
* to the org-agnostic subscription page. Agent
|
|
99
|
+
* to the org-agnostic subscription page. Agent-Native attribution lets Builder
|
|
100
100
|
* skip generic onboarding for new users who land there from an upgrade CTA.
|
|
101
101
|
*/
|
|
102
102
|
async function buildUpgradeUrl() {
|
|
@@ -167,7 +167,7 @@ class BuilderEngine {
|
|
|
167
167
|
}, creditsLane);
|
|
168
168
|
return;
|
|
169
169
|
}
|
|
170
|
-
// The Builder gateway has an "auto" fallback mode, but Agent
|
|
170
|
+
// The Builder gateway has an "auto" fallback mode, but Agent-Native owns
|
|
171
171
|
// model selection. Always send a concrete model so the gateway cannot
|
|
172
172
|
// select an organization-level override or another fallback model.
|
|
173
173
|
const requestedModel = opts.model.trim();
|
|
@@ -95,6 +95,6 @@ export function hostedHarnessSystemPrompt(runtime) {
|
|
|
95
95
|
You are running as a hosted ${HOSTED_HARNESS_AGENT_LABELS[runtime]} inside a production app.
|
|
96
96
|
This is a tools-only mode. You have no repository, shell, filesystem, code-editing, or code-execution tools.
|
|
97
97
|
Use the app's typed actions and SQL-backed resources for mail, calendar, analytics, and working state.
|
|
98
|
-
For full coding work, tell the user to use the Agent
|
|
98
|
+
For full coding work, tell the user to use the Agent-Native Electron app.
|
|
99
99
|
</hosted-tools-only-harness>`;
|
|
100
100
|
}
|
|
@@ -7,7 +7,7 @@ export interface AgentHarnessCapabilities {
|
|
|
7
7
|
resumable: boolean;
|
|
8
8
|
/** Runtime can pause for human approval before continuing. */
|
|
9
9
|
approvals: boolean;
|
|
10
|
-
/** Runtime can execute host-defined tools supplied by Agent
|
|
10
|
+
/** Runtime can execute host-defined tools supplied by Agent-Native. */
|
|
11
11
|
hostTools: boolean;
|
|
12
12
|
/** Runtime emits file mutation or artifact events. */
|
|
13
13
|
fileEvents: boolean;
|
|
@@ -25,7 +25,7 @@ export interface AgentHarnessAdapter {
|
|
|
25
25
|
createSession(opts: AgentHarnessCreateSessionOptions): Promise<AgentHarnessSession>;
|
|
26
26
|
}
|
|
27
27
|
export interface AgentHarnessCreateSessionOptions {
|
|
28
|
-
/** Agent
|
|
28
|
+
/** Agent-Native session id. Adapters may map this to a native runtime id. */
|
|
29
29
|
sessionId?: string;
|
|
30
30
|
threadId?: string;
|
|
31
31
|
runId?: string;
|
|
@@ -36,7 +36,7 @@ export interface AgentHarnessCreateSessionOptions {
|
|
|
36
36
|
permissionMode?: AgentHarnessPermissionMode;
|
|
37
37
|
sandbox?: unknown;
|
|
38
38
|
/**
|
|
39
|
-
* Opaque value previously returned by detach()/stop(). Agent
|
|
39
|
+
* Opaque value previously returned by detach()/stop(). Agent-Native stores it
|
|
40
40
|
* but does not interpret it.
|
|
41
41
|
*/
|
|
42
42
|
resumeState?: unknown;
|
|
@@ -2207,7 +2207,7 @@ export async function executeAgentToolCall(options) {
|
|
|
2207
2207
|
let streamCalls = 0;
|
|
2208
2208
|
const engine = {
|
|
2209
2209
|
name: "agent-native:single-tool",
|
|
2210
|
-
label: "Agent
|
|
2210
|
+
label: "Agent-Native tool runtime",
|
|
2211
2211
|
defaultModel: "agent-native:single-tool",
|
|
2212
2212
|
supportedModels: ["agent-native:single-tool"],
|
|
2213
2213
|
capabilities: {
|
|
@@ -2253,7 +2253,7 @@ export async function executeAgentToolCall(options) {
|
|
|
2253
2253
|
await runAgentLoop({
|
|
2254
2254
|
engine,
|
|
2255
2255
|
model: engine.defaultModel,
|
|
2256
|
-
systemPrompt: "Execute the selected Agent
|
|
2256
|
+
systemPrompt: "Execute the selected Agent-Native tool call.",
|
|
2257
2257
|
tools,
|
|
2258
2258
|
availableTools: tools,
|
|
2259
2259
|
messages: [
|
package/dist/cli/agent.js
CHANGED
|
@@ -230,7 +230,7 @@ export async function createHeadlessBuiltinActions() {
|
|
|
230
230
|
"framework-search": {
|
|
231
231
|
readOnly: true,
|
|
232
232
|
tool: {
|
|
233
|
-
description: "Search version-matched Agent
|
|
233
|
+
description: "Search version-matched Agent-Native docs and readable Core, Toolkit, and first-party template source together. Use this first when a docs answer may require implementation evidence; supports substring, glob, SQL-like, and safe regex modes.",
|
|
234
234
|
parameters: {
|
|
235
235
|
type: "object",
|
|
236
236
|
properties: {
|
|
@@ -271,7 +271,7 @@ export async function createHeadlessBuiltinActions() {
|
|
|
271
271
|
"docs-search": {
|
|
272
272
|
readOnly: true,
|
|
273
273
|
tool: {
|
|
274
|
-
description: "Search and read version-matched Agent
|
|
274
|
+
description: "Search and read version-matched Agent-Native framework documentation bundled in @agent-native/core, plus bundled AGENTS.md and codebase skills. Use --list to see pages, --query to search, and --slug to read a page.",
|
|
275
275
|
parameters: {
|
|
276
276
|
type: "object",
|
|
277
277
|
properties: {
|
package/dist/cli/app-skill.js
CHANGED
|
@@ -142,7 +142,7 @@ export function normalizeAppSkillManifest(raw) {
|
|
|
142
142
|
id,
|
|
143
143
|
displayName: stringValue(raw.displayName) ?? id,
|
|
144
144
|
description: stringValue(raw.description) ??
|
|
145
|
-
`Agent-
|
|
145
|
+
`Agent-Native app-backed skill for ${id}.`,
|
|
146
146
|
...(stringValue(raw.version) ? { version: stringValue(raw.version) } : {}),
|
|
147
147
|
hosted: {
|
|
148
148
|
url: hostedUrl,
|
package/dist/cli/clean.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* `PROTECTED_NAMES` and `isSafeTarget`), every target is a real directory
|
|
8
8
|
* entry read from disk and re-verified immediately before the delete (see
|
|
9
9
|
* `addTarget` and `verifyTargetUnchanged`), the root has to be a confirmed
|
|
10
|
-
* Agent
|
|
10
|
+
* Agent-Native project root (see `checkProjectRoot`), and under `apps/` each
|
|
11
11
|
* app has to confirm the same thing for itself (see `splitAppDirs`). Those
|
|
12
12
|
* checks are the whole safety contract, not a nicety.
|
|
13
13
|
*
|
|
@@ -479,7 +479,7 @@ function dropNested(targets) {
|
|
|
479
479
|
/**
|
|
480
480
|
* Splits `apps/` into the apps this command may clean and the ones it may not.
|
|
481
481
|
*
|
|
482
|
-
* One Agent
|
|
482
|
+
* One Agent-Native app under `apps/` authorizes cleaning *that app*, not its
|
|
483
483
|
* neighbours: `build/`, `dist/` and `.output/` are ordinary directory names,
|
|
484
484
|
* and a workspace can hold a Rust project or a personal folder beside the app.
|
|
485
485
|
* This is `checkProjectRoot`'s question asked one level down, and the reason
|
|
@@ -501,7 +501,7 @@ function splitAppDirs(root, failures) {
|
|
|
501
501
|
if (marker.kind === "unreadable") {
|
|
502
502
|
addFailure(failures, {
|
|
503
503
|
path: marker.path,
|
|
504
|
-
message: `could not be read (${marker.message}), so ${dir} is not treated as an Agent
|
|
504
|
+
message: `could not be read (${marker.message}), so ${dir} is not treated as an Agent-Native app`,
|
|
505
505
|
});
|
|
506
506
|
}
|
|
507
507
|
dirs.foreign.push(dir);
|
|
@@ -791,7 +791,7 @@ function formatCleanHuman(report) {
|
|
|
791
791
|
return lines.join("\n");
|
|
792
792
|
}
|
|
793
793
|
/**
|
|
794
|
-
* Is `dir` an Agent
|
|
794
|
+
* Is `dir` an Agent-Native app root? Three answers, never two: the manifest
|
|
795
795
|
* says yes, the manifest says no, or nobody could read the manifest.
|
|
796
796
|
*/
|
|
797
797
|
function readAgentNativeMarker(dir) {
|
|
@@ -837,7 +837,7 @@ function readAgentNativeMarker(dir) {
|
|
|
837
837
|
* outside a project is still a plausible personal folder, and every npm, pnpm
|
|
838
838
|
* or yarn monorepo on the machine — `$HOME` included, if its `package.json`
|
|
839
839
|
* has a `workspaces` key — carries a workspace marker. A workspace root is
|
|
840
|
-
* accepted only when an app under `apps/` actually is Agent
|
|
840
|
+
* accepted only when an app under `apps/` actually is Agent-Native, which is
|
|
841
841
|
* also the only part of a workspace this command ever cleans.
|
|
842
842
|
*/
|
|
843
843
|
function checkProjectRoot(root) {
|
|
@@ -845,7 +845,7 @@ function checkProjectRoot(root) {
|
|
|
845
845
|
if (marker.kind === "unreadable") {
|
|
846
846
|
return {
|
|
847
847
|
ok: false,
|
|
848
|
-
reason: `${marker.path} could not be read (${marker.message}), so this cannot be confirmed as an Agent
|
|
848
|
+
reason: `${marker.path} could not be read (${marker.message}), so this cannot be confirmed as an Agent-Native project.`,
|
|
849
849
|
};
|
|
850
850
|
}
|
|
851
851
|
if (marker.kind === "agent-native")
|
|
@@ -856,7 +856,7 @@ function checkProjectRoot(root) {
|
|
|
856
856
|
return { ok: true };
|
|
857
857
|
return {
|
|
858
858
|
ok: false,
|
|
859
|
-
reason: "no package.json depending on @agent-native/core, no agent-native.json, and no apps/* with either, so this is not the root of an Agent
|
|
859
|
+
reason: "no package.json depending on @agent-native/core, no agent-native.json, and no apps/* with either, so this is not the root of an Agent-Native project.",
|
|
860
860
|
};
|
|
861
861
|
}
|
|
862
862
|
/** `agent-native clean` CLI entrypoint. Returns the process exit code —
|