@kortix/ui 0.14.3 → 0.14.5
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/README.md +245 -49
- package/dist/_vendor/kortix-shared.js +10551 -54
- package/dist/_vendor/shared/channel-header.d.ts +12 -0
- package/dist/_vendor/shared/channel-message.d.ts +38 -0
- package/dist/_vendor/shared/chat-mention.d.ts +6 -0
- package/dist/_vendor/shared/code-language.d.ts +25 -0
- package/dist/_vendor/shared/connector-sections.d.ts +180 -0
- package/dist/_vendor/shared/constants/auto-topup.d.ts +13 -0
- package/dist/_vendor/shared/constants/upload-limits.d.ts +23 -0
- package/dist/_vendor/shared/file-tags.d.ts +28 -0
- package/dist/_vendor/shared/index.d.ts +28 -0
- package/dist/_vendor/shared/markdown-math.d.ts +46 -0
- package/dist/_vendor/shared/meta-agent.d.ts +7 -0
- package/dist/_vendor/shared/pasted-content.d.ts +38 -0
- package/dist/_vendor/shared/project-glyphs.d.ts +93 -0
- package/dist/_vendor/shared/prompt-attachments.d.ts +20 -0
- package/dist/_vendor/shared/reminder-prompt.d.ts +21 -0
- package/dist/_vendor/shared/room-prompt.d.ts +66 -0
- package/dist/_vendor/shared/runtime-versions.d.ts +57 -0
- package/dist/_vendor/shared/session-attachments.d.ts +8 -0
- package/dist/_vendor/shared/slack-text.d.ts +21 -0
- package/dist/_vendor/shared/tag-blocks.d.ts +118 -0
- package/dist/_vendor/shared/tool-output/background-workers.d.ts +11 -0
- package/dist/_vendor/shared/tool-output/diagnostics.d.ts +25 -0
- package/dist/_vendor/shared/tool-output/index.d.ts +25 -0
- package/dist/_vendor/shared/tool-output/markdown-detect.d.ts +18 -0
- package/dist/_vendor/shared/tool-output/media-path.d.ts +15 -0
- package/dist/_vendor/shared/tool-output/memory-entry.d.ts +55 -0
- package/dist/_vendor/shared/tool-output/memory-search.d.ts +41 -0
- package/dist/_vendor/shared/tool-output/projects.d.ts +81 -0
- package/dist/_vendor/shared/tool-output/scan.d.ts +39 -0
- package/dist/_vendor/shared/tool-output/session-dump.d.ts +62 -0
- package/dist/_vendor/shared/tool-output/session-get.d.ts +47 -0
- package/dist/_vendor/shared/tool-output/session-search.d.ts +15 -0
- package/dist/_vendor/shared/tool-output/skill.d.ts +6 -0
- package/dist/_vendor/shared/tool-output/tags.d.ts +19 -0
- package/dist/_vendor/shared/tool-output/triggers.d.ts +22 -0
- package/dist/_vendor/shared/tools/html-text.d.ts +12 -0
- package/dist/_vendor/shared/tools/index.d.ts +6 -0
- package/dist/_vendor/shared/tools/safe-url.d.ts +9 -0
- package/dist/_vendor/shared/tools/tool-registry-lookup.d.ts +2 -0
- package/dist/_vendor/shared/trigger-event.d.ts +21 -0
- package/dist/_vendor/shared/utils/ambiguous-write.d.ts +32 -0
- package/dist/_vendor/shared/utils/chalk-colors.d.ts +15 -0
- package/dist/_vendor/shared/utils/configure-prompts.d.ts +11 -0
- package/dist/_vendor/shared/utils/credit-formatter.d.ts +53 -0
- package/dist/_vendor/shared/utils/format-relative.d.ts +27 -0
- package/dist/_vendor/shared/utils/index.d.ts +12 -0
- package/dist/_vendor/shared/utils/json.d.ts +24 -0
- package/dist/_vendor/shared/utils/string.d.ts +18 -0
- package/dist/_vendor/shared/utils/unicode.d.ts +41 -0
- package/dist/_vendor/shared/utils/url-autolink.d.ts +48 -0
- package/dist/_vendor/shared/webhook-signing.d.ts +14 -0
- package/dist/access/access/access-detail-shell.d.ts +34 -0
- package/dist/access/access/access-detail-shell.js +22 -0
- package/dist/access/access/access-dialog-share.d.ts +54 -0
- package/dist/access/access/access-dialog-share.js +206 -0
- package/dist/access/access/access-dialog.d.ts +207 -0
- package/dist/access/access/access-dialog.js +982 -0
- package/dist/access/access/access-row.d.ts +106 -0
- package/dist/access/access/access-row.js +79 -0
- package/dist/access/access/access-shared.d.ts +86 -0
- package/dist/access/access/access-shared.js +143 -0
- package/dist/access/access/account-role-editor.d.ts +52 -0
- package/dist/access/access/account-role-editor.js +63 -0
- package/dist/access/access/agent-principals.d.ts +97 -0
- package/dist/access/access/agent-principals.js +210 -0
- package/dist/access/access/copy-row.d.ts +19 -0
- package/dist/access/access/copy-row.js +41 -0
- package/dist/access/access/index.d.ts +9 -0
- package/dist/access/access/index.js +16 -0
- package/dist/access/access/principal-picker.d.ts +90 -0
- package/dist/access/access/principal-picker.js +271 -0
- package/dist/access/access/project-select.d.ts +41 -0
- package/dist/access/access/project-select.js +59 -0
- package/dist/access/access/role-select.d.ts +108 -0
- package/dist/access/access/role-select.js +199 -0
- package/dist/access/iam/add-github-account-dialog.d.ts +33 -0
- package/dist/access/iam/add-github-account-dialog.js +51 -0
- package/dist/access/iam/api-key-expiry.d.ts +53 -0
- package/dist/access/iam/api-key-expiry.js +68 -0
- package/dist/access/iam/api-key-rows.d.ts +161 -0
- package/dist/access/iam/api-key-rows.js +178 -0
- package/dist/access/iam/managed-git-notice.d.ts +2 -0
- package/dist/access/iam/managed-git-notice.js +44 -0
- package/dist/access/iam/session-oversight-card.d.ts +4 -0
- package/dist/access/iam/session-oversight-card.js +52 -0
- package/dist/access/index.d.ts +7 -0
- package/dist/access/index.js +7 -0
- package/dist/access/sandbox-template-menu.d.ts +41 -0
- package/dist/access/sandbox-template-menu.js +69 -0
- package/dist/access/sharing-intent.d.ts +31 -0
- package/dist/access/sharing-intent.js +28 -0
- package/dist/access/sharing-picker.d.ts +55 -0
- package/dist/access/sharing-picker.js +61 -0
- package/dist/animated-copy-icon.d.ts +5 -0
- package/dist/animated-copy-icon.js +6 -0
- package/dist/apps/app-preview-pool.d.ts +31 -0
- package/dist/apps/app-preview-pool.js +157 -0
- package/dist/apps/app-preview.d.ts +128 -0
- package/dist/apps/app-preview.js +258 -0
- package/dist/apps/app-shared.d.ts +154 -0
- package/dist/apps/app-shared.js +213 -0
- package/dist/apps/index.d.ts +7 -0
- package/dist/apps/index.js +7 -0
- package/dist/apps/kortix-app-url.d.ts +7 -0
- package/dist/apps/kortix-app-url.js +20 -0
- package/dist/browser/app-in-browser.d.ts +20 -0
- package/dist/browser/app-in-browser.js +79 -0
- package/dist/browser/browser-landing.d.ts +32 -0
- package/dist/browser/browser-landing.js +103 -0
- package/dist/browser/browser-panel.d.ts +15 -0
- package/dist/browser/browser-panel.js +317 -0
- package/dist/browser/index.d.ts +5 -0
- package/dist/browser/index.js +5 -0
- package/dist/browser/sandbox-browser-chrome.d.ts +69 -0
- package/dist/browser/sandbox-browser-chrome.js +149 -0
- package/dist/changes/change-list.d.ts +50 -0
- package/dist/changes/change-list.js +129 -0
- package/dist/changes/change-vocabulary.d.ts +154 -0
- package/dist/changes/change-vocabulary.js +289 -0
- package/dist/changes/index.d.ts +2 -0
- package/dist/changes/index.js +2 -0
- package/dist/customize/agents/agent-apps-grant.d.ts +19 -0
- package/dist/customize/agents/agent-apps-grant.js +23 -0
- package/dist/customize/agents/agent-authority-card.d.ts +8 -0
- package/dist/customize/agents/agent-authority-card.js +46 -0
- package/dist/customize/agents/agent-detail-aside.d.ts +81 -0
- package/dist/customize/agents/agent-detail-aside.js +249 -0
- package/dist/customize/agents/agent-drives-section.d.ts +11 -0
- package/dist/customize/agents/agent-drives-section.js +67 -0
- package/dist/customize/agents/agent-filter.d.ts +27 -0
- package/dist/customize/agents/agent-filter.js +32 -0
- package/dist/customize/agents/agent-grant-pages.d.ts +33 -0
- package/dist/customize/agents/agent-grant-pages.js +203 -0
- package/dist/customize/agents/agent-page.d.ts +4 -0
- package/dist/customize/agents/agent-page.js +453 -0
- package/dist/customize/agents/agent-people-section.d.ts +8 -0
- package/dist/customize/agents/agent-people-section.js +152 -0
- package/dist/customize/agents/agent-share-control.d.ts +6 -0
- package/dist/customize/agents/agent-share-control.js +63 -0
- package/dist/customize/agents/agent-status.d.ts +7 -0
- package/dist/customize/agents/agent-status.js +9 -0
- package/dist/customize/agents/agent-triggers-section.d.ts +17 -0
- package/dist/customize/agents/agent-triggers-section.js +107 -0
- package/dist/customize/agents/agents-page.d.ts +24 -0
- package/dist/customize/agents/agents-page.js +214 -0
- package/dist/customize/agents/use-agent-grants.d.ts +1 -0
- package/dist/customize/agents/use-agent-grants.js +13 -0
- package/dist/customize/agents/use-default-agent.d.ts +1 -0
- package/dist/customize/agents/use-default-agent.js +19 -0
- package/dist/customize/connectors/add-mcp/add-mcp-server-deps.d.ts +3 -0
- package/dist/customize/connectors/add-mcp/add-mcp-server-deps.js +25 -0
- package/dist/customize/connectors/add-mcp/add-mcp-server-dialog.d.ts +20 -0
- package/dist/customize/connectors/add-mcp/add-mcp-server-dialog.js +114 -0
- package/dist/customize/connectors/add-mcp/add-mcp-server.d.ts +77 -0
- package/dist/customize/connectors/add-mcp/add-mcp-server.js +97 -0
- package/dist/customize/connectors/catalog/browse-sections.d.ts +62 -0
- package/dist/customize/connectors/catalog/browse-sections.js +119 -0
- package/dist/customize/connectors/catalog/catalog-entry.d.ts +111 -0
- package/dist/customize/connectors/catalog/catalog-entry.js +172 -0
- package/dist/customize/connectors/catalog/catalog-foot.d.ts +24 -0
- package/dist/customize/connectors/catalog/catalog-foot.js +39 -0
- package/dist/customize/connectors/catalog/catalog-paging.d.ts +34 -0
- package/dist/customize/connectors/catalog/catalog-paging.js +33 -0
- package/dist/customize/connectors/catalog/connector-browse.d.ts +34 -0
- package/dist/customize/connectors/catalog/connector-browse.js +151 -0
- package/dist/customize/connectors/catalog/connector-categories.d.ts +20 -0
- package/dist/customize/connectors/catalog/connector-categories.js +25 -0
- package/dist/customize/connectors/catalog/merge-search.d.ts +10 -0
- package/dist/customize/connectors/catalog/merge-search.js +26 -0
- package/dist/customize/connectors/catalog/use-catalog-autoload.d.ts +29 -0
- package/dist/customize/connectors/catalog/use-catalog-autoload.js +79 -0
- package/dist/customize/connectors/catalog/use-catalog.d.ts +161 -0
- package/dist/customize/connectors/catalog/use-catalog.js +336 -0
- package/dist/customize/connectors/connector-filter.d.ts +80 -0
- package/dist/customize/connectors/connector-filter.js +79 -0
- package/dist/customize/connectors/connector-identity.d.ts +35 -0
- package/dist/customize/connectors/connector-identity.js +67 -0
- package/dist/customize/connectors/connector-moves-banner.d.ts +4 -0
- package/dist/customize/connectors/connector-moves-banner.js +25 -0
- package/dist/customize/connectors/connector-routes.d.ts +40 -0
- package/dist/customize/connectors/connector-routes.js +74 -0
- package/dist/customize/connectors/connectors-app-return-bar.d.ts +18 -0
- package/dist/customize/connectors/connectors-app-return-bar.js +56 -0
- package/dist/customize/connectors/connectors-page.d.ts +40 -0
- package/dist/customize/connectors/connectors-page.js +412 -0
- package/dist/customize/connectors/detail/account-info.d.ts +5 -0
- package/dist/customize/connectors/detail/account-info.js +24 -0
- package/dist/customize/connectors/detail/app-page.d.ts +4 -0
- package/dist/customize/connectors/detail/app-page.js +263 -0
- package/dist/customize/connectors/detail/connector-accounts.d.ts +51 -0
- package/dist/customize/connectors/detail/connector-accounts.js +42 -0
- package/dist/customize/connectors/detail/connector-advanced-tools.d.ts +13 -0
- package/dist/customize/connectors/detail/connector-advanced-tools.js +75 -0
- package/dist/customize/connectors/detail/connector-detail-tabs.d.ts +10 -0
- package/dist/customize/connectors/detail/connector-detail-tabs.js +18 -0
- package/dist/customize/connectors/detail/connector-header-cta.d.ts +23 -0
- package/dist/customize/connectors/detail/connector-header-cta.js +9 -0
- package/dist/customize/connectors/detail/connector-modal.d.ts +32 -0
- package/dist/customize/connectors/detail/connector-modal.js +117 -0
- package/dist/customize/connectors/detail/connector-move-row.d.ts +17 -0
- package/dist/customize/connectors/detail/connector-move-row.js +73 -0
- package/dist/customize/connectors/detail/connector-notice-view.d.ts +22 -0
- package/dist/customize/connectors/detail/connector-notice-view.js +22 -0
- package/dist/customize/connectors/detail/connector-notice.d.ts +76 -0
- package/dist/customize/connectors/detail/connector-notice.js +79 -0
- package/dist/customize/connectors/detail/connector-page-state.d.ts +57 -0
- package/dist/customize/connectors/detail/connector-page-state.js +51 -0
- package/dist/customize/connectors/detail/connector-page.d.ts +19 -0
- package/dist/customize/connectors/detail/connector-page.js +343 -0
- package/dist/customize/connectors/detail/connector-settings.d.ts +36 -0
- package/dist/customize/connectors/detail/connector-settings.js +81 -0
- package/dist/customize/connectors/detail/connector-status.d.ts +20 -0
- package/dist/customize/connectors/detail/connector-status.js +42 -0
- package/dist/customize/connectors/detail/connector-tabs.d.ts +29 -0
- package/dist/customize/connectors/detail/connector-tabs.js +39 -0
- package/dist/customize/connectors/detail/connector-tools.d.ts +37 -0
- package/dist/customize/connectors/detail/connector-tools.js +224 -0
- package/dist/customize/connectors/detail/connector-triggers.d.ts +24 -0
- package/dist/customize/connectors/detail/connector-triggers.js +57 -0
- package/dist/customize/connectors/detail/detail-page-shell.d.ts +6 -0
- package/dist/customize/connectors/detail/detail-page-shell.js +5 -0
- package/dist/customize/connectors/detail/find-easy-connect-app.d.ts +29 -0
- package/dist/customize/connectors/detail/find-easy-connect-app.js +22 -0
- package/dist/customize/connectors/detail/provider-info.d.ts +14 -0
- package/dist/customize/connectors/detail/provider-info.js +32 -0
- package/dist/customize/connectors/detail/status-badge.d.ts +5 -0
- package/dist/customize/connectors/detail/status-badge.js +16 -0
- package/dist/customize/connectors/detail/use-connector-detail.d.ts +37 -0
- package/dist/customize/connectors/detail/use-connector-detail.js +134 -0
- package/dist/customize/connectors/install/install-menu.d.ts +19 -0
- package/dist/customize/connectors/install/install-menu.js +14 -0
- package/dist/customize/connectors/install/install.d.ts +71 -0
- package/dist/customize/connectors/install/install.js +97 -0
- package/dist/customize/connectors/install/mcp-first.d.ts +15 -0
- package/dist/customize/connectors/install/mcp-first.js +17 -0
- package/dist/customize/connectors/install/pick-surface.d.ts +22 -0
- package/dist/customize/connectors/install/pick-surface.js +32 -0
- package/dist/customize/connectors/install/use-install.d.ts +28 -0
- package/dist/customize/connectors/install/use-install.js +126 -0
- package/dist/customize/connectors/invalidate-connections.d.ts +2 -0
- package/dist/customize/connectors/invalidate-connections.js +4 -0
- package/dist/customize/connectors/provider-label.d.ts +20 -0
- package/dist/customize/connectors/provider-label.js +41 -0
- package/dist/customize/connectors/tools/pattern-rule-draft.d.ts +40 -0
- package/dist/customize/connectors/tools/pattern-rule-draft.js +43 -0
- package/dist/customize/connectors/tools/tool-groups.d.ts +46 -0
- package/dist/customize/connectors/tools/tool-groups.js +55 -0
- package/dist/customize/connectors/tools/tool-policy-control.d.ts +30 -0
- package/dist/customize/connectors/tools/tool-policy-control.js +47 -0
- package/dist/customize/connectors/tools/tool-policy-labels.d.ts +30 -0
- package/dist/customize/connectors/tools/tool-policy-labels.js +42 -0
- package/dist/customize/connectors/tools/tool-policy.d.ts +83 -0
- package/dist/customize/connectors/tools/tool-policy.js +116 -0
- package/dist/customize/index.d.ts +13 -0
- package/dist/customize/index.js +13 -0
- package/dist/customize/migrate-to-v2/index.d.ts +6 -0
- package/dist/customize/migrate-to-v2/index.js +6 -0
- package/dist/customize/migrate-to-v2/migration-prompt.d.ts +28 -0
- package/dist/customize/migrate-to-v2/migration-prompt.js +260 -0
- package/dist/customize/migrate-to-v2/upgrade-defs.d.ts +30 -0
- package/dist/customize/migrate-to-v2/upgrade-defs.js +42 -0
- package/dist/customize/migrate-to-v2/upgrade-view.d.ts +32 -0
- package/dist/customize/migrate-to-v2/upgrade-view.js +152 -0
- package/dist/customize/migrate-to-v2/use-migrate-to-v2.d.ts +9 -0
- package/dist/customize/migrate-to-v2/use-migrate-to-v2.js +24 -0
- package/dist/customize/migrate-to-v2/use-run-upgrade.d.ts +18 -0
- package/dist/customize/migrate-to-v2/use-run-upgrade.js +16 -0
- package/dist/customize/models/app-return-bar.d.ts +20 -0
- package/dist/customize/models/app-return-bar.js +42 -0
- package/dist/customize/models/app-return.d.ts +8 -0
- package/dist/customize/models/app-return.js +11 -0
- package/dist/customize/models/models-page.d.ts +28 -0
- package/dist/customize/models/models-page.js +35 -0
- package/dist/customize/project-settings/project-settings-page.d.ts +106 -0
- package/dist/customize/project-settings/project-settings-page.js +286 -0
- package/dist/customize/project-settings/project-settings-sections.d.ts +84 -0
- package/dist/customize/project-settings/project-settings-sections.js +99 -0
- package/dist/customize/providers/provider-accordion.d.ts +54 -0
- package/dist/customize/providers/provider-accordion.js +296 -0
- package/dist/customize/providers/provider-connect.d.ts +106 -0
- package/dist/customize/providers/provider-connect.js +277 -0
- package/dist/customize/providers/provider-sheet.d.ts +88 -0
- package/dist/customize/providers/provider-sheet.js +301 -0
- package/dist/customize/secrets/secrets-page.d.ts +29 -0
- package/dist/customize/secrets/secrets-page.js +35 -0
- package/dist/customize/sections/add-account-fields.d.ts +39 -0
- package/dist/customize/sections/add-account-fields.js +39 -0
- package/dist/customize/sections/component/byo-wizard-modal.d.ts +13 -0
- package/dist/customize/sections/component/byo-wizard-modal.js +18 -0
- package/dist/customize/sections/component/channel-connect-hero.d.ts +27 -0
- package/dist/customize/sections/component/channel-connect-hero.js +19 -0
- package/dist/customize/sections/component/channel-row.d.ts +29 -0
- package/dist/customize/sections/component/channel-row.js +62 -0
- package/dist/customize/sections/component/config-entity-source-path.d.ts +1 -0
- package/dist/customize/sections/component/config-entity-source-path.js +3 -0
- package/dist/customize/sections/component/manifest-copy-block.d.ts +12 -0
- package/dist/customize/sections/component/manifest-copy-block.js +81 -0
- package/dist/customize/sections/component/section-wrapper.d.ts +32 -0
- package/dist/customize/sections/component/section-wrapper.js +52 -0
- package/dist/customize/sections/component/slack-byo-wizard.d.ts +5 -0
- package/dist/customize/sections/component/slack-byo-wizard.js +120 -0
- package/dist/customize/sections/component/slack-connect-card.d.ts +5 -0
- package/dist/customize/sections/component/slack-connect-card.js +54 -0
- package/dist/customize/sections/component/teams-byo-wizard.d.ts +7 -0
- package/dist/customize/sections/component/teams-byo-wizard.js +155 -0
- package/dist/customize/sections/component/teams-connect-card.d.ts +6 -0
- package/dist/customize/sections/component/teams-connect-card.js +49 -0
- package/dist/customize/sections/component/telegram-channel-row.d.ts +6 -0
- package/dist/customize/sections/component/telegram-channel-row.js +77 -0
- package/dist/customize/sections/connector-connection-form.d.ts +56 -0
- package/dist/customize/sections/connector-connection-form.js +148 -0
- package/dist/customize/sections/connector-connection-header.d.ts +36 -0
- package/dist/customize/sections/connector-connection-header.js +33 -0
- package/dist/customize/sections/connector-connection-modal.d.ts +34 -0
- package/dist/customize/sections/connector-connection-modal.js +70 -0
- package/dist/customize/sections/connector-credential-target.d.ts +29 -0
- package/dist/customize/sections/connector-credential-target.js +23 -0
- package/dist/customize/sections/connector-oauth2-application-fields.d.ts +6 -0
- package/dist/customize/sections/connector-oauth2-application-fields.js +14 -0
- package/dist/customize/sections/connector-oauth2-auto.d.ts +45 -0
- package/dist/customize/sections/connector-oauth2-auto.js +78 -0
- package/dist/customize/sections/connector-oauth2-fields.d.ts +7 -0
- package/dist/customize/sections/connector-oauth2-fields.js +14 -0
- package/dist/customize/sections/connector-oauth2-scope-fields.d.ts +7 -0
- package/dist/customize/sections/connector-oauth2-scope-fields.js +10 -0
- package/dist/customize/sections/connector-oauth2-start.d.ts +22 -0
- package/dist/customize/sections/connector-oauth2-start.js +40 -0
- package/dist/customize/sections/connector-oauth2.d.ts +50 -0
- package/dist/customize/sections/connector-oauth2.js +165 -0
- package/dist/customize/sections/connectors-view.d.ts +103 -0
- package/dist/customize/sections/connectors-view.js +1267 -0
- package/dist/customize/sections/discover-catalogue-card.d.ts +19 -0
- package/dist/customize/sections/discover-catalogue-card.js +26 -0
- package/dist/customize/sections/discover-catalogue-detail.d.ts +15 -0
- package/dist/customize/sections/discover-catalogue-detail.js +24 -0
- package/dist/customize/sections/discover-catalogue.d.ts +17 -0
- package/dist/customize/sections/discover-catalogue.js +132 -0
- package/dist/customize/sections/gateway-access-tab.d.ts +6 -0
- package/dist/customize/sections/gateway-access-tab.js +66 -0
- package/dist/customize/sections/gateway-view.d.ts +176 -0
- package/dist/customize/sections/gateway-view.js +244 -0
- package/dist/customize/sections/llm-provider/chatgpt-device-challenge.d.ts +6 -0
- package/dist/customize/sections/llm-provider/chatgpt-device-challenge.js +11 -0
- package/dist/customize/sections/llm-provider/chatgpt-subscription-connect.d.ts +66 -0
- package/dist/customize/sections/llm-provider/chatgpt-subscription-connect.js +163 -0
- package/dist/customize/sections/llm-provider/constants.d.ts +2 -0
- package/dist/customize/sections/llm-provider/constants.js +2 -0
- package/dist/customize/sections/llm-provider/custom-provider-form.d.ts +16 -0
- package/dist/customize/sections/llm-provider/custom-provider-form.js +114 -0
- package/dist/customize/sections/llm-provider/custom-provider-panel.d.ts +12 -0
- package/dist/customize/sections/llm-provider/custom-provider-panel.js +179 -0
- package/dist/customize/sections/llm-provider/device-grant.d.ts +15 -0
- package/dist/customize/sections/llm-provider/device-grant.js +53 -0
- package/dist/customize/sections/llm-provider/llm-provider-modal.d.ts +3 -0
- package/dist/customize/sections/llm-provider/llm-provider-modal.js +86 -0
- package/dist/customize/sections/llm-provider/model-capability-icons.d.ts +13 -0
- package/dist/customize/sections/llm-provider/model-capability-icons.js +23 -0
- package/dist/customize/sections/llm-provider/model-rows.d.ts +23 -0
- package/dist/customize/sections/llm-provider/model-rows.js +73 -0
- package/dist/customize/sections/llm-provider/models-tab-group.d.ts +6 -0
- package/dist/customize/sections/llm-provider/models-tab-group.js +39 -0
- package/dist/customize/sections/llm-provider/models-tab-row.d.ts +12 -0
- package/dist/customize/sections/llm-provider/models-tab-row.js +85 -0
- package/dist/customize/sections/llm-provider/models-tab.d.ts +12 -0
- package/dist/customize/sections/llm-provider/models-tab.js +85 -0
- package/dist/customize/sections/llm-provider/provider-access-menu.d.ts +10 -0
- package/dist/customize/sections/llm-provider/provider-access-menu.js +23 -0
- package/dist/customize/sections/llm-provider/provider-loading-state.d.ts +10 -0
- package/dist/customize/sections/llm-provider/provider-loading-state.js +3 -0
- package/dist/customize/sections/llm-provider/subscription-control.d.ts +42 -0
- package/dist/customize/sections/llm-provider/subscription-control.js +42 -0
- package/dist/customize/sections/llm-provider/types.d.ts +43 -0
- package/dist/customize/sections/llm-provider/types.js +1 -0
- package/dist/customize/sections/llm-provider/use-connected-providers.d.ts +6 -0
- package/dist/customize/sections/llm-provider/use-connected-providers.js +70 -0
- package/dist/customize/sections/llm-provider/use-live-catalog.d.ts +23 -0
- package/dist/customize/sections/llm-provider/use-live-catalog.js +44 -0
- package/dist/customize/sections/llm-provider/utils.d.ts +141 -0
- package/dist/customize/sections/llm-provider/utils.js +269 -0
- package/dist/customize/sections/models-page-sheet.d.ts +24 -0
- package/dist/customize/sections/models-page-sheet.js +34 -0
- package/dist/customize/sections/use-add-request.d.ts +11 -0
- package/dist/customize/sections/use-add-request.js +23 -0
- package/dist/customize/sections/use-create-custom-connector.d.ts +19 -0
- package/dist/customize/sections/use-create-custom-connector.js +36 -0
- package/dist/customize/sections/view/account-secret-resources-panel.d.ts +18 -0
- package/dist/customize/sections/view/account-secret-resources-panel.js +295 -0
- package/dist/customize/sections/view/agent-editor-access-fields.d.ts +63 -0
- package/dist/customize/sections/view/agent-editor-access-fields.js +129 -0
- package/dist/customize/sections/view/agent-editor-basics-fields.d.ts +37 -0
- package/dist/customize/sections/view/agent-editor-basics-fields.js +102 -0
- package/dist/customize/sections/view/agent-editor-catalog.d.ts +64 -0
- package/dist/customize/sections/view/agent-editor-catalog.js +234 -0
- package/dist/customize/sections/view/agent-editor-primitives.d.ts +73 -0
- package/dist/customize/sections/view/agent-editor-primitives.js +66 -0
- package/dist/customize/sections/view/agent-editor.d.ts +330 -0
- package/dist/customize/sections/view/agent-editor.js +358 -0
- package/dist/customize/sections/view/audience-badge.d.ts +18 -0
- package/dist/customize/sections/view/audience-badge.js +40 -0
- package/dist/customize/sections/view/channel-binding-tabs.d.ts +9 -0
- package/dist/customize/sections/view/channel-binding-tabs.js +14 -0
- package/dist/customize/sections/view/channel-settings-patch.d.ts +19 -0
- package/dist/customize/sections/view/channel-settings-patch.js +19 -0
- package/dist/customize/sections/view/channels-view.d.ts +3 -0
- package/dist/customize/sections/view/channels-view.js +611 -0
- package/dist/customize/sections/view/connector-connections.d.ts +87 -0
- package/dist/customize/sections/view/connector-connections.js +101 -0
- package/dist/customize/sections/view/connectors-personal.d.ts +13 -0
- package/dist/customize/sections/view/connectors-personal.js +22 -0
- package/dist/customize/sections/view/gateway/_metrics.d.ts +101 -0
- package/dist/customize/sections/view/gateway/_metrics.js +99 -0
- package/dist/customize/sections/view/gateway/_shared.d.ts +35 -0
- package/dist/customize/sections/view/gateway/_shared.js +49 -0
- package/dist/customize/sections/view/gateway/gateway-api-reference.d.ts +27 -0
- package/dist/customize/sections/view/gateway/gateway-api-reference.js +173 -0
- package/dist/customize/sections/view/gateway/gateway-budgets.d.ts +38 -0
- package/dist/customize/sections/view/gateway/gateway-budgets.js +270 -0
- package/dist/customize/sections/view/gateway/gateway-keys.d.ts +24 -0
- package/dist/customize/sections/view/gateway/gateway-keys.js +133 -0
- package/dist/customize/sections/view/gateway/gateway-logs.d.ts +111 -0
- package/dist/customize/sections/view/gateway/gateway-logs.js +500 -0
- package/dist/customize/sections/view/gateway/gateway-overview.d.ts +31 -0
- package/dist/customize/sections/view/gateway/gateway-overview.js +189 -0
- package/dist/customize/sections/view/gateway/gateway-routing.d.ts +30 -0
- package/dist/customize/sections/view/gateway/gateway-routing.js +501 -0
- package/dist/customize/sections/view/gateway/generation-controls.d.ts +22 -0
- package/dist/customize/sections/view/gateway/generation-controls.js +60 -0
- package/dist/customize/sections/view/git-view-helpers.d.ts +65 -0
- package/dist/customize/sections/view/git-view-helpers.js +81 -0
- package/dist/customize/sections/view/git-view.d.ts +38 -0
- package/dist/customize/sections/view/git-view.js +510 -0
- package/dist/customize/sections/view/grant-mode-field.d.ts +54 -0
- package/dist/customize/sections/view/grant-mode-field.js +97 -0
- package/dist/customize/sections/view/permission-editor.d.ts +13 -0
- package/dist/customize/sections/view/permission-editor.js +117 -0
- package/dist/customize/sections/view/review-center-connected.d.ts +3 -0
- package/dist/customize/sections/view/review-center-connected.js +250 -0
- package/dist/customize/sections/view/review-view.d.ts +8 -0
- package/dist/customize/sections/view/review-view.js +19 -0
- package/dist/customize/sections/view/sandbox-provider-coverage.d.ts +37 -0
- package/dist/customize/sections/view/sandbox-provider-coverage.js +65 -0
- package/dist/customize/sections/view/secret-audience.d.ts +12 -0
- package/dist/customize/sections/view/secret-audience.js +42 -0
- package/dist/customize/sections/view/secret-delivery.d.ts +449 -0
- package/dist/customize/sections/view/secret-delivery.js +720 -0
- package/dist/customize/sections/view/secret-optimistic-cache.d.ts +19 -0
- package/dist/customize/sections/view/secret-optimistic-cache.js +60 -0
- package/dist/customize/sections/view/secrets-view.d.ts +60 -0
- package/dist/customize/sections/view/secrets-view.js +699 -0
- package/dist/customize/sections/view/undecryptable-value.d.ts +13 -0
- package/dist/customize/sections/view/undecryptable-value.js +18 -0
- package/dist/customize/settings/rail-copy-context.d.ts +20 -0
- package/dist/customize/settings/rail-copy-context.js +29 -0
- package/dist/customize/settings/rail.d.ts +51 -0
- package/dist/customize/settings/rail.js +246 -0
- package/dist/customize/settings/settings-tab-header.d.ts +30 -0
- package/dist/customize/settings/settings-tab-header.js +42 -0
- package/dist/customize/settings/settings-tabs.d.ts +121 -0
- package/dist/customize/settings/settings-tabs.js +353 -0
- package/dist/customize/settings/tabs/connected-apps.d.ts +13 -0
- package/dist/customize/settings/tabs/connected-apps.js +85 -0
- package/dist/customize/settings/tabs/experimental-tab.d.ts +110 -0
- package/dist/customize/settings/tabs/experimental-tab.js +277 -0
- package/dist/customize/settings/tabs/fact-cell.d.ts +10 -0
- package/dist/customize/settings/tabs/fact-cell.js +5 -0
- package/dist/customize/settings/tabs/general-tab.d.ts +102 -0
- package/dist/customize/settings/tabs/general-tab.js +290 -0
- package/dist/customize/settings/tabs/project-edit-patch.d.ts +83 -0
- package/dist/customize/settings/tabs/project-edit-patch.js +76 -0
- package/dist/customize/settings/tabs/sandbox-tab.d.ts +98 -0
- package/dist/customize/settings/tabs/sandbox-tab.js +239 -0
- package/dist/customize/settings/tabs/sandbox-template-form.d.ts +9 -0
- package/dist/customize/settings/tabs/sandbox-template-form.js +162 -0
- package/dist/customize/settings/tabs/snapshots-query.d.ts +11 -0
- package/dist/customize/settings/tabs/snapshots-query.js +16 -0
- package/dist/customize/settings/tabs/snapshots-tab.d.ts +142 -0
- package/dist/customize/settings/tabs/snapshots-tab.js +358 -0
- package/dist/customize/settings/tabs/tokens-tab.d.ts +32 -0
- package/dist/customize/settings/tabs/tokens-tab.js +418 -0
- package/dist/customize/settings/type.d.ts +42 -0
- package/dist/customize/settings/type.js +1 -0
- package/dist/customize/shared/app-return-url.d.ts +7 -0
- package/dist/customize/shared/app-return-url.js +36 -0
- package/dist/customize/shared/capability-access-gate.d.ts +19 -0
- package/dist/customize/shared/capability-access-gate.js +52 -0
- package/dist/customize/shared/capability-page-shell.d.ts +43 -0
- package/dist/customize/shared/capability-page-shell.js +26 -0
- package/dist/customize/shared/capability-scroll-root.d.ts +12 -0
- package/dist/customize/shared/capability-scroll-root.js +43 -0
- package/dist/customize/shared/capability-skeleton.d.ts +14 -0
- package/dist/customize/shared/capability-skeleton.js +19 -0
- package/dist/customize/shared/capability-tabs.d.ts +3 -0
- package/dist/customize/shared/capability-tabs.js +136 -0
- package/dist/customize/shared/catalog/catalog-card.d.ts +45 -0
- package/dist/customize/shared/catalog/catalog-card.js +31 -0
- package/dist/customize/shared/catalog/catalog-empty-state.d.ts +31 -0
- package/dist/customize/shared/catalog/catalog-empty-state.js +22 -0
- package/dist/customize/shared/catalog/catalog-empty.d.ts +18 -0
- package/dist/customize/shared/catalog/catalog-empty.js +22 -0
- package/dist/customize/shared/catalog/catalog-error.d.ts +9 -0
- package/dist/customize/shared/catalog/catalog-error.js +65 -0
- package/dist/customize/shared/catalog/catalog-grid-tokens.d.ts +58 -0
- package/dist/customize/shared/catalog/catalog-grid-tokens.js +58 -0
- package/dist/customize/shared/catalog/catalog-grid.d.ts +53 -0
- package/dist/customize/shared/catalog/catalog-grid.js +66 -0
- package/dist/customize/shared/detail-selection.d.ts +54 -0
- package/dist/customize/shared/detail-selection.js +11 -0
- package/dist/customize/shared/entity/entity-files.d.ts +26 -0
- package/dist/customize/shared/entity/entity-files.js +121 -0
- package/dist/customize/shared/entity/entity-modal.d.ts +62 -0
- package/dist/customize/shared/entity/entity-modal.js +147 -0
- package/dist/customize/shared/feature-gate-screen.d.ts +11 -0
- package/dist/customize/shared/feature-gate-screen.js +44 -0
- package/dist/customize/shared/new-entity-menu.d.ts +61 -0
- package/dist/customize/shared/new-entity-menu.js +41 -0
- package/dist/customize/shared/standalone-settings-nav.d.ts +38 -0
- package/dist/customize/shared/standalone-settings-nav.js +129 -0
- package/dist/customize/shared/use-customize-prefetch.d.ts +67 -0
- package/dist/customize/shared/use-customize-prefetch.js +231 -0
- package/dist/customize/shared/utils.d.ts +21 -0
- package/dist/customize/shared/utils.js +23 -0
- package/dist/customize/shared/with-search.d.ts +2 -0
- package/dist/customize/shared/with-search.js +10 -0
- package/dist/customize/skills/new-skill-modal.d.ts +12 -0
- package/dist/customize/skills/new-skill-modal.js +57 -0
- package/dist/customize/skills/remove-skill-button.d.ts +16 -0
- package/dist/customize/skills/remove-skill-button.js +42 -0
- package/dist/customize/skills/skill-scope.d.ts +14 -0
- package/dist/customize/skills/skill-scope.js +18 -0
- package/dist/customize/skills/skills-page.d.ts +22 -0
- package/dist/customize/skills/skills-page.js +117 -0
- package/dist/customize/triggers/schedule/composer-parts.d.ts +12 -0
- package/dist/customize/triggers/schedule/composer-parts.js +16 -0
- package/dist/customize/triggers/schedule/event-account-picker.d.ts +16 -0
- package/dist/customize/triggers/schedule/event-account-picker.js +82 -0
- package/dist/customize/triggers/schedule/event-apps-strip.d.ts +7 -0
- package/dist/customize/triggers/schedule/event-apps-strip.js +21 -0
- package/dist/customize/triggers/schedule/event-check-times.d.ts +11 -0
- package/dist/customize/triggers/schedule/event-check-times.js +41 -0
- package/dist/customize/triggers/schedule/event-count.d.ts +5 -0
- package/dist/customize/triggers/schedule/event-count.js +11 -0
- package/dist/customize/triggers/schedule/event-trigger-copy.d.ts +176 -0
- package/dist/customize/triggers/schedule/event-trigger-copy.js +451 -0
- package/dist/customize/triggers/schedule/event-trigger-fields.d.ts +17 -0
- package/dist/customize/triggers/schedule/event-trigger-fields.js +47 -0
- package/dist/customize/triggers/schedule/schedule-builder.d.ts +25 -0
- package/dist/customize/triggers/schedule/schedule-builder.js +284 -0
- package/dist/customize/triggers/schedule/schedule-copy.d.ts +139 -0
- package/dist/customize/triggers/schedule/schedule-copy.js +368 -0
- package/dist/customize/triggers/schedule/schedule-detail-sheet.d.ts +37 -0
- package/dist/customize/triggers/schedule/schedule-detail-sheet.js +287 -0
- package/dist/customize/triggers/schedule/schedule-fields.d.ts +97 -0
- package/dist/customize/triggers/schedule/schedule-fields.js +172 -0
- package/dist/customize/triggers/schedule/then-fields.d.ts +12 -0
- package/dist/customize/triggers/schedule/then-fields.js +36 -0
- package/dist/customize/triggers/schedule/trigger-callouts.d.ts +12 -0
- package/dist/customize/triggers/schedule/trigger-callouts.js +34 -0
- package/dist/customize/triggers/schedule/trigger-composer-logic.d.ts +149 -0
- package/dist/customize/triggers/schedule/trigger-composer-logic.js +252 -0
- package/dist/customize/triggers/schedule/trigger-composer.d.ts +24 -0
- package/dist/customize/triggers/schedule/trigger-composer.js +273 -0
- package/dist/customize/triggers/schedule/trigger-controls.d.ts +3 -0
- package/dist/customize/triggers/schedule/trigger-controls.js +19 -0
- package/dist/customize/triggers/schedule/trigger-edit-logic.d.ts +18 -0
- package/dist/customize/triggers/schedule/trigger-edit-logic.js +133 -0
- package/dist/customize/triggers/schedule/trigger-filter.d.ts +54 -0
- package/dist/customize/triggers/schedule/trigger-filter.js +77 -0
- package/dist/customize/triggers/schedule/trigger-list.d.ts +26 -0
- package/dist/customize/triggers/schedule/trigger-list.js +70 -0
- package/dist/customize/triggers/schedule/trigger-options.d.ts +14 -0
- package/dist/customize/triggers/schedule/trigger-options.js +38 -0
- package/dist/customize/triggers/schedule/trigger-readonly.d.ts +8 -0
- package/dist/customize/triggers/schedule/trigger-readonly.js +51 -0
- package/dist/customize/triggers/schedule/trigger-runs-histogram.d.ts +14 -0
- package/dist/customize/triggers/schedule/trigger-runs-histogram.js +68 -0
- package/dist/customize/triggers/schedule/trigger-runs-logic.d.ts +49 -0
- package/dist/customize/triggers/schedule/trigger-runs-logic.js +90 -0
- package/dist/customize/triggers/schedule/trigger-runs-panel.d.ts +32 -0
- package/dist/customize/triggers/schedule/trigger-runs-panel.js +216 -0
- package/dist/customize/triggers/schedule/trigger-selection-bar.d.ts +22 -0
- package/dist/customize/triggers/schedule/trigger-selection-bar.js +47 -0
- package/dist/customize/triggers/schedule/trigger-selection.d.ts +33 -0
- package/dist/customize/triggers/schedule/trigger-selection.js +42 -0
- package/dist/customize/triggers/schedule/trigger-session-access-copy.d.ts +46 -0
- package/dist/customize/triggers/schedule/trigger-session-access-copy.js +35 -0
- package/dist/customize/triggers/schedule/trigger-status-badge.d.ts +13 -0
- package/dist/customize/triggers/schedule/trigger-status-badge.js +34 -0
- package/dist/customize/triggers/schedule/trigger-test-dialog.d.ts +7 -0
- package/dist/customize/triggers/schedule/trigger-test-dialog.js +61 -0
- package/dist/customize/triggers/schedule/trigger-tile.d.ts +20 -0
- package/dist/customize/triggers/schedule/trigger-tile.js +52 -0
- package/dist/customize/triggers/schedule/trigger-toast.d.ts +15 -0
- package/dist/customize/triggers/schedule/trigger-toast.js +50 -0
- package/dist/customize/triggers/schedule/use-event-app-connect.d.ts +8 -0
- package/dist/customize/triggers/schedule/use-event-app-connect.js +205 -0
- package/dist/customize/triggers/schedule/use-event-titles.d.ts +11 -0
- package/dist/customize/triggers/schedule/use-event-titles.js +28 -0
- package/dist/customize/triggers/schedule/use-trigger-mutations.d.ts +33 -0
- package/dist/customize/triggers/schedule/use-trigger-mutations.js +67 -0
- package/dist/customize/triggers/schedule/when-event-summary.d.ts +13 -0
- package/dist/customize/triggers/schedule/when-event-summary.js +28 -0
- package/dist/customize/triggers/schedule/when-event.d.ts +18 -0
- package/dist/customize/triggers/schedule/when-event.js +162 -0
- package/dist/customize/triggers/schedule/when-schedule.d.ts +8 -0
- package/dist/customize/triggers/schedule/when-schedule.js +11 -0
- package/dist/customize/triggers/schedule/when-webhook-address.d.ts +10 -0
- package/dist/customize/triggers/schedule/when-webhook-address.js +20 -0
- package/dist/customize/triggers/schedule/when-webhook.d.ts +8 -0
- package/dist/customize/triggers/schedule/when-webhook.js +16 -0
- package/dist/customize/triggers/schedule-view.d.ts +56 -0
- package/dist/customize/triggers/schedule-view.js +421 -0
- package/dist/customize/triggers/triggers-page.d.ts +21 -0
- package/dist/customize/triggers/triggers-page.js +24 -0
- package/dist/customize/use-configure-thread.d.ts +15 -0
- package/dist/customize/use-configure-thread.js +47 -0
- package/dist/diff/diff-view.d.ts +49 -0
- package/dist/diff/diff-view.js +61 -0
- package/dist/diff/index.d.ts +4 -0
- package/dist/diff/index.js +4 -0
- package/dist/files/drives/session-drives-chip.d.ts +19 -0
- package/dist/files/drives/session-drives-chip.js +71 -0
- package/dist/files/drives/use-drives.d.ts +10 -0
- package/dist/files/drives/use-drives.js +32 -0
- package/dist/files/editor/code-editor.d.ts +28 -0
- package/dist/files/editor/code-editor.js +518 -0
- package/dist/files/editor/codemirror-diagnostics.d.ts +29 -0
- package/dist/files/editor/codemirror-diagnostics.js +243 -0
- package/dist/files/editor/external-content.d.ts +19 -0
- package/dist/files/editor/external-content.js +17 -0
- package/dist/files/editor/lazy-code-editor.d.ts +9 -0
- package/dist/files/editor/lazy-code-editor.js +14 -0
- package/dist/files/editor/target-line.d.ts +9 -0
- package/dist/files/editor/target-line.js +35 -0
- package/dist/files/file-preview-dialog.d.ts +2 -0
- package/dist/files/file-preview-dialog.js +43 -0
- package/dist/files/file-preview-host.d.ts +5 -0
- package/dist/files/file-preview-host.js +18 -0
- package/dist/files/index.d.ts +23 -0
- package/dist/files/index.js +23 -0
- package/dist/files/project/api/branches.d.ts +8 -0
- package/dist/files/project/api/branches.js +10 -0
- package/dist/files/project/api/change-requests.d.ts +36 -0
- package/dist/files/project/api/change-requests.js +42 -0
- package/dist/files/project/api/commits.d.ts +15 -0
- package/dist/files/project/api/commits.js +14 -0
- package/dist/files/project/api/git-history.d.ts +14 -0
- package/dist/files/project/api/git-history.js +63 -0
- package/dist/files/project/api/runtime-files.d.ts +103 -0
- package/dist/files/project/api/runtime-files.js +289 -0
- package/dist/files/project/change-request-recovery.d.ts +26 -0
- package/dist/files/project/change-request-recovery.js +59 -0
- package/dist/files/project/components/change-request-detail-dialog.d.ts +13 -0
- package/dist/files/project/components/change-request-detail-dialog.js +187 -0
- package/dist/files/project/components/change-requests-panel.d.ts +14 -0
- package/dist/files/project/components/change-requests-panel.js +94 -0
- package/dist/files/project/components/checkpoint-detail-dialog.d.ts +11 -0
- package/dist/files/project/components/checkpoint-detail-dialog.js +201 -0
- package/dist/files/project/components/checkpoints-panel.d.ts +18 -0
- package/dist/files/project/components/checkpoints-panel.js +76 -0
- package/dist/files/project/components/diff-preview-banner.d.ts +30 -0
- package/dist/files/project/components/diff-preview-banner.js +45 -0
- package/dist/files/project/components/diff-renderer.d.ts +19 -0
- package/dist/files/project/components/diff-renderer.js +14 -0
- package/dist/files/project/components/drive-create-dialog.d.ts +26 -0
- package/dist/files/project/components/drive-create-dialog.js +52 -0
- package/dist/files/project/components/drive-empty-art.d.ts +2 -0
- package/dist/files/project/components/drive-empty-art.js +5 -0
- package/dist/files/project/components/drive-explorer.d.ts +84 -0
- package/dist/files/project/components/drive-explorer.js +1055 -0
- package/dist/files/project/components/drive-folder-thumbnail.d.ts +27 -0
- package/dist/files/project/components/drive-folder-thumbnail.js +63 -0
- package/dist/files/project/components/drive-grid-view.d.ts +72 -0
- package/dist/files/project/components/drive-grid-view.js +133 -0
- package/dist/files/project/components/drive-header.d.ts +61 -0
- package/dist/files/project/components/drive-header.js +75 -0
- package/dist/files/project/components/drive-list-view.d.ts +37 -0
- package/dist/files/project/components/drive-list-view.js +128 -0
- package/dist/files/project/components/drive-rename-dialog.d.ts +19 -0
- package/dist/files/project/components/drive-rename-dialog.js +57 -0
- package/dist/files/project/components/drive-selection-bar.d.ts +22 -0
- package/dist/files/project/components/drive-selection-bar.js +30 -0
- package/dist/files/project/components/drive-selection-ui.d.ts +18 -0
- package/dist/files/project/components/drive-selection-ui.js +17 -0
- package/dist/files/project/components/drive-selection.d.ts +68 -0
- package/dist/files/project/components/drive-selection.js +73 -0
- package/dist/files/project/components/drive-toolbar.d.ts +121 -0
- package/dist/files/project/components/drive-toolbar.js +185 -0
- package/dist/files/project/components/drive-upload-tray.d.ts +9 -0
- package/dist/files/project/components/drive-upload-tray.js +74 -0
- package/dist/files/project/components/file-breadcrumbs.d.ts +23 -0
- package/dist/files/project/components/file-breadcrumbs.js +147 -0
- package/dist/files/project/components/file-content-renderer.d.ts +5 -0
- package/dist/files/project/components/file-content-renderer.js +11 -0
- package/dist/files/project/components/file-explorer-page.d.ts +11 -0
- package/dist/files/project/components/file-explorer-page.js +367 -0
- package/dist/files/project/components/file-history-popover.d.ts +6 -0
- package/dist/files/project/components/file-history-popover.js +103 -0
- package/dist/files/project/components/file-icon.d.ts +16 -0
- package/dist/files/project/components/file-icon.js +203 -0
- package/dist/files/project/components/file-preview-modal.d.ts +14 -0
- package/dist/files/project/components/file-preview-modal.js +46 -0
- package/dist/files/project/components/file-route-state.d.ts +2 -0
- package/dist/files/project/components/file-route-state.js +3 -0
- package/dist/files/project/components/file-search.d.ts +1 -0
- package/dist/files/project/components/file-search.js +135 -0
- package/dist/files/project/components/file-thumbnail.d.ts +28 -0
- package/dist/files/project/components/file-thumbnail.js +81 -0
- package/dist/files/project/components/index.d.ts +18 -0
- package/dist/files/project/components/index.js +17 -0
- package/dist/files/project/components/load-more-row.d.ts +18 -0
- package/dist/files/project/components/load-more-row.js +35 -0
- package/dist/files/project/components/open-change-request-dialog.d.ts +12 -0
- package/dist/files/project/components/open-change-request-dialog.js +129 -0
- package/dist/files/project/components/own-clicks.d.ts +12 -0
- package/dist/files/project/components/own-clicks.js +20 -0
- package/dist/files/project/components/review-panel.d.ts +73 -0
- package/dist/files/project/components/review-panel.js +72 -0
- package/dist/files/project/components/use-drive-row-interactions.d.ts +27 -0
- package/dist/files/project/components/use-drive-row-interactions.js +121 -0
- package/dist/files/project/components/version-selector.d.ts +1 -0
- package/dist/files/project/components/version-selector.js +66 -0
- package/dist/files/project/context.d.ts +32 -0
- package/dist/files/project/context.js +38 -0
- package/dist/files/project/drop-tree.d.ts +34 -0
- package/dist/files/project/drop-tree.js +63 -0
- package/dist/files/project/explorer-source.d.ts +163 -0
- package/dist/files/project/explorer-source.js +14 -0
- package/dist/files/project/file-source.d.ts +11 -0
- package/dist/files/project/file-source.js +30 -0
- package/dist/files/project/git-ref-explorer-source.d.ts +6 -0
- package/dist/files/project/git-ref-explorer-source.js +50 -0
- package/dist/files/project/hooks/index.d.ts +14 -0
- package/dist/files/project/hooks/index.js +24 -0
- package/dist/files/project/hooks/use-binary-blob.d.ts +26 -0
- package/dist/files/project/hooks/use-binary-blob.js +72 -0
- package/dist/files/project/hooks/use-branches.d.ts +14 -0
- package/dist/files/project/hooks/use-branches.js +23 -0
- package/dist/files/project/hooks/use-change-request-recovery.d.ts +5 -0
- package/dist/files/project/hooks/use-change-request-recovery.js +53 -0
- package/dist/files/project/hooks/use-change-requests.d.ts +153 -0
- package/dist/files/project/hooks/use-change-requests.js +317 -0
- package/dist/files/project/hooks/use-commits.d.ts +30 -0
- package/dist/files/project/hooks/use-commits.js +57 -0
- package/dist/files/project/hooks/use-directory-download.d.ts +10 -0
- package/dist/files/project/hooks/use-directory-download.js +46 -0
- package/dist/files/project/hooks/use-file-content.d.ts +13 -0
- package/dist/files/project/hooks/use-file-content.js +52 -0
- package/dist/files/project/hooks/use-file-history.d.ts +31 -0
- package/dist/files/project/hooks/use-file-history.js +55 -0
- package/dist/files/project/hooks/use-file-list.d.ts +39 -0
- package/dist/files/project/hooks/use-file-list.js +83 -0
- package/dist/files/project/hooks/use-file-mutations.d.ts +22 -0
- package/dist/files/project/hooks/use-file-mutations.js +46 -0
- package/dist/files/project/hooks/use-file-search.d.ts +23 -0
- package/dist/files/project/hooks/use-file-search.js +54 -0
- package/dist/files/project/hooks/use-git-status.d.ts +21 -0
- package/dist/files/project/hooks/use-git-status.js +36 -0
- package/dist/files/project/hooks/use-server-health.d.ts +27 -0
- package/dist/files/project/hooks/use-server-health.js +36 -0
- package/dist/files/project/index.d.ts +20 -0
- package/dist/files/project/index.js +32 -0
- package/dist/files/project/search/workspace-search-service.d.ts +18 -0
- package/dist/files/project/search/workspace-search-service.js +19 -0
- package/dist/files/project/store/upload-store.d.ts +25 -0
- package/dist/files/project/store/upload-store.js +16 -0
- package/dist/files/project/store/version-store.d.ts +19 -0
- package/dist/files/project/store/version-store.js +25 -0
- package/dist/files/project/upload-batch.d.ts +92 -0
- package/dist/files/project/upload-batch.js +105 -0
- package/dist/files/renderers/csv/csv-copy.d.ts +8 -0
- package/dist/files/renderers/csv/csv-copy.js +36 -0
- package/dist/files/renderers/csv/csv-renderer.d.ts +15 -0
- package/dist/files/renderers/csv/csv-renderer.js +18 -0
- package/dist/files/renderers/csv/csv-viewer.d.ts +18 -0
- package/dist/files/renderers/csv/csv-viewer.js +342 -0
- package/dist/files/renderers/docx/docx-annotation-card.d.ts +4 -0
- package/dist/files/renderers/docx/docx-annotation-card.js +62 -0
- package/dist/files/renderers/docx/docx-renderer.d.ts +38 -0
- package/dist/files/renderers/docx/docx-renderer.js +49 -0
- package/dist/files/renderers/docx/docx-viewer.d.ts +13 -0
- package/dist/files/renderers/docx/docx-viewer.js +624 -0
- package/dist/files/renderers/image-renderer.d.ts +29 -0
- package/dist/files/renderers/image-renderer.js +285 -0
- package/dist/files/renderers/mermaid/mermaid-diagram.d.ts +10 -0
- package/dist/files/renderers/mermaid/mermaid-diagram.js +159 -0
- package/dist/files/renderers/mermaid/mermaid-utils.d.ts +44 -0
- package/dist/files/renderers/mermaid/mermaid-utils.js +119 -0
- package/dist/files/renderers/pdf/pdf-engine-loader.d.ts +2 -0
- package/dist/files/renderers/pdf/pdf-engine-loader.js +15 -0
- package/dist/files/renderers/pdf/pdf-renderer.d.ts +23 -0
- package/dist/files/renderers/pdf/pdf-renderer.js +54 -0
- package/dist/files/renderers/pdf/pdf-viewer.d.ts +86 -0
- package/dist/files/renderers/pdf/pdf-viewer.js +1361 -0
- package/dist/files/renderers/pptx-i18n.d.ts +2 -0
- package/dist/files/renderers/pptx-i18n.js +33 -0
- package/dist/files/renderers/pptx-renderer.d.ts +26 -0
- package/dist/files/renderers/pptx-renderer.js +153 -0
- package/dist/files/renderers/pptx-viewer.css +147 -0
- package/dist/files/renderers/presentation/FullScreenPresentationViewer.d.ts +10 -0
- package/dist/files/renderers/presentation/FullScreenPresentationViewer.js +337 -0
- package/dist/files/renderers/presentation/presentation-utils.d.ts +20 -0
- package/dist/files/renderers/presentation/presentation-utils.js +53 -0
- package/dist/files/renderers/presentation/presentation-viewer-store.d.ts +27 -0
- package/dist/files/renderers/presentation/presentation-viewer-store.js +37 -0
- package/dist/files/renderers/shared/document-viewer-sidebar.d.ts +15 -0
- package/dist/files/renderers/shared/document-viewer-sidebar.js +61 -0
- package/dist/files/renderers/shared/file-thumbnail.d.ts +17 -0
- package/dist/files/renderers/shared/file-thumbnail.js +71 -0
- package/dist/files/renderers/shared/scroll-area-compat.d.ts +45 -0
- package/dist/files/renderers/shared/scroll-area-compat.js +41 -0
- package/dist/files/renderers/shared/select-compat.d.ts +11 -0
- package/dist/files/renderers/shared/select-compat.js +19 -0
- package/dist/files/renderers/shared/spinner.d.ts +3 -0
- package/dist/files/renderers/shared/spinner.js +7 -0
- package/dist/files/renderers/shared/use-viewer-search.d.ts +13 -0
- package/dist/files/renderers/shared/use-viewer-search.js +86 -0
- package/dist/files/renderers/shared/viewer-copy-menu.d.ts +9 -0
- package/dist/files/renderers/shared/viewer-copy-menu.js +16 -0
- package/dist/files/renderers/shared/viewer-download-button.d.ts +10 -0
- package/dist/files/renderers/shared/viewer-download-button.js +27 -0
- package/dist/files/renderers/shared/viewer-file-name.d.ts +11 -0
- package/dist/files/renderers/shared/viewer-file-name.js +16 -0
- package/dist/files/renderers/shared/viewer-frame.d.ts +6 -0
- package/dist/files/renderers/shared/viewer-frame.js +26 -0
- package/dist/files/renderers/show-content-renderer.d.ts +116 -0
- package/dist/files/renderers/show-content-renderer.js +707 -0
- package/dist/files/renderers/show-type-utils.d.ts +45 -0
- package/dist/files/renderers/show-type-utils.js +85 -0
- package/dist/files/renderers/sqlite-renderer.d.ts +14 -0
- package/dist/files/renderers/sqlite-renderer.js +727 -0
- package/dist/files/renderers/video-renderer.d.ts +14 -0
- package/dist/files/renderers/video-renderer.js +181 -0
- package/dist/files/renderers/xlsx/xlsx-renderer.d.ts +25 -0
- package/dist/files/renderers/xlsx/xlsx-renderer.js +72 -0
- package/dist/files/renderers/xlsx/xlsx-viewer.d.ts +39 -0
- package/dist/files/renderers/xlsx/xlsx-viewer.js +722 -0
- package/dist/files/renderers/zip/zip-entries.d.ts +154 -0
- package/dist/files/renderers/zip/zip-entries.js +271 -0
- package/dist/files/renderers/zip/zip-renderer.d.ts +20 -0
- package/dist/files/renderers/zip/zip-renderer.js +317 -0
- package/dist/files/runtime/components/file-content-renderer.d.ts +5 -0
- package/dist/files/runtime/components/file-content-renderer.js +10 -0
- package/dist/files/runtime/file-source.d.ts +6 -0
- package/dist/files/runtime/file-source.js +22 -0
- package/dist/files/runtime/hooks/blob-identity.d.ts +12 -0
- package/dist/files/runtime/hooks/blob-identity.js +23 -0
- package/dist/files/runtime/hooks/index.d.ts +12 -0
- package/dist/files/runtime/hooks/index.js +21 -0
- package/dist/files/runtime/hooks/server-health-state.d.ts +18 -0
- package/dist/files/runtime/hooks/server-health-state.js +20 -0
- package/dist/files/runtime/hooks/system-dir.d.ts +1 -0
- package/dist/files/runtime/hooks/system-dir.js +16 -0
- package/dist/files/runtime/hooks/use-binary-blob.d.ts +29 -0
- package/dist/files/runtime/hooks/use-binary-blob.js +102 -0
- package/dist/files/runtime/hooks/use-directory-download.d.ts +16 -0
- package/dist/files/runtime/hooks/use-directory-download.js +59 -0
- package/dist/files/runtime/hooks/use-file-content.d.ts +17 -0
- package/dist/files/runtime/hooks/use-file-content.js +53 -0
- package/dist/files/runtime/hooks/use-file-history.d.ts +35 -0
- package/dist/files/runtime/hooks/use-file-history.js +75 -0
- package/dist/files/runtime/hooks/use-file-list.d.ts +172 -0
- package/dist/files/runtime/hooks/use-file-list.js +67 -0
- package/dist/files/runtime/hooks/use-file-mutations.d.ts +22 -0
- package/dist/files/runtime/hooks/use-file-mutations.js +122 -0
- package/dist/files/runtime/hooks/use-file-refresh.d.ts +16 -0
- package/dist/files/runtime/hooks/use-file-refresh.js +32 -0
- package/dist/files/runtime/hooks/use-file-search.d.ts +14 -0
- package/dist/files/runtime/hooks/use-file-search.js +26 -0
- package/dist/files/runtime/hooks/use-git-status.d.ts +16 -0
- package/dist/files/runtime/hooks/use-git-status.js +61 -0
- package/dist/files/runtime/hooks/use-server-health.d.ts +33 -0
- package/dist/files/runtime/hooks/use-server-health.js +49 -0
- package/dist/files/runtime/hooks/use-workspace-search.d.ts +54 -0
- package/dist/files/runtime/hooks/use-workspace-search.js +91 -0
- package/dist/files/runtime/index.d.ts +15 -0
- package/dist/files/runtime/index.js +25 -0
- package/dist/files/runtime/path-utils.d.ts +15 -0
- package/dist/files/runtime/path-utils.js +20 -0
- package/dist/files/runtime/sandbox-explorer-source.d.ts +7 -0
- package/dist/files/runtime/sandbox-explorer-source.js +74 -0
- package/dist/files/runtime/sandbox-file-explorer.d.ts +30 -0
- package/dist/files/runtime/sandbox-file-explorer.js +77 -0
- package/dist/files/runtime/search/workspace-search-service.d.ts +3 -0
- package/dist/files/runtime/search/workspace-search-service.js +7 -0
- package/dist/files/tree/components/file-tree-item.d.ts +31 -0
- package/dist/files/tree/components/file-tree-item.js +176 -0
- package/dist/files/tree/hooks/use-file-events.d.ts +11 -0
- package/dist/files/tree/hooks/use-file-events.js +14 -0
- package/dist/files/viewer/file-content-renderer.d.ts +48 -0
- package/dist/files/viewer/file-content-renderer.js +128 -0
- package/dist/files/viewer/file-header.d.ts +37 -0
- package/dist/files/viewer/file-header.js +21 -0
- package/dist/files/viewer/file-preview-modal.d.ts +63 -0
- package/dist/files/viewer/file-preview-modal.js +320 -0
- package/dist/files/viewer/file-source.d.ts +116 -0
- package/dist/files/viewer/file-source.js +14 -0
- package/dist/files/viewer/file-viewer.d.ts +36 -0
- package/dist/files/viewer/file-viewer.js +196 -0
- package/dist/files/viewer/html-preview.d.ts +32 -0
- package/dist/files/viewer/html-preview.js +101 -0
- package/dist/files/viewer/index.d.ts +20 -0
- package/dist/files/viewer/index.js +15 -0
- package/dist/files/viewer/json-tree-view.d.ts +3 -0
- package/dist/files/viewer/json-tree-view.js +49 -0
- package/dist/files/viewer/markdown-pdf.d.ts +38 -0
- package/dist/files/viewer/markdown-pdf.js +111 -0
- package/dist/files/viewer/preview-fit.d.ts +50 -0
- package/dist/files/viewer/preview-fit.js +51 -0
- package/dist/files/viewer/preview-policy.d.ts +46 -0
- package/dist/files/viewer/preview-policy.js +190 -0
- package/dist/files/viewer/print-document.d.ts +29 -0
- package/dist/files/viewer/print-document.js +88 -0
- package/dist/files/viewer/save-as-pdf-button.d.ts +22 -0
- package/dist/files/viewer/save-as-pdf-button.js +63 -0
- package/dist/files/viewer/use-content-revision.d.ts +18 -0
- package/dist/files/viewer/use-content-revision.js +29 -0
- package/dist/files/viewer/use-file-content-state.d.ts +60 -0
- package/dist/files/viewer/use-file-content-state.js +352 -0
- package/dist/files/viewer/viewer-actions.d.ts +99 -0
- package/dist/files/viewer/viewer-actions.js +262 -0
- package/dist/files/viewer/viewer-chrome.d.ts +27 -0
- package/dist/files/viewer/viewer-chrome.js +61 -0
- package/dist/hooks/use-is-dark.d.ts +6 -0
- package/dist/hooks/use-is-dark.js +11 -16
- package/dist/i18n/en.d.ts +6912 -0
- package/dist/i18n/en.js +6913 -0
- package/dist/i18n/index.d.ts +18 -0
- package/dist/i18n/index.js +33 -0
- package/dist/i18n/ui-catalog/account-hub-translation-keys.generated.d.ts +1 -0
- package/dist/i18n/ui-catalog/account-hub-translation-keys.generated.js +30 -0
- package/dist/i18n/ui-catalog/app-registry-translation-keys.generated.d.ts +1 -0
- package/dist/i18n/ui-catalog/app-registry-translation-keys.generated.js +109 -0
- package/dist/i18n/ui-catalog/localize-ui-catalog.d.ts +4 -0
- package/dist/i18n/ui-catalog/localize-ui-catalog.js +49 -0
- package/dist/i18n/ui-catalog/product-catalog-translation-keys.generated.d.ts +1 -0
- package/dist/i18n/ui-catalog/product-catalog-translation-keys.generated.js +149 -0
- package/dist/i18n/ui-catalog/remaining-ui-translation-keys.generated.d.ts +1 -0
- package/dist/i18n/ui-catalog/remaining-ui-translation-keys.generated.js +902 -0
- package/dist/i18n/ui-catalog/review-meta-translation-keys.generated.d.ts +1 -0
- package/dist/i18n/ui-catalog/review-meta-translation-keys.generated.js +21 -0
- package/dist/i18n/ui-catalog/review-mock-translation-keys.generated.d.ts +1 -0
- package/dist/i18n/ui-catalog/review-mock-translation-keys.generated.js +43 -0
- package/dist/i18n/ui-catalog/use-localized-ui-catalog.d.ts +1 -0
- package/dist/i18n/ui-catalog/use-localized-ui-catalog.js +9 -0
- package/dist/icons/index.d.ts +6 -0
- package/dist/icons/index.js +6 -0
- package/dist/icons/sidebar-toggle.d.ts +2 -2
- package/dist/icons/sidebar-toggle.js +1 -1
- package/dist/index.d.ts +36 -22
- package/dist/index.js +37 -23
- package/dist/internal/account-hub/account-hub-entry.d.ts +5 -0
- package/dist/internal/account-hub/account-hub-entry.js +22 -0
- package/dist/internal/account-hub/account-hub-location.d.ts +54 -0
- package/dist/internal/account-hub/account-hub-location.js +113 -0
- package/dist/internal/account-hub/account-settings-shell.d.ts +7 -0
- package/dist/internal/account-hub/account-settings-shell.js +87 -0
- package/dist/internal/account-hub/account-settings-sidebar.d.ts +2 -0
- package/dist/internal/account-hub/account-settings-sidebar.js +169 -0
- package/dist/internal/account-hub/hub-sheet.d.ts +39 -0
- package/dist/internal/account-hub/hub-sheet.js +46 -0
- package/dist/internal/account-hub/sections.d.ts +95 -0
- package/dist/internal/account-hub/sections.js +232 -0
- package/dist/internal/account-hub/use-account-detail.d.ts +2 -0
- package/dist/internal/account-hub/use-account-detail.js +20 -0
- package/dist/internal/account-hub/use-account-hub-access.d.ts +56 -0
- package/dist/internal/account-hub/use-account-hub-access.js +156 -0
- package/dist/internal/account-hub/use-account-members.d.ts +2 -0
- package/dist/internal/account-hub/use-account-members.js +24 -0
- package/dist/internal/auth/auth-card-shell.d.ts +36 -0
- package/dist/internal/auth/auth-card-shell.js +66 -0
- package/dist/internal/auth/auth-consent.d.ts +71 -0
- package/dist/internal/auth/auth-consent.js +75 -0
- package/dist/internal/auth/auth-primitives.d.ts +67 -0
- package/dist/internal/auth/auth-primitives.js +94 -0
- package/dist/internal/auth/code-input-logic.d.ts +23 -0
- package/dist/internal/auth/code-input-logic.js +33 -0
- package/dist/internal/auth/mfa-pending-action.d.ts +8 -0
- package/dist/internal/auth/mfa-pending-action.js +24 -0
- package/dist/internal/billing/account-state-gating.d.ts +23 -0
- package/dist/internal/billing/account-state-gating.js +21 -0
- package/dist/internal/billing/compute-pricing.d.ts +88 -0
- package/dist/internal/billing/compute-pricing.js +119 -0
- package/dist/internal/billing/index.d.ts +20 -0
- package/dist/internal/billing/index.js +36 -0
- package/dist/internal/billing/session-cost-format.d.ts +4 -0
- package/dist/internal/billing/session-cost-format.js +37 -0
- package/dist/internal/billing/use-account-state.d.ts +64 -0
- package/dist/internal/billing/use-account-state.js +231 -0
- package/dist/internal/billing/use-cost-explorer.d.ts +73 -0
- package/dist/internal/billing/use-cost-explorer.js +90 -0
- package/dist/internal/billing/use-download-restriction.d.ts +33 -0
- package/dist/internal/billing/use-download-restriction.js +60 -0
- package/dist/internal/billing/use-session-costs.d.ts +75 -0
- package/dist/internal/billing/use-session-costs.js +105 -0
- package/dist/internal/billing/use-transactions.d.ts +5 -0
- package/dist/internal/billing/use-transactions.js +34 -0
- package/dist/internal/branding/branding-provider.d.ts +39 -0
- package/dist/internal/branding/branding-provider.js +203 -0
- package/dist/internal/capture/use-capture-area.d.ts +51 -0
- package/dist/internal/capture/use-capture-area.js +96 -0
- package/dist/internal/components/clickable-path.d.ts +64 -0
- package/dist/internal/components/clickable-path.js +170 -0
- package/dist/internal/components/hover-prefetch-link.d.ts +32 -0
- package/dist/internal/components/hover-prefetch-link.js +39 -0
- package/dist/internal/components/mobile-store-qr.d.ts +18 -0
- package/dist/internal/components/mobile-store-qr.js +40 -0
- package/dist/internal/components/repository-disconnected.d.ts +46 -0
- package/dist/internal/components/repository-disconnected.js +80 -0
- package/dist/internal/desktop/desktop-back-button.d.ts +93 -0
- package/dist/internal/desktop/desktop-back-button.js +128 -0
- package/dist/internal/desktop/titlebar-control.d.ts +16 -0
- package/dist/internal/desktop/titlebar-control.js +15 -0
- package/dist/internal/files/file-availability.d.ts +34 -0
- package/dist/internal/files/file-availability.js +81 -0
- package/dist/internal/files/file-read-retry.d.ts +28 -0
- package/dist/internal/files/file-read-retry.js +109 -0
- package/dist/internal/files/git-history.d.ts +35 -0
- package/dist/internal/files/git-history.js +221 -0
- package/dist/internal/files/runtime-file-read.d.ts +5 -0
- package/dist/internal/files/runtime-file-read.js +29 -0
- package/dist/internal/files/runtime-files.d.ts +52 -0
- package/dist/internal/files/runtime-files.js +193 -0
- package/dist/internal/files/session-drive-files.d.ts +63 -0
- package/dist/internal/files/session-drive-files.js +109 -0
- package/dist/internal/files/types.d.ts +137 -0
- package/dist/internal/files/types.js +5 -0
- package/dist/internal/files/use-oc-file-open.d.ts +25 -0
- package/dist/internal/files/use-oc-file-open.js +234 -0
- package/dist/internal/hooks/account/use-accounts-list.d.ts +105 -0
- package/dist/internal/hooks/account/use-accounts-list.js +103 -0
- package/dist/internal/hooks/account/use-my-invites.d.ts +15 -0
- package/dist/internal/hooks/account/use-my-invites.js +22 -0
- package/dist/internal/hooks/admin/use-admin-role.d.ts +6 -0
- package/dist/internal/hooks/admin/use-admin-role.js +6 -0
- package/dist/internal/hooks/channels/use-channels-installations.d.ts +49 -0
- package/dist/internal/hooks/channels/use-channels-installations.js +151 -0
- package/dist/internal/hooks/connectors/use-add-account.d.ts +38 -0
- package/dist/internal/hooks/connectors/use-add-account.js +138 -0
- package/dist/internal/hooks/connectors/use-add-managed-account.d.ts +18 -0
- package/dist/internal/hooks/connectors/use-add-managed-account.js +33 -0
- package/dist/internal/hooks/connectors/use-connect-link.d.ts +20 -0
- package/dist/internal/hooks/connectors/use-connect-link.js +115 -0
- package/dist/internal/hooks/connectors/use-oauth2-return.d.ts +8 -0
- package/dist/internal/hooks/connectors/use-oauth2-return.js +33 -0
- package/dist/internal/hooks/connectors/use-pipedream-connect-member.d.ts +10 -0
- package/dist/internal/hooks/connectors/use-pipedream-connect-member.js +38 -0
- package/dist/internal/hooks/connectors/use-pipedream-connect-project.d.ts +67 -0
- package/dist/internal/hooks/connectors/use-pipedream-connect-project.js +112 -0
- package/dist/internal/hooks/connectors/use-tool-connect.d.ts +45 -0
- package/dist/internal/hooks/connectors/use-tool-connect.js +50 -0
- package/dist/internal/hooks/index.d.ts +7 -0
- package/dist/internal/hooks/index.js +6 -0
- package/dist/internal/hooks/projects/new-session-failure.d.ts +26 -0
- package/dist/internal/hooks/projects/new-session-failure.js +72 -0
- package/dist/internal/hooks/projects/new-session-guard.d.ts +48 -0
- package/dist/internal/hooks/projects/new-session-guard.js +63 -0
- package/dist/internal/hooks/projects/project-rename-cache.d.ts +42 -0
- package/dist/internal/hooks/projects/project-rename-cache.js +51 -0
- package/dist/internal/hooks/projects/session-reload-progress.d.ts +10 -0
- package/dist/internal/hooks/projects/session-reload-progress.js +28 -0
- package/dist/internal/hooks/projects/use-agent-config.d.ts +49 -0
- package/dist/internal/hooks/projects/use-agent-config.js +73 -0
- package/dist/internal/hooks/projects/use-new-project-session.d.ts +65 -0
- package/dist/internal/hooks/projects/use-new-project-session.js +296 -0
- package/dist/internal/hooks/projects/use-project-can-run.d.ts +8 -0
- package/dist/internal/hooks/projects/use-project-can-run.js +46 -0
- package/dist/internal/hooks/projects/use-restart-project-session.d.ts +49 -0
- package/dist/internal/hooks/projects/use-restart-project-session.js +90 -0
- package/dist/internal/hooks/projects/use-session-config-freshness.d.ts +106 -0
- package/dist/internal/hooks/projects/use-session-config-freshness.js +291 -0
- package/dist/internal/hooks/projects/use-warm-project-session.d.ts +270 -0
- package/dist/internal/hooks/projects/use-warm-project-session.js +362 -0
- package/dist/internal/hooks/projects/warm-session-seed.d.ts +66 -0
- package/dist/internal/hooks/projects/warm-session-seed.js +80 -0
- package/dist/internal/hooks/projects/warm-session-taken-registry.d.ts +61 -0
- package/dist/internal/hooks/projects/warm-session-taken-registry.js +141 -0
- package/dist/internal/hooks/use-auto-scroll-physics.d.ts +129 -0
- package/dist/internal/hooks/use-auto-scroll-physics.js +191 -0
- package/dist/internal/hooks/use-auto-scroll.d.ts +30 -0
- package/dist/internal/hooks/use-auto-scroll.js +469 -0
- package/dist/internal/hooks/use-bounded-runtime-wait.d.ts +4 -0
- package/dist/internal/hooks/use-bounded-runtime-wait.js +20 -0
- package/dist/internal/hooks/use-channel-bindings.d.ts +8 -0
- package/dist/internal/hooks/use-channel-bindings.js +27 -0
- package/dist/internal/hooks/use-copy.d.ts +11 -0
- package/dist/internal/hooks/use-copy.js +38 -0
- package/dist/internal/hooks/use-debounced-value.d.ts +2 -0
- package/dist/internal/hooks/use-debounced-value.js +9 -0
- package/dist/internal/hooks/use-heic-url.d.ts +9 -0
- package/dist/internal/hooks/use-heic-url.js +49 -0
- package/dist/internal/hooks/use-media-query.d.ts +2 -0
- package/dist/internal/hooks/use-media-query.js +15 -0
- package/dist/internal/hooks/use-notification-center.d.ts +43 -0
- package/dist/internal/hooks/use-notification-center.js +117 -0
- package/dist/internal/hooks/use-open-preview-link.d.ts +30 -0
- package/dist/internal/hooks/use-open-preview-link.js +42 -0
- package/dist/internal/hooks/use-opened-once.d.ts +9 -0
- package/dist/internal/hooks/use-opened-once.js +15 -0
- package/dist/internal/hooks/use-preview-frame-url.d.ts +13 -0
- package/dist/internal/hooks/use-preview-frame-url.js +24 -0
- package/dist/internal/hooks/use-review-session-summary.d.ts +59 -0
- package/dist/internal/hooks/use-review-session-summary.js +95 -0
- package/dist/internal/hooks/use-sandbox-proxy.d.ts +31 -0
- package/dist/internal/hooks/use-sandbox-proxy.js +40 -0
- package/dist/internal/hooks/use-slash-focus.d.ts +15 -0
- package/dist/internal/hooks/use-slash-focus.js +44 -0
- package/dist/internal/hooks/use-stable-callback.d.ts +15 -0
- package/dist/internal/hooks/use-stable-callback.js +22 -0
- package/dist/internal/icons/claude-code.d.ts +5 -0
- package/dist/internal/icons/claude-code.js +7 -0
- package/dist/internal/icons/claude.d.ts +4 -0
- package/dist/internal/icons/claude.js +8 -0
- package/dist/internal/icons/codex.d.ts +5 -0
- package/dist/internal/icons/codex.js +14 -0
- package/dist/internal/icons/cursor.d.ts +5 -0
- package/dist/internal/icons/cursor.js +11 -0
- package/dist/internal/icons/customize.d.ts +5 -0
- package/dist/internal/icons/customize.js +6 -0
- package/dist/internal/icons/download.d.ts +2 -0
- package/dist/internal/icons/download.js +6 -0
- package/dist/internal/icons/email.d.ts +5 -0
- package/dist/internal/icons/email.js +7 -0
- package/dist/internal/icons/github.d.ts +4 -0
- package/dist/internal/icons/github.js +8 -0
- package/dist/internal/icons/home.d.ts +5 -0
- package/dist/internal/icons/home.js +7 -0
- package/dist/internal/icons/kortix.d.ts +14 -0
- package/dist/internal/icons/kortix.js +25 -0
- package/dist/internal/icons/mcp.d.ts +9 -0
- package/dist/internal/icons/mcp.js +9 -0
- package/dist/internal/icons/microsoft-teams.d.ts +4 -0
- package/dist/internal/icons/microsoft-teams.js +11 -0
- package/dist/internal/icons/open-ai.d.ts +4 -0
- package/dist/internal/icons/open-ai.js +8 -0
- package/dist/internal/icons/plus.d.ts +4 -0
- package/dist/internal/icons/plus.js +6 -0
- package/dist/internal/icons/schedule.d.ts +5 -0
- package/dist/internal/icons/schedule.js +7 -0
- package/dist/internal/icons/slack.d.ts +4 -0
- package/dist/internal/icons/slack.js +6 -0
- package/dist/internal/icons/solid-check-icon.d.ts +2 -0
- package/dist/internal/icons/solid-check-icon.js +6 -0
- package/dist/internal/icons/telegram.d.ts +4 -0
- package/dist/internal/icons/telegram.js +6 -0
- package/dist/internal/layout/connect-mcp-modal.d.ts +35 -0
- package/dist/internal/layout/connect-mcp-modal.js +78 -0
- package/dist/internal/layout/files-nav-label.d.ts +14 -0
- package/dist/internal/layout/files-nav-label.js +10 -0
- package/dist/internal/layout/open-command-palette.d.ts +22 -0
- package/dist/internal/layout/open-command-palette.js +34 -0
- package/dist/internal/layout/project-nav-row.d.ts +9 -0
- package/dist/internal/layout/project-nav-row.js +15 -0
- package/dist/internal/layout/project-page-header.d.ts +16 -0
- package/dist/internal/layout/project-page-header.js +19 -0
- package/dist/internal/layout/project-settings-nav.d.ts +125 -0
- package/dist/internal/layout/project-settings-nav.js +206 -0
- package/dist/internal/layout/settings-nav-context.d.ts +74 -0
- package/dist/internal/layout/settings-nav-context.js +58 -0
- package/dist/internal/layout/sidebar-opener.d.ts +74 -0
- package/dist/internal/layout/sidebar-opener.js +86 -0
- package/dist/internal/layout/sidebar-toggle.d.ts +44 -0
- package/dist/internal/layout/sidebar-toggle.js +56 -0
- package/dist/internal/lib/account-secret-access.d.ts +42 -0
- package/dist/internal/lib/account-secret-access.js +46 -0
- package/dist/internal/lib/approval-expired.d.ts +3 -0
- package/dist/internal/lib/approval-expired.js +4 -0
- package/dist/internal/lib/attachment-mime.d.ts +30 -0
- package/dist/internal/lib/attachment-mime.js +123 -0
- package/dist/internal/lib/billing/billing-gate-state.d.ts +126 -0
- package/dist/internal/lib/billing/billing-gate-state.js +217 -0
- package/dist/internal/lib/browser-error-noise.d.ts +23 -0
- package/dist/internal/lib/browser-error-noise.js +68 -0
- package/dist/internal/lib/browser-noise/evidence.d.ts +73 -0
- package/dist/internal/lib/browser-noise/evidence.js +101 -0
- package/dist/internal/lib/browser-noise/rules/chunk-load.d.ts +37 -0
- package/dist/internal/lib/browser-noise/rules/chunk-load.js +158 -0
- package/dist/internal/lib/browser-noise/rules/expected-states.d.ts +85 -0
- package/dist/internal/lib/browser-noise/rules/expected-states.js +390 -0
- package/dist/internal/lib/browser-noise/rules/extensions.d.ts +196 -0
- package/dist/internal/lib/browser-noise/rules/extensions.js +722 -0
- package/dist/internal/lib/browser-noise/rules/graphics.d.ts +142 -0
- package/dist/internal/lib/browser-noise/rules/graphics.js +606 -0
- package/dist/internal/lib/browser-noise/rules/injected-scripts.d.ts +80 -0
- package/dist/internal/lib/browser-noise/rules/injected-scripts.js +229 -0
- package/dist/internal/lib/browser-noise/rules/messages.d.ts +5 -0
- package/dist/internal/lib/browser-noise/rules/messages.js +81 -0
- package/dist/internal/lib/browser-noise/rules/network.d.ts +117 -0
- package/dist/internal/lib/browser-noise/rules/network.js +441 -0
- package/dist/internal/lib/browser-noise/rules/old-browsers.d.ts +216 -0
- package/dist/internal/lib/browser-noise/rules/old-browsers.js +684 -0
- package/dist/internal/lib/browser-noise/rules/pdf.d.ts +60 -0
- package/dist/internal/lib/browser-noise/rules/pdf.js +184 -0
- package/dist/internal/lib/browser-noise/rules/react.d.ts +99 -0
- package/dist/internal/lib/browser-noise/rules/react.js +504 -0
- package/dist/internal/lib/browser-noise/rules/rejections.d.ts +140 -0
- package/dist/internal/lib/browser-noise/rules/rejections.js +543 -0
- package/dist/internal/lib/browser-noise/rules/storage.d.ts +65 -0
- package/dist/internal/lib/browser-noise/rules/storage.js +190 -0
- package/dist/internal/lib/browser-noise/rules/webview.d.ts +103 -0
- package/dist/internal/lib/browser-noise/rules/webview.js +392 -0
- package/dist/internal/lib/capability-tab-routes.d.ts +160 -0
- package/dist/internal/lib/capability-tab-routes.js +176 -0
- package/dist/internal/lib/chunk-load-recovery.d.ts +46 -0
- package/dist/internal/lib/chunk-load-recovery.js +107 -0
- package/dist/internal/lib/chunk-reload.d.ts +31 -0
- package/dist/internal/lib/chunk-reload.js +59 -0
- package/dist/internal/lib/code-theme.d.ts +22 -0
- package/dist/internal/lib/code-theme.js +16 -0
- package/dist/internal/lib/codemirror-pierre-theme.d.ts +3 -0
- package/dist/internal/lib/codemirror-pierre-theme.js +138 -0
- package/dist/internal/lib/delivered-but-disconnected.d.ts +4 -0
- package/dist/internal/lib/delivered-but-disconnected.js +106 -0
- package/dist/internal/lib/desktop-detect.d.ts +17 -0
- package/dist/internal/lib/desktop-detect.js +36 -0
- package/dist/internal/lib/desktop.d.ts +237 -0
- package/dist/internal/lib/desktop.js +356 -0
- package/dist/internal/lib/error-handler.d.ts +25 -0
- package/dist/internal/lib/error-handler.js +327 -0
- package/dist/internal/lib/github-installations.d.ts +47 -0
- package/dist/internal/lib/github-installations.js +54 -0
- package/dist/internal/lib/github-user-proof.d.ts +3 -0
- package/dist/internal/lib/github-user-proof.js +38 -0
- package/dist/internal/lib/interface-theme-defaults.d.ts +6 -0
- package/dist/internal/lib/interface-theme-defaults.js +2 -0
- package/dist/internal/lib/kortix-cli.d.ts +12 -0
- package/dist/internal/lib/kortix-cli.js +31 -0
- package/dist/internal/lib/llm-providers.d.ts +185 -0
- package/dist/internal/lib/llm-providers.js +197 -0
- package/dist/internal/lib/logger.d.ts +29 -0
- package/dist/internal/lib/logger.js +36 -0
- package/dist/internal/lib/manifest-version.d.ts +21 -0
- package/dist/internal/lib/manifest-version.js +55 -0
- package/dist/internal/lib/mermaid-utils.d.ts +22 -0
- package/dist/internal/lib/mermaid-utils.js +85 -0
- package/dist/internal/lib/mobile-store-urls.d.ts +9 -0
- package/dist/internal/lib/mobile-store-urls.js +8 -0
- package/dist/internal/lib/model-pricing.d.ts +33 -0
- package/dist/internal/lib/model-pricing.js +107 -0
- package/dist/internal/lib/navigation/modified-click.d.ts +15 -0
- package/dist/internal/lib/navigation/modified-click.js +21 -0
- package/dist/internal/lib/navigation/router-bridge.d.ts +20 -0
- package/dist/internal/lib/navigation/router-bridge.js +60 -0
- package/dist/internal/lib/navigation/session-href.d.ts +24 -0
- package/dist/internal/lib/navigation/session-href.js +31 -0
- package/dist/internal/lib/object-url-cache.d.ts +30 -0
- package/dist/internal/lib/object-url-cache.js +72 -0
- package/dist/internal/lib/onboarding/landing-destination.d.ts +111 -0
- package/dist/internal/lib/onboarding/landing-destination.js +155 -0
- package/dist/internal/lib/onboarding/last-project-cookie.d.ts +44 -0
- package/dist/internal/lib/onboarding/last-project-cookie.js +77 -0
- package/dist/internal/lib/onboarding/provision-errors.d.ts +29 -0
- package/dist/internal/lib/onboarding/provision-errors.js +47 -0
- package/dist/internal/lib/onboarding/use-app-home.d.ts +17 -0
- package/dist/internal/lib/onboarding/use-app-home.js +22 -0
- package/dist/internal/lib/project-actions.d.ts +75 -0
- package/dist/internal/lib/project-actions.js +133 -0
- package/dist/internal/lib/project-preamble.d.ts +71 -0
- package/dist/internal/lib/project-preamble.js +112 -0
- package/dist/internal/lib/promo-art.d.ts +9 -0
- package/dist/internal/lib/promo-art.js +9 -0
- package/dist/internal/lib/provider-branding.d.ts +26 -0
- package/dist/internal/lib/provider-branding.js +186 -0
- package/dist/internal/lib/query-client-singleton.d.ts +9 -0
- package/dist/internal/lib/query-client-singleton.js +34 -0
- package/dist/internal/lib/relative-time.d.ts +22 -0
- package/dist/internal/lib/relative-time.js +48 -0
- package/dist/internal/lib/safe-url.d.ts +2 -0
- package/dist/internal/lib/safe-url.js +7 -0
- package/dist/internal/lib/sandbox-providers.d.ts +11 -0
- package/dist/internal/lib/sandbox-providers.js +27 -0
- package/dist/internal/lib/security/iframe-sandbox.d.ts +15 -0
- package/dist/internal/lib/security/iframe-sandbox.js +26 -0
- package/dist/internal/lib/security/privileged-frame-origins.d.ts +10 -0
- package/dist/internal/lib/security/privileged-frame-origins.js +22 -0
- package/dist/internal/lib/settings-tab-id.d.ts +3 -0
- package/dist/internal/lib/settings-tab-id.js +1 -0
- package/dist/internal/lib/shaders-react.d.ts +2 -0
- package/dist/internal/lib/shaders-react.js +1 -0
- package/dist/internal/lib/site-metadata.d.ts +17 -0
- package/dist/internal/lib/site-metadata.js +16 -0
- package/dist/internal/lib/sounds.d.ts +37 -0
- package/dist/internal/lib/sounds.js +131 -0
- package/dist/internal/lib/storage/managed-storage.d.ts +2 -0
- package/dist/internal/lib/storage/managed-storage.js +5 -0
- package/dist/internal/lib/timeout-toast-policy.d.ts +5 -0
- package/dist/internal/lib/timeout-toast-policy.js +14 -0
- package/dist/internal/lib/trigger-clock.d.ts +42 -0
- package/dist/internal/lib/trigger-clock.js +34 -0
- package/dist/internal/lib/turn-broadcast.d.ts +47 -0
- package/dist/internal/lib/turn-broadcast.js +90 -0
- package/dist/internal/lib/use-deployment-cli-install-command.d.ts +7 -0
- package/dist/internal/lib/use-deployment-cli-install-command.js +15 -0
- package/dist/internal/lib/use-permission.d.ts +23 -0
- package/dist/internal/lib/use-permission.js +79 -0
- package/dist/internal/lib/use-project-can.d.ts +37 -0
- package/dist/internal/lib/use-project-can.js +64 -0
- package/dist/internal/lib/use-project-feature-flags.d.ts +26 -0
- package/dist/internal/lib/use-project-feature-flags.js +72 -0
- package/dist/internal/lib/utils/app-access-token.d.ts +10 -0
- package/dist/internal/lib/utils/app-access-token.js +20 -0
- package/dist/internal/lib/utils/clipboard.d.ts +7 -0
- package/dist/internal/lib/utils/clipboard.js +19 -0
- package/dist/internal/lib/utils/download.d.ts +2 -0
- package/dist/internal/lib/utils/download.js +11 -0
- package/dist/internal/lib/utils/file-utils.d.ts +44 -0
- package/dist/internal/lib/utils/file-utils.js +287 -0
- package/dist/internal/lib/utils/focus-without-scroll.d.ts +19 -0
- package/dist/internal/lib/utils/focus-without-scroll.js +18 -0
- package/dist/internal/lib/utils/heic-convert.d.ts +7 -0
- package/dist/internal/lib/utils/heic-convert.js +13 -0
- package/dist/internal/lib/utils/kortix-system-tags.d.ts +45 -0
- package/dist/internal/lib/utils/kortix-system-tags.js +222 -0
- package/dist/internal/lib/utils/kortix-tool-output.d.ts +58 -0
- package/dist/internal/lib/utils/kortix-tool-output.js +148 -0
- package/dist/internal/lib/utils/path-detection.d.ts +43 -0
- package/dist/internal/lib/utils/path-detection.js +339 -0
- package/dist/internal/lib/utils/random-uuid.d.ts +9 -0
- package/dist/internal/lib/utils/random-uuid.js +16 -0
- package/dist/internal/lib/utils/safe-scroll-to.d.ts +20 -0
- package/dist/internal/lib/utils/safe-scroll-to.js +21 -0
- package/dist/internal/lib/utils/sandbox-proxy.d.ts +8 -0
- package/dist/internal/lib/utils/sandbox-proxy.js +15 -0
- package/dist/internal/lib/utils/session-context.d.ts +25 -0
- package/dist/internal/lib/utils/session-context.js +42 -0
- package/dist/internal/lib/utils/strip-html-tags.d.ts +6 -0
- package/dist/internal/lib/utils/strip-html-tags.js +13 -0
- package/dist/internal/lib/utils/structured-output.d.ts +51 -0
- package/dist/internal/lib/utils/structured-output.js +178 -0
- package/dist/internal/lib/utils/time-budget.d.ts +37 -0
- package/dist/internal/lib/utils/time-budget.js +37 -0
- package/dist/internal/lib/utils.d.ts +8 -0
- package/dist/internal/lib/utils.js +58 -0
- package/dist/internal/lib/web-notifications.d.ts +127 -0
- package/dist/internal/lib/web-notifications.js +703 -0
- package/dist/internal/notifications/notification-bell.d.ts +46 -0
- package/dist/internal/notifications/notification-bell.js +135 -0
- package/dist/internal/notifications/notification-rows.d.ts +86 -0
- package/dist/internal/notifications/notification-rows.js +128 -0
- package/dist/internal/notifications/session-toast-cards.d.ts +26 -0
- package/dist/internal/notifications/session-toast-cards.js +32 -0
- package/dist/internal/notifications/web-push.d.ts +63 -0
- package/dist/internal/notifications/web-push.js +193 -0
- package/dist/internal/outcomes/outcome-card.d.ts +81 -0
- package/dist/internal/outcomes/outcome-card.js +54 -0
- package/dist/internal/outcomes/outcome-types.d.ts +77 -0
- package/dist/internal/outcomes/outcome-types.js +15 -0
- package/dist/internal/outcomes/outcome-vocabulary.d.ts +95 -0
- package/dist/internal/outcomes/outcome-vocabulary.js +99 -0
- package/dist/internal/project-scope.d.ts +13 -0
- package/dist/internal/project-scope.js +15 -0
- package/dist/internal/reminders/reminder-filter.d.ts +12 -0
- package/dist/internal/reminders/reminder-filter.js +34 -0
- package/dist/internal/reminders/reminder-format.d.ts +26 -0
- package/dist/internal/reminders/reminder-format.js +90 -0
- package/dist/internal/reminders/use-refetch-after-fire.d.ts +10 -0
- package/dist/internal/reminders/use-refetch-after-fire.js +30 -0
- package/dist/internal/selection/selection-bar.d.ts +31 -0
- package/dist/internal/selection/selection-bar.js +45 -0
- package/dist/internal/selection/selection.d.ts +9 -0
- package/dist/internal/selection/selection.js +25 -0
- package/dist/internal/session-types/index.d.ts +30 -0
- package/dist/internal/session-types/index.js +28 -0
- package/dist/internal/session-types/types.d.ts +78 -0
- package/dist/internal/session-types/types.js +20 -0
- package/dist/internal/share/public-share-link-button.d.ts +14 -0
- package/dist/internal/share/public-share-link-button.js +17 -0
- package/dist/internal/share/public-share-link-confirm.d.ts +15 -0
- package/dist/internal/share/public-share-link-confirm.js +13 -0
- package/dist/internal/share/session-shares-modal.d.ts +7 -0
- package/dist/internal/share/session-shares-modal.js +59 -0
- package/dist/internal/share/use-public-share-link.d.ts +39 -0
- package/dist/internal/share/use-public-share-link.js +110 -0
- package/dist/internal/share/use-session-public-shares.d.ts +60 -0
- package/dist/internal/share/use-session-public-shares.js +140 -0
- package/dist/internal/stores/account-panel-store.d.ts +94 -0
- package/dist/internal/stores/account-panel-store.js +183 -0
- package/dist/internal/stores/account-settings-modal-store.d.ts +41 -0
- package/dist/internal/stores/account-settings-modal-store.js +33 -0
- package/dist/internal/stores/billing-account-context.d.ts +16 -0
- package/dist/internal/stores/billing-account-context.js +20 -0
- package/dist/internal/stores/browser-recents-store.d.ts +36 -0
- package/dist/internal/stores/browser-recents-store.js +50 -0
- package/dist/internal/stores/chat-send-store.d.ts +34 -0
- package/dist/internal/stores/chat-send-store.js +22 -0
- package/dist/internal/stores/composer-prefill-store.d.ts +37 -0
- package/dist/internal/stores/composer-prefill-store.js +27 -0
- package/dist/internal/stores/connector-gate-store.d.ts +27 -0
- package/dist/internal/stores/connector-gate-store.js +9 -0
- package/dist/internal/stores/current-account-store.d.ts +28 -0
- package/dist/internal/stores/current-account-store.js +12 -0
- package/dist/internal/stores/diagnostics-store.d.ts +2 -0
- package/dist/internal/stores/diagnostics-store.js +5 -0
- package/dist/internal/stores/file-preview-store.d.ts +15 -0
- package/dist/internal/stores/file-preview-store.js +24 -0
- package/dist/internal/stores/files-store.d.ts +155 -0
- package/dist/internal/stores/files-store.js +316 -0
- package/dist/internal/stores/first-chat-store.d.ts +23 -0
- package/dist/internal/stores/first-chat-store.js +53 -0
- package/dist/internal/stores/kortix-computer-store.d.ts +230 -0
- package/dist/internal/stores/kortix-computer-store.js +437 -0
- package/dist/internal/stores/message-jump-store.d.ts +8 -0
- package/dist/internal/stores/message-jump-store.js +6 -0
- package/dist/internal/stores/mobile-app-promo-store.d.ts +19 -0
- package/dist/internal/stores/mobile-app-promo-store.js +28 -0
- package/dist/internal/stores/onboarding-mode-store.d.ts +34 -0
- package/dist/internal/stores/onboarding-mode-store.js +20 -0
- package/dist/internal/stores/panel-fallback-store.d.ts +32 -0
- package/dist/internal/stores/panel-fallback-store.js +21 -0
- package/dist/internal/stores/persisted-store-registry.d.ts +58 -0
- package/dist/internal/stores/persisted-store-registry.js +57 -0
- package/dist/internal/stores/project-switch-store.d.ts +49 -0
- package/dist/internal/stores/project-switch-store.js +39 -0
- package/dist/internal/stores/provider-modal-store.d.ts +10 -0
- package/dist/internal/stores/provider-modal-store.js +7 -0
- package/dist/internal/stores/session-browser-store.d.ts +111 -0
- package/dist/internal/stores/session-browser-store.js +115 -0
- package/dist/internal/stores/session-expanded-store.d.ts +21 -0
- package/dist/internal/stores/session-expanded-store.js +42 -0
- package/dist/internal/stores/session-filter-store.d.ts +91 -0
- package/dist/internal/stores/session-filter-store.js +192 -0
- package/dist/internal/stores/session-history-view-store.d.ts +23 -0
- package/dist/internal/stores/session-history-view-store.js +43 -0
- package/dist/internal/stores/session-hover-store.d.ts +64 -0
- package/dist/internal/stores/session-hover-store.js +109 -0
- package/dist/internal/stores/session-panel-memory-store.d.ts +57 -0
- package/dist/internal/stores/session-panel-memory-store.js +76 -0
- package/dist/internal/stores/session-switch-store.d.ts +24 -0
- package/dist/internal/stores/session-switch-store.js +25 -0
- package/dist/internal/stores/settings-panel-store.d.ts +38 -0
- package/dist/internal/stores/settings-panel-store.js +35 -0
- package/dist/internal/stores/sidebar-nav-store.d.ts +78 -0
- package/dist/internal/stores/sidebar-nav-store.js +121 -0
- package/dist/internal/stores/sound-store.d.ts +51 -0
- package/dist/internal/stores/sound-store.js +42 -0
- package/dist/internal/stores/subscription-store.d.ts +36 -0
- package/dist/internal/stores/subscription-store.js +57 -0
- package/dist/internal/stores/tab-store.d.ts +79 -0
- package/dist/internal/stores/tab-store.js +222 -0
- package/dist/internal/stores/turn-attention-store.d.ts +20 -0
- package/dist/internal/stores/turn-attention-store.js +12 -0
- package/dist/internal/stores/upgrade-dialog-store.d.ts +34 -0
- package/dist/internal/stores/upgrade-dialog-store.js +20 -0
- package/dist/internal/stores/user-preferences-store.d.ts +80 -0
- package/dist/internal/stores/user-preferences-store.js +63 -0
- package/dist/internal/stores/web-notification-store.d.ts +50 -0
- package/dist/internal/stores/web-notification-store.js +76 -0
- package/dist/internal/tunnel/computer-connect.d.ts +175 -0
- package/dist/internal/tunnel/computer-connect.js +355 -0
- package/dist/internal/tunnel/tunnel-connect-command.d.ts +23 -0
- package/dist/internal/tunnel/tunnel-connect-command.js +23 -0
- package/dist/lib/dotmatrix-core.d.ts +1 -2
- package/dist/lib/dotmatrix-core.js +2 -3
- package/dist/lib/host-env.d.ts +22 -0
- package/dist/lib/host-env.js +9 -0
- package/dist/lib/icon-config.d.ts +1 -1
- package/dist/lib/lazy-client.d.ts +10 -0
- package/dist/lib/lazy-client.js +20 -0
- package/dist/lib/portal-container.d.ts +12 -0
- package/dist/lib/portal-container.js +23 -0
- package/dist/lib/routes.d.ts +52 -0
- package/dist/lib/routes.js +54 -0
- package/dist/lib/telemetry.d.ts +44 -0
- package/dist/lib/telemetry.js +24 -0
- package/dist/lib/utils.d.ts +1 -0
- package/dist/lib/utils.js +8 -1
- package/dist/markdown/code/children-text.d.ts +15 -0
- package/dist/markdown/code/children-text.js +29 -0
- package/dist/markdown/code/code-block.d.ts +33 -0
- package/dist/markdown/code/code-block.js +88 -0
- package/dist/markdown/code/copy-overlay.d.ts +6 -0
- package/dist/markdown/code/copy-overlay.js +15 -0
- package/dist/markdown/code/genui-fence.d.ts +35 -0
- package/dist/markdown/code/genui-fence.js +81 -0
- package/dist/markdown/code/index.d.ts +6 -0
- package/dist/markdown/code/index.js +18 -0
- package/dist/markdown/code/inline-chip.d.ts +42 -0
- package/dist/markdown/code/inline-chip.js +108 -0
- package/dist/markdown/code/inline-code.d.ts +6 -0
- package/dist/markdown/code/inline-code.js +150 -0
- package/dist/markdown/code/inside-link-context.d.ts +15 -0
- package/dist/markdown/code/inside-link-context.js +17 -0
- package/dist/markdown/code/markdown-code.d.ts +41 -0
- package/dist/markdown/code/markdown-code.js +92 -0
- package/dist/markdown/code/shiki-highlighter.d.ts +45 -0
- package/dist/markdown/code/shiki-highlighter.js +261 -0
- package/dist/markdown/copy-button.d.ts +8 -0
- package/dist/markdown/copy-button.js +51 -0
- package/dist/markdown/file-links.d.ts +13 -0
- package/dist/markdown/file-links.js +93 -0
- package/dist/markdown/genui/block-telemetry.d.ts +21 -0
- package/dist/markdown/genui/block-telemetry.js +39 -0
- package/dist/markdown/genui/components/charts.d.ts +7 -0
- package/dist/markdown/genui/components/charts.js +185 -0
- package/dist/markdown/genui/components/data.d.ts +15 -0
- package/dist/markdown/genui/components/data.js +110 -0
- package/dist/markdown/genui/components/index.d.ts +4 -0
- package/dist/markdown/genui/components/index.js +38 -0
- package/dist/markdown/genui/components/inline.d.ts +17 -0
- package/dist/markdown/genui/components/inline.js +53 -0
- package/dist/markdown/genui/components/layout.d.ts +6 -0
- package/dist/markdown/genui/components/layout.js +180 -0
- package/dist/markdown/genui/components/map-canvas.d.ts +35 -0
- package/dist/markdown/genui/components/map-canvas.js +109 -0
- package/dist/markdown/genui/components/map-geo.d.ts +45 -0
- package/dist/markdown/genui/components/map-geo.js +52 -0
- package/dist/markdown/genui/components/map.d.ts +6 -0
- package/dist/markdown/genui/components/map.js +77 -0
- package/dist/markdown/genui/components/pending.d.ts +19 -0
- package/dist/markdown/genui/components/pending.js +38 -0
- package/dist/markdown/genui/genui-message-block.d.ts +12 -0
- package/dist/markdown/genui/genui-message-block.js +18 -0
- package/dist/markdown/genui/index.d.ts +11 -0
- package/dist/markdown/genui/index.js +11 -0
- package/dist/markdown/genui/sdk.d.ts +10 -0
- package/dist/markdown/genui/sdk.js +9 -0
- package/dist/markdown/genui/to-markdown.d.ts +46 -0
- package/dist/markdown/genui/to-markdown.js +86 -0
- package/dist/markdown/genui/use-genui-enabled.d.ts +4 -0
- package/dist/markdown/genui/use-genui-enabled.js +10 -0
- package/dist/markdown/index.d.ts +16 -0
- package/dist/markdown/index.js +14 -0
- package/dist/markdown/katex-block.d.ts +4 -0
- package/dist/markdown/katex-block.js +25 -0
- package/dist/markdown/katex-markdown.d.ts +24 -0
- package/dist/markdown/katex-markdown.js +163 -0
- package/dist/markdown/markdown-frontmatter.d.ts +31 -0
- package/dist/markdown/markdown-frontmatter.js +118 -0
- package/dist/markdown/markdown-policy.d.ts +48 -0
- package/dist/markdown/markdown-policy.js +31 -0
- package/dist/markdown/ordered-list.d.ts +31 -0
- package/dist/markdown/ordered-list.js +40 -0
- package/dist/markdown/setup-link-blocks.d.ts +32 -0
- package/dist/markdown/setup-link-blocks.js +114 -0
- package/dist/markdown/setup-links/api-base.d.ts +2 -0
- package/dist/markdown/setup-links/api-base.js +5 -0
- package/dist/markdown/setup-links/approval-decision.d.ts +72 -0
- package/dist/markdown/setup-links/approval-decision.js +322 -0
- package/dist/markdown/setup-links/connector-handshake.d.ts +60 -0
- package/dist/markdown/setup-links/connector-handshake.js +71 -0
- package/dist/markdown/setup-links/connector-link-info.d.ts +3 -0
- package/dist/markdown/setup-links/connector-link-info.js +15 -0
- package/dist/markdown/setup-links/secret-intake-form.d.ts +14 -0
- package/dist/markdown/setup-links/secret-intake-form.js +168 -0
- package/dist/markdown/setup-links/setup-link-button.d.ts +26 -0
- package/dist/markdown/setup-links/setup-link-button.js +150 -0
- package/dist/markdown/setup-links/setup-link-close-finalize.d.ts +23 -0
- package/dist/markdown/setup-links/setup-link-close-finalize.js +33 -0
- package/dist/markdown/setup-links/util.d.ts +80 -0
- package/dist/markdown/setup-links/util.js +220 -0
- package/dist/markdown/stream-words.d.ts +68 -0
- package/dist/markdown/stream-words.js +113 -0
- package/dist/markdown/unified-markdown-utils.d.ts +68 -0
- package/dist/markdown/unified-markdown-utils.js +151 -0
- package/dist/markdown/unified-markdown.d.ts +46 -0
- package/dist/markdown/unified-markdown.js +293 -0
- package/dist/primitives/accordion.js +18 -0
- package/dist/primitives/alert-dialog.js +50 -0
- package/dist/primitives/alert.d.ts +13 -0
- package/dist/primitives/alert.js +67 -0
- package/dist/primitives/avatar.js +23 -0
- package/dist/primitives/back-pill.js +18 -0
- package/dist/primitives/badge.d.ts +10 -0
- package/dist/primitives/badge.js +42 -0
- package/dist/primitives/breadcrumb.js +28 -0
- package/dist/primitives/bubble.d.ts +20 -0
- package/dist/primitives/bubble.js +38 -0
- package/dist/primitives/button-group.js +32 -0
- package/dist/primitives/button.d.ts +13 -0
- package/dist/primitives/button.js +67 -0
- package/dist/primitives/calendar.js +39 -0
- package/dist/primitives/card.d.ts +96 -0
- package/dist/primitives/card.js +291 -0
- package/dist/primitives/chain-of-thought.js +66 -0
- package/dist/primitives/chart.js +118 -0
- package/dist/primitives/checkbox-group.js +41 -0
- package/dist/primitives/checkbox.js +27 -0
- package/dist/primitives/collapsible.js +14 -0
- package/dist/primitives/command.js +135 -0
- package/dist/primitives/confirm-dialog.js +30 -0
- package/dist/primitives/context-menu.d.ts +48 -0
- package/dist/primitives/context-menu.js +94 -0
- package/dist/primitives/count-badge.d.ts +28 -0
- package/dist/primitives/count-badge.js +26 -0
- package/dist/primitives/data-grid.js +107 -0
- package/dist/primitives/date-range-picker.js +190 -0
- package/dist/primitives/definition-list.js +26 -0
- package/dist/primitives/dialog.d.ts +32 -0
- package/dist/primitives/dialog.js +54 -0
- package/dist/primitives/disclosure.js +138 -0
- package/dist/primitives/dot-matrix/dotm-3x3-10.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-3x3-10.js +29 -0
- package/dist/primitives/dot-matrix/dotm-3x3-12.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-3x3-12.js +19 -0
- package/dist/primitives/dot-matrix/dotm-3x3-13.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-3x3-13.js +19 -0
- package/dist/primitives/dot-matrix/dotm-3x3-15.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-3x3-15.js +22 -0
- package/dist/primitives/dot-matrix/dotm-3x3-16.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-3x3-16.js +5 -0
- package/dist/primitives/dot-matrix/dotm-3x3-18.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-3x3-18.js +5 -0
- package/dist/primitives/dot-matrix/dotm-3x3-19.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-3x3-19.js +5 -0
- package/dist/primitives/dot-matrix/dotm-3x3-2.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-3x3-2.js +3 -0
- package/dist/primitives/dot-matrix/dotm-3x3-20.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-3x3-20.js +5 -0
- package/dist/primitives/dot-matrix/dotm-3x3-21.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-3x3-21.js +5 -0
- package/dist/primitives/dot-matrix/dotm-3x3-3.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-3x3-3.js +3 -0
- package/dist/primitives/dot-matrix/dotm-3x3-4.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-3x3-4.js +3 -0
- package/dist/primitives/dot-matrix/dotm-3x3-5.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-3x3-5.js +3 -0
- package/dist/primitives/dot-matrix/dotm-3x3-6.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-3x3-6.js +19 -0
- package/dist/primitives/dot-matrix/dotm-3x3-7.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-3x3-7.js +19 -0
- package/dist/primitives/dot-matrix/dotm-3x3-8.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-3x3-8.js +19 -0
- package/dist/primitives/dot-matrix/dotm-3x3-9.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-3x3-9.js +23 -0
- package/dist/primitives/dot-matrix/dotm-circular-1.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-circular-1.js +28 -0
- package/dist/primitives/dot-matrix/dotm-circular-10.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-circular-10.js +40 -0
- package/dist/primitives/dot-matrix/dotm-circular-11.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-circular-11.js +37 -0
- package/dist/primitives/dot-matrix/dotm-circular-12.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-circular-12.js +42 -0
- package/dist/primitives/dot-matrix/dotm-circular-14.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-circular-14.js +37 -0
- package/dist/primitives/dot-matrix/dotm-circular-15.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-circular-15.js +49 -0
- package/dist/primitives/dot-matrix/dotm-circular-17.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-circular-17.js +31 -0
- package/dist/primitives/dot-matrix/dotm-circular-2.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-circular-2.js +37 -0
- package/dist/primitives/dot-matrix/dotm-circular-3.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-circular-3.js +54 -0
- package/dist/primitives/dot-matrix/dotm-circular-4.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-circular-4.js +35 -0
- package/dist/primitives/dot-matrix/dotm-circular-5.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-circular-5.js +30 -0
- package/dist/primitives/dot-matrix/dotm-circular-6.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-circular-6.js +37 -0
- package/dist/primitives/dot-matrix/dotm-circular-7.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-circular-7.js +25 -0
- package/dist/primitives/dot-matrix/dotm-circular-8.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-circular-8.js +26 -0
- package/dist/primitives/dot-matrix/dotm-circular-9.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-circular-9.js +41 -0
- package/dist/primitives/dot-matrix/dotm-square-1.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-square-1.js +27 -0
- package/dist/primitives/dot-matrix/dotm-square-10.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-square-10.js +27 -0
- package/dist/primitives/dot-matrix/dotm-square-11.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-square-11.js +25 -0
- package/dist/primitives/dot-matrix/dotm-square-12.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-square-12.js +28 -0
- package/dist/primitives/dot-matrix/dotm-square-13.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-square-13.js +45 -0
- package/dist/primitives/dot-matrix/dotm-square-14.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-square-14.js +38 -0
- package/dist/primitives/dot-matrix/dotm-square-15.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-square-15.js +31 -0
- package/dist/primitives/dot-matrix/dotm-square-16.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-square-16.js +33 -0
- package/dist/primitives/dot-matrix/dotm-square-17.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-square-17.js +27 -0
- package/dist/primitives/dot-matrix/dotm-square-18.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-square-18.js +29 -0
- package/dist/primitives/dot-matrix/dotm-square-19.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-square-19.js +74 -0
- package/dist/primitives/dot-matrix/dotm-square-2.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-square-2.js +72 -0
- package/dist/primitives/dot-matrix/dotm-square-20.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-square-20.js +79 -0
- package/dist/primitives/dot-matrix/dotm-square-3.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-square-3.js +23 -0
- package/dist/primitives/dot-matrix/dotm-square-4.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-square-4.js +41 -0
- package/dist/primitives/dot-matrix/dotm-square-5.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-square-5.js +23 -0
- package/dist/primitives/dot-matrix/dotm-square-6.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-square-6.js +20 -0
- package/dist/primitives/dot-matrix/dotm-square-7.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-square-7.js +43 -0
- package/dist/primitives/dot-matrix/dotm-square-8.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-square-8.js +57 -0
- package/dist/primitives/dot-matrix/dotm-square-9.d.ts +4 -0
- package/dist/primitives/dot-matrix/dotm-square-9.js +89 -0
- package/dist/primitives/dot-matrix/session-dot-matrix.d.ts +46 -0
- package/dist/primitives/drawer.js +37 -0
- package/dist/primitives/dropdown-menu.d.ts +52 -0
- package/dist/primitives/dropdown-menu.js +114 -0
- package/dist/primitives/emoji-picker.js +137 -0
- package/dist/primitives/empty-state.d.ts +14 -0
- package/dist/primitives/empty-state.js +23 -0
- package/dist/primitives/empty.js +33 -0
- package/dist/primitives/entity-avatar.js +106 -0
- package/dist/primitives/error-boundary.d.ts +24 -0
- package/dist/primitives/error-boundary.js +25 -0
- package/dist/primitives/error-state.d.ts +12 -0
- package/dist/primitives/error-state.js +21 -0
- package/dist/primitives/faded-scroll-area.js +80 -0
- package/dist/primitives/favicon-avatar.js +18 -0
- package/dist/primitives/field.d.ts +15 -0
- package/dist/primitives/field.js +48 -0
- package/dist/primitives/file-tree.js +30 -0
- package/dist/primitives/glyph-face.js +37 -0
- package/dist/primitives/glyph-paths-source.js +40 -0
- package/dist/primitives/glyph-paths.generated.js +207 -0
- package/dist/primitives/glyph-picker.js +118 -0
- package/dist/primitives/glyph-tint.js +93 -0
- package/dist/primitives/histogram-bars.js +93 -0
- package/dist/primitives/hover-card.d.ts +28 -0
- package/dist/primitives/hover-card.js +40 -0
- package/dist/primitives/icon-provider.js +30 -0
- package/dist/primitives/info-banner.js +72 -0
- package/dist/primitives/inline-meta.js +8 -0
- package/dist/primitives/input-group.js +73 -0
- package/dist/primitives/input.js +23 -0
- package/dist/primitives/item.d.ts +23 -0
- package/dist/primitives/item.js +67 -0
- package/dist/primitives/kbd.js +20 -0
- package/dist/primitives/kortix-asterisk.js +17 -0
- package/dist/primitives/kortix-loader.js +74 -0
- package/dist/primitives/kortix-logo.js +47 -0
- package/dist/primitives/label.js +9 -0
- package/dist/primitives/list.js +25 -0
- package/dist/primitives/loading.js +31 -0
- package/dist/primitives/map.js +257 -0
- package/dist/primitives/marker.d.ts +14 -0
- package/dist/primitives/marker.js +28 -0
- package/dist/primitives/menu-recipe.js +129 -0
- package/dist/primitives/mermaid-render.d.ts +52 -0
- package/dist/primitives/mermaid-render.js +135 -0
- package/dist/primitives/mermaid-renderer.js +262 -0
- package/dist/primitives/message.js +26 -0
- package/dist/primitives/modal.d.ts +107 -0
- package/dist/primitives/modal.js +181 -0
- package/dist/primitives/navigation-menu.js +35 -0
- package/dist/primitives/page-search-bar.js +13 -0
- package/dist/primitives/paper-wallpaper-shaders.d.ts +14 -0
- package/dist/primitives/paper-wallpaper-shaders.js +73 -0
- package/dist/primitives/phone-input.js +59 -0
- package/dist/primitives/pixel-kortix-mark.js +40 -0
- package/dist/primitives/popover.js +40 -0
- package/dist/primitives/portal.js +17 -0
- package/dist/primitives/preview-image.d.ts +17 -0
- package/dist/primitives/preview-image.js +59 -0
- package/dist/primitives/progress-ring.js +9 -0
- package/dist/primitives/progress.js +8 -0
- package/dist/primitives/project-icon-picker.d.ts +11 -0
- package/dist/primitives/project-icon-picker.js +56 -0
- package/dist/primitives/radio-group.js +20 -0
- package/dist/primitives/resizable.d.ts +24 -0
- package/dist/primitives/resizable.js +16 -0
- package/dist/primitives/scroll-area.js +11 -0
- package/dist/primitives/section-card.js +14 -0
- package/dist/primitives/section.js +22 -0
- package/dist/primitives/select.js +61 -0
- package/dist/primitives/separator.js +8 -0
- package/dist/primitives/settings-row.d.ts +54 -0
- package/dist/primitives/settings-row.js +43 -0
- package/dist/primitives/settings-section-header.d.ts +13 -0
- package/dist/primitives/settings-section-header.js +11 -0
- package/dist/primitives/settings-subsection-header.d.ts +48 -0
- package/dist/primitives/settings-subsection-header.js +37 -0
- package/dist/primitives/sheet.d.ts +35 -0
- package/dist/primitives/sheet.js +56 -0
- package/dist/primitives/sidebar-menu-primitives.d.ts +38 -0
- package/dist/primitives/sidebar-menu-primitives.js +97 -0
- package/dist/primitives/sidebar-panel.js +265 -0
- package/dist/primitives/sidebar.js +194 -0
- package/dist/primitives/skeleton.js +6 -0
- package/dist/primitives/slider-native.js +16 -0
- package/dist/primitives/slider.js +48 -0
- package/dist/primitives/sliding-tab-indicator.js +128 -0
- package/dist/primitives/split-sheet.js +239 -0
- package/dist/primitives/spotlight-card.js +43 -0
- package/dist/primitives/status.js +76 -0
- package/dist/primitives/stepper.js +73 -0
- package/dist/primitives/switch.js +131 -0
- package/dist/primitives/system-message.js +51 -0
- package/dist/primitives/table.js +28 -0
- package/dist/primitives/tabs.js +207 -0
- package/dist/primitives/tag.d.ts +7 -0
- package/dist/primitives/tag.js +22 -0
- package/dist/primitives/text-shimmer.js +91 -0
- package/dist/primitives/textarea.js +87 -0
- package/dist/primitives/toast.js +233 -0
- package/dist/primitives/toggle.d.ts +12 -0
- package/dist/primitives/toggle.js +26 -0
- package/dist/primitives/tooltip.js +19 -0
- package/dist/primitives/trigger-variants.js +67 -0
- package/dist/primitives/type-to-confirm-dialog.js +101 -0
- package/dist/primitives/typed-title.js +66 -0
- package/dist/primitives/typing-animation.js +141 -0
- package/dist/primitives/user-avatar.js +46 -0
- package/dist/primitives/wallpaper-shaders.d.ts +7 -0
- package/dist/primitives/wallpaper-shaders.js +50 -0
- package/dist/providers/motion-features.d.ts +1 -0
- package/dist/providers/motion-features.js +3 -0
- package/dist/providers/session-ids.d.ts +21 -0
- package/dist/providers/session-ids.js +13 -0
- package/dist/providers/ui-provider.d.ts +338 -86
- package/dist/providers/ui-provider.js +186 -61
- package/dist/providers/use-host-preview-url.d.ts +14 -0
- package/dist/providers/use-host-preview-url.js +32 -0
- package/dist/session/actions/project-session-list-helpers.d.ts +156 -0
- package/dist/session/actions/project-session-list-helpers.js +339 -0
- package/dist/session/actions/rename-session-cache.d.ts +35 -0
- package/dist/session/actions/rename-session-cache.js +50 -0
- package/dist/session/actions/session-delete-modal.d.ts +17 -0
- package/dist/session/actions/session-delete-modal.js +128 -0
- package/dist/session/actions/session-label.d.ts +107 -0
- package/dist/session/actions/session-label.js +149 -0
- package/dist/session/actions/use-rename-session.d.ts +9 -0
- package/dist/session/actions/use-rename-session.js +66 -0
- package/dist/session/actions/use-session-list-actions.d.ts +10 -0
- package/dist/session/actions/use-session-list-actions.js +51 -0
- package/dist/session/composer/ComposerAboveCard.d.ts +23 -0
- package/dist/session/composer/ComposerAboveCard.js +28 -0
- package/dist/session/composer/ComposerCard.d.ts +74 -0
- package/dist/session/composer/ComposerCard.js +63 -0
- package/dist/session/composer/agent-selector.d.ts +20 -0
- package/dist/session/composer/agent-selector.js +149 -0
- package/dist/session/composer/animated-placeholder.d.ts +65 -0
- package/dist/session/composer/animated-placeholder.js +119 -0
- package/dist/session/composer/attachment-submission.d.ts +184 -0
- package/dist/session/composer/attachment-submission.js +302 -0
- package/dist/session/composer/attachment-tile.d.ts +84 -0
- package/dist/session/composer/attachment-tile.js +124 -0
- package/dist/session/composer/attachment-tiles.d.ts +53 -0
- package/dist/session/composer/attachment-tiles.js +201 -0
- package/dist/session/composer/clipboard-files.d.ts +16 -0
- package/dist/session/composer/clipboard-files.js +23 -0
- package/dist/session/composer/command-attachments.d.ts +151 -0
- package/dist/session/composer/command-attachments.js +128 -0
- package/dist/session/composer/composer-agent-access.d.ts +83 -0
- package/dist/session/composer/composer-agent-access.js +89 -0
- package/dist/session/composer/composer-chat-input.d.ts +89 -0
- package/dist/session/composer/composer-chat-input.js +143 -0
- package/dist/session/composer/composer-draft-recovery.d.ts +42 -0
- package/dist/session/composer/composer-draft-recovery.js +83 -0
- package/dist/session/composer/composer-drop-zone.d.ts +22 -0
- package/dist/session/composer/composer-drop-zone.js +79 -0
- package/dist/session/composer/composer-logic.d.ts +395 -0
- package/dist/session/composer/composer-logic.js +389 -0
- package/dist/session/composer/composer-reset.d.ts +34 -0
- package/dist/session/composer/composer-reset.js +21 -0
- package/dist/session/composer/composer-text-metrics.d.ts +28 -0
- package/dist/session/composer/composer-text-metrics.js +28 -0
- package/dist/session/composer/composer-toolbar.d.ts +117 -0
- package/dist/session/composer/composer-toolbar.js +19 -0
- package/dist/session/composer/composer-underbar.d.ts +54 -0
- package/dist/session/composer/composer-underbar.js +58 -0
- package/dist/session/composer/composer.d.ts +356 -0
- package/dist/session/composer/composer.js +1455 -0
- package/dist/session/composer/context-ring.d.ts +6 -0
- package/dist/session/composer/context-ring.js +21 -0
- package/dist/session/composer/context-usage.d.ts +48 -0
- package/dist/session/composer/context-usage.js +93 -0
- package/dist/session/composer/delivery-chain.d.ts +28 -0
- package/dist/session/composer/delivery-chain.js +60 -0
- package/dist/session/composer/draft/composer-draft-store.d.ts +21 -0
- package/dist/session/composer/draft/composer-draft-store.js +41 -0
- package/dist/session/composer/draft/composer-draft.d.ts +142 -0
- package/dist/session/composer/draft/composer-draft.js +188 -0
- package/dist/session/composer/draft/draft-uploads.d.ts +29 -0
- package/dist/session/composer/draft/draft-uploads.js +84 -0
- package/dist/session/composer/draft/use-composer-draft.d.ts +49 -0
- package/dist/session/composer/draft/use-composer-draft.js +169 -0
- package/dist/session/composer/editor/composer-editor.d.ts +266 -0
- package/dist/session/composer/editor/composer-editor.js +436 -0
- package/dist/session/composer/editor/extensions.d.ts +65 -0
- package/dist/session/composer/editor/extensions.js +80 -0
- package/dist/session/composer/editor/first-visual-line.d.ts +13 -0
- package/dist/session/composer/editor/first-visual-line.js +19 -0
- package/dist/session/composer/editor/mention-node.d.ts +51 -0
- package/dist/session/composer/editor/mention-node.js +125 -0
- package/dist/session/composer/editor/serialize.d.ts +69 -0
- package/dist/session/composer/editor/serialize.js +175 -0
- package/dist/session/composer/editor/suggestion.d.ts +87 -0
- package/dist/session/composer/editor/suggestion.js +76 -0
- package/dist/session/composer/entitlements-pending.d.ts +60 -0
- package/dist/session/composer/entitlements-pending.js +57 -0
- package/dist/session/composer/esc-to-stop.d.ts +50 -0
- package/dist/session/composer/esc-to-stop.js +24 -0
- package/dist/session/composer/held-commands.d.ts +44 -0
- package/dist/session/composer/held-commands.js +41 -0
- package/dist/session/composer/held-send-guard.d.ts +9 -0
- package/dist/session/composer/held-send-guard.js +26 -0
- package/dist/session/composer/hooks/use-composer-escape-stop.d.ts +6 -0
- package/dist/session/composer/hooks/use-composer-escape-stop.js +28 -0
- package/dist/session/composer/hooks/use-composer-focus.d.ts +33 -0
- package/dist/session/composer/hooks/use-composer-focus.js +181 -0
- package/dist/session/composer/hooks/use-debounced-value.d.ts +8 -0
- package/dist/session/composer/hooks/use-debounced-value.js +27 -0
- package/dist/session/composer/hooks/use-file-search.d.ts +137 -0
- package/dist/session/composer/hooks/use-file-search.js +205 -0
- package/dist/session/composer/hooks/use-latest-ref.d.ts +8 -0
- package/dist/session/composer/hooks/use-latest-ref.js +15 -0
- package/dist/session/composer/inbox-live-prompt.d.ts +9 -0
- package/dist/session/composer/inbox-live-prompt.js +10 -0
- package/dist/session/composer/inbox-row-claims.d.ts +64 -0
- package/dist/session/composer/inbox-row-claims.js +61 -0
- package/dist/session/composer/index.d.ts +24 -0
- package/dist/session/composer/index.js +22 -0
- package/dist/session/composer/menus/mention-controller.d.ts +40 -0
- package/dist/session/composer/menus/mention-controller.js +107 -0
- package/dist/session/composer/menus/mention-menu.d.ts +45 -0
- package/dist/session/composer/menus/mention-menu.js +80 -0
- package/dist/session/composer/menus/menu-items.d.ts +27 -0
- package/dist/session/composer/menus/menu-items.js +89 -0
- package/dist/session/composer/menus/menu-nav-state.d.ts +169 -0
- package/dist/session/composer/menus/menu-nav-state.js +194 -0
- package/dist/session/composer/menus/menu-navigation.d.ts +3 -0
- package/dist/session/composer/menus/menu-navigation.js +29 -0
- package/dist/session/composer/menus/menu-selection.d.ts +15 -0
- package/dist/session/composer/menus/menu-selection.js +23 -0
- package/dist/session/composer/menus/menu-shell.d.ts +69 -0
- package/dist/session/composer/menus/menu-shell.js +91 -0
- package/dist/session/composer/menus/mount.d.ts +79 -0
- package/dist/session/composer/menus/mount.js +128 -0
- package/dist/session/composer/menus/slash-actions.d.ts +78 -0
- package/dist/session/composer/menus/slash-actions.js +89 -0
- package/dist/session/composer/menus/slash-controller.d.ts +80 -0
- package/dist/session/composer/menus/slash-controller.js +152 -0
- package/dist/session/composer/menus/slash-files.d.ts +69 -0
- package/dist/session/composer/menus/slash-files.js +97 -0
- package/dist/session/composer/menus/slash-items.d.ts +86 -0
- package/dist/session/composer/menus/slash-items.js +184 -0
- package/dist/session/composer/menus/slash-menu.d.ts +44 -0
- package/dist/session/composer/menus/slash-menu.js +138 -0
- package/dist/session/composer/pasted-text.d.ts +25 -0
- package/dist/session/composer/pasted-text.js +55 -0
- package/dist/session/composer/queue-projection.d.ts +102 -0
- package/dist/session/composer/queue-projection.js +144 -0
- package/dist/session/composer/queued-message-restore.d.ts +58 -0
- package/dist/session/composer/queued-message-restore.js +67 -0
- package/dist/session/composer/queued-prompt-edit.d.ts +79 -0
- package/dist/session/composer/queued-prompt-edit.js +114 -0
- package/dist/session/composer/queued-prompt-list.d.ts +36 -0
- package/dist/session/composer/queued-prompt-list.js +84 -0
- package/dist/session/composer/quote-list.d.ts +47 -0
- package/dist/session/composer/quote-list.js +41 -0
- package/dist/session/composer/reasoning-effort-selector.d.ts +36 -0
- package/dist/session/composer/reasoning-effort-selector.js +121 -0
- package/dist/session/composer/send-blockers.d.ts +101 -0
- package/dist/session/composer/send-blockers.js +122 -0
- package/dist/session/composer/send-stop-control.d.ts +39 -0
- package/dist/session/composer/send-stop-control.js +68 -0
- package/dist/session/composer/sent-attachment-previews.d.ts +59 -0
- package/dist/session/composer/sent-attachment-previews.js +128 -0
- package/dist/session/composer/session-chat-input.d.ts +8 -0
- package/dist/session/composer/session-chat-input.js +7 -0
- package/dist/session/composer/session-composer-readiness.d.ts +173 -0
- package/dist/session/composer/session-composer-readiness.js +158 -0
- package/dist/session/composer/stores/queued-draft-store.d.ts +46 -0
- package/dist/session/composer/stores/queued-draft-store.js +33 -0
- package/dist/session/composer/stores/session-composer-handoff-store.d.ts +125 -0
- package/dist/session/composer/stores/session-composer-handoff-store.js +142 -0
- package/dist/session/composer/stores/session-composer-prefill-store.d.ts +54 -0
- package/dist/session/composer/stores/session-composer-prefill-store.js +57 -0
- package/dist/session/composer/submit-latch.d.ts +9 -0
- package/dist/session/composer/submit-latch.js +27 -0
- package/dist/session/composer/token-progress.d.ts +35 -0
- package/dist/session/composer/token-progress.js +102 -0
- package/dist/session/composer/types.d.ts +60 -0
- package/dist/session/composer/types.js +9 -0
- package/dist/session/composer/uploaded-file-refs.d.ts +51 -0
- package/dist/session/composer/uploaded-file-refs.js +90 -0
- package/dist/session/composer/use-instant-session-send.d.ts +82 -0
- package/dist/session/composer/use-instant-session-send.js +383 -0
- package/dist/session/header/compact-modal.d.ts +10 -0
- package/dist/session/header/compact-modal.js +24 -0
- package/dist/session/header/export-transcript-modal.d.ts +31 -0
- package/dist/session/header/export-transcript-modal.js +158 -0
- package/dist/session/header/reminder-parts.d.ts +285 -0
- package/dist/session/header/reminder-parts.js +115 -0
- package/dist/session/header/session-changes-indicator.d.ts +3 -0
- package/dist/session/header/session-changes-indicator.js +82 -0
- package/dist/session/header/session-config-indicator.d.ts +34 -0
- package/dist/session/header/session-config-indicator.js +127 -0
- package/dist/session/header/session-pending-approvals-indicator.d.ts +3 -0
- package/dist/session/header/session-pending-approvals-indicator.js +43 -0
- package/dist/session/header/session-reload-progress-view.d.ts +4 -0
- package/dist/session/header/session-reload-progress-view.js +12 -0
- package/dist/session/header/session-reminders-indicator.d.ts +16 -0
- package/dist/session/header/session-reminders-indicator.js +185 -0
- package/dist/session/header/session-site-header.d.ts +12 -0
- package/dist/session/header/session-site-header.js +287 -0
- package/dist/session/header/session-title-input.d.ts +20 -0
- package/dist/session/header/session-title-input.js +56 -0
- package/dist/session/header/subagent-hover-card.d.ts +23 -0
- package/dist/session/header/subagent-hover-card.js +35 -0
- package/dist/session/index.d.ts +65 -0
- package/dist/session/index.js +63 -0
- package/dist/session/media/image-output-path.d.ts +9 -0
- package/dist/session/media/image-output-path.js +43 -0
- package/dist/session/media/image-preview.d.ts +11 -0
- package/dist/session/media/image-preview.js +13 -0
- package/dist/session/media/sandbox-image.d.ts +24 -0
- package/dist/session/media/sandbox-image.js +144 -0
- package/dist/session/media/sandbox-url-detector.d.ts +29 -0
- package/dist/session/media/sandbox-url-detector.js +180 -0
- package/dist/session/models/ask-owner-for-credits-button.d.ts +7 -0
- package/dist/session/models/ask-owner-for-credits-button.js +33 -0
- package/dist/session/models/chatgpt-connection-action.d.ts +22 -0
- package/dist/session/models/chatgpt-connection-action.js +33 -0
- package/dist/session/models/model-availability.d.ts +71 -0
- package/dist/session/models/model-availability.js +60 -0
- package/dist/session/models/model-connection-gate.d.ts +38 -0
- package/dist/session/models/model-connection-gate.js +76 -0
- package/dist/session/models/model-grouping.d.ts +85 -0
- package/dist/session/models/model-grouping.js +122 -0
- package/dist/session/models/model-search-empty.d.ts +6 -0
- package/dist/session/models/model-search-empty.js +10 -0
- package/dist/session/models/model-selector.d.ts +86 -0
- package/dist/session/models/model-selector.js +337 -0
- package/dist/session/models/model-tags.d.ts +27 -0
- package/dist/session/models/model-tags.js +35 -0
- package/dist/session/models/provider-failure-recovery.d.ts +11 -0
- package/dist/session/models/provider-failure-recovery.js +12 -0
- package/dist/session/models/use-model-connection-gate.d.ts +57 -0
- package/dist/session/models/use-model-connection-gate.js +165 -0
- package/dist/session/outcomes/anchor-outcomes.d.ts +18 -0
- package/dist/session/outcomes/anchor-outcomes.js +48 -0
- package/dist/session/outcomes/change-request-outcomes.d.ts +28 -0
- package/dist/session/outcomes/change-request-outcomes.js +80 -0
- package/dist/session/outcomes/session-outcomes-provider.d.ts +16 -0
- package/dist/session/outcomes/session-outcomes-provider.js +107 -0
- package/dist/session/outcomes/turn-outcomes.d.ts +10 -0
- package/dist/session/outcomes/turn-outcomes.js +38 -0
- package/dist/session/overrides/provider-pool-draft-context.d.ts +17 -0
- package/dist/session/overrides/provider-pool-draft-context.js +26 -0
- package/dist/session/overrides/provider-pool-draft.d.ts +48 -0
- package/dist/session/overrides/provider-pool-draft.js +62 -0
- package/dist/session/overrides/provider-secret-pool-editor.d.ts +13 -0
- package/dist/session/overrides/provider-secret-pool-editor.js +110 -0
- package/dist/session/overrides/session-overrides-composer.d.ts +44 -0
- package/dist/session/overrides/session-overrides-composer.js +41 -0
- package/dist/session/overrides/session-overrides-control.d.ts +71 -0
- package/dist/session/overrides/session-overrides-control.js +71 -0
- package/dist/session/overrides/session-overrides-toolbar.d.ts +56 -0
- package/dist/session/overrides/session-overrides-toolbar.js +323 -0
- package/dist/session/panel/action-panel.d.ts +1 -0
- package/dist/session/panel/action-panel.js +28 -0
- package/dist/session/panel/advanced/advanced-panel.d.ts +15 -0
- package/dist/session/panel/advanced/advanced-panel.js +67 -0
- package/dist/session/panel/audit/audit-credential-label.d.ts +20 -0
- package/dist/session/panel/audit/audit-credential-label.js +22 -0
- package/dist/session/panel/diff-dialog.d.ts +7 -0
- package/dist/session/panel/diff-dialog.js +24 -0
- package/dist/session/panel/easy/app-preview.d.ts +19 -0
- package/dist/session/panel/easy/app-preview.js +270 -0
- package/dist/session/panel/easy/apps-card.d.ts +5 -0
- package/dist/session/panel/easy/apps-card.js +67 -0
- package/dist/session/panel/easy/context-card.d.ts +18 -0
- package/dist/session/panel/easy/context-card.js +150 -0
- package/dist/session/panel/easy/detail-view.d.ts +193 -0
- package/dist/session/panel/easy/detail-view.js +385 -0
- package/dist/session/panel/easy/easy-panel-logic.d.ts +187 -0
- package/dist/session/panel/easy/easy-panel-logic.js +241 -0
- package/dist/session/panel/easy/easy-panel.d.ts +1 -0
- package/dist/session/panel/easy/easy-panel.js +66 -0
- package/dist/session/panel/easy/file-preview.d.ts +58 -0
- package/dist/session/panel/easy/file-preview.js +250 -0
- package/dist/session/panel/easy/outputs-card.d.ts +22 -0
- package/dist/session/panel/easy/outputs-card.js +209 -0
- package/dist/session/panel/easy/panel-card.d.ts +58 -0
- package/dist/session/panel/easy/panel-card.js +44 -0
- package/dist/session/panel/easy/plan-card.d.ts +20 -0
- package/dist/session/panel/easy/plan-card.js +108 -0
- package/dist/session/panel/easy/preview-load.d.ts +193 -0
- package/dist/session/panel/easy/preview-load.js +165 -0
- package/dist/session/panel/easy/step-detail-body.d.ts +24 -0
- package/dist/session/panel/easy/step-detail-body.js +33 -0
- package/dist/session/panel/easy/step-icon.d.ts +6 -0
- package/dist/session/panel/easy/step-icon.js +44 -0
- package/dist/session/panel/index.d.ts +17 -0
- package/dist/session/panel/index.js +17 -0
- package/dist/session/panel/mobile-tool-drawer.d.ts +5 -0
- package/dist/session/panel/mobile-tool-drawer.js +44 -0
- package/dist/session/panel/open-session-quick-view.d.ts +6 -0
- package/dist/session/panel/open-session-quick-view.js +77 -0
- package/dist/session/panel/panel-fallback.d.ts +8 -0
- package/dist/session/panel/panel-fallback.js +66 -0
- package/dist/session/panel/session-action-panel-column.d.ts +11 -0
- package/dist/session/panel/session-action-panel-column.js +180 -0
- package/dist/session/panel/session-audit-panel.d.ts +4 -0
- package/dist/session/panel/session-audit-panel.js +100 -0
- package/dist/session/panel/session-audit-shared.d.ts +102 -0
- package/dist/session/panel/session-audit-shared.js +188 -0
- package/dist/session/panel/session-changes-shared.d.ts +57 -0
- package/dist/session/panel/session-changes-shared.js +92 -0
- package/dist/session/panel/session-detail-panel.d.ts +1 -0
- package/dist/session/panel/session-detail-panel.js +50 -0
- package/dist/session/panel/session-diff-viewer.d.ts +12 -0
- package/dist/session/panel/session-diff-viewer.js +60 -0
- package/dist/session/panel/session-files-explorer-logic.d.ts +47 -0
- package/dist/session/panel/session-files-explorer-logic.js +48 -0
- package/dist/session/panel/session-files-explorer.d.ts +38 -0
- package/dist/session/panel/session-files-explorer.js +114 -0
- package/dist/session/panel/session-files-panel.d.ts +22 -0
- package/dist/session/panel/session-files-panel.js +98 -0
- package/dist/session/panel/session-files-store-registry.d.ts +3 -0
- package/dist/session/panel/session-files-store-registry.js +23 -0
- package/dist/session/panel/session-panel-header.d.ts +15 -0
- package/dist/session/panel/session-panel-header.js +23 -0
- package/dist/session/panel/session-panel-provider.d.ts +60 -0
- package/dist/session/panel/session-panel-provider.js +581 -0
- package/dist/session/panel/session-panel-sizing.d.ts +82 -0
- package/dist/session/panel/session-panel-sizing.js +109 -0
- package/dist/session/panel/session-reminders-panel.d.ts +4 -0
- package/dist/session/panel/session-reminders-panel.js +109 -0
- package/dist/session/panel/session-wallpaper-layer.d.ts +13 -0
- package/dist/session/panel/session-wallpaper-layer.js +17 -0
- package/dist/session/panel/shared/action-navigator-logic.d.ts +44 -0
- package/dist/session/panel/shared/action-navigator-logic.js +69 -0
- package/dist/session/panel/shared/action-navigator.d.ts +11 -0
- package/dist/session/panel/shared/action-navigator.js +65 -0
- package/dist/session/panel/shared/collect-tool-parts.d.ts +38 -0
- package/dist/session/panel/shared/collect-tool-parts.js +56 -0
- package/dist/session/panel/shared/deliverable-readiness.d.ts +22 -0
- package/dist/session/panel/shared/deliverable-readiness.js +34 -0
- package/dist/session/panel/shared/derive-panels.d.ts +81 -0
- package/dist/session/panel/shared/derive-panels.js +475 -0
- package/dist/session/panel/shared/latest-run.d.ts +9 -0
- package/dist/session/panel/shared/latest-run.js +22 -0
- package/dist/session/panel/shared/output-priority.d.ts +40 -0
- package/dist/session/panel/shared/output-priority.js +119 -0
- package/dist/session/panel/shared/run-outcome.d.ts +13 -0
- package/dist/session/panel/shared/run-outcome.js +34 -0
- package/dist/session/panel/shared/use-deliverable-readiness.d.ts +9 -0
- package/dist/session/panel/shared/use-deliverable-readiness.js +90 -0
- package/dist/session/panel/shared/use-panel-derivations.d.ts +23 -0
- package/dist/session/panel/shared/use-panel-derivations.js +64 -0
- package/dist/session/panel/shared/use-panel-handoffs.d.ts +13 -0
- package/dist/session/panel/shared/use-panel-handoffs.js +174 -0
- package/dist/session/panel/use-session-panel-layout.d.ts +22 -0
- package/dist/session/panel/use-session-panel-layout.js +222 -0
- package/dist/session/panel/use-session-panel-state.d.ts +19 -0
- package/dist/session/panel/use-session-panel-state.js +116 -0
- package/dist/session/participants/session-participants.d.ts +29 -0
- package/dist/session/participants/session-participants.js +58 -0
- package/dist/session/print/load-entire-history.d.ts +66 -0
- package/dist/session/print/load-entire-history.js +61 -0
- package/dist/session/print/print-chain.d.ts +64 -0
- package/dist/session/print/print-chain.js +69 -0
- package/dist/session/print/session-print-header.d.ts +16 -0
- package/dist/session/print/session-print-header.js +47 -0
- package/dist/session/print/use-session-print.d.ts +45 -0
- package/dist/session/print/use-session-print.js +108 -0
- package/dist/session/prompts/approval-request.d.ts +195 -0
- package/dist/session/prompts/approval-request.js +514 -0
- package/dist/session/prompts/question-prompt.d.ts +26 -0
- package/dist/session/prompts/question-prompt.js +224 -0
- package/dist/session/prompts/session-approval-prompt.d.ts +68 -0
- package/dist/session/prompts/session-approval-prompt.js +169 -0
- package/dist/session/prompts/session-approval-review.d.ts +85 -0
- package/dist/session/prompts/session-approval-review.js +176 -0
- package/dist/session/prompts/session-permission-prompt.d.ts +19 -0
- package/dist/session/prompts/session-permission-prompt.js +223 -0
- package/dist/session/scope/create-scoped-session.d.ts +12 -0
- package/dist/session/scope/create-scoped-session.js +28 -0
- package/dist/session/scope/session-scope-control.d.ts +31 -0
- package/dist/session/scope/session-scope-control.js +83 -0
- package/dist/session/scope/session-scope-model.d.ts +113 -0
- package/dist/session/scope/session-scope-model.js +249 -0
- package/dist/session/scope/session-scope-toolbar.d.ts +22 -0
- package/dist/session/scope/session-scope-toolbar.js +76 -0
- package/dist/session/scope/use-session-scope.d.ts +61 -0
- package/dist/session/scope/use-session-scope.js +206 -0
- package/dist/session/status/agent-git-reconciliation.d.ts +2 -0
- package/dist/session/status/agent-git-reconciliation.js +32 -0
- package/dist/session/status/previous-repository-session.d.ts +17 -0
- package/dist/session/status/previous-repository-session.js +130 -0
- package/dist/session/status/provisioning-failure.d.ts +22 -0
- package/dist/session/status/provisioning-failure.js +97 -0
- package/dist/session/status/reload-forensics.d.ts +77 -0
- package/dist/session/status/reload-forensics.js +200 -0
- package/dist/session/status/sandbox-loading-boundary.d.ts +3 -0
- package/dist/session/status/sandbox-loading-boundary.js +43 -0
- package/dist/session/status/session-busy-indicator.d.ts +19 -0
- package/dist/session/status/session-busy-indicator.js +55 -0
- package/dist/session/status/session-chat-busy.d.ts +17 -0
- package/dist/session/status/session-chat-busy.js +15 -0
- package/dist/session/status/session-error-banner.d.ts +82 -0
- package/dist/session/status/session-error-banner.js +327 -0
- package/dist/session/status/session-load-state.d.ts +98 -0
- package/dist/session/status/session-load-state.js +86 -0
- package/dist/session/status/session-notice-banner.d.ts +27 -0
- package/dist/session/status/session-notice-banner.js +27 -0
- package/dist/session/status/session-resume.d.ts +126 -0
- package/dist/session/status/session-resume.js +142 -0
- package/dist/session/status/session-route-prefetch.d.ts +40 -0
- package/dist/session/status/session-route-prefetch.js +18 -0
- package/dist/session/status/session-start-gate.d.ts +27 -0
- package/dist/session/status/session-start-gate.js +25 -0
- package/dist/session/status/session-starting-loader.d.ts +83 -0
- package/dist/session/status/session-starting-loader.js +190 -0
- package/dist/session/status/session-surface.d.ts +175 -0
- package/dist/session/status/session-surface.js +129 -0
- package/dist/session/status/session-tab-title-sync.d.ts +20 -0
- package/dist/session/status/session-tab-title-sync.js +44 -0
- package/dist/session/status/session-tab-title.d.ts +33 -0
- package/dist/session/status/session-tab-title.js +60 -0
- package/dist/session/status/session-terminal-state.d.ts +70 -0
- package/dist/session/status/session-terminal-state.js +62 -0
- package/dist/session/status/stop-refusal.d.ts +14 -0
- package/dist/session/status/stop-refusal.js +21 -0
- package/dist/session/status/use-readiness-settling.d.ts +18 -0
- package/dist/session/status/use-readiness-settling.js +43 -0
- package/dist/session/thread/chat-minimap-items.d.ts +94 -0
- package/dist/session/thread/chat-minimap-items.js +234 -0
- package/dist/session/thread/chat-minimap.d.ts +8 -0
- package/dist/session/thread/chat-minimap.js +138 -0
- package/dist/session/thread/detect-command.d.ts +13 -0
- package/dist/session/thread/detect-command.js +117 -0
- package/dist/session/thread/first-prompt-handover.d.ts +54 -0
- package/dist/session/thread/first-prompt-handover.js +78 -0
- package/dist/session/thread/mention-chip.d.ts +51 -0
- package/dist/session/thread/mention-chip.js +86 -0
- package/dist/session/thread/mention-segments.d.ts +47 -0
- package/dist/session/thread/mention-segments.js +117 -0
- package/dist/session/thread/message-parsing.d.ts +80 -0
- package/dist/session/thread/message-parsing.js +244 -0
- package/dist/session/thread/optimistic-turn.d.ts +93 -0
- package/dist/session/thread/optimistic-turn.js +209 -0
- package/dist/session/thread/persisted-turn-failure.d.ts +25 -0
- package/dist/session/thread/persisted-turn-failure.js +36 -0
- package/dist/session/thread/pinned-root-session.d.ts +16 -0
- package/dist/session/thread/pinned-root-session.js +18 -0
- package/dist/session/thread/plan-surface.d.ts +9 -0
- package/dist/session/thread/plan-surface.js +29 -0
- package/dist/session/thread/reply-context.d.ts +38 -0
- package/dist/session/thread/reply-context.js +179 -0
- package/dist/session/thread/session-body.d.ts +28 -0
- package/dist/session/thread/session-body.js +50 -0
- package/dist/session/thread/session-chat.d.ts +67 -0
- package/dist/session/thread/session-chat.js +3676 -0
- package/dist/session/thread/session-context-message-explorer.d.ts +44 -0
- package/dist/session/thread/session-context-message-explorer.js +118 -0
- package/dist/session/thread/session-context-metrics.d.ts +24 -0
- package/dist/session/thread/session-context-metrics.js +44 -0
- package/dist/session/thread/session-context-modal.d.ts +34 -0
- package/dist/session/thread/session-context-modal.js +228 -0
- package/dist/session/thread/session-context-sub-sessions.d.ts +16 -0
- package/dist/session/thread/session-context-sub-sessions.js +142 -0
- package/dist/session/thread/session-history-scroll.d.ts +55 -0
- package/dist/session/thread/session-history-scroll.js +88 -0
- package/dist/session/thread/session-history.d.ts +22 -0
- package/dist/session/thread/session-history.js +90 -0
- package/dist/session/thread/session-older-autoload.d.ts +82 -0
- package/dist/session/thread/session-older-autoload.js +55 -0
- package/dist/session/thread/session-older-loading.d.ts +41 -0
- package/dist/session/thread/session-older-loading.js +57 -0
- package/dist/session/thread/session-thread.d.ts +35 -0
- package/dist/session/thread/session-thread.js +13 -0
- package/dist/session/thread/session-transcript-class.d.ts +19 -0
- package/dist/session/thread/session-transcript-class.js +19 -0
- package/dist/session/thread/session-turn-meta-rows.d.ts +44 -0
- package/dist/session/thread/session-turn-meta-rows.js +82 -0
- package/dist/session/thread/session-turn-meta.d.ts +9 -0
- package/dist/session/thread/session-turn-meta.js +54 -0
- package/dist/session/thread/session-welcome.d.ts +1 -0
- package/dist/session/thread/session-welcome.js +7 -0
- package/dist/session/thread/sub-session-modal-content.d.ts +8 -0
- package/dist/session/thread/sub-session-modal-content.js +23 -0
- package/dist/session/thread/sub-session-modal.d.ts +2 -0
- package/dist/session/thread/sub-session-modal.js +14 -0
- package/dist/session/thread/transcript.d.ts +351 -0
- package/dist/session/thread/transcript.js +1213 -0
- package/dist/session/tool/foreign-tool-calls.d.ts +11 -0
- package/dist/session/tool/foreign-tool-calls.js +60 -0
- package/dist/session/tool/generic-tool.d.ts +16 -0
- package/dist/session/tool/generic-tool.js +74 -0
- package/dist/session/tool/inline-permission-reply.d.ts +8 -0
- package/dist/session/tool/inline-permission-reply.js +18 -0
- package/dist/session/tool/shared/error-and-connector.d.ts +19 -0
- package/dist/session/tool/shared/error-and-connector.js +106 -0
- package/dist/session/tool/shared/file-list.d.ts +35 -0
- package/dist/session/tool/shared/file-list.js +91 -0
- package/dist/session/tool/shared/infrastructure-contexts.d.ts +65 -0
- package/dist/session/tool/shared/infrastructure-contexts.js +101 -0
- package/dist/session/tool/shared/infrastructure-files.d.ts +60 -0
- package/dist/session/tool/shared/infrastructure-files.js +129 -0
- package/dist/session/tool/shared/infrastructure-output.d.ts +32 -0
- package/dist/session/tool/shared/infrastructure-output.js +93 -0
- package/dist/session/tool/shared/infrastructure-parts.d.ts +18 -0
- package/dist/session/tool/shared/infrastructure-parts.js +201 -0
- package/dist/session/tool/shared/infrastructure-preview.d.ts +60 -0
- package/dist/session/tool/shared/infrastructure-preview.js +245 -0
- package/dist/session/tool/shared/infrastructure-row-header.d.ts +53 -0
- package/dist/session/tool/shared/infrastructure-row-header.js +133 -0
- package/dist/session/tool/shared/infrastructure-rows.d.ts +2 -0
- package/dist/session/tool/shared/infrastructure-rows.js +153 -0
- package/dist/session/tool/shared/infrastructure.d.ts +9 -0
- package/dist/session/tool/shared/infrastructure.js +10 -0
- package/dist/session/tool/shared/output-block.d.ts +66 -0
- package/dist/session/tool/shared/output-block.js +71 -0
- package/dist/session/tool/shared/patch-helpers.d.ts +26 -0
- package/dist/session/tool/shared/patch-helpers.js +52 -0
- package/dist/session/tool/shared/registry.d.ts +17 -0
- package/dist/session/tool/shared/registry.js +55 -0
- package/dist/session/tool/shared/result-card.d.ts +28 -0
- package/dist/session/tool/shared/result-card.js +54 -0
- package/dist/session/tool/shared/session-helpers.d.ts +17 -0
- package/dist/session/tool/shared/session-helpers.js +116 -0
- package/dist/session/tool/shared/show-helpers.d.ts +96 -0
- package/dist/session/tool/shared/show-helpers.js +359 -0
- package/dist/session/tool/shared/structured-output.d.ts +4 -0
- package/dist/session/tool/shared/structured-output.js +51 -0
- package/dist/session/tool/shared/sub-agent.d.ts +57 -0
- package/dist/session/tool/shared/sub-agent.js +103 -0
- package/dist/session/tool/shared/surface.d.ts +80 -0
- package/dist/session/tool/shared/surface.js +84 -0
- package/dist/session/tool/shared/todo-helpers.d.ts +24 -0
- package/dist/session/tool/shared/todo-helpers.js +95 -0
- package/dist/session/tool/shared/tool-action-bar.d.ts +21 -0
- package/dist/session/tool/shared/tool-action-bar.js +14 -0
- package/dist/session/tool/shared/types.d.ts +42 -0
- package/dist/session/tool/shared/types.js +1 -0
- package/dist/session/tool/shared/web-source-row.d.ts +4 -0
- package/dist/session/tool/shared/web-source-row.js +26 -0
- package/dist/session/tool/show-group-renderer.d.ts +19 -0
- package/dist/session/tool/show-group-renderer.js +22 -0
- package/dist/session/tool/tool-error.d.ts +4 -0
- package/dist/session/tool/tool-error.js +30 -0
- package/dist/session/tool/tool-meta.d.ts +15 -0
- package/dist/session/tool/tool-meta.js +27 -0
- package/dist/session/tool/tool-part-renderer.d.ts +39 -0
- package/dist/session/tool/tool-part-renderer.js +150 -0
- package/dist/session/tool/tool-renderers.d.ts +8 -0
- package/dist/session/tool/tool-renderers.js +8 -0
- package/dist/session/tool/tools/agent-message-tool.d.ts +2 -0
- package/dist/session/tool/tools/agent-message-tool.js +29 -0
- package/dist/session/tool/tools/agent-spawn-tool.d.ts +2 -0
- package/dist/session/tool/tools/agent-spawn-tool.js +69 -0
- package/dist/session/tool/tools/agent-status-tool.d.ts +2 -0
- package/dist/session/tool/tools/agent-status-tool.js +47 -0
- package/dist/session/tool/tools/agent-stop-tool.d.ts +2 -0
- package/dist/session/tool/tools/agent-stop-tool.js +17 -0
- package/dist/session/tool/tools/agent-task-update-tool.d.ts +2 -0
- package/dist/session/tool/tools/agent-task-update-tool.js +43 -0
- package/dist/session/tool/tools/apply-patch-tool.d.ts +2 -0
- package/dist/session/tool/tools/apply-patch-tool.js +122 -0
- package/dist/session/tool/tools/bash-tool.d.ts +54 -0
- package/dist/session/tool/tools/bash-tool.js +279 -0
- package/dist/session/tool/tools/channel-send-card.d.ts +18 -0
- package/dist/session/tool/tools/channel-send-card.js +42 -0
- package/dist/session/tool/tools/channel-send.d.ts +38 -0
- package/dist/session/tool/tools/channel-send.js +191 -0
- package/dist/session/tool/tools/codemode-tool.d.ts +21 -0
- package/dist/session/tool/tools/codemode-tool.js +106 -0
- package/dist/session/tool/tools/connector-get-tool.d.ts +2 -0
- package/dist/session/tool/tools/connector-get-tool.js +22 -0
- package/dist/session/tool/tools/connector-list-tool.d.ts +2 -0
- package/dist/session/tool/tools/connector-list-tool.js +27 -0
- package/dist/session/tool/tools/connector-setup-tool.d.ts +2 -0
- package/dist/session/tool/tools/connector-setup-tool.js +39 -0
- package/dist/session/tool/tools/connector-tools.d.ts +5 -0
- package/dist/session/tool/tools/connector-tools.js +129 -0
- package/dist/session/tool/tools/edit-tool.d.ts +2 -0
- package/dist/session/tool/tools/edit-tool.js +123 -0
- package/dist/session/tool/tools/get-mem-tool.d.ts +2 -0
- package/dist/session/tool/tools/get-mem-tool.js +57 -0
- package/dist/session/tool/tools/glob-tool.d.ts +2 -0
- package/dist/session/tool/tools/glob-tool.js +70 -0
- package/dist/session/tool/tools/grep-tool.d.ts +2 -0
- package/dist/session/tool/tools/grep-tool.js +48 -0
- package/dist/session/tool/tools/image-gen-tool.d.ts +2 -0
- package/dist/session/tool/tools/image-gen-tool.js +61 -0
- package/dist/session/tool/tools/image-search-tool.d.ts +2 -0
- package/dist/session/tool/tools/image-search-tool.js +90 -0
- package/dist/session/tool/tools/list-tool.d.ts +2 -0
- package/dist/session/tool/tools/list-tool.js +57 -0
- package/dist/session/tool/tools/memory-search-tool.d.ts +11 -0
- package/dist/session/tool/tools/memory-search-tool.js +65 -0
- package/dist/session/tool/tools/memory-tool.d.ts +51 -0
- package/dist/session/tool/tools/memory-tool.js +175 -0
- package/dist/session/tool/tools/presentation-gen-tool.d.ts +2 -0
- package/dist/session/tool/tools/presentation-gen-tool.js +83 -0
- package/dist/session/tool/tools/project-create-tool.d.ts +2 -0
- package/dist/session/tool/tools/project-create-tool.js +39 -0
- package/dist/session/tool/tools/project-delete-tool.d.ts +2 -0
- package/dist/session/tool/tools/project-delete-tool.js +55 -0
- package/dist/session/tool/tools/project-get-tool.d.ts +2 -0
- package/dist/session/tool/tools/project-get-tool.js +24 -0
- package/dist/session/tool/tools/project-list-tool.d.ts +2 -0
- package/dist/session/tool/tools/project-list-tool.js +22 -0
- package/dist/session/tool/tools/project-select-tool.d.ts +2 -0
- package/dist/session/tool/tools/project-select-tool.js +36 -0
- package/dist/session/tool/tools/pty-kill-tool.d.ts +2 -0
- package/dist/session/tool/tools/pty-kill-tool.js +26 -0
- package/dist/session/tool/tools/pty-read-tool.d.ts +21 -0
- package/dist/session/tool/tools/pty-read-tool.js +100 -0
- package/dist/session/tool/tools/pty-spawn-tool.d.ts +2 -0
- package/dist/session/tool/tools/pty-spawn-tool.js +54 -0
- package/dist/session/tool/tools/pty-write-tool.d.ts +2 -0
- package/dist/session/tool/tools/pty-write-tool.js +20 -0
- package/dist/session/tool/tools/question-tool.d.ts +2 -0
- package/dist/session/tool/tools/question-tool.js +79 -0
- package/dist/session/tool/tools/read-tool.d.ts +2 -0
- package/dist/session/tool/tools/read-tool.js +72 -0
- package/dist/session/tool/tools/register.d.ts +55 -0
- package/dist/session/tool/tools/register.js +55 -0
- package/dist/session/tool/tools/removed-connector-tool.d.ts +2 -0
- package/dist/session/tool/tools/removed-connector-tool.js +21 -0
- package/dist/session/tool/tools/scrape-webpage-tool.d.ts +2 -0
- package/dist/session/tool/tools/scrape-webpage-tool.js +81 -0
- package/dist/session/tool/tools/session-get-tool.d.ts +3 -0
- package/dist/session/tool/tools/session-get-tool.js +45 -0
- package/dist/session/tool/tools/session-lineage-tool.d.ts +2 -0
- package/dist/session/tool/tools/session-lineage-tool.js +28 -0
- package/dist/session/tool/tools/session-list-background-tool.d.ts +2 -0
- package/dist/session/tool/tools/session-list-background-tool.js +31 -0
- package/dist/session/tool/tools/session-message-tool.d.ts +2 -0
- package/dist/session/tool/tools/session-message-tool.js +23 -0
- package/dist/session/tool/tools/session-read-tool.d.ts +2 -0
- package/dist/session/tool/tools/session-read-tool.js +79 -0
- package/dist/session/tool/tools/session-search-tool.d.ts +2 -0
- package/dist/session/tool/tools/session-search-tool.js +31 -0
- package/dist/session/tool/tools/session-spawn-tool.d.ts +2 -0
- package/dist/session/tool/tools/session-spawn-tool.js +58 -0
- package/dist/session/tool/tools/session-spawn-urls.d.ts +16 -0
- package/dist/session/tool/tools/session-spawn-urls.js +26 -0
- package/dist/session/tool/tools/session-stats-tool.d.ts +2 -0
- package/dist/session/tool/tools/session-stats-tool.js +17 -0
- package/dist/session/tool/tools/show-tool.d.ts +13 -0
- package/dist/session/tool/tools/show-tool.js +197 -0
- package/dist/session/tool/tools/skill-tool.d.ts +10 -0
- package/dist/session/tool/tools/skill-tool.js +47 -0
- package/dist/session/tool/tools/task-delete-tool.d.ts +2 -0
- package/dist/session/tool/tools/task-delete-tool.js +21 -0
- package/dist/session/tool/tools/task-done-tool.d.ts +2 -0
- package/dist/session/tool/tools/task-done-tool.js +19 -0
- package/dist/session/tool/tools/task-list-tool.d.ts +2 -0
- package/dist/session/tool/tools/task-list-tool.js +21 -0
- package/dist/session/tool/tools/task-tool.d.ts +24 -0
- package/dist/session/tool/tools/task-tool.js +140 -0
- package/dist/session/tool/tools/todo-write-tool.d.ts +2 -0
- package/dist/session/tool/tools/todo-write-tool.js +53 -0
- package/dist/session/tool/tools/triggers-tool.d.ts +2 -0
- package/dist/session/tool/tools/triggers-tool.js +132 -0
- package/dist/session/tool/tools/video-gen-tool.d.ts +2 -0
- package/dist/session/tool/tools/video-gen-tool.js +21 -0
- package/dist/session/tool/tools/web-fetch-tool.d.ts +2 -0
- package/dist/session/tool/tools/web-fetch-tool.js +53 -0
- package/dist/session/tool/tools/web-search-tool.d.ts +2 -0
- package/dist/session/tool/tools/web-search-tool.js +64 -0
- package/dist/session/tool/tools/write-tool.d.ts +23 -0
- package/dist/session/tool/tools/write-tool.js +92 -0
- package/dist/session/turn/activity-burst.d.ts +65 -0
- package/dist/session/turn/activity-burst.js +117 -0
- package/dist/session/turn/activity-file-chips.d.ts +44 -0
- package/dist/session/turn/activity-file-chips.js +238 -0
- package/dist/session/turn/activity-group-step.d.ts +101 -0
- package/dist/session/turn/activity-group-step.js +62 -0
- package/dist/session/turn/activity-step.d.ts +34 -0
- package/dist/session/turn/activity-step.js +116 -0
- package/dist/session/turn/answered-question-step.d.ts +15 -0
- package/dist/session/turn/answered-question-step.js +58 -0
- package/dist/session/turn/attachment-preview.d.ts +7 -0
- package/dist/session/turn/attachment-preview.js +46 -0
- package/dist/session/turn/burst-step-body.d.ts +20 -0
- package/dist/session/turn/burst-step-body.js +68 -0
- package/dist/session/turn/burst-summary-trigger.d.ts +7 -0
- package/dist/session/turn/burst-summary-trigger.js +17 -0
- package/dist/session/turn/chain-step-trigger.d.ts +7 -0
- package/dist/session/turn/chain-step-trigger.js +7 -0
- package/dist/session/turn/channel-brand.d.ts +22 -0
- package/dist/session/turn/channel-brand.js +34 -0
- package/dist/session/turn/channel-message.d.ts +27 -0
- package/dist/session/turn/channel-message.js +33 -0
- package/dist/session/turn/checkpoint.d.ts +8 -0
- package/dist/session/turn/checkpoint.js +11 -0
- package/dist/session/turn/compaction-card.d.ts +41 -0
- package/dist/session/turn/compaction-card.js +82 -0
- package/dist/session/turn/expandable-output.d.ts +87 -0
- package/dist/session/turn/expandable-output.js +147 -0
- package/dist/session/turn/fallback-row.d.ts +10 -0
- package/dist/session/turn/fallback-row.js +31 -0
- package/dist/session/turn/message-author-label.d.ts +5 -0
- package/dist/session/turn/message-author-label.js +63 -0
- package/dist/session/turn/message-author.d.ts +47 -0
- package/dist/session/turn/message-author.js +75 -0
- package/dist/session/turn/message-time-label.d.ts +14 -0
- package/dist/session/turn/message-time-label.js +103 -0
- package/dist/session/turn/plan-anchor.d.ts +92 -0
- package/dist/session/turn/plan-anchor.js +59 -0
- package/dist/session/turn/plan-card.d.ts +113 -0
- package/dist/session/turn/plan-card.js +316 -0
- package/dist/session/turn/queued-prompt-bubbles.d.ts +23 -0
- package/dist/session/turn/queued-prompt-bubbles.js +27 -0
- package/dist/session/turn/same-parts.d.ts +21 -0
- package/dist/session/turn/same-parts.js +31 -0
- package/dist/session/turn/served-model.d.ts +63 -0
- package/dist/session/turn/served-model.js +92 -0
- package/dist/session/turn/source-pill.d.ts +26 -0
- package/dist/session/turn/source-pill.js +20 -0
- package/dist/session/turn/status-elapsed.d.ts +12 -0
- package/dist/session/turn/status-elapsed.js +14 -0
- package/dist/session/turn/streaming-cadence.d.ts +69 -0
- package/dist/session/turn/streaming-cadence.js +304 -0
- package/dist/session/turn/thought-chain-step.d.ts +58 -0
- package/dist/session/turn/thought-chain-step.js +161 -0
- package/dist/session/turn/throttled-markdown.d.ts +38 -0
- package/dist/session/turn/throttled-markdown.js +123 -0
- package/dist/session/turn/turn-viewport.d.ts +146 -0
- package/dist/session/turn/turn-viewport.js +165 -0
- package/dist/session/turn/turn-work-accordion.d.ts +12 -0
- package/dist/session/turn/turn-work-accordion.js +25 -0
- package/dist/session/turn/user-message.d.ts +353 -0
- package/dist/session/turn/user-message.js +1089 -0
- package/dist/styles/components.css +187 -0
- package/dist/styles/print.css +461 -0
- package/dist/styles/theme.css +82 -41
- package/dist/styles/tokens.css +8 -8
- package/dist/styles.css +1 -1
- package/dist/terminal/index.d.ts +7 -0
- package/dist/terminal/index.js +7 -0
- package/dist/terminal/pty-attach-status.d.ts +15 -0
- package/dist/terminal/pty-attach-status.js +42 -0
- package/dist/terminal/pty-connection.d.ts +83 -0
- package/dist/terminal/pty-connection.js +86 -0
- package/dist/terminal/pty-terminal-sanitize.d.ts +2 -0
- package/dist/terminal/pty-terminal-sanitize.js +26 -0
- package/dist/terminal/pty-terminal.d.ts +19 -0
- package/dist/terminal/pty-terminal.js +162 -0
- package/dist/terminal/session-terminal-connect-bar.d.ts +15 -0
- package/dist/terminal/session-terminal-connect-bar.js +67 -0
- package/dist/terminal/session-terminal-panel.d.ts +17 -0
- package/dist/terminal/session-terminal-panel.js +242 -0
- package/dist/terminal/terminal-card-gate.d.ts +51 -0
- package/dist/terminal/terminal-card-gate.js +54 -0
- package/dist/terminal/use-pty-connection.d.ts +59 -0
- package/dist/terminal/use-pty-connection.js +380 -0
- package/dist/theme/index.d.ts +3 -0
- package/dist/theme/index.js +5 -0
- package/dist/theme/theme-scope.d.ts +24 -0
- package/dist/theme/theme-scope.js +39 -0
- package/dist/theme/theme.d.ts +123 -0
- package/dist/theme/theme.js +224 -0
- package/dist/theme/wallpapers.d.ts +26 -0
- package/dist/theme/wallpapers.js +54 -0
- package/dist/workspace/home/access-requests-bell.d.ts +34 -0
- package/dist/workspace/home/access-requests-bell.js +48 -0
- package/dist/workspace/home/first-chat-name.d.ts +7 -0
- package/dist/workspace/home/first-chat-name.js +12 -0
- package/dist/workspace/home/first-chat.d.ts +39 -0
- package/dist/workspace/home/first-chat.js +101 -0
- package/dist/workspace/home/home-greeting.d.ts +34 -0
- package/dist/workspace/home/home-greeting.js +27 -0
- package/dist/workspace/home/mobile-app-promo.d.ts +7 -0
- package/dist/workspace/home/mobile-app-promo.js +55 -0
- package/dist/workspace/home/sandbox-picker.d.ts +13 -0
- package/dist/workspace/home/sandbox-picker.js +24 -0
- package/dist/workspace/home/welcome-body.d.ts +54 -0
- package/dist/workspace/home/welcome-body.js +67 -0
- package/dist/workspace/index.d.ts +25 -0
- package/dist/workspace/index.js +25 -0
- package/dist/workspace/instant-session-shell.d.ts +48 -0
- package/dist/workspace/instant-session-shell.js +216 -0
- package/dist/workspace/layout/new-session-create.d.ts +26 -0
- package/dist/workspace/layout/new-session-create.js +41 -0
- package/dist/workspace/layout/project-files-skeleton.d.ts +15 -0
- package/dist/workspace/layout/project-files-skeleton.js +19 -0
- package/dist/workspace/layout/project-files-view.d.ts +3 -0
- package/dist/workspace/layout/project-files-view.js +54 -0
- package/dist/workspace/layout/project-home.d.ts +39 -0
- package/dist/workspace/layout/project-home.js +195 -0
- package/dist/workspace/layout/resolve-files-ref.d.ts +29 -0
- package/dist/workspace/layout/resolve-files-ref.js +18 -0
- package/dist/workspace/layout/sidebar-cookie.d.ts +12 -0
- package/dist/workspace/layout/sidebar-cookie.js +17 -0
- package/dist/workspace/layout/use-project-home-send.d.ts +20 -0
- package/dist/workspace/layout/use-project-home-send.js +136 -0
- package/dist/workspace/new/account-param.d.ts +3 -0
- package/dist/workspace/new/account-param.js +34 -0
- package/dist/workspace/new/account-picker.d.ts +71 -0
- package/dist/workspace/new/account-picker.js +92 -0
- package/dist/workspace/new/advanced-fields.d.ts +30 -0
- package/dist/workspace/new/advanced-fields.js +261 -0
- package/dist/workspace/new/clone-param.d.ts +11 -0
- package/dist/workspace/new/clone-param.js +15 -0
- package/dist/workspace/new/create-workspace-key.d.ts +10 -0
- package/dist/workspace/new/create-workspace-key.js +106 -0
- package/dist/workspace/new/github-source.d.ts +136 -0
- package/dist/workspace/new/github-source.js +205 -0
- package/dist/workspace/new/github-user-authorization.d.ts +28 -0
- package/dist/workspace/new/github-user-authorization.js +37 -0
- package/dist/workspace/new/new-workspace-form.d.ts +179 -0
- package/dist/workspace/new/new-workspace-form.js +247 -0
- package/dist/workspace/new/repository-options.d.ts +89 -0
- package/dist/workspace/new/repository-options.js +126 -0
- package/dist/workspace/new/source-param.d.ts +19 -0
- package/dist/workspace/new/source-param.js +20 -0
- package/dist/workspace/new/use-creatable-accounts.d.ts +8 -0
- package/dist/workspace/new/use-creatable-accounts.js +24 -0
- package/dist/workspace/new/use-create-workspace.d.ts +520 -0
- package/dist/workspace/new/use-create-workspace.js +751 -0
- package/dist/workspace/new/use-project-quota.d.ts +24 -0
- package/dist/workspace/new/use-project-quota.js +30 -0
- package/dist/workspace/new/workspace-handoff.d.ts +52 -0
- package/dist/workspace/new/workspace-handoff.js +76 -0
- package/dist/workspace/new/workspace-name.d.ts +27 -0
- package/dist/workspace/new/workspace-name.js +71 -0
- package/dist/workspace/project-selector/project-selector-model.d.ts +99 -0
- package/dist/workspace/project-selector/project-selector-model.js +151 -0
- package/dist/workspace/projects/modal/github-import-pickers.d.ts +16 -0
- package/dist/workspace/projects/modal/github-import-pickers.js +78 -0
- package/dist/workspace/projects/modal/project-icon-field.d.ts +74 -0
- package/dist/workspace/projects/modal/project-icon-field.js +225 -0
- package/dist/workspace/projects/onboarding/app-logo.d.ts +5 -0
- package/dist/workspace/projects/onboarding/app-logo.js +18 -0
- package/dist/workspace/projects/onboarding/connect-app.d.ts +37 -0
- package/dist/workspace/projects/onboarding/connect-app.js +48 -0
- package/dist/workspace/projects/policies-panel.d.ts +58 -0
- package/dist/workspace/projects/policies-panel.js +270 -0
- package/dist/workspace/projects/session-shared-icon.d.ts +8 -0
- package/dist/workspace/projects/session-shared-icon.js +12 -0
- package/dist/workspace/projects/session-starter.d.ts +19 -0
- package/dist/workspace/projects/session-starter.js +17 -0
- package/dist/workspace/repository-disconnected.d.ts +12 -0
- package/dist/workspace/repository-disconnected.js +28 -0
- package/dist/workspace/review/approval-modal.d.ts +43 -0
- package/dist/workspace/review/approval-modal.js +91 -0
- package/dist/workspace/review/change-files.d.ts +3 -0
- package/dist/workspace/review/change-files.js +58 -0
- package/dist/workspace/review/hooks/use-review-items.d.ts +64 -0
- package/dist/workspace/review/hooks/use-review-items.js +109 -0
- package/dist/workspace/review/map.d.ts +24 -0
- package/dist/workspace/review/map.js +47 -0
- package/dist/workspace/review/mock-data.d.ts +10 -0
- package/dist/workspace/review/mock-data.js +408 -0
- package/dist/workspace/review/review-actions.d.ts +98 -0
- package/dist/workspace/review/review-actions.js +177 -0
- package/dist/workspace/review/review-center.d.ts +46 -0
- package/dist/workspace/review/review-center.js +798 -0
- package/dist/workspace/review/review-detail.d.ts +30 -0
- package/dist/workspace/review/review-detail.js +210 -0
- package/dist/workspace/review/review-meta.d.ts +59 -0
- package/dist/workspace/review/review-meta.js +100 -0
- package/dist/workspace/review/review-reducer.d.ts +51 -0
- package/dist/workspace/review/review-reducer.js +120 -0
- package/dist/workspace/review/types.d.ts +42 -0
- package/dist/workspace/review/types.js +16 -0
- package/dist/workspace/saved-session-skeleton-rows.d.ts +18 -0
- package/dist/workspace/saved-session-skeleton-rows.js +20 -0
- package/dist/workspace/saved-session-skeleton-shape.d.ts +65 -0
- package/dist/workspace/saved-session-skeleton-shape.js +75 -0
- package/dist/workspace/saved-session-skeleton.d.ts +7 -0
- package/dist/workspace/saved-session-skeleton.js +43 -0
- package/dist/workspace/session-workspace.d.ts +35 -0
- package/dist/workspace/session-workspace.js +234 -0
- package/dist/workspace/sessions/deleted-session-row.d.ts +11 -0
- package/dist/workspace/sessions/deleted-session-row.js +25 -0
- package/dist/workspace/sessions/project-sessions-helpers.d.ts +88 -0
- package/dist/workspace/sessions/project-sessions-helpers.js +208 -0
- package/dist/workspace/sessions/project-sessions-view.d.ts +3 -0
- package/dist/workspace/sessions/project-sessions-view.js +571 -0
- package/dist/workspace/sessions/session-detail.d.ts +10 -0
- package/dist/workspace/sessions/session-detail.js +20 -0
- package/dist/workspace/sessions/session-label-badges.d.ts +7 -0
- package/dist/workspace/sessions/session-label-badges.js +13 -0
- package/dist/workspace/sessions/session-owner-filters.d.ts +61 -0
- package/dist/workspace/sessions/session-owner-filters.js +106 -0
- package/dist/workspace/sessions/session-row.d.ts +57 -0
- package/dist/workspace/sessions/session-row.js +156 -0
- package/dist/workspace/sessions/session-starter-mark.d.ts +15 -0
- package/dist/workspace/sessions/session-starter-mark.js +53 -0
- package/dist/workspace/sessions/sessions-bulk-delete-dialog.d.ts +8 -0
- package/dist/workspace/sessions/sessions-bulk-delete-dialog.js +15 -0
- package/dist/workspace/sessions/sessions-empty-state.d.ts +16 -0
- package/dist/workspace/sessions/sessions-empty-state.js +25 -0
- package/dist/workspace/sessions/sessions-selection-bar.d.ts +15 -0
- package/dist/workspace/sessions/sessions-selection-bar.js +14 -0
- package/dist/workspace/sessions/sessions-toolbar.d.ts +18 -0
- package/dist/workspace/sessions/sessions-toolbar.js +40 -0
- package/dist/workspace/sidebar/customize-sidebar-modal.d.ts +9 -0
- package/dist/workspace/sidebar/customize-sidebar-modal.js +198 -0
- package/dist/workspace/sidebar/footer/project-apps-nav.d.ts +10 -0
- package/dist/workspace/sidebar/footer/project-apps-nav.js +34 -0
- package/dist/workspace/sidebar/footer/project-balance-warning.d.ts +10 -0
- package/dist/workspace/sidebar/footer/project-balance-warning.js +47 -0
- package/dist/workspace/sidebar/footer/project-computer-nav.d.ts +17 -0
- package/dist/workspace/sidebar/footer/project-computer-nav.js +71 -0
- package/dist/workspace/sidebar/footer/project-files-nav.d.ts +29 -0
- package/dist/workspace/sidebar/footer/project-files-nav.js +80 -0
- package/dist/workspace/sidebar/footer/project-manifest-upgrade-alert.d.ts +13 -0
- package/dist/workspace/sidebar/footer/project-manifest-upgrade-alert.js +48 -0
- package/dist/workspace/sidebar/footer/project-mcp-nav.d.ts +10 -0
- package/dist/workspace/sidebar/footer/project-mcp-nav.js +46 -0
- package/dist/workspace/sidebar/footer/project-rooms-nav.d.ts +9 -0
- package/dist/workspace/sidebar/footer/project-rooms-nav.js +32 -0
- package/dist/workspace/sidebar/footer/project-sandbox-alert.d.ts +3 -0
- package/dist/workspace/sidebar/footer/project-sandbox-alert.js +125 -0
- package/dist/workspace/sidebar/footer/project-upgrade-button.d.ts +6 -0
- package/dist/workspace/sidebar/footer/project-upgrade-button.js +46 -0
- package/dist/workspace/sidebar/footer/promo-nav-row.d.ts +10 -0
- package/dist/workspace/sidebar/footer/promo-nav-row.js +7 -0
- package/dist/workspace/sidebar/footer/sandbox-alert-state.d.ts +31 -0
- package/dist/workspace/sidebar/footer/sandbox-alert-state.js +47 -0
- package/dist/workspace/sidebar/footer/sandbox-health.d.ts +22 -0
- package/dist/workspace/sidebar/footer/sandbox-health.js +107 -0
- package/dist/workspace/sidebar/footer/sidebar-alert.d.ts +54 -0
- package/dist/workspace/sidebar/footer/sidebar-alert.js +86 -0
- package/dist/workspace/sidebar/invitations-menu-group.d.ts +6 -0
- package/dist/workspace/sidebar/invitations-menu-group.js +56 -0
- package/dist/workspace/sidebar/modal/rename-session-modal.d.ts +10 -0
- package/dist/workspace/sidebar/modal/rename-session-modal.js +41 -0
- package/dist/workspace/sidebar/modal/session-labels-modal.d.ts +13 -0
- package/dist/workspace/sidebar/modal/session-labels-modal.js +91 -0
- package/dist/workspace/sidebar/modal/session-labels.d.ts +10 -0
- package/dist/workspace/sidebar/modal/session-labels.js +17 -0
- package/dist/workspace/sidebar/modal/session-public-link-section.d.ts +13 -0
- package/dist/workspace/sidebar/modal/session-public-link-section.js +66 -0
- package/dist/workspace/sidebar/modal/share-session-access.d.ts +33 -0
- package/dist/workspace/sidebar/modal/share-session-access.js +44 -0
- package/dist/workspace/sidebar/modal/share-session-cache.d.ts +15 -0
- package/dist/workspace/sidebar/modal/share-session-cache.js +16 -0
- package/dist/workspace/sidebar/modal/share-session-modal.d.ts +8 -0
- package/dist/workspace/sidebar/modal/share-session-modal.js +109 -0
- package/dist/workspace/sidebar/nav-row-meta.d.ts +14 -0
- package/dist/workspace/sidebar/nav-row-meta.js +70 -0
- package/dist/workspace/sidebar/project-nav-items.d.ts +12 -0
- package/dist/workspace/sidebar/project-nav-items.js +99 -0
- package/dist/workspace/sidebar/project-session-list.d.ts +5 -0
- package/dist/workspace/sidebar/project-session-list.js +608 -0
- package/dist/workspace/sidebar/project-sidebar.d.ts +15 -0
- package/dist/workspace/sidebar/project-sidebar.js +101 -0
- package/dist/workspace/sidebar/session-brief-hover-card.d.ts +68 -0
- package/dist/workspace/sidebar/session-brief-hover-card.js +230 -0
- package/dist/workspace/sidebar/session-filter-menu.d.ts +79 -0
- package/dist/workspace/sidebar/session-filter-menu.js +253 -0
- package/dist/workspace/sidebar/session-grouping.d.ts +142 -0
- package/dist/workspace/sidebar/session-grouping.js +199 -0
- package/dist/workspace/sidebar/session-label-facet.d.ts +14 -0
- package/dist/workspace/sidebar/session-label-facet.js +19 -0
- package/dist/workspace/sidebar/session-open-intent.d.ts +30 -0
- package/dist/workspace/sidebar/session-open-intent.js +58 -0
- package/dist/workspace/sidebar/session-section-labels.d.ts +3 -0
- package/dist/workspace/sidebar/session-section-labels.js +4 -0
- package/dist/workspace/sidebar/session-source-icons.d.ts +19 -0
- package/dist/workspace/sidebar/session-source-icons.js +31 -0
- package/dist/workspace/sidebar/session-status-mark.d.ts +19 -0
- package/dist/workspace/sidebar/session-status-mark.js +70 -0
- package/dist/workspace/sidebar/session-title.d.ts +24 -0
- package/dist/workspace/sidebar/session-title.js +26 -0
- package/dist/workspace/sidebar/workspace-grouping.d.ts +83 -0
- package/dist/workspace/sidebar/workspace-grouping.js +135 -0
- package/dist/workspace/sidebar/workspace-menu-model.d.ts +12 -0
- package/dist/workspace/sidebar/workspace-menu-model.js +108 -0
- package/dist/workspace/sidebar/workspace-menu-section.d.ts +1 -0
- package/dist/workspace/sidebar/workspace-menu-section.js +124 -0
- package/package.json +1819 -417
- package/skills/kortix-ui/SKILL.md +76 -76
- package/skills/kortix-ui/references/custom-dashboard.md +471 -0
- package/skills/kortix-ui/references/modules.md +417 -0
- package/skills/kortix-ui/references/theming.md +107 -0
- package/dist/chat/agent-picker.d.ts +0 -8
- package/dist/chat/agent-picker.js +0 -18
- package/dist/chat/composer.d.ts +0 -31
- package/dist/chat/composer.js +0 -114
- package/dist/chat/index.d.ts +0 -22
- package/dist/chat/index.js +0 -22
- package/dist/chat/markdown.d.ts +0 -10
- package/dist/chat/markdown.js +0 -36
- package/dist/chat/message-list.d.ts +0 -25
- package/dist/chat/message-list.js +0 -73
- package/dist/chat/message-view.d.ts +0 -17
- package/dist/chat/message-view.js +0 -86
- package/dist/chat/model-picker.d.ts +0 -10
- package/dist/chat/model-picker.js +0 -68
- package/dist/chat/permission-prompt.d.ts +0 -10
- package/dist/chat/permission-prompt.js +0 -40
- package/dist/chat/question-prompt.d.ts +0 -8
- package/dist/chat/question-prompt.js +0 -60
- package/dist/chat/send-failure.d.ts +0 -9
- package/dist/chat/send-failure.js +0 -21
- package/dist/chat/session-thread.d.ts +0 -28
- package/dist/chat/session-thread.js +0 -47
- package/dist/chat/streaming-markdown.d.ts +0 -21
- package/dist/chat/streaming-markdown.js +0 -59
- package/dist/chat/tool-call.d.ts +0 -4
- package/dist/chat/tool-call.js +0 -150
- package/dist/chat/user-message-parts.d.ts +0 -6
- package/dist/chat/user-message-parts.js +0 -11
- package/dist/components/ui/accordion.js +0 -18
- package/dist/components/ui/alert-dialog.js +0 -48
- package/dist/components/ui/alert.d.ts +0 -13
- package/dist/components/ui/alert.js +0 -67
- package/dist/components/ui/avatar.js +0 -23
- package/dist/components/ui/back-pill.js +0 -18
- package/dist/components/ui/badge.d.ts +0 -10
- package/dist/components/ui/badge.js +0 -42
- package/dist/components/ui/breadcrumb.js +0 -28
- package/dist/components/ui/bubble.d.ts +0 -20
- package/dist/components/ui/bubble.js +0 -38
- package/dist/components/ui/button-group.js +0 -32
- package/dist/components/ui/button.d.ts +0 -13
- package/dist/components/ui/button.js +0 -67
- package/dist/components/ui/calendar.js +0 -39
- package/dist/components/ui/card.d.ts +0 -96
- package/dist/components/ui/card.js +0 -291
- package/dist/components/ui/chain-of-thought.js +0 -66
- package/dist/components/ui/chart.js +0 -118
- package/dist/components/ui/checkbox-group.js +0 -41
- package/dist/components/ui/checkbox.js +0 -27
- package/dist/components/ui/collapsible.js +0 -14
- package/dist/components/ui/command.js +0 -135
- package/dist/components/ui/confirm-dialog.js +0 -30
- package/dist/components/ui/context-menu.d.ts +0 -45
- package/dist/components/ui/context-menu.js +0 -93
- package/dist/components/ui/count-badge.d.ts +0 -26
- package/dist/components/ui/count-badge.js +0 -26
- package/dist/components/ui/data-grid.js +0 -107
- package/dist/components/ui/date-range-picker.js +0 -190
- package/dist/components/ui/definition-list.js +0 -26
- package/dist/components/ui/dialog.d.ts +0 -29
- package/dist/components/ui/dialog.js +0 -52
- package/dist/components/ui/disclosure.js +0 -138
- package/dist/components/ui/dot-matrix/dotm-3x3-10.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-3x3-10.js +0 -29
- package/dist/components/ui/dot-matrix/dotm-3x3-12.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-3x3-12.js +0 -19
- package/dist/components/ui/dot-matrix/dotm-3x3-13.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-3x3-13.js +0 -19
- package/dist/components/ui/dot-matrix/dotm-3x3-15.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-3x3-15.js +0 -22
- package/dist/components/ui/dot-matrix/dotm-3x3-16.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-3x3-16.js +0 -5
- package/dist/components/ui/dot-matrix/dotm-3x3-18.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-3x3-18.js +0 -5
- package/dist/components/ui/dot-matrix/dotm-3x3-19.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-3x3-19.js +0 -5
- package/dist/components/ui/dot-matrix/dotm-3x3-2.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-3x3-2.js +0 -3
- package/dist/components/ui/dot-matrix/dotm-3x3-20.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-3x3-20.js +0 -5
- package/dist/components/ui/dot-matrix/dotm-3x3-21.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-3x3-21.js +0 -5
- package/dist/components/ui/dot-matrix/dotm-3x3-3.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-3x3-3.js +0 -3
- package/dist/components/ui/dot-matrix/dotm-3x3-4.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-3x3-4.js +0 -3
- package/dist/components/ui/dot-matrix/dotm-3x3-5.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-3x3-5.js +0 -3
- package/dist/components/ui/dot-matrix/dotm-3x3-6.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-3x3-6.js +0 -19
- package/dist/components/ui/dot-matrix/dotm-3x3-7.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-3x3-7.js +0 -19
- package/dist/components/ui/dot-matrix/dotm-3x3-8.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-3x3-8.js +0 -19
- package/dist/components/ui/dot-matrix/dotm-3x3-9.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-3x3-9.js +0 -23
- package/dist/components/ui/dot-matrix/dotm-circular-1.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-circular-1.js +0 -28
- package/dist/components/ui/dot-matrix/dotm-circular-10.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-circular-10.js +0 -40
- package/dist/components/ui/dot-matrix/dotm-circular-11.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-circular-11.js +0 -37
- package/dist/components/ui/dot-matrix/dotm-circular-12.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-circular-12.js +0 -42
- package/dist/components/ui/dot-matrix/dotm-circular-14.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-circular-14.js +0 -37
- package/dist/components/ui/dot-matrix/dotm-circular-15.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-circular-15.js +0 -49
- package/dist/components/ui/dot-matrix/dotm-circular-17.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-circular-17.js +0 -31
- package/dist/components/ui/dot-matrix/dotm-circular-2.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-circular-2.js +0 -37
- package/dist/components/ui/dot-matrix/dotm-circular-3.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-circular-3.js +0 -54
- package/dist/components/ui/dot-matrix/dotm-circular-4.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-circular-4.js +0 -35
- package/dist/components/ui/dot-matrix/dotm-circular-5.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-circular-5.js +0 -30
- package/dist/components/ui/dot-matrix/dotm-circular-6.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-circular-6.js +0 -37
- package/dist/components/ui/dot-matrix/dotm-circular-7.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-circular-7.js +0 -25
- package/dist/components/ui/dot-matrix/dotm-circular-8.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-circular-8.js +0 -26
- package/dist/components/ui/dot-matrix/dotm-circular-9.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-circular-9.js +0 -41
- package/dist/components/ui/dot-matrix/dotm-square-1.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-square-1.js +0 -27
- package/dist/components/ui/dot-matrix/dotm-square-10.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-square-10.js +0 -27
- package/dist/components/ui/dot-matrix/dotm-square-11.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-square-11.js +0 -25
- package/dist/components/ui/dot-matrix/dotm-square-12.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-square-12.js +0 -28
- package/dist/components/ui/dot-matrix/dotm-square-13.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-square-13.js +0 -45
- package/dist/components/ui/dot-matrix/dotm-square-14.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-square-14.js +0 -38
- package/dist/components/ui/dot-matrix/dotm-square-15.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-square-15.js +0 -31
- package/dist/components/ui/dot-matrix/dotm-square-16.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-square-16.js +0 -33
- package/dist/components/ui/dot-matrix/dotm-square-17.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-square-17.js +0 -27
- package/dist/components/ui/dot-matrix/dotm-square-18.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-square-18.js +0 -29
- package/dist/components/ui/dot-matrix/dotm-square-19.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-square-19.js +0 -74
- package/dist/components/ui/dot-matrix/dotm-square-2.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-square-2.js +0 -72
- package/dist/components/ui/dot-matrix/dotm-square-20.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-square-20.js +0 -79
- package/dist/components/ui/dot-matrix/dotm-square-3.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-square-3.js +0 -23
- package/dist/components/ui/dot-matrix/dotm-square-4.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-square-4.js +0 -41
- package/dist/components/ui/dot-matrix/dotm-square-5.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-square-5.js +0 -23
- package/dist/components/ui/dot-matrix/dotm-square-6.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-square-6.js +0 -20
- package/dist/components/ui/dot-matrix/dotm-square-7.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-square-7.js +0 -43
- package/dist/components/ui/dot-matrix/dotm-square-8.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-square-8.js +0 -57
- package/dist/components/ui/dot-matrix/dotm-square-9.d.ts +0 -4
- package/dist/components/ui/dot-matrix/dotm-square-9.js +0 -89
- package/dist/components/ui/dot-matrix/session-dot-matrix.d.ts +0 -46
- package/dist/components/ui/drawer.js +0 -35
- package/dist/components/ui/dropdown-menu.d.ts +0 -49
- package/dist/components/ui/dropdown-menu.js +0 -113
- package/dist/components/ui/emoji-picker.js +0 -137
- package/dist/components/ui/empty.js +0 -33
- package/dist/components/ui/entity-avatar.js +0 -106
- package/dist/components/ui/faded-scroll-area.js +0 -80
- package/dist/components/ui/favicon-avatar.js +0 -18
- package/dist/components/ui/field.d.ts +0 -15
- package/dist/components/ui/field.js +0 -48
- package/dist/components/ui/file-tree.js +0 -30
- package/dist/components/ui/glyph-face.js +0 -37
- package/dist/components/ui/glyph-paths-source.js +0 -40
- package/dist/components/ui/glyph-paths.generated.js +0 -207
- package/dist/components/ui/glyph-picker.js +0 -118
- package/dist/components/ui/glyph-tint.js +0 -93
- package/dist/components/ui/histogram-bars.js +0 -93
- package/dist/components/ui/hover-card.d.ts +0 -28
- package/dist/components/ui/hover-card.js +0 -35
- package/dist/components/ui/icon-provider.js +0 -30
- package/dist/components/ui/info-banner.js +0 -72
- package/dist/components/ui/inline-meta.js +0 -8
- package/dist/components/ui/input-group.js +0 -73
- package/dist/components/ui/input.js +0 -23
- package/dist/components/ui/item.d.ts +0 -23
- package/dist/components/ui/item.js +0 -67
- package/dist/components/ui/kbd.js +0 -20
- package/dist/components/ui/kortix-asterisk.js +0 -17
- package/dist/components/ui/kortix-loader.js +0 -74
- package/dist/components/ui/kortix-logo.js +0 -47
- package/dist/components/ui/label.js +0 -9
- package/dist/components/ui/list.js +0 -25
- package/dist/components/ui/loading.js +0 -31
- package/dist/components/ui/map.js +0 -257
- package/dist/components/ui/marker.d.ts +0 -14
- package/dist/components/ui/marker.js +0 -28
- package/dist/components/ui/menu-recipe.js +0 -129
- package/dist/components/ui/mermaid-render.d.ts +0 -51
- package/dist/components/ui/mermaid-render.js +0 -65
- package/dist/components/ui/mermaid-renderer.js +0 -340
- package/dist/components/ui/message.js +0 -26
- package/dist/components/ui/modal.d.ts +0 -104
- package/dist/components/ui/modal.js +0 -180
- package/dist/components/ui/navigation-menu.js +0 -35
- package/dist/components/ui/page-search-bar.js +0 -13
- package/dist/components/ui/phone-input.js +0 -59
- package/dist/components/ui/pixel-kortix-mark.js +0 -40
- package/dist/components/ui/popover.js +0 -38
- package/dist/components/ui/portal.js +0 -15
- package/dist/components/ui/preview-image.d.ts +0 -14
- package/dist/components/ui/preview-image.js +0 -58
- package/dist/components/ui/progress-ring.js +0 -9
- package/dist/components/ui/progress.js +0 -8
- package/dist/components/ui/radio-group.js +0 -20
- package/dist/components/ui/resizable.d.ts +0 -24
- package/dist/components/ui/resizable.js +0 -16
- package/dist/components/ui/scroll-area.js +0 -11
- package/dist/components/ui/section-card.js +0 -14
- package/dist/components/ui/section.js +0 -22
- package/dist/components/ui/select.js +0 -59
- package/dist/components/ui/separator.js +0 -8
- package/dist/components/ui/sheet.d.ts +0 -32
- package/dist/components/ui/sheet.js +0 -55
- package/dist/components/ui/sidebar-menu-primitives.d.ts +0 -38
- package/dist/components/ui/sidebar-menu-primitives.js +0 -97
- package/dist/components/ui/sidebar-panel.js +0 -265
- package/dist/components/ui/sidebar.js +0 -194
- package/dist/components/ui/skeleton.js +0 -6
- package/dist/components/ui/slider-native.js +0 -16
- package/dist/components/ui/slider.js +0 -48
- package/dist/components/ui/sliding-tab-indicator.js +0 -128
- package/dist/components/ui/split-sheet.js +0 -239
- package/dist/components/ui/spotlight-card.js +0 -43
- package/dist/components/ui/status.js +0 -76
- package/dist/components/ui/stepper.js +0 -73
- package/dist/components/ui/switch.js +0 -131
- package/dist/components/ui/system-message.js +0 -51
- package/dist/components/ui/table.js +0 -28
- package/dist/components/ui/tabs.js +0 -207
- package/dist/components/ui/tag.d.ts +0 -7
- package/dist/components/ui/tag.js +0 -22
- package/dist/components/ui/text-shimmer.js +0 -91
- package/dist/components/ui/textarea.js +0 -87
- package/dist/components/ui/toast.js +0 -233
- package/dist/components/ui/toggle.d.ts +0 -12
- package/dist/components/ui/toggle.js +0 -26
- package/dist/components/ui/tooltip.js +0 -16
- package/dist/components/ui/trigger-variants.js +0 -67
- package/dist/components/ui/type-to-confirm-dialog.js +0 -101
- package/dist/components/ui/typed-title.js +0 -66
- package/dist/components/ui/typing-animation.js +0 -141
- package/dist/components/ui/user-avatar.js +0 -46
- /package/dist/{components/ui → primitives}/accordion.d.ts +0 -0
- /package/dist/{components/ui → primitives}/alert-dialog.d.ts +0 -0
- /package/dist/{components/ui → primitives}/avatar.d.ts +0 -0
- /package/dist/{components/ui → primitives}/back-pill.d.ts +0 -0
- /package/dist/{components/ui → primitives}/breadcrumb.d.ts +0 -0
- /package/dist/{components/ui → primitives}/button-group.d.ts +0 -0
- /package/dist/{components/ui → primitives}/calendar.d.ts +0 -0
- /package/dist/{components/ui → primitives}/chain-of-thought.d.ts +0 -0
- /package/dist/{components/ui → primitives}/chart.d.ts +0 -0
- /package/dist/{components/ui → primitives}/checkbox-group.d.ts +0 -0
- /package/dist/{components/ui → primitives}/checkbox.d.ts +0 -0
- /package/dist/{components/ui → primitives}/collapsible.d.ts +0 -0
- /package/dist/{components/ui → primitives}/command.d.ts +0 -0
- /package/dist/{components/ui → primitives}/confirm-dialog.d.ts +0 -0
- /package/dist/{components/ui → primitives}/data-grid.d.ts +0 -0
- /package/dist/{components/ui → primitives}/date-range-picker.d.ts +0 -0
- /package/dist/{components/ui → primitives}/definition-list.d.ts +0 -0
- /package/dist/{components/ui → primitives}/disclosure.d.ts +0 -0
- /package/dist/{components/ui → primitives}/dot-matrix/session-dot-matrix.js +0 -0
- /package/dist/{components/ui → primitives}/drawer.d.ts +0 -0
- /package/dist/{components/ui → primitives}/emoji-picker.d.ts +0 -0
- /package/dist/{components/ui → primitives}/emoji-tint.d.ts +0 -0
- /package/dist/{components/ui → primitives}/emoji-tint.js +0 -0
- /package/dist/{components/ui → primitives}/empty.d.ts +0 -0
- /package/dist/{components/ui → primitives}/entity-avatar.d.ts +0 -0
- /package/dist/{components/ui → primitives}/faded-scroll-area.d.ts +0 -0
- /package/dist/{components/ui → primitives}/favicon-avatar.d.ts +0 -0
- /package/dist/{components/ui → primitives}/file-tree.d.ts +0 -0
- /package/dist/{components/ui → primitives}/glyph-face.d.ts +0 -0
- /package/dist/{components/ui → primitives}/glyph-paths-source.d.ts +0 -0
- /package/dist/{components/ui → primitives}/glyph-paths.generated.d.ts +0 -0
- /package/dist/{components/ui → primitives}/glyph-picker.d.ts +0 -0
- /package/dist/{components/ui → primitives}/glyph-registry.d.ts +0 -0
- /package/dist/{components/ui → primitives}/glyph-registry.js +0 -0
- /package/dist/{components/ui → primitives}/glyph-tint.d.ts +0 -0
- /package/dist/{components/ui → primitives}/hint.d.ts +0 -0
- /package/dist/{components/ui → primitives}/hint.js +0 -0
- /package/dist/{components/ui → primitives}/histogram-bars.d.ts +0 -0
- /package/dist/{components/ui → primitives}/icon-provider.d.ts +0 -0
- /package/dist/{components/ui → primitives}/info-banner.d.ts +0 -0
- /package/dist/{components/ui → primitives}/inline-meta.d.ts +0 -0
- /package/dist/{components/ui → primitives}/input-group.d.ts +0 -0
- /package/dist/{components/ui → primitives}/input.d.ts +0 -0
- /package/dist/{components/ui → primitives}/kbd.d.ts +0 -0
- /package/dist/{components/ui → primitives}/kortix-asterisk.d.ts +0 -0
- /package/dist/{components/ui → primitives}/kortix-icons.d.ts +0 -0
- /package/dist/{components/ui → primitives}/kortix-icons.js +0 -0
- /package/dist/{components/ui → primitives}/kortix-loader.d.ts +0 -0
- /package/dist/{components/ui → primitives}/kortix-logo.d.ts +0 -0
- /package/dist/{components/ui → primitives}/label.d.ts +0 -0
- /package/dist/{components/ui → primitives}/list.d.ts +0 -0
- /package/dist/{components/ui → primitives}/loading.d.ts +0 -0
- /package/dist/{components/ui → primitives}/local-time.d.ts +0 -0
- /package/dist/{components/ui → primitives}/local-time.js +0 -0
- /package/dist/{components/ui → primitives}/map.d.ts +0 -0
- /package/dist/{components/ui → primitives}/menu-recipe.d.ts +0 -0
- /package/dist/{components/ui → primitives}/mermaid-renderer.d.ts +0 -0
- /package/dist/{components/ui → primitives}/message.d.ts +0 -0
- /package/dist/{components/ui → primitives}/navigation-menu.d.ts +0 -0
- /package/dist/{components/ui → primitives}/page-search-bar.d.ts +0 -0
- /package/dist/{components/ui → primitives}/phone-input.d.ts +0 -0
- /package/dist/{components/ui → primitives}/pixel-kortix-mark.d.ts +0 -0
- /package/dist/{components/ui → primitives}/popover.d.ts +0 -0
- /package/dist/{components/ui → primitives}/portal.d.ts +0 -0
- /package/dist/{components/ui → primitives}/progress-ring.d.ts +0 -0
- /package/dist/{components/ui → primitives}/progress.d.ts +0 -0
- /package/dist/{components/ui → primitives}/radio-group.d.ts +0 -0
- /package/dist/{components/ui → primitives}/scroll-area.d.ts +0 -0
- /package/dist/{components/ui → primitives}/section-card.d.ts +0 -0
- /package/dist/{components/ui → primitives}/section.d.ts +0 -0
- /package/dist/{components/ui → primitives}/select.d.ts +0 -0
- /package/dist/{components/ui → primitives}/separator.d.ts +0 -0
- /package/dist/{components/ui → primitives}/shader-safe.d.ts +0 -0
- /package/dist/{components/ui → primitives}/shader-safe.js +0 -0
- /package/dist/{components/ui → primitives}/sidebar-context.d.ts +0 -0
- /package/dist/{components/ui → primitives}/sidebar-context.js +0 -0
- /package/dist/{components/ui → primitives}/sidebar-panel.d.ts +0 -0
- /package/dist/{components/ui → primitives}/sidebar-peek.d.ts +0 -0
- /package/dist/{components/ui → primitives}/sidebar-peek.js +0 -0
- /package/dist/{components/ui → primitives}/sidebar-width.d.ts +0 -0
- /package/dist/{components/ui → primitives}/sidebar-width.js +0 -0
- /package/dist/{components/ui → primitives}/sidebar.d.ts +0 -0
- /package/dist/{components/ui → primitives}/skeleton.d.ts +0 -0
- /package/dist/{components/ui → primitives}/slider-native.d.ts +0 -0
- /package/dist/{components/ui → primitives}/slider.d.ts +0 -0
- /package/dist/{components/ui → primitives}/sliding-tab-indicator.d.ts +0 -0
- /package/dist/{components/ui → primitives}/split-sheet.d.ts +0 -0
- /package/dist/{components/ui → primitives}/spotlight-card.d.ts +0 -0
- /package/dist/{components/ui → primitives}/status-ring.d.ts +0 -0
- /package/dist/{components/ui → primitives}/status-ring.js +0 -0
- /package/dist/{components/ui → primitives}/status.d.ts +0 -0
- /package/dist/{components/ui → primitives}/stepper.d.ts +0 -0
- /package/dist/{components/ui → primitives}/switch.d.ts +0 -0
- /package/dist/{components/ui → primitives}/system-message.d.ts +0 -0
- /package/dist/{components/ui → primitives}/table.d.ts +0 -0
- /package/dist/{components/ui → primitives}/tabs.d.ts +0 -0
- /package/dist/{components/ui → primitives}/text-shimmer.d.ts +0 -0
- /package/dist/{components/ui → primitives}/textarea.d.ts +0 -0
- /package/dist/{components/ui → primitives}/toast.d.ts +0 -0
- /package/dist/{components/ui → primitives}/tooltip.d.ts +0 -0
- /package/dist/{components/ui → primitives}/trigger-variants.d.ts +0 -0
- /package/dist/{components/ui → primitives}/type-to-confirm-dialog.d.ts +0 -0
- /package/dist/{components/ui → primitives}/typed-title-logic.d.ts +0 -0
- /package/dist/{components/ui → primitives}/typed-title-logic.js +0 -0
- /package/dist/{components/ui → primitives}/typed-title.d.ts +0 -0
- /package/dist/{components/ui → primitives}/typing-animation.d.ts +0 -0
- /package/dist/{components/ui → primitives}/user-avatar.d.ts +0 -0
|
@@ -0,0 +1,727 @@
|
|
|
1
|
+
// sql.js ships no types: a host that compiles this source reads the package's own.
|
|
2
|
+
// An ambient `declare module` file cannot be imported, so this is a reference.
|
|
3
|
+
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
|
|
4
|
+
/// <reference path="../../types/vendor.d.ts" />
|
|
5
|
+
'use client';
|
|
6
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
7
|
+
import { useTranslations } from '../../i18n/index.js';
|
|
8
|
+
/**
|
|
9
|
+
* SqliteRenderer — Full-featured SQLite database viewer & editor.
|
|
10
|
+
*
|
|
11
|
+
* Architecture:
|
|
12
|
+
* 1. Load .db/.sqlite/.sqlite3 file as ArrayBuffer via readFileAsBlob
|
|
13
|
+
* 2. Initialize sql.js (WASM) and open the database in-memory
|
|
14
|
+
* 3. Extract all tables, views, and indexes from sqlite_master
|
|
15
|
+
* 4. Features:
|
|
16
|
+
* - Table/view sidebar with row counts
|
|
17
|
+
* - AG Grid data viewer with sorting, filtering, search
|
|
18
|
+
* - Inline cell editing (double-click) → runs UPDATE statements
|
|
19
|
+
* - Add row / delete row support
|
|
20
|
+
* - Save modified database back to file
|
|
21
|
+
* - Schema inspector (CREATE TABLE statements, column info)
|
|
22
|
+
* - Raw SQL query connector with results grid
|
|
23
|
+
* 5. Lazy-loaded — only pulled in when a .db file is opened
|
|
24
|
+
*/
|
|
25
|
+
import { Button } from '../../primitives/button.js';
|
|
26
|
+
import { Input } from '../../primitives/input.js';
|
|
27
|
+
import Loading from '../../primitives/loading.js';
|
|
28
|
+
import { errorToast, successToast } from '../../primitives/toast.js';
|
|
29
|
+
import { readRuntimeFileWithRetry } from '../../internal/files/runtime-file-read.js';
|
|
30
|
+
import { cn } from '../../lib/utils.js';
|
|
31
|
+
import { CalendarIcon as Calendar, CheckIcon as Check, CodeSimpleIcon as Code2, CopyIcon as Copy, DatabaseIcon as Database, EyeIcon as Eye, FileMagnifyingGlassIcon as FileQuestion, HashIcon as Hash, KeyIcon as Key, ListIcon as List, PlayIcon as Play, PlusIcon as Plus, ArrowClockwiseIcon as RefreshCw, FloppyDiskIcon as Save, MagnifyingGlassIcon as Search, TableIcon as Table2, ToggleLeftIcon as ToggleLeft, TrashIcon as Trash2, TextTIcon as Type, ArrowUUpLeftIcon as Undo2, XIcon as X, } from '@phosphor-icons/react';
|
|
32
|
+
import { AllCommunityModule, colorSchemeDarkBlue, colorSchemeLight, ModuleRegistry, themeQuartz, } from 'ag-grid-community';
|
|
33
|
+
import { AgGridReact } from 'ag-grid-react';
|
|
34
|
+
import { useIsDark } from '../../hooks/use-is-dark.js';
|
|
35
|
+
import { lazy, Suspense, useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
36
|
+
import { Download } from '../../internal/icons/download.js';
|
|
37
|
+
// Register AG Grid modules once
|
|
38
|
+
ModuleRegistry.registerModules([AllCommunityModule]);
|
|
39
|
+
// AG Grid theme
|
|
40
|
+
const gridTheme = themeQuartz.withParams({
|
|
41
|
+
spacing: 6,
|
|
42
|
+
headerFontSize: 12,
|
|
43
|
+
fontSize: 12,
|
|
44
|
+
rowHeight: 36,
|
|
45
|
+
headerHeight: 38,
|
|
46
|
+
wrapperBorderRadius: 0,
|
|
47
|
+
borderRadius: 0,
|
|
48
|
+
cellHorizontalPaddingScale: 1,
|
|
49
|
+
});
|
|
50
|
+
// Lazy DataGrid only for query results (read-only, no special wiring needed)
|
|
51
|
+
const DataGrid = lazy(() => import('../../primitives/data-grid.js').then((m) => ({ default: m.DataGrid })));
|
|
52
|
+
function GridFallback() {
|
|
53
|
+
const tHardcodedUi = useTranslations('hardcodedUi');
|
|
54
|
+
return (_jsx("div", { className: "flex h-full w-full items-center justify-center", children: _jsx("div", { className: "text-muted-foreground animate-pulse text-sm", children: tHardcodedUi.raw('componentsFileRenderersSqliteRenderer.line97JsxTextLoadingGrid') }) }));
|
|
55
|
+
}
|
|
56
|
+
async function readDatabaseBytes(filePath, bytes, signal) {
|
|
57
|
+
if (bytes) {
|
|
58
|
+
if (!bytes.size)
|
|
59
|
+
throw new Error('Empty database file');
|
|
60
|
+
return bytes;
|
|
61
|
+
}
|
|
62
|
+
const { readFileAsBlob } = await import('../../internal/files/runtime-files.js');
|
|
63
|
+
return readRuntimeFileWithRetry(filePath, async () => {
|
|
64
|
+
const blob = await readFileAsBlob(filePath);
|
|
65
|
+
if (!blob.size)
|
|
66
|
+
throw new Error('Empty database file');
|
|
67
|
+
return blob;
|
|
68
|
+
}, undefined, signal);
|
|
69
|
+
}
|
|
70
|
+
// ── SQL type → icon mapping ─────────────────────────────────────────────
|
|
71
|
+
function getTypeIcon(sqlType) {
|
|
72
|
+
const t = sqlType.toUpperCase();
|
|
73
|
+
if (t.includes('INT') ||
|
|
74
|
+
t.includes('REAL') ||
|
|
75
|
+
t.includes('FLOAT') ||
|
|
76
|
+
t.includes('DOUBLE') ||
|
|
77
|
+
t.includes('NUMERIC') ||
|
|
78
|
+
t.includes('DECIMAL'))
|
|
79
|
+
return _jsx(Hash, { className: "text-kortix-blue h-3 w-3" });
|
|
80
|
+
if (t.includes('TEXT') ||
|
|
81
|
+
t.includes('CHAR') ||
|
|
82
|
+
t.includes('CLOB') ||
|
|
83
|
+
t.includes('VARCHAR') ||
|
|
84
|
+
t.includes('STRING'))
|
|
85
|
+
return _jsx(Type, { className: "text-kortix-green h-3 w-3" });
|
|
86
|
+
if (t.includes('BOOL'))
|
|
87
|
+
return _jsx(ToggleLeft, { className: "text-kortix-yellow h-3 w-3" });
|
|
88
|
+
if (t.includes('DATE') || t.includes('TIME') || t.includes('TIMESTAMP'))
|
|
89
|
+
return _jsx(Calendar, { className: "text-kortix-purple h-3 w-3" });
|
|
90
|
+
if (t.includes('BLOB') || t.includes('BINARY'))
|
|
91
|
+
return _jsx(Database, { className: "text-kortix-orange h-3 w-3" });
|
|
92
|
+
return _jsx(FileQuestion, { className: "text-muted-foreground/50 h-3 w-3" });
|
|
93
|
+
}
|
|
94
|
+
// ── Helpers ──────────────────────────────────────────────────────────────
|
|
95
|
+
/** Escape a value for a SQL literal. */
|
|
96
|
+
function sqlLiteral(value) {
|
|
97
|
+
if (value === null || value === undefined)
|
|
98
|
+
return 'NULL';
|
|
99
|
+
if (typeof value === 'number')
|
|
100
|
+
return String(value);
|
|
101
|
+
if (typeof value === 'boolean')
|
|
102
|
+
return value ? '1' : '0';
|
|
103
|
+
return `'${String(value).replace(/'/g, "''")}'`;
|
|
104
|
+
}
|
|
105
|
+
function quoteIdent(value) {
|
|
106
|
+
return `"${String(value).replace(/"/g, '""')}"`;
|
|
107
|
+
}
|
|
108
|
+
function readTableMetadata(db) {
|
|
109
|
+
const masterQuery = db.exec("SELECT name, type, sql FROM sqlite_master WHERE type IN ('table', 'view') AND name NOT LIKE 'sqlite_%' ORDER BY type, name");
|
|
110
|
+
const tableInfos = [];
|
|
111
|
+
if (masterQuery.length > 0) {
|
|
112
|
+
for (const row of masterQuery[0].values) {
|
|
113
|
+
const name = String(row[0]);
|
|
114
|
+
const type = String(row[1]);
|
|
115
|
+
const sql = String(row[2] || '');
|
|
116
|
+
let rowCount = 0;
|
|
117
|
+
try {
|
|
118
|
+
const countResult = db.exec(`SELECT COUNT(*) FROM ${quoteIdent(name)}`);
|
|
119
|
+
if (countResult.length > 0)
|
|
120
|
+
rowCount = Number(countResult[0].values[0][0]);
|
|
121
|
+
}
|
|
122
|
+
catch {
|
|
123
|
+
/* ignore */
|
|
124
|
+
}
|
|
125
|
+
const columns = [];
|
|
126
|
+
try {
|
|
127
|
+
const pragmaResult = db.exec(`PRAGMA table_info(${quoteIdent(name)})`);
|
|
128
|
+
if (pragmaResult.length > 0) {
|
|
129
|
+
for (const col of pragmaResult[0].values) {
|
|
130
|
+
columns.push({
|
|
131
|
+
cid: Number(col[0]),
|
|
132
|
+
name: String(col[1]),
|
|
133
|
+
type: String(col[2] || 'TEXT'),
|
|
134
|
+
notnull: Boolean(col[3]),
|
|
135
|
+
dflt_value: col[4] != null ? String(col[4]) : null,
|
|
136
|
+
pk: Boolean(col[5]),
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
catch {
|
|
142
|
+
/* ignore */
|
|
143
|
+
}
|
|
144
|
+
tableInfos.push({ name, type, sql, rowCount, columns });
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
return tableInfos;
|
|
148
|
+
}
|
|
149
|
+
// ── Component ────────────────────────────────────────────────────────────
|
|
150
|
+
export function SqliteRenderer({ filePath, fileName, className, readOnly = false, bytes, onSave, }) {
|
|
151
|
+
const tHardcodedUi = useTranslations('hardcodedUi');
|
|
152
|
+
// State
|
|
153
|
+
const [isLoading, setIsLoading] = useState(true);
|
|
154
|
+
const [error, setError] = useState(null);
|
|
155
|
+
const [tables, setTables] = useState([]);
|
|
156
|
+
const [selectedTable, setSelectedTable] = useState(null);
|
|
157
|
+
const [viewMode, setViewMode] = useState('data');
|
|
158
|
+
const [searchTerm, setSearchTerm] = useState('');
|
|
159
|
+
const [tableSearch, setTableSearch] = useState('');
|
|
160
|
+
const [sqlQuery, setSqlQuery] = useState('');
|
|
161
|
+
const [queryResult, setQueryResult] = useState(null);
|
|
162
|
+
const [isQueryRunning, setIsQueryRunning] = useState(false);
|
|
163
|
+
const [copied, setCopied] = useState(false);
|
|
164
|
+
const [hasUnsavedChanges, setHasUnsavedChanges] = useState(false);
|
|
165
|
+
const [isSaving, setIsSaving] = useState(false);
|
|
166
|
+
const [dataVersion, setDataVersion] = useState(0);
|
|
167
|
+
// Bumped by the error-state Retry button. It re-runs the init effect below,
|
|
168
|
+
// which is all "retry" ever meant — the button used to reload the document.
|
|
169
|
+
const [reloadKey, setReloadKey] = useState(0);
|
|
170
|
+
const [expandedCell, setExpandedCell] = useState(null);
|
|
171
|
+
const [expandedEditValue, setExpandedEditValue] = useState('');
|
|
172
|
+
// Refs
|
|
173
|
+
const dbRef = useRef(null);
|
|
174
|
+
const gridApiRef = useRef(null);
|
|
175
|
+
// AG Grid theme
|
|
176
|
+
const isDark = useIsDark();
|
|
177
|
+
const agTheme = useMemo(() => {
|
|
178
|
+
const colorScheme = isDark ? colorSchemeDarkBlue : colorSchemeLight;
|
|
179
|
+
return gridTheme.withPart(colorScheme);
|
|
180
|
+
}, [isDark]);
|
|
181
|
+
// ── Refresh table metadata after mutations ────────────────────────────
|
|
182
|
+
const refreshTableMeta = useCallback(() => {
|
|
183
|
+
const db = dbRef.current;
|
|
184
|
+
if (!db)
|
|
185
|
+
return;
|
|
186
|
+
try {
|
|
187
|
+
setTables(readTableMetadata(db));
|
|
188
|
+
}
|
|
189
|
+
catch {
|
|
190
|
+
/* ignore */
|
|
191
|
+
}
|
|
192
|
+
}, []);
|
|
193
|
+
// ── Initialize database ───────────────────────────────────────────────
|
|
194
|
+
useEffect(() => {
|
|
195
|
+
let cancelled = false;
|
|
196
|
+
const abortController = new AbortController();
|
|
197
|
+
async function init() {
|
|
198
|
+
setIsLoading(true);
|
|
199
|
+
setError(null);
|
|
200
|
+
try {
|
|
201
|
+
const blob = await readDatabaseBytes(filePath, bytes, abortController.signal);
|
|
202
|
+
const arrayBuffer = await blob.arrayBuffer();
|
|
203
|
+
if (cancelled)
|
|
204
|
+
return;
|
|
205
|
+
if (!arrayBuffer || arrayBuffer.byteLength === 0) {
|
|
206
|
+
throw new Error('Empty database file');
|
|
207
|
+
}
|
|
208
|
+
const initSqlJs = (await import('sql.js')).default;
|
|
209
|
+
const SQL = await initSqlJs({
|
|
210
|
+
locateFile: () => '/sql-wasm.wasm',
|
|
211
|
+
});
|
|
212
|
+
if (cancelled)
|
|
213
|
+
return;
|
|
214
|
+
const db = new SQL.Database(new Uint8Array(arrayBuffer));
|
|
215
|
+
dbRef.current = db;
|
|
216
|
+
// Extract tables and views
|
|
217
|
+
const tableInfos = readTableMetadata(db);
|
|
218
|
+
if (cancelled)
|
|
219
|
+
return;
|
|
220
|
+
setTables(tableInfos);
|
|
221
|
+
if (tableInfos.length > 0) {
|
|
222
|
+
setSelectedTable(tableInfos[0].name);
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
catch (e) {
|
|
226
|
+
if (abortController.signal.aborted)
|
|
227
|
+
return;
|
|
228
|
+
console.error('[SqliteRenderer] Error:', e);
|
|
229
|
+
if (!cancelled) {
|
|
230
|
+
setError(e?.message || 'Failed to load database');
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
finally {
|
|
234
|
+
if (!cancelled && !abortController.signal.aborted) {
|
|
235
|
+
setIsLoading(false);
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
init();
|
|
240
|
+
return () => {
|
|
241
|
+
cancelled = true;
|
|
242
|
+
abortController.abort();
|
|
243
|
+
if (dbRef.current) {
|
|
244
|
+
try {
|
|
245
|
+
dbRef.current.close();
|
|
246
|
+
}
|
|
247
|
+
catch {
|
|
248
|
+
/* ignore */
|
|
249
|
+
}
|
|
250
|
+
dbRef.current = null;
|
|
251
|
+
}
|
|
252
|
+
};
|
|
253
|
+
}, [filePath, bytes, reloadKey]);
|
|
254
|
+
// ── Get table data ────────────────────────────────────────────────────
|
|
255
|
+
const tableData = useMemo(() => {
|
|
256
|
+
if (!dbRef.current || !selectedTable)
|
|
257
|
+
return { columns: [], rows: [] };
|
|
258
|
+
try {
|
|
259
|
+
const result = dbRef.current.exec(`SELECT * FROM ${quoteIdent(selectedTable)} LIMIT 10000`);
|
|
260
|
+
if (result.length === 0)
|
|
261
|
+
return { columns: [], rows: [] };
|
|
262
|
+
const columns = result[0].columns;
|
|
263
|
+
const rows = result[0].values.map((row) => {
|
|
264
|
+
const obj = {};
|
|
265
|
+
columns.forEach((col, i) => {
|
|
266
|
+
const val = row[i];
|
|
267
|
+
if (val instanceof Uint8Array) {
|
|
268
|
+
obj[col] = `[BLOB ${val.length} bytes]`;
|
|
269
|
+
}
|
|
270
|
+
else {
|
|
271
|
+
obj[col] = val;
|
|
272
|
+
}
|
|
273
|
+
});
|
|
274
|
+
return obj;
|
|
275
|
+
});
|
|
276
|
+
return { columns, rows };
|
|
277
|
+
}
|
|
278
|
+
catch {
|
|
279
|
+
return { columns: [], rows: [] };
|
|
280
|
+
}
|
|
281
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
282
|
+
}, [selectedTable, tables, dataVersion]);
|
|
283
|
+
// ── Selected table info ───────────────────────────────────────────────
|
|
284
|
+
const selectedTableInfo = useMemo(() => tables.find((t) => t.name === selectedTable) ?? null, [tables, selectedTable]);
|
|
285
|
+
// ── Column defs for AG Grid (editable for tables, not views) ──────────
|
|
286
|
+
const isEditable = !readOnly && selectedTableInfo?.type === 'table';
|
|
287
|
+
const columnDefs = useMemo(() => {
|
|
288
|
+
if (!tableData.columns.length)
|
|
289
|
+
return [];
|
|
290
|
+
const pkColumns = new Set();
|
|
291
|
+
for (const c of selectedTableInfo?.columns ?? []) {
|
|
292
|
+
if (c.pk)
|
|
293
|
+
pkColumns.add(c.name);
|
|
294
|
+
}
|
|
295
|
+
return tableData.columns.map((col) => ({
|
|
296
|
+
field: col,
|
|
297
|
+
headerName: col,
|
|
298
|
+
minWidth: 100,
|
|
299
|
+
editable: isEditable,
|
|
300
|
+
flex: tableData.columns.length <= 8 ? 1 : undefined,
|
|
301
|
+
width: tableData.columns.length > 8 ? 160 : undefined,
|
|
302
|
+
headerClass: pkColumns.has(col) ? 'font-semibold' : '',
|
|
303
|
+
cellStyle: { cursor: isEditable ? 'text' : 'default' },
|
|
304
|
+
}));
|
|
305
|
+
}, [tableData.columns, selectedTableInfo, isEditable]);
|
|
306
|
+
// ── Handle cell edit → run UPDATE ─────────────────────────────────────
|
|
307
|
+
const handleCellValueChanged = useCallback((event) => {
|
|
308
|
+
const db = dbRef.current;
|
|
309
|
+
if (readOnly || !db || !selectedTable || !selectedTableInfo)
|
|
310
|
+
return;
|
|
311
|
+
const colName = event.colDef.field;
|
|
312
|
+
const newValue = event.newValue;
|
|
313
|
+
const oldValue = event.oldValue;
|
|
314
|
+
if (!colName || newValue === oldValue)
|
|
315
|
+
return;
|
|
316
|
+
// Build WHERE clause from PK columns (or all columns as fallback)
|
|
317
|
+
const pkCols = selectedTableInfo.columns.filter((c) => c.pk);
|
|
318
|
+
const whereCols = pkCols.length > 0 ? pkCols : selectedTableInfo.columns;
|
|
319
|
+
const whereClause = whereCols
|
|
320
|
+
.map((c) => {
|
|
321
|
+
const val = event.data[c.name];
|
|
322
|
+
// For the column being edited, use old value in WHERE
|
|
323
|
+
if (c.name === colName) {
|
|
324
|
+
return `${quoteIdent(c.name)} IS ${sqlLiteral(oldValue)}`;
|
|
325
|
+
}
|
|
326
|
+
return `${quoteIdent(c.name)} IS ${sqlLiteral(val)}`;
|
|
327
|
+
})
|
|
328
|
+
.join(' AND ');
|
|
329
|
+
const sql = `UPDATE ${quoteIdent(selectedTable)} SET ${quoteIdent(colName)} = ${sqlLiteral(newValue)} WHERE ${whereClause}`;
|
|
330
|
+
try {
|
|
331
|
+
db.exec(sql);
|
|
332
|
+
setHasUnsavedChanges(true);
|
|
333
|
+
refreshTableMeta();
|
|
334
|
+
}
|
|
335
|
+
catch (e) {
|
|
336
|
+
errorToast(tHardcodedUi('i18nComplete.text7e9c22af3df2', {
|
|
337
|
+
value0: e?.message || tHardcodedUi.raw('i18nComplete.text27c2ccd962c2'),
|
|
338
|
+
}));
|
|
339
|
+
// Revert the cell
|
|
340
|
+
event.node.setDataValue(colName, oldValue);
|
|
341
|
+
}
|
|
342
|
+
}, [readOnly, selectedTable, selectedTableInfo, refreshTableMeta, tHardcodedUi]);
|
|
343
|
+
// ── Cell double-click → expand long values ────────────────────────────
|
|
344
|
+
const handleCellDoubleClicked = useCallback((event) => {
|
|
345
|
+
const value = event.value;
|
|
346
|
+
const colName = event.colDef.field;
|
|
347
|
+
if (!colName)
|
|
348
|
+
return;
|
|
349
|
+
const strVal = value == null ? '' : String(value);
|
|
350
|
+
// Only expand if value is long or if it's a non-editable view
|
|
351
|
+
if (strVal.length > 80 || !isEditable) {
|
|
352
|
+
// Stop AG Grid's default inline editing for this cell
|
|
353
|
+
event.api.stopEditing(true);
|
|
354
|
+
setExpandedCell({
|
|
355
|
+
column: colName,
|
|
356
|
+
value: strVal,
|
|
357
|
+
rowIndex: event.rowIndex ?? 0,
|
|
358
|
+
});
|
|
359
|
+
setExpandedEditValue(strVal);
|
|
360
|
+
}
|
|
361
|
+
// Short values on editable tables → let AG Grid handle inline editing normally
|
|
362
|
+
}, [isEditable]);
|
|
363
|
+
// ── Save expanded cell edit ───────────────────────────────────────────
|
|
364
|
+
const handleExpandedSave = useCallback(() => {
|
|
365
|
+
const db = dbRef.current;
|
|
366
|
+
if (readOnly || !db || !selectedTable || !selectedTableInfo || !expandedCell)
|
|
367
|
+
return;
|
|
368
|
+
const newValue = expandedEditValue;
|
|
369
|
+
const colName = expandedCell.column;
|
|
370
|
+
// Get the row data from the grid
|
|
371
|
+
const api = gridApiRef.current?.api;
|
|
372
|
+
if (!api)
|
|
373
|
+
return;
|
|
374
|
+
const rowNode = api.getDisplayedRowAtIndex(expandedCell.rowIndex);
|
|
375
|
+
if (!rowNode || !rowNode.data)
|
|
376
|
+
return;
|
|
377
|
+
const pkCols = selectedTableInfo.columns.filter((c) => c.pk);
|
|
378
|
+
const whereCols = pkCols.length > 0 ? pkCols : selectedTableInfo.columns;
|
|
379
|
+
const whereClause = whereCols
|
|
380
|
+
.map((c) => `${quoteIdent(c.name)} IS ${sqlLiteral(rowNode.data[c.name])}`)
|
|
381
|
+
.join(' AND ');
|
|
382
|
+
const sql = `UPDATE ${quoteIdent(selectedTable)} SET ${quoteIdent(colName)} = ${sqlLiteral(newValue)} WHERE ${whereClause}`;
|
|
383
|
+
try {
|
|
384
|
+
db.exec(sql);
|
|
385
|
+
setHasUnsavedChanges(true);
|
|
386
|
+
setDataVersion((v) => v + 1);
|
|
387
|
+
refreshTableMeta();
|
|
388
|
+
setExpandedCell(null);
|
|
389
|
+
successToast(tHardcodedUi.raw('i18nComplete.text8955719a3a89'));
|
|
390
|
+
}
|
|
391
|
+
catch (e) {
|
|
392
|
+
errorToast(tHardcodedUi('i18nComplete.text7e9c22af3df2', {
|
|
393
|
+
value0: e?.message || tHardcodedUi.raw('i18nComplete.text27c2ccd962c2'),
|
|
394
|
+
}));
|
|
395
|
+
}
|
|
396
|
+
}, [
|
|
397
|
+
selectedTable,
|
|
398
|
+
selectedTableInfo,
|
|
399
|
+
expandedCell,
|
|
400
|
+
expandedEditValue,
|
|
401
|
+
refreshTableMeta,
|
|
402
|
+
readOnly,
|
|
403
|
+
tHardcodedUi,
|
|
404
|
+
]);
|
|
405
|
+
// ── Row selection config ──────────────────────────────────────────────
|
|
406
|
+
const rowSelection = useMemo(() => ({
|
|
407
|
+
mode: 'multiRow',
|
|
408
|
+
checkboxes: isEditable,
|
|
409
|
+
headerCheckbox: isEditable,
|
|
410
|
+
}), [isEditable]);
|
|
411
|
+
// ── Add new row ───────────────────────────────────────────────────────
|
|
412
|
+
const handleAddRow = useCallback(() => {
|
|
413
|
+
const db = dbRef.current;
|
|
414
|
+
if (readOnly || !db || !selectedTable || !selectedTableInfo)
|
|
415
|
+
return;
|
|
416
|
+
// Build INSERT with default values
|
|
417
|
+
const cols = selectedTableInfo.columns;
|
|
418
|
+
const colNames = cols.map((c) => quoteIdent(c.name)).join(', ');
|
|
419
|
+
const values = cols
|
|
420
|
+
.map((c) => {
|
|
421
|
+
if (c.dflt_value != null)
|
|
422
|
+
return c.dflt_value;
|
|
423
|
+
if (c.pk)
|
|
424
|
+
return 'NULL'; // autoincrement
|
|
425
|
+
if (c.notnull) {
|
|
426
|
+
const t = c.type.toUpperCase();
|
|
427
|
+
if (t.includes('INT') ||
|
|
428
|
+
t.includes('REAL') ||
|
|
429
|
+
t.includes('FLOAT') ||
|
|
430
|
+
t.includes('NUMERIC'))
|
|
431
|
+
return '0';
|
|
432
|
+
if (t.includes('BOOL'))
|
|
433
|
+
return '0';
|
|
434
|
+
return "''";
|
|
435
|
+
}
|
|
436
|
+
return 'NULL';
|
|
437
|
+
})
|
|
438
|
+
.join(', ');
|
|
439
|
+
const sql = `INSERT INTO ${quoteIdent(selectedTable)} (${colNames}) VALUES (${values})`;
|
|
440
|
+
try {
|
|
441
|
+
db.exec(sql);
|
|
442
|
+
setHasUnsavedChanges(true);
|
|
443
|
+
setDataVersion((v) => v + 1);
|
|
444
|
+
refreshTableMeta();
|
|
445
|
+
successToast(tHardcodedUi.raw('i18nComplete.text1d21d2b18753'));
|
|
446
|
+
}
|
|
447
|
+
catch (e) {
|
|
448
|
+
errorToast(tHardcodedUi('i18nComplete.text62e404cb7e2b', {
|
|
449
|
+
value0: e?.message || tHardcodedUi.raw('i18nComplete.text27c2ccd962c2'),
|
|
450
|
+
}));
|
|
451
|
+
}
|
|
452
|
+
}, [selectedTable, selectedTableInfo, refreshTableMeta, readOnly, tHardcodedUi]);
|
|
453
|
+
// ── Delete selected rows ──────────────────────────────────────────────
|
|
454
|
+
const handleDeleteSelected = useCallback(() => {
|
|
455
|
+
const db = dbRef.current;
|
|
456
|
+
const api = gridApiRef.current?.api;
|
|
457
|
+
if (readOnly || !db || !api || !selectedTable || !selectedTableInfo)
|
|
458
|
+
return;
|
|
459
|
+
const selectedRows = api.getSelectedRows();
|
|
460
|
+
if (selectedRows.length === 0) {
|
|
461
|
+
errorToast(tHardcodedUi.raw('i18nComplete.text1e7d701f8277'));
|
|
462
|
+
return;
|
|
463
|
+
}
|
|
464
|
+
const pkCols = selectedTableInfo.columns.filter((c) => c.pk);
|
|
465
|
+
const whereCols = pkCols.length > 0 ? pkCols : selectedTableInfo.columns;
|
|
466
|
+
let deleted = 0;
|
|
467
|
+
for (const row of selectedRows) {
|
|
468
|
+
const whereClause = whereCols
|
|
469
|
+
.map((c) => `${quoteIdent(c.name)} IS ${sqlLiteral(row[c.name])}`)
|
|
470
|
+
.join(' AND ');
|
|
471
|
+
try {
|
|
472
|
+
db.exec(`DELETE FROM ${quoteIdent(selectedTable)} WHERE ${whereClause} LIMIT 1`);
|
|
473
|
+
deleted++;
|
|
474
|
+
}
|
|
475
|
+
catch {
|
|
476
|
+
/* skip */
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
if (deleted > 0) {
|
|
480
|
+
setHasUnsavedChanges(true);
|
|
481
|
+
setDataVersion((v) => v + 1);
|
|
482
|
+
refreshTableMeta();
|
|
483
|
+
successToast(tHardcodedUi('i18nComplete.text00e99be56ba9', { count: deleted }));
|
|
484
|
+
}
|
|
485
|
+
}, [selectedTable, selectedTableInfo, refreshTableMeta, readOnly, tHardcodedUi]);
|
|
486
|
+
// ── Save database back to file ────────────────────────────────────────
|
|
487
|
+
const handleSave = useCallback(async () => {
|
|
488
|
+
const db = dbRef.current;
|
|
489
|
+
if (readOnly || !db)
|
|
490
|
+
return;
|
|
491
|
+
setIsSaving(true);
|
|
492
|
+
try {
|
|
493
|
+
const data = db.export();
|
|
494
|
+
const blob = new Blob([data], { type: 'application/x-sqlite3' });
|
|
495
|
+
const file = new File([blob], fileName, { type: 'application/x-sqlite3' });
|
|
496
|
+
if (onSave) {
|
|
497
|
+
await onSave(file);
|
|
498
|
+
}
|
|
499
|
+
else {
|
|
500
|
+
const parentPath = filePath.substring(0, filePath.lastIndexOf('/'));
|
|
501
|
+
const { uploadFile } = await import('../../internal/files/runtime-files.js');
|
|
502
|
+
await uploadFile(file, parentPath || undefined);
|
|
503
|
+
}
|
|
504
|
+
setHasUnsavedChanges(false);
|
|
505
|
+
successToast(tHardcodedUi.raw('i18nComplete.text68b444f414fa'));
|
|
506
|
+
}
|
|
507
|
+
catch (e) {
|
|
508
|
+
errorToast(tHardcodedUi('i18nComplete.text021b7b95cad3', {
|
|
509
|
+
value0: e?.message || tHardcodedUi.raw('i18nComplete.text27c2ccd962c2'),
|
|
510
|
+
}));
|
|
511
|
+
}
|
|
512
|
+
finally {
|
|
513
|
+
setIsSaving(false);
|
|
514
|
+
}
|
|
515
|
+
}, [filePath, fileName, readOnly, tHardcodedUi, onSave]);
|
|
516
|
+
// ── Discard changes (reload from disk) ────────────────────────────────
|
|
517
|
+
const handleDiscard = useCallback(() => {
|
|
518
|
+
if (dbRef.current) {
|
|
519
|
+
try {
|
|
520
|
+
dbRef.current.close();
|
|
521
|
+
}
|
|
522
|
+
catch {
|
|
523
|
+
/* ignore */
|
|
524
|
+
}
|
|
525
|
+
dbRef.current = null;
|
|
526
|
+
}
|
|
527
|
+
setHasUnsavedChanges(false);
|
|
528
|
+
setDataVersion(0);
|
|
529
|
+
setTables([]);
|
|
530
|
+
setSelectedTable(null);
|
|
531
|
+
setIsLoading(true);
|
|
532
|
+
setError(null);
|
|
533
|
+
// Re-trigger the init effect by forcing a state change
|
|
534
|
+
// (The effect depends on filePath which hasn't changed,
|
|
535
|
+
// so we use a key trick — but since we can't change key from inside,
|
|
536
|
+
// we just re-run init inline)
|
|
537
|
+
(async () => {
|
|
538
|
+
try {
|
|
539
|
+
const blob = await readDatabaseBytes(filePath, bytes);
|
|
540
|
+
const arrayBuffer = await blob.arrayBuffer();
|
|
541
|
+
if (!arrayBuffer.byteLength)
|
|
542
|
+
throw new Error('Empty file');
|
|
543
|
+
const initSqlJs = (await import('sql.js')).default;
|
|
544
|
+
const SQL = await initSqlJs({ locateFile: () => '/sql-wasm.wasm' });
|
|
545
|
+
const db = new SQL.Database(new Uint8Array(arrayBuffer));
|
|
546
|
+
dbRef.current = db;
|
|
547
|
+
refreshTableMeta();
|
|
548
|
+
const firstTable = tables[0]?.name;
|
|
549
|
+
if (firstTable)
|
|
550
|
+
setSelectedTable(firstTable);
|
|
551
|
+
setDataVersion((v) => v + 1);
|
|
552
|
+
setIsLoading(false);
|
|
553
|
+
successToast(tHardcodedUi.raw('i18nComplete.text4daace56d920'));
|
|
554
|
+
}
|
|
555
|
+
catch (e) {
|
|
556
|
+
setError(e?.message || 'Reload failed');
|
|
557
|
+
setIsLoading(false);
|
|
558
|
+
}
|
|
559
|
+
})();
|
|
560
|
+
}, [filePath, bytes, refreshTableMeta, tables, tHardcodedUi]);
|
|
561
|
+
// ── Filtered tables ───────────────────────────────────────────────────
|
|
562
|
+
const filteredTables = useMemo(() => {
|
|
563
|
+
if (!tableSearch.trim())
|
|
564
|
+
return tables;
|
|
565
|
+
const q = tableSearch.toLowerCase();
|
|
566
|
+
return tables.filter((t) => t.name.toLowerCase().includes(q));
|
|
567
|
+
}, [tables, tableSearch]);
|
|
568
|
+
// ── Run SQL query ─────────────────────────────────────────────────────
|
|
569
|
+
const runQuery = useCallback(() => {
|
|
570
|
+
if (!dbRef.current || !sqlQuery.trim())
|
|
571
|
+
return;
|
|
572
|
+
setIsQueryRunning(true);
|
|
573
|
+
const start = performance.now();
|
|
574
|
+
try {
|
|
575
|
+
// Classify before executing: a read-only database must refuse a mutation
|
|
576
|
+
// before it mutates the in-memory copy.
|
|
577
|
+
const trimmed = sqlQuery.trim();
|
|
578
|
+
const upper = trimmed.toUpperCase();
|
|
579
|
+
const isMutation = upper.startsWith('INSERT') ||
|
|
580
|
+
upper.startsWith('UPDATE') ||
|
|
581
|
+
upper.startsWith('DELETE') ||
|
|
582
|
+
upper.startsWith('DROP') ||
|
|
583
|
+
upper.startsWith('ALTER') ||
|
|
584
|
+
upper.startsWith('CREATE');
|
|
585
|
+
if (readOnly && isMutation) {
|
|
586
|
+
throw new Error('Database is open read-only');
|
|
587
|
+
}
|
|
588
|
+
const result = dbRef.current.exec(trimmed);
|
|
589
|
+
const elapsed = performance.now() - start;
|
|
590
|
+
// Mutation queries → mark dirty + refresh
|
|
591
|
+
if (isMutation) {
|
|
592
|
+
setHasUnsavedChanges(true);
|
|
593
|
+
setDataVersion((v) => v + 1);
|
|
594
|
+
refreshTableMeta();
|
|
595
|
+
}
|
|
596
|
+
if (result.length === 0) {
|
|
597
|
+
setQueryResult({ columns: [], rows: [], rowCount: 0, time: elapsed });
|
|
598
|
+
}
|
|
599
|
+
else {
|
|
600
|
+
const columns = result[0].columns;
|
|
601
|
+
const rows = result[0].values.map((row) => {
|
|
602
|
+
const obj = {};
|
|
603
|
+
columns.forEach((col, i) => {
|
|
604
|
+
const val = row[i];
|
|
605
|
+
if (val instanceof Uint8Array) {
|
|
606
|
+
obj[col] = `[BLOB ${val.length} bytes]`;
|
|
607
|
+
}
|
|
608
|
+
else {
|
|
609
|
+
obj[col] = val;
|
|
610
|
+
}
|
|
611
|
+
});
|
|
612
|
+
return obj;
|
|
613
|
+
});
|
|
614
|
+
setQueryResult({ columns, rows, rowCount: rows.length, time: elapsed });
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
catch (e) {
|
|
618
|
+
const elapsed = performance.now() - start;
|
|
619
|
+
setQueryResult({
|
|
620
|
+
columns: [],
|
|
621
|
+
rows: [],
|
|
622
|
+
rowCount: 0,
|
|
623
|
+
time: elapsed,
|
|
624
|
+
error: e?.message || 'Query failed',
|
|
625
|
+
});
|
|
626
|
+
}
|
|
627
|
+
finally {
|
|
628
|
+
setIsQueryRunning(false);
|
|
629
|
+
}
|
|
630
|
+
}, [sqlQuery, refreshTableMeta, readOnly]);
|
|
631
|
+
// ── Keyboard shortcut: Cmd+Enter to run query ─────────────────────────
|
|
632
|
+
const handleQueryKeyDown = useCallback((e) => {
|
|
633
|
+
if ((e.metaKey || e.ctrlKey) && e.key === 'Enter') {
|
|
634
|
+
e.preventDefault();
|
|
635
|
+
runQuery();
|
|
636
|
+
}
|
|
637
|
+
}, [runQuery]);
|
|
638
|
+
// ── Cmd+S to save ─────────────────────────────────────────────────────
|
|
639
|
+
useEffect(() => {
|
|
640
|
+
if (readOnly || !hasUnsavedChanges)
|
|
641
|
+
return;
|
|
642
|
+
const onKeyDown = (e) => {
|
|
643
|
+
if ((e.metaKey || e.ctrlKey) && e.key === 's') {
|
|
644
|
+
e.preventDefault();
|
|
645
|
+
handleSave();
|
|
646
|
+
}
|
|
647
|
+
};
|
|
648
|
+
document.addEventListener('keydown', onKeyDown);
|
|
649
|
+
return () => document.removeEventListener('keydown', onKeyDown);
|
|
650
|
+
}, [hasUnsavedChanges, handleSave, readOnly]);
|
|
651
|
+
// ── Copy SQL ──────────────────────────────────────────────────────────
|
|
652
|
+
const handleCopySchema = useCallback(() => {
|
|
653
|
+
if (!selectedTableInfo?.sql)
|
|
654
|
+
return;
|
|
655
|
+
navigator.clipboard.writeText(selectedTableInfo.sql);
|
|
656
|
+
setCopied(true);
|
|
657
|
+
setTimeout(() => setCopied(false), 2000);
|
|
658
|
+
}, [selectedTableInfo]);
|
|
659
|
+
// ── Export table as CSV ───────────────────────────────────────────────
|
|
660
|
+
const handleExportCsv = useCallback(() => {
|
|
661
|
+
gridApiRef.current?.api?.exportDataAsCsv({ fileName: `${selectedTable || 'export'}.csv` });
|
|
662
|
+
}, [selectedTable]);
|
|
663
|
+
// ── Loading state ─────────────────────────────────────────────────────
|
|
664
|
+
if (isLoading) {
|
|
665
|
+
return (_jsx("div", { className: cn('flex h-full w-full items-center justify-center', className), children: _jsxs("div", { className: "flex flex-col items-center gap-3", children: [_jsx(Loading, { className: "text-muted-foreground/40 h-6 w-6" }), _jsx("span", { className: "text-muted-foreground/60 text-sm", children: tHardcodedUi.raw('componentsFileRenderersSqliteRenderer.line733JsxTextLoadingDatabase') })] }) }));
|
|
666
|
+
}
|
|
667
|
+
// ── Error state ───────────────────────────────────────────────────────
|
|
668
|
+
if (error) {
|
|
669
|
+
return (_jsx("div", { className: cn('flex h-full w-full items-center justify-center', className), children: _jsxs("div", { className: "space-y-3 text-center", children: [_jsx("div", { className: "bg-muted mx-auto flex h-16 w-16 items-center justify-center rounded-full", children: _jsx(Database, { className: "text-muted-foreground h-8 w-8" }) }), _jsxs("div", { children: [_jsx("h3", { className: "text-foreground text-lg font-medium", children: tHardcodedUi.raw('componentsFileRenderersSqliteRenderer.line748JsxTextFailedToLoadDatabase') }), _jsx("p", { className: "text-muted-foreground mt-1 max-w-sm text-xs", children: error })] }), _jsxs("button", { onClick: () => setReloadKey((key) => key + 1), className: "hover:bg-muted inline-flex h-8 cursor-pointer items-center gap-1.5 rounded-md border px-3 text-xs transition-colors", children: [_jsx(RefreshCw, { className: "h-3 w-3" }), tHardcodedUi.raw('i18nComplete.text942087cc2d41')] })] }) }));
|
|
670
|
+
}
|
|
671
|
+
// ── Empty database ────────────────────────────────────────────────────
|
|
672
|
+
if (tables.length === 0) {
|
|
673
|
+
return (_jsx("div", { className: cn('flex h-full w-full items-center justify-center', className), children: _jsxs("div", { className: "space-y-3 text-center", children: [_jsx("div", { className: "bg-muted mx-auto flex h-16 w-16 items-center justify-center rounded-full", children: _jsx(Database, { className: "text-muted-foreground h-8 w-8" }) }), _jsxs("div", { children: [_jsx("h3", { className: "text-foreground text-lg font-medium", children: tHardcodedUi.raw('componentsFileRenderersSqliteRenderer.line772JsxTextEmptyDatabase') }), _jsx("p", { className: "text-muted-foreground text-sm", children: tHardcodedUi.raw('componentsFileRenderersSqliteRenderer.line773JsxTextNoTablesOrViewsFoundInThisDatabase') })] })] }) }));
|
|
674
|
+
}
|
|
675
|
+
// ── Main layout ───────────────────────────────────────────────────────
|
|
676
|
+
return (_jsxs("div", { className: cn('bg-background relative flex h-full w-full flex-col', className), children: [_jsxs("div", { className: "flex h-10 shrink-0 items-center gap-2 border-b px-3 py-1.5", children: [_jsxs("span", { className: "text-muted-foreground/60 text-xs tabular-nums", children: [tables.filter((t) => t.type === 'table').length, ' ', tHardcodedUi.raw('i18nComplete.text0d4fc4a78d37'), tables.filter((t) => t.type === 'table').length !== 1 ? 's' : '', tables.some((t) => t.type === 'view') && (_jsxs(_Fragment, { children: [' ', "\u00B7 ", tables.filter((t) => t.type === 'view').length, ' ', tHardcodedUi.raw('i18nComplete.text2bcb43cbc8f6'), tables.filter((t) => t.type === 'view').length !== 1 ? 's' : ''] })), _jsxs(_Fragment, { children: [' ', "\u00B7 ", tables.reduce((sum, t) => sum + t.rowCount, 0).toLocaleString(), ' ', tHardcodedUi.raw('i18nComplete.textbc51e9e65d79')] })] }), hasUnsavedChanges && (_jsx("span", { className: "bg-kortix-yellow h-1.5 w-1.5 shrink-0 rounded-full", title: tHardcodedUi.raw('componentsFileRenderersSqliteRenderer.line795JsxAttrTitleUnsavedChanges') })), _jsxs("div", { className: "ml-auto flex items-center gap-1", children: [hasUnsavedChanges && (_jsxs(_Fragment, { children: [_jsxs(Button, { variant: "muted", size: "toolbar", onClick: handleDiscard, title: tHardcodedUi.raw('componentsFileRenderersSqliteRenderer.line806JsxAttrTitleDiscardChanges'), children: [_jsx(Undo2, { className: "h-3 w-3" }), tHardcodedUi.raw('i18nComplete.texteb1a70e39274')] }), _jsxs(Button, { variant: "default", size: "toolbar", onClick: handleSave, disabled: isSaving, title: tHardcodedUi.raw('componentsFileRenderersSqliteRenderer.line816JsxAttrTitleSaveToFileS'), children: [isSaving ? _jsx(Loading, { className: "h-3 w-3" }) : _jsx(Save, { className: "h-3 w-3" }), tHardcodedUi.raw('i18nComplete.text1509f561f241')] })] })), _jsx("div", { className: "bg-muted/60 ml-1 flex items-center rounded-md p-0.5", children: ['data', 'schema', 'query'].map((mode) => (_jsxs("button", { className: cn('inline-flex h-6 cursor-pointer items-center gap-1 rounded-sm px-2 text-xs transition-colors', viewMode === mode
|
|
677
|
+
? 'bg-background text-foreground shadow-sm'
|
|
678
|
+
: 'text-muted-foreground/60 hover:text-foreground'), onClick: () => setViewMode(mode), children: [mode === 'data' && _jsx(List, { className: "h-3 w-3" }), mode === 'schema' && _jsx(Code2, { className: "h-3 w-3" }), mode === 'query' && _jsx(Play, { className: "h-3 w-3" }), mode.charAt(0).toUpperCase() + mode.slice(1)] }, mode))) })] })] }), _jsxs("div", { className: "flex flex-1 overflow-hidden", children: [_jsxs("div", { className: "bg-muted/10 flex w-56 shrink-0 flex-col border-r", children: [_jsx("div", { className: "border-b p-2", children: _jsxs("div", { className: "relative", children: [_jsx(Search, { className: "text-muted-foreground/50 absolute top-1/2 left-2 h-3 w-3 -translate-y-1/2" }), _jsx(Input, { type: "text", placeholder: tHardcodedUi.raw('componentsFileRenderersSqliteRenderer.line860JsxAttrPlaceholderFilterTables'), autoComplete: "off", value: tableSearch, onChange: (e) => setTableSearch(e.target.value), className: "h-7 pr-7 pl-7 text-xs" }), tableSearch && (_jsx("button", { onClick: () => setTableSearch(''), className: "text-muted-foreground hover:text-foreground absolute top-1/2 right-2 -translate-y-1/2 cursor-pointer", children: _jsx(X, { className: "h-3 w-3" }) }))] }) }), _jsx("div", { className: "flex-1 overflow-y-auto py-1", children: filteredTables.map((table) => (_jsxs("button", { onClick: () => {
|
|
679
|
+
setSelectedTable(table.name);
|
|
680
|
+
setSearchTerm('');
|
|
681
|
+
if (viewMode === 'query') {
|
|
682
|
+
setSqlQuery(`SELECT * FROM ${quoteIdent(table.name)} LIMIT 100`);
|
|
683
|
+
}
|
|
684
|
+
}, className: cn('flex w-full cursor-pointer items-center gap-2 px-3 py-1.5 text-left text-sm transition-colors', selectedTable === table.name
|
|
685
|
+
? 'bg-accent text-accent-foreground'
|
|
686
|
+
: 'text-muted-foreground hover:bg-muted/50 hover:text-foreground'), children: [table.type === 'view' ? (_jsx(Eye, { className: "text-kortix-purple h-3.5 w-3.5 shrink-0" })) : (_jsx(Table2, { className: "text-kortix-blue h-3.5 w-3.5 shrink-0" })), _jsx("span", { className: "flex-1 truncate text-xs font-medium", children: table.name }), _jsx("span", { className: "text-muted-foreground/50 shrink-0 text-xs tabular-nums", children: table.rowCount.toLocaleString() })] }, table.name))) }), _jsxs("div", { className: "text-muted-foreground/30 border-t px-3 py-1.5 text-xs tabular-nums", children: [filteredTables.length, "/", tables.length, ' ', tHardcodedUi.raw('i18nComplete.textbaaf53622a51')] })] }), _jsxs("div", { className: "flex flex-1 flex-col overflow-hidden", children: [viewMode === 'data' && selectedTableInfo && (_jsxs(_Fragment, { children: [_jsxs("div", { className: "flex h-9 shrink-0 items-center gap-2 border-b px-3 py-1.5", children: [_jsxs("div", { className: "flex min-w-0 items-center gap-1.5", children: [selectedTableInfo.type === 'view' ? (_jsx(Eye, { className: "text-kortix-purple h-3.5 w-3.5 shrink-0" })) : (_jsx(Table2, { className: "text-kortix-blue h-3.5 w-3.5 shrink-0" })), _jsx("span", { className: "text-foreground truncate text-xs font-medium", children: selectedTableInfo.name }), _jsxs("span", { className: "text-muted-foreground/40 shrink-0 text-xs tabular-nums", children: [selectedTableInfo.rowCount.toLocaleString(), " \u00D7", ' ', selectedTableInfo.columns.length] })] }), _jsxs("div", { className: "ml-auto flex items-center gap-1", children: [isEditable && (_jsxs(_Fragment, { children: [_jsx("button", { className: "text-muted-foreground/50 hover:text-foreground hover:bg-muted inline-flex h-7 w-7 cursor-pointer items-center justify-center rounded-md transition-colors", onClick: handleAddRow, title: tHardcodedUi.raw('componentsFileRenderersSqliteRenderer.line941JsxAttrTitleInsertRow'), children: _jsx(Plus, { className: "h-3.5 w-3.5" }) }), _jsx("button", { className: "text-muted-foreground/50 hover:bg-destructive/10 hover:text-destructive inline-flex h-7 w-7 cursor-pointer items-center justify-center rounded-md transition-colors", onClick: handleDeleteSelected, title: tHardcodedUi.raw('componentsFileRenderersSqliteRenderer.line948JsxAttrTitleDeleteSelectedRows'), children: _jsx(Trash2, { className: "h-3.5 w-3.5" }) }), _jsx("div", { className: "bg-border mx-0.5 h-4 w-px" })] })), _jsxs("div", { className: "relative", children: [_jsx(Search, { className: "text-muted-foreground/40 absolute top-1/2 left-2 h-3 w-3 -translate-y-1/2" }), _jsx(Input, { type: "text", placeholder: tHardcodedUi.raw('componentsFileRenderersSqliteRenderer.line961JsxAttrPlaceholderFilter'), autoComplete: "off", value: searchTerm, onChange: (e) => setSearchTerm(e.target.value), className: "h-7 w-40 pr-7 pl-7 text-xs" }), searchTerm && (_jsx("button", { onClick: () => setSearchTerm(''), className: "text-muted-foreground hover:text-foreground absolute top-1/2 right-2 -translate-y-1/2 cursor-pointer", children: _jsx(X, { className: "h-3 w-3" }) }))] }), _jsx("button", { className: "text-muted-foreground/50 hover:text-foreground hover:bg-muted inline-flex h-7 w-7 cursor-pointer items-center justify-center rounded-md transition-colors", onClick: handleExportCsv, title: tHardcodedUi.raw('componentsFileRenderersSqliteRenderer.line979JsxAttrTitleExportAsCsv'), children: _jsx(Download, { className: "h-3.5 w-3.5" }) })] })] }), _jsx("div", { className: "flex-1 overflow-hidden", children: tableData.rows.length > 0 ? (_jsx("div", { className: "h-full w-full", children: _jsx(AgGridReact, { ref: gridApiRef, theme: agTheme, rowData: tableData.rows, columnDefs: columnDefs, defaultColDef: {
|
|
687
|
+
sortable: true,
|
|
688
|
+
filter: true,
|
|
689
|
+
resizable: true,
|
|
690
|
+
editable: isEditable,
|
|
691
|
+
minWidth: 80,
|
|
692
|
+
flex: tableData.columns.length <= 8 ? 1 : undefined,
|
|
693
|
+
width: tableData.columns.length > 8 ? 160 : undefined,
|
|
694
|
+
cellStyle: { cursor: isEditable ? 'text' : 'default' },
|
|
695
|
+
valueFormatter: (params) => {
|
|
696
|
+
const v = params.value;
|
|
697
|
+
if (v == null)
|
|
698
|
+
return '';
|
|
699
|
+
if (typeof v === 'boolean')
|
|
700
|
+
return v ? 'true' : 'false';
|
|
701
|
+
return String(v);
|
|
702
|
+
},
|
|
703
|
+
},
|
|
704
|
+
// Editing
|
|
705
|
+
singleClickEdit: false, stopEditingWhenCellsLoseFocus: true, onCellValueChanged: handleCellValueChanged, onCellDoubleClicked: handleCellDoubleClicked,
|
|
706
|
+
// Selection
|
|
707
|
+
rowSelection: rowSelection,
|
|
708
|
+
// Quick filter
|
|
709
|
+
quickFilterText: searchTerm, cacheQuickFilter: true,
|
|
710
|
+
// Clipboard & text selection
|
|
711
|
+
enableCellTextSelection: true, ensureDomOrder: true,
|
|
712
|
+
// Virtual scrolling
|
|
713
|
+
rowBuffer: 20, animateRows: false, suppressColumnVirtualisation: tableData.columns.length <= 20, tooltipShowDelay: 300, onFirstDataRendered: (event) => {
|
|
714
|
+
if (tableData.columns.length > 8) {
|
|
715
|
+
try {
|
|
716
|
+
event.api.autoSizeAllColumns();
|
|
717
|
+
}
|
|
718
|
+
catch {
|
|
719
|
+
/* ignore */
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
}, overlayNoRowsTemplate: tHardcodedUi.raw('componentsFileRenderersSqliteRenderer.line1035JsxAttrOverlaynorowstemplateSpanClassTextMutedForegroundTextSmNo') }, `${selectedTable}-${dataVersion}`) })) : (_jsx("div", { className: "text-muted-foreground flex h-full w-full items-center justify-center text-sm", children: tHardcodedUi.raw('componentsFileRenderersSqliteRenderer.line1040JsxTextNoDataInThisTable') })) })] })), viewMode === 'schema' && selectedTableInfo && (_jsxs("div", { className: "flex-1 space-y-4 overflow-auto p-4", children: [_jsxs("div", { className: "space-y-2", children: [_jsxs("div", { className: "flex items-center justify-between", children: [_jsx("h3", { className: "text-muted-foreground text-xs font-medium", children: tHardcodedUi.raw('componentsFileRenderersSqliteRenderer.line1054JsxTextCreateStatement') }), _jsxs(Button, { variant: "muted", size: "xs", onClick: handleCopySchema, children: [copied ? (_jsx(Check, { className: "text-kortix-green h-3 w-3" })) : (_jsx(Copy, { className: "h-3 w-3" })), copied ? 'Copied' : 'Copy'] })] }), _jsx("pre", { className: "bg-muted/50 text-muted-foreground overflow-x-auto rounded-md border p-4 font-mono text-xs whitespace-pre-wrap select-text", children: selectedTableInfo.sql || tHardcodedUi.raw('i18nComplete.text86dcb7f9e791') })] }), _jsxs("div", { className: "space-y-2", children: [_jsxs("h3", { className: "text-muted-foreground text-xs font-medium", children: [tHardcodedUi.raw('componentsFileRenderersSqliteRenderer.line1077JsxTextColumns'), selectedTableInfo.columns.length, ")"] }), _jsx("div", { className: "overflow-hidden rounded-md border", children: _jsxs("table", { className: "w-full text-xs", children: [_jsx("thead", { children: _jsxs("tr", { className: "bg-muted/50 border-b", children: [_jsx("th", { className: "text-muted-foreground w-8 px-3 py-2 text-left font-medium", children: "#" }), _jsx("th", { className: "text-muted-foreground px-3 py-2 text-left font-medium", children: tHardcodedUi.raw('i18nComplete.textdcd1d5223f73') }), _jsx("th", { className: "text-muted-foreground px-3 py-2 text-left font-medium", children: tHardcodedUi.raw('i18nComplete.textbaaddf70fb5d') }), _jsx("th", { className: "text-muted-foreground w-16 px-3 py-2 text-center font-medium", children: "PK" }), _jsx("th", { className: "text-muted-foreground w-20 px-3 py-2 text-center font-medium", children: tHardcodedUi.raw('componentsFileRenderersSqliteRenderer.line1087JsxTextNotNull') }), _jsx("th", { className: "text-muted-foreground px-3 py-2 text-left font-medium", children: tHardcodedUi.raw('i18nComplete.text21b111cbfe6e') })] }) }), _jsx("tbody", { children: selectedTableInfo.columns.map((col) => (_jsxs("tr", { className: "hover:bg-muted/30 border-b transition-colors last:border-0", children: [_jsx("td", { className: "text-muted-foreground/50 px-3 py-2 tabular-nums", children: col.cid }), _jsx("td", { className: "text-foreground px-3 py-2 font-medium", children: _jsxs("span", { className: "inline-flex items-center gap-1.5", children: [col.pk && _jsx(Key, { className: "text-kortix-orange h-3 w-3" }), col.name] }) }), _jsx("td", { className: "px-3 py-2", children: _jsxs("span", { className: "inline-flex items-center gap-1", children: [getTypeIcon(col.type), _jsx("span", { className: "text-muted-foreground font-mono", children: col.type || 'ANY' })] }) }), _jsx("td", { className: "px-3 py-2 text-center", children: col.pk && (_jsx("span", { className: "bg-kortix-orange/10 text-kortix-orange inline-flex h-4 w-4 items-center justify-center rounded-full text-xs font-semibold", children: "\u2713" })) }), _jsx("td", { className: "px-3 py-2 text-center", children: col.notnull && (_jsx("span", { className: "bg-destructive/10 text-destructive inline-flex h-4 w-4 items-center justify-center rounded-full text-xs font-semibold", children: "\u2713" })) }), _jsx("td", { className: "text-muted-foreground/60 px-3 py-2 font-mono", children: col.dflt_value ?? '—' })] }, col.cid))) })] }) })] }), _jsxs("div", { className: "flex items-center gap-4 text-xs", children: [_jsxs("div", { className: "flex items-center gap-1.5", children: [_jsx("span", { className: "text-muted-foreground/50", children: tHardcodedUi.raw('i18nComplete.text101f2ff3de22') }), _jsx("span", { className: "font-medium tabular-nums", children: selectedTableInfo.rowCount.toLocaleString() })] }), _jsxs("div", { className: "flex items-center gap-1.5", children: [_jsx("span", { className: "text-muted-foreground/50", children: tHardcodedUi.raw('i18nComplete.text53aade77cd69') }), _jsx("span", { className: "font-medium tabular-nums", children: selectedTableInfo.columns.length })] }), selectedTableInfo.columns.some((c) => c.pk) && (_jsxs("div", { className: "flex items-center gap-1.5", children: [_jsx("span", { className: "text-muted-foreground/50", children: tHardcodedUi.raw('componentsFileRenderersSqliteRenderer.line1146JsxTextPrimaryKeys') }), _jsx("span", { className: "font-medium tabular-nums", children: selectedTableInfo.columns.filter((c) => c.pk).length })] })), selectedTableInfo.columns.some((c) => c.notnull) && (_jsxs("div", { className: "flex items-center gap-1.5", children: [_jsx("span", { className: "text-muted-foreground/50", children: tHardcodedUi.raw('componentsFileRenderersSqliteRenderer.line1152JsxTextNotNull') }), _jsx("span", { className: "font-medium tabular-nums", children: selectedTableInfo.columns.filter((c) => c.notnull).length })] }))] })] })), viewMode === 'query' && (_jsxs("div", { className: "flex flex-1 flex-col overflow-hidden", children: [_jsxs("div", { className: "shrink-0 space-y-2 border-b p-3", children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx("span", { className: "text-muted-foreground/50 text-xs", children: "SQL" }), _jsxs("div", { className: "ml-auto flex items-center gap-1.5", children: [_jsxs("span", { className: "text-muted-foreground/30 text-xs", children: [typeof navigator !== 'undefined' && navigator.platform?.includes('Mac')
|
|
723
|
+
? '⌘'
|
|
724
|
+
: 'Ctrl', tHardcodedUi.raw('componentsFileRenderersSqliteRenderer.line1169JsxTextEnter')] }), _jsxs("button", { className: cn('inline-flex h-7 cursor-pointer items-center gap-1 rounded-md px-2.5 text-xs transition-colors', sqlQuery.trim()
|
|
725
|
+
? 'bg-primary text-primary-foreground hover:bg-primary/90'
|
|
726
|
+
: 'bg-muted text-muted-foreground cursor-not-allowed'), onClick: runQuery, disabled: isQueryRunning || !sqlQuery.trim(), children: [isQueryRunning ? (_jsx(Loading, { className: "h-3 w-3" })) : (_jsx(Play, { className: "h-3 w-3" })), tHardcodedUi.raw('i18nComplete.text00d60e31a4e6')] })] })] }), _jsx("textarea", { value: sqlQuery, onChange: (e) => setSqlQuery(e.target.value), onKeyDown: handleQueryKeyDown, placeholder: `SELECT * FROM "${selectedTable || 'table_name'}" LIMIT 100`, className: cn('bg-muted/30 h-24 w-full cursor-text rounded-md border px-3 py-2 font-mono text-xs', 'focus:ring-ring resize-none focus:ring-1 focus:outline-none', 'placeholder:text-muted-foreground/30'), spellCheck: false })] }), _jsxs("div", { className: "flex flex-1 flex-col overflow-hidden", children: [queryResult?.error && (_jsxs("div", { className: "border-destructive/20 bg-destructive/5 text-destructive shrink-0 border-b px-4 py-2 font-mono text-xs select-text", children: [tHardcodedUi.raw('i18nComplete.text617062906764'), " ", queryResult.error] })), queryResult && !queryResult.error && (_jsxs("div", { className: "text-muted-foreground flex shrink-0 items-center gap-2 border-b px-3 py-1.5 text-xs", children: [_jsxs("span", { children: [queryResult.rowCount.toLocaleString(), ' ', tHardcodedUi.raw('i18nComplete.text634768dae147'), queryResult.rowCount !== 1 ? 's' : ''] }), _jsx("span", { className: "text-muted-foreground/30", children: "\u00B7" }), _jsxs("span", { children: [queryResult.time.toFixed(1), tHardcodedUi.raw('i18nComplete.textf785c3ce1d58')] })] })), queryResult && queryResult.rows.length > 0 && (_jsx("div", { className: "flex-1 overflow-hidden", children: _jsx(Suspense, { fallback: _jsx(GridFallback, {}), children: _jsx(DataGrid, { rowData: queryResult.rows, className: "h-full" }, `query-${queryResult.time}`) }) })), !queryResult && (_jsx("div", { className: "flex flex-1 items-center justify-center", children: _jsxs("div", { className: "space-y-2 text-center", children: [_jsx(Play, { className: "text-muted-foreground/20 mx-auto h-8 w-8" }), _jsx("p", { className: "text-muted-foreground/40 text-sm", children: tHardcodedUi.raw('componentsFileRenderersSqliteRenderer.line1237JsxTextWriteAQueryAndPressRun') })] }) })), queryResult && queryResult.rows.length === 0 && !queryResult.error && (_jsx("div", { className: "flex flex-1 items-center justify-center", children: _jsxs("p", { className: "text-muted-foreground/40 text-sm", children: [tHardcodedUi.raw('componentsFileRenderersSqliteRenderer.line1246JsxTextQueryReturnedNoRows'), queryResult.time.toFixed(1), tHardcodedUi.raw('i18nComplete.text9e7d85a50dc3')] }) }))] })] }))] })] }), expandedCell && (_jsx("div", { className: "absolute inset-0 z-50 flex items-center justify-center bg-black/40 p-6 backdrop-blur-[2px]", onClick: () => setExpandedCell(null), children: _jsxs("div", { className: "bg-background border-border/60 flex max-h-[70vh] w-full max-w-xl flex-col overflow-hidden rounded-md border shadow-xl", onClick: (e) => e.stopPropagation(), children: [_jsxs("div", { className: "flex items-center justify-between border-b px-4 py-2.5", children: [_jsxs("div", { className: "flex min-w-0 items-center gap-2", children: [_jsx("span", { className: "text-muted-foreground truncate font-mono text-xs", children: expandedCell.column }), _jsxs("span", { className: "text-muted-foreground/30 shrink-0 text-xs tabular-nums", children: [tHardcodedUi.raw('i18nComplete.text634768dae147'), " ", expandedCell.rowIndex + 1] })] }), _jsxs("div", { className: "flex shrink-0 items-center gap-1", children: [isEditable && expandedEditValue !== expandedCell.value && (_jsxs(Button, { variant: "default", size: "toolbar", onClick: handleExpandedSave, children: [_jsx(Check, { className: "h-3 w-3" }), tHardcodedUi.raw('i18nComplete.text31e392d1c037')] })), _jsx(Button, { onClick: () => setExpandedCell(null), variant: "ghost", size: "icon-sm", children: _jsx(X, { className: "h-3.5 w-3.5" }) })] })] }), _jsx("div", { className: "flex-1 overflow-auto", children: isEditable ? (_jsx("textarea", { value: expandedEditValue, onChange: (e) => setExpandedEditValue(e.target.value), className: cn('h-full min-h-[180px] w-full cursor-text bg-transparent p-4 font-mono text-sm', 'resize-none focus:outline-none', 'placeholder:text-muted-foreground/20'), placeholder: "NULL", "aria-label": `${expandedCell.column} value`, spellCheck: false, autoFocus: true })) : (_jsx("pre", { className: "text-muted-foreground min-h-[180px] p-4 font-mono text-sm break-all whitespace-pre-wrap select-text", children: expandedCell.value || (_jsx("span", { className: "text-muted-foreground/30 italic", children: "NULL" })) })) }), _jsxs("div", { className: "text-muted-foreground/30 border-t px-4 py-1.5 text-xs tabular-nums", children: [expandedEditValue.length.toLocaleString(), ' ', tHardcodedUi.raw('i18nComplete.text1ce93dacbcf4')] })] }) }))] }));
|
|
727
|
+
}
|