@agent-native/core 0.76.5 → 0.76.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/corpus/README.md +1 -1
- package/corpus/core/CHANGELOG.md +8 -0
- package/corpus/core/docs/content/extensions.md +16 -0
- package/corpus/core/docs/content/locales/ar-SA/a2a-protocol.md +392 -0
- package/corpus/core/docs/content/locales/ar-SA/actions.md +583 -0
- package/corpus/core/docs/content/locales/ar-SA/agent-mentions.md +164 -0
- package/corpus/core/docs/content/locales/ar-SA/agent-surfaces.md +397 -0
- package/corpus/core/docs/content/locales/ar-SA/agent-teams.md +171 -0
- package/corpus/core/docs/content/locales/ar-SA/agent-web-surfaces.md +161 -0
- package/corpus/core/docs/content/locales/ar-SA/audit-log.md +111 -0
- package/corpus/core/docs/content/locales/ar-SA/authentication.md +332 -0
- package/corpus/core/docs/content/locales/ar-SA/automations.md +268 -0
- package/corpus/core/docs/content/locales/ar-SA/blueprint-installer.md +83 -0
- package/corpus/core/docs/content/locales/ar-SA/cli-adapters.md +129 -0
- package/corpus/core/docs/content/locales/ar-SA/client.md +398 -0
- package/corpus/core/docs/content/locales/ar-SA/cloneable-saas.md +114 -0
- package/corpus/core/docs/content/locales/ar-SA/code-agents-ui.md +436 -0
- package/corpus/core/docs/content/locales/ar-SA/components.md +368 -0
- package/corpus/core/docs/content/locales/ar-SA/context-awareness.md +373 -0
- package/corpus/core/docs/content/locales/ar-SA/creating-templates.md +411 -0
- package/corpus/core/docs/content/locales/ar-SA/cross-app-sso.md +185 -0
- package/corpus/core/docs/content/locales/ar-SA/database.md +183 -0
- package/corpus/core/docs/content/locales/ar-SA/deployment.md +349 -0
- package/corpus/core/docs/content/locales/ar-SA/dispatch.md +146 -0
- package/corpus/core/docs/content/locales/ar-SA/drop-in-agent.md +260 -0
- package/corpus/core/docs/content/locales/ar-SA/durable-resume.md +65 -0
- package/corpus/core/docs/content/locales/ar-SA/embedding-sdk.md +597 -0
- package/corpus/core/docs/content/locales/ar-SA/evals.md +155 -0
- package/corpus/core/docs/content/locales/ar-SA/extensions.md +360 -0
- package/corpus/core/docs/content/locales/ar-SA/external-agents.md +619 -0
- package/corpus/core/docs/content/locales/ar-SA/faq.md +142 -0
- package/corpus/core/docs/content/locales/ar-SA/file-uploads.md +122 -0
- package/corpus/core/docs/content/locales/ar-SA/frames.md +153 -0
- package/corpus/core/docs/content/locales/ar-SA/getting-started.md +199 -0
- package/corpus/core/docs/content/locales/ar-SA/harness-agents.md +349 -0
- package/corpus/core/docs/content/locales/ar-SA/human-approval.md +86 -0
- package/corpus/core/docs/content/locales/ar-SA/internationalization.md +68 -25
- package/corpus/core/docs/content/locales/ar-SA/key-concepts.md +312 -0
- package/corpus/core/docs/content/locales/ar-SA/local-file-mode.md +433 -0
- package/corpus/core/docs/content/locales/ar-SA/mcp-apps.md +147 -0
- package/corpus/core/docs/content/locales/ar-SA/mcp-clients.md +330 -0
- package/corpus/core/docs/content/locales/ar-SA/mcp-protocol.md +279 -0
- package/corpus/core/docs/content/locales/ar-SA/messaging.md +461 -0
- package/corpus/core/docs/content/locales/ar-SA/migration-workbench.md +33 -0
- package/corpus/core/docs/content/locales/ar-SA/multi-app-workspace.md +312 -0
- package/corpus/core/docs/content/locales/ar-SA/multi-tenancy.md +52 -0
- package/corpus/core/docs/content/locales/ar-SA/native-chat-ui.md +321 -0
- package/corpus/core/docs/content/locales/ar-SA/notifications.md +231 -0
- package/corpus/core/docs/content/locales/ar-SA/observability.md +294 -0
- package/corpus/core/docs/content/locales/ar-SA/observational-memory.md +77 -0
- package/corpus/core/docs/content/locales/ar-SA/onboarding.md +216 -0
- package/corpus/core/docs/content/locales/ar-SA/plan-plugin.md +200 -0
- package/corpus/core/docs/content/locales/ar-SA/pr-visual-recap.md +384 -0
- package/corpus/core/docs/content/locales/ar-SA/processors.md +106 -0
- package/corpus/core/docs/content/locales/ar-SA/progress.md +199 -0
- package/corpus/core/docs/content/locales/ar-SA/pure-agent-apps.md +39 -0
- package/corpus/core/docs/content/locales/ar-SA/real-time-collaboration.md +676 -0
- package/corpus/core/docs/content/locales/ar-SA/recurring-jobs.md +142 -0
- package/corpus/core/docs/content/locales/ar-SA/routing.md +79 -0
- package/corpus/core/docs/content/locales/ar-SA/sandbox-adapters.md +227 -0
- package/corpus/core/docs/content/locales/ar-SA/security.md +330 -0
- package/corpus/core/docs/content/locales/ar-SA/server.md +253 -0
- package/corpus/core/docs/content/locales/ar-SA/sharing.md +219 -0
- package/corpus/core/docs/content/locales/ar-SA/skills-guide.md +281 -0
- package/corpus/core/docs/content/locales/ar-SA/template-analytics.md +259 -0
- package/corpus/core/docs/content/locales/ar-SA/template-assets.md +303 -0
- package/corpus/core/docs/content/locales/ar-SA/template-brain.md +324 -0
- package/corpus/core/docs/content/locales/ar-SA/template-calendar.md +194 -0
- package/corpus/core/docs/content/locales/ar-SA/template-chat.md +129 -0
- package/corpus/core/docs/content/locales/ar-SA/template-clips.md +368 -0
- package/corpus/core/docs/content/locales/ar-SA/template-content.md +402 -0
- package/corpus/core/docs/content/locales/ar-SA/template-design.md +173 -0
- package/corpus/core/docs/content/locales/ar-SA/template-dispatch.md +220 -0
- package/corpus/core/docs/content/locales/ar-SA/template-forms.md +178 -0
- package/corpus/core/docs/content/locales/ar-SA/template-mail.md +239 -0
- package/corpus/core/docs/content/locales/ar-SA/template-plan.md +815 -0
- package/corpus/core/docs/content/locales/ar-SA/template-slides.md +293 -0
- package/corpus/core/docs/content/locales/ar-SA/template-videos.md +222 -0
- package/corpus/core/docs/content/locales/ar-SA/tracking.md +236 -0
- package/corpus/core/docs/content/locales/ar-SA/using-your-agent.md +71 -0
- package/corpus/core/docs/content/locales/ar-SA/voice-input.md +81 -0
- package/corpus/core/docs/content/locales/ar-SA/what-is-agent-native.md +202 -0
- package/corpus/core/docs/content/locales/ar-SA/workspace-connections.md +321 -0
- package/corpus/core/docs/content/locales/ar-SA/workspace-management.md +175 -0
- package/corpus/core/docs/content/locales/ar-SA/workspace.md +323 -0
- package/corpus/core/docs/content/locales/ar-SA/writing-agent-instructions.md +173 -0
- package/corpus/core/docs/content/locales/de-DE/a2a-protocol.md +392 -0
- package/corpus/core/docs/content/locales/de-DE/actions.md +583 -0
- package/corpus/core/docs/content/locales/de-DE/agent-mentions.md +164 -0
- package/corpus/core/docs/content/locales/de-DE/agent-surfaces.md +397 -0
- package/corpus/core/docs/content/locales/de-DE/agent-teams.md +171 -0
- package/corpus/core/docs/content/locales/de-DE/agent-web-surfaces.md +161 -0
- package/corpus/core/docs/content/locales/de-DE/audit-log.md +111 -0
- package/corpus/core/docs/content/locales/de-DE/authentication.md +332 -0
- package/corpus/core/docs/content/locales/de-DE/automations.md +268 -0
- package/corpus/core/docs/content/locales/de-DE/blueprint-installer.md +83 -0
- package/corpus/core/docs/content/locales/de-DE/cli-adapters.md +129 -0
- package/corpus/core/docs/content/locales/de-DE/client.md +398 -0
- package/corpus/core/docs/content/locales/de-DE/cloneable-saas.md +114 -0
- package/corpus/core/docs/content/locales/de-DE/code-agents-ui.md +436 -0
- package/corpus/core/docs/content/locales/de-DE/components.md +368 -0
- package/corpus/core/docs/content/locales/de-DE/context-awareness.md +373 -0
- package/corpus/core/docs/content/locales/de-DE/creating-templates.md +411 -0
- package/corpus/core/docs/content/locales/de-DE/cross-app-sso.md +185 -0
- package/corpus/core/docs/content/locales/de-DE/database.md +183 -0
- package/corpus/core/docs/content/locales/de-DE/deployment.md +349 -0
- package/corpus/core/docs/content/locales/de-DE/dispatch.md +146 -0
- package/corpus/core/docs/content/locales/de-DE/drop-in-agent.md +260 -0
- package/corpus/core/docs/content/locales/de-DE/durable-resume.md +65 -0
- package/corpus/core/docs/content/locales/de-DE/embedding-sdk.md +597 -0
- package/corpus/core/docs/content/locales/de-DE/evals.md +155 -0
- package/corpus/core/docs/content/locales/de-DE/extensions.md +360 -0
- package/corpus/core/docs/content/locales/de-DE/external-agents.md +619 -0
- package/corpus/core/docs/content/locales/de-DE/faq.md +142 -0
- package/corpus/core/docs/content/locales/de-DE/file-uploads.md +122 -0
- package/corpus/core/docs/content/locales/de-DE/frames.md +153 -0
- package/corpus/core/docs/content/locales/de-DE/getting-started.md +199 -0
- package/corpus/core/docs/content/locales/de-DE/harness-agents.md +349 -0
- package/corpus/core/docs/content/locales/de-DE/human-approval.md +86 -0
- package/corpus/core/docs/content/locales/de-DE/internationalization.md +65 -22
- package/corpus/core/docs/content/locales/de-DE/key-concepts.md +312 -0
- package/corpus/core/docs/content/locales/de-DE/local-file-mode.md +433 -0
- package/corpus/core/docs/content/locales/de-DE/mcp-apps.md +147 -0
- package/corpus/core/docs/content/locales/de-DE/mcp-clients.md +330 -0
- package/corpus/core/docs/content/locales/de-DE/mcp-protocol.md +279 -0
- package/corpus/core/docs/content/locales/de-DE/messaging.md +461 -0
- package/corpus/core/docs/content/locales/de-DE/migration-workbench.md +33 -0
- package/corpus/core/docs/content/locales/de-DE/multi-app-workspace.md +312 -0
- package/corpus/core/docs/content/locales/de-DE/multi-tenancy.md +52 -0
- package/corpus/core/docs/content/locales/de-DE/native-chat-ui.md +321 -0
- package/corpus/core/docs/content/locales/de-DE/notifications.md +231 -0
- package/corpus/core/docs/content/locales/de-DE/observability.md +294 -0
- package/corpus/core/docs/content/locales/de-DE/observational-memory.md +77 -0
- package/corpus/core/docs/content/locales/de-DE/onboarding.md +216 -0
- package/corpus/core/docs/content/locales/de-DE/plan-plugin.md +200 -0
- package/corpus/core/docs/content/locales/de-DE/pr-visual-recap.md +384 -0
- package/corpus/core/docs/content/locales/de-DE/processors.md +106 -0
- package/corpus/core/docs/content/locales/de-DE/progress.md +199 -0
- package/corpus/core/docs/content/locales/de-DE/pure-agent-apps.md +39 -0
- package/corpus/core/docs/content/locales/de-DE/real-time-collaboration.md +676 -0
- package/corpus/core/docs/content/locales/de-DE/recurring-jobs.md +142 -0
- package/corpus/core/docs/content/locales/de-DE/routing.md +79 -0
- package/corpus/core/docs/content/locales/de-DE/sandbox-adapters.md +227 -0
- package/corpus/core/docs/content/locales/de-DE/security.md +330 -0
- package/corpus/core/docs/content/locales/de-DE/server.md +253 -0
- package/corpus/core/docs/content/locales/de-DE/sharing.md +219 -0
- package/corpus/core/docs/content/locales/de-DE/skills-guide.md +281 -0
- package/corpus/core/docs/content/locales/de-DE/template-analytics.md +259 -0
- package/corpus/core/docs/content/locales/de-DE/template-assets.md +303 -0
- package/corpus/core/docs/content/locales/de-DE/template-brain.md +324 -0
- package/corpus/core/docs/content/locales/de-DE/template-calendar.md +194 -0
- package/corpus/core/docs/content/locales/de-DE/template-chat.md +129 -0
- package/corpus/core/docs/content/locales/de-DE/template-clips.md +368 -0
- package/corpus/core/docs/content/locales/de-DE/template-content.md +402 -0
- package/corpus/core/docs/content/locales/de-DE/template-design.md +173 -0
- package/corpus/core/docs/content/locales/de-DE/template-dispatch.md +220 -0
- package/corpus/core/docs/content/locales/de-DE/template-forms.md +178 -0
- package/corpus/core/docs/content/locales/de-DE/template-mail.md +239 -0
- package/corpus/core/docs/content/locales/de-DE/template-plan.md +814 -0
- package/corpus/core/docs/content/locales/de-DE/template-slides.md +293 -0
- package/corpus/core/docs/content/locales/de-DE/template-videos.md +222 -0
- package/corpus/core/docs/content/locales/de-DE/tracking.md +236 -0
- package/corpus/core/docs/content/locales/de-DE/using-your-agent.md +71 -0
- package/corpus/core/docs/content/locales/de-DE/voice-input.md +81 -0
- package/corpus/core/docs/content/locales/de-DE/what-is-agent-native.md +202 -0
- package/corpus/core/docs/content/locales/de-DE/workspace-connections.md +321 -0
- package/corpus/core/docs/content/locales/de-DE/workspace-management.md +175 -0
- package/corpus/core/docs/content/locales/de-DE/workspace.md +323 -0
- package/corpus/core/docs/content/locales/de-DE/writing-agent-instructions.md +173 -0
- package/corpus/core/docs/content/locales/es-ES/a2a-protocol.md +392 -0
- package/corpus/core/docs/content/locales/es-ES/actions.md +583 -0
- package/corpus/core/docs/content/locales/es-ES/agent-mentions.md +164 -0
- package/corpus/core/docs/content/locales/es-ES/agent-surfaces.md +397 -0
- package/corpus/core/docs/content/locales/es-ES/agent-teams.md +171 -0
- package/corpus/core/docs/content/locales/es-ES/agent-web-surfaces.md +161 -0
- package/corpus/core/docs/content/locales/es-ES/audit-log.md +111 -0
- package/corpus/core/docs/content/locales/es-ES/authentication.md +332 -0
- package/corpus/core/docs/content/locales/es-ES/automations.md +268 -0
- package/corpus/core/docs/content/locales/es-ES/blueprint-installer.md +83 -0
- package/corpus/core/docs/content/locales/es-ES/cli-adapters.md +129 -0
- package/corpus/core/docs/content/locales/es-ES/client.md +398 -0
- package/corpus/core/docs/content/locales/es-ES/cloneable-saas.md +114 -0
- package/corpus/core/docs/content/locales/es-ES/code-agents-ui.md +436 -0
- package/corpus/core/docs/content/locales/es-ES/components.md +368 -0
- package/corpus/core/docs/content/locales/es-ES/context-awareness.md +373 -0
- package/corpus/core/docs/content/locales/es-ES/creating-templates.md +411 -0
- package/corpus/core/docs/content/locales/es-ES/cross-app-sso.md +185 -0
- package/corpus/core/docs/content/locales/es-ES/database.md +183 -0
- package/corpus/core/docs/content/locales/es-ES/deployment.md +349 -0
- package/corpus/core/docs/content/locales/es-ES/dispatch.md +146 -0
- package/corpus/core/docs/content/locales/es-ES/drop-in-agent.md +260 -0
- package/corpus/core/docs/content/locales/es-ES/durable-resume.md +65 -0
- package/corpus/core/docs/content/locales/es-ES/embedding-sdk.md +597 -0
- package/corpus/core/docs/content/locales/es-ES/evals.md +155 -0
- package/corpus/core/docs/content/locales/es-ES/extensions.md +360 -0
- package/corpus/core/docs/content/locales/es-ES/external-agents.md +619 -0
- package/corpus/core/docs/content/locales/es-ES/faq.md +142 -0
- package/corpus/core/docs/content/locales/es-ES/file-uploads.md +122 -0
- package/corpus/core/docs/content/locales/es-ES/frames.md +153 -0
- package/corpus/core/docs/content/locales/es-ES/getting-started.md +199 -0
- package/corpus/core/docs/content/locales/es-ES/harness-agents.md +349 -0
- package/corpus/core/docs/content/locales/es-ES/human-approval.md +86 -0
- package/corpus/core/docs/content/locales/es-ES/internationalization.md +67 -24
- package/corpus/core/docs/content/locales/es-ES/key-concepts.md +312 -0
- package/corpus/core/docs/content/locales/es-ES/local-file-mode.md +433 -0
- package/corpus/core/docs/content/locales/es-ES/mcp-apps.md +147 -0
- package/corpus/core/docs/content/locales/es-ES/mcp-clients.md +330 -0
- package/corpus/core/docs/content/locales/es-ES/mcp-protocol.md +279 -0
- package/corpus/core/docs/content/locales/es-ES/messaging.md +461 -0
- package/corpus/core/docs/content/locales/es-ES/migration-workbench.md +33 -0
- package/corpus/core/docs/content/locales/es-ES/multi-app-workspace.md +312 -0
- package/corpus/core/docs/content/locales/es-ES/multi-tenancy.md +52 -0
- package/corpus/core/docs/content/locales/es-ES/native-chat-ui.md +321 -0
- package/corpus/core/docs/content/locales/es-ES/notifications.md +231 -0
- package/corpus/core/docs/content/locales/es-ES/observability.md +294 -0
- package/corpus/core/docs/content/locales/es-ES/observational-memory.md +77 -0
- package/corpus/core/docs/content/locales/es-ES/onboarding.md +216 -0
- package/corpus/core/docs/content/locales/es-ES/plan-plugin.md +200 -0
- package/corpus/core/docs/content/locales/es-ES/pr-visual-recap.md +384 -0
- package/corpus/core/docs/content/locales/es-ES/processors.md +106 -0
- package/corpus/core/docs/content/locales/es-ES/progress.md +199 -0
- package/corpus/core/docs/content/locales/es-ES/pure-agent-apps.md +39 -0
- package/corpus/core/docs/content/locales/es-ES/real-time-collaboration.md +676 -0
- package/corpus/core/docs/content/locales/es-ES/recurring-jobs.md +142 -0
- package/corpus/core/docs/content/locales/es-ES/routing.md +79 -0
- package/corpus/core/docs/content/locales/es-ES/sandbox-adapters.md +227 -0
- package/corpus/core/docs/content/locales/es-ES/security.md +330 -0
- package/corpus/core/docs/content/locales/es-ES/server.md +253 -0
- package/corpus/core/docs/content/locales/es-ES/sharing.md +219 -0
- package/corpus/core/docs/content/locales/es-ES/skills-guide.md +281 -0
- package/corpus/core/docs/content/locales/es-ES/template-analytics.md +259 -0
- package/corpus/core/docs/content/locales/es-ES/template-assets.md +303 -0
- package/corpus/core/docs/content/locales/es-ES/template-brain.md +324 -0
- package/corpus/core/docs/content/locales/es-ES/template-calendar.md +194 -0
- package/corpus/core/docs/content/locales/es-ES/template-chat.md +129 -0
- package/corpus/core/docs/content/locales/es-ES/template-clips.md +368 -0
- package/corpus/core/docs/content/locales/es-ES/template-content.md +402 -0
- package/corpus/core/docs/content/locales/es-ES/template-design.md +173 -0
- package/corpus/core/docs/content/locales/es-ES/template-dispatch.md +220 -0
- package/corpus/core/docs/content/locales/es-ES/template-forms.md +178 -0
- package/corpus/core/docs/content/locales/es-ES/template-mail.md +239 -0
- package/corpus/core/docs/content/locales/es-ES/template-plan.md +815 -0
- package/corpus/core/docs/content/locales/es-ES/template-slides.md +293 -0
- package/corpus/core/docs/content/locales/es-ES/template-videos.md +222 -0
- package/corpus/core/docs/content/locales/es-ES/tracking.md +236 -0
- package/corpus/core/docs/content/locales/es-ES/using-your-agent.md +71 -0
- package/corpus/core/docs/content/locales/es-ES/voice-input.md +81 -0
- package/corpus/core/docs/content/locales/es-ES/what-is-agent-native.md +202 -0
- package/corpus/core/docs/content/locales/es-ES/workspace-connections.md +321 -0
- package/corpus/core/docs/content/locales/es-ES/workspace-management.md +175 -0
- package/corpus/core/docs/content/locales/es-ES/workspace.md +323 -0
- package/corpus/core/docs/content/locales/es-ES/writing-agent-instructions.md +173 -0
- package/corpus/core/docs/content/locales/fr-FR/a2a-protocol.md +392 -0
- package/corpus/core/docs/content/locales/fr-FR/actions.md +583 -0
- package/corpus/core/docs/content/locales/fr-FR/agent-mentions.md +164 -0
- package/corpus/core/docs/content/locales/fr-FR/agent-surfaces.md +397 -0
- package/corpus/core/docs/content/locales/fr-FR/agent-teams.md +171 -0
- package/corpus/core/docs/content/locales/fr-FR/agent-web-surfaces.md +161 -0
- package/corpus/core/docs/content/locales/fr-FR/audit-log.md +111 -0
- package/corpus/core/docs/content/locales/fr-FR/authentication.md +332 -0
- package/corpus/core/docs/content/locales/fr-FR/automations.md +268 -0
- package/corpus/core/docs/content/locales/fr-FR/blueprint-installer.md +83 -0
- package/corpus/core/docs/content/locales/fr-FR/cli-adapters.md +129 -0
- package/corpus/core/docs/content/locales/fr-FR/client.md +398 -0
- package/corpus/core/docs/content/locales/fr-FR/cloneable-saas.md +114 -0
- package/corpus/core/docs/content/locales/fr-FR/code-agents-ui.md +436 -0
- package/corpus/core/docs/content/locales/fr-FR/components.md +368 -0
- package/corpus/core/docs/content/locales/fr-FR/context-awareness.md +373 -0
- package/corpus/core/docs/content/locales/fr-FR/creating-templates.md +411 -0
- package/corpus/core/docs/content/locales/fr-FR/cross-app-sso.md +185 -0
- package/corpus/core/docs/content/locales/fr-FR/database.md +183 -0
- package/corpus/core/docs/content/locales/fr-FR/deployment.md +349 -0
- package/corpus/core/docs/content/locales/fr-FR/dispatch.md +146 -0
- package/corpus/core/docs/content/locales/fr-FR/drop-in-agent.md +260 -0
- package/corpus/core/docs/content/locales/fr-FR/durable-resume.md +65 -0
- package/corpus/core/docs/content/locales/fr-FR/embedding-sdk.md +597 -0
- package/corpus/core/docs/content/locales/fr-FR/evals.md +155 -0
- package/corpus/core/docs/content/locales/fr-FR/extensions.md +360 -0
- package/corpus/core/docs/content/locales/fr-FR/external-agents.md +619 -0
- package/corpus/core/docs/content/locales/fr-FR/faq.md +142 -0
- package/corpus/core/docs/content/locales/fr-FR/file-uploads.md +122 -0
- package/corpus/core/docs/content/locales/fr-FR/frames.md +153 -0
- package/corpus/core/docs/content/locales/fr-FR/getting-started.md +199 -0
- package/corpus/core/docs/content/locales/fr-FR/harness-agents.md +349 -0
- package/corpus/core/docs/content/locales/fr-FR/human-approval.md +86 -0
- package/corpus/core/docs/content/locales/fr-FR/internationalization.md +67 -24
- package/corpus/core/docs/content/locales/fr-FR/key-concepts.md +312 -0
- package/corpus/core/docs/content/locales/fr-FR/local-file-mode.md +433 -0
- package/corpus/core/docs/content/locales/fr-FR/mcp-apps.md +147 -0
- package/corpus/core/docs/content/locales/fr-FR/mcp-clients.md +330 -0
- package/corpus/core/docs/content/locales/fr-FR/mcp-protocol.md +279 -0
- package/corpus/core/docs/content/locales/fr-FR/messaging.md +461 -0
- package/corpus/core/docs/content/locales/fr-FR/migration-workbench.md +33 -0
- package/corpus/core/docs/content/locales/fr-FR/multi-app-workspace.md +312 -0
- package/corpus/core/docs/content/locales/fr-FR/multi-tenancy.md +52 -0
- package/corpus/core/docs/content/locales/fr-FR/native-chat-ui.md +321 -0
- package/corpus/core/docs/content/locales/fr-FR/notifications.md +231 -0
- package/corpus/core/docs/content/locales/fr-FR/observability.md +294 -0
- package/corpus/core/docs/content/locales/fr-FR/observational-memory.md +77 -0
- package/corpus/core/docs/content/locales/fr-FR/onboarding.md +216 -0
- package/corpus/core/docs/content/locales/fr-FR/plan-plugin.md +200 -0
- package/corpus/core/docs/content/locales/fr-FR/pr-visual-recap.md +384 -0
- package/corpus/core/docs/content/locales/fr-FR/processors.md +106 -0
- package/corpus/core/docs/content/locales/fr-FR/progress.md +199 -0
- package/corpus/core/docs/content/locales/fr-FR/pure-agent-apps.md +39 -0
- package/corpus/core/docs/content/locales/fr-FR/real-time-collaboration.md +676 -0
- package/corpus/core/docs/content/locales/fr-FR/recurring-jobs.md +142 -0
- package/corpus/core/docs/content/locales/fr-FR/routing.md +79 -0
- package/corpus/core/docs/content/locales/fr-FR/sandbox-adapters.md +227 -0
- package/corpus/core/docs/content/locales/fr-FR/security.md +330 -0
- package/corpus/core/docs/content/locales/fr-FR/server.md +253 -0
- package/corpus/core/docs/content/locales/fr-FR/sharing.md +219 -0
- package/corpus/core/docs/content/locales/fr-FR/skills-guide.md +281 -0
- package/corpus/core/docs/content/locales/fr-FR/template-analytics.md +259 -0
- package/corpus/core/docs/content/locales/fr-FR/template-assets.md +303 -0
- package/corpus/core/docs/content/locales/fr-FR/template-brain.md +324 -0
- package/corpus/core/docs/content/locales/fr-FR/template-calendar.md +194 -0
- package/corpus/core/docs/content/locales/fr-FR/template-chat.md +129 -0
- package/corpus/core/docs/content/locales/fr-FR/template-clips.md +368 -0
- package/corpus/core/docs/content/locales/fr-FR/template-content.md +402 -0
- package/corpus/core/docs/content/locales/fr-FR/template-design.md +173 -0
- package/corpus/core/docs/content/locales/fr-FR/template-dispatch.md +220 -0
- package/corpus/core/docs/content/locales/fr-FR/template-forms.md +178 -0
- package/corpus/core/docs/content/locales/fr-FR/template-mail.md +239 -0
- package/corpus/core/docs/content/locales/fr-FR/template-plan.md +815 -0
- package/corpus/core/docs/content/locales/fr-FR/template-slides.md +293 -0
- package/corpus/core/docs/content/locales/fr-FR/template-videos.md +222 -0
- package/corpus/core/docs/content/locales/fr-FR/tracking.md +236 -0
- package/corpus/core/docs/content/locales/fr-FR/using-your-agent.md +71 -0
- package/corpus/core/docs/content/locales/fr-FR/voice-input.md +81 -0
- package/corpus/core/docs/content/locales/fr-FR/what-is-agent-native.md +202 -0
- package/corpus/core/docs/content/locales/fr-FR/workspace-connections.md +321 -0
- package/corpus/core/docs/content/locales/fr-FR/workspace-management.md +175 -0
- package/corpus/core/docs/content/locales/fr-FR/workspace.md +323 -0
- package/corpus/core/docs/content/locales/fr-FR/writing-agent-instructions.md +173 -0
- package/corpus/core/docs/content/locales/hi-IN/a2a-protocol.md +392 -0
- package/corpus/core/docs/content/locales/hi-IN/actions.md +583 -0
- package/corpus/core/docs/content/locales/hi-IN/agent-mentions.md +164 -0
- package/corpus/core/docs/content/locales/hi-IN/agent-surfaces.md +397 -0
- package/corpus/core/docs/content/locales/hi-IN/agent-teams.md +171 -0
- package/corpus/core/docs/content/locales/hi-IN/agent-web-surfaces.md +161 -0
- package/corpus/core/docs/content/locales/hi-IN/audit-log.md +111 -0
- package/corpus/core/docs/content/locales/hi-IN/authentication.md +332 -0
- package/corpus/core/docs/content/locales/hi-IN/automations.md +268 -0
- package/corpus/core/docs/content/locales/hi-IN/blueprint-installer.md +83 -0
- package/corpus/core/docs/content/locales/hi-IN/cli-adapters.md +129 -0
- package/corpus/core/docs/content/locales/hi-IN/client.md +398 -0
- package/corpus/core/docs/content/locales/hi-IN/cloneable-saas.md +114 -0
- package/corpus/core/docs/content/locales/hi-IN/code-agents-ui.md +436 -0
- package/corpus/core/docs/content/locales/hi-IN/components.md +368 -0
- package/corpus/core/docs/content/locales/hi-IN/context-awareness.md +373 -0
- package/corpus/core/docs/content/locales/hi-IN/creating-templates.md +411 -0
- package/corpus/core/docs/content/locales/hi-IN/cross-app-sso.md +185 -0
- package/corpus/core/docs/content/locales/hi-IN/database.md +183 -0
- package/corpus/core/docs/content/locales/hi-IN/deployment.md +349 -0
- package/corpus/core/docs/content/locales/hi-IN/dispatch.md +146 -0
- package/corpus/core/docs/content/locales/hi-IN/drop-in-agent.md +260 -0
- package/corpus/core/docs/content/locales/hi-IN/durable-resume.md +65 -0
- package/corpus/core/docs/content/locales/hi-IN/embedding-sdk.md +597 -0
- package/corpus/core/docs/content/locales/hi-IN/evals.md +155 -0
- package/corpus/core/docs/content/locales/hi-IN/extensions.md +360 -0
- package/corpus/core/docs/content/locales/hi-IN/external-agents.md +619 -0
- package/corpus/core/docs/content/locales/hi-IN/faq.md +142 -0
- package/corpus/core/docs/content/locales/hi-IN/file-uploads.md +122 -0
- package/corpus/core/docs/content/locales/hi-IN/frames.md +153 -0
- package/corpus/core/docs/content/locales/hi-IN/getting-started.md +199 -0
- package/corpus/core/docs/content/locales/hi-IN/harness-agents.md +349 -0
- package/corpus/core/docs/content/locales/hi-IN/human-approval.md +86 -0
- package/corpus/core/docs/content/locales/hi-IN/internationalization.md +70 -27
- package/corpus/core/docs/content/locales/hi-IN/key-concepts.md +312 -0
- package/corpus/core/docs/content/locales/hi-IN/local-file-mode.md +433 -0
- package/corpus/core/docs/content/locales/hi-IN/mcp-apps.md +147 -0
- package/corpus/core/docs/content/locales/hi-IN/mcp-clients.md +330 -0
- package/corpus/core/docs/content/locales/hi-IN/mcp-protocol.md +279 -0
- package/corpus/core/docs/content/locales/hi-IN/messaging.md +461 -0
- package/corpus/core/docs/content/locales/hi-IN/migration-workbench.md +33 -0
- package/corpus/core/docs/content/locales/hi-IN/multi-app-workspace.md +312 -0
- package/corpus/core/docs/content/locales/hi-IN/multi-tenancy.md +52 -0
- package/corpus/core/docs/content/locales/hi-IN/native-chat-ui.md +321 -0
- package/corpus/core/docs/content/locales/hi-IN/notifications.md +231 -0
- package/corpus/core/docs/content/locales/hi-IN/observability.md +294 -0
- package/corpus/core/docs/content/locales/hi-IN/observational-memory.md +77 -0
- package/corpus/core/docs/content/locales/hi-IN/onboarding.md +216 -0
- package/corpus/core/docs/content/locales/hi-IN/plan-plugin.md +200 -0
- package/corpus/core/docs/content/locales/hi-IN/pr-visual-recap.md +384 -0
- package/corpus/core/docs/content/locales/hi-IN/processors.md +106 -0
- package/corpus/core/docs/content/locales/hi-IN/progress.md +199 -0
- package/corpus/core/docs/content/locales/hi-IN/pure-agent-apps.md +39 -0
- package/corpus/core/docs/content/locales/hi-IN/real-time-collaboration.md +676 -0
- package/corpus/core/docs/content/locales/hi-IN/recurring-jobs.md +142 -0
- package/corpus/core/docs/content/locales/hi-IN/routing.md +79 -0
- package/corpus/core/docs/content/locales/hi-IN/sandbox-adapters.md +227 -0
- package/corpus/core/docs/content/locales/hi-IN/security.md +330 -0
- package/corpus/core/docs/content/locales/hi-IN/server.md +253 -0
- package/corpus/core/docs/content/locales/hi-IN/sharing.md +219 -0
- package/corpus/core/docs/content/locales/hi-IN/skills-guide.md +281 -0
- package/corpus/core/docs/content/locales/hi-IN/template-analytics.md +259 -0
- package/corpus/core/docs/content/locales/hi-IN/template-assets.md +303 -0
- package/corpus/core/docs/content/locales/hi-IN/template-brain.md +324 -0
- package/corpus/core/docs/content/locales/hi-IN/template-calendar.md +194 -0
- package/corpus/core/docs/content/locales/hi-IN/template-chat.md +129 -0
- package/corpus/core/docs/content/locales/hi-IN/template-clips.md +368 -0
- package/corpus/core/docs/content/locales/hi-IN/template-content.md +402 -0
- package/corpus/core/docs/content/locales/hi-IN/template-design.md +173 -0
- package/corpus/core/docs/content/locales/hi-IN/template-dispatch.md +220 -0
- package/corpus/core/docs/content/locales/hi-IN/template-forms.md +178 -0
- package/corpus/core/docs/content/locales/hi-IN/template-mail.md +239 -0
- package/corpus/core/docs/content/locales/hi-IN/template-plan.md +815 -0
- package/corpus/core/docs/content/locales/hi-IN/template-slides.md +293 -0
- package/corpus/core/docs/content/locales/hi-IN/template-videos.md +222 -0
- package/corpus/core/docs/content/locales/hi-IN/tracking.md +236 -0
- package/corpus/core/docs/content/locales/hi-IN/using-your-agent.md +71 -0
- package/corpus/core/docs/content/locales/hi-IN/voice-input.md +81 -0
- package/corpus/core/docs/content/locales/hi-IN/what-is-agent-native.md +202 -0
- package/corpus/core/docs/content/locales/hi-IN/workspace-connections.md +321 -0
- package/corpus/core/docs/content/locales/hi-IN/workspace-management.md +175 -0
- package/corpus/core/docs/content/locales/hi-IN/workspace.md +323 -0
- package/corpus/core/docs/content/locales/hi-IN/writing-agent-instructions.md +173 -0
- package/corpus/core/docs/content/locales/ja-JP/a2a-protocol.md +392 -0
- package/corpus/core/docs/content/locales/ja-JP/actions.md +583 -0
- package/corpus/core/docs/content/locales/ja-JP/agent-mentions.md +164 -0
- package/corpus/core/docs/content/locales/ja-JP/agent-surfaces.md +397 -0
- package/corpus/core/docs/content/locales/ja-JP/agent-teams.md +171 -0
- package/corpus/core/docs/content/locales/ja-JP/agent-web-surfaces.md +161 -0
- package/corpus/core/docs/content/locales/ja-JP/audit-log.md +111 -0
- package/corpus/core/docs/content/locales/ja-JP/authentication.md +332 -0
- package/corpus/core/docs/content/locales/ja-JP/automations.md +268 -0
- package/corpus/core/docs/content/locales/ja-JP/blueprint-installer.md +83 -0
- package/corpus/core/docs/content/locales/ja-JP/cli-adapters.md +129 -0
- package/corpus/core/docs/content/locales/ja-JP/client.md +398 -0
- package/corpus/core/docs/content/locales/ja-JP/cloneable-saas.md +114 -0
- package/corpus/core/docs/content/locales/ja-JP/code-agents-ui.md +436 -0
- package/corpus/core/docs/content/locales/ja-JP/components.md +368 -0
- package/corpus/core/docs/content/locales/ja-JP/context-awareness.md +373 -0
- package/corpus/core/docs/content/locales/ja-JP/creating-templates.md +411 -0
- package/corpus/core/docs/content/locales/ja-JP/cross-app-sso.md +185 -0
- package/corpus/core/docs/content/locales/ja-JP/database.md +183 -0
- package/corpus/core/docs/content/locales/ja-JP/deployment.md +349 -0
- package/corpus/core/docs/content/locales/ja-JP/dispatch.md +146 -0
- package/corpus/core/docs/content/locales/ja-JP/drop-in-agent.md +260 -0
- package/corpus/core/docs/content/locales/ja-JP/durable-resume.md +65 -0
- package/corpus/core/docs/content/locales/ja-JP/embedding-sdk.md +597 -0
- package/corpus/core/docs/content/locales/ja-JP/evals.md +155 -0
- package/corpus/core/docs/content/locales/ja-JP/extensions.md +360 -0
- package/corpus/core/docs/content/locales/ja-JP/external-agents.md +619 -0
- package/corpus/core/docs/content/locales/ja-JP/faq.md +142 -0
- package/corpus/core/docs/content/locales/ja-JP/file-uploads.md +122 -0
- package/corpus/core/docs/content/locales/ja-JP/frames.md +153 -0
- package/corpus/core/docs/content/locales/ja-JP/getting-started.md +199 -0
- package/corpus/core/docs/content/locales/ja-JP/harness-agents.md +349 -0
- package/corpus/core/docs/content/locales/ja-JP/human-approval.md +86 -0
- package/corpus/core/docs/content/locales/ja-JP/internationalization.md +54 -23
- package/corpus/core/docs/content/locales/ja-JP/key-concepts.md +312 -0
- package/corpus/core/docs/content/locales/ja-JP/local-file-mode.md +433 -0
- package/corpus/core/docs/content/locales/ja-JP/mcp-apps.md +147 -0
- package/corpus/core/docs/content/locales/ja-JP/mcp-clients.md +330 -0
- package/corpus/core/docs/content/locales/ja-JP/mcp-protocol.md +279 -0
- package/corpus/core/docs/content/locales/ja-JP/messaging.md +461 -0
- package/corpus/core/docs/content/locales/ja-JP/migration-workbench.md +33 -0
- package/corpus/core/docs/content/locales/ja-JP/multi-app-workspace.md +312 -0
- package/corpus/core/docs/content/locales/ja-JP/multi-tenancy.md +52 -0
- package/corpus/core/docs/content/locales/ja-JP/native-chat-ui.md +321 -0
- package/corpus/core/docs/content/locales/ja-JP/notifications.md +231 -0
- package/corpus/core/docs/content/locales/ja-JP/observability.md +294 -0
- package/corpus/core/docs/content/locales/ja-JP/observational-memory.md +77 -0
- package/corpus/core/docs/content/locales/ja-JP/onboarding.md +216 -0
- package/corpus/core/docs/content/locales/ja-JP/plan-plugin.md +200 -0
- package/corpus/core/docs/content/locales/ja-JP/pr-visual-recap.md +384 -0
- package/corpus/core/docs/content/locales/ja-JP/processors.md +106 -0
- package/corpus/core/docs/content/locales/ja-JP/progress.md +199 -0
- package/corpus/core/docs/content/locales/ja-JP/pure-agent-apps.md +39 -0
- package/corpus/core/docs/content/locales/ja-JP/real-time-collaboration.md +676 -0
- package/corpus/core/docs/content/locales/ja-JP/recurring-jobs.md +142 -0
- package/corpus/core/docs/content/locales/ja-JP/routing.md +79 -0
- package/corpus/core/docs/content/locales/ja-JP/sandbox-adapters.md +227 -0
- package/corpus/core/docs/content/locales/ja-JP/security.md +330 -0
- package/corpus/core/docs/content/locales/ja-JP/server.md +253 -0
- package/corpus/core/docs/content/locales/ja-JP/sharing.md +219 -0
- package/corpus/core/docs/content/locales/ja-JP/skills-guide.md +281 -0
- package/corpus/core/docs/content/locales/ja-JP/template-analytics.md +259 -0
- package/corpus/core/docs/content/locales/ja-JP/template-assets.md +303 -0
- package/corpus/core/docs/content/locales/ja-JP/template-brain.md +324 -0
- package/corpus/core/docs/content/locales/ja-JP/template-calendar.md +194 -0
- package/corpus/core/docs/content/locales/ja-JP/template-chat.md +129 -0
- package/corpus/core/docs/content/locales/ja-JP/template-clips.md +368 -0
- package/corpus/core/docs/content/locales/ja-JP/template-content.md +402 -0
- package/corpus/core/docs/content/locales/ja-JP/template-design.md +173 -0
- package/corpus/core/docs/content/locales/ja-JP/template-dispatch.md +220 -0
- package/corpus/core/docs/content/locales/ja-JP/template-forms.md +178 -0
- package/corpus/core/docs/content/locales/ja-JP/template-mail.md +239 -0
- package/corpus/core/docs/content/locales/ja-JP/template-plan.md +814 -0
- package/corpus/core/docs/content/locales/ja-JP/template-slides.md +293 -0
- package/corpus/core/docs/content/locales/ja-JP/template-videos.md +222 -0
- package/corpus/core/docs/content/locales/ja-JP/tracking.md +236 -0
- package/corpus/core/docs/content/locales/ja-JP/using-your-agent.md +71 -0
- package/corpus/core/docs/content/locales/ja-JP/voice-input.md +81 -0
- package/corpus/core/docs/content/locales/ja-JP/what-is-agent-native.md +202 -0
- package/corpus/core/docs/content/locales/ja-JP/workspace-connections.md +321 -0
- package/corpus/core/docs/content/locales/ja-JP/workspace-management.md +175 -0
- package/corpus/core/docs/content/locales/ja-JP/workspace.md +323 -0
- package/corpus/core/docs/content/locales/ja-JP/writing-agent-instructions.md +173 -0
- package/corpus/core/docs/content/locales/ko-KR/a2a-protocol.md +392 -0
- package/corpus/core/docs/content/locales/ko-KR/actions.md +583 -0
- package/corpus/core/docs/content/locales/ko-KR/agent-mentions.md +164 -0
- package/corpus/core/docs/content/locales/ko-KR/agent-surfaces.md +397 -0
- package/corpus/core/docs/content/locales/ko-KR/agent-teams.md +171 -0
- package/corpus/core/docs/content/locales/ko-KR/agent-web-surfaces.md +161 -0
- package/corpus/core/docs/content/locales/ko-KR/audit-log.md +111 -0
- package/corpus/core/docs/content/locales/ko-KR/authentication.md +332 -0
- package/corpus/core/docs/content/locales/ko-KR/automations.md +268 -0
- package/corpus/core/docs/content/locales/ko-KR/blueprint-installer.md +83 -0
- package/corpus/core/docs/content/locales/ko-KR/cli-adapters.md +129 -0
- package/corpus/core/docs/content/locales/ko-KR/client.md +398 -0
- package/corpus/core/docs/content/locales/ko-KR/cloneable-saas.md +114 -0
- package/corpus/core/docs/content/locales/ko-KR/code-agents-ui.md +436 -0
- package/corpus/core/docs/content/locales/ko-KR/components.md +368 -0
- package/corpus/core/docs/content/locales/ko-KR/context-awareness.md +373 -0
- package/corpus/core/docs/content/locales/ko-KR/creating-templates.md +411 -0
- package/corpus/core/docs/content/locales/ko-KR/cross-app-sso.md +187 -0
- package/corpus/core/docs/content/locales/ko-KR/database.md +183 -0
- package/corpus/core/docs/content/locales/ko-KR/deployment.md +349 -0
- package/corpus/core/docs/content/locales/ko-KR/dispatch.md +146 -0
- package/corpus/core/docs/content/locales/ko-KR/drop-in-agent.md +260 -0
- package/corpus/core/docs/content/locales/ko-KR/durable-resume.md +65 -0
- package/corpus/core/docs/content/locales/ko-KR/embedding-sdk.md +597 -0
- package/corpus/core/docs/content/locales/ko-KR/evals.md +155 -0
- package/corpus/core/docs/content/locales/ko-KR/extensions.md +360 -0
- package/corpus/core/docs/content/locales/ko-KR/external-agents.md +621 -0
- package/corpus/core/docs/content/locales/ko-KR/faq.md +142 -0
- package/corpus/core/docs/content/locales/ko-KR/file-uploads.md +122 -0
- package/corpus/core/docs/content/locales/ko-KR/frames.md +153 -0
- package/corpus/core/docs/content/locales/ko-KR/getting-started.md +199 -0
- package/corpus/core/docs/content/locales/ko-KR/harness-agents.md +349 -0
- package/corpus/core/docs/content/locales/ko-KR/human-approval.md +88 -0
- package/corpus/core/docs/content/locales/ko-KR/internationalization.md +66 -23
- package/corpus/core/docs/content/locales/ko-KR/key-concepts.md +312 -0
- package/corpus/core/docs/content/locales/ko-KR/local-file-mode.md +433 -0
- package/corpus/core/docs/content/locales/ko-KR/mcp-apps.md +147 -0
- package/corpus/core/docs/content/locales/ko-KR/mcp-clients.md +330 -0
- package/corpus/core/docs/content/locales/ko-KR/mcp-protocol.md +279 -0
- package/corpus/core/docs/content/locales/ko-KR/messaging.md +464 -0
- package/corpus/core/docs/content/locales/ko-KR/migration-workbench.md +33 -0
- package/corpus/core/docs/content/locales/ko-KR/multi-app-workspace.md +312 -0
- package/corpus/core/docs/content/locales/ko-KR/multi-tenancy.md +52 -0
- package/corpus/core/docs/content/locales/ko-KR/native-chat-ui.md +321 -0
- package/corpus/core/docs/content/locales/ko-KR/notifications.md +231 -0
- package/corpus/core/docs/content/locales/ko-KR/observability.md +294 -0
- package/corpus/core/docs/content/locales/ko-KR/observational-memory.md +77 -0
- package/corpus/core/docs/content/locales/ko-KR/onboarding.md +216 -0
- package/corpus/core/docs/content/locales/ko-KR/plan-plugin.md +200 -0
- package/corpus/core/docs/content/locales/ko-KR/pr-visual-recap.md +384 -0
- package/corpus/core/docs/content/locales/ko-KR/processors.md +106 -0
- package/corpus/core/docs/content/locales/ko-KR/progress.md +199 -0
- package/corpus/core/docs/content/locales/ko-KR/pure-agent-apps.md +39 -0
- package/corpus/core/docs/content/locales/ko-KR/real-time-collaboration.md +676 -0
- package/corpus/core/docs/content/locales/ko-KR/recurring-jobs.md +142 -0
- package/corpus/core/docs/content/locales/ko-KR/routing.md +79 -0
- package/corpus/core/docs/content/locales/ko-KR/sandbox-adapters.md +227 -0
- package/corpus/core/docs/content/locales/ko-KR/security.md +330 -0
- package/corpus/core/docs/content/locales/ko-KR/server.md +253 -0
- package/corpus/core/docs/content/locales/ko-KR/sharing.md +219 -0
- package/corpus/core/docs/content/locales/ko-KR/skills-guide.md +281 -0
- package/corpus/core/docs/content/locales/ko-KR/template-analytics.md +259 -0
- package/corpus/core/docs/content/locales/ko-KR/template-assets.md +307 -0
- package/corpus/core/docs/content/locales/ko-KR/template-brain.md +324 -0
- package/corpus/core/docs/content/locales/ko-KR/template-calendar.md +194 -0
- package/corpus/core/docs/content/locales/ko-KR/template-chat.md +129 -0
- package/corpus/core/docs/content/locales/ko-KR/template-clips.md +372 -0
- package/corpus/core/docs/content/locales/ko-KR/template-content.md +402 -0
- package/corpus/core/docs/content/locales/ko-KR/template-design.md +173 -0
- package/corpus/core/docs/content/locales/ko-KR/template-dispatch.md +220 -0
- package/corpus/core/docs/content/locales/ko-KR/template-forms.md +178 -0
- package/corpus/core/docs/content/locales/ko-KR/template-mail.md +239 -0
- package/corpus/core/docs/content/locales/ko-KR/template-plan.md +815 -0
- package/corpus/core/docs/content/locales/ko-KR/template-slides.md +293 -0
- package/corpus/core/docs/content/locales/ko-KR/template-videos.md +222 -0
- package/corpus/core/docs/content/locales/ko-KR/tracking.md +236 -0
- package/corpus/core/docs/content/locales/ko-KR/using-your-agent.md +71 -0
- package/corpus/core/docs/content/locales/ko-KR/voice-input.md +81 -0
- package/corpus/core/docs/content/locales/ko-KR/what-is-agent-native.md +202 -0
- package/corpus/core/docs/content/locales/ko-KR/workspace-connections.md +321 -0
- package/corpus/core/docs/content/locales/ko-KR/workspace-management.md +175 -0
- package/corpus/core/docs/content/locales/ko-KR/workspace.md +323 -0
- package/corpus/core/docs/content/locales/ko-KR/writing-agent-instructions.md +173 -0
- package/corpus/core/docs/content/locales/pt-BR/a2a-protocol.md +392 -0
- package/corpus/core/docs/content/locales/pt-BR/actions.md +583 -0
- package/corpus/core/docs/content/locales/pt-BR/agent-mentions.md +164 -0
- package/corpus/core/docs/content/locales/pt-BR/agent-surfaces.md +397 -0
- package/corpus/core/docs/content/locales/pt-BR/agent-teams.md +171 -0
- package/corpus/core/docs/content/locales/pt-BR/agent-web-surfaces.md +161 -0
- package/corpus/core/docs/content/locales/pt-BR/audit-log.md +111 -0
- package/corpus/core/docs/content/locales/pt-BR/authentication.md +332 -0
- package/corpus/core/docs/content/locales/pt-BR/automations.md +268 -0
- package/corpus/core/docs/content/locales/pt-BR/blueprint-installer.md +83 -0
- package/corpus/core/docs/content/locales/pt-BR/cli-adapters.md +129 -0
- package/corpus/core/docs/content/locales/pt-BR/client.md +398 -0
- package/corpus/core/docs/content/locales/pt-BR/cloneable-saas.md +114 -0
- package/corpus/core/docs/content/locales/pt-BR/code-agents-ui.md +436 -0
- package/corpus/core/docs/content/locales/pt-BR/components.md +368 -0
- package/corpus/core/docs/content/locales/pt-BR/context-awareness.md +373 -0
- package/corpus/core/docs/content/locales/pt-BR/creating-templates.md +411 -0
- package/corpus/core/docs/content/locales/pt-BR/cross-app-sso.md +185 -0
- package/corpus/core/docs/content/locales/pt-BR/database.md +183 -0
- package/corpus/core/docs/content/locales/pt-BR/deployment.md +349 -0
- package/corpus/core/docs/content/locales/pt-BR/dispatch.md +146 -0
- package/corpus/core/docs/content/locales/pt-BR/drop-in-agent.md +260 -0
- package/corpus/core/docs/content/locales/pt-BR/durable-resume.md +65 -0
- package/corpus/core/docs/content/locales/pt-BR/embedding-sdk.md +597 -0
- package/corpus/core/docs/content/locales/pt-BR/evals.md +155 -0
- package/corpus/core/docs/content/locales/pt-BR/extensions.md +360 -0
- package/corpus/core/docs/content/locales/pt-BR/external-agents.md +619 -0
- package/corpus/core/docs/content/locales/pt-BR/faq.md +142 -0
- package/corpus/core/docs/content/locales/pt-BR/file-uploads.md +122 -0
- package/corpus/core/docs/content/locales/pt-BR/frames.md +153 -0
- package/corpus/core/docs/content/locales/pt-BR/getting-started.md +199 -0
- package/corpus/core/docs/content/locales/pt-BR/harness-agents.md +349 -0
- package/corpus/core/docs/content/locales/pt-BR/human-approval.md +86 -0
- package/corpus/core/docs/content/locales/pt-BR/internationalization.md +67 -24
- package/corpus/core/docs/content/locales/pt-BR/key-concepts.md +312 -0
- package/corpus/core/docs/content/locales/pt-BR/local-file-mode.md +433 -0
- package/corpus/core/docs/content/locales/pt-BR/mcp-apps.md +147 -0
- package/corpus/core/docs/content/locales/pt-BR/mcp-clients.md +330 -0
- package/corpus/core/docs/content/locales/pt-BR/mcp-protocol.md +279 -0
- package/corpus/core/docs/content/locales/pt-BR/messaging.md +461 -0
- package/corpus/core/docs/content/locales/pt-BR/migration-workbench.md +33 -0
- package/corpus/core/docs/content/locales/pt-BR/multi-app-workspace.md +312 -0
- package/corpus/core/docs/content/locales/pt-BR/multi-tenancy.md +52 -0
- package/corpus/core/docs/content/locales/pt-BR/native-chat-ui.md +321 -0
- package/corpus/core/docs/content/locales/pt-BR/notifications.md +231 -0
- package/corpus/core/docs/content/locales/pt-BR/observability.md +294 -0
- package/corpus/core/docs/content/locales/pt-BR/observational-memory.md +77 -0
- package/corpus/core/docs/content/locales/pt-BR/onboarding.md +216 -0
- package/corpus/core/docs/content/locales/pt-BR/plan-plugin.md +200 -0
- package/corpus/core/docs/content/locales/pt-BR/pr-visual-recap.md +384 -0
- package/corpus/core/docs/content/locales/pt-BR/processors.md +106 -0
- package/corpus/core/docs/content/locales/pt-BR/progress.md +199 -0
- package/corpus/core/docs/content/locales/pt-BR/pure-agent-apps.md +39 -0
- package/corpus/core/docs/content/locales/pt-BR/real-time-collaboration.md +676 -0
- package/corpus/core/docs/content/locales/pt-BR/recurring-jobs.md +142 -0
- package/corpus/core/docs/content/locales/pt-BR/routing.md +79 -0
- package/corpus/core/docs/content/locales/pt-BR/sandbox-adapters.md +227 -0
- package/corpus/core/docs/content/locales/pt-BR/security.md +330 -0
- package/corpus/core/docs/content/locales/pt-BR/server.md +253 -0
- package/corpus/core/docs/content/locales/pt-BR/sharing.md +219 -0
- package/corpus/core/docs/content/locales/pt-BR/skills-guide.md +281 -0
- package/corpus/core/docs/content/locales/pt-BR/template-analytics.md +259 -0
- package/corpus/core/docs/content/locales/pt-BR/template-assets.md +303 -0
- package/corpus/core/docs/content/locales/pt-BR/template-brain.md +324 -0
- package/corpus/core/docs/content/locales/pt-BR/template-calendar.md +194 -0
- package/corpus/core/docs/content/locales/pt-BR/template-chat.md +129 -0
- package/corpus/core/docs/content/locales/pt-BR/template-clips.md +368 -0
- package/corpus/core/docs/content/locales/pt-BR/template-content.md +402 -0
- package/corpus/core/docs/content/locales/pt-BR/template-design.md +173 -0
- package/corpus/core/docs/content/locales/pt-BR/template-dispatch.md +220 -0
- package/corpus/core/docs/content/locales/pt-BR/template-forms.md +178 -0
- package/corpus/core/docs/content/locales/pt-BR/template-mail.md +239 -0
- package/corpus/core/docs/content/locales/pt-BR/template-plan.md +815 -0
- package/corpus/core/docs/content/locales/pt-BR/template-slides.md +293 -0
- package/corpus/core/docs/content/locales/pt-BR/template-videos.md +222 -0
- package/corpus/core/docs/content/locales/pt-BR/tracking.md +236 -0
- package/corpus/core/docs/content/locales/pt-BR/using-your-agent.md +71 -0
- package/corpus/core/docs/content/locales/pt-BR/voice-input.md +81 -0
- package/corpus/core/docs/content/locales/pt-BR/what-is-agent-native.md +202 -0
- package/corpus/core/docs/content/locales/pt-BR/workspace-connections.md +321 -0
- package/corpus/core/docs/content/locales/pt-BR/workspace-management.md +175 -0
- package/corpus/core/docs/content/locales/pt-BR/workspace.md +323 -0
- package/corpus/core/docs/content/locales/pt-BR/writing-agent-instructions.md +173 -0
- package/corpus/core/docs/content/locales/zh-CN/a2a-protocol.md +392 -0
- package/corpus/core/docs/content/locales/zh-CN/actions.md +583 -0
- package/corpus/core/docs/content/locales/zh-CN/agent-mentions.md +164 -0
- package/corpus/core/docs/content/locales/zh-CN/agent-surfaces.md +397 -0
- package/corpus/core/docs/content/locales/zh-CN/agent-teams.md +171 -0
- package/corpus/core/docs/content/locales/zh-CN/agent-web-surfaces.md +161 -0
- package/corpus/core/docs/content/locales/zh-CN/audit-log.md +111 -0
- package/corpus/core/docs/content/locales/zh-CN/authentication.md +332 -0
- package/corpus/core/docs/content/locales/zh-CN/automations.md +268 -0
- package/corpus/core/docs/content/locales/zh-CN/blueprint-installer.md +83 -0
- package/corpus/core/docs/content/locales/zh-CN/cli-adapters.md +129 -0
- package/corpus/core/docs/content/locales/zh-CN/client.md +398 -0
- package/corpus/core/docs/content/locales/zh-CN/cloneable-saas.md +114 -0
- package/corpus/core/docs/content/locales/zh-CN/code-agents-ui.md +436 -0
- package/corpus/core/docs/content/locales/zh-CN/components.md +368 -0
- package/corpus/core/docs/content/locales/zh-CN/context-awareness.md +373 -0
- package/corpus/core/docs/content/locales/zh-CN/creating-templates.md +411 -0
- package/corpus/core/docs/content/locales/zh-CN/cross-app-sso.md +188 -0
- package/corpus/core/docs/content/locales/zh-CN/database.md +183 -0
- package/corpus/core/docs/content/locales/zh-CN/deployment.md +349 -0
- package/corpus/core/docs/content/locales/zh-CN/dispatch.md +146 -0
- package/corpus/core/docs/content/locales/zh-CN/drop-in-agent.md +260 -0
- package/corpus/core/docs/content/locales/zh-CN/durable-resume.md +65 -0
- package/corpus/core/docs/content/locales/zh-CN/embedding-sdk.md +597 -0
- package/corpus/core/docs/content/locales/zh-CN/evals.md +155 -0
- package/corpus/core/docs/content/locales/zh-CN/extensions.md +360 -0
- package/corpus/core/docs/content/locales/zh-CN/external-agents.md +619 -0
- package/corpus/core/docs/content/locales/zh-CN/faq.md +142 -0
- package/corpus/core/docs/content/locales/zh-CN/file-uploads.md +122 -0
- package/corpus/core/docs/content/locales/zh-CN/frames.md +153 -0
- package/corpus/core/docs/content/locales/zh-CN/getting-started.md +199 -0
- package/corpus/core/docs/content/locales/zh-CN/harness-agents.md +349 -0
- package/corpus/core/docs/content/locales/zh-CN/human-approval.md +86 -0
- package/corpus/core/docs/content/locales/zh-CN/internationalization.md +67 -24
- package/corpus/core/docs/content/locales/zh-CN/key-concepts.md +312 -0
- package/corpus/core/docs/content/locales/zh-CN/local-file-mode.md +433 -0
- package/corpus/core/docs/content/locales/zh-CN/mcp-apps.md +147 -0
- package/corpus/core/docs/content/locales/zh-CN/mcp-clients.md +330 -0
- package/corpus/core/docs/content/locales/zh-CN/mcp-protocol.md +279 -0
- package/corpus/core/docs/content/locales/zh-CN/messaging.md +461 -0
- package/corpus/core/docs/content/locales/zh-CN/migration-workbench.md +33 -0
- package/corpus/core/docs/content/locales/zh-CN/multi-app-workspace.md +312 -0
- package/corpus/core/docs/content/locales/zh-CN/multi-tenancy.md +52 -0
- package/corpus/core/docs/content/locales/zh-CN/native-chat-ui.md +321 -0
- package/corpus/core/docs/content/locales/zh-CN/notifications.md +231 -0
- package/corpus/core/docs/content/locales/zh-CN/observability.md +294 -0
- package/corpus/core/docs/content/locales/zh-CN/observational-memory.md +77 -0
- package/corpus/core/docs/content/locales/zh-CN/onboarding.md +216 -0
- package/corpus/core/docs/content/locales/zh-CN/plan-plugin.md +200 -0
- package/corpus/core/docs/content/locales/zh-CN/pr-visual-recap.md +384 -0
- package/corpus/core/docs/content/locales/zh-CN/processors.md +106 -0
- package/corpus/core/docs/content/locales/zh-CN/progress.md +199 -0
- package/corpus/core/docs/content/locales/zh-CN/pure-agent-apps.md +39 -0
- package/corpus/core/docs/content/locales/zh-CN/real-time-collaboration.md +676 -0
- package/corpus/core/docs/content/locales/zh-CN/recurring-jobs.md +142 -0
- package/corpus/core/docs/content/locales/zh-CN/routing.md +79 -0
- package/corpus/core/docs/content/locales/zh-CN/sandbox-adapters.md +227 -0
- package/corpus/core/docs/content/locales/zh-CN/security.md +330 -0
- package/corpus/core/docs/content/locales/zh-CN/server.md +253 -0
- package/corpus/core/docs/content/locales/zh-CN/sharing.md +219 -0
- package/corpus/core/docs/content/locales/zh-CN/skills-guide.md +281 -0
- package/corpus/core/docs/content/locales/zh-CN/template-analytics.md +259 -0
- package/corpus/core/docs/content/locales/zh-CN/template-assets.md +303 -0
- package/corpus/core/docs/content/locales/zh-CN/template-brain.md +324 -0
- package/corpus/core/docs/content/locales/zh-CN/template-calendar.md +194 -0
- package/corpus/core/docs/content/locales/zh-CN/template-chat.md +129 -0
- package/corpus/core/docs/content/locales/zh-CN/template-clips.md +368 -0
- package/corpus/core/docs/content/locales/zh-CN/template-content.md +402 -0
- package/corpus/core/docs/content/locales/zh-CN/template-design.md +173 -0
- package/corpus/core/docs/content/locales/zh-CN/template-dispatch.md +220 -0
- package/corpus/core/docs/content/locales/zh-CN/template-forms.md +178 -0
- package/corpus/core/docs/content/locales/zh-CN/template-mail.md +239 -0
- package/corpus/core/docs/content/locales/zh-CN/template-plan.md +814 -0
- package/corpus/core/docs/content/locales/zh-CN/template-slides.md +293 -0
- package/corpus/core/docs/content/locales/zh-CN/template-videos.md +222 -0
- package/corpus/core/docs/content/locales/zh-CN/tracking.md +236 -0
- package/corpus/core/docs/content/locales/zh-CN/using-your-agent.md +71 -0
- package/corpus/core/docs/content/locales/zh-CN/voice-input.md +81 -0
- package/corpus/core/docs/content/locales/zh-CN/what-is-agent-native.md +202 -0
- package/corpus/core/docs/content/locales/zh-CN/workspace-connections.md +321 -0
- package/corpus/core/docs/content/locales/zh-CN/workspace-management.md +175 -0
- package/corpus/core/docs/content/locales/zh-CN/workspace.md +323 -0
- package/corpus/core/docs/content/locales/zh-CN/writing-agent-instructions.md +173 -0
- package/corpus/core/package.json +1 -1
- package/corpus/core/src/agent/run-store.ts +13 -0
- package/corpus/core/src/client/components/CodeRequiredDialog.tsx +37 -23
- package/corpus/core/src/client/extensions/EmbeddedExtension.tsx +13 -9
- package/corpus/core/src/client/extensions/ExtensionEditor.tsx +43 -33
- package/corpus/core/src/client/extensions/ExtensionSlot.tsx +16 -12
- package/corpus/core/src/client/extensions/ExtensionsListPage.tsx +52 -37
- package/corpus/core/src/client/i18n.tsx +87 -2
- package/corpus/core/src/client/integrations/IntegrationCard.tsx +13 -8
- package/corpus/core/src/client/integrations/IntegrationsPanel.tsx +34 -30
- package/corpus/core/src/client/observability/ObservabilityDashboard.tsx +90 -65
- package/corpus/core/src/client/org/RequireActiveOrg.tsx +24 -18
- package/corpus/core/src/client/org/TeamPage.tsx +37 -26
- package/corpus/core/src/client/progress/RunsTray.tsx +67 -33
- package/corpus/core/src/extensions/routes.ts +45 -25
- package/corpus/core/src/templates/default/app/i18n/ar-SA.ts +356 -0
- package/corpus/core/src/templates/default/app/i18n/de-DE.ts +332 -0
- package/corpus/core/src/templates/default/app/i18n/en-US.ts +303 -0
- package/corpus/core/src/templates/default/app/i18n/es-ES.ts +339 -0
- package/corpus/core/src/templates/default/app/i18n/fr-FR.ts +339 -0
- package/corpus/core/src/templates/default/app/i18n/hi-IN.ts +332 -0
- package/corpus/core/src/templates/default/app/i18n/index.ts +18 -0
- package/corpus/core/src/templates/default/app/i18n/ja-JP.ts +326 -0
- package/corpus/core/src/templates/default/app/i18n/ko-KR.ts +326 -0
- package/corpus/core/src/templates/default/app/i18n/pt-BR.ts +339 -0
- package/corpus/core/src/templates/default/app/i18n/zh-CN.ts +324 -0
- package/corpus/core/src/templates/default/app/root.tsx +109 -6
- package/corpus/core/src/templates/workspace-core/.agents/skills/extensions/references/api.md +34 -12
- package/corpus/templates/analytics/app/components/layout/NewAnalysisDialog.tsx +16 -10
- package/corpus/templates/analytics/app/components/layout/NewDashboardDialog.tsx +9 -4
- package/corpus/templates/analytics/app/i18n-data.ts +16 -0
- package/corpus/templates/assets/app/i18n-data.ts +101 -0
- package/corpus/templates/assets/app/routes/asset.$id.tsx +60 -36
- package/corpus/templates/assets/app/routes/brand-kits._index.tsx +19 -16
- package/corpus/templates/assets/app/routes/settings.tsx +58 -37
- package/corpus/templates/brain/app/i18n-data.ts +114 -0
- package/corpus/templates/brain/app/routes/_index.tsx +7 -4
- package/corpus/templates/brain/app/routes/ops.tsx +88 -60
- package/corpus/templates/brain/app/routes/search.tsx +97 -56
- package/corpus/templates/calendar/app/components/calendar/DeleteEventDialog.tsx +33 -21
- package/corpus/templates/calendar/app/components/calendar/EventDialog.tsx +25 -30
- package/corpus/templates/calendar/app/i18n/index.ts +3 -24
- package/corpus/templates/calendar/app/i18n-data.ts +61 -0
- package/corpus/templates/calendar/app/pages/Settings.tsx +23 -23
- package/corpus/templates/chat/app/i18n-data.ts +78 -0
- package/corpus/templates/chat/app/routes/database.tsx +3 -1
- package/corpus/templates/chat/app/routes/observability.tsx +3 -2
- package/corpus/templates/chat/app/routes/team.tsx +4 -2
- package/corpus/templates/clips/app/i18n/ar-SA.ts +17 -0
- package/corpus/templates/clips/app/i18n/de-DE.ts +17 -0
- package/corpus/templates/clips/app/i18n/en-US.ts +17 -0
- package/corpus/templates/clips/app/i18n/es-ES.ts +17 -0
- package/corpus/templates/clips/app/i18n/fr-FR.ts +17 -0
- package/corpus/templates/clips/app/i18n/hi-IN.ts +17 -0
- package/corpus/templates/clips/app/i18n/ja-JP.ts +17 -0
- package/corpus/templates/clips/app/i18n/ko-KR.ts +17 -0
- package/corpus/templates/clips/app/i18n/pt-BR.ts +17 -0
- package/corpus/templates/clips/app/i18n/zh-CN.ts +15 -0
- package/corpus/templates/clips/app/routes/_app.trash.tsx +33 -20
- package/corpus/templates/content/app/i18n-data.ts +100 -0
- package/corpus/templates/content/app/routes/_app.team.tsx +7 -6
- package/corpus/templates/design/app/i18n-data.ts +58 -0
- package/corpus/templates/design/app/pages/Present.tsx +4 -3
- package/corpus/templates/design/app/routes/team.tsx +3 -1
- package/corpus/templates/forms/app/i18n/ar-SA.ts +88 -0
- package/corpus/templates/forms/app/i18n/de-DE.ts +88 -0
- package/corpus/templates/forms/app/i18n/en-US.ts +88 -0
- package/corpus/templates/forms/app/i18n/es-ES.ts +90 -0
- package/corpus/templates/forms/app/i18n/fr-FR.ts +88 -0
- package/corpus/templates/forms/app/i18n/hi-IN.ts +88 -0
- package/corpus/templates/forms/app/i18n/ja-JP.ts +88 -0
- package/corpus/templates/forms/app/i18n/ko-KR.ts +88 -0
- package/corpus/templates/forms/app/i18n/pt-BR.ts +88 -0
- package/corpus/templates/forms/app/i18n/zh-CN.ts +88 -0
- package/corpus/templates/forms/app/pages/FormsListPage.tsx +92 -63
- package/corpus/templates/forms/app/pages/ResponsesPage.tsx +37 -20
- package/corpus/templates/forms/app/routes/_index.tsx +15 -14
- package/corpus/templates/macros/app/i18n/ar-SA.ts +22 -0
- package/corpus/templates/macros/app/i18n/de-DE.ts +22 -0
- package/corpus/templates/macros/app/i18n/en-US.ts +22 -0
- package/corpus/templates/macros/app/i18n/es-ES.ts +22 -0
- package/corpus/templates/macros/app/i18n/fr-FR.ts +22 -0
- package/corpus/templates/macros/app/i18n/hi-IN.ts +22 -0
- package/corpus/templates/macros/app/i18n/ja-JP.ts +22 -0
- package/corpus/templates/macros/app/i18n/ko-KR.ts +22 -0
- package/corpus/templates/macros/app/i18n/pt-BR.ts +22 -0
- package/corpus/templates/macros/app/i18n/zh-CN.ts +22 -0
- package/corpus/templates/macros/app/routes/analytics.tsx +54 -27
- package/corpus/templates/mail/app/components/layout/CommandPalette.tsx +34 -26
- package/corpus/templates/mail/app/i18n/ar-SA.ts +30 -0
- package/corpus/templates/mail/app/i18n/de-DE.ts +30 -0
- package/corpus/templates/mail/app/i18n/en-US.ts +30 -0
- package/corpus/templates/mail/app/i18n/es-ES.ts +30 -0
- package/corpus/templates/mail/app/i18n/fr-FR.ts +30 -0
- package/corpus/templates/mail/app/i18n/hi-IN.ts +30 -0
- package/corpus/templates/mail/app/i18n/ja-JP.ts +30 -0
- package/corpus/templates/mail/app/i18n/ko-KR.ts +30 -0
- package/corpus/templates/mail/app/i18n/pt-BR.ts +30 -0
- package/corpus/templates/mail/app/i18n/zh-CN.ts +30 -0
- package/corpus/templates/mail/app/pages/NotFound.tsx +6 -2
- package/corpus/templates/plan/app/components/plan/GuestModeBanner.tsx +4 -3
- package/corpus/templates/plan/app/i18n/ar-SA.ts +17 -0
- package/corpus/templates/plan/app/i18n/de-DE.ts +17 -0
- package/corpus/templates/plan/app/i18n/en-US.ts +17 -0
- package/corpus/templates/plan/app/i18n/es-ES.ts +17 -0
- package/corpus/templates/plan/app/i18n/fr-FR.ts +17 -0
- package/corpus/templates/plan/app/i18n/hi-IN.ts +17 -0
- package/corpus/templates/plan/app/i18n/ja-JP.ts +17 -0
- package/corpus/templates/plan/app/i18n/ko-KR.ts +17 -0
- package/corpus/templates/plan/app/i18n/pt-BR.ts +17 -0
- package/corpus/templates/plan/app/i18n/zh-CN.ts +17 -0
- package/corpus/templates/plan/app/pages/PlanChatPage.tsx +12 -13
- package/corpus/templates/slides/app/i18n/ar-SA.ts +11 -0
- package/corpus/templates/slides/app/i18n/de-DE.ts +11 -0
- package/corpus/templates/slides/app/i18n/en-US.ts +11 -0
- package/corpus/templates/slides/app/i18n/es-ES.ts +11 -0
- package/corpus/templates/slides/app/i18n/fr-FR.ts +11 -0
- package/corpus/templates/slides/app/i18n/hi-IN.ts +11 -0
- package/corpus/templates/slides/app/i18n/ja-JP.ts +11 -0
- package/corpus/templates/slides/app/i18n/ko-KR.ts +11 -0
- package/corpus/templates/slides/app/i18n/pt-BR.ts +11 -0
- package/corpus/templates/slides/app/i18n/zh-CN.ts +11 -0
- package/corpus/templates/slides/app/pages/DesignSystems.tsx +10 -9
- package/corpus/templates/slides/app/pages/NotFound.tsx +4 -2
- package/corpus/templates/videos/app/i18n/ar-SA.ts +14 -0
- package/corpus/templates/videos/app/i18n/de-DE.ts +14 -0
- package/corpus/templates/videos/app/i18n/en-US.ts +14 -0
- package/corpus/templates/videos/app/i18n/es-ES.ts +14 -0
- package/corpus/templates/videos/app/i18n/fr-FR.ts +14 -0
- package/corpus/templates/videos/app/i18n/hi-IN.ts +14 -0
- package/corpus/templates/videos/app/i18n/ja-JP.ts +14 -0
- package/corpus/templates/videos/app/i18n/ko-KR.ts +14 -0
- package/corpus/templates/videos/app/i18n/pt-BR.ts +14 -0
- package/corpus/templates/videos/app/i18n/zh-CN.ts +14 -0
- package/corpus/templates/videos/app/pages/DesignSystems.tsx +10 -9
- package/corpus/templates/videos/app/pages/NewComposition.tsx +9 -9
- package/corpus/templates/videos/app/pages/NotFound.tsx +4 -2
- package/dist/agent/run-store.d.ts +13 -0
- package/dist/agent/run-store.d.ts.map +1 -1
- package/dist/agent/run-store.js +13 -0
- package/dist/agent/run-store.js.map +1 -1
- package/dist/client/components/CodeRequiredDialog.d.ts.map +1 -1
- package/dist/client/components/CodeRequiredDialog.js +12 -9
- package/dist/client/components/CodeRequiredDialog.js.map +1 -1
- package/dist/client/extensions/EmbeddedExtension.d.ts.map +1 -1
- package/dist/client/extensions/EmbeddedExtension.js +4 -2
- package/dist/client/extensions/EmbeddedExtension.js.map +1 -1
- package/dist/client/extensions/ExtensionEditor.d.ts.map +1 -1
- package/dist/client/extensions/ExtensionEditor.js +22 -12
- package/dist/client/extensions/ExtensionEditor.js.map +1 -1
- package/dist/client/extensions/ExtensionSlot.d.ts.map +1 -1
- package/dist/client/extensions/ExtensionSlot.js +9 -7
- package/dist/client/extensions/ExtensionSlot.js.map +1 -1
- package/dist/client/extensions/ExtensionsListPage.d.ts.map +1 -1
- package/dist/client/extensions/ExtensionsListPage.js +28 -15
- package/dist/client/extensions/ExtensionsListPage.js.map +1 -1
- package/dist/client/i18n.d.ts +1 -1
- package/dist/client/i18n.d.ts.map +1 -1
- package/dist/client/i18n.js +68 -2
- package/dist/client/i18n.js.map +1 -1
- package/dist/client/integrations/IntegrationCard.d.ts.map +1 -1
- package/dist/client/integrations/IntegrationCard.js +8 -4
- package/dist/client/integrations/IntegrationCard.js.map +1 -1
- package/dist/client/integrations/IntegrationsPanel.d.ts.map +1 -1
- package/dist/client/integrations/IntegrationsPanel.js +15 -8
- package/dist/client/integrations/IntegrationsPanel.js.map +1 -1
- package/dist/client/observability/ObservabilityDashboard.d.ts.map +1 -1
- package/dist/client/observability/ObservabilityDashboard.js +40 -17
- package/dist/client/observability/ObservabilityDashboard.js.map +1 -1
- package/dist/client/org/RequireActiveOrg.d.ts.map +1 -1
- package/dist/client/org/RequireActiveOrg.js +14 -8
- package/dist/client/org/RequireActiveOrg.js.map +1 -1
- package/dist/client/org/TeamPage.d.ts.map +1 -1
- package/dist/client/org/TeamPage.js +21 -14
- package/dist/client/org/TeamPage.js.map +1 -1
- package/dist/client/progress/RunsTray.d.ts.map +1 -1
- package/dist/client/progress/RunsTray.js +49 -30
- package/dist/client/progress/RunsTray.js.map +1 -1
- package/dist/extensions/routes.d.ts.map +1 -1
- package/dist/extensions/routes.js +38 -24
- package/dist/extensions/routes.js.map +1 -1
- package/dist/templates/default/app/i18n/ar-SA.ts +356 -0
- package/dist/templates/default/app/i18n/de-DE.ts +332 -0
- package/dist/templates/default/app/i18n/en-US.ts +303 -0
- package/dist/templates/default/app/i18n/es-ES.ts +339 -0
- package/dist/templates/default/app/i18n/fr-FR.ts +339 -0
- package/dist/templates/default/app/i18n/hi-IN.ts +332 -0
- package/dist/templates/default/app/i18n/index.ts +18 -0
- package/dist/templates/default/app/i18n/ja-JP.ts +326 -0
- package/dist/templates/default/app/i18n/ko-KR.ts +326 -0
- package/dist/templates/default/app/i18n/pt-BR.ts +339 -0
- package/dist/templates/default/app/i18n/zh-CN.ts +324 -0
- package/dist/templates/default/app/root.tsx +109 -6
- package/dist/templates/workspace-core/.agents/skills/extensions/references/api.md +34 -12
- package/docs/content/extensions.md +16 -0
- package/docs/content/locales/ar-SA/a2a-protocol.md +392 -0
- package/docs/content/locales/ar-SA/actions.md +583 -0
- package/docs/content/locales/ar-SA/agent-mentions.md +164 -0
- package/docs/content/locales/ar-SA/agent-surfaces.md +397 -0
- package/docs/content/locales/ar-SA/agent-teams.md +171 -0
- package/docs/content/locales/ar-SA/agent-web-surfaces.md +161 -0
- package/docs/content/locales/ar-SA/audit-log.md +111 -0
- package/docs/content/locales/ar-SA/authentication.md +332 -0
- package/docs/content/locales/ar-SA/automations.md +268 -0
- package/docs/content/locales/ar-SA/blueprint-installer.md +83 -0
- package/docs/content/locales/ar-SA/cli-adapters.md +129 -0
- package/docs/content/locales/ar-SA/client.md +398 -0
- package/docs/content/locales/ar-SA/cloneable-saas.md +114 -0
- package/docs/content/locales/ar-SA/code-agents-ui.md +436 -0
- package/docs/content/locales/ar-SA/components.md +368 -0
- package/docs/content/locales/ar-SA/context-awareness.md +373 -0
- package/docs/content/locales/ar-SA/creating-templates.md +411 -0
- package/docs/content/locales/ar-SA/cross-app-sso.md +185 -0
- package/docs/content/locales/ar-SA/database.md +183 -0
- package/docs/content/locales/ar-SA/deployment.md +349 -0
- package/docs/content/locales/ar-SA/dispatch.md +146 -0
- package/docs/content/locales/ar-SA/drop-in-agent.md +260 -0
- package/docs/content/locales/ar-SA/durable-resume.md +65 -0
- package/docs/content/locales/ar-SA/embedding-sdk.md +597 -0
- package/docs/content/locales/ar-SA/evals.md +155 -0
- package/docs/content/locales/ar-SA/extensions.md +360 -0
- package/docs/content/locales/ar-SA/external-agents.md +619 -0
- package/docs/content/locales/ar-SA/faq.md +142 -0
- package/docs/content/locales/ar-SA/file-uploads.md +122 -0
- package/docs/content/locales/ar-SA/frames.md +153 -0
- package/docs/content/locales/ar-SA/getting-started.md +199 -0
- package/docs/content/locales/ar-SA/harness-agents.md +349 -0
- package/docs/content/locales/ar-SA/human-approval.md +86 -0
- package/docs/content/locales/ar-SA/internationalization.md +68 -25
- package/docs/content/locales/ar-SA/key-concepts.md +312 -0
- package/docs/content/locales/ar-SA/local-file-mode.md +433 -0
- package/docs/content/locales/ar-SA/mcp-apps.md +147 -0
- package/docs/content/locales/ar-SA/mcp-clients.md +330 -0
- package/docs/content/locales/ar-SA/mcp-protocol.md +279 -0
- package/docs/content/locales/ar-SA/messaging.md +461 -0
- package/docs/content/locales/ar-SA/migration-workbench.md +33 -0
- package/docs/content/locales/ar-SA/multi-app-workspace.md +312 -0
- package/docs/content/locales/ar-SA/multi-tenancy.md +52 -0
- package/docs/content/locales/ar-SA/native-chat-ui.md +321 -0
- package/docs/content/locales/ar-SA/notifications.md +231 -0
- package/docs/content/locales/ar-SA/observability.md +294 -0
- package/docs/content/locales/ar-SA/observational-memory.md +77 -0
- package/docs/content/locales/ar-SA/onboarding.md +216 -0
- package/docs/content/locales/ar-SA/plan-plugin.md +200 -0
- package/docs/content/locales/ar-SA/pr-visual-recap.md +384 -0
- package/docs/content/locales/ar-SA/processors.md +106 -0
- package/docs/content/locales/ar-SA/progress.md +199 -0
- package/docs/content/locales/ar-SA/pure-agent-apps.md +39 -0
- package/docs/content/locales/ar-SA/real-time-collaboration.md +676 -0
- package/docs/content/locales/ar-SA/recurring-jobs.md +142 -0
- package/docs/content/locales/ar-SA/routing.md +79 -0
- package/docs/content/locales/ar-SA/sandbox-adapters.md +227 -0
- package/docs/content/locales/ar-SA/security.md +330 -0
- package/docs/content/locales/ar-SA/server.md +253 -0
- package/docs/content/locales/ar-SA/sharing.md +219 -0
- package/docs/content/locales/ar-SA/skills-guide.md +281 -0
- package/docs/content/locales/ar-SA/template-analytics.md +259 -0
- package/docs/content/locales/ar-SA/template-assets.md +303 -0
- package/docs/content/locales/ar-SA/template-brain.md +324 -0
- package/docs/content/locales/ar-SA/template-calendar.md +194 -0
- package/docs/content/locales/ar-SA/template-chat.md +129 -0
- package/docs/content/locales/ar-SA/template-clips.md +368 -0
- package/docs/content/locales/ar-SA/template-content.md +402 -0
- package/docs/content/locales/ar-SA/template-design.md +173 -0
- package/docs/content/locales/ar-SA/template-dispatch.md +220 -0
- package/docs/content/locales/ar-SA/template-forms.md +178 -0
- package/docs/content/locales/ar-SA/template-mail.md +239 -0
- package/docs/content/locales/ar-SA/template-plan.md +815 -0
- package/docs/content/locales/ar-SA/template-slides.md +293 -0
- package/docs/content/locales/ar-SA/template-videos.md +222 -0
- package/docs/content/locales/ar-SA/tracking.md +236 -0
- package/docs/content/locales/ar-SA/using-your-agent.md +71 -0
- package/docs/content/locales/ar-SA/voice-input.md +81 -0
- package/docs/content/locales/ar-SA/what-is-agent-native.md +202 -0
- package/docs/content/locales/ar-SA/workspace-connections.md +321 -0
- package/docs/content/locales/ar-SA/workspace-management.md +175 -0
- package/docs/content/locales/ar-SA/workspace.md +323 -0
- package/docs/content/locales/ar-SA/writing-agent-instructions.md +173 -0
- package/docs/content/locales/de-DE/a2a-protocol.md +392 -0
- package/docs/content/locales/de-DE/actions.md +583 -0
- package/docs/content/locales/de-DE/agent-mentions.md +164 -0
- package/docs/content/locales/de-DE/agent-surfaces.md +397 -0
- package/docs/content/locales/de-DE/agent-teams.md +171 -0
- package/docs/content/locales/de-DE/agent-web-surfaces.md +161 -0
- package/docs/content/locales/de-DE/audit-log.md +111 -0
- package/docs/content/locales/de-DE/authentication.md +332 -0
- package/docs/content/locales/de-DE/automations.md +268 -0
- package/docs/content/locales/de-DE/blueprint-installer.md +83 -0
- package/docs/content/locales/de-DE/cli-adapters.md +129 -0
- package/docs/content/locales/de-DE/client.md +398 -0
- package/docs/content/locales/de-DE/cloneable-saas.md +114 -0
- package/docs/content/locales/de-DE/code-agents-ui.md +436 -0
- package/docs/content/locales/de-DE/components.md +368 -0
- package/docs/content/locales/de-DE/context-awareness.md +373 -0
- package/docs/content/locales/de-DE/creating-templates.md +411 -0
- package/docs/content/locales/de-DE/cross-app-sso.md +185 -0
- package/docs/content/locales/de-DE/database.md +183 -0
- package/docs/content/locales/de-DE/deployment.md +349 -0
- package/docs/content/locales/de-DE/dispatch.md +146 -0
- package/docs/content/locales/de-DE/drop-in-agent.md +260 -0
- package/docs/content/locales/de-DE/durable-resume.md +65 -0
- package/docs/content/locales/de-DE/embedding-sdk.md +597 -0
- package/docs/content/locales/de-DE/evals.md +155 -0
- package/docs/content/locales/de-DE/extensions.md +360 -0
- package/docs/content/locales/de-DE/external-agents.md +619 -0
- package/docs/content/locales/de-DE/faq.md +142 -0
- package/docs/content/locales/de-DE/file-uploads.md +122 -0
- package/docs/content/locales/de-DE/frames.md +153 -0
- package/docs/content/locales/de-DE/getting-started.md +199 -0
- package/docs/content/locales/de-DE/harness-agents.md +349 -0
- package/docs/content/locales/de-DE/human-approval.md +86 -0
- package/docs/content/locales/de-DE/internationalization.md +65 -22
- package/docs/content/locales/de-DE/key-concepts.md +312 -0
- package/docs/content/locales/de-DE/local-file-mode.md +433 -0
- package/docs/content/locales/de-DE/mcp-apps.md +147 -0
- package/docs/content/locales/de-DE/mcp-clients.md +330 -0
- package/docs/content/locales/de-DE/mcp-protocol.md +279 -0
- package/docs/content/locales/de-DE/messaging.md +461 -0
- package/docs/content/locales/de-DE/migration-workbench.md +33 -0
- package/docs/content/locales/de-DE/multi-app-workspace.md +312 -0
- package/docs/content/locales/de-DE/multi-tenancy.md +52 -0
- package/docs/content/locales/de-DE/native-chat-ui.md +321 -0
- package/docs/content/locales/de-DE/notifications.md +231 -0
- package/docs/content/locales/de-DE/observability.md +294 -0
- package/docs/content/locales/de-DE/observational-memory.md +77 -0
- package/docs/content/locales/de-DE/onboarding.md +216 -0
- package/docs/content/locales/de-DE/plan-plugin.md +200 -0
- package/docs/content/locales/de-DE/pr-visual-recap.md +384 -0
- package/docs/content/locales/de-DE/processors.md +106 -0
- package/docs/content/locales/de-DE/progress.md +199 -0
- package/docs/content/locales/de-DE/pure-agent-apps.md +39 -0
- package/docs/content/locales/de-DE/real-time-collaboration.md +676 -0
- package/docs/content/locales/de-DE/recurring-jobs.md +142 -0
- package/docs/content/locales/de-DE/routing.md +79 -0
- package/docs/content/locales/de-DE/sandbox-adapters.md +227 -0
- package/docs/content/locales/de-DE/security.md +330 -0
- package/docs/content/locales/de-DE/server.md +253 -0
- package/docs/content/locales/de-DE/sharing.md +219 -0
- package/docs/content/locales/de-DE/skills-guide.md +281 -0
- package/docs/content/locales/de-DE/template-analytics.md +259 -0
- package/docs/content/locales/de-DE/template-assets.md +303 -0
- package/docs/content/locales/de-DE/template-brain.md +324 -0
- package/docs/content/locales/de-DE/template-calendar.md +194 -0
- package/docs/content/locales/de-DE/template-chat.md +129 -0
- package/docs/content/locales/de-DE/template-clips.md +368 -0
- package/docs/content/locales/de-DE/template-content.md +402 -0
- package/docs/content/locales/de-DE/template-design.md +173 -0
- package/docs/content/locales/de-DE/template-dispatch.md +220 -0
- package/docs/content/locales/de-DE/template-forms.md +178 -0
- package/docs/content/locales/de-DE/template-mail.md +239 -0
- package/docs/content/locales/de-DE/template-plan.md +814 -0
- package/docs/content/locales/de-DE/template-slides.md +293 -0
- package/docs/content/locales/de-DE/template-videos.md +222 -0
- package/docs/content/locales/de-DE/tracking.md +236 -0
- package/docs/content/locales/de-DE/using-your-agent.md +71 -0
- package/docs/content/locales/de-DE/voice-input.md +81 -0
- package/docs/content/locales/de-DE/what-is-agent-native.md +202 -0
- package/docs/content/locales/de-DE/workspace-connections.md +321 -0
- package/docs/content/locales/de-DE/workspace-management.md +175 -0
- package/docs/content/locales/de-DE/workspace.md +323 -0
- package/docs/content/locales/de-DE/writing-agent-instructions.md +173 -0
- package/docs/content/locales/es-ES/a2a-protocol.md +392 -0
- package/docs/content/locales/es-ES/actions.md +583 -0
- package/docs/content/locales/es-ES/agent-mentions.md +164 -0
- package/docs/content/locales/es-ES/agent-surfaces.md +397 -0
- package/docs/content/locales/es-ES/agent-teams.md +171 -0
- package/docs/content/locales/es-ES/agent-web-surfaces.md +161 -0
- package/docs/content/locales/es-ES/audit-log.md +111 -0
- package/docs/content/locales/es-ES/authentication.md +332 -0
- package/docs/content/locales/es-ES/automations.md +268 -0
- package/docs/content/locales/es-ES/blueprint-installer.md +83 -0
- package/docs/content/locales/es-ES/cli-adapters.md +129 -0
- package/docs/content/locales/es-ES/client.md +398 -0
- package/docs/content/locales/es-ES/cloneable-saas.md +114 -0
- package/docs/content/locales/es-ES/code-agents-ui.md +436 -0
- package/docs/content/locales/es-ES/components.md +368 -0
- package/docs/content/locales/es-ES/context-awareness.md +373 -0
- package/docs/content/locales/es-ES/creating-templates.md +411 -0
- package/docs/content/locales/es-ES/cross-app-sso.md +185 -0
- package/docs/content/locales/es-ES/database.md +183 -0
- package/docs/content/locales/es-ES/deployment.md +349 -0
- package/docs/content/locales/es-ES/dispatch.md +146 -0
- package/docs/content/locales/es-ES/drop-in-agent.md +260 -0
- package/docs/content/locales/es-ES/durable-resume.md +65 -0
- package/docs/content/locales/es-ES/embedding-sdk.md +597 -0
- package/docs/content/locales/es-ES/evals.md +155 -0
- package/docs/content/locales/es-ES/extensions.md +360 -0
- package/docs/content/locales/es-ES/external-agents.md +619 -0
- package/docs/content/locales/es-ES/faq.md +142 -0
- package/docs/content/locales/es-ES/file-uploads.md +122 -0
- package/docs/content/locales/es-ES/frames.md +153 -0
- package/docs/content/locales/es-ES/getting-started.md +199 -0
- package/docs/content/locales/es-ES/harness-agents.md +349 -0
- package/docs/content/locales/es-ES/human-approval.md +86 -0
- package/docs/content/locales/es-ES/internationalization.md +67 -24
- package/docs/content/locales/es-ES/key-concepts.md +312 -0
- package/docs/content/locales/es-ES/local-file-mode.md +433 -0
- package/docs/content/locales/es-ES/mcp-apps.md +147 -0
- package/docs/content/locales/es-ES/mcp-clients.md +330 -0
- package/docs/content/locales/es-ES/mcp-protocol.md +279 -0
- package/docs/content/locales/es-ES/messaging.md +461 -0
- package/docs/content/locales/es-ES/migration-workbench.md +33 -0
- package/docs/content/locales/es-ES/multi-app-workspace.md +312 -0
- package/docs/content/locales/es-ES/multi-tenancy.md +52 -0
- package/docs/content/locales/es-ES/native-chat-ui.md +321 -0
- package/docs/content/locales/es-ES/notifications.md +231 -0
- package/docs/content/locales/es-ES/observability.md +294 -0
- package/docs/content/locales/es-ES/observational-memory.md +77 -0
- package/docs/content/locales/es-ES/onboarding.md +216 -0
- package/docs/content/locales/es-ES/plan-plugin.md +200 -0
- package/docs/content/locales/es-ES/pr-visual-recap.md +384 -0
- package/docs/content/locales/es-ES/processors.md +106 -0
- package/docs/content/locales/es-ES/progress.md +199 -0
- package/docs/content/locales/es-ES/pure-agent-apps.md +39 -0
- package/docs/content/locales/es-ES/real-time-collaboration.md +676 -0
- package/docs/content/locales/es-ES/recurring-jobs.md +142 -0
- package/docs/content/locales/es-ES/routing.md +79 -0
- package/docs/content/locales/es-ES/sandbox-adapters.md +227 -0
- package/docs/content/locales/es-ES/security.md +330 -0
- package/docs/content/locales/es-ES/server.md +253 -0
- package/docs/content/locales/es-ES/sharing.md +219 -0
- package/docs/content/locales/es-ES/skills-guide.md +281 -0
- package/docs/content/locales/es-ES/template-analytics.md +259 -0
- package/docs/content/locales/es-ES/template-assets.md +303 -0
- package/docs/content/locales/es-ES/template-brain.md +324 -0
- package/docs/content/locales/es-ES/template-calendar.md +194 -0
- package/docs/content/locales/es-ES/template-chat.md +129 -0
- package/docs/content/locales/es-ES/template-clips.md +368 -0
- package/docs/content/locales/es-ES/template-content.md +402 -0
- package/docs/content/locales/es-ES/template-design.md +173 -0
- package/docs/content/locales/es-ES/template-dispatch.md +220 -0
- package/docs/content/locales/es-ES/template-forms.md +178 -0
- package/docs/content/locales/es-ES/template-mail.md +239 -0
- package/docs/content/locales/es-ES/template-plan.md +815 -0
- package/docs/content/locales/es-ES/template-slides.md +293 -0
- package/docs/content/locales/es-ES/template-videos.md +222 -0
- package/docs/content/locales/es-ES/tracking.md +236 -0
- package/docs/content/locales/es-ES/using-your-agent.md +71 -0
- package/docs/content/locales/es-ES/voice-input.md +81 -0
- package/docs/content/locales/es-ES/what-is-agent-native.md +202 -0
- package/docs/content/locales/es-ES/workspace-connections.md +321 -0
- package/docs/content/locales/es-ES/workspace-management.md +175 -0
- package/docs/content/locales/es-ES/workspace.md +323 -0
- package/docs/content/locales/es-ES/writing-agent-instructions.md +173 -0
- package/docs/content/locales/fr-FR/a2a-protocol.md +392 -0
- package/docs/content/locales/fr-FR/actions.md +583 -0
- package/docs/content/locales/fr-FR/agent-mentions.md +164 -0
- package/docs/content/locales/fr-FR/agent-surfaces.md +397 -0
- package/docs/content/locales/fr-FR/agent-teams.md +171 -0
- package/docs/content/locales/fr-FR/agent-web-surfaces.md +161 -0
- package/docs/content/locales/fr-FR/audit-log.md +111 -0
- package/docs/content/locales/fr-FR/authentication.md +332 -0
- package/docs/content/locales/fr-FR/automations.md +268 -0
- package/docs/content/locales/fr-FR/blueprint-installer.md +83 -0
- package/docs/content/locales/fr-FR/cli-adapters.md +129 -0
- package/docs/content/locales/fr-FR/client.md +398 -0
- package/docs/content/locales/fr-FR/cloneable-saas.md +114 -0
- package/docs/content/locales/fr-FR/code-agents-ui.md +436 -0
- package/docs/content/locales/fr-FR/components.md +368 -0
- package/docs/content/locales/fr-FR/context-awareness.md +373 -0
- package/docs/content/locales/fr-FR/creating-templates.md +411 -0
- package/docs/content/locales/fr-FR/cross-app-sso.md +185 -0
- package/docs/content/locales/fr-FR/database.md +183 -0
- package/docs/content/locales/fr-FR/deployment.md +349 -0
- package/docs/content/locales/fr-FR/dispatch.md +146 -0
- package/docs/content/locales/fr-FR/drop-in-agent.md +260 -0
- package/docs/content/locales/fr-FR/durable-resume.md +65 -0
- package/docs/content/locales/fr-FR/embedding-sdk.md +597 -0
- package/docs/content/locales/fr-FR/evals.md +155 -0
- package/docs/content/locales/fr-FR/extensions.md +360 -0
- package/docs/content/locales/fr-FR/external-agents.md +619 -0
- package/docs/content/locales/fr-FR/faq.md +142 -0
- package/docs/content/locales/fr-FR/file-uploads.md +122 -0
- package/docs/content/locales/fr-FR/frames.md +153 -0
- package/docs/content/locales/fr-FR/getting-started.md +199 -0
- package/docs/content/locales/fr-FR/harness-agents.md +349 -0
- package/docs/content/locales/fr-FR/human-approval.md +86 -0
- package/docs/content/locales/fr-FR/internationalization.md +67 -24
- package/docs/content/locales/fr-FR/key-concepts.md +312 -0
- package/docs/content/locales/fr-FR/local-file-mode.md +433 -0
- package/docs/content/locales/fr-FR/mcp-apps.md +147 -0
- package/docs/content/locales/fr-FR/mcp-clients.md +330 -0
- package/docs/content/locales/fr-FR/mcp-protocol.md +279 -0
- package/docs/content/locales/fr-FR/messaging.md +461 -0
- package/docs/content/locales/fr-FR/migration-workbench.md +33 -0
- package/docs/content/locales/fr-FR/multi-app-workspace.md +312 -0
- package/docs/content/locales/fr-FR/multi-tenancy.md +52 -0
- package/docs/content/locales/fr-FR/native-chat-ui.md +321 -0
- package/docs/content/locales/fr-FR/notifications.md +231 -0
- package/docs/content/locales/fr-FR/observability.md +294 -0
- package/docs/content/locales/fr-FR/observational-memory.md +77 -0
- package/docs/content/locales/fr-FR/onboarding.md +216 -0
- package/docs/content/locales/fr-FR/plan-plugin.md +200 -0
- package/docs/content/locales/fr-FR/pr-visual-recap.md +384 -0
- package/docs/content/locales/fr-FR/processors.md +106 -0
- package/docs/content/locales/fr-FR/progress.md +199 -0
- package/docs/content/locales/fr-FR/pure-agent-apps.md +39 -0
- package/docs/content/locales/fr-FR/real-time-collaboration.md +676 -0
- package/docs/content/locales/fr-FR/recurring-jobs.md +142 -0
- package/docs/content/locales/fr-FR/routing.md +79 -0
- package/docs/content/locales/fr-FR/sandbox-adapters.md +227 -0
- package/docs/content/locales/fr-FR/security.md +330 -0
- package/docs/content/locales/fr-FR/server.md +253 -0
- package/docs/content/locales/fr-FR/sharing.md +219 -0
- package/docs/content/locales/fr-FR/skills-guide.md +281 -0
- package/docs/content/locales/fr-FR/template-analytics.md +259 -0
- package/docs/content/locales/fr-FR/template-assets.md +303 -0
- package/docs/content/locales/fr-FR/template-brain.md +324 -0
- package/docs/content/locales/fr-FR/template-calendar.md +194 -0
- package/docs/content/locales/fr-FR/template-chat.md +129 -0
- package/docs/content/locales/fr-FR/template-clips.md +368 -0
- package/docs/content/locales/fr-FR/template-content.md +402 -0
- package/docs/content/locales/fr-FR/template-design.md +173 -0
- package/docs/content/locales/fr-FR/template-dispatch.md +220 -0
- package/docs/content/locales/fr-FR/template-forms.md +178 -0
- package/docs/content/locales/fr-FR/template-mail.md +239 -0
- package/docs/content/locales/fr-FR/template-plan.md +815 -0
- package/docs/content/locales/fr-FR/template-slides.md +293 -0
- package/docs/content/locales/fr-FR/template-videos.md +222 -0
- package/docs/content/locales/fr-FR/tracking.md +236 -0
- package/docs/content/locales/fr-FR/using-your-agent.md +71 -0
- package/docs/content/locales/fr-FR/voice-input.md +81 -0
- package/docs/content/locales/fr-FR/what-is-agent-native.md +202 -0
- package/docs/content/locales/fr-FR/workspace-connections.md +321 -0
- package/docs/content/locales/fr-FR/workspace-management.md +175 -0
- package/docs/content/locales/fr-FR/workspace.md +323 -0
- package/docs/content/locales/fr-FR/writing-agent-instructions.md +173 -0
- package/docs/content/locales/hi-IN/a2a-protocol.md +392 -0
- package/docs/content/locales/hi-IN/actions.md +583 -0
- package/docs/content/locales/hi-IN/agent-mentions.md +164 -0
- package/docs/content/locales/hi-IN/agent-surfaces.md +397 -0
- package/docs/content/locales/hi-IN/agent-teams.md +171 -0
- package/docs/content/locales/hi-IN/agent-web-surfaces.md +161 -0
- package/docs/content/locales/hi-IN/audit-log.md +111 -0
- package/docs/content/locales/hi-IN/authentication.md +332 -0
- package/docs/content/locales/hi-IN/automations.md +268 -0
- package/docs/content/locales/hi-IN/blueprint-installer.md +83 -0
- package/docs/content/locales/hi-IN/cli-adapters.md +129 -0
- package/docs/content/locales/hi-IN/client.md +398 -0
- package/docs/content/locales/hi-IN/cloneable-saas.md +114 -0
- package/docs/content/locales/hi-IN/code-agents-ui.md +436 -0
- package/docs/content/locales/hi-IN/components.md +368 -0
- package/docs/content/locales/hi-IN/context-awareness.md +373 -0
- package/docs/content/locales/hi-IN/creating-templates.md +411 -0
- package/docs/content/locales/hi-IN/cross-app-sso.md +185 -0
- package/docs/content/locales/hi-IN/database.md +183 -0
- package/docs/content/locales/hi-IN/deployment.md +349 -0
- package/docs/content/locales/hi-IN/dispatch.md +146 -0
- package/docs/content/locales/hi-IN/drop-in-agent.md +260 -0
- package/docs/content/locales/hi-IN/durable-resume.md +65 -0
- package/docs/content/locales/hi-IN/embedding-sdk.md +597 -0
- package/docs/content/locales/hi-IN/evals.md +155 -0
- package/docs/content/locales/hi-IN/extensions.md +360 -0
- package/docs/content/locales/hi-IN/external-agents.md +619 -0
- package/docs/content/locales/hi-IN/faq.md +142 -0
- package/docs/content/locales/hi-IN/file-uploads.md +122 -0
- package/docs/content/locales/hi-IN/frames.md +153 -0
- package/docs/content/locales/hi-IN/getting-started.md +199 -0
- package/docs/content/locales/hi-IN/harness-agents.md +349 -0
- package/docs/content/locales/hi-IN/human-approval.md +86 -0
- package/docs/content/locales/hi-IN/internationalization.md +70 -27
- package/docs/content/locales/hi-IN/key-concepts.md +312 -0
- package/docs/content/locales/hi-IN/local-file-mode.md +433 -0
- package/docs/content/locales/hi-IN/mcp-apps.md +147 -0
- package/docs/content/locales/hi-IN/mcp-clients.md +330 -0
- package/docs/content/locales/hi-IN/mcp-protocol.md +279 -0
- package/docs/content/locales/hi-IN/messaging.md +461 -0
- package/docs/content/locales/hi-IN/migration-workbench.md +33 -0
- package/docs/content/locales/hi-IN/multi-app-workspace.md +312 -0
- package/docs/content/locales/hi-IN/multi-tenancy.md +52 -0
- package/docs/content/locales/hi-IN/native-chat-ui.md +321 -0
- package/docs/content/locales/hi-IN/notifications.md +231 -0
- package/docs/content/locales/hi-IN/observability.md +294 -0
- package/docs/content/locales/hi-IN/observational-memory.md +77 -0
- package/docs/content/locales/hi-IN/onboarding.md +216 -0
- package/docs/content/locales/hi-IN/plan-plugin.md +200 -0
- package/docs/content/locales/hi-IN/pr-visual-recap.md +384 -0
- package/docs/content/locales/hi-IN/processors.md +106 -0
- package/docs/content/locales/hi-IN/progress.md +199 -0
- package/docs/content/locales/hi-IN/pure-agent-apps.md +39 -0
- package/docs/content/locales/hi-IN/real-time-collaboration.md +676 -0
- package/docs/content/locales/hi-IN/recurring-jobs.md +142 -0
- package/docs/content/locales/hi-IN/routing.md +79 -0
- package/docs/content/locales/hi-IN/sandbox-adapters.md +227 -0
- package/docs/content/locales/hi-IN/security.md +330 -0
- package/docs/content/locales/hi-IN/server.md +253 -0
- package/docs/content/locales/hi-IN/sharing.md +219 -0
- package/docs/content/locales/hi-IN/skills-guide.md +281 -0
- package/docs/content/locales/hi-IN/template-analytics.md +259 -0
- package/docs/content/locales/hi-IN/template-assets.md +303 -0
- package/docs/content/locales/hi-IN/template-brain.md +324 -0
- package/docs/content/locales/hi-IN/template-calendar.md +194 -0
- package/docs/content/locales/hi-IN/template-chat.md +129 -0
- package/docs/content/locales/hi-IN/template-clips.md +368 -0
- package/docs/content/locales/hi-IN/template-content.md +402 -0
- package/docs/content/locales/hi-IN/template-design.md +173 -0
- package/docs/content/locales/hi-IN/template-dispatch.md +220 -0
- package/docs/content/locales/hi-IN/template-forms.md +178 -0
- package/docs/content/locales/hi-IN/template-mail.md +239 -0
- package/docs/content/locales/hi-IN/template-plan.md +815 -0
- package/docs/content/locales/hi-IN/template-slides.md +293 -0
- package/docs/content/locales/hi-IN/template-videos.md +222 -0
- package/docs/content/locales/hi-IN/tracking.md +236 -0
- package/docs/content/locales/hi-IN/using-your-agent.md +71 -0
- package/docs/content/locales/hi-IN/voice-input.md +81 -0
- package/docs/content/locales/hi-IN/what-is-agent-native.md +202 -0
- package/docs/content/locales/hi-IN/workspace-connections.md +321 -0
- package/docs/content/locales/hi-IN/workspace-management.md +175 -0
- package/docs/content/locales/hi-IN/workspace.md +323 -0
- package/docs/content/locales/hi-IN/writing-agent-instructions.md +173 -0
- package/docs/content/locales/ja-JP/a2a-protocol.md +392 -0
- package/docs/content/locales/ja-JP/actions.md +583 -0
- package/docs/content/locales/ja-JP/agent-mentions.md +164 -0
- package/docs/content/locales/ja-JP/agent-surfaces.md +397 -0
- package/docs/content/locales/ja-JP/agent-teams.md +171 -0
- package/docs/content/locales/ja-JP/agent-web-surfaces.md +161 -0
- package/docs/content/locales/ja-JP/audit-log.md +111 -0
- package/docs/content/locales/ja-JP/authentication.md +332 -0
- package/docs/content/locales/ja-JP/automations.md +268 -0
- package/docs/content/locales/ja-JP/blueprint-installer.md +83 -0
- package/docs/content/locales/ja-JP/cli-adapters.md +129 -0
- package/docs/content/locales/ja-JP/client.md +398 -0
- package/docs/content/locales/ja-JP/cloneable-saas.md +114 -0
- package/docs/content/locales/ja-JP/code-agents-ui.md +436 -0
- package/docs/content/locales/ja-JP/components.md +368 -0
- package/docs/content/locales/ja-JP/context-awareness.md +373 -0
- package/docs/content/locales/ja-JP/creating-templates.md +411 -0
- package/docs/content/locales/ja-JP/cross-app-sso.md +185 -0
- package/docs/content/locales/ja-JP/database.md +183 -0
- package/docs/content/locales/ja-JP/deployment.md +349 -0
- package/docs/content/locales/ja-JP/dispatch.md +146 -0
- package/docs/content/locales/ja-JP/drop-in-agent.md +260 -0
- package/docs/content/locales/ja-JP/durable-resume.md +65 -0
- package/docs/content/locales/ja-JP/embedding-sdk.md +597 -0
- package/docs/content/locales/ja-JP/evals.md +155 -0
- package/docs/content/locales/ja-JP/extensions.md +360 -0
- package/docs/content/locales/ja-JP/external-agents.md +619 -0
- package/docs/content/locales/ja-JP/faq.md +142 -0
- package/docs/content/locales/ja-JP/file-uploads.md +122 -0
- package/docs/content/locales/ja-JP/frames.md +153 -0
- package/docs/content/locales/ja-JP/getting-started.md +199 -0
- package/docs/content/locales/ja-JP/harness-agents.md +349 -0
- package/docs/content/locales/ja-JP/human-approval.md +86 -0
- package/docs/content/locales/ja-JP/internationalization.md +54 -23
- package/docs/content/locales/ja-JP/key-concepts.md +312 -0
- package/docs/content/locales/ja-JP/local-file-mode.md +433 -0
- package/docs/content/locales/ja-JP/mcp-apps.md +147 -0
- package/docs/content/locales/ja-JP/mcp-clients.md +330 -0
- package/docs/content/locales/ja-JP/mcp-protocol.md +279 -0
- package/docs/content/locales/ja-JP/messaging.md +461 -0
- package/docs/content/locales/ja-JP/migration-workbench.md +33 -0
- package/docs/content/locales/ja-JP/multi-app-workspace.md +312 -0
- package/docs/content/locales/ja-JP/multi-tenancy.md +52 -0
- package/docs/content/locales/ja-JP/native-chat-ui.md +321 -0
- package/docs/content/locales/ja-JP/notifications.md +231 -0
- package/docs/content/locales/ja-JP/observability.md +294 -0
- package/docs/content/locales/ja-JP/observational-memory.md +77 -0
- package/docs/content/locales/ja-JP/onboarding.md +216 -0
- package/docs/content/locales/ja-JP/plan-plugin.md +200 -0
- package/docs/content/locales/ja-JP/pr-visual-recap.md +384 -0
- package/docs/content/locales/ja-JP/processors.md +106 -0
- package/docs/content/locales/ja-JP/progress.md +199 -0
- package/docs/content/locales/ja-JP/pure-agent-apps.md +39 -0
- package/docs/content/locales/ja-JP/real-time-collaboration.md +676 -0
- package/docs/content/locales/ja-JP/recurring-jobs.md +142 -0
- package/docs/content/locales/ja-JP/routing.md +79 -0
- package/docs/content/locales/ja-JP/sandbox-adapters.md +227 -0
- package/docs/content/locales/ja-JP/security.md +330 -0
- package/docs/content/locales/ja-JP/server.md +253 -0
- package/docs/content/locales/ja-JP/sharing.md +219 -0
- package/docs/content/locales/ja-JP/skills-guide.md +281 -0
- package/docs/content/locales/ja-JP/template-analytics.md +259 -0
- package/docs/content/locales/ja-JP/template-assets.md +303 -0
- package/docs/content/locales/ja-JP/template-brain.md +324 -0
- package/docs/content/locales/ja-JP/template-calendar.md +194 -0
- package/docs/content/locales/ja-JP/template-chat.md +129 -0
- package/docs/content/locales/ja-JP/template-clips.md +368 -0
- package/docs/content/locales/ja-JP/template-content.md +402 -0
- package/docs/content/locales/ja-JP/template-design.md +173 -0
- package/docs/content/locales/ja-JP/template-dispatch.md +220 -0
- package/docs/content/locales/ja-JP/template-forms.md +178 -0
- package/docs/content/locales/ja-JP/template-mail.md +239 -0
- package/docs/content/locales/ja-JP/template-plan.md +814 -0
- package/docs/content/locales/ja-JP/template-slides.md +293 -0
- package/docs/content/locales/ja-JP/template-videos.md +222 -0
- package/docs/content/locales/ja-JP/tracking.md +236 -0
- package/docs/content/locales/ja-JP/using-your-agent.md +71 -0
- package/docs/content/locales/ja-JP/voice-input.md +81 -0
- package/docs/content/locales/ja-JP/what-is-agent-native.md +202 -0
- package/docs/content/locales/ja-JP/workspace-connections.md +321 -0
- package/docs/content/locales/ja-JP/workspace-management.md +175 -0
- package/docs/content/locales/ja-JP/workspace.md +323 -0
- package/docs/content/locales/ja-JP/writing-agent-instructions.md +173 -0
- package/docs/content/locales/ko-KR/a2a-protocol.md +392 -0
- package/docs/content/locales/ko-KR/actions.md +583 -0
- package/docs/content/locales/ko-KR/agent-mentions.md +164 -0
- package/docs/content/locales/ko-KR/agent-surfaces.md +397 -0
- package/docs/content/locales/ko-KR/agent-teams.md +171 -0
- package/docs/content/locales/ko-KR/agent-web-surfaces.md +161 -0
- package/docs/content/locales/ko-KR/audit-log.md +111 -0
- package/docs/content/locales/ko-KR/authentication.md +332 -0
- package/docs/content/locales/ko-KR/automations.md +268 -0
- package/docs/content/locales/ko-KR/blueprint-installer.md +83 -0
- package/docs/content/locales/ko-KR/cli-adapters.md +129 -0
- package/docs/content/locales/ko-KR/client.md +398 -0
- package/docs/content/locales/ko-KR/cloneable-saas.md +114 -0
- package/docs/content/locales/ko-KR/code-agents-ui.md +436 -0
- package/docs/content/locales/ko-KR/components.md +368 -0
- package/docs/content/locales/ko-KR/context-awareness.md +373 -0
- package/docs/content/locales/ko-KR/creating-templates.md +411 -0
- package/docs/content/locales/ko-KR/cross-app-sso.md +187 -0
- package/docs/content/locales/ko-KR/database.md +183 -0
- package/docs/content/locales/ko-KR/deployment.md +349 -0
- package/docs/content/locales/ko-KR/dispatch.md +146 -0
- package/docs/content/locales/ko-KR/drop-in-agent.md +260 -0
- package/docs/content/locales/ko-KR/durable-resume.md +65 -0
- package/docs/content/locales/ko-KR/embedding-sdk.md +597 -0
- package/docs/content/locales/ko-KR/evals.md +155 -0
- package/docs/content/locales/ko-KR/extensions.md +360 -0
- package/docs/content/locales/ko-KR/external-agents.md +621 -0
- package/docs/content/locales/ko-KR/faq.md +142 -0
- package/docs/content/locales/ko-KR/file-uploads.md +122 -0
- package/docs/content/locales/ko-KR/frames.md +153 -0
- package/docs/content/locales/ko-KR/getting-started.md +199 -0
- package/docs/content/locales/ko-KR/harness-agents.md +349 -0
- package/docs/content/locales/ko-KR/human-approval.md +88 -0
- package/docs/content/locales/ko-KR/internationalization.md +66 -23
- package/docs/content/locales/ko-KR/key-concepts.md +312 -0
- package/docs/content/locales/ko-KR/local-file-mode.md +433 -0
- package/docs/content/locales/ko-KR/mcp-apps.md +147 -0
- package/docs/content/locales/ko-KR/mcp-clients.md +330 -0
- package/docs/content/locales/ko-KR/mcp-protocol.md +279 -0
- package/docs/content/locales/ko-KR/messaging.md +464 -0
- package/docs/content/locales/ko-KR/migration-workbench.md +33 -0
- package/docs/content/locales/ko-KR/multi-app-workspace.md +312 -0
- package/docs/content/locales/ko-KR/multi-tenancy.md +52 -0
- package/docs/content/locales/ko-KR/native-chat-ui.md +321 -0
- package/docs/content/locales/ko-KR/notifications.md +231 -0
- package/docs/content/locales/ko-KR/observability.md +294 -0
- package/docs/content/locales/ko-KR/observational-memory.md +77 -0
- package/docs/content/locales/ko-KR/onboarding.md +216 -0
- package/docs/content/locales/ko-KR/plan-plugin.md +200 -0
- package/docs/content/locales/ko-KR/pr-visual-recap.md +384 -0
- package/docs/content/locales/ko-KR/processors.md +106 -0
- package/docs/content/locales/ko-KR/progress.md +199 -0
- package/docs/content/locales/ko-KR/pure-agent-apps.md +39 -0
- package/docs/content/locales/ko-KR/real-time-collaboration.md +676 -0
- package/docs/content/locales/ko-KR/recurring-jobs.md +142 -0
- package/docs/content/locales/ko-KR/routing.md +79 -0
- package/docs/content/locales/ko-KR/sandbox-adapters.md +227 -0
- package/docs/content/locales/ko-KR/security.md +330 -0
- package/docs/content/locales/ko-KR/server.md +253 -0
- package/docs/content/locales/ko-KR/sharing.md +219 -0
- package/docs/content/locales/ko-KR/skills-guide.md +281 -0
- package/docs/content/locales/ko-KR/template-analytics.md +259 -0
- package/docs/content/locales/ko-KR/template-assets.md +307 -0
- package/docs/content/locales/ko-KR/template-brain.md +324 -0
- package/docs/content/locales/ko-KR/template-calendar.md +194 -0
- package/docs/content/locales/ko-KR/template-chat.md +129 -0
- package/docs/content/locales/ko-KR/template-clips.md +372 -0
- package/docs/content/locales/ko-KR/template-content.md +402 -0
- package/docs/content/locales/ko-KR/template-design.md +173 -0
- package/docs/content/locales/ko-KR/template-dispatch.md +220 -0
- package/docs/content/locales/ko-KR/template-forms.md +178 -0
- package/docs/content/locales/ko-KR/template-mail.md +239 -0
- package/docs/content/locales/ko-KR/template-plan.md +815 -0
- package/docs/content/locales/ko-KR/template-slides.md +293 -0
- package/docs/content/locales/ko-KR/template-videos.md +222 -0
- package/docs/content/locales/ko-KR/tracking.md +236 -0
- package/docs/content/locales/ko-KR/using-your-agent.md +71 -0
- package/docs/content/locales/ko-KR/voice-input.md +81 -0
- package/docs/content/locales/ko-KR/what-is-agent-native.md +202 -0
- package/docs/content/locales/ko-KR/workspace-connections.md +321 -0
- package/docs/content/locales/ko-KR/workspace-management.md +175 -0
- package/docs/content/locales/ko-KR/workspace.md +323 -0
- package/docs/content/locales/ko-KR/writing-agent-instructions.md +173 -0
- package/docs/content/locales/pt-BR/a2a-protocol.md +392 -0
- package/docs/content/locales/pt-BR/actions.md +583 -0
- package/docs/content/locales/pt-BR/agent-mentions.md +164 -0
- package/docs/content/locales/pt-BR/agent-surfaces.md +397 -0
- package/docs/content/locales/pt-BR/agent-teams.md +171 -0
- package/docs/content/locales/pt-BR/agent-web-surfaces.md +161 -0
- package/docs/content/locales/pt-BR/audit-log.md +111 -0
- package/docs/content/locales/pt-BR/authentication.md +332 -0
- package/docs/content/locales/pt-BR/automations.md +268 -0
- package/docs/content/locales/pt-BR/blueprint-installer.md +83 -0
- package/docs/content/locales/pt-BR/cli-adapters.md +129 -0
- package/docs/content/locales/pt-BR/client.md +398 -0
- package/docs/content/locales/pt-BR/cloneable-saas.md +114 -0
- package/docs/content/locales/pt-BR/code-agents-ui.md +436 -0
- package/docs/content/locales/pt-BR/components.md +368 -0
- package/docs/content/locales/pt-BR/context-awareness.md +373 -0
- package/docs/content/locales/pt-BR/creating-templates.md +411 -0
- package/docs/content/locales/pt-BR/cross-app-sso.md +185 -0
- package/docs/content/locales/pt-BR/database.md +183 -0
- package/docs/content/locales/pt-BR/deployment.md +349 -0
- package/docs/content/locales/pt-BR/dispatch.md +146 -0
- package/docs/content/locales/pt-BR/drop-in-agent.md +260 -0
- package/docs/content/locales/pt-BR/durable-resume.md +65 -0
- package/docs/content/locales/pt-BR/embedding-sdk.md +597 -0
- package/docs/content/locales/pt-BR/evals.md +155 -0
- package/docs/content/locales/pt-BR/extensions.md +360 -0
- package/docs/content/locales/pt-BR/external-agents.md +619 -0
- package/docs/content/locales/pt-BR/faq.md +142 -0
- package/docs/content/locales/pt-BR/file-uploads.md +122 -0
- package/docs/content/locales/pt-BR/frames.md +153 -0
- package/docs/content/locales/pt-BR/getting-started.md +199 -0
- package/docs/content/locales/pt-BR/harness-agents.md +349 -0
- package/docs/content/locales/pt-BR/human-approval.md +86 -0
- package/docs/content/locales/pt-BR/internationalization.md +67 -24
- package/docs/content/locales/pt-BR/key-concepts.md +312 -0
- package/docs/content/locales/pt-BR/local-file-mode.md +433 -0
- package/docs/content/locales/pt-BR/mcp-apps.md +147 -0
- package/docs/content/locales/pt-BR/mcp-clients.md +330 -0
- package/docs/content/locales/pt-BR/mcp-protocol.md +279 -0
- package/docs/content/locales/pt-BR/messaging.md +461 -0
- package/docs/content/locales/pt-BR/migration-workbench.md +33 -0
- package/docs/content/locales/pt-BR/multi-app-workspace.md +312 -0
- package/docs/content/locales/pt-BR/multi-tenancy.md +52 -0
- package/docs/content/locales/pt-BR/native-chat-ui.md +321 -0
- package/docs/content/locales/pt-BR/notifications.md +231 -0
- package/docs/content/locales/pt-BR/observability.md +294 -0
- package/docs/content/locales/pt-BR/observational-memory.md +77 -0
- package/docs/content/locales/pt-BR/onboarding.md +216 -0
- package/docs/content/locales/pt-BR/plan-plugin.md +200 -0
- package/docs/content/locales/pt-BR/pr-visual-recap.md +384 -0
- package/docs/content/locales/pt-BR/processors.md +106 -0
- package/docs/content/locales/pt-BR/progress.md +199 -0
- package/docs/content/locales/pt-BR/pure-agent-apps.md +39 -0
- package/docs/content/locales/pt-BR/real-time-collaboration.md +676 -0
- package/docs/content/locales/pt-BR/recurring-jobs.md +142 -0
- package/docs/content/locales/pt-BR/routing.md +79 -0
- package/docs/content/locales/pt-BR/sandbox-adapters.md +227 -0
- package/docs/content/locales/pt-BR/security.md +330 -0
- package/docs/content/locales/pt-BR/server.md +253 -0
- package/docs/content/locales/pt-BR/sharing.md +219 -0
- package/docs/content/locales/pt-BR/skills-guide.md +281 -0
- package/docs/content/locales/pt-BR/template-analytics.md +259 -0
- package/docs/content/locales/pt-BR/template-assets.md +303 -0
- package/docs/content/locales/pt-BR/template-brain.md +324 -0
- package/docs/content/locales/pt-BR/template-calendar.md +194 -0
- package/docs/content/locales/pt-BR/template-chat.md +129 -0
- package/docs/content/locales/pt-BR/template-clips.md +368 -0
- package/docs/content/locales/pt-BR/template-content.md +402 -0
- package/docs/content/locales/pt-BR/template-design.md +173 -0
- package/docs/content/locales/pt-BR/template-dispatch.md +220 -0
- package/docs/content/locales/pt-BR/template-forms.md +178 -0
- package/docs/content/locales/pt-BR/template-mail.md +239 -0
- package/docs/content/locales/pt-BR/template-plan.md +815 -0
- package/docs/content/locales/pt-BR/template-slides.md +293 -0
- package/docs/content/locales/pt-BR/template-videos.md +222 -0
- package/docs/content/locales/pt-BR/tracking.md +236 -0
- package/docs/content/locales/pt-BR/using-your-agent.md +71 -0
- package/docs/content/locales/pt-BR/voice-input.md +81 -0
- package/docs/content/locales/pt-BR/what-is-agent-native.md +202 -0
- package/docs/content/locales/pt-BR/workspace-connections.md +321 -0
- package/docs/content/locales/pt-BR/workspace-management.md +175 -0
- package/docs/content/locales/pt-BR/workspace.md +323 -0
- package/docs/content/locales/pt-BR/writing-agent-instructions.md +173 -0
- package/docs/content/locales/zh-CN/a2a-protocol.md +392 -0
- package/docs/content/locales/zh-CN/actions.md +583 -0
- package/docs/content/locales/zh-CN/agent-mentions.md +164 -0
- package/docs/content/locales/zh-CN/agent-surfaces.md +397 -0
- package/docs/content/locales/zh-CN/agent-teams.md +171 -0
- package/docs/content/locales/zh-CN/agent-web-surfaces.md +161 -0
- package/docs/content/locales/zh-CN/audit-log.md +111 -0
- package/docs/content/locales/zh-CN/authentication.md +332 -0
- package/docs/content/locales/zh-CN/automations.md +268 -0
- package/docs/content/locales/zh-CN/blueprint-installer.md +83 -0
- package/docs/content/locales/zh-CN/cli-adapters.md +129 -0
- package/docs/content/locales/zh-CN/client.md +398 -0
- package/docs/content/locales/zh-CN/cloneable-saas.md +114 -0
- package/docs/content/locales/zh-CN/code-agents-ui.md +436 -0
- package/docs/content/locales/zh-CN/components.md +368 -0
- package/docs/content/locales/zh-CN/context-awareness.md +373 -0
- package/docs/content/locales/zh-CN/creating-templates.md +411 -0
- package/docs/content/locales/zh-CN/cross-app-sso.md +188 -0
- package/docs/content/locales/zh-CN/database.md +183 -0
- package/docs/content/locales/zh-CN/deployment.md +349 -0
- package/docs/content/locales/zh-CN/dispatch.md +146 -0
- package/docs/content/locales/zh-CN/drop-in-agent.md +260 -0
- package/docs/content/locales/zh-CN/durable-resume.md +65 -0
- package/docs/content/locales/zh-CN/embedding-sdk.md +597 -0
- package/docs/content/locales/zh-CN/evals.md +155 -0
- package/docs/content/locales/zh-CN/extensions.md +360 -0
- package/docs/content/locales/zh-CN/external-agents.md +619 -0
- package/docs/content/locales/zh-CN/faq.md +142 -0
- package/docs/content/locales/zh-CN/file-uploads.md +122 -0
- package/docs/content/locales/zh-CN/frames.md +153 -0
- package/docs/content/locales/zh-CN/getting-started.md +199 -0
- package/docs/content/locales/zh-CN/harness-agents.md +349 -0
- package/docs/content/locales/zh-CN/human-approval.md +86 -0
- package/docs/content/locales/zh-CN/internationalization.md +67 -24
- package/docs/content/locales/zh-CN/key-concepts.md +312 -0
- package/docs/content/locales/zh-CN/local-file-mode.md +433 -0
- package/docs/content/locales/zh-CN/mcp-apps.md +147 -0
- package/docs/content/locales/zh-CN/mcp-clients.md +330 -0
- package/docs/content/locales/zh-CN/mcp-protocol.md +279 -0
- package/docs/content/locales/zh-CN/messaging.md +461 -0
- package/docs/content/locales/zh-CN/migration-workbench.md +33 -0
- package/docs/content/locales/zh-CN/multi-app-workspace.md +312 -0
- package/docs/content/locales/zh-CN/multi-tenancy.md +52 -0
- package/docs/content/locales/zh-CN/native-chat-ui.md +321 -0
- package/docs/content/locales/zh-CN/notifications.md +231 -0
- package/docs/content/locales/zh-CN/observability.md +294 -0
- package/docs/content/locales/zh-CN/observational-memory.md +77 -0
- package/docs/content/locales/zh-CN/onboarding.md +216 -0
- package/docs/content/locales/zh-CN/plan-plugin.md +200 -0
- package/docs/content/locales/zh-CN/pr-visual-recap.md +384 -0
- package/docs/content/locales/zh-CN/processors.md +106 -0
- package/docs/content/locales/zh-CN/progress.md +199 -0
- package/docs/content/locales/zh-CN/pure-agent-apps.md +39 -0
- package/docs/content/locales/zh-CN/real-time-collaboration.md +676 -0
- package/docs/content/locales/zh-CN/recurring-jobs.md +142 -0
- package/docs/content/locales/zh-CN/routing.md +79 -0
- package/docs/content/locales/zh-CN/sandbox-adapters.md +227 -0
- package/docs/content/locales/zh-CN/security.md +330 -0
- package/docs/content/locales/zh-CN/server.md +253 -0
- package/docs/content/locales/zh-CN/sharing.md +219 -0
- package/docs/content/locales/zh-CN/skills-guide.md +281 -0
- package/docs/content/locales/zh-CN/template-analytics.md +259 -0
- package/docs/content/locales/zh-CN/template-assets.md +303 -0
- package/docs/content/locales/zh-CN/template-brain.md +324 -0
- package/docs/content/locales/zh-CN/template-calendar.md +194 -0
- package/docs/content/locales/zh-CN/template-chat.md +129 -0
- package/docs/content/locales/zh-CN/template-clips.md +368 -0
- package/docs/content/locales/zh-CN/template-content.md +402 -0
- package/docs/content/locales/zh-CN/template-design.md +173 -0
- package/docs/content/locales/zh-CN/template-dispatch.md +220 -0
- package/docs/content/locales/zh-CN/template-forms.md +178 -0
- package/docs/content/locales/zh-CN/template-mail.md +239 -0
- package/docs/content/locales/zh-CN/template-plan.md +814 -0
- package/docs/content/locales/zh-CN/template-slides.md +293 -0
- package/docs/content/locales/zh-CN/template-videos.md +222 -0
- package/docs/content/locales/zh-CN/tracking.md +236 -0
- package/docs/content/locales/zh-CN/using-your-agent.md +71 -0
- package/docs/content/locales/zh-CN/voice-input.md +81 -0
- package/docs/content/locales/zh-CN/what-is-agent-native.md +202 -0
- package/docs/content/locales/zh-CN/workspace-connections.md +321 -0
- package/docs/content/locales/zh-CN/workspace-management.md +175 -0
- package/docs/content/locales/zh-CN/workspace.md +323 -0
- package/docs/content/locales/zh-CN/writing-agent-instructions.md +173 -0
- package/package.json +1 -1
- package/src/templates/default/app/i18n/ar-SA.ts +356 -0
- package/src/templates/default/app/i18n/de-DE.ts +332 -0
- package/src/templates/default/app/i18n/en-US.ts +303 -0
- package/src/templates/default/app/i18n/es-ES.ts +339 -0
- package/src/templates/default/app/i18n/fr-FR.ts +339 -0
- package/src/templates/default/app/i18n/hi-IN.ts +332 -0
- package/src/templates/default/app/i18n/index.ts +18 -0
- package/src/templates/default/app/i18n/ja-JP.ts +326 -0
- package/src/templates/default/app/i18n/ko-KR.ts +326 -0
- package/src/templates/default/app/i18n/pt-BR.ts +339 -0
- package/src/templates/default/app/i18n/zh-CN.ts +324 -0
- package/src/templates/default/app/root.tsx +109 -6
- package/src/templates/workspace-core/.agents/skills/extensions/references/api.md +34 -12
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObservabilityDashboard.js","sourceRoot":"","sources":["../../../src/client/observability/ObservabilityDashboard.tsx"],"names":[],"mappings":";AAA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C,4DAA4D,YACxE,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE;4BAChB,MAAM,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;4BACtB,OAAO,CACL,kBAEE,OAAO,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,GAAG,CAAC,EAAE,CAAC,EACnC,SAAS,EAAE,EAAE,CACX,sEAAsE,EACtE,SAAS,KAAK,GAAG,CAAC,EAAE;oCAClB,CAAC,CAAC,yCAAyC;oCAC3C,CAAC,CAAC,6CAA6C,CAClD,aAED,KAAC,IAAI,IAAC,IAAI,EAAE,EAAE,GAAI,EACjB,GAAG,CAAC,KAAK,KAVL,GAAG,CAAC,EAAE,CAWJ,CACV,CAAC;wBACJ,CAAC,CAAC,GACE,EACL,SAAS,KAAK,aAAa,IAAI,CAC9B,KAAC,aAAa,IAAC,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,GAAI,CAClD,IACG,EAEL,SAAS,KAAK,UAAU,IAAI,KAAC,WAAW,IAAC,IAAI,EAAE,IAAI,GAAI,EACvD,SAAS,KAAK,eAAe,IAAI,KAAC,gBAAgB,IAAC,IAAI,EAAE,IAAI,GAAI,EACjE,SAAS,KAAK,OAAO,IAAI,KAAC,QAAQ,IAAC,IAAI,EAAE,IAAI,GAAI,EACjD,SAAS,KAAK,aAAa,IAAI,KAAC,cAAc,KAAG,EACjD,SAAS,KAAK,UAAU,IAAI,KAAC,WAAW,IAAC,IAAI,EAAE,IAAI,GAAI,IACpD,CACP,CAAC;AACJ,CAAC","sourcesContent":["import { useState } from \"react\";\nimport {\n IconActivity,\n IconMessages,\n IconThumbUp,\n IconThumbDown,\n IconClock,\n IconCoin,\n IconTool,\n IconMoodSmile,\n IconChartBar,\n IconAB2,\n IconMessageReport,\n IconChevronRight,\n IconArrowLeft,\n IconLoader2,\n IconAlertTriangle,\n} from \"@tabler/icons-react\";\nimport { cn } from \"../utils.js\";\nimport {\n useObservabilityOverview,\n useTraces,\n useTraceDetail,\n useFeedbackList,\n useFeedbackStats,\n useSatisfaction,\n useEvalStats,\n useExperiments,\n useExperimentDetail,\n useExperimentResults,\n type TraceSummary,\n type Experiment,\n} from \"./useObservability.js\";\n\n// ─── Helpers ────────────────────────────────────────────────────────────\n\nfunction formatCost(centsX100: number): string {\n const cents = centsX100 / 100;\n if (cents < 1) return `${cents.toFixed(3)}¢`;\n if (cents < 100) return `${cents.toFixed(2)}¢`;\n return `$${(cents / 100).toFixed(2)}`;\n}\n\nfunction formatCostCents(cents: number): string {\n if (cents < 1) return `${cents.toFixed(3)}¢`;\n if (cents < 100) return `${cents.toFixed(2)}¢`;\n return `$${(cents / 100).toFixed(2)}`;\n}\n\nfunction formatDuration(ms: number): string {\n if (ms < 1000) return `${Math.round(ms)}ms`;\n if (ms < 60_000) return `${(ms / 1000).toFixed(1)}s`;\n return `${(ms / 60_000).toFixed(1)}m`;\n}\n\nfunction formatPercent(ratio: number): string {\n return `${(ratio * 100).toFixed(1)}%`;\n}\n\nfunction truncateId(id: string, len = 8): string {\n return id.length > len ? id.slice(0, len) + \"…\" : id;\n}\n\nfunction timeAgo(ts: number): string {\n const diff = Date.now() - ts;\n if (diff < 60_000) return \"just now\";\n if (diff < 3_600_000) return `${Math.floor(diff / 60_000)}m ago`;\n if (diff < 86_400_000) return `${Math.floor(diff / 3_600_000)}h ago`;\n return `${Math.floor(diff / 86_400_000)}d ago`;\n}\n\nconst RANGES = [\n { value: 7, label: \"7d\" },\n { value: 30, label: \"30d\" },\n { value: 90, label: \"90d\" },\n] as const;\n\n// ─── Shared components ──────────────────────────────────────────────────\n\nfunction RangeSelector({\n value,\n onChange,\n}: {\n value: number;\n onChange: (v: number) => void;\n}) {\n return (\n <div className=\"flex gap-1 rounded-md border border-border p-0.5\">\n {RANGES.map((r) => (\n <button\n key={r.value}\n onClick={() => onChange(r.value)}\n className={cn(\n \"px-2.5 py-1 text-xs rounded\",\n value === r.value\n ? \"bg-accent text-foreground\"\n : \"text-muted-foreground hover:text-foreground\",\n )}\n >\n {r.label}\n </button>\n ))}\n </div>\n );\n}\n\nfunction MetricCard({\n label,\n value,\n icon,\n}: {\n label: string;\n value: string;\n icon: React.ReactNode;\n}) {\n return (\n <div className=\"rounded-lg border border-border bg-background p-4\">\n <div className=\"flex items-center justify-between mb-2\">\n <span className=\"text-xs text-muted-foreground\">{label}</span>\n <span className=\"text-muted-foreground\">{icon}</span>\n </div>\n <div className=\"text-2xl font-semibold tabular-nums text-foreground\">\n {value}\n </div>\n </div>\n );\n}\n\nfunction StatusBadge({\n status,\n}: {\n status: \"draft\" | \"running\" | \"paused\" | \"completed\" | \"success\" | \"error\";\n}) {\n const styles: Record<string, string> = {\n draft: \"bg-muted text-muted-foreground\",\n running: \"bg-blue-500/15 text-blue-500\",\n paused: \"bg-yellow-500/15 text-yellow-500\",\n completed: \"bg-green-500/15 text-green-500\",\n success: \"bg-green-500/15 text-green-500\",\n error: \"bg-red-500/15 text-red-500\",\n };\n return (\n <span\n className={cn(\n \"inline-flex items-center rounded-full px-2 py-0.5 text-[10px] font-medium capitalize\",\n styles[status] ?? styles.draft,\n )}\n >\n {status}\n </span>\n );\n}\n\nfunction EmptyState({ message }: { message: string }) {\n return (\n <div className=\"flex items-center justify-center py-12 text-sm text-muted-foreground\">\n {message}\n </div>\n );\n}\n\nfunction LoadingState() {\n return (\n <div className=\"flex items-center justify-center py-12\">\n <IconLoader2 size={20} className=\"animate-spin text-muted-foreground\" />\n </div>\n );\n}\n\n// ─── Tab: Overview ──────────────────────────────────────────────────────\n\nfunction OverviewTab({ days }: { days: number }) {\n const { data, isLoading } = useObservabilityOverview(days);\n\n if (isLoading) return <LoadingState />;\n if (!data) return <EmptyState message=\"No data available\" />;\n\n return (\n <div className=\"grid grid-cols-2 gap-3 sm:grid-cols-3\">\n <MetricCard\n label=\"Total runs\"\n value={String(data.totalRuns)}\n icon={<IconActivity size={16} />}\n />\n <MetricCard\n label=\"Total cost\"\n value={formatCostCents(data.totalCostCents)}\n icon={<IconCoin size={16} />}\n />\n <MetricCard\n label=\"Avg latency\"\n value={formatDuration(data.avgDurationMs)}\n icon={<IconClock size={16} />}\n />\n <MetricCard\n label=\"Tool success\"\n value={formatPercent(data.toolSuccessRate)}\n icon={<IconTool size={16} />}\n />\n <MetricCard\n label=\"Thumbs up\"\n value={formatPercent(data.thumbsUpRate)}\n icon={<IconThumbUp size={16} />}\n />\n <MetricCard\n label=\"Avg eval score\"\n value={data.avgEvalScore.toFixed(2)}\n icon={<IconMoodSmile size={16} />}\n />\n </div>\n );\n}\n\n// ─── Tab: Conversations ─────────────────────────────────────────────────\n\nfunction ConversationsTab({ days }: { days: number }) {\n const { data: traces, isLoading } = useTraces(days);\n const [selectedRunId, setSelectedRunId] = useState<string | null>(null);\n\n if (selectedRunId) {\n return (\n <TraceDetailView\n runId={selectedRunId}\n onBack={() => setSelectedRunId(null)}\n />\n );\n }\n\n if (isLoading) return <LoadingState />;\n if (!traces || traces.length === 0)\n return <EmptyState message=\"No conversations recorded yet\" />;\n\n return (\n <div className=\"rounded-lg border border-border overflow-hidden\">\n <table className=\"w-full table-fixed text-left text-xs\">\n <thead>\n <tr className=\"border-b border-border bg-muted/30\">\n <th className=\"px-3 py-2 font-medium text-muted-foreground w-[15%]\">\n Run\n </th>\n <th className=\"px-3 py-2 font-medium text-muted-foreground w-[20%]\">\n Model\n </th>\n <th className=\"px-3 py-2 font-medium text-muted-foreground\">\n Duration\n </th>\n <th className=\"px-3 py-2 font-medium text-muted-foreground\">\n Cost\n </th>\n <th className=\"px-3 py-2 font-medium text-muted-foreground\">\n Tools\n </th>\n <th className=\"px-3 py-2 font-medium text-muted-foreground\">\n Time\n </th>\n <th className=\"w-8\" />\n </tr>\n </thead>\n <tbody>\n {traces.map((t: TraceSummary) => (\n <tr\n key={t.runId}\n onClick={() => setSelectedRunId(t.runId)}\n className=\"border-b border-border last:border-b-0 cursor-pointer hover:bg-accent/30\"\n >\n <td className=\"px-3 py-2 font-mono text-foreground truncate\">\n {truncateId(t.runId)}\n </td>\n <td className=\"px-3 py-2 text-muted-foreground truncate\">\n {t.model || \"unknown\"}\n </td>\n <td className=\"px-3 py-2 tabular-nums text-muted-foreground\">\n {formatDuration(t.totalDurationMs)}\n </td>\n <td className=\"px-3 py-2 tabular-nums text-muted-foreground\">\n {formatCost(t.totalCostCentsX100)}\n </td>\n <td className=\"px-3 py-2 tabular-nums text-muted-foreground\">\n {t.toolCalls}\n {t.failedTools > 0 && (\n <span className=\"ml-1 text-red-500\">\n ({t.failedTools} failed)\n </span>\n )}\n </td>\n <td className=\"px-3 py-2 text-muted-foreground truncate\">\n {timeAgo(t.createdAt)}\n </td>\n <td className=\"px-3 py-2\">\n <IconChevronRight size={14} className=\"text-muted-foreground\" />\n </td>\n </tr>\n ))}\n </tbody>\n </table>\n </div>\n );\n}\n\nfunction TraceDetailView({\n runId,\n onBack,\n}: {\n runId: string;\n onBack: () => void;\n}) {\n const { data, isLoading } = useTraceDetail(runId);\n\n return (\n <div>\n <button\n onClick={onBack}\n className=\"flex items-center gap-1 text-xs text-muted-foreground hover:text-foreground mb-3\"\n >\n <IconArrowLeft size={14} />\n Back to list\n </button>\n\n {isLoading && <LoadingState />}\n\n {data && (\n <div className=\"space-y-4\">\n <div className=\"grid grid-cols-2 gap-3 sm:grid-cols-4\">\n <div className=\"rounded-lg border border-border p-3\">\n <div className=\"text-[10px] text-muted-foreground mb-1\">\n Model\n </div>\n <div className=\"text-sm font-medium text-foreground truncate\">\n {data.summary.model || \"unknown\"}\n </div>\n </div>\n <div className=\"rounded-lg border border-border p-3\">\n <div className=\"text-[10px] text-muted-foreground mb-1\">\n Duration\n </div>\n <div className=\"text-sm font-medium tabular-nums text-foreground\">\n {formatDuration(data.summary.totalDurationMs)}\n </div>\n </div>\n <div className=\"rounded-lg border border-border p-3\">\n <div className=\"text-[10px] text-muted-foreground mb-1\">Cost</div>\n <div className=\"text-sm font-medium tabular-nums text-foreground\">\n {formatCost(data.summary.totalCostCentsX100)}\n </div>\n </div>\n <div className=\"rounded-lg border border-border p-3\">\n <div className=\"text-[10px] text-muted-foreground mb-1\">\n Spans\n </div>\n <div className=\"text-sm font-medium tabular-nums text-foreground\">\n {data.summary.totalSpans}\n </div>\n </div>\n </div>\n\n <div className=\"rounded-lg border border-border overflow-hidden\">\n <table className=\"w-full table-fixed text-left text-xs\">\n <thead>\n <tr className=\"border-b border-border bg-muted/30\">\n <th className=\"px-3 py-2 font-medium text-muted-foreground w-[15%]\">\n Type\n </th>\n <th className=\"px-3 py-2 font-medium text-muted-foreground w-[35%]\">\n Name\n </th>\n <th className=\"px-3 py-2 font-medium text-muted-foreground\">\n Duration\n </th>\n <th className=\"px-3 py-2 font-medium text-muted-foreground\">\n Tokens\n </th>\n <th className=\"px-3 py-2 font-medium text-muted-foreground\">\n Status\n </th>\n </tr>\n </thead>\n <tbody>\n {data.spans.map((span) => (\n <tr\n key={span.id}\n className=\"border-b border-border last:border-b-0\"\n >\n <td className=\"px-3 py-2 truncate\">\n <span className=\"rounded bg-muted px-1.5 py-0.5 text-[10px] font-medium text-muted-foreground\">\n {span.spanType.replace(\"_\", \" \")}\n </span>\n </td>\n <td className=\"px-3 py-2 font-medium text-foreground truncate\">\n {span.name}\n </td>\n <td className=\"px-3 py-2 tabular-nums text-muted-foreground\">\n {formatDuration(span.durationMs)}\n </td>\n <td className=\"px-3 py-2 tabular-nums text-muted-foreground\">\n {span.inputTokens + span.outputTokens > 0\n ? `${span.inputTokens} / ${span.outputTokens}`\n : \"-\"}\n </td>\n <td className=\"px-3 py-2\">\n <StatusBadge status={span.status} />\n </td>\n </tr>\n ))}\n </tbody>\n </table>\n </div>\n </div>\n )}\n </div>\n );\n}\n\n// ─── Tab: Evals ─────────────────────────────────────────────────────────\n\nfunction EvalsTab({ days }: { days: number }) {\n const { data, isLoading } = useEvalStats(days);\n\n if (isLoading) return <LoadingState />;\n if (!data || data.totalEvals === 0)\n return <EmptyState message=\"No eval results recorded yet\" />;\n\n const maxCount = Math.max(...data.byCriteria.map((c) => c.count), 1);\n\n return (\n <div className=\"space-y-4\">\n <div className=\"grid grid-cols-2 gap-3\">\n <MetricCard\n label=\"Total evals\"\n value={String(data.totalEvals)}\n icon={<IconChartBar size={16} />}\n />\n <MetricCard\n label=\"Avg score\"\n value={data.avgScore.toFixed(2)}\n icon={<IconMoodSmile size={16} />}\n />\n </div>\n\n {data.byCriteria.length > 0 && (\n <div>\n <h3 className=\"text-xs font-medium text-foreground mb-2\">\n Scores by criteria\n </h3>\n <div className=\"space-y-2\">\n {data.byCriteria.map((c) => (\n <div key={c.criteria}>\n <div className=\"flex items-center justify-between gap-2 text-xs mb-1 min-w-0\">\n <span className=\"text-foreground truncate min-w-0\">\n {c.criteria}\n </span>\n <span className=\"shrink-0 text-muted-foreground tabular-nums\">\n {c.avgScore.toFixed(2)} avg ({c.count})\n </span>\n </div>\n <div className=\"h-1.5 rounded-full bg-muted overflow-hidden\">\n <div\n className=\"h-full bg-foreground/70 rounded-full\"\n style={{ width: `${(c.count / maxCount) * 100}%` }}\n />\n </div>\n </div>\n ))}\n </div>\n </div>\n )}\n </div>\n );\n}\n\n// ─── Tab: Experiments ───────────────────────────────────────────────────\n\nfunction ExperimentsTab() {\n const { data: experiments, isLoading } = useExperiments();\n const [selectedId, setSelectedId] = useState<string | null>(null);\n\n if (selectedId) {\n return (\n <ExperimentDetailView\n id={selectedId}\n onBack={() => setSelectedId(null)}\n />\n );\n }\n\n if (isLoading) return <LoadingState />;\n if (!experiments || experiments.length === 0)\n return <EmptyState message=\"No experiments created yet\" />;\n\n return (\n <div className=\"rounded-lg border border-border overflow-hidden\">\n <table className=\"w-full table-fixed text-left text-xs\">\n <thead>\n <tr className=\"border-b border-border bg-muted/30\">\n <th className=\"px-3 py-2 font-medium text-muted-foreground w-[40%]\">\n Name\n </th>\n <th className=\"px-3 py-2 font-medium text-muted-foreground\">\n Status\n </th>\n <th className=\"px-3 py-2 font-medium text-muted-foreground\">\n Variants\n </th>\n <th className=\"px-3 py-2 font-medium text-muted-foreground\">\n Created\n </th>\n <th className=\"w-8\" />\n </tr>\n </thead>\n <tbody>\n {experiments.map((exp: Experiment) => (\n <tr\n key={exp.id}\n onClick={() => setSelectedId(exp.id)}\n className=\"border-b border-border last:border-b-0 cursor-pointer hover:bg-accent/30\"\n >\n <td className=\"px-3 py-2 font-medium text-foreground truncate\">\n {exp.name}\n </td>\n <td className=\"px-3 py-2\">\n <StatusBadge status={exp.status} />\n </td>\n <td className=\"px-3 py-2 tabular-nums text-muted-foreground\">\n {exp.variants.length}\n </td>\n <td className=\"px-3 py-2 text-muted-foreground\">\n {timeAgo(exp.createdAt)}\n </td>\n <td className=\"px-3 py-2\">\n <IconChevronRight size={14} className=\"text-muted-foreground\" />\n </td>\n </tr>\n ))}\n </tbody>\n </table>\n </div>\n );\n}\n\nfunction ExperimentDetailView({\n id,\n onBack,\n}: {\n id: string;\n onBack: () => void;\n}) {\n const { data: exp, isLoading } = useExperimentDetail(id);\n const { data: results } = useExperimentResults(id);\n\n return (\n <div>\n <button\n onClick={onBack}\n className=\"flex items-center gap-1 text-xs text-muted-foreground hover:text-foreground mb-3\"\n >\n <IconArrowLeft size={14} />\n Back to experiments\n </button>\n\n {isLoading && <LoadingState />}\n\n {exp && (\n <div className=\"space-y-4\">\n <div className=\"flex items-center justify-between gap-2 min-w-0\">\n <h3 className=\"text-sm font-medium text-foreground truncate min-w-0\">\n {exp.name}\n </h3>\n <StatusBadge status={exp.status} />\n </div>\n\n <div className=\"grid grid-cols-3 gap-3\">\n <div className=\"rounded-lg border border-border p-3\">\n <div className=\"text-[10px] text-muted-foreground mb-1\">\n Variants\n </div>\n <div className=\"text-sm font-medium tabular-nums text-foreground\">\n {exp.variants.length}\n </div>\n </div>\n <div className=\"rounded-lg border border-border p-3\">\n <div className=\"text-[10px] text-muted-foreground mb-1\">\n Metrics\n </div>\n <div className=\"text-sm font-medium tabular-nums text-foreground\">\n {exp.metrics.length}\n </div>\n </div>\n <div className=\"rounded-lg border border-border p-3\">\n <div className=\"text-[10px] text-muted-foreground mb-1\">\n Level\n </div>\n <div className=\"text-sm font-medium text-foreground capitalize\">\n {exp.assignmentLevel}\n </div>\n </div>\n </div>\n\n {exp.variants.length > 0 && (\n <div>\n <h4 className=\"text-xs font-medium text-foreground mb-2\">\n Variants\n </h4>\n <div className=\"space-y-1\">\n {exp.variants.map((v) => (\n <div\n key={v.id}\n className=\"flex items-center justify-between rounded border border-border px-3 py-2 text-xs\"\n >\n <span className=\"font-mono text-foreground\">\n {truncateId(v.id)}\n </span>\n <span className=\"text-muted-foreground tabular-nums\">\n Weight: {v.weight}\n </span>\n </div>\n ))}\n </div>\n </div>\n )}\n\n {results && results.length > 0 && (\n <div>\n <h4 className=\"text-xs font-medium text-foreground mb-2\">\n Results\n </h4>\n <div className=\"rounded-lg border border-border overflow-hidden\">\n <table className=\"w-full table-fixed text-left text-xs\">\n <thead>\n <tr className=\"border-b border-border bg-muted/30\">\n <th className=\"px-3 py-2 font-medium text-muted-foreground w-[20%]\">\n Variant\n </th>\n <th className=\"px-3 py-2 font-medium text-muted-foreground w-[25%]\">\n Metric\n </th>\n <th className=\"px-3 py-2 font-medium text-muted-foreground\">\n Value\n </th>\n <th className=\"px-3 py-2 font-medium text-muted-foreground\">\n CI\n </th>\n <th className=\"px-3 py-2 font-medium text-muted-foreground\">\n N\n </th>\n </tr>\n </thead>\n <tbody>\n {results.map((r) => (\n <tr\n key={r.id}\n className=\"border-b border-border last:border-b-0\"\n >\n <td className=\"px-3 py-2 font-mono text-foreground truncate\">\n {truncateId(r.variantId)}\n </td>\n <td className=\"px-3 py-2 text-foreground truncate\">\n {r.metric}\n </td>\n <td className=\"px-3 py-2 tabular-nums text-foreground\">\n {r.value.toFixed(3)}\n </td>\n <td className=\"px-3 py-2 tabular-nums text-muted-foreground\">\n [{r.confidenceLow.toFixed(3)},{\" \"}\n {r.confidenceHigh.toFixed(3)}]\n </td>\n <td className=\"px-3 py-2 tabular-nums text-muted-foreground\">\n {r.sampleSize}\n </td>\n </tr>\n ))}\n </tbody>\n </table>\n </div>\n </div>\n )}\n </div>\n )}\n </div>\n );\n}\n\n// ─── Tab: Feedback ──────────────────────────────────────────────────────\n\nfunction FeedbackTab({ days }: { days: number }) {\n const { data: stats, isLoading: statsLoading } = useFeedbackStats(days);\n const { data: entries, isLoading: listLoading } = useFeedbackList(days);\n const { data: satisfaction } = useSatisfaction(days);\n\n const isLoading = statsLoading || listLoading;\n if (isLoading) return <LoadingState />;\n\n const thumbsTotal = (stats?.thumbsUp ?? 0) + (stats?.thumbsDown ?? 0);\n const thumbsUpRate = thumbsTotal > 0 ? stats!.thumbsUp / thumbsTotal : 0;\n const avgFrustration =\n satisfaction && satisfaction.length > 0\n ? satisfaction.reduce((sum, s) => sum + s.frustrationScore, 0) /\n satisfaction.length\n : 0;\n\n return (\n <div className=\"space-y-4\">\n <div className=\"grid grid-cols-2 gap-3 sm:grid-cols-4\">\n <MetricCard\n label=\"Total feedback\"\n value={String(stats?.total ?? 0)}\n icon={<IconMessageReport size={16} />}\n />\n <MetricCard\n label=\"Thumbs up\"\n value={String(stats?.thumbsUp ?? 0)}\n icon={<IconThumbUp size={16} />}\n />\n <MetricCard\n label=\"Thumbs down\"\n value={String(stats?.thumbsDown ?? 0)}\n icon={<IconThumbDown size={16} />}\n />\n <MetricCard\n label=\"Frustration\"\n value={avgFrustration.toFixed(2)}\n icon={<IconAlertTriangle size={16} />}\n />\n </div>\n\n {thumbsTotal > 0 && (\n <div className=\"rounded-lg border border-border p-3\">\n <div className=\"text-xs text-muted-foreground mb-2\">\n Thumbs up rate\n </div>\n <div className=\"flex items-center gap-3\">\n <div className=\"flex-1 h-2 rounded-full bg-muted overflow-hidden\">\n <div\n className=\"h-full bg-green-500 rounded-full\"\n style={{ width: `${thumbsUpRate * 100}%` }}\n />\n </div>\n <span className=\"text-sm font-medium tabular-nums text-foreground\">\n {formatPercent(thumbsUpRate)}\n </span>\n </div>\n </div>\n )}\n\n {stats?.categories && Object.keys(stats.categories).length > 0 && (\n <div>\n <h3 className=\"text-xs font-medium text-foreground mb-2\">\n Categories\n </h3>\n <div className=\"flex flex-wrap gap-1.5\">\n {Object.entries(stats.categories).map(([cat, count]) => (\n <span\n key={cat}\n className=\"inline-flex items-center gap-1 rounded-full border border-border px-2.5 py-1 text-[10px] text-foreground max-w-[200px]\"\n >\n <span className=\"truncate\">{cat}</span>\n <span className=\"shrink-0 text-muted-foreground tabular-nums\">\n {count}\n </span>\n </span>\n ))}\n </div>\n </div>\n )}\n\n {entries && entries.length > 0 && (\n <div>\n <h3 className=\"text-xs font-medium text-foreground mb-2\">\n Recent feedback\n </h3>\n <div className=\"space-y-1 max-h-64 overflow-y-auto overflow-x-hidden rounded-lg border border-border\">\n {entries.map((entry) => (\n <div\n key={entry.id}\n className=\"flex items-center gap-2 px-3 py-2 text-xs border-b border-border last:border-b-0 min-w-0\"\n >\n <span className=\"shrink-0\">\n {entry.feedbackType === \"thumbs_up\" && (\n <IconThumbUp size={14} className=\"text-green-500\" />\n )}\n {entry.feedbackType === \"thumbs_down\" && (\n <IconThumbDown size={14} className=\"text-red-500\" />\n )}\n {entry.feedbackType === \"category\" && (\n <IconChartBar size={14} className=\"text-blue-500\" />\n )}\n {entry.feedbackType === \"text\" && (\n <IconMessages size={14} className=\"text-muted-foreground\" />\n )}\n </span>\n <span className=\"flex-1 min-w-0 truncate text-foreground\">\n {entry.feedbackType === \"text\" ||\n entry.feedbackType === \"category\"\n ? entry.value\n : entry.feedbackType.replace(\"_\", \" \")}\n </span>\n <span className=\"shrink-0 text-muted-foreground\">\n {timeAgo(entry.createdAt)}\n </span>\n </div>\n ))}\n </div>\n </div>\n )}\n </div>\n );\n}\n\n// ─── Main Dashboard ─────────────────────────────────────────────────────\n\nconst TABS = [\n { id: \"overview\", label: \"Overview\", icon: IconActivity },\n { id: \"conversations\", label: \"Conversations\", icon: IconMessages },\n { id: \"evals\", label: \"Evals\", icon: IconChartBar },\n { id: \"experiments\", label: \"Experiments\", icon: IconAB2 },\n { id: \"feedback\", label: \"Feedback\", icon: IconMessageReport },\n] as const;\n\ntype TabId = (typeof TABS)[number][\"id\"];\n\nexport interface ObservabilityDashboardProps {\n className?: string;\n}\n\nexport function ObservabilityDashboard({\n className,\n}: ObservabilityDashboardProps) {\n const [activeTab, setActiveTab] = useState<TabId>(\"overview\");\n const [days, setDays] = useState(7);\n\n return (\n <div className={cn(\"space-y-4\", className)}>\n <div className=\"flex items-center justify-between gap-4 flex-wrap\">\n <div className=\"flex gap-1 rounded-lg border border-border p-1 bg-muted/30\">\n {TABS.map((tab) => {\n const Icon = tab.icon;\n return (\n <button\n key={tab.id}\n onClick={() => setActiveTab(tab.id)}\n className={cn(\n \"flex items-center gap-1.5 rounded-md px-3 py-1.5 text-xs font-medium\",\n activeTab === tab.id\n ? \"bg-background text-foreground shadow-sm\"\n : \"text-muted-foreground hover:text-foreground\",\n )}\n >\n <Icon size={14} />\n {tab.label}\n </button>\n );\n })}\n </div>\n {activeTab !== \"experiments\" && (\n <RangeSelector value={days} onChange={setDays} />\n )}\n </div>\n\n {activeTab === \"overview\" && <OverviewTab days={days} />}\n {activeTab === \"conversations\" && <ConversationsTab days={days} />}\n {activeTab === \"evals\" && <EvalsTab days={days} />}\n {activeTab === \"experiments\" && <ExperimentsTab />}\n {activeTab === \"feedback\" && <FeedbackTab days={days} />}\n </div>\n );\n}\n"]}
|
|
1
|
+
{"version":3,"file":"ObservabilityDashboard.js","sourceRoot":"","sources":["../../../src/client/observability/ObservabilityDashboard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EACL,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,aAAa,EACb,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,aAAa,EACb,YAAY,EACZ,OAAO,EACP,iBAAiB,EACjB,gBAAgB,EAChB,aAAa,EACb,WAAW,EACX,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE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ity,\n IconMessages,\n IconThumbUp,\n IconThumbDown,\n IconClock,\n IconCoin,\n IconTool,\n IconMoodSmile,\n IconChartBar,\n IconAB2,\n IconMessageReport,\n IconChevronRight,\n IconArrowLeft,\n IconLoader2,\n IconAlertTriangle,\n} from \"@tabler/icons-react\";\nimport { cn } from \"../utils.js\";\nimport { useT } from \"../i18n.js\";\nimport {\n useObservabilityOverview,\n useTraces,\n useTraceDetail,\n useFeedbackList,\n useFeedbackStats,\n useSatisfaction,\n useEvalStats,\n useExperiments,\n useExperimentDetail,\n useExperimentResults,\n type TraceSummary,\n type Experiment,\n} from \"./useObservability.js\";\n\n// ─── Helpers ────────────────────────────────────────────────────────────\n\nfunction formatCost(centsX100: number): string {\n const cents = centsX100 / 100;\n if (cents < 1) return `${cents.toFixed(3)}¢`;\n if (cents < 100) return `${cents.toFixed(2)}¢`;\n return `$${(cents / 100).toFixed(2)}`;\n}\n\nfunction formatCostCents(cents: number): string {\n if (cents < 1) return `${cents.toFixed(3)}¢`;\n if (cents < 100) return `${cents.toFixed(2)}¢`;\n return `$${(cents / 100).toFixed(2)}`;\n}\n\nfunction formatDuration(ms: number): string {\n if (ms < 1000) return `${Math.round(ms)}ms`;\n if (ms < 60_000) return `${(ms / 1000).toFixed(1)}s`;\n return `${(ms / 60_000).toFixed(1)}m`;\n}\n\nfunction formatPercent(ratio: number): string {\n return `${(ratio * 100).toFixed(1)}%`;\n}\n\nfunction truncateId(id: string, len = 8): string {\n return id.length > len ? id.slice(0, len) + \"…\" : id;\n}\n\nfunction timeAgo(ts: number): string {\n const diff = Date.now() - ts;\n if (diff < 60_000) return \"just now\";\n if (diff < 3_600_000) return `${Math.floor(diff / 60_000)}m ago`;\n if (diff < 86_400_000) return `${Math.floor(diff / 3_600_000)}h ago`;\n return `${Math.floor(diff / 86_400_000)}d ago`;\n}\n\nconst RANGES = [\n { value: 7, label: \"7d\" },\n { value: 30, label: \"30d\" },\n { value: 90, label: \"90d\" },\n] as const;\n\n// ─── Shared components ──────────────────────────────────────────────────\n\nfunction RangeSelector({\n value,\n onChange,\n}: {\n value: number;\n onChange: (v: number) => void;\n}) {\n return (\n <div className=\"flex gap-1 rounded-md border border-border p-0.5\">\n {RANGES.map((r) => (\n <button\n key={r.value}\n onClick={() => onChange(r.value)}\n className={cn(\n \"px-2.5 py-1 text-xs rounded\",\n value === r.value\n ? \"bg-accent text-foreground\"\n : \"text-muted-foreground hover:text-foreground\",\n )}\n >\n {r.label}\n </button>\n ))}\n </div>\n );\n}\n\nfunction MetricCard({\n label,\n value,\n icon,\n}: {\n label: string;\n value: string;\n icon: React.ReactNode;\n}) {\n return (\n <div className=\"rounded-lg border border-border bg-background p-4\">\n <div className=\"flex items-center justify-between mb-2\">\n <span className=\"text-xs text-muted-foreground\">{label}</span>\n <span className=\"text-muted-foreground\">{icon}</span>\n </div>\n <div className=\"text-2xl font-semibold tabular-nums text-foreground\">\n {value}\n </div>\n </div>\n );\n}\n\nfunction StatusBadge({\n status,\n}: {\n status: \"draft\" | \"running\" | \"paused\" | \"completed\" | \"success\" | \"error\";\n}) {\n const styles: Record<string, string> = {\n draft: \"bg-muted text-muted-foreground\",\n running: \"bg-blue-500/15 text-blue-500\",\n paused: \"bg-yellow-500/15 text-yellow-500\",\n completed: \"bg-green-500/15 text-green-500\",\n success: \"bg-green-500/15 text-green-500\",\n error: \"bg-red-500/15 text-red-500\",\n };\n return (\n <span\n className={cn(\n \"inline-flex items-center rounded-full px-2 py-0.5 text-[10px] font-medium capitalize\",\n styles[status] ?? styles.draft,\n )}\n >\n {status}\n </span>\n );\n}\n\nfunction EmptyState({ message }: { message: string }) {\n return (\n <div className=\"flex items-center justify-center py-12 text-sm text-muted-foreground\">\n {message}\n </div>\n );\n}\n\nfunction LoadingState() {\n return (\n <div className=\"flex items-center justify-center py-12\">\n <IconLoader2 size={20} className=\"animate-spin text-muted-foreground\" />\n </div>\n );\n}\n\n// ─── Tab: Overview ──────────────────────────────────────────────────────\n\nfunction OverviewTab({ days }: { days: number }) {\n const t = useT();\n const { data, isLoading } = useObservabilityOverview(days);\n\n if (isLoading) return <LoadingState />;\n if (!data) return <EmptyState message={t(\"observability.noData\")} />;\n\n return (\n <div className=\"grid grid-cols-2 gap-3 sm:grid-cols-3\">\n <MetricCard\n label={t(\"observability.totalRuns\")}\n value={String(data.totalRuns)}\n icon={<IconActivity size={16} />}\n />\n <MetricCard\n label={t(\"observability.totalCost\")}\n value={formatCostCents(data.totalCostCents)}\n icon={<IconCoin size={16} />}\n />\n <MetricCard\n label={t(\"observability.avgLatency\")}\n value={formatDuration(data.avgDurationMs)}\n icon={<IconClock size={16} />}\n />\n <MetricCard\n label={t(\"observability.toolSuccess\")}\n value={formatPercent(data.toolSuccessRate)}\n icon={<IconTool size={16} />}\n />\n <MetricCard\n label={t(\"observability.thumbsUp\")}\n value={formatPercent(data.thumbsUpRate)}\n icon={<IconThumbUp size={16} />}\n />\n <MetricCard\n label={t(\"observability.avgEvalScore\")}\n value={data.avgEvalScore.toFixed(2)}\n icon={<IconMoodSmile size={16} />}\n />\n </div>\n );\n}\n\n// ─── Tab: Conversations ─────────────────────────────────────────────────\n\nfunction ConversationsTab({ days }: { days: number }) {\n const t = useT();\n const { data: traces, isLoading } = useTraces(days);\n const [selectedRunId, setSelectedRunId] = useState<string | null>(null);\n\n if (selectedRunId) {\n return (\n <TraceDetailView\n runId={selectedRunId}\n onBack={() => setSelectedRunId(null)}\n />\n );\n }\n\n if (isLoading) return <LoadingState />;\n if (!traces || traces.length === 0)\n return <EmptyState message={t(\"observability.noConversations\")} />;\n\n return (\n <div className=\"rounded-lg border border-border overflow-hidden\">\n <table className=\"w-full table-fixed text-left text-xs\">\n <thead>\n <tr className=\"border-b border-border bg-muted/30\">\n <th className=\"px-3 py-2 font-medium text-muted-foreground w-[15%]\">\n {t(\"observability.run\")}\n </th>\n <th className=\"px-3 py-2 font-medium text-muted-foreground w-[20%]\">\n {t(\"observability.model\")}\n </th>\n <th className=\"px-3 py-2 font-medium text-muted-foreground\">\n {t(\"observability.duration\")}\n </th>\n <th className=\"px-3 py-2 font-medium text-muted-foreground\">\n {t(\"observability.cost\")}\n </th>\n <th className=\"px-3 py-2 font-medium text-muted-foreground\">\n {t(\"observability.tools\")}\n </th>\n <th className=\"px-3 py-2 font-medium text-muted-foreground\">\n {t(\"observability.time\")}\n </th>\n <th className=\"w-8\" />\n </tr>\n </thead>\n <tbody>\n {traces.map((trace: TraceSummary) => (\n <tr\n key={trace.runId}\n onClick={() => setSelectedRunId(trace.runId)}\n className=\"border-b border-border last:border-b-0 cursor-pointer hover:bg-accent/30\"\n >\n <td className=\"px-3 py-2 font-mono text-foreground truncate\">\n {truncateId(trace.runId)}\n </td>\n <td className=\"px-3 py-2 text-muted-foreground truncate\">\n {trace.model || \"unknown\"}\n </td>\n <td className=\"px-3 py-2 tabular-nums text-muted-foreground\">\n {formatDuration(trace.totalDurationMs)}\n </td>\n <td className=\"px-3 py-2 tabular-nums text-muted-foreground\">\n {formatCost(trace.totalCostCentsX100)}\n </td>\n <td className=\"px-3 py-2 tabular-nums text-muted-foreground\">\n {trace.toolCalls}\n {trace.failedTools > 0 && (\n <span className=\"ml-1 text-red-500\">\n {t(\"observability.failedCount\", {\n count: trace.failedTools,\n })}\n </span>\n )}\n </td>\n <td className=\"px-3 py-2 text-muted-foreground truncate\">\n {timeAgo(trace.createdAt)}\n </td>\n <td className=\"px-3 py-2\">\n <IconChevronRight size={14} className=\"text-muted-foreground\" />\n </td>\n </tr>\n ))}\n </tbody>\n </table>\n </div>\n );\n}\n\nfunction TraceDetailView({\n runId,\n onBack,\n}: {\n runId: string;\n onBack: () => void;\n}) {\n const t = useT();\n const { data, isLoading } = useTraceDetail(runId);\n\n return (\n <div>\n <button\n onClick={onBack}\n className=\"flex items-center gap-1 text-xs text-muted-foreground hover:text-foreground mb-3\"\n >\n <IconArrowLeft size={14} />\n {t(\"observability.backToList\")}\n </button>\n\n {isLoading && <LoadingState />}\n\n {data && (\n <div className=\"space-y-4\">\n <div className=\"grid grid-cols-2 gap-3 sm:grid-cols-4\">\n <div className=\"rounded-lg border border-border p-3\">\n <div className=\"text-[10px] text-muted-foreground mb-1\">\n {t(\"observability.model\")}\n </div>\n <div className=\"text-sm font-medium text-foreground truncate\">\n {data.summary.model || \"unknown\"}\n </div>\n </div>\n <div className=\"rounded-lg border border-border p-3\">\n <div className=\"text-[10px] text-muted-foreground mb-1\">\n {t(\"observability.duration\")}\n </div>\n <div className=\"text-sm font-medium tabular-nums text-foreground\">\n {formatDuration(data.summary.totalDurationMs)}\n </div>\n </div>\n <div className=\"rounded-lg border border-border p-3\">\n <div className=\"text-[10px] text-muted-foreground mb-1\">\n {t(\"observability.cost\")}\n </div>\n <div className=\"text-sm font-medium tabular-nums text-foreground\">\n {formatCost(data.summary.totalCostCentsX100)}\n </div>\n </div>\n <div className=\"rounded-lg border border-border p-3\">\n <div className=\"text-[10px] text-muted-foreground mb-1\">\n {t(\"observability.spans\")}\n </div>\n <div className=\"text-sm font-medium tabular-nums text-foreground\">\n {data.summary.totalSpans}\n </div>\n </div>\n </div>\n\n <div className=\"rounded-lg border border-border overflow-hidden\">\n <table className=\"w-full table-fixed text-left text-xs\">\n <thead>\n <tr className=\"border-b border-border bg-muted/30\">\n <th className=\"px-3 py-2 font-medium text-muted-foreground w-[15%]\">\n {t(\"observability.type\")}\n </th>\n <th className=\"px-3 py-2 font-medium text-muted-foreground w-[35%]\">\n {t(\"observability.name\")}\n </th>\n <th className=\"px-3 py-2 font-medium text-muted-foreground\">\n {t(\"observability.duration\")}\n </th>\n <th className=\"px-3 py-2 font-medium text-muted-foreground\">\n {t(\"observability.tokens\")}\n </th>\n <th className=\"px-3 py-2 font-medium text-muted-foreground\">\n {t(\"observability.status\")}\n </th>\n </tr>\n </thead>\n <tbody>\n {data.spans.map((span) => (\n <tr\n key={span.id}\n className=\"border-b border-border last:border-b-0\"\n >\n <td className=\"px-3 py-2 truncate\">\n <span className=\"rounded bg-muted px-1.5 py-0.5 text-[10px] font-medium text-muted-foreground\">\n {span.spanType.replace(\"_\", \" \")}\n </span>\n </td>\n <td className=\"px-3 py-2 font-medium text-foreground truncate\">\n {span.name}\n </td>\n <td className=\"px-3 py-2 tabular-nums text-muted-foreground\">\n {formatDuration(span.durationMs)}\n </td>\n <td className=\"px-3 py-2 tabular-nums text-muted-foreground\">\n {span.inputTokens + span.outputTokens > 0\n ? `${span.inputTokens} / ${span.outputTokens}`\n : \"-\"}\n </td>\n <td className=\"px-3 py-2\">\n <StatusBadge status={span.status} />\n </td>\n </tr>\n ))}\n </tbody>\n </table>\n </div>\n </div>\n )}\n </div>\n );\n}\n\n// ─── Tab: Evals ─────────────────────────────────────────────────────────\n\nfunction EvalsTab({ days }: { days: number }) {\n const t = useT();\n const { data, isLoading } = useEvalStats(days);\n\n if (isLoading) return <LoadingState />;\n if (!data || data.totalEvals === 0)\n return <EmptyState message={t(\"observability.noEvals\")} />;\n\n const maxCount = Math.max(...data.byCriteria.map((c) => c.count), 1);\n\n return (\n <div className=\"space-y-4\">\n <div className=\"grid grid-cols-2 gap-3\">\n <MetricCard\n label={t(\"observability.totalEvals\")}\n value={String(data.totalEvals)}\n icon={<IconChartBar size={16} />}\n />\n <MetricCard\n label={t(\"observability.avgScore\")}\n value={data.avgScore.toFixed(2)}\n icon={<IconMoodSmile size={16} />}\n />\n </div>\n\n {data.byCriteria.length > 0 && (\n <div>\n <h3 className=\"text-xs font-medium text-foreground mb-2\">\n {t(\"observability.scoresByCriteria\")}\n </h3>\n <div className=\"space-y-2\">\n {data.byCriteria.map((c) => (\n <div key={c.criteria}>\n <div className=\"flex items-center justify-between gap-2 text-xs mb-1 min-w-0\">\n <span className=\"text-foreground truncate min-w-0\">\n {c.criteria}\n </span>\n <span className=\"shrink-0 text-muted-foreground tabular-nums\">\n {c.avgScore.toFixed(2)} avg ({c.count})\n </span>\n </div>\n <div className=\"h-1.5 rounded-full bg-muted overflow-hidden\">\n <div\n className=\"h-full bg-foreground/70 rounded-full\"\n style={{ width: `${(c.count / maxCount) * 100}%` }}\n />\n </div>\n </div>\n ))}\n </div>\n </div>\n )}\n </div>\n );\n}\n\n// ─── Tab: Experiments ───────────────────────────────────────────────────\n\nfunction ExperimentsTab() {\n const t = useT();\n const { data: experiments, isLoading } = useExperiments();\n const [selectedId, setSelectedId] = useState<string | null>(null);\n\n if (selectedId) {\n return (\n <ExperimentDetailView\n id={selectedId}\n onBack={() => setSelectedId(null)}\n />\n );\n }\n\n if (isLoading) return <LoadingState />;\n if (!experiments || experiments.length === 0)\n return <EmptyState message={t(\"observability.noExperiments\")} />;\n\n return (\n <div className=\"rounded-lg border border-border overflow-hidden\">\n <table className=\"w-full table-fixed text-left text-xs\">\n <thead>\n <tr className=\"border-b border-border bg-muted/30\">\n <th className=\"px-3 py-2 font-medium text-muted-foreground w-[40%]\">\n {t(\"observability.name\")}\n </th>\n <th className=\"px-3 py-2 font-medium text-muted-foreground\">\n {t(\"observability.status\")}\n </th>\n <th className=\"px-3 py-2 font-medium text-muted-foreground\">\n {t(\"observability.variants\")}\n </th>\n <th className=\"px-3 py-2 font-medium text-muted-foreground\">\n {t(\"observability.created\")}\n </th>\n <th className=\"w-8\" />\n </tr>\n </thead>\n <tbody>\n {experiments.map((exp: Experiment) => (\n <tr\n key={exp.id}\n onClick={() => setSelectedId(exp.id)}\n className=\"border-b border-border last:border-b-0 cursor-pointer hover:bg-accent/30\"\n >\n <td className=\"px-3 py-2 font-medium text-foreground truncate\">\n {exp.name}\n </td>\n <td className=\"px-3 py-2\">\n <StatusBadge status={exp.status} />\n </td>\n <td className=\"px-3 py-2 tabular-nums text-muted-foreground\">\n {exp.variants.length}\n </td>\n <td className=\"px-3 py-2 text-muted-foreground\">\n {timeAgo(exp.createdAt)}\n </td>\n <td className=\"px-3 py-2\">\n <IconChevronRight size={14} className=\"text-muted-foreground\" />\n </td>\n </tr>\n ))}\n </tbody>\n </table>\n </div>\n );\n}\n\nfunction ExperimentDetailView({\n id,\n onBack,\n}: {\n id: string;\n onBack: () => void;\n}) {\n const t = useT();\n const { data: exp, isLoading } = useExperimentDetail(id);\n const { data: results } = useExperimentResults(id);\n\n return (\n <div>\n <button\n onClick={onBack}\n className=\"flex items-center gap-1 text-xs text-muted-foreground hover:text-foreground mb-3\"\n >\n <IconArrowLeft size={14} />\n {t(\"observability.backToExperiments\")}\n </button>\n\n {isLoading && <LoadingState />}\n\n {exp && (\n <div className=\"space-y-4\">\n <div className=\"flex items-center justify-between gap-2 min-w-0\">\n <h3 className=\"text-sm font-medium text-foreground truncate min-w-0\">\n {exp.name}\n </h3>\n <StatusBadge status={exp.status} />\n </div>\n\n <div className=\"grid grid-cols-3 gap-3\">\n <div className=\"rounded-lg border border-border p-3\">\n <div className=\"text-[10px] text-muted-foreground mb-1\">\n {t(\"observability.variants\")}\n </div>\n <div className=\"text-sm font-medium tabular-nums text-foreground\">\n {exp.variants.length}\n </div>\n </div>\n <div className=\"rounded-lg border border-border p-3\">\n <div className=\"text-[10px] text-muted-foreground mb-1\">\n {t(\"observability.metrics\")}\n </div>\n <div className=\"text-sm font-medium tabular-nums text-foreground\">\n {exp.metrics.length}\n </div>\n </div>\n <div className=\"rounded-lg border border-border p-3\">\n <div className=\"text-[10px] text-muted-foreground mb-1\">\n {t(\"observability.level\")}\n </div>\n <div className=\"text-sm font-medium text-foreground capitalize\">\n {exp.assignmentLevel}\n </div>\n </div>\n </div>\n\n {exp.variants.length > 0 && (\n <div>\n <h4 className=\"text-xs font-medium text-foreground mb-2\">\n {t(\"observability.variants\")}\n </h4>\n <div className=\"space-y-1\">\n {exp.variants.map((v) => (\n <div\n key={v.id}\n className=\"flex items-center justify-between rounded border border-border px-3 py-2 text-xs\"\n >\n <span className=\"font-mono text-foreground\">\n {truncateId(v.id)}\n </span>\n <span className=\"text-muted-foreground tabular-nums\">\n Weight: {v.weight}\n </span>\n </div>\n ))}\n </div>\n </div>\n )}\n\n {results && results.length > 0 && (\n <div>\n <h4 className=\"text-xs font-medium text-foreground mb-2\">\n {t(\"observability.results\")}\n </h4>\n <div className=\"rounded-lg border border-border overflow-hidden\">\n <table className=\"w-full table-fixed text-left text-xs\">\n <thead>\n <tr className=\"border-b border-border bg-muted/30\">\n <th className=\"px-3 py-2 font-medium text-muted-foreground w-[20%]\">\n {t(\"observability.variant\")}\n </th>\n <th className=\"px-3 py-2 font-medium text-muted-foreground w-[25%]\">\n {t(\"observability.metric\")}\n </th>\n <th className=\"px-3 py-2 font-medium text-muted-foreground\">\n {t(\"observability.value\")}\n </th>\n <th className=\"px-3 py-2 font-medium text-muted-foreground\">\n CI\n </th>\n <th className=\"px-3 py-2 font-medium text-muted-foreground\">\n N\n </th>\n </tr>\n </thead>\n <tbody>\n {results.map((r) => (\n <tr\n key={r.id}\n className=\"border-b border-border last:border-b-0\"\n >\n <td className=\"px-3 py-2 font-mono text-foreground truncate\">\n {truncateId(r.variantId)}\n </td>\n <td className=\"px-3 py-2 text-foreground truncate\">\n {r.metric}\n </td>\n <td className=\"px-3 py-2 tabular-nums text-foreground\">\n {r.value.toFixed(3)}\n </td>\n <td className=\"px-3 py-2 tabular-nums text-muted-foreground\">\n [{r.confidenceLow.toFixed(3)},{\" \"}\n {r.confidenceHigh.toFixed(3)}]\n </td>\n <td className=\"px-3 py-2 tabular-nums text-muted-foreground\">\n {r.sampleSize}\n </td>\n </tr>\n ))}\n </tbody>\n </table>\n </div>\n </div>\n )}\n </div>\n )}\n </div>\n );\n}\n\n// ─── Tab: Feedback ──────────────────────────────────────────────────────\n\nfunction FeedbackTab({ days }: { days: number }) {\n const t = useT();\n const { data: stats, isLoading: statsLoading } = useFeedbackStats(days);\n const { data: entries, isLoading: listLoading } = useFeedbackList(days);\n const { data: satisfaction } = useSatisfaction(days);\n\n const isLoading = statsLoading || listLoading;\n if (isLoading) return <LoadingState />;\n\n const thumbsTotal = (stats?.thumbsUp ?? 0) + (stats?.thumbsDown ?? 0);\n const thumbsUpRate = thumbsTotal > 0 ? stats!.thumbsUp / thumbsTotal : 0;\n const avgFrustration =\n satisfaction && satisfaction.length > 0\n ? satisfaction.reduce((sum, s) => sum + s.frustrationScore, 0) /\n satisfaction.length\n : 0;\n\n return (\n <div className=\"space-y-4\">\n <div className=\"grid grid-cols-2 gap-3 sm:grid-cols-4\">\n <MetricCard\n label={t(\"observability.totalFeedback\")}\n value={String(stats?.total ?? 0)}\n icon={<IconMessageReport size={16} />}\n />\n <MetricCard\n label={t(\"observability.thumbsUp\")}\n value={String(stats?.thumbsUp ?? 0)}\n icon={<IconThumbUp size={16} />}\n />\n <MetricCard\n label={t(\"observability.thumbsDown\")}\n value={String(stats?.thumbsDown ?? 0)}\n icon={<IconThumbDown size={16} />}\n />\n <MetricCard\n label={t(\"observability.frustration\")}\n value={avgFrustration.toFixed(2)}\n icon={<IconAlertTriangle size={16} />}\n />\n </div>\n\n {thumbsTotal > 0 && (\n <div className=\"rounded-lg border border-border p-3\">\n <div className=\"text-xs text-muted-foreground mb-2\">\n {t(\"observability.thumbsUpRate\")}\n </div>\n <div className=\"flex items-center gap-3\">\n <div className=\"flex-1 h-2 rounded-full bg-muted overflow-hidden\">\n <div\n className=\"h-full bg-green-500 rounded-full\"\n style={{ width: `${thumbsUpRate * 100}%` }}\n />\n </div>\n <span className=\"text-sm font-medium tabular-nums text-foreground\">\n {formatPercent(thumbsUpRate)}\n </span>\n </div>\n </div>\n )}\n\n {stats?.categories && Object.keys(stats.categories).length > 0 && (\n <div>\n <h3 className=\"text-xs font-medium text-foreground mb-2\">\n {t(\"observability.categories\")}\n </h3>\n <div className=\"flex flex-wrap gap-1.5\">\n {Object.entries(stats.categories).map(([cat, count]) => (\n <span\n key={cat}\n className=\"inline-flex items-center gap-1 rounded-full border border-border px-2.5 py-1 text-[10px] text-foreground max-w-[200px]\"\n >\n <span className=\"truncate\">{cat}</span>\n <span className=\"shrink-0 text-muted-foreground tabular-nums\">\n {count}\n </span>\n </span>\n ))}\n </div>\n </div>\n )}\n\n {entries && entries.length > 0 && (\n <div>\n <h3 className=\"text-xs font-medium text-foreground mb-2\">\n Recent feedback\n </h3>\n <div className=\"space-y-1 max-h-64 overflow-y-auto overflow-x-hidden rounded-lg border border-border\">\n {entries.map((entry) => (\n <div\n key={entry.id}\n className=\"flex items-center gap-2 px-3 py-2 text-xs border-b border-border last:border-b-0 min-w-0\"\n >\n <span className=\"shrink-0\">\n {entry.feedbackType === \"thumbs_up\" && (\n <IconThumbUp size={14} className=\"text-green-500\" />\n )}\n {entry.feedbackType === \"thumbs_down\" && (\n <IconThumbDown size={14} className=\"text-red-500\" />\n )}\n {entry.feedbackType === \"category\" && (\n <IconChartBar size={14} className=\"text-blue-500\" />\n )}\n {entry.feedbackType === \"text\" && (\n <IconMessages size={14} className=\"text-muted-foreground\" />\n )}\n </span>\n <span className=\"flex-1 min-w-0 truncate text-foreground\">\n {entry.feedbackType === \"text\" ||\n entry.feedbackType === \"category\"\n ? entry.value\n : entry.feedbackType.replace(\"_\", \" \")}\n </span>\n <span className=\"shrink-0 text-muted-foreground\">\n {timeAgo(entry.createdAt)}\n </span>\n </div>\n ))}\n </div>\n </div>\n )}\n </div>\n );\n}\n\n// ─── Main Dashboard ─────────────────────────────────────────────────────\n\nconst TABS = [\n { id: \"overview\", labelKey: \"observability.overview\", icon: IconActivity },\n {\n id: \"conversations\",\n labelKey: \"observability.conversations\",\n icon: IconMessages,\n },\n { id: \"evals\", labelKey: \"observability.evals\", icon: IconChartBar },\n {\n id: \"experiments\",\n labelKey: \"observability.experiments\",\n icon: IconAB2,\n },\n {\n id: \"feedback\",\n labelKey: \"observability.feedback\",\n icon: IconMessageReport,\n },\n] as const;\n\ntype TabId = (typeof TABS)[number][\"id\"];\n\nexport interface ObservabilityDashboardProps {\n className?: string;\n}\n\nexport function ObservabilityDashboard({\n className,\n}: ObservabilityDashboardProps) {\n const t = useT();\n const [activeTab, setActiveTab] = useState<TabId>(\"overview\");\n const [days, setDays] = useState(7);\n\n return (\n <div className={cn(\"space-y-4\", className)}>\n <div className=\"flex items-center justify-between gap-4 flex-wrap\">\n <div className=\"flex gap-1 rounded-lg border border-border p-1 bg-muted/30\">\n {TABS.map((tab) => {\n const Icon = tab.icon;\n return (\n <button\n key={tab.id}\n onClick={() => setActiveTab(tab.id)}\n className={cn(\n \"flex items-center gap-1.5 rounded-md px-3 py-1.5 text-xs font-medium\",\n activeTab === tab.id\n ? \"bg-background text-foreground shadow-sm\"\n : \"text-muted-foreground hover:text-foreground\",\n )}\n >\n <Icon size={14} />\n {t(tab.labelKey)}\n </button>\n );\n })}\n </div>\n {activeTab !== \"experiments\" && (\n <RangeSelector value={days} onChange={setDays} />\n )}\n </div>\n\n {activeTab === \"overview\" && <OverviewTab days={days} />}\n {activeTab === \"conversations\" && <ConversationsTab days={days} />}\n {activeTab === \"evals\" && <EvalsTab days={days} />}\n {activeTab === \"experiments\" && <ExperimentsTab />}\n {activeTab === \"feedback\" && <FeedbackTab days={days} />}\n </div>\n );\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequireActiveOrg.d.ts","sourceRoot":"","sources":["../../../src/client/org/RequireActiveOrg.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAY,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"RequireActiveOrg.d.ts","sourceRoot":"","sources":["../../../src/client/org/RequireActiveOrg.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAY,MAAM,OAAO,CAAC;AAgB5C,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,2DAA2D;IAC3D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,KAAK,EACL,WAAW,EACX,SAAS,GACV,EAAE,qBAAqB,kDAgCvB"}
|
|
@@ -2,6 +2,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
|
|
|
2
2
|
import { useState } from "react";
|
|
3
3
|
import { IconAlertTriangle, IconBuilding, IconLoader2, IconUserPlus, IconAt, } from "@tabler/icons-react";
|
|
4
4
|
import { useAcceptInvitation, useCreateOrg, useJoinByDomain, useOrg, } from "./hooks.js";
|
|
5
|
+
import { useT } from "../i18n.js";
|
|
5
6
|
/**
|
|
6
7
|
* Guards its children behind the user having an active organization.
|
|
7
8
|
*
|
|
@@ -18,7 +19,8 @@ import { useAcceptInvitation, useCreateOrg, useJoinByDomain, useOrg, } from "./h
|
|
|
18
19
|
* ambient UI (agent sidebar, global nav) stays accessible while the user
|
|
19
20
|
* completes org setup.
|
|
20
21
|
*/
|
|
21
|
-
export function RequireActiveOrg({ children, title
|
|
22
|
+
export function RequireActiveOrg({ children, title, description, className, }) {
|
|
23
|
+
const t = useT();
|
|
22
24
|
const { data: org, isLoading, isError, error, refetch } = useOrg();
|
|
23
25
|
if (isLoading)
|
|
24
26
|
return null;
|
|
@@ -27,17 +29,19 @@ export function RequireActiveOrg({ children, title = "Create your organization",
|
|
|
27
29
|
// 500). Render a retry state instead. Only treat a successful null orgId
|
|
28
30
|
// response as "genuinely no org".
|
|
29
31
|
if (isError) {
|
|
30
|
-
return (_jsx(ErrorPane, { message: error?.message ?? "
|
|
32
|
+
return (_jsx(ErrorPane, { message: error?.message ?? t("org.loadErrorFallback"), onRetry: () => void refetch(), className: className }));
|
|
31
33
|
}
|
|
32
34
|
if (org?.orgId)
|
|
33
35
|
return _jsx(_Fragment, { children: children });
|
|
34
|
-
return (_jsx(CreateOrgPane, { pendingInvitations: org?.pendingInvitations ?? [], domainMatches: org?.domainMatches ?? [], email: org?.email ?? "", title: title, description: description, className: className }));
|
|
36
|
+
return (_jsx(CreateOrgPane, { pendingInvitations: org?.pendingInvitations ?? [], domainMatches: org?.domainMatches ?? [], email: org?.email ?? "", title: title ?? t("org.createTitle"), description: description ?? t("org.createDescription"), className: className }));
|
|
35
37
|
}
|
|
36
38
|
function ErrorPane({ message, onRetry, className, }) {
|
|
39
|
+
const t = useT();
|
|
37
40
|
return (_jsx("div", { className: "flex h-full w-full items-center justify-center overflow-y-auto bg-background p-8 " +
|
|
38
|
-
(className ?? ""), children: _jsxs("div", { className: "w-full max-w-md rounded-2xl border border-border bg-card p-8 shadow-lg", children: [_jsxs("div", { className: "mb-4 flex items-center gap-2", children: [_jsx(IconAlertTriangle, { className: "h-5 w-5 text-muted-foreground" }), _jsx("h1", { className: "text-lg font-semibold", children:
|
|
41
|
+
(className ?? ""), children: _jsxs("div", { className: "w-full max-w-md rounded-2xl border border-border bg-card p-8 shadow-lg", children: [_jsxs("div", { className: "mb-4 flex items-center gap-2", children: [_jsx(IconAlertTriangle, { className: "h-5 w-5 text-muted-foreground" }), _jsx("h1", { className: "text-lg font-semibold", children: t("org.loadErrorTitle") })] }), _jsx("p", { className: "mb-5 text-sm text-muted-foreground", children: message }), _jsx("button", { type: "button", onClick: onRetry, className: "w-full rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90", children: t("org.tryAgain") })] }) }));
|
|
39
42
|
}
|
|
40
43
|
function CreateOrgPane({ pendingInvitations, domainMatches, email, title, description, className, }) {
|
|
44
|
+
const t = useT();
|
|
41
45
|
const createOrg = useCreateOrg();
|
|
42
46
|
const acceptInvitation = useAcceptInvitation();
|
|
43
47
|
const joinByDomain = useJoinByDomain();
|
|
@@ -49,8 +53,8 @@ function CreateOrgPane({ pendingInvitations, domainMatches, email, title, descri
|
|
|
49
53
|
const busy = createOrg.isPending || acceptInvitation.isPending || joinByDomain.isPending;
|
|
50
54
|
return (_jsx("div", { className: "flex h-full w-full items-center justify-center overflow-y-auto bg-background p-8 " +
|
|
51
55
|
(className ?? ""), children: _jsxs("div", { className: "my-auto w-full max-w-md rounded-2xl border border-border bg-card p-8 shadow-lg", children: [_jsxs("div", { className: "mb-6 flex items-center gap-2", children: [_jsx(IconBuilding, { className: "h-5 w-5 text-muted-foreground" }), _jsx("h1", { className: "text-lg font-semibold", children: title })] }), _jsx("p", { className: "mb-6 text-sm text-muted-foreground", children: description }), hasDomainMatches && (_jsxs("div", { className: "mb-4", children: [_jsx("div", { className: "mb-2 text-[10px] uppercase tracking-wide text-muted-foreground", children: domainMatches.length === 1
|
|
52
|
-
? "
|
|
53
|
-
: "
|
|
56
|
+
? t("org.yourOrganization")
|
|
57
|
+
: t("org.joinYourTeam") }), _jsx("ul", { className: "space-y-2", children: domainMatches.map((match) => (_jsxs("li", { className: "flex items-center gap-3 rounded-lg border border-primary/50 bg-primary/5 px-4 py-3", children: [_jsx(IconAt, { className: "h-4 w-4 shrink-0 text-muted-foreground" }), _jsxs("div", { className: "min-w-0 flex-1", children: [_jsx("div", { className: "truncate text-sm font-medium", children: match.orgName }), _jsx("div", { className: "truncate text-xs text-muted-foreground", children: t("org.openToDomainEmails", { domain: userDomain }) })] }), _jsx("button", { type: "button", disabled: busy, onClick: () => joinByDomain.mutate(match.orgId), className: "shrink-0 rounded-md bg-primary px-6 py-2.5 text-sm font-medium text-primary-foreground hover:bg-primary/90 disabled:opacity-50", children: joinByDomain.isPending ? (_jsx(IconLoader2, { className: "h-3 w-3 animate-spin" })) : (t("org.joinOrg", { name: match.orgName })) })] }, match.orgId))) })] })), hasInvites && (_jsxs("div", { className: "mb-4", children: [_jsx("div", { className: "mb-2 text-[10px] uppercase tracking-wide text-muted-foreground", children: t("org.pendingInvitations") }), _jsx("ul", { className: "space-y-2", children: pendingInvitations.map((inv) => (_jsxs("li", { className: "flex items-center gap-3 rounded-lg border border-border bg-background px-3 py-2", children: [_jsx(IconUserPlus, { className: "h-4 w-4 shrink-0 text-muted-foreground" }), _jsxs("div", { className: "min-w-0 flex-1", children: [_jsx("div", { className: "truncate text-sm font-medium", children: inv.orgName }), _jsx("div", { className: "truncate text-xs text-muted-foreground", children: t("org.invitedBy", { name: inv.invitedBy }) })] }), _jsx("button", { type: "button", disabled: busy, onClick: () => acceptInvitation.mutate(inv.id), className: "shrink-0 rounded-md bg-primary px-3 py-1.5 text-xs font-medium text-primary-foreground hover:bg-primary/90 disabled:opacity-50", children: acceptInvitation.isPending ? (_jsx(IconLoader2, { className: "h-3 w-3 animate-spin" })) : (t("org.accept")) })] }, inv.id))) })] })), (hasDomainMatches || hasInvites) && (_jsxs("button", { type: "button", onClick: () => setShowCreateForm((v) => !v), className: "mb-4 flex w-full cursor-pointer items-center gap-3", children: [_jsx("div", { className: "h-px flex-1 bg-border" }), _jsx("span", { className: "text-[10px] uppercase tracking-wide text-muted-foreground", children: t("org.createSeparate") }), _jsx("div", { className: "h-px flex-1 bg-border" })] })), showCreateForm && (_jsxs("form", { onSubmit: async (e) => {
|
|
54
58
|
e.preventDefault();
|
|
55
59
|
const trimmed = name.trim();
|
|
56
60
|
if (!trimmed)
|
|
@@ -61,8 +65,10 @@ function CreateOrgPane({ pendingInvitations, domainMatches, email, title, descri
|
|
|
61
65
|
catch {
|
|
62
66
|
/* surfaced below */
|
|
63
67
|
}
|
|
64
|
-
}, className: "space-y-3", children: [_jsxs("label", { className: "block", children: [_jsx("span", { className: "mb-1 block text-xs font-medium text-foreground", children: "
|
|
68
|
+
}, className: "space-y-3", children: [_jsxs("label", { className: "block", children: [_jsx("span", { className: "mb-1 block text-xs font-medium text-foreground", children: t("org.organizationName") }), _jsx("input", { autoFocus: !hasDomainMatches && !hasInvites, value: name, onChange: (e) => setName(e.target.value), placeholder: t("org.organizationPlaceholder"), disabled: busy, className: "w-full rounded-md border border-input bg-background px-3 py-2 text-sm outline-none focus:ring-2 focus:ring-ring disabled:opacity-50" })] }), createOrg.error && (_jsx("div", { className: "text-xs text-red-600", children: createOrg.error.message })), acceptInvitation.error && (_jsx("div", { className: "text-xs text-red-600", children: acceptInvitation.error.message })), joinByDomain.error && (_jsx("div", { className: "text-xs text-red-600", children: joinByDomain.error.message })), _jsx("button", { type: "submit", disabled: busy || !name.trim(), className: hasDomainMatches
|
|
65
69
|
? "w-full rounded-md border border-input bg-background px-4 py-2 text-sm font-medium text-foreground hover:bg-accent disabled:opacity-50"
|
|
66
|
-
: "w-full rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90 disabled:opacity-50", children: createOrg.isPending
|
|
70
|
+
: "w-full rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90 disabled:opacity-50", children: createOrg.isPending
|
|
71
|
+
? t("org.creating")
|
|
72
|
+
: t("org.createOrganization") })] }))] }) }));
|
|
67
73
|
}
|
|
68
74
|
//# sourceMappingURL=RequireActiveOrg.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequireActiveOrg.js","sourceRoot":"","sources":["../../../src/client/org/RequireActiveOrg.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAa,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EACL,iBAAiB,EACjB,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,MAAM,GACP,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,mBAAmB,EACnB,YAAY,EACZ,eAAe,EACf,MAAM,GACP,MAAM,YAAY,CAAC;AAiBpB;;;;;;;;;;;;;;;GAeG;AACH,MAAM,UAAU,gBAAgB,CAAC,EAC/B,QAAQ,EACR,KAAK,GAAG,0BAA0B,EAClC,WAAW,GAAG,mHAAmH,EACjI,SAAS,GACa;IACtB,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,GAAG,MAAM,EAAE,CAAC;IAEnE,IAAI,SAAS;QAAE,OAAO,IAAI,CAAC;IAE3B,0EAA0E;IAC1E,yEAAyE;IACzE,yEAAyE;IACzE,kCAAkC;IAClC,IAAI,OAAO,EAAE,CAAC;QACZ,OAAO,CACL,KAAC,SAAS,IACR,OAAO,EAAG,KAAe,EAAE,OAAO,IAAI,6BAA6B,EACnE,OAAO,EAAE,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,CAAC,KAAK,IAAI,CACrB,cAAK,SAAS,EAAC,sBAAsB,YACjC,YAAY,CAAC,KAAe,CAAC,OAAO,GAClC,CACP,EACD,iBACE,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,EAC9B,SAAS,EACP,gBAAgB;gCACd,CAAC,CAAC,uIAAuI;gCACzI,CAAC,CAAC,4HAA4H,YAGjI,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,qBAAqB,GACnD,IACJ,CACR,IACG,GACF,CACP,CAAC;AACJ,CAAC","sourcesContent":["import { ReactNode, useState } from \"react\";\nimport {\n IconAlertTriangle,\n IconBuilding,\n IconLoader2,\n IconUserPlus,\n IconAt,\n} from \"@tabler/icons-react\";\nimport {\n useAcceptInvitation,\n useCreateOrg,\n useJoinByDomain,\n useOrg,\n} from \"./hooks.js\";\n\nexport interface RequireActiveOrgProps {\n children: ReactNode;\n /**\n * Override the heading shown on the create-org pane. Default: \"Create your organization\".\n */\n title?: string;\n /**\n * Override the description shown below the heading. Default explains that\n * an org is required to use the app.\n */\n description?: string;\n /** Optional extra classes on the blocking pane wrapper. */\n className?: string;\n}\n\n/**\n * Guards its children behind the user having an active organization.\n *\n * When the user has no active org, renders a blocking, centered pane in place\n * of `children` with:\n * 1. Any pending invitations (one-click accept), and\n * 2. A \"Create your organization\" form.\n *\n * As soon as an org is joined or created, `useOrg` refetches and `children`\n * renders normally.\n *\n * The pane fills whatever box this component is rendered into — it does **not**\n * position itself `fixed` over the viewport. Place it inside your app shell so\n * ambient UI (agent sidebar, global nav) stays accessible while the user\n * completes org setup.\n */\nexport function RequireActiveOrg({\n children,\n title = \"Create your organization\",\n description = \"This app organizes your content by team. Create an organization to continue — you can invite teammates afterward.\",\n className,\n}: RequireActiveOrgProps) {\n const { data: org, isLoading, isError, error, refetch } = useOrg();\n\n if (isLoading) return null;\n\n // Network / server failure on the org lookup — do NOT fall through to the\n // create-org pane (that would lock out an existing member on a transient\n // 500). Render a retry state instead. Only treat a successful null orgId\n // response as \"genuinely no org\".\n if (isError) {\n return (\n <ErrorPane\n message={(error as Error)?.message ?? \"Couldn't load organization.\"}\n onRetry={() => void refetch()}\n className={className}\n />\n );\n }\n\n if (org?.orgId) return <>{children}</>;\n\n return (\n <CreateOrgPane\n pendingInvitations={org?.pendingInvitations ?? []}\n domainMatches={org?.domainMatches ?? []}\n email={org?.email ?? \"\"}\n title={title}\n description={description}\n className={className}\n />\n );\n}\n\nfunction ErrorPane({\n message,\n onRetry,\n className,\n}: {\n message: string;\n onRetry: () => void;\n className?: string;\n}) {\n return (\n <div\n className={\n \"flex h-full w-full items-center justify-center overflow-y-auto bg-background p-8 \" +\n (className ?? \"\")\n }\n >\n <div className=\"w-full max-w-md rounded-2xl border border-border bg-card p-8 shadow-lg\">\n <div className=\"mb-4 flex items-center gap-2\">\n <IconAlertTriangle className=\"h-5 w-5 text-muted-foreground\" />\n <h1 className=\"text-lg font-semibold\">Couldn't load organization</h1>\n </div>\n <p className=\"mb-5 text-sm text-muted-foreground\">{message}</p>\n <button\n type=\"button\"\n onClick={onRetry}\n className=\"w-full rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90\"\n >\n Try again\n </button>\n </div>\n </div>\n );\n}\n\nfunction CreateOrgPane({\n pendingInvitations,\n domainMatches,\n email,\n title,\n description,\n className,\n}: {\n pendingInvitations: Array<{\n id: string;\n orgId: string;\n orgName: string;\n invitedBy: string;\n }>;\n domainMatches: Array<{ orgId: string; orgName: string }>;\n email: string;\n title: string;\n description: string;\n className?: string;\n}) {\n const createOrg = useCreateOrg();\n const acceptInvitation = useAcceptInvitation();\n const joinByDomain = useJoinByDomain();\n const [name, setName] = useState(\"\");\n\n const hasInvites = pendingInvitations.length > 0;\n const hasDomainMatches = domainMatches.length > 0;\n const userDomain = email.split(\"@\")[1] ?? \"\";\n const [showCreateForm, setShowCreateForm] = useState(\n !hasDomainMatches && !hasInvites,\n );\n\n const busy =\n createOrg.isPending || acceptInvitation.isPending || joinByDomain.isPending;\n\n return (\n <div\n className={\n \"flex h-full w-full items-center justify-center overflow-y-auto bg-background p-8 \" +\n (className ?? \"\")\n }\n >\n <div className=\"my-auto w-full max-w-md rounded-2xl border border-border bg-card p-8 shadow-lg\">\n <div className=\"mb-6 flex items-center gap-2\">\n <IconBuilding className=\"h-5 w-5 text-muted-foreground\" />\n <h1 className=\"text-lg font-semibold\">{title}</h1>\n </div>\n <p className=\"mb-6 text-sm text-muted-foreground\">{description}</p>\n\n {hasDomainMatches && (\n <div className=\"mb-4\">\n <div className=\"mb-2 text-[10px] uppercase tracking-wide text-muted-foreground\">\n {domainMatches.length === 1\n ? \"Your organization\"\n : \"Join your team\"}\n </div>\n <ul className=\"space-y-2\">\n {domainMatches.map((match) => (\n <li\n key={match.orgId}\n className=\"flex items-center gap-3 rounded-lg border border-primary/50 bg-primary/5 px-4 py-3\"\n >\n <IconAt className=\"h-4 w-4 shrink-0 text-muted-foreground\" />\n <div className=\"min-w-0 flex-1\">\n <div className=\"truncate text-sm font-medium\">\n {match.orgName}\n </div>\n <div className=\"truncate text-xs text-muted-foreground\">\n Open to @{userDomain} emails\n </div>\n </div>\n <button\n type=\"button\"\n disabled={busy}\n onClick={() => joinByDomain.mutate(match.orgId)}\n className=\"shrink-0 rounded-md bg-primary px-6 py-2.5 text-sm font-medium text-primary-foreground hover:bg-primary/90 disabled:opacity-50\"\n >\n {joinByDomain.isPending ? (\n <IconLoader2 className=\"h-3 w-3 animate-spin\" />\n ) : (\n `Join ${match.orgName}`\n )}\n </button>\n </li>\n ))}\n </ul>\n </div>\n )}\n\n {hasInvites && (\n <div className=\"mb-4\">\n <div className=\"mb-2 text-[10px] uppercase tracking-wide text-muted-foreground\">\n Pending invitations\n </div>\n <ul className=\"space-y-2\">\n {pendingInvitations.map((inv) => (\n <li\n key={inv.id}\n className=\"flex items-center gap-3 rounded-lg border border-border bg-background px-3 py-2\"\n >\n <IconUserPlus className=\"h-4 w-4 shrink-0 text-muted-foreground\" />\n <div className=\"min-w-0 flex-1\">\n <div className=\"truncate text-sm font-medium\">\n {inv.orgName}\n </div>\n <div className=\"truncate text-xs text-muted-foreground\">\n from {inv.invitedBy}\n </div>\n </div>\n <button\n type=\"button\"\n disabled={busy}\n onClick={() => acceptInvitation.mutate(inv.id)}\n className=\"shrink-0 rounded-md bg-primary px-3 py-1.5 text-xs font-medium text-primary-foreground hover:bg-primary/90 disabled:opacity-50\"\n >\n {acceptInvitation.isPending ? (\n <IconLoader2 className=\"h-3 w-3 animate-spin\" />\n ) : (\n \"Accept\"\n )}\n </button>\n </li>\n ))}\n </ul>\n </div>\n )}\n\n {(hasDomainMatches || hasInvites) && (\n <button\n type=\"button\"\n onClick={() => setShowCreateForm((v) => !v)}\n className=\"mb-4 flex w-full cursor-pointer items-center gap-3\"\n >\n <div className=\"h-px flex-1 bg-border\" />\n <span className=\"text-[10px] uppercase tracking-wide text-muted-foreground\">\n or create a separate organization\n </span>\n <div className=\"h-px flex-1 bg-border\" />\n </button>\n )}\n\n {showCreateForm && (\n <form\n onSubmit={async (e) => {\n e.preventDefault();\n const trimmed = name.trim();\n if (!trimmed) return;\n try {\n await createOrg.mutateAsync(trimmed);\n } catch {\n /* surfaced below */\n }\n }}\n className=\"space-y-3\"\n >\n <label className=\"block\">\n <span className=\"mb-1 block text-xs font-medium text-foreground\">\n Organization name\n </span>\n <input\n autoFocus={!hasDomainMatches && !hasInvites}\n value={name}\n onChange={(e) => setName(e.target.value)}\n placeholder=\"Acme Inc.\"\n disabled={busy}\n className=\"w-full rounded-md border border-input bg-background px-3 py-2 text-sm outline-none focus:ring-2 focus:ring-ring disabled:opacity-50\"\n />\n </label>\n {createOrg.error && (\n <div className=\"text-xs text-red-600\">\n {(createOrg.error as Error).message}\n </div>\n )}\n {acceptInvitation.error && (\n <div className=\"text-xs text-red-600\">\n {(acceptInvitation.error as Error).message}\n </div>\n )}\n {joinByDomain.error && (\n <div className=\"text-xs text-red-600\">\n {(joinByDomain.error as Error).message}\n </div>\n )}\n <button\n type=\"submit\"\n disabled={busy || !name.trim()}\n className={\n hasDomainMatches\n ? \"w-full rounded-md border border-input bg-background px-4 py-2 text-sm font-medium text-foreground hover:bg-accent disabled:opacity-50\"\n : \"w-full rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90 disabled:opacity-50\"\n }\n >\n {createOrg.isPending ? \"Creating…\" : \"Create organization\"}\n </button>\n </form>\n )}\n </div>\n </div>\n );\n}\n"]}
|
|
1
|
+
{"version":3,"file":"RequireActiveOrg.js","sourceRoot":"","sources":["../../../src/client/org/RequireActiveOrg.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAa,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EACL,iBAAiB,EACjB,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,MAAM,GACP,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,mBAAmB,EACnB,YAAY,EACZ,eAAe,EACf,MAAM,GACP,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAiBlC;;;;;;;;;;;;;;;GAeG;AACH,MAAM,UAAU,gBAAgB,CAAC,EAC/B,QAAQ,EACR,KAAK,EACL,WAAW,EACX,SAAS,GACa;IACtB,MAAM,CAAC,GAAG,IAAI,EAAE,CAAC;IACjB,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,GAAG,MAAM,EAAE,CAAC;IAEnE,IAAI,SAAS;QAAE,OAAO,IAAI,CAAC;IAE3B,0EAA0E;IAC1E,yEAAyE;IACzE,yEAAyE;IACzE,kCAAkC;IAClC,IAAI,OAAO,EAAE,CAAC;QACZ,OAAO,CACL,KAAC,SAAS,IACR,OAAO,EAAG,KAAe,EAAE,OAAO,IAAI,CAAC,CAAC,uBAAuB,CAAC,E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AAC,sBAAsB,CAAC,GACrB,EACP,gBACE,SAAS,EAAE,CAAC,gBAAgB,IAAI,CAAC,UAAU,EAC3C,KAAK,EAAE,IAAI,EACX,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EACxC,WAAW,EAAE,CAAC,CAAC,6BAA6B,CAAC,EAC7C,QAAQ,EAAE,IAAI,EACd,SAAS,EAAC,qIAAqI,GAC/I,IACI,EACP,SAAS,CAAC,KAAK,IAAI,CAClB,cAAK,SAAS,EAAC,sBAAsB,YACjC,SAAS,CAAC,KAAe,CAAC,OAAO,GAC/B,CACP,EACA,gBAAgB,CAAC,KAAK,IAAI,CACzB,cAAK,SAAS,EAAC,sBAAsB,YACjC,gBAAgB,CAAC,KAAe,CAAC,OAAO,GACtC,CACP,EACA,YAAY,CAAC,KAAK,IAAI,CACrB,cAAK,SAAS,EAAC,sBAAsB,YACjC,YAAY,CAAC,KAAe,CAAC,OAAO,GAClC,CACP,EACD,iBACE,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,EAC9B,SAAS,EACP,gBAAgB;gCACd,CAAC,CAAC,uIAAuI;gCACzI,CAAC,CAAC,4HAA4H,YAGjI,SAAS,CAAC,SAAS;gCAClB,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC;gCACnB,CAAC,CAAC,CAAC,CAAC,wBAAwB,CAAC,GACxB,IACJ,CACR,IACG,GACF,CACP,CAAC;AACJ,CAAC","sourcesContent":["import { ReactNode, useState } from \"react\";\nimport {\n IconAlertTriangle,\n IconBuilding,\n IconLoader2,\n IconUserPlus,\n IconAt,\n} from \"@tabler/icons-react\";\nimport {\n useAcceptInvitation,\n useCreateOrg,\n useJoinByDomain,\n useOrg,\n} from \"./hooks.js\";\nimport { useT } from \"../i18n.js\";\n\nexport interface RequireActiveOrgProps {\n children: ReactNode;\n /**\n * Override the heading shown on the create-org pane. Default: \"Create your organization\".\n */\n title?: string;\n /**\n * Override the description shown below the heading. Default explains that\n * an org is required to use the app.\n */\n description?: string;\n /** Optional extra classes on the blocking pane wrapper. */\n className?: string;\n}\n\n/**\n * Guards its children behind the user having an active organization.\n *\n * When the user has no active org, renders a blocking, centered pane in place\n * of `children` with:\n * 1. Any pending invitations (one-click accept), and\n * 2. A \"Create your organization\" form.\n *\n * As soon as an org is joined or created, `useOrg` refetches and `children`\n * renders normally.\n *\n * The pane fills whatever box this component is rendered into — it does **not**\n * position itself `fixed` over the viewport. Place it inside your app shell so\n * ambient UI (agent sidebar, global nav) stays accessible while the user\n * completes org setup.\n */\nexport function RequireActiveOrg({\n children,\n title,\n description,\n className,\n}: RequireActiveOrgProps) {\n const t = useT();\n const { data: org, isLoading, isError, error, refetch } = useOrg();\n\n if (isLoading) return null;\n\n // Network / server failure on the org lookup — do NOT fall through to the\n // create-org pane (that would lock out an existing member on a transient\n // 500). Render a retry state instead. Only treat a successful null orgId\n // response as \"genuinely no org\".\n if (isError) {\n return (\n <ErrorPane\n message={(error as Error)?.message ?? t(\"org.loadErrorFallback\")}\n onRetry={() => void refetch()}\n className={className}\n />\n );\n }\n\n if (org?.orgId) return <>{children}</>;\n\n return (\n <CreateOrgPane\n pendingInvitations={org?.pendingInvitations ?? []}\n domainMatches={org?.domainMatches ?? []}\n email={org?.email ?? \"\"}\n title={title ?? t(\"org.createTitle\")}\n description={description ?? t(\"org.createDescription\")}\n className={className}\n />\n );\n}\n\nfunction ErrorPane({\n message,\n onRetry,\n className,\n}: {\n message: string;\n onRetry: () => void;\n className?: string;\n}) {\n const t = useT();\n return (\n <div\n className={\n \"flex h-full w-full items-center justify-center overflow-y-auto bg-background p-8 \" +\n (className ?? \"\")\n }\n >\n <div className=\"w-full max-w-md rounded-2xl border border-border bg-card p-8 shadow-lg\">\n <div className=\"mb-4 flex items-center gap-2\">\n <IconAlertTriangle className=\"h-5 w-5 text-muted-foreground\" />\n <h1 className=\"text-lg font-semibold\">{t(\"org.loadErrorTitle\")}</h1>\n </div>\n <p className=\"mb-5 text-sm text-muted-foreground\">{message}</p>\n <button\n type=\"button\"\n onClick={onRetry}\n className=\"w-full rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90\"\n >\n {t(\"org.tryAgain\")}\n </button>\n </div>\n </div>\n );\n}\n\nfunction CreateOrgPane({\n pendingInvitations,\n domainMatches,\n email,\n title,\n description,\n className,\n}: {\n pendingInvitations: Array<{\n id: string;\n orgId: string;\n orgName: string;\n invitedBy: string;\n }>;\n domainMatches: Array<{ orgId: string; orgName: string }>;\n email: string;\n title: string;\n description: string;\n className?: string;\n}) {\n const t = useT();\n const createOrg = useCreateOrg();\n const acceptInvitation = useAcceptInvitation();\n const joinByDomain = useJoinByDomain();\n const [name, setName] = useState(\"\");\n\n const hasInvites = pendingInvitations.length > 0;\n const hasDomainMatches = domainMatches.length > 0;\n const userDomain = email.split(\"@\")[1] ?? \"\";\n const [showCreateForm, setShowCreateForm] = useState(\n !hasDomainMatches && !hasInvites,\n );\n\n const busy =\n createOrg.isPending || acceptInvitation.isPending || joinByDomain.isPending;\n\n return (\n <div\n className={\n \"flex h-full w-full items-center justify-center overflow-y-auto bg-background p-8 \" +\n (className ?? \"\")\n }\n >\n <div className=\"my-auto w-full max-w-md rounded-2xl border border-border bg-card p-8 shadow-lg\">\n <div className=\"mb-6 flex items-center gap-2\">\n <IconBuilding className=\"h-5 w-5 text-muted-foreground\" />\n <h1 className=\"text-lg font-semibold\">{title}</h1>\n </div>\n <p className=\"mb-6 text-sm text-muted-foreground\">{description}</p>\n\n {hasDomainMatches && (\n <div className=\"mb-4\">\n <div className=\"mb-2 text-[10px] uppercase tracking-wide text-muted-foreground\">\n {domainMatches.length === 1\n ? t(\"org.yourOrganization\")\n : t(\"org.joinYourTeam\")}\n </div>\n <ul className=\"space-y-2\">\n {domainMatches.map((match) => (\n <li\n key={match.orgId}\n className=\"flex items-center gap-3 rounded-lg border border-primary/50 bg-primary/5 px-4 py-3\"\n >\n <IconAt className=\"h-4 w-4 shrink-0 text-muted-foreground\" />\n <div className=\"min-w-0 flex-1\">\n <div className=\"truncate text-sm font-medium\">\n {match.orgName}\n </div>\n <div className=\"truncate text-xs text-muted-foreground\">\n {t(\"org.openToDomainEmails\", { domain: userDomain })}\n </div>\n </div>\n <button\n type=\"button\"\n disabled={busy}\n onClick={() => joinByDomain.mutate(match.orgId)}\n className=\"shrink-0 rounded-md bg-primary px-6 py-2.5 text-sm font-medium text-primary-foreground hover:bg-primary/90 disabled:opacity-50\"\n >\n {joinByDomain.isPending ? (\n <IconLoader2 className=\"h-3 w-3 animate-spin\" />\n ) : (\n t(\"org.joinOrg\", { name: match.orgName })\n )}\n </button>\n </li>\n ))}\n </ul>\n </div>\n )}\n\n {hasInvites && (\n <div className=\"mb-4\">\n <div className=\"mb-2 text-[10px] uppercase tracking-wide text-muted-foreground\">\n {t(\"org.pendingInvitations\")}\n </div>\n <ul className=\"space-y-2\">\n {pendingInvitations.map((inv) => (\n <li\n key={inv.id}\n className=\"flex items-center gap-3 rounded-lg border border-border bg-background px-3 py-2\"\n >\n <IconUserPlus className=\"h-4 w-4 shrink-0 text-muted-foreground\" />\n <div className=\"min-w-0 flex-1\">\n <div className=\"truncate text-sm font-medium\">\n {inv.orgName}\n </div>\n <div className=\"truncate text-xs text-muted-foreground\">\n {t(\"org.invitedBy\", { name: inv.invitedBy })}\n </div>\n </div>\n <button\n type=\"button\"\n disabled={busy}\n onClick={() => acceptInvitation.mutate(inv.id)}\n className=\"shrink-0 rounded-md bg-primary px-3 py-1.5 text-xs font-medium text-primary-foreground hover:bg-primary/90 disabled:opacity-50\"\n >\n {acceptInvitation.isPending ? (\n <IconLoader2 className=\"h-3 w-3 animate-spin\" />\n ) : (\n t(\"org.accept\")\n )}\n </button>\n </li>\n ))}\n </ul>\n </div>\n )}\n\n {(hasDomainMatches || hasInvites) && (\n <button\n type=\"button\"\n onClick={() => setShowCreateForm((v) => !v)}\n className=\"mb-4 flex w-full cursor-pointer items-center gap-3\"\n >\n <div className=\"h-px flex-1 bg-border\" />\n <span className=\"text-[10px] uppercase tracking-wide text-muted-foreground\">\n {t(\"org.createSeparate\")}\n </span>\n <div className=\"h-px flex-1 bg-border\" />\n </button>\n )}\n\n {showCreateForm && (\n <form\n onSubmit={async (e) => {\n e.preventDefault();\n const trimmed = name.trim();\n if (!trimmed) return;\n try {\n await createOrg.mutateAsync(trimmed);\n } catch {\n /* surfaced below */\n }\n }}\n className=\"space-y-3\"\n >\n <label className=\"block\">\n <span className=\"mb-1 block text-xs font-medium text-foreground\">\n {t(\"org.organizationName\")}\n </span>\n <input\n autoFocus={!hasDomainMatches && !hasInvites}\n value={name}\n onChange={(e) => setName(e.target.value)}\n placeholder={t(\"org.organizationPlaceholder\")}\n disabled={busy}\n className=\"w-full rounded-md border border-input bg-background px-3 py-2 text-sm outline-none focus:ring-2 focus:ring-ring disabled:opacity-50\"\n />\n </label>\n {createOrg.error && (\n <div className=\"text-xs text-red-600\">\n {(createOrg.error as Error).message}\n </div>\n )}\n {acceptInvitation.error && (\n <div className=\"text-xs text-red-600\">\n {(acceptInvitation.error as Error).message}\n </div>\n )}\n {joinByDomain.error && (\n <div className=\"text-xs text-red-600\">\n {(joinByDomain.error as Error).message}\n </div>\n )}\n <button\n type=\"submit\"\n disabled={busy || !name.trim()}\n className={\n hasDomainMatches\n ? \"w-full rounded-md border border-input bg-background px-4 py-2 text-sm font-medium text-foreground hover:bg-accent disabled:opacity-50\"\n : \"w-full rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90 disabled:opacity-50\"\n }\n >\n {createOrg.isPending\n ? t(\"org.creating\")\n : t(\"org.createOrganization\")}\n </button>\n </form>\n )}\n </div>\n </div>\n );\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TeamPage.d.ts","sourceRoot":"","sources":["../../../src/client/org/TeamPage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"TeamPage.d.ts","sourceRoot":"","sources":["../../../src/client/org/TeamPage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAiDlE,MAAM,WAAW,aAAa;IAC5B;;;OAGG;IACH,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,SAAS,KAAK,SAAS,CAAC;IAC5C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAiqCD;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,EACvB,MAAM,EACN,KAAK,EACL,oBAAoB,EACpB,SAAS,GACV,EAAE,aAAa,2CAyCf"}
|