@jini-ai/admin 0.7.3-next.1 → 0.7.3-next.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/CHANGELOG.md +2 -0
- package/README.md +221 -0
- package/dist/agent-plugins/models.d.ts +30 -0
- package/dist/agent-plugins/react/hooks/AgentPluginInspector.hooks.d.ts +3 -1
- package/dist/agent-plugins/react/hooks/AgentPluginInspector.hooks.js +3 -2
- package/dist/agent-plugins/react/index.d.ts +1 -0
- package/dist/agent-plugins/react/index.js +1 -0
- package/dist/browser/index.d.ts +3 -1
- package/dist/browser/index.js +3 -1
- package/dist/browser/navigation.d.ts +2 -0
- package/dist/browser/navigation.js +19 -5
- package/dist/browser/server-reconnect.d.ts +69 -0
- package/dist/browser/server-reconnect.js +81 -0
- package/dist/browser/settings-events.d.ts +48 -0
- package/dist/browser/settings-events.js +99 -0
- package/dist/comments/react/comments-i18n/comments-hooks-i18n.d.ts +7 -0
- package/dist/comments/react/comments-i18n/comments-hooks-i18n.js +219 -0
- package/dist/comments/react/comments-i18n/comments-queue-i18n.d.ts +7 -0
- package/dist/comments/react/comments-i18n/comments-queue-i18n.js +325 -0
- package/dist/comments/react/comments-i18n/comments-row-menu-i18n.d.ts +7 -0
- package/dist/comments/react/comments-i18n/comments-row-menu-i18n.js +162 -0
- package/dist/comments/react/comments-i18n/comments-settings-i18n.d.ts +7 -0
- package/dist/comments/react/comments-i18n/comments-settings-i18n.js +260 -0
- package/dist/comments/react/comments-i18n/create-comments-dictionary.d.ts +15 -0
- package/dist/comments/react/comments-i18n/create-comments-dictionary.js +34 -0
- package/dist/comments/react/index.js +2 -2
- package/dist/comments/react/pages/CommentsPage.d.ts +5 -3
- package/dist/comments/react/pages/CommentsPage.js +3 -2
- package/dist/contracts/admin-request.d.ts +23 -0
- package/dist/contracts/admin-request.js +2 -0
- package/dist/core/bind-dictionary-names.d.ts +15 -0
- package/dist/core/bind-dictionary-names.js +17 -0
- package/dist/core/i18n-common-base.d.ts +8 -0
- package/dist/core/i18n-common-base.js +450 -0
- package/dist/core/i18n-common.d.ts +2 -0
- package/dist/core/i18n-common.js +273 -0
- package/dist/core/index.d.ts +2 -1
- package/dist/core/ports/database.d.ts +17 -0
- package/dist/core/ports/forms.d.ts +6 -0
- package/dist/core/ports/import-export.d.ts +12 -0
- package/dist/core/ports/import-export.js +2 -0
- package/dist/core/ports/index.d.ts +2 -1
- package/dist/core/ports/workspace.d.ts +9 -9
- package/dist/core/settings-tab-appearance.d.ts +35 -0
- package/dist/core/settings-tab-appearance.js +63 -0
- package/dist/core/settings-tab-preferences.d.ts +48 -0
- package/dist/core/settings-tab-preferences.js +104 -0
- package/dist/core/settings-tab-privacy.d.ts +31 -0
- package/dist/core/settings-tab-privacy.js +67 -0
- package/dist/core/settings-tabs.d.ts +94 -0
- package/dist/core/settings-tabs.js +43 -0
- package/dist/core/transport/http.d.ts +51 -0
- package/dist/core/transport/http.js +65 -17
- package/dist/deployment/Deployment.hooks.d.ts +12 -0
- package/dist/deployment/Deployment.hooks.js +5 -0
- package/dist/deployment/api/deployment-api.d.ts +61 -0
- package/dist/deployment/api/deployment-api.js +73 -0
- package/dist/deployment/api/deployment-api.types.d.ts +145 -0
- package/dist/deployment/api/deployment-api.types.js +2 -0
- package/dist/deployment/deployment-i18n/deployment-audit.d.ts +11 -0
- package/dist/deployment/deployment-i18n/deployment-audit.js +184 -0
- package/dist/deployment/deployment-i18n/deployment-candidate-gap.d.ts +5 -0
- package/dist/deployment/deployment-i18n/deployment-candidate-gap.js +92 -0
- package/dist/deployment/deployment-i18n/deployment-credential.d.ts +5 -0
- package/dist/deployment/deployment-i18n/deployment-credential.js +322 -0
- package/dist/deployment/deployment-i18n/deployment-es-id-de-zh-cn-zh-tw-pt-br.d.ts +5 -0
- package/dist/deployment/deployment-i18n/deployment-es-id-de-zh-cn-zh-tw-pt-br.js +418 -0
- package/dist/deployment/deployment-i18n/deployment-hu-fr-uk-tr.d.ts +5 -0
- package/dist/deployment/deployment-i18n/deployment-hu-fr-uk-tr.js +281 -0
- package/dist/deployment/deployment-i18n/deployment-ru-fa-ar-ja-ko-pl.d.ts +5 -0
- package/dist/deployment/deployment-i18n/deployment-ru-fa-ar-ja-ko-pl.js +420 -0
- package/dist/deployment/deployment-i18n/deployment-th-it-hi-ur-bn.d.ts +5 -0
- package/dist/deployment/deployment-i18n/deployment-th-it-hi-ur-bn.js +352 -0
- package/dist/deployment/deployment-i18n.d.ts +85 -0
- package/dist/deployment/deployment-i18n.js +299 -0
- package/dist/deployment/host/hooks/deployment-overview-port.hooks.d.ts +10 -0
- package/dist/deployment/host/hooks/deployment-overview-port.hooks.js +2 -0
- package/dist/deployment/host/hooks/dockerfile-source-port.hooks.d.ts +27 -0
- package/dist/deployment/host/hooks/dockerfile-source-port.hooks.js +2 -0
- package/dist/deployment/host/hooks/publish-credentials-port.hooks.d.ts +45 -0
- package/dist/deployment/host/hooks/publish-credentials-port.hooks.js +2 -0
- package/dist/forms/adapters/memory.js +24 -2
- package/dist/forms/form-editor-refresh.d.ts +60 -0
- package/dist/forms/form-editor-refresh.js +66 -0
- package/dist/forms/forms.module.d.ts +3 -0
- package/dist/forms/messages.en.d.ts +3 -0
- package/dist/forms/messages.en.js +3 -0
- package/dist/forms/react/components/FormEditorReloadNotice.d.ts +8 -0
- package/dist/forms/react/components/FormEditorReloadNotice.js +8 -0
- package/dist/forms/react/hooks/forms-view.hooks.d.ts +6 -5
- package/dist/forms/react/hooks/use-form-editor-parts.hooks.d.ts +18 -24
- package/dist/forms/react/hooks/use-form-editor-parts.hooks.js +84 -70
- package/dist/forms/react/hooks/use-form-editor-refresh.hooks.d.ts +87 -0
- package/dist/forms/react/hooks/use-form-editor-refresh.hooks.js +133 -0
- package/dist/forms/react/hooks/use-form-editor.hooks.d.ts +13 -4
- package/dist/forms/react/hooks/use-form-editor.hooks.js +11 -9
- package/dist/forms/react/index.d.ts +9 -0
- package/dist/forms/react/index.js +2 -2
- package/dist/forms/react/pages/FormEditor.d.ts +3 -3
- package/dist/forms/react/pages/FormEditor.js +4 -4
- package/dist/media/adapters/memory.js +1 -1
- package/dist/media/controllers/edit-media.controller.js +1 -1
- package/dist/media/models.d.ts +4 -0
- package/dist/media/react/components/EditMediaPanel.d.ts +4 -2
- package/dist/media/react/components/EditMediaPanel.js +3 -2
- package/dist/media/react/hooks/MediaCard.hooks.d.ts +2 -0
- package/dist/media/react/hooks/MediaCard.hooks.js +3 -3
- package/dist/media/react/hooks/MediaGrid.hooks.d.ts +1 -0
- package/dist/media/react/hooks/MediaQuery.hooks.d.ts +3 -3
- package/dist/media/react/tabs/LibraryTab.js +2 -1
- package/dist/media/rules.d.ts +5 -2
- package/dist/media/rules.js +6 -4
- package/dist/pages/PageEditor.d.ts +161 -0
- package/dist/pages/PageEditor.js +53 -0
- package/dist/pages/PageEditorChrome.d.ts +119 -0
- package/dist/pages/PageEditorChrome.js +173 -0
- package/dist/pages/PageEditorNotices.d.ts +102 -0
- package/dist/pages/PageEditorNotices.js +105 -0
- package/dist/pages/PageEditorPane.d.ts +93 -0
- package/dist/pages/PageEditorPane.js +114 -0
- package/dist/pages/PageEditorPreview.d.ts +156 -0
- package/dist/pages/PageEditorPreview.js +157 -0
- package/dist/pages/Pages.d.ts +108 -0
- package/dist/pages/Pages.hooks.d.ts +6 -0
- package/dist/pages/Pages.hooks.js +6 -0
- package/dist/pages/Pages.js +148 -0
- package/dist/pages/ThemePageDetailsModal.hooks.d.ts +41 -0
- package/dist/pages/ThemePageDetailsModal.hooks.js +37 -0
- package/dist/pages/api/pages-api.d.ts +46 -0
- package/dist/pages/api/pages-api.js +32 -0
- package/dist/pages/api/pages-api.types.d.ts +8 -0
- package/dist/pages/api/pages-api.types.js +2 -0
- package/dist/pages/hooks/page-editor-actions.hooks.d.ts +341 -0
- package/dist/pages/hooks/page-editor-actions.hooks.js +170 -0
- package/dist/pages/hooks/page-editor-load.hooks.d.ts +257 -0
- package/dist/pages/hooks/page-editor-load.hooks.js +134 -0
- package/dist/pages/hooks/page-editor-preview.hooks.d.ts +535 -0
- package/dist/pages/hooks/page-editor-preview.hooks.js +179 -0
- package/dist/pages/hooks/page-editor-recovery.hooks.d.ts +417 -0
- package/dist/pages/hooks/page-editor-recovery.hooks.js +118 -0
- package/dist/pages/hooks/page-editor-workspace.hooks.d.ts +634 -0
- package/dist/pages/hooks/page-editor-workspace.hooks.js +352 -0
- package/dist/pages/hooks/pages-port.hooks.d.ts +75 -0
- package/dist/pages/hooks/pages-port.hooks.js +12 -0
- package/dist/pages/hooks/pages-tab-url.hooks.d.ts +52 -0
- package/dist/pages/hooks/pages-tab-url.hooks.js +46 -0
- package/dist/pages/hooks/theme-canvas-port.hooks.d.ts +46 -0
- package/dist/pages/hooks/theme-canvas-port.hooks.js +12 -0
- package/dist/pages/hooks/theme-canvas-wrapper.d.ts +23 -0
- package/dist/pages/hooks/theme-canvas-wrapper.js +95 -0
- package/dist/pages/hooks/theme-pages-fake-port.d.ts +31 -0
- package/dist/pages/hooks/theme-pages-fake-port.js +35 -0
- package/dist/pages/hooks/theme-pages-port.hooks.d.ts +92 -0
- package/dist/pages/hooks/theme-pages-port.hooks.js +28 -0
- package/dist/pages/hooks/use-editor-html-jump.hooks.d.ts +45 -0
- package/dist/pages/hooks/use-editor-html-jump.hooks.js +94 -0
- package/dist/pages/hooks/use-interactive-flush.hooks.d.ts +56 -0
- package/dist/pages/hooks/use-interactive-flush.hooks.js +87 -0
- package/dist/pages/hooks/use-page-editor.hooks.d.ts +589 -0
- package/dist/pages/hooks/use-page-editor.hooks.js +51 -0
- package/dist/pages/hooks/use-pages.hooks.d.ts +100 -0
- package/dist/pages/hooks/use-pages.hooks.js +213 -0
- package/dist/pages/hooks/use-theme-pages.hooks.d.ts +89 -0
- package/dist/pages/hooks/use-theme-pages.hooks.js +110 -0
- package/dist/pages/lib/embed-placeholder.d.ts +75 -0
- package/dist/pages/lib/embed-placeholder.js +148 -0
- package/dist/pages/lib/page-preview-youtube.d.ts +5 -0
- package/dist/pages/lib/page-preview-youtube.js +45 -0
- package/dist/pages/lib/prettify-html.d.ts +64 -0
- package/dist/pages/lib/prettify-html.js +252 -0
- package/dist/pages/page-editor-i18n.d.ts +25 -0
- package/dist/pages/page-editor-i18n.js +411 -0
- package/dist/pages/page-editor-rules.d.ts +323 -0
- package/dist/pages/page-editor-rules.js +268 -0
- package/dist/pages/page-route-rules.d.ts +101 -0
- package/dist/pages/page-route-rules.js +89 -0
- package/dist/pages/pages-i18n.d.ts +32 -0
- package/dist/pages/pages-i18n.js +41 -0
- package/dist/pages/pages-i18n.locales-a.d.ts +4 -0
- package/dist/pages/pages-i18n.locales-a.js +365 -0
- package/dist/pages/pages-i18n.locales-b.d.ts +4 -0
- package/dist/pages/pages-i18n.locales-b.js +305 -0
- package/dist/pages/pages-i18n.locales-c.d.ts +4 -0
- package/dist/pages/pages-i18n.locales-c.js +305 -0
- package/dist/pages/pages-i18n.locales-d.d.ts +4 -0
- package/dist/pages/pages-i18n.locales-d.js +305 -0
- package/dist/pages/pages-list-rules.d.ts +70 -0
- package/dist/pages/pages-list-rules.js +55 -0
- package/dist/posts/PostAuthorFields.d.ts +14 -0
- package/dist/posts/PostAuthorFields.js +8 -0
- package/dist/posts/PostPublishingFields.d.ts +21 -0
- package/dist/posts/PostPublishingFields.js +11 -0
- package/dist/posts/PostSettingsDialog.d.ts +19 -0
- package/dist/posts/PostSettingsDialog.js +35 -0
- package/dist/posts/PostUrlDialog.d.ts +39 -0
- package/dist/posts/PostUrlDialog.js +17 -0
- package/dist/posts/Posts.d.ts +78 -0
- package/dist/posts/Posts.hooks.d.ts +9 -0
- package/dist/posts/Posts.hooks.js +5 -0
- package/dist/posts/Posts.js +53 -0
- package/dist/posts/PostsColumns.d.ts +12 -0
- package/dist/posts/PostsColumns.js +52 -0
- package/dist/posts/PostsTrashConfirm.d.ts +5 -0
- package/dist/posts/PostsTrashConfirm.js +6 -0
- package/dist/posts/api/posts-api.d.ts +116 -0
- package/dist/posts/api/posts-api.js +105 -0
- package/dist/posts/api/posts-api.types.d.ts +61 -0
- package/dist/posts/api/posts-api.types.js +2 -0
- package/dist/posts/editor/PostDeleteConfirmDialog.d.ts +17 -0
- package/dist/posts/editor/PostDeleteConfirmDialog.js +15 -0
- package/dist/posts/editor/notices/PostAutosaveRecoveryBanner.d.ts +30 -0
- package/dist/posts/editor/notices/PostAutosaveRecoveryBanner.js +29 -0
- package/dist/posts/editor/notices/PostAutosaveStaleBanner.d.ts +37 -0
- package/dist/posts/editor/notices/PostAutosaveStaleBanner.js +42 -0
- package/dist/posts/editor/notices/PostVersionConflictBanner.d.ts +27 -0
- package/dist/posts/editor/notices/PostVersionConflictBanner.js +33 -0
- package/dist/posts/editor/template/PostEditorTemplateModalGate.d.ts +41 -0
- package/dist/posts/editor/template/PostEditorTemplateModalGate.js +21 -0
- package/dist/posts/editor/template/PostEditorTemplatePicker.d.ts +55 -0
- package/dist/posts/editor/template/PostEditorTemplatePicker.js +58 -0
- package/dist/posts/editor/toolbar/ToolbarCharacterCount.d.ts +10 -0
- package/dist/posts/editor/toolbar/ToolbarCharacterCount.js +10 -0
- package/dist/posts/editor/toolbar/ToolbarOverflowMenu.d.ts +16 -0
- package/dist/posts/editor/toolbar/ToolbarOverflowMenu.js +11 -0
- package/dist/posts/hooks/posts-list-port.hooks.d.ts +39 -0
- package/dist/posts/hooks/posts-list-port.hooks.js +2 -0
- package/dist/posts/hooks/use-post-editor-ui.hooks.d.ts +132 -0
- package/dist/posts/hooks/use-post-editor-ui.hooks.js +142 -0
- package/dist/posts/hooks/use-posts.hooks.d.ts +111 -0
- package/dist/posts/hooks/use-posts.hooks.js +167 -0
- package/dist/posts/post-editor-route-key.d.ts +31 -0
- package/dist/posts/post-editor-route-key.js +35 -0
- package/dist/posts/posts-i18n/create-posts-dictionary.d.ts +18 -0
- package/dist/posts/posts-i18n/create-posts-dictionary.js +57 -0
- package/dist/posts/posts-i18n/posts-editor-header-i18n.d.ts +9 -0
- package/dist/posts/posts-i18n/posts-editor-header-i18n.js +430 -0
- package/dist/posts/posts-i18n/posts-errors-i18n.d.ts +9 -0
- package/dist/posts/posts-i18n/posts-errors-i18n.js +262 -0
- package/dist/posts/posts-i18n/posts-list-i18n.d.ts +9 -0
- package/dist/posts/posts-i18n/posts-list-i18n.js +388 -0
- package/dist/posts/posts-i18n/posts-list-sort-i18n.d.ts +9 -0
- package/dist/posts/posts-i18n/posts-list-sort-i18n.js +178 -0
- package/dist/posts/posts-i18n/posts-save-feedback-i18n.d.ts +13 -0
- package/dist/posts/posts-i18n/posts-save-feedback-i18n.js +329 -0
- package/dist/posts/posts-i18n/posts-settings-dialog-i18n.d.ts +9 -0
- package/dist/posts/posts-i18n/posts-settings-dialog-i18n.js +304 -0
- package/dist/posts/posts-i18n/posts-slug-collision-i18n.d.ts +9 -0
- package/dist/posts/posts-i18n/posts-slug-collision-i18n.js +157 -0
- package/dist/posts/posts-i18n/posts-template-preview-i18n.d.ts +9 -0
- package/dist/posts/posts-i18n/posts-template-preview-i18n.js +262 -0
- package/dist/posts/posts-i18n/posts-toolbar-blocks-i18n.d.ts +9 -0
- package/dist/posts/posts-i18n/posts-toolbar-blocks-i18n.js +409 -0
- package/dist/posts/posts-i18n/posts-toolbar-marks-i18n.d.ts +11 -0
- package/dist/posts/posts-i18n/posts-toolbar-marks-i18n.js +432 -0
- package/dist/posts/posts-i18n/posts-toolbar-style-i18n.d.ts +9 -0
- package/dist/posts/posts-i18n/posts-toolbar-style-i18n.js +325 -0
- package/dist/posts/posts-i18n/posts-trash-dialog-i18n.d.ts +19 -0
- package/dist/posts/posts-i18n/posts-trash-dialog-i18n.js +230 -0
- package/dist/posts/posts-i18n/posts-url-dialog-i18n.d.ts +9 -0
- package/dist/posts/posts-i18n/posts-url-dialog-i18n.js +199 -0
- package/dist/posts/view-tabs.d.ts +26 -0
- package/dist/posts/view-tabs.js +23 -0
- package/dist/publish-content/screen/hooks/publish-availability.store.d.ts +31 -0
- package/dist/publish-content/screen/hooks/publish-availability.store.js +49 -0
- package/dist/publish-content/screen/hooks/publish-request.store.d.ts +96 -0
- package/dist/publish-content/screen/hooks/publish-request.store.js +58 -0
- package/dist/publish-content/screen/hooks/use-publish-section-button.hooks.d.ts +63 -0
- package/dist/publish-content/screen/hooks/use-publish-section-button.hooks.js +34 -0
- package/dist/publish-content/screen/publish-scope.d.ts +53 -0
- package/dist/publish-content/screen/publish-scope.js +60 -0
- package/dist/react/components/RowMenu/RowMenu.d.ts +1 -1
- package/dist/react/components/RowMenu/RowMenu.hooks.js +17 -14
- package/dist/react/components/RowMenu/RowMenu.js +1 -1
- package/dist/react/kit-admin-surfaces.d.ts +124 -0
- package/dist/react/kit-admin-surfaces.js +2 -0
- package/dist/react/kit-chat-component-types.d.ts +251 -0
- package/dist/react/kit-chat-component-types.js +2 -0
- package/dist/react/kit-chat-types.d.ts +553 -0
- package/dist/react/kit-chat-types.js +2 -0
- package/dist/react/kit-media-providers.d.ts +27 -0
- package/dist/react/kit-ui-types.d.ts +376 -0
- package/dist/react/kit-ui-types.js +2 -0
- package/dist/react/kit.d.ts +847 -1
- package/dist/react/kit.js +69 -0
- package/dist/react/settings/SettingsPageLayout.d.ts +64 -0
- package/dist/react/settings/SettingsPageLayout.js +148 -0
- package/dist/react/shell/AdminShell.js +17 -5
- package/dist/react/shell/Placeholder.d.ts +68 -0
- package/dist/react/shell/Placeholder.js +80 -0
- package/dist/react/shell/appearance.d.ts +90 -0
- package/dist/react/shell/appearance.js +77 -0
- package/dist/react/testing-kit.js +249 -2
- package/dist/recovery/api/recovery-api.d.ts +36 -0
- package/dist/recovery/api/recovery-api.js +31 -0
- package/dist/recovery/hooks/recovery-port.hooks.d.ts +23 -0
- package/dist/recovery/hooks/recovery-port.hooks.js +2 -0
- package/dist/recovery/hooks/restore-flow-port.hooks.d.ts +25 -0
- package/dist/recovery/hooks/restore-flow-port.hooks.js +2 -0
- package/dist/recovery/hooks/use-recovery-navigation.hooks.d.ts +23 -0
- package/dist/recovery/hooks/use-recovery-navigation.hooks.js +26 -0
- package/dist/recovery/hooks/use-recovery.hooks.d.ts +100 -0
- package/dist/recovery/hooks/use-recovery.hooks.js +101 -0
- package/dist/recovery/hooks/use-restore-flow.hooks.d.ts +85 -0
- package/dist/recovery/hooks/use-restore-flow.hooks.js +131 -0
- package/dist/recovery/recovery-i18n/recovery-es-id-de-zh-cn-zh-tw-pt-br.d.ts +4 -0
- package/dist/recovery/recovery-i18n/recovery-es-id-de-zh-cn-zh-tw-pt-br.js +280 -0
- package/dist/recovery/recovery-i18n/recovery-hu-fr-uk-tr-th-it-hi-ur-bn.d.ts +4 -0
- package/dist/recovery/recovery-i18n/recovery-hu-fr-uk-tr-th-it-hi-ur-bn.js +410 -0
- package/dist/recovery/recovery-i18n/recovery-ru-fa-ar-ja-ko-pl.d.ts +4 -0
- package/dist/recovery/recovery-i18n/recovery-ru-fa-ar-ja-ko-pl.js +275 -0
- package/dist/recovery/recovery-i18n.d.ts +50 -0
- package/dist/recovery/recovery-i18n.js +247 -0
- package/dist/recovery/rules.d.ts +107 -0
- package/dist/recovery/rules.js +150 -0
- package/dist/redirects/messages.en.d.ts +1 -0
- package/dist/redirects/messages.en.js +1 -0
- package/dist/redirects/react/hooks/RedirectsPage.hooks.d.ts +1 -1
- package/dist/redirects/react/hooks/use-redirects.hooks.d.ts +1 -1
- package/dist/redirects/react/hooks/wired.hooks.d.ts +1 -1
- package/dist/redirects/react/index.d.ts +3 -0
- package/dist/redirects/react/pages/RedirectsPage.js +1 -1
- package/dist/redirects/redirects.module.d.ts +1 -0
- package/dist/roles/PoliciesSection.d.ts +30 -0
- package/dist/roles/PoliciesSection.js +15 -0
- package/dist/roles/PolicyPermissionForm.d.ts +15 -0
- package/dist/roles/PolicyPermissionForm.js +27 -0
- package/dist/roles/PolicyRow.d.ts +65 -0
- package/dist/roles/PolicyRow.js +37 -0
- package/dist/roles/RoleConfirmDialogs.d.ts +44 -0
- package/dist/roles/RoleConfirmDialogs.js +25 -0
- package/dist/roles/Roles.d.ts +67 -0
- package/dist/roles/Roles.hooks.d.ts +72 -0
- package/dist/roles/Roles.hooks.js +88 -0
- package/dist/roles/Roles.js +100 -0
- package/dist/roles/RolesSection.d.ts +50 -0
- package/dist/roles/RolesSection.js +48 -0
- package/dist/roles/hooks/roles-controller.d.ts +5 -0
- package/dist/roles/hooks/roles-controller.js +74 -0
- package/dist/roles/hooks/roles-permission-actions.d.ts +23 -0
- package/dist/roles/hooks/roles-permission-actions.js +135 -0
- package/dist/roles/hooks/roles-row-actions.d.ts +20 -0
- package/dist/roles/hooks/roles-row-actions.js +158 -0
- package/dist/roles/hooks/use-roles-mutations.hooks.d.ts +41 -0
- package/dist/roles/hooks/use-roles-mutations.hooks.js +49 -0
- package/dist/roles/hooks/use-roles-state.hooks.d.ts +60 -0
- package/dist/roles/hooks/use-roles-state.hooks.js +81 -0
- package/dist/roles/hooks/use-roles.hooks.d.ts +165 -0
- package/dist/roles/hooks/use-roles.hooks.js +55 -0
- package/dist/roles/i18n/roles-sentence-parts.d.ts +26 -0
- package/dist/roles/i18n/roles-sentence-parts.js +219 -0
- package/dist/roles/i18n/roles-translations-a.d.ts +7 -0
- package/dist/roles/i18n/roles-translations-a.js +385 -0
- package/dist/roles/i18n/roles-translations-b.d.ts +7 -0
- package/dist/roles/i18n/roles-translations-b.js +379 -0
- package/dist/roles/i18n/roles-translations-c.d.ts +7 -0
- package/dist/roles/i18n/roles-translations-c.js +379 -0
- package/dist/roles/roles-i18n.d.ts +2 -0
- package/dist/roles/roles-i18n.js +42 -0
- package/dist/roles/rules.d.ts +96 -0
- package/dist/roles/rules.js +90 -0
- package/dist/screens/analytics/Analytics.d.ts +28 -0
- package/dist/screens/analytics/Analytics.js +24 -0
- package/dist/screens/analytics/analytics-i18n.d.ts +2 -0
- package/dist/screens/analytics/analytics-i18n.js +354 -0
- package/dist/screens/analytics/api/analytics-api.d.ts +22 -0
- package/dist/screens/analytics/api/analytics-api.js +9 -0
- package/dist/screens/analytics/api/analytics-api.types.d.ts +10 -0
- package/dist/screens/analytics/api/analytics-api.types.js +2 -0
- package/dist/screens/analytics/hooks/analytics-dependencies.hooks.d.ts +21 -0
- package/dist/screens/analytics/hooks/analytics-dependencies.hooks.js +15 -0
- package/dist/screens/analytics/hooks/analytics-port.hooks.d.ts +19 -0
- package/dist/screens/analytics/hooks/analytics-port.hooks.js +2 -0
- package/dist/screens/analytics/hooks/use-analytics.hooks.d.ts +46 -0
- package/dist/screens/analytics/hooks/use-analytics.hooks.js +21 -0
- package/dist/screens/assistant-settings/AdminAssistantSwitch.d.ts +36 -0
- package/dist/screens/assistant-settings/AdminAssistantSwitch.js +13 -0
- package/dist/screens/assistant-settings/AdminPermanentDeletes.d.ts +18 -0
- package/dist/screens/assistant-settings/AdminPermanentDeletes.js +27 -0
- package/dist/screens/assistant-settings/AdminSubagents.d.ts +13 -0
- package/dist/screens/assistant-settings/AdminSubagents.js +30 -0
- package/dist/screens/assistant-settings/AssistantDaemonRestart.d.ts +49 -0
- package/dist/screens/assistant-settings/AssistantDaemonRestart.js +41 -0
- package/dist/screens/assistant-settings/AssistantToggleRow.d.ts +37 -0
- package/dist/screens/assistant-settings/AssistantToggleRow.js +11 -0
- package/dist/screens/assistant-settings/OwnerGrantStatus.d.ts +15 -0
- package/dist/screens/assistant-settings/OwnerGrantStatus.js +5 -0
- package/dist/screens/assistant-settings/VisitorAssistantPanel.d.ts +44 -0
- package/dist/screens/assistant-settings/VisitorAssistantPanel.js +24 -0
- package/dist/screens/assistant-settings/VisitorAssistantTabs.d.ts +27 -0
- package/dist/screens/assistant-settings/VisitorAssistantTabs.js +15 -0
- package/dist/screens/assistant-settings/VisitorToolsPanel.d.ts +36 -0
- package/dist/screens/assistant-settings/VisitorToolsPanel.js +76 -0
- package/dist/screens/assistant-settings/admin-subagents.types.d.ts +44 -0
- package/dist/screens/assistant-settings/admin-subagents.types.js +2 -0
- package/dist/screens/assistant-settings/use-admin-assistant-switch.hooks.d.ts +27 -0
- package/dist/screens/assistant-settings/use-admin-assistant-switch.hooks.js +18 -0
- package/dist/screens/assistant-settings/use-admin-permanent-deletes.hooks.d.ts +79 -0
- package/dist/screens/assistant-settings/use-admin-permanent-deletes.hooks.js +28 -0
- package/dist/screens/assistant-settings/use-ai-assistant-locale-sync.hooks.d.ts +25 -0
- package/dist/screens/assistant-settings/use-ai-assistant-locale-sync.hooks.js +9 -0
- package/dist/screens/assistant-settings/use-ai-assistant.hooks.d.ts +60 -0
- package/dist/screens/assistant-settings/use-ai-assistant.hooks.js +44 -0
- package/dist/screens/assistant-settings/use-assistant-owner-grant.hooks.d.ts +89 -0
- package/dist/screens/assistant-settings/use-assistant-owner-grant.hooks.js +89 -0
- package/dist/screens/assistant-settings/use-visitor-assistant-panel.hooks.d.ts +64 -0
- package/dist/screens/assistant-settings/use-visitor-assistant-panel.hooks.js +42 -0
- package/dist/screens/assistant-settings/use-visitor-assistant-tabs.hooks.d.ts +8 -0
- package/dist/screens/assistant-settings/use-visitor-assistant-tabs.hooks.js +8 -0
- package/dist/screens/assistant-settings/use-visitor-credential-discovery.hooks.d.ts +55 -0
- package/dist/screens/assistant-settings/use-visitor-credential-discovery.hooks.js +106 -0
- package/dist/screens/assistant-settings/use-visitor-credential-form.hooks.d.ts +19 -0
- package/dist/screens/assistant-settings/use-visitor-credential-form.hooks.js +163 -0
- package/dist/screens/assistant-settings/use-visitor-tools.hooks.d.ts +104 -0
- package/dist/screens/assistant-settings/use-visitor-tools.hooks.js +122 -0
- package/dist/screens/assistant-settings/visitor-credential-form-actions.d.ts +94 -0
- package/dist/screens/assistant-settings/visitor-credential-form-actions.js +132 -0
- package/dist/screens/assistant-settings/visitor-credential-form-port.d.ts +233 -0
- package/dist/screens/assistant-settings/visitor-credential-form-port.js +2 -0
- package/dist/screens/assistant-settings/visitor-credential-form.rules.d.ts +133 -0
- package/dist/screens/assistant-settings/visitor-credential-form.rules.js +152 -0
- package/dist/screens/auth/Login.d.ts +38 -0
- package/dist/screens/auth/Login.hooks.d.ts +5 -0
- package/dist/screens/auth/Login.hooks.js +6 -0
- package/dist/screens/auth/Login.js +9 -0
- package/dist/screens/auth/OwnerRecoverySignIn.d.ts +19 -0
- package/dist/screens/auth/OwnerRecoverySignIn.hooks.d.ts +11 -0
- package/dist/screens/auth/OwnerRecoverySignIn.hooks.js +16 -0
- package/dist/screens/auth/OwnerRecoverySignIn.js +12 -0
- package/dist/screens/auth/api/auth-api.d.ts +77 -0
- package/dist/screens/auth/api/auth-api.js +37 -0
- package/dist/screens/auth/auth-host-slots.d.ts +114 -0
- package/dist/screens/auth/auth-host-slots.js +2 -0
- package/dist/screens/auth/auth-i18n.d.ts +2 -0
- package/dist/screens/auth/auth-i18n.js +57 -0
- package/dist/screens/auth/hooks/login-port.hooks.d.ts +29 -0
- package/dist/screens/auth/hooks/login-port.hooks.js +2 -0
- package/dist/screens/auth/hooks/use-login.hooks.d.ts +40 -0
- package/dist/screens/auth/hooks/use-login.hooks.js +39 -0
- package/dist/screens/authentication/Authentication.d.ts +30 -0
- package/dist/screens/authentication/Authentication.hooks.d.ts +7 -0
- package/dist/screens/authentication/Authentication.hooks.js +8 -0
- package/dist/screens/authentication/Authentication.js +85 -0
- package/dist/screens/authentication/authentication-host-slots.d.ts +45 -0
- package/dist/screens/authentication/authentication-host-slots.js +2 -0
- package/dist/screens/authentication/authentication-i18n.d.ts +8 -0
- package/dist/screens/authentication/authentication-i18n.js +55 -0
- package/dist/screens/authentication/model/provider-schemas.d.ts +22 -0
- package/dist/screens/authentication/model/provider-schemas.js +8 -0
- package/dist/screens/collections/CollectionEntries.d.ts +20 -0
- package/dist/screens/collections/CollectionEntries.js +56 -0
- package/dist/screens/collections/Collections.d.ts +42 -0
- package/dist/screens/collections/Collections.js +47 -0
- package/dist/screens/collections/CollectionsTable.d.ts +19 -0
- package/dist/screens/collections/CollectionsTable.js +64 -0
- package/dist/screens/collections/ContentTypeFieldsSection.d.ts +43 -0
- package/dist/screens/collections/ContentTypeFieldsSection.js +35 -0
- package/dist/screens/collections/EditFieldsDialog.d.ts +24 -0
- package/dist/screens/collections/EditFieldsDialog.js +23 -0
- package/dist/screens/collections/LifecycleConfirmDialog.d.ts +26 -0
- package/dist/screens/collections/LifecycleConfirmDialog.js +18 -0
- package/dist/screens/collections/NewContentTypeDialog.d.ts +22 -0
- package/dist/screens/collections/NewContentTypeDialog.js +25 -0
- package/dist/screens/collections/api/collections-api.d.ts +73 -0
- package/dist/screens/collections/api/collections-api.js +43 -0
- package/dist/screens/collections/api/collections-api.types.d.ts +59 -0
- package/dist/screens/collections/api/collections-api.types.js +25 -0
- package/dist/screens/collections/collections-host-kit.d.ts +43 -0
- package/dist/screens/collections/collections-host-kit.js +10 -0
- package/dist/screens/collections/collections-i18n/collections-audit-embed-i18n.d.ts +8 -0
- package/dist/screens/collections/collections-i18n/collections-audit-embed-i18n.js +55 -0
- package/dist/screens/collections/collections-i18n/collections-dialogs-i18n.d.ts +7 -0
- package/dist/screens/collections/collections-i18n/collections-dialogs-i18n.js +260 -0
- package/dist/screens/collections/collections-i18n/collections-entries-i18n.d.ts +7 -0
- package/dist/screens/collections/collections-i18n/collections-entries-i18n.js +255 -0
- package/dist/screens/collections/collections-i18n/collections-hooks-i18n.d.ts +7 -0
- package/dist/screens/collections/collections-i18n/collections-hooks-i18n.js +284 -0
- package/dist/screens/collections/collections-i18n/collections-lifecycle-i18n.d.ts +17 -0
- package/dist/screens/collections/collections-i18n/collections-lifecycle-i18n.js +114 -0
- package/dist/screens/collections/collections-i18n/collections-list-i18n.d.ts +7 -0
- package/dist/screens/collections/collections-i18n/collections-list-i18n.js +424 -0
- package/dist/screens/collections/collections-i18n/create-collections-dictionary.d.ts +21 -0
- package/dist/screens/collections/collections-i18n/create-collections-dictionary.js +44 -0
- package/dist/screens/collections/collections-screen-parts.d.ts +33 -0
- package/dist/screens/collections/collections-screen-parts.js +2 -0
- package/dist/screens/collections/hooks/collection-entries-dependencies.hooks.d.ts +31 -0
- package/dist/screens/collections/hooks/collection-entries-dependencies.hooks.js +35 -0
- package/dist/screens/collections/hooks/collection-entries-port.hooks.d.ts +17 -0
- package/dist/screens/collections/hooks/collection-entries-port.hooks.js +2 -0
- package/dist/screens/collections/hooks/collection-entry-editor-dependencies.hooks.d.ts +35 -0
- package/dist/screens/collections/hooks/collection-entry-editor-dependencies.hooks.js +93 -0
- package/dist/screens/collections/hooks/collection-entry-editor-port.hooks.d.ts +50 -0
- package/dist/screens/collections/hooks/collection-entry-editor-port.hooks.js +2 -0
- package/dist/screens/collections/hooks/collections-dependencies.hooks.d.ts +30 -0
- package/dist/screens/collections/hooks/collections-dependencies.hooks.js +44 -0
- package/dist/screens/collections/hooks/collections-port.hooks.d.ts +19 -0
- package/dist/screens/collections/hooks/collections-port.hooks.js +2 -0
- package/dist/screens/collections/hooks/edit-fields-dialog-dependencies.hooks.d.ts +34 -0
- package/dist/screens/collections/hooks/edit-fields-dialog-dependencies.hooks.js +38 -0
- package/dist/screens/collections/hooks/edit-fields-dialog-port.hooks.d.ts +20 -0
- package/dist/screens/collections/hooks/edit-fields-dialog-port.hooks.js +2 -0
- package/dist/screens/collections/hooks/new-content-type-dialog-dependencies.hooks.d.ts +32 -0
- package/dist/screens/collections/hooks/new-content-type-dialog-dependencies.hooks.js +38 -0
- package/dist/screens/collections/hooks/new-content-type-dialog-port.hooks.d.ts +16 -0
- package/dist/screens/collections/hooks/new-content-type-dialog-port.hooks.js +2 -0
- package/dist/screens/collections/hooks/use-collection-entries.hooks.d.ts +54 -0
- package/dist/screens/collections/hooks/use-collection-entries.hooks.js +22 -0
- package/dist/screens/collections/hooks/use-collection-entry-editor.hooks.d.ts +135 -0
- package/dist/screens/collections/hooks/use-collection-entry-editor.hooks.js +315 -0
- package/dist/screens/collections/hooks/use-collections.hooks.d.ts +103 -0
- package/dist/screens/collections/hooks/use-collections.hooks.js +70 -0
- package/dist/screens/collections/hooks/use-edit-fields-dialog.hooks.d.ts +59 -0
- package/dist/screens/collections/hooks/use-edit-fields-dialog.hooks.js +57 -0
- package/dist/screens/collections/hooks/use-json-field-control.hooks.d.ts +26 -0
- package/dist/screens/collections/hooks/use-json-field-control.hooks.js +55 -0
- package/dist/screens/collections/hooks/use-lifecycle-confirm-dialog.hooks.d.ts +31 -0
- package/dist/screens/collections/hooks/use-lifecycle-confirm-dialog.hooks.js +8 -0
- package/dist/screens/collections/hooks/use-new-content-type-dialog.hooks.d.ts +59 -0
- package/dist/screens/collections/hooks/use-new-content-type-dialog.hooks.js +57 -0
- package/dist/screens/collections/rules.d.ts +307 -0
- package/dist/screens/collections/rules.js +308 -0
- package/dist/screens/comments/api/comments-api.d.ts +23 -0
- package/dist/screens/comments/api/comments-api.js +21 -0
- package/dist/screens/comments/api/comments-api.types.d.ts +44 -0
- package/dist/screens/comments/api/comments-api.types.js +2 -0
- package/dist/screens/comments/index.d.ts +34 -0
- package/dist/screens/comments/index.js +15 -0
- package/dist/screens/consent/ConsentOverviewTab.d.ts +14 -0
- package/dist/screens/consent/ConsentOverviewTab.js +28 -0
- package/dist/screens/consent/CookieConsent.d.ts +76 -0
- package/dist/screens/consent/CookieConsent.js +70 -0
- package/dist/screens/consent/consent-autosave.d.ts +50 -0
- package/dist/screens/consent/consent-autosave.js +61 -0
- package/dist/screens/consent/consent-dictionary.d.ts +11 -0
- package/dist/screens/consent/consent-dictionary.js +18 -0
- package/dist/screens/consent/consent-dictionary.locales-a.d.ts +3 -0
- package/dist/screens/consent/consent-dictionary.locales-a.js +464 -0
- package/dist/screens/consent/consent-dictionary.locales-b.d.ts +3 -0
- package/dist/screens/consent/consent-dictionary.locales-b.js +464 -0
- package/dist/screens/consent/consent-dictionary.locales-c.d.ts +3 -0
- package/dist/screens/consent/consent-dictionary.locales-c.js +464 -0
- package/dist/screens/consent/consent-dictionary.locales-d.d.ts +3 -0
- package/dist/screens/consent/consent-dictionary.locales-d.js +464 -0
- package/dist/screens/consent/consent-dictionary.locales-e.d.ts +3 -0
- package/dist/screens/consent/consent-dictionary.locales-e.js +96 -0
- package/dist/screens/consent/consent-i18n.d.ts +21 -0
- package/dist/screens/consent/consent-i18n.js +12 -0
- package/dist/screens/consent/rules.d.ts +57 -0
- package/dist/screens/consent/rules.js +51 -0
- package/dist/screens/consent/settings.hooks.d.ts +112 -0
- package/dist/screens/consent/settings.hooks.js +15 -0
- package/dist/screens/consent/use-consent-page.hooks.d.ts +90 -0
- package/dist/screens/consent/use-consent-page.hooks.js +204 -0
- package/dist/screens/content-analysis/ContentAnalysisCard.d.ts +20 -0
- package/dist/screens/content-analysis/ContentAnalysisCard.js +31 -0
- package/dist/screens/content-analysis/content-analysis-i18n-rows-rtl-asia.d.ts +10 -0
- package/dist/screens/content-analysis/content-analysis-i18n-rows-rtl-asia.js +301 -0
- package/dist/screens/content-analysis/content-analysis-i18n.d.ts +25 -0
- package/dist/screens/content-analysis/content-analysis-i18n.js +416 -0
- package/dist/screens/content-analysis/hooks/content-analysis-dependencies.hooks.d.ts +36 -0
- package/dist/screens/content-analysis/hooks/content-analysis-dependencies.hooks.js +33 -0
- package/dist/screens/content-analysis/hooks/content-analysis-port.hooks.d.ts +35 -0
- package/dist/screens/content-analysis/hooks/content-analysis-port.hooks.js +2 -0
- package/dist/screens/content-analysis/hooks/use-content-analysis.hooks.d.ts +55 -0
- package/dist/screens/content-analysis/hooks/use-content-analysis.hooks.js +48 -0
- package/dist/screens/content-analysis/rules.d.ts +160 -0
- package/dist/screens/content-analysis/rules.js +291 -0
- package/dist/screens/dashboard/Dashboard.d.ts +40 -0
- package/dist/screens/dashboard/Dashboard.js +113 -0
- package/dist/screens/dashboard/dashboard-i18n.d.ts +36 -0
- package/dist/screens/dashboard/dashboard-i18n.js +46 -0
- package/dist/screens/dashboard/dashboard-i18n.locales-a.d.ts +4 -0
- package/dist/screens/dashboard/dashboard-i18n.locales-a.js +419 -0
- package/dist/screens/dashboard/dashboard-i18n.locales-b.d.ts +4 -0
- package/dist/screens/dashboard/dashboard-i18n.locales-b.js +410 -0
- package/dist/screens/dashboard/dashboard-i18n.locales-c.d.ts +4 -0
- package/dist/screens/dashboard/dashboard-i18n.locales-c.js +410 -0
- package/dist/screens/dashboard/dashboard-i18n.locales-d.d.ts +4 -0
- package/dist/screens/dashboard/dashboard-i18n.locales-d.js +308 -0
- package/dist/screens/dashboard/dashboard-i18n.locales-e.d.ts +4 -0
- package/dist/screens/dashboard/dashboard-i18n.locales-e.js +309 -0
- package/dist/screens/dashboard/dashboard-i18n.locales-f.d.ts +4 -0
- package/dist/screens/dashboard/dashboard-i18n.locales-f.js +308 -0
- package/dist/screens/dashboard/dashboard-view.types.d.ts +21 -0
- package/dist/screens/dashboard/dashboard-view.types.js +10 -0
- package/dist/screens/dashboard/hooks/dashboard-port.hooks.d.ts +75 -0
- package/dist/screens/dashboard/hooks/dashboard-port.hooks.js +2 -0
- package/dist/screens/dashboard/hooks/fake-dashboard-port.d.ts +48 -0
- package/dist/screens/dashboard/hooks/fake-dashboard-port.js +49 -0
- package/dist/screens/dashboard/hooks/use-dashboard.hooks.d.ts +115 -0
- package/dist/screens/dashboard/hooks/use-dashboard.hooks.js +175 -0
- package/dist/screens/dashboard/rules.d.ts +127 -0
- package/dist/screens/dashboard/rules.js +131 -0
- package/dist/screens/database/Database.d.ts +45 -0
- package/dist/screens/database/Database.hooks.d.ts +5 -0
- package/dist/screens/database/Database.hooks.js +6 -0
- package/dist/screens/database/Database.js +235 -0
- package/dist/screens/database/api/database-api.d.ts +49 -0
- package/dist/screens/database/api/database-api.js +49 -0
- package/dist/screens/database/database-i18n/database-es-id-de-zh-cn-zh-tw-pt-br.d.ts +4 -0
- package/dist/screens/database/database-i18n/database-es-id-de-zh-cn-zh-tw-pt-br.js +310 -0
- package/dist/screens/database/database-i18n/database-hu-fr-uk-tr-th-it-hi-ur-bn.d.ts +4 -0
- package/dist/screens/database/database-i18n/database-hu-fr-uk-tr-th-it-hi-ur-bn.js +455 -0
- package/dist/screens/database/database-i18n/database-ru-fa-ar-ja-ko-pl.d.ts +4 -0
- package/dist/screens/database/database-i18n/database-ru-fa-ar-ja-ko-pl.js +305 -0
- package/dist/screens/database/database-i18n.d.ts +7 -0
- package/dist/screens/database/database-i18n.js +122 -0
- package/dist/screens/database/hooks/migrate-forward-section-port.hooks.d.ts +18 -0
- package/dist/screens/database/hooks/migrate-forward-section-port.hooks.js +2 -0
- package/dist/screens/database/hooks/schema-state-section-port.hooks.d.ts +18 -0
- package/dist/screens/database/hooks/schema-state-section-port.hooks.js +2 -0
- package/dist/screens/database/hooks/timeline-section-port.hooks.d.ts +22 -0
- package/dist/screens/database/hooks/timeline-section-port.hooks.js +2 -0
- package/dist/screens/database/hooks/use-migrate-forward-section.hooks.d.ts +95 -0
- package/dist/screens/database/hooks/use-migrate-forward-section.hooks.js +100 -0
- package/dist/screens/database/hooks/use-schema-state-section.hooks.d.ts +53 -0
- package/dist/screens/database/hooks/use-schema-state-section.hooks.js +25 -0
- package/dist/screens/database/hooks/use-timeline-section.hooks.d.ts +149 -0
- package/dist/screens/database/hooks/use-timeline-section.hooks.js +85 -0
- package/dist/screens/database/rules.d.ts +88 -0
- package/dist/screens/database/rules.js +134 -0
- package/dist/screens/email/Email.hooks.d.ts +22 -0
- package/dist/screens/email/Email.hooks.js +10 -0
- package/dist/screens/email/EmailActivityTab.d.ts +7 -0
- package/dist/screens/email/EmailActivityTab.js +127 -0
- package/dist/screens/email/EmailOverviewTab.d.ts +17 -0
- package/dist/screens/email/EmailOverviewTab.js +72 -0
- package/dist/screens/email/EmailParts.d.ts +46 -0
- package/dist/screens/email/EmailParts.js +47 -0
- package/dist/screens/email/EmailProviderTab.hooks.d.ts +13 -0
- package/dist/screens/email/EmailProviderTab.hooks.js +11 -0
- package/dist/screens/email/EmailSegments.d.ts +27 -0
- package/dist/screens/email/EmailSegments.js +17 -0
- package/dist/screens/email/EmailSenderTab.d.ts +19 -0
- package/dist/screens/email/EmailSenderTab.js +89 -0
- package/dist/screens/email/EmailTemplateEditor.d.ts +35 -0
- package/dist/screens/email/EmailTemplateEditor.hooks.d.ts +11 -0
- package/dist/screens/email/EmailTemplateEditor.hooks.js +5 -0
- package/dist/screens/email/EmailTemplateEditor.js +133 -0
- package/dist/screens/email/EmailTemplatesTab.d.ts +10 -0
- package/dist/screens/email/EmailTemplatesTab.js +47 -0
- package/dist/screens/email/api/mail-status-api.d.ts +19 -0
- package/dist/screens/email/api/mail-status-api.js +9 -0
- package/dist/screens/email/api/mail-status-api.types.d.ts +36 -0
- package/dist/screens/email/api/mail-status-api.types.js +2 -0
- package/dist/screens/email/email-api.d.ts +23 -0
- package/dist/screens/email/email-api.js +55 -0
- package/dist/screens/email/email-api.types.d.ts +310 -0
- package/dist/screens/email/email-api.types.js +2 -0
- package/dist/screens/email/email-i18n-locales.d.ts +6 -0
- package/dist/screens/email/email-i18n-locales.js +357 -0
- package/dist/screens/email/email-i18n.d.ts +3 -0
- package/dist/screens/email/email-i18n.js +402 -0
- package/dist/screens/email/email-tabs-i18n.d.ts +11 -0
- package/dist/screens/email/email-tabs-i18n.js +200 -0
- package/dist/screens/email/hooks/email-load.hooks.d.ts +45 -0
- package/dist/screens/email/hooks/email-load.hooks.js +33 -0
- package/dist/screens/email/hooks/use-email-activity.hooks.d.ts +126 -0
- package/dist/screens/email/hooks/use-email-activity.hooks.js +196 -0
- package/dist/screens/email/hooks/use-email-overview.hooks.d.ts +46 -0
- package/dist/screens/email/hooks/use-email-overview.hooks.js +30 -0
- package/dist/screens/email/hooks/use-email-provider.hooks.d.ts +88 -0
- package/dist/screens/email/hooks/use-email-provider.hooks.js +158 -0
- package/dist/screens/email/hooks/use-email-sender.hooks.d.ts +47 -0
- package/dist/screens/email/hooks/use-email-sender.hooks.js +92 -0
- package/dist/screens/email/hooks/use-email-template-editor.hooks.d.ts +63 -0
- package/dist/screens/email/hooks/use-email-template-editor.hooks.js +134 -0
- package/dist/screens/email/hooks/use-email-template-view.hooks.d.ts +26 -0
- package/dist/screens/email/hooks/use-email-template-view.hooks.js +15 -0
- package/dist/screens/email/hooks/use-email-templates.hooks.d.ts +45 -0
- package/dist/screens/email/hooks/use-email-templates.hooks.js +89 -0
- package/dist/screens/email/hooks/use-email.hooks.d.ts +51 -0
- package/dist/screens/email/hooks/use-email.hooks.js +43 -0
- package/dist/screens/forms/api/forms-api.d.ts +21 -0
- package/dist/screens/forms/api/forms-api.js +9 -0
- package/dist/screens/forms/api/forms-api.types.d.ts +40 -0
- package/dist/screens/forms/api/forms-api.types.js +2 -0
- package/dist/screens/forms/create-forms-dictionary.d.ts +15 -0
- package/dist/screens/forms/create-forms-dictionary.js +37 -0
- package/dist/screens/forms/forms-attributes-explainer-i18n.d.ts +6 -0
- package/dist/screens/forms/forms-attributes-explainer-i18n.js +28 -0
- package/dist/screens/forms/forms-editor-chrome-i18n.d.ts +7 -0
- package/dist/screens/forms/forms-editor-chrome-i18n.js +323 -0
- package/dist/screens/forms/forms-editor-i18n.d.ts +7 -0
- package/dist/screens/forms/forms-editor-i18n.js +265 -0
- package/dist/screens/forms/forms-field-editor-i18n.d.ts +7 -0
- package/dist/screens/forms/forms-field-editor-i18n.js +379 -0
- package/dist/screens/forms/forms-field-settings-i18n.d.ts +6 -0
- package/dist/screens/forms/forms-field-settings-i18n.js +330 -0
- package/dist/screens/forms/forms-leave-guard-i18n.d.ts +5 -0
- package/dist/screens/forms/forms-leave-guard-i18n.js +60 -0
- package/dist/screens/forms/forms-list-i18n.d.ts +7 -0
- package/dist/screens/forms/forms-list-i18n.js +305 -0
- package/dist/screens/forms/forms-submissions-i18n.d.ts +7 -0
- package/dist/screens/forms/forms-submissions-i18n.js +303 -0
- package/dist/screens/forms/index-aligned-translations.d.ts +17 -0
- package/dist/screens/forms/index-aligned-translations.js +19 -0
- package/dist/screens/forms/index.d.ts +43 -0
- package/dist/screens/forms/index.js +21 -0
- package/dist/screens/fs-files/folder-drop-port.d.ts +37 -0
- package/dist/screens/fs-files/folder-drop-port.js +26 -0
- package/dist/screens/fs-files/folder-drop.rules.d.ts +66 -0
- package/dist/screens/fs-files/folder-drop.rules.js +48 -0
- package/dist/screens/fs-files/use-folder-drop.hooks.d.ts +108 -0
- package/dist/screens/fs-files/use-folder-drop.hooks.js +148 -0
- package/dist/screens/fs-files/use-native-folder-picker.hooks.d.ts +34 -0
- package/dist/screens/fs-files/use-native-folder-picker.hooks.js +43 -0
- package/dist/screens/import-export/GitBackupCard.d.ts +19 -0
- package/dist/screens/import-export/GitBackupCard.js +56 -0
- package/dist/screens/import-export/ImportExport.d.ts +58 -0
- package/dist/screens/import-export/ImportExport.js +43 -0
- package/dist/screens/import-export/api/import-export-api.d.ts +25 -0
- package/dist/screens/import-export/api/import-export-api.js +20 -0
- package/dist/screens/import-export/git-backup-rules.d.ts +36 -0
- package/dist/screens/import-export/git-backup-rules.js +43 -0
- package/dist/screens/import-export/hooks/git-backup-port.hooks.d.ts +65 -0
- package/dist/screens/import-export/hooks/git-backup-port.hooks.js +12 -0
- package/dist/screens/import-export/hooks/use-git-backup.hooks.d.ts +57 -0
- package/dist/screens/import-export/hooks/use-git-backup.hooks.js +114 -0
- package/dist/screens/import-export/hooks/use-import-export.hooks.d.ts +49 -0
- package/dist/screens/import-export/hooks/use-import-export.hooks.js +24 -0
- package/dist/screens/import-export/import-export-i18n/import-export-es-id-de-zh-cn-zh-tw-pt-br.d.ts +6 -0
- package/dist/screens/import-export/import-export-i18n/import-export-es-id-de-zh-cn-zh-tw-pt-br.js +13 -0
- package/dist/screens/import-export/import-export-i18n/import-export-hu-fr-uk-tr-th-it-hi-ur-bn.d.ts +6 -0
- package/dist/screens/import-export/import-export-i18n/import-export-hu-fr-uk-tr-th-it-hi-ur-bn.js +16 -0
- package/dist/screens/import-export/import-export-i18n/import-export-ru-fa-ar-ja-ko-pl.d.ts +6 -0
- package/dist/screens/import-export/import-export-i18n/import-export-ru-fa-ar-ja-ko-pl.js +13 -0
- package/dist/screens/import-export/import-export-i18n.d.ts +10 -0
- package/dist/screens/import-export/import-export-i18n.js +19 -0
- package/dist/screens/import-export/import-export-links.d.ts +16 -0
- package/dist/screens/import-export/import-export-links.js +4 -0
- package/dist/screens/import-export/import-export-tabs.d.ts +32 -0
- package/dist/screens/import-export/import-export-tabs.js +48 -0
- package/dist/screens/integrations/IntegrationsRedirect.d.ts +22 -0
- package/dist/screens/integrations/IntegrationsRedirect.js +14 -0
- package/dist/screens/integrations/agent-plugin-ports.d.ts +58 -0
- package/dist/screens/integrations/agent-plugin-ports.js +2 -0
- package/dist/screens/integrations/api/integrations-api.d.ts +173 -0
- package/dist/screens/integrations/api/integrations-api.js +129 -0
- package/dist/screens/integrations/hooks/use-integrations-redirect.hooks.d.ts +36 -0
- package/dist/screens/integrations/hooks/use-integrations-redirect.hooks.js +41 -0
- package/dist/screens/integrations/i18n/integrations-dict-es-to-ko.d.ts +3 -0
- package/dist/screens/integrations/i18n/integrations-dict-es-to-ko.js +378 -0
- package/dist/screens/integrations/i18n/integrations-dict-pl-to-bn.d.ts +3 -0
- package/dist/screens/integrations/i18n/integrations-dict-pl-to-bn.js +344 -0
- package/dist/screens/integrations/integrations-i18n.d.ts +17 -0
- package/dist/screens/integrations/integrations-i18n.js +85 -0
- package/dist/screens/integrations/integrations-ports.d.ts +57 -0
- package/dist/screens/integrations/integrations-ports.js +2 -0
- package/dist/screens/library/Library.d.ts +46 -0
- package/dist/screens/library/Library.hooks.d.ts +35 -0
- package/dist/screens/library/Library.hooks.js +58 -0
- package/dist/screens/library/Library.js +157 -0
- package/dist/screens/library/hooks/library-api-port.hooks.d.ts +61 -0
- package/dist/screens/library/hooks/library-api-port.hooks.js +24 -0
- package/dist/screens/library/hooks/library-port.hooks.d.ts +58 -0
- package/dist/screens/library/hooks/library-port.hooks.js +2 -0
- package/dist/screens/library/hooks/use-library.hooks.d.ts +99 -0
- package/dist/screens/library/hooks/use-library.hooks.js +231 -0
- package/dist/screens/library/library-i18n/create-library-dictionary.d.ts +15 -0
- package/dist/screens/library/library-i18n/create-library-dictionary.js +14 -0
- package/dist/screens/library/library-i18n/library-i18n-data.d.ts +9 -0
- package/dist/screens/library/library-i18n/library-i18n-data.js +444 -0
- package/dist/screens/library/rules.d.ts +67 -0
- package/dist/screens/library/rules.js +103 -0
- package/dist/screens/media/Media.d.ts +262 -0
- package/dist/screens/media/Media.js +84 -0
- package/dist/screens/media/MediaCards.d.ts +32 -0
- package/dist/screens/media/MediaCards.js +53 -0
- package/dist/screens/media/MediaEditChildren.d.ts +38 -0
- package/dist/screens/media/MediaEditChildren.js +31 -0
- package/dist/screens/media/MediaEditFields.d.ts +47 -0
- package/dist/screens/media/MediaEditFields.js +58 -0
- package/dist/screens/media/MediaEditPanel.d.ts +26 -0
- package/dist/screens/media/MediaEditPanel.js +20 -0
- package/dist/screens/media/MediaGridOrEmpty.d.ts +45 -0
- package/dist/screens/media/MediaGridOrEmpty.js +56 -0
- package/dist/screens/media/MediaLibraryPanel.d.ts +32 -0
- package/dist/screens/media/MediaLibraryPanel.js +60 -0
- package/dist/screens/media/MediaLightbox.d.ts +31 -0
- package/dist/screens/media/MediaLightbox.js +29 -0
- package/dist/screens/media/MediaPageShell.d.ts +32 -0
- package/dist/screens/media/MediaPageShell.js +28 -0
- package/dist/screens/media/MediaPreview.d.ts +60 -0
- package/dist/screens/media/MediaPreview.js +93 -0
- package/dist/screens/media/MediaPurgeDialog.d.ts +13 -0
- package/dist/screens/media/MediaPurgeDialog.js +9 -0
- package/dist/screens/media/MediaToolbar.d.ts +30 -0
- package/dist/screens/media/MediaToolbar.js +77 -0
- package/dist/screens/media/api/media-api.d.ts +174 -0
- package/dist/screens/media/api/media-api.js +121 -0
- package/dist/screens/media/grid-size.d.ts +21 -0
- package/dist/screens/media/grid-size.js +13 -0
- package/dist/screens/media/hooks/fake-media-port.d.ts +21 -0
- package/dist/screens/media/hooks/fake-media-port.js +93 -0
- package/dist/screens/media/hooks/media-port.hooks.d.ts +90 -0
- package/dist/screens/media/hooks/media-port.hooks.js +2 -0
- package/dist/screens/media/hooks/use-edit-media-modal.hooks.d.ts +65 -0
- package/dist/screens/media/hooks/use-edit-media-modal.hooks.js +38 -0
- package/dist/screens/media/hooks/use-edit-media-panel.hooks.d.ts +165 -0
- package/dist/screens/media/hooks/use-edit-media-panel.hooks.js +165 -0
- package/dist/screens/media/hooks/use-media-card-details.hooks.d.ts +13 -0
- package/dist/screens/media/hooks/use-media-card-details.hooks.js +22 -0
- package/dist/screens/media/hooks/use-media-card-metadata.hooks.d.ts +38 -0
- package/dist/screens/media/hooks/use-media-card-metadata.hooks.js +25 -0
- package/dist/screens/media/hooks/use-media-grid-size.hooks.d.ts +9 -0
- package/dist/screens/media/hooks/use-media-grid-size.hooks.js +14 -0
- package/dist/screens/media/hooks/use-media-item-link.hooks.d.ts +36 -0
- package/dist/screens/media/hooks/use-media-item-link.hooks.js +31 -0
- package/dist/screens/media/hooks/use-media-preview.hooks.d.ts +58 -0
- package/dist/screens/media/hooks/use-media-preview.hooks.js +32 -0
- package/dist/screens/media/hooks/use-media-tabs.hooks.d.ts +53 -0
- package/dist/screens/media/hooks/use-media-tabs.hooks.js +52 -0
- package/dist/screens/media/hooks/use-media.hooks.d.ts +225 -0
- package/dist/screens/media/hooks/use-media.hooks.js +121 -0
- package/dist/screens/media/media-i18n/create-media-dictionary.d.ts +16 -0
- package/dist/screens/media/media-i18n/create-media-dictionary.js +50 -0
- package/dist/screens/media/media-i18n/media-addons-i18n.d.ts +20 -0
- package/dist/screens/media/media-i18n/media-addons-i18n.js +196 -0
- package/dist/screens/media/media-i18n/media-dialogs-i18n.d.ts +7 -0
- package/dist/screens/media/media-i18n/media-dialogs-i18n.js +351 -0
- package/dist/screens/media/media-i18n/media-edit-panel-i18n.d.ts +7 -0
- package/dist/screens/media/media-i18n/media-edit-panel-i18n.js +408 -0
- package/dist/screens/media/media-i18n/media-hooks-i18n.d.ts +7 -0
- package/dist/screens/media/media-i18n/media-hooks-i18n.js +136 -0
- package/dist/screens/media/media-i18n/media-html-attributes-i18n.d.ts +7 -0
- package/dist/screens/media/media-i18n/media-html-attributes-i18n.js +176 -0
- package/dist/screens/media/media-i18n/media-library-i18n.d.ts +7 -0
- package/dist/screens/media/media-i18n/media-library-i18n.js +450 -0
- package/dist/screens/media/media-i18n/media-toolbar-i18n.d.ts +7 -0
- package/dist/screens/media/media-i18n/media-toolbar-i18n.js +368 -0
- package/dist/screens/media/media-providers-port.d.ts +48 -0
- package/dist/screens/media/media-providers-port.js +76 -0
- package/dist/screens/media/media-tabs.hooks.d.ts +34 -0
- package/dist/screens/media/media-tabs.hooks.js +68 -0
- package/dist/screens/media/pinned-media-providers.d.ts +6 -0
- package/dist/screens/media/pinned-media-providers.js +6 -0
- package/dist/screens/media/rules.d.ts +347 -0
- package/dist/screens/media/rules.js +383 -0
- package/dist/screens/menus/MenuEditor.d.ts +37 -0
- package/dist/screens/menus/MenuEditor.hooks.d.ts +21 -0
- package/dist/screens/menus/MenuEditor.hooks.js +46 -0
- package/dist/screens/menus/MenuEditor.js +31 -0
- package/dist/screens/menus/MenuEditorHeader.d.ts +12 -0
- package/dist/screens/menus/MenuEditorHeader.js +29 -0
- package/dist/screens/menus/MenuItemFields.d.ts +59 -0
- package/dist/screens/menus/MenuItemFields.js +97 -0
- package/dist/screens/menus/MenuItemRow.d.ts +24 -0
- package/dist/screens/menus/MenuItemRow.js +29 -0
- package/dist/screens/menus/MenuModeTabs.d.ts +40 -0
- package/dist/screens/menus/MenuModeTabs.js +14 -0
- package/dist/screens/menus/MenuPageLinkFields.d.ts +19 -0
- package/dist/screens/menus/MenuPageLinkFields.hooks.d.ts +30 -0
- package/dist/screens/menus/MenuPageLinkFields.hooks.js +18 -0
- package/dist/screens/menus/MenuPageLinkFields.js +12 -0
- package/dist/screens/menus/Menus.d.ts +25 -0
- package/dist/screens/menus/Menus.js +23 -0
- package/dist/screens/menus/api/menus-api.d.ts +44 -0
- package/dist/screens/menus/api/menus-api.js +17 -0
- package/dist/screens/menus/api/menus-api.types.d.ts +26 -0
- package/dist/screens/menus/api/menus-api.types.js +2 -0
- package/dist/screens/menus/hooks/menu-tree.d.ts +36 -0
- package/dist/screens/menus/hooks/menu-tree.js +73 -0
- package/dist/screens/menus/hooks/menus-dependencies.hooks.d.ts +43 -0
- package/dist/screens/menus/hooks/menus-dependencies.hooks.js +84 -0
- package/dist/screens/menus/hooks/menus-port.hooks.d.ts +71 -0
- package/dist/screens/menus/hooks/menus-port.hooks.js +2 -0
- package/dist/screens/menus/hooks/use-menu-editor-state.hooks.d.ts +89 -0
- package/dist/screens/menus/hooks/use-menu-editor-state.hooks.js +85 -0
- package/dist/screens/menus/hooks/use-menu-editor-writes.hooks.d.ts +43 -0
- package/dist/screens/menus/hooks/use-menu-editor-writes.hooks.js +112 -0
- package/dist/screens/menus/hooks/use-menu-editor.hooks.d.ts +113 -0
- package/dist/screens/menus/hooks/use-menu-editor.hooks.js +133 -0
- package/dist/screens/menus/hooks/use-menus.hooks.d.ts +52 -0
- package/dist/screens/menus/hooks/use-menus.hooks.js +93 -0
- package/dist/screens/menus/hooks/use-route-guarded-menu-editor.hooks.d.ts +9 -0
- package/dist/screens/menus/hooks/use-route-guarded-menu-editor.hooks.js +13 -0
- package/dist/screens/menus/html-rules.d.ts +31 -0
- package/dist/screens/menus/html-rules.js +67 -0
- package/dist/screens/menus/menus-host-kit.d.ts +79 -0
- package/dist/screens/menus/menus-host-kit.js +2 -0
- package/dist/screens/menus/menus-i18n/create-menus-dictionary.d.ts +19 -0
- package/dist/screens/menus/menus-i18n/create-menus-dictionary.js +36 -0
- package/dist/screens/menus/menus-i18n/menus-editor-i18n.d.ts +7 -0
- package/dist/screens/menus/menus-i18n/menus-editor-i18n.js +332 -0
- package/dist/screens/menus/menus-i18n/menus-item-advanced-i18n.d.ts +7 -0
- package/dist/screens/menus/menus-i18n/menus-item-advanced-i18n.js +323 -0
- package/dist/screens/menus/menus-i18n/menus-item-fields-i18n.d.ts +7 -0
- package/dist/screens/menus/menus-i18n/menus-item-fields-i18n.js +386 -0
- package/dist/screens/menus/menus-i18n/menus-list-i18n.d.ts +7 -0
- package/dist/screens/menus/menus-i18n/menus-list-i18n.js +315 -0
- package/dist/screens/menus/menus-i18n/menus-page-link-i18n.d.ts +2 -0
- package/dist/screens/menus/menus-i18n/menus-page-link-i18n.js +35 -0
- package/dist/screens/menus/page-link-rules.d.ts +49 -0
- package/dist/screens/menus/page-link-rules.js +63 -0
- package/dist/screens/module-panel.d.ts +21 -0
- package/dist/screens/module-panel.js +2 -0
- package/dist/screens/observability/Observability.d.ts +98 -0
- package/dist/screens/observability/Observability.js +160 -0
- package/dist/screens/observability/api/observability-api.d.ts +39 -0
- package/dist/screens/observability/api/observability-api.js +26 -0
- package/dist/screens/observability/api/observability-api.types.d.ts +33 -0
- package/dist/screens/observability/api/observability-api.types.js +2 -0
- package/dist/screens/observability/hooks/observability-status-dependencies.hooks.d.ts +28 -0
- package/dist/screens/observability/hooks/observability-status-dependencies.hooks.js +29 -0
- package/dist/screens/observability/hooks/observability-status-port.hooks.d.ts +11 -0
- package/dist/screens/observability/hooks/observability-status-port.hooks.js +2 -0
- package/dist/screens/observability/hooks/recent-server-errors-dependencies.hooks.d.ts +26 -0
- package/dist/screens/observability/hooks/recent-server-errors-dependencies.hooks.js +33 -0
- package/dist/screens/observability/hooks/recent-server-errors-port.hooks.d.ts +12 -0
- package/dist/screens/observability/hooks/recent-server-errors-port.hooks.js +2 -0
- package/dist/screens/observability/hooks/use-observability-status.hooks.d.ts +48 -0
- package/dist/screens/observability/hooks/use-observability-status.hooks.js +45 -0
- package/dist/screens/observability/hooks/use-observability-tab.hooks.d.ts +30 -0
- package/dist/screens/observability/hooks/use-observability-tab.hooks.js +26 -0
- package/dist/screens/observability/hooks/use-queries-tab.hooks.d.ts +23 -0
- package/dist/screens/observability/hooks/use-queries-tab.hooks.js +17 -0
- package/dist/screens/observability/hooks/use-recent-error-item.hooks.d.ts +13 -0
- package/dist/screens/observability/hooks/use-recent-error-item.hooks.js +10 -0
- package/dist/screens/observability/hooks/use-recent-server-errors.hooks.d.ts +58 -0
- package/dist/screens/observability/hooks/use-recent-server-errors.hooks.js +63 -0
- package/dist/screens/observability/observability-i18n.d.ts +2 -0
- package/dist/screens/observability/observability-i18n.js +16 -0
- package/dist/screens/observability/observability-i18n.locales-a.d.ts +4 -0
- package/dist/screens/observability/observability-i18n.locales-a.js +417 -0
- package/dist/screens/observability/observability-i18n.locales-b.d.ts +4 -0
- package/dist/screens/observability/observability-i18n.locales-b.js +369 -0
- package/dist/screens/observability/observability-i18n.locales-c.d.ts +4 -0
- package/dist/screens/observability/observability-i18n.locales-c.js +369 -0
- package/dist/screens/observability/observability-visuals.d.ts +25 -0
- package/dist/screens/observability/observability-visuals.js +31 -0
- package/dist/screens/observability/queries-panel.d.ts +17 -0
- package/dist/screens/observability/queries-panel.js +11 -0
- package/dist/screens/observability/recent-errors-panel.d.ts +39 -0
- package/dist/screens/observability/recent-errors-panel.js +50 -0
- package/dist/screens/observability/recent-errors-rules.d.ts +81 -0
- package/dist/screens/observability/recent-errors-rules.js +213 -0
- package/dist/screens/observability/tool-gaps-panel.d.ts +15 -0
- package/dist/screens/observability/tool-gaps-panel.js +10 -0
- package/dist/screens/plugins/AddAgentPluginPanel.d.ts +18 -0
- package/dist/screens/plugins/AddAgentPluginPanel.js +33 -0
- package/dist/screens/plugins/AddPluginPanel.d.ts +18 -0
- package/dist/screens/plugins/AddPluginPanel.js +37 -0
- package/dist/screens/plugins/AgentPluginDisableConfirmDialog.d.ts +61 -0
- package/dist/screens/plugins/AgentPluginDisableConfirmDialog.js +14 -0
- package/dist/screens/plugins/AgentPluginLinkedLock.d.ts +21 -0
- package/dist/screens/plugins/AgentPluginLinkedLock.js +22 -0
- package/dist/screens/plugins/AgentPluginLists.d.ts +68 -0
- package/dist/screens/plugins/AgentPluginLists.js +124 -0
- package/dist/screens/plugins/AgentPluginManageButton.d.ts +22 -0
- package/dist/screens/plugins/AgentPluginManageButton.js +11 -0
- package/dist/screens/plugins/AgentPluginMaturity.d.ts +11 -0
- package/dist/screens/plugins/AgentPluginMaturity.js +14 -0
- package/dist/screens/plugins/AgentPluginMemoryPanel.d.ts +6 -0
- package/dist/screens/plugins/AgentPluginMemoryPanel.js +6 -0
- package/dist/screens/plugins/AgentPluginRow.d.ts +89 -0
- package/dist/screens/plugins/AgentPluginRow.js +96 -0
- package/dist/screens/plugins/AgentPluginSurfaceFrame.d.ts +20 -0
- package/dist/screens/plugins/AgentPluginSurfaceFrame.js +14 -0
- package/dist/screens/plugins/AgentPluginUpdateControl.d.ts +39 -0
- package/dist/screens/plugins/AgentPluginUpdateControl.js +31 -0
- package/dist/screens/plugins/AgentPlugins.d.ts +116 -0
- package/dist/screens/plugins/AgentPlugins.hooks.d.ts +22 -0
- package/dist/screens/plugins/AgentPlugins.hooks.js +34 -0
- package/dist/screens/plugins/AgentPlugins.js +68 -0
- package/dist/screens/plugins/AgentPluginsOverlays.d.ts +7 -0
- package/dist/screens/plugins/AgentPluginsOverlays.js +17 -0
- package/dist/screens/plugins/AgentPluginsTabs.d.ts +15 -0
- package/dist/screens/plugins/AgentPluginsTabs.js +76 -0
- package/dist/screens/plugins/PackageFilesModal.d.ts +45 -0
- package/dist/screens/plugins/PackageFilesModal.js +108 -0
- package/dist/screens/plugins/PluginLists.d.ts +46 -0
- package/dist/screens/plugins/PluginLists.js +97 -0
- package/dist/screens/plugins/PluginPackageFilesModal.d.ts +28 -0
- package/dist/screens/plugins/PluginPackageFilesModal.js +7 -0
- package/dist/screens/plugins/PluginProviderSettingField.d.ts +20 -0
- package/dist/screens/plugins/PluginProviderSettingField.hooks.d.ts +20 -0
- package/dist/screens/plugins/PluginProviderSettingField.hooks.js +15 -0
- package/dist/screens/plugins/PluginProviderSettingField.js +33 -0
- package/dist/screens/plugins/PluginRemoveConfirmDialog.d.ts +24 -0
- package/dist/screens/plugins/PluginRemoveConfirmDialog.js +12 -0
- package/dist/screens/plugins/PluginRow.d.ts +56 -0
- package/dist/screens/plugins/PluginRow.js +37 -0
- package/dist/screens/plugins/Plugins.d.ts +157 -0
- package/dist/screens/plugins/Plugins.js +87 -0
- package/dist/screens/plugins/PluginsOverlays.d.ts +9 -0
- package/dist/screens/plugins/PluginsOverlays.js +10 -0
- package/dist/screens/plugins/add-plugin-tab-soon.d.ts +43 -0
- package/dist/screens/plugins/add-plugin-tab-soon.js +36 -0
- package/dist/screens/plugins/admin-surface-theme.d.ts +30 -0
- package/dist/screens/plugins/admin-surface-theme.js +39 -0
- package/dist/screens/plugins/agent-plugins-visuals.d.ts +58 -0
- package/dist/screens/plugins/agent-plugins-visuals.js +88 -0
- package/dist/screens/plugins/api/plugins-api.d.ts +58 -0
- package/dist/screens/plugins/api/plugins-api.js +26 -0
- package/dist/screens/plugins/api/plugins-api.types.d.ts +49 -0
- package/dist/screens/plugins/api/plugins-api.types.js +2 -0
- package/dist/screens/plugins/composer-capabilities.d.ts +157 -0
- package/dist/screens/plugins/composer-capabilities.js +146 -0
- package/dist/screens/plugins/composer-skills.hooks.d.ts +37 -0
- package/dist/screens/plugins/composer-skills.hooks.js +62 -0
- package/dist/screens/plugins/hooks/agent-plugin-memory-port.hooks.d.ts +27 -0
- package/dist/screens/plugins/hooks/agent-plugin-memory-port.hooks.js +2 -0
- package/dist/screens/plugins/hooks/agent-plugin-surfaces-port.hooks.d.ts +43 -0
- package/dist/screens/plugins/hooks/agent-plugin-surfaces-port.hooks.js +2 -0
- package/dist/screens/plugins/hooks/plugin-install-port.hooks.d.ts +40 -0
- package/dist/screens/plugins/hooks/plugin-install-port.hooks.js +2 -0
- package/dist/screens/plugins/hooks/plugins-port.hooks.d.ts +67 -0
- package/dist/screens/plugins/hooks/plugins-port.hooks.js +2 -0
- package/dist/screens/plugins/hooks/use-admin-surface-frame.hooks.d.ts +51 -0
- package/dist/screens/plugins/hooks/use-admin-surface-frame.hooks.js +98 -0
- package/dist/screens/plugins/hooks/use-agent-plugin-details-modal.hooks.d.ts +43 -0
- package/dist/screens/plugins/hooks/use-agent-plugin-details-modal.hooks.js +25 -0
- package/dist/screens/plugins/hooks/use-agent-plugin-disable-confirm.hooks.d.ts +36 -0
- package/dist/screens/plugins/hooks/use-agent-plugin-disable-confirm.hooks.js +18 -0
- package/dist/screens/plugins/hooks/use-agent-plugin-install.hooks.d.ts +72 -0
- package/dist/screens/plugins/hooks/use-agent-plugin-install.hooks.js +197 -0
- package/dist/screens/plugins/hooks/use-agent-plugin-memory.hooks.d.ts +37 -0
- package/dist/screens/plugins/hooks/use-agent-plugin-memory.hooks.js +101 -0
- package/dist/screens/plugins/hooks/use-agent-plugin-surfaces.hooks.d.ts +7 -0
- package/dist/screens/plugins/hooks/use-agent-plugin-surfaces.hooks.js +20 -0
- package/dist/screens/plugins/hooks/use-agent-plugin-tab.hooks.d.ts +8 -0
- package/dist/screens/plugins/hooks/use-agent-plugin-tab.hooks.js +19 -0
- package/dist/screens/plugins/hooks/use-agent-plugin-update.hooks.d.ts +62 -0
- package/dist/screens/plugins/hooks/use-agent-plugin-update.hooks.js +17 -0
- package/dist/screens/plugins/hooks/use-linked-lock-tip.hooks.d.ts +16 -0
- package/dist/screens/plugins/hooks/use-linked-lock-tip.hooks.js +51 -0
- package/dist/screens/plugins/hooks/use-plugin-install.hooks.d.ts +72 -0
- package/dist/screens/plugins/hooks/use-plugin-install.hooks.js +150 -0
- package/dist/screens/plugins/hooks/use-plugin-package-files.hooks.d.ts +53 -0
- package/dist/screens/plugins/hooks/use-plugin-package-files.hooks.js +28 -0
- package/dist/screens/plugins/hooks/use-plugin-provider-settings.hooks.d.ts +40 -0
- package/dist/screens/plugins/hooks/use-plugin-provider-settings.hooks.js +69 -0
- package/dist/screens/plugins/hooks/use-plugin-remove-confirm.hooks.d.ts +36 -0
- package/dist/screens/plugins/hooks/use-plugin-remove-confirm.hooks.js +18 -0
- package/dist/screens/plugins/hooks/use-plugin-row-focus.hooks.d.ts +15 -0
- package/dist/screens/plugins/hooks/use-plugin-row-focus.hooks.js +23 -0
- package/dist/screens/plugins/hooks/use-plugins.hooks.d.ts +124 -0
- package/dist/screens/plugins/hooks/use-plugins.hooks.js +155 -0
- package/dist/screens/plugins/i18n/plugins-dict-1.d.ts +13 -0
- package/dist/screens/plugins/i18n/plugins-dict-1.js +250 -0
- package/dist/screens/plugins/i18n/plugins-dict-10.d.ts +6 -0
- package/dist/screens/plugins/i18n/plugins-dict-10.js +224 -0
- package/dist/screens/plugins/i18n/plugins-dict-11.d.ts +6 -0
- package/dist/screens/plugins/i18n/plugins-dict-11.js +224 -0
- package/dist/screens/plugins/i18n/plugins-dict-12.d.ts +6 -0
- package/dist/screens/plugins/i18n/plugins-dict-12.js +224 -0
- package/dist/screens/plugins/i18n/plugins-dict-13.d.ts +6 -0
- package/dist/screens/plugins/i18n/plugins-dict-13.js +224 -0
- package/dist/screens/plugins/i18n/plugins-dict-14.d.ts +6 -0
- package/dist/screens/plugins/i18n/plugins-dict-14.js +224 -0
- package/dist/screens/plugins/i18n/plugins-dict-15.d.ts +6 -0
- package/dist/screens/plugins/i18n/plugins-dict-15.js +224 -0
- package/dist/screens/plugins/i18n/plugins-dict-16.d.ts +6 -0
- package/dist/screens/plugins/i18n/plugins-dict-16.js +224 -0
- package/dist/screens/plugins/i18n/plugins-dict-17.d.ts +6 -0
- package/dist/screens/plugins/i18n/plugins-dict-17.js +224 -0
- package/dist/screens/plugins/i18n/plugins-dict-18.d.ts +6 -0
- package/dist/screens/plugins/i18n/plugins-dict-18.js +224 -0
- package/dist/screens/plugins/i18n/plugins-dict-19.d.ts +6 -0
- package/dist/screens/plugins/i18n/plugins-dict-19.js +224 -0
- package/dist/screens/plugins/i18n/plugins-dict-2.d.ts +6 -0
- package/dist/screens/plugins/i18n/plugins-dict-2.js +224 -0
- package/dist/screens/plugins/i18n/plugins-dict-20.d.ts +6 -0
- package/dist/screens/plugins/i18n/plugins-dict-20.js +224 -0
- package/dist/screens/plugins/i18n/plugins-dict-21.d.ts +6 -0
- package/dist/screens/plugins/i18n/plugins-dict-21.js +224 -0
- package/dist/screens/plugins/i18n/plugins-dict-3.d.ts +6 -0
- package/dist/screens/plugins/i18n/plugins-dict-3.js +224 -0
- package/dist/screens/plugins/i18n/plugins-dict-4.d.ts +6 -0
- package/dist/screens/plugins/i18n/plugins-dict-4.js +224 -0
- package/dist/screens/plugins/i18n/plugins-dict-5.d.ts +6 -0
- package/dist/screens/plugins/i18n/plugins-dict-5.js +224 -0
- package/dist/screens/plugins/i18n/plugins-dict-6.d.ts +6 -0
- package/dist/screens/plugins/i18n/plugins-dict-6.js +224 -0
- package/dist/screens/plugins/i18n/plugins-dict-7.d.ts +6 -0
- package/dist/screens/plugins/i18n/plugins-dict-7.js +224 -0
- package/dist/screens/plugins/i18n/plugins-dict-8.d.ts +6 -0
- package/dist/screens/plugins/i18n/plugins-dict-8.js +224 -0
- package/dist/screens/plugins/i18n/plugins-dict-9.d.ts +6 -0
- package/dist/screens/plugins/i18n/plugins-dict-9.js +224 -0
- package/dist/screens/plugins/plugins-i18n.d.ts +20 -0
- package/dist/screens/plugins/plugins-i18n.js +40 -0
- package/dist/screens/plugins/plugins-memory-i18n.d.ts +4 -0
- package/dist/screens/plugins/plugins-memory-i18n.js +448 -0
- package/dist/screens/plugins/plugins-visuals.d.ts +24 -0
- package/dist/screens/plugins/plugins-visuals.js +59 -0
- package/dist/screens/plugins/resolve-composer-discovery-outcome.d.ts +55 -0
- package/dist/screens/plugins/resolve-composer-discovery-outcome.js +75 -0
- package/dist/screens/plugins/rules-context.d.ts +10 -0
- package/dist/screens/plugins/rules-context.js +21 -0
- package/dist/screens/plugins/rules.d.ts +258 -0
- package/dist/screens/plugins/rules.js +660 -0
- package/dist/screens/plugins/selected-skills.d.ts +20 -0
- package/dist/screens/plugins/selected-skills.js +21 -0
- package/dist/screens/providers/AlwaysAllowPanel.d.ts +14 -0
- package/dist/screens/providers/AlwaysAllowPanel.js +20 -0
- package/dist/screens/providers/Providers.d.ts +169 -0
- package/dist/screens/providers/Providers.hooks.d.ts +5 -0
- package/dist/screens/providers/Providers.hooks.js +6 -0
- package/dist/screens/providers/Providers.js +50 -0
- package/dist/screens/providers/ProvidersTabBody.d.ts +7 -0
- package/dist/screens/providers/ProvidersTabBody.js +58 -0
- package/dist/screens/providers/ProvidersTabs.d.ts +7 -0
- package/dist/screens/providers/ProvidersTabs.js +62 -0
- package/dist/screens/providers/always-allow-ports.d.ts +21 -0
- package/dist/screens/providers/always-allow-ports.js +2 -0
- package/dist/screens/providers/always-allow-rules.d.ts +35 -0
- package/dist/screens/providers/always-allow-rules.js +43 -0
- package/dist/screens/providers/api/providers-api.d.ts +32 -0
- package/dist/screens/providers/api/providers-api.js +9 -0
- package/dist/screens/providers/hooks/use-always-allow.hooks.d.ts +48 -0
- package/dist/screens/providers/hooks/use-always-allow.hooks.js +62 -0
- package/dist/screens/providers/hooks/use-providers.hooks.d.ts +33 -0
- package/dist/screens/providers/hooks/use-providers.hooks.js +30 -0
- package/dist/screens/providers/providers-i18n.d.ts +11 -0
- package/dist/screens/providers/providers-i18n.js +265 -0
- package/dist/screens/redirects/index.d.ts +18 -0
- package/dist/screens/redirects/index.js +14 -0
- package/dist/screens/redirects/redirects-i18n.d.ts +39 -0
- package/dist/screens/redirects/redirects-i18n.js +201 -0
- package/dist/screens/redirects/redirects-i18n.locales-a.d.ts +3 -0
- package/dist/screens/redirects/redirects-i18n.locales-a.js +314 -0
- package/dist/screens/redirects/redirects-i18n.locales-b.d.ts +3 -0
- package/dist/screens/redirects/redirects-i18n.locales-b.js +345 -0
- package/dist/screens/redirects/redirects-i18n.overlays.d.ts +4 -0
- package/dist/screens/redirects/redirects-i18n.overlays.js +50 -0
- package/dist/screens/routines/RoutineForm.d.ts +17 -0
- package/dist/screens/routines/RoutineForm.js +23 -0
- package/dist/screens/routines/Routines.d.ts +67 -0
- package/dist/screens/routines/Routines.hooks.d.ts +58 -0
- package/dist/screens/routines/Routines.hooks.js +74 -0
- package/dist/screens/routines/Routines.js +55 -0
- package/dist/screens/routines/RoutinesMount.d.ts +25 -0
- package/dist/screens/routines/RoutinesMount.js +14 -0
- package/dist/screens/routines/project-routine-row.d.ts +29 -0
- package/dist/screens/routines/project-routine-row.js +45 -0
- package/dist/screens/routines/routines-api.d.ts +69 -0
- package/dist/screens/routines/routines-api.js +72 -0
- package/dist/screens/seo/api/seo-api.types.d.ts +75 -0
- package/dist/screens/seo/api/seo-api.types.js +2 -0
- package/dist/screens/seo/index.d.ts +19 -0
- package/dist/screens/seo/index.js +17 -0
- package/dist/screens/seo/seo-i18n.d.ts +4 -0
- package/dist/screens/seo/seo-i18n.js +24 -0
- package/dist/screens/seo/seo-i18n.locales-a.d.ts +3 -0
- package/dist/screens/seo/seo-i18n.locales-a.js +425 -0
- package/dist/screens/seo/seo-i18n.locales-b.d.ts +3 -0
- package/dist/screens/seo/seo-i18n.locales-b.js +445 -0
- package/dist/screens/seo/seo-i18n.locales-c.d.ts +3 -0
- package/dist/screens/seo/seo-i18n.locales-c.js +413 -0
- package/dist/screens/seo/seo-i18n.locales-d.d.ts +3 -0
- package/dist/screens/seo/seo-i18n.locales-d.js +277 -0
- package/dist/screens/seo/seo-i18n.sitemap-link.d.ts +3 -0
- package/dist/screens/seo/seo-i18n.sitemap-link.js +3 -0
- package/dist/screens/settings/ExternalMcpRemoveConfirmDialog.d.ts +74 -0
- package/dist/screens/settings/ExternalMcpRemoveConfirmDialog.js +12 -0
- package/dist/screens/settings/ExternalMcpSharedChoice.d.ts +14 -0
- package/dist/screens/settings/ExternalMcpSharedChoice.hooks.d.ts +63 -0
- package/dist/screens/settings/ExternalMcpSharedChoice.hooks.js +70 -0
- package/dist/screens/settings/ExternalMcpSharedChoice.js +17 -0
- package/dist/screens/settings/ExternalMcpToolPicker.d.ts +49 -0
- package/dist/screens/settings/ExternalMcpToolPicker.hooks.d.ts +114 -0
- package/dist/screens/settings/ExternalMcpToolPicker.hooks.js +118 -0
- package/dist/screens/settings/ExternalMcpToolPicker.js +116 -0
- package/dist/screens/settings/ExternalMcpToolsModal.d.ts +59 -0
- package/dist/screens/settings/ExternalMcpToolsModal.hooks.d.ts +45 -0
- package/dist/screens/settings/ExternalMcpToolsModal.hooks.js +32 -0
- package/dist/screens/settings/ExternalMcpToolsModal.js +12 -0
- package/dist/screens/settings/SettingsUi.d.ts +267 -0
- package/dist/screens/settings/SettingsUi.hooks.d.ts +25 -0
- package/dist/screens/settings/SettingsUi.hooks.js +61 -0
- package/dist/screens/settings/SettingsUi.js +109 -0
- package/dist/screens/settings/SettingsUiTabs.d.ts +20 -0
- package/dist/screens/settings/SettingsUiTabs.js +241 -0
- package/dist/screens/settings/UserInterfaceSettingsPanel.d.ts +32 -0
- package/dist/screens/settings/UserInterfaceSettingsPanel.hooks.d.ts +7 -0
- package/dist/screens/settings/UserInterfaceSettingsPanel.hooks.js +6 -0
- package/dist/screens/settings/UserInterfaceSettingsPanel.js +22 -0
- package/dist/screens/settings/external-mcp-connection-drift.d.ts +29 -0
- package/dist/screens/settings/external-mcp-connection-drift.js +206 -0
- package/dist/screens/settings/external-mcp-drift-copy.d.ts +3 -0
- package/dist/screens/settings/external-mcp-drift-copy.js +91 -0
- package/dist/screens/settings/external-mcp-drift-types.d.ts +111 -0
- package/dist/screens/settings/external-mcp-drift-types.js +2 -0
- package/dist/screens/settings/external-mcp-i18n.d.ts +4 -0
- package/dist/screens/settings/external-mcp-i18n.js +156 -0
- package/dist/screens/settings/external-mcp-i18n.locales-a.d.ts +4 -0
- package/dist/screens/settings/external-mcp-i18n.locales-a.js +327 -0
- package/dist/screens/settings/external-mcp-i18n.locales-b.d.ts +4 -0
- package/dist/screens/settings/external-mcp-i18n.locales-b.js +327 -0
- package/dist/screens/settings/external-mcp-i18n.locales-c.d.ts +4 -0
- package/dist/screens/settings/external-mcp-i18n.locales-c.js +327 -0
- package/dist/screens/settings/external-mcp-tool-drift.d.ts +60 -0
- package/dist/screens/settings/external-mcp-tool-drift.js +160 -0
- package/dist/screens/settings/external-mcp-tool-picker-rules.d.ts +228 -0
- package/dist/screens/settings/external-mcp-tool-picker-rules.js +321 -0
- package/dist/screens/settings/hooks/use-external-mcp-oauth-connect.hooks.d.ts +94 -0
- package/dist/screens/settings/hooks/use-external-mcp-oauth-connect.hooks.js +120 -0
- package/dist/screens/settings/hooks/use-external-mcp-remove-confirm.hooks.d.ts +47 -0
- package/dist/screens/settings/hooks/use-external-mcp-remove-confirm.hooks.js +18 -0
- package/dist/screens/settings/hooks/use-external-mcp-tool-picker.hooks.d.ts +97 -0
- package/dist/screens/settings/hooks/use-external-mcp-tool-picker.hooks.js +92 -0
- package/dist/screens/settings/hooks/use-settings-active-tab-scroll.hooks.d.ts +15 -0
- package/dist/screens/settings/hooks/use-settings-active-tab-scroll.hooks.js +34 -0
- package/dist/screens/settings/hooks/use-settings-locale-sync.hooks.d.ts +31 -0
- package/dist/screens/settings/hooks/use-settings-locale-sync.hooks.js +9 -0
- package/dist/screens/settings/rules.d.ts +229 -0
- package/dist/screens/settings/rules.js +388 -0
- package/dist/screens/settings/settings-capabilities-i18n.d.ts +10 -0
- package/dist/screens/settings/settings-capabilities-i18n.js +208 -0
- package/dist/screens/settings/settings-execution-i18n.d.ts +11 -0
- package/dist/screens/settings/settings-execution-i18n.js +311 -0
- package/dist/screens/settings/settings-i18n.d.ts +2 -0
- package/dist/screens/settings/settings-i18n.js +58 -0
- package/dist/screens/settings/settings-interface-i18n.d.ts +2 -0
- package/dist/screens/settings/settings-interface-i18n.js +28 -0
- package/dist/screens/settings/settings-memory-i18n.d.ts +12 -0
- package/dist/screens/settings/settings-memory-i18n.js +70 -0
- package/dist/screens/settings/settings-memory-i18n.locales-a.d.ts +4 -0
- package/dist/screens/settings/settings-memory-i18n.locales-a.js +461 -0
- package/dist/screens/settings/settings-memory-i18n.locales-b.d.ts +4 -0
- package/dist/screens/settings/settings-memory-i18n.locales-b.js +347 -0
- package/dist/screens/sites/AllSitesTab.d.ts +104 -0
- package/dist/screens/sites/AllSitesTab.js +89 -0
- package/dist/screens/sites/LocalSiteConfirmDialog.d.ts +10 -0
- package/dist/screens/sites/LocalSiteConfirmDialog.js +11 -0
- package/dist/screens/sites/SiteCardView.d.ts +32 -0
- package/dist/screens/sites/SiteCardView.js +68 -0
- package/dist/screens/sites/SiteTrashTab.d.ts +14 -0
- package/dist/screens/sites/SiteTrashTab.js +19 -0
- package/dist/screens/sites/sites-list-rules.d.ts +55 -0
- package/dist/screens/sites/sites-list-rules.js +45 -0
- package/dist/screens/sites/sites-port.hooks.d.ts +40 -0
- package/dist/screens/sites/sites-port.hooks.js +2 -0
- package/dist/screens/sites/sites-screen-ports.d.ts +220 -0
- package/dist/screens/sites/sites-screen-ports.js +2 -0
- package/dist/screens/sites/use-local-sites.hooks.d.ts +70 -0
- package/dist/screens/sites/use-local-sites.hooks.js +128 -0
- package/dist/screens/sites/use-site-confirm.hooks.d.ts +30 -0
- package/dist/screens/sites/use-site-confirm.hooks.js +31 -0
- package/dist/screens/sites/use-sites-config.hooks.d.ts +61 -0
- package/dist/screens/sites/use-sites-config.hooks.js +56 -0
- package/dist/screens/sites/use-sites-snapshot.hooks.d.ts +20 -0
- package/dist/screens/sites/use-sites-snapshot.hooks.js +20 -0
- package/dist/screens/skills/SkillInstallConfirmation.d.ts +10 -0
- package/dist/screens/skills/SkillInstallConfirmation.hooks.d.ts +5 -0
- package/dist/screens/skills/SkillInstallConfirmation.hooks.js +6 -0
- package/dist/screens/skills/SkillInstallConfirmation.js +17 -0
- package/dist/screens/skills/SkillRemoveConfirmDialog.d.ts +9 -0
- package/dist/screens/skills/SkillRemoveConfirmDialog.js +8 -0
- package/dist/screens/skills/SkillRow.d.ts +10 -0
- package/dist/screens/skills/SkillRow.js +12 -0
- package/dist/screens/skills/Skills.d.ts +9 -0
- package/dist/screens/skills/Skills.hooks.d.ts +5 -0
- package/dist/screens/skills/Skills.hooks.js +7 -0
- package/dist/screens/skills/Skills.js +37 -0
- package/dist/screens/skills/skill-drop.d.ts +10 -0
- package/dist/screens/skills/skill-drop.js +75 -0
- package/dist/screens/skills/skill-failure.d.ts +25 -0
- package/dist/screens/skills/skill-failure.js +15 -0
- package/dist/screens/skills/skill-upload.d.ts +8 -0
- package/dist/screens/skills/skill-upload.js +23 -0
- package/dist/screens/skills/skills-i18n.d.ts +2 -0
- package/dist/screens/skills/skills-i18n.js +36 -0
- package/dist/screens/skills/skills-page-dictionary.d.ts +3 -0
- package/dist/screens/skills/skills-page-dictionary.js +256 -0
- package/dist/screens/skills/skills-screen.types.d.ts +169 -0
- package/dist/screens/skills/skills-screen.types.js +2 -0
- package/dist/screens/skills/skills-visuals.d.ts +2 -0
- package/dist/screens/skills/skills-visuals.js +6 -0
- package/dist/screens/skills/use-skill-confirmation.hooks.d.ts +17 -0
- package/dist/screens/skills/use-skill-confirmation.hooks.js +37 -0
- package/dist/screens/skills/use-skills-tabs.hooks.d.ts +8 -0
- package/dist/screens/skills/use-skills-tabs.hooks.js +18 -0
- package/dist/screens/storage/ScreenshotCleanupSection.d.ts +19 -0
- package/dist/screens/storage/ScreenshotCleanupSection.js +10 -0
- package/dist/screens/storage/StoragePanel.d.ts +43 -0
- package/dist/screens/storage/StoragePanel.js +17 -0
- package/dist/screens/storage/StorageScreen.d.ts +42 -0
- package/dist/screens/storage/StorageScreen.js +13 -0
- package/dist/screens/storage/api/screenshot-cleanup-api.d.ts +48 -0
- package/dist/screens/storage/api/screenshot-cleanup-api.js +17 -0
- package/dist/screens/storage/api/storage-api.d.ts +91 -0
- package/dist/screens/storage/api/storage-api.js +14 -0
- package/dist/screens/storage/hooks/use-screenshot-cleanup.hooks.d.ts +43 -0
- package/dist/screens/storage/hooks/use-screenshot-cleanup.hooks.js +35 -0
- package/dist/screens/storage/hooks/use-storage.hooks.d.ts +37 -0
- package/dist/screens/storage/hooks/use-storage.hooks.js +115 -0
- package/dist/screens/storage/storage-screen-bindings.d.ts +49 -0
- package/dist/screens/storage/storage-screen-bindings.js +32 -0
- package/dist/screens/taxonomy/Taxonomy.d.ts +87 -0
- package/dist/screens/taxonomy/Taxonomy.js +79 -0
- package/dist/screens/taxonomy/TaxonomyRowMenu.d.ts +20 -0
- package/dist/screens/taxonomy/TaxonomyRowMenu.hooks.d.ts +13 -0
- package/dist/screens/taxonomy/TaxonomyRowMenu.hooks.js +144 -0
- package/dist/screens/taxonomy/TaxonomyRowMenu.js +58 -0
- package/dist/screens/taxonomy/TaxonomyTermList.d.ts +71 -0
- package/dist/screens/taxonomy/TaxonomyTermList.js +169 -0
- package/dist/screens/taxonomy/TermDetailPanel.d.ts +26 -0
- package/dist/screens/taxonomy/TermDetailPanel.js +48 -0
- package/dist/screens/taxonomy/TermPicker.d.ts +49 -0
- package/dist/screens/taxonomy/TermPicker.js +153 -0
- package/dist/screens/taxonomy/api/taxonomy-api.d.ts +77 -0
- package/dist/screens/taxonomy/api/taxonomy-api.js +43 -0
- package/dist/screens/taxonomy/api/taxonomy-api.types.d.ts +32 -0
- package/dist/screens/taxonomy/api/taxonomy-api.types.js +2 -0
- package/dist/screens/taxonomy/hooks/merge-term-section-dependencies.hooks.d.ts +30 -0
- package/dist/screens/taxonomy/hooks/merge-term-section-dependencies.hooks.js +50 -0
- package/dist/screens/taxonomy/hooks/merge-term-section-port.hooks.d.ts +32 -0
- package/dist/screens/taxonomy/hooks/merge-term-section-port.hooks.js +2 -0
- package/dist/screens/taxonomy/hooks/new-taxonomy-form-dependencies.hooks.d.ts +33 -0
- package/dist/screens/taxonomy/hooks/new-taxonomy-form-dependencies.hooks.js +39 -0
- package/dist/screens/taxonomy/hooks/new-taxonomy-form-port.hooks.d.ts +20 -0
- package/dist/screens/taxonomy/hooks/new-taxonomy-form-port.hooks.js +2 -0
- package/dist/screens/taxonomy/hooks/new-term-form-dependencies.hooks.d.ts +33 -0
- package/dist/screens/taxonomy/hooks/new-term-form-dependencies.hooks.js +40 -0
- package/dist/screens/taxonomy/hooks/new-term-form-port.hooks.d.ts +22 -0
- package/dist/screens/taxonomy/hooks/new-term-form-port.hooks.js +2 -0
- package/dist/screens/taxonomy/hooks/taxonomy-dependencies.hooks.d.ts +59 -0
- package/dist/screens/taxonomy/hooks/taxonomy-dependencies.hooks.js +60 -0
- package/dist/screens/taxonomy/hooks/taxonomy-port.hooks.d.ts +48 -0
- package/dist/screens/taxonomy/hooks/taxonomy-port.hooks.js +2 -0
- package/dist/screens/taxonomy/hooks/term-picker-dependencies.hooks.d.ts +50 -0
- package/dist/screens/taxonomy/hooks/term-picker-dependencies.hooks.js +59 -0
- package/dist/screens/taxonomy/hooks/term-picker-port.hooks.d.ts +36 -0
- package/dist/screens/taxonomy/hooks/term-picker-port.hooks.js +2 -0
- package/dist/screens/taxonomy/hooks/use-merge-term-section.hooks.d.ts +56 -0
- package/dist/screens/taxonomy/hooks/use-merge-term-section.hooks.js +148 -0
- package/dist/screens/taxonomy/hooks/use-new-taxonomy-form.hooks.d.ts +41 -0
- package/dist/screens/taxonomy/hooks/use-new-taxonomy-form.hooks.js +34 -0
- package/dist/screens/taxonomy/hooks/use-new-term-form.hooks.d.ts +50 -0
- package/dist/screens/taxonomy/hooks/use-new-term-form.hooks.js +39 -0
- package/dist/screens/taxonomy/hooks/use-taxonomy-html-embed.hooks.d.ts +18 -0
- package/dist/screens/taxonomy/hooks/use-taxonomy-html-embed.hooks.js +26 -0
- package/dist/screens/taxonomy/hooks/use-taxonomy.hooks.d.ts +117 -0
- package/dist/screens/taxonomy/hooks/use-taxonomy.hooks.js +186 -0
- package/dist/screens/taxonomy/hooks/use-term-detail-panel.hooks.d.ts +44 -0
- package/dist/screens/taxonomy/hooks/use-term-detail-panel.hooks.js +68 -0
- package/dist/screens/taxonomy/hooks/use-term-list-reveal.hooks.d.ts +22 -0
- package/dist/screens/taxonomy/hooks/use-term-list-reveal.hooks.js +24 -0
- package/dist/screens/taxonomy/hooks/use-term-picker.hooks.d.ts +94 -0
- package/dist/screens/taxonomy/hooks/use-term-picker.hooks.js +255 -0
- package/dist/screens/taxonomy/html-rules.d.ts +12 -0
- package/dist/screens/taxonomy/html-rules.js +8 -0
- package/dist/screens/taxonomy/rules.d.ts +224 -0
- package/dist/screens/taxonomy/rules.js +249 -0
- package/dist/screens/taxonomy/taxonomy-host-kit.d.ts +69 -0
- package/dist/screens/taxonomy/taxonomy-host-kit.js +9 -0
- package/dist/screens/taxonomy/taxonomy-i18n/create-taxonomy-dictionary.d.ts +15 -0
- package/dist/screens/taxonomy/taxonomy-i18n/create-taxonomy-dictionary.js +35 -0
- package/dist/screens/taxonomy/taxonomy-i18n/taxonomy-detail-i18n.d.ts +7 -0
- package/dist/screens/taxonomy/taxonomy-i18n/taxonomy-detail-i18n.js +264 -0
- package/dist/screens/taxonomy/taxonomy-i18n/taxonomy-hooks-i18n.d.ts +7 -0
- package/dist/screens/taxonomy/taxonomy-i18n/taxonomy-hooks-i18n.js +326 -0
- package/dist/screens/taxonomy/taxonomy-i18n/taxonomy-merge-i18n.d.ts +7 -0
- package/dist/screens/taxonomy/taxonomy-i18n/taxonomy-merge-i18n.js +282 -0
- package/dist/screens/taxonomy/taxonomy-i18n/taxonomy-screen-i18n.d.ts +7 -0
- package/dist/screens/taxonomy/taxonomy-i18n/taxonomy-screen-i18n.js +369 -0
- package/dist/screens/taxonomy/taxonomy-i18n/taxonomy-term-picker-i18n.d.ts +8 -0
- package/dist/screens/taxonomy/taxonomy-i18n/taxonomy-term-picker-i18n.js +83 -0
- package/dist/screens/taxonomy/taxonomy-screen-parts.d.ts +28 -0
- package/dist/screens/taxonomy/taxonomy-screen-parts.js +2 -0
- package/dist/screens/trash/Trash.d.ts +15 -0
- package/dist/screens/trash/Trash.js +137 -0
- package/dist/screens/trash/api/trash-api.d.ts +41 -0
- package/dist/screens/trash/api/trash-api.js +33 -0
- package/dist/screens/trash/hooks/trash-port.hooks.d.ts +35 -0
- package/dist/screens/trash/hooks/trash-port.hooks.js +2 -0
- package/dist/screens/trash/hooks/use-trash.hooks.d.ts +93 -0
- package/dist/screens/trash/hooks/use-trash.hooks.js +206 -0
- package/dist/screens/trash/rules.d.ts +176 -0
- package/dist/screens/trash/rules.js +219 -0
- package/dist/screens/trash/trash-i18n/create-trash-dictionary.d.ts +49 -0
- package/dist/screens/trash/trash-i18n/create-trash-dictionary.js +50 -0
- package/dist/screens/trash/trash-i18n/trash-i18n-a.d.ts +3 -0
- package/dist/screens/trash/trash-i18n/trash-i18n-a.js +382 -0
- package/dist/screens/trash/trash-i18n/trash-i18n-b.d.ts +3 -0
- package/dist/screens/trash/trash-i18n/trash-i18n-b.js +387 -0
- package/dist/screens/trash/trash-i18n/trash-i18n-c.d.ts +3 -0
- package/dist/screens/trash/trash-i18n/trash-i18n-c.js +382 -0
- package/dist/screens/voice-input/hooks/mic-button-view.hooks.d.ts +45 -0
- package/dist/screens/voice-input/hooks/mic-button-view.hooks.js +53 -0
- package/dist/screens/voice-input/hooks/mic-capture.d.ts +32 -0
- package/dist/screens/voice-input/hooks/mic-capture.js +87 -0
- package/dist/screens/voice-input/hooks/push-to-talk-state.hooks.d.ts +59 -0
- package/dist/screens/voice-input/hooks/push-to-talk-state.hooks.js +82 -0
- package/dist/screens/voice-input/hooks/space-hold-config.d.ts +17 -0
- package/dist/screens/voice-input/hooks/space-hold-config.js +17 -0
- package/dist/screens/voice-input/voice-input-config.d.ts +19 -0
- package/dist/screens/voice-input/voice-input-config.js +19 -0
- package/dist/screens/voice-input/voice-unavailability.d.ts +36 -0
- package/dist/screens/voice-input/voice-unavailability.js +59 -0
- package/dist/screens/webmcp/BrowserAgentSettingsPanel.d.ts +16 -0
- package/dist/screens/webmcp/BrowserAgentSettingsPanel.js +13 -0
- package/dist/screens/webmcp/browser-agent-settings.hooks.d.ts +34 -0
- package/dist/screens/webmcp/browser-agent-settings.hooks.js +52 -0
- package/dist/screens/webmcp/webmcp-i18n.d.ts +11 -0
- package/dist/screens/webmcp/webmcp-i18n.js +56 -0
- package/dist/screens/widgets/api/widgets-api.d.ts +41 -0
- package/dist/screens/widgets/api/widgets-api.js +24 -0
- package/dist/screens/widgets/api/widgets-api.types.d.ts +44 -0
- package/dist/screens/widgets/api/widgets-api.types.js +5 -0
- package/dist/screens/widgets/index.d.ts +50 -0
- package/dist/screens/widgets/index.js +30 -0
- package/dist/screens/workspace/Workspace.d.ts +85 -0
- package/dist/screens/workspace/Workspace.js +42 -0
- package/dist/screens/workspace/hooks/use-workspace.hooks.d.ts +51 -0
- package/dist/screens/workspace/hooks/use-workspace.hooks.js +62 -0
- package/dist/screens/workspace/hooks/workspace-port.hooks.d.ts +25 -0
- package/dist/screens/workspace/hooks/workspace-port.hooks.js +2 -0
- package/dist/screens/workspace/rules.d.ts +18 -0
- package/dist/screens/workspace/rules.js +15 -0
- package/dist/security/access-token-categories.d.ts +60 -0
- package/dist/security/access-token-categories.js +50 -0
- package/dist/security/access-token-providers.d.ts +161 -0
- package/dist/security/access-token-providers.js +127 -0
- package/dist/security/access-token-rows.d.ts +161 -0
- package/dist/security/access-token-rows.js +106 -0
- package/dist/security/adapters/http.d.ts +83 -4
- package/dist/security/adapters/http.js +149 -37
- package/dist/security/adapters/memory.d.ts +19 -4
- package/dist/security/adapters/memory.js +74 -6
- package/dist/security/api/security-api.d.ts +127 -0
- package/dist/security/api/security-api.js +89 -0
- package/dist/security/api/security-api.types.d.ts +171 -0
- package/dist/security/api/security-api.types.js +2 -0
- package/dist/security/conformance/security-api.conformance.d.ts +10 -2
- package/dist/security/conformance/security-api.conformance.js +30 -0
- package/dist/security/controllers/access-tokens.controller.d.ts +27 -1
- package/dist/security/controllers/access-tokens.controller.js +132 -49
- package/dist/security/controllers/other-credentials.controller.d.ts +12 -2
- package/dist/security/controllers/other-credentials.controller.js +55 -35
- package/dist/security/controllers/root-key-reveal.d.ts +46 -0
- package/dist/security/controllers/root-key-reveal.js +65 -0
- package/dist/security/controllers/root-key.controller.d.ts +22 -1
- package/dist/security/controllers/root-key.controller.js +72 -33
- package/dist/security/controllers/shared-keys.controller.d.ts +47 -0
- package/dist/security/controllers/shared-keys.controller.js +71 -0
- package/dist/security/credential-failure.d.ts +49 -0
- package/dist/security/credential-failure.js +38 -0
- package/dist/security/credential-forms.rules.d.ts +62 -0
- package/dist/security/credential-forms.rules.js +73 -0
- package/dist/security/custom-credential-forms.d.ts +146 -0
- package/dist/security/custom-credential-forms.js +147 -0
- package/dist/security/host/AccessTokenDialogs.d.ts +45 -0
- package/dist/security/host/AccessTokenDialogs.js +103 -0
- package/dist/security/host/AccessTokenFields.d.ts +37 -0
- package/dist/security/host/AccessTokenFields.js +54 -0
- package/dist/security/host/AccessTokenRows.d.ts +20 -0
- package/dist/security/host/AccessTokenRows.js +82 -0
- package/dist/security/host/AccessTokensGroups.d.ts +19 -0
- package/dist/security/host/AccessTokensGroups.js +103 -0
- package/dist/security/host/AccessTokensTab.d.ts +178 -0
- package/dist/security/host/AccessTokensTab.hooks.d.ts +121 -0
- package/dist/security/host/AccessTokensTab.hooks.js +114 -0
- package/dist/security/host/AccessTokensTab.js +71 -0
- package/dist/security/host/CopyKeysDialog.d.ts +8 -0
- package/dist/security/host/CopyKeysDialog.js +12 -0
- package/dist/security/host/Security.hooks.d.ts +5 -0
- package/dist/security/host/Security.hooks.js +6 -0
- package/dist/security/host/SiteKeyTab.hooks.d.ts +28 -0
- package/dist/security/host/SiteKeyTab.hooks.js +29 -0
- package/dist/security/host/hooks/access-token-actions.d.ts +62 -0
- package/dist/security/host/hooks/access-token-actions.js +157 -0
- package/dist/security/host/hooks/access-token-add-actions.d.ts +34 -0
- package/dist/security/host/hooks/access-token-add-actions.js +130 -0
- package/dist/security/host/hooks/access-token-drafts.hooks.d.ts +22 -0
- package/dist/security/host/hooks/access-token-drafts.hooks.js +16 -0
- package/dist/security/host/hooks/access-token-groups.hooks.d.ts +10 -0
- package/dist/security/host/hooks/access-token-groups.hooks.js +52 -0
- package/dist/security/host/hooks/access-token-queries.hooks.d.ts +35 -0
- package/dist/security/host/hooks/access-token-queries.hooks.js +25 -0
- package/dist/security/host/hooks/access-token-refresh.hooks.d.ts +46 -0
- package/dist/security/host/hooks/access-token-refresh.hooks.js +96 -0
- package/dist/security/host/hooks/access-token-replace-actions.d.ts +7 -0
- package/dist/security/host/hooks/access-token-replace-actions.js +108 -0
- package/dist/security/host/hooks/access-token-rows.hooks.d.ts +10 -0
- package/dist/security/host/hooks/access-token-rows.hooks.js +19 -0
- package/dist/security/host/hooks/access-token-state.hooks.d.ts +52 -0
- package/dist/security/host/hooks/access-token-state.hooks.js +56 -0
- package/dist/security/host/hooks/access-token-store-operations.d.ts +85 -0
- package/dist/security/host/hooks/access-token-store-operations.js +79 -0
- package/dist/security/host/hooks/access-token-stores.hooks.d.ts +32 -0
- package/dist/security/host/hooks/access-token-stores.hooks.js +51 -0
- package/dist/security/host/hooks/access-tokens-port.hooks.d.ts +106 -0
- package/dist/security/host/hooks/access-tokens-port.hooks.js +2 -0
- package/dist/security/host/hooks/other-credential-store-operations.d.ts +74 -0
- package/dist/security/host/hooks/other-credential-store-operations.js +127 -0
- package/dist/security/host/hooks/other-credentials-port.hooks.d.ts +63 -0
- package/dist/security/host/hooks/other-credentials-port.hooks.js +2 -0
- package/dist/security/host/hooks/security-permissions-port.hooks.d.ts +13 -0
- package/dist/security/host/hooks/security-permissions-port.hooks.js +2 -0
- package/dist/security/host/hooks/site-key-status.rules.d.ts +9 -0
- package/dist/security/host/hooks/site-key-status.rules.js +11 -0
- package/dist/security/host/hooks/use-access-tokens.hooks.d.ts +354 -0
- package/dist/security/host/hooks/use-access-tokens.hooks.js +60 -0
- package/dist/security/host/hooks/use-copy-keys.hooks.d.ts +59 -0
- package/dist/security/host/hooks/use-copy-keys.hooks.js +85 -0
- package/dist/security/host/hooks/use-other-credentials.hooks.d.ts +180 -0
- package/dist/security/host/hooks/use-other-credentials.hooks.js +109 -0
- package/dist/security/host/hooks/use-security-permissions.hooks.d.ts +18 -0
- package/dist/security/host/hooks/use-security-permissions.hooks.js +16 -0
- package/dist/security/i18n/security-dict-1.d.ts +7 -0
- package/dist/security/i18n/security-dict-1.js +425 -0
- package/dist/security/i18n/security-dict-2.d.ts +6 -0
- package/dist/security/i18n/security-dict-2.js +369 -0
- package/dist/security/i18n/security-dict-3.d.ts +6 -0
- package/dist/security/i18n/security-dict-3.js +331 -0
- package/dist/security/i18n/security-dict-4.d.ts +6 -0
- package/dist/security/i18n/security-dict-4.js +331 -0
- package/dist/security/i18n/security-dict-5.d.ts +6 -0
- package/dist/security/i18n/security-dict-5.js +331 -0
- package/dist/security/i18n/security-dict-6.d.ts +6 -0
- package/dist/security/i18n/security-dict-6.js +331 -0
- package/dist/security/index.d.ts +6 -1
- package/dist/security/index.js +5 -1
- package/dist/security/messages.en.d.ts +83 -0
- package/dist/security/messages.en.js +44 -1
- package/dist/security/models.d.ts +52 -1
- package/dist/security/other-credentials.rules.d.ts +26 -0
- package/dist/security/other-credentials.rules.js +28 -0
- package/dist/security/ports.d.ts +70 -4
- package/dist/security/react/bindings.d.ts +97 -0
- package/dist/security/react/bindings.js +24 -0
- package/dist/security/react/components/CredentialEditor.d.ts +6 -3
- package/dist/security/react/components/CredentialEditor.js +8 -4
- package/dist/security/react/components/OtherCredentialRow.d.ts +14 -0
- package/dist/security/react/components/OtherCredentialRow.js +12 -0
- package/dist/security/react/components/SharedKeysDialog.d.ts +7 -0
- package/dist/security/react/components/SharedKeysDialog.js +10 -0
- package/dist/security/react/components/chip-field.d.ts +18 -0
- package/dist/security/react/components/chip-field.js +2 -0
- package/dist/security/react/components/other-credential-rows.d.ts +62 -0
- package/dist/security/react/components/other-credential-rows.js +29 -0
- package/dist/security/react/hooks/AccessTokensTab.hooks.d.ts +197 -20
- package/dist/security/react/hooks/AccessTokensTab.hooks.js +103 -17
- package/dist/security/react/hooks/CredentialEditor.hooks.d.ts +47 -21
- package/dist/security/react/hooks/CredentialEditor.hooks.js +44 -4
- package/dist/security/react/hooks/RootKeyTab.hooks.d.ts +36 -2
- package/dist/security/react/hooks/RootKeyTab.hooks.js +52 -11
- package/dist/security/react/hooks/SecurityPage.hooks.d.ts +25 -10
- package/dist/security/react/hooks/SecurityPage.hooks.js +29 -6
- package/dist/security/react/hooks/SecurityPorts.hooks.d.ts +36 -1
- package/dist/security/react/hooks/SecurityPorts.hooks.js +20 -0
- package/dist/security/react/hooks/SharedKeysDialog.hooks.d.ts +40 -0
- package/dist/security/react/hooks/SharedKeysDialog.hooks.js +35 -0
- package/dist/security/react/index.d.ts +321 -77
- package/dist/security/react/index.js +48 -7
- package/dist/security/react/live/Security.d.ts +89 -0
- package/dist/security/react/live/Security.js +82 -0
- package/dist/security/react/pages/SecurityPage.d.ts +7 -2
- package/dist/security/react/pages/SecurityPage.js +9 -5
- package/dist/security/react/tabs/AccessTokensTab.d.ts +15 -4
- package/dist/security/react/tabs/AccessTokensTab.js +33 -4
- package/dist/security/react/tabs/RootKeyTab.d.ts +4 -2
- package/dist/security/react/tabs/RootKeyTab.js +27 -6
- package/dist/security/rules.d.ts +136 -5
- package/dist/security/rules.js +132 -19
- package/dist/security/security-i18n.d.ts +82 -0
- package/dist/security/security-i18n.js +247 -0
- package/dist/security/security.module.d.ts +79 -0
- package/dist/seo/react/hooks/SeoQuery.hooks.d.ts +3 -3
- package/dist/shell/components/AdminByokKeyPanel.hooks.d.ts +7 -0
- package/dist/shell/components/AdminByokKeyPanel.hooks.js +6 -0
- package/dist/shell/components/AdminFailureNotice/AdminFailureNotice.d.ts +24 -0
- package/dist/shell/components/AdminFailureNotice/AdminFailureNotice.js +18 -0
- package/dist/shell/components/AssistantDock/AgentFailureCard.d.ts +14 -0
- package/dist/shell/components/AssistantDock/AgentFailureCard.hooks.d.ts +44 -0
- package/dist/shell/components/AssistantDock/AgentFailureCard.hooks.js +70 -0
- package/dist/shell/components/AssistantDock/AgentFailureCard.js +17 -0
- package/dist/shell/components/AssistantDock/AssistantDock.d.ts +243 -0
- package/dist/shell/components/AssistantDock/AssistantDock.js +41 -0
- package/dist/shell/components/AssistantDock/AssistantDock.state.hooks.d.ts +326 -0
- package/dist/shell/components/AssistantDock/AssistantDock.state.hooks.js +219 -0
- package/dist/shell/components/AssistantDock/DockChatPane.d.ts +84 -0
- package/dist/shell/components/AssistantDock/DockChatPane.js +34 -0
- package/dist/shell/components/AssistantDock/DockCleanupHeader.d.ts +41 -0
- package/dist/shell/components/AssistantDock/DockCleanupHeader.js +26 -0
- package/dist/shell/components/AssistantDock/DockHeader.d.ts +80 -0
- package/dist/shell/components/AssistantDock/DockHeader.js +45 -0
- package/dist/shell/components/AssistantDock/DockHeaderTip.d.ts +16 -0
- package/dist/shell/components/AssistantDock/DockHeaderTip.hooks.d.ts +38 -0
- package/dist/shell/components/AssistantDock/DockHeaderTip.hooks.js +43 -0
- package/dist/shell/components/AssistantDock/DockHeaderTip.js +18 -0
- package/dist/shell/components/AssistantDock/DockLeadingAccessory.d.ts +52 -0
- package/dist/shell/components/AssistantDock/DockLeadingAccessory.js +30 -0
- package/dist/shell/components/AssistantDock/DockSettingsMenu.d.ts +41 -0
- package/dist/shell/components/AssistantDock/DockSettingsMenu.js +72 -0
- package/dist/shell/components/AssistantDock/FolderDropConfirmation.d.ts +28 -0
- package/dist/shell/components/AssistantDock/FolderDropConfirmation.js +11 -0
- package/dist/shell/components/AssistantDock/FolderDropError.d.ts +27 -0
- package/dist/shell/components/AssistantDock/FolderDropError.js +17 -0
- package/dist/shell/components/AssistantDock/FolderDropNotice.d.ts +20 -0
- package/dist/shell/components/AssistantDock/FolderDropNotice.js +16 -0
- package/dist/shell/components/AssistantDock/FolderDropPathHint.d.ts +17 -0
- package/dist/shell/components/AssistantDock/FolderDropPathHint.js +9 -0
- package/dist/shell/components/AssistantDock/FolderPathButton.d.ts +15 -0
- package/dist/shell/components/AssistantDock/FolderPathButton.js +8 -0
- package/dist/shell/components/AssistantDock/MessageOverflowModal.d.ts +52 -0
- package/dist/shell/components/AssistantDock/MessageOverflowModal.hooks.d.ts +40 -0
- package/dist/shell/components/AssistantDock/MessageOverflowModal.hooks.js +37 -0
- package/dist/shell/components/AssistantDock/MessageOverflowModal.js +7 -0
- package/dist/shell/components/AssistantDock/OverflowAwareMcpUiSurfaceCard.d.ts +48 -0
- package/dist/shell/components/AssistantDock/OverflowAwareMcpUiSurfaceCard.js +13 -0
- package/dist/shell/components/AssistantDock/SelectedAgentPluginTray.d.ts +50 -0
- package/dist/shell/components/AssistantDock/SelectedAgentPluginTray.js +18 -0
- package/dist/shell/components/AssistantDock/SlowRunNoticeCard.d.ts +25 -0
- package/dist/shell/components/AssistantDock/SlowRunNoticeCard.hooks.d.ts +45 -0
- package/dist/shell/components/AssistantDock/SlowRunNoticeCard.hooks.js +45 -0
- package/dist/shell/components/AssistantDock/SlowRunNoticeCard.js +28 -0
- package/dist/shell/components/AssistantDock/SubagentsIndicator.d.ts +20 -0
- package/dist/shell/components/AssistantDock/SubagentsIndicator.js +15 -0
- package/dist/shell/components/AssistantDock/agent-failure-hints.d.ts +7 -0
- package/dist/shell/components/AssistantDock/agent-failure-hints.js +11 -0
- package/dist/shell/components/AssistantDock/agent-failure-scanners.d.ts +28 -0
- package/dist/shell/components/AssistantDock/agent-failure-scanners.js +208 -0
- package/dist/shell/components/AssistantDock/agent-failure.d.ts +51 -0
- package/dist/shell/components/AssistantDock/agent-failure.js +170 -0
- package/dist/shell/components/AssistantDock/assistant-dock-i18n/chat-pane-es-id-de.d.ts +4 -0
- package/dist/shell/components/AssistantDock/assistant-dock-i18n/chat-pane-es-id-de.js +164 -0
- package/dist/shell/components/AssistantDock/assistant-dock-i18n/chat-pane-hi-ur-bn.d.ts +4 -0
- package/dist/shell/components/AssistantDock/assistant-dock-i18n/chat-pane-hi-ur-bn.js +164 -0
- package/dist/shell/components/AssistantDock/assistant-dock-i18n/chat-pane-hu-fr-uk.d.ts +4 -0
- package/dist/shell/components/AssistantDock/assistant-dock-i18n/chat-pane-hu-fr-uk.js +164 -0
- package/dist/shell/components/AssistantDock/assistant-dock-i18n/chat-pane-ja-ko-pl.d.ts +4 -0
- package/dist/shell/components/AssistantDock/assistant-dock-i18n/chat-pane-ja-ko-pl.js +164 -0
- package/dist/shell/components/AssistantDock/assistant-dock-i18n/chat-pane-ru-fa-ar.d.ts +4 -0
- package/dist/shell/components/AssistantDock/assistant-dock-i18n/chat-pane-ru-fa-ar.js +164 -0
- package/dist/shell/components/AssistantDock/assistant-dock-i18n/chat-pane-tr-th-it.d.ts +4 -0
- package/dist/shell/components/AssistantDock/assistant-dock-i18n/chat-pane-tr-th-it.js +164 -0
- package/dist/shell/components/AssistantDock/assistant-dock-i18n/chat-pane-zh-cn-zh-tw-pt-br.d.ts +4 -0
- package/dist/shell/components/AssistantDock/assistant-dock-i18n/chat-pane-zh-cn-zh-tw-pt-br.js +164 -0
- package/dist/shell/components/AssistantDock/assistant-dock-i18n/dock-es-id-de.d.ts +4 -0
- package/dist/shell/components/AssistantDock/assistant-dock-i18n/dock-es-id-de.js +137 -0
- package/dist/shell/components/AssistantDock/assistant-dock-i18n/dock-hi-ur-bn.d.ts +4 -0
- package/dist/shell/components/AssistantDock/assistant-dock-i18n/dock-hi-ur-bn.js +137 -0
- package/dist/shell/components/AssistantDock/assistant-dock-i18n/dock-hu-fr-uk.d.ts +4 -0
- package/dist/shell/components/AssistantDock/assistant-dock-i18n/dock-hu-fr-uk.js +137 -0
- package/dist/shell/components/AssistantDock/assistant-dock-i18n/dock-ja-ko-pl.d.ts +4 -0
- package/dist/shell/components/AssistantDock/assistant-dock-i18n/dock-ja-ko-pl.js +137 -0
- package/dist/shell/components/AssistantDock/assistant-dock-i18n/dock-ru-fa-ar.d.ts +4 -0
- package/dist/shell/components/AssistantDock/assistant-dock-i18n/dock-ru-fa-ar.js +137 -0
- package/dist/shell/components/AssistantDock/assistant-dock-i18n/dock-tr-th-it.d.ts +4 -0
- package/dist/shell/components/AssistantDock/assistant-dock-i18n/dock-tr-th-it.js +137 -0
- package/dist/shell/components/AssistantDock/assistant-dock-i18n/dock-zh-cn-zh-tw-pt-br.d.ts +4 -0
- package/dist/shell/components/AssistantDock/assistant-dock-i18n/dock-zh-cn-zh-tw-pt-br.js +137 -0
- package/dist/shell/components/AssistantDock/assistant-dock-i18n.d.ts +48 -0
- package/dist/shell/components/AssistantDock/assistant-dock-i18n.js +136 -0
- package/dist/shell/components/AssistantDock/assistant-dock-props.d.ts +117 -0
- package/dist/shell/components/AssistantDock/assistant-dock-props.js +75 -0
- package/dist/shell/components/AssistantDock/assistant-runtime-preferences.d.ts +47 -0
- package/dist/shell/components/AssistantDock/assistant-runtime-preferences.js +49 -0
- package/dist/shell/components/AssistantDock/chat-agent-plugin-preferences.d.ts +41 -0
- package/dist/shell/components/AssistantDock/chat-agent-plugin-preferences.js +23 -0
- package/dist/shell/components/AssistantDock/chat-display-preferences.d.ts +81 -0
- package/dist/shell/components/AssistantDock/chat-display-preferences.js +68 -0
- package/dist/shell/components/AssistantDock/dock-composer-input.hooks.d.ts +22 -0
- package/dist/shell/components/AssistantDock/dock-composer-input.hooks.js +22 -0
- package/dist/shell/components/AssistantDock/dock-header-rules.d.ts +143 -0
- package/dist/shell/components/AssistantDock/dock-header-rules.js +183 -0
- package/dist/shell/components/AssistantDock/dock-pane-props.d.ts +95 -0
- package/dist/shell/components/AssistantDock/dock-pane-props.js +207 -0
- package/dist/shell/components/AssistantDock/hooks/agents-inventory.hooks.d.ts +144 -0
- package/dist/shell/components/AssistantDock/hooks/agents-inventory.hooks.js +187 -0
- package/dist/shell/components/AssistantDock/hooks/assistant-mcp-ui.d.ts +29 -0
- package/dist/shell/components/AssistantDock/hooks/assistant-mcp-ui.js +26 -0
- package/dist/shell/components/AssistantDock/hooks/assistant-transport.hooks.d.ts +82 -0
- package/dist/shell/components/AssistantDock/hooks/assistant-transport.hooks.js +180 -0
- package/dist/shell/components/AssistantDock/hooks/byok-runtime.hooks.d.ts +67 -0
- package/dist/shell/components/AssistantDock/hooks/byok-runtime.hooks.js +100 -0
- package/dist/shell/components/AssistantDock/hooks/chat-package-kind.d.ts +22 -0
- package/dist/shell/components/AssistantDock/hooks/chat-package-kind.js +114 -0
- package/dist/shell/components/AssistantDock/hooks/composer-discovery.hooks.d.ts +102 -0
- package/dist/shell/components/AssistantDock/hooks/composer-discovery.hooks.js +130 -0
- package/dist/shell/components/AssistantDock/hooks/composer-files.hooks.d.ts +149 -0
- package/dist/shell/components/AssistantDock/hooks/composer-files.hooks.js +153 -0
- package/dist/shell/components/AssistantDock/hooks/conversation-refresh.hooks.d.ts +19 -0
- package/dist/shell/components/AssistantDock/hooks/conversation-refresh.hooks.js +7 -0
- package/dist/shell/components/AssistantDock/hooks/execution-config-ledger.hooks.d.ts +32 -0
- package/dist/shell/components/AssistantDock/hooks/execution-config-ledger.hooks.js +156 -0
- package/dist/shell/components/AssistantDock/hooks/execution-config-refresh.d.ts +14 -0
- package/dist/shell/components/AssistantDock/hooks/execution-config-refresh.js +26 -0
- package/dist/shell/components/AssistantDock/hooks/execution-config.hooks.d.ts +133 -0
- package/dist/shell/components/AssistantDock/hooks/execution-config.hooks.js +132 -0
- package/dist/shell/components/AssistantDock/hooks/local-cli-selection.hooks.d.ts +66 -0
- package/dist/shell/components/AssistantDock/hooks/local-cli-selection.hooks.js +116 -0
- package/dist/shell/components/AssistantDock/hooks/messages-change.hooks.d.ts +113 -0
- package/dist/shell/components/AssistantDock/hooks/messages-change.hooks.js +155 -0
- package/dist/shell/components/AssistantDock/hooks/open-mcp-ui-link.d.ts +42 -0
- package/dist/shell/components/AssistantDock/hooks/open-mcp-ui-link.js +49 -0
- package/dist/shell/components/AssistantDock/hooks/run-context.hooks.d.ts +105 -0
- package/dist/shell/components/AssistantDock/hooks/run-context.hooks.js +120 -0
- package/dist/shell/components/AssistantDock/hooks/runtime-access.hooks.d.ts +60 -0
- package/dist/shell/components/AssistantDock/hooks/runtime-access.hooks.js +69 -0
- package/dist/shell/components/AssistantDock/hooks/selected-agent-plugins.hooks.d.ts +55 -0
- package/dist/shell/components/AssistantDock/hooks/selected-agent-plugins.hooks.js +56 -0
- package/dist/shell/components/AssistantDock/hooks/use-assistant-empty-state.hooks.d.ts +14 -0
- package/dist/shell/components/AssistantDock/hooks/use-assistant-empty-state.hooks.js +19 -0
- package/dist/shell/components/AssistantDock/hooks/use-assistant-runtime-preferences.hooks.d.ts +46 -0
- package/dist/shell/components/AssistantDock/hooks/use-assistant-runtime-preferences.hooks.js +53 -0
- package/dist/shell/components/AssistantDock/hooks/use-chat-agent-plugins.hooks.d.ts +37 -0
- package/dist/shell/components/AssistantDock/hooks/use-chat-agent-plugins.hooks.js +48 -0
- package/dist/shell/components/AssistantDock/hooks/use-chat-display-preferences.hooks.d.ts +55 -0
- package/dist/shell/components/AssistantDock/hooks/use-chat-display-preferences.hooks.js +56 -0
- package/dist/shell/components/AssistantDock/hooks/use-composer-send-stop-guard.hooks.d.ts +21 -0
- package/dist/shell/components/AssistantDock/hooks/use-composer-send-stop-guard.hooks.js +43 -0
- package/dist/shell/components/AssistantDock/hooks/use-routed-a2ui-surface-card.hooks.d.ts +45 -0
- package/dist/shell/components/AssistantDock/hooks/use-routed-a2ui-surface-card.hooks.js +132 -0
- package/dist/shell/components/AssistantDock/hooks/use-selected-agent-auth-warning.hooks.d.ts +50 -0
- package/dist/shell/components/AssistantDock/hooks/use-selected-agent-auth-warning.hooks.js +60 -0
- package/dist/shell/components/AssistantDock/hooks/useOverflowDetection.hooks.d.ts +56 -0
- package/dist/shell/components/AssistantDock/hooks/useOverflowDetection.hooks.js +26 -0
- package/dist/shell/components/AssistantDock/local-cli-selection-echo.d.ts +36 -0
- package/dist/shell/components/AssistantDock/local-cli-selection-echo.js +38 -0
- package/dist/shell/components/ChatFab/ChatFab.d.ts +65 -0
- package/dist/shell/components/ChatFab/ChatFab.hooks.d.ts +14 -0
- package/dist/shell/components/ChatFab/ChatFab.hooks.js +14 -0
- package/dist/shell/components/ChatFab/ChatFab.js +60 -0
- package/dist/shell/components/CodeView/preview-modal-icons.d.ts +11 -0
- package/dist/shell/components/CodeView/preview-modal-icons.js +13 -0
- package/dist/shell/components/ConfirmActionDialog.d.ts +18 -0
- package/dist/shell/components/ConfirmActionDialog.js +7 -0
- package/dist/shell/components/DevicePreview/DevicePreview.hooks.d.ts +134 -0
- package/dist/shell/components/DevicePreview/DevicePreview.hooks.js +137 -0
- package/dist/shell/components/DevicePreview/DevicePreviewFrame.d.ts +22 -0
- package/dist/shell/components/DevicePreview/DevicePreviewFrame.js +19 -0
- package/dist/shell/components/DevicePreview/DevicePreviewToggle.d.ts +17 -0
- package/dist/shell/components/DevicePreview/DevicePreviewToggle.js +19 -0
- package/dist/shell/components/InstallTabCard/InstallTabCard.d.ts +86 -0
- package/dist/shell/components/InstallTabCard/InstallTabCard.js +33 -0
- package/dist/shell/components/InstallTabCard/use-folder-upload.hooks.d.ts +56 -0
- package/dist/shell/components/InstallTabCard/use-folder-upload.hooks.js +59 -0
- package/dist/shell/components/InstallTabCard/use-zip-drop.hooks.d.ts +22 -0
- package/dist/shell/components/InstallTabCard/use-zip-drop.hooks.js +29 -0
- package/dist/shell/components/MailStatusBanner/MailStatusBanner.d.ts +29 -0
- package/dist/shell/components/MailStatusBanner/MailStatusBanner.js +17 -0
- package/dist/shell/components/MailStatusBanner/hooks/use-mail-status-banner.hooks.d.ts +48 -0
- package/dist/shell/components/MailStatusBanner/hooks/use-mail-status-banner.hooks.js +59 -0
- package/dist/shell/components/MediaEditDialog/MediaEditDialog.hooks.d.ts +98 -0
- package/dist/shell/components/MediaEditDialog/MediaEditDialog.hooks.js +45 -0
- package/dist/shell/components/MediaPickerDialog/JiniMediaPicker.hooks.d.ts +40 -0
- package/dist/shell/components/MediaPickerDialog/JiniMediaPicker.hooks.js +46 -0
- package/dist/shell/components/MediaPickerDialog/media-picker-port.hooks.d.ts +37 -0
- package/dist/shell/components/MediaPickerDialog/media-picker-port.hooks.js +2 -0
- package/dist/shell/components/PlainTextBlocks.d.ts +10 -0
- package/dist/shell/components/PlainTextBlocks.js +15 -0
- package/dist/shell/components/SecretInput/SecretInput.d.ts +45 -0
- package/dist/shell/components/SecretInput/SecretInput.js +27 -0
- package/dist/shell/components/Select/Select.hooks.d.ts +89 -0
- package/dist/shell/components/Select/Select.hooks.js +149 -0
- package/dist/shell/components/ServerRestartingBanner/ServerRestartingBanner.d.ts +12 -0
- package/dist/shell/components/ServerRestartingBanner/ServerRestartingBanner.js +11 -0
- package/dist/shell/components/ServerRestartingBanner/hooks/use-server-connection-status.hooks.d.ts +23 -0
- package/dist/shell/components/ServerRestartingBanner/hooks/use-server-connection-status.hooks.js +12 -0
- package/dist/shell/components/SitesSidebarNav.d.ts +24 -0
- package/dist/shell/components/SitesSidebarNav.js +12 -0
- package/dist/shell/components/TemplateSource/ViewTemplateButton.d.ts +28 -0
- package/dist/shell/components/TemplateSource/ViewTemplateButton.js +10 -0
- package/dist/shell/components/TemplateSource/template-source-port.hooks.d.ts +26 -0
- package/dist/shell/components/TemplateSource/template-source-port.hooks.js +2 -0
- package/dist/shell/components/WidgetConfigFields/HtmlAttributeRows.hooks.d.ts +48 -0
- package/dist/shell/components/WidgetConfigFields/HtmlAttributeRows.hooks.js +35 -0
- package/dist/shell/components/WidgetConfigFields/PlacementContentFields.d.ts +28 -0
- package/dist/shell/components/WidgetConfigFields/PlacementContentFields.js +8 -0
- package/dist/shell/components/WidgetConfigFields/WidgetConfigFields.hooks.d.ts +151 -0
- package/dist/shell/components/WidgetConfigFields/WidgetConfigFields.hooks.js +297 -0
- package/dist/shell/components/WidgetConfigFields/media-content-rules.d.ts +244 -0
- package/dist/shell/components/WidgetConfigFields/media-content-rules.js +354 -0
- package/dist/shell/components/WidgetConfigFields/widget-config-fields-port.hooks.d.ts +27 -0
- package/dist/shell/components/WidgetConfigFields/widget-config-fields-port.hooks.js +2 -0
- package/dist/shell/components/WidgetPickerDialog/widget-picker-port.hooks.d.ts +33 -0
- package/dist/shell/components/WidgetPickerDialog/widget-picker-port.hooks.js +2 -0
- package/dist/shell/components/device-preview-icons.d.ts +11 -0
- package/dist/shell/components/device-preview-icons.js +57 -0
- package/dist/shell/components/line-icon.d.ts +19 -0
- package/dist/shell/components/line-icon.js +19 -0
- package/dist/shell/components/shared-components-i18n/dict-es-id-de.d.ts +4 -0
- package/dist/shell/components/shared-components-i18n/dict-es-id-de.js +482 -0
- package/dist/shell/components/shared-components-i18n/dict-hi-ur-bn.d.ts +4 -0
- package/dist/shell/components/shared-components-i18n/dict-hi-ur-bn.js +482 -0
- package/dist/shell/components/shared-components-i18n/dict-hu-fr-uk.d.ts +4 -0
- package/dist/shell/components/shared-components-i18n/dict-hu-fr-uk.js +482 -0
- package/dist/shell/components/shared-components-i18n/dict-ja-ko-pl.d.ts +4 -0
- package/dist/shell/components/shared-components-i18n/dict-ja-ko-pl.js +482 -0
- package/dist/shell/components/shared-components-i18n/dict-ru-fa-ar.d.ts +4 -0
- package/dist/shell/components/shared-components-i18n/dict-ru-fa-ar.js +482 -0
- package/dist/shell/components/shared-components-i18n/dict-tr-th-it.d.ts +4 -0
- package/dist/shell/components/shared-components-i18n/dict-tr-th-it.js +482 -0
- package/dist/shell/components/shared-components-i18n/dict-zh-cn-zh-tw-pt-br.d.ts +4 -0
- package/dist/shell/components/shared-components-i18n/dict-zh-cn-zh-tw-pt-br.js +482 -0
- package/dist/shell/components/shared-components-i18n.d.ts +43 -0
- package/dist/shell/components/shared-components-i18n.js +60 -0
- package/dist/shell/hooks/admin-execution-credential-port.hooks.d.ts +67 -0
- package/dist/shell/hooks/admin-execution-credential-port.hooks.js +53 -0
- package/dist/shell/hooks/admin-locale-port.hooks.d.ts +22 -0
- package/dist/shell/hooks/admin-locale-port.hooks.js +2 -0
- package/dist/shell/hooks/assistant-chats-port.hooks.d.ts +67 -0
- package/dist/shell/hooks/assistant-chats-port.hooks.js +2 -0
- package/dist/shell/hooks/use-admin-appearance-snapshot.hooks.d.ts +27 -0
- package/dist/shell/hooks/use-admin-appearance-snapshot.hooks.js +28 -0
- package/dist/shell/hooks/use-admin-document-locale.hooks.d.ts +8 -0
- package/dist/shell/hooks/use-admin-document-locale.hooks.js +11 -0
- package/dist/shell/hooks/use-admin-locale.hooks.d.ts +27 -0
- package/dist/shell/hooks/use-admin-locale.hooks.js +37 -0
- package/dist/shell/hooks/use-agent-screen-context.hooks.d.ts +20 -0
- package/dist/shell/hooks/use-agent-screen-context.hooks.js +38 -0
- package/dist/shell/hooks/use-assistant-chats.hooks.d.ts +125 -0
- package/dist/shell/hooks/use-assistant-chats.hooks.js +34 -0
- package/dist/shell/hooks/use-cms-sidebar-label-tooltips.hooks.d.ts +13 -0
- package/dist/shell/hooks/use-cms-sidebar-label-tooltips.hooks.js +45 -0
- package/dist/shell/hooks/use-content-refresh-subscription.hooks.d.ts +57 -0
- package/dist/shell/hooks/use-content-refresh-subscription.hooks.js +63 -0
- package/dist/shell/hooks/use-conversation-deep-link.d.ts +33 -0
- package/dist/shell/hooks/use-conversation-deep-link.js +53 -0
- package/dist/shell/hooks/use-credential-hint.hooks.d.ts +37 -0
- package/dist/shell/hooks/use-credential-hint.hooks.js +11 -0
- package/dist/shell/hooks/use-desktop-view-release.hooks.d.ts +7 -0
- package/dist/shell/hooks/use-desktop-view-release.hooks.js +17 -0
- package/dist/shell/hooks/use-dock-auto-rail.hooks.d.ts +68 -0
- package/dist/shell/hooks/use-dock-auto-rail.hooks.js +81 -0
- package/dist/shell/hooks/use-drawer-active-item-centring.hooks.d.ts +53 -0
- package/dist/shell/hooks/use-drawer-active-item-centring.hooks.js +70 -0
- package/dist/shell/hooks/use-external-entry-refresh.hooks.d.ts +61 -0
- package/dist/shell/hooks/use-external-entry-refresh.hooks.js +144 -0
- package/dist/shell/hooks/use-interface-preferences.hooks.d.ts +46 -0
- package/dist/shell/hooks/use-interface-preferences.hooks.js +26 -0
- package/dist/shell/hooks/use-list-table-cell-labels.hooks.d.ts +22 -0
- package/dist/shell/hooks/use-list-table-cell-labels.hooks.js +77 -0
- package/dist/shell/hooks/use-sidebar-empty-click-toggle.hooks.d.ts +50 -0
- package/dist/shell/hooks/use-sidebar-empty-click-toggle.hooks.js +87 -0
- package/dist/shell/hooks/use-sites-sidebar-nav.hooks.d.ts +58 -0
- package/dist/shell/hooks/use-sites-sidebar-nav.hooks.js +74 -0
- package/dist/shell/lib/acceptance-cancellation.d.ts +10 -0
- package/dist/shell/lib/acceptance-cancellation.js +17 -0
- package/dist/shell/lib/addons-routes.d.ts +43 -0
- package/dist/shell/lib/addons-routes.js +75 -0
- package/dist/shell/lib/admin-boot-scope.d.ts +14 -0
- package/dist/shell/lib/admin-boot-scope.js +11 -0
- package/dist/shell/lib/admin-draft-identity.d.ts +5 -0
- package/dist/shell/lib/admin-draft-identity.js +5 -0
- package/dist/shell/lib/admin-failure-reporter.d.ts +83 -0
- package/dist/shell/lib/admin-failure-reporter.js +140 -0
- package/dist/shell/lib/admin-frontend-session.d.ts +15 -0
- package/dist/shell/lib/admin-frontend-session.js +24 -0
- package/dist/shell/lib/admin-http/config.d.ts +4 -0
- package/dist/shell/lib/admin-http/config.js +4 -0
- package/dist/shell/lib/admin-http/request.d.ts +148 -0
- package/dist/shell/lib/admin-http/request.js +149 -0
- package/dist/shell/lib/admin-http/settings-api.d.ts +33 -0
- package/dist/shell/lib/admin-http/settings-api.js +24 -0
- package/dist/shell/lib/admin-http/settings-api.types.d.ts +4 -0
- package/dist/shell/lib/admin-http/settings-api.types.js +2 -0
- package/dist/shell/lib/admin-http/urls.d.ts +11 -0
- package/dist/shell/lib/admin-http/urls.js +11 -0
- package/dist/shell/lib/admin-nav-i18n/nav-es-id-de.d.ts +4 -0
- package/dist/shell/lib/admin-nav-i18n/nav-es-id-de.js +218 -0
- package/dist/shell/lib/admin-nav-i18n/nav-hi-ur-bn.d.ts +4 -0
- package/dist/shell/lib/admin-nav-i18n/nav-hi-ur-bn.js +200 -0
- package/dist/shell/lib/admin-nav-i18n/nav-hu-fr-uk.d.ts +4 -0
- package/dist/shell/lib/admin-nav-i18n/nav-hu-fr-uk.js +200 -0
- package/dist/shell/lib/admin-nav-i18n/nav-ja-ko-pl.d.ts +4 -0
- package/dist/shell/lib/admin-nav-i18n/nav-ja-ko-pl.js +200 -0
- package/dist/shell/lib/admin-nav-i18n/nav-ru-fa-ar.d.ts +4 -0
- package/dist/shell/lib/admin-nav-i18n/nav-ru-fa-ar.js +200 -0
- package/dist/shell/lib/admin-nav-i18n/nav-tr-th-it.d.ts +4 -0
- package/dist/shell/lib/admin-nav-i18n/nav-tr-th-it.js +200 -0
- package/dist/shell/lib/admin-nav-i18n/nav-zh-cn-zh-tw-pt-br.d.ts +4 -0
- package/dist/shell/lib/admin-nav-i18n/nav-zh-cn-zh-tw-pt-br.js +200 -0
- package/dist/shell/lib/admin-nav-i18n.d.ts +40 -0
- package/dist/shell/lib/admin-nav-i18n.js +34 -0
- package/dist/shell/lib/admin-post-list-sort.d.ts +40 -0
- package/dist/shell/lib/admin-post-list-sort.js +73 -0
- package/dist/shell/lib/agent-screen-context.d.ts +74 -0
- package/dist/shell/lib/agent-screen-context.js +66 -0
- package/dist/shell/lib/agent-screenshot-bus.d.ts +56 -0
- package/dist/shell/lib/agent-screenshot-bus.js +40 -0
- package/dist/shell/lib/agent-screenshot.d.ts +149 -0
- package/dist/shell/lib/agent-screenshot.js +205 -0
- package/dist/shell/lib/ascii-slug.d.ts +10 -0
- package/dist/shell/lib/ascii-slug.js +6 -0
- package/dist/shell/lib/assistant-agents-snapshot.d.ts +48 -0
- package/dist/shell/lib/assistant-agents-snapshot.js +25 -0
- package/dist/shell/lib/assistant-daemon-activation.d.ts +30 -0
- package/dist/shell/lib/assistant-daemon-activation.js +60 -0
- package/dist/shell/lib/assistant-dock-bus.d.ts +86 -0
- package/dist/shell/lib/assistant-dock-bus.js +89 -0
- package/dist/shell/lib/assistant-permanent-deletes.d.ts +25 -0
- package/dist/shell/lib/assistant-permanent-deletes.js +13 -0
- package/dist/shell/lib/assistant-prompt-bus.d.ts +16 -0
- package/dist/shell/lib/assistant-prompt-bus.js +60 -0
- package/dist/shell/lib/assistant-subagents.d.ts +46 -0
- package/dist/shell/lib/assistant-subagents.js +18 -0
- package/dist/shell/lib/boot-token-fragment.d.ts +41 -0
- package/dist/shell/lib/boot-token-fragment.js +46 -0
- package/dist/shell/lib/browser-stream.d.ts +66 -0
- package/dist/shell/lib/browser-stream.js +201 -0
- package/dist/shell/lib/browser-working-directory-access.d.ts +57 -0
- package/dist/shell/lib/browser-working-directory-access.js +90 -0
- package/dist/shell/lib/content-refresh-bus.d.ts +85 -0
- package/dist/shell/lib/content-refresh-bus.js +54 -0
- package/dist/shell/lib/credential-card-guidance.d.ts +14 -0
- package/dist/shell/lib/credential-card-guidance.js +20 -0
- package/dist/shell/lib/credential-submit-error.d.ts +36 -0
- package/dist/shell/lib/credential-submit-error.js +28 -0
- package/dist/shell/lib/descriptor-i18n.d.ts +44 -0
- package/dist/shell/lib/descriptor-i18n.js +85 -0
- package/dist/shell/lib/editor-failure-i18n.d.ts +17 -0
- package/dist/shell/lib/editor-failure-i18n.js +126 -0
- package/dist/shell/lib/editor-template-options.rules.d.ts +9 -0
- package/dist/shell/lib/editor-template-options.rules.js +9 -0
- package/dist/shell/lib/escape-owned-by-inner-layer.d.ts +41 -0
- package/dist/shell/lib/escape-owned-by-inner-layer.js +51 -0
- package/dist/shell/lib/execution-settings-ledger.d.ts +179 -0
- package/dist/shell/lib/execution-settings-ledger.js +328 -0
- package/dist/shell/lib/external-entry-refresh.d.ts +58 -0
- package/dist/shell/lib/external-entry-refresh.js +49 -0
- package/dist/shell/lib/fetch-query/adapter-context.d.ts +4 -0
- package/dist/shell/lib/fetch-query/adapter-context.js +5 -0
- package/dist/shell/lib/i18n-common.d.ts +17 -0
- package/dist/shell/lib/i18n-common.js +20 -0
- package/dist/shell/lib/import-export-routes.d.ts +28 -0
- package/dist/shell/lib/import-export-routes.js +20 -0
- package/dist/shell/lib/live-tiptap-editor.d.ts +29 -0
- package/dist/shell/lib/live-tiptap-editor.js +23 -0
- package/dist/shell/lib/media-embed-extension.hooks.d.ts +107 -0
- package/dist/shell/lib/media-embed-extension.hooks.js +93 -0
- package/dist/shell/lib/media-image-extension.hooks.d.ts +25 -0
- package/dist/shell/lib/media-image-extension.hooks.js +12 -0
- package/dist/shell/lib/page-lifecycle.d.ts +37 -0
- package/dist/shell/lib/page-lifecycle.js +43 -0
- package/dist/shell/lib/paint-admin-accent.d.ts +21 -0
- package/dist/shell/lib/paint-admin-accent.js +31 -0
- package/dist/shell/lib/plain-text-blocks.d.ts +24 -0
- package/dist/shell/lib/plain-text-blocks.js +27 -0
- package/dist/shell/lib/playground-render-target-bus.d.ts +63 -0
- package/dist/shell/lib/playground-render-target-bus.js +55 -0
- package/dist/shell/lib/queued-daemon-start.d.ts +38 -0
- package/dist/shell/lib/queued-daemon-start.js +38 -0
- package/dist/shell/lib/router.d.ts +93 -0
- package/dist/shell/lib/router.js +143 -0
- package/dist/shell/lib/server-failure.d.ts +7 -0
- package/dist/shell/lib/server-failure.js +8 -0
- package/dist/shell/lib/settings-effective-reads.d.ts +30 -0
- package/dist/shell/lib/settings-effective-reads.js +54 -0
- package/dist/shell/lib/settings-refresh-bus.d.ts +57 -0
- package/dist/shell/lib/settings-refresh-bus.js +43 -0
- package/dist/shell/lib/shell-failure-log.d.ts +34 -0
- package/dist/shell/lib/shell-failure-log.js +35 -0
- package/dist/shell/lib/slug-redirect-path.d.ts +32 -0
- package/dist/shell/lib/slug-redirect-path.js +39 -0
- package/dist/shell/lib/status-labels.d.ts +19 -0
- package/dist/shell/lib/status-labels.js +30 -0
- package/dist/shell/lib/stored-credential-endpoint.d.ts +81 -0
- package/dist/shell/lib/stored-credential-endpoint.js +87 -0
- package/dist/shell/lib/stream-activity.d.ts +45 -0
- package/dist/shell/lib/stream-activity.js +75 -0
- package/dist/shell/lib/tab-event-source.d.ts +21 -0
- package/dist/shell/lib/tab-event-source.js +77 -0
- package/dist/shell/lib/translation-entry.d.ts +15 -0
- package/dist/shell/lib/translation-entry.js +14 -0
- package/dist/shell/lib/unchanged-save-warning.d.ts +24 -0
- package/dist/shell/lib/unchanged-save-warning.js +35 -0
- package/dist/shell/lib/unique-id.d.ts +10 -0
- package/dist/shell/lib/unique-id.js +28 -0
- package/dist/shell/lib/version-conflict.d.ts +53 -0
- package/dist/shell/lib/version-conflict.js +47 -0
- package/dist/shell/lib/viewer-time-zone.d.ts +5 -0
- package/dist/shell/lib/viewer-time-zone.js +5 -0
- package/dist/shell/lib/visitor-tools.d.ts +67 -0
- package/dist/shell/lib/visitor-tools.js +18 -0
- package/dist/shell/lib/widget-embed-placement-content.d.ts +28 -0
- package/dist/shell/lib/widget-embed-placement-content.js +29 -0
- package/dist/sites/transfer/use-export-password.hooks.d.ts +46 -0
- package/dist/sites/transfer/use-export-password.hooks.js +62 -0
- package/dist/source-control/api/source-control-api.d.ts +50 -0
- package/dist/source-control/api/source-control-api.js +40 -0
- package/dist/source-control/api/source-control-api.types.d.ts +63 -0
- package/dist/source-control/api/source-control-api.types.js +2 -0
- package/dist/source-control/host/SourceControl.hooks.d.ts +12 -0
- package/dist/source-control/host/SourceControl.hooks.js +5 -0
- package/dist/source-control/host/hooks/source-control-credentials-port.hooks.d.ts +37 -0
- package/dist/source-control/host/hooks/source-control-credentials-port.hooks.js +2 -0
- package/dist/source-control/source-control-i18n/source-control-es-to-ko.d.ts +5 -0
- package/dist/source-control/source-control-i18n/source-control-es-to-ko.js +237 -0
- package/dist/source-control/source-control-i18n/source-control-pl-to-bn.d.ts +5 -0
- package/dist/source-control/source-control-i18n/source-control-pl-to-bn.js +216 -0
- package/dist/source-control/source-control-i18n.d.ts +24 -0
- package/dist/source-control/source-control-i18n.js +85 -0
- package/dist/users/i18n/users-translations-a.d.ts +7 -0
- package/dist/users/i18n/users-translations-a.js +348 -0
- package/dist/users/i18n/users-translations-b.d.ts +7 -0
- package/dist/users/i18n/users-translations-b.js +345 -0
- package/dist/users/i18n/users-translations-c.d.ts +7 -0
- package/dist/users/i18n/users-translations-c.js +345 -0
- package/dist/users/i18n/users-translations-d.d.ts +7 -0
- package/dist/users/i18n/users-translations-d.js +177 -0
- package/dist/users/users-i18n.d.ts +2 -0
- package/dist/users/users-i18n.js +143 -0
- package/dist/widgets/react/components/WidgetTableColumns.js +12 -9
- package/dist/widgets/react/hooks/WidgetsQuery.hooks.d.ts +2 -2
- package/dist/widgets/react/widgets-i18n/create-widgets-dictionary.d.ts +15 -0
- package/dist/widgets/react/widgets-i18n/create-widgets-dictionary.js +45 -0
- package/dist/widgets/react/widgets-i18n/widgets-editors-i18n.d.ts +7 -0
- package/dist/widgets/react/widgets-i18n/widgets-editors-i18n.js +390 -0
- package/dist/widgets/react/widgets-i18n/widgets-hooks-i18n.d.ts +7 -0
- package/dist/widgets/react/widgets-i18n/widgets-hooks-i18n.js +264 -0
- package/dist/widgets/react/widgets-i18n/widgets-library-i18n.d.ts +7 -0
- package/dist/widgets/react/widgets-i18n/widgets-library-i18n.js +348 -0
- package/dist/widgets/react/widgets-i18n/widgets-preview-i18n.d.ts +6 -0
- package/dist/widgets/react/widgets-i18n/widgets-preview-i18n.js +28 -0
- package/dist/widgets/react/widgets-i18n/widgets-regions-i18n.d.ts +7 -0
- package/dist/widgets/react/widgets-i18n/widgets-regions-i18n.js +451 -0
- package/package.json +5372 -49
- package/src/posts/post-url-dialog.css +1 -0
- package/src/screens/authentication/authentication.css +203 -0
- package/src/screens/consent/consent-settings.css +147 -0
- package/src/screens/dashboard/dashboard.css +335 -0
- package/src/screens/email/email.css +114 -0
- package/src/screens/observability/observability.css +146 -0
- package/src/screens/observability/recent-errors.css +102 -0
- package/src/screens/plugins/provider-settings-dialog.css +35 -0
- package/src/screens/providers/always-allow.css +12 -0
- package/src/screens/settings/user-interface-settings.css +10 -0
- package/src/screens/skills/skills.css +44 -0
- package/src/screens/voice-input/push-to-talk-mic-button.css +91 -0
- package/src/security/host/copy-keys-dialog.css +5 -0
- package/src/shell/components/AdminFailureNotice/admin-failure-notice.css +13 -0
- package/src/shell/components/InstallTabCard/install-tab-card.css +67 -0
- package/src/shell/components/MailStatusBanner/mail-status-banner.css +30 -0
- package/src/shell/components/ServerRestartingBanner/server-restarting-banner.css +15 -0
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import { useCallback, useEffect, useRef, useState } from "react";
|
|
2
|
+
import { isAbortError } from "@jini-ai/core/text";
|
|
3
|
+
export const EXECUTION_CONFIG_MAX_AGE_MS = 5_000;
|
|
4
|
+
function refreshExecutionConfigRead({ state, configLoader, retry }, _options = {}) {
|
|
5
|
+
const { lifecycleRef, refreshGeneration, localWriteRef, lastLoadedAt, executionConfigRef, setExecutionConfigState, setConfigLoaded, activeRefresh } = state;
|
|
6
|
+
const controller = lifecycleRef.current;
|
|
7
|
+
if (!controller)
|
|
8
|
+
throw new Error("assistant dock execution config lifecycle is missing");
|
|
9
|
+
refreshGeneration.current += 1;
|
|
10
|
+
const generation = refreshGeneration.current;
|
|
11
|
+
const writesAtStart = localWriteRef.current;
|
|
12
|
+
// A refresh notification invalidates the old read even if this request fails. Otherwise Send
|
|
13
|
+
// could reuse a recent cache entry after Settings told us its saved value had changed.
|
|
14
|
+
lastLoadedAt.current = null;
|
|
15
|
+
// Retried while the API is unreachable: the dock mounts once per session, so a load during
|
|
16
|
+
// a dev-API restart must recover without a page reload. A local write or newer refresh makes
|
|
17
|
+
// this response obsolete; unlike the old boolean guard, it does not block ALL future reads.
|
|
18
|
+
const pending = retry({ load: () => configLoader.load(), signal: controller.signal })
|
|
19
|
+
.then(({ config, loadedAt }) => {
|
|
20
|
+
if (controller.signal.aborted || generation !== refreshGeneration.current || writesAtStart !== localWriteRef.current) {
|
|
21
|
+
return executionConfigRef.current;
|
|
22
|
+
}
|
|
23
|
+
executionConfigRef.current = config;
|
|
24
|
+
setExecutionConfigState(config);
|
|
25
|
+
lastLoadedAt.current = loadedAt;
|
|
26
|
+
return config;
|
|
27
|
+
})
|
|
28
|
+
.finally(() => {
|
|
29
|
+
// Settled means resolved OR rejected: a failed first load still allows picker hydration
|
|
30
|
+
// from defaults. An unmount cancellation must never update the cleaned-up mount.
|
|
31
|
+
if (!controller.signal.aborted)
|
|
32
|
+
setConfigLoaded(true);
|
|
33
|
+
if (activeRefresh.current === pending)
|
|
34
|
+
activeRefresh.current = null;
|
|
35
|
+
});
|
|
36
|
+
activeRefresh.current = pending;
|
|
37
|
+
return pending;
|
|
38
|
+
}
|
|
39
|
+
function subscribeExecutionConfigRefresh({ state, refreshExecutionConfig, invalidate, configKey, subscribeRefresh, onLoadFailure }, _options = {}) {
|
|
40
|
+
const { lifecycleRef, activeRefresh } = state;
|
|
41
|
+
const controller = new AbortController();
|
|
42
|
+
lifecycleRef.current = controller;
|
|
43
|
+
// Another window/desktop can save execution config while this dock stays mounted. Settings
|
|
44
|
+
// already publishes this namespace on save; focus/visible also catch changes outside the tab.
|
|
45
|
+
const refresh = () => {
|
|
46
|
+
void refreshExecutionConfig().catch((error) => {
|
|
47
|
+
// The dock is present on every route. Keep defaults/current state on a background failure,
|
|
48
|
+
// but a pre-send refresh rejection is propagated so it cannot silently send a stale pick.
|
|
49
|
+
if (!isAbortError({ error }))
|
|
50
|
+
onLoadFailure(error);
|
|
51
|
+
});
|
|
52
|
+
};
|
|
53
|
+
const revalidate = () => { invalidate({ key: configKey }); refresh(); };
|
|
54
|
+
refresh();
|
|
55
|
+
const unsubscribe = subscribeRefresh({ revalidate });
|
|
56
|
+
return () => {
|
|
57
|
+
controller.abort();
|
|
58
|
+
unsubscribe();
|
|
59
|
+
activeRefresh.current = null;
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
export function useExecutionConfigLedger({ io, configLoader, invalidate, configKey, initialConfig, retry, subscribeRefresh, onLoadFailure }, _options = {}) {
|
|
63
|
+
const { executionConfig, executionConfigRef, localWriteRef, setExecutionConfigState, setExecutionConfig } = useOptimisticExecutionConfig({ initialConfig });
|
|
64
|
+
/** Backs {@link UseExecutionConfig.configLoaded} — see that field's own doc. */
|
|
65
|
+
const [configLoaded, setConfigLoaded] = useState(false);
|
|
66
|
+
const lifecycleRef = useRef(null);
|
|
67
|
+
const refreshGeneration = useRef(0);
|
|
68
|
+
const lastLoadedAt = useRef(null);
|
|
69
|
+
const activeRefresh = useRef(null);
|
|
70
|
+
const refreshExecutionConfig = useCallback(() => {
|
|
71
|
+
return refreshExecutionConfigRead({
|
|
72
|
+
state: { lifecycleRef, refreshGeneration, localWriteRef, lastLoadedAt, executionConfigRef, setExecutionConfigState, setConfigLoaded, activeRefresh },
|
|
73
|
+
configLoader, retry,
|
|
74
|
+
});
|
|
75
|
+
}, [configLoader, retry]);
|
|
76
|
+
const readExecutionConfigForSend = useCallback(async () => {
|
|
77
|
+
// A focus/SSE/Settings refresh may still be in flight when Send is clicked. Await the newest
|
|
78
|
+
// read and use its ref immediately, without relying on React to render the picker first.
|
|
79
|
+
if (!activeRefresh.current && (lastLoadedAt.current === null || io.current.now() - lastLoadedAt.current >= EXECUTION_CONFIG_MAX_AGE_MS)) {
|
|
80
|
+
invalidate({ key: configKey });
|
|
81
|
+
refreshExecutionConfig();
|
|
82
|
+
}
|
|
83
|
+
while (activeRefresh.current)
|
|
84
|
+
await activeRefresh.current;
|
|
85
|
+
return executionConfigRef.current;
|
|
86
|
+
}, [refreshExecutionConfig, invalidate, configKey]);
|
|
87
|
+
useEffect(() => {
|
|
88
|
+
return subscribeExecutionConfigRefresh({ state: { lifecycleRef, activeRefresh }, refreshExecutionConfig, invalidate, configKey, subscribeRefresh, onLoadFailure });
|
|
89
|
+
}, [refreshExecutionConfig, invalidate, configKey, subscribeRefresh, onLoadFailure]);
|
|
90
|
+
return { executionConfig, executionConfigRef, setExecutionConfig, configLoaded, readExecutionConfigForSend };
|
|
91
|
+
}
|
|
92
|
+
function useOptimisticExecutionConfig({ initialConfig }, _optional = {}) {
|
|
93
|
+
/**
|
|
94
|
+
* Refreshed from `execution-settings.ts`'s ledger+localStorage-backed store — the SAME source
|
|
95
|
+
* the Execution-mode settings tab reads/writes — so a mode chosen there is reflected here without
|
|
96
|
+
* a page reload, and a mode picked directly from this dock persists back the same way.
|
|
97
|
+
*
|
|
98
|
+
* Held in a ref (kept in sync below) rather than read directly by the memoized `transport`: the
|
|
99
|
+
* transport is built once (see its own comment) and reads this via `getExecutionConfig()` on every
|
|
100
|
+
* `startRun` call, so a mode change mid-session takes effect on the NEXT message without forcing a
|
|
101
|
+
* new transport instance — the same "read fresh, don't capture" pattern `runContext`'s
|
|
102
|
+
* `frontendBindToken` already uses a few lines down.
|
|
103
|
+
*/
|
|
104
|
+
const [executionConfig, setExecutionConfigState] = useState(initialConfig);
|
|
105
|
+
const executionConfigRef = useRef(executionConfig);
|
|
106
|
+
executionConfigRef.current = executionConfig;
|
|
107
|
+
/**
|
|
108
|
+
* Counts THIS mount's local writes — a mode switch from
|
|
109
|
+
* `handleExecutionModeChange` below, or (through the wrapped `setExecutionConfig` this hook
|
|
110
|
+
* exposes) a BYOK model pick from `useByokRuntime`'s `handleByokModelChange`. Each refresh samples
|
|
111
|
+
* this count before reading: without it, an operator who switches modes before the initial
|
|
112
|
+
* `loadExecutionConfig()` resolves would see the switch silently revert. The load starts on
|
|
113
|
+
* mount and reads whatever the server held BEFORE the switch's own `saveExecutionConfig` call;
|
|
114
|
+
* if it resolves after the switch (a real race — both are ordinary network calls with no
|
|
115
|
+
* ordering guarantee), applying it unconditionally overwrites the operator's just-made,
|
|
116
|
+
* already-persisted choice with the stale pre-switch value. That leaves the UI showing a
|
|
117
|
+
* different mode than the server holds — exactly the disagreement
|
|
118
|
+
* `handleExecutionModeChange`'s own doc comment says the ADR-028 chokepoint exists to prevent.
|
|
119
|
+
*
|
|
120
|
+
* A ref, not state: incrementing it must not itself trigger a render, and it needs to be readable
|
|
121
|
+
* synchronously when deciding whether a refresh response is still current.
|
|
122
|
+
*/
|
|
123
|
+
const localWriteRef = useRef(0);
|
|
124
|
+
/**
|
|
125
|
+
* The `Dispatch` this hook exposes — to its own `handleExecutionModeChange` below, and to
|
|
126
|
+
* `useByokRuntime`'s `handleByokModelChange` (passed `executionConfig`/`setExecutionConfig` as
|
|
127
|
+
* an input pair). Wraps the raw state setter so any update that actually changes the value
|
|
128
|
+
* marks {@link localWriteRef}.
|
|
129
|
+
*
|
|
130
|
+
* Relies on the "return `previous` unchanged to bail out" convention every updater passed
|
|
131
|
+
* through here already follows (`handleExecutionModeChange`'s and `handleByokModelChange`'s own
|
|
132
|
+
* `if (previous.… === next) return previous;` guards) rather than re-deriving no-op-ness itself:
|
|
133
|
+
* comparing the updater's result to `previous` by reference is enough to tell a genuine write
|
|
134
|
+
* apart from a no-op, so an operator re-picking the mode/model already active does not
|
|
135
|
+
* permanently block a legitimate mount-load from applying.
|
|
136
|
+
*
|
|
137
|
+
* Runs an updater once, synchronously, against {@link executionConfigRef} (moved forward on every
|
|
138
|
+
* write, so two picks before a re-render compose), and hands React the resulting value rather
|
|
139
|
+
* than the updater. `applyExecutionConfigChange` (`../execution-config-write.ts`) relies on that
|
|
140
|
+
* to read what a pick changed right after the call and save it outside the updater — StrictMode
|
|
141
|
+
* runs updaters twice, and a save inside one wrote two revisions per pick (2026-09-23).
|
|
142
|
+
*/
|
|
143
|
+
const setExecutionConfig = useCallback((action) => {
|
|
144
|
+
const previous = executionConfigRef.current;
|
|
145
|
+
const next = typeof action === "function"
|
|
146
|
+
? action(previous)
|
|
147
|
+
: action;
|
|
148
|
+
if (next === previous)
|
|
149
|
+
return;
|
|
150
|
+
localWriteRef.current += 1;
|
|
151
|
+
executionConfigRef.current = next;
|
|
152
|
+
setExecutionConfigState(next);
|
|
153
|
+
}, []);
|
|
154
|
+
return { executionConfig, executionConfigRef, localWriteRef, setExecutionConfigState, setExecutionConfig };
|
|
155
|
+
}
|
|
156
|
+
//# sourceMappingURL=execution-config-ledger.hooks.js.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare function subscribeExecutionConfigRefresh({ revalidate, deps: { window, document, subscribeToSettingsRefresh, EXECUTION_NAMESPACE } }: {
|
|
2
|
+
revalidate: () => void;
|
|
3
|
+
deps: {
|
|
4
|
+
window: Pick<Window, "addEventListener" | "removeEventListener">;
|
|
5
|
+
document: Pick<Document, "addEventListener" | "removeEventListener" | "visibilityState">;
|
|
6
|
+
subscribeToSettingsRefresh: (listener: (scope: readonly string[] | null) => void) => () => void;
|
|
7
|
+
EXECUTION_NAMESPACE: string;
|
|
8
|
+
};
|
|
9
|
+
}, _options?: Record<string, never>): () => void;
|
|
10
|
+
export declare function subscribeStoredKeyRefresh({ revalidate, deps: { subscribeToSettingsRefresh, EXECUTION_NAMESPACE } }: {
|
|
11
|
+
revalidate: () => void;
|
|
12
|
+
deps: Pick<Parameters<typeof subscribeExecutionConfigRefresh>[0]["deps"], "subscribeToSettingsRefresh" | "EXECUTION_NAMESPACE">;
|
|
13
|
+
}, _optional?: {}): () => void;
|
|
14
|
+
//# sourceMappingURL=execution-config-refresh.d.ts.map
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export function subscribeExecutionConfigRefresh({ revalidate, deps: { window, document, subscribeToSettingsRefresh, EXECUTION_NAMESPACE } }, _options = {}) {
|
|
2
|
+
// Another window/desktop can save execution config while this dock stays mounted. Settings
|
|
3
|
+
// already publishes this namespace on save; focus/visible also catch changes outside the tab.
|
|
4
|
+
const onVisible = () => { if (document.visibilityState === "visible")
|
|
5
|
+
revalidate(); };
|
|
6
|
+
window.addEventListener("focus", revalidate);
|
|
7
|
+
document.addEventListener("visibilitychange", onVisible);
|
|
8
|
+
const unsubscribe = subscribeToSettingsRefresh((scope) => {
|
|
9
|
+
if (!scope || scope.includes(EXECUTION_NAMESPACE)) {
|
|
10
|
+
revalidate();
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
return () => {
|
|
14
|
+
window.removeEventListener("focus", revalidate);
|
|
15
|
+
document.removeEventListener("visibilitychange", onVisible);
|
|
16
|
+
unsubscribe();
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export function subscribeStoredKeyRefresh({ revalidate, deps: { subscribeToSettingsRefresh, EXECUTION_NAMESPACE } }, _optional = {}) {
|
|
20
|
+
return subscribeToSettingsRefresh((scope) => {
|
|
21
|
+
if (scope && !scope.includes(EXECUTION_NAMESPACE))
|
|
22
|
+
return;
|
|
23
|
+
revalidate();
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=execution-config-refresh.js.map
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import type { ExecutionConfig } from "@jini-ai/core/contracts/execution";
|
|
2
|
+
import type { CachedLoader, FetchQueryAdapter } from "@jini-ai/core/fetch";
|
|
3
|
+
import type { useAdminBootScope } from "../../../lib/admin-boot-scope.js";
|
|
4
|
+
import { subscribeExecutionConfigRefresh } from "./execution-config-refresh.js";
|
|
5
|
+
import type { useExecutionConfigLedger } from "./execution-config-ledger.hooks.js";
|
|
6
|
+
export type ExecutionWrite = {
|
|
7
|
+
previous: ExecutionConfig;
|
|
8
|
+
next: ExecutionConfig;
|
|
9
|
+
};
|
|
10
|
+
export interface UseExecutionConfig {
|
|
11
|
+
executionConfig: ExecutionConfig;
|
|
12
|
+
/** Same object as `executionConfig`, mirrored into a ref — see the field's own doc below for why. */
|
|
13
|
+
executionConfigRef: React.MutableRefObject<ExecutionConfig>;
|
|
14
|
+
setExecutionConfig: React.Dispatch<React.SetStateAction<ExecutionConfig>>;
|
|
15
|
+
handleExecutionModeChange: (mode: "local" | "api") => void;
|
|
16
|
+
/**
|
|
17
|
+
* Whether this admin has a BYOK credential saved server-side (2026-08-05) — `null` until the
|
|
18
|
+
* initial GET settles, then `true`/`false`. See {@link AssistantDock}'s `apiModeAvailable` for why
|
|
19
|
+
* this exists: `executionConfig.byok.apiKey` alone is no longer enough to answer "is BYOK
|
|
20
|
+
* usable", because the key is write-only and empty on every fresh load even when one is stored.
|
|
21
|
+
*/
|
|
22
|
+
hasStoredAdminKey: boolean | null;
|
|
23
|
+
/**
|
|
24
|
+
* True once the initial ledger GET (`loadExecutionConfig()`) has settled — resolved OR
|
|
25
|
+
* rejected — false only during that first in-flight load. Added (2026-08-05) for
|
|
26
|
+
* {@link useLocalCliSelection}'s initial hydration: `executionConfig.localCli.agentId` starts
|
|
27
|
+
* `null` in `DEFAULT_EXECUTION_CONFIG`, and a load that resolves to "nothing was ever saved"
|
|
28
|
+
* ALSO leaves it `null` — those two states are indistinguishable from `executionConfig` alone,
|
|
29
|
+
* so a separate "has the GET settled at all" signal is what lets that hook's hydration effect
|
|
30
|
+
* fire after the first read instead of never (waiting on a non-null `agentId` that may never arrive) or
|
|
31
|
+
* too early (before the load has had any chance to run).
|
|
32
|
+
*/
|
|
33
|
+
configLoaded: boolean;
|
|
34
|
+
/** Await the current refresh, or re-read a Local CLI config older than five seconds. */
|
|
35
|
+
readExecutionConfigForSend?: () => Promise<ExecutionConfig>;
|
|
36
|
+
}
|
|
37
|
+
/** IO seam for the dock's existing ledger and credential adapters; tests provide fakes. */
|
|
38
|
+
export interface DockExecutionConfigPort {
|
|
39
|
+
loadConfig: () => Promise<ExecutionConfig>;
|
|
40
|
+
loadCredential: () => Promise<{
|
|
41
|
+
isSet: boolean;
|
|
42
|
+
}>;
|
|
43
|
+
now: () => number;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Whether a BYOK credential is stored server-side for this admin — see {@link UseExecutionConfig.hasStoredAdminKey}'s
|
|
47
|
+
* own doc for why `apiModeAvailable` cannot be answered from `executionConfig.byok.apiKey` alone
|
|
48
|
+
* any more. Read-only and independent of the ledger load above: a failed GET here leaves this
|
|
49
|
+
* `null`/`false` (picker reads as "not configured"), which is the same fail-soft posture the
|
|
50
|
+
* ledger load's own `.catch` takes — never blocks the dock, only degrades one affordance.
|
|
51
|
+
*
|
|
52
|
+
* Re-reads on {@link subscribeToSettingsRefresh}, not just on mount. This dock mounts once at the
|
|
53
|
+
* app shell and never remounts for the session (`AssistantDock.tsx`'s own header comment), so
|
|
54
|
+
* without this a key saved, rotated, or cleared from a settings screen's OWN
|
|
55
|
+
* `useAdminExecutionCredential` (a different, independently-mounted copy of the same server row —
|
|
56
|
+
* see that hook's "Cross-mount staleness" doc) would leave this picker showing "not configured" (or
|
|
57
|
+
* a stale "configured") for the rest of the session, not just briefly.
|
|
58
|
+
*/
|
|
59
|
+
export declare function useStoredAdminKey({ credentialLoader, invalidate, credentialKey, retry, subscribeRefresh, onLoadFailure }: {
|
|
60
|
+
credentialLoader: CachedLoader<{
|
|
61
|
+
isSet: boolean;
|
|
62
|
+
}>;
|
|
63
|
+
invalidate: ReturnType<FetchQueryAdapter["useInvalidate"]>;
|
|
64
|
+
credentialKey: string[];
|
|
65
|
+
retry: Parameters<typeof useExecutionConfigLedger>[0]["retry"];
|
|
66
|
+
subscribeRefresh: Parameters<typeof useExecutionConfigLedger>[0]["subscribeRefresh"];
|
|
67
|
+
onLoadFailure: (error: unknown) => void;
|
|
68
|
+
}, _options?: Record<string, never>): boolean | null;
|
|
69
|
+
/**
|
|
70
|
+
* Owns the runtime picker's Local CLI / API · BYOK state (ADR-049's picker, 2026-08-04 wiring) and
|
|
71
|
+
* the mode-switch write-back. Split out of `AssistantDock` so the config-load failure path (the
|
|
72
|
+
* `.catch()` below) and the mode-switch persistence path can be driven directly with `renderHook`
|
|
73
|
+
* against a mocked `execution-settings.ts`, rather than only indirectly through a full dock mount.
|
|
74
|
+
*
|
|
75
|
+
* @returns `executionConfig` (the live value), `executionConfigRef` (read-fresh mirror for
|
|
76
|
+
* consumers that must not capture a stale closure), `setExecutionConfig`, and
|
|
77
|
+
* `handleExecutionModeChange` (persists a mode switch back through the ADR-028 chokepoint).
|
|
78
|
+
* @param options.port - Ledger/credential IO; defaults to the existing host adapters.
|
|
79
|
+
* @param options.persistWrite - Write seam for component tests; defaults to the shared dock writer.
|
|
80
|
+
* @example
|
|
81
|
+
* const { executionConfig, handleExecutionModeChange } = useExecutionConfig();
|
|
82
|
+
*/
|
|
83
|
+
export declare function useExecutionConfig({ port, initialConfig, namespace, useBootScopeHook, useCachedLoaderHook, useInvalidateHook, useLedgerHook, useStoredKeyHook, ledgerIo, storedKeyIo, applyChange, persistWrite }: {
|
|
84
|
+
port: DockExecutionConfigPort;
|
|
85
|
+
initialConfig: ExecutionConfig;
|
|
86
|
+
namespace: string;
|
|
87
|
+
useBootScopeHook: typeof useAdminBootScope;
|
|
88
|
+
useCachedLoaderHook: FetchQueryAdapter["useCachedLoader"];
|
|
89
|
+
useInvalidateHook: FetchQueryAdapter["useInvalidate"];
|
|
90
|
+
useLedgerHook: typeof useExecutionConfigLedger;
|
|
91
|
+
useStoredKeyHook: typeof useStoredAdminKey;
|
|
92
|
+
ledgerIo: Pick<Parameters<typeof useExecutionConfigLedger>[0], "retry" | "subscribeRefresh" | "onLoadFailure">;
|
|
93
|
+
storedKeyIo: Pick<Parameters<typeof useStoredAdminKey>[0], "retry" | "subscribeRefresh" | "onLoadFailure">;
|
|
94
|
+
applyChange: (required: {
|
|
95
|
+
setExecutionConfig: React.Dispatch<React.SetStateAction<ExecutionConfig>>;
|
|
96
|
+
change: (previous: ExecutionConfig) => ExecutionConfig;
|
|
97
|
+
}, optional?: Record<string, never>) => ExecutionWrite | null;
|
|
98
|
+
persistWrite: (required: {
|
|
99
|
+
write: ExecutionWrite;
|
|
100
|
+
}, optional?: Record<string, never>) => Promise<boolean>;
|
|
101
|
+
}, _optional?: Record<string, never>): UseExecutionConfig;
|
|
102
|
+
export declare function bindExecutionConfig({ hooks, deps }: {
|
|
103
|
+
hooks: Pick<Parameters<typeof useExecutionConfig>[0], "useBootScopeHook" | "useCachedLoaderHook" | "useInvalidateHook" | "useLedgerHook" | "useStoredKeyHook">;
|
|
104
|
+
deps: Pick<Parameters<typeof useExecutionConfig>[0], "port" | "initialConfig" | "namespace" | "applyChange"> & {
|
|
105
|
+
refresh: Parameters<typeof subscribeExecutionConfigRefresh>[0]["deps"];
|
|
106
|
+
retry: Parameters<typeof useExecutionConfigLedger>[0]["retry"];
|
|
107
|
+
onConfigLoadFailure: (error: unknown) => void;
|
|
108
|
+
onStoredKeyLoadFailure: (error: unknown) => void;
|
|
109
|
+
persistWrite: (required: {
|
|
110
|
+
write: ExecutionWrite;
|
|
111
|
+
failureLog: string;
|
|
112
|
+
}) => Promise<boolean>;
|
|
113
|
+
modeFailureLog: string;
|
|
114
|
+
};
|
|
115
|
+
}, _optional?: {}): (_required: Record<string, never>, { useBootScope, useLoader, useInvalidator, useLedger, useStoredKey, ...seams }?: {
|
|
116
|
+
useBootScope?: typeof useAdminBootScope;
|
|
117
|
+
useLoader?: FetchQueryAdapter["useCachedLoader"];
|
|
118
|
+
useInvalidator?: FetchQueryAdapter["useInvalidate"];
|
|
119
|
+
useLedger?: typeof useExecutionConfigLedger;
|
|
120
|
+
useStoredKey?: typeof useStoredAdminKey;
|
|
121
|
+
port?: DockExecutionConfigPort;
|
|
122
|
+
persistWrite?: (required: {
|
|
123
|
+
write: ExecutionWrite;
|
|
124
|
+
failureLog: string;
|
|
125
|
+
}) => Promise<boolean>;
|
|
126
|
+
}) => UseExecutionConfig;
|
|
127
|
+
export declare function useExecutionConfigSeam({ override, hooks: { useExecutionConfigHook } }: {
|
|
128
|
+
override: ((required: Record<string, never>) => UseExecutionConfig) | undefined;
|
|
129
|
+
hooks: {
|
|
130
|
+
useExecutionConfigHook: (required: Record<string, never>) => UseExecutionConfig;
|
|
131
|
+
};
|
|
132
|
+
}, _optional?: {}): UseExecutionConfig;
|
|
133
|
+
//# sourceMappingURL=execution-config.hooks.d.ts.map
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
2
|
+
import { isAbortError } from "@jini-ai/core/text";
|
|
3
|
+
import { subscribeExecutionConfigRefresh, subscribeStoredKeyRefresh } from "./execution-config-refresh.js";
|
|
4
|
+
/**
|
|
5
|
+
* Whether a BYOK credential is stored server-side for this admin — see {@link UseExecutionConfig.hasStoredAdminKey}'s
|
|
6
|
+
* own doc for why `apiModeAvailable` cannot be answered from `executionConfig.byok.apiKey` alone
|
|
7
|
+
* any more. Read-only and independent of the ledger load above: a failed GET here leaves this
|
|
8
|
+
* `null`/`false` (picker reads as "not configured"), which is the same fail-soft posture the
|
|
9
|
+
* ledger load's own `.catch` takes — never blocks the dock, only degrades one affordance.
|
|
10
|
+
*
|
|
11
|
+
* Re-reads on {@link subscribeToSettingsRefresh}, not just on mount. This dock mounts once at the
|
|
12
|
+
* app shell and never remounts for the session (`AssistantDock.tsx`'s own header comment), so
|
|
13
|
+
* without this a key saved, rotated, or cleared from a settings screen's OWN
|
|
14
|
+
* `useAdminExecutionCredential` (a different, independently-mounted copy of the same server row —
|
|
15
|
+
* see that hook's "Cross-mount staleness" doc) would leave this picker showing "not configured" (or
|
|
16
|
+
* a stale "configured") for the rest of the session, not just briefly.
|
|
17
|
+
*/
|
|
18
|
+
export function useStoredAdminKey({ credentialLoader, invalidate, credentialKey, retry, subscribeRefresh, onLoadFailure }, _options = {}) {
|
|
19
|
+
const [hasStoredAdminKey, setHasStoredAdminKey] = useState(null);
|
|
20
|
+
useEffect(() => {
|
|
21
|
+
const controller = new AbortController();
|
|
22
|
+
// Same restart-survival and cancellation handling as the ledger load above; `hasStoredAdminKey`
|
|
23
|
+
// stays `null` (unknown) while retrying rather than claiming "not configured".
|
|
24
|
+
const refresh = () => {
|
|
25
|
+
void retry({ load: () => credentialLoader.load(), signal: controller.signal })
|
|
26
|
+
.then((view) => {
|
|
27
|
+
if (!controller.signal.aborted)
|
|
28
|
+
setHasStoredAdminKey(view.isSet);
|
|
29
|
+
})
|
|
30
|
+
.catch((error) => {
|
|
31
|
+
if (isAbortError({ error }))
|
|
32
|
+
return;
|
|
33
|
+
onLoadFailure(error);
|
|
34
|
+
});
|
|
35
|
+
};
|
|
36
|
+
refresh();
|
|
37
|
+
const unsubscribe = subscribeRefresh({ revalidate: () => {
|
|
38
|
+
invalidate({ key: credentialKey });
|
|
39
|
+
refresh();
|
|
40
|
+
} });
|
|
41
|
+
return () => {
|
|
42
|
+
controller.abort();
|
|
43
|
+
unsubscribe();
|
|
44
|
+
};
|
|
45
|
+
}, [credentialLoader, invalidate, credentialKey, retry, subscribeRefresh, onLoadFailure]);
|
|
46
|
+
return hasStoredAdminKey;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Owns the runtime picker's Local CLI / API · BYOK state (ADR-049's picker, 2026-08-04 wiring) and
|
|
50
|
+
* the mode-switch write-back. Split out of `AssistantDock` so the config-load failure path (the
|
|
51
|
+
* `.catch()` below) and the mode-switch persistence path can be driven directly with `renderHook`
|
|
52
|
+
* against a mocked `execution-settings.ts`, rather than only indirectly through a full dock mount.
|
|
53
|
+
*
|
|
54
|
+
* @returns `executionConfig` (the live value), `executionConfigRef` (read-fresh mirror for
|
|
55
|
+
* consumers that must not capture a stale closure), `setExecutionConfig`, and
|
|
56
|
+
* `handleExecutionModeChange` (persists a mode switch back through the ADR-028 chokepoint).
|
|
57
|
+
* @param options.port - Ledger/credential IO; defaults to the existing host adapters.
|
|
58
|
+
* @param options.persistWrite - Write seam for component tests; defaults to the shared dock writer.
|
|
59
|
+
* @example
|
|
60
|
+
* const { executionConfig, handleExecutionModeChange } = useExecutionConfig();
|
|
61
|
+
*/
|
|
62
|
+
export function useExecutionConfig({ port, initialConfig, namespace, useBootScopeHook, useCachedLoaderHook, useInvalidateHook, useLedgerHook, useStoredKeyHook, ledgerIo, storedKeyIo, applyChange, persistWrite }, _optional = {}) {
|
|
63
|
+
const io = useRef(port);
|
|
64
|
+
io.current = port;
|
|
65
|
+
const { queryScope } = useBootScopeHook();
|
|
66
|
+
const configKey = useMemo(() => ["settings", namespace, queryScope, "dock"], [namespace, queryScope]);
|
|
67
|
+
const credentialKey = useMemo(() => ["admin-execution-credential", queryScope, "presence"], [queryScope]);
|
|
68
|
+
const loadConfig = useCallback(async () => ({ config: await io.current.loadConfig(), loadedAt: io.current.now() }), []);
|
|
69
|
+
const loadCredential = useCallback(() => io.current.loadCredential(), []);
|
|
70
|
+
// The provider retains reads across StrictMode replay and ordinary dock remounts. Explicit
|
|
71
|
+
// refreshes revoke them; focus/pre-send reads keep the existing five-second freshness bound.
|
|
72
|
+
const configLoader = useCachedLoaderHook({ key: configKey, fetch: loadConfig }, { staleTime: Infinity });
|
|
73
|
+
const credentialLoader = useCachedLoaderHook({ key: credentialKey, fetch: loadCredential }, { staleTime: Infinity });
|
|
74
|
+
const invalidate = useInvalidateHook();
|
|
75
|
+
const { executionConfig, executionConfigRef, setExecutionConfig, configLoaded, readExecutionConfigForSend } = useLedgerHook({ io, configLoader, invalidate, configKey, initialConfig, ...ledgerIo });
|
|
76
|
+
const hasStoredAdminKey = useStoredKeyHook({ credentialLoader, invalidate, credentialKey, ...storedKeyIo });
|
|
77
|
+
/**
|
|
78
|
+
* Persists a mode switch made from THIS dock's own picker back through the same
|
|
79
|
+
* `saveExecutionConfig` chokepoint the Execution-mode settings tab uses (ADR-028's single write
|
|
80
|
+
* chokepoint), so the two surfaces can never disagree about which mode is active.
|
|
81
|
+
*
|
|
82
|
+
* `publishSettingsRefresh([EXECUTION_NAMESPACE])` on save success — same cross-mount staleness
|
|
83
|
+
* fix `handleByokModelChange` below already applies to a model pick, now applied here too so an
|
|
84
|
+
* already-open settings tab (or another `AssistantDock` mount) re-reads instead of sitting on the
|
|
85
|
+
* mode the operator just changed away from.
|
|
86
|
+
*/
|
|
87
|
+
const handleExecutionModeChange = useCallback((mode) => {
|
|
88
|
+
const nextMode = mode === "api" ? "byok" : "local-cli";
|
|
89
|
+
const write = applyChange({ setExecutionConfig, change: (previous) => previous.mode === nextMode ? previous : { ...previous, mode: nextMode } });
|
|
90
|
+
if (write)
|
|
91
|
+
persistWrite({ write });
|
|
92
|
+
// `setExecutionConfig` added: it's a `useCallback([], ...)`-wrapped setter (itself stable for
|
|
93
|
+
// the component's lifetime, see its own declaration above), so listing it is a no-op that only
|
|
94
|
+
// satisfies the linter — Part 2 triage fix, not a suppression.
|
|
95
|
+
}, [setExecutionConfig, applyChange, persistWrite]);
|
|
96
|
+
return {
|
|
97
|
+
executionConfig,
|
|
98
|
+
executionConfigRef,
|
|
99
|
+
setExecutionConfig,
|
|
100
|
+
handleExecutionModeChange,
|
|
101
|
+
hasStoredAdminKey,
|
|
102
|
+
configLoaded,
|
|
103
|
+
readExecutionConfigForSend,
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
export function bindExecutionConfig({ hooks, deps }, _optional = {}) {
|
|
107
|
+
const ledgerIo = {
|
|
108
|
+
retry: deps.retry,
|
|
109
|
+
subscribeRefresh: ({ revalidate }) => subscribeExecutionConfigRefresh({ revalidate, deps: deps.refresh }),
|
|
110
|
+
onLoadFailure: deps.onConfigLoadFailure,
|
|
111
|
+
};
|
|
112
|
+
const storedKeyIo = {
|
|
113
|
+
retry: deps.retry,
|
|
114
|
+
subscribeRefresh: ({ revalidate }) => subscribeStoredKeyRefresh({ revalidate, deps: deps.refresh }),
|
|
115
|
+
onLoadFailure: deps.onStoredKeyLoadFailure,
|
|
116
|
+
};
|
|
117
|
+
return function useBoundExecutionConfig(_required, { useBootScope = hooks.useBootScopeHook, useLoader = hooks.useCachedLoaderHook, useInvalidator = hooks.useInvalidateHook, useLedger = hooks.useLedgerHook, useStoredKey = hooks.useStoredKeyHook, ...seams } = {}) {
|
|
118
|
+
// Non-hook seams default by spread, not `=`: same values without a branch apiece.
|
|
119
|
+
const { port, persistWrite } = { port: deps.port, persistWrite: deps.persistWrite, ...seams };
|
|
120
|
+
const persistMode = useCallback(({ write }) => persistWrite({ write, failureLog: deps.modeFailureLog }), [persistWrite]);
|
|
121
|
+
return useExecutionConfig({
|
|
122
|
+
port, initialConfig: deps.initialConfig, namespace: deps.namespace,
|
|
123
|
+
useBootScopeHook: useBootScope, useCachedLoaderHook: useLoader, useInvalidateHook: useInvalidator,
|
|
124
|
+
useLedgerHook: useLedger, useStoredKeyHook: useStoredKey, ledgerIo, storedKeyIo,
|
|
125
|
+
applyChange: deps.applyChange, persistWrite: persistMode,
|
|
126
|
+
});
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
export function useExecutionConfigSeam({ override, hooks: { useExecutionConfigHook } }, _optional = {}) {
|
|
130
|
+
return (override ?? useExecutionConfigHook)({});
|
|
131
|
+
}
|
|
132
|
+
//# sourceMappingURL=execution-config.hooks.js.map
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import type { AdminKitChat, ChatPaneAgent, ChatPaneAgentSelection } from "../../../../react/kit.js";
|
|
2
|
+
import type { ExecutionConfig } from "@jini-ai/core/contracts/execution";
|
|
3
|
+
import type { useExecutionConfig } from "./execution-config.hooks.js";
|
|
4
|
+
export interface UseLocalCliSelection {
|
|
5
|
+
/** The Local CLI picker's current agent+model choice — fully controlled, fed straight into
|
|
6
|
+
* `<ChatPane selection={...}>` (see {@link AssistantDock}'s JSX). */
|
|
7
|
+
localCliSelection: ChatPaneAgentSelection;
|
|
8
|
+
handleLocalCliSelectionChange: (selection: ChatPaneAgentSelection) => void;
|
|
9
|
+
/** Saved selection at dispatch time, preserving a pending/failed local pick. */
|
|
10
|
+
readLocalCliSelectionForSend?: (config: ExecutionConfig) => ChatPaneAgentSelection;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Owns the Local CLI picker's agent, model and reasoning as a fully controlled `ChatPane` selection,
|
|
14
|
+
* persisted through the same ADR-028 `saveExecutionConfig` chokepoint `useByokRuntime`'s
|
|
15
|
+
* `handleByokModelChange` already uses — so a pick here survives a reload the same way BYOK's
|
|
16
|
+
* model and the mode switch already do (`executionConfig.localCli.agentId`/`.modelByAgentId`/
|
|
17
|
+
* `.reasoningByAgentId`,
|
|
18
|
+
* `execution-settings.ts`'s `loadExecutionConfig`/`selectedLocalCliModel` — real, persisted state
|
|
19
|
+
* that nothing read the run-start path from until this hook existed, 2026-08-05).
|
|
20
|
+
*
|
|
21
|
+
* Split out of `AssistantDock` for the same reason `useByokRuntime` is: the synchronization and
|
|
22
|
+
* write-back paths are directly assertable via `renderHook`, without mounting a full dock or a
|
|
23
|
+
* real `ChatPane`.
|
|
24
|
+
*
|
|
25
|
+
* `ChatPane` accepts `selection`/`onSelectionChange` as a genuinely controlled pair (confirmed in
|
|
26
|
+
* `@jini-ai/chat`'s `useChatPane.hooks.ts`: `requestedSelection = options.selection ?? internalSelection`,
|
|
27
|
+
* and its `setSelection`/`AgentRuntimePicker`-driven change handler always calls
|
|
28
|
+
* `options.onSelectionChange` even when controlled) — chosen over the dock's previously-hardcoded
|
|
29
|
+
* `initialSelection` prop because that prop is read exactly once, inside `useChatPane`'s own
|
|
30
|
+
* `useState` initializer, at `ChatPane`'s first mount. The ledger load is an async GET
|
|
31
|
+
* (`loadExecutionConfig`'s `api.getSettingsEffective` call) that resolves AFTER that first
|
|
32
|
+
* render — a value hydrated from it into `initialSelection` would arrive too late to ever take
|
|
33
|
+
* effect without a synthetic remount. A fully controlled `selection` has no such one-shot window:
|
|
34
|
+
* it is read on every render, so the transition from the hardcoded default to the hydrated value
|
|
35
|
+
* flows straight through like any other prop update.
|
|
36
|
+
*
|
|
37
|
+
* @param input.executionConfig - The live execution config; only `.localCli` is read.
|
|
38
|
+
* @param input.setExecutionConfig - The setter {@link useExecutionConfig} returns, so a pick made
|
|
39
|
+
* here writes back through the same state (and the same `localWriteRef` race guard)
|
|
40
|
+
* `useByokRuntime` already shares it with.
|
|
41
|
+
* @param input.configLoaded - {@link UseExecutionConfig.configLoaded} — gates initial hydration
|
|
42
|
+
* until the first ledger GET settles. Later reads synchronize unless a local save is pending.
|
|
43
|
+
* @returns `localCliSelection` (the controlled value) and `handleLocalCliSelectionChange`
|
|
44
|
+
* (`ChatPane`'s `onSelectionChange`).
|
|
45
|
+
* @example
|
|
46
|
+
* const { localCliSelection, handleLocalCliSelectionChange } =
|
|
47
|
+
* useLocalCliSelection({ executionConfig, setExecutionConfig, configLoaded });
|
|
48
|
+
*/
|
|
49
|
+
export declare function useLocalCliSelection({ executionConfig, setExecutionConfig, configLoaded, initialSelection, readAgentsSnapshot, resolveChatPaneSelection, readSavedSelection, withSelection, applyChange, persistWrite }: {
|
|
50
|
+
executionConfig: ExecutionConfig;
|
|
51
|
+
setExecutionConfig: React.Dispatch<React.SetStateAction<ExecutionConfig>>;
|
|
52
|
+
configLoaded: boolean;
|
|
53
|
+
initialSelection: ChatPaneAgentSelection;
|
|
54
|
+
readAgentsSnapshot: () => readonly ChatPaneAgent[] | undefined;
|
|
55
|
+
resolveChatPaneSelection: AdminKitChat["resolveChatPaneSelection"];
|
|
56
|
+
readSavedSelection: (required: {
|
|
57
|
+
config: ExecutionConfig;
|
|
58
|
+
}, optional?: Record<string, never>) => ChatPaneAgentSelection;
|
|
59
|
+
withSelection: (required: {
|
|
60
|
+
previous: ExecutionConfig;
|
|
61
|
+
selection: ChatPaneAgentSelection;
|
|
62
|
+
}, optional?: Record<string, never>) => ExecutionConfig;
|
|
63
|
+
applyChange: Parameters<typeof useExecutionConfig>[0]["applyChange"];
|
|
64
|
+
persistWrite: Parameters<typeof useExecutionConfig>[0]["persistWrite"];
|
|
65
|
+
}, _optional?: Record<string, never>): UseLocalCliSelection;
|
|
66
|
+
//# sourceMappingURL=local-cli-selection.hooks.d.ts.map
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { useCallback, useEffect, useRef, useState } from "react";
|
|
2
|
+
import { isSelectionNormalizationEcho } from "../local-cli-selection-echo.js";
|
|
3
|
+
function applyLocalCliPickerChange({ selection, state, setExecutionConfig, readAgentsSnapshot, resolveChatPaneSelection, withSelection, applyChange }, _options = {}) {
|
|
4
|
+
const { localCliSelectionRef, touchedRef, pickGeneration, syncedSelection, normalizationRef, persistRef, setLocalCliSelection } = state;
|
|
5
|
+
// `ChatPane` echoing its own default-model fill-in on mount: show it, but it is not a pick —
|
|
6
|
+
// saving it re-wrote the ledger on every page load, and marking `touchedRef` blocked hydration.
|
|
7
|
+
if (isSelectionNormalizationEcho({ current: localCliSelectionRef.current, incoming: selection, agents: readAgentsSnapshot(), resolveChatPaneSelection })) {
|
|
8
|
+
normalizationRef.current = { key: syncedSelection.current, selection };
|
|
9
|
+
localCliSelectionRef.current = selection;
|
|
10
|
+
setLocalCliSelection(selection);
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
normalizationRef.current = null;
|
|
14
|
+
touchedRef.current = true;
|
|
15
|
+
pickGeneration.current += 1;
|
|
16
|
+
const generation = pickGeneration.current;
|
|
17
|
+
localCliSelectionRef.current = selection;
|
|
18
|
+
setLocalCliSelection(selection);
|
|
19
|
+
const write = applyChange({ setExecutionConfig, change: (previous) => withSelection({ previous, selection }) });
|
|
20
|
+
if (write) {
|
|
21
|
+
void persistRef.current({ write }).then((saved) => {
|
|
22
|
+
if (saved && generation === pickGeneration.current)
|
|
23
|
+
touchedRef.current = false;
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Owns the Local CLI picker's agent, model and reasoning as a fully controlled `ChatPane` selection,
|
|
29
|
+
* persisted through the same ADR-028 `saveExecutionConfig` chokepoint `useByokRuntime`'s
|
|
30
|
+
* `handleByokModelChange` already uses — so a pick here survives a reload the same way BYOK's
|
|
31
|
+
* model and the mode switch already do (`executionConfig.localCli.agentId`/`.modelByAgentId`/
|
|
32
|
+
* `.reasoningByAgentId`,
|
|
33
|
+
* `execution-settings.ts`'s `loadExecutionConfig`/`selectedLocalCliModel` — real, persisted state
|
|
34
|
+
* that nothing read the run-start path from until this hook existed, 2026-08-05).
|
|
35
|
+
*
|
|
36
|
+
* Split out of `AssistantDock` for the same reason `useByokRuntime` is: the synchronization and
|
|
37
|
+
* write-back paths are directly assertable via `renderHook`, without mounting a full dock or a
|
|
38
|
+
* real `ChatPane`.
|
|
39
|
+
*
|
|
40
|
+
* `ChatPane` accepts `selection`/`onSelectionChange` as a genuinely controlled pair (confirmed in
|
|
41
|
+
* `@jini-ai/chat`'s `useChatPane.hooks.ts`: `requestedSelection = options.selection ?? internalSelection`,
|
|
42
|
+
* and its `setSelection`/`AgentRuntimePicker`-driven change handler always calls
|
|
43
|
+
* `options.onSelectionChange` even when controlled) — chosen over the dock's previously-hardcoded
|
|
44
|
+
* `initialSelection` prop because that prop is read exactly once, inside `useChatPane`'s own
|
|
45
|
+
* `useState` initializer, at `ChatPane`'s first mount. The ledger load is an async GET
|
|
46
|
+
* (`loadExecutionConfig`'s `api.getSettingsEffective` call) that resolves AFTER that first
|
|
47
|
+
* render — a value hydrated from it into `initialSelection` would arrive too late to ever take
|
|
48
|
+
* effect without a synthetic remount. A fully controlled `selection` has no such one-shot window:
|
|
49
|
+
* it is read on every render, so the transition from the hardcoded default to the hydrated value
|
|
50
|
+
* flows straight through like any other prop update.
|
|
51
|
+
*
|
|
52
|
+
* @param input.executionConfig - The live execution config; only `.localCli` is read.
|
|
53
|
+
* @param input.setExecutionConfig - The setter {@link useExecutionConfig} returns, so a pick made
|
|
54
|
+
* here writes back through the same state (and the same `localWriteRef` race guard)
|
|
55
|
+
* `useByokRuntime` already shares it with.
|
|
56
|
+
* @param input.configLoaded - {@link UseExecutionConfig.configLoaded} — gates initial hydration
|
|
57
|
+
* until the first ledger GET settles. Later reads synchronize unless a local save is pending.
|
|
58
|
+
* @returns `localCliSelection` (the controlled value) and `handleLocalCliSelectionChange`
|
|
59
|
+
* (`ChatPane`'s `onSelectionChange`).
|
|
60
|
+
* @example
|
|
61
|
+
* const { localCliSelection, handleLocalCliSelectionChange } =
|
|
62
|
+
* useLocalCliSelection({ executionConfig, setExecutionConfig, configLoaded });
|
|
63
|
+
*/
|
|
64
|
+
export function useLocalCliSelection({ executionConfig, setExecutionConfig, configLoaded, initialSelection, readAgentsSnapshot, resolveChatPaneSelection, readSavedSelection, withSelection, applyChange, persistWrite }, _optional = {}) {
|
|
65
|
+
const [localCliSelection, setLocalCliSelection] = useState(initialSelection);
|
|
66
|
+
/** Read-fresh mirror of `localCliSelection` for {@link isSelectionNormalizationEcho} in the
|
|
67
|
+
* change handler below, which must compare against the value `ChatPane` was actually given. */
|
|
68
|
+
const localCliSelectionRef = useRef(localCliSelection);
|
|
69
|
+
localCliSelectionRef.current = localCliSelection;
|
|
70
|
+
/**
|
|
71
|
+
* `touchedRef` stops a ledger GET from silently overwriting a selection the operator already
|
|
72
|
+
* picked with their own hand: the load and a fast pick have no ordering guarantee. Previously
|
|
73
|
+
* `hydratedRef` also blocked every later ledger read. Refreshes must now synchronize saved picks,
|
|
74
|
+
* so only a pending/failed local save stays protected; a successful save unlocks external sync.
|
|
75
|
+
* `pickGeneration` ensures an older save's completion cannot unlock a newer, unsaved pick.
|
|
76
|
+
*/
|
|
77
|
+
const touchedRef = useRef(false);
|
|
78
|
+
const pickGeneration = useRef(0);
|
|
79
|
+
const syncedSelection = useRef(null);
|
|
80
|
+
const normalizationRef = useRef(null);
|
|
81
|
+
const persistRef = useRef(persistWrite);
|
|
82
|
+
persistRef.current = persistWrite;
|
|
83
|
+
const readLocalCliSelectionForSend = useCallback((config) => {
|
|
84
|
+
if (touchedRef.current)
|
|
85
|
+
return localCliSelectionRef.current;
|
|
86
|
+
const saved = readSavedSelection({ config });
|
|
87
|
+
// Keep ChatPane's default-model normalization when the saved axes haven't changed. It is
|
|
88
|
+
// display/runtime state, not a ledger edit (see isSelectionNormalizationEcho below).
|
|
89
|
+
const normalized = normalizationRef.current;
|
|
90
|
+
return normalized && JSON.stringify(saved) === normalized.key ? normalized.selection : saved;
|
|
91
|
+
}, [readSavedSelection]);
|
|
92
|
+
useEffect(() => {
|
|
93
|
+
if (!configLoaded || touchedRef.current)
|
|
94
|
+
return;
|
|
95
|
+
const selection = readLocalCliSelectionForSend(executionConfig);
|
|
96
|
+
syncedSelection.current = JSON.stringify(readSavedSelection({ config: executionConfig }));
|
|
97
|
+
localCliSelectionRef.current = selection;
|
|
98
|
+
setLocalCliSelection(selection);
|
|
99
|
+
}, [configLoaded, executionConfig.localCli, readLocalCliSelectionForSend]);
|
|
100
|
+
/**
|
|
101
|
+
* `ChatPane`'s `onSelectionChange` — fires for an operator pick AND for `ChatPane`'s own
|
|
102
|
+
* normalization of the value passed in (see {@link isSelectionNormalizationEcho}; only the pick is
|
|
103
|
+
* saved). Updates the controlled value immediately, so the picker
|
|
104
|
+
* reflects the pick without waiting on a round trip, and persists through the same ADR-028
|
|
105
|
+
* chokepoint `handleByokModelChange` uses, so a Local CLI pick and a BYOK model pick can never
|
|
106
|
+
* disagree about which write path is authoritative.
|
|
107
|
+
* See {@link withLocalCliSelection} for the exact config change.
|
|
108
|
+
*/
|
|
109
|
+
const handleLocalCliSelectionChange = useCallback((selection) => {
|
|
110
|
+
applyLocalCliPickerChange({
|
|
111
|
+
selection, state: { localCliSelectionRef, touchedRef, pickGeneration, syncedSelection, normalizationRef, persistRef, setLocalCliSelection }, setExecutionConfig, readAgentsSnapshot, resolveChatPaneSelection, withSelection, applyChange,
|
|
112
|
+
});
|
|
113
|
+
}, [setExecutionConfig, readAgentsSnapshot, resolveChatPaneSelection, withSelection, applyChange]);
|
|
114
|
+
return { localCliSelection, handleLocalCliSelectionChange, readLocalCliSelectionForSend };
|
|
115
|
+
}
|
|
116
|
+
//# sourceMappingURL=local-cli-selection.hooks.js.map
|