@agent-native/core 0.83.0 → 0.84.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/corpus/README.md +1 -1
- package/corpus/core/CHANGELOG.md +34 -0
- package/corpus/core/README.md +2 -2
- package/corpus/core/docs/content/cloneable-saas.mdx +2 -2
- package/corpus/core/docs/content/evals.mdx +34 -12
- package/corpus/core/docs/content/faq.mdx +1 -1
- package/corpus/core/docs/content/locales/ar-SA/cloneable-saas.mdx +2 -2
- package/corpus/core/docs/content/locales/ar-SA/evals.mdx +7 -0
- package/corpus/core/docs/content/locales/ar-SA/faq.mdx +1 -1
- package/corpus/core/docs/content/locales/ar-SA/template-chat.mdx +1 -1
- package/corpus/core/docs/content/locales/de-DE/cloneable-saas.mdx +2 -2
- package/corpus/core/docs/content/locales/de-DE/evals.mdx +8 -0
- package/corpus/core/docs/content/locales/de-DE/faq.mdx +1 -1
- package/corpus/core/docs/content/locales/de-DE/template-chat.mdx +1 -1
- package/corpus/core/docs/content/locales/es-ES/cloneable-saas.mdx +2 -2
- package/corpus/core/docs/content/locales/es-ES/evals.mdx +8 -0
- package/corpus/core/docs/content/locales/es-ES/faq.mdx +1 -1
- package/corpus/core/docs/content/locales/es-ES/template-chat.mdx +1 -1
- package/corpus/core/docs/content/locales/fr-FR/cloneable-saas.mdx +2 -2
- package/corpus/core/docs/content/locales/fr-FR/evals.mdx +8 -0
- package/corpus/core/docs/content/locales/fr-FR/faq.mdx +1 -1
- package/corpus/core/docs/content/locales/fr-FR/template-chat.mdx +1 -1
- package/corpus/core/docs/content/locales/hi-IN/cloneable-saas.mdx +2 -2
- package/corpus/core/docs/content/locales/hi-IN/evals.mdx +8 -0
- package/corpus/core/docs/content/locales/hi-IN/faq.mdx +1 -1
- package/corpus/core/docs/content/locales/hi-IN/template-chat.mdx +1 -1
- package/corpus/core/docs/content/locales/ja-JP/cloneable-saas.mdx +2 -2
- package/corpus/core/docs/content/locales/ja-JP/evals.mdx +7 -0
- package/corpus/core/docs/content/locales/ja-JP/faq.mdx +1 -1
- package/corpus/core/docs/content/locales/ja-JP/template-chat.mdx +1 -1
- package/corpus/core/docs/content/locales/ko-KR/cloneable-saas.mdx +2 -2
- package/corpus/core/docs/content/locales/ko-KR/evals.mdx +7 -0
- package/corpus/core/docs/content/locales/ko-KR/faq.mdx +1 -1
- package/corpus/core/docs/content/locales/ko-KR/template-chat.mdx +1 -1
- package/corpus/core/docs/content/locales/pt-BR/cloneable-saas.mdx +2 -2
- package/corpus/core/docs/content/locales/pt-BR/evals.mdx +8 -0
- package/corpus/core/docs/content/locales/pt-BR/faq.mdx +1 -1
- package/corpus/core/docs/content/locales/pt-BR/template-chat.mdx +1 -1
- package/corpus/core/docs/content/locales/zh-CN/cloneable-saas.mdx +2 -2
- package/corpus/core/docs/content/locales/zh-CN/evals.mdx +7 -0
- package/corpus/core/docs/content/locales/zh-CN/faq.mdx +1 -1
- package/corpus/core/docs/content/locales/zh-CN/template-chat.mdx +1 -1
- package/corpus/core/docs/content/locales/zh-TW/cloneable-saas.mdx +2 -2
- package/corpus/core/docs/content/locales/zh-TW/evals.mdx +7 -0
- package/corpus/core/docs/content/locales/zh-TW/faq.mdx +1 -1
- package/corpus/core/docs/content/locales/zh-TW/template-chat.mdx +1 -1
- package/corpus/core/docs/content/template-chat.mdx +1 -1
- package/corpus/core/package.json +1 -1
- package/corpus/core/src/agent/engine/builtin.ts +1 -1
- package/corpus/core/src/agent/engine/output-tokens.ts +1 -1
- package/corpus/core/src/agent/harness/acp-adapter.ts +28 -4
- package/corpus/core/src/agent/harness/ai-sdk-adapter.ts +3 -0
- package/corpus/core/src/agent/harness/translate.ts +3 -0
- package/corpus/core/src/agent/harness/types.ts +1 -0
- package/corpus/core/src/agent/model-config.ts +34 -13
- package/corpus/core/src/agent/production-agent.ts +87 -10
- package/corpus/core/src/agent/thread-data-builder.ts +29 -4
- package/corpus/core/src/agent/tool-call-journal.ts +109 -48
- package/corpus/core/src/agent/types.ts +6 -1
- package/corpus/core/src/cli/design-connect.ts +106 -0
- package/corpus/core/src/cli/gateway-helpers.ts +17 -0
- package/corpus/core/src/cli/recap.ts +0 -2
- package/corpus/core/src/cli/skills.ts +54 -16
- package/corpus/core/src/cli/workspace-dev.ts +29 -5
- package/corpus/core/src/client/AssistantChat.tsx +89 -42
- package/corpus/core/src/client/DefaultSpinner.tsx +8 -1
- package/corpus/core/src/client/chat/message-components.tsx +49 -1
- package/corpus/core/src/client/chat/repo-helpers.ts +71 -0
- package/corpus/core/src/client/chat/run-recovery.tsx +15 -5
- package/corpus/core/src/client/components/ApiKeySettings.tsx +8 -8
- package/corpus/core/src/client/components/CodeRequiredDialog.tsx +26 -15
- package/corpus/core/src/client/components/MissingKeyCard.tsx +13 -6
- package/corpus/core/src/client/composer/TiptapComposer.tsx +4 -3
- package/corpus/core/src/client/extensions/ExtensionsSidebarSection.tsx +0 -1
- package/corpus/core/src/client/guided-questions.tsx +21 -27
- package/corpus/core/src/client/integrations/IntegrationCard.tsx +1 -1
- package/corpus/core/src/client/integrations/IntegrationsPanel.tsx +1 -1
- package/corpus/core/src/client/onboarding/OnboardingBanner.tsx +2 -2
- package/corpus/core/src/client/onboarding/OnboardingPanel.tsx +23 -19
- package/corpus/core/src/client/resources/ResourceEditor.tsx +18 -10
- package/corpus/core/src/client/resources/ResourcesPanel.tsx +5 -1
- package/corpus/core/src/client/settings/SettingsPanel.tsx +8 -3
- package/corpus/core/src/client/settings/useBuilderStatus.ts +8 -41
- package/corpus/core/src/client/useProductionAgent.ts +6 -2
- package/corpus/core/src/deploy/build.ts +1 -1
- package/corpus/core/src/eval/define-eval.ts +4 -1
- package/corpus/core/src/eval/report.ts +23 -8
- package/corpus/core/src/eval/runner.ts +41 -6
- package/corpus/core/src/eval/types.ts +11 -0
- package/corpus/core/src/observability/traces.ts +3 -3
- package/corpus/core/src/onboarding/default-steps.ts +1 -1
- package/corpus/core/src/scripts/agent-engines/manage-agent-engine.ts +1 -1
- package/corpus/core/src/scripts/agent-engines/set-agent-engine.ts +1 -1
- package/corpus/core/src/server/agent-chat-plugin.ts +177 -81
- package/corpus/core/src/server/core-routes-plugin.ts +7 -1
- package/corpus/core/src/server/open-route.ts +59 -40
- package/corpus/core/src/shared/reasoning-effort.ts +2 -0
- package/corpus/core/src/sharing/access.ts +22 -2
- package/corpus/core/src/sharing/registry.ts +18 -0
- package/corpus/core/src/styles/agent-native.css +104 -20
- package/corpus/core/src/styles/rich-markdown-editor.css +11 -10
- package/corpus/templates/analytics/app/components/dashboard/CumulativeNetChart.tsx +10 -10
- package/corpus/templates/analytics/app/components/dashboard/RevenueChart.tsx +10 -10
- package/corpus/templates/analytics/app/components/dashboard/RevenueComparisonChart.tsx +6 -5
- package/corpus/templates/analytics/app/components/dashboard/TimeSeriesChart.tsx +9 -9
- package/corpus/templates/analytics/app/global.css +4 -0
- package/corpus/templates/analytics/app/lib/chart-theme.ts +13 -0
- package/corpus/templates/analytics/app/pages/adhoc/_shared/KpiChart.tsx +22 -24
- package/corpus/templates/analytics/changelog/2026-06-30-dashboard-charts-now-use-theme-aware-tooltip-and-grid-colors.md +6 -0
- package/corpus/templates/analytics/changelog/2026-06-30-fixed-ask-composer-spacing-so-the-chat-field-has-a-comfortab.md +6 -0
- package/corpus/templates/calendar/AGENTS.md +4 -0
- package/corpus/templates/calendar/actions/connect-google-calendar.ts +80 -0
- package/corpus/templates/calendar/changelog/2026-06-30-calendar-now-gives-the-agent-a-safe-google-connection-link-i.md +6 -0
- package/corpus/templates/calendar/server/plugins/agent-chat.ts +4 -0
- package/corpus/templates/content/AGENTS.md +9 -2
- package/corpus/templates/content/actions/_database-row-batch.ts +230 -0
- package/corpus/templates/content/actions/_database-utils.ts +17 -9
- package/corpus/templates/content/actions/_notion-action-utils.ts +26 -0
- package/corpus/templates/content/actions/connect-notion-status.ts +13 -4
- package/corpus/templates/content/actions/create-and-link-notion-page.ts +23 -0
- package/corpus/templates/content/actions/delete-database-items.ts +55 -0
- package/corpus/templates/content/actions/delete-document.ts +4 -4
- package/corpus/templates/content/actions/disconnect-notion.ts +16 -0
- package/corpus/templates/content/actions/duplicate-database-item.ts +1 -1
- package/corpus/templates/content/actions/duplicate-database-items.ts +191 -0
- package/corpus/templates/content/actions/link-notion-page.ts +10 -7
- package/corpus/templates/content/actions/list-notion-links.ts +3 -4
- package/corpus/templates/content/actions/pull-notion-page.ts +7 -9
- package/corpus/templates/content/actions/push-notion-page.ts +7 -9
- package/corpus/templates/content/actions/refresh-notion-sync-status.ts +24 -0
- package/corpus/templates/content/actions/resolve-notion-sync-conflict.ts +23 -0
- package/corpus/templates/content/actions/search-notion-pages.ts +67 -0
- package/corpus/templates/content/actions/unlink-notion-page.ts +23 -0
- package/corpus/templates/content/app/components/editor/BubbleToolbar.tsx +5 -5
- package/corpus/templates/content/app/components/editor/DocumentDatabase.tsx +27 -34
- package/corpus/templates/content/app/components/editor/DocumentEditor.tsx +16 -13
- package/corpus/templates/content/app/components/editor/DocumentToolbar.tsx +10 -10
- package/corpus/templates/content/app/components/editor/NotionConflictBanner.tsx +1 -1
- package/corpus/templates/content/app/components/editor/NotionSyncBar.tsx +18 -9
- package/corpus/templates/content/app/components/editor/database/DatabaseView.tsx +27 -34
- package/corpus/templates/content/app/components/editor/database/navigation-state.ts +10 -4
- package/corpus/templates/content/app/components/sidebar/NotionButton.tsx +32 -17
- package/corpus/templates/content/app/global.css +6 -5
- package/corpus/templates/content/app/hooks/use-content-database.ts +35 -0
- package/corpus/templates/content/app/hooks/use-notion.ts +108 -99
- package/corpus/templates/content/changelog/2026-06-30-editor-floating-toolbars-now-use-theme-aware-colors-in-light.md +6 -0
- package/corpus/templates/content/package.json +3 -0
- package/corpus/templates/content/parity/README.md +69 -0
- package/corpus/templates/content/parity/eval-scenarios.ts +118 -0
- package/corpus/templates/content/parity/exceptions.allowlist.ts +17 -0
- package/corpus/templates/content/parity/matrix.md +28 -0
- package/corpus/templates/content/parity/matrix.ts +606 -0
- package/corpus/templates/content/parity/matrix.types.ts +42 -0
- package/corpus/templates/content/parity/parity-evals.eval.ts +4 -0
- package/corpus/templates/content/parity/render-matrix.ts +90 -0
- package/corpus/templates/content/parity/scenario-to-eval.ts +57 -0
- package/corpus/templates/content/shared/api.ts +11 -0
- package/corpus/templates/design/.agents/skills/visual-edit/SKILL.md +6 -1
- package/corpus/templates/design/actions/add-localhost-screens.ts +63 -8
- package/corpus/templates/design/actions/apply-motion-edit.ts +12 -46
- package/corpus/templates/design/actions/list-design-native-assets.ts +2 -1
- package/corpus/templates/design/actions/migrate-board-objects-to-file.ts +49 -1
- package/corpus/templates/design/actions/navigate.ts +3 -12
- package/corpus/templates/design/actions/open-visual-edit.ts +341 -0
- package/corpus/templates/design/actions/view-screen.ts +1 -1
- package/corpus/templates/design/app/components/design/CanvasContextMenu.tsx +1 -1
- package/corpus/templates/design/app/components/design/DesignCanvas.tsx +345 -14
- package/corpus/templates/design/app/components/design/DesignEditorSkeleton.tsx +71 -91
- package/corpus/templates/design/app/components/design/DesignExtensionsPanel.tsx +25 -27
- package/corpus/templates/design/app/components/design/DeviceFrame.tsx +1 -1
- package/corpus/templates/design/app/components/design/DrawOverlay.tsx +2 -2
- package/corpus/templates/design/app/components/design/EditPanel.tsx +1111 -570
- package/corpus/templates/design/app/components/design/LayersPanel.tsx +162 -32
- package/corpus/templates/design/app/components/design/MotionDock.tsx +268 -240
- package/corpus/templates/design/app/components/design/MultiScreenCanvas.tsx +1038 -150
- package/corpus/templates/design/app/components/design/QuestionFlow.tsx +1 -1
- package/corpus/templates/design/app/components/design/ReviewPanel.tsx +81 -102
- package/corpus/templates/design/app/components/design/StatesPanel.tsx +6 -6
- package/corpus/templates/design/app/components/design/TokensPanel.tsx +11 -11
- package/corpus/templates/design/app/components/design/TweaksPanel.tsx +9 -7
- package/corpus/templates/design/app/components/design/bridge/editor-chrome.bridge.ts +1129 -155
- package/corpus/templates/design/app/components/design/bridge/hit-test.bridge.ts +130 -37
- package/corpus/templates/design/app/components/design/canvas-primitive-style.ts +24 -11
- package/corpus/templates/design/app/components/design/inspector/AutoLayoutMatrix.tsx +184 -162
- package/corpus/templates/design/app/components/design/inspector/ConstraintsWidget.tsx +137 -79
- package/corpus/templates/design/app/components/design/inspector/DesignColorPicker.tsx +13 -13
- package/corpus/templates/design/app/components/design/inspector/ExportSettingsPanel.tsx +8 -8
- package/corpus/templates/design/app/components/design/inspector/GradientEditor.tsx +2 -2
- package/corpus/templates/design/app/components/design/inspector/ImageFillControls.tsx +4 -4
- package/corpus/templates/design/app/components/design/inspector/InspectorAiActions.tsx +3 -3
- package/corpus/templates/design/app/components/design/inspector/ScrubInput.tsx +13 -7
- package/corpus/templates/design/app/components/design/inspector/ShaderControls.tsx +14 -11
- package/corpus/templates/design/app/components/design/inspector/ShaderFillsPanel.tsx +4 -4
- package/corpus/templates/design/app/components/design/inspector/index.ts +2 -0
- package/corpus/templates/design/app/components/design/types.ts +19 -0
- package/corpus/templates/design/app/components/editor/PromptDialog.tsx +61 -78
- package/corpus/templates/design/app/components/layout/Header.tsx +0 -1
- package/corpus/templates/design/app/components/layout/Layout.tsx +3 -2
- package/corpus/templates/design/app/components/layout/Sidebar.tsx +0 -2
- package/corpus/templates/design/app/components/visual-editor/CanvasCommentPins.tsx +5 -4
- package/corpus/templates/design/app/components/visual-editor/DrawOverlay.tsx +1 -1
- package/corpus/templates/design/app/components/visual-editor/SaveStatusIndicator.tsx +2 -2
- package/corpus/templates/design/app/global.css +56 -0
- package/corpus/templates/design/app/hooks/use-agent-generating.ts +4 -5
- package/corpus/templates/design/app/hooks/use-navigation-state.ts +6 -7
- package/corpus/templates/design/app/hooks/use-question-flow.ts +3 -2
- package/corpus/templates/design/app/hooks/useAgentEditRequest.ts +6 -4
- package/corpus/templates/design/app/i18n/zh-TW.ts +5 -14
- package/corpus/templates/design/app/i18n-data.ts +63 -188
- package/corpus/templates/design/app/lib/agent-chat.ts +13 -0
- package/corpus/templates/design/app/pages/DesignEditor.tsx +1428 -384
- package/corpus/templates/design/app/pages/DesignSystemSetup.tsx +9 -5
- package/corpus/templates/design/app/pages/DesignSystems.tsx +2 -2
- package/corpus/templates/design/app/pages/Index.tsx +49 -26
- package/corpus/templates/design/app/pages/NotFound.tsx +25 -8
- package/corpus/templates/design/app/pages/VisualEdit.tsx +17 -5
- package/corpus/templates/design/app/routes/examples.tsx +1 -7
- package/corpus/templates/design/app/routes/templates.tsx +7 -4
- package/corpus/templates/design/changelog/2026-06-30-board-shapes-and-auto-layout-controls-are-clearer.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-component-selections-now-use-purple-component-chrome-and-sho.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-constraints-now-stay-tucked-into-a-compact-inspector-preview.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-creating-a-component-now-opens-in-a-compact-inspector-popove.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-design-cards-no-longer-show-legacy-project-type-badges.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-design-chat-now-keeps-new-turns-in-the-visible-design-agent-.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-design-editor-panels-now-keep-their-compact-text-sizing-cons.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-design-no-longer-shows-the-connected-local-code-warning-bann.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-design-now-opens-to-the-files-panel-unless-a-generation-is-a.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-design-opens-with-a-cleaner-empty-canvas-and-loading-preview.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-design-tools-use-simpler-less-decorative-icons.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-dragging-absolute-elements-no-longer-shows-coordinate-labels.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-fixed-all-screens-opening-too-zoomed-in-by-default.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-fixed-the-public-design-assets-sidebar-so-native-components-.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-fixed-the-screen-overview-board-so-empty-board-space-no-long.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-full-view-screens-can-now-scroll-while-remaining-editable.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-inspector-element-headers-show-the-selected-html-tag-and-the.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-inspector-inputs-stay-compact-across-desktop-breakpoints.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-layers-can-be-multi-selected-from-the-canvas-and-edited-toge.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-local-visual-edit-links-can-edit-localhost-frames-without-si.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-localhost-visual-edit-frames-can-now-be-selected-and-edited.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-marquee-selection-now-works-inside-screens-multi-selected-la.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-motion-is-now-available-from-the-persistent-left-rail-and-th.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-motion-timeline-collapse-and-reopen-animations-feel-smoother.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-multi-select-outlines-now-stay-consistent-across-all-screens.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-new-board-shapes-now-start-with-neutral-gray-styling.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-new-designs-open-into-a-steadier-loading-state-before-the-ed.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-new-designs-show-a-loading-state-during-handoff-and-keep-edi.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-public-visual-edit-design-links-now-open-directly-instead-of.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-removed-the-confusing-states-section-from-the-design-editor-.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-removed-the-templates-gallery-from-design-navigation.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-share-stays-visible-as-soon-as-editable-designs-load.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-signed-out-save-and-share-controls-use-simpler-labels-and-op.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-text-added-on-the-canvas-now-focuses-cleanly-with-the-right-.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-the-design-editor-loading-skeleton-is-simpler-and-its-bottom.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-the-design-editor-loading-skeleton-now-follows-the-current-t.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-the-design-inspector-no-longer-shows-child-layout-controls-o.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-the-design-inspector-no-longer-shows-the-ask-ai-section-abov.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-the-design-review-panel-no-longer-shows-a-separate-inline-au.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-the-empty-designs-page-now-focuses-on-a-single-primary-new-d.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-the-layers-panel-header-stays-as-layers-while-multiple-items.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-the-missing-design-screen-now-uses-a-neutral-back-button.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-the-motion-timeline-now-closes-without-squeezing-the-canvas-.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-the-new-design-connect-ai-setup-now-lines-up-with-the-compos.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-the-screen-overview-board-now-blends-into-the-canvas-and-new.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-top-level-canvas-drops-now-show-screen-guides.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-top-level-canvas-layers-now-keep-a-transparent-backdrop-and-.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-top-level-canvas-layers-now-select-reliably-from-all-screens.md +6 -0
- package/corpus/templates/design/changelog/2026-06-30-visual-edit-can-open-and-refresh-localhost-screens-in-one-au.md +6 -0
- package/corpus/templates/design/e2e/helpers.ts +15 -4
- package/corpus/templates/design/server/db/index.ts +52 -0
- package/corpus/templates/design/server/plugins/agent-chat.ts +5 -0
- package/corpus/templates/design/server/plugins/auth.ts +1 -0
- package/corpus/templates/design/server/plugins/core-routes.ts +4 -0
- package/corpus/templates/design/shared/board-file.ts +380 -5
- package/corpus/templates/design/shared/board-objects.ts +2 -2
- package/corpus/templates/design/shared/code-layer.ts +50 -6
- package/corpus/templates/design/shared/motion-compiler.ts +27 -0
- package/corpus/templates/macros/app/components/DailyProgress.tsx +41 -37
- package/corpus/templates/macros/app/components/ExerciseCard.tsx +2 -2
- package/corpus/templates/macros/app/components/MealCard.tsx +2 -2
- package/corpus/templates/macros/app/components/VoiceDictation.tsx +1 -1
- package/corpus/templates/macros/app/components/WeeklyCaloriesChart.tsx +1 -1
- package/corpus/templates/macros/app/components/WeightCard.tsx +2 -2
- package/corpus/templates/macros/app/components/WeightTracker.tsx +1 -1
- package/corpus/templates/macros/app/components/layout/AppLayout.tsx +1 -1
- package/corpus/templates/macros/app/routes/_index.tsx +5 -5
- package/corpus/templates/macros/app/routes/analytics.tsx +1 -1
- package/corpus/templates/macros/changelog/2026-06-30-dashboard-loading-and-chart-surfaces-now-use-theme-aware-col.md +6 -0
- package/corpus/templates/mail/app/components/email/ComposeBubbleToolbar.tsx +14 -11
- package/corpus/templates/mail/app/global.css +3 -2
- package/corpus/templates/mail/changelog/2026-06-30-compose-floating-toolbars-now-use-theme-aware-colors-in-ligh.md +6 -0
- package/corpus/templates/plan/app/pages/PlansPage.tsx +2 -2
- package/corpus/templates/slides/app/components/deck/DeckCard.tsx +3 -3
- package/corpus/templates/slides/app/global.css +10 -0
- package/corpus/templates/slides/app/pages/Index.tsx +55 -51
- package/corpus/templates/slides/changelog/2026-06-30-deck-thumbnails-collapse-cleanly-to-one-column-when-the-chat.md +6 -0
- package/dist/agent/engine/anthropic-engine.d.ts +2 -2
- package/dist/agent/engine/anthropic-engine.d.ts.map +1 -1
- package/dist/agent/engine/builder-engine.d.ts +2 -2
- package/dist/agent/engine/builder-engine.d.ts.map +1 -1
- package/dist/agent/engine/builtin.js +1 -1
- package/dist/agent/engine/builtin.js.map +1 -1
- package/dist/agent/engine/output-tokens.js +1 -1
- package/dist/agent/engine/output-tokens.js.map +1 -1
- package/dist/agent/harness/acp-adapter.d.ts +4 -1
- package/dist/agent/harness/acp-adapter.d.ts.map +1 -1
- package/dist/agent/harness/acp-adapter.js +19 -2
- package/dist/agent/harness/acp-adapter.js.map +1 -1
- package/dist/agent/harness/ai-sdk-adapter.d.ts.map +1 -1
- package/dist/agent/harness/ai-sdk-adapter.js +3 -0
- package/dist/agent/harness/ai-sdk-adapter.js.map +1 -1
- package/dist/agent/harness/translate.d.ts.map +1 -1
- package/dist/agent/harness/translate.js +3 -0
- package/dist/agent/harness/translate.js.map +1 -1
- package/dist/agent/harness/types.d.ts +1 -0
- package/dist/agent/harness/types.d.ts.map +1 -1
- package/dist/agent/harness/types.js.map +1 -1
- package/dist/agent/model-config.d.ts +21 -20
- package/dist/agent/model-config.d.ts.map +1 -1
- package/dist/agent/model-config.js +31 -13
- package/dist/agent/model-config.js.map +1 -1
- package/dist/agent/production-agent.d.ts.map +1 -1
- package/dist/agent/production-agent.js +85 -10
- package/dist/agent/production-agent.js.map +1 -1
- package/dist/agent/thread-data-builder.d.ts.map +1 -1
- package/dist/agent/thread-data-builder.js +27 -6
- package/dist/agent/thread-data-builder.js.map +1 -1
- package/dist/agent/tool-call-journal.d.ts +11 -9
- package/dist/agent/tool-call-journal.d.ts.map +1 -1
- package/dist/agent/tool-call-journal.js +92 -40
- package/dist/agent/tool-call-journal.js.map +1 -1
- package/dist/agent/types.d.ts +5 -1
- package/dist/agent/types.d.ts.map +1 -1
- package/dist/agent/types.js.map +1 -1
- package/dist/cli/design-connect.d.ts.map +1 -1
- package/dist/cli/design-connect.js +84 -0
- package/dist/cli/design-connect.js.map +1 -1
- package/dist/cli/gateway-helpers.d.ts +4 -0
- package/dist/cli/gateway-helpers.d.ts.map +1 -1
- package/dist/cli/gateway-helpers.js +9 -0
- package/dist/cli/gateway-helpers.js.map +1 -1
- package/dist/cli/recap.d.ts.map +1 -1
- package/dist/cli/recap.js +0 -2
- package/dist/cli/recap.js.map +1 -1
- package/dist/cli/skills.d.ts.map +1 -1
- package/dist/cli/skills.js +54 -16
- package/dist/cli/skills.js.map +1 -1
- package/dist/cli/workspace-dev.d.ts.map +1 -1
- package/dist/cli/workspace-dev.js +33 -6
- package/dist/cli/workspace-dev.js.map +1 -1
- package/dist/client/AssistantChat.d.ts.map +1 -1
- package/dist/client/AssistantChat.js +72 -26
- package/dist/client/AssistantChat.js.map +1 -1
- package/dist/client/DefaultSpinner.d.ts.map +1 -1
- package/dist/client/DefaultSpinner.js +8 -1
- package/dist/client/DefaultSpinner.js.map +1 -1
- package/dist/client/chat/message-components.d.ts +7 -1
- package/dist/client/chat/message-components.d.ts.map +1 -1
- package/dist/client/chat/message-components.js +37 -1
- package/dist/client/chat/message-components.js.map +1 -1
- package/dist/client/chat/repo-helpers.d.ts +1 -0
- package/dist/client/chat/repo-helpers.d.ts.map +1 -1
- package/dist/client/chat/repo-helpers.js +59 -0
- package/dist/client/chat/repo-helpers.js.map +1 -1
- package/dist/client/chat/run-recovery.d.ts.map +1 -1
- package/dist/client/chat/run-recovery.js +4 -4
- package/dist/client/chat/run-recovery.js.map +1 -1
- package/dist/client/components/ApiKeySettings.js +8 -8
- package/dist/client/components/ApiKeySettings.js.map +1 -1
- package/dist/client/components/CodeRequiredDialog.d.ts.map +1 -1
- package/dist/client/components/CodeRequiredDialog.js +24 -15
- package/dist/client/components/CodeRequiredDialog.js.map +1 -1
- package/dist/client/components/MissingKeyCard.d.ts.map +1 -1
- package/dist/client/components/MissingKeyCard.js +11 -6
- package/dist/client/components/MissingKeyCard.js.map +1 -1
- package/dist/client/composer/TiptapComposer.d.ts.map +1 -1
- package/dist/client/composer/TiptapComposer.js +4 -3
- package/dist/client/composer/TiptapComposer.js.map +1 -1
- package/dist/client/extensions/ExtensionsSidebarSection.d.ts.map +1 -1
- package/dist/client/extensions/ExtensionsSidebarSection.js +1 -1
- package/dist/client/extensions/ExtensionsSidebarSection.js.map +1 -1
- package/dist/client/guided-questions.d.ts.map +1 -1
- package/dist/client/guided-questions.js +6 -6
- package/dist/client/guided-questions.js.map +1 -1
- package/dist/client/integrations/IntegrationCard.js +1 -1
- package/dist/client/integrations/IntegrationCard.js.map +1 -1
- package/dist/client/integrations/IntegrationsPanel.js +1 -1
- package/dist/client/integrations/IntegrationsPanel.js.map +1 -1
- package/dist/client/onboarding/OnboardingBanner.js +2 -2
- package/dist/client/onboarding/OnboardingBanner.js.map +1 -1
- package/dist/client/onboarding/OnboardingPanel.js +23 -19
- package/dist/client/onboarding/OnboardingPanel.js.map +1 -1
- package/dist/client/resources/ResourceEditor.d.ts.map +1 -1
- package/dist/client/resources/ResourceEditor.js +13 -10
- package/dist/client/resources/ResourceEditor.js.map +1 -1
- package/dist/client/resources/ResourcesPanel.d.ts.map +1 -1
- package/dist/client/resources/ResourcesPanel.js +2 -1
- package/dist/client/resources/ResourcesPanel.js.map +1 -1
- package/dist/client/settings/SettingsPanel.d.ts.map +1 -1
- package/dist/client/settings/SettingsPanel.js +8 -3
- package/dist/client/settings/SettingsPanel.js.map +1 -1
- package/dist/client/settings/useBuilderStatus.d.ts.map +1 -1
- package/dist/client/settings/useBuilderStatus.js +6 -38
- package/dist/client/settings/useBuilderStatus.js.map +1 -1
- package/dist/client/useProductionAgent.d.ts +2 -1
- package/dist/client/useProductionAgent.d.ts.map +1 -1
- package/dist/client/useProductionAgent.js.map +1 -1
- package/dist/collab/awareness.d.ts +2 -2
- package/dist/collab/awareness.d.ts.map +1 -1
- package/dist/collab/routes.d.ts +1 -1
- package/dist/deploy/build.js +1 -1
- package/dist/deploy/build.js.map +1 -1
- package/dist/eval/define-eval.d.ts.map +1 -1
- package/dist/eval/define-eval.js +2 -1
- package/dist/eval/define-eval.js.map +1 -1
- package/dist/eval/report.d.ts.map +1 -1
- package/dist/eval/report.js +19 -4
- package/dist/eval/report.js.map +1 -1
- package/dist/eval/runner.d.ts.map +1 -1
- package/dist/eval/runner.js +38 -6
- package/dist/eval/runner.js.map +1 -1
- package/dist/eval/types.d.ts +11 -0
- package/dist/eval/types.d.ts.map +1 -1
- package/dist/eval/types.js.map +1 -1
- package/dist/file-upload/actions/upload-image.d.ts +2 -2
- package/dist/notifications/routes.d.ts +3 -3
- package/dist/observability/routes.d.ts +5 -5
- package/dist/observability/traces.d.ts.map +1 -1
- package/dist/observability/traces.js.map +1 -1
- package/dist/onboarding/default-steps.js +1 -1
- package/dist/onboarding/default-steps.js.map +1 -1
- package/dist/progress/routes.d.ts +1 -1
- package/dist/resources/handlers.d.ts +1 -1
- package/dist/scripts/agent-engines/manage-agent-engine.js +1 -1
- package/dist/scripts/agent-engines/manage-agent-engine.js.map +1 -1
- package/dist/scripts/agent-engines/set-agent-engine.js +1 -1
- package/dist/scripts/agent-engines/set-agent-engine.js.map +1 -1
- package/dist/server/agent-chat-plugin.d.ts +3 -0
- package/dist/server/agent-chat-plugin.d.ts.map +1 -1
- package/dist/server/agent-chat-plugin.js +134 -72
- package/dist/server/agent-chat-plugin.js.map +1 -1
- package/dist/server/core-routes-plugin.d.ts +3 -0
- package/dist/server/core-routes-plugin.d.ts.map +1 -1
- package/dist/server/core-routes-plugin.js +4 -1
- package/dist/server/core-routes-plugin.js.map +1 -1
- package/dist/server/open-route.d.ts +9 -0
- package/dist/server/open-route.d.ts.map +1 -1
- package/dist/server/open-route.js +48 -38
- package/dist/server/open-route.js.map +1 -1
- package/dist/shared/reasoning-effort.js +3 -0
- package/dist/shared/reasoning-effort.js.map +1 -1
- package/dist/sharing/access.d.ts.map +1 -1
- package/dist/sharing/access.js +18 -2
- package/dist/sharing/access.js.map +1 -1
- package/dist/sharing/registry.d.ts +10 -0
- package/dist/sharing/registry.d.ts.map +1 -1
- package/dist/sharing/registry.js.map +1 -1
- package/dist/styles/agent-native.css +104 -20
- package/dist/styles/rich-markdown-editor.css +11 -10
- package/docs/content/cloneable-saas.mdx +2 -2
- package/docs/content/evals.mdx +34 -12
- package/docs/content/faq.mdx +1 -1
- package/docs/content/locales/ar-SA/cloneable-saas.mdx +2 -2
- package/docs/content/locales/ar-SA/evals.mdx +7 -0
- package/docs/content/locales/ar-SA/faq.mdx +1 -1
- package/docs/content/locales/ar-SA/template-chat.mdx +1 -1
- package/docs/content/locales/de-DE/cloneable-saas.mdx +2 -2
- package/docs/content/locales/de-DE/evals.mdx +8 -0
- package/docs/content/locales/de-DE/faq.mdx +1 -1
- package/docs/content/locales/de-DE/template-chat.mdx +1 -1
- package/docs/content/locales/es-ES/cloneable-saas.mdx +2 -2
- package/docs/content/locales/es-ES/evals.mdx +8 -0
- package/docs/content/locales/es-ES/faq.mdx +1 -1
- package/docs/content/locales/es-ES/template-chat.mdx +1 -1
- package/docs/content/locales/fr-FR/cloneable-saas.mdx +2 -2
- package/docs/content/locales/fr-FR/evals.mdx +8 -0
- package/docs/content/locales/fr-FR/faq.mdx +1 -1
- package/docs/content/locales/fr-FR/template-chat.mdx +1 -1
- package/docs/content/locales/hi-IN/cloneable-saas.mdx +2 -2
- package/docs/content/locales/hi-IN/evals.mdx +8 -0
- package/docs/content/locales/hi-IN/faq.mdx +1 -1
- package/docs/content/locales/hi-IN/template-chat.mdx +1 -1
- package/docs/content/locales/ja-JP/cloneable-saas.mdx +2 -2
- package/docs/content/locales/ja-JP/evals.mdx +7 -0
- package/docs/content/locales/ja-JP/faq.mdx +1 -1
- package/docs/content/locales/ja-JP/template-chat.mdx +1 -1
- package/docs/content/locales/ko-KR/cloneable-saas.mdx +2 -2
- package/docs/content/locales/ko-KR/evals.mdx +7 -0
- package/docs/content/locales/ko-KR/faq.mdx +1 -1
- package/docs/content/locales/ko-KR/template-chat.mdx +1 -1
- package/docs/content/locales/pt-BR/cloneable-saas.mdx +2 -2
- package/docs/content/locales/pt-BR/evals.mdx +8 -0
- package/docs/content/locales/pt-BR/faq.mdx +1 -1
- package/docs/content/locales/pt-BR/template-chat.mdx +1 -1
- package/docs/content/locales/zh-CN/cloneable-saas.mdx +2 -2
- package/docs/content/locales/zh-CN/evals.mdx +7 -0
- package/docs/content/locales/zh-CN/faq.mdx +1 -1
- package/docs/content/locales/zh-CN/template-chat.mdx +1 -1
- package/docs/content/locales/zh-TW/cloneable-saas.mdx +2 -2
- package/docs/content/locales/zh-TW/evals.mdx +7 -0
- package/docs/content/locales/zh-TW/faq.mdx +1 -1
- package/docs/content/locales/zh-TW/template-chat.mdx +1 -1
- package/docs/content/template-chat.mdx +1 -1
- package/package.json +1 -1
- package/corpus/templates/content/server/routes/api/notion/disconnect.post.ts +0 -12
- package/corpus/templates/design/app/components/design/LocalSourceEditBanner.tsx +0 -157
- package/corpus/templates/design/app/lib/design-templates.ts +0 -1305
- package/corpus/templates/design/app/pages/Templates.tsx +0 -279
|
@@ -167,17 +167,6 @@
|
|
|
167
167
|
container: agent-native-main / inline-size;
|
|
168
168
|
}
|
|
169
169
|
|
|
170
|
-
.agent-layout-main-surface::before,
|
|
171
|
-
.agent-sidebar-main-surface::before {
|
|
172
|
-
content: "";
|
|
173
|
-
position: absolute;
|
|
174
|
-
inset: 0;
|
|
175
|
-
z-index: 20;
|
|
176
|
-
pointer-events: none;
|
|
177
|
-
border-radius: inherit;
|
|
178
|
-
box-shadow: var(--agent-native-raised-outline);
|
|
179
|
-
}
|
|
180
|
-
|
|
181
170
|
.agent-layout-shell
|
|
182
171
|
:where(.agent-layout-main-surface, .agent-sidebar-main-surface)
|
|
183
172
|
> :first-child
|
|
@@ -537,6 +526,57 @@
|
|
|
537
526
|
}
|
|
538
527
|
}
|
|
539
528
|
|
|
529
|
+
/* Guided questions size themselves from the rendered container, not viewport
|
|
530
|
+
breakpoints, so they stay readable in narrow chat sidebars. */
|
|
531
|
+
.guided-question-flow {
|
|
532
|
+
container-type: inline-size;
|
|
533
|
+
container-name: guided-question-flow;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
.guided-question-flow-options {
|
|
537
|
+
grid-template-columns: minmax(0, 1fr);
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
@container guided-question-flow (min-width: 42rem) {
|
|
541
|
+
.guided-question-flow-inner {
|
|
542
|
+
padding: 2rem;
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
.guided-question-flow-header {
|
|
546
|
+
margin-bottom: 1.5rem;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
.guided-question-flow-title {
|
|
550
|
+
font-size: 1.5rem;
|
|
551
|
+
line-height: 2rem;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
.guided-question-flow-options {
|
|
555
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
.guided-question-flow-footer {
|
|
559
|
+
margin-top: 1.25rem;
|
|
560
|
+
padding-top: 1rem;
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
@container guided-question-flow (max-width: 24rem) {
|
|
565
|
+
.guided-question-flow-description {
|
|
566
|
+
font-size: 0.8125rem;
|
|
567
|
+
line-height: 1.25rem;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
.guided-question-flow-footer {
|
|
571
|
+
align-items: stretch;
|
|
572
|
+
flex-direction: column;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
.guided-question-flow-footer > :last-child {
|
|
576
|
+
justify-content: flex-end;
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
|
|
540
580
|
/* Connect AI card: use the card width, not the viewport, so narrow embedded
|
|
541
581
|
sidebars stack the copy and actions before the secondary button clips. */
|
|
542
582
|
.agent-builder-setup-card {
|
|
@@ -548,6 +588,32 @@
|
|
|
548
588
|
container-name: agent-builder-setup;
|
|
549
589
|
}
|
|
550
590
|
|
|
591
|
+
.agent-builder-setup-card--sidebar .agent-builder-setup-card__actions {
|
|
592
|
+
gap: 0.25rem;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
.agent-builder-setup-card--sidebar .agent-builder-setup-card__builder-button {
|
|
596
|
+
justify-content: center;
|
|
597
|
+
min-height: 2rem;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
.agent-builder-setup-card--sidebar .agent-builder-setup-card__key-button {
|
|
601
|
+
align-self: center;
|
|
602
|
+
justify-content: center;
|
|
603
|
+
width: auto;
|
|
604
|
+
min-height: 1.5rem;
|
|
605
|
+
height: 1.5rem;
|
|
606
|
+
border: 0;
|
|
607
|
+
background: transparent;
|
|
608
|
+
color: hsl(var(--muted-foreground));
|
|
609
|
+
padding-inline: 0.25rem;
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
.agent-builder-setup-card--sidebar .agent-builder-setup-card__key-button:hover {
|
|
613
|
+
background: transparent;
|
|
614
|
+
color: hsl(var(--foreground));
|
|
615
|
+
}
|
|
616
|
+
|
|
551
617
|
@container agent-builder-setup (max-width: 560px) {
|
|
552
618
|
.agent-builder-setup-card__content {
|
|
553
619
|
align-items: stretch;
|
|
@@ -564,23 +630,19 @@
|
|
|
564
630
|
|
|
565
631
|
.agent-builder-setup-card__builder-cta {
|
|
566
632
|
align-items: stretch;
|
|
567
|
-
flex:
|
|
633
|
+
flex: 0 1 auto;
|
|
568
634
|
}
|
|
569
635
|
|
|
570
|
-
.agent-builder-setup-card__builder-button
|
|
571
|
-
.agent-builder-setup-card__key-button {
|
|
636
|
+
.agent-builder-setup-card__builder-button {
|
|
572
637
|
justify-content: center;
|
|
573
638
|
min-width: 0;
|
|
574
639
|
width: 100%;
|
|
575
640
|
}
|
|
576
641
|
|
|
577
642
|
.agent-builder-setup-card__key-button {
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
flex: 1 1 8rem;
|
|
582
|
-
height: 2rem;
|
|
583
|
-
padding-inline: 0.75rem;
|
|
643
|
+
flex: 0 0 auto;
|
|
644
|
+
min-width: 0;
|
|
645
|
+
width: auto;
|
|
584
646
|
}
|
|
585
647
|
}
|
|
586
648
|
|
|
@@ -629,6 +691,28 @@
|
|
|
629
691
|
overflow: visible;
|
|
630
692
|
}
|
|
631
693
|
|
|
694
|
+
[data-agent-empty-state="compact-setup"] > .agent-chat-scroll {
|
|
695
|
+
flex: 0 0 auto;
|
|
696
|
+
overflow: visible;
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
[data-agent-empty-state="compact-setup"] .agent-empty-state {
|
|
700
|
+
height: auto;
|
|
701
|
+
min-height: 5rem;
|
|
702
|
+
gap: 0.5rem;
|
|
703
|
+
padding-block: 0.875rem;
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
[data-agent-empty-state="compact-setup"] .agent-empty-state > div:first-child {
|
|
707
|
+
width: 2rem;
|
|
708
|
+
height: 2rem;
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
[data-agent-empty-state="compact-setup"] .agent-empty-state svg {
|
|
712
|
+
width: 1rem;
|
|
713
|
+
height: 1rem;
|
|
714
|
+
}
|
|
715
|
+
|
|
632
716
|
.agent-thinking-indicator {
|
|
633
717
|
display: inline-flex;
|
|
634
718
|
align-items: center;
|
|
@@ -333,11 +333,12 @@
|
|
|
333
333
|
display: flex;
|
|
334
334
|
align-items: center;
|
|
335
335
|
border-radius: 6px;
|
|
336
|
-
background: hsl(
|
|
336
|
+
background: hsl(var(--popover));
|
|
337
|
+
color: hsl(var(--popover-foreground));
|
|
337
338
|
padding: 3px;
|
|
338
339
|
box-shadow:
|
|
339
340
|
0 4px 16px rgb(0 0 0 / 0.25),
|
|
340
|
-
0 0 0 1px
|
|
341
|
+
0 0 0 1px hsl(var(--border));
|
|
341
342
|
}
|
|
342
343
|
|
|
343
344
|
.an-rich-md-bubble-items,
|
|
@@ -351,7 +352,7 @@
|
|
|
351
352
|
padding: 3px 6px;
|
|
352
353
|
border-radius: 4px;
|
|
353
354
|
font-size: 12px;
|
|
354
|
-
color:
|
|
355
|
+
color: hsl(var(--popover-foreground) / 0.76);
|
|
355
356
|
background: none;
|
|
356
357
|
border: none;
|
|
357
358
|
cursor: pointer;
|
|
@@ -359,20 +360,20 @@
|
|
|
359
360
|
}
|
|
360
361
|
|
|
361
362
|
.an-rich-md-bubble-button:hover {
|
|
362
|
-
background:
|
|
363
|
-
color:
|
|
363
|
+
background: hsl(var(--accent));
|
|
364
|
+
color: hsl(var(--accent-foreground));
|
|
364
365
|
}
|
|
365
366
|
|
|
366
367
|
.an-rich-md-bubble-button--active {
|
|
367
|
-
background:
|
|
368
|
-
color:
|
|
368
|
+
background: hsl(var(--accent));
|
|
369
|
+
color: hsl(var(--accent-foreground));
|
|
369
370
|
}
|
|
370
371
|
|
|
371
372
|
.an-rich-md-bubble-divider {
|
|
372
373
|
width: 1px;
|
|
373
374
|
height: 16px;
|
|
374
375
|
margin: 0 2px;
|
|
375
|
-
background:
|
|
376
|
+
background: hsl(var(--border));
|
|
376
377
|
}
|
|
377
378
|
|
|
378
379
|
.an-rich-md-link-editor {
|
|
@@ -384,7 +385,7 @@
|
|
|
384
385
|
border: none;
|
|
385
386
|
outline: none;
|
|
386
387
|
background: transparent;
|
|
387
|
-
color:
|
|
388
|
+
color: hsl(var(--popover-foreground));
|
|
388
389
|
font-size: 12px;
|
|
389
390
|
padding: 2px 4px;
|
|
390
391
|
}
|
|
@@ -392,7 +393,7 @@
|
|
|
392
393
|
.an-rich-md-link-editor button {
|
|
393
394
|
border: none;
|
|
394
395
|
background: none;
|
|
395
|
-
color:
|
|
396
|
+
color: hsl(var(--primary));
|
|
396
397
|
cursor: pointer;
|
|
397
398
|
font-size: 11px;
|
|
398
399
|
font-weight: 500;
|
|
@@ -30,9 +30,9 @@ Each one is a real app you could use today, and the launching pad for your own v
|
|
|
30
30
|
| [**Plan**](/docs/template-plan) | Visual plans and PR recaps with diagrams, wireframes, and annotations. |
|
|
31
31
|
| [**Dispatch**](/docs/template-dispatch) | The workspace control plane: shared secrets, reusable integrations, Slack/Telegram, scheduled jobs. |
|
|
32
32
|
|
|
33
|
-
Don't want a domain
|
|
33
|
+
Don't want a domain app? Use [Chat](/docs/template-chat) when you want a basic app users can talk to immediately, or start with an action in [Pure-Agent Apps](/docs/pure-agent-apps).
|
|
34
34
|
|
|
35
|
-
See the full catalog under [
|
|
35
|
+
See the full catalog under [Apps](/apps), or jump straight to one — for example, [Dispatch](/docs/template-dispatch) is a great place to start if you want a workspace-style app.
|
|
36
36
|
|
|
37
37
|
## What you get out of the box {#what-you-get}
|
|
38
38
|
|
package/docs/content/evals.mdx
CHANGED
|
@@ -90,13 +90,14 @@ export default defineEval({
|
|
|
90
90
|
|
|
91
91
|
An eval passes only when **every** scorer meets the threshold. Key `defineEval` fields:
|
|
92
92
|
|
|
93
|
-
| Field
|
|
94
|
-
|
|
|
95
|
-
| `name`
|
|
96
|
-
| `input`
|
|
97
|
-
| `scorers`
|
|
98
|
-
| `threshold`
|
|
99
|
-
| `run`
|
|
93
|
+
| Field | Type | Notes |
|
|
94
|
+
| ------------ | --------------------- | --------------------------------------------------------------------------------------------------------------- |
|
|
95
|
+
| `name` | string | Required. Shown in the report. |
|
|
96
|
+
| `input` | `{ prompt, history }` | Required `prompt`; optional prior `{ role, text }` turns. |
|
|
97
|
+
| `scorers` | `Scorer[]` | Required, at least one, unless `skipReason` is set. |
|
|
98
|
+
| `threshold` | number `0..1` | Per-scorer pass bar. Default `0.5`; overridable from the CLI. |
|
|
99
|
+
| `run` | function | Optional override for custom setup (seed data, multi-turn). |
|
|
100
|
+
| `skipReason` | string | Optional reason to skip this eval without running the agent; useful for manual/nightly gates that need secrets. |
|
|
100
101
|
|
|
101
102
|
The agent run handed to scorers is small and transport-agnostic:
|
|
102
103
|
|
|
@@ -225,11 +226,32 @@ The command discovers `**/*.eval.ts` and `evals/*.ts` under the current app, run
|
|
|
225
226
|
|
|
226
227
|
Exit codes:
|
|
227
228
|
|
|
228
|
-
| Code | Meaning
|
|
229
|
-
| ---- |
|
|
230
|
-
| `0` | All evals passed
|
|
231
|
-
| `1` | At least one eval scored below threshold, or the suite errored.
|
|
232
|
-
| `2` | Bad arguments (e.g. `--threshold` outside `[0, 1]`).
|
|
229
|
+
| Code | Meaning |
|
|
230
|
+
| ---- | -------------------------------------------------------------------------------- |
|
|
231
|
+
| `0` | All evals passed, evals were skipped, or no eval files were found (CI-friendly). |
|
|
232
|
+
| `1` | At least one eval scored below threshold, or the suite errored. |
|
|
233
|
+
| `2` | Bad arguments (e.g. `--threshold` outside `[0, 1]`). |
|
|
234
|
+
|
|
235
|
+
### Skipping gated evals {#skipping}
|
|
236
|
+
|
|
237
|
+
Use `skipReason` when an eval suite is intentionally gated behind manual,
|
|
238
|
+
nightly, or secret-backed execution:
|
|
239
|
+
|
|
240
|
+
```ts
|
|
241
|
+
export default defineEval({
|
|
242
|
+
name: "provider-backed source sync",
|
|
243
|
+
input: { prompt: "Refresh the source and summarize the changes." },
|
|
244
|
+
skipReason: process.env.SOURCE_SYNC_EVALS
|
|
245
|
+
? undefined
|
|
246
|
+
: "Skipped because SOURCE_SYNC_EVALS is unset",
|
|
247
|
+
scorers: process.env.SOURCE_SYNC_EVALS ? [contains("updated")] : [],
|
|
248
|
+
});
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
Skipped evals do not run the agent or scorers, do not fail the suite, and are
|
|
252
|
+
reported distinctly with `status: "skipped"` and `skipReason` in JSON output.
|
|
253
|
+
Use this for expensive or credential-dependent evals; keep cheap deterministic
|
|
254
|
+
coverage in normal PR CI.
|
|
233
255
|
|
|
234
256
|
### As a CI deploy gate {#ci}
|
|
235
257
|
|
package/docs/content/faq.mdx
CHANGED
|
@@ -116,7 +116,7 @@ No. You don't train models, fine-tune, or deal with embeddings. You build a regu
|
|
|
116
116
|
|
|
117
117
|
### Can I migrate an existing app to agent-native? {#can-i-use-existing-code}
|
|
118
118
|
|
|
119
|
-
You can, but agent-native works best when built from the ground up. The architecture — shared database, polling sync, actions, application state — needs to be integrated throughout. Starting from
|
|
119
|
+
You can, but agent-native works best when built from the ground up. The architecture — shared database, polling sync, actions, application state — needs to be integrated throughout. Starting from an app and customizing it is the recommended path. Think of it like the shift from desktop-first to mobile-first: you _can_ retrofit, but building native is better.
|
|
120
120
|
|
|
121
121
|
## Templates and what you can build {#templates}
|
|
122
122
|
|
|
@@ -30,9 +30,9 @@ description: "ابتكر منتج SaaS فعالاً واجعله ملكك - بم
|
|
|
30
30
|
| [**Plan**](/docs/template-plan) | الخطط المرئية وملخصات العلاقات العامة مع المخططات والإطارات السلكية والتعليقات التوضيحية. |
|
|
31
31
|
| [**Dispatch**](/docs/template-dispatch) | مستوى التحكم في مساحة العمل: الأسرار المشتركة، عمليات التكامل القابلة لإعادة الاستخدام، Slack/Telegram، المهام المجدولة. |
|
|
32
32
|
|
|
33
|
-
ألا تريد
|
|
33
|
+
ألا تريد تطبيق مجال؟ استخدم [Chat](/docs/template-chat) عندما تريد تطبيقًا أساسيًا يمكن للمستخدمين التحدث إليه على الفور، أو ابدأ بإجراء في [Pure-Agent Apps](/docs/pure-agent-apps).
|
|
34
34
|
|
|
35
|
-
اطلع على الكتالوج الكامل ضمن [
|
|
35
|
+
اطلع على الكتالوج الكامل ضمن [Apps](/apps)، أو انتقل مباشرة إلى أحد الكتالوجات - على سبيل المثال، [Dispatch](/docs/template-dispatch) هو مكان رائع للبدء إذا كنت تريد تطبيقًا على طراز مساحة العمل.
|
|
36
36
|
|
|
37
37
|
## ما الذي تحصل عليه خارج الصندوق {#what-you-get}
|
|
38
38
|
|
|
@@ -231,6 +231,13 @@ agent-native eval --threshold 0.8 # override every eval's pass threshold (0..
|
|
|
231
231
|
| `1` | تم تسجيل تقييم واحد على الأقل أقل من الحد الأدنى، أو حدث خطأ في المجموعة. |
|
|
232
232
|
| `2` | وسيطات غير صالحة (على سبيل المثال، `--threshold` خارج `[0, 1]`). |
|
|
233
233
|
|
|
234
|
+
### تخطي التقييمات المحكومة {#skipping}
|
|
235
|
+
|
|
236
|
+
استخدم `skipReason` عندما تكون مجموعة التقييمات مخصصة عمدا للتشغيل اليدوي أو
|
|
237
|
+
الليلي أو المعتمد على الأسرار. لا تشغل التقييمات المتخطاة الوكيل أو أدوات
|
|
238
|
+
التسجيل، ولا تفشل المجموعة، وتظهر في JSON مع `status: "skipped"` و
|
|
239
|
+
`skipReason`. أبق التغطية الحتمية الرخيصة في CI العادي لطلبات السحب.
|
|
240
|
+
|
|
234
241
|
### كبوابة نشر CI {#ci}
|
|
235
242
|
|
|
236
243
|
قم بإضافته إلى المسار الذي يتم تشغيله قبل النشر:
|
|
@@ -116,7 +116,7 @@ Anthropic Claude وOpenAI (عائلة GPT-5) وGoogle Gemini وأي مزود ي
|
|
|
116
116
|
|
|
117
117
|
### هل يمكنني ترحيل تطبيق موجود إلى الوكيل الأصلي؟ {#can-i-use-existing-code}
|
|
118
118
|
|
|
119
|
-
يمكنك ذلك، ولكن الوكيل الأصلي يعمل بشكل أفضل عند إنشائه من الألف إلى الياء. يجب أن تكون البنية - قاعدة البيانات المشتركة، ومزامنة الاستقصاء، وactions، وحالة التطبيق - متكاملة طوال الوقت. البدء من
|
|
119
|
+
يمكنك ذلك، ولكن الوكيل الأصلي يعمل بشكل أفضل عند إنشائه من الألف إلى الياء. يجب أن تكون البنية - قاعدة البيانات المشتركة، ومزامنة الاستقصاء، وactions، وحالة التطبيق - متكاملة طوال الوقت. البدء من تطبيق وتخصيصه هو المسار الموصى به. فكر في الأمر مثل التحول من سطح المكتب أولاً إلى الهاتف المحمول أولاً: يمكنك التعديل التحديثي، ولكن إنشاء المحتوى الأصلي هو الأفضل.
|
|
120
120
|
|
|
121
121
|
## النماذج وما يمكنك إنشاؤه {#templates}
|
|
122
122
|
|
|
@@ -13,7 +13,7 @@ description: "تطبيق بسيط للوكيل الأصلي للدردشة أو
|
|
|
13
13
|
<Screen
|
|
14
14
|
surface="desktop"
|
|
15
15
|
html={
|
|
16
|
-
"<div style='min-height:560px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;padding:56px 40px'><div style='display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;width:min(700px,92%);min-height:430px'><div style='height:34px'></div><div style='text-align:center'><h1 style='margin:0'>كيف يمكنني المساعدة؟</h1><p class='wf-muted' style='margin:10px 0 0'>دردش حول أي شيء. أضف إجراءات أو مكونات أو صفحات أو مهام أو خلفيتك الخاصة.</p></div><div class='wf-card' style='width:100%;min-height:150px;display:flex;flex-direction:column;gap:18px'><span class='wf-muted'>راسل الوكيل...</span><div style='flex:1'></div><div style='display:flex;align-items:center;gap:10px'><span data-icon='plus' aria-label='Attach'></span><div style='flex:1'></div><span class='wf-pill'>Sonnet
|
|
16
|
+
"<div style='min-height:560px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;padding:56px 40px'><div style='display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;width:min(700px,92%);min-height:430px'><div style='height:34px'></div><div style='text-align:center'><h1 style='margin:0'>كيف يمكنني المساعدة؟</h1><p class='wf-muted' style='margin:10px 0 0'>دردش حول أي شيء. أضف إجراءات أو مكونات أو صفحات أو مهام أو خلفيتك الخاصة.</p></div><div class='wf-card' style='width:100%;min-height:150px;display:flex;flex-direction:column;gap:18px'><span class='wf-muted'>راسل الوكيل...</span><div style='flex:1'></div><div style='display:flex;align-items:center;gap:10px'><span data-icon='plus' aria-label='Attach'></span><div style='flex:1'></div><span class='wf-pill'>Sonnet 5 · تلقائي</span><span class='wf-pill'>Act</span><button class='primary'>↑</button></div></div><div style='height:34px'></div></div></div>"
|
|
17
17
|
}
|
|
18
18
|
/>
|
|
19
19
|
</WireframeBlock>
|
|
@@ -30,9 +30,9 @@ Jede davon ist eine echte App, die Sie heute verwenden können, und die Startram
|
|
|
30
30
|
| [**Plan**](/docs/template-plan) | Visuelle Pläne und PR-Zusammenfassungen mit Diagrammen, Wireframes und Anmerkungen. |
|
|
31
31
|
| [**Dispatch**](/docs/template-dispatch) | Die Workspace-Steuerungsebene: gemeinsame Geheimnisse, wiederverwendbare Integrationen, Slack/Telegram, geplante Jobs. |
|
|
32
32
|
|
|
33
|
-
Sie möchten keine Domain-
|
|
33
|
+
Sie möchten keine Domain-App? Verwenden Sie [Chat](/docs/template-chat), wenn Sie eine einfache App wünschen, mit der Benutzer sofort sprechen können, oder beginnen Sie mit einer Aktion in [Pure-Agent Apps](/docs/pure-agent-apps).
|
|
34
34
|
|
|
35
|
-
Sehen Sie sich den vollständigen Katalog unter [
|
|
35
|
+
Sehen Sie sich den vollständigen Katalog unter [Apps](/apps) an oder springen Sie direkt zu einem – [Dispatch](/docs/template-dispatch) ist beispielsweise ein großartiger Ausgangspunkt, wenn Sie eine App im Workspace-Stil wünschen.
|
|
36
36
|
|
|
37
37
|
## Was Sie im Lieferumfang enthalten {#what-you-get}
|
|
38
38
|
|
|
@@ -231,6 +231,14 @@ Exit-Codes:
|
|
|
231
231
|
| `1` | Mindestens eine Bewertung lag unter dem Schwellenwert oder die Suite ist fehlerhaft. |
|
|
232
232
|
| `2` | Ungültige Argumente (z. B. `--threshold` außerhalb von `[0, 1]`). |
|
|
233
233
|
|
|
234
|
+
### Gated Evals überspringen {#skipping}
|
|
235
|
+
|
|
236
|
+
Verwenden Sie `skipReason`, wenn eine Eval-Suite absichtlich nur manuell,
|
|
237
|
+
nachts oder mit Secrets ausgeführt werden soll. Übersprungene Evals führen
|
|
238
|
+
weder Agent noch Scorer aus, lassen die Suite nicht fehlschlagen und erscheinen
|
|
239
|
+
in der JSON-Ausgabe mit `status: "skipped"` und `skipReason`. Günstige
|
|
240
|
+
deterministische Abdeckung bleibt im normalen PR-CI.
|
|
241
|
+
|
|
234
242
|
### Als CI-Deploy-Gate {#ci}
|
|
235
243
|
|
|
236
244
|
Fügen Sie es der Pipeline hinzu, die vor einer Bereitstellung ausgeführt wird:
|
|
@@ -116,7 +116,7 @@ Nein. Sie trainieren keine Modelle, nehmen keine Feinabstimmung vor und befassen
|
|
|
116
116
|
|
|
117
117
|
### Kann ich eine vorhandene App auf Agent-nativ migrieren? {#can-i-use-existing-code}
|
|
118
118
|
|
|
119
|
-
Das ist möglich, aber Agent-nativ funktioniert am besten, wenn es von Grund auf neu entwickelt wird. Die Architektur – gemeinsam genutzte Datenbank, Polling-Synchronisierung, actions, Anwendungsstatus – muss durchgehend integriert sein. Der empfohlene Weg besteht darin, von einer
|
|
119
|
+
Das ist möglich, aber Agent-nativ funktioniert am besten, wenn es von Grund auf neu entwickelt wird. Die Architektur – gemeinsam genutzte Datenbank, Polling-Synchronisierung, actions, Anwendungsstatus – muss durchgehend integriert sein. Der empfohlene Weg besteht darin, von einer App auszugehen und diese anzupassen. Stellen Sie sich das wie den Wechsel von Desktop-First zu Mobile-First vor: Sie _können_ nachrüsten, aber nativ zu bauen ist besser.
|
|
120
120
|
|
|
121
121
|
## Vorlagen und was Sie erstellen können {#templates}
|
|
122
122
|
|
|
@@ -13,7 +13,7 @@ Wenn Sie die kleinste reine Aktionslaufzeit ohne Browser UI wünschen, beginnen
|
|
|
13
13
|
<Screen
|
|
14
14
|
surface="desktop"
|
|
15
15
|
html={
|
|
16
|
-
"<div style='min-height:560px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;padding:56px 40px'><div style='display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;width:min(700px,92%);min-height:430px'><div style='height:34px'></div><div style='text-align:center'><h1 style='margin:0'>Wie kann ich helfen?</h1><p class='wf-muted' style='margin:10px 0 0'>Chatte über alles. Füge Actions, Komponenten, Seiten, Jobs oder dein eigenes Backend hinzu.</p></div><div class='wf-card' style='width:100%;min-height:150px;display:flex;flex-direction:column;gap:18px'><span class='wf-muted'>Nachricht an den Agenten...</span><div style='flex:1'></div><div style='display:flex;align-items:center;gap:10px'><span data-icon='plus' aria-label='Attach'></span><div style='flex:1'></div><span class='wf-pill'>Sonnet
|
|
16
|
+
"<div style='min-height:560px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;padding:56px 40px'><div style='display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;width:min(700px,92%);min-height:430px'><div style='height:34px'></div><div style='text-align:center'><h1 style='margin:0'>Wie kann ich helfen?</h1><p class='wf-muted' style='margin:10px 0 0'>Chatte über alles. Füge Actions, Komponenten, Seiten, Jobs oder dein eigenes Backend hinzu.</p></div><div class='wf-card' style='width:100%;min-height:150px;display:flex;flex-direction:column;gap:18px'><span class='wf-muted'>Nachricht an den Agenten...</span><div style='flex:1'></div><div style='display:flex;align-items:center;gap:10px'><span data-icon='plus' aria-label='Attach'></span><div style='flex:1'></div><span class='wf-pill'>Sonnet 5 · Standard</span><span class='wf-pill'>Act</span><button class='primary'>↑</button></div></div><div style='height:34px'></div></div></div>"
|
|
17
17
|
}
|
|
18
18
|
/>
|
|
19
19
|
</WireframeBlock>
|
|
@@ -30,9 +30,9 @@ Cada una es una aplicación real que puedes usar hoy y la plataforma de lanzamie
|
|
|
30
30
|
| [**Plan**](/docs/template-plan) | Planos visuales y resúmenes de relaciones públicas con diagramas, esquemas y anotaciones. |
|
|
31
31
|
| [**Dispatch**](/docs/template-dispatch) | El plano de control del espacio de trabajo: secretos compartidos, integraciones reutilizables, Slack/Telegram, trabajos programados. |
|
|
32
32
|
|
|
33
|
-
¿No quieres una
|
|
33
|
+
¿No quieres una aplicación de dominio? Utilice [Chat](/docs/template-chat) cuando desee una aplicación básica con la que los usuarios puedan hablar inmediatamente, o comience con una acción en [Pure-Agent Apps](/docs/pure-agent-apps).
|
|
34
34
|
|
|
35
|
-
Vea el catálogo completo en [
|
|
35
|
+
Vea el catálogo completo en [Apps](/apps) o vaya directamente a uno; por ejemplo, [Dispatch](/docs/template-dispatch) es un excelente lugar para comenzar si desea una aplicación estilo espacio de trabajo.
|
|
36
36
|
|
|
37
37
|
## Lo que obtienes de la caja {#what-you-get}
|
|
38
38
|
|
|
@@ -231,6 +231,14 @@ Códigos de salida:
|
|
|
231
231
|
| `1` | Al menos una evaluación obtuvo una puntuación inferior al umbral o la suite tuvo un error. |
|
|
232
232
|
| `2` | Malos argumentos (por ejemplo, `--threshold` fuera de `[0, 1]`). |
|
|
233
233
|
|
|
234
|
+
### Omitir evaluaciones gated {#skipping}
|
|
235
|
+
|
|
236
|
+
Use `skipReason` cuando una suite de evaluaciones esté reservada
|
|
237
|
+
intencionalmente para ejecución manual, nocturna o con secretos. Las
|
|
238
|
+
evaluaciones omitidas no ejecutan el agente ni los scorers, no hacen fallar la
|
|
239
|
+
suite y aparecen en JSON con `status: "skipped"` y `skipReason`. Mantenga la
|
|
240
|
+
cobertura determinista barata en el CI normal de PR.
|
|
241
|
+
|
|
234
242
|
### Como puerta de implementación de CI {#ci}
|
|
235
243
|
|
|
236
244
|
Agréguelo al proceso que se ejecuta antes de una implementación:
|
|
@@ -116,7 +116,7 @@ No. No se entrenan modelos, no se ajustan ni se ocupan de incrustaciones. Creas
|
|
|
116
116
|
|
|
117
117
|
### ¿Puedo migrar una aplicación existente a agente nativo? {#can-i-use-existing-code}
|
|
118
118
|
|
|
119
|
-
Puedes, pero el agente nativo funciona mejor cuando se construye desde cero. La arquitectura (base de datos compartida, sincronización de sondeos, actions, estado de la aplicación) debe estar integrada en todo momento. Partir de una
|
|
119
|
+
Puedes, pero el agente nativo funciona mejor cuando se construye desde cero. La arquitectura (base de datos compartida, sincronización de sondeos, actions, estado de la aplicación) debe estar integrada en todo momento. Partir de una app y personalizarla es el camino recomendado. Piense en ello como el cambio de una computadora de escritorio primero a una computadora móvil primero: _puede_ modernizarse, pero crear contenido nativo es mejor.
|
|
120
120
|
|
|
121
121
|
## Plantillas y lo que puedes crear {#templates}
|
|
122
122
|
|
|
@@ -13,7 +13,7 @@ Si desea el tiempo de ejecución más pequeño de solo acciones sin navegador UI
|
|
|
13
13
|
<Screen
|
|
14
14
|
surface="desktop"
|
|
15
15
|
html={
|
|
16
|
-
"<div style='min-height:560px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;padding:56px 40px'><div style='display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;width:min(700px,92%);min-height:430px'><div style='height:34px'></div><div style='text-align:center'><h1 style='margin:0'>¿Cómo puedo ayudar?</h1><p class='wf-muted' style='margin:10px 0 0'>Habla de cualquier cosa. Añade acciones, componentes, páginas, jobs o tu propio backend.</p></div><div class='wf-card' style='width:100%;min-height:150px;display:flex;flex-direction:column;gap:18px'><span class='wf-muted'>Escribe al agente...</span><div style='flex:1'></div><div style='display:flex;align-items:center;gap:10px'><span data-icon='plus' aria-label='Attach'></span><div style='flex:1'></div><span class='wf-pill'>Sonnet
|
|
16
|
+
"<div style='min-height:560px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;padding:56px 40px'><div style='display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;width:min(700px,92%);min-height:430px'><div style='height:34px'></div><div style='text-align:center'><h1 style='margin:0'>¿Cómo puedo ayudar?</h1><p class='wf-muted' style='margin:10px 0 0'>Habla de cualquier cosa. Añade acciones, componentes, páginas, jobs o tu propio backend.</p></div><div class='wf-card' style='width:100%;min-height:150px;display:flex;flex-direction:column;gap:18px'><span class='wf-muted'>Escribe al agente...</span><div style='flex:1'></div><div style='display:flex;align-items:center;gap:10px'><span data-icon='plus' aria-label='Attach'></span><div style='flex:1'></div><span class='wf-pill'>Sonnet 5 · Predeterminado</span><span class='wf-pill'>Act</span><button class='primary'>↑</button></div></div><div style='height:34px'></div></div></div>"
|
|
17
17
|
}
|
|
18
18
|
/>
|
|
19
19
|
</WireframeBlock>
|
|
@@ -30,9 +30,9 @@ Chacune est une véritable application que vous pouvez utiliser aujourd'hui, et
|
|
|
30
30
|
| [**Plan**](/docs/template-plan) | Plans visuels et récapitulatifs des relations publiques avec diagrammes, wireframes et annotations. |
|
|
31
31
|
| [**Dispatch**](/docs/template-dispatch) | Le plan de contrôle de l'espace de travail : secrets partagés, intégrations réutilisables, Slack/Telegram, tâches planifiées. |
|
|
32
32
|
|
|
33
|
-
Vous ne voulez pas
|
|
33
|
+
Vous ne voulez pas d'application de domaine ? Utilisez [Chat](/docs/template-chat) lorsque vous souhaitez une application de base avec laquelle les utilisateurs peuvent parler immédiatement, ou commencez par une action dans [Pure-Agent Apps](/docs/pure-agent-apps).
|
|
34
34
|
|
|
35
|
-
Consultez le catalogue complet sous [
|
|
35
|
+
Consultez le catalogue complet sous [Apps](/apps) ou passez directement à l'un d'entre eux. Par exemple, [Dispatch](/docs/template-dispatch) est un excellent point de départ si vous souhaitez une application de style espace de travail.
|
|
36
36
|
|
|
37
37
|
## Ce que vous obtenez hors de la boîte {#what-you-get}
|
|
38
38
|
|
|
@@ -231,6 +231,14 @@ Codes de sortie :
|
|
|
231
231
|
| `1` | Au moins une évaluation a obtenu un score inférieur au seuil, ou la suite a commis une erreur. |
|
|
232
232
|
| `2` | Mauvais arguments (par exemple `--threshold` en dehors de `[0, 1]`). |
|
|
233
233
|
|
|
234
|
+
### Ignorer les évaluations gated {#skipping}
|
|
235
|
+
|
|
236
|
+
Utilisez `skipReason` lorsqu'une suite d'évaluations est volontairement réservée
|
|
237
|
+
à une exécution manuelle, nocturne ou dépendante de secrets. Les évaluations
|
|
238
|
+
ignorées n'exécutent ni l'agent ni les scorers, ne font pas échouer la suite, et
|
|
239
|
+
apparaissent dans la sortie JSON avec `status: "skipped"` et `skipReason`.
|
|
240
|
+
Gardez la couverture déterministe peu coûteuse dans le CI normal des PR.
|
|
241
|
+
|
|
234
242
|
### En tant que porte de déploiement CI {#ci}
|
|
235
243
|
|
|
236
244
|
Ajoutez-le au pipeline qui s'exécute avant un déploiement :
|
|
@@ -116,7 +116,7 @@ Non. Vous ne formez pas de modèles, n'ajustez pas et ne gérez pas les intégra
|
|
|
116
116
|
|
|
117
117
|
### Puis-je migrer une application existante vers une application native pour agent ? {#can-i-use-existing-code}
|
|
118
118
|
|
|
119
|
-
C'est possible, mais l'agent natif fonctionne mieux lorsqu'il est construit à partir de zéro. L'architecture (base de données partagée, synchronisation des interrogations, actions, état de l'application) doit être intégrée partout. Partir d’
|
|
119
|
+
C'est possible, mais l'agent natif fonctionne mieux lorsqu'il est construit à partir de zéro. L'architecture (base de données partagée, synchronisation des interrogations, actions, état de l'application) doit être intégrée partout. Partir d’une app et la personnaliser est le chemin recommandé. Pensez-y comme au passage d'un ordinateur de bureau d'abord à un mobile d'abord : vous _pouvez_ effectuer une mise à niveau, mais construire en natif, c'est mieux.
|
|
120
120
|
|
|
121
121
|
## Modèles et ce que vous pouvez créer {#templates}
|
|
122
122
|
|
|
@@ -13,7 +13,7 @@ Si vous souhaitez le plus petit environnement d'exécution d'action uniquement s
|
|
|
13
13
|
<Screen
|
|
14
14
|
surface="desktop"
|
|
15
15
|
html={
|
|
16
|
-
"<div style='min-height:560px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;padding:56px 40px'><div style='display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;width:min(700px,92%);min-height:430px'><div style='height:34px'></div><div style='text-align:center'><h1 style='margin:0'>Comment puis-je aider ?</h1><p class='wf-muted' style='margin:10px 0 0'>Discutez de tout. Ajoutez actions, composants, pages, jobs ou votre propre backend.</p></div><div class='wf-card' style='width:100%;min-height:150px;display:flex;flex-direction:column;gap:18px'><span class='wf-muted'>Écrire à l’agent...</span><div style='flex:1'></div><div style='display:flex;align-items:center;gap:10px'><span data-icon='plus' aria-label='Attach'></span><div style='flex:1'></div><span class='wf-pill'>Sonnet
|
|
16
|
+
"<div style='min-height:560px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;padding:56px 40px'><div style='display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;width:min(700px,92%);min-height:430px'><div style='height:34px'></div><div style='text-align:center'><h1 style='margin:0'>Comment puis-je aider ?</h1><p class='wf-muted' style='margin:10px 0 0'>Discutez de tout. Ajoutez actions, composants, pages, jobs ou votre propre backend.</p></div><div class='wf-card' style='width:100%;min-height:150px;display:flex;flex-direction:column;gap:18px'><span class='wf-muted'>Écrire à l’agent...</span><div style='flex:1'></div><div style='display:flex;align-items:center;gap:10px'><span data-icon='plus' aria-label='Attach'></span><div style='flex:1'></div><span class='wf-pill'>Sonnet 5 · Par défaut</span><span class='wf-pill'>Act</span><button class='primary'>↑</button></div></div><div style='height:34px'></div></div></div>"
|
|
17
17
|
}
|
|
18
18
|
/>
|
|
19
19
|
</WireframeBlock>
|
|
@@ -30,9 +30,9 @@ description: "एक कार्यशील SaaS उत्पाद को फ
|
|
|
30
30
|
| [**Plan**](/docs/template-plan) | चित्र, वायरफ्रेम और एनोटेशन के साथ विज़ुअल योजनाएं और पीआर पुनर्कथन। |
|
|
31
31
|
| [**Dispatch**](/docs/template-dispatch) | कार्यस्थान नियंत्रण विमान: साझा रहस्य, पुन: प्रयोज्य एकीकरण, Slack/टेलीग्राम, निर्धारित कार्य। |
|
|
32
32
|
|
|
33
|
-
डोमेन
|
|
33
|
+
डोमेन ऐप नहीं चाहिए? जब आप एक बुनियादी ऐप चाहते हैं जिससे उपयोगकर्ता तुरंत बात कर सकें तो [Chat](/docs/template-chat) का उपयोग करें, या [Pure-Agent Apps](/docs/pure-agent-apps) में एक action से शुरू करें।
|
|
34
34
|
|
|
35
|
-
[
|
|
35
|
+
[Apps](/apps) के अंतर्गत पूरा कैटलॉग देखें, या सीधे एक पर जाएं - उदाहरण के लिए, यदि आप वर्कस्पेस-शैली ऐप चाहते हैं तो [Dispatch](/docs/template-dispatch) शुरू करने के लिए एक शानदार जगह है।
|
|
36
36
|
|
|
37
37
|
## आपको बॉक्स से क्या मिलता है {#what-you-get}
|
|
38
38
|
|
|
@@ -229,6 +229,14 @@ agent-native eval --threshold 0.8 # override every eval's pass threshold (0..
|
|
|
229
229
|
| `1` | कम से कम एक ईवल ने सीमा से नीचे स्कोर किया, या सुइट में त्रुटि हुई। |
|
|
230
230
|
| `2` | खराब तर्क (उदाहरण के लिए `[0, 1]` के बाहर `--threshold`)। |
|
|
231
231
|
|
|
232
|
+
### gated evals छोड़ना {#skipping}
|
|
233
|
+
|
|
234
|
+
जब कोई eval suite केवल manual, nightly, या secret-backed execution के लिए हो,
|
|
235
|
+
तो `skipReason` का उपयोग करें। छोड़े गए evals agent या scorers नहीं चलाते,
|
|
236
|
+
suite को fail नहीं करते, और JSON output में `status: "skipped"` और
|
|
237
|
+
`skipReason` के साथ दिखते हैं। सस्ती deterministic coverage को सामान्य PR CI
|
|
238
|
+
में रखें।
|
|
239
|
+
|
|
232
240
|
### सीआई परिनियोजन गेट के रूप में {#ci}
|
|
233
241
|
|
|
234
242
|
इसे उस पाइपलाइन में जोड़ें जो परिनियोजन से पहले चलती है:
|
|
@@ -114,7 +114,7 @@ description: "एजेंट-नेटिव के बारे में स
|
|
|
114
114
|
|
|
115
115
|
### क्या मैं किसी मौजूदा ऐप को एजेंट-नेटिव में स्थानांतरित कर सकता हूं? {#can-i-use-existing-code}
|
|
116
116
|
|
|
117
|
-
आप कर सकते हैं, लेकिन एजेंट-नेटिव सबसे अच्छा तब काम करता है जब उसे ज़मीन से ऊपर बनाया जाता है। आर्किटेक्चर - साझा डेटाबेस, पोलिंग सिंक, actions, एप्लिकेशन स्थिति - को संपूर्ण रूप से एकीकृत करने की आवश्यकता है। एक
|
|
117
|
+
आप कर सकते हैं, लेकिन एजेंट-नेटिव सबसे अच्छा तब काम करता है जब उसे ज़मीन से ऊपर बनाया जाता है। आर्किटेक्चर - साझा डेटाबेस, पोलिंग सिंक, actions, एप्लिकेशन स्थिति - को संपूर्ण रूप से एकीकृत करने की आवश्यकता है। एक ऐप से शुरू करना और उसे अनुकूलित करना अनुशंसित पथ है। इसे डेस्कटॉप-फर्स्ट से मोबाइल-फर्स्ट में बदलाव की तरह समझें: आप रेट्रोफिट कर सकते हैं, लेकिन देशी निर्माण करना बेहतर है।
|
|
118
118
|
|
|
119
119
|
## टेम्प्लेट और आप क्या बना सकते हैं {#templates}
|
|
120
120
|
|
|
@@ -13,7 +13,7 @@ description: "एक न्यूनतम चैट-फर्स्ट एज
|
|
|
13
13
|
<Screen
|
|
14
14
|
surface="desktop"
|
|
15
15
|
html={
|
|
16
|
-
"<div style='min-height:560px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;padding:56px 40px'><div style='display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;width:min(700px,92%);min-height:430px'><div style='height:34px'></div><div style='text-align:center'><h1 style='margin:0'>मैं कैसे मदद कर सकता हूं?</h1><p class='wf-muted' style='margin:10px 0 0'>किसी भी चीज़ पर चैट करें। actions, components, pages, jobs, या अपना backend जोड़ें।</p></div><div class='wf-card' style='width:100%;min-height:150px;display:flex;flex-direction:column;gap:18px'><span class='wf-muted'>एजेंट को संदेश भेजें...</span><div style='flex:1'></div><div style='display:flex;align-items:center;gap:10px'><span data-icon='plus' aria-label='Attach'></span><div style='flex:1'></div><span class='wf-pill'>Sonnet
|
|
16
|
+
"<div style='min-height:560px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;padding:56px 40px'><div style='display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;width:min(700px,92%);min-height:430px'><div style='height:34px'></div><div style='text-align:center'><h1 style='margin:0'>मैं कैसे मदद कर सकता हूं?</h1><p class='wf-muted' style='margin:10px 0 0'>किसी भी चीज़ पर चैट करें। actions, components, pages, jobs, या अपना backend जोड़ें।</p></div><div class='wf-card' style='width:100%;min-height:150px;display:flex;flex-direction:column;gap:18px'><span class='wf-muted'>एजेंट को संदेश भेजें...</span><div style='flex:1'></div><div style='display:flex;align-items:center;gap:10px'><span data-icon='plus' aria-label='Attach'></span><div style='flex:1'></div><span class='wf-pill'>Sonnet 5 · स्वतः</span><span class='wf-pill'>Act</span><button class='primary'>↑</button></div></div><div style='height:34px'></div></div></div>"
|
|
17
17
|
}
|
|
18
18
|
/>
|
|
19
19
|
</WireframeBlock>
|
|
@@ -30,9 +30,9 @@ description: "動作する SaaS 製品をフォークして、エージェント
|
|
|
30
30
|
| [**Plan**](/docs/template-plan) | 図、ワイヤーフレーム、注釈を使用した視覚的な計画と PR の要約。 |
|
|
31
31
|
| [**Dispatch**](/docs/template-dispatch) | ワークスペース コントロール プレーン: 共有シークレット、再利用可能な統合、Slack/テレグラム、スケジュールされたジョブ。 |
|
|
32
32
|
|
|
33
|
-
ドメイン
|
|
33
|
+
ドメイン アプリが不要ですか?ユーザーがすぐに会話できる基本的なアプリが必要な場合は、[Chat](/docs/template-chat) を使用するか、[Pure-Agent Apps](/docs/pure-agent-apps) でアクションから始めてください。
|
|
34
34
|
|
|
35
|
-
[
|
|
35
|
+
[Apps](/apps) で完全なカタログを参照するか、カタログに直接ジャンプしてください。たとえば、ワークスペース スタイルのアプリが必要な場合は、[Dispatch](/docs/template-dispatch) から始めるのが最適です。
|
|
36
36
|
|
|
37
37
|
## 箱から出してすぐに手に入るもの {#what-you-get}
|
|
38
38
|
|