@agent-native/core 0.79.27 → 0.80.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/corpus/README.md +2 -2
- package/corpus/core/CHANGELOG.md +34 -0
- package/corpus/core/docs/content/locales/ar-SA/skills-guide.mdx +5 -0
- package/corpus/core/docs/content/locales/ar-SA/template-design.mdx +55 -1
- package/corpus/core/docs/content/locales/de-DE/skills-guide.mdx +5 -0
- package/corpus/core/docs/content/locales/de-DE/template-design.mdx +66 -1
- package/corpus/core/docs/content/locales/es-ES/skills-guide.mdx +5 -0
- package/corpus/core/docs/content/locales/es-ES/template-design.mdx +65 -1
- package/corpus/core/docs/content/locales/fr-FR/skills-guide.mdx +5 -0
- package/corpus/core/docs/content/locales/fr-FR/template-design.mdx +64 -1
- package/corpus/core/docs/content/locales/hi-IN/skills-guide.mdx +5 -0
- package/corpus/core/docs/content/locales/hi-IN/template-design.mdx +59 -1
- package/corpus/core/docs/content/locales/ja-JP/skills-guide.mdx +5 -0
- package/corpus/core/docs/content/locales/ja-JP/template-design.mdx +62 -1
- package/corpus/core/docs/content/locales/ko-KR/skills-guide.mdx +5 -0
- package/corpus/core/docs/content/locales/ko-KR/template-design.mdx +58 -1
- package/corpus/core/docs/content/locales/pt-BR/skills-guide.mdx +5 -0
- package/corpus/core/docs/content/locales/pt-BR/template-design.mdx +62 -1
- package/corpus/core/docs/content/locales/zh-CN/skills-guide.mdx +5 -0
- package/corpus/core/docs/content/locales/zh-CN/template-design.mdx +50 -1
- package/corpus/core/docs/content/locales/zh-TW/skills-guide.mdx +5 -0
- package/corpus/core/docs/content/locales/zh-TW/template-design.mdx +52 -1
- package/corpus/core/docs/content/skills-guide.mdx +5 -0
- package/corpus/core/docs/content/template-design.mdx +59 -1
- package/corpus/core/package.json +2 -1
- package/corpus/core/src/agent/engine/index.ts +1 -0
- package/corpus/core/src/agent/engine/registry.ts +40 -0
- package/corpus/core/src/agent/production-agent.ts +6 -2
- package/corpus/core/src/application-state/handlers.ts +1 -1
- package/corpus/core/src/brand-kit/index.ts +1 -1
- package/corpus/core/src/cli/design-connect.ts +490 -0
- package/corpus/core/src/cli/index.ts +16 -0
- package/corpus/core/src/cli/skills.ts +144 -3
- package/corpus/core/src/client/AgentPanel.tsx +1 -1
- package/corpus/core/src/client/AssistantChat.tsx +43 -7
- package/corpus/core/src/client/MultiTabAssistantChat.tsx +1 -1
- package/corpus/core/src/client/agent-chat.ts +27 -3
- package/corpus/core/src/client/blocks/library/MermaidBlock.tsx +1 -1
- package/corpus/core/src/client/blocks/library/diagram.tsx +2 -2
- package/corpus/core/src/client/blocks/library/wireframe.tsx +1 -1
- package/corpus/core/src/client/chat/message-components.tsx +1 -1
- package/corpus/core/src/client/chat-model-groups.ts +1 -2
- package/corpus/core/src/client/components/LiveCursorOverlay.tsx +33 -66
- package/corpus/core/src/client/composer/TiptapComposer.tsx +99 -24
- package/corpus/core/src/client/composer/useVoiceDictation.ts +429 -260
- package/corpus/core/src/client/extensions/portable-extension.ts +1 -1
- package/corpus/core/src/client/frame-protocol.ts +17 -2
- package/corpus/core/src/client/rich-markdown-editor/RegistryBlockNode.tsx +2 -2
- package/corpus/core/src/client/sharing/ShareButton.tsx +20 -15
- package/corpus/core/src/client/use-agent-engine-configured.ts +80 -28
- package/corpus/core/src/code-agents/transcript-normalizer.ts +1 -1
- package/corpus/core/src/extensions/path.ts +1 -4
- package/corpus/core/src/integrations/a2a-continuation-processor.ts +1 -1
- package/corpus/core/src/mcp/build-server.ts +1 -1
- package/corpus/core/src/org/handlers.ts +5 -5
- package/corpus/core/src/org/plugin.ts +2 -2
- package/corpus/core/src/scripts/call-agent.ts +1 -1
- package/corpus/core/src/scripts/db/safety.ts +1 -1
- package/corpus/core/src/server/auth.ts +3 -0
- package/corpus/core/src/server/builder-design-systems.ts +308 -0
- package/corpus/core/src/server/core-routes-plugin.ts +29 -3
- package/corpus/core/src/server/index.ts +8 -0
- package/corpus/core/src/server/transcribe-voice.ts +57 -22
- package/corpus/core/src/shared/mcp-embed-headers.ts +23 -1
- package/corpus/core/src/styles/agent-native.css +60 -4
- package/corpus/core/src/templates/workspace-core/.agents/skills/voice-transcription/SKILL.md +10 -0
- package/corpus/core/src/usage/store.ts +2 -2
- package/corpus/core/src/vite/client.ts +2 -0
- package/corpus/core/src/voice/index.ts +18 -0
- package/corpus/core/src/voice/voice-cleanup-prompt.ts +38 -0
- package/corpus/core/src/voice/voice-context.ts +217 -0
- package/corpus/core/src/voice/voice-replacements.ts +75 -0
- package/corpus/templates/analytics/AGENTS.md +4 -3
- package/corpus/templates/analytics/actions/dashboard-mutation-api.ts +298 -15
- package/corpus/templates/analytics/actions/get-sql-dashboard.ts +9 -4
- package/corpus/templates/analytics/actions/list-session-recordings.ts +6 -1
- package/corpus/templates/analytics/actions/mutate-dashboard.ts +18 -2
- package/corpus/templates/analytics/actions/query-agent-native-analytics.ts +12 -2
- package/corpus/templates/analytics/app/components/layout/Sidebar.tsx +557 -400
- package/corpus/templates/analytics/app/global.css +0 -4
- package/corpus/templates/analytics/app/hooks/use-replay-storage-status.ts +66 -0
- package/corpus/templates/analytics/app/i18n/zh-TW.ts +39 -0
- package/corpus/templates/analytics/app/i18n-data.ts +424 -0
- package/corpus/templates/analytics/app/pages/Settings.tsx +333 -0
- package/corpus/templates/analytics/app/pages/adhoc/sql-dashboard/PanelEditorDialog.tsx +2 -1
- package/corpus/templates/analytics/app/pages/adhoc/sql-dashboard/dashboard-layout.ts +121 -3
- package/corpus/templates/analytics/app/pages/adhoc/sql-dashboard/index.tsx +82 -34
- package/corpus/templates/analytics/app/pages/sessions/SessionDetailPage.tsx +7 -0
- package/corpus/templates/analytics/app/pages/sessions/SessionsPage.tsx +144 -36
- package/corpus/templates/analytics/changelog/2026-06-28-ask-tab-now-matches-the-darker-app-background.md +6 -0
- package/corpus/templates/analytics/changelog/2026-06-28-dashboard-email-reports-now-use-cleaner-light-mode-snapshots.md +6 -0
- package/corpus/templates/analytics/changelog/2026-06-28-left-sidebar-collapses-into-an-animated-icon-rail.md +6 -0
- package/corpus/templates/analytics/changelog/2026-06-28-sessions-now-show-only-signed-in-recordings-with-playable-re.md +6 -0
- package/corpus/templates/analytics/changelog/2026-06-29-analytics-agents-can-now-place-new-charts-into-requested-das.md +6 -0
- package/corpus/templates/analytics/changelog/2026-06-29-analytics-queries-now-report-failed-source-query-errors-inst.md +6 -0
- package/corpus/templates/analytics/changelog/2026-06-29-charts-can-now-be-dropped-between-full-dashboard-rows-to-cre.md +6 -0
- package/corpus/templates/analytics/changelog/2026-06-29-dashboard-email-reports-include-the-full-dashboard-image-wit.md +6 -0
- package/corpus/templates/analytics/changelog/2026-06-29-main-surface-border-reaches-the-top.md +6 -0
- package/corpus/templates/analytics/changelog/2026-06-29-session-replay-now-records-playable-sessions-in-production-a.md +6 -0
- package/corpus/templates/analytics/changelog/2026-06-29-set-up-session-replay-storage-from-settings-connect-builder-.md +6 -0
- package/corpus/templates/analytics/scripts/cleanup-empty-session-recordings.ts +102 -0
- package/corpus/templates/analytics/seeds/dashboards/agent-native-templates-first-party.json +3 -3
- package/corpus/templates/analytics/server/lib/dashboard-report.ts +75 -30
- package/corpus/templates/analytics/server/lib/first-party-metric-catalog.ts +5 -2
- package/corpus/templates/analytics/server/lib/real-data-actions.ts +81 -20
- package/corpus/templates/analytics/server/lib/replay-storage.ts +79 -0
- package/corpus/templates/analytics/server/lib/s3-upload-provider.ts +255 -0
- package/corpus/templates/analytics/server/lib/session-replay.ts +53 -12
- package/corpus/templates/analytics/server/plugins/agent-chat.ts +11 -2
- package/corpus/templates/analytics/server/plugins/onboarding.ts +97 -0
- package/corpus/templates/assets/app/components/layout/Sidebar.tsx +4 -4
- package/corpus/templates/assets/changelog/2026-06-28-left-sidebar-collapse-motion-and-footer-chrome-are-quieter.md +6 -0
- package/corpus/templates/brain/app/components/layout/Layout.tsx +29 -2
- package/corpus/templates/brain/app/components/layout/Sidebar.tsx +131 -42
- package/corpus/templates/brain/app/i18n/zh-TW.ts +2 -0
- package/corpus/templates/brain/app/i18n-data.ts +20 -0
- package/corpus/templates/brain/changelog/2026-06-28-left-sidebar-collapses-into-an-animated-icon-rail.md +6 -0
- package/corpus/templates/calendar/app/components/layout/AppLayout.tsx +29 -1
- package/corpus/templates/calendar/app/components/layout/Sidebar.tsx +417 -299
- package/corpus/templates/calendar/app/i18n/zh-TW.ts +2 -0
- package/corpus/templates/calendar/app/i18n-data.ts +20 -0
- package/corpus/templates/calendar/changelog/2026-06-28-left-sidebar-collapses-into-an-animated-icon-rail.md +6 -0
- package/corpus/templates/chat/app/components/layout/Sidebar.tsx +6 -19
- package/corpus/templates/chat/changelog/2026-06-28-left-sidebar-collapse-motion-and-footer-chrome-are-quieter.md +6 -0
- package/corpus/templates/clips/AGENTS.md +4 -0
- package/corpus/templates/clips/actions/cleanup-transcript.ts +39 -9
- package/corpus/templates/clips/actions/finalize-meeting.ts +81 -12
- package/corpus/templates/clips/actions/lib/agents-md-context.ts +4 -1
- package/corpus/templates/clips/app/components/library/library-layout.tsx +3 -3
- package/corpus/templates/clips/app/components/meetings/share-meeting-dialog.tsx +1 -1
- package/corpus/templates/clips/app/components/player/share-dialog.tsx +2 -2
- package/corpus/templates/clips/changelog/2026-06-28-left-sidebar-footer-controls-use-less-divider-chrome.md +6 -0
- package/corpus/templates/clips/desktop/src/lib/personal-vocabulary.ts +13 -8
- package/corpus/templates/clips/desktop/src/lib/recorder.ts +24 -0
- package/corpus/templates/clips/desktop/src/lib/transcription-capture.ts +105 -5
- package/corpus/templates/clips/desktop/src/lib/voice-dictation.ts +60 -1
- package/corpus/templates/content/actions/set-image-alt-text.ts +1 -1
- package/corpus/templates/content/app/components/editor/DocumentDatabase.tsx +1 -1
- package/corpus/templates/content/app/components/editor/database/DatabaseView.tsx +1 -1
- package/corpus/templates/content/app/components/sidebar/DocumentSidebar.tsx +5 -5
- package/corpus/templates/content/changelog/2026-06-28-left-sidebar-collapse-motion-and-footer-chrome-are-quieter.md +6 -0
- package/corpus/templates/content/shared/document-export.ts +1 -1
- package/corpus/templates/design/.agents/skills/design-systems/SKILL.md +8 -18
- package/corpus/templates/design/.agents/skills/visual-edit/SKILL.md +154 -0
- package/corpus/templates/design/AGENTS.md +95 -5
- package/corpus/templates/design/DESIGN.md +82 -0
- package/corpus/templates/design/DEVELOPING.md +43 -0
- package/corpus/templates/design/actions/add-localhost-screens.ts +453 -0
- package/corpus/templates/design/actions/apply-shader.ts +277 -0
- package/corpus/templates/design/actions/apply-visual-edit.ts +303 -0
- package/corpus/templates/design/actions/connect-localhost.ts +183 -0
- package/corpus/templates/design/actions/edit-design.ts +195 -42
- package/corpus/templates/design/actions/generate-design.ts +71 -1
- package/corpus/templates/design/actions/generate-screens.ts +193 -0
- package/corpus/templates/design/actions/get-code-layer-projection.ts +191 -0
- package/corpus/templates/design/actions/get-shader.ts +119 -0
- package/corpus/templates/design/actions/index-design-system-with-builder.ts +259 -0
- package/corpus/templates/design/actions/list-localhost-connections.ts +95 -0
- package/corpus/templates/design/actions/navigate.ts +55 -2
- package/corpus/templates/design/actions/update-file.ts +9 -2
- package/corpus/templates/design/actions/view-screen.ts +68 -1
- package/corpus/templates/design/agent-native.app-skill.json +10 -0
- package/corpus/templates/design/app/components/design/CanvasContextMenu.tsx +719 -0
- package/corpus/templates/design/app/components/design/DesignCanvas.tsx +2120 -103
- package/corpus/templates/design/app/components/design/DesignEditorSkeleton.tsx +74 -38
- package/corpus/templates/design/app/components/design/DesignExtensionsPanel.tsx +401 -0
- package/corpus/templates/design/app/components/design/EditPanel.tsx +3966 -440
- package/corpus/templates/design/app/components/design/LayersPanel.tsx +1473 -0
- package/corpus/templates/design/app/components/design/MultiScreenCanvas.tsx +3940 -147
- package/corpus/templates/design/app/components/design/QuestionFlow.tsx +700 -13
- package/corpus/templates/design/app/components/design/TweaksPanel.tsx +105 -63
- package/corpus/templates/design/app/components/design/index.ts +0 -5
- package/corpus/templates/design/app/components/design/inspector/AlignmentMatrix.tsx +353 -0
- package/corpus/templates/design/app/components/design/inspector/AutoLayoutMatrix.tsx +1589 -0
- package/corpus/templates/design/app/components/design/inspector/ConstraintsWidget.tsx +511 -0
- package/corpus/templates/design/app/components/design/inspector/ExportSettingsPanel.tsx +395 -0
- package/corpus/templates/design/app/components/design/inspector/FigmaColorPicker.tsx +2010 -0
- package/corpus/templates/design/app/components/design/inspector/GradientEditor.tsx +601 -0
- package/corpus/templates/design/app/components/design/inspector/ImageFillControls.tsx +242 -0
- package/corpus/templates/design/app/components/design/inspector/SHADER_INTEGRATION.md +420 -0
- package/corpus/templates/design/app/components/design/inspector/ScrubInput.tsx +238 -0
- package/corpus/templates/design/app/components/design/inspector/ShaderControls.stories.tsx +71 -0
- package/corpus/templates/design/app/components/design/inspector/ShaderControls.tsx +575 -0
- package/corpus/templates/design/app/components/design/inspector/ShaderEffectRow.tsx +106 -0
- package/corpus/templates/design/app/components/design/inspector/ShaderFillsPanel.tsx +423 -0
- package/corpus/templates/design/app/components/design/inspector/figma-icons.tsx +741 -0
- package/corpus/templates/design/app/components/design/inspector/index.ts +87 -0
- package/corpus/templates/design/app/components/design/inspector/scrub-input-utils.ts +201 -0
- package/corpus/templates/design/app/components/design/types.ts +23 -0
- package/corpus/templates/design/app/components/layout/Layout.tsx +24 -13
- package/corpus/templates/design/app/components/layout/Sidebar.tsx +4 -4
- package/corpus/templates/design/app/components/visual-editor/CanvasCommentPins.tsx +474 -36
- package/corpus/templates/design/app/components/visual-editor/DrawOverlay.tsx +22 -5
- package/corpus/templates/design/app/components/visual-editor/SaveStatusIndicator.tsx +24 -11
- package/corpus/templates/design/app/global.css +149 -5
- package/corpus/templates/design/app/hooks/use-agent-generating.ts +4 -0
- package/corpus/templates/design/app/hooks/use-navigation-state.ts +130 -8
- package/corpus/templates/design/app/hooks/useDesignHotkeys.ts +329 -0
- package/corpus/templates/design/app/i18n/zh-TW.ts +277 -0
- package/corpus/templates/design/app/i18n-data.ts +3028 -1
- package/corpus/templates/design/app/pages/DesignEditor.tsx +5831 -904
- package/corpus/templates/design/app/pages/DesignSystemSetup.tsx +57 -221
- package/corpus/templates/design/changelog/2026-06-28-annotate-mode-now-combines-drawing-and-comment-pins-in-one-c.md +6 -0
- package/corpus/templates/design/changelog/2026-06-28-design-editor-panel-borders-are-cleaner-so-the-canvas-edge-s.md +6 -0
- package/corpus/templates/design/changelog/2026-06-28-drawing-prompts-now-reliably-open-and-submit-to-the-design-a.md +6 -0
- package/corpus/templates/design/changelog/2026-06-28-editor-app-menus-now-use-an-outline-agent-native-mark-with-b.md +6 -0
- package/corpus/templates/design/changelog/2026-06-28-figma-style-code-design-mode.md +6 -0
- package/corpus/templates/design/changelog/2026-06-28-layer-selection-now-updates-chat-context-without-opening-the.md +6 -0
- package/corpus/templates/design/changelog/2026-06-28-layer-selections-now-preserve-hidden-and-locked-canvas-state.md +6 -0
- package/corpus/templates/design/changelog/2026-06-28-left-sidebar-collapse-motion-and-footer-chrome-are-quieter.md +6 -0
- package/corpus/templates/design/changelog/2026-06-28-live-cursors-now-keep-names-beside-a-cleaner-pointer-marker.md +6 -0
- package/corpus/templates/design/changelog/2026-06-28-mode-switching-now-lives-in-a-compact-bottom-right-icon-dock.md +6 -0
- package/corpus/templates/design/changelog/2026-06-28-screen-overview-now-handles-zooming-drawing-opening-and-dele.md +6 -0
- package/corpus/templates/design/changelog/2026-06-28-screen-overview-now-selects-screens-on-click-and-opens-them-.md +6 -0
- package/corpus/templates/design/changelog/2026-06-28-screen-overview-zooms-into-the-active-screen-with-smoother-e.md +6 -0
- package/corpus/templates/design/changelog/2026-06-28-selected-element-chips-in-chat-are-shorter-and-easier-to-sca.md +6 -0
- package/corpus/templates/design/changelog/2026-06-28-the-design-editor-toolbar-is-more-compact-and-the-app-menu-m.md +6 -0
- package/corpus/templates/design/changelog/2026-06-28-tweaks-now-live-at-the-top-of-the-design-sidebar-instead-of-.md +6 -0
- package/corpus/templates/design/changelog/2026-06-28-tweaks-now-live-in-the-right-inspector-beside-the-design-tab.md +6 -0
- package/corpus/templates/design/changelog/2026-06-29-active-sidebar-rows-use-soft-highlights.md +6 -0
- package/corpus/templates/design/changelog/2026-06-29-agents-can-now-open-screen-overview-focus-screens-and-add.md +6 -0
- package/corpus/templates/design/changelog/2026-06-29-canvas-selection-no-longer-flashes-broken-prototype-html-whe.md +6 -0
- package/corpus/templates/design/changelog/2026-06-29-command-menu-selections-are-clearer-in-dark-mode.md +6 -0
- package/corpus/templates/design/changelog/2026-06-29-design-agents-now-edit-broad-copy-changes-more-reliably.md +6 -0
- package/corpus/templates/design/changelog/2026-06-29-design-editor-extensions-now-run-inline-beside-the-artboard.md +6 -0
- package/corpus/templates/design/changelog/2026-06-29-design-mode-top-chrome-now-groups-collaborators-preview-shar.md +6 -0
- package/corpus/templates/design/changelog/2026-06-29-element-selection-now-stays-on-the-intended-layer-after-sele.md +6 -0
- package/corpus/templates/design/changelog/2026-06-29-screen-overview-full-view-controls-now-sit-above-frames-inst.md +6 -0
- package/corpus/templates/design/changelog/2026-06-29-screen-overview-tools-can-draw-shapes-create-screens-and-kee.md +6 -0
- package/corpus/templates/design/changelog/2026-06-29-sidebars-use-darker-chrome-and-chat-warns-immediately.md +6 -0
- package/corpus/templates/design/changelog/2026-06-29-the-pen-tool-now-creates-anchor-based-bezier-vectors-with-ha.md +6 -0
- package/corpus/templates/design/changelog/2026-06-29-visual-edit-can-open-localhost-routes-as-url-backed-screens.md +6 -0
- package/corpus/templates/design/package.json +1 -0
- package/corpus/templates/design/server/db/schema.ts +26 -0
- package/corpus/templates/design/server/handlers/import-figma-system.ts +38 -85
- package/corpus/templates/design/server/lib/design-snapshot.ts +9 -1
- package/corpus/templates/design/server/plugins/agent-chat.ts +3 -0
- package/corpus/templates/design/shared/api.ts +27 -0
- package/corpus/templates/design/shared/canvas-frames.ts +103 -0
- package/corpus/templates/design/shared/canvas-math.ts +1058 -0
- package/corpus/templates/design/shared/code-layer.ts +2412 -0
- package/corpus/templates/design/shared/color-utils.ts +180 -0
- package/corpus/templates/design/shared/generation-session.ts +61 -0
- package/corpus/templates/design/shared/html-content.ts +21 -0
- package/corpus/templates/design/shared/pen-path.ts +207 -0
- package/corpus/templates/design/shared/shader-presets.ts +782 -0
- package/corpus/templates/design/shared/shader-safety.ts +137 -0
- package/corpus/templates/design/shared/source-mode.ts +237 -0
- package/corpus/templates/forms/app/components/layout/Sidebar.tsx +149 -6
- package/corpus/templates/forms/app/i18n/ar-SA.ts +2 -0
- package/corpus/templates/forms/app/i18n/de-DE.ts +2 -0
- package/corpus/templates/forms/app/i18n/en-US.ts +2 -0
- package/corpus/templates/forms/app/i18n/es-ES.ts +2 -0
- package/corpus/templates/forms/app/i18n/fr-FR.ts +2 -0
- package/corpus/templates/forms/app/i18n/hi-IN.ts +2 -0
- package/corpus/templates/forms/app/i18n/ja-JP.ts +2 -0
- package/corpus/templates/forms/app/i18n/ko-KR.ts +2 -0
- package/corpus/templates/forms/app/i18n/pt-BR.ts +2 -0
- package/corpus/templates/forms/app/i18n/zh-CN.ts +2 -0
- package/corpus/templates/forms/app/i18n/zh-TW.ts +2 -0
- package/corpus/templates/forms/changelog/2026-06-28-left-sidebar-collapses-into-an-animated-icon-rail.md +6 -0
- package/corpus/templates/macros/app/components/layout/AppLayout.tsx +2 -2
- package/corpus/templates/macros/changelog/2026-06-28-left-sidebar-footer-controls-use-less-divider-chrome.md +6 -0
- package/corpus/templates/mail/app/components/layout/AppLayout.tsx +408 -247
- package/corpus/templates/mail/app/i18n/ar-SA.ts +4 -0
- package/corpus/templates/mail/app/i18n/de-DE.ts +4 -0
- package/corpus/templates/mail/app/i18n/en-US.ts +4 -0
- package/corpus/templates/mail/app/i18n/es-ES.ts +4 -0
- package/corpus/templates/mail/app/i18n/fr-FR.ts +4 -0
- package/corpus/templates/mail/app/i18n/hi-IN.ts +4 -0
- package/corpus/templates/mail/app/i18n/ja-JP.ts +4 -0
- package/corpus/templates/mail/app/i18n/ko-KR.ts +4 -0
- package/corpus/templates/mail/app/i18n/pt-BR.ts +4 -0
- package/corpus/templates/mail/app/i18n/zh-CN.ts +4 -0
- package/corpus/templates/mail/app/i18n/zh-TW.ts +4 -0
- package/corpus/templates/mail/app/lib/utils.ts +2 -2
- package/corpus/templates/mail/changelog/2026-06-28-pinned-sidebar-collapses-into-an-animated-icon-rail.md +6 -0
- package/corpus/templates/plan/app/components/layout/Sidebar.tsx +6 -8
- package/corpus/templates/plan/app/components/plan/wireframe/Wireframe.tsx +1 -1
- package/corpus/templates/plan/app/global.css +61 -78
- package/corpus/templates/plan/app/pages/PlansPage.tsx +8 -0
- package/corpus/templates/plan/changelog/2026-06-28-left-sidebar-collapse-motion-and-footer-chrome-are-quieter.md +6 -0
- package/corpus/templates/plan/changelog/2026-06-28-plans-use-the-shared-neutral-light-and-dark-theme.md +6 -0
- package/corpus/templates/plan/changelog/2026-06-28-sending-open-feedback-from-a-plan-now-opens-the-inline-plan-.md +6 -0
- package/corpus/templates/slides/.agents/skills/design-systems/SKILL.md +9 -10
- package/corpus/templates/slides/AGENTS.md +3 -2
- package/corpus/templates/slides/actions/import-file.ts +26 -17
- package/corpus/templates/slides/actions/index-design-system-with-builder.ts +259 -0
- package/corpus/templates/slides/app/components/design-system/DesignSystemSetup.tsx +35 -167
- package/corpus/templates/slides/app/components/design-system/fig-import-response.ts +9 -13
- package/corpus/templates/slides/app/components/layout/Sidebar.tsx +5 -5
- package/corpus/templates/slides/app/context/DeckContext.tsx +1 -1
- package/corpus/templates/slides/app/i18n/ar-SA.ts +9 -37
- package/corpus/templates/slides/app/i18n/de-DE.ts +10 -25
- package/corpus/templates/slides/app/i18n/en-US.ts +9 -26
- package/corpus/templates/slides/app/i18n/es-ES.ts +10 -28
- package/corpus/templates/slides/app/i18n/fr-FR.ts +10 -28
- package/corpus/templates/slides/app/i18n/hi-IN.ts +9 -26
- package/corpus/templates/slides/app/i18n/ja-JP.ts +10 -22
- package/corpus/templates/slides/app/i18n/ko-KR.ts +9 -23
- package/corpus/templates/slides/app/i18n/pt-BR.ts +10 -28
- package/corpus/templates/slides/app/i18n/zh-CN.ts +9 -22
- package/corpus/templates/slides/app/i18n/zh-TW.ts +9 -22
- package/corpus/templates/slides/changelog/2026-06-28-left-sidebar-collapse-motion-and-footer-chrome-are-quieter.md +6 -0
- package/corpus/templates/slides/server/handlers/import-figma-system.ts +44 -12
- package/corpus/templates/slides/server/lib/chat-attachments.ts +1 -1
- package/corpus/templates/videos/app/components/NewCompositionPopover.tsx +1 -1
- package/corpus/templates/videos/app/components/Sidebar.tsx +2 -2
- package/corpus/templates/videos/app/components/layout/Layout.tsx +29 -2
- package/corpus/templates/videos/app/components/layout/NavSidebar.tsx +113 -30
- package/corpus/templates/videos/app/i18n/ar-SA.ts +2 -0
- package/corpus/templates/videos/app/i18n/de-DE.ts +2 -0
- package/corpus/templates/videos/app/i18n/en-US.ts +2 -0
- package/corpus/templates/videos/app/i18n/es-ES.ts +2 -0
- package/corpus/templates/videos/app/i18n/fr-FR.ts +2 -0
- package/corpus/templates/videos/app/i18n/hi-IN.ts +2 -0
- package/corpus/templates/videos/app/i18n/ja-JP.ts +2 -0
- package/corpus/templates/videos/app/i18n/ko-KR.ts +2 -0
- package/corpus/templates/videos/app/i18n/pt-BR.ts +2 -0
- package/corpus/templates/videos/app/i18n/zh-CN.ts +2 -0
- package/corpus/templates/videos/app/i18n/zh-TW.ts +2 -0
- package/corpus/templates/videos/changelog/2026-06-28-left-sidebar-collapses-into-an-animated-icon-rail.md +6 -0
- package/dist/agent/engine/index.d.ts +1 -1
- package/dist/agent/engine/index.d.ts.map +1 -1
- package/dist/agent/engine/index.js +1 -1
- package/dist/agent/engine/index.js.map +1 -1
- package/dist/agent/engine/registry.d.ts +9 -0
- package/dist/agent/engine/registry.d.ts.map +1 -1
- package/dist/agent/engine/registry.js +37 -0
- package/dist/agent/engine/registry.js.map +1 -1
- package/dist/agent/production-agent.d.ts.map +1 -1
- package/dist/agent/production-agent.js +4 -3
- package/dist/agent/production-agent.js.map +1 -1
- package/dist/application-state/handlers.js +1 -1
- package/dist/application-state/handlers.js.map +1 -1
- package/dist/brand-kit/index.d.ts +1 -1
- package/dist/brand-kit/index.js +1 -1
- package/dist/brand-kit/index.js.map +1 -1
- package/dist/cli/design-connect.d.ts +52 -0
- package/dist/cli/design-connect.d.ts.map +1 -0
- package/dist/cli/design-connect.js +409 -0
- package/dist/cli/design-connect.js.map +1 -0
- package/dist/cli/index.js +15 -0
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/skills.d.ts +3 -0
- package/dist/cli/skills.d.ts.map +1 -1
- package/dist/cli/skills.js +139 -3
- package/dist/cli/skills.js.map +1 -1
- package/dist/client/AgentPanel.js +1 -1
- package/dist/client/AgentPanel.js.map +1 -1
- package/dist/client/AssistantChat.d.ts.map +1 -1
- package/dist/client/AssistantChat.js +38 -8
- package/dist/client/AssistantChat.js.map +1 -1
- package/dist/client/MultiTabAssistantChat.js +1 -1
- package/dist/client/MultiTabAssistantChat.js.map +1 -1
- package/dist/client/agent-chat.d.ts +6 -0
- package/dist/client/agent-chat.d.ts.map +1 -1
- package/dist/client/agent-chat.js +17 -3
- package/dist/client/agent-chat.js.map +1 -1
- package/dist/client/blocks/library/MermaidBlock.js +1 -1
- package/dist/client/blocks/library/MermaidBlock.js.map +1 -1
- package/dist/client/blocks/library/diagram.js +1 -1
- package/dist/client/blocks/library/diagram.js.map +1 -1
- package/dist/client/blocks/library/wireframe.js +1 -1
- package/dist/client/blocks/library/wireframe.js.map +1 -1
- package/dist/client/chat/message-components.js +1 -1
- package/dist/client/chat/message-components.js.map +1 -1
- package/dist/client/chat-model-groups.d.ts.map +1 -1
- package/dist/client/chat-model-groups.js +1 -2
- package/dist/client/chat-model-groups.js.map +1 -1
- package/dist/client/components/LiveCursorOverlay.d.ts +1 -2
- package/dist/client/components/LiveCursorOverlay.d.ts.map +1 -1
- package/dist/client/components/LiveCursorOverlay.js +19 -40
- package/dist/client/components/LiveCursorOverlay.js.map +1 -1
- package/dist/client/composer/TiptapComposer.d.ts +3 -1
- package/dist/client/composer/TiptapComposer.d.ts.map +1 -1
- package/dist/client/composer/TiptapComposer.js +86 -24
- package/dist/client/composer/TiptapComposer.js.map +1 -1
- package/dist/client/composer/useVoiceDictation.d.ts +9 -0
- package/dist/client/composer/useVoiceDictation.d.ts.map +1 -1
- package/dist/client/composer/useVoiceDictation.js +154 -32
- package/dist/client/composer/useVoiceDictation.js.map +1 -1
- package/dist/client/extensions/portable-extension.d.ts +1 -1
- package/dist/client/extensions/portable-extension.d.ts.map +1 -1
- package/dist/client/extensions/portable-extension.js.map +1 -1
- package/dist/client/frame-protocol.d.ts +17 -2
- package/dist/client/frame-protocol.d.ts.map +1 -1
- package/dist/client/frame-protocol.js.map +1 -1
- package/dist/client/rich-markdown-editor/RegistryBlockNode.js +2 -2
- package/dist/client/rich-markdown-editor/RegistryBlockNode.js.map +1 -1
- package/dist/client/sharing/ShareButton.d.ts +2 -0
- package/dist/client/sharing/ShareButton.d.ts.map +1 -1
- package/dist/client/sharing/ShareButton.js +7 -6
- package/dist/client/sharing/ShareButton.js.map +1 -1
- package/dist/client/use-agent-engine-configured.d.ts +5 -0
- package/dist/client/use-agent-engine-configured.d.ts.map +1 -1
- package/dist/client/use-agent-engine-configured.js +51 -25
- package/dist/client/use-agent-engine-configured.js.map +1 -1
- package/dist/code-agents/transcript-normalizer.js +1 -1
- package/dist/code-agents/transcript-normalizer.js.map +1 -1
- package/dist/collab/routes.d.ts +1 -1
- package/dist/extensions/path.d.ts +1 -1
- package/dist/extensions/path.d.ts.map +1 -1
- package/dist/extensions/path.js.map +1 -1
- package/dist/file-upload/actions/upload-image.d.ts +2 -2
- package/dist/integrations/a2a-continuation-processor.js +1 -1
- package/dist/integrations/a2a-continuation-processor.js.map +1 -1
- package/dist/mcp/build-server.d.ts +1 -1
- package/dist/mcp/build-server.d.ts.map +1 -1
- package/dist/mcp/build-server.js.map +1 -1
- package/dist/notifications/routes.d.ts +3 -3
- package/dist/observability/routes.d.ts +5 -5
- package/dist/org/handlers.js +5 -5
- package/dist/org/handlers.js.map +1 -1
- package/dist/org/plugin.js +2 -2
- package/dist/org/plugin.js.map +1 -1
- package/dist/scripts/call-agent.js +1 -1
- package/dist/scripts/call-agent.js.map +1 -1
- package/dist/scripts/db/safety.js +1 -1
- package/dist/scripts/db/safety.js.map +1 -1
- package/dist/server/agent-engine-api-key-route.d.ts +1 -1
- package/dist/server/auth.d.ts.map +1 -1
- package/dist/server/auth.js +3 -0
- package/dist/server/auth.js.map +1 -1
- package/dist/server/builder-design-systems.d.ts +28 -0
- package/dist/server/builder-design-systems.d.ts.map +1 -0
- package/dist/server/builder-design-systems.js +217 -0
- package/dist/server/builder-design-systems.js.map +1 -0
- package/dist/server/core-routes-plugin.d.ts +1 -0
- package/dist/server/core-routes-plugin.d.ts.map +1 -1
- package/dist/server/core-routes-plugin.js +20 -3
- package/dist/server/core-routes-plugin.js.map +1 -1
- package/dist/server/index.d.ts +1 -0
- package/dist/server/index.d.ts.map +1 -1
- package/dist/server/index.js +1 -0
- package/dist/server/index.js.map +1 -1
- package/dist/server/transcribe-voice.d.ts +1 -1
- package/dist/server/transcribe-voice.d.ts.map +1 -1
- package/dist/server/transcribe-voice.js +40 -24
- package/dist/server/transcribe-voice.js.map +1 -1
- package/dist/shared/mcp-embed-headers.d.ts +1 -0
- package/dist/shared/mcp-embed-headers.d.ts.map +1 -1
- package/dist/shared/mcp-embed-headers.js +20 -1
- package/dist/shared/mcp-embed-headers.js.map +1 -1
- package/dist/styles/agent-native.css +60 -4
- package/dist/templates/workspace-core/.agents/skills/voice-transcription/SKILL.md +10 -0
- package/dist/usage/store.js +2 -2
- package/dist/usage/store.js.map +1 -1
- package/dist/vite/client.d.ts.map +1 -1
- package/dist/vite/client.js +2 -0
- package/dist/vite/client.js.map +1 -1
- package/dist/voice/index.d.ts +5 -0
- package/dist/voice/index.d.ts.map +1 -0
- package/dist/voice/index.js +4 -0
- package/dist/voice/index.js.map +1 -0
- package/dist/voice/voice-cleanup-prompt.d.ts +6 -0
- package/dist/voice/voice-cleanup-prompt.d.ts.map +1 -0
- package/dist/voice/voice-cleanup-prompt.js +26 -0
- package/dist/voice/voice-cleanup-prompt.js.map +1 -0
- package/dist/voice/voice-context.d.ts +25 -0
- package/dist/voice/voice-context.d.ts.map +1 -0
- package/dist/voice/voice-context.js +156 -0
- package/dist/voice/voice-context.js.map +1 -0
- package/dist/voice/voice-replacements.d.ts +4 -0
- package/dist/voice/voice-replacements.d.ts.map +1 -0
- package/dist/voice/voice-replacements.js +52 -0
- package/dist/voice/voice-replacements.js.map +1 -0
- package/docs/content/locales/ar-SA/skills-guide.mdx +5 -0
- package/docs/content/locales/ar-SA/template-design.mdx +55 -1
- package/docs/content/locales/de-DE/skills-guide.mdx +5 -0
- package/docs/content/locales/de-DE/template-design.mdx +66 -1
- package/docs/content/locales/es-ES/skills-guide.mdx +5 -0
- package/docs/content/locales/es-ES/template-design.mdx +65 -1
- package/docs/content/locales/fr-FR/skills-guide.mdx +5 -0
- package/docs/content/locales/fr-FR/template-design.mdx +64 -1
- package/docs/content/locales/hi-IN/skills-guide.mdx +5 -0
- package/docs/content/locales/hi-IN/template-design.mdx +59 -1
- package/docs/content/locales/ja-JP/skills-guide.mdx +5 -0
- package/docs/content/locales/ja-JP/template-design.mdx +62 -1
- package/docs/content/locales/ko-KR/skills-guide.mdx +5 -0
- package/docs/content/locales/ko-KR/template-design.mdx +58 -1
- package/docs/content/locales/pt-BR/skills-guide.mdx +5 -0
- package/docs/content/locales/pt-BR/template-design.mdx +62 -1
- package/docs/content/locales/zh-CN/skills-guide.mdx +5 -0
- package/docs/content/locales/zh-CN/template-design.mdx +50 -1
- package/docs/content/locales/zh-TW/skills-guide.mdx +5 -0
- package/docs/content/locales/zh-TW/template-design.mdx +52 -1
- package/docs/content/skills-guide.mdx +5 -0
- package/docs/content/template-design.mdx +59 -1
- package/package.json +2 -1
- package/src/templates/workspace-core/.agents/skills/voice-transcription/SKILL.md +10 -0
- package/corpus/templates/design/actions/import-figma-file.ts +0 -166
- package/corpus/templates/design/app/components/design/DesignToolbar.tsx +0 -339
- package/corpus/templates/design/app/components/design/PresentMode.tsx +0 -68
- package/corpus/templates/design/app/components/design/ViewportTabs.tsx +0 -149
- package/corpus/templates/design/app/components/design/ZoomControls.tsx +0 -157
- package/corpus/templates/slides/server/lib/fig-design-system.ts +0 -110
package/corpus/README.md
CHANGED
package/corpus/core/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
# @agent-native/core
|
|
2
2
|
|
|
3
|
+
## 0.80.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 1d77419: Route design-system indexing through Builder-managed design-system APIs while preserving the public Figma parser export.
|
|
8
|
+
- 1d77419: Fix avatar lookup routes so profile photos load for users signed in through legacy Google OAuth sessions.
|
|
9
|
+
- 1d77419: Keep shared app shell outlines visible around the top corners when app content fills the main surface.
|
|
10
|
+
|
|
11
|
+
## 0.80.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- aa345cc: Add `agent-native design connect` foundations for localhost Design bridge manifests.
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- aa345cc: App shells use an outline-style raised surface ring and Dispatch left navigation can collapse to an animated icon rail.
|
|
20
|
+
- aa345cc: Live cursors now use Figma-style pointer markers with adjacent participant labels.
|
|
21
|
+
- aa345cc: Surface missing LLM provider connections before agent chat starts a run, including Builder and AI SDK engines.
|
|
22
|
+
- aa345cc: Fix Chrome visual glitchiness (blank/stale regions on scroll, pan, and zoom) in
|
|
23
|
+
plan documents and canvases by removing `backdrop-filter` (`backdrop-blur`) from
|
|
24
|
+
always-rendered per-block controls. A long plan rendered 40+ per-block edit
|
|
25
|
+
triggers, each forcing its own composited backdrop layer; Chrome re-samples every
|
|
26
|
+
backdrop snapshot on each scroll frame and its backdrop-filter invalidation drops
|
|
27
|
+
tiles, leaving regions blank until the next repaint. The tiny hover-trigger chips
|
|
28
|
+
now use an opaque background, which is visually identical but eliminates the
|
|
29
|
+
composited backdrop layers. Affects the block edit trigger, diagram/mermaid
|
|
30
|
+
expand/style triggers, and wireframe style trigger.
|
|
31
|
+
- aa345cc: Allow embedded MCP App controls to target their own local agent sidebar instead of relaying every submitted prompt to the host chat.
|
|
32
|
+
- aa345cc: Respect silent chat context staging across app/frame boundaries so selection context can update without opening the agent sidebar.
|
|
33
|
+
- aa345cc: Polish the shared chat thinking status with capitalized text and a subtle shine animation.
|
|
34
|
+
- aa345cc: Add the Design `/visual-edit` skill and route it through the built-in skill installers so agents can open localhost routes as URL-backed Design screens.
|
|
35
|
+
- aa345cc: Improve voice transcription and cleanup with bounded voice context packs for active composer context, learned vocabulary, and transcript cleanup prompts.
|
|
36
|
+
|
|
3
37
|
## 0.79.27
|
|
4
38
|
|
|
5
39
|
### Patch Changes
|
|
@@ -118,6 +118,10 @@ Skills موجود في `.agents/skills/<name>/SKILL.md` ويحتوي على إر
|
|
|
118
118
|
|
|
119
119
|
## skills المدعوم بالتطبيق {#app-backed-skills}
|
|
120
120
|
|
|
121
|
+
تشمل skills المدعومة بالتطبيق حاليا `visual-plan` و`visual-recap` من Plan،
|
|
122
|
+
و`visual-edit` من Design، و`assets` من Assets، و`content` لتحرير docs/blog/MDX
|
|
123
|
+
من المستودع.
|
|
124
|
+
|
|
121
125
|
تحزم skills المدعومة بالتطبيق تطبيقًا أصليًا للوكيل باعتباره قطعة أثرية في سوق المهارات. يمكن أن تتضمن الحزمة تعليمات الوكيل، وبيانات تعريف موصل skills المصدرة، وتعليمات التشغيل المستضافة/المحلية، وأسطح UI مثل تطبيقات MCP.
|
|
122
126
|
|
|
123
127
|
> **التفاصيل الكاملة أدناه:** يتم تغطية آليات skills المدعومة بالتطبيق (تنسيق البيان، وأوامر CLI، ومحولات السوق، وتجزئة التحديث التلقائي) في [App-backed skills — full details](#app-backed-skills-full).
|
|
@@ -328,6 +332,7 @@ scope: dev
|
|
|
328
332
|
```bash
|
|
329
333
|
# المسار السعيد: التعليمات المصدرة بالإضافة إلى موصل MCP المستضاف.
|
|
330
334
|
npx @agent-native/core@latest skills add visual-plan
|
|
335
|
+
npx @agent-native/core@latest skills add visual-edit
|
|
331
336
|
npx @agent-native/core@latest skills add assets
|
|
332
337
|
|
|
333
338
|
# تحرير Content docs/blog/MDX مع اعتبار الريبو مصدر الحقيقة.
|
|
@@ -340,7 +340,7 @@ pnpm dev
|
|
|
340
340
|
- **التصميمات** — `create-design` (صدفة فارغة)، `generate-design` (كتابة محتوى HTML/JSX)، `update-design`، `get-design`، `list-designs`، `duplicate-design`، `delete-design`، و`apply-tweaks` لاستمرار مقبض القرص المباشر القيم (لون التمييز، والكثافة، وما إلى ذلك).
|
|
341
341
|
- **الملفات** — `create-file`، `update-file`، `list-files`، `delete-file` للملفات الموجودة داخل مشروع التصميم.
|
|
342
342
|
- **أنظمة التصميم** — `create-design-system`، و`update-design-system`، و`get-design-system`، و`list-design-systems`، و`delete-design-system`، و`set-default-design-system`، و`analyze-brand-assets` لجمع بيانات العلامة التجارية قبل التحليل.
|
|
343
|
-
- **استيراد** — `
|
|
343
|
+
- **استيراد** — `index-design-system-with-builder` for Builder-backed code/GitHub design-system indexing, plus `import-figma`, `import-from-url`, `import-document` (DOCX/PPTX/PDF/XLSX), and `import-design-project` for other sources.
|
|
344
344
|
- **التصدير والتسليم** — `export-html`، و`export-pdf`، و`export-svg`، و`export-zip`، و`export-coding-handoff` لتحويل التصميم إلى تسليم لأداة البرمجة.
|
|
345
345
|
- **السياق والتنقل** — `view-screen` (التصميم الحالي، ملف مفتوح، عرض، سؤال معلق أو شبكة متغيرة)، `get-design-snapshot` (الحالة الحالية للوكيل الخارجي للمتابعة منها)، و`navigate`.
|
|
346
346
|
|
|
@@ -350,6 +350,60 @@ pnpm dev
|
|
|
350
350
|
|
|
351
351
|
نظرًا لأن التصميم هو مجرد ملفات HTML/JSX مستقلة، يقوم الوكيل بتحرير نفس المصدر الذي يعرضه iframe ويأتي منه كل تصدير - لا يوجد تنسيق "AI mockup" منفصل لترجمته. يوفر نظام التصميم المرتبط الرموز المميزة ويكرم الوكيل `custom_instructions` في كل تذكرة جيل. حدد نصًا أو منطقة في المعاينة واضغط على Cmd+I لتركيز الوكيل على هذا الجزء بالضبط.
|
|
352
352
|
|
|
353
|
+
### نموذج المحرر
|
|
354
|
+
|
|
355
|
+
يعتمد Design على النظرة العامة أولاً عند العمل على شاشات متعددة. بعد الإنشاء
|
|
356
|
+
أو التحديثات الواسعة، يفتح المحرر النظرة العامة للشاشات: لوحة لا نهائية تكون
|
|
357
|
+
فيها كل شاشة إطارًا ثابتًا يمكن تحديده أو نقله أو تغيير حجمه أو إسقاطه أو
|
|
358
|
+
تكراره. انقر نقرًا مزدوجًا على إطار للتركيز على شاشة واحدة.
|
|
359
|
+
|
|
360
|
+
وضع الشاشة الواحدة مخصص للتمرير، والتفاعل مع سلوك النموذج الأولي، وتحرير
|
|
361
|
+
طبقات DOM/الكود داخل ملف واحد معروض. تعكس لوحة الطبقات هذا التقسيم: الشاشات
|
|
362
|
+
إطارات من المستوى الأعلى، وتحت الشاشة النشطة تظهر طبقات DOM/الكود المتداخلة.
|
|
363
|
+
|
|
364
|
+
ثبّت `/visual-edit` عندما يحتاج وكيل البرمجة إلى فتح تطبيق محلي يعمل في
|
|
365
|
+
Design بدل إنشاء HTML نموذج أولي مستقل:
|
|
366
|
+
|
|
367
|
+
```bash
|
|
368
|
+
npx @agent-native/core@latest skills add visual-edit
|
|
369
|
+
```
|
|
370
|
+
|
|
371
|
+
بعد تشغيل خادم التطوير للتطبيق الهدف، يستخدم `/visual-edit`
|
|
372
|
+
`npx @agent-native/core@latest design connect` مع `add-localhost-screens` لوضع
|
|
373
|
+
كل مسار أو URL مطلوب كشاشة iframe منفصلة مدعومة بعنوان URL. تبقى التدفقات
|
|
374
|
+
المرقمة مثل `localhost:1234/onboarding/1` و`/onboarding/2` و`/onboarding/3`
|
|
375
|
+
كشاشات منفصلة ومرتبة في وضع النظرة العامة.
|
|
376
|
+
|
|
377
|
+
لأسماء طبقات مستقرة، أضف `data-agent-native-layer-name` إلى العناصر المهمة.
|
|
378
|
+
يستخدمه Design قبل البدائل الدلالية/النصية، ويمكنه حفظ إعادة تسمية الطبقات عبر
|
|
379
|
+
تحرير هذا السمة. يدعم HTML المضمن تحرير طبقات الكود محليًا للنصوص والأصناف
|
|
380
|
+
والأنماط والسمات وترتيب المصدر والتغييرات البنيوية الصغيرة؛ وتقتصر التعديلات
|
|
381
|
+
المرئية لطبقات الكود حاليًا على HTML. يستطيع وضع مصدر localhost تسجيل لوحات
|
|
382
|
+
عمل المسارات المحلية وحلها، لكن قراءة/كتابة الملفات المحلية تبقى عقد جسر إلى
|
|
383
|
+
أن يتم تعزيز عناصر التحكم الصريحة في الأذونات.
|
|
384
|
+
|
|
385
|
+
### ملحقات محرر Design
|
|
386
|
+
|
|
387
|
+
يتضمن المحرر علامة تبويب المفتش **Extensions** بعد **Tweaks**. تعمل
|
|
388
|
+
كمسار إضافات خاص بـ Design: يمكن للمستخدمين النقر على **+ Extension** ليطلبوا
|
|
389
|
+
من الوكيل بناء ملحق، أو تثبيت ملحق يعلن فتحة `design.editor.inspector`.
|
|
390
|
+
|
|
391
|
+
تُعرض ملحقات Design مضمّنة بجانب لوحة العمل عبر صندوق رمل الملحقات القياسي.
|
|
392
|
+
يمرر المضيف تحديثات `window.slotContext` و`window.onSlotContext(...)` مع
|
|
393
|
+
`designId` الحالي، والملف النشط، وقائمة الشاشات، ومعرفات الشاشات المحددة،
|
|
394
|
+
وبيانات العنصر المحدد، ووضع العرض، والتكبير، والأداة النشطة، وقيم التعديلات.
|
|
395
|
+
يسمح ذلك للملحق بعرض معلومات عن التحديد الحالي، أو تقديم عناصر تحكم في النمط،
|
|
396
|
+
أو بناء تدفقات عمل صغيرة حول التصميم المفتوح.
|
|
397
|
+
|
|
398
|
+
للعمل الحتمي، يمكن للملحقات استدعاء إجراءات التطبيق من خلال جسر الملحقات.
|
|
399
|
+
وللتغييرات المدفوعة بالذكاء الاصطناعي، اجعل الملحق يستدعي
|
|
400
|
+
`agentNative.chat.send(...)` مع محدد العنصر/معرف المصدر والتغيير المطلوب. يجب
|
|
401
|
+
أن يستدعي الوكيل `view-screen` أولاً، ثم يستخدم `apply-visual-edit` لتغييرات
|
|
402
|
+
نمط العنصر أو الصنف أو النص أو الحركة، أو يستخدم `update-design` /
|
|
403
|
+
`generate-design` مع `canvasFrames` لتغييرات موضع لوحة العمل. راجع
|
|
404
|
+
[Extensions](/docs/extensions#what-an-extension-can-do) لمعرفة صندوق الرمل
|
|
405
|
+
والحالة المستمرة وواجهات جسر الملحقات.
|
|
406
|
+
|
|
353
407
|
### تخصيصه
|
|
354
408
|
|
|
355
409
|
التصميم عبارة عن قالب كامل وقابل للاستنساخ. بعض الأفكار الإضافية العملية:
|
|
@@ -118,6 +118,10 @@ Domäne skills folgt demselben Format wie das Framework skills. Sie kodieren Mus
|
|
|
118
118
|
|
|
119
119
|
## App-gestütztes skills {#app-backed-skills}
|
|
120
120
|
|
|
121
|
+
Aktuelle appgestützte Skills sind `visual-plan` und `visual-recap` aus Plan,
|
|
122
|
+
`visual-edit` aus Design, `assets` aus Assets und `content` für repo-basiertes
|
|
123
|
+
Bearbeiten von docs/blog/MDX.
|
|
124
|
+
|
|
121
125
|
App-gestütztes skills-Paket einer agentennativen App als Skill-Marktplatz-Artefakt. Das Paket kann Agentenanweisungen, exportierte skills-, MCP-Connector-Metadaten, gehostete/lokale Startanweisungen und UI-Oberflächen wie MCP-Apps enthalten.
|
|
122
126
|
|
|
123
127
|
> **Vollständige Details unten:** Die Mechanismen des App-gestützten skills (Manifestformat, CLI-Befehle, Marktplatzadapter, automatisches Update-Hashing) werden in [App-backed skills — full details](#app-backed-skills-full) behandelt.
|
|
@@ -328,6 +332,7 @@ Offline-Arbeit oder datenschutzrelevante Nutzung.
|
|
|
328
332
|
```bash
|
|
329
333
|
# Glücklicher Weg: exportierte Anweisungen plus gehosteter MCP-Connector.
|
|
330
334
|
npx @agent-native/core@latest skills add visual-plan
|
|
335
|
+
npx @agent-native/core@latest skills add visual-edit
|
|
331
336
|
npx @agent-native/core@latest skills add assets
|
|
332
337
|
|
|
333
338
|
# Repo-first Content docs/blog/MDX Bearbeitung.
|
|
@@ -338,7 +338,7 @@ Jeder vom Agenten aufrufbare Vorgang ist eine TypeScript-Datei in `templates/des
|
|
|
338
338
|
- **Designs** – `create-design` (leere Shell), `generate-design` (generierten HTML/JSX-Inhalt schreiben), `update-design`, `get-design`, `list-designs`, `duplicate-design`, `delete-design` und `apply-tweaks` zum Beibehalten von Live-Tweak-Knopf-Werten (Akzentfarbe, Dichte, usw.).
|
|
339
339
|
- **Dateien** – `create-file`, `update-file`, `list-files`, `delete-file` für die Dateien in einem Designprojekt.
|
|
340
340
|
- **Designsysteme** – `create-design-system`, `update-design-system`, `get-design-system`, `list-design-systems`, `delete-design-system`, `set-default-design-system` und `analyze-brand-assets` zum Sammeln von Markendaten vor der Analyse.
|
|
341
|
-
- **Importieren**
|
|
341
|
+
- **Importieren** — `index-design-system-with-builder` for Builder-backed code/GitHub design-system indexing, plus `import-figma`, `import-from-url`, `import-document` (DOCX/PPTX/PDF/XLSX), and `import-design-project` for other sources.
|
|
342
342
|
- **Export & Übergabe** – `export-html`, `export-pdf`, `export-svg`, `export-zip` und `export-coding-handoff`, um ein Design in eine Codierungstool-Übergabe umzuwandeln.
|
|
343
343
|
- **Kontext und Navigation** – `view-screen` (aktuelles Design, offene Datei, Ansicht, ausstehende Frage oder Variantenraster), `get-design-snapshot` (aktueller Status, von dem aus ein externer Agent fortfahren kann) und `navigate`.
|
|
344
344
|
|
|
@@ -348,6 +348,71 @@ Der Agent weiß immer, was Sie offen haben. Das aktuelle Design, die geöffnete
|
|
|
348
348
|
|
|
349
349
|
Da es sich bei einem Design lediglich um eigenständige HTML/JSX-Dateien handelt, bearbeitet der Agent dieselbe Quelle, die der Iframe rendert, und jeder Export stammt aus – es gibt kein separates „AI-Mockup“-Format zum Übersetzen. Ein verknüpftes Designsystem liefert Token und `custom_instructions`, die der Agent bei jedem Generationsdurchlauf ehrt. Wählen Sie in der Vorschau Text oder einen Bereich aus und drücken Sie Befehl+I, um den Agenten genau auf diesen Teil zu konzentrieren.
|
|
350
350
|
|
|
351
|
+
### Editor-Modell
|
|
352
|
+
|
|
353
|
+
Design ist bei Arbeit mit mehreren Bildschirmen übersichtsorientiert. Nach der
|
|
354
|
+
Generierung oder größeren Aktualisierungen öffnet der Editor die
|
|
355
|
+
Bildschirmübersicht: eine unendliche Arbeitsfläche, auf der jeder Bildschirm ein
|
|
356
|
+
statischer Rahmen ist, den Sie auswählen, verschieben, skalieren, ablegen oder
|
|
357
|
+
duplizieren können. Verwenden Sie die Vollansicht-Schaltfläche des Rahmens, wenn ein Bildschirm
|
|
358
|
+
fokussiertes Scrollen oder Prototypinteraktion benötigt.
|
|
359
|
+
|
|
360
|
+
Der Einzelbildschirmmodus ist für Scrollen, Interaktion mit Prototypverhalten
|
|
361
|
+
und Bearbeitung der DOM-/Code-Ebenen in einer gerenderten Datei gedacht. Das
|
|
362
|
+
Ebenenfenster spiegelt diese Trennung wider: Bildschirme sind Rahmen der
|
|
363
|
+
obersten Ebene, darunter liegen die DOM-/Code-Ebenen des aktiven Bildschirms.
|
|
364
|
+
|
|
365
|
+
Installiere `/visual-edit`, wenn ein Coding Agent eine laufende lokale App in
|
|
366
|
+
Design öffnen soll, statt eigenständiges Prototype-HTML zu generieren:
|
|
367
|
+
|
|
368
|
+
```bash
|
|
369
|
+
npx @agent-native/core@latest skills add visual-edit
|
|
370
|
+
```
|
|
371
|
+
|
|
372
|
+
Sobald der Dev-Server der Ziel-App läuft, nutzt `/visual-edit`
|
|
373
|
+
`npx @agent-native/core@latest design connect` plus `add-localhost-screens`, um
|
|
374
|
+
jeden angeforderten Pfad oder jede URL als eigenen URL-gestützten iframe-Screen
|
|
375
|
+
zu platzieren. Nummerierte Flows wie `localhost:1234/onboarding/1`,
|
|
376
|
+
`/onboarding/2` und `/onboarding/3` bleiben als getrennte, geordnete Screens im
|
|
377
|
+
Overview-Modus erhalten.
|
|
378
|
+
|
|
379
|
+
Für stabile Ebenennamen fügen Sie wichtigen Elementen
|
|
380
|
+
`data-agent-native-layer-name` hinzu. Design verwendet dies vor
|
|
381
|
+
semantischen/textbasierten Fallbacks und kann Umbenennungen durch Bearbeiten
|
|
382
|
+
dieses Attributs speichern. Inline-HTML unterstützt lokale Code-Ebenen-Edits
|
|
383
|
+
für Text, Klassen, Stile, Attribute, Quellreihenfolge und kleine strukturelle
|
|
384
|
+
Änderungen; visuelle Code-Ebenen-Edits sind heute HTML-only. Der
|
|
385
|
+
localhost-Quellmodus kann lokale Routen-Artboards registrieren und auflösen,
|
|
386
|
+
aber lokale Datei-Lese-/Schreibvorgänge bleiben ein Bridge-Vertrag, bis
|
|
387
|
+
explizite Berechtigungskontrollen gehärtet sind.
|
|
388
|
+
|
|
389
|
+
### Erweiterungen im Design-Editor
|
|
390
|
+
|
|
391
|
+
Der Editor enthält nach **Tweaks** eine **Extensions**-Inspektorregisterkarte.
|
|
392
|
+
Sie funktioniert wie eine Design-spezifische Plugin-Spur: Benutzer können auf
|
|
393
|
+
**+ Extension** klicken, um den Agenten eine Erweiterung erstellen zu lassen,
|
|
394
|
+
oder eine Erweiterung installieren, die den Slot `design.editor.inspector`
|
|
395
|
+
deklariert.
|
|
396
|
+
|
|
397
|
+
Design-Erweiterungen werden über die Standard-Erweiterungssandbox inline neben
|
|
398
|
+
der Arbeitsfläche gerendert. Der Host übergibt `window.slotContext` und
|
|
399
|
+
`window.onSlotContext(...)`-Updates mit der aktuellen `designId`, der aktiven
|
|
400
|
+
Datei, der Bildschirmliste, ausgewählten Bildschirm-IDs, Metadaten des
|
|
401
|
+
ausgewählten Elements, Ansichtsmodus, Zoom, aktivem Werkzeug und Tweak-Werten.
|
|
402
|
+
So kann eine Erweiterung Informationen zur aktuellen Auswahl anzeigen,
|
|
403
|
+
Stilsteuerungen anbieten oder kompakte Workflows rund um das geöffnete Design
|
|
404
|
+
erstellen.
|
|
405
|
+
|
|
406
|
+
Für deterministische Arbeit können Erweiterungen App-Aktionen über die
|
|
407
|
+
Erweiterungsbrücke aufrufen. Für KI-gesteuerte Änderungen sollte die Erweiterung
|
|
408
|
+
`agentNative.chat.send(...)` mit dem Selektor/Quell-ID des ausgewählten Elements
|
|
409
|
+
und der gewünschten Änderung aufrufen. Der Agent sollte zuerst `view-screen`
|
|
410
|
+
aufrufen und dann `apply-visual-edit` für Stil-, Klassen-, Text- oder
|
|
411
|
+
Verschiebungsänderungen an Elementen verwenden, oder `update-design` /
|
|
412
|
+
`generate-design` mit `canvasFrames` für Änderungen an der Platzierung der
|
|
413
|
+
Arbeitsfläche. Siehe [Extensions](/docs/extensions#what-an-extension-can-do)
|
|
414
|
+
für Sandbox, persistente Daten und Bridge-APIs.
|
|
415
|
+
|
|
351
416
|
### Anpassen
|
|
352
417
|
|
|
353
418
|
Design ist eine vollständige, klonbare Vorlage. Einige praktische Erweiterungsideen:
|
|
@@ -118,6 +118,10 @@ El dominio skills sigue el mismo formato que el marco skills. Codifican patrones
|
|
|
118
118
|
|
|
119
119
|
## skills respaldado por aplicación {#app-backed-skills}
|
|
120
120
|
|
|
121
|
+
Las skills respaldadas por apps actuales incluyen `visual-plan` y `visual-recap`
|
|
122
|
+
de Plan, `visual-edit` de Design, `assets` de Assets y `content` para editar
|
|
123
|
+
docs/blog/MDX desde el repositorio.
|
|
124
|
+
|
|
121
125
|
skills, respaldado por una aplicación, empaqueta una aplicación nativa del agente como un artefacto del mercado de habilidades. El paquete puede incluir instrucciones del agente, skills exportado, metadatos del conector MCP, instrucciones de inicio alojadas/locales y superficies UI como aplicaciones MCP.
|
|
122
126
|
|
|
123
127
|
> **Detalles completos a continuación:** la mecánica de skills respaldado por aplicaciones (formato de manifiesto, comandos CLI, adaptadores de mercado, hash de actualización automática) se tratan en [App-backed skills — full details](#app-backed-skills-full).
|
|
@@ -328,6 +332,7 @@ trabajo sin conexión o uso sensible a la privacidad.
|
|
|
328
332
|
```bash
|
|
329
333
|
# Camino feliz: instrucciones exportadas más conector MCP alojado.
|
|
330
334
|
npx @agent-native/core@latest skills add visual-plan
|
|
335
|
+
npx @agent-native/core@latest skills add visual-edit
|
|
331
336
|
npx @agent-native/core@latest skills add assets
|
|
332
337
|
|
|
333
338
|
# Edición de docs/blog/MDX con Content primero en el repositorio.
|
|
@@ -338,7 +338,7 @@ Cada operación invocable por el agente es un archivo TypeScript en `templates/d
|
|
|
338
338
|
- **Diseños**: `create-design` (cáscara vacía), `generate-design` (contenido de HTML/JSX generado por escritura), `update-design`, `get-design`, `list-designs`, `duplicate-design`, `delete-design` y `apply-tweaks` para conservar los valores de las perillas de ajuste en vivo (color de acento, densidad, etc.).
|
|
339
339
|
- **Archivos**: `create-file`, `update-file`, `list-files`, `delete-file` para los archivos dentro de un proyecto de diseño.
|
|
340
340
|
- **Sistemas de diseño**: `create-design-system`, `update-design-system`, `get-design-system`, `list-design-systems`, `delete-design-system`, `set-default-design-system` y `analyze-brand-assets` para recopilar datos de marca antes del análisis.
|
|
341
|
-
- **Importar
|
|
341
|
+
- **Importar** — `index-design-system-with-builder` for Builder-backed code/GitHub design-system indexing, plus `import-figma`, `import-from-url`, `import-document` (DOCX/PPTX/PDF/XLSX), and `import-design-project` for other sources.
|
|
342
342
|
- **Exportación y transferencia**: `export-html`, `export-pdf`, `export-svg`, `export-zip` y `export-coding-handoff` para convertir un diseño en una transferencia de herramienta de codificación.
|
|
343
343
|
- **Contexto y navegación**: `view-screen` (diseño actual, archivo abierto, vista, pregunta pendiente o cuadrícula de variantes), `get-design-snapshot` (estado actual desde el cual un agente externo puede continuar) y `navigate`.
|
|
344
344
|
|
|
@@ -348,6 +348,70 @@ El agente siempre sabe lo que tienes abierto. `view-screen` devuelve el diseño
|
|
|
348
348
|
|
|
349
349
|
Debido a que un diseño son solo archivos HTML/JSX independientes, el agente edita la misma fuente que representa el iframe y de donde proviene cada exportación; no hay un formato de "maqueta de IA" independiente para traducir. Un sistema de diseño vinculado proporciona tokens y `custom_instructions` el agente honra en cada paso de generación. Seleccione texto o una región en la vista previa y presione Cmd+I para enfocar al agente exactamente en esa parte.
|
|
350
350
|
|
|
351
|
+
### Modelo del editor
|
|
352
|
+
|
|
353
|
+
Design prioriza la vista general para el trabajo con varias pantallas. Después
|
|
354
|
+
de generar o aplicar actualizaciones amplias, el editor abre la vista general de
|
|
355
|
+
pantallas: un lienzo infinito donde cada pantalla es un marco estático que se
|
|
356
|
+
puede seleccionar, mover, redimensionar, soltar o duplicar. Usa el botón de vista completa del marco cuando una pantalla necesite
|
|
357
|
+
desplazamiento enfocado o interacción de prototipo.
|
|
358
|
+
|
|
359
|
+
El modo de una sola pantalla sirve para desplazarse, interactuar con el
|
|
360
|
+
comportamiento del prototipo y editar las capas DOM/código dentro de un archivo
|
|
361
|
+
renderizado. El panel de capas refleja esa división: las pantallas son marcos de
|
|
362
|
+
nivel superior, con capas DOM/código anidadas para la pantalla activa.
|
|
363
|
+
|
|
364
|
+
Instala `/visual-edit` cuando un agente de código deba abrir una app local en
|
|
365
|
+
ejecución dentro de Design en lugar de generar HTML de prototipo independiente:
|
|
366
|
+
|
|
367
|
+
```bash
|
|
368
|
+
npx @agent-native/core@latest skills add visual-edit
|
|
369
|
+
```
|
|
370
|
+
|
|
371
|
+
Después de que el servidor dev de la app objetivo esté corriendo, `/visual-edit`
|
|
372
|
+
usa `npx @agent-native/core@latest design connect` más `add-localhost-screens`
|
|
373
|
+
para colocar cada ruta o URL solicitada como su propia pantalla iframe respaldada
|
|
374
|
+
por URL. Los flujos numerados como `localhost:1234/onboarding/1`,
|
|
375
|
+
`/onboarding/2` y `/onboarding/3` se mantienen como pantallas separadas y
|
|
376
|
+
ordenadas en modo de vista general.
|
|
377
|
+
|
|
378
|
+
Para nombres de capa estables, agrega `data-agent-native-layer-name` a los
|
|
379
|
+
elementos importantes. Design lo usa antes de los respaldos semánticos/de texto
|
|
380
|
+
y puede persistir cambios de nombre editando ese atributo. HTML inline admite
|
|
381
|
+
ediciones locales de capas de código para texto, clases, estilos, atributos,
|
|
382
|
+
orden del código fuente y pequeños cambios estructurales; las ediciones visuales
|
|
383
|
+
de capas de código solo admiten HTML por ahora. El modo de fuente localhost
|
|
384
|
+
puede registrar y resolver artboards de rutas locales, pero las lecturas y
|
|
385
|
+
escrituras de archivos locales siguen siendo un contrato de puente hasta que se
|
|
386
|
+
endurezcan los controles explícitos de permisos.
|
|
387
|
+
|
|
388
|
+
### Extensiones del editor de Design
|
|
389
|
+
|
|
390
|
+
El editor incluye una pestaña de inspector **Extensions** después de
|
|
391
|
+
**Tweaks**. Funciona como un carril de plugins específico de Design: los
|
|
392
|
+
usuarios pueden hacer clic en **+ Extension** para pedirle al agente que cree
|
|
393
|
+
una extensión, o instalar una extensión que declare el slot
|
|
394
|
+
`design.editor.inspector`.
|
|
395
|
+
|
|
396
|
+
Las extensiones de Design se renderizan en línea junto al artboard mediante el
|
|
397
|
+
sandbox estándar de extensiones. El host pasa actualizaciones de
|
|
398
|
+
`window.slotContext` y `window.onSlotContext(...)` con el `designId` actual, el
|
|
399
|
+
archivo activo, la lista de pantallas, los ids de pantalla seleccionados, los
|
|
400
|
+
metadatos del elemento seleccionado, el modo de vista, el zoom, la herramienta
|
|
401
|
+
activa y los valores de tweaks. Eso permite que una extensión muestre
|
|
402
|
+
información sobre la selección actual, ofrezca controles de estilo o construya
|
|
403
|
+
flujos compactos alrededor del diseño abierto.
|
|
404
|
+
|
|
405
|
+
Para trabajo determinista, las extensiones pueden llamar acciones de la app a
|
|
406
|
+
través del puente de extensiones. Para cambios impulsados por IA, haz que la
|
|
407
|
+
extensión llame `agentNative.chat.send(...)` con el selector/id de origen del
|
|
408
|
+
elemento seleccionado y el cambio solicitado. El agente debe llamar primero
|
|
409
|
+
`view-screen`, luego usar `apply-visual-edit` para cambios de estilo, clase,
|
|
410
|
+
texto o movimiento de elementos, o `update-design` / `generate-design` con
|
|
411
|
+
`canvasFrames` para cambios de colocación del artboard. Consulta
|
|
412
|
+
[Extensions](/docs/extensions#what-an-extension-can-do) para el sandbox, el
|
|
413
|
+
estado persistente y las APIs del puente.
|
|
414
|
+
|
|
351
415
|
### Personalizarlo
|
|
352
416
|
|
|
353
417
|
El diseño es una plantilla completa y clonable. Algunas ideas prácticas de extensión:
|
|
@@ -118,6 +118,10 @@ Le domaine skills suit le même format que le framework skills. Ils codent des m
|
|
|
118
118
|
|
|
119
119
|
## skills soutenu par une application {#app-backed-skills}
|
|
120
120
|
|
|
121
|
+
Les skills basées sur des apps incluent aujourd'hui `visual-plan` et
|
|
122
|
+
`visual-recap` depuis Plan, `visual-edit` depuis Design, `assets` depuis Assets
|
|
123
|
+
et `content` pour l'édition docs/blog/MDX depuis le dépôt.
|
|
124
|
+
|
|
121
125
|
skills basé sur une application regroupe une application native d'agent en tant qu'artefact de marché de compétences. L'ensemble peut inclure des instructions d'agent, des métadonnées de connecteur skills exportées et MCP, des instructions de lancement hébergées/locales et des surfaces UI telles que les applications MCP.
|
|
122
126
|
|
|
123
127
|
> **Tous les détails ci-dessous :** les mécanismes du skills basé sur l'application (format du manifeste, commandes CLI, adaptateurs de marché, hachage de mise à jour automatique) sont couverts dans [App-backed skills — full details](#app-backed-skills-full).
|
|
@@ -328,6 +332,7 @@ travail hors ligne ou utilisation sensible à la confidentialité.
|
|
|
328
332
|
```bash
|
|
329
333
|
# Chemin heureux : instructions exportées et connecteur MCP hébergé.
|
|
330
334
|
npx @agent-native/core@latest skills add visual-plan
|
|
335
|
+
npx @agent-native/core@latest skills add visual-edit
|
|
331
336
|
npx @agent-native/core@latest skills add assets
|
|
332
337
|
|
|
333
338
|
# Édition docs/blog/MDX avec Content, d'abord dans le dépôt.
|
|
@@ -338,7 +338,7 @@ Chaque opération appelable par un agent est un fichier TypeScript dans `templat
|
|
|
338
338
|
- **Designs** — `create-design` (coque vide), `generate-design` (contenu HTML/JSX généré par écriture), `update-design`, `get-design`, `list-designs`, `duplicate-design`, `delete-design` et `apply-tweaks` pour conserver les valeurs du bouton de réglage en direct (couleur d'accent, densité, etc.).
|
|
339
339
|
- **Fichiers** — `create-file`, `update-file`, `list-files`, `delete-file` pour les fichiers contenus dans un projet de conception.
|
|
340
340
|
- **Systèmes de conception** : `create-design-system`, `update-design-system`, `get-design-system`, `list-design-systems`, `delete-design-system`, `set-default-design-system` et `analyze-brand-assets` pour collecter des données de marque avant l'analyse.
|
|
341
|
-
- **Importer** — `
|
|
341
|
+
- **Importer** — `index-design-system-with-builder` for Builder-backed code/GitHub design-system indexing, plus `import-figma`, `import-from-url`, `import-document` (DOCX/PPTX/PDF/XLSX), and `import-design-project` for other sources.
|
|
342
342
|
- **Exportation et transfert** : `export-html`, `export-pdf`, `export-svg`, `export-zip` et `export-coding-handoff` pour transformer une conception en transfert d'outil de codage.
|
|
343
343
|
- **Contexte et navigation** – `view-screen` (conception actuelle, fichier ouvert, vue, question en attente ou grille de variantes), `get-design-snapshot` (état actuel à partir duquel un agent externe peut continuer) et `navigate`.
|
|
344
344
|
|
|
@@ -348,6 +348,69 @@ L'agent sait toujours ce que vous avez ouvert. La conception actuelle, le fichie
|
|
|
348
348
|
|
|
349
349
|
Étant donné qu'une conception n'est constituée que de fichiers HTML/JSX autonomes, l'agent édite la même source que celle du rendu iframe et celle d'où provient chaque exportation : il n'existe pas de format de « maquette IA » distinct à traduire. Un système de conception lié fournit des jetons et `custom_instructions` que l'agent honore à chaque passage de génération. Sélectionnez du texte ou une région dans l'aperçu et appuyez sur Cmd+I pour concentrer l'agent exactement sur cette partie.
|
|
350
350
|
|
|
351
|
+
### Modèle d'éditeur
|
|
352
|
+
|
|
353
|
+
Design privilégie la vue d'ensemble pour le travail multi-écran. Après une
|
|
354
|
+
génération ou une mise à jour large, l'éditeur ouvre la vue d'ensemble des
|
|
355
|
+
écrans : un canevas infini où chaque écran est un cadre statique que vous pouvez
|
|
356
|
+
sélectionner, déplacer, redimensionner, déposer ou dupliquer. Utilisez le bouton de vue complète du cadre lorsqu’un écran nécessite un
|
|
357
|
+
défilement ciblé ou une interaction de prototype.
|
|
358
|
+
|
|
359
|
+
Le mode écran unique sert à faire défiler, interagir avec le comportement du
|
|
360
|
+
prototype et modifier les couches DOM/code dans un fichier rendu. Le panneau des
|
|
361
|
+
couches reflète cette séparation : les écrans sont des cadres de niveau
|
|
362
|
+
supérieur, avec les couches DOM/code imbriquées pour l'écran actif.
|
|
363
|
+
|
|
364
|
+
Installez `/visual-edit` lorsqu'un agent de code doit ouvrir une app locale en
|
|
365
|
+
cours d'exécution dans Design au lieu de générer du HTML de prototype autonome :
|
|
366
|
+
|
|
367
|
+
```bash
|
|
368
|
+
npx @agent-native/core@latest skills add visual-edit
|
|
369
|
+
```
|
|
370
|
+
|
|
371
|
+
Une fois le serveur dev de l'app cible lancé, `/visual-edit` utilise
|
|
372
|
+
`npx @agent-native/core@latest design connect` avec `add-localhost-screens` pour
|
|
373
|
+
placer chaque chemin ou URL demandé comme son propre écran iframe adossé à une
|
|
374
|
+
URL. Les flows numérotés comme `localhost:1234/onboarding/1`,
|
|
375
|
+
`/onboarding/2` et `/onboarding/3` restent des écrans séparés et ordonnés en
|
|
376
|
+
mode overview.
|
|
377
|
+
|
|
378
|
+
Pour des noms de couche stables, ajoutez `data-agent-native-layer-name` aux
|
|
379
|
+
éléments importants. Design l'utilise avant les replis sémantiques/textuels et
|
|
380
|
+
peut persister les renommages en modifiant cet attribut. Le HTML inline prend en
|
|
381
|
+
charge les modifications locales de couches de code pour le texte, les classes,
|
|
382
|
+
les styles, les attributs, l'ordre source et les petits changements structurels;
|
|
383
|
+
les modifications visuelles de couches de code sont uniquement HTML aujourd'hui.
|
|
384
|
+
Le mode source localhost peut enregistrer et résoudre des artboards de routes
|
|
385
|
+
locales, mais les lectures/écritures de fichiers locaux restent un contrat de
|
|
386
|
+
pont jusqu'au durcissement des contrôles d'autorisation explicites.
|
|
387
|
+
|
|
388
|
+
### Extensions de l'éditeur Design
|
|
389
|
+
|
|
390
|
+
L'éditeur inclut un onglet d'inspecteur **Extensions** après **Tweaks**. Il
|
|
391
|
+
fonctionne comme une piste de plugins propre à Design : les utilisateurs peuvent
|
|
392
|
+
cliquer sur **+ Extension** pour demander à l'agent de créer une extension, ou
|
|
393
|
+
installer une extension qui déclare le slot `design.editor.inspector`.
|
|
394
|
+
|
|
395
|
+
Les extensions Design s'affichent en ligne à côté de l'artboard via le bac à
|
|
396
|
+
sable standard des extensions. L'hôte transmet les mises à jour
|
|
397
|
+
`window.slotContext` et `window.onSlotContext(...)` avec le `designId` actuel,
|
|
398
|
+
le fichier actif, la liste des écrans, les ids d'écran sélectionnés, les
|
|
399
|
+
métadonnées de l'élément sélectionné, le mode d'affichage, le zoom, l'outil
|
|
400
|
+
actif et les valeurs de tweaks. Cela permet à une extension d'afficher des
|
|
401
|
+
informations sur la sélection actuelle, d'offrir des contrôles de style ou de
|
|
402
|
+
créer des workflows compacts autour du design ouvert.
|
|
403
|
+
|
|
404
|
+
Pour un travail déterministe, les extensions peuvent appeler les actions de
|
|
405
|
+
l'app via le pont d'extension. Pour les changements pilotés par l'IA,
|
|
406
|
+
l'extension doit appeler `agentNative.chat.send(...)` avec le sélecteur/id source
|
|
407
|
+
de l'élément sélectionné et la modification demandée. L'agent doit d'abord
|
|
408
|
+
appeler `view-screen`, puis utiliser `apply-visual-edit` pour les changements de
|
|
409
|
+
style, classe, texte ou déplacement d'élément, ou `update-design` /
|
|
410
|
+
`generate-design` avec `canvasFrames` pour les changements de placement de
|
|
411
|
+
l'artboard. Consultez [Extensions](/docs/extensions#what-an-extension-can-do)
|
|
412
|
+
pour le bac à sable, l'état persistant et les APIs du pont.
|
|
413
|
+
|
|
351
414
|
### Le personnaliser
|
|
352
415
|
|
|
353
416
|
Design est un modèle complet et clonable. Quelques idées d'extension pratiques :
|
|
@@ -118,6 +118,10 @@ Skills, `.agents/skills/<name>/SKILL.md` पर लाइव है और इ
|
|
|
118
118
|
|
|
119
119
|
## ऐप-समर्थित skills {#app-backed-skills}
|
|
120
120
|
|
|
121
|
+
मौजूदा app-backed skills में Plan के `visual-plan` और `visual-recap`, Design का
|
|
122
|
+
`visual-edit`, Assets का `assets`, और repo-backed docs/blog/MDX editing के लिए
|
|
123
|
+
`content` शामिल हैं.
|
|
124
|
+
|
|
121
125
|
ऐप-समर्थित skills एक कौशल बाज़ार आर्टिफैक्ट के रूप में एक एजेंट-मूल ऐप को पैकेज करता है। बंडल में एजेंट निर्देश, निर्यातित skills, MCP कनेक्टर मेटाडेटा, होस्टेड/स्थानीय लॉन्च निर्देश और UI सतह जैसे MCP ऐप्स शामिल हो सकते हैं।
|
|
122
126
|
|
|
123
127
|
> **पूर्ण विवरण नीचे:** ऐप-समर्थित skills (प्रकट प्रारूप, CLI कमांड, मार्केटप्लेस एडाप्टर, ऑटो-अपडेट हैशिंग) के यांत्रिकी [App-backed skills — full details](#app-backed-skills-full) में शामिल हैं।
|
|
@@ -328,6 +332,7 @@ scope: dev
|
|
|
328
332
|
```bash
|
|
329
333
|
# शुभ पथ: निर्यात किए गए निर्देश और होस्ट किए गए MCP कनेक्टर।
|
|
330
334
|
npx @agent-native/core@latest skills add visual-plan
|
|
335
|
+
npx @agent-native/core@latest skills add visual-edit
|
|
331
336
|
npx @agent-native/core@latest skills add assets
|
|
332
337
|
|
|
333
338
|
# रेपो-प्रथम Content docs/blog/MDX संपादन।
|
|
@@ -338,7 +338,7 @@ UI में रूट `templates/design/app/routes/` के अंतर्ग
|
|
|
338
338
|
- **डिज़ाइन** - `create-design` (खाली शेल), `generate-design` (लाइव बनाए रखने के लिए HTML/JSX सामग्री लिखें), `update-design`, `get-design`, `list-designs`, `duplicate-design`, `delete-design`, और `apply-tweaks` ट्विक-नॉब मान (उच्चारण रंग, घनत्व, आदि)।
|
|
339
339
|
- **फ़ाइलें** - एक डिज़ाइन प्रोजेक्ट के अंदर फ़ाइलों के लिए `create-file`, `update-file`, `list-files`, `delete-file`।
|
|
340
340
|
- **डिज़ाइन सिस्टम** - विश्लेषण से पहले ब्रांड डेटा इकट्ठा करने के लिए `create-design-system`, `update-design-system`, `get-design-system`, `list-design-systems`, `delete-design-system`, `set-default-design-system`, और `analyze-brand-assets`।
|
|
341
|
-
- **आयात**
|
|
341
|
+
- **आयात** — `index-design-system-with-builder` for Builder-backed code/GitHub design-system indexing, plus `import-figma`, `import-from-url`, `import-document` (DOCX/PPTX/PDF/XLSX), and `import-design-project` for other sources.
|
|
342
342
|
- **निर्यात और हैंडऑफ़** - किसी डिज़ाइन को कोडिंग-टूल हैंडऑफ़ में बदलने के लिए `export-html`, `export-pdf`, `export-svg`, `export-zip`, और `export-coding-handoff`।
|
|
343
343
|
- **संदर्भ और नेविगेशन** - `view-screen` (वर्तमान डिज़ाइन, खुली फ़ाइल, दृश्य, लंबित प्रश्न या भिन्न ग्रिड), `get-design-snapshot` (बाहरी एजेंट के लिए वर्तमान स्थिति जारी रखने के लिए), और `navigate`।
|
|
344
344
|
|
|
@@ -348,6 +348,64 @@ UI में रूट `templates/design/app/routes/` के अंतर्ग
|
|
|
348
348
|
|
|
349
349
|
क्योंकि एक डिज़ाइन केवल स्टैंडअलोन HTML/JSX फ़ाइलें है, एजेंट उसी स्रोत को संपादित करता है जो iframe प्रस्तुत करता है और प्रत्येक निर्यात आता है - अनुवाद करने के लिए कोई अलग "AI मॉकअप" प्रारूप नहीं है। एक लिंक्ड डिज़ाइन सिस्टम टोकन की आपूर्ति करता है और एजेंट हर जेनरेशन पास पर `custom_instructions` का सम्मान करता है। पूर्वावलोकन में टेक्स्ट या एक क्षेत्र का चयन करें और एजेंट को ठीक उसी हिस्से पर केंद्रित करने के लिए Cmd+I दबाएं।
|
|
350
350
|
|
|
351
|
+
### संपादक मॉडल
|
|
352
|
+
|
|
353
|
+
कई स्क्रीन वाले काम के लिए Design पहले overview खोलता है। generation या बड़े
|
|
354
|
+
updates के बाद editor screen overview खोलता है: एक infinite canvas जहां हर
|
|
355
|
+
screen एक static frame है जिसे select, move, resize, drop या duplicate किया जा
|
|
356
|
+
सकता है। जब किसी screen को focused scrolling या prototype interaction चाहिए, तो frame के full-view button का उपयोग करें।
|
|
357
|
+
|
|
358
|
+
Single-screen mode scrolling, prototype behavior से interact करने, और एक
|
|
359
|
+
rendered file के अंदर DOM/code layers edit करने के लिए है। Layers panel यही
|
|
360
|
+
model दिखाता है: screens top-level frames हैं, और active screen के नीचे nested
|
|
361
|
+
DOM/code layers होते हैं।
|
|
362
|
+
|
|
363
|
+
जब coding agent को standalone prototype HTML बनाने के बजाय running local app को
|
|
364
|
+
Design में खोलना हो, तब `/visual-edit` install करें:
|
|
365
|
+
|
|
366
|
+
```bash
|
|
367
|
+
npx @agent-native/core@latest skills add visual-edit
|
|
368
|
+
```
|
|
369
|
+
|
|
370
|
+
Target app dev server चलने के बाद, `/visual-edit`
|
|
371
|
+
`npx @agent-native/core@latest design connect` और `add-localhost-screens` का
|
|
372
|
+
उपयोग करके हर requested path या URL को अपने URL-backed iframe screen के रूप में
|
|
373
|
+
place करता है। `localhost:1234/onboarding/1`, `/onboarding/2`, और
|
|
374
|
+
`/onboarding/3` जैसे numbered flows overview mode में separate ordered screens
|
|
375
|
+
रहते हैं।
|
|
376
|
+
|
|
377
|
+
Stable layer names के लिए meaningful elements पर
|
|
378
|
+
`data-agent-native-layer-name` जोड़ें। Design semantic/text fallbacks से पहले
|
|
379
|
+
इसे उपयोग करता है और इसी attribute को edit करके layer renames persist कर सकता
|
|
380
|
+
है। Inline HTML text, classes, styles, attributes, source order, और छोटे
|
|
381
|
+
structural changes के लिए local code-layer edits support करता है; visual
|
|
382
|
+
code-layer edits आज केवल HTML files के लिए हैं। Localhost source mode local
|
|
383
|
+
route artboards register और resolve कर सकता है, लेकिन local file reads/writes
|
|
384
|
+
explicit permission controls harden होने तक bridge contract ही हैं।
|
|
385
|
+
|
|
386
|
+
### Design संपादक एक्सटेंशन
|
|
387
|
+
|
|
388
|
+
संपादक में **Tweaks** के बाद एक **Extensions** इंस्पेक्टर टैब शामिल है। यह
|
|
389
|
+
Design-विशिष्ट plugin lane की तरह काम करता है: उपयोगकर्ता **+ Extension** पर
|
|
390
|
+
क्लिक करके एजेंट से एक्सटेंशन बनवा सकते हैं, या ऐसा एक्सटेंशन इंस्टॉल कर सकते
|
|
391
|
+
हैं जो `design.editor.inspector` slot घोषित करता है।
|
|
392
|
+
|
|
393
|
+
Design एक्सटेंशन मानक extension sandbox के माध्यम से artboard के बगल में inline
|
|
394
|
+
render होते हैं। host `window.slotContext` और `window.onSlotContext(...)`
|
|
395
|
+
updates में वर्तमान `designId`, सक्रिय फ़ाइल, screen list, selected screen ids,
|
|
396
|
+
selected element metadata, view mode, zoom, active tool, और tweak values भेजता
|
|
397
|
+
है। इससे एक्सटेंशन वर्तमान selection की जानकारी दिखा सकता है, style controls
|
|
398
|
+
दे सकता है, या खुले design के आसपास compact workflows बना सकता है।
|
|
399
|
+
|
|
400
|
+
Deterministic काम के लिए, एक्सटेंशन extension bridge के माध्यम से app actions
|
|
401
|
+
कॉल कर सकते हैं। AI-driven बदलावों के लिए, एक्सटेंशन से
|
|
402
|
+
`agentNative.chat.send(...)` कॉल करवाएं जिसमें selected element selector/source
|
|
403
|
+
id और मांगा गया बदलाव शामिल हो। एजेंट को पहले `view-screen` कॉल करना चाहिए,
|
|
404
|
+
फिर element style, class, text, या move changes के लिए `apply-visual-edit`, या
|
|
405
|
+
artboard placement changes के लिए `canvasFrames` के साथ `update-design` /
|
|
406
|
+
`generate-design` का उपयोग करना चाहिए। sandbox, persistent state, और bridge
|
|
407
|
+
APIs के लिए [Extensions](/docs/extensions#what-an-extension-can-do) देखें।
|
|
408
|
+
|
|
351
409
|
### इसे अनुकूलित करना
|
|
352
410
|
|
|
353
411
|
डिज़ाइन एक पूर्ण, क्लोन करने योग्य टेम्पलेट है। कुछ व्यावहारिक विस्तार विचार:
|
|
@@ -118,6 +118,10 @@ Skills は `.agents/skills/<name>/SKILL.md` にあり、エージェント向け
|
|
|
118
118
|
|
|
119
119
|
## アプリベースの skills {#app-backed-skills}
|
|
120
120
|
|
|
121
|
+
現在の app-backed skills には、Plan の `visual-plan` と `visual-recap`、
|
|
122
|
+
Design の `visual-edit`、Assets の `assets`、repo-backed docs/blog/MDX
|
|
123
|
+
編集用の `content` があります。
|
|
124
|
+
|
|
121
125
|
アプリベースの skills は、エージェント ネイティブ アプリをスキル マーケットプレイス アーティファクトとしてパッケージ化します。バンドルには、エージェントの指示、エクスポートされた skills、MCP コネクタ メタデータ、ホスト/ローカルの起動指示、MCP アプリなどの UI サーフェスを含めることができます。
|
|
122
126
|
|
|
123
127
|
> **詳細は以下の通り:** アプリベースの skills の仕組み (マニフェスト形式、CLI コマンド、マーケットプレイス アダプター、自動更新ハッシュ) は、[App-backed skills — full details](#app-backed-skills-full) で説明されています。
|
|
@@ -328,6 +332,7 @@ Hosted はデフォルトのインストール パスです。ローカル起動
|
|
|
328
332
|
```bash
|
|
329
333
|
# ハッピー パス: エクスポートされた命令とホストされた MCP コネクタ。
|
|
330
334
|
npx @agent-native/core@latest skills add visual-plan
|
|
335
|
+
npx @agent-native/core@latest skills add visual-edit
|
|
331
336
|
npx @agent-native/core@latest skills add assets
|
|
332
337
|
|
|
333
338
|
# リポジトリ優先コンテンツ docs/blog/MDX 編集。
|