@agent-native/core 0.79.26 → 0.79.27
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 +13 -0
- package/corpus/core/docs/content/a2a-protocol.mdx +97 -9
- package/corpus/core/docs/content/actions.mdx +65 -4
- package/corpus/core/docs/content/agent-mentions.mdx +68 -4
- package/corpus/core/docs/content/agent-surfaces.mdx +112 -8
- package/corpus/core/docs/content/agent-teams.mdx +171 -12
- package/corpus/core/docs/content/agent-web-surfaces.mdx +51 -4
- package/corpus/core/docs/content/authentication.mdx +122 -8
- package/corpus/core/docs/content/automations.mdx +110 -8
- package/corpus/core/docs/content/blueprint-installer.mdx +42 -4
- package/corpus/core/docs/content/cli-adapters.mdx +44 -4
- package/corpus/core/docs/content/client.mdx +79 -8
- package/corpus/core/docs/content/cloneable-saas.mdx +85 -8
- package/corpus/core/docs/content/code-agents-ui.mdx +98 -8
- package/corpus/core/docs/content/components.mdx +118 -8
- package/corpus/core/docs/content/context-awareness.mdx +98 -8
- package/corpus/core/docs/content/creating-templates.mdx +49 -4
- package/corpus/core/docs/content/cross-app-sso.mdx +109 -8
- package/corpus/core/docs/content/database.mdx +56 -4
- package/corpus/core/docs/content/deployment.mdx +103 -8
- package/corpus/core/docs/content/dispatch.mdx +134 -8
- package/corpus/core/docs/content/drop-in-agent.mdx +63 -4
- package/corpus/core/docs/content/durable-background-runs.mdx +98 -8
- package/corpus/core/docs/content/durable-resume.mdx +47 -4
- package/corpus/core/docs/content/embedding-sdk.mdx +83 -8
- package/corpus/core/docs/content/evals.mdx +102 -8
- package/corpus/core/docs/content/extensions.mdx +113 -9
- package/corpus/core/docs/content/external-agents.mdx +119 -8
- package/corpus/core/docs/content/faq.mdx +98 -8
- package/corpus/core/docs/content/file-uploads.mdx +61 -4
- package/corpus/core/docs/content/frames.mdx +90 -8
- package/corpus/core/docs/content/generative-ui.mdx +50 -4
- package/corpus/core/docs/content/getting-started.mdx +34 -4
- package/corpus/core/docs/content/harness-agents.mdx +77 -8
- package/corpus/core/docs/content/human-approval.mdx +50 -4
- package/corpus/core/docs/content/key-concepts.mdx +102 -8
- package/corpus/core/docs/content/local-file-mode.mdx +58 -4
- package/corpus/core/docs/content/locales/ar-SA/a2a-protocol.mdx +97 -9
- package/corpus/core/docs/content/locales/ar-SA/actions.mdx +65 -4
- package/corpus/core/docs/content/locales/ar-SA/agent-mentions.mdx +68 -4
- package/corpus/core/docs/content/locales/ar-SA/agent-surfaces.mdx +114 -8
- package/corpus/core/docs/content/locales/ar-SA/agent-teams.mdx +174 -12
- package/corpus/core/docs/content/locales/ar-SA/agent-web-surfaces.mdx +49 -4
- package/corpus/core/docs/content/locales/ar-SA/authentication.mdx +120 -8
- package/corpus/core/docs/content/locales/ar-SA/automations.mdx +110 -8
- package/corpus/core/docs/content/locales/ar-SA/blueprint-installer.mdx +42 -4
- package/corpus/core/docs/content/locales/ar-SA/cli-adapters.mdx +40 -4
- package/corpus/core/docs/content/locales/ar-SA/client.mdx +80 -8
- package/corpus/core/docs/content/locales/ar-SA/cloneable-saas.mdx +85 -8
- package/corpus/core/docs/content/locales/ar-SA/code-agents-ui.mdx +99 -8
- package/corpus/core/docs/content/locales/ar-SA/components.mdx +114 -8
- package/corpus/core/docs/content/locales/ar-SA/context-awareness.mdx +100 -8
- package/corpus/core/docs/content/locales/ar-SA/creating-templates.mdx +51 -4
- package/corpus/core/docs/content/locales/ar-SA/cross-app-sso.mdx +109 -8
- package/corpus/core/docs/content/locales/ar-SA/database.mdx +52 -4
- package/corpus/core/docs/content/locales/ar-SA/deployment.mdx +103 -8
- package/corpus/core/docs/content/locales/ar-SA/dispatch.mdx +134 -8
- package/corpus/core/docs/content/locales/ar-SA/drop-in-agent.mdx +63 -4
- package/corpus/core/docs/content/locales/ar-SA/durable-resume.mdx +47 -4
- package/corpus/core/docs/content/locales/ar-SA/embedding-sdk.mdx +83 -8
- package/corpus/core/docs/content/locales/ar-SA/evals.mdx +102 -8
- package/corpus/core/docs/content/locales/ar-SA/extensions.mdx +113 -9
- package/corpus/core/docs/content/locales/ar-SA/external-agents.mdx +119 -8
- package/corpus/core/docs/content/locales/ar-SA/faq.mdx +98 -8
- package/corpus/core/docs/content/locales/ar-SA/file-uploads.mdx +61 -4
- package/corpus/core/docs/content/locales/ar-SA/frames.mdx +88 -8
- package/corpus/core/docs/content/locales/ar-SA/getting-started.mdx +34 -4
- package/corpus/core/docs/content/locales/ar-SA/harness-agents.mdx +79 -8
- package/corpus/core/docs/content/locales/ar-SA/human-approval.mdx +50 -4
- package/corpus/core/docs/content/locales/ar-SA/key-concepts.mdx +107 -8
- package/corpus/core/docs/content/locales/ar-SA/local-file-mode.mdx +56 -4
- package/corpus/core/docs/content/locales/ar-SA/mcp-apps.mdx +120 -10
- package/corpus/core/docs/content/locales/ar-SA/mcp-clients.mdx +133 -8
- package/corpus/core/docs/content/locales/ar-SA/mcp-protocol.mdx +105 -8
- package/corpus/core/docs/content/locales/ar-SA/messaging.mdx +115 -8
- package/corpus/core/docs/content/locales/ar-SA/migration-workbench.mdx +47 -4
- package/corpus/core/docs/content/locales/ar-SA/multi-app-workspace.mdx +91 -8
- package/corpus/core/docs/content/locales/ar-SA/multi-tenancy.mdx +80 -8
- package/corpus/core/docs/content/locales/ar-SA/native-chat-ui.mdx +104 -8
- package/corpus/core/docs/content/locales/ar-SA/notifications.mdx +135 -8
- package/corpus/core/docs/content/locales/ar-SA/observability.mdx +102 -8
- package/corpus/core/docs/content/locales/ar-SA/observational-memory.mdx +87 -8
- package/corpus/core/docs/content/locales/ar-SA/onboarding.mdx +45 -4
- package/corpus/core/docs/content/locales/ar-SA/plan-plugin.mdx +99 -8
- package/corpus/core/docs/content/locales/ar-SA/pr-visual-recap.mdx +125 -8
- package/corpus/core/docs/content/locales/ar-SA/processors.mdx +41 -4
- package/corpus/core/docs/content/locales/ar-SA/progress.mdx +46 -4
- package/corpus/core/docs/content/locales/ar-SA/pure-agent-apps.mdx +48 -4
- package/corpus/core/docs/content/locales/ar-SA/real-time-collaboration.mdx +102 -8
- package/corpus/core/docs/content/locales/ar-SA/recurring-jobs.mdx +59 -4
- package/corpus/core/docs/content/locales/ar-SA/routing.mdx +44 -5
- package/corpus/core/docs/content/locales/ar-SA/sandbox-adapters.mdx +43 -4
- package/corpus/core/docs/content/locales/ar-SA/security.mdx +80 -8
- package/corpus/core/docs/content/locales/ar-SA/server.mdx +173 -12
- package/corpus/core/docs/content/locales/ar-SA/sharing.mdx +45 -4
- package/corpus/core/docs/content/locales/ar-SA/skills-guide.mdx +118 -9
- package/corpus/core/docs/content/locales/ar-SA/template-analytics.mdx +46 -4
- package/corpus/core/docs/content/locales/ar-SA/template-assets.mdx +62 -4
- package/corpus/core/docs/content/locales/ar-SA/template-brain.mdx +65 -4
- package/corpus/core/docs/content/locales/ar-SA/template-calendar.mdx +62 -4
- package/corpus/core/docs/content/locales/ar-SA/template-chat.mdx +61 -4
- package/corpus/core/docs/content/locales/ar-SA/template-clips.mdx +52 -4
- package/corpus/core/docs/content/locales/ar-SA/template-content.mdx +62 -4
- package/corpus/core/docs/content/locales/ar-SA/template-design.mdx +60 -4
- package/corpus/core/docs/content/locales/ar-SA/template-dispatch.mdx +57 -4
- package/corpus/core/docs/content/locales/ar-SA/template-forms.mdx +62 -4
- package/corpus/core/docs/content/locales/ar-SA/template-mail.mdx +60 -4
- package/corpus/core/docs/content/locales/ar-SA/template-plan.mdx +61 -4
- package/corpus/core/docs/content/locales/ar-SA/template-slides.mdx +49 -4
- package/corpus/core/docs/content/locales/ar-SA/template-videos.mdx +53 -4
- package/corpus/core/docs/content/locales/ar-SA/tracking.mdx +54 -4
- package/corpus/core/docs/content/locales/ar-SA/using-your-agent.mdx +51 -4
- package/corpus/core/docs/content/locales/ar-SA/voice-input.mdx +43 -4
- package/corpus/core/docs/content/locales/ar-SA/what-is-agent-native.mdx +96 -8
- package/corpus/core/docs/content/locales/ar-SA/workspace-connections.mdx +128 -8
- package/corpus/core/docs/content/locales/ar-SA/workspace-management.mdx +50 -4
- package/corpus/core/docs/content/locales/ar-SA/workspace.mdx +112 -8
- package/corpus/core/docs/content/locales/ar-SA/writing-agent-instructions.mdx +41 -4
- package/corpus/core/docs/content/locales/de-DE/a2a-protocol.mdx +99 -9
- package/corpus/core/docs/content/locales/de-DE/actions.mdx +67 -4
- package/corpus/core/docs/content/locales/de-DE/agent-mentions.mdx +68 -4
- package/corpus/core/docs/content/locales/de-DE/agent-surfaces.mdx +116 -8
- package/corpus/core/docs/content/locales/de-DE/agent-teams.mdx +171 -12
- package/corpus/core/docs/content/locales/de-DE/agent-web-surfaces.mdx +51 -4
- package/corpus/core/docs/content/locales/de-DE/authentication.mdx +122 -8
- package/corpus/core/docs/content/locales/de-DE/automations.mdx +110 -8
- package/corpus/core/docs/content/locales/de-DE/blueprint-installer.mdx +42 -4
- package/corpus/core/docs/content/locales/de-DE/cli-adapters.mdx +44 -4
- package/corpus/core/docs/content/locales/de-DE/client.mdx +79 -8
- package/corpus/core/docs/content/locales/de-DE/cloneable-saas.mdx +85 -8
- package/corpus/core/docs/content/locales/de-DE/code-agents-ui.mdx +100 -8
- package/corpus/core/docs/content/locales/de-DE/components.mdx +118 -8
- package/corpus/core/docs/content/locales/de-DE/context-awareness.mdx +98 -8
- package/corpus/core/docs/content/locales/de-DE/creating-templates.mdx +51 -4
- package/corpus/core/docs/content/locales/de-DE/cross-app-sso.mdx +109 -8
- package/corpus/core/docs/content/locales/de-DE/database.mdx +52 -4
- package/corpus/core/docs/content/locales/de-DE/deployment.mdx +103 -8
- package/corpus/core/docs/content/locales/de-DE/dispatch.mdx +134 -8
- package/corpus/core/docs/content/locales/de-DE/drop-in-agent.mdx +63 -4
- package/corpus/core/docs/content/locales/de-DE/durable-resume.mdx +47 -4
- package/corpus/core/docs/content/locales/de-DE/embedding-sdk.mdx +85 -8
- package/corpus/core/docs/content/locales/de-DE/evals.mdx +102 -8
- package/corpus/core/docs/content/locales/de-DE/extensions.mdx +113 -9
- package/corpus/core/docs/content/locales/de-DE/external-agents.mdx +119 -8
- package/corpus/core/docs/content/locales/de-DE/faq.mdx +98 -8
- package/corpus/core/docs/content/locales/de-DE/file-uploads.mdx +61 -4
- package/corpus/core/docs/content/locales/de-DE/frames.mdx +88 -8
- package/corpus/core/docs/content/locales/de-DE/getting-started.mdx +34 -4
- package/corpus/core/docs/content/locales/de-DE/harness-agents.mdx +79 -8
- package/corpus/core/docs/content/locales/de-DE/human-approval.mdx +50 -4
- package/corpus/core/docs/content/locales/de-DE/key-concepts.mdx +104 -8
- package/corpus/core/docs/content/locales/de-DE/local-file-mode.mdx +58 -4
- package/corpus/core/docs/content/locales/de-DE/mcp-apps.mdx +120 -10
- package/corpus/core/docs/content/locales/de-DE/mcp-clients.mdx +133 -8
- package/corpus/core/docs/content/locales/de-DE/mcp-protocol.mdx +105 -8
- package/corpus/core/docs/content/locales/de-DE/messaging.mdx +115 -8
- package/corpus/core/docs/content/locales/de-DE/migration-workbench.mdx +47 -4
- package/corpus/core/docs/content/locales/de-DE/multi-app-workspace.mdx +91 -8
- package/corpus/core/docs/content/locales/de-DE/multi-tenancy.mdx +80 -8
- package/corpus/core/docs/content/locales/de-DE/native-chat-ui.mdx +108 -8
- package/corpus/core/docs/content/locales/de-DE/notifications.mdx +135 -8
- package/corpus/core/docs/content/locales/de-DE/observability.mdx +102 -8
- package/corpus/core/docs/content/locales/de-DE/observational-memory.mdx +92 -8
- package/corpus/core/docs/content/locales/de-DE/onboarding.mdx +45 -4
- package/corpus/core/docs/content/locales/de-DE/plan-plugin.mdx +99 -8
- package/corpus/core/docs/content/locales/de-DE/pr-visual-recap.mdx +125 -8
- package/corpus/core/docs/content/locales/de-DE/processors.mdx +41 -4
- package/corpus/core/docs/content/locales/de-DE/progress.mdx +46 -4
- package/corpus/core/docs/content/locales/de-DE/pure-agent-apps.mdx +50 -4
- package/corpus/core/docs/content/locales/de-DE/real-time-collaboration.mdx +104 -8
- package/corpus/core/docs/content/locales/de-DE/recurring-jobs.mdx +59 -4
- package/corpus/core/docs/content/locales/de-DE/routing.mdx +44 -5
- package/corpus/core/docs/content/locales/de-DE/sandbox-adapters.mdx +43 -4
- package/corpus/core/docs/content/locales/de-DE/security.mdx +80 -8
- package/corpus/core/docs/content/locales/de-DE/server.mdx +171 -12
- package/corpus/core/docs/content/locales/de-DE/sharing.mdx +45 -4
- package/corpus/core/docs/content/locales/de-DE/skills-guide.mdx +118 -9
- package/corpus/core/docs/content/locales/de-DE/template-analytics.mdx +46 -4
- package/corpus/core/docs/content/locales/de-DE/template-assets.mdx +62 -4
- package/corpus/core/docs/content/locales/de-DE/template-brain.mdx +69 -4
- package/corpus/core/docs/content/locales/de-DE/template-calendar.mdx +62 -4
- package/corpus/core/docs/content/locales/de-DE/template-chat.mdx +61 -4
- package/corpus/core/docs/content/locales/de-DE/template-clips.mdx +52 -4
- package/corpus/core/docs/content/locales/de-DE/template-content.mdx +60 -4
- package/corpus/core/docs/content/locales/de-DE/template-design.mdx +58 -4
- package/corpus/core/docs/content/locales/de-DE/template-dispatch.mdx +57 -4
- package/corpus/core/docs/content/locales/de-DE/template-forms.mdx +64 -4
- package/corpus/core/docs/content/locales/de-DE/template-mail.mdx +60 -4
- package/corpus/core/docs/content/locales/de-DE/template-plan.mdx +63 -4
- package/corpus/core/docs/content/locales/de-DE/template-slides.mdx +49 -4
- package/corpus/core/docs/content/locales/de-DE/template-videos.mdx +53 -4
- package/corpus/core/docs/content/locales/de-DE/tracking.mdx +54 -4
- package/corpus/core/docs/content/locales/de-DE/using-your-agent.mdx +51 -4
- package/corpus/core/docs/content/locales/de-DE/voice-input.mdx +45 -4
- package/corpus/core/docs/content/locales/de-DE/what-is-agent-native.mdx +100 -8
- package/corpus/core/docs/content/locales/de-DE/workspace-connections.mdx +128 -8
- package/corpus/core/docs/content/locales/de-DE/workspace-management.mdx +50 -4
- package/corpus/core/docs/content/locales/de-DE/workspace.mdx +111 -8
- package/corpus/core/docs/content/locales/de-DE/writing-agent-instructions.mdx +45 -4
- package/corpus/core/docs/content/locales/es-ES/a2a-protocol.mdx +99 -9
- package/corpus/core/docs/content/locales/es-ES/actions.mdx +67 -4
- package/corpus/core/docs/content/locales/es-ES/agent-mentions.mdx +68 -4
- package/corpus/core/docs/content/locales/es-ES/agent-surfaces.mdx +120 -8
- package/corpus/core/docs/content/locales/es-ES/agent-teams.mdx +172 -12
- package/corpus/core/docs/content/locales/es-ES/agent-web-surfaces.mdx +51 -4
- package/corpus/core/docs/content/locales/es-ES/authentication.mdx +122 -8
- package/corpus/core/docs/content/locales/es-ES/automations.mdx +110 -8
- package/corpus/core/docs/content/locales/es-ES/blueprint-installer.mdx +42 -4
- package/corpus/core/docs/content/locales/es-ES/cli-adapters.mdx +44 -4
- package/corpus/core/docs/content/locales/es-ES/client.mdx +79 -8
- package/corpus/core/docs/content/locales/es-ES/cloneable-saas.mdx +85 -8
- package/corpus/core/docs/content/locales/es-ES/code-agents-ui.mdx +101 -8
- package/corpus/core/docs/content/locales/es-ES/components.mdx +118 -8
- package/corpus/core/docs/content/locales/es-ES/context-awareness.mdx +98 -8
- package/corpus/core/docs/content/locales/es-ES/creating-templates.mdx +51 -4
- package/corpus/core/docs/content/locales/es-ES/cross-app-sso.mdx +109 -8
- package/corpus/core/docs/content/locales/es-ES/database.mdx +52 -4
- package/corpus/core/docs/content/locales/es-ES/deployment.mdx +103 -8
- package/corpus/core/docs/content/locales/es-ES/dispatch.mdx +134 -8
- package/corpus/core/docs/content/locales/es-ES/drop-in-agent.mdx +63 -4
- package/corpus/core/docs/content/locales/es-ES/durable-resume.mdx +47 -4
- package/corpus/core/docs/content/locales/es-ES/embedding-sdk.mdx +87 -8
- package/corpus/core/docs/content/locales/es-ES/evals.mdx +102 -8
- package/corpus/core/docs/content/locales/es-ES/extensions.mdx +113 -9
- package/corpus/core/docs/content/locales/es-ES/external-agents.mdx +119 -8
- package/corpus/core/docs/content/locales/es-ES/faq.mdx +98 -8
- package/corpus/core/docs/content/locales/es-ES/file-uploads.mdx +61 -4
- package/corpus/core/docs/content/locales/es-ES/frames.mdx +88 -8
- package/corpus/core/docs/content/locales/es-ES/getting-started.mdx +34 -4
- package/corpus/core/docs/content/locales/es-ES/harness-agents.mdx +79 -8
- package/corpus/core/docs/content/locales/es-ES/human-approval.mdx +50 -4
- package/corpus/core/docs/content/locales/es-ES/key-concepts.mdx +104 -8
- package/corpus/core/docs/content/locales/es-ES/local-file-mode.mdx +60 -4
- package/corpus/core/docs/content/locales/es-ES/mcp-apps.mdx +120 -10
- package/corpus/core/docs/content/locales/es-ES/mcp-clients.mdx +135 -8
- package/corpus/core/docs/content/locales/es-ES/mcp-protocol.mdx +105 -8
- package/corpus/core/docs/content/locales/es-ES/messaging.mdx +115 -8
- package/corpus/core/docs/content/locales/es-ES/migration-workbench.mdx +47 -4
- package/corpus/core/docs/content/locales/es-ES/multi-app-workspace.mdx +91 -8
- package/corpus/core/docs/content/locales/es-ES/multi-tenancy.mdx +80 -8
- package/corpus/core/docs/content/locales/es-ES/native-chat-ui.mdx +108 -8
- package/corpus/core/docs/content/locales/es-ES/notifications.mdx +135 -8
- package/corpus/core/docs/content/locales/es-ES/observability.mdx +104 -8
- package/corpus/core/docs/content/locales/es-ES/observational-memory.mdx +92 -8
- package/corpus/core/docs/content/locales/es-ES/onboarding.mdx +45 -4
- package/corpus/core/docs/content/locales/es-ES/plan-plugin.mdx +99 -8
- package/corpus/core/docs/content/locales/es-ES/pr-visual-recap.mdx +125 -8
- package/corpus/core/docs/content/locales/es-ES/processors.mdx +41 -4
- package/corpus/core/docs/content/locales/es-ES/progress.mdx +46 -4
- package/corpus/core/docs/content/locales/es-ES/pure-agent-apps.mdx +50 -4
- package/corpus/core/docs/content/locales/es-ES/real-time-collaboration.mdx +109 -8
- package/corpus/core/docs/content/locales/es-ES/recurring-jobs.mdx +59 -4
- package/corpus/core/docs/content/locales/es-ES/routing.mdx +44 -5
- package/corpus/core/docs/content/locales/es-ES/sandbox-adapters.mdx +44 -4
- package/corpus/core/docs/content/locales/es-ES/security.mdx +82 -8
- package/corpus/core/docs/content/locales/es-ES/server.mdx +173 -12
- package/corpus/core/docs/content/locales/es-ES/sharing.mdx +45 -4
- package/corpus/core/docs/content/locales/es-ES/skills-guide.mdx +118 -9
- package/corpus/core/docs/content/locales/es-ES/template-analytics.mdx +46 -4
- package/corpus/core/docs/content/locales/es-ES/template-assets.mdx +64 -4
- package/corpus/core/docs/content/locales/es-ES/template-brain.mdx +69 -4
- package/corpus/core/docs/content/locales/es-ES/template-calendar.mdx +62 -4
- package/corpus/core/docs/content/locales/es-ES/template-chat.mdx +61 -4
- package/corpus/core/docs/content/locales/es-ES/template-clips.mdx +52 -4
- package/corpus/core/docs/content/locales/es-ES/template-content.mdx +64 -4
- package/corpus/core/docs/content/locales/es-ES/template-design.mdx +58 -4
- package/corpus/core/docs/content/locales/es-ES/template-dispatch.mdx +57 -4
- package/corpus/core/docs/content/locales/es-ES/template-forms.mdx +64 -4
- package/corpus/core/docs/content/locales/es-ES/template-mail.mdx +60 -4
- package/corpus/core/docs/content/locales/es-ES/template-plan.mdx +61 -4
- package/corpus/core/docs/content/locales/es-ES/template-slides.mdx +49 -4
- package/corpus/core/docs/content/locales/es-ES/template-videos.mdx +53 -4
- package/corpus/core/docs/content/locales/es-ES/tracking.mdx +54 -4
- package/corpus/core/docs/content/locales/es-ES/using-your-agent.mdx +51 -4
- package/corpus/core/docs/content/locales/es-ES/voice-input.mdx +45 -4
- package/corpus/core/docs/content/locales/es-ES/what-is-agent-native.mdx +99 -8
- package/corpus/core/docs/content/locales/es-ES/workspace-connections.mdx +128 -8
- package/corpus/core/docs/content/locales/es-ES/workspace-management.mdx +50 -4
- package/corpus/core/docs/content/locales/es-ES/workspace.mdx +112 -8
- package/corpus/core/docs/content/locales/es-ES/writing-agent-instructions.mdx +46 -4
- package/corpus/core/docs/content/locales/fr-FR/a2a-protocol.mdx +97 -9
- package/corpus/core/docs/content/locales/fr-FR/actions.mdx +67 -4
- package/corpus/core/docs/content/locales/fr-FR/agent-mentions.mdx +68 -4
- package/corpus/core/docs/content/locales/fr-FR/agent-surfaces.mdx +118 -8
- package/corpus/core/docs/content/locales/fr-FR/agent-teams.mdx +172 -12
- package/corpus/core/docs/content/locales/fr-FR/agent-web-surfaces.mdx +51 -4
- package/corpus/core/docs/content/locales/fr-FR/authentication.mdx +122 -8
- package/corpus/core/docs/content/locales/fr-FR/automations.mdx +110 -8
- package/corpus/core/docs/content/locales/fr-FR/blueprint-installer.mdx +42 -4
- package/corpus/core/docs/content/locales/fr-FR/cli-adapters.mdx +44 -4
- package/corpus/core/docs/content/locales/fr-FR/client.mdx +81 -8
- package/corpus/core/docs/content/locales/fr-FR/cloneable-saas.mdx +85 -8
- package/corpus/core/docs/content/locales/fr-FR/code-agents-ui.mdx +102 -8
- package/corpus/core/docs/content/locales/fr-FR/components.mdx +118 -8
- package/corpus/core/docs/content/locales/fr-FR/context-awareness.mdx +98 -8
- package/corpus/core/docs/content/locales/fr-FR/creating-templates.mdx +49 -4
- package/corpus/core/docs/content/locales/fr-FR/cross-app-sso.mdx +109 -8
- package/corpus/core/docs/content/locales/fr-FR/database.mdx +52 -4
- package/corpus/core/docs/content/locales/fr-FR/deployment.mdx +103 -8
- package/corpus/core/docs/content/locales/fr-FR/dispatch.mdx +134 -8
- package/corpus/core/docs/content/locales/fr-FR/drop-in-agent.mdx +63 -4
- package/corpus/core/docs/content/locales/fr-FR/durable-resume.mdx +47 -4
- package/corpus/core/docs/content/locales/fr-FR/embedding-sdk.mdx +87 -8
- package/corpus/core/docs/content/locales/fr-FR/evals.mdx +102 -8
- package/corpus/core/docs/content/locales/fr-FR/extensions.mdx +113 -9
- package/corpus/core/docs/content/locales/fr-FR/external-agents.mdx +119 -8
- package/corpus/core/docs/content/locales/fr-FR/faq.mdx +98 -8
- package/corpus/core/docs/content/locales/fr-FR/file-uploads.mdx +61 -4
- package/corpus/core/docs/content/locales/fr-FR/frames.mdx +90 -8
- package/corpus/core/docs/content/locales/fr-FR/getting-started.mdx +34 -4
- package/corpus/core/docs/content/locales/fr-FR/harness-agents.mdx +77 -8
- package/corpus/core/docs/content/locales/fr-FR/human-approval.mdx +50 -4
- package/corpus/core/docs/content/locales/fr-FR/key-concepts.mdx +106 -8
- package/corpus/core/docs/content/locales/fr-FR/local-file-mode.mdx +58 -4
- package/corpus/core/docs/content/locales/fr-FR/mcp-apps.mdx +120 -10
- package/corpus/core/docs/content/locales/fr-FR/mcp-clients.mdx +135 -8
- package/corpus/core/docs/content/locales/fr-FR/mcp-protocol.mdx +105 -8
- package/corpus/core/docs/content/locales/fr-FR/messaging.mdx +115 -8
- package/corpus/core/docs/content/locales/fr-FR/migration-workbench.mdx +47 -4
- package/corpus/core/docs/content/locales/fr-FR/multi-app-workspace.mdx +91 -8
- package/corpus/core/docs/content/locales/fr-FR/multi-tenancy.mdx +80 -8
- package/corpus/core/docs/content/locales/fr-FR/native-chat-ui.mdx +108 -8
- package/corpus/core/docs/content/locales/fr-FR/notifications.mdx +135 -8
- package/corpus/core/docs/content/locales/fr-FR/observability.mdx +104 -8
- package/corpus/core/docs/content/locales/fr-FR/observational-memory.mdx +89 -8
- package/corpus/core/docs/content/locales/fr-FR/onboarding.mdx +45 -4
- package/corpus/core/docs/content/locales/fr-FR/plan-plugin.mdx +99 -8
- package/corpus/core/docs/content/locales/fr-FR/pr-visual-recap.mdx +126 -8
- package/corpus/core/docs/content/locales/fr-FR/processors.mdx +41 -4
- package/corpus/core/docs/content/locales/fr-FR/progress.mdx +46 -4
- package/corpus/core/docs/content/locales/fr-FR/pure-agent-apps.mdx +48 -4
- package/corpus/core/docs/content/locales/fr-FR/real-time-collaboration.mdx +107 -8
- package/corpus/core/docs/content/locales/fr-FR/recurring-jobs.mdx +59 -4
- package/corpus/core/docs/content/locales/fr-FR/routing.mdx +44 -5
- package/corpus/core/docs/content/locales/fr-FR/sandbox-adapters.mdx +44 -4
- package/corpus/core/docs/content/locales/fr-FR/security.mdx +82 -8
- package/corpus/core/docs/content/locales/fr-FR/server.mdx +173 -12
- package/corpus/core/docs/content/locales/fr-FR/sharing.mdx +45 -4
- package/corpus/core/docs/content/locales/fr-FR/skills-guide.mdx +118 -9
- package/corpus/core/docs/content/locales/fr-FR/template-analytics.mdx +46 -4
- package/corpus/core/docs/content/locales/fr-FR/template-assets.mdx +66 -4
- package/corpus/core/docs/content/locales/fr-FR/template-brain.mdx +69 -4
- package/corpus/core/docs/content/locales/fr-FR/template-calendar.mdx +62 -4
- package/corpus/core/docs/content/locales/fr-FR/template-chat.mdx +61 -4
- package/corpus/core/docs/content/locales/fr-FR/template-clips.mdx +52 -4
- package/corpus/core/docs/content/locales/fr-FR/template-content.mdx +64 -4
- package/corpus/core/docs/content/locales/fr-FR/template-design.mdx +58 -4
- package/corpus/core/docs/content/locales/fr-FR/template-dispatch.mdx +57 -4
- package/corpus/core/docs/content/locales/fr-FR/template-forms.mdx +64 -4
- package/corpus/core/docs/content/locales/fr-FR/template-mail.mdx +60 -4
- package/corpus/core/docs/content/locales/fr-FR/template-plan.mdx +61 -4
- package/corpus/core/docs/content/locales/fr-FR/template-slides.mdx +49 -4
- package/corpus/core/docs/content/locales/fr-FR/template-videos.mdx +53 -4
- package/corpus/core/docs/content/locales/fr-FR/tracking.mdx +54 -4
- package/corpus/core/docs/content/locales/fr-FR/using-your-agent.mdx +51 -4
- package/corpus/core/docs/content/locales/fr-FR/voice-input.mdx +45 -4
- package/corpus/core/docs/content/locales/fr-FR/what-is-agent-native.mdx +101 -8
- package/corpus/core/docs/content/locales/fr-FR/workspace-connections.mdx +128 -8
- package/corpus/core/docs/content/locales/fr-FR/workspace-management.mdx +50 -4
- package/corpus/core/docs/content/locales/fr-FR/workspace.mdx +112 -8
- package/corpus/core/docs/content/locales/fr-FR/writing-agent-instructions.mdx +47 -4
- package/corpus/core/docs/content/locales/hi-IN/a2a-protocol.mdx +97 -9
- package/corpus/core/docs/content/locales/hi-IN/actions.mdx +63 -4
- package/corpus/core/docs/content/locales/hi-IN/agent-mentions.mdx +68 -4
- package/corpus/core/docs/content/locales/hi-IN/agent-surfaces.mdx +112 -8
- package/corpus/core/docs/content/locales/hi-IN/agent-teams.mdx +171 -12
- package/corpus/core/docs/content/locales/hi-IN/agent-web-surfaces.mdx +51 -4
- package/corpus/core/docs/content/locales/hi-IN/authentication.mdx +122 -8
- package/corpus/core/docs/content/locales/hi-IN/automations.mdx +110 -8
- package/corpus/core/docs/content/locales/hi-IN/blueprint-installer.mdx +42 -4
- package/corpus/core/docs/content/locales/hi-IN/cli-adapters.mdx +44 -4
- package/corpus/core/docs/content/locales/hi-IN/client.mdx +79 -8
- package/corpus/core/docs/content/locales/hi-IN/cloneable-saas.mdx +85 -8
- package/corpus/core/docs/content/locales/hi-IN/code-agents-ui.mdx +96 -8
- package/corpus/core/docs/content/locales/hi-IN/components.mdx +114 -8
- package/corpus/core/docs/content/locales/hi-IN/context-awareness.mdx +102 -8
- package/corpus/core/docs/content/locales/hi-IN/creating-templates.mdx +53 -4
- package/corpus/core/docs/content/locales/hi-IN/cross-app-sso.mdx +109 -8
- package/corpus/core/docs/content/locales/hi-IN/database.mdx +52 -4
- package/corpus/core/docs/content/locales/hi-IN/deployment.mdx +103 -8
- package/corpus/core/docs/content/locales/hi-IN/dispatch.mdx +134 -8
- package/corpus/core/docs/content/locales/hi-IN/drop-in-agent.mdx +63 -4
- package/corpus/core/docs/content/locales/hi-IN/durable-resume.mdx +47 -4
- package/corpus/core/docs/content/locales/hi-IN/embedding-sdk.mdx +83 -8
- package/corpus/core/docs/content/locales/hi-IN/evals.mdx +100 -8
- package/corpus/core/docs/content/locales/hi-IN/extensions.mdx +113 -9
- package/corpus/core/docs/content/locales/hi-IN/external-agents.mdx +119 -8
- package/corpus/core/docs/content/locales/hi-IN/faq.mdx +96 -8
- package/corpus/core/docs/content/locales/hi-IN/file-uploads.mdx +61 -4
- package/corpus/core/docs/content/locales/hi-IN/frames.mdx +88 -8
- package/corpus/core/docs/content/locales/hi-IN/getting-started.mdx +34 -4
- package/corpus/core/docs/content/locales/hi-IN/harness-agents.mdx +77 -8
- package/corpus/core/docs/content/locales/hi-IN/human-approval.mdx +51 -4
- package/corpus/core/docs/content/locales/hi-IN/key-concepts.mdx +104 -8
- package/corpus/core/docs/content/locales/hi-IN/local-file-mode.mdx +58 -4
- package/corpus/core/docs/content/locales/hi-IN/mcp-apps.mdx +120 -10
- package/corpus/core/docs/content/locales/hi-IN/mcp-clients.mdx +133 -8
- package/corpus/core/docs/content/locales/hi-IN/mcp-protocol.mdx +105 -8
- package/corpus/core/docs/content/locales/hi-IN/messaging.mdx +115 -8
- package/corpus/core/docs/content/locales/hi-IN/migration-workbench.mdx +45 -4
- package/corpus/core/docs/content/locales/hi-IN/multi-app-workspace.mdx +91 -8
- package/corpus/core/docs/content/locales/hi-IN/multi-tenancy.mdx +80 -8
- package/corpus/core/docs/content/locales/hi-IN/native-chat-ui.mdx +106 -8
- package/corpus/core/docs/content/locales/hi-IN/notifications.mdx +135 -8
- package/corpus/core/docs/content/locales/hi-IN/observability.mdx +102 -8
- package/corpus/core/docs/content/locales/hi-IN/observational-memory.mdx +89 -8
- package/corpus/core/docs/content/locales/hi-IN/onboarding.mdx +45 -4
- package/corpus/core/docs/content/locales/hi-IN/plan-plugin.mdx +99 -8
- package/corpus/core/docs/content/locales/hi-IN/pr-visual-recap.mdx +126 -8
- package/corpus/core/docs/content/locales/hi-IN/processors.mdx +41 -4
- package/corpus/core/docs/content/locales/hi-IN/progress.mdx +46 -4
- package/corpus/core/docs/content/locales/hi-IN/pure-agent-apps.mdx +48 -4
- package/corpus/core/docs/content/locales/hi-IN/real-time-collaboration.mdx +106 -8
- package/corpus/core/docs/content/locales/hi-IN/recurring-jobs.mdx +59 -4
- package/corpus/core/docs/content/locales/hi-IN/routing.mdx +44 -5
- package/corpus/core/docs/content/locales/hi-IN/sandbox-adapters.mdx +43 -4
- package/corpus/core/docs/content/locales/hi-IN/security.mdx +78 -8
- package/corpus/core/docs/content/locales/hi-IN/server.mdx +169 -12
- package/corpus/core/docs/content/locales/hi-IN/sharing.mdx +45 -4
- package/corpus/core/docs/content/locales/hi-IN/skills-guide.mdx +118 -9
- package/corpus/core/docs/content/locales/hi-IN/template-analytics.mdx +46 -4
- package/corpus/core/docs/content/locales/hi-IN/template-assets.mdx +62 -4
- package/corpus/core/docs/content/locales/hi-IN/template-brain.mdx +69 -4
- package/corpus/core/docs/content/locales/hi-IN/template-calendar.mdx +62 -4
- package/corpus/core/docs/content/locales/hi-IN/template-chat.mdx +59 -4
- package/corpus/core/docs/content/locales/hi-IN/template-clips.mdx +52 -4
- package/corpus/core/docs/content/locales/hi-IN/template-content.mdx +62 -4
- package/corpus/core/docs/content/locales/hi-IN/template-design.mdx +58 -4
- package/corpus/core/docs/content/locales/hi-IN/template-dispatch.mdx +57 -4
- package/corpus/core/docs/content/locales/hi-IN/template-forms.mdx +64 -4
- package/corpus/core/docs/content/locales/hi-IN/template-mail.mdx +64 -4
- package/corpus/core/docs/content/locales/hi-IN/template-plan.mdx +61 -4
- package/corpus/core/docs/content/locales/hi-IN/template-slides.mdx +49 -4
- package/corpus/core/docs/content/locales/hi-IN/template-videos.mdx +53 -4
- package/corpus/core/docs/content/locales/hi-IN/tracking.mdx +54 -4
- package/corpus/core/docs/content/locales/hi-IN/using-your-agent.mdx +51 -4
- package/corpus/core/docs/content/locales/hi-IN/voice-input.mdx +43 -4
- package/corpus/core/docs/content/locales/hi-IN/what-is-agent-native.mdx +97 -8
- package/corpus/core/docs/content/locales/hi-IN/workspace-connections.mdx +128 -8
- package/corpus/core/docs/content/locales/hi-IN/workspace-management.mdx +50 -4
- package/corpus/core/docs/content/locales/hi-IN/workspace.mdx +111 -8
- package/corpus/core/docs/content/locales/hi-IN/writing-agent-instructions.mdx +40 -4
- package/corpus/core/docs/content/locales/ja-JP/a2a-protocol.mdx +97 -9
- package/corpus/core/docs/content/locales/ja-JP/actions.mdx +67 -4
- package/corpus/core/docs/content/locales/ja-JP/agent-mentions.mdx +68 -4
- package/corpus/core/docs/content/locales/ja-JP/agent-surfaces.mdx +116 -8
- package/corpus/core/docs/content/locales/ja-JP/agent-teams.mdx +172 -12
- package/corpus/core/docs/content/locales/ja-JP/agent-web-surfaces.mdx +51 -4
- package/corpus/core/docs/content/locales/ja-JP/authentication.mdx +122 -8
- package/corpus/core/docs/content/locales/ja-JP/automations.mdx +110 -8
- package/corpus/core/docs/content/locales/ja-JP/blueprint-installer.mdx +44 -4
- package/corpus/core/docs/content/locales/ja-JP/cli-adapters.mdx +44 -4
- package/corpus/core/docs/content/locales/ja-JP/client.mdx +79 -8
- package/corpus/core/docs/content/locales/ja-JP/cloneable-saas.mdx +85 -8
- package/corpus/core/docs/content/locales/ja-JP/code-agents-ui.mdx +100 -8
- package/corpus/core/docs/content/locales/ja-JP/components.mdx +116 -8
- package/corpus/core/docs/content/locales/ja-JP/context-awareness.mdx +100 -8
- package/corpus/core/docs/content/locales/ja-JP/creating-templates.mdx +51 -4
- package/corpus/core/docs/content/locales/ja-JP/cross-app-sso.mdx +109 -8
- package/corpus/core/docs/content/locales/ja-JP/database.mdx +52 -4
- package/corpus/core/docs/content/locales/ja-JP/deployment.mdx +103 -8
- package/corpus/core/docs/content/locales/ja-JP/dispatch.mdx +134 -8
- package/corpus/core/docs/content/locales/ja-JP/drop-in-agent.mdx +63 -4
- package/corpus/core/docs/content/locales/ja-JP/durable-resume.mdx +47 -4
- package/corpus/core/docs/content/locales/ja-JP/embedding-sdk.mdx +85 -8
- package/corpus/core/docs/content/locales/ja-JP/evals.mdx +102 -8
- package/corpus/core/docs/content/locales/ja-JP/extensions.mdx +111 -9
- package/corpus/core/docs/content/locales/ja-JP/external-agents.mdx +119 -8
- package/corpus/core/docs/content/locales/ja-JP/faq.mdx +98 -8
- package/corpus/core/docs/content/locales/ja-JP/file-uploads.mdx +61 -4
- package/corpus/core/docs/content/locales/ja-JP/frames.mdx +88 -8
- package/corpus/core/docs/content/locales/ja-JP/getting-started.mdx +34 -4
- package/corpus/core/docs/content/locales/ja-JP/harness-agents.mdx +79 -8
- package/corpus/core/docs/content/locales/ja-JP/human-approval.mdx +50 -4
- package/corpus/core/docs/content/locales/ja-JP/key-concepts.mdx +105 -8
- package/corpus/core/docs/content/locales/ja-JP/local-file-mode.mdx +58 -4
- package/corpus/core/docs/content/locales/ja-JP/mcp-apps.mdx +119 -10
- package/corpus/core/docs/content/locales/ja-JP/mcp-clients.mdx +134 -8
- package/corpus/core/docs/content/locales/ja-JP/mcp-protocol.mdx +105 -8
- package/corpus/core/docs/content/locales/ja-JP/messaging.mdx +115 -8
- package/corpus/core/docs/content/locales/ja-JP/migration-workbench.mdx +47 -4
- package/corpus/core/docs/content/locales/ja-JP/multi-app-workspace.mdx +91 -8
- package/corpus/core/docs/content/locales/ja-JP/multi-tenancy.mdx +80 -8
- package/corpus/core/docs/content/locales/ja-JP/native-chat-ui.mdx +104 -8
- package/corpus/core/docs/content/locales/ja-JP/notifications.mdx +135 -8
- package/corpus/core/docs/content/locales/ja-JP/observability.mdx +104 -8
- package/corpus/core/docs/content/locales/ja-JP/observational-memory.mdx +89 -8
- package/corpus/core/docs/content/locales/ja-JP/onboarding.mdx +45 -4
- package/corpus/core/docs/content/locales/ja-JP/plan-plugin.mdx +99 -8
- package/corpus/core/docs/content/locales/ja-JP/pr-visual-recap.mdx +123 -8
- package/corpus/core/docs/content/locales/ja-JP/processors.mdx +39 -4
- package/corpus/core/docs/content/locales/ja-JP/progress.mdx +46 -4
- package/corpus/core/docs/content/locales/ja-JP/pure-agent-apps.mdx +48 -4
- package/corpus/core/docs/content/locales/ja-JP/real-time-collaboration.mdx +106 -8
- package/corpus/core/docs/content/locales/ja-JP/recurring-jobs.mdx +59 -4
- package/corpus/core/docs/content/locales/ja-JP/routing.mdx +44 -5
- package/corpus/core/docs/content/locales/ja-JP/sandbox-adapters.mdx +43 -4
- package/corpus/core/docs/content/locales/ja-JP/security.mdx +82 -8
- package/corpus/core/docs/content/locales/ja-JP/server.mdx +171 -12
- package/corpus/core/docs/content/locales/ja-JP/sharing.mdx +45 -4
- package/corpus/core/docs/content/locales/ja-JP/skills-guide.mdx +118 -9
- package/corpus/core/docs/content/locales/ja-JP/template-analytics.mdx +46 -4
- package/corpus/core/docs/content/locales/ja-JP/template-assets.mdx +64 -4
- package/corpus/core/docs/content/locales/ja-JP/template-brain.mdx +67 -4
- package/corpus/core/docs/content/locales/ja-JP/template-calendar.mdx +62 -4
- package/corpus/core/docs/content/locales/ja-JP/template-chat.mdx +61 -4
- package/corpus/core/docs/content/locales/ja-JP/template-clips.mdx +52 -4
- package/corpus/core/docs/content/locales/ja-JP/template-content.mdx +62 -4
- package/corpus/core/docs/content/locales/ja-JP/template-design.mdx +60 -4
- package/corpus/core/docs/content/locales/ja-JP/template-dispatch.mdx +57 -4
- package/corpus/core/docs/content/locales/ja-JP/template-forms.mdx +62 -4
- package/corpus/core/docs/content/locales/ja-JP/template-mail.mdx +62 -4
- package/corpus/core/docs/content/locales/ja-JP/template-plan.mdx +63 -4
- package/corpus/core/docs/content/locales/ja-JP/template-slides.mdx +49 -4
- package/corpus/core/docs/content/locales/ja-JP/template-videos.mdx +53 -4
- package/corpus/core/docs/content/locales/ja-JP/tracking.mdx +54 -4
- package/corpus/core/docs/content/locales/ja-JP/using-your-agent.mdx +51 -4
- package/corpus/core/docs/content/locales/ja-JP/voice-input.mdx +43 -4
- package/corpus/core/docs/content/locales/ja-JP/what-is-agent-native.mdx +96 -8
- package/corpus/core/docs/content/locales/ja-JP/workspace-connections.mdx +128 -8
- package/corpus/core/docs/content/locales/ja-JP/workspace-management.mdx +50 -4
- package/corpus/core/docs/content/locales/ja-JP/workspace.mdx +111 -8
- package/corpus/core/docs/content/locales/ja-JP/writing-agent-instructions.mdx +44 -4
- package/corpus/core/docs/content/locales/ko-KR/a2a-protocol.mdx +97 -9
- package/corpus/core/docs/content/locales/ko-KR/actions.mdx +63 -4
- package/corpus/core/docs/content/locales/ko-KR/agent-mentions.mdx +68 -4
- package/corpus/core/docs/content/locales/ko-KR/agent-surfaces.mdx +113 -8
- package/corpus/core/docs/content/locales/ko-KR/agent-teams.mdx +171 -12
- package/corpus/core/docs/content/locales/ko-KR/agent-web-surfaces.mdx +51 -4
- package/corpus/core/docs/content/locales/ko-KR/authentication.mdx +122 -8
- package/corpus/core/docs/content/locales/ko-KR/automations.mdx +110 -8
- package/corpus/core/docs/content/locales/ko-KR/blueprint-installer.mdx +42 -4
- package/corpus/core/docs/content/locales/ko-KR/cli-adapters.mdx +44 -4
- package/corpus/core/docs/content/locales/ko-KR/client.mdx +79 -8
- package/corpus/core/docs/content/locales/ko-KR/cloneable-saas.mdx +85 -8
- package/corpus/core/docs/content/locales/ko-KR/code-agents-ui.mdx +96 -8
- package/corpus/core/docs/content/locales/ko-KR/components.mdx +112 -8
- package/corpus/core/docs/content/locales/ko-KR/context-awareness.mdx +96 -8
- package/corpus/core/docs/content/locales/ko-KR/creating-templates.mdx +51 -4
- package/corpus/core/docs/content/locales/ko-KR/cross-app-sso.mdx +109 -8
- package/corpus/core/docs/content/locales/ko-KR/database.mdx +52 -4
- package/corpus/core/docs/content/locales/ko-KR/deployment.mdx +103 -8
- package/corpus/core/docs/content/locales/ko-KR/dispatch.mdx +132 -8
- package/corpus/core/docs/content/locales/ko-KR/drop-in-agent.mdx +63 -4
- package/corpus/core/docs/content/locales/ko-KR/durable-resume.mdx +47 -4
- package/corpus/core/docs/content/locales/ko-KR/embedding-sdk.mdx +81 -8
- package/corpus/core/docs/content/locales/ko-KR/evals.mdx +102 -8
- package/corpus/core/docs/content/locales/ko-KR/extensions.mdx +111 -9
- package/corpus/core/docs/content/locales/ko-KR/external-agents.mdx +119 -8
- package/corpus/core/docs/content/locales/ko-KR/faq.mdx +96 -8
- package/corpus/core/docs/content/locales/ko-KR/file-uploads.mdx +61 -4
- package/corpus/core/docs/content/locales/ko-KR/frames.mdx +86 -8
- package/corpus/core/docs/content/locales/ko-KR/getting-started.mdx +34 -4
- package/corpus/core/docs/content/locales/ko-KR/harness-agents.mdx +77 -8
- package/corpus/core/docs/content/locales/ko-KR/human-approval.mdx +50 -4
- package/corpus/core/docs/content/locales/ko-KR/key-concepts.mdx +104 -8
- package/corpus/core/docs/content/locales/ko-KR/local-file-mode.mdx +56 -4
- package/corpus/core/docs/content/locales/ko-KR/mcp-apps.mdx +120 -10
- package/corpus/core/docs/content/locales/ko-KR/mcp-clients.mdx +133 -8
- package/corpus/core/docs/content/locales/ko-KR/mcp-protocol.mdx +105 -8
- package/corpus/core/docs/content/locales/ko-KR/messaging.mdx +115 -8
- package/corpus/core/docs/content/locales/ko-KR/migration-workbench.mdx +45 -4
- package/corpus/core/docs/content/locales/ko-KR/multi-app-workspace.mdx +91 -8
- package/corpus/core/docs/content/locales/ko-KR/multi-tenancy.mdx +80 -8
- package/corpus/core/docs/content/locales/ko-KR/native-chat-ui.mdx +104 -8
- package/corpus/core/docs/content/locales/ko-KR/notifications.mdx +135 -8
- package/corpus/core/docs/content/locales/ko-KR/observability.mdx +102 -8
- package/corpus/core/docs/content/locales/ko-KR/observational-memory.mdx +87 -8
- package/corpus/core/docs/content/locales/ko-KR/onboarding.mdx +44 -4
- package/corpus/core/docs/content/locales/ko-KR/plan-plugin.mdx +99 -8
- package/corpus/core/docs/content/locales/ko-KR/pr-visual-recap.mdx +125 -8
- package/corpus/core/docs/content/locales/ko-KR/processors.mdx +39 -4
- package/corpus/core/docs/content/locales/ko-KR/progress.mdx +46 -4
- package/corpus/core/docs/content/locales/ko-KR/pure-agent-apps.mdx +46 -4
- package/corpus/core/docs/content/locales/ko-KR/real-time-collaboration.mdx +104 -8
- package/corpus/core/docs/content/locales/ko-KR/recurring-jobs.mdx +59 -4
- package/corpus/core/docs/content/locales/ko-KR/routing.mdx +44 -5
- package/corpus/core/docs/content/locales/ko-KR/sandbox-adapters.mdx +41 -4
- package/corpus/core/docs/content/locales/ko-KR/security.mdx +78 -8
- package/corpus/core/docs/content/locales/ko-KR/server.mdx +171 -12
- package/corpus/core/docs/content/locales/ko-KR/sharing.mdx +45 -4
- package/corpus/core/docs/content/locales/ko-KR/skills-guide.mdx +118 -9
- package/corpus/core/docs/content/locales/ko-KR/template-analytics.mdx +46 -4
- package/corpus/core/docs/content/locales/ko-KR/template-assets.mdx +62 -4
- package/corpus/core/docs/content/locales/ko-KR/template-brain.mdx +65 -4
- package/corpus/core/docs/content/locales/ko-KR/template-calendar.mdx +60 -4
- package/corpus/core/docs/content/locales/ko-KR/template-chat.mdx +59 -4
- package/corpus/core/docs/content/locales/ko-KR/template-clips.mdx +52 -4
- package/corpus/core/docs/content/locales/ko-KR/template-content.mdx +60 -4
- package/corpus/core/docs/content/locales/ko-KR/template-design.mdx +58 -4
- package/corpus/core/docs/content/locales/ko-KR/template-dispatch.mdx +57 -4
- package/corpus/core/docs/content/locales/ko-KR/template-forms.mdx +60 -4
- package/corpus/core/docs/content/locales/ko-KR/template-mail.mdx +60 -4
- package/corpus/core/docs/content/locales/ko-KR/template-plan.mdx +57 -4
- package/corpus/core/docs/content/locales/ko-KR/template-slides.mdx +49 -4
- package/corpus/core/docs/content/locales/ko-KR/template-videos.mdx +53 -4
- package/corpus/core/docs/content/locales/ko-KR/tracking.mdx +54 -4
- package/corpus/core/docs/content/locales/ko-KR/using-your-agent.mdx +51 -4
- package/corpus/core/docs/content/locales/ko-KR/voice-input.mdx +43 -4
- package/corpus/core/docs/content/locales/ko-KR/what-is-agent-native.mdx +95 -8
- package/corpus/core/docs/content/locales/ko-KR/workspace-connections.mdx +128 -8
- package/corpus/core/docs/content/locales/ko-KR/workspace-management.mdx +50 -4
- package/corpus/core/docs/content/locales/ko-KR/workspace.mdx +111 -8
- package/corpus/core/docs/content/locales/ko-KR/writing-agent-instructions.mdx +38 -4
- package/corpus/core/docs/content/locales/pt-BR/a2a-protocol.mdx +99 -9
- package/corpus/core/docs/content/locales/pt-BR/actions.mdx +67 -4
- package/corpus/core/docs/content/locales/pt-BR/agent-mentions.mdx +68 -4
- package/corpus/core/docs/content/locales/pt-BR/agent-surfaces.mdx +116 -8
- package/corpus/core/docs/content/locales/pt-BR/agent-teams.mdx +172 -12
- package/corpus/core/docs/content/locales/pt-BR/agent-web-surfaces.mdx +51 -4
- package/corpus/core/docs/content/locales/pt-BR/authentication.mdx +122 -8
- package/corpus/core/docs/content/locales/pt-BR/automations.mdx +110 -8
- package/corpus/core/docs/content/locales/pt-BR/blueprint-installer.mdx +42 -4
- package/corpus/core/docs/content/locales/pt-BR/cli-adapters.mdx +44 -4
- package/corpus/core/docs/content/locales/pt-BR/client.mdx +81 -8
- package/corpus/core/docs/content/locales/pt-BR/cloneable-saas.mdx +85 -8
- package/corpus/core/docs/content/locales/pt-BR/code-agents-ui.mdx +98 -8
- package/corpus/core/docs/content/locales/pt-BR/components.mdx +118 -8
- package/corpus/core/docs/content/locales/pt-BR/context-awareness.mdx +100 -8
- package/corpus/core/docs/content/locales/pt-BR/creating-templates.mdx +51 -4
- package/corpus/core/docs/content/locales/pt-BR/cross-app-sso.mdx +109 -8
- package/corpus/core/docs/content/locales/pt-BR/database.mdx +52 -4
- package/corpus/core/docs/content/locales/pt-BR/deployment.mdx +103 -8
- package/corpus/core/docs/content/locales/pt-BR/dispatch.mdx +134 -8
- package/corpus/core/docs/content/locales/pt-BR/drop-in-agent.mdx +63 -4
- package/corpus/core/docs/content/locales/pt-BR/durable-resume.mdx +47 -4
- package/corpus/core/docs/content/locales/pt-BR/embedding-sdk.mdx +87 -8
- package/corpus/core/docs/content/locales/pt-BR/evals.mdx +102 -8
- package/corpus/core/docs/content/locales/pt-BR/extensions.mdx +113 -9
- package/corpus/core/docs/content/locales/pt-BR/external-agents.mdx +119 -8
- package/corpus/core/docs/content/locales/pt-BR/faq.mdx +98 -8
- package/corpus/core/docs/content/locales/pt-BR/file-uploads.mdx +61 -4
- package/corpus/core/docs/content/locales/pt-BR/frames.mdx +88 -8
- package/corpus/core/docs/content/locales/pt-BR/getting-started.mdx +34 -4
- package/corpus/core/docs/content/locales/pt-BR/harness-agents.mdx +79 -8
- package/corpus/core/docs/content/locales/pt-BR/human-approval.mdx +50 -4
- package/corpus/core/docs/content/locales/pt-BR/key-concepts.mdx +104 -8
- package/corpus/core/docs/content/locales/pt-BR/local-file-mode.mdx +60 -4
- package/corpus/core/docs/content/locales/pt-BR/mcp-apps.mdx +120 -10
- package/corpus/core/docs/content/locales/pt-BR/mcp-clients.mdx +133 -8
- package/corpus/core/docs/content/locales/pt-BR/mcp-protocol.mdx +105 -8
- package/corpus/core/docs/content/locales/pt-BR/messaging.mdx +115 -8
- package/corpus/core/docs/content/locales/pt-BR/migration-workbench.mdx +47 -4
- package/corpus/core/docs/content/locales/pt-BR/multi-app-workspace.mdx +91 -8
- package/corpus/core/docs/content/locales/pt-BR/multi-tenancy.mdx +80 -8
- package/corpus/core/docs/content/locales/pt-BR/native-chat-ui.mdx +108 -8
- package/corpus/core/docs/content/locales/pt-BR/notifications.mdx +135 -8
- package/corpus/core/docs/content/locales/pt-BR/observability.mdx +104 -8
- package/corpus/core/docs/content/locales/pt-BR/observational-memory.mdx +92 -8
- package/corpus/core/docs/content/locales/pt-BR/onboarding.mdx +45 -4
- package/corpus/core/docs/content/locales/pt-BR/plan-plugin.mdx +99 -8
- package/corpus/core/docs/content/locales/pt-BR/pr-visual-recap.mdx +125 -8
- package/corpus/core/docs/content/locales/pt-BR/processors.mdx +41 -4
- package/corpus/core/docs/content/locales/pt-BR/progress.mdx +46 -4
- package/corpus/core/docs/content/locales/pt-BR/pure-agent-apps.mdx +48 -4
- package/corpus/core/docs/content/locales/pt-BR/real-time-collaboration.mdx +107 -8
- package/corpus/core/docs/content/locales/pt-BR/recurring-jobs.mdx +59 -4
- package/corpus/core/docs/content/locales/pt-BR/routing.mdx +44 -5
- package/corpus/core/docs/content/locales/pt-BR/sandbox-adapters.mdx +43 -4
- package/corpus/core/docs/content/locales/pt-BR/security.mdx +82 -8
- package/corpus/core/docs/content/locales/pt-BR/server.mdx +173 -12
- package/corpus/core/docs/content/locales/pt-BR/sharing.mdx +45 -4
- package/corpus/core/docs/content/locales/pt-BR/skills-guide.mdx +118 -9
- package/corpus/core/docs/content/locales/pt-BR/template-analytics.mdx +46 -4
- package/corpus/core/docs/content/locales/pt-BR/template-assets.mdx +64 -4
- package/corpus/core/docs/content/locales/pt-BR/template-brain.mdx +69 -4
- package/corpus/core/docs/content/locales/pt-BR/template-calendar.mdx +62 -4
- package/corpus/core/docs/content/locales/pt-BR/template-chat.mdx +61 -4
- package/corpus/core/docs/content/locales/pt-BR/template-clips.mdx +52 -4
- package/corpus/core/docs/content/locales/pt-BR/template-content.mdx +64 -4
- package/corpus/core/docs/content/locales/pt-BR/template-design.mdx +58 -4
- package/corpus/core/docs/content/locales/pt-BR/template-dispatch.mdx +57 -4
- package/corpus/core/docs/content/locales/pt-BR/template-forms.mdx +64 -4
- package/corpus/core/docs/content/locales/pt-BR/template-mail.mdx +60 -4
- package/corpus/core/docs/content/locales/pt-BR/template-plan.mdx +63 -4
- package/corpus/core/docs/content/locales/pt-BR/template-slides.mdx +49 -4
- package/corpus/core/docs/content/locales/pt-BR/template-videos.mdx +53 -4
- package/corpus/core/docs/content/locales/pt-BR/tracking.mdx +54 -4
- package/corpus/core/docs/content/locales/pt-BR/using-your-agent.mdx +51 -4
- package/corpus/core/docs/content/locales/pt-BR/voice-input.mdx +43 -4
- package/corpus/core/docs/content/locales/pt-BR/what-is-agent-native.mdx +101 -8
- package/corpus/core/docs/content/locales/pt-BR/workspace-connections.mdx +128 -8
- package/corpus/core/docs/content/locales/pt-BR/workspace-management.mdx +50 -4
- package/corpus/core/docs/content/locales/pt-BR/workspace.mdx +111 -8
- package/corpus/core/docs/content/locales/pt-BR/writing-agent-instructions.mdx +46 -4
- package/corpus/core/docs/content/locales/zh-CN/a2a-protocol.mdx +97 -9
- package/corpus/core/docs/content/locales/zh-CN/actions.mdx +65 -4
- package/corpus/core/docs/content/locales/zh-CN/agent-mentions.mdx +68 -4
- package/corpus/core/docs/content/locales/zh-CN/agent-surfaces.mdx +108 -8
- package/corpus/core/docs/content/locales/zh-CN/agent-teams.mdx +171 -12
- package/corpus/core/docs/content/locales/zh-CN/agent-web-surfaces.mdx +51 -4
- package/corpus/core/docs/content/locales/zh-CN/authentication.mdx +122 -8
- package/corpus/core/docs/content/locales/zh-CN/automations.mdx +110 -8
- package/corpus/core/docs/content/locales/zh-CN/blueprint-installer.mdx +42 -4
- package/corpus/core/docs/content/locales/zh-CN/cli-adapters.mdx +44 -4
- package/corpus/core/docs/content/locales/zh-CN/client.mdx +79 -8
- package/corpus/core/docs/content/locales/zh-CN/cloneable-saas.mdx +83 -8
- package/corpus/core/docs/content/locales/zh-CN/code-agents-ui.mdx +94 -8
- package/corpus/core/docs/content/locales/zh-CN/components.mdx +112 -8
- package/corpus/core/docs/content/locales/zh-CN/context-awareness.mdx +96 -8
- package/corpus/core/docs/content/locales/zh-CN/creating-templates.mdx +51 -4
- package/corpus/core/docs/content/locales/zh-CN/cross-app-sso.mdx +107 -8
- package/corpus/core/docs/content/locales/zh-CN/database.mdx +52 -4
- package/corpus/core/docs/content/locales/zh-CN/deployment.mdx +103 -8
- package/corpus/core/docs/content/locales/zh-CN/dispatch.mdx +134 -8
- package/corpus/core/docs/content/locales/zh-CN/drop-in-agent.mdx +63 -4
- package/corpus/core/docs/content/locales/zh-CN/durable-resume.mdx +45 -4
- package/corpus/core/docs/content/locales/zh-CN/embedding-sdk.mdx +81 -8
- package/corpus/core/docs/content/locales/zh-CN/evals.mdx +100 -8
- package/corpus/core/docs/content/locales/zh-CN/extensions.mdx +111 -9
- package/corpus/core/docs/content/locales/zh-CN/external-agents.mdx +119 -8
- package/corpus/core/docs/content/locales/zh-CN/faq.mdx +96 -8
- package/corpus/core/docs/content/locales/zh-CN/file-uploads.mdx +61 -4
- package/corpus/core/docs/content/locales/zh-CN/frames.mdx +86 -8
- package/corpus/core/docs/content/locales/zh-CN/getting-started.mdx +34 -4
- package/corpus/core/docs/content/locales/zh-CN/harness-agents.mdx +79 -8
- package/corpus/core/docs/content/locales/zh-CN/human-approval.mdx +50 -4
- package/corpus/core/docs/content/locales/zh-CN/key-concepts.mdx +100 -8
- package/corpus/core/docs/content/locales/zh-CN/local-file-mode.mdx +56 -4
- package/corpus/core/docs/content/locales/zh-CN/mcp-apps.mdx +120 -10
- package/corpus/core/docs/content/locales/zh-CN/mcp-clients.mdx +133 -8
- package/corpus/core/docs/content/locales/zh-CN/mcp-protocol.mdx +105 -8
- package/corpus/core/docs/content/locales/zh-CN/messaging.mdx +115 -8
- package/corpus/core/docs/content/locales/zh-CN/migration-workbench.mdx +45 -4
- package/corpus/core/docs/content/locales/zh-CN/multi-app-workspace.mdx +91 -8
- package/corpus/core/docs/content/locales/zh-CN/multi-tenancy.mdx +80 -8
- package/corpus/core/docs/content/locales/zh-CN/native-chat-ui.mdx +104 -8
- package/corpus/core/docs/content/locales/zh-CN/notifications.mdx +135 -8
- package/corpus/core/docs/content/locales/zh-CN/observability.mdx +102 -8
- package/corpus/core/docs/content/locales/zh-CN/observational-memory.mdx +85 -8
- package/corpus/core/docs/content/locales/zh-CN/onboarding.mdx +44 -4
- package/corpus/core/docs/content/locales/zh-CN/plan-plugin.mdx +97 -8
- package/corpus/core/docs/content/locales/zh-CN/pr-visual-recap.mdx +123 -8
- package/corpus/core/docs/content/locales/zh-CN/processors.mdx +39 -4
- package/corpus/core/docs/content/locales/zh-CN/progress.mdx +46 -4
- package/corpus/core/docs/content/locales/zh-CN/pure-agent-apps.mdx +46 -4
- package/corpus/core/docs/content/locales/zh-CN/real-time-collaboration.mdx +98 -8
- package/corpus/core/docs/content/locales/zh-CN/recurring-jobs.mdx +59 -4
- package/corpus/core/docs/content/locales/zh-CN/routing.mdx +42 -5
- package/corpus/core/docs/content/locales/zh-CN/sandbox-adapters.mdx +41 -4
- package/corpus/core/docs/content/locales/zh-CN/security.mdx +78 -8
- package/corpus/core/docs/content/locales/zh-CN/server.mdx +169 -12
- package/corpus/core/docs/content/locales/zh-CN/sharing.mdx +45 -4
- package/corpus/core/docs/content/locales/zh-CN/skills-guide.mdx +118 -9
- package/corpus/core/docs/content/locales/zh-CN/template-analytics.mdx +46 -4
- package/corpus/core/docs/content/locales/zh-CN/template-assets.mdx +58 -4
- package/corpus/core/docs/content/locales/zh-CN/template-brain.mdx +65 -4
- package/corpus/core/docs/content/locales/zh-CN/template-calendar.mdx +58 -4
- package/corpus/core/docs/content/locales/zh-CN/template-chat.mdx +57 -4
- package/corpus/core/docs/content/locales/zh-CN/template-clips.mdx +52 -4
- package/corpus/core/docs/content/locales/zh-CN/template-content.mdx +58 -4
- package/corpus/core/docs/content/locales/zh-CN/template-design.mdx +58 -4
- package/corpus/core/docs/content/locales/zh-CN/template-dispatch.mdx +57 -4
- package/corpus/core/docs/content/locales/zh-CN/template-forms.mdx +58 -4
- package/corpus/core/docs/content/locales/zh-CN/template-mail.mdx +60 -4
- package/corpus/core/docs/content/locales/zh-CN/template-plan.mdx +57 -4
- package/corpus/core/docs/content/locales/zh-CN/template-slides.mdx +49 -4
- package/corpus/core/docs/content/locales/zh-CN/template-videos.mdx +51 -4
- package/corpus/core/docs/content/locales/zh-CN/tracking.mdx +54 -4
- package/corpus/core/docs/content/locales/zh-CN/using-your-agent.mdx +51 -4
- package/corpus/core/docs/content/locales/zh-CN/voice-input.mdx +43 -4
- package/corpus/core/docs/content/locales/zh-CN/what-is-agent-native.mdx +94 -8
- package/corpus/core/docs/content/locales/zh-CN/workspace-connections.mdx +126 -8
- package/corpus/core/docs/content/locales/zh-CN/workspace-management.mdx +50 -4
- package/corpus/core/docs/content/locales/zh-CN/workspace.mdx +110 -8
- package/corpus/core/docs/content/locales/zh-CN/writing-agent-instructions.mdx +38 -4
- package/corpus/core/docs/content/locales/zh-TW/a2a-protocol.mdx +97 -9
- package/corpus/core/docs/content/locales/zh-TW/actions.mdx +63 -4
- package/corpus/core/docs/content/locales/zh-TW/agent-mentions.mdx +68 -4
- package/corpus/core/docs/content/locales/zh-TW/agent-surfaces.mdx +108 -8
- package/corpus/core/docs/content/locales/zh-TW/agent-teams.mdx +171 -12
- package/corpus/core/docs/content/locales/zh-TW/agent-web-surfaces.mdx +51 -4
- package/corpus/core/docs/content/locales/zh-TW/authentication.mdx +122 -8
- package/corpus/core/docs/content/locales/zh-TW/automations.mdx +110 -8
- package/corpus/core/docs/content/locales/zh-TW/blueprint-installer.mdx +42 -4
- package/corpus/core/docs/content/locales/zh-TW/cli-adapters.mdx +44 -4
- package/corpus/core/docs/content/locales/zh-TW/client.mdx +79 -8
- package/corpus/core/docs/content/locales/zh-TW/cloneable-saas.mdx +83 -8
- package/corpus/core/docs/content/locales/zh-TW/code-agents-ui.mdx +94 -8
- package/corpus/core/docs/content/locales/zh-TW/components.mdx +112 -8
- package/corpus/core/docs/content/locales/zh-TW/context-awareness.mdx +96 -8
- package/corpus/core/docs/content/locales/zh-TW/creating-templates.mdx +51 -4
- package/corpus/core/docs/content/locales/zh-TW/cross-app-sso.mdx +107 -8
- package/corpus/core/docs/content/locales/zh-TW/database.mdx +52 -4
- package/corpus/core/docs/content/locales/zh-TW/deployment.mdx +103 -8
- package/corpus/core/docs/content/locales/zh-TW/dispatch.mdx +134 -8
- package/corpus/core/docs/content/locales/zh-TW/drop-in-agent.mdx +63 -4
- package/corpus/core/docs/content/locales/zh-TW/durable-background-runs.mdx +88 -8
- package/corpus/core/docs/content/locales/zh-TW/durable-resume.mdx +45 -4
- package/corpus/core/docs/content/locales/zh-TW/embedding-sdk.mdx +83 -8
- package/corpus/core/docs/content/locales/zh-TW/evals.mdx +100 -8
- package/corpus/core/docs/content/locales/zh-TW/extensions.mdx +111 -9
- package/corpus/core/docs/content/locales/zh-TW/external-agents.mdx +119 -8
- package/corpus/core/docs/content/locales/zh-TW/faq.mdx +96 -8
- package/corpus/core/docs/content/locales/zh-TW/file-uploads.mdx +61 -4
- package/corpus/core/docs/content/locales/zh-TW/frames.mdx +86 -8
- package/corpus/core/docs/content/locales/zh-TW/getting-started.mdx +34 -4
- package/corpus/core/docs/content/locales/zh-TW/harness-agents.mdx +79 -8
- package/corpus/core/docs/content/locales/zh-TW/human-approval.mdx +50 -4
- package/corpus/core/docs/content/locales/zh-TW/key-concepts.mdx +100 -8
- package/corpus/core/docs/content/locales/zh-TW/local-file-mode.mdx +56 -4
- package/corpus/core/docs/content/locales/zh-TW/mcp-apps.mdx +120 -10
- package/corpus/core/docs/content/locales/zh-TW/mcp-clients.mdx +133 -8
- package/corpus/core/docs/content/locales/zh-TW/mcp-protocol.mdx +105 -8
- package/corpus/core/docs/content/locales/zh-TW/messaging.mdx +115 -8
- package/corpus/core/docs/content/locales/zh-TW/migration-workbench.mdx +45 -4
- package/corpus/core/docs/content/locales/zh-TW/multi-app-workspace.mdx +91 -8
- package/corpus/core/docs/content/locales/zh-TW/multi-tenancy.mdx +80 -8
- package/corpus/core/docs/content/locales/zh-TW/native-chat-ui.mdx +104 -8
- package/corpus/core/docs/content/locales/zh-TW/notifications.mdx +135 -8
- package/corpus/core/docs/content/locales/zh-TW/observability.mdx +102 -8
- package/corpus/core/docs/content/locales/zh-TW/observational-memory.mdx +85 -8
- package/corpus/core/docs/content/locales/zh-TW/onboarding.mdx +44 -4
- package/corpus/core/docs/content/locales/zh-TW/plan-plugin.mdx +97 -8
- package/corpus/core/docs/content/locales/zh-TW/pr-visual-recap.mdx +123 -8
- package/corpus/core/docs/content/locales/zh-TW/processors.mdx +39 -4
- package/corpus/core/docs/content/locales/zh-TW/progress.mdx +46 -4
- package/corpus/core/docs/content/locales/zh-TW/pure-agent-apps.mdx +46 -4
- package/corpus/core/docs/content/locales/zh-TW/real-time-collaboration.mdx +98 -8
- package/corpus/core/docs/content/locales/zh-TW/recurring-jobs.mdx +59 -4
- package/corpus/core/docs/content/locales/zh-TW/routing.mdx +42 -5
- package/corpus/core/docs/content/locales/zh-TW/sandbox-adapters.mdx +41 -4
- package/corpus/core/docs/content/locales/zh-TW/security.mdx +80 -8
- package/corpus/core/docs/content/locales/zh-TW/server.mdx +169 -12
- package/corpus/core/docs/content/locales/zh-TW/sharing.mdx +45 -4
- package/corpus/core/docs/content/locales/zh-TW/skills-guide.mdx +118 -9
- package/corpus/core/docs/content/locales/zh-TW/template-analytics.mdx +46 -4
- package/corpus/core/docs/content/locales/zh-TW/template-assets.mdx +58 -4
- package/corpus/core/docs/content/locales/zh-TW/template-brain.mdx +65 -4
- package/corpus/core/docs/content/locales/zh-TW/template-calendar.mdx +58 -4
- package/corpus/core/docs/content/locales/zh-TW/template-chat.mdx +59 -4
- package/corpus/core/docs/content/locales/zh-TW/template-clips.mdx +52 -4
- package/corpus/core/docs/content/locales/zh-TW/template-content.mdx +58 -4
- package/corpus/core/docs/content/locales/zh-TW/template-design.mdx +58 -4
- package/corpus/core/docs/content/locales/zh-TW/template-dispatch.mdx +57 -4
- package/corpus/core/docs/content/locales/zh-TW/template-forms.mdx +58 -4
- package/corpus/core/docs/content/locales/zh-TW/template-mail.mdx +60 -4
- package/corpus/core/docs/content/locales/zh-TW/template-plan.mdx +57 -4
- package/corpus/core/docs/content/locales/zh-TW/template-slides.mdx +49 -4
- package/corpus/core/docs/content/locales/zh-TW/template-videos.mdx +51 -4
- package/corpus/core/docs/content/locales/zh-TW/tracking.mdx +54 -4
- package/corpus/core/docs/content/locales/zh-TW/using-your-agent.mdx +51 -4
- package/corpus/core/docs/content/locales/zh-TW/voice-input.mdx +43 -4
- package/corpus/core/docs/content/locales/zh-TW/what-is-agent-native.mdx +94 -8
- package/corpus/core/docs/content/locales/zh-TW/workspace-connections.mdx +126 -8
- package/corpus/core/docs/content/locales/zh-TW/workspace-management.mdx +50 -4
- package/corpus/core/docs/content/locales/zh-TW/workspace.mdx +111 -8
- package/corpus/core/docs/content/locales/zh-TW/writing-agent-instructions.mdx +38 -4
- package/corpus/core/docs/content/mcp-apps.mdx +120 -10
- package/corpus/core/docs/content/mcp-clients.mdx +161 -8
- package/corpus/core/docs/content/mcp-protocol.mdx +105 -8
- package/corpus/core/docs/content/messaging.mdx +115 -8
- package/corpus/core/docs/content/migration-workbench.mdx +45 -4
- package/corpus/core/docs/content/multi-app-workspace.mdx +91 -8
- package/corpus/core/docs/content/multi-tenancy.mdx +80 -8
- package/corpus/core/docs/content/native-chat-ui.mdx +106 -8
- package/corpus/core/docs/content/notifications.mdx +135 -8
- package/corpus/core/docs/content/observability.mdx +102 -8
- package/corpus/core/docs/content/observational-memory.mdx +89 -8
- package/corpus/core/docs/content/onboarding.mdx +45 -4
- package/corpus/core/docs/content/plan-plugin.mdx +99 -8
- package/corpus/core/docs/content/pr-visual-recap.mdx +125 -8
- package/corpus/core/docs/content/processors.mdx +41 -4
- package/corpus/core/docs/content/progress.mdx +46 -4
- package/corpus/core/docs/content/pure-agent-apps.mdx +46 -4
- package/corpus/core/docs/content/real-time-collaboration.mdx +104 -8
- package/corpus/core/docs/content/recurring-jobs.mdx +59 -4
- package/corpus/core/docs/content/routing.mdx +44 -5
- package/corpus/core/docs/content/sandbox-adapters.mdx +43 -4
- package/corpus/core/docs/content/security.mdx +80 -8
- package/corpus/core/docs/content/server.mdx +173 -12
- package/corpus/core/docs/content/sharing.mdx +45 -4
- package/corpus/core/docs/content/skills-guide.mdx +118 -9
- package/corpus/core/docs/content/template-analytics.mdx +46 -4
- package/corpus/core/docs/content/template-assets.mdx +60 -4
- package/corpus/core/docs/content/template-brain.mdx +67 -4
- package/corpus/core/docs/content/template-calendar.mdx +62 -4
- package/corpus/core/docs/content/template-chat.mdx +61 -4
- package/corpus/core/docs/content/template-clips.mdx +52 -4
- package/corpus/core/docs/content/template-content.mdx +60 -4
- package/corpus/core/docs/content/template-design.mdx +58 -4
- package/corpus/core/docs/content/template-dispatch.mdx +57 -4
- package/corpus/core/docs/content/template-forms.mdx +62 -4
- package/corpus/core/docs/content/template-mail.mdx +60 -4
- package/corpus/core/docs/content/template-plan.mdx +61 -4
- package/corpus/core/docs/content/template-slides.mdx +49 -4
- package/corpus/core/docs/content/template-videos.mdx +51 -4
- package/corpus/core/docs/content/tracking.mdx +54 -4
- package/corpus/core/docs/content/using-your-agent.mdx +51 -4
- package/corpus/core/docs/content/voice-input.mdx +43 -4
- package/corpus/core/docs/content/what-is-agent-native.mdx +188 -8
- package/corpus/core/docs/content/workspace-connections.mdx +128 -8
- package/corpus/core/docs/content/workspace-management.mdx +50 -4
- package/corpus/core/docs/content/workspace.mdx +111 -8
- package/corpus/core/docs/content/writing-agent-instructions.mdx +45 -4
- package/corpus/core/package.json +1 -1
- package/corpus/core/src/application-state/store.ts +5 -5
- package/corpus/core/src/chat-threads/store.ts +2 -2
- package/corpus/core/src/cli/content-local.ts +374 -0
- package/corpus/core/src/cli/index.ts +17 -0
- package/corpus/core/src/cli/skills.ts +229 -197
- package/corpus/core/src/client/AssistantChat.tsx +4 -4
- package/corpus/core/src/client/MultiTabAssistantChat.tsx +11 -93
- package/corpus/core/src/client/analytics.ts +68 -15
- package/corpus/core/src/client/blocks/index.ts +2 -0
- package/corpus/core/src/client/blocks/library/diagram.config.ts +42 -18
- package/corpus/core/src/client/blocks/library/sanitize-html.ts +71 -6
- package/corpus/core/src/client/blocks/library/wireframe-kit.tsx +2 -2
- package/corpus/core/src/client/blocks/library/wireframe.tsx +8 -2
- package/corpus/core/src/client/blocks/mdx.ts +62 -1
- package/corpus/core/src/client/blocks/server.ts +2 -0
- package/corpus/core/src/client/blocks/types.ts +5 -4
- package/corpus/core/src/client/chat/message-components.tsx +3 -99
- package/corpus/core/src/client/chat-model-groups.ts +148 -0
- package/corpus/core/src/client/components/ui/dialog.tsx +91 -0
- package/corpus/core/src/client/composer/ComposerPlusMenu.tsx +33 -290
- package/corpus/core/src/client/index.ts +2 -0
- package/corpus/core/src/client/resources/McpIntegrationDialog.tsx +614 -0
- package/corpus/core/src/client/resources/ResourcesPanel.tsx +411 -644
- package/corpus/core/src/client/resources/mcp-integration-catalog.ts +239 -0
- package/corpus/core/src/client/settings/SettingsPanel.tsx +1 -1
- package/corpus/core/src/client/use-chat-models.ts +12 -104
- package/corpus/core/src/db/client.ts +0 -5
- package/corpus/core/src/integrations/adapters/email.ts +2 -2
- package/corpus/core/src/local-artifacts/index.ts +18 -0
- package/corpus/core/src/localization/default-messages.ts +81 -0
- package/corpus/core/src/localization/shared.ts +3 -3
- package/corpus/core/src/org/handlers.ts +2 -2
- package/corpus/core/src/resources/store.ts +7 -7
- package/corpus/core/src/server/core-routes-plugin.ts +34 -12
- package/corpus/core/src/shared/mcp-integration-config.ts +101 -0
- package/corpus/core/src/styles/agent-native.css +6 -104
- package/corpus/core/src/styles/blocks.css +15 -3
- package/corpus/core/src/vite/client.ts +17 -0
- package/corpus/templates/analytics/app/global.css +22 -0
- package/corpus/templates/analytics/app/i18n/zh-TW.ts +1 -0
- package/corpus/templates/analytics/app/i18n-data.ts +1 -0
- package/corpus/templates/analytics/app/pages/sessions/SessionsPage.tsx +25 -10
- package/corpus/templates/analytics/changelog/2026-06-28-sessions-shows-scoped-recordings-even-when-replay-events-are.md +6 -0
- package/corpus/templates/analytics/server/lib/session-replay.ts +1 -7
- package/corpus/templates/clips/AGENTS.md +4 -0
- package/corpus/templates/clips/actions/cleanup-transcript.ts +19 -1
- package/corpus/templates/clips/actions/get-builder-credit-status.ts +22 -0
- package/corpus/templates/clips/actions/get-recording-player-data.ts +18 -3
- package/corpus/templates/clips/actions/lib/builder-credits-state.ts +46 -0
- package/corpus/templates/clips/actions/lib/provider-transcript.ts +51 -0
- package/corpus/templates/clips/actions/regenerate-title.ts +18 -0
- package/corpus/templates/clips/actions/request-transcript.ts +56 -33
- package/corpus/templates/clips/actions/save-browser-transcript.ts +1 -17
- package/corpus/templates/clips/app/components/player/transcript-panel.tsx +120 -11
- package/corpus/templates/clips/app/i18n/ar-SA.ts +25 -0
- package/corpus/templates/clips/app/i18n/de-DE.ts +25 -0
- package/corpus/templates/clips/app/i18n/en-US.ts +25 -0
- package/corpus/templates/clips/app/i18n/es-ES.ts +25 -0
- package/corpus/templates/clips/app/i18n/fr-FR.ts +25 -0
- package/corpus/templates/clips/app/i18n/hi-IN.ts +25 -0
- package/corpus/templates/clips/app/i18n/ja-JP.ts +25 -0
- package/corpus/templates/clips/app/i18n/ko-KR.ts +25 -0
- package/corpus/templates/clips/app/i18n/pt-BR.ts +25 -0
- package/corpus/templates/clips/app/i18n/zh-CN.ts +23 -0
- package/corpus/templates/clips/app/i18n/zh-TW.ts +23 -0
- package/corpus/templates/clips/app/routes/_app.settings._index.tsx +69 -0
- package/corpus/templates/clips/app/routes/r.$recordingId.tsx +52 -2
- package/corpus/templates/clips/app/routes/record.tsx +26 -15
- package/corpus/templates/clips/changelog/2026-06-28-builder-credit-pauses-show-friendly-upgrade-guidance.md +6 -0
- package/corpus/templates/clips/changelog/2026-06-28-transcription-now-auto-detects-spoken-language-instead-of-following.md +6 -0
- package/corpus/templates/clips/changelog/2026-06-28-video-uploads-now-finish-when-duration-metadata-is-unavailable.md +6 -0
- package/corpus/templates/clips/desktop/src/lib/transcription-engine.ts +7 -3
- package/corpus/templates/clips/desktop/src-tauri/src/native_screen.rs +30 -12
- package/corpus/templates/clips/desktop/src-tauri/src/whisper_speech.rs +6 -19
- package/corpus/templates/clips/server/routes/api/uploads/[recordingId]/chunk.post.ts +4 -3
- package/corpus/templates/clips/shared/builder-credits.ts +120 -0
- package/corpus/templates/clips/shared/recording-core.ts +26 -8
- package/corpus/templates/content/AGENTS.md +23 -2
- package/corpus/templates/content/actions/_builder-docs-client.ts +952 -0
- package/corpus/templates/content/actions/_document-flush.ts +62 -0
- package/corpus/templates/content/actions/_local-file-documents.ts +115 -18
- package/corpus/templates/content/actions/check-builder-doc.ts +38 -0
- package/corpus/templates/content/actions/delete-document.ts +8 -0
- package/corpus/templates/content/actions/import-content-source.ts +12 -0
- package/corpus/templates/content/actions/list-builder-docs.ts +29 -0
- package/corpus/templates/content/actions/pull-builder-doc.ts +42 -0
- package/corpus/templates/content/actions/pull-document.ts +9 -59
- package/corpus/templates/content/actions/push-builder-doc.ts +45 -0
- package/corpus/templates/content/app/blocks/BuilderDocsBlocks.tsx +254 -0
- package/corpus/templates/content/app/blocks/contentBlockRegistry.tsx +4 -0
- package/corpus/templates/content/server/db/schema.ts +12 -0
- package/corpus/templates/content/server/plugins/db.ts +23 -0
- package/corpus/templates/content/shared/api.ts +1 -0
- package/corpus/templates/content/shared/builder-docs-blocks.ts +361 -0
- package/corpus/templates/content/shared/builder-mdx.ts +1037 -0
- package/corpus/templates/content/shared/content-source.ts +6 -0
- package/corpus/templates/content/shared/nfm-registry.ts +4 -0
- package/corpus/templates/content/vite.config.ts +13 -0
- package/corpus/templates/plan/.agents/skills/visual-plan/SKILL.md +25 -92
- package/corpus/templates/plan/.agents/skills/visual-plan/references/connection.md +51 -0
- package/corpus/templates/plan/.agents/skills/visual-plan/references/document-quality.md +5 -1
- package/corpus/templates/plan/.agents/skills/visual-plan/references/local-files.md +85 -0
- package/corpus/templates/plan/.agents/skills/visual-plan/references/wireframe.md +21 -0
- package/corpus/templates/plan/.agents/skills/visual-recap/SKILL.md +32 -104
- package/corpus/templates/plan/.agents/skills/visual-recap/references/connection.md +51 -0
- package/corpus/templates/plan/.agents/skills/visual-recap/references/local-files.md +85 -0
- package/corpus/templates/plan/.agents/skills/visual-recap/references/wireframe.md +21 -0
- package/corpus/templates/plan/actions/create-prototype-plan.ts +1 -1
- package/corpus/templates/plan/actions/delete-visual-plan.ts +2 -2
- package/corpus/templates/plan/actions/get-plan-blocks.ts +2 -0
- package/corpus/templates/plan/app/components/plan/CanvasArea.tsx +25 -29
- package/corpus/templates/plan/app/components/plan/wireframe/Wireframe.tsx +9 -4
- package/corpus/templates/plan/app/components/plan/wireframe/html-artboard.css +15 -3
- package/corpus/templates/plan/app/components/plan/wireframe/kit/rough.tsx +6 -6
- package/corpus/templates/plan/app/components/plan/wireframe/sanitize-html.ts +71 -6
- package/corpus/templates/plan/app/global.css +6 -3
- package/corpus/templates/plan/app/root.tsx +31 -1
- package/corpus/templates/plan/changelog/2026-06-28-plan-canvases-stay-stable-while-panning-and-zooming-in-chrom.md +6 -0
- package/corpus/templates/plan/changelog/2026-06-28-plan-wireframes-avoid-overlapping-sketch-lines-in-dense-mockups.md +6 -0
- package/corpus/templates/plan/changelog/2026-06-28-plan-wireframes-ignore-host-color-utility-classes-so-canvas-.md +6 -0
- package/corpus/templates/plan/changelog/2026-06-28-wireframe-style-can-now-be-switched-between-sketchy-and-clean.md +6 -0
- package/corpus/templates/plan/server/plan-content.ts +62 -3
- package/corpus/templates/plan/server/plan-mdx.ts +177 -2
- package/dist/application-state/store.js +5 -5
- package/dist/application-state/store.js.map +1 -1
- package/dist/chat-threads/store.js +2 -2
- package/dist/chat-threads/store.js.map +1 -1
- package/dist/cli/content-local.d.ts +31 -0
- package/dist/cli/content-local.d.ts.map +1 -0
- package/dist/cli/content-local.js +300 -0
- package/dist/cli/content-local.js.map +1 -0
- package/dist/cli/index.js +16 -0
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/skills.d.ts +10 -4
- package/dist/cli/skills.d.ts.map +1 -1
- package/dist/cli/skills.js +227 -197
- package/dist/cli/skills.js.map +1 -1
- package/dist/client/AssistantChat.js +4 -4
- package/dist/client/AssistantChat.js.map +1 -1
- package/dist/client/MultiTabAssistantChat.d.ts.map +1 -1
- package/dist/client/MultiTabAssistantChat.js +8 -69
- package/dist/client/MultiTabAssistantChat.js.map +1 -1
- package/dist/client/analytics.d.ts.map +1 -1
- package/dist/client/analytics.js +48 -13
- package/dist/client/analytics.js.map +1 -1
- package/dist/client/blocks/index.d.ts +1 -1
- package/dist/client/blocks/index.d.ts.map +1 -1
- package/dist/client/blocks/index.js +1 -1
- package/dist/client/blocks/index.js.map +1 -1
- package/dist/client/blocks/library/diagram.config.d.ts +9 -9
- package/dist/client/blocks/library/diagram.config.d.ts.map +1 -1
- package/dist/client/blocks/library/diagram.config.js +36 -12
- package/dist/client/blocks/library/diagram.config.js.map +1 -1
- package/dist/client/blocks/library/sanitize-html.d.ts +3 -1
- package/dist/client/blocks/library/sanitize-html.d.ts.map +1 -1
- package/dist/client/blocks/library/sanitize-html.js +53 -5
- package/dist/client/blocks/library/sanitize-html.js.map +1 -1
- package/dist/client/blocks/library/wireframe-kit.d.ts +2 -2
- package/dist/client/blocks/library/wireframe-kit.d.ts.map +1 -1
- package/dist/client/blocks/library/wireframe-kit.js +2 -2
- package/dist/client/blocks/library/wireframe-kit.js.map +1 -1
- package/dist/client/blocks/library/wireframe.d.ts.map +1 -1
- package/dist/client/blocks/library/wireframe.js +4 -1
- package/dist/client/blocks/library/wireframe.js.map +1 -1
- package/dist/client/blocks/mdx.d.ts +11 -0
- package/dist/client/blocks/mdx.d.ts.map +1 -1
- package/dist/client/blocks/mdx.js +47 -1
- package/dist/client/blocks/mdx.js.map +1 -1
- package/dist/client/blocks/server.d.ts +1 -1
- package/dist/client/blocks/server.d.ts.map +1 -1
- package/dist/client/blocks/server.js +1 -1
- package/dist/client/blocks/server.js.map +1 -1
- package/dist/client/blocks/types.d.ts +5 -4
- package/dist/client/blocks/types.d.ts.map +1 -1
- package/dist/client/blocks/types.js.map +1 -1
- package/dist/client/chat/message-components.d.ts.map +1 -1
- package/dist/client/chat/message-components.js +3 -13
- package/dist/client/chat/message-components.js.map +1 -1
- package/dist/client/chat-model-groups.d.ts +22 -0
- package/dist/client/chat-model-groups.d.ts.map +1 -0
- package/dist/client/chat-model-groups.js +94 -0
- package/dist/client/chat-model-groups.js.map +1 -0
- package/dist/client/components/ui/dialog.d.ts +14 -0
- package/dist/client/components/ui/dialog.d.ts.map +1 -0
- package/dist/client/components/ui/dialog.js +21 -0
- package/dist/client/components/ui/dialog.js.map +1 -0
- package/dist/client/composer/ComposerPlusMenu.d.ts.map +1 -1
- package/dist/client/composer/ComposerPlusMenu.js +24 -149
- package/dist/client/composer/ComposerPlusMenu.js.map +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +1 -1
- package/dist/client/index.js.map +1 -1
- package/dist/client/resources/McpIntegrationDialog.d.ts +13 -0
- package/dist/client/resources/McpIntegrationDialog.d.ts.map +1 -0
- package/dist/client/resources/McpIntegrationDialog.js +261 -0
- package/dist/client/resources/McpIntegrationDialog.js.map +1 -0
- package/dist/client/resources/ResourcesPanel.d.ts.map +1 -1
- package/dist/client/resources/ResourcesPanel.js +74 -190
- package/dist/client/resources/ResourcesPanel.js.map +1 -1
- package/dist/client/resources/mcp-integration-catalog.d.ts +30 -0
- package/dist/client/resources/mcp-integration-catalog.d.ts.map +1 -0
- package/dist/client/resources/mcp-integration-catalog.js +191 -0
- package/dist/client/resources/mcp-integration-catalog.js.map +1 -0
- package/dist/client/settings/SettingsPanel.js +1 -1
- package/dist/client/settings/SettingsPanel.js.map +1 -1
- package/dist/client/use-chat-models.d.ts +2 -7
- package/dist/client/use-chat-models.d.ts.map +1 -1
- package/dist/client/use-chat-models.js +8 -78
- package/dist/client/use-chat-models.js.map +1 -1
- package/dist/collab/routes.d.ts +1 -1
- package/dist/db/client.d.ts.map +1 -1
- package/dist/db/client.js +0 -5
- package/dist/db/client.js.map +1 -1
- package/dist/file-upload/actions/upload-image.d.ts +2 -2
- package/dist/integrations/adapters/email.js +2 -2
- package/dist/integrations/adapters/email.js.map +1 -1
- package/dist/local-artifacts/index.d.ts +6 -0
- package/dist/local-artifacts/index.d.ts.map +1 -1
- package/dist/local-artifacts/index.js +12 -0
- package/dist/local-artifacts/index.js.map +1 -1
- package/dist/localization/default-messages.d.ts +76 -0
- package/dist/localization/default-messages.d.ts.map +1 -1
- package/dist/localization/default-messages.js +76 -0
- package/dist/localization/default-messages.js.map +1 -1
- package/dist/localization/shared.d.ts +1 -1
- package/dist/localization/shared.js +3 -3
- package/dist/localization/shared.js.map +1 -1
- package/dist/observability/routes.d.ts +2 -2
- package/dist/org/handlers.js +2 -2
- package/dist/org/handlers.js.map +1 -1
- package/dist/provider-api/corpus-jobs.d.ts +2 -2
- package/dist/resources/handlers.d.ts +2 -2
- package/dist/resources/store.js +7 -7
- package/dist/resources/store.js.map +1 -1
- 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 +29 -11
- package/dist/server/core-routes-plugin.js.map +1 -1
- package/dist/server/transcribe-voice.d.ts +1 -1
- package/dist/shared/mcp-integration-config.d.ts +27 -0
- package/dist/shared/mcp-integration-config.d.ts.map +1 -0
- package/dist/shared/mcp-integration-config.js +56 -0
- package/dist/shared/mcp-integration-config.js.map +1 -0
- package/dist/styles/agent-native.css +6 -104
- package/dist/styles/blocks.css +15 -3
- package/dist/vite/client.d.ts +11 -0
- 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/docs/content/a2a-protocol.mdx +97 -9
- package/docs/content/actions.mdx +65 -4
- package/docs/content/agent-mentions.mdx +68 -4
- package/docs/content/agent-surfaces.mdx +112 -8
- package/docs/content/agent-teams.mdx +171 -12
- package/docs/content/agent-web-surfaces.mdx +51 -4
- package/docs/content/authentication.mdx +122 -8
- package/docs/content/automations.mdx +110 -8
- package/docs/content/blueprint-installer.mdx +42 -4
- package/docs/content/cli-adapters.mdx +44 -4
- package/docs/content/client.mdx +79 -8
- package/docs/content/cloneable-saas.mdx +85 -8
- package/docs/content/code-agents-ui.mdx +98 -8
- package/docs/content/components.mdx +118 -8
- package/docs/content/context-awareness.mdx +98 -8
- package/docs/content/creating-templates.mdx +49 -4
- package/docs/content/cross-app-sso.mdx +109 -8
- package/docs/content/database.mdx +56 -4
- package/docs/content/deployment.mdx +103 -8
- package/docs/content/dispatch.mdx +134 -8
- package/docs/content/drop-in-agent.mdx +63 -4
- package/docs/content/durable-background-runs.mdx +98 -8
- package/docs/content/durable-resume.mdx +47 -4
- package/docs/content/embedding-sdk.mdx +83 -8
- package/docs/content/evals.mdx +102 -8
- package/docs/content/extensions.mdx +113 -9
- package/docs/content/external-agents.mdx +119 -8
- package/docs/content/faq.mdx +98 -8
- package/docs/content/file-uploads.mdx +61 -4
- package/docs/content/frames.mdx +90 -8
- package/docs/content/generative-ui.mdx +50 -4
- package/docs/content/getting-started.mdx +34 -4
- package/docs/content/harness-agents.mdx +77 -8
- package/docs/content/human-approval.mdx +50 -4
- package/docs/content/key-concepts.mdx +102 -8
- package/docs/content/local-file-mode.mdx +58 -4
- package/docs/content/locales/ar-SA/a2a-protocol.mdx +97 -9
- package/docs/content/locales/ar-SA/actions.mdx +65 -4
- package/docs/content/locales/ar-SA/agent-mentions.mdx +68 -4
- package/docs/content/locales/ar-SA/agent-surfaces.mdx +114 -8
- package/docs/content/locales/ar-SA/agent-teams.mdx +174 -12
- package/docs/content/locales/ar-SA/agent-web-surfaces.mdx +49 -4
- package/docs/content/locales/ar-SA/authentication.mdx +120 -8
- package/docs/content/locales/ar-SA/automations.mdx +110 -8
- package/docs/content/locales/ar-SA/blueprint-installer.mdx +42 -4
- package/docs/content/locales/ar-SA/cli-adapters.mdx +40 -4
- package/docs/content/locales/ar-SA/client.mdx +80 -8
- package/docs/content/locales/ar-SA/cloneable-saas.mdx +85 -8
- package/docs/content/locales/ar-SA/code-agents-ui.mdx +99 -8
- package/docs/content/locales/ar-SA/components.mdx +114 -8
- package/docs/content/locales/ar-SA/context-awareness.mdx +100 -8
- package/docs/content/locales/ar-SA/creating-templates.mdx +51 -4
- package/docs/content/locales/ar-SA/cross-app-sso.mdx +109 -8
- package/docs/content/locales/ar-SA/database.mdx +52 -4
- package/docs/content/locales/ar-SA/deployment.mdx +103 -8
- package/docs/content/locales/ar-SA/dispatch.mdx +134 -8
- package/docs/content/locales/ar-SA/drop-in-agent.mdx +63 -4
- package/docs/content/locales/ar-SA/durable-resume.mdx +47 -4
- package/docs/content/locales/ar-SA/embedding-sdk.mdx +83 -8
- package/docs/content/locales/ar-SA/evals.mdx +102 -8
- package/docs/content/locales/ar-SA/extensions.mdx +113 -9
- package/docs/content/locales/ar-SA/external-agents.mdx +119 -8
- package/docs/content/locales/ar-SA/faq.mdx +98 -8
- package/docs/content/locales/ar-SA/file-uploads.mdx +61 -4
- package/docs/content/locales/ar-SA/frames.mdx +88 -8
- package/docs/content/locales/ar-SA/getting-started.mdx +34 -4
- package/docs/content/locales/ar-SA/harness-agents.mdx +79 -8
- package/docs/content/locales/ar-SA/human-approval.mdx +50 -4
- package/docs/content/locales/ar-SA/key-concepts.mdx +107 -8
- package/docs/content/locales/ar-SA/local-file-mode.mdx +56 -4
- package/docs/content/locales/ar-SA/mcp-apps.mdx +120 -10
- package/docs/content/locales/ar-SA/mcp-clients.mdx +133 -8
- package/docs/content/locales/ar-SA/mcp-protocol.mdx +105 -8
- package/docs/content/locales/ar-SA/messaging.mdx +115 -8
- package/docs/content/locales/ar-SA/migration-workbench.mdx +47 -4
- package/docs/content/locales/ar-SA/multi-app-workspace.mdx +91 -8
- package/docs/content/locales/ar-SA/multi-tenancy.mdx +80 -8
- package/docs/content/locales/ar-SA/native-chat-ui.mdx +104 -8
- package/docs/content/locales/ar-SA/notifications.mdx +135 -8
- package/docs/content/locales/ar-SA/observability.mdx +102 -8
- package/docs/content/locales/ar-SA/observational-memory.mdx +87 -8
- package/docs/content/locales/ar-SA/onboarding.mdx +45 -4
- package/docs/content/locales/ar-SA/plan-plugin.mdx +99 -8
- package/docs/content/locales/ar-SA/pr-visual-recap.mdx +125 -8
- package/docs/content/locales/ar-SA/processors.mdx +41 -4
- package/docs/content/locales/ar-SA/progress.mdx +46 -4
- package/docs/content/locales/ar-SA/pure-agent-apps.mdx +48 -4
- package/docs/content/locales/ar-SA/real-time-collaboration.mdx +102 -8
- package/docs/content/locales/ar-SA/recurring-jobs.mdx +59 -4
- package/docs/content/locales/ar-SA/routing.mdx +44 -5
- package/docs/content/locales/ar-SA/sandbox-adapters.mdx +43 -4
- package/docs/content/locales/ar-SA/security.mdx +80 -8
- package/docs/content/locales/ar-SA/server.mdx +173 -12
- package/docs/content/locales/ar-SA/sharing.mdx +45 -4
- package/docs/content/locales/ar-SA/skills-guide.mdx +118 -9
- package/docs/content/locales/ar-SA/template-analytics.mdx +46 -4
- package/docs/content/locales/ar-SA/template-assets.mdx +62 -4
- package/docs/content/locales/ar-SA/template-brain.mdx +65 -4
- package/docs/content/locales/ar-SA/template-calendar.mdx +62 -4
- package/docs/content/locales/ar-SA/template-chat.mdx +61 -4
- package/docs/content/locales/ar-SA/template-clips.mdx +52 -4
- package/docs/content/locales/ar-SA/template-content.mdx +62 -4
- package/docs/content/locales/ar-SA/template-design.mdx +60 -4
- package/docs/content/locales/ar-SA/template-dispatch.mdx +57 -4
- package/docs/content/locales/ar-SA/template-forms.mdx +62 -4
- package/docs/content/locales/ar-SA/template-mail.mdx +60 -4
- package/docs/content/locales/ar-SA/template-plan.mdx +61 -4
- package/docs/content/locales/ar-SA/template-slides.mdx +49 -4
- package/docs/content/locales/ar-SA/template-videos.mdx +53 -4
- package/docs/content/locales/ar-SA/tracking.mdx +54 -4
- package/docs/content/locales/ar-SA/using-your-agent.mdx +51 -4
- package/docs/content/locales/ar-SA/voice-input.mdx +43 -4
- package/docs/content/locales/ar-SA/what-is-agent-native.mdx +96 -8
- package/docs/content/locales/ar-SA/workspace-connections.mdx +128 -8
- package/docs/content/locales/ar-SA/workspace-management.mdx +50 -4
- package/docs/content/locales/ar-SA/workspace.mdx +112 -8
- package/docs/content/locales/ar-SA/writing-agent-instructions.mdx +41 -4
- package/docs/content/locales/de-DE/a2a-protocol.mdx +99 -9
- package/docs/content/locales/de-DE/actions.mdx +67 -4
- package/docs/content/locales/de-DE/agent-mentions.mdx +68 -4
- package/docs/content/locales/de-DE/agent-surfaces.mdx +116 -8
- package/docs/content/locales/de-DE/agent-teams.mdx +171 -12
- package/docs/content/locales/de-DE/agent-web-surfaces.mdx +51 -4
- package/docs/content/locales/de-DE/authentication.mdx +122 -8
- package/docs/content/locales/de-DE/automations.mdx +110 -8
- package/docs/content/locales/de-DE/blueprint-installer.mdx +42 -4
- package/docs/content/locales/de-DE/cli-adapters.mdx +44 -4
- package/docs/content/locales/de-DE/client.mdx +79 -8
- package/docs/content/locales/de-DE/cloneable-saas.mdx +85 -8
- package/docs/content/locales/de-DE/code-agents-ui.mdx +100 -8
- package/docs/content/locales/de-DE/components.mdx +118 -8
- package/docs/content/locales/de-DE/context-awareness.mdx +98 -8
- package/docs/content/locales/de-DE/creating-templates.mdx +51 -4
- package/docs/content/locales/de-DE/cross-app-sso.mdx +109 -8
- package/docs/content/locales/de-DE/database.mdx +52 -4
- package/docs/content/locales/de-DE/deployment.mdx +103 -8
- package/docs/content/locales/de-DE/dispatch.mdx +134 -8
- package/docs/content/locales/de-DE/drop-in-agent.mdx +63 -4
- package/docs/content/locales/de-DE/durable-resume.mdx +47 -4
- package/docs/content/locales/de-DE/embedding-sdk.mdx +85 -8
- package/docs/content/locales/de-DE/evals.mdx +102 -8
- package/docs/content/locales/de-DE/extensions.mdx +113 -9
- package/docs/content/locales/de-DE/external-agents.mdx +119 -8
- package/docs/content/locales/de-DE/faq.mdx +98 -8
- package/docs/content/locales/de-DE/file-uploads.mdx +61 -4
- package/docs/content/locales/de-DE/frames.mdx +88 -8
- package/docs/content/locales/de-DE/getting-started.mdx +34 -4
- package/docs/content/locales/de-DE/harness-agents.mdx +79 -8
- package/docs/content/locales/de-DE/human-approval.mdx +50 -4
- package/docs/content/locales/de-DE/key-concepts.mdx +104 -8
- package/docs/content/locales/de-DE/local-file-mode.mdx +58 -4
- package/docs/content/locales/de-DE/mcp-apps.mdx +120 -10
- package/docs/content/locales/de-DE/mcp-clients.mdx +133 -8
- package/docs/content/locales/de-DE/mcp-protocol.mdx +105 -8
- package/docs/content/locales/de-DE/messaging.mdx +115 -8
- package/docs/content/locales/de-DE/migration-workbench.mdx +47 -4
- package/docs/content/locales/de-DE/multi-app-workspace.mdx +91 -8
- package/docs/content/locales/de-DE/multi-tenancy.mdx +80 -8
- package/docs/content/locales/de-DE/native-chat-ui.mdx +108 -8
- package/docs/content/locales/de-DE/notifications.mdx +135 -8
- package/docs/content/locales/de-DE/observability.mdx +102 -8
- package/docs/content/locales/de-DE/observational-memory.mdx +92 -8
- package/docs/content/locales/de-DE/onboarding.mdx +45 -4
- package/docs/content/locales/de-DE/plan-plugin.mdx +99 -8
- package/docs/content/locales/de-DE/pr-visual-recap.mdx +125 -8
- package/docs/content/locales/de-DE/processors.mdx +41 -4
- package/docs/content/locales/de-DE/progress.mdx +46 -4
- package/docs/content/locales/de-DE/pure-agent-apps.mdx +50 -4
- package/docs/content/locales/de-DE/real-time-collaboration.mdx +104 -8
- package/docs/content/locales/de-DE/recurring-jobs.mdx +59 -4
- package/docs/content/locales/de-DE/routing.mdx +44 -5
- package/docs/content/locales/de-DE/sandbox-adapters.mdx +43 -4
- package/docs/content/locales/de-DE/security.mdx +80 -8
- package/docs/content/locales/de-DE/server.mdx +171 -12
- package/docs/content/locales/de-DE/sharing.mdx +45 -4
- package/docs/content/locales/de-DE/skills-guide.mdx +118 -9
- package/docs/content/locales/de-DE/template-analytics.mdx +46 -4
- package/docs/content/locales/de-DE/template-assets.mdx +62 -4
- package/docs/content/locales/de-DE/template-brain.mdx +69 -4
- package/docs/content/locales/de-DE/template-calendar.mdx +62 -4
- package/docs/content/locales/de-DE/template-chat.mdx +61 -4
- package/docs/content/locales/de-DE/template-clips.mdx +52 -4
- package/docs/content/locales/de-DE/template-content.mdx +60 -4
- package/docs/content/locales/de-DE/template-design.mdx +58 -4
- package/docs/content/locales/de-DE/template-dispatch.mdx +57 -4
- package/docs/content/locales/de-DE/template-forms.mdx +64 -4
- package/docs/content/locales/de-DE/template-mail.mdx +60 -4
- package/docs/content/locales/de-DE/template-plan.mdx +63 -4
- package/docs/content/locales/de-DE/template-slides.mdx +49 -4
- package/docs/content/locales/de-DE/template-videos.mdx +53 -4
- package/docs/content/locales/de-DE/tracking.mdx +54 -4
- package/docs/content/locales/de-DE/using-your-agent.mdx +51 -4
- package/docs/content/locales/de-DE/voice-input.mdx +45 -4
- package/docs/content/locales/de-DE/what-is-agent-native.mdx +100 -8
- package/docs/content/locales/de-DE/workspace-connections.mdx +128 -8
- package/docs/content/locales/de-DE/workspace-management.mdx +50 -4
- package/docs/content/locales/de-DE/workspace.mdx +111 -8
- package/docs/content/locales/de-DE/writing-agent-instructions.mdx +45 -4
- package/docs/content/locales/es-ES/a2a-protocol.mdx +99 -9
- package/docs/content/locales/es-ES/actions.mdx +67 -4
- package/docs/content/locales/es-ES/agent-mentions.mdx +68 -4
- package/docs/content/locales/es-ES/agent-surfaces.mdx +120 -8
- package/docs/content/locales/es-ES/agent-teams.mdx +172 -12
- package/docs/content/locales/es-ES/agent-web-surfaces.mdx +51 -4
- package/docs/content/locales/es-ES/authentication.mdx +122 -8
- package/docs/content/locales/es-ES/automations.mdx +110 -8
- package/docs/content/locales/es-ES/blueprint-installer.mdx +42 -4
- package/docs/content/locales/es-ES/cli-adapters.mdx +44 -4
- package/docs/content/locales/es-ES/client.mdx +79 -8
- package/docs/content/locales/es-ES/cloneable-saas.mdx +85 -8
- package/docs/content/locales/es-ES/code-agents-ui.mdx +101 -8
- package/docs/content/locales/es-ES/components.mdx +118 -8
- package/docs/content/locales/es-ES/context-awareness.mdx +98 -8
- package/docs/content/locales/es-ES/creating-templates.mdx +51 -4
- package/docs/content/locales/es-ES/cross-app-sso.mdx +109 -8
- package/docs/content/locales/es-ES/database.mdx +52 -4
- package/docs/content/locales/es-ES/deployment.mdx +103 -8
- package/docs/content/locales/es-ES/dispatch.mdx +134 -8
- package/docs/content/locales/es-ES/drop-in-agent.mdx +63 -4
- package/docs/content/locales/es-ES/durable-resume.mdx +47 -4
- package/docs/content/locales/es-ES/embedding-sdk.mdx +87 -8
- package/docs/content/locales/es-ES/evals.mdx +102 -8
- package/docs/content/locales/es-ES/extensions.mdx +113 -9
- package/docs/content/locales/es-ES/external-agents.mdx +119 -8
- package/docs/content/locales/es-ES/faq.mdx +98 -8
- package/docs/content/locales/es-ES/file-uploads.mdx +61 -4
- package/docs/content/locales/es-ES/frames.mdx +88 -8
- package/docs/content/locales/es-ES/getting-started.mdx +34 -4
- package/docs/content/locales/es-ES/harness-agents.mdx +79 -8
- package/docs/content/locales/es-ES/human-approval.mdx +50 -4
- package/docs/content/locales/es-ES/key-concepts.mdx +104 -8
- package/docs/content/locales/es-ES/local-file-mode.mdx +60 -4
- package/docs/content/locales/es-ES/mcp-apps.mdx +120 -10
- package/docs/content/locales/es-ES/mcp-clients.mdx +135 -8
- package/docs/content/locales/es-ES/mcp-protocol.mdx +105 -8
- package/docs/content/locales/es-ES/messaging.mdx +115 -8
- package/docs/content/locales/es-ES/migration-workbench.mdx +47 -4
- package/docs/content/locales/es-ES/multi-app-workspace.mdx +91 -8
- package/docs/content/locales/es-ES/multi-tenancy.mdx +80 -8
- package/docs/content/locales/es-ES/native-chat-ui.mdx +108 -8
- package/docs/content/locales/es-ES/notifications.mdx +135 -8
- package/docs/content/locales/es-ES/observability.mdx +104 -8
- package/docs/content/locales/es-ES/observational-memory.mdx +92 -8
- package/docs/content/locales/es-ES/onboarding.mdx +45 -4
- package/docs/content/locales/es-ES/plan-plugin.mdx +99 -8
- package/docs/content/locales/es-ES/pr-visual-recap.mdx +125 -8
- package/docs/content/locales/es-ES/processors.mdx +41 -4
- package/docs/content/locales/es-ES/progress.mdx +46 -4
- package/docs/content/locales/es-ES/pure-agent-apps.mdx +50 -4
- package/docs/content/locales/es-ES/real-time-collaboration.mdx +109 -8
- package/docs/content/locales/es-ES/recurring-jobs.mdx +59 -4
- package/docs/content/locales/es-ES/routing.mdx +44 -5
- package/docs/content/locales/es-ES/sandbox-adapters.mdx +44 -4
- package/docs/content/locales/es-ES/security.mdx +82 -8
- package/docs/content/locales/es-ES/server.mdx +173 -12
- package/docs/content/locales/es-ES/sharing.mdx +45 -4
- package/docs/content/locales/es-ES/skills-guide.mdx +118 -9
- package/docs/content/locales/es-ES/template-analytics.mdx +46 -4
- package/docs/content/locales/es-ES/template-assets.mdx +64 -4
- package/docs/content/locales/es-ES/template-brain.mdx +69 -4
- package/docs/content/locales/es-ES/template-calendar.mdx +62 -4
- package/docs/content/locales/es-ES/template-chat.mdx +61 -4
- package/docs/content/locales/es-ES/template-clips.mdx +52 -4
- package/docs/content/locales/es-ES/template-content.mdx +64 -4
- package/docs/content/locales/es-ES/template-design.mdx +58 -4
- package/docs/content/locales/es-ES/template-dispatch.mdx +57 -4
- package/docs/content/locales/es-ES/template-forms.mdx +64 -4
- package/docs/content/locales/es-ES/template-mail.mdx +60 -4
- package/docs/content/locales/es-ES/template-plan.mdx +61 -4
- package/docs/content/locales/es-ES/template-slides.mdx +49 -4
- package/docs/content/locales/es-ES/template-videos.mdx +53 -4
- package/docs/content/locales/es-ES/tracking.mdx +54 -4
- package/docs/content/locales/es-ES/using-your-agent.mdx +51 -4
- package/docs/content/locales/es-ES/voice-input.mdx +45 -4
- package/docs/content/locales/es-ES/what-is-agent-native.mdx +99 -8
- package/docs/content/locales/es-ES/workspace-connections.mdx +128 -8
- package/docs/content/locales/es-ES/workspace-management.mdx +50 -4
- package/docs/content/locales/es-ES/workspace.mdx +112 -8
- package/docs/content/locales/es-ES/writing-agent-instructions.mdx +46 -4
- package/docs/content/locales/fr-FR/a2a-protocol.mdx +97 -9
- package/docs/content/locales/fr-FR/actions.mdx +67 -4
- package/docs/content/locales/fr-FR/agent-mentions.mdx +68 -4
- package/docs/content/locales/fr-FR/agent-surfaces.mdx +118 -8
- package/docs/content/locales/fr-FR/agent-teams.mdx +172 -12
- package/docs/content/locales/fr-FR/agent-web-surfaces.mdx +51 -4
- package/docs/content/locales/fr-FR/authentication.mdx +122 -8
- package/docs/content/locales/fr-FR/automations.mdx +110 -8
- package/docs/content/locales/fr-FR/blueprint-installer.mdx +42 -4
- package/docs/content/locales/fr-FR/cli-adapters.mdx +44 -4
- package/docs/content/locales/fr-FR/client.mdx +81 -8
- package/docs/content/locales/fr-FR/cloneable-saas.mdx +85 -8
- package/docs/content/locales/fr-FR/code-agents-ui.mdx +102 -8
- package/docs/content/locales/fr-FR/components.mdx +118 -8
- package/docs/content/locales/fr-FR/context-awareness.mdx +98 -8
- package/docs/content/locales/fr-FR/creating-templates.mdx +49 -4
- package/docs/content/locales/fr-FR/cross-app-sso.mdx +109 -8
- package/docs/content/locales/fr-FR/database.mdx +52 -4
- package/docs/content/locales/fr-FR/deployment.mdx +103 -8
- package/docs/content/locales/fr-FR/dispatch.mdx +134 -8
- package/docs/content/locales/fr-FR/drop-in-agent.mdx +63 -4
- package/docs/content/locales/fr-FR/durable-resume.mdx +47 -4
- package/docs/content/locales/fr-FR/embedding-sdk.mdx +87 -8
- package/docs/content/locales/fr-FR/evals.mdx +102 -8
- package/docs/content/locales/fr-FR/extensions.mdx +113 -9
- package/docs/content/locales/fr-FR/external-agents.mdx +119 -8
- package/docs/content/locales/fr-FR/faq.mdx +98 -8
- package/docs/content/locales/fr-FR/file-uploads.mdx +61 -4
- package/docs/content/locales/fr-FR/frames.mdx +90 -8
- package/docs/content/locales/fr-FR/getting-started.mdx +34 -4
- package/docs/content/locales/fr-FR/harness-agents.mdx +77 -8
- package/docs/content/locales/fr-FR/human-approval.mdx +50 -4
- package/docs/content/locales/fr-FR/key-concepts.mdx +106 -8
- package/docs/content/locales/fr-FR/local-file-mode.mdx +58 -4
- package/docs/content/locales/fr-FR/mcp-apps.mdx +120 -10
- package/docs/content/locales/fr-FR/mcp-clients.mdx +135 -8
- package/docs/content/locales/fr-FR/mcp-protocol.mdx +105 -8
- package/docs/content/locales/fr-FR/messaging.mdx +115 -8
- package/docs/content/locales/fr-FR/migration-workbench.mdx +47 -4
- package/docs/content/locales/fr-FR/multi-app-workspace.mdx +91 -8
- package/docs/content/locales/fr-FR/multi-tenancy.mdx +80 -8
- package/docs/content/locales/fr-FR/native-chat-ui.mdx +108 -8
- package/docs/content/locales/fr-FR/notifications.mdx +135 -8
- package/docs/content/locales/fr-FR/observability.mdx +104 -8
- package/docs/content/locales/fr-FR/observational-memory.mdx +89 -8
- package/docs/content/locales/fr-FR/onboarding.mdx +45 -4
- package/docs/content/locales/fr-FR/plan-plugin.mdx +99 -8
- package/docs/content/locales/fr-FR/pr-visual-recap.mdx +126 -8
- package/docs/content/locales/fr-FR/processors.mdx +41 -4
- package/docs/content/locales/fr-FR/progress.mdx +46 -4
- package/docs/content/locales/fr-FR/pure-agent-apps.mdx +48 -4
- package/docs/content/locales/fr-FR/real-time-collaboration.mdx +107 -8
- package/docs/content/locales/fr-FR/recurring-jobs.mdx +59 -4
- package/docs/content/locales/fr-FR/routing.mdx +44 -5
- package/docs/content/locales/fr-FR/sandbox-adapters.mdx +44 -4
- package/docs/content/locales/fr-FR/security.mdx +82 -8
- package/docs/content/locales/fr-FR/server.mdx +173 -12
- package/docs/content/locales/fr-FR/sharing.mdx +45 -4
- package/docs/content/locales/fr-FR/skills-guide.mdx +118 -9
- package/docs/content/locales/fr-FR/template-analytics.mdx +46 -4
- package/docs/content/locales/fr-FR/template-assets.mdx +66 -4
- package/docs/content/locales/fr-FR/template-brain.mdx +69 -4
- package/docs/content/locales/fr-FR/template-calendar.mdx +62 -4
- package/docs/content/locales/fr-FR/template-chat.mdx +61 -4
- package/docs/content/locales/fr-FR/template-clips.mdx +52 -4
- package/docs/content/locales/fr-FR/template-content.mdx +64 -4
- package/docs/content/locales/fr-FR/template-design.mdx +58 -4
- package/docs/content/locales/fr-FR/template-dispatch.mdx +57 -4
- package/docs/content/locales/fr-FR/template-forms.mdx +64 -4
- package/docs/content/locales/fr-FR/template-mail.mdx +60 -4
- package/docs/content/locales/fr-FR/template-plan.mdx +61 -4
- package/docs/content/locales/fr-FR/template-slides.mdx +49 -4
- package/docs/content/locales/fr-FR/template-videos.mdx +53 -4
- package/docs/content/locales/fr-FR/tracking.mdx +54 -4
- package/docs/content/locales/fr-FR/using-your-agent.mdx +51 -4
- package/docs/content/locales/fr-FR/voice-input.mdx +45 -4
- package/docs/content/locales/fr-FR/what-is-agent-native.mdx +101 -8
- package/docs/content/locales/fr-FR/workspace-connections.mdx +128 -8
- package/docs/content/locales/fr-FR/workspace-management.mdx +50 -4
- package/docs/content/locales/fr-FR/workspace.mdx +112 -8
- package/docs/content/locales/fr-FR/writing-agent-instructions.mdx +47 -4
- package/docs/content/locales/hi-IN/a2a-protocol.mdx +97 -9
- package/docs/content/locales/hi-IN/actions.mdx +63 -4
- package/docs/content/locales/hi-IN/agent-mentions.mdx +68 -4
- package/docs/content/locales/hi-IN/agent-surfaces.mdx +112 -8
- package/docs/content/locales/hi-IN/agent-teams.mdx +171 -12
- package/docs/content/locales/hi-IN/agent-web-surfaces.mdx +51 -4
- package/docs/content/locales/hi-IN/authentication.mdx +122 -8
- package/docs/content/locales/hi-IN/automations.mdx +110 -8
- package/docs/content/locales/hi-IN/blueprint-installer.mdx +42 -4
- package/docs/content/locales/hi-IN/cli-adapters.mdx +44 -4
- package/docs/content/locales/hi-IN/client.mdx +79 -8
- package/docs/content/locales/hi-IN/cloneable-saas.mdx +85 -8
- package/docs/content/locales/hi-IN/code-agents-ui.mdx +96 -8
- package/docs/content/locales/hi-IN/components.mdx +114 -8
- package/docs/content/locales/hi-IN/context-awareness.mdx +102 -8
- package/docs/content/locales/hi-IN/creating-templates.mdx +53 -4
- package/docs/content/locales/hi-IN/cross-app-sso.mdx +109 -8
- package/docs/content/locales/hi-IN/database.mdx +52 -4
- package/docs/content/locales/hi-IN/deployment.mdx +103 -8
- package/docs/content/locales/hi-IN/dispatch.mdx +134 -8
- package/docs/content/locales/hi-IN/drop-in-agent.mdx +63 -4
- package/docs/content/locales/hi-IN/durable-resume.mdx +47 -4
- package/docs/content/locales/hi-IN/embedding-sdk.mdx +83 -8
- package/docs/content/locales/hi-IN/evals.mdx +100 -8
- package/docs/content/locales/hi-IN/extensions.mdx +113 -9
- package/docs/content/locales/hi-IN/external-agents.mdx +119 -8
- package/docs/content/locales/hi-IN/faq.mdx +96 -8
- package/docs/content/locales/hi-IN/file-uploads.mdx +61 -4
- package/docs/content/locales/hi-IN/frames.mdx +88 -8
- package/docs/content/locales/hi-IN/getting-started.mdx +34 -4
- package/docs/content/locales/hi-IN/harness-agents.mdx +77 -8
- package/docs/content/locales/hi-IN/human-approval.mdx +51 -4
- package/docs/content/locales/hi-IN/key-concepts.mdx +104 -8
- package/docs/content/locales/hi-IN/local-file-mode.mdx +58 -4
- package/docs/content/locales/hi-IN/mcp-apps.mdx +120 -10
- package/docs/content/locales/hi-IN/mcp-clients.mdx +133 -8
- package/docs/content/locales/hi-IN/mcp-protocol.mdx +105 -8
- package/docs/content/locales/hi-IN/messaging.mdx +115 -8
- package/docs/content/locales/hi-IN/migration-workbench.mdx +45 -4
- package/docs/content/locales/hi-IN/multi-app-workspace.mdx +91 -8
- package/docs/content/locales/hi-IN/multi-tenancy.mdx +80 -8
- package/docs/content/locales/hi-IN/native-chat-ui.mdx +106 -8
- package/docs/content/locales/hi-IN/notifications.mdx +135 -8
- package/docs/content/locales/hi-IN/observability.mdx +102 -8
- package/docs/content/locales/hi-IN/observational-memory.mdx +89 -8
- package/docs/content/locales/hi-IN/onboarding.mdx +45 -4
- package/docs/content/locales/hi-IN/plan-plugin.mdx +99 -8
- package/docs/content/locales/hi-IN/pr-visual-recap.mdx +126 -8
- package/docs/content/locales/hi-IN/processors.mdx +41 -4
- package/docs/content/locales/hi-IN/progress.mdx +46 -4
- package/docs/content/locales/hi-IN/pure-agent-apps.mdx +48 -4
- package/docs/content/locales/hi-IN/real-time-collaboration.mdx +106 -8
- package/docs/content/locales/hi-IN/recurring-jobs.mdx +59 -4
- package/docs/content/locales/hi-IN/routing.mdx +44 -5
- package/docs/content/locales/hi-IN/sandbox-adapters.mdx +43 -4
- package/docs/content/locales/hi-IN/security.mdx +78 -8
- package/docs/content/locales/hi-IN/server.mdx +169 -12
- package/docs/content/locales/hi-IN/sharing.mdx +45 -4
- package/docs/content/locales/hi-IN/skills-guide.mdx +118 -9
- package/docs/content/locales/hi-IN/template-analytics.mdx +46 -4
- package/docs/content/locales/hi-IN/template-assets.mdx +62 -4
- package/docs/content/locales/hi-IN/template-brain.mdx +69 -4
- package/docs/content/locales/hi-IN/template-calendar.mdx +62 -4
- package/docs/content/locales/hi-IN/template-chat.mdx +59 -4
- package/docs/content/locales/hi-IN/template-clips.mdx +52 -4
- package/docs/content/locales/hi-IN/template-content.mdx +62 -4
- package/docs/content/locales/hi-IN/template-design.mdx +58 -4
- package/docs/content/locales/hi-IN/template-dispatch.mdx +57 -4
- package/docs/content/locales/hi-IN/template-forms.mdx +64 -4
- package/docs/content/locales/hi-IN/template-mail.mdx +64 -4
- package/docs/content/locales/hi-IN/template-plan.mdx +61 -4
- package/docs/content/locales/hi-IN/template-slides.mdx +49 -4
- package/docs/content/locales/hi-IN/template-videos.mdx +53 -4
- package/docs/content/locales/hi-IN/tracking.mdx +54 -4
- package/docs/content/locales/hi-IN/using-your-agent.mdx +51 -4
- package/docs/content/locales/hi-IN/voice-input.mdx +43 -4
- package/docs/content/locales/hi-IN/what-is-agent-native.mdx +97 -8
- package/docs/content/locales/hi-IN/workspace-connections.mdx +128 -8
- package/docs/content/locales/hi-IN/workspace-management.mdx +50 -4
- package/docs/content/locales/hi-IN/workspace.mdx +111 -8
- package/docs/content/locales/hi-IN/writing-agent-instructions.mdx +40 -4
- package/docs/content/locales/ja-JP/a2a-protocol.mdx +97 -9
- package/docs/content/locales/ja-JP/actions.mdx +67 -4
- package/docs/content/locales/ja-JP/agent-mentions.mdx +68 -4
- package/docs/content/locales/ja-JP/agent-surfaces.mdx +116 -8
- package/docs/content/locales/ja-JP/agent-teams.mdx +172 -12
- package/docs/content/locales/ja-JP/agent-web-surfaces.mdx +51 -4
- package/docs/content/locales/ja-JP/authentication.mdx +122 -8
- package/docs/content/locales/ja-JP/automations.mdx +110 -8
- package/docs/content/locales/ja-JP/blueprint-installer.mdx +44 -4
- package/docs/content/locales/ja-JP/cli-adapters.mdx +44 -4
- package/docs/content/locales/ja-JP/client.mdx +79 -8
- package/docs/content/locales/ja-JP/cloneable-saas.mdx +85 -8
- package/docs/content/locales/ja-JP/code-agents-ui.mdx +100 -8
- package/docs/content/locales/ja-JP/components.mdx +116 -8
- package/docs/content/locales/ja-JP/context-awareness.mdx +100 -8
- package/docs/content/locales/ja-JP/creating-templates.mdx +51 -4
- package/docs/content/locales/ja-JP/cross-app-sso.mdx +109 -8
- package/docs/content/locales/ja-JP/database.mdx +52 -4
- package/docs/content/locales/ja-JP/deployment.mdx +103 -8
- package/docs/content/locales/ja-JP/dispatch.mdx +134 -8
- package/docs/content/locales/ja-JP/drop-in-agent.mdx +63 -4
- package/docs/content/locales/ja-JP/durable-resume.mdx +47 -4
- package/docs/content/locales/ja-JP/embedding-sdk.mdx +85 -8
- package/docs/content/locales/ja-JP/evals.mdx +102 -8
- package/docs/content/locales/ja-JP/extensions.mdx +111 -9
- package/docs/content/locales/ja-JP/external-agents.mdx +119 -8
- package/docs/content/locales/ja-JP/faq.mdx +98 -8
- package/docs/content/locales/ja-JP/file-uploads.mdx +61 -4
- package/docs/content/locales/ja-JP/frames.mdx +88 -8
- package/docs/content/locales/ja-JP/getting-started.mdx +34 -4
- package/docs/content/locales/ja-JP/harness-agents.mdx +79 -8
- package/docs/content/locales/ja-JP/human-approval.mdx +50 -4
- package/docs/content/locales/ja-JP/key-concepts.mdx +105 -8
- package/docs/content/locales/ja-JP/local-file-mode.mdx +58 -4
- package/docs/content/locales/ja-JP/mcp-apps.mdx +119 -10
- package/docs/content/locales/ja-JP/mcp-clients.mdx +134 -8
- package/docs/content/locales/ja-JP/mcp-protocol.mdx +105 -8
- package/docs/content/locales/ja-JP/messaging.mdx +115 -8
- package/docs/content/locales/ja-JP/migration-workbench.mdx +47 -4
- package/docs/content/locales/ja-JP/multi-app-workspace.mdx +91 -8
- package/docs/content/locales/ja-JP/multi-tenancy.mdx +80 -8
- package/docs/content/locales/ja-JP/native-chat-ui.mdx +104 -8
- package/docs/content/locales/ja-JP/notifications.mdx +135 -8
- package/docs/content/locales/ja-JP/observability.mdx +104 -8
- package/docs/content/locales/ja-JP/observational-memory.mdx +89 -8
- package/docs/content/locales/ja-JP/onboarding.mdx +45 -4
- package/docs/content/locales/ja-JP/plan-plugin.mdx +99 -8
- package/docs/content/locales/ja-JP/pr-visual-recap.mdx +123 -8
- package/docs/content/locales/ja-JP/processors.mdx +39 -4
- package/docs/content/locales/ja-JP/progress.mdx +46 -4
- package/docs/content/locales/ja-JP/pure-agent-apps.mdx +48 -4
- package/docs/content/locales/ja-JP/real-time-collaboration.mdx +106 -8
- package/docs/content/locales/ja-JP/recurring-jobs.mdx +59 -4
- package/docs/content/locales/ja-JP/routing.mdx +44 -5
- package/docs/content/locales/ja-JP/sandbox-adapters.mdx +43 -4
- package/docs/content/locales/ja-JP/security.mdx +82 -8
- package/docs/content/locales/ja-JP/server.mdx +171 -12
- package/docs/content/locales/ja-JP/sharing.mdx +45 -4
- package/docs/content/locales/ja-JP/skills-guide.mdx +118 -9
- package/docs/content/locales/ja-JP/template-analytics.mdx +46 -4
- package/docs/content/locales/ja-JP/template-assets.mdx +64 -4
- package/docs/content/locales/ja-JP/template-brain.mdx +67 -4
- package/docs/content/locales/ja-JP/template-calendar.mdx +62 -4
- package/docs/content/locales/ja-JP/template-chat.mdx +61 -4
- package/docs/content/locales/ja-JP/template-clips.mdx +52 -4
- package/docs/content/locales/ja-JP/template-content.mdx +62 -4
- package/docs/content/locales/ja-JP/template-design.mdx +60 -4
- package/docs/content/locales/ja-JP/template-dispatch.mdx +57 -4
- package/docs/content/locales/ja-JP/template-forms.mdx +62 -4
- package/docs/content/locales/ja-JP/template-mail.mdx +62 -4
- package/docs/content/locales/ja-JP/template-plan.mdx +63 -4
- package/docs/content/locales/ja-JP/template-slides.mdx +49 -4
- package/docs/content/locales/ja-JP/template-videos.mdx +53 -4
- package/docs/content/locales/ja-JP/tracking.mdx +54 -4
- package/docs/content/locales/ja-JP/using-your-agent.mdx +51 -4
- package/docs/content/locales/ja-JP/voice-input.mdx +43 -4
- package/docs/content/locales/ja-JP/what-is-agent-native.mdx +96 -8
- package/docs/content/locales/ja-JP/workspace-connections.mdx +128 -8
- package/docs/content/locales/ja-JP/workspace-management.mdx +50 -4
- package/docs/content/locales/ja-JP/workspace.mdx +111 -8
- package/docs/content/locales/ja-JP/writing-agent-instructions.mdx +44 -4
- package/docs/content/locales/ko-KR/a2a-protocol.mdx +97 -9
- package/docs/content/locales/ko-KR/actions.mdx +63 -4
- package/docs/content/locales/ko-KR/agent-mentions.mdx +68 -4
- package/docs/content/locales/ko-KR/agent-surfaces.mdx +113 -8
- package/docs/content/locales/ko-KR/agent-teams.mdx +171 -12
- package/docs/content/locales/ko-KR/agent-web-surfaces.mdx +51 -4
- package/docs/content/locales/ko-KR/authentication.mdx +122 -8
- package/docs/content/locales/ko-KR/automations.mdx +110 -8
- package/docs/content/locales/ko-KR/blueprint-installer.mdx +42 -4
- package/docs/content/locales/ko-KR/cli-adapters.mdx +44 -4
- package/docs/content/locales/ko-KR/client.mdx +79 -8
- package/docs/content/locales/ko-KR/cloneable-saas.mdx +85 -8
- package/docs/content/locales/ko-KR/code-agents-ui.mdx +96 -8
- package/docs/content/locales/ko-KR/components.mdx +112 -8
- package/docs/content/locales/ko-KR/context-awareness.mdx +96 -8
- package/docs/content/locales/ko-KR/creating-templates.mdx +51 -4
- package/docs/content/locales/ko-KR/cross-app-sso.mdx +109 -8
- package/docs/content/locales/ko-KR/database.mdx +52 -4
- package/docs/content/locales/ko-KR/deployment.mdx +103 -8
- package/docs/content/locales/ko-KR/dispatch.mdx +132 -8
- package/docs/content/locales/ko-KR/drop-in-agent.mdx +63 -4
- package/docs/content/locales/ko-KR/durable-resume.mdx +47 -4
- package/docs/content/locales/ko-KR/embedding-sdk.mdx +81 -8
- package/docs/content/locales/ko-KR/evals.mdx +102 -8
- package/docs/content/locales/ko-KR/extensions.mdx +111 -9
- package/docs/content/locales/ko-KR/external-agents.mdx +119 -8
- package/docs/content/locales/ko-KR/faq.mdx +96 -8
- package/docs/content/locales/ko-KR/file-uploads.mdx +61 -4
- package/docs/content/locales/ko-KR/frames.mdx +86 -8
- package/docs/content/locales/ko-KR/getting-started.mdx +34 -4
- package/docs/content/locales/ko-KR/harness-agents.mdx +77 -8
- package/docs/content/locales/ko-KR/human-approval.mdx +50 -4
- package/docs/content/locales/ko-KR/key-concepts.mdx +104 -8
- package/docs/content/locales/ko-KR/local-file-mode.mdx +56 -4
- package/docs/content/locales/ko-KR/mcp-apps.mdx +120 -10
- package/docs/content/locales/ko-KR/mcp-clients.mdx +133 -8
- package/docs/content/locales/ko-KR/mcp-protocol.mdx +105 -8
- package/docs/content/locales/ko-KR/messaging.mdx +115 -8
- package/docs/content/locales/ko-KR/migration-workbench.mdx +45 -4
- package/docs/content/locales/ko-KR/multi-app-workspace.mdx +91 -8
- package/docs/content/locales/ko-KR/multi-tenancy.mdx +80 -8
- package/docs/content/locales/ko-KR/native-chat-ui.mdx +104 -8
- package/docs/content/locales/ko-KR/notifications.mdx +135 -8
- package/docs/content/locales/ko-KR/observability.mdx +102 -8
- package/docs/content/locales/ko-KR/observational-memory.mdx +87 -8
- package/docs/content/locales/ko-KR/onboarding.mdx +44 -4
- package/docs/content/locales/ko-KR/plan-plugin.mdx +99 -8
- package/docs/content/locales/ko-KR/pr-visual-recap.mdx +125 -8
- package/docs/content/locales/ko-KR/processors.mdx +39 -4
- package/docs/content/locales/ko-KR/progress.mdx +46 -4
- package/docs/content/locales/ko-KR/pure-agent-apps.mdx +46 -4
- package/docs/content/locales/ko-KR/real-time-collaboration.mdx +104 -8
- package/docs/content/locales/ko-KR/recurring-jobs.mdx +59 -4
- package/docs/content/locales/ko-KR/routing.mdx +44 -5
- package/docs/content/locales/ko-KR/sandbox-adapters.mdx +41 -4
- package/docs/content/locales/ko-KR/security.mdx +78 -8
- package/docs/content/locales/ko-KR/server.mdx +171 -12
- package/docs/content/locales/ko-KR/sharing.mdx +45 -4
- package/docs/content/locales/ko-KR/skills-guide.mdx +118 -9
- package/docs/content/locales/ko-KR/template-analytics.mdx +46 -4
- package/docs/content/locales/ko-KR/template-assets.mdx +62 -4
- package/docs/content/locales/ko-KR/template-brain.mdx +65 -4
- package/docs/content/locales/ko-KR/template-calendar.mdx +60 -4
- package/docs/content/locales/ko-KR/template-chat.mdx +59 -4
- package/docs/content/locales/ko-KR/template-clips.mdx +52 -4
- package/docs/content/locales/ko-KR/template-content.mdx +60 -4
- package/docs/content/locales/ko-KR/template-design.mdx +58 -4
- package/docs/content/locales/ko-KR/template-dispatch.mdx +57 -4
- package/docs/content/locales/ko-KR/template-forms.mdx +60 -4
- package/docs/content/locales/ko-KR/template-mail.mdx +60 -4
- package/docs/content/locales/ko-KR/template-plan.mdx +57 -4
- package/docs/content/locales/ko-KR/template-slides.mdx +49 -4
- package/docs/content/locales/ko-KR/template-videos.mdx +53 -4
- package/docs/content/locales/ko-KR/tracking.mdx +54 -4
- package/docs/content/locales/ko-KR/using-your-agent.mdx +51 -4
- package/docs/content/locales/ko-KR/voice-input.mdx +43 -4
- package/docs/content/locales/ko-KR/what-is-agent-native.mdx +95 -8
- package/docs/content/locales/ko-KR/workspace-connections.mdx +128 -8
- package/docs/content/locales/ko-KR/workspace-management.mdx +50 -4
- package/docs/content/locales/ko-KR/workspace.mdx +111 -8
- package/docs/content/locales/ko-KR/writing-agent-instructions.mdx +38 -4
- package/docs/content/locales/pt-BR/a2a-protocol.mdx +99 -9
- package/docs/content/locales/pt-BR/actions.mdx +67 -4
- package/docs/content/locales/pt-BR/agent-mentions.mdx +68 -4
- package/docs/content/locales/pt-BR/agent-surfaces.mdx +116 -8
- package/docs/content/locales/pt-BR/agent-teams.mdx +172 -12
- package/docs/content/locales/pt-BR/agent-web-surfaces.mdx +51 -4
- package/docs/content/locales/pt-BR/authentication.mdx +122 -8
- package/docs/content/locales/pt-BR/automations.mdx +110 -8
- package/docs/content/locales/pt-BR/blueprint-installer.mdx +42 -4
- package/docs/content/locales/pt-BR/cli-adapters.mdx +44 -4
- package/docs/content/locales/pt-BR/client.mdx +81 -8
- package/docs/content/locales/pt-BR/cloneable-saas.mdx +85 -8
- package/docs/content/locales/pt-BR/code-agents-ui.mdx +98 -8
- package/docs/content/locales/pt-BR/components.mdx +118 -8
- package/docs/content/locales/pt-BR/context-awareness.mdx +100 -8
- package/docs/content/locales/pt-BR/creating-templates.mdx +51 -4
- package/docs/content/locales/pt-BR/cross-app-sso.mdx +109 -8
- package/docs/content/locales/pt-BR/database.mdx +52 -4
- package/docs/content/locales/pt-BR/deployment.mdx +103 -8
- package/docs/content/locales/pt-BR/dispatch.mdx +134 -8
- package/docs/content/locales/pt-BR/drop-in-agent.mdx +63 -4
- package/docs/content/locales/pt-BR/durable-resume.mdx +47 -4
- package/docs/content/locales/pt-BR/embedding-sdk.mdx +87 -8
- package/docs/content/locales/pt-BR/evals.mdx +102 -8
- package/docs/content/locales/pt-BR/extensions.mdx +113 -9
- package/docs/content/locales/pt-BR/external-agents.mdx +119 -8
- package/docs/content/locales/pt-BR/faq.mdx +98 -8
- package/docs/content/locales/pt-BR/file-uploads.mdx +61 -4
- package/docs/content/locales/pt-BR/frames.mdx +88 -8
- package/docs/content/locales/pt-BR/getting-started.mdx +34 -4
- package/docs/content/locales/pt-BR/harness-agents.mdx +79 -8
- package/docs/content/locales/pt-BR/human-approval.mdx +50 -4
- package/docs/content/locales/pt-BR/key-concepts.mdx +104 -8
- package/docs/content/locales/pt-BR/local-file-mode.mdx +60 -4
- package/docs/content/locales/pt-BR/mcp-apps.mdx +120 -10
- package/docs/content/locales/pt-BR/mcp-clients.mdx +133 -8
- package/docs/content/locales/pt-BR/mcp-protocol.mdx +105 -8
- package/docs/content/locales/pt-BR/messaging.mdx +115 -8
- package/docs/content/locales/pt-BR/migration-workbench.mdx +47 -4
- package/docs/content/locales/pt-BR/multi-app-workspace.mdx +91 -8
- package/docs/content/locales/pt-BR/multi-tenancy.mdx +80 -8
- package/docs/content/locales/pt-BR/native-chat-ui.mdx +108 -8
- package/docs/content/locales/pt-BR/notifications.mdx +135 -8
- package/docs/content/locales/pt-BR/observability.mdx +104 -8
- package/docs/content/locales/pt-BR/observational-memory.mdx +92 -8
- package/docs/content/locales/pt-BR/onboarding.mdx +45 -4
- package/docs/content/locales/pt-BR/plan-plugin.mdx +99 -8
- package/docs/content/locales/pt-BR/pr-visual-recap.mdx +125 -8
- package/docs/content/locales/pt-BR/processors.mdx +41 -4
- package/docs/content/locales/pt-BR/progress.mdx +46 -4
- package/docs/content/locales/pt-BR/pure-agent-apps.mdx +48 -4
- package/docs/content/locales/pt-BR/real-time-collaboration.mdx +107 -8
- package/docs/content/locales/pt-BR/recurring-jobs.mdx +59 -4
- package/docs/content/locales/pt-BR/routing.mdx +44 -5
- package/docs/content/locales/pt-BR/sandbox-adapters.mdx +43 -4
- package/docs/content/locales/pt-BR/security.mdx +82 -8
- package/docs/content/locales/pt-BR/server.mdx +173 -12
- package/docs/content/locales/pt-BR/sharing.mdx +45 -4
- package/docs/content/locales/pt-BR/skills-guide.mdx +118 -9
- package/docs/content/locales/pt-BR/template-analytics.mdx +46 -4
- package/docs/content/locales/pt-BR/template-assets.mdx +64 -4
- package/docs/content/locales/pt-BR/template-brain.mdx +69 -4
- package/docs/content/locales/pt-BR/template-calendar.mdx +62 -4
- package/docs/content/locales/pt-BR/template-chat.mdx +61 -4
- package/docs/content/locales/pt-BR/template-clips.mdx +52 -4
- package/docs/content/locales/pt-BR/template-content.mdx +64 -4
- package/docs/content/locales/pt-BR/template-design.mdx +58 -4
- package/docs/content/locales/pt-BR/template-dispatch.mdx +57 -4
- package/docs/content/locales/pt-BR/template-forms.mdx +64 -4
- package/docs/content/locales/pt-BR/template-mail.mdx +60 -4
- package/docs/content/locales/pt-BR/template-plan.mdx +63 -4
- package/docs/content/locales/pt-BR/template-slides.mdx +49 -4
- package/docs/content/locales/pt-BR/template-videos.mdx +53 -4
- package/docs/content/locales/pt-BR/tracking.mdx +54 -4
- package/docs/content/locales/pt-BR/using-your-agent.mdx +51 -4
- package/docs/content/locales/pt-BR/voice-input.mdx +43 -4
- package/docs/content/locales/pt-BR/what-is-agent-native.mdx +101 -8
- package/docs/content/locales/pt-BR/workspace-connections.mdx +128 -8
- package/docs/content/locales/pt-BR/workspace-management.mdx +50 -4
- package/docs/content/locales/pt-BR/workspace.mdx +111 -8
- package/docs/content/locales/pt-BR/writing-agent-instructions.mdx +46 -4
- package/docs/content/locales/zh-CN/a2a-protocol.mdx +97 -9
- package/docs/content/locales/zh-CN/actions.mdx +65 -4
- package/docs/content/locales/zh-CN/agent-mentions.mdx +68 -4
- package/docs/content/locales/zh-CN/agent-surfaces.mdx +108 -8
- package/docs/content/locales/zh-CN/agent-teams.mdx +171 -12
- package/docs/content/locales/zh-CN/agent-web-surfaces.mdx +51 -4
- package/docs/content/locales/zh-CN/authentication.mdx +122 -8
- package/docs/content/locales/zh-CN/automations.mdx +110 -8
- package/docs/content/locales/zh-CN/blueprint-installer.mdx +42 -4
- package/docs/content/locales/zh-CN/cli-adapters.mdx +44 -4
- package/docs/content/locales/zh-CN/client.mdx +79 -8
- package/docs/content/locales/zh-CN/cloneable-saas.mdx +83 -8
- package/docs/content/locales/zh-CN/code-agents-ui.mdx +94 -8
- package/docs/content/locales/zh-CN/components.mdx +112 -8
- package/docs/content/locales/zh-CN/context-awareness.mdx +96 -8
- package/docs/content/locales/zh-CN/creating-templates.mdx +51 -4
- package/docs/content/locales/zh-CN/cross-app-sso.mdx +107 -8
- package/docs/content/locales/zh-CN/database.mdx +52 -4
- package/docs/content/locales/zh-CN/deployment.mdx +103 -8
- package/docs/content/locales/zh-CN/dispatch.mdx +134 -8
- package/docs/content/locales/zh-CN/drop-in-agent.mdx +63 -4
- package/docs/content/locales/zh-CN/durable-resume.mdx +45 -4
- package/docs/content/locales/zh-CN/embedding-sdk.mdx +81 -8
- package/docs/content/locales/zh-CN/evals.mdx +100 -8
- package/docs/content/locales/zh-CN/extensions.mdx +111 -9
- package/docs/content/locales/zh-CN/external-agents.mdx +119 -8
- package/docs/content/locales/zh-CN/faq.mdx +96 -8
- package/docs/content/locales/zh-CN/file-uploads.mdx +61 -4
- package/docs/content/locales/zh-CN/frames.mdx +86 -8
- package/docs/content/locales/zh-CN/getting-started.mdx +34 -4
- package/docs/content/locales/zh-CN/harness-agents.mdx +79 -8
- package/docs/content/locales/zh-CN/human-approval.mdx +50 -4
- package/docs/content/locales/zh-CN/key-concepts.mdx +100 -8
- package/docs/content/locales/zh-CN/local-file-mode.mdx +56 -4
- package/docs/content/locales/zh-CN/mcp-apps.mdx +120 -10
- package/docs/content/locales/zh-CN/mcp-clients.mdx +133 -8
- package/docs/content/locales/zh-CN/mcp-protocol.mdx +105 -8
- package/docs/content/locales/zh-CN/messaging.mdx +115 -8
- package/docs/content/locales/zh-CN/migration-workbench.mdx +45 -4
- package/docs/content/locales/zh-CN/multi-app-workspace.mdx +91 -8
- package/docs/content/locales/zh-CN/multi-tenancy.mdx +80 -8
- package/docs/content/locales/zh-CN/native-chat-ui.mdx +104 -8
- package/docs/content/locales/zh-CN/notifications.mdx +135 -8
- package/docs/content/locales/zh-CN/observability.mdx +102 -8
- package/docs/content/locales/zh-CN/observational-memory.mdx +85 -8
- package/docs/content/locales/zh-CN/onboarding.mdx +44 -4
- package/docs/content/locales/zh-CN/plan-plugin.mdx +97 -8
- package/docs/content/locales/zh-CN/pr-visual-recap.mdx +123 -8
- package/docs/content/locales/zh-CN/processors.mdx +39 -4
- package/docs/content/locales/zh-CN/progress.mdx +46 -4
- package/docs/content/locales/zh-CN/pure-agent-apps.mdx +46 -4
- package/docs/content/locales/zh-CN/real-time-collaboration.mdx +98 -8
- package/docs/content/locales/zh-CN/recurring-jobs.mdx +59 -4
- package/docs/content/locales/zh-CN/routing.mdx +42 -5
- package/docs/content/locales/zh-CN/sandbox-adapters.mdx +41 -4
- package/docs/content/locales/zh-CN/security.mdx +78 -8
- package/docs/content/locales/zh-CN/server.mdx +169 -12
- package/docs/content/locales/zh-CN/sharing.mdx +45 -4
- package/docs/content/locales/zh-CN/skills-guide.mdx +118 -9
- package/docs/content/locales/zh-CN/template-analytics.mdx +46 -4
- package/docs/content/locales/zh-CN/template-assets.mdx +58 -4
- package/docs/content/locales/zh-CN/template-brain.mdx +65 -4
- package/docs/content/locales/zh-CN/template-calendar.mdx +58 -4
- package/docs/content/locales/zh-CN/template-chat.mdx +57 -4
- package/docs/content/locales/zh-CN/template-clips.mdx +52 -4
- package/docs/content/locales/zh-CN/template-content.mdx +58 -4
- package/docs/content/locales/zh-CN/template-design.mdx +58 -4
- package/docs/content/locales/zh-CN/template-dispatch.mdx +57 -4
- package/docs/content/locales/zh-CN/template-forms.mdx +58 -4
- package/docs/content/locales/zh-CN/template-mail.mdx +60 -4
- package/docs/content/locales/zh-CN/template-plan.mdx +57 -4
- package/docs/content/locales/zh-CN/template-slides.mdx +49 -4
- package/docs/content/locales/zh-CN/template-videos.mdx +51 -4
- package/docs/content/locales/zh-CN/tracking.mdx +54 -4
- package/docs/content/locales/zh-CN/using-your-agent.mdx +51 -4
- package/docs/content/locales/zh-CN/voice-input.mdx +43 -4
- package/docs/content/locales/zh-CN/what-is-agent-native.mdx +94 -8
- package/docs/content/locales/zh-CN/workspace-connections.mdx +126 -8
- package/docs/content/locales/zh-CN/workspace-management.mdx +50 -4
- package/docs/content/locales/zh-CN/workspace.mdx +110 -8
- package/docs/content/locales/zh-CN/writing-agent-instructions.mdx +38 -4
- package/docs/content/locales/zh-TW/a2a-protocol.mdx +97 -9
- package/docs/content/locales/zh-TW/actions.mdx +63 -4
- package/docs/content/locales/zh-TW/agent-mentions.mdx +68 -4
- package/docs/content/locales/zh-TW/agent-surfaces.mdx +108 -8
- package/docs/content/locales/zh-TW/agent-teams.mdx +171 -12
- package/docs/content/locales/zh-TW/agent-web-surfaces.mdx +51 -4
- package/docs/content/locales/zh-TW/authentication.mdx +122 -8
- package/docs/content/locales/zh-TW/automations.mdx +110 -8
- package/docs/content/locales/zh-TW/blueprint-installer.mdx +42 -4
- package/docs/content/locales/zh-TW/cli-adapters.mdx +44 -4
- package/docs/content/locales/zh-TW/client.mdx +79 -8
- package/docs/content/locales/zh-TW/cloneable-saas.mdx +83 -8
- package/docs/content/locales/zh-TW/code-agents-ui.mdx +94 -8
- package/docs/content/locales/zh-TW/components.mdx +112 -8
- package/docs/content/locales/zh-TW/context-awareness.mdx +96 -8
- package/docs/content/locales/zh-TW/creating-templates.mdx +51 -4
- package/docs/content/locales/zh-TW/cross-app-sso.mdx +107 -8
- package/docs/content/locales/zh-TW/database.mdx +52 -4
- package/docs/content/locales/zh-TW/deployment.mdx +103 -8
- package/docs/content/locales/zh-TW/dispatch.mdx +134 -8
- package/docs/content/locales/zh-TW/drop-in-agent.mdx +63 -4
- package/docs/content/locales/zh-TW/durable-background-runs.mdx +88 -8
- package/docs/content/locales/zh-TW/durable-resume.mdx +45 -4
- package/docs/content/locales/zh-TW/embedding-sdk.mdx +83 -8
- package/docs/content/locales/zh-TW/evals.mdx +100 -8
- package/docs/content/locales/zh-TW/extensions.mdx +111 -9
- package/docs/content/locales/zh-TW/external-agents.mdx +119 -8
- package/docs/content/locales/zh-TW/faq.mdx +96 -8
- package/docs/content/locales/zh-TW/file-uploads.mdx +61 -4
- package/docs/content/locales/zh-TW/frames.mdx +86 -8
- package/docs/content/locales/zh-TW/getting-started.mdx +34 -4
- package/docs/content/locales/zh-TW/harness-agents.mdx +79 -8
- package/docs/content/locales/zh-TW/human-approval.mdx +50 -4
- package/docs/content/locales/zh-TW/key-concepts.mdx +100 -8
- package/docs/content/locales/zh-TW/local-file-mode.mdx +56 -4
- package/docs/content/locales/zh-TW/mcp-apps.mdx +120 -10
- package/docs/content/locales/zh-TW/mcp-clients.mdx +133 -8
- package/docs/content/locales/zh-TW/mcp-protocol.mdx +105 -8
- package/docs/content/locales/zh-TW/messaging.mdx +115 -8
- package/docs/content/locales/zh-TW/migration-workbench.mdx +45 -4
- package/docs/content/locales/zh-TW/multi-app-workspace.mdx +91 -8
- package/docs/content/locales/zh-TW/multi-tenancy.mdx +80 -8
- package/docs/content/locales/zh-TW/native-chat-ui.mdx +104 -8
- package/docs/content/locales/zh-TW/notifications.mdx +135 -8
- package/docs/content/locales/zh-TW/observability.mdx +102 -8
- package/docs/content/locales/zh-TW/observational-memory.mdx +85 -8
- package/docs/content/locales/zh-TW/onboarding.mdx +44 -4
- package/docs/content/locales/zh-TW/plan-plugin.mdx +97 -8
- package/docs/content/locales/zh-TW/pr-visual-recap.mdx +123 -8
- package/docs/content/locales/zh-TW/processors.mdx +39 -4
- package/docs/content/locales/zh-TW/progress.mdx +46 -4
- package/docs/content/locales/zh-TW/pure-agent-apps.mdx +46 -4
- package/docs/content/locales/zh-TW/real-time-collaboration.mdx +98 -8
- package/docs/content/locales/zh-TW/recurring-jobs.mdx +59 -4
- package/docs/content/locales/zh-TW/routing.mdx +42 -5
- package/docs/content/locales/zh-TW/sandbox-adapters.mdx +41 -4
- package/docs/content/locales/zh-TW/security.mdx +80 -8
- package/docs/content/locales/zh-TW/server.mdx +169 -12
- package/docs/content/locales/zh-TW/sharing.mdx +45 -4
- package/docs/content/locales/zh-TW/skills-guide.mdx +118 -9
- package/docs/content/locales/zh-TW/template-analytics.mdx +46 -4
- package/docs/content/locales/zh-TW/template-assets.mdx +58 -4
- package/docs/content/locales/zh-TW/template-brain.mdx +65 -4
- package/docs/content/locales/zh-TW/template-calendar.mdx +58 -4
- package/docs/content/locales/zh-TW/template-chat.mdx +59 -4
- package/docs/content/locales/zh-TW/template-clips.mdx +52 -4
- package/docs/content/locales/zh-TW/template-content.mdx +58 -4
- package/docs/content/locales/zh-TW/template-design.mdx +58 -4
- package/docs/content/locales/zh-TW/template-dispatch.mdx +57 -4
- package/docs/content/locales/zh-TW/template-forms.mdx +58 -4
- package/docs/content/locales/zh-TW/template-mail.mdx +60 -4
- package/docs/content/locales/zh-TW/template-plan.mdx +57 -4
- package/docs/content/locales/zh-TW/template-slides.mdx +49 -4
- package/docs/content/locales/zh-TW/template-videos.mdx +51 -4
- package/docs/content/locales/zh-TW/tracking.mdx +54 -4
- package/docs/content/locales/zh-TW/using-your-agent.mdx +51 -4
- package/docs/content/locales/zh-TW/voice-input.mdx +43 -4
- package/docs/content/locales/zh-TW/what-is-agent-native.mdx +94 -8
- package/docs/content/locales/zh-TW/workspace-connections.mdx +126 -8
- package/docs/content/locales/zh-TW/workspace-management.mdx +50 -4
- package/docs/content/locales/zh-TW/workspace.mdx +111 -8
- package/docs/content/locales/zh-TW/writing-agent-instructions.mdx +38 -4
- package/docs/content/mcp-apps.mdx +120 -10
- package/docs/content/mcp-clients.mdx +161 -8
- package/docs/content/mcp-protocol.mdx +105 -8
- package/docs/content/messaging.mdx +115 -8
- package/docs/content/migration-workbench.mdx +45 -4
- package/docs/content/multi-app-workspace.mdx +91 -8
- package/docs/content/multi-tenancy.mdx +80 -8
- package/docs/content/native-chat-ui.mdx +106 -8
- package/docs/content/notifications.mdx +135 -8
- package/docs/content/observability.mdx +102 -8
- package/docs/content/observational-memory.mdx +89 -8
- package/docs/content/onboarding.mdx +45 -4
- package/docs/content/plan-plugin.mdx +99 -8
- package/docs/content/pr-visual-recap.mdx +125 -8
- package/docs/content/processors.mdx +41 -4
- package/docs/content/progress.mdx +46 -4
- package/docs/content/pure-agent-apps.mdx +46 -4
- package/docs/content/real-time-collaboration.mdx +104 -8
- package/docs/content/recurring-jobs.mdx +59 -4
- package/docs/content/routing.mdx +44 -5
- package/docs/content/sandbox-adapters.mdx +43 -4
- package/docs/content/security.mdx +80 -8
- package/docs/content/server.mdx +173 -12
- package/docs/content/sharing.mdx +45 -4
- package/docs/content/skills-guide.mdx +118 -9
- package/docs/content/template-analytics.mdx +46 -4
- package/docs/content/template-assets.mdx +60 -4
- package/docs/content/template-brain.mdx +67 -4
- package/docs/content/template-calendar.mdx +62 -4
- package/docs/content/template-chat.mdx +61 -4
- package/docs/content/template-clips.mdx +52 -4
- package/docs/content/template-content.mdx +60 -4
- package/docs/content/template-design.mdx +58 -4
- package/docs/content/template-dispatch.mdx +57 -4
- package/docs/content/template-forms.mdx +62 -4
- package/docs/content/template-mail.mdx +60 -4
- package/docs/content/template-plan.mdx +61 -4
- package/docs/content/template-slides.mdx +49 -4
- package/docs/content/template-videos.mdx +51 -4
- package/docs/content/tracking.mdx +54 -4
- package/docs/content/using-your-agent.mdx +51 -4
- package/docs/content/voice-input.mdx +43 -4
- package/docs/content/what-is-agent-native.mdx +188 -8
- package/docs/content/workspace-connections.mdx +128 -8
- package/docs/content/workspace-management.mdx +50 -4
- package/docs/content/workspace.mdx +111 -8
- package/docs/content/writing-agent-instructions.mdx +45 -4
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wireframe-kit.js","sourceRoot":"","sources":["../../../../src/client/blocks/library/wireframe-kit.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,aAAa,EACb,UAAU,EACV,SAAS,EACT,MAAM,EACN,QAAQ,EACR,oBAAoB,GAIrB,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,MAAM,SAAS,CAAC;AA6B5B,MAAM,iBAAiB,GAAG,sBAAsB,CAAC;AACjD,MAAM,cAAc,GAAG,IAAI,GAAG,EAAc,CAAC;AAE7C,SAAS,eAAe;IACtB,IAAI,OAAO,YAAY,KAAK,WAAW;QAAE,OAAO,SAAS,CAAC;IAC1D,IAAI,CAAC;QACH,OAAO,YAAY,CAAC,OAAO,CAAC,iBAAiB,CAAC,KAAK,OAAO;YACxD,CAAC,CAAC,OAAO;YACT,CAAC,CAAC,SAAS,CAAC;IAChB,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,SAAS,CAAC;IACnB,CAAC;AACH,CAAC;AAED,IAAI,YAAY,GAAmB,eAAe,EAAE,CAAC;AAErD,MAAM,UAAU,iBAAiB,CAAC,KAAqB;IACrD,IAAI,KAAK,KAAK,YAAY;QAAE,OAAO;IACnC,YAAY,GAAG,KAAK,CAAC;IACrB,IAAI,CAAC;QACH,YAAY,CAAC,OAAO,CAAC,iBAAiB,EAAE,KAAK,CAAC,CAAC;IACjD,CAAC;IAAC,MAAM,CAAC;QACP,2CAA2C;IAC7C,CAAC;IACD,KAAK,MAAM,QAAQ,IAAI,cAAc;QAAE,QAAQ,EAAE,CAAC;AACpD,CAAC;AAED,MAAM,UAAU,oBAAoB;IAClC,iBAAiB,CAAC,YAA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,CAAC,QAAQ,CAAC,UAAU,CAAC;QAClC,GAAG,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC;KACrC,CAAC;IACF,OAAO,YAAY,CAAC,MAAM,GAAG,CAAC,IAAI,YAAY,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC;AAC3E,CAAC;AAED,SAAS,kBAAkB,CAAC,IAAU;IACpC,MAAM,OAAO,GAAG,IAAI,YAAY,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC;IACpE,OAAO,OAAO,CACZ,OAAO,EAAE,SAAS,CAAC,QAAQ,CAAC,oBAAoB,CAAC;QACjD,OAAO,EAAE,OAAO,CAAC,qBAAqB,CAAC,CACxC,CAAC;AACJ,CAAC","sourcesContent":["import {\n createContext,\n useContext,\n useEffect,\n useRef,\n useState,\n useSyncExternalStore,\n type CSSProperties,\n type ReactNode,\n type RefObject,\n} from \"react\";\nimport rough from \"roughjs\";\n\nimport type {\n WireframeElName,\n WireframeNode,\n WireframeTone,\n} from \"./wireframe.config.js\";\n\n/**\n * Shared wireframe \"kit\" — hand-drawn low-fi primitives, the el → component node\n * registry, the rough.js sketch overlay, and the viewer-level sketchy/clean\n * style preference. Ported verbatim (geometry-wise) from the plan template's\n * `app/components/plan/wireframe/kit/*` so any app can render wireframe blocks.\n *\n * DECOUPLING: the only behavioral change from the plan copy is theme detection —\n * core blocks read `document.documentElement.classList.contains(\"dark\")` (the\n * MermaidBlock precedent) instead of importing `next-themes`. Everything else\n * (the `.plan-wf` / `[data-rough]` class contract the rough overlay measures,\n * the `--wf-*` / `--ink` / `--paper` token names every primitive reads) is\n * preserved exactly, so the kit looks identical in plan and renders correctly in\n * any app once the matching tokens exist in `core/styles/blocks.css`.\n */\n\n/* ========================================================================== */\n/* Viewer-level wireframe style preference (localStorage) */\n/* ========================================================================== */\n\nexport type WireframeStyle = \"sketchy\" | \"clean\";\n\nconst STYLE_STORAGE_KEY = \"plan-wireframe-style\";\nconst styleListeners = new Set<() => void>();\n\nfunction readStoredStyle(): WireframeStyle {\n if (typeof localStorage === \"undefined\") return \"sketchy\";\n try {\n return localStorage.getItem(STYLE_STORAGE_KEY) === \"clean\"\n ? \"clean\"\n : \"sketchy\";\n } catch {\n return \"sketchy\";\n }\n}\n\nlet currentStyle: WireframeStyle = readStoredStyle();\n\nexport function setWireframeStyle(style: WireframeStyle): void {\n if (style === currentStyle) return;\n currentStyle = style;\n try {\n localStorage.setItem(STYLE_STORAGE_KEY, style);\n } catch {\n // ignore (private mode / disabled storage)\n }\n for (const listener of styleListeners) listener();\n}\n\nexport function toggleWireframeStyle(): void {\n setWireframeStyle(currentStyle === \"sketchy\" ? \"clean\" : \"sketchy\");\n}\n\nfunction subscribeStyle(callback: () => void): () => void {\n styleListeners.add(callback);\n const onStorage = (event: StorageEvent) => {\n if (event.key === STYLE_STORAGE_KEY) {\n currentStyle = readStoredStyle();\n callback();\n }\n };\n if (typeof window !== \"undefined\") {\n window.addEventListener(\"storage\", onStorage);\n }\n return () => {\n styleListeners.delete(callback);\n if (typeof window !== \"undefined\") {\n window.removeEventListener(\"storage\", onStorage);\n }\n };\n}\n\nexport function useWireframeStyle(): WireframeStyle {\n return useSyncExternalStore(\n subscribeStyle,\n () => currentStyle,\n () => \"sketchy\",\n );\n}\n\n/** Read the live dark-mode flag from the document root (next-themes-free). */\nexport function useIsDark(): boolean {\n const [isDark, setIsDark] = useState(false);\n useEffect(() => {\n if (typeof document === \"undefined\") return;\n const root = document.documentElement;\n const read = () => setIsDark(root.classList.contains(\"dark\"));\n read();\n const observer = new MutationObserver(read);\n observer.observe(root, { attributes: true, attributeFilter: [\"class\"] });\n return () => observer.disconnect();\n }, []);\n return isDark;\n}\n\n/* ========================================================================== */\n/* Primitives (ported from kit/primitives.tsx) */\n/* ========================================================================== */\n\n/**\n * Frame-level config threaded to every Screen so skeleton / theme / sketch-vs-\n * clean reach the kit no matter which path renders the root Screen.\n */\nexport const KitConfigContext = createContext<{\n skeleton?: boolean;\n sketch?: number;\n theme?: \"light\" | \"dark\";\n style?: \"sketchy\" | \"clean\";\n}>({});\n\nconst V = {\n ink: \"var(--ink)\",\n soft: \"var(--ink-soft)\",\n line: \"var(--line)\",\n paper: \"var(--paper)\",\n card: \"var(--card)\",\n accent: \"var(--accent)\",\n accentSoft: \"var(--accent-soft)\",\n warn: \"var(--warn)\",\n warnSoft: \"var(--warn-soft)\",\n ok: \"var(--ok)\",\n okSoft: \"var(--ok-soft)\",\n stroke: \"var(--stroke)\",\n radius: \"var(--radius)\",\n gap: \"var(--gap)\",\n pad: \"var(--pad)\",\n fs: \"var(--fs)\",\n hand: \"var(--font-hand)\",\n script: \"var(--font-script)\",\n} as const;\n\ntype ToneColors = { fg: string; bg: string; bd: string };\n\nfunction toneColors(tone: WireframeTone = \"default\"): ToneColors {\n switch (tone) {\n case \"accent\":\n return { fg: V.accent, bg: V.accentSoft, bd: V.accent };\n case \"warn\":\n return { fg: V.warn, bg: V.warnSoft, bd: V.warn };\n case \"ok\":\n return { fg: V.ok, bg: V.okSoft, bd: V.ok };\n case \"muted\":\n return { fg: V.soft, bg: \"transparent\", bd: V.soft };\n default:\n return { fg: V.ink, bg: \"transparent\", bd: V.ink };\n }\n}\n\nfunction toneInk(tone?: WireframeTone): string {\n return toneColors(tone).fg;\n}\n\nfunction fontWeight(weight?: \"normal\" | \"medium\" | \"bold\"): number {\n if (weight === \"bold\") return 700;\n if (weight === \"medium\") return 600;\n return 400;\n}\n\nexport function Screen({\n children,\n pad = 0,\n sketch,\n density,\n theme,\n skeleton = false,\n style = {},\n}: {\n children?: ReactNode;\n pad?: number | string;\n sketch?: number;\n density?: \"compact\" | \"regular\" | \"roomy\";\n theme?: \"light\" | \"dark\";\n skeleton?: boolean;\n style?: CSSProperties;\n}) {\n const cfg = useContext(KitConfigContext);\n const isSkeleton = skeleton || Boolean(cfg.skeleton);\n const wfStyle = cfg.style ?? \"sketchy\";\n const wfTheme = theme ?? cfg.theme ?? \"light\";\n void sketch;\n return (\n <div\n className=\"plan-wf\"\n data-density={density ?? \"regular\"}\n data-theme={wfTheme}\n data-skeleton={isSkeleton ? \"true\" : undefined}\n data-style={wfStyle}\n style={{\n position: \"relative\",\n width: \"100%\",\n // `minHeight` (not a fixed `height: 100%`) so the screen fills an\n // auto-height artboard's floor yet grows with its content instead of\n // clipping. The frame shell (`ArtboardFrame`) owns the height policy; a\n // caller can still override via `style.height` for a fixed canvas.\n minHeight: \"100%\",\n background: V.paper,\n color: V.ink,\n fontFamily: V.hand,\n fontSize: V.fs,\n lineHeight: 1.25,\n display: \"flex\",\n flexDirection: \"column\",\n padding: pad,\n boxSizing: \"border-box\",\n overflow: \"hidden\",\n ...style,\n }}\n >\n {children}\n </div>\n );\n}\n\nexport function Hand({\n children,\n size,\n weight = 400,\n color = V.ink,\n script = false,\n style = {},\n}: {\n children?: ReactNode;\n size?: number | string;\n weight?: number;\n color?: string;\n script?: boolean;\n style?: CSSProperties;\n}) {\n return (\n <span\n style={{\n fontFamily: script ? V.script : V.hand,\n fontSize: size ?? V.fs,\n fontWeight: weight,\n color,\n minWidth: 0,\n overflowWrap: \"break-word\",\n ...style,\n }}\n >\n {children}\n </span>\n );\n}\n\nexport function Bar({\n w = 80,\n h,\n color = V.line,\n r = 4,\n style = {},\n}: {\n w?: number | string;\n h?: number | string;\n color?: string;\n r?: number | string;\n style?: CSSProperties;\n}) {\n return (\n <div\n style={{\n width: w,\n height: h ?? \"calc(var(--fs) * 0.72)\",\n background: color,\n borderRadius: r,\n flex: \"0 0 auto\",\n ...style,\n }}\n />\n );\n}\n\nexport function Lines({\n n = 2,\n gap = 6,\n widths,\n color = V.line,\n style = {},\n}: {\n n?: number;\n gap?: number;\n widths?: Array<number | string>;\n color?: string;\n style?: CSSProperties;\n}) {\n const ws =\n widths ??\n Array.from({ length: n }, (_, i) => (i === n - 1 ? \"55%\" : \"100%\"));\n return (\n <div style={{ display: \"flex\", flexDirection: \"column\", gap, ...style }}>\n {ws.map((w, i) => (\n <Bar key={i} w={typeof w === \"number\" ? `${w}%` : w} color={color} />\n ))}\n </div>\n );\n}\n\nexport function Box({\n children,\n pad = V.pad,\n fill = V.card,\n dashed = false,\n style = {},\n}: {\n children?: ReactNode;\n pad?: number | string;\n fill?: string;\n dashed?: boolean;\n style?: CSSProperties;\n}) {\n return (\n <div\n data-rough=\"rect\"\n style={{\n [\"--rough-stroke\" as string]: V.ink,\n border: `${V.stroke} ${dashed ? \"dashed\" : \"solid\"} ${V.ink}`,\n borderRadius: V.radius,\n background: fill,\n padding: pad,\n boxSizing: \"border-box\",\n minWidth: 0,\n ...style,\n }}\n >\n {children}\n </div>\n );\n}\n\nexport function Check({\n done = false,\n shape = \"square\",\n size = 18,\n}: {\n done?: boolean;\n shape?: \"square\" | \"circle\";\n size?: number;\n}) {\n const r = shape === \"circle\" ? \"50%\" : \"calc(var(--radius) * 0.5)\";\n return (\n <div\n data-rough={shape === \"circle\" ? \"ellipse\" : \"rect\"}\n style={{\n [\"--rough-stroke\" as string]: done ? V.accent : V.ink,\n width: size,\n height: size,\n flex: \"0 0 auto\",\n borderRadius: r,\n border: `${V.stroke} solid ${done ? V.accent : V.ink}`,\n background: done ? V.accent : \"transparent\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n }}\n >\n {done && (\n <svg\n width={size * 0.6}\n height={size * 0.6}\n viewBox=\"0 0 12 12\"\n fill=\"none\"\n stroke=\"#fff\"\n strokeWidth=\"2.2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n >\n <path d=\"M2 6.5l2.5 2.5L10 3\" />\n </svg>\n )}\n </div>\n );\n}\n\nexport function Pill({\n children,\n tone = \"default\",\n style = {},\n}: {\n children?: ReactNode;\n tone?: WireframeTone;\n style?: CSSProperties;\n}) {\n const c = toneColors(tone);\n return (\n <span\n style={{\n display: \"inline-flex\",\n alignItems: \"center\",\n gap: 4,\n border: `${V.stroke} solid ${c.bd}`,\n background: c.bg,\n color: c.fg,\n borderRadius: 999,\n padding: \"2px 9px\",\n fontSize: \"calc(var(--fs) * 0.82)\",\n fontFamily: V.hand,\n maxWidth: \"100%\",\n minWidth: 0,\n whiteSpace: \"normal\",\n overflowWrap: \"anywhere\",\n lineHeight: 1.3,\n ...style,\n }}\n >\n {children}\n </span>\n );\n}\n\nexport function Prio({ level = 2, label }: { level?: number; label?: string }) {\n const fill = level === 1 ? V.warn : level === 2 ? V.soft : \"transparent\";\n const bd = level === 3 ? V.soft : \"transparent\";\n return (\n <span style={{ display: \"inline-flex\", alignItems: \"center\", gap: 5 }}>\n <span\n style={{\n width: 9,\n height: 9,\n borderRadius: \"50%\",\n background: fill,\n border: `${V.stroke} solid ${bd}`,\n flex: \"0 0 auto\",\n }}\n />\n {label && (\n <Hand size=\"calc(var(--fs) * 0.82)\" color={V.soft}>\n {label}\n </Hand>\n )}\n </span>\n );\n}\n\nexport function Btn({\n children,\n solid = false,\n full = false,\n size = \"md\",\n tone = \"default\",\n style = {},\n}: {\n children?: ReactNode;\n solid?: boolean;\n full?: boolean;\n size?: \"sm\" | \"md\" | \"lg\";\n tone?: WireframeTone;\n style?: CSSProperties;\n}) {\n const pad =\n size === \"sm\" ? \"4px 10px\" : size === \"lg\" ? \"10px 18px\" : \"7px 14px\";\n const c = toneColors(tone === \"default\" ? \"accent\" : tone);\n return (\n <div\n data-rough=\"rect\"\n style={{\n [\"--rough-stroke\" as string]: solid ? c.bd : V.ink,\n display: full ? \"flex\" : \"inline-flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n gap: 6,\n border: `${V.stroke} solid ${solid ? c.bd : V.ink}`,\n background: solid ? c.bd : \"transparent\",\n color: solid ? \"#fff\" : V.ink,\n borderRadius: V.radius,\n padding: pad,\n fontFamily: V.hand,\n fontSize: V.fs,\n fontWeight: 700,\n width: full ? \"100%\" : \"auto\",\n maxWidth: \"100%\",\n minWidth: 0,\n boxSizing: \"border-box\",\n whiteSpace: \"normal\",\n overflowWrap: \"anywhere\",\n textAlign: \"center\",\n ...style,\n }}\n >\n {children}\n </div>\n );\n}\n\nexport function Chip({\n children,\n active = false,\n style = {},\n}: {\n children?: ReactNode;\n active?: boolean;\n style?: CSSProperties;\n}) {\n return (\n <span\n style={{\n display: \"inline-flex\",\n alignItems: \"center\",\n gap: 5,\n border: `${V.stroke} solid ${active ? V.accent : V.ink}`,\n background: active ? V.accentSoft : \"transparent\",\n color: active ? V.accent : V.ink,\n borderRadius: 999,\n padding: \"4px 12px\",\n fontSize: \"calc(var(--fs) * 0.88)\",\n fontFamily: V.hand,\n fontWeight: active ? 700 : 400,\n maxWidth: \"100%\",\n minWidth: 0,\n whiteSpace: \"normal\",\n overflowWrap: \"anywhere\",\n ...style,\n }}\n >\n {children}\n </span>\n );\n}\n\nexport function Field({\n label,\n value,\n placeholder,\n h,\n area = false,\n right,\n style = {},\n}: {\n label?: string;\n value?: string;\n placeholder?: number | string;\n h?: number | string;\n area?: boolean;\n right?: ReactNode;\n style?: CSSProperties;\n}) {\n return (\n <div style={{ display: \"flex\", flexDirection: \"column\", gap: 5, ...style }}>\n {label && (\n <Hand size=\"calc(var(--fs) * 0.86)\" color={V.soft} weight={700}>\n {label}\n </Hand>\n )}\n <div\n data-rough=\"rect\"\n style={{\n [\"--rough-stroke\" as string]: V.ink,\n border: `${V.stroke} solid ${V.ink}`,\n borderRadius: V.radius,\n background: V.card,\n padding: \"calc(var(--pad) * 0.8)\",\n minHeight: h ?? (area ? 64 : \"auto\"),\n display: \"flex\",\n alignItems: area ? \"flex-start\" : \"center\",\n justifyContent: \"space-between\",\n minWidth: 0,\n gap: 8,\n }}\n >\n {value ? (\n <Hand style={{ minWidth: 0, overflowWrap: \"anywhere\" }}>{value}</Hand>\n ) : area ? (\n <Lines n={2} widths={[\"85%\", \"60%\"]} />\n ) : (\n <Bar w={placeholder ?? 110} />\n )}\n {right}\n </div>\n </div>\n );\n}\n\nexport function StatusBar() {\n return (\n <div\n style={{\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n padding: \"9px 18px 2px\",\n flex: \"0 0 auto\",\n }}\n >\n <Hand size=\"calc(var(--fs) * 0.82)\" weight={700}>\n 9:41\n </Hand>\n <div style={{ display: \"flex\", gap: 5, alignItems: \"center\" }}>\n <Bar w={16} h={8} color={V.soft} r={2} />\n <Bar w={12} h={8} color={V.soft} r={2} />\n <Bar w={20} h={9} color={V.soft} r={2} />\n </div>\n </div>\n );\n}\n\nexport function Fab({ icon = \"+\" }: { icon?: string }) {\n return (\n <div\n data-rough=\"ellipse\"\n style={{\n [\"--rough-stroke\" as string]: V.accent,\n position: \"absolute\",\n right: 18,\n bottom: 22,\n width: 52,\n height: 52,\n borderRadius: \"50%\",\n border: `${V.stroke} solid ${V.accent}`,\n background: V.accent,\n color: \"#fff\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n fontFamily: V.hand,\n fontSize: 28,\n fontWeight: 700,\n lineHeight: 1,\n boxShadow: \"0 4px 12px rgba(0,0,0,0.16)\",\n zIndex: 4,\n }}\n >\n {icon}\n </div>\n );\n}\n\nexport function BrowserBar({\n title = \"todo\",\n children,\n}: {\n title?: string;\n children?: ReactNode;\n}) {\n return (\n <div\n data-rough=\"line:bottom\"\n style={{\n [\"--rough-stroke\" as string]: V.ink,\n display: \"flex\",\n alignItems: \"center\",\n gap: 10,\n padding: \"9px 14px\",\n borderBottom: `${V.stroke} solid ${V.ink}`,\n flex: \"0 0 auto\",\n background: V.card,\n }}\n >\n <div style={{ display: \"flex\", gap: 6 }}>\n {[0, 1, 2].map((i) => (\n <span\n key={i}\n data-rough=\"ellipse\"\n style={{\n [\"--rough-stroke\" as string]: V.ink,\n width: 11,\n height: 11,\n borderRadius: \"50%\",\n border: `${V.stroke} solid ${V.ink}`,\n }}\n />\n ))}\n </div>\n <div\n style={{\n flex: 1,\n border: `${V.stroke} solid ${V.soft}`,\n borderRadius: 999,\n padding: \"3px 12px\",\n display: \"flex\",\n alignItems: \"center\",\n gap: 6,\n }}\n >\n <Bar w={12} h={10} color={V.soft} r={3} />\n <Hand size=\"calc(var(--fs) * 0.82)\" color={V.soft}>\n {title}.app\n </Hand>\n </div>\n {children}\n </div>\n );\n}\n\nexport function SectionLabel({\n children,\n right,\n tone = \"muted\",\n}: {\n children?: ReactNode;\n right?: ReactNode;\n tone?: WireframeTone;\n}) {\n return (\n <div\n style={{\n display: \"flex\",\n alignItems: \"baseline\",\n justifyContent: \"space-between\",\n minWidth: 0,\n gap: 8,\n }}\n >\n <Hand\n size=\"calc(var(--fs) * 0.9)\"\n weight={700}\n color={toneInk(tone)}\n style={{\n letterSpacing: 0.3,\n minWidth: 0,\n overflowWrap: \"anywhere\",\n }}\n >\n {children}\n </Hand>\n {right}\n </div>\n );\n}\n\nexport function Avatar({ size = 26 }: { size?: number }) {\n return (\n <div\n data-rough=\"ellipse\"\n style={{\n [\"--rough-stroke\" as string]: V.ink,\n width: size,\n height: size,\n borderRadius: \"50%\",\n border: `${V.stroke} solid ${V.ink}`,\n background: V.accentSoft,\n flex: \"0 0 auto\",\n }}\n />\n );\n}\n\nexport function IconSquare({\n size = 18,\n active = false,\n}: {\n size?: number;\n active?: boolean;\n}) {\n return (\n <div\n data-rough=\"rect\"\n style={{\n [\"--rough-stroke\" as string]: active ? V.accent : V.soft,\n width: size,\n height: size,\n flex: \"0 0 auto\",\n borderRadius: \"calc(var(--radius) * 0.5)\",\n border: `${V.stroke} solid ${active ? V.accent : V.soft}`,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n }}\n >\n <div\n style={{\n width: \"55%\",\n height: \"55%\",\n borderRadius: 2,\n background: active ? V.accent : V.line,\n }}\n />\n </div>\n );\n}\n\nexport function NavItem({\n label,\n count,\n active = false,\n dot = false,\n tone = \"accent\",\n}: {\n label?: string;\n count?: number;\n active?: boolean;\n dot?: boolean;\n tone?: WireframeTone;\n}) {\n const dotColor = toneInk(tone);\n return (\n <div\n style={{\n display: \"flex\",\n alignItems: \"center\",\n gap: 9,\n padding: \"5px 8px\",\n borderRadius: V.radius,\n background: active ? V.accentSoft : \"transparent\",\n minWidth: 0,\n }}\n >\n {dot ? (\n <span\n style={{\n width: 10,\n height: 10,\n borderRadius: \"50%\",\n border: `${V.stroke} solid ${dotColor}`,\n background: dotColor,\n flex: \"0 0 auto\",\n }}\n />\n ) : (\n <IconSquare size={15} active={active} />\n )}\n <Hand\n color={active ? V.accent : V.ink}\n weight={active ? 700 : 400}\n style={{ flex: 1, minWidth: 0 }}\n >\n {label}\n </Hand>\n {count != null && (\n <Hand size=\"calc(var(--fs) * 0.82)\" color={V.soft}>\n {count}\n </Hand>\n )}\n </div>\n );\n}\n\nexport function Sidebar({\n children,\n width = 196,\n style = {},\n}: {\n children?: ReactNode;\n width?: number;\n style?: CSSProperties;\n}) {\n return (\n <div\n data-rough=\"line:right\"\n style={{\n [\"--rough-stroke\" as string]: V.ink,\n width,\n flex: \"0 0 auto\",\n borderRight: `${V.stroke} solid ${V.ink}`,\n background: V.card,\n padding: V.pad,\n display: \"flex\",\n flexDirection: \"column\",\n gap: V.gap,\n minHeight: 0,\n minWidth: 0,\n alignSelf: \"stretch\",\n overflow: \"hidden\",\n ...style,\n }}\n >\n {children}\n </div>\n );\n}\n\nexport function Main({\n children,\n style = {},\n}: {\n children?: ReactNode;\n style?: CSSProperties;\n}) {\n return (\n <div\n style={{\n flex: 1,\n minWidth: 0,\n minHeight: 0,\n padding: \"18px 24px\",\n display: \"flex\",\n flexDirection: \"column\",\n gap: V.gap,\n overflow: \"hidden\",\n ...style,\n }}\n >\n {children}\n </div>\n );\n}\n\nexport function Row({\n children,\n full = false,\n style = {},\n}: {\n children?: ReactNode;\n full?: boolean;\n style?: CSSProperties;\n}) {\n return (\n <div\n style={{\n display: \"flex\",\n flexDirection: \"row\",\n alignItems: \"stretch\",\n gap: V.gap,\n minWidth: 0,\n minHeight: 0,\n maxWidth: \"100%\",\n flex: full ? 1 : undefined,\n ...style,\n }}\n >\n {children}\n </div>\n );\n}\n\nexport function Col({\n children,\n full = false,\n style = {},\n}: {\n children?: ReactNode;\n full?: boolean;\n style?: CSSProperties;\n}) {\n return (\n <div\n style={{\n display: \"flex\",\n flexDirection: \"column\",\n gap: V.gap,\n minWidth: 0,\n minHeight: 0,\n flex: full ? 1 : undefined,\n ...style,\n }}\n >\n {children}\n </div>\n );\n}\n\nexport function TaskRow({\n title,\n note,\n due,\n dueTone = \"default\",\n prio,\n done = false,\n}: {\n title?: string;\n note?: string;\n due?: string;\n dueTone?: WireframeTone;\n prio?: number;\n done?: boolean;\n}) {\n return (\n <div\n style={{\n display: \"flex\",\n alignItems: \"flex-start\",\n gap: V.gap,\n padding: \"calc(var(--pad) * 0.55) 0\",\n minWidth: 0,\n }}\n >\n <div style={{ marginTop: 1 }}>\n <Check done={done} />\n </div>\n <div\n style={{\n flex: 1,\n minWidth: 0,\n display: \"flex\",\n flexDirection: \"column\",\n gap: 4,\n }}\n >\n <Hand\n color={done ? V.soft : V.ink}\n style={done ? { textDecoration: \"line-through\" } : undefined}\n >\n {title}\n </Hand>\n {note && (\n <Hand size=\"calc(var(--fs) * 0.85)\" color={V.soft}>\n {note}\n </Hand>\n )}\n </div>\n <div\n style={{\n display: \"flex\",\n alignItems: \"center\",\n flexWrap: \"wrap\",\n justifyContent: \"flex-end\",\n gap: 8,\n flex: \"0 0 auto\",\n }}\n >\n {due && <Pill tone={dueTone}>{due}</Pill>}\n {prio ? <Prio level={prio} /> : null}\n </div>\n </div>\n );\n}\n\nexport function Card({\n children,\n style = {},\n}: {\n children?: ReactNode;\n style?: CSSProperties;\n}) {\n return (\n <Box\n pad=\"calc(var(--pad) * 0.9)\"\n style={{\n display: \"flex\",\n flexDirection: \"column\",\n gap: 8,\n background: V.card,\n minWidth: 0,\n maxWidth: \"100%\",\n ...style,\n }}\n >\n {children}\n </Box>\n );\n}\n\nexport function Column({\n title,\n count,\n tone = \"muted\",\n width = 232,\n children,\n}: {\n title?: string;\n count?: number;\n tone?: WireframeTone;\n width?: number;\n children?: ReactNode;\n}) {\n return (\n <div\n style={{\n width,\n flex: \"0 0 auto\",\n display: \"flex\",\n flexDirection: \"column\",\n gap: V.gap,\n }}\n >\n <div style={{ display: \"flex\", alignItems: \"center\", gap: 8 }}>\n <span\n style={{\n width: 9,\n height: 9,\n borderRadius: \"50%\",\n background: toneInk(tone),\n flex: \"0 0 auto\",\n }}\n />\n <Hand weight={700} style={{ whiteSpace: \"nowrap\" }}>\n {title}\n </Hand>\n {count != null && (\n <Hand size=\"calc(var(--fs) * 0.82)\" color={V.soft}>\n {count}\n </Hand>\n )}\n <div style={{ flex: 1 }} />\n <Hand color={V.soft} weight={700}>\n +\n </Hand>\n </div>\n {children}\n </div>\n );\n}\n\nexport function Toolbar({\n children,\n style = {},\n}: {\n children?: ReactNode;\n style?: CSSProperties;\n}) {\n return (\n <div\n data-rough=\"line:bottom\"\n style={{\n [\"--rough-stroke\" as string]: V.ink,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n gap: V.gap,\n padding: \"12px 22px\",\n borderBottom: `${V.stroke} solid ${V.ink}`,\n background: V.card,\n flex: \"0 0 auto\",\n minWidth: 0,\n flexWrap: \"wrap\",\n ...style,\n }}\n >\n {children}\n </div>\n );\n}\n\nexport function Tabs({\n items = [],\n}: {\n items?: Array<{ label: string; active?: boolean }>;\n}) {\n return (\n <div style={{ display: \"flex\", gap: 7, flexWrap: \"wrap\" }}>\n {items.map((item, i) => (\n <Chip key={i} active={item.active}>\n {item.label}\n </Chip>\n ))}\n </div>\n );\n}\n\nexport function KV({ rows = [] }: { rows?: Array<{ k: string; v: string }> }) {\n return (\n <div style={{ display: \"flex\", flexDirection: \"column\", gap: 6 }}>\n {rows.map((row, i) => (\n <div\n key={i}\n style={{\n display: \"flex\",\n alignItems: \"baseline\",\n justifyContent: \"space-between\",\n gap: 12,\n }}\n >\n <Hand size=\"calc(var(--fs) * 0.88)\" color={V.soft}>\n {row.k}\n </Hand>\n <Hand\n style={{ textAlign: \"right\", minWidth: 0, wordBreak: \"break-word\" }}\n >\n {row.v}\n </Hand>\n </div>\n ))}\n </div>\n );\n}\n\nexport function SearchBar({\n placeholder = \"Search\",\n}: {\n placeholder?: string;\n}) {\n return (\n <div\n style={{\n display: \"flex\",\n alignItems: \"center\",\n gap: 6,\n border: `${V.stroke} solid ${V.soft}`,\n borderRadius: 999,\n padding: \"5px 11px\",\n background: V.card,\n }}\n >\n <Bar w={11} h={11} color={V.soft} r={3} />\n <Hand size=\"calc(var(--fs) * 0.85)\" color={V.soft}>\n {placeholder}\n </Hand>\n </div>\n );\n}\n\nexport function Divider({ style = {} }: { style?: CSSProperties }) {\n return (\n <div\n style={{\n height: V.stroke,\n background: V.line,\n flex: \"0 0 auto\",\n margin: \"3px 0\",\n ...style,\n }}\n />\n );\n}\n\nexport function Title({\n text,\n script = false,\n size = \"calc(var(--fs) * 2)\",\n color = V.ink,\n}: {\n text?: string;\n script?: boolean;\n size?: number | string;\n color?: string;\n}) {\n return (\n <Hand script={script} size={size} weight={700} color={color}>\n {text}\n </Hand>\n );\n}\n\nexport function Text({\n value,\n color,\n weight,\n script = false,\n}: {\n value?: string;\n color?: WireframeTone;\n weight?: \"normal\" | \"medium\" | \"bold\";\n script?: boolean;\n}) {\n return (\n <Hand color={toneInk(color)} weight={fontWeight(weight)} script={script}>\n {value}\n </Hand>\n );\n}\n\n/* ========================================================================== */\n/* Node registry (ported from kit/registry.tsx) */\n/* ========================================================================== */\n\ntype NodeRenderer = (node: WireframeNode, children: ReactNode) => ReactNode;\n\nconst REGISTRY: Record<WireframeElName, NodeRenderer> = {\n // --- Frame / structure -------------------------------------------------\n screen: (n) => {\n const kids = n.children ?? [];\n const lead = kids[0]?.el;\n if (lead === \"browserBar\") {\n return (\n <Screen pad={0}>\n {renderNode(kids[0], kids[0].id ?? \"browserbar\")}\n {renderScreenBodyNodes(kids.slice(1))}\n </Screen>\n );\n }\n if (lead === \"statusBar\") {\n return (\n <Screen pad={0}>\n {renderNode(kids[0], kids[0].id ?? \"statusbar\")}\n <div\n style={{\n flex: 1,\n minHeight: 0,\n display: \"flex\",\n flexDirection: \"column\",\n gap: \"var(--gap)\",\n padding: \"calc(var(--pad) * 1.1)\",\n }}\n >\n {renderScreenBodyNodes(kids.slice(1))}\n </div>\n </Screen>\n );\n }\n return (\n <Screen pad=\"calc(var(--pad) * 1.35)\">\n {renderScreenBodyNodes(kids)}\n </Screen>\n );\n },\n browserBar: (n, children) => (\n <BrowserBar title={n.title ?? n.text}>{children}</BrowserBar>\n ),\n statusBar: () => <StatusBar />,\n toolbar: (_n, children) => <Toolbar>{children}</Toolbar>,\n row: (n, children) => <Row full={n.full}>{children}</Row>,\n col: (n, children) => <Col full={n.full}>{children}</Col>,\n sidebar: (_n, children) => <Sidebar>{children}</Sidebar>,\n main: (_n, children) => <Main>{children}</Main>,\n box: (n, children) => <Box dashed={n.dashed}>{children}</Box>,\n card: (_n, children) => <Card>{children}</Card>,\n column: (n, children) => (\n <Column title={n.title ?? n.text} count={n.count} tone={n.tone}>\n {children}\n </Column>\n ),\n divider: () => <Divider />,\n\n // --- Text --------------------------------------------------------------\n title: (n) => <Title text={n.text} script={n.script} />,\n text: (n) => (\n <Text\n value={n.value ?? n.text}\n color={n.color}\n weight={n.weight}\n script={n.script}\n />\n ),\n lines: (n) => <Lines n={n.n} widths={n.widths} />,\n section: (n) => (\n <SectionLabel tone={n.tone}>{n.label ?? n.text}</SectionLabel>\n ),\n\n // --- List / task -------------------------------------------------------\n navItem: (n) => (\n <NavItem\n label={n.label ?? n.text}\n count={n.count}\n active={n.active}\n dot={n.dot}\n tone={n.tone}\n />\n ),\n taskRow: (n) => (\n <TaskRow\n title={n.title ?? n.text}\n note={n.note}\n due={n.due}\n dueTone={n.dueTone}\n prio={n.prio}\n done={n.done}\n />\n ),\n\n // --- Controls ----------------------------------------------------------\n chips: (n) => <Tabs items={n.items ?? []} />,\n chip: (n) => <Chip active={n.active}>{n.label ?? n.text}</Chip>,\n pill: (n) => <Pill tone={n.tone}>{n.label ?? n.text}</Pill>,\n check: (n) => <Check done={n.done} shape={n.shape} />,\n field: (n) => (\n <Field\n label={n.label}\n value={n.value}\n placeholder={n.placeholder}\n area={n.area}\n />\n ),\n btn: (n) => (\n <Btn solid={n.solid} full={n.full} tone={n.tone}>\n {n.label ?? n.text}\n </Btn>\n ),\n fab: (n) => <Fab icon={n.icon} />,\n searchBar: (n) => <SearchBar placeholder={n.placeholder} />,\n\n // --- Atoms -------------------------------------------------------------\n avatar: () => <Avatar />,\n iconSquare: (n) => <IconSquare active={n.active} />,\n kv: (n) => <KV rows={n.rows ?? []} />,\n};\n\nfunction renderScreenBodyNode(\n node: WireframeNode,\n key?: string | number,\n): ReactNode {\n const shouldFill =\n node.full !== false &&\n (node.el === \"row\" || node.el === \"col\" || node.el === \"main\");\n return renderNode(shouldFill ? { ...node, full: true } : node, key);\n}\n\nfunction renderScreenBodyNodes(nodes: WireframeNode[]): ReactNode {\n return nodes.map((node, i) =>\n renderScreenBodyNode(node, node.id ?? `screen-body-${i}`),\n );\n}\n\n/** Render a single kit-tree node (and its children, recursively). */\nexport function renderNode(\n node: WireframeNode,\n key?: string | number,\n): ReactNode {\n const renderer = REGISTRY[node.el];\n const children = node.children?.length ? renderNodes(node.children) : null;\n if (!renderer) {\n return children ? <div key={key}>{children}</div> : null;\n }\n const rendered = renderer(node, children);\n return <KeyedNode key={key ?? node.id}>{rendered}</KeyedNode>;\n}\n\n/** Render an array of nodes. */\nexport function renderNodes(nodes: WireframeNode[]): ReactNode {\n return nodes.map((node, i) => renderNode(node, node.id ?? i));\n}\n\n/** Lightweight keyed wrapper that does not introduce extra DOM. */\nfunction KeyedNode({ children }: { children: ReactNode }) {\n return <>{children}</>;\n}\n\n/** Whether an `el` name has a registered renderer. */\nexport function hasRenderer(el: string): el is WireframeElName {\n return el in REGISTRY;\n}\n\nexport { REGISTRY as NODE_REGISTRY, V as WFV, toneColors, toneInk, fontWeight };\n\n/* ========================================================================== */\n/* Rough overlay (ported from kit/rough.tsx) */\n/* ========================================================================== */\n\nconst gen = rough.generator();\n\ntype RoughPath = { d: string; stroke: string; strokeWidth: number };\n\n/** The default selector used for HTML mockups: bordered/box-like elements. */\nexport const HTML_ROUGH_SELECTOR =\n \"[data-rough],button,input,textarea,select,.wf-card,.wf-box,hr,.wf-frame-target\";\n\n/** Stable per-element seed so a frame doesn't re-wobble on every measure. */\nfunction seedFrom(...parts: Array<string | number>): number {\n const value = parts.join(\":\");\n let hash = 2166136261;\n for (let i = 0; i < value.length; i++) {\n hash ^= value.charCodeAt(i);\n hash = Math.imul(hash, 16777619);\n }\n return ((hash >>> 0) % 2147483646) + 1;\n}\n\n/** Map the 0–100 sketch slider to a rough.js roughness (calm + legible). */\nexport function sketchRoughness(sketch: number): number {\n const s = Math.max(0, Math.min(100, Number.isFinite(sketch) ? sketch : 0));\n return Number((0.32 + (s / 100) * 1.15).toFixed(2));\n}\n\nfunction sketchBowing(sketch: number): number {\n const s = Math.max(0, Math.min(100, Number.isFinite(sketch) ? sketch : 0));\n return Number((0.4 + (s / 100) * 0.5).toFixed(2));\n}\n\nfunction readVar(el: Element, name: string): string {\n return getComputedStyle(el).getPropertyValue(name).trim();\n}\n\n/** Normalize a CSS color (hex or rgb[a]) to \"r,g,b\" for equality comparison. */\nfunction toRgbKey(color: string): string | null {\n const c = color.trim();\n const hex = c.match(/^#([0-9a-f]{3}|[0-9a-f]{6})$/i);\n if (hex) {\n const h = hex[1];\n const full =\n h.length === 3\n ? h\n .split(\"\")\n .map((d) => d + d)\n .join(\"\")\n : h;\n const n = parseInt(full, 16);\n return `${(n >> 16) & 255},${(n >> 8) & 255},${n & 255}`;\n }\n const rgb = c.match(/rgba?\\(([^)]+)\\)/i);\n if (rgb) {\n const [r, g, b] = rgb[1].split(\",\").map((v) => parseInt(v.trim(), 10));\n return `${r},${g},${b}`;\n }\n return null;\n}\n\n/** True when two CSS colors resolve to the same RGB (hex vs rgb tolerant). */\nfunction sameColor(a: string, b: string): boolean {\n const ka = toRgbKey(a);\n const kb = toRgbKey(b);\n return ka !== null && ka === kb;\n}\n\n/** A rounded-rect SVG path (so the frame stroke follows the artboard radius). */\nfunction roundedRectPath(\n x: number,\n y: number,\n w: number,\n h: number,\n r: number,\n): string {\n const rad = Math.max(0, Math.min(r, w / 2, h / 2));\n return [\n `M${x + rad},${y}`,\n `H${x + w - rad}`,\n `A${rad},${rad} 0 0 1 ${x + w},${y + rad}`,\n `V${y + h - rad}`,\n `A${rad},${rad} 0 0 1 ${x + w - rad},${y + h}`,\n `H${x + rad}`,\n `A${rad},${rad} 0 0 1 ${x},${y + h - rad}`,\n `V${y + rad}`,\n `A${rad},${rad} 0 0 1 ${x + rad},${y}`,\n \"Z\",\n ].join(\" \");\n}\n\nfunction elementStroke(node: Element, fallback: string): string {\n const explicit = readVar(node, \"--rough-stroke\");\n if (explicit) return explicit;\n const cs = getComputedStyle(node);\n for (const side of [\n \"borderTopColor\",\n \"borderLeftColor\",\n \"borderBottomColor\",\n \"borderRightColor\",\n ] as const) {\n const width = parseFloat(\n cs.getPropertyValue(side.replace(\"Color\", \"Width\")),\n );\n const color = cs[side];\n if (width > 0 && color && color !== \"rgba(0, 0, 0, 0)\") return color;\n }\n return fallback;\n}\n\nfunction build(\n scope: HTMLElement,\n opts: {\n roughness: number;\n bowing: number;\n frameRadius: number;\n drawFrame: boolean;\n selector: string;\n },\n): { paths: RoughPath[]; w: number; h: number } {\n const base = scope.getBoundingClientRect();\n const layoutW = scope.offsetWidth;\n const layoutH = scope.offsetHeight;\n if (!layoutW || !layoutH) return { paths: [], w: 0, h: 0 };\n const zoom = base.width / layoutW || 1;\n\n const themed =\n (scope.matches(\".plan-wf, .plan-html-frame, .plan-diagram-frame\")\n ? scope\n : scope.querySelector(\n \".plan-wf, .plan-html-frame, .plan-diagram-frame\",\n )) ?? scope;\n const ink =\n readVar(themed, \"--ink\") || readVar(themed, \"--wf-ink\") || \"#34322e\";\n const sketch = readVar(themed, \"--wf-sketch\") || ink;\n const line = readVar(themed, \"--wf-line\") || readVar(themed, \"--line\") || \"\";\n\n const paths: RoughPath[] = [];\n let index = 0;\n const push = (drawable: unknown, stroke: string, sw: number) => {\n for (const p of gen.toPaths(\n drawable as Parameters<typeof gen.toPaths>[0],\n )) {\n paths.push({\n d: p.d,\n stroke: p.stroke && p.stroke !== \"none\" ? p.stroke : stroke,\n strokeWidth: p.strokeWidth || sw,\n });\n }\n };\n const makeOpts = (stroke: string, sw: number, seed: number) => ({\n seed,\n roughness: opts.roughness,\n bowing: opts.bowing,\n stroke,\n strokeWidth: sw,\n preserveVertices: true,\n });\n\n if (opts.drawFrame) {\n const sw = 2;\n push(\n gen.path(\n roundedRectPath(2, 2, layoutW - 4, layoutH - 4, opts.frameRadius),\n {\n ...makeOpts(sketch, sw, seedFrom(\"frame\", layoutW, layoutH)),\n roughness: opts.roughness + 0.35,\n bowing: opts.bowing + 0.18,\n },\n ),\n sketch,\n sw,\n );\n }\n\n scope.querySelectorAll<HTMLElement>(opts.selector).forEach((node) => {\n if (node.getAttribute(\"data-rough\") === \"none\") return;\n if (readVar(node, \"--rough-skip\") === \"1\") return;\n const r = node.getBoundingClientRect();\n const x = (r.left - base.left) / zoom;\n const y = (r.top - base.top) / zoom;\n const w = r.width / zoom;\n const h = r.height / zoom;\n if (w < 2 || h < 2) return;\n const kind = node.getAttribute(\"data-rough\") || \"rect\";\n const rawStroke = elementStroke(node, sketch);\n const stroke =\n sameColor(rawStroke, ink) || (line !== \"\" && sameColor(rawStroke, line))\n ? sketch\n : rawStroke;\n const sw = Number(readVar(node, \"--rough-w\")) || 1.4;\n const seed = seedFrom(\n kind,\n Math.round(x),\n Math.round(y),\n Math.round(w),\n Math.round(h),\n index++,\n );\n const o = makeOpts(stroke, sw, seed);\n let drawable: unknown;\n if (kind === \"ellipse\") {\n drawable = gen.ellipse(x + w / 2, y + h / 2, w, h, o);\n } else if (kind === \"line:right\") {\n drawable = gen.line(x + w, y, x + w, y + h, o);\n } else if (kind === \"line:bottom\") {\n drawable = gen.line(x, y + h, x + w, y + h, o);\n } else if (kind === \"line:top\" || node.tagName === \"HR\") {\n drawable = gen.line(x, y + h / 2, x + w, y + h / 2, o);\n } else {\n const cr = parseFloat(getComputedStyle(node).borderTopLeftRadius) || 0;\n const radius = Math.min(cr / zoom, w / 2, h / 2);\n drawable =\n radius > 1\n ? gen.path(roundedRectPath(x + 1, y + 1, w - 2, h - 2, radius), o)\n : gen.rectangle(x + 1, y + 1, w - 2, h - 2, o);\n }\n push(drawable, stroke, sw);\n });\n\n return { paths, w: layoutW, h: layoutH };\n}\n\n/**\n * Renders the rough overlay for a frame. `scopeRef` points at the frame root.\n * When `enabled` is false (skeleton / clean register) it renders nothing and the\n * crisp CSS borders stay visible.\n */\nexport function RoughOverlay({\n scopeRef,\n sketch = 52,\n enabled = true,\n drawFrame = true,\n frameRadius = 14,\n selector = \"[data-rough]\",\n}: {\n scopeRef: RefObject<HTMLElement | null>;\n sketch?: number;\n enabled?: boolean;\n drawFrame?: boolean;\n frameRadius?: number;\n selector?: string;\n}) {\n const [state, setState] = useState<{\n paths: RoughPath[];\n w: number;\n h: number;\n }>({ paths: [], w: 0, h: 0 });\n const rafRef = useRef(0);\n\n useEffect(() => {\n const el = scopeRef.current;\n if (!el || !enabled) {\n el?.removeAttribute(\"data-rough-ready\");\n el?.querySelector(\n \".plan-wf, .plan-html-frame, .plan-diagram-frame\",\n )?.removeAttribute(\"data-rough-ready\");\n setState({ paths: [], w: 0, h: 0 });\n return;\n }\n const roughness = sketchRoughness(sketch);\n const bowing = sketchBowing(sketch);\n const measure = () => {\n clearTimeout(rafRef.current);\n rafRef.current = window.setTimeout(() => {\n const next = build(el, {\n roughness,\n bowing,\n frameRadius,\n drawFrame,\n selector,\n });\n if (next.w && next.h) {\n el.setAttribute(\"data-rough-ready\", \"true\");\n (\n el.querySelector(\n \".plan-wf, .plan-html-frame, .plan-diagram-frame\",\n ) ?? el\n ).setAttribute(\"data-rough-ready\", \"true\");\n setState(next);\n }\n }, 0);\n };\n measure();\n const ro = new ResizeObserver(measure);\n ro.observe(el);\n el.querySelectorAll(selector).forEach((node) => ro.observe(node));\n const mo = new MutationObserver((mutations) => {\n if (mutations.every(isRoughOverlayMutation)) return;\n measure();\n });\n mo.observe(el, {\n attributes: true,\n childList: true,\n characterData: true,\n subtree: true,\n });\n el.addEventListener(\"plan-prototype-runtime:rendered\", measure);\n let cancelled = false;\n if (typeof document !== \"undefined\" && \"fonts\" in document) {\n void document.fonts.ready.then(() => {\n if (!cancelled) measure();\n });\n }\n return () => {\n cancelled = true;\n ro.disconnect();\n mo.disconnect();\n el.removeEventListener(\"plan-prototype-runtime:rendered\", measure);\n clearTimeout(rafRef.current);\n el.removeAttribute(\"data-rough-ready\");\n el.querySelector(\n \".plan-wf, .plan-html-frame, .plan-diagram-frame\",\n )?.removeAttribute(\"data-rough-ready\");\n };\n }, [scopeRef, sketch, enabled, drawFrame, frameRadius, selector]);\n\n if (!enabled || !state.paths.length) return null;\n return (\n <svg\n aria-hidden\n className=\"plan-rough-overlay\"\n width=\"100%\"\n height=\"100%\"\n viewBox={`0 0 ${state.w} ${state.h}`}\n preserveAspectRatio=\"none\"\n style={{\n position: \"absolute\",\n inset: 0,\n pointerEvents: \"none\",\n overflow: \"hidden\",\n zIndex: 3,\n }}\n >\n {state.paths.map((p, i) => (\n <path\n key={i}\n d={p.d}\n fill=\"none\"\n stroke={p.stroke}\n strokeWidth={p.strokeWidth}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n ))}\n </svg>\n );\n}\n\nfunction isRoughOverlayMutation(mutation: MutationRecord) {\n if (nodeIsRoughOverlay(mutation.target)) return true;\n\n const changedNodes = [\n ...Array.from(mutation.addedNodes),\n ...Array.from(mutation.removedNodes),\n ];\n return changedNodes.length > 0 && changedNodes.every(nodeIsRoughOverlay);\n}\n\nfunction nodeIsRoughOverlay(node: Node) {\n const element = node instanceof Element ? node : node.parentElement;\n return Boolean(\n element?.classList.contains(\"plan-rough-overlay\") ||\n element?.closest(\".plan-rough-overlay\"),\n );\n}\n"]}
|
|
1
|
+
{"version":3,"file":"wireframe-kit.js","sourceRoot":"","sources":["../../../../src/client/blocks/library/wireframe-kit.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,aAAa,EACb,UAAU,EACV,SAAS,EACT,MAAM,EACN,QAAQ,EACR,oBAAoB,GAIrB,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,MAAM,SAAS,CAAC;AA6B5B,MAAM,iBAAiB,GAAG,sBAAsB,CAAC;AACjD,MAAM,cAAc,GAAG,IAAI,GAAG,EAAc,CAAC;AAE7C,SAAS,eAAe;IACtB,IAAI,OAAO,YAAY,KAAK,WAAW;QAAE,OAAO,SAAS,CAAC;IAC1D,IAAI,CAAC;QACH,OAAO,YAAY,CAAC,OAAO,CAAC,iBAAiB,CAAC,KAAK,OAAO;YACxD,CAAC,CAAC,OAAO;YACT,CAAC,CAAC,SAAS,CAAC;IAChB,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,SAAS,CAAC;IACnB,CAAC;AACH,CAAC;AAED,IAAI,YAAY,GAAmB,eAAe,EAAE,CAAC;AAErD,MAAM,UAAU,iBAAiB,CAAC,KAAqB;IACrD,IAAI,KAAK,KAAK,YAAY;QAAE,OAAO;IACnC,YAAY,GAAG,KAAK,CAAC;IACrB,IAAI,CAAC;QACH,YAAY,CAAC,OAAO,CAAC,iBAAiB,EAAE,KAAK,CAAC,CAAC;IACjD,CAAC;IAAC,MAAM,CAAC;QACP,2CAA2C;IAC7C,CAAC;IACD,KAAK,MAAM,QAAQ,IAAI,cAAc;QAAE,QAAQ,EAAE,CAAC;AACpD,CAAC;AAED,MAAM,UAAU,oBAAoB;IAClC,iBAAiB,CAAC,YAAY,KAAK,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;AACtE,CAAC;AAED,SAAS,cAAc,CAAC,QAAoB;IAC1C,cAAc,CAAC,GAAG,CAAC,QAAQ,CAAC,C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,KAAK,CAAC,kBAAkB,CAAC,CAAC;AAC3E,CAAC;AAED,SAAS,kBAAkB,CAAC,IAAU;IACpC,MAAM,OAAO,GAAG,IAAI,YAAY,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC;IACpE,OAAO,OAAO,CACZ,OAAO,EAAE,SAAS,CAAC,QAAQ,CAAC,oBAAoB,CAAC;QACjD,OAAO,EAAE,OAAO,CAAC,qBAAqB,CAAC,CACxC,CAAC;AACJ,CAAC","sourcesContent":["import {\n createContext,\n useContext,\n useEffect,\n useRef,\n useState,\n useSyncExternalStore,\n type CSSProperties,\n type ReactNode,\n type RefObject,\n} from \"react\";\nimport rough from \"roughjs\";\n\nimport type {\n WireframeElName,\n WireframeNode,\n WireframeTone,\n} from \"./wireframe.config.js\";\n\n/**\n * Shared wireframe \"kit\" — hand-drawn low-fi primitives, the el → component node\n * registry, the rough.js sketch overlay, and the viewer-level sketchy/clean\n * style preference. Ported verbatim (geometry-wise) from the plan template's\n * `app/components/plan/wireframe/kit/*` so any app can render wireframe blocks.\n *\n * DECOUPLING: the only behavioral change from the plan copy is theme detection —\n * core blocks read `document.documentElement.classList.contains(\"dark\")` (the\n * MermaidBlock precedent) instead of importing `next-themes`. Everything else\n * (the `.plan-wf` / `[data-rough]` class contract the rough overlay measures,\n * the `--wf-*` / `--ink` / `--paper` token names every primitive reads) is\n * preserved exactly, so the kit looks identical in plan and renders correctly in\n * any app once the matching tokens exist in `core/styles/blocks.css`.\n */\n\n/* ========================================================================== */\n/* Viewer-level wireframe style preference (localStorage) */\n/* ========================================================================== */\n\nexport type WireframeStyle = \"sketchy\" | \"clean\";\n\nconst STYLE_STORAGE_KEY = \"plan-wireframe-style\";\nconst styleListeners = new Set<() => void>();\n\nfunction readStoredStyle(): WireframeStyle {\n if (typeof localStorage === \"undefined\") return \"sketchy\";\n try {\n return localStorage.getItem(STYLE_STORAGE_KEY) === \"clean\"\n ? \"clean\"\n : \"sketchy\";\n } catch {\n return \"sketchy\";\n }\n}\n\nlet currentStyle: WireframeStyle = readStoredStyle();\n\nexport function setWireframeStyle(style: WireframeStyle): void {\n if (style === currentStyle) return;\n currentStyle = style;\n try {\n localStorage.setItem(STYLE_STORAGE_KEY, style);\n } catch {\n // ignore (private mode / disabled storage)\n }\n for (const listener of styleListeners) listener();\n}\n\nexport function toggleWireframeStyle(): void {\n setWireframeStyle(currentStyle === \"sketchy\" ? \"clean\" : \"sketchy\");\n}\n\nfunction subscribeStyle(callback: () => void): () => void {\n styleListeners.add(callback);\n const onStorage = (event: StorageEvent) => {\n if (event.key === STYLE_STORAGE_KEY) {\n currentStyle = readStoredStyle();\n callback();\n }\n };\n if (typeof window !== \"undefined\") {\n window.addEventListener(\"storage\", onStorage);\n }\n return () => {\n styleListeners.delete(callback);\n if (typeof window !== \"undefined\") {\n window.removeEventListener(\"storage\", onStorage);\n }\n };\n}\n\nexport function useWireframeStyle(): WireframeStyle {\n return useSyncExternalStore(\n subscribeStyle,\n () => currentStyle,\n () => \"sketchy\",\n );\n}\n\n/** Read the live dark-mode flag from the document root (next-themes-free). */\nexport function useIsDark(): boolean {\n const [isDark, setIsDark] = useState(false);\n useEffect(() => {\n if (typeof document === \"undefined\") return;\n const root = document.documentElement;\n const read = () => setIsDark(root.classList.contains(\"dark\"));\n read();\n const observer = new MutationObserver(read);\n observer.observe(root, { attributes: true, attributeFilter: [\"class\"] });\n return () => observer.disconnect();\n }, []);\n return isDark;\n}\n\n/* ========================================================================== */\n/* Primitives (ported from kit/primitives.tsx) */\n/* ========================================================================== */\n\n/**\n * Frame-level config threaded to every Screen so skeleton / theme / sketch-vs-\n * clean reach the kit no matter which path renders the root Screen.\n */\nexport const KitConfigContext = createContext<{\n skeleton?: boolean;\n sketch?: number;\n theme?: \"light\" | \"dark\";\n style?: \"sketchy\" | \"clean\";\n}>({});\n\nconst V = {\n ink: \"var(--ink)\",\n soft: \"var(--ink-soft)\",\n line: \"var(--line)\",\n paper: \"var(--paper)\",\n card: \"var(--card)\",\n accent: \"var(--accent)\",\n accentSoft: \"var(--accent-soft)\",\n warn: \"var(--warn)\",\n warnSoft: \"var(--warn-soft)\",\n ok: \"var(--ok)\",\n okSoft: \"var(--ok-soft)\",\n stroke: \"var(--stroke)\",\n radius: \"var(--radius)\",\n gap: \"var(--gap)\",\n pad: \"var(--pad)\",\n fs: \"var(--fs)\",\n hand: \"var(--font-hand)\",\n script: \"var(--font-script)\",\n} as const;\n\ntype ToneColors = { fg: string; bg: string; bd: string };\n\nfunction toneColors(tone: WireframeTone = \"default\"): ToneColors {\n switch (tone) {\n case \"accent\":\n return { fg: V.accent, bg: V.accentSoft, bd: V.accent };\n case \"warn\":\n return { fg: V.warn, bg: V.warnSoft, bd: V.warn };\n case \"ok\":\n return { fg: V.ok, bg: V.okSoft, bd: V.ok };\n case \"muted\":\n return { fg: V.soft, bg: \"transparent\", bd: V.soft };\n default:\n return { fg: V.ink, bg: \"transparent\", bd: V.ink };\n }\n}\n\nfunction toneInk(tone?: WireframeTone): string {\n return toneColors(tone).fg;\n}\n\nfunction fontWeight(weight?: \"normal\" | \"medium\" | \"bold\"): number {\n if (weight === \"bold\") return 700;\n if (weight === \"medium\") return 600;\n return 400;\n}\n\nexport function Screen({\n children,\n pad = 0,\n sketch,\n density,\n theme,\n skeleton = false,\n style = {},\n}: {\n children?: ReactNode;\n pad?: number | string;\n sketch?: number;\n density?: \"compact\" | \"regular\" | \"roomy\";\n theme?: \"light\" | \"dark\";\n skeleton?: boolean;\n style?: CSSProperties;\n}) {\n const cfg = useContext(KitConfigContext);\n const isSkeleton = skeleton || Boolean(cfg.skeleton);\n const wfStyle = cfg.style ?? \"sketchy\";\n const wfTheme = theme ?? cfg.theme ?? \"light\";\n void sketch;\n return (\n <div\n className=\"plan-wf\"\n data-density={density ?? \"regular\"}\n data-theme={wfTheme}\n data-skeleton={isSkeleton ? \"true\" : undefined}\n data-style={wfStyle}\n style={{\n position: \"relative\",\n width: \"100%\",\n // `minHeight` (not a fixed `height: 100%`) so the screen fills an\n // auto-height artboard's floor yet grows with its content instead of\n // clipping. The frame shell (`ArtboardFrame`) owns the height policy; a\n // caller can still override via `style.height` for a fixed canvas.\n minHeight: \"100%\",\n background: V.paper,\n color: V.ink,\n fontFamily: V.hand,\n fontSize: V.fs,\n lineHeight: 1.25,\n display: \"flex\",\n flexDirection: \"column\",\n padding: pad,\n boxSizing: \"border-box\",\n overflow: \"hidden\",\n ...style,\n }}\n >\n {children}\n </div>\n );\n}\n\nexport function Hand({\n children,\n size,\n weight = 400,\n color = V.ink,\n script = false,\n style = {},\n}: {\n children?: ReactNode;\n size?: number | string;\n weight?: number;\n color?: string;\n script?: boolean;\n style?: CSSProperties;\n}) {\n return (\n <span\n style={{\n fontFamily: script ? V.script : V.hand,\n fontSize: size ?? V.fs,\n fontWeight: weight,\n color,\n minWidth: 0,\n overflowWrap: \"break-word\",\n ...style,\n }}\n >\n {children}\n </span>\n );\n}\n\nexport function Bar({\n w = 80,\n h,\n color = V.line,\n r = 4,\n style = {},\n}: {\n w?: number | string;\n h?: number | string;\n color?: string;\n r?: number | string;\n style?: CSSProperties;\n}) {\n return (\n <div\n style={{\n width: w,\n height: h ?? \"calc(var(--fs) * 0.72)\",\n background: color,\n borderRadius: r,\n flex: \"0 0 auto\",\n ...style,\n }}\n />\n );\n}\n\nexport function Lines({\n n = 2,\n gap = 6,\n widths,\n color = V.line,\n style = {},\n}: {\n n?: number;\n gap?: number;\n widths?: Array<number | string>;\n color?: string;\n style?: CSSProperties;\n}) {\n const ws =\n widths ??\n Array.from({ length: n }, (_, i) => (i === n - 1 ? \"55%\" : \"100%\"));\n return (\n <div style={{ display: \"flex\", flexDirection: \"column\", gap, ...style }}>\n {ws.map((w, i) => (\n <Bar key={i} w={typeof w === \"number\" ? `${w}%` : w} color={color} />\n ))}\n </div>\n );\n}\n\nexport function Box({\n children,\n pad = V.pad,\n fill = V.card,\n dashed = false,\n style = {},\n}: {\n children?: ReactNode;\n pad?: number | string;\n fill?: string;\n dashed?: boolean;\n style?: CSSProperties;\n}) {\n return (\n <div\n data-rough=\"rect\"\n style={{\n [\"--rough-stroke\" as string]: V.ink,\n border: `${V.stroke} ${dashed ? \"dashed\" : \"solid\"} ${V.ink}`,\n borderRadius: V.radius,\n background: fill,\n padding: pad,\n boxSizing: \"border-box\",\n minWidth: 0,\n ...style,\n }}\n >\n {children}\n </div>\n );\n}\n\nexport function Check({\n done = false,\n shape = \"square\",\n size = 18,\n}: {\n done?: boolean;\n shape?: \"square\" | \"circle\";\n size?: number;\n}) {\n const r = shape === \"circle\" ? \"50%\" : \"calc(var(--radius) * 0.5)\";\n return (\n <div\n data-rough={shape === \"circle\" ? \"ellipse\" : \"rect\"}\n style={{\n [\"--rough-stroke\" as string]: done ? V.accent : V.ink,\n width: size,\n height: size,\n flex: \"0 0 auto\",\n borderRadius: r,\n border: `${V.stroke} solid ${done ? V.accent : V.ink}`,\n background: done ? V.accent : \"transparent\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n }}\n >\n {done && (\n <svg\n width={size * 0.6}\n height={size * 0.6}\n viewBox=\"0 0 12 12\"\n fill=\"none\"\n stroke=\"#fff\"\n strokeWidth=\"2.2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n >\n <path d=\"M2 6.5l2.5 2.5L10 3\" />\n </svg>\n )}\n </div>\n );\n}\n\nexport function Pill({\n children,\n tone = \"default\",\n style = {},\n}: {\n children?: ReactNode;\n tone?: WireframeTone;\n style?: CSSProperties;\n}) {\n const c = toneColors(tone);\n return (\n <span\n style={{\n display: \"inline-flex\",\n alignItems: \"center\",\n gap: 4,\n border: `${V.stroke} solid ${c.bd}`,\n background: c.bg,\n color: c.fg,\n borderRadius: 999,\n padding: \"2px 9px\",\n fontSize: \"calc(var(--fs) * 0.82)\",\n fontFamily: V.hand,\n maxWidth: \"100%\",\n minWidth: 0,\n whiteSpace: \"normal\",\n overflowWrap: \"anywhere\",\n lineHeight: 1.3,\n ...style,\n }}\n >\n {children}\n </span>\n );\n}\n\nexport function Prio({ level = 2, label }: { level?: number; label?: string }) {\n const fill = level === 1 ? V.warn : level === 2 ? V.soft : \"transparent\";\n const bd = level === 3 ? V.soft : \"transparent\";\n return (\n <span style={{ display: \"inline-flex\", alignItems: \"center\", gap: 5 }}>\n <span\n style={{\n width: 9,\n height: 9,\n borderRadius: \"50%\",\n background: fill,\n border: `${V.stroke} solid ${bd}`,\n flex: \"0 0 auto\",\n }}\n />\n {label && (\n <Hand size=\"calc(var(--fs) * 0.82)\" color={V.soft}>\n {label}\n </Hand>\n )}\n </span>\n );\n}\n\nexport function Btn({\n children,\n solid = false,\n full = false,\n size = \"md\",\n tone = \"default\",\n style = {},\n}: {\n children?: ReactNode;\n solid?: boolean;\n full?: boolean;\n size?: \"sm\" | \"md\" | \"lg\";\n tone?: WireframeTone;\n style?: CSSProperties;\n}) {\n const pad =\n size === \"sm\" ? \"4px 10px\" : size === \"lg\" ? \"10px 18px\" : \"7px 14px\";\n const c = toneColors(tone === \"default\" ? \"accent\" : tone);\n return (\n <div\n data-rough=\"rect\"\n style={{\n [\"--rough-stroke\" as string]: solid ? c.bd : V.ink,\n display: full ? \"flex\" : \"inline-flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n gap: 6,\n border: `${V.stroke} solid ${solid ? c.bd : V.ink}`,\n background: solid ? c.bd : \"transparent\",\n color: solid ? \"#fff\" : V.ink,\n borderRadius: V.radius,\n padding: pad,\n fontFamily: V.hand,\n fontSize: V.fs,\n fontWeight: 700,\n width: full ? \"100%\" : \"auto\",\n maxWidth: \"100%\",\n minWidth: 0,\n boxSizing: \"border-box\",\n whiteSpace: \"normal\",\n overflowWrap: \"anywhere\",\n textAlign: \"center\",\n ...style,\n }}\n >\n {children}\n </div>\n );\n}\n\nexport function Chip({\n children,\n active = false,\n style = {},\n}: {\n children?: ReactNode;\n active?: boolean;\n style?: CSSProperties;\n}) {\n return (\n <span\n style={{\n display: \"inline-flex\",\n alignItems: \"center\",\n gap: 5,\n border: `${V.stroke} solid ${active ? V.accent : V.ink}`,\n background: active ? V.accentSoft : \"transparent\",\n color: active ? V.accent : V.ink,\n borderRadius: 999,\n padding: \"4px 12px\",\n fontSize: \"calc(var(--fs) * 0.88)\",\n fontFamily: V.hand,\n fontWeight: active ? 700 : 400,\n maxWidth: \"100%\",\n minWidth: 0,\n whiteSpace: \"normal\",\n overflowWrap: \"anywhere\",\n ...style,\n }}\n >\n {children}\n </span>\n );\n}\n\nexport function Field({\n label,\n value,\n placeholder,\n h,\n area = false,\n right,\n style = {},\n}: {\n label?: string;\n value?: string;\n placeholder?: number | string;\n h?: number | string;\n area?: boolean;\n right?: ReactNode;\n style?: CSSProperties;\n}) {\n return (\n <div style={{ display: \"flex\", flexDirection: \"column\", gap: 5, ...style }}>\n {label && (\n <Hand size=\"calc(var(--fs) * 0.86)\" color={V.soft} weight={700}>\n {label}\n </Hand>\n )}\n <div\n data-rough=\"rect\"\n style={{\n [\"--rough-stroke\" as string]: V.ink,\n border: `${V.stroke} solid ${V.ink}`,\n borderRadius: V.radius,\n background: V.card,\n padding: \"calc(var(--pad) * 0.8)\",\n minHeight: h ?? (area ? 64 : \"auto\"),\n display: \"flex\",\n alignItems: area ? \"flex-start\" : \"center\",\n justifyContent: \"space-between\",\n minWidth: 0,\n gap: 8,\n }}\n >\n {value ? (\n <Hand style={{ minWidth: 0, overflowWrap: \"anywhere\" }}>{value}</Hand>\n ) : area ? (\n <Lines n={2} widths={[\"85%\", \"60%\"]} />\n ) : (\n <Bar w={placeholder ?? 110} />\n )}\n {right}\n </div>\n </div>\n );\n}\n\nexport function StatusBar() {\n return (\n <div\n style={{\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n padding: \"9px 18px 2px\",\n flex: \"0 0 auto\",\n }}\n >\n <Hand size=\"calc(var(--fs) * 0.82)\" weight={700}>\n 9:41\n </Hand>\n <div style={{ display: \"flex\", gap: 5, alignItems: \"center\" }}>\n <Bar w={16} h={8} color={V.soft} r={2} />\n <Bar w={12} h={8} color={V.soft} r={2} />\n <Bar w={20} h={9} color={V.soft} r={2} />\n </div>\n </div>\n );\n}\n\nexport function Fab({ icon = \"+\" }: { icon?: string }) {\n return (\n <div\n data-rough=\"ellipse\"\n style={{\n [\"--rough-stroke\" as string]: V.accent,\n position: \"absolute\",\n right: 18,\n bottom: 22,\n width: 52,\n height: 52,\n borderRadius: \"50%\",\n border: `${V.stroke} solid ${V.accent}`,\n background: V.accent,\n color: \"#fff\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n fontFamily: V.hand,\n fontSize: 28,\n fontWeight: 700,\n lineHeight: 1,\n boxShadow: \"0 4px 12px rgba(0,0,0,0.16)\",\n zIndex: 4,\n }}\n >\n {icon}\n </div>\n );\n}\n\nexport function BrowserBar({\n title = \"todo\",\n children,\n}: {\n title?: string;\n children?: ReactNode;\n}) {\n return (\n <div\n data-rough=\"line:bottom\"\n style={{\n [\"--rough-stroke\" as string]: V.ink,\n display: \"flex\",\n alignItems: \"center\",\n gap: 10,\n padding: \"9px 14px\",\n borderBottom: `${V.stroke} solid ${V.ink}`,\n flex: \"0 0 auto\",\n background: V.card,\n }}\n >\n <div style={{ display: \"flex\", gap: 6 }}>\n {[0, 1, 2].map((i) => (\n <span\n key={i}\n data-rough=\"ellipse\"\n style={{\n [\"--rough-stroke\" as string]: V.ink,\n width: 11,\n height: 11,\n borderRadius: \"50%\",\n border: `${V.stroke} solid ${V.ink}`,\n }}\n />\n ))}\n </div>\n <div\n style={{\n flex: 1,\n border: `${V.stroke} solid ${V.soft}`,\n borderRadius: 999,\n padding: \"3px 12px\",\n display: \"flex\",\n alignItems: \"center\",\n gap: 6,\n }}\n >\n <Bar w={12} h={10} color={V.soft} r={3} />\n <Hand size=\"calc(var(--fs) * 0.82)\" color={V.soft}>\n {title}.app\n </Hand>\n </div>\n {children}\n </div>\n );\n}\n\nexport function SectionLabel({\n children,\n right,\n tone = \"muted\",\n}: {\n children?: ReactNode;\n right?: ReactNode;\n tone?: WireframeTone;\n}) {\n return (\n <div\n style={{\n display: \"flex\",\n alignItems: \"baseline\",\n justifyContent: \"space-between\",\n minWidth: 0,\n gap: 8,\n }}\n >\n <Hand\n size=\"calc(var(--fs) * 0.9)\"\n weight={700}\n color={toneInk(tone)}\n style={{\n letterSpacing: 0.3,\n minWidth: 0,\n overflowWrap: \"anywhere\",\n }}\n >\n {children}\n </Hand>\n {right}\n </div>\n );\n}\n\nexport function Avatar({ size = 26 }: { size?: number }) {\n return (\n <div\n data-rough=\"ellipse\"\n style={{\n [\"--rough-stroke\" as string]: V.ink,\n width: size,\n height: size,\n borderRadius: \"50%\",\n border: `${V.stroke} solid ${V.ink}`,\n background: V.accentSoft,\n flex: \"0 0 auto\",\n }}\n />\n );\n}\n\nexport function IconSquare({\n size = 18,\n active = false,\n}: {\n size?: number;\n active?: boolean;\n}) {\n return (\n <div\n data-rough=\"rect\"\n style={{\n [\"--rough-stroke\" as string]: active ? V.accent : V.soft,\n width: size,\n height: size,\n flex: \"0 0 auto\",\n borderRadius: \"calc(var(--radius) * 0.5)\",\n border: `${V.stroke} solid ${active ? V.accent : V.soft}`,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n }}\n >\n <div\n style={{\n width: \"55%\",\n height: \"55%\",\n borderRadius: 2,\n background: active ? V.accent : V.line,\n }}\n />\n </div>\n );\n}\n\nexport function NavItem({\n label,\n count,\n active = false,\n dot = false,\n tone = \"accent\",\n}: {\n label?: string;\n count?: number;\n active?: boolean;\n dot?: boolean;\n tone?: WireframeTone;\n}) {\n const dotColor = toneInk(tone);\n return (\n <div\n style={{\n display: \"flex\",\n alignItems: \"center\",\n gap: 9,\n padding: \"5px 8px\",\n borderRadius: V.radius,\n background: active ? V.accentSoft : \"transparent\",\n minWidth: 0,\n }}\n >\n {dot ? (\n <span\n style={{\n width: 10,\n height: 10,\n borderRadius: \"50%\",\n border: `${V.stroke} solid ${dotColor}`,\n background: dotColor,\n flex: \"0 0 auto\",\n }}\n />\n ) : (\n <IconSquare size={15} active={active} />\n )}\n <Hand\n color={active ? V.accent : V.ink}\n weight={active ? 700 : 400}\n style={{ flex: 1, minWidth: 0 }}\n >\n {label}\n </Hand>\n {count != null && (\n <Hand size=\"calc(var(--fs) * 0.82)\" color={V.soft}>\n {count}\n </Hand>\n )}\n </div>\n );\n}\n\nexport function Sidebar({\n children,\n width = 196,\n style = {},\n}: {\n children?: ReactNode;\n width?: number;\n style?: CSSProperties;\n}) {\n return (\n <div\n data-rough=\"line:right\"\n style={{\n [\"--rough-stroke\" as string]: V.ink,\n width,\n flex: \"0 0 auto\",\n borderRight: `${V.stroke} solid ${V.ink}`,\n background: V.card,\n padding: V.pad,\n display: \"flex\",\n flexDirection: \"column\",\n gap: V.gap,\n minHeight: 0,\n minWidth: 0,\n alignSelf: \"stretch\",\n overflow: \"hidden\",\n ...style,\n }}\n >\n {children}\n </div>\n );\n}\n\nexport function Main({\n children,\n style = {},\n}: {\n children?: ReactNode;\n style?: CSSProperties;\n}) {\n return (\n <div\n style={{\n flex: 1,\n minWidth: 0,\n minHeight: 0,\n padding: \"18px 24px\",\n display: \"flex\",\n flexDirection: \"column\",\n gap: V.gap,\n overflow: \"hidden\",\n ...style,\n }}\n >\n {children}\n </div>\n );\n}\n\nexport function Row({\n children,\n full = false,\n style = {},\n}: {\n children?: ReactNode;\n full?: boolean;\n style?: CSSProperties;\n}) {\n return (\n <div\n style={{\n display: \"flex\",\n flexDirection: \"row\",\n alignItems: \"stretch\",\n gap: V.gap,\n minWidth: 0,\n minHeight: 0,\n maxWidth: \"100%\",\n flex: full ? 1 : undefined,\n ...style,\n }}\n >\n {children}\n </div>\n );\n}\n\nexport function Col({\n children,\n full = false,\n style = {},\n}: {\n children?: ReactNode;\n full?: boolean;\n style?: CSSProperties;\n}) {\n return (\n <div\n style={{\n display: \"flex\",\n flexDirection: \"column\",\n gap: V.gap,\n minWidth: 0,\n minHeight: 0,\n flex: full ? 1 : undefined,\n ...style,\n }}\n >\n {children}\n </div>\n );\n}\n\nexport function TaskRow({\n title,\n note,\n due,\n dueTone = \"default\",\n prio,\n done = false,\n}: {\n title?: string;\n note?: string;\n due?: string;\n dueTone?: WireframeTone;\n prio?: number;\n done?: boolean;\n}) {\n return (\n <div\n style={{\n display: \"flex\",\n alignItems: \"flex-start\",\n gap: V.gap,\n padding: \"calc(var(--pad) * 0.55) 0\",\n minWidth: 0,\n }}\n >\n <div style={{ marginTop: 1 }}>\n <Check done={done} />\n </div>\n <div\n style={{\n flex: 1,\n minWidth: 0,\n display: \"flex\",\n flexDirection: \"column\",\n gap: 4,\n }}\n >\n <Hand\n color={done ? V.soft : V.ink}\n style={done ? { textDecoration: \"line-through\" } : undefined}\n >\n {title}\n </Hand>\n {note && (\n <Hand size=\"calc(var(--fs) * 0.85)\" color={V.soft}>\n {note}\n </Hand>\n )}\n </div>\n <div\n style={{\n display: \"flex\",\n alignItems: \"center\",\n flexWrap: \"wrap\",\n justifyContent: \"flex-end\",\n gap: 8,\n flex: \"0 0 auto\",\n }}\n >\n {due && <Pill tone={dueTone}>{due}</Pill>}\n {prio ? <Prio level={prio} /> : null}\n </div>\n </div>\n );\n}\n\nexport function Card({\n children,\n style = {},\n}: {\n children?: ReactNode;\n style?: CSSProperties;\n}) {\n return (\n <Box\n pad=\"calc(var(--pad) * 0.9)\"\n style={{\n display: \"flex\",\n flexDirection: \"column\",\n gap: 8,\n background: V.card,\n minWidth: 0,\n maxWidth: \"100%\",\n ...style,\n }}\n >\n {children}\n </Box>\n );\n}\n\nexport function Column({\n title,\n count,\n tone = \"muted\",\n width = 232,\n children,\n}: {\n title?: string;\n count?: number;\n tone?: WireframeTone;\n width?: number;\n children?: ReactNode;\n}) {\n return (\n <div\n style={{\n width,\n flex: \"0 0 auto\",\n display: \"flex\",\n flexDirection: \"column\",\n gap: V.gap,\n }}\n >\n <div style={{ display: \"flex\", alignItems: \"center\", gap: 8 }}>\n <span\n style={{\n width: 9,\n height: 9,\n borderRadius: \"50%\",\n background: toneInk(tone),\n flex: \"0 0 auto\",\n }}\n />\n <Hand weight={700} style={{ whiteSpace: \"nowrap\" }}>\n {title}\n </Hand>\n {count != null && (\n <Hand size=\"calc(var(--fs) * 0.82)\" color={V.soft}>\n {count}\n </Hand>\n )}\n <div style={{ flex: 1 }} />\n <Hand color={V.soft} weight={700}>\n +\n </Hand>\n </div>\n {children}\n </div>\n );\n}\n\nexport function Toolbar({\n children,\n style = {},\n}: {\n children?: ReactNode;\n style?: CSSProperties;\n}) {\n return (\n <div\n data-rough=\"line:bottom\"\n style={{\n [\"--rough-stroke\" as string]: V.ink,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n gap: V.gap,\n padding: \"12px 22px\",\n borderBottom: `${V.stroke} solid ${V.ink}`,\n background: V.card,\n flex: \"0 0 auto\",\n minWidth: 0,\n flexWrap: \"wrap\",\n ...style,\n }}\n >\n {children}\n </div>\n );\n}\n\nexport function Tabs({\n items = [],\n}: {\n items?: Array<{ label: string; active?: boolean }>;\n}) {\n return (\n <div style={{ display: \"flex\", gap: 7, flexWrap: \"wrap\" }}>\n {items.map((item, i) => (\n <Chip key={i} active={item.active}>\n {item.label}\n </Chip>\n ))}\n </div>\n );\n}\n\nexport function KV({ rows = [] }: { rows?: Array<{ k: string; v: string }> }) {\n return (\n <div style={{ display: \"flex\", flexDirection: \"column\", gap: 6 }}>\n {rows.map((row, i) => (\n <div\n key={i}\n style={{\n display: \"flex\",\n alignItems: \"baseline\",\n justifyContent: \"space-between\",\n gap: 12,\n }}\n >\n <Hand size=\"calc(var(--fs) * 0.88)\" color={V.soft}>\n {row.k}\n </Hand>\n <Hand\n style={{ textAlign: \"right\", minWidth: 0, wordBreak: \"break-word\" }}\n >\n {row.v}\n </Hand>\n </div>\n ))}\n </div>\n );\n}\n\nexport function SearchBar({\n placeholder = \"Search\",\n}: {\n placeholder?: string;\n}) {\n return (\n <div\n style={{\n display: \"flex\",\n alignItems: \"center\",\n gap: 6,\n border: `${V.stroke} solid ${V.soft}`,\n borderRadius: 999,\n padding: \"5px 11px\",\n background: V.card,\n }}\n >\n <Bar w={11} h={11} color={V.soft} r={3} />\n <Hand size=\"calc(var(--fs) * 0.85)\" color={V.soft}>\n {placeholder}\n </Hand>\n </div>\n );\n}\n\nexport function Divider({ style = {} }: { style?: CSSProperties }) {\n return (\n <div\n style={{\n height: V.stroke,\n background: V.line,\n flex: \"0 0 auto\",\n margin: \"3px 0\",\n ...style,\n }}\n />\n );\n}\n\nexport function Title({\n text,\n script = false,\n size = \"calc(var(--fs) * 2)\",\n color = V.ink,\n}: {\n text?: string;\n script?: boolean;\n size?: number | string;\n color?: string;\n}) {\n return (\n <Hand script={script} size={size} weight={700} color={color}>\n {text}\n </Hand>\n );\n}\n\nexport function Text({\n value,\n color,\n weight,\n script = false,\n}: {\n value?: string;\n color?: WireframeTone;\n weight?: \"normal\" | \"medium\" | \"bold\";\n script?: boolean;\n}) {\n return (\n <Hand color={toneInk(color)} weight={fontWeight(weight)} script={script}>\n {value}\n </Hand>\n );\n}\n\n/* ========================================================================== */\n/* Node registry (ported from kit/registry.tsx) */\n/* ========================================================================== */\n\ntype NodeRenderer = (node: WireframeNode, children: ReactNode) => ReactNode;\n\nconst REGISTRY: Record<WireframeElName, NodeRenderer> = {\n // --- Frame / structure -------------------------------------------------\n screen: (n) => {\n const kids = n.children ?? [];\n const lead = kids[0]?.el;\n if (lead === \"browserBar\") {\n return (\n <Screen pad={0}>\n {renderNode(kids[0], kids[0].id ?? \"browserbar\")}\n {renderScreenBodyNodes(kids.slice(1))}\n </Screen>\n );\n }\n if (lead === \"statusBar\") {\n return (\n <Screen pad={0}>\n {renderNode(kids[0], kids[0].id ?? \"statusbar\")}\n <div\n style={{\n flex: 1,\n minHeight: 0,\n display: \"flex\",\n flexDirection: \"column\",\n gap: \"var(--gap)\",\n padding: \"calc(var(--pad) * 1.1)\",\n }}\n >\n {renderScreenBodyNodes(kids.slice(1))}\n </div>\n </Screen>\n );\n }\n return (\n <Screen pad=\"calc(var(--pad) * 1.35)\">\n {renderScreenBodyNodes(kids)}\n </Screen>\n );\n },\n browserBar: (n, children) => (\n <BrowserBar title={n.title ?? n.text}>{children}</BrowserBar>\n ),\n statusBar: () => <StatusBar />,\n toolbar: (_n, children) => <Toolbar>{children}</Toolbar>,\n row: (n, children) => <Row full={n.full}>{children}</Row>,\n col: (n, children) => <Col full={n.full}>{children}</Col>,\n sidebar: (_n, children) => <Sidebar>{children}</Sidebar>,\n main: (_n, children) => <Main>{children}</Main>,\n box: (n, children) => <Box dashed={n.dashed}>{children}</Box>,\n card: (_n, children) => <Card>{children}</Card>,\n column: (n, children) => (\n <Column title={n.title ?? n.text} count={n.count} tone={n.tone}>\n {children}\n </Column>\n ),\n divider: () => <Divider />,\n\n // --- Text --------------------------------------------------------------\n title: (n) => <Title text={n.text} script={n.script} />,\n text: (n) => (\n <Text\n value={n.value ?? n.text}\n color={n.color}\n weight={n.weight}\n script={n.script}\n />\n ),\n lines: (n) => <Lines n={n.n} widths={n.widths} />,\n section: (n) => (\n <SectionLabel tone={n.tone}>{n.label ?? n.text}</SectionLabel>\n ),\n\n // --- List / task -------------------------------------------------------\n navItem: (n) => (\n <NavItem\n label={n.label ?? n.text}\n count={n.count}\n active={n.active}\n dot={n.dot}\n tone={n.tone}\n />\n ),\n taskRow: (n) => (\n <TaskRow\n title={n.title ?? n.text}\n note={n.note}\n due={n.due}\n dueTone={n.dueTone}\n prio={n.prio}\n done={n.done}\n />\n ),\n\n // --- Controls ----------------------------------------------------------\n chips: (n) => <Tabs items={n.items ?? []} />,\n chip: (n) => <Chip active={n.active}>{n.label ?? n.text}</Chip>,\n pill: (n) => <Pill tone={n.tone}>{n.label ?? n.text}</Pill>,\n check: (n) => <Check done={n.done} shape={n.shape} />,\n field: (n) => (\n <Field\n label={n.label}\n value={n.value}\n placeholder={n.placeholder}\n area={n.area}\n />\n ),\n btn: (n) => (\n <Btn solid={n.solid} full={n.full} tone={n.tone}>\n {n.label ?? n.text}\n </Btn>\n ),\n fab: (n) => <Fab icon={n.icon} />,\n searchBar: (n) => <SearchBar placeholder={n.placeholder} />,\n\n // --- Atoms -------------------------------------------------------------\n avatar: () => <Avatar />,\n iconSquare: (n) => <IconSquare active={n.active} />,\n kv: (n) => <KV rows={n.rows ?? []} />,\n};\n\nfunction renderScreenBodyNode(\n node: WireframeNode,\n key?: string | number,\n): ReactNode {\n const shouldFill =\n node.full !== false &&\n (node.el === \"row\" || node.el === \"col\" || node.el === \"main\");\n return renderNode(shouldFill ? { ...node, full: true } : node, key);\n}\n\nfunction renderScreenBodyNodes(nodes: WireframeNode[]): ReactNode {\n return nodes.map((node, i) =>\n renderScreenBodyNode(node, node.id ?? `screen-body-${i}`),\n );\n}\n\n/** Render a single kit-tree node (and its children, recursively). */\nexport function renderNode(\n node: WireframeNode,\n key?: string | number,\n): ReactNode {\n const renderer = REGISTRY[node.el];\n const children = node.children?.length ? renderNodes(node.children) : null;\n if (!renderer) {\n return children ? <div key={key}>{children}</div> : null;\n }\n const rendered = renderer(node, children);\n return <KeyedNode key={key ?? node.id}>{rendered}</KeyedNode>;\n}\n\n/** Render an array of nodes. */\nexport function renderNodes(nodes: WireframeNode[]): ReactNode {\n return nodes.map((node, i) => renderNode(node, node.id ?? i));\n}\n\n/** Lightweight keyed wrapper that does not introduce extra DOM. */\nfunction KeyedNode({ children }: { children: ReactNode }) {\n return <>{children}</>;\n}\n\n/** Whether an `el` name has a registered renderer. */\nexport function hasRenderer(el: string): el is WireframeElName {\n return el in REGISTRY;\n}\n\nexport { REGISTRY as NODE_REGISTRY, V as WFV, toneColors, toneInk, fontWeight };\n\n/* ========================================================================== */\n/* Rough overlay (ported from kit/rough.tsx) */\n/* ========================================================================== */\n\nconst gen = rough.generator();\n\ntype RoughPath = { d: string; stroke: string; strokeWidth: number };\n\n/** The default selector used for HTML mockups: controls plus explicit opt-ins. */\nexport const HTML_ROUGH_SELECTOR =\n \"[data-rough],button,input,textarea,select,hr\";\n\n/** Stable per-element seed so a frame doesn't re-wobble on every measure. */\nfunction seedFrom(...parts: Array<string | number>): number {\n const value = parts.join(\":\");\n let hash = 2166136261;\n for (let i = 0; i < value.length; i++) {\n hash ^= value.charCodeAt(i);\n hash = Math.imul(hash, 16777619);\n }\n return ((hash >>> 0) % 2147483646) + 1;\n}\n\n/** Map the 0–100 sketch slider to a rough.js roughness (calm + legible). */\nexport function sketchRoughness(sketch: number): number {\n const s = Math.max(0, Math.min(100, Number.isFinite(sketch) ? sketch : 0));\n return Number((0.32 + (s / 100) * 1.15).toFixed(2));\n}\n\nfunction sketchBowing(sketch: number): number {\n const s = Math.max(0, Math.min(100, Number.isFinite(sketch) ? sketch : 0));\n return Number((0.4 + (s / 100) * 0.5).toFixed(2));\n}\n\nfunction readVar(el: Element, name: string): string {\n return getComputedStyle(el).getPropertyValue(name).trim();\n}\n\n/** Normalize a CSS color (hex or rgb[a]) to \"r,g,b\" for equality comparison. */\nfunction toRgbKey(color: string): string | null {\n const c = color.trim();\n const hex = c.match(/^#([0-9a-f]{3}|[0-9a-f]{6})$/i);\n if (hex) {\n const h = hex[1];\n const full =\n h.length === 3\n ? h\n .split(\"\")\n .map((d) => d + d)\n .join(\"\")\n : h;\n const n = parseInt(full, 16);\n return `${(n >> 16) & 255},${(n >> 8) & 255},${n & 255}`;\n }\n const rgb = c.match(/rgba?\\(([^)]+)\\)/i);\n if (rgb) {\n const [r, g, b] = rgb[1].split(\",\").map((v) => parseInt(v.trim(), 10));\n return `${r},${g},${b}`;\n }\n return null;\n}\n\n/** True when two CSS colors resolve to the same RGB (hex vs rgb tolerant). */\nfunction sameColor(a: string, b: string): boolean {\n const ka = toRgbKey(a);\n const kb = toRgbKey(b);\n return ka !== null && ka === kb;\n}\n\n/** A rounded-rect SVG path (so the frame stroke follows the artboard radius). */\nfunction roundedRectPath(\n x: number,\n y: number,\n w: number,\n h: number,\n r: number,\n): string {\n const rad = Math.max(0, Math.min(r, w / 2, h / 2));\n return [\n `M${x + rad},${y}`,\n `H${x + w - rad}`,\n `A${rad},${rad} 0 0 1 ${x + w},${y + rad}`,\n `V${y + h - rad}`,\n `A${rad},${rad} 0 0 1 ${x + w - rad},${y + h}`,\n `H${x + rad}`,\n `A${rad},${rad} 0 0 1 ${x},${y + h - rad}`,\n `V${y + rad}`,\n `A${rad},${rad} 0 0 1 ${x + rad},${y}`,\n \"Z\",\n ].join(\" \");\n}\n\nfunction elementStroke(node: Element, fallback: string): string {\n const explicit = readVar(node, \"--rough-stroke\");\n if (explicit) return explicit;\n const cs = getComputedStyle(node);\n for (const side of [\n \"borderTopColor\",\n \"borderLeftColor\",\n \"borderBottomColor\",\n \"borderRightColor\",\n ] as const) {\n const width = parseFloat(\n cs.getPropertyValue(side.replace(\"Color\", \"Width\")),\n );\n const color = cs[side];\n if (width > 0 && color && color !== \"rgba(0, 0, 0, 0)\") return color;\n }\n return fallback;\n}\n\nfunction build(\n scope: HTMLElement,\n opts: {\n roughness: number;\n bowing: number;\n frameRadius: number;\n drawFrame: boolean;\n selector: string;\n },\n): { paths: RoughPath[]; w: number; h: number } {\n const base = scope.getBoundingClientRect();\n const layoutW = scope.offsetWidth;\n const layoutH = scope.offsetHeight;\n if (!layoutW || !layoutH) return { paths: [], w: 0, h: 0 };\n const zoom = base.width / layoutW || 1;\n\n const themed =\n (scope.matches(\".plan-wf, .plan-html-frame, .plan-diagram-frame\")\n ? scope\n : scope.querySelector(\n \".plan-wf, .plan-html-frame, .plan-diagram-frame\",\n )) ?? scope;\n const ink =\n readVar(themed, \"--ink\") || readVar(themed, \"--wf-ink\") || \"#34322e\";\n const sketch = readVar(themed, \"--wf-sketch\") || ink;\n const line = readVar(themed, \"--wf-line\") || readVar(themed, \"--line\") || \"\";\n\n const paths: RoughPath[] = [];\n let index = 0;\n const push = (drawable: unknown, stroke: string, sw: number) => {\n for (const p of gen.toPaths(\n drawable as Parameters<typeof gen.toPaths>[0],\n )) {\n paths.push({\n d: p.d,\n stroke: p.stroke && p.stroke !== \"none\" ? p.stroke : stroke,\n strokeWidth: p.strokeWidth || sw,\n });\n }\n };\n const makeOpts = (stroke: string, sw: number, seed: number) => ({\n seed,\n roughness: opts.roughness,\n bowing: opts.bowing,\n stroke,\n strokeWidth: sw,\n preserveVertices: true,\n });\n\n if (opts.drawFrame) {\n const sw = 2;\n push(\n gen.path(\n roundedRectPath(2, 2, layoutW - 4, layoutH - 4, opts.frameRadius),\n {\n ...makeOpts(sketch, sw, seedFrom(\"frame\", layoutW, layoutH)),\n roughness: opts.roughness + 0.35,\n bowing: opts.bowing + 0.18,\n },\n ),\n sketch,\n sw,\n );\n }\n\n scope.querySelectorAll<HTMLElement>(opts.selector).forEach((node) => {\n if (node.getAttribute(\"data-rough\") === \"none\") return;\n if (readVar(node, \"--rough-skip\") === \"1\") return;\n const r = node.getBoundingClientRect();\n const x = (r.left - base.left) / zoom;\n const y = (r.top - base.top) / zoom;\n const w = r.width / zoom;\n const h = r.height / zoom;\n if (w < 2 || h < 2) return;\n const kind = node.getAttribute(\"data-rough\") || \"rect\";\n const rawStroke = elementStroke(node, sketch);\n const stroke =\n sameColor(rawStroke, ink) || (line !== \"\" && sameColor(rawStroke, line))\n ? sketch\n : rawStroke;\n const sw = Number(readVar(node, \"--rough-w\")) || 1.4;\n const seed = seedFrom(\n kind,\n Math.round(x),\n Math.round(y),\n Math.round(w),\n Math.round(h),\n index++,\n );\n const o = makeOpts(stroke, sw, seed);\n let drawable: unknown;\n if (kind === \"ellipse\") {\n drawable = gen.ellipse(x + w / 2, y + h / 2, w, h, o);\n } else if (kind === \"line:right\") {\n drawable = gen.line(x + w, y, x + w, y + h, o);\n } else if (kind === \"line:bottom\") {\n drawable = gen.line(x, y + h, x + w, y + h, o);\n } else if (kind === \"line:top\" || node.tagName === \"HR\") {\n drawable = gen.line(x, y + h / 2, x + w, y + h / 2, o);\n } else {\n const cr = parseFloat(getComputedStyle(node).borderTopLeftRadius) || 0;\n const radius = Math.min(cr / zoom, w / 2, h / 2);\n drawable =\n radius > 1\n ? gen.path(roundedRectPath(x + 1, y + 1, w - 2, h - 2, radius), o)\n : gen.rectangle(x + 1, y + 1, w - 2, h - 2, o);\n }\n push(drawable, stroke, sw);\n });\n\n return { paths, w: layoutW, h: layoutH };\n}\n\n/**\n * Renders the rough overlay for a frame. `scopeRef` points at the frame root.\n * When `enabled` is false (skeleton / clean register) it renders nothing and the\n * crisp CSS borders stay visible.\n */\nexport function RoughOverlay({\n scopeRef,\n sketch = 52,\n enabled = true,\n drawFrame = true,\n frameRadius = 14,\n selector = \"[data-rough]\",\n}: {\n scopeRef: RefObject<HTMLElement | null>;\n sketch?: number;\n enabled?: boolean;\n drawFrame?: boolean;\n frameRadius?: number;\n selector?: string;\n}) {\n const [state, setState] = useState<{\n paths: RoughPath[];\n w: number;\n h: number;\n }>({ paths: [], w: 0, h: 0 });\n const rafRef = useRef(0);\n\n useEffect(() => {\n const el = scopeRef.current;\n if (!el || !enabled) {\n el?.removeAttribute(\"data-rough-ready\");\n el?.querySelector(\n \".plan-wf, .plan-html-frame, .plan-diagram-frame\",\n )?.removeAttribute(\"data-rough-ready\");\n setState({ paths: [], w: 0, h: 0 });\n return;\n }\n const roughness = sketchRoughness(sketch);\n const bowing = sketchBowing(sketch);\n const measure = () => {\n clearTimeout(rafRef.current);\n rafRef.current = window.setTimeout(() => {\n const next = build(el, {\n roughness,\n bowing,\n frameRadius,\n drawFrame,\n selector,\n });\n if (next.w && next.h) {\n el.setAttribute(\"data-rough-ready\", \"true\");\n (\n el.querySelector(\n \".plan-wf, .plan-html-frame, .plan-diagram-frame\",\n ) ?? el\n ).setAttribute(\"data-rough-ready\", \"true\");\n setState(next);\n }\n }, 0);\n };\n measure();\n const ro = new ResizeObserver(measure);\n ro.observe(el);\n el.querySelectorAll(selector).forEach((node) => ro.observe(node));\n const mo = new MutationObserver((mutations) => {\n if (mutations.every(isRoughOverlayMutation)) return;\n measure();\n });\n mo.observe(el, {\n attributes: true,\n childList: true,\n characterData: true,\n subtree: true,\n });\n el.addEventListener(\"plan-prototype-runtime:rendered\", measure);\n let cancelled = false;\n if (typeof document !== \"undefined\" && \"fonts\" in document) {\n void document.fonts.ready.then(() => {\n if (!cancelled) measure();\n });\n }\n return () => {\n cancelled = true;\n ro.disconnect();\n mo.disconnect();\n el.removeEventListener(\"plan-prototype-runtime:rendered\", measure);\n clearTimeout(rafRef.current);\n el.removeAttribute(\"data-rough-ready\");\n el.querySelector(\n \".plan-wf, .plan-html-frame, .plan-diagram-frame\",\n )?.removeAttribute(\"data-rough-ready\");\n };\n }, [scopeRef, sketch, enabled, drawFrame, frameRadius, selector]);\n\n if (!enabled || !state.paths.length) return null;\n return (\n <svg\n aria-hidden\n className=\"plan-rough-overlay\"\n width=\"100%\"\n height=\"100%\"\n viewBox={`0 0 ${state.w} ${state.h}`}\n preserveAspectRatio=\"none\"\n style={{\n position: \"absolute\",\n inset: 0,\n pointerEvents: \"none\",\n overflow: \"hidden\",\n zIndex: 3,\n }}\n >\n {state.paths.map((p, i) => (\n <path\n key={i}\n d={p.d}\n fill=\"none\"\n stroke={p.stroke}\n strokeWidth={p.strokeWidth}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n ))}\n </svg>\n );\n}\n\nfunction isRoughOverlayMutation(mutation: MutationRecord) {\n if (nodeIsRoughOverlay(mutation.target)) return true;\n\n const changedNodes = [\n ...Array.from(mutation.addedNodes),\n ...Array.from(mutation.removedNodes),\n ];\n return changedNodes.length > 0 && changedNodes.every(nodeIsRoughOverlay);\n}\n\nfunction nodeIsRoughOverlay(node: Node) {\n const element = node instanceof Element ? node : node.parentElement;\n return Boolean(\n element?.classList.contains(\"plan-rough-overlay\") ||\n element?.closest(\".plan-rough-overlay\"),\n );\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wireframe.d.ts","sourceRoot":"","sources":["../../../../src/client/blocks/library/wireframe.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EACV,cAAc,EACd,cAAc,EAEf,MAAM,aAAa,CAAC;AAkBrB,OAAO,EAGL,KAAK,aAAa,EAEnB,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"wireframe.d.ts","sourceRoot":"","sources":["../../../../src/client/blocks/library/wireframe.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EACV,cAAc,EACd,cAAc,EAEf,MAAM,aAAa,CAAC;AAkBrB,OAAO,EAGL,KAAK,aAAa,EAEnB,MAAM,uBAAuB,CAAC;AAka/B,kDAAkD;AAClD,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,OAAO,EACP,KAAK,EACL,OAAO,EACP,GAAG,EACH,cAAc,GACf,EAAE,cAAc,CAAC,aAAa,CAAC,+BAY/B;AAED;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,cAAc,CAAC,aAAa,CAAC,+BAE3E;AAED,oFAAoF;AACpF,eAAO,MAAM,cAAc,gDAczB,CAAC"}
|
|
@@ -145,11 +145,14 @@ function WireframeStyleToggleButton() {
|
|
|
145
145
|
/* -------------------------------------------------------------------------- */
|
|
146
146
|
function HtmlArtboard({ data, ctx: _ctx, compact, }) {
|
|
147
147
|
const renderMode = data.renderMode ?? "wireframe";
|
|
148
|
+
const designMode = renderMode === "design";
|
|
148
149
|
// Sanitize author HTML/CSS at the render point (defense-in-depth against stored
|
|
149
150
|
// XSS). Self-contained in core via the shared block sanitizer (DOM-based in the
|
|
150
151
|
// browser, regex fallback on the server) so the HTML mockup path renders in any
|
|
151
152
|
// app without the host wiring a sanitizer hook.
|
|
152
|
-
const safeHtml = useMemo(() => renderWireframeIconHtml(sanitizeWireframeHtml(data.html
|
|
153
|
+
const safeHtml = useMemo(() => renderWireframeIconHtml(sanitizeWireframeHtml(data.html, {
|
|
154
|
+
preserveThemeClasses: designMode,
|
|
155
|
+
})), [data.html, designMode]);
|
|
153
156
|
const scopeId = useId().replace(/[^a-zA-Z0-9_-]/g, "");
|
|
154
157
|
const scopedCss = useMemo(() => {
|
|
155
158
|
const safeCss = sanitizeWireframeCss(data.css);
|