@agent-native/core 0.100.2 → 0.101.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/corpus/README.md +2 -2
- package/corpus/core/CHANGELOG.md +83 -0
- package/corpus/core/docs/content/locales/ar-SA/pr-visual-recap.mdx +48 -30
- package/corpus/core/docs/content/locales/ar-SA/template-plan.mdx +7 -0
- package/corpus/core/docs/content/locales/de-DE/pr-visual-recap.mdx +48 -30
- package/corpus/core/docs/content/locales/de-DE/template-plan.mdx +7 -0
- package/corpus/core/docs/content/locales/es-ES/pr-visual-recap.mdx +48 -30
- package/corpus/core/docs/content/locales/es-ES/template-plan.mdx +14 -0
- package/corpus/core/docs/content/locales/fr-FR/pr-visual-recap.mdx +48 -30
- package/corpus/core/docs/content/locales/fr-FR/template-plan.mdx +7 -0
- package/corpus/core/docs/content/locales/hi-IN/pr-visual-recap.mdx +48 -30
- package/corpus/core/docs/content/locales/hi-IN/template-plan.mdx +7 -0
- package/corpus/core/docs/content/locales/ja-JP/pr-visual-recap.mdx +48 -30
- package/corpus/core/docs/content/locales/ja-JP/template-plan.mdx +7 -0
- package/corpus/core/docs/content/locales/ko-KR/pr-visual-recap.mdx +48 -30
- package/corpus/core/docs/content/locales/ko-KR/template-plan.mdx +7 -0
- package/corpus/core/docs/content/locales/pt-BR/pr-visual-recap.mdx +48 -30
- package/corpus/core/docs/content/locales/pt-BR/template-plan.mdx +14 -0
- package/corpus/core/docs/content/locales/zh-CN/pr-visual-recap.mdx +48 -30
- package/corpus/core/docs/content/locales/zh-CN/template-plan.mdx +7 -0
- package/corpus/core/docs/content/locales/zh-TW/pr-visual-recap.mdx +48 -30
- package/corpus/core/docs/content/locales/zh-TW/template-plan.mdx +7 -0
- package/corpus/core/docs/content/pr-visual-recap.mdx +50 -32
- package/corpus/core/docs/content/template-plan.mdx +14 -0
- package/corpus/core/docs/content/toolkit-comments-review.mdx +16 -2
- package/corpus/core/package.json +4 -1
- package/corpus/core/src/a2a/index.ts +2 -1
- package/corpus/core/src/a2a/server.ts +34 -9
- package/corpus/core/src/agent/production-agent.ts +56 -10
- package/corpus/core/src/cli/create.ts +47 -19
- package/corpus/core/src/cli/pr-visual-recap-workflow.ts +2 -3
- package/corpus/core/src/cli/recap.ts +3 -4932
- package/corpus/core/src/cli/skills-content/visual-plan-skill.ts +6 -4
- package/corpus/core/src/cli/skills-content/visual-recap-skill.ts +7 -1
- package/corpus/core/src/client/AgentPanel.tsx +19 -17
- package/corpus/core/src/client/analytics.ts +8 -1
- package/corpus/core/src/client/chat/markdown-renderer.tsx +54 -8
- package/corpus/core/src/client/chat/message-components.tsx +8 -2
- package/corpus/core/src/client/clipboard.ts +28 -1
- package/corpus/core/src/client/guided-questions.tsx +4 -0
- package/corpus/core/src/client/i18n.tsx +2 -1
- package/corpus/core/src/client/index.ts +4 -0
- package/corpus/core/src/client/review/ReviewCommentComposer.tsx +108 -0
- package/corpus/core/src/client/review/ReviewThreadPanel.tsx +482 -150
- package/corpus/core/src/client/review/index.ts +8 -0
- package/corpus/core/src/client/review/use-review.ts +35 -1
- package/corpus/core/src/client/use-agent-chat-context.ts +3 -2
- package/corpus/core/src/credentials/index.ts +41 -8
- package/corpus/core/src/extensions/fetch-tool.ts +33 -3
- package/corpus/core/src/notifications/channels.ts +20 -6
- package/corpus/core/src/review/actions/create-review-comment.ts +2 -1
- package/corpus/core/src/review/actions/get-review-feedback.ts +6 -11
- package/corpus/core/src/review/actions/list-review-comments.ts +38 -4
- package/corpus/core/src/review/actions/reply-review-comment.ts +33 -22
- package/corpus/core/src/review/actions/resolve-review-thread.ts +29 -2
- package/corpus/core/src/review/actions/send-review-thread-to-agent.ts +62 -0
- package/corpus/core/src/review/identity.ts +101 -0
- package/corpus/core/src/review/index.ts +14 -0
- package/corpus/core/src/review/store.ts +315 -8
- package/corpus/core/src/review/types.ts +4 -0
- package/corpus/core/src/secrets/crypto.ts +26 -10
- package/corpus/core/src/secrets/storage.ts +16 -3
- package/corpus/core/src/server/action-discovery.ts +4 -0
- package/corpus/core/src/server/action-routes.ts +125 -4
- package/corpus/core/src/server/agent-chat/plugin-options.ts +16 -0
- package/corpus/core/src/server/agent-chat-plugin.ts +61 -7
- package/corpus/core/src/server/derived-secret.ts +5 -1
- package/corpus/core/src/server/index.ts +8 -0
- package/corpus/core/src/vite/action-types-plugin.ts +4 -0
- package/corpus/templates/analytics/changelog/2026-07-14-daily-dashboard-email-captures-authenticate-with-a-sessi.md +6 -0
- package/corpus/templates/analytics/changelog/2026-07-14-long-running-cross-app-analyses-now-continue-reliably-in-the.md +6 -0
- package/corpus/templates/analytics/server/lib/dashboard-report.ts +156 -3
- package/corpus/templates/analytics/server/plugins/agent-chat.ts +8 -4
- package/corpus/templates/assets/app/components/generation/GenerationResults.tsx +402 -142
- package/corpus/templates/assets/app/i18n/zh-TW.ts +1 -0
- package/corpus/templates/assets/app/i18n-data.ts +1 -0
- package/corpus/templates/assets/app/routes/library.tsx +187 -48
- package/corpus/templates/assets/changelog/2026-07-13-merged-the-candidates-panel-into-the-library-as-a-drafts-tab.md +6 -0
- package/corpus/templates/chat/app/lib/agent-page.tsx +40 -0
- package/corpus/templates/chat/app/routes/agent.tsx +5 -3
- package/corpus/templates/chat/changelog/2026-07-14-fixed-chat-template-startup-with-older-core-versions.md +6 -0
- package/corpus/templates/clips/.agents/skills/ai-video-tools/SKILL.md +5 -0
- package/corpus/templates/clips/AGENTS.md +4 -0
- package/corpus/templates/clips/actions/get-feature-flags.ts +30 -0
- package/corpus/templates/clips/actions/lib/transcript-preview.ts +48 -0
- package/corpus/templates/clips/actions/request-transcript.ts +41 -1
- package/corpus/templates/clips/actions/view-screen.ts +5 -9
- package/corpus/templates/clips/app/components/library/library-layout.tsx +1 -1
- package/corpus/templates/clips/app/components/player/share-dialog.tsx +44 -81
- package/corpus/templates/clips/app/components/player/video-player.tsx +39 -1
- package/corpus/templates/clips/app/hooks/use-desktop-promo.ts +6 -12
- package/corpus/templates/clips/app/hooks/use-mse-video-source.ts +146 -0
- package/corpus/templates/clips/app/i18n/ar-SA.ts +0 -8
- package/corpus/templates/clips/app/i18n/de-DE.ts +0 -9
- package/corpus/templates/clips/app/i18n/en-US.ts +0 -8
- package/corpus/templates/clips/app/i18n/es-ES.ts +0 -9
- package/corpus/templates/clips/app/i18n/fr-FR.ts +0 -9
- package/corpus/templates/clips/app/i18n/hi-IN.ts +0 -8
- package/corpus/templates/clips/app/i18n/ja-JP.ts +0 -9
- package/corpus/templates/clips/app/i18n/ko-KR.ts +0 -9
- package/corpus/templates/clips/app/i18n/pt-BR.ts +0 -9
- package/corpus/templates/clips/app/i18n/zh-CN.ts +0 -7
- package/corpus/templates/clips/app/i18n/zh-TW.ts +0 -7
- package/corpus/templates/clips/app/lib/capture-install-options.ts +21 -0
- package/corpus/templates/clips/app/lib/fmp4.ts +271 -0
- package/corpus/templates/clips/app/lib/mse-video-loader.ts +585 -0
- package/corpus/templates/clips/app/routes/_app.dictate.tsx +0 -4
- package/corpus/templates/clips/app/routes/_app.meetings.$meetingId.tsx +5 -13
- package/corpus/templates/clips/app/routes/_app.meetings._index.tsx +2 -37
- package/corpus/templates/clips/app/routes/download.tsx +3 -2
- package/corpus/templates/clips/changelog/2026-07-10-shared-clips-now-start-playing-instantly-instead-of-showing-.md +6 -0
- package/corpus/templates/clips/changelog/2026-07-14-clips-now-distinguishes-transcript-previews-from-incomplete-.md +6 -0
- package/corpus/templates/clips/changelog/2026-07-14-desktop-app-prompts-stay-hidden-after-you-download-the-insta.md +6 -0
- package/corpus/templates/clips/changelog/2026-07-14-share-dialogs-show-separate-links-for-people-and-agents.md +6 -0
- package/corpus/templates/clips/desktop/src/lib/recorder.ts +5 -0
- package/corpus/templates/clips/desktop/src/overlays/recording-pill.tsx +10 -0
- package/corpus/templates/clips/desktop/src-tauri/src/lib.rs +4 -0
- package/corpus/templates/clips/desktop/src-tauri/src/native_screen/custom_capture.rs +2518 -0
- package/corpus/templates/clips/desktop/src-tauri/src/native_screen/live_upload.rs +353 -0
- package/corpus/templates/clips/desktop/src-tauri/src/native_screen.rs +558 -67
- package/corpus/templates/clips/desktop/src-tauri/src/recording_indicator.rs +11 -1
- package/corpus/templates/clips/desktop/src-tauri/src/remote_flags.rs +188 -0
- package/corpus/templates/clips/desktop/src-tauri/src/whisper_speech.rs +1 -1
- package/corpus/templates/clips/server/lib/post-finalize-dispatch.ts +1 -0
- package/corpus/templates/clips/server/plugins/agent-chat.ts +5 -0
- package/corpus/templates/clips/server/routes/api/_agent-native-background/post-finalize-worker.post.ts +5 -1
- package/corpus/templates/clips/shared/feature-flags.ts +41 -0
- package/corpus/templates/design/.agents/skills/design-generation/SKILL.md +3 -0
- package/corpus/templates/design/.agents/skills/design-review-feedback/SKILL.md +42 -0
- package/corpus/templates/design/AGENTS.md +6 -0
- package/corpus/templates/design/README.md +1 -0
- package/corpus/templates/design/actions/navigate.ts +4 -4
- package/corpus/templates/design/actions/view-screen.ts +116 -2
- package/corpus/templates/design/agent-native.app-skill.json +5 -0
- package/corpus/templates/design/app/components/design/DesignCanvas.tsx +52 -59
- package/corpus/templates/design/app/components/design/DesignExtensionsPanel.tsx +13 -9
- package/corpus/templates/design/app/components/design/EditPanel.tsx +79 -11
- package/corpus/templates/design/app/components/design/LayersPanel.tsx +78 -65
- package/corpus/templates/design/app/components/design/ReviewCommentsPanel.tsx +161 -0
- package/corpus/templates/design/app/components/design/ReviewStatusControl.tsx +96 -0
- package/corpus/templates/design/app/components/design/bridge/hit-test.bridge.ts +166 -0
- package/corpus/templates/design/app/components/layout/Layout.tsx +1 -0
- package/corpus/templates/design/app/components/visual-editor/ReviewCanvasPins.tsx +1077 -0
- package/corpus/templates/design/app/components/visual-editor/index.ts +1 -0
- package/corpus/templates/design/app/components/visual-editor/review-canvas-state.ts +42 -0
- package/corpus/templates/design/app/hooks/use-design-systems.ts +2 -2
- package/corpus/templates/design/app/hooks/use-navigation-state.ts +9 -6
- package/corpus/templates/design/app/hooks/use-question-flow.ts +7 -1
- package/corpus/templates/design/app/i18n/ar-SA.ts +56 -1
- package/corpus/templates/design/app/i18n/de-DE.ts +57 -1
- package/corpus/templates/design/app/i18n/en-US.ts +56 -1
- package/corpus/templates/design/app/i18n/es-ES.ts +56 -1
- package/corpus/templates/design/app/i18n/fr-FR.ts +57 -1
- package/corpus/templates/design/app/i18n/hi-IN.ts +56 -1
- package/corpus/templates/design/app/i18n/ja-JP.ts +56 -1
- package/corpus/templates/design/app/i18n/ko-KR.ts +56 -1
- package/corpus/templates/design/app/i18n/pt-BR.ts +57 -1
- package/corpus/templates/design/app/i18n/zh-CN.ts +56 -1
- package/corpus/templates/design/app/i18n/zh-TW.ts +51 -0
- package/corpus/templates/design/app/pages/Present.tsx +172 -14
- package/corpus/templates/design/app/pages/design-editor/overview-camera.ts +23 -0
- package/corpus/templates/design/app/pages/design-editor/tool-state.ts +10 -0
- package/corpus/templates/design/app/pages/present-review-state.ts +18 -0
- package/corpus/templates/design/app/public-routes.ts +8 -0
- package/corpus/templates/design/app/root.tsx +7 -6
- package/corpus/templates/design/changelog/2026-07-13-dragged-design-assets-now-appear-at-the-visible-drop-locatio.md +6 -0
- package/corpus/templates/design/changelog/2026-07-13-reviewers-can-pin-comments-on-shared-designs-and-apply-verif.md +6 -0
- package/corpus/templates/design/server/plugins/agent-chat.ts +10 -0
- package/corpus/templates/design/server/plugins/auth.ts +7 -5
- package/corpus/templates/design/server/plugins/review.ts +9 -0
- package/corpus/templates/design/shared/review-anchor.ts +83 -0
- package/corpus/templates/design/shared/review-summary.ts +25 -0
- package/corpus/templates/dispatch/changelog/2026-07-14-dispatch-now-distinguishes-connected-agents-from-locally-mou.md +6 -0
- package/corpus/templates/forms/.agents/skills/form-publishing/SKILL.md +2 -0
- package/corpus/templates/forms/AGENTS.md +4 -0
- package/corpus/templates/forms/actions/create-form.ts +2 -1
- package/corpus/templates/forms/actions/update-form.ts +5 -2
- package/corpus/templates/forms/app/i18n/ar-SA.ts +3 -0
- package/corpus/templates/forms/app/i18n/de-DE.ts +3 -0
- package/corpus/templates/forms/app/i18n/en-US.ts +3 -0
- package/corpus/templates/forms/app/i18n/es-ES.ts +3 -0
- package/corpus/templates/forms/app/i18n/fr-FR.ts +3 -0
- package/corpus/templates/forms/app/i18n/hi-IN.ts +3 -0
- package/corpus/templates/forms/app/i18n/ja-JP.ts +3 -0
- package/corpus/templates/forms/app/i18n/ko-KR.ts +3 -0
- package/corpus/templates/forms/app/i18n/pt-BR.ts +3 -0
- package/corpus/templates/forms/app/i18n/zh-CN.ts +3 -0
- package/corpus/templates/forms/app/i18n/zh-TW.ts +3 -0
- package/corpus/templates/forms/app/pages/FormBuilderPage.tsx +19 -0
- package/corpus/templates/forms/changelog/2026-07-14-fixed-the-ask-forms-loading-input-appearing-above-the-welcom.md +6 -0
- package/corpus/templates/forms/changelog/2026-07-14-form-social-previews-now-show-the-form-title-description-and.md +6 -0
- package/corpus/templates/forms/changelog/2026-07-14-forms-can-email-the-form-owner-when-new-responses-arrive.md +6 -0
- package/corpus/templates/forms/server/handlers/submissions.ts +17 -0
- package/corpus/templates/forms/server/lib/form-og-image.ts +64 -6
- package/corpus/templates/forms/server/lib/public-form-ssr.ts +6 -2
- package/corpus/templates/forms/server/lib/response-email.ts +65 -0
- package/corpus/templates/forms/server/plugins/agent-chat.ts +1 -0
- package/corpus/templates/forms/server/routes/api/forms/og/[...slug]/og.png.get.ts +184 -0
- package/corpus/templates/forms/shared/types.ts +2 -0
- package/corpus/templates/plan/.agents/skills/visual-plan/SKILL.md +6 -4
- package/corpus/templates/plan/.agents/skills/visual-recap/SKILL.md +7 -1
- package/dist/a2a/index.d.ts +2 -1
- package/dist/a2a/index.d.ts.map +1 -1
- package/dist/a2a/index.js +1 -1
- package/dist/a2a/index.js.map +1 -1
- package/dist/a2a/server.d.ts +25 -0
- package/dist/a2a/server.d.ts.map +1 -1
- package/dist/a2a/server.js +30 -6
- package/dist/a2a/server.js.map +1 -1
- package/dist/agent/production-agent.d.ts +2 -0
- package/dist/agent/production-agent.d.ts.map +1 -1
- package/dist/agent/production-agent.js +37 -12
- package/dist/agent/production-agent.js.map +1 -1
- package/dist/cli/create.d.ts +5 -3
- package/dist/cli/create.d.ts.map +1 -1
- package/dist/cli/create.js +44 -19
- package/dist/cli/create.js.map +1 -1
- package/dist/cli/pr-visual-recap-workflow.d.ts +2 -2
- package/dist/cli/pr-visual-recap-workflow.d.ts.map +1 -1
- package/dist/cli/pr-visual-recap-workflow.js +2 -2
- package/dist/cli/pr-visual-recap-workflow.js.map +1 -1
- package/dist/cli/recap.d.ts +3 -562
- package/dist/cli/recap.d.ts.map +1 -1
- package/dist/cli/recap.js +3 -3875
- package/dist/cli/recap.js.map +1 -1
- package/dist/cli/skills-content/visual-plan-skill.d.ts +1 -1
- package/dist/cli/skills-content/visual-plan-skill.d.ts.map +1 -1
- package/dist/cli/skills-content/visual-plan-skill.js +6 -4
- package/dist/cli/skills-content/visual-plan-skill.js.map +1 -1
- package/dist/cli/skills-content/visual-recap-skill.d.ts +1 -1
- package/dist/cli/skills-content/visual-recap-skill.d.ts.map +1 -1
- package/dist/cli/skills-content/visual-recap-skill.js +7 -1
- package/dist/cli/skills-content/visual-recap-skill.js.map +1 -1
- package/dist/client/AgentPanel.d.ts.map +1 -1
- package/dist/client/AgentPanel.js +3 -3
- package/dist/client/AgentPanel.js.map +1 -1
- package/dist/client/analytics.d.ts +5 -0
- package/dist/client/analytics.d.ts.map +1 -1
- package/dist/client/analytics.js +3 -1
- package/dist/client/analytics.js.map +1 -1
- package/dist/client/chat/markdown-renderer.d.ts +1 -0
- package/dist/client/chat/markdown-renderer.d.ts.map +1 -1
- package/dist/client/chat/markdown-renderer.js +36 -1
- package/dist/client/chat/markdown-renderer.js.map +1 -1
- package/dist/client/chat/message-components.d.ts.map +1 -1
- package/dist/client/chat/message-components.js +5 -2
- package/dist/client/chat/message-components.js.map +1 -1
- package/dist/client/clipboard.d.ts +3 -1
- package/dist/client/clipboard.d.ts.map +1 -1
- package/dist/client/clipboard.js +24 -1
- package/dist/client/clipboard.js.map +1 -1
- package/dist/client/guided-questions.d.ts +3 -1
- package/dist/client/guided-questions.d.ts.map +1 -1
- package/dist/client/guided-questions.js +2 -1
- package/dist/client/guided-questions.js.map +1 -1
- package/dist/client/i18n.d.ts.map +1 -1
- package/dist/client/i18n.js +3 -1
- package/dist/client/i18n.js.map +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +1 -1
- package/dist/client/index.js.map +1 -1
- package/dist/client/review/ReviewCommentComposer.d.ts +18 -0
- package/dist/client/review/ReviewCommentComposer.d.ts.map +1 -0
- package/dist/client/review/ReviewCommentComposer.js +30 -0
- package/dist/client/review/ReviewCommentComposer.js.map +1 -0
- package/dist/client/review/ReviewThreadPanel.d.ts +28 -1
- package/dist/client/review/ReviewThreadPanel.d.ts.map +1 -1
- package/dist/client/review/ReviewThreadPanel.js +151 -39
- package/dist/client/review/ReviewThreadPanel.js.map +1 -1
- package/dist/client/review/index.d.ts +3 -2
- package/dist/client/review/index.d.ts.map +1 -1
- package/dist/client/review/index.js +2 -1
- package/dist/client/review/index.js.map +1 -1
- package/dist/client/review/use-review.d.ts +23 -0
- package/dist/client/review/use-review.d.ts.map +1 -1
- package/dist/client/review/use-review.js +3 -0
- package/dist/client/review/use-review.js.map +1 -1
- package/dist/client/use-agent-chat-context.d.ts +1 -1
- package/dist/client/use-agent-chat-context.d.ts.map +1 -1
- package/dist/client/use-agent-chat-context.js +4 -2
- package/dist/client/use-agent-chat-context.js.map +1 -1
- package/dist/collab/awareness.d.ts +2 -2
- package/dist/collab/awareness.d.ts.map +1 -1
- package/dist/collab/struct-routes.d.ts +1 -1
- package/dist/credentials/index.d.ts +12 -7
- package/dist/credentials/index.d.ts.map +1 -1
- package/dist/credentials/index.js +33 -8
- package/dist/credentials/index.js.map +1 -1
- package/dist/extensions/fetch-tool.d.ts +13 -1
- package/dist/extensions/fetch-tool.d.ts.map +1 -1
- package/dist/extensions/fetch-tool.js +9 -2
- package/dist/extensions/fetch-tool.js.map +1 -1
- package/dist/notifications/channels.js +20 -4
- package/dist/notifications/channels.js.map +1 -1
- package/dist/observability/routes.d.ts +5 -5
- package/dist/progress/routes.d.ts +1 -1
- package/dist/provider-api/corpus-jobs.d.ts +2 -2
- package/dist/resources/handlers.d.ts +3 -3
- package/dist/review/actions/create-review-comment.js +2 -1
- package/dist/review/actions/create-review-comment.js.map +1 -1
- package/dist/review/actions/get-review-feedback.js +6 -11
- package/dist/review/actions/get-review-feedback.js.map +1 -1
- package/dist/review/actions/list-review-comments.d.ts +1 -0
- package/dist/review/actions/list-review-comments.js +25 -4
- package/dist/review/actions/list-review-comments.js.map +1 -1
- package/dist/review/actions/reply-review-comment.js +12 -5
- package/dist/review/actions/reply-review-comment.js.map +1 -1
- package/dist/review/actions/resolve-review-thread.d.ts +3 -0
- package/dist/review/actions/resolve-review-thread.js +20 -3
- package/dist/review/actions/resolve-review-thread.js.map +1 -1
- package/dist/review/actions/send-review-thread-to-agent.d.ts +17 -0
- package/dist/review/actions/send-review-thread-to-agent.d.ts.map +1 -0
- package/dist/review/actions/send-review-thread-to-agent.js +49 -0
- package/dist/review/actions/send-review-thread-to-agent.js.map +1 -0
- package/dist/review/identity.d.ts +6 -0
- package/dist/review/identity.d.ts.map +1 -0
- package/dist/review/identity.js +68 -0
- package/dist/review/identity.js.map +1 -0
- package/dist/review/index.d.ts +3 -1
- package/dist/review/index.d.ts.map +1 -1
- package/dist/review/index.js +2 -1
- package/dist/review/index.js.map +1 -1
- package/dist/review/store.d.ts +36 -0
- package/dist/review/store.d.ts.map +1 -1
- package/dist/review/store.js +223 -8
- package/dist/review/store.js.map +1 -1
- package/dist/review/types.d.ts +4 -0
- package/dist/review/types.d.ts.map +1 -1
- package/dist/review/types.js.map +1 -1
- package/dist/secrets/crypto.d.ts +15 -7
- package/dist/secrets/crypto.d.ts.map +1 -1
- package/dist/secrets/crypto.js +23 -10
- package/dist/secrets/crypto.js.map +1 -1
- package/dist/secrets/routes.d.ts +9 -9
- package/dist/secrets/storage.d.ts.map +1 -1
- package/dist/secrets/storage.js +16 -3
- package/dist/secrets/storage.js.map +1 -1
- package/dist/server/action-discovery.d.ts.map +1 -1
- package/dist/server/action-discovery.js +4 -0
- package/dist/server/action-discovery.js.map +1 -1
- package/dist/server/action-routes.d.ts +45 -0
- package/dist/server/action-routes.d.ts.map +1 -1
- package/dist/server/action-routes.js +71 -5
- package/dist/server/action-routes.js.map +1 -1
- package/dist/server/agent-chat/plugin-options.d.ts +16 -0
- package/dist/server/agent-chat/plugin-options.d.ts.map +1 -1
- package/dist/server/agent-chat/plugin-options.js.map +1 -1
- package/dist/server/agent-chat-plugin.d.ts +20 -0
- package/dist/server/agent-chat-plugin.d.ts.map +1 -1
- package/dist/server/agent-chat-plugin.js +39 -4
- package/dist/server/agent-chat-plugin.js.map +1 -1
- package/dist/server/derived-secret.d.ts +1 -1
- package/dist/server/derived-secret.d.ts.map +1 -1
- package/dist/server/derived-secret.js.map +1 -1
- package/dist/server/index.d.ts +3 -1
- package/dist/server/index.d.ts.map +1 -1
- package/dist/server/index.js +2 -0
- package/dist/server/index.js.map +1 -1
- package/dist/vite/action-types-plugin.d.ts.map +1 -1
- package/dist/vite/action-types-plugin.js +4 -0
- package/dist/vite/action-types-plugin.js.map +1 -1
- package/docs/content/locales/ar-SA/pr-visual-recap.mdx +48 -30
- package/docs/content/locales/ar-SA/template-plan.mdx +7 -0
- package/docs/content/locales/de-DE/pr-visual-recap.mdx +48 -30
- package/docs/content/locales/de-DE/template-plan.mdx +7 -0
- package/docs/content/locales/es-ES/pr-visual-recap.mdx +48 -30
- package/docs/content/locales/es-ES/template-plan.mdx +14 -0
- package/docs/content/locales/fr-FR/pr-visual-recap.mdx +48 -30
- package/docs/content/locales/fr-FR/template-plan.mdx +7 -0
- package/docs/content/locales/hi-IN/pr-visual-recap.mdx +48 -30
- package/docs/content/locales/hi-IN/template-plan.mdx +7 -0
- package/docs/content/locales/ja-JP/pr-visual-recap.mdx +48 -30
- package/docs/content/locales/ja-JP/template-plan.mdx +7 -0
- package/docs/content/locales/ko-KR/pr-visual-recap.mdx +48 -30
- package/docs/content/locales/ko-KR/template-plan.mdx +7 -0
- package/docs/content/locales/pt-BR/pr-visual-recap.mdx +48 -30
- package/docs/content/locales/pt-BR/template-plan.mdx +14 -0
- package/docs/content/locales/zh-CN/pr-visual-recap.mdx +48 -30
- package/docs/content/locales/zh-CN/template-plan.mdx +7 -0
- package/docs/content/locales/zh-TW/pr-visual-recap.mdx +48 -30
- package/docs/content/locales/zh-TW/template-plan.mdx +7 -0
- package/docs/content/pr-visual-recap.mdx +50 -32
- package/docs/content/template-plan.mdx +14 -0
- package/docs/content/toolkit-comments-review.mdx +16 -2
- package/package.json +4 -1
- package/corpus/templates/clips/app/components/sharing/slack-share-hint.tsx +0 -68
- package/corpus/templates/forms/server/routes/api/forms/og/[slug]/og.png.get.ts +0 -45
package/dist/client/i18n.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.js","sourceRoot":"","sources":["../../src/client/i18n.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC/E,OAAO,OAAsC,MAAM,SAAS,CAAC;AAC7D,OAAc,EACZ,aAAa,EACb,WAAW,EACX,UAAU,EACV,SAAS,EACT,OAAO,EACP,MAAM,EACN,QAAQ,GACT,MAAM,OAAO,CAAC;AACf,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,cAAc,GACf,MAAM,eAAe,CAAC;AAEvB,OAAO,sBAAsB,MAAM,qCAAqC,CAAC;AACzE,OAAO,EACL,cAAc,EACd,uBAAuB,EACvB,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,eAAe,EACf,+BAA+B,EAC/B,2BAA2B,EAC3B,2BAA2B,GAK5B,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,WAAW,CAC7C,iBACW,MAAM,GAClB,EACF,eAAM,SAAS,EAAC,UAAU,YAAE,MAAM,CAAC,KAAK,GAAQ,KApB3C,MAAM,CAAC,KAAK,CAqBV,CACV,CAAC;wBACJ,CAAC,CAAC,GACuB,GACH,IACJ,GACpB,CACP,CAAC;AACJ,CAAC","sourcesContent":["import * as PopoverPrimitive from \"@radix-ui/react-popover\";\nimport { IconCheck, IconChevronDown, IconLanguage } from \"@tabler/icons-react\";\nimport i18next, { type i18n as I18nInstance } from \"i18next\";\nimport React, {\n createContext,\n useCallback,\n useContext,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from \"react\";\nimport {\n I18nextProvider,\n initReactI18next,\n useTranslation,\n} from \"react-i18next\";\n\nimport defaultEnglishMessages from \"../localization/default-messages.js\";\nimport {\n DEFAULT_LOCALE,\n LOCALE_HYDRATION_GLOBAL,\n LOCALE_METADATA,\n LOCALE_STORAGE_KEY,\n SUPPORTED_LOCALES,\n localeDirection,\n normalizeLocalizationPreference,\n resolveLocaleFromCandidates,\n resolveLocaleFromPreference,\n type LocaleCode,\n type LocaleMetadata,\n type LocalePreference,\n type LocalizationPreference,\n} from \"../localization/shared.js\";\nimport { setClientAppState } from \"./application-state.js\";\nimport { callAction } from \"./use-action.js\";\nimport { cn } from \"./utils.js\";\n\nexport {\n DEFAULT_LOCALE,\n LOCALE_HYDRATION_GLOBAL,\n LOCALE_METADATA,\n LOCALE_STORAGE_KEY,\n SUPPORTED_LOCALES,\n localeDirection,\n normalizeLocaleCode,\n normalizeLocalePreference,\n normalizeLocalizationPreference,\n resolveLocaleFromCandidates,\n resolveLocaleFromPreference,\n type LocaleCode,\n type LocaleMetadata,\n type LocalePreference,\n type LocalizationPreference,\n} from \"../localization/shared.js\";\nexport { getLocaleInitScript } from \"../localization/server.js\";\n\nexport type LocaleMessages = Record<string, unknown>;\n\nexport interface LocaleHydrationPayload {\n locale?: LocaleCode;\n preference?: LocalizationPreference;\n dir?: \"ltr\" | \"rtl\";\n messages?: LocaleMessages;\n}\n\nexport interface AgentNativeI18nCatalog {\n namespace?: string;\n sourceLocale?: LocaleCode;\n messages?: LocaleMessages;\n loadMessages?: (locale: LocaleCode) => Promise<LocaleMessages | null>;\n}\n\nexport interface AgentNativeI18nProviderProps {\n children: React.ReactNode;\n catalog?: AgentNativeI18nCatalog;\n initialLocale?: LocaleCode;\n initialPreference?: LocalizationPreference | LocalePreference;\n initialMessages?: LocaleMessages | null;\n persistPreference?: boolean;\n}\n\ninterface LocaleContextValue {\n locale: LocaleCode;\n sourceLocale: LocaleCode;\n preference: LocalePreference;\n dir: \"ltr\" | \"rtl\";\n metadata: LocaleMetadata;\n setPreference: (preference: LocalePreference) => Promise<void>;\n loading: boolean;\n}\n\ndeclare global {\n var __AGENT_NATIVE_LOCALE_CONTEXT__:\n | React.Context<LocaleContextValue | null>\n | undefined;\n interface Window {\n __AGENT_NATIVE_LOCALE__?: LocaleHydrationPayload;\n }\n}\n\nconst LocaleContext =\n globalThis.__AGENT_NATIVE_LOCALE_CONTEXT__ ??\n (globalThis.__AGENT_NATIVE_LOCALE_CONTEXT__ =\n createContext<LocaleContextValue | null>(null));\n\nconst LANGUAGE_PICKER_COPY: Record<\n LocaleCode,\n { label: string; system: string; systemDescription: string }\n> = {\n \"en-US\": {\n label: \"Language\",\n system: \"System\",\n systemDescription: \"Use your browser language\",\n },\n \"zh-CN\": {\n label: \"语言\",\n system: \"系统\",\n systemDescription: \"使用浏览器语言\",\n },\n \"zh-TW\": {\n label: \"語言\",\n system: \"系統\",\n systemDescription: \"使用瀏覽器語言\",\n },\n \"es-ES\": {\n label: \"Idioma\",\n system: \"Sistema\",\n systemDescription: \"Usar el idioma del navegador\",\n },\n \"fr-FR\": {\n label: \"Langue\",\n system: \"Système\",\n systemDescription: \"Utiliser la langue du navigateur\",\n },\n \"de-DE\": {\n label: \"Sprache\",\n system: \"System\",\n systemDescription: \"Browsersprache verwenden\",\n },\n \"ja-JP\": {\n label: \"言語\",\n system: \"システム\",\n systemDescription: \"ブラウザーの言語を使用\",\n },\n \"ko-KR\": {\n label: \"언어\",\n system: \"시스템\",\n systemDescription: \"브라우저 언어 사용\",\n },\n \"pt-BR\": {\n label: \"Idioma\",\n system: \"Sistema\",\n systemDescription: \"Usar o idioma do navegador\",\n },\n \"hi-IN\": {\n label: \"भाषा\",\n system: \"सिस्टम\",\n systemDescription: \"ब्राउज़र की भाषा का उपयोग करें\",\n },\n \"ar-SA\": {\n label: \"اللغة\",\n system: \"النظام\",\n systemDescription: \"استخدام لغة المتصفح\",\n },\n};\n\nfunction browserLanguageCandidates(): string[] {\n if (typeof navigator === \"undefined\") return [];\n return navigator.languages?.length\n ? [...navigator.languages]\n : navigator.language\n ? [navigator.language]\n : [];\n}\n\nfunction readStoredPreference(): LocalePreference | null {\n if (typeof window === \"undefined\") return null;\n try {\n return normalizeLocalizationPreference(\n window.localStorage.getItem(LOCALE_STORAGE_KEY),\n ).locale;\n } catch {\n return null;\n }\n}\n\nfunction writeStoredPreference(preference: LocalePreference) {\n if (typeof window === \"undefined\") return;\n try {\n window.localStorage.setItem(LOCALE_STORAGE_KEY, preference);\n } catch {\n // Ignore storage-denied browsers; the in-memory provider state still works.\n }\n}\n\nfunction readHydrationPayload(): LocaleHydrationPayload {\n if (typeof window === \"undefined\") return {};\n return window[LOCALE_HYDRATION_GLOBAL] ?? {};\n}\n\nfunction resolveInitialState(args: {\n initialLocale?: LocaleCode;\n initialPreference?: LocalizationPreference | LocalePreference;\n}): { locale: LocaleCode; preference: LocalePreference } {\n const hydration = readHydrationPayload();\n const preference = normalizeLocalizationPreference(\n args.initialPreference ?? hydration.preference ?? readStoredPreference(),\n ).locale;\n const locale =\n args.initialLocale ??\n hydration.locale ??\n resolveLocaleFromPreference(preference, browserLanguageCandidates());\n return { locale, preference };\n}\n\nfunction normalizeLoadedMessages(value: unknown): LocaleMessages | null {\n if (!value || typeof value !== \"object\" || Array.isArray(value)) return null;\n const maybeDefault = (value as { default?: unknown }).default;\n if (\n maybeDefault &&\n typeof maybeDefault === \"object\" &&\n !Array.isArray(maybeDefault)\n ) {\n return maybeDefault as LocaleMessages;\n }\n return value as LocaleMessages;\n}\n\nfunction createI18nInstance(args: {\n namespace: string;\n sourceLocale: LocaleCode;\n messages: LocaleMessages;\n initialLocale: LocaleCode;\n initialMessages?: LocaleMessages | null;\n}): I18nInstance {\n const instance = i18next.createInstance();\n const resources: Record<string, Record<string, LocaleMessages>> = {\n [args.sourceLocale]: {\n [args.namespace]: args.messages,\n },\n };\n if (args.initialLocale !== args.sourceLocale && args.initialMessages) {\n resources[args.initialLocale] = {\n [args.namespace]: args.initialMessages,\n };\n }\n void instance.use(initReactI18next).init({\n resources,\n lng: args.initialLocale,\n fallbackLng: args.sourceLocale,\n defaultNS: args.namespace,\n ns: [args.namespace],\n interpolation: { escapeValue: false },\n react: { useSuspense: false },\n returnNull: false,\n initAsync: false,\n });\n return instance;\n}\n\nexport function AgentNativeI18nProvider({\n children,\n catalog,\n initialLocale,\n initialPreference,\n initialMessages,\n persistPreference = true,\n}: AgentNativeI18nProviderProps) {\n const namespace = catalog?.namespace ?? \"translation\";\n const sourceLocale = catalog?.sourceLocale ?? DEFAULT_LOCALE;\n const sourceMessages = catalog?.messages ?? {};\n const loadMessages = catalog?.loadMessages;\n const hydration = readHydrationPayload();\n const initialState = useMemo(\n () => resolveInitialState({ initialLocale, initialPreference }),\n [initialLocale, initialPreference],\n );\n const [preference, setPreferenceState] = useState<LocalePreference>(\n initialState.preference,\n );\n const [locale, setLocale] = useState<LocaleCode>(initialState.locale);\n const [loading, setLoading] = useState(false);\n const i18nRef = useRef<I18nInstance | null>(null);\n\n if (!i18nRef.current) {\n const preloadedMessages = normalizeLoadedMessages(\n hydration.locale === initialState.locale && hydration.messages\n ? hydration.messages\n : initialMessages,\n );\n i18nRef.current = createI18nInstance({\n namespace,\n sourceLocale,\n messages:\n hydration.locale === sourceLocale && hydration.messages\n ? hydration.messages\n : sourceMessages,\n initialLocale: initialState.locale,\n initialMessages: preloadedMessages,\n });\n }\n\n const i18n = i18nRef.current;\n\n useEffect(() => {\n if (i18n.hasResourceBundle(sourceLocale, namespace)) {\n i18n.addResourceBundle(\n sourceLocale,\n namespace,\n sourceMessages,\n true,\n true,\n );\n }\n }, [i18n, namespace, sourceLocale, sourceMessages]);\n\n useEffect(() => {\n const nextLocale =\n preference === \"system\"\n ? resolveLocaleFromCandidates(browserLanguageCandidates())\n : preference;\n setLocale(nextLocale);\n }, [preference]);\n\n useEffect(() => {\n let cancelled = false;\n\n async function applyLocale() {\n setLoading(true);\n try {\n if (\n locale !== sourceLocale &&\n !i18n.hasResourceBundle(locale, namespace)\n ) {\n const preloaded =\n hydration.locale === locale && hydration.messages\n ? hydration.messages\n : initialLocale === locale && initialMessages\n ? initialMessages\n : null;\n const loaded = preloaded ?? (await loadMessages?.(locale));\n const messages = normalizeLoadedMessages(loaded);\n if (messages) {\n i18n.addResourceBundle(locale, namespace, messages, true, true);\n }\n }\n if (!cancelled) {\n await i18n.changeLanguage(locale);\n }\n } finally {\n if (!cancelled) setLoading(false);\n }\n }\n\n void applyLocale();\n return () => {\n cancelled = true;\n };\n }, [\n hydration.locale,\n hydration.messages,\n i18n,\n initialLocale,\n initialMessages,\n loadMessages,\n locale,\n namespace,\n sourceLocale,\n ]);\n\n useEffect(() => {\n if (typeof document === \"undefined\") return;\n const dir = localeDirection(locale);\n const root = document.documentElement;\n root.setAttribute(\"lang\", locale);\n root.setAttribute(\"dir\", dir);\n root.setAttribute(\"data-locale\", locale);\n }, [locale]);\n\n useEffect(() => {\n if (!persistPreference) return;\n let cancelled = false;\n callAction<LocalizationPreference>(\n \"get-localization-preference\",\n undefined,\n { method: \"GET\" },\n )\n .then((value) => {\n if (cancelled) return;\n const normalized = normalizeLocalizationPreference(value).locale;\n setPreferenceState(normalized);\n writeStoredPreference(normalized);\n })\n .catch(() => {\n // Anonymous/public routes use localStorage/browser language only.\n });\n return () => {\n cancelled = true;\n };\n }, [persistPreference]);\n\n useEffect(() => {\n if (typeof window === \"undefined\") return;\n const onStorage = (event: StorageEvent) => {\n if (event.key !== LOCALE_STORAGE_KEY || event.newValue == null) return;\n setPreferenceState(\n normalizeLocalizationPreference(event.newValue).locale,\n );\n };\n window.addEventListener(\"storage\", onStorage);\n return () => window.removeEventListener(\"storage\", onStorage);\n }, []);\n\n useEffect(() => {\n void setClientAppState(\n \"localization\",\n {\n locale,\n preference,\n dir: localeDirection(locale),\n },\n { requestSource: \"localization\" },\n ).catch(() => {\n // Public/anonymous pages cannot write app-state; localization still works.\n });\n }, [locale, preference]);\n\n const setPreference = useCallback(\n async (next: LocalePreference) => {\n const normalized = normalizeLocalizationPreference(next).locale;\n setPreferenceState(normalized);\n writeStoredPreference(normalized);\n if (!persistPreference) return;\n try {\n await callAction<LocalizationPreference>(\n \"set-localization-preference\",\n {\n locale: normalized,\n },\n );\n } catch (error) {\n const status = (error as { status?: unknown })?.status;\n if (status !== 401 && status !== 403) {\n throw error;\n }\n }\n },\n [persistPreference],\n );\n\n const context = useMemo<LocaleContextValue>(\n () => ({\n locale,\n sourceLocale,\n preference,\n dir: localeDirection(locale),\n metadata: LOCALE_METADATA[locale],\n setPreference,\n loading,\n }),\n [loading, locale, preference, setPreference, sourceLocale],\n );\n\n return (\n <LocaleContext.Provider value={context}>\n <I18nextProvider i18n={i18n}>{children}</I18nextProvider>\n </LocaleContext.Provider>\n );\n}\n\nexport function useLocale(): LocaleContextValue {\n const value = useContext(LocaleContext);\n if (!value) {\n throw new Error(\"useLocale must be used within AgentNativeI18nProvider\");\n }\n return value;\n}\n\nexport function useOptionalLocale(): LocaleContextValue | null {\n return useContext(LocaleContext);\n}\n\nconst CORE_FALLBACK_MESSAGES: Record<string, string> = {\n \"runsTray.runs\": \"Runs\",\n \"runsTray.agentRuns\": \"Agent runs\",\n \"runsTray.activeRun_one\": \"{{count}} active run\",\n \"runsTray.activeRun_other\": \"{{count}} active runs\",\n \"runsTray.failedRun_one\": \"{{count}} failed run\",\n \"runsTray.failedRun_other\": \"{{count}} failed runs\",\n \"runsTray.recentRuns\": \"Recent runs\",\n \"runsTray.noRecentRuns\": \"No recent runs\",\n \"runsTray.ariaAgentRuns\": \"Agent runs, {{label}}\",\n \"runsTray.summaryRunning\": \"{{activeCount}} running\",\n \"runsTray.summaryRunningRecent\":\n \"{{activeCount}} running · {{terminalCount}} recent\",\n \"runsTray.summaryRecent_one\": \"{{count}} recent run\",\n \"runsTray.summaryRecent_other\": \"{{count}} recent runs\",\n \"runsTray.noTrackedWorkYet\": \"No tracked work yet\",\n \"runsTray.emptyDescription\":\n \"Background agent work will appear here while it runs and after it finishes.\",\n \"runsTray.open\": \"Open\",\n \"runsTray.stopRun\": \"Stop {{title}}\",\n \"runsTray.hideRun\": \"Hide {{title}}\",\n \"runsTray.statusRunning\": \"Running\",\n \"runsTray.statusDone\": \"Done\",\n \"runsTray.statusFailed\": \"Failed\",\n \"runsTray.statusStopped\": \"Stopped\",\n \"runsTray.updatedJustNow\": \"Updated just now\",\n \"runsTray.finishedJustNow\": \"Finished just now\",\n \"runsTray.updatedMinutes\": \"Updated {{count}}m ago\",\n \"runsTray.finishedMinutes\": \"Finished {{count}}m ago\",\n \"runsTray.updatedHours\": \"Updated {{count}}h ago\",\n \"runsTray.finishedHours\": \"Finished {{count}}h ago\",\n \"runsTray.updatedDate\": \"Updated {{date}}\",\n \"runsTray.finishedDate\": \"Finished {{date}}\",\n \"codeRequired.fallbackDetail\":\n \"Edit locally or use Builder.io to edit this code in the cloud and continue customizing the app any way you like.\",\n \"codeRequired.defaultFeature\": \"Make the requested code changes to this app\",\n \"codeRequired.branchError\": \"Failed to create branch\",\n \"codeRequired.title\": \"Code changes required\",\n \"codeRequired.subtitleWithFeature\":\n '\"{{feature}}\" creates or modifies source code, which needs Desktop or Builder from this surface.',\n \"codeRequired.subtitle\":\n \"This action creates or modifies source code, which needs Desktop or Builder from this surface.\",\n \"codeRequired.desktopTitle\": \"Use Agent Native Desktop\",\n \"codeRequired.desktopDescription\":\n \"Open the project in the desktop app to enable source edits and CLI access.\",\n \"codeRequired.builderAgentTitle\": \"Use Builder.io Agent\",\n \"codeRequired.builderAgentDescription\":\n \"Let our cloud agent make the changes for you. You'll get a link to preview and deploy.\",\n \"codeRequired.codeChangeTitle\": \"This requires a code change\",\n \"codeRequired.codeChangeBadge\": \"Code change\",\n \"codeRequired.connectBuilderTitle\": \"Connect Builder.io\",\n \"codeRequired.connectBuilderDescription\":\n \"Connect Builder to enable cloud-based code changes from this app.\",\n \"codeRequired.setupRequired\": \"Setup required\",\n \"codeRequired.branchCreated\": \"Branch created\",\n \"codeRequired.close\": \"Close\",\n \"agentPanel.useBuilder\": \"Use Builder\",\n \"agentPanel.openDesktopToEditCode\": \"Open Desktop to edit code\",\n \"agentPanel.codeUnavailableDescription\":\n \"Source-code changes and CLI access are available in the Agent Native Desktop app.\",\n \"agentPanel.downloadDesktop\": \"Download Desktop\",\n \"agentPanel.chatMode\": \"Chat mode\",\n \"agentPanel.chat\": \"Chat\",\n \"agentPanel.cliTerminalMode\": \"CLI terminal mode\",\n \"agentPanel.cli\": \"CLI\",\n \"agentPanel.workspaceMode\": \"Workspace files, agents, skills, and tasks\",\n \"agentPanel.workspace\": \"Workspace\",\n \"agentPanel.newChat\": \"New chat\",\n \"agentPanel.newTerminal\": \"New terminal\",\n \"agentPanel.panelOptions\": \"Agent panel options\",\n \"agentPanel.collapseSidebar\": \"Collapse sidebar\",\n \"agentPanel.hideChats\": \"Hide chats\",\n \"agentPanel.allChats\": \"All chats\",\n \"agentPanel.settings\": \"Settings\",\n \"agentPanel.feedback\": \"Feedback\",\n \"agentPanel.exitFullscreen\": \"Exit fullscreen\",\n \"agentPanel.fullscreen\": \"Fullscreen\",\n \"agentPanel.closeTab\": \"Close tab\",\n \"agentPanel.closeOtherTabs\": \"Close other tabs\",\n \"agentPanel.closeAllTabs\": \"Close all tabs\",\n \"agentPanel.clearChat\": \"Clear chat\",\n \"agentPanel.cliRequiresDevMode\": \"CLI requires dev mode\",\n \"agentPanel.cliRequiresDevModeDescription\":\n \"Run this app locally with pnpm dev or use Builder.io to access the CLI terminal.\",\n \"agentPanel.toggleAgent\": \"Toggle agent\",\n};\n\nfunction flattenMessages(\n value: unknown,\n prefix = \"\",\n out: Record<string, string> = {},\n) {\n if (!value || typeof value !== \"object\" || Array.isArray(value)) return out;\n for (const [key, child] of Object.entries(value)) {\n const nextKey = prefix ? `${prefix}.${key}` : key;\n if (typeof child === \"string\") {\n out[nextKey] = child;\n } else {\n flattenMessages(child, nextKey, out);\n }\n }\n return out;\n}\n\nconst DEFAULT_ENGLISH_MESSAGES = flattenMessages(defaultEnglishMessages);\n\nfunction interpolateFallbackMessage(\n template: string,\n options?: Record<string, unknown>,\n) {\n return template.replace(/\\{\\{(\\w+)\\}\\}/g, (_, name: string) => {\n const value = options?.[name];\n return value == null ? \"\" : String(value);\n });\n}\n\nfunction humanizeFallbackKey(key: string) {\n const lastSegment = key.split(\".\").filter(Boolean).pop() ?? key;\n const words = lastSegment\n .replace(/[_-]+/g, \" \")\n .replace(/([a-z0-9])([A-Z])/g, \"$1 $2\")\n .trim()\n .toLowerCase();\n return words ? words.charAt(0).toUpperCase() + words.slice(1) : key;\n}\n\nfunction fallbackMessage(key: string, options?: Record<string, unknown>) {\n const count = Number(options?.count);\n const pluralKey =\n Number.isFinite(count) && count === 1 ? `${key}_one` : `${key}_other`;\n const template =\n DEFAULT_ENGLISH_MESSAGES[pluralKey] ??\n DEFAULT_ENGLISH_MESSAGES[key] ??\n CORE_FALLBACK_MESSAGES[pluralKey] ??\n CORE_FALLBACK_MESSAGES[key];\n return template\n ? interpolateFallbackMessage(template, options)\n : humanizeFallbackKey(key);\n}\n\nexport function useT() {\n const { i18n, t } = useTranslation();\n const context = useContext(LocaleContext);\n const sourceLocale = context?.sourceLocale ?? DEFAULT_LOCALE;\n return useCallback(\n (key: string, options?: Record<string, unknown>) => {\n const translated = t(key, options);\n if (translated !== key) return translated;\n const getFixedT = (\n i18n as { getFixedT?: (locale: LocaleCode) => typeof t }\n ).getFixedT;\n const sourceFallback = getFixedT?.(sourceLocale)(key, options);\n if (sourceFallback && sourceFallback !== key) return sourceFallback;\n return fallbackMessage(key, options);\n },\n [i18n, sourceLocale, t],\n );\n}\n\nexport function useFormatters() {\n const context = useContext(LocaleContext);\n const locale = context?.locale ?? DEFAULT_LOCALE;\n return useMemo(\n () => ({\n formatDate(\n value: Date | number | string,\n options?: Intl.DateTimeFormatOptions,\n ) {\n return new Intl.DateTimeFormat(locale, options).format(\n value instanceof Date ? value : new Date(value),\n );\n },\n formatNumber(value: number, options?: Intl.NumberFormatOptions) {\n return new Intl.NumberFormat(locale, options).format(value);\n },\n formatRelativeTime(\n value: number,\n unit: Intl.RelativeTimeFormatUnit,\n options?: Intl.RelativeTimeFormatOptions,\n ) {\n return new Intl.RelativeTimeFormat(locale, options).format(value, unit);\n },\n formatList(value: string[], options?: Intl.ListFormatOptions) {\n return new Intl.ListFormat(locale, options).format(value);\n },\n }),\n [locale],\n );\n}\n\nexport function LanguagePicker({\n className,\n includeSystem = true,\n label,\n variant = \"select\",\n}: {\n className?: string;\n includeSystem?: boolean;\n label?: string;\n variant?: \"select\" | \"icon\" | \"ghost-icon\";\n}) {\n const { locale, preference, setPreference } = useLocale();\n const [open, setOpen] = useState(false);\n const copy =\n LANGUAGE_PICKER_COPY[locale] ?? LANGUAGE_PICKER_COPY[DEFAULT_LOCALE];\n const resolvedLabel = label ?? copy.label;\n const options = [\n ...(includeSystem\n ? [\n {\n value: \"system\" as const,\n label: copy.system,\n description: copy.systemDescription,\n },\n ]\n : []),\n ...SUPPORTED_LOCALES.map((code) => ({\n value: code,\n label: `${LOCALE_METADATA[code].nativeName} (${code})`,\n description: code,\n })),\n ];\n const selected = options.find((option) => option.value === preference);\n const selectedLabel = selected?.label ?? preference;\n const triggerLabel = `${resolvedLabel}: ${selectedLabel}`;\n\n function handleOptionClick(value: LocalePreference) {\n setOpen(false);\n void setPreference(normalizeLocalizationPreference(value).locale);\n }\n\n return (\n <div className={className}>\n <PopoverPrimitive.Root open={open} onOpenChange={setOpen}>\n <PopoverPrimitive.Trigger asChild>\n <button\n type=\"button\"\n aria-label={triggerLabel}\n title={triggerLabel}\n data-language-picker-trigger\n className={cn(\n \"shrink-0 rounded-md outline-none transition-colors focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2\",\n variant === \"ghost-icon\"\n ? \"flex h-9 w-9 items-center justify-center text-muted-foreground hover:bg-accent hover:text-foreground data-[state=open]:bg-accent data-[state=open]:text-foreground\"\n : \"border border-border bg-background text-foreground hover:border-foreground/30 hover:bg-accent/40 hover:text-foreground data-[state=open]:border-foreground/30 data-[state=open]:bg-accent/40\",\n variant === \"icon\"\n ? \"flex h-8 w-8 items-center justify-center\"\n : variant === \"select\"\n ? \"flex h-9 w-full items-center justify-between gap-2 px-3 text-start text-sm\"\n : null,\n )}\n >\n <span className=\"flex min-w-0 items-center gap-2\">\n <IconLanguage className=\"h-4 w-4 shrink-0 text-muted-foreground\" />\n {variant === \"select\" ? (\n <span className=\"truncate\">{selectedLabel}</span>\n ) : (\n <span className=\"sr-only\">{triggerLabel}</span>\n )}\n </span>\n {variant === \"select\" ? (\n <IconChevronDown\n className=\"h-3.5 w-3.5 shrink-0 text-muted-foreground\"\n aria-hidden=\"true\"\n />\n ) : null}\n </button>\n </PopoverPrimitive.Trigger>\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n align={variant === \"select\" ? \"start\" : \"end\"}\n sideOffset={6}\n role=\"menu\"\n className={cn(\n \"z-[9999] max-h-[min(20rem,var(--radix-popover-content-available-height))] overflow-y-auto rounded-lg border border-border bg-popover p-1 text-popover-foreground shadow-lg outline-none will-change-[transform,opacity] data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:duration-100 data-[state=open]:duration-150 data-[state=closed]:ease-in data-[state=open]:ease-out data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-1 data-[side=right]:slide-in-from-left-1 data-[side=top]:slide-in-from-bottom-1\",\n variant === \"icon\" || variant === \"ghost-icon\"\n ? \"min-w-56\"\n : \"w-[min(20rem,calc(100vw-2rem))] min-w-[var(--radix-popover-trigger-width)]\",\n )}\n >\n {options.map((option) => {\n const optionSelected = option.value === preference;\n return (\n <button\n key={option.value}\n type=\"button\"\n role=\"menuitemradio\"\n aria-checked={optionSelected}\n title={option.description}\n onClick={() => handleOptionClick(option.value)}\n className={cn(\n \"flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-start text-sm outline-none transition-colors hover:bg-accent/60 hover:text-foreground focus-visible:bg-accent/60 focus-visible:text-foreground\",\n optionSelected\n ? \"bg-accent/40 text-foreground\"\n : \"text-muted-foreground\",\n )}\n >\n <IconCheck\n className={cn(\n \"h-3.5 w-3.5 shrink-0\",\n optionSelected ? \"opacity-100\" : \"opacity-0\",\n )}\n aria-hidden=\"true\"\n />\n <span className=\"truncate\">{option.label}</span>\n </button>\n );\n })}\n </PopoverPrimitive.Content>\n </PopoverPrimitive.Portal>\n </PopoverPrimitive.Root>\n </div>\n );\n}\n"]}
|
|
1
|
+
{"version":3,"file":"i18n.js","sourceRoot":"","sources":["../../src/client/i18n.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC/E,OAAO,OAAsC,MAAM,SAAS,CAAC;AAC7D,OAAc,EACZ,aAAa,EACb,WAAW,EACX,UAAU,EACV,SAAS,EACT,OAAO,EACP,MAAM,EACN,QAAQ,GACT,MAAM,OAAO,CAAC;AACf,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,cAAc,GACf,MAAM,eAAe,CAAC;AAEvB,OAAO,sBAAsB,MAAM,qCAAqC,CAAC;AACzE,OAAO,EACL,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M,cAAc;oCACZ,CAAC,CAAC,8BAA8B;oCAChC,CAAC,CAAC,uBAAuB,CAC5B,aAED,KAAC,SAAS,IACR,SAAS,EAAE,EAAE,CACX,sBAAsB,EACtB,cAAc,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,WAAW,CAC7C,iBACW,MAAM,GAClB,EACF,eAAM,SAAS,EAAC,UAAU,YAAE,MAAM,CAAC,KAAK,GAAQ,KApB3C,MAAM,CAAC,KAAK,CAqBV,CACV,CAAC;wBACJ,CAAC,CAAC,GACuB,GACH,IACJ,GACpB,CACP,CAAC;AACJ,CAAC","sourcesContent":["import * as PopoverPrimitive from \"@radix-ui/react-popover\";\nimport { IconCheck, IconChevronDown, IconLanguage } from \"@tabler/icons-react\";\nimport i18next, { type i18n as I18nInstance } from \"i18next\";\nimport React, {\n createContext,\n useCallback,\n useContext,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from \"react\";\nimport {\n I18nextProvider,\n initReactI18next,\n useTranslation,\n} from \"react-i18next\";\n\nimport defaultEnglishMessages from \"../localization/default-messages.js\";\nimport {\n DEFAULT_LOCALE,\n LOCALE_HYDRATION_GLOBAL,\n LOCALE_METADATA,\n LOCALE_STORAGE_KEY,\n SUPPORTED_LOCALES,\n localeDirection,\n normalizeLocalizationPreference,\n resolveLocaleFromCandidates,\n resolveLocaleFromPreference,\n type LocaleCode,\n type LocaleMetadata,\n type LocalePreference,\n type LocalizationPreference,\n} from \"../localization/shared.js\";\nimport { setClientAppState } from \"./application-state.js\";\nimport { callAction } from \"./use-action.js\";\nimport { cn } from \"./utils.js\";\n\nexport {\n DEFAULT_LOCALE,\n LOCALE_HYDRATION_GLOBAL,\n LOCALE_METADATA,\n LOCALE_STORAGE_KEY,\n SUPPORTED_LOCALES,\n localeDirection,\n normalizeLocaleCode,\n normalizeLocalePreference,\n normalizeLocalizationPreference,\n resolveLocaleFromCandidates,\n resolveLocaleFromPreference,\n type LocaleCode,\n type LocaleMetadata,\n type LocalePreference,\n type LocalizationPreference,\n} from \"../localization/shared.js\";\nexport { getLocaleInitScript } from \"../localization/server.js\";\n\nexport type LocaleMessages = Record<string, unknown>;\n\nexport interface LocaleHydrationPayload {\n locale?: LocaleCode;\n preference?: LocalizationPreference;\n dir?: \"ltr\" | \"rtl\";\n messages?: LocaleMessages;\n}\n\nexport interface AgentNativeI18nCatalog {\n namespace?: string;\n sourceLocale?: LocaleCode;\n messages?: LocaleMessages;\n loadMessages?: (locale: LocaleCode) => Promise<LocaleMessages | null>;\n}\n\nexport interface AgentNativeI18nProviderProps {\n children: React.ReactNode;\n catalog?: AgentNativeI18nCatalog;\n initialLocale?: LocaleCode;\n initialPreference?: LocalizationPreference | LocalePreference;\n initialMessages?: LocaleMessages | null;\n persistPreference?: boolean;\n}\n\ninterface LocaleContextValue {\n locale: LocaleCode;\n sourceLocale: LocaleCode;\n preference: LocalePreference;\n dir: \"ltr\" | \"rtl\";\n metadata: LocaleMetadata;\n setPreference: (preference: LocalePreference) => Promise<void>;\n loading: boolean;\n}\n\ndeclare global {\n var __AGENT_NATIVE_LOCALE_CONTEXT__:\n | React.Context<LocaleContextValue | null>\n | undefined;\n interface Window {\n __AGENT_NATIVE_LOCALE__?: LocaleHydrationPayload;\n }\n}\n\nconst LocaleContext =\n globalThis.__AGENT_NATIVE_LOCALE_CONTEXT__ ??\n (globalThis.__AGENT_NATIVE_LOCALE_CONTEXT__ =\n createContext<LocaleContextValue | null>(null));\n\nconst LANGUAGE_PICKER_COPY: Record<\n LocaleCode,\n { label: string; system: string; systemDescription: string }\n> = {\n \"en-US\": {\n label: \"Language\",\n system: \"System\",\n systemDescription: \"Use your browser language\",\n },\n \"zh-CN\": {\n label: \"语言\",\n system: \"系统\",\n systemDescription: \"使用浏览器语言\",\n },\n \"zh-TW\": {\n label: \"語言\",\n system: \"系統\",\n systemDescription: \"使用瀏覽器語言\",\n },\n \"es-ES\": {\n label: \"Idioma\",\n system: \"Sistema\",\n systemDescription: \"Usar el idioma del navegador\",\n },\n \"fr-FR\": {\n label: \"Langue\",\n system: \"Système\",\n systemDescription: \"Utiliser la langue du navigateur\",\n },\n \"de-DE\": {\n label: \"Sprache\",\n system: \"System\",\n systemDescription: \"Browsersprache verwenden\",\n },\n \"ja-JP\": {\n label: \"言語\",\n system: \"システム\",\n systemDescription: \"ブラウザーの言語を使用\",\n },\n \"ko-KR\": {\n label: \"언어\",\n system: \"시스템\",\n systemDescription: \"브라우저 언어 사용\",\n },\n \"pt-BR\": {\n label: \"Idioma\",\n system: \"Sistema\",\n systemDescription: \"Usar o idioma do navegador\",\n },\n \"hi-IN\": {\n label: \"भाषा\",\n system: \"सिस्टम\",\n systemDescription: \"ब्राउज़र की भाषा का उपयोग करें\",\n },\n \"ar-SA\": {\n label: \"اللغة\",\n system: \"النظام\",\n systemDescription: \"استخدام لغة المتصفح\",\n },\n};\n\nfunction browserLanguageCandidates(): string[] {\n if (typeof navigator === \"undefined\") return [];\n return navigator.languages?.length\n ? [...navigator.languages]\n : navigator.language\n ? [navigator.language]\n : [];\n}\n\nfunction readStoredPreference(): LocalePreference | null {\n if (typeof window === \"undefined\") return null;\n try {\n return normalizeLocalizationPreference(\n window.localStorage.getItem(LOCALE_STORAGE_KEY),\n ).locale;\n } catch {\n return null;\n }\n}\n\nfunction writeStoredPreference(preference: LocalePreference) {\n if (typeof window === \"undefined\") return;\n try {\n window.localStorage.setItem(LOCALE_STORAGE_KEY, preference);\n } catch {\n // Ignore storage-denied browsers; the in-memory provider state still works.\n }\n}\n\nfunction readHydrationPayload(): LocaleHydrationPayload {\n if (typeof window === \"undefined\") return {};\n return window[LOCALE_HYDRATION_GLOBAL] ?? {};\n}\n\nfunction resolveInitialState(args: {\n initialLocale?: LocaleCode;\n initialPreference?: LocalizationPreference | LocalePreference;\n}): { locale: LocaleCode; preference: LocalePreference } {\n const hydration = readHydrationPayload();\n const preference = normalizeLocalizationPreference(\n args.initialPreference ?? hydration.preference ?? readStoredPreference(),\n ).locale;\n const locale =\n args.initialLocale ??\n hydration.locale ??\n resolveLocaleFromPreference(preference, browserLanguageCandidates());\n return { locale, preference };\n}\n\nfunction normalizeLoadedMessages(value: unknown): LocaleMessages | null {\n if (!value || typeof value !== \"object\" || Array.isArray(value)) return null;\n const maybeDefault = (value as { default?: unknown }).default;\n if (\n maybeDefault &&\n typeof maybeDefault === \"object\" &&\n !Array.isArray(maybeDefault)\n ) {\n return maybeDefault as LocaleMessages;\n }\n return value as LocaleMessages;\n}\n\nfunction createI18nInstance(args: {\n namespace: string;\n sourceLocale: LocaleCode;\n messages: LocaleMessages;\n initialLocale: LocaleCode;\n initialMessages?: LocaleMessages | null;\n}): I18nInstance {\n const instance = i18next.createInstance();\n const resources: Record<string, Record<string, LocaleMessages>> = {\n [args.sourceLocale]: {\n [args.namespace]: args.messages,\n },\n };\n if (args.initialLocale !== args.sourceLocale && args.initialMessages) {\n resources[args.initialLocale] = {\n [args.namespace]: args.initialMessages,\n };\n }\n void instance.use(initReactI18next).init({\n resources,\n lng: args.initialLocale,\n fallbackLng: args.sourceLocale,\n defaultNS: args.namespace,\n ns: [args.namespace],\n interpolation: { escapeValue: false },\n react: { useSuspense: false },\n returnNull: false,\n initAsync: false,\n });\n return instance;\n}\n\nexport function AgentNativeI18nProvider({\n children,\n catalog,\n initialLocale,\n initialPreference,\n initialMessages,\n persistPreference = true,\n}: AgentNativeI18nProviderProps) {\n const namespace = catalog?.namespace ?? \"translation\";\n const sourceLocale = catalog?.sourceLocale ?? DEFAULT_LOCALE;\n const sourceMessages = catalog?.messages ?? {};\n const loadMessages = catalog?.loadMessages;\n const hydration = readHydrationPayload();\n const initialState = useMemo(\n () => resolveInitialState({ initialLocale, initialPreference }),\n [initialLocale, initialPreference],\n );\n const [preference, setPreferenceState] = useState<LocalePreference>(\n initialState.preference,\n );\n const [locale, setLocale] = useState<LocaleCode>(initialState.locale);\n const [loading, setLoading] = useState(false);\n const i18nRef = useRef<I18nInstance | null>(null);\n\n if (!i18nRef.current) {\n const preloadedMessages = normalizeLoadedMessages(\n hydration.locale === initialState.locale && hydration.messages\n ? hydration.messages\n : initialMessages,\n );\n i18nRef.current = createI18nInstance({\n namespace,\n sourceLocale,\n messages:\n hydration.locale === sourceLocale && hydration.messages\n ? hydration.messages\n : sourceMessages,\n initialLocale: initialState.locale,\n initialMessages: preloadedMessages,\n });\n }\n\n const i18n = i18nRef.current;\n\n useEffect(() => {\n if (i18n.hasResourceBundle(sourceLocale, namespace)) {\n i18n.addResourceBundle(\n sourceLocale,\n namespace,\n sourceMessages,\n true,\n true,\n );\n }\n }, [i18n, namespace, sourceLocale, sourceMessages]);\n\n useEffect(() => {\n const nextLocale =\n preference === \"system\"\n ? resolveLocaleFromCandidates(browserLanguageCandidates())\n : preference;\n setLocale(nextLocale);\n }, [preference]);\n\n useEffect(() => {\n let cancelled = false;\n\n async function applyLocale() {\n setLoading(true);\n try {\n if (\n locale !== sourceLocale &&\n !i18n.hasResourceBundle(locale, namespace)\n ) {\n const preloaded =\n hydration.locale === locale && hydration.messages\n ? hydration.messages\n : initialLocale === locale && initialMessages\n ? initialMessages\n : null;\n const loaded = preloaded ?? (await loadMessages?.(locale));\n const messages = normalizeLoadedMessages(loaded);\n if (messages) {\n i18n.addResourceBundle(locale, namespace, messages, true, true);\n }\n }\n if (!cancelled) {\n await i18n.changeLanguage(locale);\n }\n } finally {\n if (!cancelled) setLoading(false);\n }\n }\n\n void applyLocale();\n return () => {\n cancelled = true;\n };\n }, [\n hydration.locale,\n hydration.messages,\n i18n,\n initialLocale,\n initialMessages,\n loadMessages,\n locale,\n namespace,\n sourceLocale,\n ]);\n\n useEffect(() => {\n if (typeof document === \"undefined\") return;\n const dir = localeDirection(locale);\n const root = document.documentElement;\n root.setAttribute(\"lang\", locale);\n root.setAttribute(\"dir\", dir);\n root.setAttribute(\"data-locale\", locale);\n }, [locale]);\n\n useEffect(() => {\n if (!persistPreference) return;\n let cancelled = false;\n callAction<LocalizationPreference>(\n \"get-localization-preference\",\n undefined,\n { method: \"GET\" },\n )\n .then((value) => {\n if (cancelled) return;\n const normalized = normalizeLocalizationPreference(value).locale;\n setPreferenceState(normalized);\n writeStoredPreference(normalized);\n })\n .catch(() => {\n // Anonymous/public routes use localStorage/browser language only.\n });\n return () => {\n cancelled = true;\n };\n }, [persistPreference]);\n\n useEffect(() => {\n if (typeof window === \"undefined\") return;\n const onStorage = (event: StorageEvent) => {\n if (event.key !== LOCALE_STORAGE_KEY || event.newValue == null) return;\n setPreferenceState(\n normalizeLocalizationPreference(event.newValue).locale,\n );\n };\n window.addEventListener(\"storage\", onStorage);\n return () => window.removeEventListener(\"storage\", onStorage);\n }, []);\n\n useEffect(() => {\n if (!persistPreference) return;\n void setClientAppState(\n \"localization\",\n {\n locale,\n preference,\n dir: localeDirection(locale),\n },\n { requestSource: \"localization\" },\n ).catch(() => {\n // Public/anonymous pages cannot write app-state; localization still works.\n });\n }, [locale, persistPreference, preference]);\n\n const setPreference = useCallback(\n async (next: LocalePreference) => {\n const normalized = normalizeLocalizationPreference(next).locale;\n setPreferenceState(normalized);\n writeStoredPreference(normalized);\n if (!persistPreference) return;\n try {\n await callAction<LocalizationPreference>(\n \"set-localization-preference\",\n {\n locale: normalized,\n },\n );\n } catch (error) {\n const status = (error as { status?: unknown })?.status;\n if (status !== 401 && status !== 403) {\n throw error;\n }\n }\n },\n [persistPreference],\n );\n\n const context = useMemo<LocaleContextValue>(\n () => ({\n locale,\n sourceLocale,\n preference,\n dir: localeDirection(locale),\n metadata: LOCALE_METADATA[locale],\n setPreference,\n loading,\n }),\n [loading, locale, preference, setPreference, sourceLocale],\n );\n\n return (\n <LocaleContext.Provider value={context}>\n <I18nextProvider i18n={i18n}>{children}</I18nextProvider>\n </LocaleContext.Provider>\n );\n}\n\nexport function useLocale(): LocaleContextValue {\n const value = useContext(LocaleContext);\n if (!value) {\n throw new Error(\"useLocale must be used within AgentNativeI18nProvider\");\n }\n return value;\n}\n\nexport function useOptionalLocale(): LocaleContextValue | null {\n return useContext(LocaleContext);\n}\n\nconst CORE_FALLBACK_MESSAGES: Record<string, string> = {\n \"runsTray.runs\": \"Runs\",\n \"runsTray.agentRuns\": \"Agent runs\",\n \"runsTray.activeRun_one\": \"{{count}} active run\",\n \"runsTray.activeRun_other\": \"{{count}} active runs\",\n \"runsTray.failedRun_one\": \"{{count}} failed run\",\n \"runsTray.failedRun_other\": \"{{count}} failed runs\",\n \"runsTray.recentRuns\": \"Recent runs\",\n \"runsTray.noRecentRuns\": \"No recent runs\",\n \"runsTray.ariaAgentRuns\": \"Agent runs, {{label}}\",\n \"runsTray.summaryRunning\": \"{{activeCount}} running\",\n \"runsTray.summaryRunningRecent\":\n \"{{activeCount}} running · {{terminalCount}} recent\",\n \"runsTray.summaryRecent_one\": \"{{count}} recent run\",\n \"runsTray.summaryRecent_other\": \"{{count}} recent runs\",\n \"runsTray.noTrackedWorkYet\": \"No tracked work yet\",\n \"runsTray.emptyDescription\":\n \"Background agent work will appear here while it runs and after it finishes.\",\n \"runsTray.open\": \"Open\",\n \"runsTray.stopRun\": \"Stop {{title}}\",\n \"runsTray.hideRun\": \"Hide {{title}}\",\n \"runsTray.statusRunning\": \"Running\",\n \"runsTray.statusDone\": \"Done\",\n \"runsTray.statusFailed\": \"Failed\",\n \"runsTray.statusStopped\": \"Stopped\",\n \"runsTray.updatedJustNow\": \"Updated just now\",\n \"runsTray.finishedJustNow\": \"Finished just now\",\n \"runsTray.updatedMinutes\": \"Updated {{count}}m ago\",\n \"runsTray.finishedMinutes\": \"Finished {{count}}m ago\",\n \"runsTray.updatedHours\": \"Updated {{count}}h ago\",\n \"runsTray.finishedHours\": \"Finished {{count}}h ago\",\n \"runsTray.updatedDate\": \"Updated {{date}}\",\n \"runsTray.finishedDate\": \"Finished {{date}}\",\n \"codeRequired.fallbackDetail\":\n \"Edit locally or use Builder.io to edit this code in the cloud and continue customizing the app any way you like.\",\n \"codeRequired.defaultFeature\": \"Make the requested code changes to this app\",\n \"codeRequired.branchError\": \"Failed to create branch\",\n \"codeRequired.title\": \"Code changes required\",\n \"codeRequired.subtitleWithFeature\":\n '\"{{feature}}\" creates or modifies source code, which needs Desktop or Builder from this surface.',\n \"codeRequired.subtitle\":\n \"This action creates or modifies source code, which needs Desktop or Builder from this surface.\",\n \"codeRequired.desktopTitle\": \"Use Agent Native Desktop\",\n \"codeRequired.desktopDescription\":\n \"Open the project in the desktop app to enable source edits and CLI access.\",\n \"codeRequired.builderAgentTitle\": \"Use Builder.io Agent\",\n \"codeRequired.builderAgentDescription\":\n \"Let our cloud agent make the changes for you. You'll get a link to preview and deploy.\",\n \"codeRequired.codeChangeTitle\": \"This requires a code change\",\n \"codeRequired.codeChangeBadge\": \"Code change\",\n \"codeRequired.connectBuilderTitle\": \"Connect Builder.io\",\n \"codeRequired.connectBuilderDescription\":\n \"Connect Builder to enable cloud-based code changes from this app.\",\n \"codeRequired.setupRequired\": \"Setup required\",\n \"codeRequired.branchCreated\": \"Branch created\",\n \"codeRequired.close\": \"Close\",\n \"agentPanel.useBuilder\": \"Use Builder\",\n \"agentPanel.openDesktopToEditCode\": \"Open Desktop to edit code\",\n \"agentPanel.codeUnavailableDescription\":\n \"Source-code changes and CLI access are available in the Agent Native Desktop app.\",\n \"agentPanel.downloadDesktop\": \"Download Desktop\",\n \"agentPanel.chatMode\": \"Chat mode\",\n \"agentPanel.chat\": \"Chat\",\n \"agentPanel.cliTerminalMode\": \"CLI terminal mode\",\n \"agentPanel.cli\": \"CLI\",\n \"agentPanel.workspaceMode\": \"Workspace files, agents, skills, and tasks\",\n \"agentPanel.workspace\": \"Workspace\",\n \"agentPanel.newChat\": \"New chat\",\n \"agentPanel.newTerminal\": \"New terminal\",\n \"agentPanel.panelOptions\": \"Agent panel options\",\n \"agentPanel.collapseSidebar\": \"Collapse sidebar\",\n \"agentPanel.hideChats\": \"Hide chats\",\n \"agentPanel.allChats\": \"All chats\",\n \"agentPanel.settings\": \"Settings\",\n \"agentPanel.feedback\": \"Feedback\",\n \"agentPanel.exitFullscreen\": \"Exit fullscreen\",\n \"agentPanel.fullscreen\": \"Fullscreen\",\n \"agentPanel.closeTab\": \"Close tab\",\n \"agentPanel.closeOtherTabs\": \"Close other tabs\",\n \"agentPanel.closeAllTabs\": \"Close all tabs\",\n \"agentPanel.clearChat\": \"Clear chat\",\n \"agentPanel.cliRequiresDevMode\": \"CLI requires dev mode\",\n \"agentPanel.cliRequiresDevModeDescription\":\n \"Run this app locally with pnpm dev or use Builder.io to access the CLI terminal.\",\n \"agentPanel.toggleAgent\": \"Toggle agent\",\n};\n\nfunction flattenMessages(\n value: unknown,\n prefix = \"\",\n out: Record<string, string> = {},\n) {\n if (!value || typeof value !== \"object\" || Array.isArray(value)) return out;\n for (const [key, child] of Object.entries(value)) {\n const nextKey = prefix ? `${prefix}.${key}` : key;\n if (typeof child === \"string\") {\n out[nextKey] = child;\n } else {\n flattenMessages(child, nextKey, out);\n }\n }\n return out;\n}\n\nconst DEFAULT_ENGLISH_MESSAGES = flattenMessages(defaultEnglishMessages);\n\nfunction interpolateFallbackMessage(\n template: string,\n options?: Record<string, unknown>,\n) {\n return template.replace(/\\{\\{(\\w+)\\}\\}/g, (_, name: string) => {\n const value = options?.[name];\n return value == null ? \"\" : String(value);\n });\n}\n\nfunction humanizeFallbackKey(key: string) {\n const lastSegment = key.split(\".\").filter(Boolean).pop() ?? key;\n const words = lastSegment\n .replace(/[_-]+/g, \" \")\n .replace(/([a-z0-9])([A-Z])/g, \"$1 $2\")\n .trim()\n .toLowerCase();\n return words ? words.charAt(0).toUpperCase() + words.slice(1) : key;\n}\n\nfunction fallbackMessage(key: string, options?: Record<string, unknown>) {\n const count = Number(options?.count);\n const pluralKey =\n Number.isFinite(count) && count === 1 ? `${key}_one` : `${key}_other`;\n const template =\n DEFAULT_ENGLISH_MESSAGES[pluralKey] ??\n DEFAULT_ENGLISH_MESSAGES[key] ??\n CORE_FALLBACK_MESSAGES[pluralKey] ??\n CORE_FALLBACK_MESSAGES[key];\n return template\n ? interpolateFallbackMessage(template, options)\n : humanizeFallbackKey(key);\n}\n\nexport function useT() {\n const { i18n, t } = useTranslation();\n const context = useContext(LocaleContext);\n const sourceLocale = context?.sourceLocale ?? DEFAULT_LOCALE;\n return useCallback(\n (key: string, options?: Record<string, unknown>) => {\n const translated = t(key, options);\n if (translated !== key) return translated;\n const getFixedT = (\n i18n as { getFixedT?: (locale: LocaleCode) => typeof t }\n ).getFixedT;\n const sourceFallback = getFixedT?.(sourceLocale)(key, options);\n if (sourceFallback && sourceFallback !== key) return sourceFallback;\n return fallbackMessage(key, options);\n },\n [i18n, sourceLocale, t],\n );\n}\n\nexport function useFormatters() {\n const context = useContext(LocaleContext);\n const locale = context?.locale ?? DEFAULT_LOCALE;\n return useMemo(\n () => ({\n formatDate(\n value: Date | number | string,\n options?: Intl.DateTimeFormatOptions,\n ) {\n return new Intl.DateTimeFormat(locale, options).format(\n value instanceof Date ? value : new Date(value),\n );\n },\n formatNumber(value: number, options?: Intl.NumberFormatOptions) {\n return new Intl.NumberFormat(locale, options).format(value);\n },\n formatRelativeTime(\n value: number,\n unit: Intl.RelativeTimeFormatUnit,\n options?: Intl.RelativeTimeFormatOptions,\n ) {\n return new Intl.RelativeTimeFormat(locale, options).format(value, unit);\n },\n formatList(value: string[], options?: Intl.ListFormatOptions) {\n return new Intl.ListFormat(locale, options).format(value);\n },\n }),\n [locale],\n );\n}\n\nexport function LanguagePicker({\n className,\n includeSystem = true,\n label,\n variant = \"select\",\n}: {\n className?: string;\n includeSystem?: boolean;\n label?: string;\n variant?: \"select\" | \"icon\" | \"ghost-icon\";\n}) {\n const { locale, preference, setPreference } = useLocale();\n const [open, setOpen] = useState(false);\n const copy =\n LANGUAGE_PICKER_COPY[locale] ?? LANGUAGE_PICKER_COPY[DEFAULT_LOCALE];\n const resolvedLabel = label ?? copy.label;\n const options = [\n ...(includeSystem\n ? [\n {\n value: \"system\" as const,\n label: copy.system,\n description: copy.systemDescription,\n },\n ]\n : []),\n ...SUPPORTED_LOCALES.map((code) => ({\n value: code,\n label: `${LOCALE_METADATA[code].nativeName} (${code})`,\n description: code,\n })),\n ];\n const selected = options.find((option) => option.value === preference);\n const selectedLabel = selected?.label ?? preference;\n const triggerLabel = `${resolvedLabel}: ${selectedLabel}`;\n\n function handleOptionClick(value: LocalePreference) {\n setOpen(false);\n void setPreference(normalizeLocalizationPreference(value).locale);\n }\n\n return (\n <div className={className}>\n <PopoverPrimitive.Root open={open} onOpenChange={setOpen}>\n <PopoverPrimitive.Trigger asChild>\n <button\n type=\"button\"\n aria-label={triggerLabel}\n title={triggerLabel}\n data-language-picker-trigger\n className={cn(\n \"shrink-0 rounded-md outline-none transition-colors focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2\",\n variant === \"ghost-icon\"\n ? \"flex h-9 w-9 items-center justify-center text-muted-foreground hover:bg-accent hover:text-foreground data-[state=open]:bg-accent data-[state=open]:text-foreground\"\n : \"border border-border bg-background text-foreground hover:border-foreground/30 hover:bg-accent/40 hover:text-foreground data-[state=open]:border-foreground/30 data-[state=open]:bg-accent/40\",\n variant === \"icon\"\n ? \"flex h-8 w-8 items-center justify-center\"\n : variant === \"select\"\n ? \"flex h-9 w-full items-center justify-between gap-2 px-3 text-start text-sm\"\n : null,\n )}\n >\n <span className=\"flex min-w-0 items-center gap-2\">\n <IconLanguage className=\"h-4 w-4 shrink-0 text-muted-foreground\" />\n {variant === \"select\" ? (\n <span className=\"truncate\">{selectedLabel}</span>\n ) : (\n <span className=\"sr-only\">{triggerLabel}</span>\n )}\n </span>\n {variant === \"select\" ? (\n <IconChevronDown\n className=\"h-3.5 w-3.5 shrink-0 text-muted-foreground\"\n aria-hidden=\"true\"\n />\n ) : null}\n </button>\n </PopoverPrimitive.Trigger>\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n align={variant === \"select\" ? \"start\" : \"end\"}\n sideOffset={6}\n role=\"menu\"\n className={cn(\n \"z-[9999] max-h-[min(20rem,var(--radix-popover-content-available-height))] overflow-y-auto rounded-lg border border-border bg-popover p-1 text-popover-foreground shadow-lg outline-none will-change-[transform,opacity] data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:duration-100 data-[state=open]:duration-150 data-[state=closed]:ease-in data-[state=open]:ease-out data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-1 data-[side=right]:slide-in-from-left-1 data-[side=top]:slide-in-from-bottom-1\",\n variant === \"icon\" || variant === \"ghost-icon\"\n ? \"min-w-56\"\n : \"w-[min(20rem,calc(100vw-2rem))] min-w-[var(--radix-popover-trigger-width)]\",\n )}\n >\n {options.map((option) => {\n const optionSelected = option.value === preference;\n return (\n <button\n key={option.value}\n type=\"button\"\n role=\"menuitemradio\"\n aria-checked={optionSelected}\n title={option.description}\n onClick={() => handleOptionClick(option.value)}\n className={cn(\n \"flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-start text-sm outline-none transition-colors hover:bg-accent/60 hover:text-foreground focus-visible:bg-accent/60 focus-visible:text-foreground\",\n optionSelected\n ? \"bg-accent/40 text-foreground\"\n : \"text-muted-foreground\",\n )}\n >\n <IconCheck\n className={cn(\n \"h-3.5 w-3.5 shrink-0\",\n optionSelected ? \"opacity-100\" : \"opacity-0\",\n )}\n aria-hidden=\"true\"\n />\n <span className=\"truncate\">{option.label}</span>\n </button>\n );\n })}\n </PopoverPrimitive.Content>\n </PopoverPrimitive.Portal>\n </PopoverPrimitive.Root>\n </div>\n );\n}\n"]}
|
package/dist/client/index.d.ts
CHANGED
|
@@ -100,7 +100,7 @@ export { useFollowUser, type UseFollowUserOptions, type UseFollowUserResult, typ
|
|
|
100
100
|
export { ResourcesPanel, ResourceTree, ResourceEditor, useResources, useResourceTree, useResource, useCreateResource, useUpdateResource, useDeleteResource, useUploadResource, type Resource, type ResourceMeta, type TreeNode, type ResourceScope, type ResourceTreeProps, type ResourceEditorProps, } from "./resources/index.js";
|
|
101
101
|
export type { ResourcesPanelProps } from "./resources/ResourcesPanel.js";
|
|
102
102
|
export { HistoryTimeline, VersionHistoryPanel, useCreateResourceVersion, useResourceHistory, useResourceVersion, useResourceVersions, useRestoreResourceVersion, type CreateResourceVersionInput, type GetResourceVersionInput, type GetResourceVersionResult, type ListResourceHistoryResult, type ListResourceVersionsResult, type ResourceHistoryParams, type ResourceVersionsParams, type RestoreResourceVersionInput, type RestoreResourceVersionResult, type VersionHistoryPanelProps, } from "./history/index.js";
|
|
103
|
-
export { ReviewStatusBadge, ReviewThreadPanel, buildReviewThreads, useConsumeReviewFeedback, useCreateReviewComment, useDeleteReviewComment, useReplyReviewComment, useResolveReviewThread, useReviewComments, useReviewFeedback, useSetReviewStatus, type ConsumeReviewFeedbackInput, type CreateReviewCommentInput, type DeleteReviewCommentInput, type GetReviewFeedbackParams, type GetReviewFeedbackResult, type ListReviewCommentsParams, type ListReviewCommentsResult, type ReplyReviewCommentInput, type ResolveReviewThreadInput, type ReviewStatusBadgeProps, type ReviewThread, type ReviewThreadPanelProps, type SetReviewStatusInput, } from "./review/index.js";
|
|
103
|
+
export { ReviewCommentComposer, ReviewStatusBadge, ReviewThreadPanel, buildReviewThreads, useConsumeReviewFeedback, useCreateReviewComment, useDeleteReviewComment, useReplyReviewComment, useResolveReviewThread, useReviewComments, useReviewFeedback, useSendReviewThreadToAgent, useSetReviewStatus, type ConsumeReviewFeedbackInput, type CreateReviewCommentInput, type DeleteReviewCommentInput, type GetReviewFeedbackParams, type GetReviewFeedbackResult, type ListReviewCommentsParams, type ListReviewCommentsResult, type ReplyReviewCommentInput, type ResolveReviewThreadInput, type ReviewStatusBadgeProps, type ReviewCommentComposerProps, type ReviewThread, type ReviewThreadPanelProps, type SetReviewStatusInput, type SendReviewThreadToAgentInput, } from "./review/index.js";
|
|
104
104
|
export type { AppToFrameMessage, FrameToAppMessage, FrameMessage, CodeCompleteMessage, ChatRunningMessage, } from "./frame-protocol.js";
|
|
105
105
|
export { CommandMenu, openAgentSidebar, openAgentSettings, submitToAgent, useCommandMenuShortcut, type CommandMenuProps, type CommandMenuDoc, type CommandDocsGroupProps, type CommandGroupProps, type CommandItemProps, type CommandShortcutProps, } from "./CommandMenu.js";
|
|
106
106
|
export { buildOpenRouteLink, buildOpenRoutePath, buildResourceRoute, buildSettingsRoute, buildStandardAppRoute, buildTeamRoute, createStandardOpenPathResolver, STANDARD_APP_ROUTES, STANDARD_SETTINGS_TABS, type BuildResourceRouteOptions, type BuildStandardAppRouteOptions, type NavigationLink, type NavigationTarget, type StandardAppRouteId, type StandardOpenPathResolverOptions, type StandardOpenPathRoute, type StandardSettingsTabId, } from "../navigation/index.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/client/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD,OAAO,EACL,qBAAqB,EACrB,+BAA+B,EAC/B,qBAAqB,EACrB,oCAAoC,EACpC,4BAA4B,EAC5B,oBAAoB,EACpB,+BAA+B,EAC/B,uBAAuB,EACvB,0BAA0B,EAC1B,0BAA0B,EAC1B,oBAAoB,EACpB,eAAe,EACf,yBAAyB,EACzB,2BAA2B,EAC3B,8BAA8B,EAC9B,sBAAsB,EACtB,uBAAuB,EACvB,qBAAqB,EACrB,aAAa,EACb,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,EAClC,KAAK,0BAA0B,EAC/B,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,+BAA+B,EACpC,KAAK,sBAAsB,EAC3B,KAAK,mCAAmC,EACxC,KAAK,mCAAmC,GACzC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,qBAAqB,EACrB,+BAA+B,EAC/B,KAAK,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,EACjB,cAAc,EACd,gBAAgB,EAChB,kBAAkB,EAClB,KAAK,UAAU,EACf,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,GAC3B,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EACL,aAAa,EACb,cAAc,EACd,2BAA2B,EAC3B,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,mBAAmB,GACzB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACL,mBAAmB,EACnB,qBAAqB,EACrB,KAAK,0BAA0B,EAC/B,KAAK,yBAAyB,EAC9B,KAAK,4BAA4B,EACjC,KAAK,2BAA2B,GACjC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAG7D,OAAO,EACL,WAAW,EACX,aAAa,EACb,cAAc,EACd,qBAAqB,EACrB,gBAAgB,EAChB,wBAAwB,EACxB,SAAS,EACT,iBAAiB,EACjB,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,kBAAkB,EAClB,cAAc,EACd,gBAAgB,EAChB,oBAAoB,EACpB,6BAA6B,EAC7B,sBAAsB,EACtB,8BAA8B,EAC9B,KAAK,SAAS,EACd,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,SAAS,EACd,KAAK,eAAe,EACpB,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,aAAa,GACnB,MAAM,mBAAmB,CAAC"}
|
package/dist/client/index.js
CHANGED
|
@@ -118,7 +118,7 @@ export { usePresence, toNormalized, fromNormalized, } from "../collab/presence.j
|
|
|
118
118
|
export { useFollowUser, } from "../collab/follow-mode.js";
|
|
119
119
|
export { ResourcesPanel, ResourceTree, ResourceEditor, useResources, useResourceTree, useResource, useCreateResource, useUpdateResource, useDeleteResource, useUploadResource, } from "./resources/index.js";
|
|
120
120
|
export { HistoryTimeline, VersionHistoryPanel, useCreateResourceVersion, useResourceHistory, useResourceVersion, useResourceVersions, useRestoreResourceVersion, } from "./history/index.js";
|
|
121
|
-
export { ReviewStatusBadge, ReviewThreadPanel, buildReviewThreads, useConsumeReviewFeedback, useCreateReviewComment, useDeleteReviewComment, useReplyReviewComment, useResolveReviewThread, useReviewComments, useReviewFeedback, useSetReviewStatus, } from "./review/index.js";
|
|
121
|
+
export { ReviewCommentComposer, ReviewStatusBadge, ReviewThreadPanel, buildReviewThreads, useConsumeReviewFeedback, useCreateReviewComment, useDeleteReviewComment, useReplyReviewComment, useResolveReviewThread, useReviewComments, useReviewFeedback, useSendReviewThreadToAgent, useSetReviewStatus, } from "./review/index.js";
|
|
122
122
|
export { CommandMenu, openAgentSidebar, openAgentSettings, submitToAgent, useCommandMenuShortcut, } from "./CommandMenu.js";
|
|
123
123
|
export { buildOpenRouteLink, buildOpenRoutePath, buildResourceRoute, buildSettingsRoute, buildStandardAppRoute, buildTeamRoute, createStandardOpenPathResolver, STANDARD_APP_ROUTES, STANDARD_SETTINGS_TABS, } from "../navigation/index.js";
|
|
124
124
|
export { BuilderConnectCard, ProviderReadinessBadge, SetupConnectionsPage, } from "./setup-connections/index.js";
|
package/dist/client/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/client/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAEtE,yBAAyB,EAAE,CAAC;AAE5B,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD,OAAO,EACL,qBAAqB,EACrB,+BAA+B,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CAAC;AAC9C,iDAAiD;AACjD,OAAO,EACL,gBAAgB,EAChB,kBAAkB,EAClB,iBAAiB,EACjB,cAAc,EACd,gBAAgB,EAChB,kBAAkB,GAKnB,MAAM,2BAA2B,CAAC;AACnC,qBAAqB;AACrB,OAAO,EACL,aAAa,EACb,cAAc,EACd,2BAA2B,GAU5B,MAAM,mBAAmB,CAAC;AAC3B,sCAAsC;AACtC,OAAO,EACL,mBAAmB,EACnB,qBAAqB,GAKtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,8EAA8E;AAC9E,wEAAwE;AACxE,OAAO,EACL,WAAW,EACX,aAAa,EACb,cAAc,EACd,qBAAqB,EACrB,gBAAgB,EAChB,wBAAwB,EACxB,SAAS,EACT,iBAAiB,EACjB,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,kBAAkB,EAClB,cAAc,EACd,gBAAgB,EAChB,oBAAoB,EACpB,6BAA6B,EAC7B,sBAAsB,EACtB,8BAA8B,GAgB/B,MAAM,mBAAmB,CAAC","sourcesContent":["import { installRouteChunkRecovery } from \"./route-chunk-recovery.js\";\n\ninstallRouteChunkRecovery();\n\nexport { getBrowserTabId } from \"./browser-tab-id.js\";\n\nexport {\n addContextToAgentChat,\n appendAgentChatContextToMessage,\n clearAgentChatContext,\n formatAgentChatContextItemsForPrompt,\n insertAgentComposerReference,\n listAgentChatContext,\n normalizeAgentComposerReference,\n refreshAgentChatContext,\n removeAgentChatContextItem,\n requestAgentChatThreadOpen,\n requestAgentTaskOpen,\n sendToAgentChat,\n sendToAgentChatAndConfirm,\n reportAgentChatSubmitResult,\n AGENT_CHAT_SUBMIT_RESULT_EVENT,\n parseSubmitChatMessage,\n setAgentChatContextItem,\n setContextToAgentChat,\n generateTabId,\n type ParsedSubmitChat,\n type AgentChatOpenTaskRequest,\n type AgentChatOpenThreadRequest,\n type AgentChatContextItem,\n type AgentChatContextMessage,\n type AgentChatContextMutationOptions,\n type AgentChatContextRemoveOptions,\n type AgentChatContextSetOptions,\n type AgentChatContextState,\n type AgentChatMessage,\n type AgentChatSubmitResult,\n type SendToAgentChatAndConfirmResult,\n type AgentComposerReference,\n type AgentComposerReferenceInsertOptions,\n type AgentComposerReferenceInsertPayload,\n} from \"./agent-chat.js\";\nexport {\n saveAgentEngineApiKey,\n saveAgentEngineProviderSettings,\n type AgentEngineProvider,\n type SaveAgentEngineApiKeyOptions,\n type SaveAgentEngineProviderSettingsOptions,\n} from \"./agent-engine-key.js\";\nexport { useAgentChatGenerating } from \"./use-agent-chat.js\";\nexport {\n useAgentChatContext,\n type UseAgentChatContextResult,\n} from \"./use-agent-chat-context.js\";\nexport { useCodeMode, useDevMode } from \"./use-dev-mode.js\";\nexport {\n agentNativePath,\n appApiPath,\n appBasePath,\n appPath,\n} from \"./api-path.js\";\nexport {\n deleteClientAppState,\n readClientAppState,\n setClientAppState,\n writeClientAppState,\n type ClientAppStateReadOptions,\n type ClientAppStateWriteOptions,\n} from \"./application-state.js\";\nexport {\n useAgentRouteState,\n useSemanticNavigationState,\n type AgentRouteLocation,\n type SemanticNavigationCommandEnvelope,\n type UseAgentRouteStateOptions,\n type UseAgentRouteStateResult,\n type UseSemanticNavigationStateOptions,\n type UseSemanticNavigationStateResult,\n} from \"./route-state.js\";\nexport {\n ensureEmbedAuthFetchInterceptor,\n getEmbedAuthToken,\n isEmbedAuthActive,\n isEmbedMcpChatBridgeActive,\n} from \"./embed-auth.js\";\nexport {\n codeAgentTranscriptEventsToContent,\n codeAgentTranscriptHasPendingApproval,\n createCodeAgentChatAdapter,\n type CodeAgentChatController,\n type CodeAgentChatControlResult,\n type CodeAgentChatFollowUpMode,\n type CodeAgentChatTranscriptEvent,\n type CreateCodeAgentChatAdapterOptions,\n} from \"./code-agent-chat-adapter.js\";\nexport {\n buildRepositoryFromCodeAgentTranscript,\n type BuildRepositoryFromCodeAgentTranscriptOptions,\n type CodeAgentThreadTranscriptEvent,\n} from \"../agent/thread-data-builder.js\";\nexport {\n compareCodeAgentTranscriptEvents,\n getCodeAgentTranscriptSeq,\n isCodeAgentRunActive,\n mergeCodeAgentTranscriptEvents,\n type CodeAgentRunStateLike,\n type CodeAgentTranscriptOrderEvent,\n} from \"../code-agents/transcript-order.js\";\nexport {\n CREDENTIAL_GAP_SIGNAL,\n isCredentialGapCodeAgentEvent,\n} from \"../code-agents/transcript-normalizer.js\";\nexport { useSendToAgentChat } from \"./use-send-to-agent-chat.js\";\nexport {\n useChatModels,\n type UseChatModelsResult,\n type EngineModelGroup,\n} from \"./use-chat-models.js\";\nexport {\n CodeRequiredDialog,\n type CodeRequiredDialogProps,\n} from \"./components/CodeRequiredDialog.js\";\nexport {\n useAgentEngineConfigured,\n type AgentEngineConfiguredState,\n type UseAgentEngineConfiguredResult,\n} from \"./use-agent-engine-configured.js\";\nexport { BuilderSetupCard } from \"./chat/run-recovery.js\";\nexport {\n AgentConversation,\n AgentConversationMessageView,\n normalizeCodeAgentTranscriptForConversation,\n useNearBottomAutoscroll,\n type CodeAgentConversationTranscriptEvent,\n type CodeAgentConversationTranscriptEventType,\n type NormalizeCodeAgentTranscriptOptions,\n type AgentConversationArtifact,\n type AgentConversationAttachment,\n type AgentConversationMessage,\n type AgentConversationMessagePart,\n type AgentConversationMessageRole,\n type AgentConversationNotice,\n type AgentConversationNoticeTone,\n type AgentConversationToolCall,\n type AgentConversationToolState,\n} from \"./conversation/index.js\";\nexport { McpAppRenderer } from \"./mcp-apps/McpAppRenderer.js\";\nexport {\n AGENT_NATIVE_MCP_APP_HOST_MESSAGE_TYPES,\n getMcpAppHostContext,\n openMcpAppHostLink,\n requestMcpAppDisplayMode,\n sendMcpAppHostMessage,\n updateMcpAppModelContext,\n useMcpAppHostContext,\n type AgentNativeMcpAppHostMessageType,\n type McpAppDisplayMode,\n type McpAppHostChatMessage,\n type McpAppHostCapabilities,\n type McpAppHostContext,\n type McpAppHostContextSnapshot,\n type McpAppModelContextContentPart,\n type McpAppModelContextUpdate,\n} from \"./mcp-app-host.js\";\nexport {\n CodeAgentIndicator,\n type CodeAgentIndicatorProps,\n} from \"./components/CodeAgentIndicator.js\";\nexport {\n useDbSync,\n useFileWatcher,\n useScreenRefreshKey,\n} from \"./use-db-sync.js\";\nexport {\n VisualControlRow,\n VisualColorPicker,\n VisualInspectorPanel,\n VisualInspectorSection,\n VisualScrubInput,\n VisualSegmentedControl,\n VisualSliderControl,\n VisualSwatchControl,\n VisualToggleControl,\n VisualTweakControl,\n type VisualControlOption,\n type VisualControlValue,\n type VisualTweakDefinition,\n} from \"./visual-style-controls.js\";\nexport {\n useChangeVersion,\n useChangeVersions,\n getChangeVersion,\n bumpChangeVersion,\n} from \"./use-change-version.js\";\nexport {\n useDemoModeStatus,\n type DemoModeStatus,\n} from \"./use-demo-mode-status.js\";\nexport { useReconciledState } from \"./use-external-value.js\";\nexport {\n buildDynamicAgentSuggestions,\n dedupeSuggestions,\n mergeAgentSuggestions,\n normalizeAgentDynamicSuggestionsConfig,\n useAgentDynamicSuggestions,\n type AgentDynamicSuggestionContext,\n type AgentDynamicSuggestionsConfig,\n type AgentDynamicSuggestionsOption,\n} from \"./dynamic-suggestions.js\";\nexport { cn } from \"./utils.js\";\nexport {\n AgentNativeI18nProvider,\n LanguagePicker,\n getLocaleInitScript,\n localeDirection,\n normalizeLocaleCode,\n normalizeLocalePreference,\n normalizeLocalizationPreference,\n resolveLocaleFromCandidates,\n resolveLocaleFromPreference,\n useFormatters,\n useLocale,\n useT,\n DEFAULT_LOCALE,\n LOCALE_HYDRATION_GLOBAL,\n LOCALE_METADATA,\n LOCALE_STORAGE_KEY,\n SUPPORTED_LOCALES,\n type AgentNativeI18nCatalog,\n type AgentNativeI18nProviderProps,\n type LocaleCode,\n type LocaleHydrationPayload,\n type LocaleMessages,\n type LocaleMetadata,\n type LocalePreference,\n type LocalizationPreference,\n} from \"./i18n.js\";\nexport {\n // Shared editor core (Phase 1): the ONE configurable surface both the plan\n // and content editors build on.\n SharedRichEditor,\n createSharedEditorExtensions,\n MARKDOWN_DIALECT_CONFIG,\n useCollabReconcile,\n RICH_MARKDOWN_PROGRAMMATIC_TRANSACTION,\n getEditorMarkdown,\n SlashCommandMenu,\n DEFAULT_SLASH_COMMANDS,\n createImageSlashCommand,\n // Shared block-level image node + injectable upload contract. Plans opt in\n // via `features.image` + `onImageUpload`; Content keeps its own image block.\n SharedImage,\n createImageExtension,\n pickAndInsertImage,\n uploadEditorImage,\n BubbleToolbar,\n buildDefaultBubbleItems,\n // Back-compat alias + factory kept for existing embedders and specs.\n RichMarkdownEditor,\n createRichMarkdownExtensions,\n // Single-doc plan editor primitives: the GFM↔ProseMirror serializer, the\n // run-id prose attribute, and the shared drag-handle (block grip + reorder).\n RunId,\n RUN_ID_NODE_TYPES,\n gfmToProseJSON,\n proseJSONToGfm,\n DragHandle,\n DEFAULT_DRAG_HANDLE_WRAPPER_SELECTOR,\n // Generic registry-block Tiptap NodeView + side-map provider + dedupe plugin.\n // Hosts mount the node from `createRegistryBlockNode` as an extra extension\n // and wrap the editor in `RegistryBlockDataProvider`.\n createRegistryBlockNode,\n RegistryBlockNodeView,\n RegistryBlockDataProvider,\n useRegistryBlockData,\n // Shared registry-derived block slash-command builder (plan + content adapt it).\n buildRegistryBlockSlashItems,\n getRegistryBlockSlashDescription,\n getRegistryBlockSlashSearchText,\n type BuildRegistryBlockSlashItemsOptions,\n type DragHandleDropContext,\n type DragHandleDropPlacement,\n type DragHandleOptions,\n type CreateRegistryBlockNodeOptions,\n type RegistryBlockDataValue,\n type RegistryBlockSideMapBlock,\n type SharedRichEditorProps,\n type SharedEditorCollab,\n type SharedEditorFeatures,\n type CreateSharedEditorExtensionsOptions,\n type UseCollabReconcileOptions,\n type UseCollabReconcileResult,\n type SlashCommandItem,\n type SlashCommandMenuProps,\n type ImageUploadFn,\n type SharedImageOptions,\n type BubbleToolbarItem,\n type BubbleToolbarProps,\n type RichMarkdownDialect,\n type RichMarkdownEditorPreset,\n type RichMarkdownEditorProps,\n type RichMarkdownCollabUser,\n type CreateRichMarkdownExtensionsOptions,\n} from \"./rich-markdown-editor/index.js\";\n// ProseMirror node JSON shape — re-exported so the plan template (which has no\n// direct @tiptap dep) can type its doc↔blocks serializer.\nexport type { JSONContent } from \"@tiptap/core\";\nexport { ApiKeySettings } from \"./components/ApiKeySettings.js\";\nexport { useSession, type AuthSession } from \"./use-session.js\";\nexport {\n RequireSession,\n buildSignInReturnHref,\n type RequireSessionProps,\n} from \"./require-session.js\";\nexport {\n sendToFrame,\n onFrameMessage,\n requestUserInfo,\n getFrameOrigin,\n getFramePostMessageTargetOrigin,\n getCallbackOrigin,\n oauthRedirectUri,\n isInFrame,\n enterStyleEditing,\n enterTextEditing,\n exitSelectionMode,\n type UserInfo,\n} from \"./frame.js\";\nexport {\n getBuilderParentOrigin,\n isInBuilderFrame,\n sendToBuilderChat,\n type BuilderChatMessage,\n} from \"./builder-frame.js\";\nexport {\n AgentNative,\n useAgentNativeScreenContext,\n type AgentNativeCommandCallback,\n type AgentNativeCommandCallbackInfo,\n type AgentNativeProps,\n} from \"./AgentNative.js\";\nexport {\n AgentNativeEmbedded,\n useAgentNativeEmbeddedBrowserSession,\n type AgentNativeEmbeddedBrowserSessionOptions,\n type AgentNativeEmbeddedCommandCallback,\n type AgentNativeEmbeddedCommandCallbackInfo,\n type AgentNativeEmbeddedProps,\n type UseAgentNativeEmbeddedBrowserSessionOptions,\n} from \"./AgentNativeEmbedded.js\";\nexport {\n defineClientAction,\n type AgentNativeClientActionDefinition,\n type AgentNativeClientActionRunner,\n} from \"./client-action.js\";\nexport {\n AgentNativeFrame,\n type AgentNativeFrameProps,\n} from \"./AgentNativeFrame.js\";\nexport {\n AgentNativeRouteWarmup,\n type AgentNativeRouteWarmupProps,\n} from \"./route-warmup.js\";\nexport {\n AgentNativeExtensionFrame,\n AgentNativeExtensionSlot,\n type AgentNativeExtensionFrameProps,\n type AgentNativeExtensionPermissionList,\n type AgentNativeExtensionSlotProps,\n type AgentNativeExtensionStorageScopeList,\n} from \"./extensions/AgentNativeExtensionFrame.js\";\nexport {\n AGENT_NATIVE_EXTENSION_MESSAGE_TYPES,\n buildAgentNativeExtensionHtml,\n createHttpAgentNativeExtensionStorage,\n createLocalStorageAgentNativeExtensionStorage,\n getAgentNativeExtensionManifest,\n isAgentNativeExtensionAllowedInSlot,\n normalizeAgentNativeExtensionSandbox,\n type AgentNativeExtensionDefinition,\n type AgentNativeExtensionManifest,\n type AgentNativeExtensionMessageType,\n type AgentNativeExtensionStorage,\n type AgentNativeExtensionStorageContext,\n type AgentNativeExtensionStorageOptions,\n type AgentNativeExtensionStorageRow,\n type AgentNativeExtensionStorageScope,\n type BuildAgentNativeExtensionHtmlOptions,\n type CreateHttpAgentNativeExtensionStorageOptions,\n} from \"./extensions/portable-extension.js\";\nexport { injectSessionReplayIframeBootstrap } from \"../extensions/session-replay-iframe.js\";\nexport {\n SESSION_REPLAY_IFRAME_ATTRIBUTE,\n SESSION_REPLAY_IFRAME_PROBE,\n SESSION_REPLAY_IFRAME_START,\n SESSION_REPLAY_IFRAME_STOP,\n} from \"../session-replay-iframe-protocol.js\";\nexport {\n AGENT_NATIVE_HOST_BRIDGE_VERSION,\n AGENT_NATIVE_HOST_MESSAGE_TYPES,\n announceAgentNativeFrameReady,\n createAgentNativeHostBridge,\n defaultAgentNativeHostCommands,\n onAgentNativeHostInit,\n readAgentNativeScreenContext,\n requestAgentNativeHostActions,\n requestAgentNativeHostContext,\n runAgentNativeHostAction,\n sendAgentNativeHostCommand,\n type AgentNativeActionAvailability,\n type AgentNativeActionManifestEntry,\n type AgentNativeClientAction,\n type AgentNativeClientActionApprovalConfig,\n type AgentNativeClientActionGetter,\n type AgentNativeClientActionRuntime,\n type AgentNativeClientActions,\n type AgentNativeHostAuth,\n type AgentNativeHostAuthPayload,\n type AgentNativeHostBridge,\n type AgentNativeHostBridgeEvent,\n type AgentNativeHostBridgeOptions,\n type AgentNativeHostCapabilities,\n type AgentNativeHostCommandHandler,\n type AgentNativeHostCommandHandlers,\n type AgentNativeHostCommandRequest,\n type AgentNativeHostContext,\n type AgentNativeHostContextGetter,\n type AgentNativeHostInit,\n type AgentNativeHostMessageType,\n type AgentNativeHostRequestOptions,\n type AgentNativeHostResourceContext,\n type AgentNativeHostRouteContext,\n type AgentNativeHostSelectionContext,\n type AgentNativeHostSession,\n type AgentNativeJsonSchema,\n type AgentNativeScreenSnapshot,\n type AgentNativeScreenSnapshotOptions,\n type BuiltInAgentNativeHostCommand,\n} from \"./host-bridge.js\";\nexport {\n AGENT_NATIVE_HOST_TOOL_NAMES,\n createAgentNativeHostTools,\n type AgentNativeHostToolDefinition,\n type AgentNativeHostToolName,\n type AgentNativeHostToolParameters,\n type AgentNativeHostToolSet,\n type CreateAgentNativeHostToolsOptions,\n type RunAgentNativeHostActionToolInput,\n type SendAgentNativeHostCommandToolInput,\n} from \"./host-tools.js\";\nexport {\n createAgentNativeBrowserSessionBridge,\n startAgentNativeBrowserSessionBridge,\n type AgentNativeBrowserSessionBridge,\n type AgentNativeBrowserSessionBridgeOptions,\n} from \"./browser-session-bridge.js\";\nexport type {\n AgentNativeBrowserSession,\n AgentNativeBrowserSessionAction,\n AgentNativeBrowserSessionRecord,\n AgentNativeBrowserSessionRequest,\n AgentNativeBrowserSessionRequestStatus,\n AgentNativeBrowserSessionRequestType,\n CreateAgentNativeBrowserSessionRequestInput,\n RegisterAgentNativeBrowserSessionInput,\n} from \"../browser-sessions/types.js\";\nexport {\n NewWorkspaceAppFlow,\n type NewWorkspaceAppFlowProps,\n type VaultSecretOption,\n} from \"./NewWorkspaceAppFlow.js\";\nexport {\n AssistantChat,\n clearChatStorage,\n type AssistantChatProps,\n type AssistantChatHandle,\n type AssistantChatAdapterContext,\n} from \"./AssistantChat.js\";\nexport {\n MultiTabAssistantChat,\n type MultiTabAssistantChatProps,\n type MultiTabAssistantChatHeaderProps,\n} from \"./MultiTabAssistantChat.js\";\nexport { RunStuckBanner, type RunStuckBannerProps } from \"./RunStuckBanner.js\";\nexport {\n KeepTabOpenNotice,\n type KeepTabOpenNoticeProps,\n} from \"./KeepTabOpenNotice.js\";\nexport {\n useRunStuckDetection,\n useAbortRun,\n type RunStuckState,\n type UseRunStuckDetectionOptions,\n} from \"./use-run-stuck-detection.js\";\nexport {\n createAgentChatAdapter,\n type AgentChatSurfaceKind,\n type CreateAgentChatAdapterOptions,\n} from \"./agent-chat-adapter.js\";\nexport {\n AgentComposerFrame,\n type AgentComposerFrameProps,\n PromptComposer,\n RealtimeVoiceModeBoundary,\n RealtimeVoiceModeProvider,\n RealtimeVoiceModeDock,\n RealtimeVoiceModeEntry,\n TiptapComposer,\n AGENT_PROMPT_MAX_INLINE_IMAGE_BYTES,\n AGENT_PROMPT_MAX_INLINE_TEXT_CHARS,\n escapePromptAttachmentAttribute,\n formatPromptWithAttachments,\n isInlineableAgentPromptFile,\n readAgentPromptAttachment,\n createRealtimeVoiceSession,\n createRealtimeVoiceSessionWithCapability,\n executeRealtimeVoiceTool,\n extractRealtimeVoiceFunctionCalls,\n readRealtimeVoiceContext,\n useRealtimeVoiceMode,\n useRealtimeVoiceModeCopy,\n useRealtimeVoiceModeOptional,\n type PromptComposerProps,\n type PromptComposerFile,\n type PromptComposerSubmitOptions,\n type RealtimeVoiceModeCopy,\n type RealtimeVoiceModeDockProps,\n type RealtimeVoiceModeEntryProps,\n type RealtimeVoiceSessionAnswer,\n type RealtimeVoiceModeInlineSettings,\n type RealtimeVoiceModeSelectSetting,\n type RealtimeVoiceModeSettingOption,\n type RealtimeVoiceModeState,\n type RealtimeVoiceModeApi,\n type RealtimeVoiceModeProviderProps,\n type RealtimeVoiceToolResult,\n type ComposerSubmitIntent,\n type AgentPromptAttachment,\n type ReadAgentPromptAttachmentOptions,\n type AgentComposerLayoutVariant,\n type SlashCommand,\n type SkillResult,\n type TiptapComposerHandle,\n type TiptapComposerProps,\n type TiptapComposerSubmitOptions,\n} from \"./composer/index.js\";\nexport {\n GuidedQuestionFlow,\n useGuidedQuestionFlow,\n askUserQuestion,\n formatGuidedAnswerValue,\n formatGuidedAnswersForAgent,\n getOtherGuidedAnswerText,\n hasGuidedAnswer,\n isOtherGuidedAnswer,\n makeOtherGuidedAnswer,\n normalizeGuidedAnswers,\n type AskUserQuestionInput,\n type AskUserQuestionOption,\n type AskUserQuestionResult,\n type GuidedQuestion,\n type GuidedQuestionAnswers,\n type GuidedQuestionFlowProps,\n type GuidedQuestionOption,\n type GuidedQuestionPayload,\n type GuidedQuestionType,\n type UseGuidedQuestionFlowOptions,\n} from \"./guided-questions.js\";\nexport {\n useChatThreads,\n type ChatThreadScope,\n type ChatThreadSnapshot,\n type ChatThreadSummary,\n type ChatThreadData,\n type ChatThreadShareLink,\n type ChatThreadShareState,\n type UseChatThreadsOptions,\n} from \"./use-chat-threads.js\";\nexport {\n ChatHistoryList,\n type ChatHistoryItem,\n type ChatHistorySection,\n type ChatHistoryListProps,\n} from \"./chat/ChatHistoryList.js\";\nexport { AgentChatHome, type AgentChatHomeProps } from \"./AgentChatHome.js\";\nexport {\n AgentChatSurface,\n AgentPanel,\n AgentSidebar,\n AgentToggleButton,\n focusAgentChat,\n type AgentChatSurfaceMode,\n type AgentChatSurfaceProps,\n type AgentPanelProps,\n type AgentSidebarProps,\n} from \"./AgentPanel.js\";\nexport {\n AgentTabsPage,\n type AgentTabsPageProps,\n} from \"./agent-page/AgentTabsPage.js\";\nexport type { AgentPageScope, AgentPageTabProps } from \"./agent-page/types.js\";\nexport {\n AGENT_CHAT_HOME_HANDOFF_TTL_MS,\n AGENT_CHAT_VIEW_TRANSITION_CLASS,\n AGENT_CHAT_VIEW_TRANSITION_NAME,\n consumeAgentChatHomeHandoff,\n getAgentChatViewTransitionStyle,\n isAgentChatHomeHandoffActive,\n markAgentChatHomeHandoff,\n navigateWithAgentChatViewTransition,\n startAgentChatViewTransition,\n supportsAgentChatViewTransition,\n type AgentChatHomeHandoffOptions,\n type AgentChatViewTransition,\n type AgentChatViewTransitionOptions,\n} from \"./chat-view-transition.js\";\nexport {\n useAgentChatHomeHandoff,\n useAgentChatHomeHandoffLinks,\n type UseAgentChatHomeHandoffLinksOptions,\n type UseAgentChatHomeHandoffOptions,\n} from \"./use-agent-chat-home-handoff.js\";\nexport {\n requestAgentSidebarOpen,\n SIDEBAR_STATE_CHANGE_EVENT,\n setAgentSidebarOpenPreference,\n type AgentSidebarStateChangeDetail,\n type AgentSidebarStateMode,\n type AgentSidebarStateSource,\n} from \"./agent-sidebar-state.js\";\nexport {\n clearReservedToolRenderersForTests,\n clearToolRenderersForTests,\n registerActionChatRenderer,\n registerFallbackToolRenderer,\n registerReservedActionChatRenderer,\n registerReservedFallbackToolRenderer,\n registerReservedToolRenderer,\n registerToolRenderer,\n resolveToolRenderer,\n type ActionChatRendererRegistration,\n type ToolRendererComponent,\n type ToolRendererContext,\n type ToolRendererMatch,\n type ToolRendererProps,\n type ToolRendererRegistration,\n} from \"./chat/tool-render-registry.js\";\nexport * from \"./chat/connectors.js\";\nexport * from \"./chat/runtime.js\";\nexport {\n ACTION_CHAT_UI_DATA_CHART_RENDERER,\n ACTION_CHAT_UI_DATA_INSIGHTS_RENDERER,\n ACTION_CHAT_UI_DATA_TABLE_RENDERER,\n ACTION_CHAT_UI_DATA_WIDGET_RENDERER,\n ACTION_CHAT_UI_INLINE_EXTENSION_RENDERER,\n type ActionChatUIConfig,\n} from \"../action-ui.js\";\nexport {\n DATA_CHART_WIDGET,\n DATA_INSIGHTS_WIDGET,\n DATA_TABLE_WIDGET,\n createDataChartWidgetResult,\n createDataInsightsWidgetResult,\n createDataTableWidgetResult,\n dataChartWidgetResultSchema,\n dataChartWidgetSchema,\n dataInsightsWidgetResultSchema,\n dataTableWidgetResultSchema,\n dataTableWidgetSchema,\n dataWidgetResultSchema,\n isDataChartWidget,\n isDataTableWidget,\n isDataWidgetResult,\n normalizeDataWidgetKind,\n normalizeDataWidgetResult,\n type DataChartSeriesDefinition,\n type DataChartWidget,\n type DataChartWidgetResult,\n type DataChartWidgetResultInput,\n type DataInsightsWidgetResult,\n type DataInsightsWidgetResultInput,\n type DataTableColumn,\n type DataTableWidget,\n type DataTableWidgetResult,\n type DataTableWidgetResultInput,\n type DataWidgetDisplay,\n type DataWidgetKind,\n type DataWidgetResult,\n type DataWidgetResultMetadata,\n} from \"./chat/widgets/data-widget-types.js\";\nexport { AgentNativeIcon } from \"./components/icons/AgentNativeIcon.js\";\nexport {\n SettingsPanel,\n SettingsTabsPage,\n SecretsSection,\n getAgentSettingsSearchTabs,\n openBuilderConnectPopup,\n useAgentSettingsTabs,\n useBuilderConnectFlow,\n useBuilderStatus,\n withBuilderConnectTrackingParams,\n type BuilderConnectFlow,\n type BuilderConnectFlowOptions,\n type BuilderConnectStartOptions,\n type BuilderStatus,\n type AgentSettingsSearchTab,\n type OpenBuilderConnectPopupOptions,\n type SecretsSectionProps,\n type SettingsPanelProps,\n type SettingsSearchEntry,\n type SettingsTabItem,\n type SettingsTabsPageProps,\n} from \"./settings/index.js\";\nexport { Turnstile, type TurnstileProps } from \"./Turnstile.js\";\nexport {\n OpenSourceBadge,\n PoweredByBadge,\n type OpenSourceBadgeProps,\n type PoweredByBadgeProps,\n} from \"./PoweredByBadge.js\";\nexport {\n StarfieldBackground,\n type StarfieldBackgroundProps,\n} from \"./StarfieldBackground.js\";\nexport { FeedbackButton, type FeedbackButtonProps } from \"./FeedbackButton.js\";\nexport {\n ErrorReportActions,\n type ErrorReportActionsProps,\n} from \"./ErrorReportActions.js\";\nexport {\n buildErrorReportTemplate,\n buildGitHubIssueUrl,\n type ErrorReportDebugItem,\n type ErrorReportTemplateOptions,\n} from \"./error-reporting.js\";\nexport { getClientSurface, type ClientSurface } from \"./client-surface.js\";\nexport {\n DevDatabaseLink,\n type DevDatabaseLinkProps,\n} from \"./db-admin/DevDatabaseLink.js\";\nexport { DbAdminPage } from \"./db-admin/DbAdminPage.js\";\nexport { ErrorBoundary } from \"./ErrorBoundary.js\";\nexport {\n installRouteChunkRecovery,\n reloadForStaleChunk,\n recoverFromStaleChunkError,\n} from \"./route-chunk-recovery.js\";\nexport { ClientOnly } from \"./ClientOnly.js\";\nexport { DefaultSpinner } from \"./DefaultSpinner.js\";\nexport {\n getThemeInitScript,\n themeInitScript,\n type ThemePreference,\n} from \"./theme.js\";\nexport {\n APPEARANCE_PRESETS,\n applyAppearance,\n getStoredAppearance,\n useAppearance,\n useAppearanceSync,\n type AppearancePresetId,\n} from \"./appearance.js\";\nexport {\n AppearancePicker,\n type AppearancePickerProps,\n} from \"./AppearancePicker.js\";\nexport { AgentTerminal, type AgentTerminalProps } from \"./terminal/index.js\";\nexport {\n trackEvent,\n trackSessionStatus,\n configureTracking,\n setTrackingContentCaptureEnabled,\n maybeStartSessionReplay,\n startSessionReplay,\n stopSessionReplay,\n getAnalyticsAnonymousId,\n getAnalyticsSessionId,\n getFirstTouchAttribution,\n setSentryUser,\n captureError,\n captureClientException,\n // First-party, Sentry-style error capture (auto + manual API).\n AGENT_NATIVE_EXCEPTION_EVENT_NAME,\n addErrorBreadcrumb,\n captureException,\n captureMessage,\n isErrorCaptureInstalled,\n type CaptureExceptionContext,\n type CapturedExceptionEvent,\n type ClientCaptureContext,\n type ConfigureTrackingOptions,\n type ErrorCaptureConfigOptions,\n type ExceptionBreadcrumb,\n type ExceptionLevel,\n type FirstTouchAttribution,\n type SessionReplayOptions,\n type SessionReplayStartResult,\n type SessionReplayUrlMatcher,\n} from \"./analytics.js\";\nexport { track } from \"./track.js\";\nexport {\n useCollaborativeDoc,\n isReconcileLeadClient,\n emailToColor,\n emailToName,\n dedupeCollabUsersByEmail,\n type UseCollaborativeDocOptions,\n type UseCollaborativeDocResult,\n type CollabUser,\n} from \"../collab/client.js\";\nexport { AGENT_CLIENT_ID } from \"../collab/agent-identity.js\";\n// Presence kit\nexport {\n usePresence,\n toNormalized,\n fromNormalized,\n type OtherPresence,\n type PresencePayload,\n type UsePresenceResult,\n type NormalizedPoint,\n} from \"../collab/presence.js\";\nexport {\n useFollowUser,\n type UseFollowUserOptions,\n type UseFollowUserResult,\n type ViewportDescriptor,\n} from \"../collab/follow-mode.js\";\nexport {\n ResourcesPanel,\n ResourceTree,\n ResourceEditor,\n useResources,\n useResourceTree,\n useResource,\n useCreateResource,\n useUpdateResource,\n useDeleteResource,\n useUploadResource,\n type Resource,\n type ResourceMeta,\n type TreeNode,\n type ResourceScope,\n type ResourceTreeProps,\n type ResourceEditorProps,\n} from \"./resources/index.js\";\nexport type { ResourcesPanelProps } from \"./resources/ResourcesPanel.js\";\nexport {\n HistoryTimeline,\n VersionHistoryPanel,\n useCreateResourceVersion,\n useResourceHistory,\n useResourceVersion,\n useResourceVersions,\n useRestoreResourceVersion,\n type CreateResourceVersionInput,\n type GetResourceVersionInput,\n type GetResourceVersionResult,\n type ListResourceHistoryResult,\n type ListResourceVersionsResult,\n type ResourceHistoryParams,\n type ResourceVersionsParams,\n type RestoreResourceVersionInput,\n type RestoreResourceVersionResult,\n type VersionHistoryPanelProps,\n} from \"./history/index.js\";\nexport {\n ReviewStatusBadge,\n ReviewThreadPanel,\n buildReviewThreads,\n useConsumeReviewFeedback,\n useCreateReviewComment,\n useDeleteReviewComment,\n useReplyReviewComment,\n useResolveReviewThread,\n useReviewComments,\n useReviewFeedback,\n useSetReviewStatus,\n type ConsumeReviewFeedbackInput,\n type CreateReviewCommentInput,\n type DeleteReviewCommentInput,\n type GetReviewFeedbackParams,\n type GetReviewFeedbackResult,\n type ListReviewCommentsParams,\n type ListReviewCommentsResult,\n type ReplyReviewCommentInput,\n type ResolveReviewThreadInput,\n type ReviewStatusBadgeProps,\n type ReviewThread,\n type ReviewThreadPanelProps,\n type SetReviewStatusInput,\n} from \"./review/index.js\";\nexport type {\n AppToFrameMessage,\n FrameToAppMessage,\n FrameMessage,\n CodeCompleteMessage,\n ChatRunningMessage,\n} from \"./frame-protocol.js\";\nexport {\n CommandMenu,\n openAgentSidebar,\n openAgentSettings,\n submitToAgent,\n useCommandMenuShortcut,\n type CommandMenuProps,\n type CommandMenuDoc,\n type CommandDocsGroupProps,\n type CommandGroupProps,\n type CommandItemProps,\n type CommandShortcutProps,\n} from \"./CommandMenu.js\";\nexport {\n buildOpenRouteLink,\n buildOpenRoutePath,\n buildResourceRoute,\n buildSettingsRoute,\n buildStandardAppRoute,\n buildTeamRoute,\n createStandardOpenPathResolver,\n STANDARD_APP_ROUTES,\n STANDARD_SETTINGS_TABS,\n type BuildResourceRouteOptions,\n type BuildStandardAppRouteOptions,\n type NavigationLink,\n type NavigationTarget,\n type StandardAppRouteId,\n type StandardOpenPathResolverOptions,\n type StandardOpenPathRoute,\n type StandardSettingsTabId,\n} from \"../navigation/index.js\";\nexport {\n BuilderConnectCard,\n ProviderReadinessBadge,\n SetupConnectionsPage,\n type BuilderConnectCardProps,\n type ProviderReadinessBadgeProps,\n type SetupConnectionsPageProps,\n} from \"./setup-connections/index.js\";\nexport {\n listIntegrationEnvStatuses,\n listIntegrationStatuses,\n saveIntegrationEnvVars,\n setIntegrationEnabled,\n setupIntegration,\n disconnectManagedIntegrationInstallation,\n listManagedIntegrationInstallations,\n managedIntegrationOAuthUrl,\n managedSlackAgentManifestUrl,\n listManagedIntegrationScopes,\n saveManagedIntegrationScope,\n listManagedIntegrationBudgets,\n listManagedIntegrationMemory,\n forgetManagedIntegrationMemory,\n saveManagedIntegrationBudget,\n testManagedIntegrationInstallation,\n IntegrationClientError,\n type ClientIntegrationInstallation,\n type ClientIntegrationScope,\n type ClientIntegrationUsageBudget,\n type ClientIntegrationMemory,\n type ClientIntegrationStatus,\n type IntegrationEnvStatus,\n type SavedEnvVarsResult,\n} from \"./integrations/index.js\";\nexport {\n invokeConfiguredAutomationWorkflow,\n type InvokeConfiguredAutomationWorkflowInput,\n} from \"./automation.js\";\nexport {\n ChangelogDialog,\n ChangelogSettingsCard,\n useChangelogSeen,\n parseChangelog,\n type ChangelogDialogProps,\n type ChangelogSettingsCardProps,\n type ChangelogEntry,\n} from \"./changelog/Changelog.js\";\nexport {\n DevOverlay,\n useDevOverlayShortcut,\n registerDevPanel,\n unregisterDevPanel,\n listDevPanels,\n subscribeDevPanels,\n useDevOption,\n clearAllDevOverlayStorage,\n devOptionKey,\n DEV_OVERLAY_STORAGE_PREFIX,\n type DevOverlayProps,\n type DevPanel,\n type DevOption,\n type DevBooleanOption,\n type DevSelectOption,\n type DevStringOption,\n type DevActionOption,\n type DevOptionValue,\n} from \"./dev-overlay/index.js\";\nexport {\n ACTION_KEEPALIVE_BODY_BUDGET_BYTES,\n callAction,\n tryCallActionKeepalive,\n useActionQuery,\n useActionMutation,\n type ActionRegistry,\n type ClientActionCallOptions,\n type ClientActionMethod,\n type KeepaliveActionCallRejectionReason,\n type KeepaliveActionCallResult,\n} from \"./use-action.js\";\nexport { createAgentNativeQueryClient } from \"./create-query-client.js\";\nexport { AppProviders, type AppProvidersProps } from \"./app-providers.js\";\nexport { usePinchZoom, type UsePinchZoomOptions } from \"./use-pinch-zoom.js\";\nexport {\n ShareButton,\n ShareDialog,\n VisibilityBadge,\n type ShareButtonProps,\n type ShareDialogProps,\n type VisibilityBadgeProps,\n} from \"./sharing/index.js\";\nexport {\n postNavigate,\n isInAgentEmbed,\n AGENT_NAVIGATE_MESSAGE_TYPE,\n type AgentNavigateMessage,\n} from \"./embed.js\";\nexport { IframeEmbed, parseEmbedBody } from \"./IframeEmbed.js\";\nexport {\n useAvatarUrl,\n uploadAvatar,\n invalidateAvatarCache,\n} from \"./use-avatar.js\";\nexport {\n ObservabilityDashboard,\n ThumbsFeedback,\n} from \"./observability/index.js\";\n// Presence UI components\nexport {\n PresenceBar,\n type PresenceBarProps,\n} from \"./components/PresenceBar.js\";\nexport {\n AgentPresenceChip,\n type AgentPresenceChipProps,\n} from \"./components/AgentPresenceChip.js\";\nexport {\n LiveCursorOverlay,\n type LiveCursorOverlayProps,\n type CursorMapFn,\n} from \"./components/LiveCursorOverlay.js\";\nexport {\n RemoteSelectionRings,\n type RemoteSelectionRingsProps,\n type SelectionDescriptor,\n} from \"./components/RemoteSelectionRings.js\";\nexport {\n RecentEditHighlights,\n type RecentEditHighlightsProps,\n} from \"./components/RecentEditHighlights.js\";\n// Recent-edit attribution (lingering highlights)\nexport {\n appendRecentEdit,\n collectRecentEdits,\n publishRecentEdit,\n useRecentEdits,\n RECENT_EDITS_MAX,\n RECENT_EDIT_TTL_MS,\n type RecentEdit,\n type RecentEditDescriptor,\n type AttributedRecentEdit,\n type UseRecentEditsOptions,\n} from \"../collab/recent-edits.js\";\n// Per-user undo/redo\nexport {\n useCollabUndo,\n useLocalOpUndo,\n createLocalOpUndoController,\n type UseCollabUndoOptions,\n type UseCollabUndoResult,\n type CollabUndoScope,\n type UseLocalOpUndoOptions,\n type UseLocalOpUndoResult,\n type LocalOpUndoEntry,\n type LocalOpUndoController,\n type CreateLocalOpUndoOptions,\n type UndoKeyboardOptions,\n} from \"../collab/undo.js\";\n// Structured data collaboration hooks\nexport {\n useCollaborativeMap,\n useCollaborativeArray,\n type UseCollaborativeMapOptions,\n type UseCollaborativeMapResult,\n type UseCollaborativeArrayOptions,\n type UseCollaborativeArrayResult,\n} from \"../collab/client-struct.js\";\nexport { NotificationsBell } from \"./notifications/index.js\";\n// Block registry (also available as the dedicated `@agent-native/core/blocks`\n// subpath, which server/agent code should prefer via `/blocks/server`).\nexport {\n defineBlock,\n BlockRegistry,\n registerBlocks,\n BlockRegistryProvider,\n useBlockRegistry,\n useOptionalBlockRegistry,\n BlockView,\n SchemaBlockEditor,\n markdown,\n richtext,\n introspect,\n serializeSpecBlock,\n parseSpecBlock,\n createAttrReader,\n childCodeFenceFields,\n serializeChildCodeFenceFields,\n describeBlocksForAgent,\n renderBlockVocabularyReference,\n type BlockSpec,\n type BlockPlacement,\n type BlockMdxConfig,\n type BlockAttrReader,\n type BlockRenderContext,\n type BlockReadProps,\n type BlockEditProps,\n type MdxAttrValue,\n type FieldKind,\n type FieldDescriptor,\n type MdxJsxNode,\n type MdxAttrNode,\n type SerializableBlock,\n type ParsedBlockBase,\n type BlockAgentDoc,\n} from \"./blocks/index.js\";\n"]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,CAAC;AAClC,yBAAyB;AACzB,OAAO,EACL,WAAW,GAEZ,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,iBAAiB,GAElB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,iBAAiB,GAGlB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,oBAAoB,GAGrB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,oBAAoB,GAErB,MAAM,sCAAsC,CAAC;AAC9C,iDAAiD;AACjD,OAAO,EACL,gBAAgB,EAChB,kBAAkB,EAClB,iBAAiB,EACjB,cAAc,EACd,gBAAgB,EAChB,kBAAkB,GAKnB,MAAM,2BAA2B,CAAC;AACnC,qBAAqB;AACrB,OAAO,EACL,aAAa,EACb,cAAc,EACd,2BAA2B,GAU5B,MAAM,mBAAmB,CAAC;AAC3B,sCAAsC;AACtC,OAAO,EACL,mBAAmB,EACnB,qBAAqB,GAKtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,8EAA8E;AAC9E,wEAAwE;AACxE,OAAO,EACL,WAAW,EACX,aAAa,EACb,cAAc,EACd,qBAAqB,EACrB,gBAAgB,EAChB,wBAAwB,EACxB,SAAS,EACT,iBAAiB,EACjB,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,kBAAkB,EAClB,cAAc,EACd,gBAAgB,EAChB,oBAAoB,EACpB,6BAA6B,EAC7B,sBAAsB,EACtB,8BAA8B,GAgB/B,MAAM,mBAAmB,CAAC","sourcesContent":["import { installRouteChunkRecovery } from \"./route-chunk-recovery.js\";\n\ninstallRouteChunkRecovery();\n\nexport { getBrowserTabId } from \"./browser-tab-id.js\";\n\nexport {\n addContextToAgentChat,\n appendAgentChatContextToMessage,\n clearAgentChatContext,\n formatAgentChatContextItemsForPrompt,\n insertAgentComposerReference,\n listAgentChatContext,\n normalizeAgentComposerReference,\n refreshAgentChatContext,\n removeAgentChatContextItem,\n requestAgentChatThreadOpen,\n requestAgentTaskOpen,\n sendToAgentChat,\n sendToAgentChatAndConfirm,\n reportAgentChatSubmitResult,\n AGENT_CHAT_SUBMIT_RESULT_EVENT,\n parseSubmitChatMessage,\n setAgentChatContextItem,\n setContextToAgentChat,\n generateTabId,\n type ParsedSubmitChat,\n type AgentChatOpenTaskRequest,\n type AgentChatOpenThreadRequest,\n type AgentChatContextItem,\n type AgentChatContextMessage,\n type AgentChatContextMutationOptions,\n type AgentChatContextRemoveOptions,\n type AgentChatContextSetOptions,\n type AgentChatContextState,\n type AgentChatMessage,\n type AgentChatSubmitResult,\n type SendToAgentChatAndConfirmResult,\n type AgentComposerReference,\n type AgentComposerReferenceInsertOptions,\n type AgentComposerReferenceInsertPayload,\n} from \"./agent-chat.js\";\nexport {\n saveAgentEngineApiKey,\n saveAgentEngineProviderSettings,\n type AgentEngineProvider,\n type SaveAgentEngineApiKeyOptions,\n type SaveAgentEngineProviderSettingsOptions,\n} from \"./agent-engine-key.js\";\nexport { useAgentChatGenerating } from \"./use-agent-chat.js\";\nexport {\n useAgentChatContext,\n type UseAgentChatContextResult,\n} from \"./use-agent-chat-context.js\";\nexport { useCodeMode, useDevMode } from \"./use-dev-mode.js\";\nexport {\n agentNativePath,\n appApiPath,\n appBasePath,\n appPath,\n} from \"./api-path.js\";\nexport {\n deleteClientAppState,\n readClientAppState,\n setClientAppState,\n writeClientAppState,\n type ClientAppStateReadOptions,\n type ClientAppStateWriteOptions,\n} from \"./application-state.js\";\nexport {\n useAgentRouteState,\n useSemanticNavigationState,\n type AgentRouteLocation,\n type SemanticNavigationCommandEnvelope,\n type UseAgentRouteStateOptions,\n type UseAgentRouteStateResult,\n type UseSemanticNavigationStateOptions,\n type UseSemanticNavigationStateResult,\n} from \"./route-state.js\";\nexport {\n ensureEmbedAuthFetchInterceptor,\n getEmbedAuthToken,\n isEmbedAuthActive,\n isEmbedMcpChatBridgeActive,\n} from \"./embed-auth.js\";\nexport {\n codeAgentTranscriptEventsToContent,\n codeAgentTranscriptHasPendingApproval,\n createCodeAgentChatAdapter,\n type CodeAgentChatController,\n type CodeAgentChatControlResult,\n type CodeAgentChatFollowUpMode,\n type CodeAgentChatTranscriptEvent,\n type CreateCodeAgentChatAdapterOptions,\n} from \"./code-agent-chat-adapter.js\";\nexport {\n buildRepositoryFromCodeAgentTranscript,\n type BuildRepositoryFromCodeAgentTranscriptOptions,\n type CodeAgentThreadTranscriptEvent,\n} from \"../agent/thread-data-builder.js\";\nexport {\n compareCodeAgentTranscriptEvents,\n getCodeAgentTranscriptSeq,\n isCodeAgentRunActive,\n mergeCodeAgentTranscriptEvents,\n type CodeAgentRunStateLike,\n type CodeAgentTranscriptOrderEvent,\n} from \"../code-agents/transcript-order.js\";\nexport {\n CREDENTIAL_GAP_SIGNAL,\n isCredentialGapCodeAgentEvent,\n} from \"../code-agents/transcript-normalizer.js\";\nexport { useSendToAgentChat } from \"./use-send-to-agent-chat.js\";\nexport {\n useChatModels,\n type UseChatModelsResult,\n type EngineModelGroup,\n} from \"./use-chat-models.js\";\nexport {\n CodeRequiredDialog,\n type CodeRequiredDialogProps,\n} from \"./components/CodeRequiredDialog.js\";\nexport {\n useAgentEngineConfigured,\n type AgentEngineConfiguredState,\n type UseAgentEngineConfiguredResult,\n} from \"./use-agent-engine-configured.js\";\nexport { BuilderSetupCard } from \"./chat/run-recovery.js\";\nexport {\n AgentConversation,\n AgentConversationMessageView,\n normalizeCodeAgentTranscriptForConversation,\n useNearBottomAutoscroll,\n type CodeAgentConversationTranscriptEvent,\n type CodeAgentConversationTranscriptEventType,\n type NormalizeCodeAgentTranscriptOptions,\n type AgentConversationArtifact,\n type AgentConversationAttachment,\n type AgentConversationMessage,\n type AgentConversationMessagePart,\n type AgentConversationMessageRole,\n type AgentConversationNotice,\n type AgentConversationNoticeTone,\n type AgentConversationToolCall,\n type AgentConversationToolState,\n} from \"./conversation/index.js\";\nexport { McpAppRenderer } from \"./mcp-apps/McpAppRenderer.js\";\nexport {\n AGENT_NATIVE_MCP_APP_HOST_MESSAGE_TYPES,\n getMcpAppHostContext,\n openMcpAppHostLink,\n requestMcpAppDisplayMode,\n sendMcpAppHostMessage,\n updateMcpAppModelContext,\n useMcpAppHostContext,\n type AgentNativeMcpAppHostMessageType,\n type McpAppDisplayMode,\n type McpAppHostChatMessage,\n type McpAppHostCapabilities,\n type McpAppHostContext,\n type McpAppHostContextSnapshot,\n type McpAppModelContextContentPart,\n type McpAppModelContextUpdate,\n} from \"./mcp-app-host.js\";\nexport {\n CodeAgentIndicator,\n type CodeAgentIndicatorProps,\n} from \"./components/CodeAgentIndicator.js\";\nexport {\n useDbSync,\n useFileWatcher,\n useScreenRefreshKey,\n} from \"./use-db-sync.js\";\nexport {\n VisualControlRow,\n VisualColorPicker,\n VisualInspectorPanel,\n VisualInspectorSection,\n VisualScrubInput,\n VisualSegmentedControl,\n VisualSliderControl,\n VisualSwatchControl,\n VisualToggleControl,\n VisualTweakControl,\n type VisualControlOption,\n type VisualControlValue,\n type VisualTweakDefinition,\n} from \"./visual-style-controls.js\";\nexport {\n useChangeVersion,\n useChangeVersions,\n getChangeVersion,\n bumpChangeVersion,\n} from \"./use-change-version.js\";\nexport {\n useDemoModeStatus,\n type DemoModeStatus,\n} from \"./use-demo-mode-status.js\";\nexport { useReconciledState } from \"./use-external-value.js\";\nexport {\n buildDynamicAgentSuggestions,\n dedupeSuggestions,\n mergeAgentSuggestions,\n normalizeAgentDynamicSuggestionsConfig,\n useAgentDynamicSuggestions,\n type AgentDynamicSuggestionContext,\n type AgentDynamicSuggestionsConfig,\n type AgentDynamicSuggestionsOption,\n} from \"./dynamic-suggestions.js\";\nexport { cn } from \"./utils.js\";\nexport {\n AgentNativeI18nProvider,\n LanguagePicker,\n getLocaleInitScript,\n localeDirection,\n normalizeLocaleCode,\n normalizeLocalePreference,\n normalizeLocalizationPreference,\n resolveLocaleFromCandidates,\n resolveLocaleFromPreference,\n useFormatters,\n useLocale,\n useT,\n DEFAULT_LOCALE,\n LOCALE_HYDRATION_GLOBAL,\n LOCALE_METADATA,\n LOCALE_STORAGE_KEY,\n SUPPORTED_LOCALES,\n type AgentNativeI18nCatalog,\n type AgentNativeI18nProviderProps,\n type LocaleCode,\n type LocaleHydrationPayload,\n type LocaleMessages,\n type LocaleMetadata,\n type LocalePreference,\n type LocalizationPreference,\n} from \"./i18n.js\";\nexport {\n // Shared editor core (Phase 1): the ONE configurable surface both the plan\n // and content editors build on.\n SharedRichEditor,\n createSharedEditorExtensions,\n MARKDOWN_DIALECT_CONFIG,\n useCollabReconcile,\n RICH_MARKDOWN_PROGRAMMATIC_TRANSACTION,\n getEditorMarkdown,\n SlashCommandMenu,\n DEFAULT_SLASH_COMMANDS,\n createImageSlashCommand,\n // Shared block-level image node + injectable upload contract. Plans opt in\n // via `features.image` + `onImageUpload`; Content keeps its own image block.\n SharedImage,\n createImageExtension,\n pickAndInsertImage,\n uploadEditorImage,\n BubbleToolbar,\n buildDefaultBubbleItems,\n // Back-compat alias + factory kept for existing embedders and specs.\n RichMarkdownEditor,\n createRichMarkdownExtensions,\n // Single-doc plan editor primitives: the GFM↔ProseMirror serializer, the\n // run-id prose attribute, and the shared drag-handle (block grip + reorder).\n RunId,\n RUN_ID_NODE_TYPES,\n gfmToProseJSON,\n proseJSONToGfm,\n DragHandle,\n DEFAULT_DRAG_HANDLE_WRAPPER_SELECTOR,\n // Generic registry-block Tiptap NodeView + side-map provider + dedupe plugin.\n // Hosts mount the node from `createRegistryBlockNode` as an extra extension\n // and wrap the editor in `RegistryBlockDataProvider`.\n createRegistryBlockNode,\n RegistryBlockNodeView,\n RegistryBlockDataProvider,\n useRegistryBlockData,\n // Shared registry-derived block slash-command builder (plan + content adapt it).\n buildRegistryBlockSlashItems,\n getRegistryBlockSlashDescription,\n getRegistryBlockSlashSearchText,\n type BuildRegistryBlockSlashItemsOptions,\n type DragHandleDropContext,\n type DragHandleDropPlacement,\n type DragHandleOptions,\n type CreateRegistryBlockNodeOptions,\n type RegistryBlockDataValue,\n type RegistryBlockSideMapBlock,\n type SharedRichEditorProps,\n type SharedEditorCollab,\n type SharedEditorFeatures,\n type CreateSharedEditorExtensionsOptions,\n type UseCollabReconcileOptions,\n type UseCollabReconcileResult,\n type SlashCommandItem,\n type SlashCommandMenuProps,\n type ImageUploadFn,\n type SharedImageOptions,\n type BubbleToolbarItem,\n type BubbleToolbarProps,\n type RichMarkdownDialect,\n type RichMarkdownEditorPreset,\n type RichMarkdownEditorProps,\n type RichMarkdownCollabUser,\n type CreateRichMarkdownExtensionsOptions,\n} from \"./rich-markdown-editor/index.js\";\n// ProseMirror node JSON shape — re-exported so the plan template (which has no\n// direct @tiptap dep) can type its doc↔blocks serializer.\nexport type { JSONContent } from \"@tiptap/core\";\nexport { ApiKeySettings } from \"./components/ApiKeySettings.js\";\nexport { useSession, type AuthSession } from \"./use-session.js\";\nexport {\n RequireSession,\n buildSignInReturnHref,\n type RequireSessionProps,\n} from \"./require-session.js\";\nexport {\n sendToFrame,\n onFrameMessage,\n requestUserInfo,\n getFrameOrigin,\n getFramePostMessageTargetOrigin,\n getCallbackOrigin,\n oauthRedirectUri,\n isInFrame,\n enterStyleEditing,\n enterTextEditing,\n exitSelectionMode,\n type UserInfo,\n} from \"./frame.js\";\nexport {\n getBuilderParentOrigin,\n isInBuilderFrame,\n sendToBuilderChat,\n type BuilderChatMessage,\n} from \"./builder-frame.js\";\nexport {\n AgentNative,\n useAgentNativeScreenContext,\n type AgentNativeCommandCallback,\n type AgentNativeCommandCallbackInfo,\n type AgentNativeProps,\n} from \"./AgentNative.js\";\nexport {\n AgentNativeEmbedded,\n useAgentNativeEmbeddedBrowserSession,\n type AgentNativeEmbeddedBrowserSessionOptions,\n type AgentNativeEmbeddedCommandCallback,\n type AgentNativeEmbeddedCommandCallbackInfo,\n type AgentNativeEmbeddedProps,\n type UseAgentNativeEmbeddedBrowserSessionOptions,\n} from \"./AgentNativeEmbedded.js\";\nexport {\n defineClientAction,\n type AgentNativeClientActionDefinition,\n type AgentNativeClientActionRunner,\n} from \"./client-action.js\";\nexport {\n AgentNativeFrame,\n type AgentNativeFrameProps,\n} from \"./AgentNativeFrame.js\";\nexport {\n AgentNativeRouteWarmup,\n type AgentNativeRouteWarmupProps,\n} from \"./route-warmup.js\";\nexport {\n AgentNativeExtensionFrame,\n AgentNativeExtensionSlot,\n type AgentNativeExtensionFrameProps,\n type AgentNativeExtensionPermissionList,\n type AgentNativeExtensionSlotProps,\n type AgentNativeExtensionStorageScopeList,\n} from \"./extensions/AgentNativeExtensionFrame.js\";\nexport {\n AGENT_NATIVE_EXTENSION_MESSAGE_TYPES,\n buildAgentNativeExtensionHtml,\n createHttpAgentNativeExtensionStorage,\n createLocalStorageAgentNativeExtensionStorage,\n getAgentNativeExtensionManifest,\n isAgentNativeExtensionAllowedInSlot,\n normalizeAgentNativeExtensionSandbox,\n type AgentNativeExtensionDefinition,\n type AgentNativeExtensionManifest,\n type AgentNativeExtensionMessageType,\n type AgentNativeExtensionStorage,\n type AgentNativeExtensionStorageContext,\n type AgentNativeExtensionStorageOptions,\n type AgentNativeExtensionStorageRow,\n type AgentNativeExtensionStorageScope,\n type BuildAgentNativeExtensionHtmlOptions,\n type CreateHttpAgentNativeExtensionStorageOptions,\n} from \"./extensions/portable-extension.js\";\nexport { injectSessionReplayIframeBootstrap } from \"../extensions/session-replay-iframe.js\";\nexport {\n SESSION_REPLAY_IFRAME_ATTRIBUTE,\n SESSION_REPLAY_IFRAME_PROBE,\n SESSION_REPLAY_IFRAME_START,\n SESSION_REPLAY_IFRAME_STOP,\n} from \"../session-replay-iframe-protocol.js\";\nexport {\n AGENT_NATIVE_HOST_BRIDGE_VERSION,\n AGENT_NATIVE_HOST_MESSAGE_TYPES,\n announceAgentNativeFrameReady,\n createAgentNativeHostBridge,\n defaultAgentNativeHostCommands,\n onAgentNativeHostInit,\n readAgentNativeScreenContext,\n requestAgentNativeHostActions,\n requestAgentNativeHostContext,\n runAgentNativeHostAction,\n sendAgentNativeHostCommand,\n type AgentNativeActionAvailability,\n type AgentNativeActionManifestEntry,\n type AgentNativeClientAction,\n type AgentNativeClientActionApprovalConfig,\n type AgentNativeClientActionGetter,\n type AgentNativeClientActionRuntime,\n type AgentNativeClientActions,\n type AgentNativeHostAuth,\n type AgentNativeHostAuthPayload,\n type AgentNativeHostBridge,\n type AgentNativeHostBridgeEvent,\n type AgentNativeHostBridgeOptions,\n type AgentNativeHostCapabilities,\n type AgentNativeHostCommandHandler,\n type AgentNativeHostCommandHandlers,\n type AgentNativeHostCommandRequest,\n type AgentNativeHostContext,\n type AgentNativeHostContextGetter,\n type AgentNativeHostInit,\n type AgentNativeHostMessageType,\n type AgentNativeHostRequestOptions,\n type AgentNativeHostResourceContext,\n type AgentNativeHostRouteContext,\n type AgentNativeHostSelectionContext,\n type AgentNativeHostSession,\n type AgentNativeJsonSchema,\n type AgentNativeScreenSnapshot,\n type AgentNativeScreenSnapshotOptions,\n type BuiltInAgentNativeHostCommand,\n} from \"./host-bridge.js\";\nexport {\n AGENT_NATIVE_HOST_TOOL_NAMES,\n createAgentNativeHostTools,\n type AgentNativeHostToolDefinition,\n type AgentNativeHostToolName,\n type AgentNativeHostToolParameters,\n type AgentNativeHostToolSet,\n type CreateAgentNativeHostToolsOptions,\n type RunAgentNativeHostActionToolInput,\n type SendAgentNativeHostCommandToolInput,\n} from \"./host-tools.js\";\nexport {\n createAgentNativeBrowserSessionBridge,\n startAgentNativeBrowserSessionBridge,\n type AgentNativeBrowserSessionBridge,\n type AgentNativeBrowserSessionBridgeOptions,\n} from \"./browser-session-bridge.js\";\nexport type {\n AgentNativeBrowserSession,\n AgentNativeBrowserSessionAction,\n AgentNativeBrowserSessionRecord,\n AgentNativeBrowserSessionRequest,\n AgentNativeBrowserSessionRequestStatus,\n AgentNativeBrowserSessionRequestType,\n CreateAgentNativeBrowserSessionRequestInput,\n RegisterAgentNativeBrowserSessionInput,\n} from \"../browser-sessions/types.js\";\nexport {\n NewWorkspaceAppFlow,\n type NewWorkspaceAppFlowProps,\n type VaultSecretOption,\n} from \"./NewWorkspaceAppFlow.js\";\nexport {\n AssistantChat,\n clearChatStorage,\n type AssistantChatProps,\n type AssistantChatHandle,\n type AssistantChatAdapterContext,\n} from \"./AssistantChat.js\";\nexport {\n MultiTabAssistantChat,\n type MultiTabAssistantChatProps,\n type MultiTabAssistantChatHeaderProps,\n} from \"./MultiTabAssistantChat.js\";\nexport { RunStuckBanner, type RunStuckBannerProps } from \"./RunStuckBanner.js\";\nexport {\n KeepTabOpenNotice,\n type KeepTabOpenNoticeProps,\n} from \"./KeepTabOpenNotice.js\";\nexport {\n useRunStuckDetection,\n useAbortRun,\n type RunStuckState,\n type UseRunStuckDetectionOptions,\n} from \"./use-run-stuck-detection.js\";\nexport {\n createAgentChatAdapter,\n type AgentChatSurfaceKind,\n type CreateAgentChatAdapterOptions,\n} from \"./agent-chat-adapter.js\";\nexport {\n AgentComposerFrame,\n type AgentComposerFrameProps,\n PromptComposer,\n RealtimeVoiceModeBoundary,\n RealtimeVoiceModeProvider,\n RealtimeVoiceModeDock,\n RealtimeVoiceModeEntry,\n TiptapComposer,\n AGENT_PROMPT_MAX_INLINE_IMAGE_BYTES,\n AGENT_PROMPT_MAX_INLINE_TEXT_CHARS,\n escapePromptAttachmentAttribute,\n formatPromptWithAttachments,\n isInlineableAgentPromptFile,\n readAgentPromptAttachment,\n createRealtimeVoiceSession,\n createRealtimeVoiceSessionWithCapability,\n executeRealtimeVoiceTool,\n extractRealtimeVoiceFunctionCalls,\n readRealtimeVoiceContext,\n useRealtimeVoiceMode,\n useRealtimeVoiceModeCopy,\n useRealtimeVoiceModeOptional,\n type PromptComposerProps,\n type PromptComposerFile,\n type PromptComposerSubmitOptions,\n type RealtimeVoiceModeCopy,\n type RealtimeVoiceModeDockProps,\n type RealtimeVoiceModeEntryProps,\n type RealtimeVoiceSessionAnswer,\n type RealtimeVoiceModeInlineSettings,\n type RealtimeVoiceModeSelectSetting,\n type RealtimeVoiceModeSettingOption,\n type RealtimeVoiceModeState,\n type RealtimeVoiceModeApi,\n type RealtimeVoiceModeProviderProps,\n type RealtimeVoiceToolResult,\n type ComposerSubmitIntent,\n type AgentPromptAttachment,\n type ReadAgentPromptAttachmentOptions,\n type AgentComposerLayoutVariant,\n type SlashCommand,\n type SkillResult,\n type TiptapComposerHandle,\n type TiptapComposerProps,\n type TiptapComposerSubmitOptions,\n} from \"./composer/index.js\";\nexport {\n GuidedQuestionFlow,\n useGuidedQuestionFlow,\n askUserQuestion,\n formatGuidedAnswerValue,\n formatGuidedAnswersForAgent,\n getOtherGuidedAnswerText,\n hasGuidedAnswer,\n isOtherGuidedAnswer,\n makeOtherGuidedAnswer,\n normalizeGuidedAnswers,\n type AskUserQuestionInput,\n type AskUserQuestionOption,\n type AskUserQuestionResult,\n type GuidedQuestion,\n type GuidedQuestionAnswers,\n type GuidedQuestionFlowProps,\n type GuidedQuestionOption,\n type GuidedQuestionPayload,\n type GuidedQuestionType,\n type UseGuidedQuestionFlowOptions,\n} from \"./guided-questions.js\";\nexport {\n useChatThreads,\n type ChatThreadScope,\n type ChatThreadSnapshot,\n type ChatThreadSummary,\n type ChatThreadData,\n type ChatThreadShareLink,\n type ChatThreadShareState,\n type UseChatThreadsOptions,\n} from \"./use-chat-threads.js\";\nexport {\n ChatHistoryList,\n type ChatHistoryItem,\n type ChatHistorySection,\n type ChatHistoryListProps,\n} from \"./chat/ChatHistoryList.js\";\nexport { AgentChatHome, type AgentChatHomeProps } from \"./AgentChatHome.js\";\nexport {\n AgentChatSurface,\n AgentPanel,\n AgentSidebar,\n AgentToggleButton,\n focusAgentChat,\n type AgentChatSurfaceMode,\n type AgentChatSurfaceProps,\n type AgentPanelProps,\n type AgentSidebarProps,\n} from \"./AgentPanel.js\";\nexport {\n AgentTabsPage,\n type AgentTabsPageProps,\n} from \"./agent-page/AgentTabsPage.js\";\nexport type { AgentPageScope, AgentPageTabProps } from \"./agent-page/types.js\";\nexport {\n AGENT_CHAT_HOME_HANDOFF_TTL_MS,\n AGENT_CHAT_VIEW_TRANSITION_CLASS,\n AGENT_CHAT_VIEW_TRANSITION_NAME,\n consumeAgentChatHomeHandoff,\n getAgentChatViewTransitionStyle,\n isAgentChatHomeHandoffActive,\n markAgentChatHomeHandoff,\n navigateWithAgentChatViewTransition,\n startAgentChatViewTransition,\n supportsAgentChatViewTransition,\n type AgentChatHomeHandoffOptions,\n type AgentChatViewTransition,\n type AgentChatViewTransitionOptions,\n} from \"./chat-view-transition.js\";\nexport {\n useAgentChatHomeHandoff,\n useAgentChatHomeHandoffLinks,\n type UseAgentChatHomeHandoffLinksOptions,\n type UseAgentChatHomeHandoffOptions,\n} from \"./use-agent-chat-home-handoff.js\";\nexport {\n requestAgentSidebarOpen,\n SIDEBAR_STATE_CHANGE_EVENT,\n setAgentSidebarOpenPreference,\n type AgentSidebarStateChangeDetail,\n type AgentSidebarStateMode,\n type AgentSidebarStateSource,\n} from \"./agent-sidebar-state.js\";\nexport {\n clearReservedToolRenderersForTests,\n clearToolRenderersForTests,\n registerActionChatRenderer,\n registerFallbackToolRenderer,\n registerReservedActionChatRenderer,\n registerReservedFallbackToolRenderer,\n registerReservedToolRenderer,\n registerToolRenderer,\n resolveToolRenderer,\n type ActionChatRendererRegistration,\n type ToolRendererComponent,\n type ToolRendererContext,\n type ToolRendererMatch,\n type ToolRendererProps,\n type ToolRendererRegistration,\n} from \"./chat/tool-render-registry.js\";\nexport * from \"./chat/connectors.js\";\nexport * from \"./chat/runtime.js\";\nexport {\n ACTION_CHAT_UI_DATA_CHART_RENDERER,\n ACTION_CHAT_UI_DATA_INSIGHTS_RENDERER,\n ACTION_CHAT_UI_DATA_TABLE_RENDERER,\n ACTION_CHAT_UI_DATA_WIDGET_RENDERER,\n ACTION_CHAT_UI_INLINE_EXTENSION_RENDERER,\n type ActionChatUIConfig,\n} from \"../action-ui.js\";\nexport {\n DATA_CHART_WIDGET,\n DATA_INSIGHTS_WIDGET,\n DATA_TABLE_WIDGET,\n createDataChartWidgetResult,\n createDataInsightsWidgetResult,\n createDataTableWidgetResult,\n dataChartWidgetResultSchema,\n dataChartWidgetSchema,\n dataInsightsWidgetResultSchema,\n dataTableWidgetResultSchema,\n dataTableWidgetSchema,\n dataWidgetResultSchema,\n isDataChartWidget,\n isDataTableWidget,\n isDataWidgetResult,\n normalizeDataWidgetKind,\n normalizeDataWidgetResult,\n type DataChartSeriesDefinition,\n type DataChartWidget,\n type DataChartWidgetResult,\n type DataChartWidgetResultInput,\n type DataInsightsWidgetResult,\n type DataInsightsWidgetResultInput,\n type DataTableColumn,\n type DataTableWidget,\n type DataTableWidgetResult,\n type DataTableWidgetResultInput,\n type DataWidgetDisplay,\n type DataWidgetKind,\n type DataWidgetResult,\n type DataWidgetResultMetadata,\n} from \"./chat/widgets/data-widget-types.js\";\nexport { AgentNativeIcon } from \"./components/icons/AgentNativeIcon.js\";\nexport {\n SettingsPanel,\n SettingsTabsPage,\n SecretsSection,\n getAgentSettingsSearchTabs,\n openBuilderConnectPopup,\n useAgentSettingsTabs,\n useBuilderConnectFlow,\n useBuilderStatus,\n withBuilderConnectTrackingParams,\n type BuilderConnectFlow,\n type BuilderConnectFlowOptions,\n type BuilderConnectStartOptions,\n type BuilderStatus,\n type AgentSettingsSearchTab,\n type OpenBuilderConnectPopupOptions,\n type SecretsSectionProps,\n type SettingsPanelProps,\n type SettingsSearchEntry,\n type SettingsTabItem,\n type SettingsTabsPageProps,\n} from \"./settings/index.js\";\nexport { Turnstile, type TurnstileProps } from \"./Turnstile.js\";\nexport {\n OpenSourceBadge,\n PoweredByBadge,\n type OpenSourceBadgeProps,\n type PoweredByBadgeProps,\n} from \"./PoweredByBadge.js\";\nexport {\n StarfieldBackground,\n type StarfieldBackgroundProps,\n} from \"./StarfieldBackground.js\";\nexport { FeedbackButton, type FeedbackButtonProps } from \"./FeedbackButton.js\";\nexport {\n ErrorReportActions,\n type ErrorReportActionsProps,\n} from \"./ErrorReportActions.js\";\nexport {\n buildErrorReportTemplate,\n buildGitHubIssueUrl,\n type ErrorReportDebugItem,\n type ErrorReportTemplateOptions,\n} from \"./error-reporting.js\";\nexport { getClientSurface, type ClientSurface } from \"./client-surface.js\";\nexport {\n DevDatabaseLink,\n type DevDatabaseLinkProps,\n} from \"./db-admin/DevDatabaseLink.js\";\nexport { DbAdminPage } from \"./db-admin/DbAdminPage.js\";\nexport { ErrorBoundary } from \"./ErrorBoundary.js\";\nexport {\n installRouteChunkRecovery,\n reloadForStaleChunk,\n recoverFromStaleChunkError,\n} from \"./route-chunk-recovery.js\";\nexport { ClientOnly } from \"./ClientOnly.js\";\nexport { DefaultSpinner } from \"./DefaultSpinner.js\";\nexport {\n getThemeInitScript,\n themeInitScript,\n type ThemePreference,\n} from \"./theme.js\";\nexport {\n APPEARANCE_PRESETS,\n applyAppearance,\n getStoredAppearance,\n useAppearance,\n useAppearanceSync,\n type AppearancePresetId,\n} from \"./appearance.js\";\nexport {\n AppearancePicker,\n type AppearancePickerProps,\n} from \"./AppearancePicker.js\";\nexport { AgentTerminal, type AgentTerminalProps } from \"./terminal/index.js\";\nexport {\n trackEvent,\n trackSessionStatus,\n configureTracking,\n setTrackingContentCaptureEnabled,\n maybeStartSessionReplay,\n startSessionReplay,\n stopSessionReplay,\n getAnalyticsAnonymousId,\n getAnalyticsSessionId,\n getFirstTouchAttribution,\n setSentryUser,\n captureError,\n captureClientException,\n // First-party, Sentry-style error capture (auto + manual API).\n AGENT_NATIVE_EXCEPTION_EVENT_NAME,\n addErrorBreadcrumb,\n captureException,\n captureMessage,\n isErrorCaptureInstalled,\n type CaptureExceptionContext,\n type CapturedExceptionEvent,\n type ClientCaptureContext,\n type ConfigureTrackingOptions,\n type ErrorCaptureConfigOptions,\n type ExceptionBreadcrumb,\n type ExceptionLevel,\n type FirstTouchAttribution,\n type SessionReplayOptions,\n type SessionReplayStartResult,\n type SessionReplayUrlMatcher,\n} from \"./analytics.js\";\nexport { track } from \"./track.js\";\nexport {\n useCollaborativeDoc,\n isReconcileLeadClient,\n emailToColor,\n emailToName,\n dedupeCollabUsersByEmail,\n type UseCollaborativeDocOptions,\n type UseCollaborativeDocResult,\n type CollabUser,\n} from \"../collab/client.js\";\nexport { AGENT_CLIENT_ID } from \"../collab/agent-identity.js\";\n// Presence kit\nexport {\n usePresence,\n toNormalized,\n fromNormalized,\n type OtherPresence,\n type PresencePayload,\n type UsePresenceResult,\n type NormalizedPoint,\n} from \"../collab/presence.js\";\nexport {\n useFollowUser,\n type UseFollowUserOptions,\n type UseFollowUserResult,\n type ViewportDescriptor,\n} from \"../collab/follow-mode.js\";\nexport {\n ResourcesPanel,\n ResourceTree,\n ResourceEditor,\n useResources,\n useResourceTree,\n useResource,\n useCreateResource,\n useUpdateResource,\n useDeleteResource,\n useUploadResource,\n type Resource,\n type ResourceMeta,\n type TreeNode,\n type ResourceScope,\n type ResourceTreeProps,\n type ResourceEditorProps,\n} from \"./resources/index.js\";\nexport type { ResourcesPanelProps } from \"./resources/ResourcesPanel.js\";\nexport {\n HistoryTimeline,\n VersionHistoryPanel,\n useCreateResourceVersion,\n useResourceHistory,\n useResourceVersion,\n useResourceVersions,\n useRestoreResourceVersion,\n type CreateResourceVersionInput,\n type GetResourceVersionInput,\n type GetResourceVersionResult,\n type ListResourceHistoryResult,\n type ListResourceVersionsResult,\n type ResourceHistoryParams,\n type ResourceVersionsParams,\n type RestoreResourceVersionInput,\n type RestoreResourceVersionResult,\n type VersionHistoryPanelProps,\n} from \"./history/index.js\";\nexport {\n ReviewCommentComposer,\n ReviewStatusBadge,\n ReviewThreadPanel,\n buildReviewThreads,\n useConsumeReviewFeedback,\n useCreateReviewComment,\n useDeleteReviewComment,\n useReplyReviewComment,\n useResolveReviewThread,\n useReviewComments,\n useReviewFeedback,\n useSendReviewThreadToAgent,\n useSetReviewStatus,\n type ConsumeReviewFeedbackInput,\n type CreateReviewCommentInput,\n type DeleteReviewCommentInput,\n type GetReviewFeedbackParams,\n type GetReviewFeedbackResult,\n type ListReviewCommentsParams,\n type ListReviewCommentsResult,\n type ReplyReviewCommentInput,\n type ResolveReviewThreadInput,\n type ReviewStatusBadgeProps,\n type ReviewCommentComposerProps,\n type ReviewThread,\n type ReviewThreadPanelProps,\n type SetReviewStatusInput,\n type SendReviewThreadToAgentInput,\n} from \"./review/index.js\";\nexport type {\n AppToFrameMessage,\n FrameToAppMessage,\n FrameMessage,\n CodeCompleteMessage,\n ChatRunningMessage,\n} from \"./frame-protocol.js\";\nexport {\n CommandMenu,\n openAgentSidebar,\n openAgentSettings,\n submitToAgent,\n useCommandMenuShortcut,\n type CommandMenuProps,\n type CommandMenuDoc,\n type CommandDocsGroupProps,\n type CommandGroupProps,\n type CommandItemProps,\n type CommandShortcutProps,\n} from \"./CommandMenu.js\";\nexport {\n buildOpenRouteLink,\n buildOpenRoutePath,\n buildResourceRoute,\n buildSettingsRoute,\n buildStandardAppRoute,\n buildTeamRoute,\n createStandardOpenPathResolver,\n STANDARD_APP_ROUTES,\n STANDARD_SETTINGS_TABS,\n type BuildResourceRouteOptions,\n type BuildStandardAppRouteOptions,\n type NavigationLink,\n type NavigationTarget,\n type StandardAppRouteId,\n type StandardOpenPathResolverOptions,\n type StandardOpenPathRoute,\n type StandardSettingsTabId,\n} from \"../navigation/index.js\";\nexport {\n BuilderConnectCard,\n ProviderReadinessBadge,\n SetupConnectionsPage,\n type BuilderConnectCardProps,\n type ProviderReadinessBadgeProps,\n type SetupConnectionsPageProps,\n} from \"./setup-connections/index.js\";\nexport {\n listIntegrationEnvStatuses,\n listIntegrationStatuses,\n saveIntegrationEnvVars,\n setIntegrationEnabled,\n setupIntegration,\n disconnectManagedIntegrationInstallation,\n listManagedIntegrationInstallations,\n managedIntegrationOAuthUrl,\n managedSlackAgentManifestUrl,\n listManagedIntegrationScopes,\n saveManagedIntegrationScope,\n listManagedIntegrationBudgets,\n listManagedIntegrationMemory,\n forgetManagedIntegrationMemory,\n saveManagedIntegrationBudget,\n testManagedIntegrationInstallation,\n IntegrationClientError,\n type ClientIntegrationInstallation,\n type ClientIntegrationScope,\n type ClientIntegrationUsageBudget,\n type ClientIntegrationMemory,\n type ClientIntegrationStatus,\n type IntegrationEnvStatus,\n type SavedEnvVarsResult,\n} from \"./integrations/index.js\";\nexport {\n invokeConfiguredAutomationWorkflow,\n type InvokeConfiguredAutomationWorkflowInput,\n} from \"./automation.js\";\nexport {\n ChangelogDialog,\n ChangelogSettingsCard,\n useChangelogSeen,\n parseChangelog,\n type ChangelogDialogProps,\n type ChangelogSettingsCardProps,\n type ChangelogEntry,\n} from \"./changelog/Changelog.js\";\nexport {\n DevOverlay,\n useDevOverlayShortcut,\n registerDevPanel,\n unregisterDevPanel,\n listDevPanels,\n subscribeDevPanels,\n useDevOption,\n clearAllDevOverlayStorage,\n devOptionKey,\n DEV_OVERLAY_STORAGE_PREFIX,\n type DevOverlayProps,\n type DevPanel,\n type DevOption,\n type DevBooleanOption,\n type DevSelectOption,\n type DevStringOption,\n type DevActionOption,\n type DevOptionValue,\n} from \"./dev-overlay/index.js\";\nexport {\n ACTION_KEEPALIVE_BODY_BUDGET_BYTES,\n callAction,\n tryCallActionKeepalive,\n useActionQuery,\n useActionMutation,\n type ActionRegistry,\n type ClientActionCallOptions,\n type ClientActionMethod,\n type KeepaliveActionCallRejectionReason,\n type KeepaliveActionCallResult,\n} from \"./use-action.js\";\nexport { createAgentNativeQueryClient } from \"./create-query-client.js\";\nexport { AppProviders, type AppProvidersProps } from \"./app-providers.js\";\nexport { usePinchZoom, type UsePinchZoomOptions } from \"./use-pinch-zoom.js\";\nexport {\n ShareButton,\n ShareDialog,\n VisibilityBadge,\n type ShareButtonProps,\n type ShareDialogProps,\n type VisibilityBadgeProps,\n} from \"./sharing/index.js\";\nexport {\n postNavigate,\n isInAgentEmbed,\n AGENT_NAVIGATE_MESSAGE_TYPE,\n type AgentNavigateMessage,\n} from \"./embed.js\";\nexport { IframeEmbed, parseEmbedBody } from \"./IframeEmbed.js\";\nexport {\n useAvatarUrl,\n uploadAvatar,\n invalidateAvatarCache,\n} from \"./use-avatar.js\";\nexport {\n ObservabilityDashboard,\n ThumbsFeedback,\n} from \"./observability/index.js\";\n// Presence UI components\nexport {\n PresenceBar,\n type PresenceBarProps,\n} from \"./components/PresenceBar.js\";\nexport {\n AgentPresenceChip,\n type AgentPresenceChipProps,\n} from \"./components/AgentPresenceChip.js\";\nexport {\n LiveCursorOverlay,\n type LiveCursorOverlayProps,\n type CursorMapFn,\n} from \"./components/LiveCursorOverlay.js\";\nexport {\n RemoteSelectionRings,\n type RemoteSelectionRingsProps,\n type SelectionDescriptor,\n} from \"./components/RemoteSelectionRings.js\";\nexport {\n RecentEditHighlights,\n type RecentEditHighlightsProps,\n} from \"./components/RecentEditHighlights.js\";\n// Recent-edit attribution (lingering highlights)\nexport {\n appendRecentEdit,\n collectRecentEdits,\n publishRecentEdit,\n useRecentEdits,\n RECENT_EDITS_MAX,\n RECENT_EDIT_TTL_MS,\n type RecentEdit,\n type RecentEditDescriptor,\n type AttributedRecentEdit,\n type UseRecentEditsOptions,\n} from \"../collab/recent-edits.js\";\n// Per-user undo/redo\nexport {\n useCollabUndo,\n useLocalOpUndo,\n createLocalOpUndoController,\n type UseCollabUndoOptions,\n type UseCollabUndoResult,\n type CollabUndoScope,\n type UseLocalOpUndoOptions,\n type UseLocalOpUndoResult,\n type LocalOpUndoEntry,\n type LocalOpUndoController,\n type CreateLocalOpUndoOptions,\n type UndoKeyboardOptions,\n} from \"../collab/undo.js\";\n// Structured data collaboration hooks\nexport {\n useCollaborativeMap,\n useCollaborativeArray,\n type UseCollaborativeMapOptions,\n type UseCollaborativeMapResult,\n type UseCollaborativeArrayOptions,\n type UseCollaborativeArrayResult,\n} from \"../collab/client-struct.js\";\nexport { NotificationsBell } from \"./notifications/index.js\";\n// Block registry (also available as the dedicated `@agent-native/core/blocks`\n// subpath, which server/agent code should prefer via `/blocks/server`).\nexport {\n defineBlock,\n BlockRegistry,\n registerBlocks,\n BlockRegistryProvider,\n useBlockRegistry,\n useOptionalBlockRegistry,\n BlockView,\n SchemaBlockEditor,\n markdown,\n richtext,\n introspect,\n serializeSpecBlock,\n parseSpecBlock,\n createAttrReader,\n childCodeFenceFields,\n serializeChildCodeFenceFields,\n describeBlocksForAgent,\n renderBlockVocabularyReference,\n type BlockSpec,\n type BlockPlacement,\n type BlockMdxConfig,\n type BlockAttrReader,\n type BlockRenderContext,\n type BlockReadProps,\n type BlockEditProps,\n type MdxAttrValue,\n type FieldKind,\n type FieldDescriptor,\n type MdxJsxNode,\n type MdxAttrNode,\n type SerializableBlock,\n type ParsedBlockBase,\n type BlockAgentDoc,\n} from \"./blocks/index.js\";\n"]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ReviewResolutionTarget } from "../../review/types.js";
|
|
2
|
+
export interface ReviewCommentComposerProps {
|
|
3
|
+
value: string;
|
|
4
|
+
onChange: (value: string) => void;
|
|
5
|
+
onSubmit: (resolutionTarget: ReviewResolutionTarget) => void;
|
|
6
|
+
submittingTarget?: ReviewResolutionTarget | null;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
showAgentAction?: boolean;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
commentLabel?: string;
|
|
11
|
+
agentLabel?: string;
|
|
12
|
+
autoFocus?: boolean;
|
|
13
|
+
submitOnEnter?: boolean;
|
|
14
|
+
onEscape?: () => void;
|
|
15
|
+
className?: string;
|
|
16
|
+
}
|
|
17
|
+
export declare function ReviewCommentComposer({ value, onChange, onSubmit, submittingTarget, disabled, showAgentAction, placeholder, commentLabel, agentLabel, autoFocus, submitOnEnter, onEscape, className, }: ReviewCommentComposerProps): import("react").JSX.Element;
|
|
18
|
+
//# sourceMappingURL=ReviewCommentComposer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReviewCommentComposer.d.ts","sourceRoot":"","sources":["../../../src/client/review/ReviewCommentComposer.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAGpE,MAAM,WAAW,0BAA0B;IACzC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,QAAQ,EAAE,CAAC,gBAAgB,EAAE,sBAAsB,KAAK,IAAI,CAAC;IAC7D,gBAAgB,CAAC,EAAE,sBAAsB,GAAG,IAAI,CAAC;IACjD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,qBAAqB,CAAC,EACpC,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,gBAAuB,EACvB,QAAgB,EAChB,eAAuB,EACvB,WAAgC,EAChC,YAAwB,EACxB,UAA4B,EAC5B,SAAiB,EACjB,aAAqB,EACrB,QAAQ,EACR,SAAS,GACV,EAAE,0BAA0B,+BAqE5B"}
|