@jini-ai/ui 0.1.2 → 0.3.0
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 +108 -18
- package/dist/browser/useDismissOnOutsideOrEscape.d.ts.map +1 -1
- package/dist/browser/useDismissOnOutsideOrEscape.js +3 -2
- package/dist/browser/useDismissOnOutsideOrEscape.js.map +1 -1
- package/dist/browser/useGlobalKeydown.js +1 -1
- package/dist/browser/useGlobalKeydown.js.map +1 -1
- package/dist/core.d.ts +69 -0
- package/dist/core.d.ts.map +1 -0
- package/dist/core.js +66 -0
- package/dist/core.js.map +1 -0
- package/dist/features/a2ui/catalog-from-registry.d.ts +30 -0
- package/dist/features/a2ui/catalog-from-registry.d.ts.map +1 -0
- package/dist/features/a2ui/catalog-from-registry.js +25 -0
- package/dist/features/a2ui/catalog-from-registry.js.map +1 -0
- package/dist/features/a2ui/index.d.ts +5 -0
- package/dist/features/a2ui/index.d.ts.map +1 -0
- package/dist/features/a2ui/index.js +5 -0
- package/dist/features/a2ui/index.js.map +1 -0
- package/dist/features/a2ui/protocol.d.ts +7 -0
- package/dist/features/a2ui/protocol.d.ts.map +1 -0
- package/dist/features/a2ui/protocol.js +7 -0
- package/dist/features/a2ui/protocol.js.map +1 -0
- package/dist/features/a2ui/renderer.d.ts +17 -0
- package/dist/features/a2ui/renderer.d.ts.map +1 -0
- package/dist/features/a2ui/renderer.js +80 -0
- package/dist/features/a2ui/renderer.js.map +1 -0
- package/dist/features/a2ui/use-a2ui-surface.d.ts +13 -0
- package/dist/features/a2ui/use-a2ui-surface.d.ts.map +1 -0
- package/dist/features/a2ui/use-a2ui-surface.js +17 -0
- package/dist/features/a2ui/use-a2ui-surface.js.map +1 -0
- package/dist/features/about/index.d.ts +7 -0
- package/dist/features/about/index.d.ts.map +1 -0
- package/dist/features/about/index.js +4 -0
- package/dist/features/about/index.js.map +1 -0
- package/dist/features/about/react/components/AboutTab.d.ts +82 -0
- package/dist/features/about/react/components/AboutTab.d.ts.map +1 -0
- package/dist/features/about/react/components/AboutTab.js +70 -0
- package/dist/features/about/react/components/AboutTab.js.map +1 -0
- package/dist/features/about/react/hooks/useSilentUpdatesToggle.d.ts +44 -0
- package/dist/features/about/react/hooks/useSilentUpdatesToggle.d.ts.map +1 -0
- package/dist/features/about/react/hooks/useSilentUpdatesToggle.js +44 -0
- package/dist/features/about/react/hooks/useSilentUpdatesToggle.js.map +1 -0
- package/dist/features/about/rules.d.ts +105 -0
- package/dist/features/about/rules.d.ts.map +1 -0
- package/dist/features/about/rules.js +240 -0
- package/dist/features/about/rules.js.map +1 -0
- package/dist/features/about/types.d.ts +110 -0
- package/dist/features/about/types.d.ts.map +1 -0
- package/dist/features/about/types.js +20 -0
- package/dist/features/about/types.js.map +1 -0
- package/dist/features/appearance/constants.d.ts +16 -0
- package/dist/features/appearance/constants.d.ts.map +1 -0
- package/dist/features/appearance/constants.js +23 -0
- package/dist/features/appearance/constants.js.map +1 -0
- package/dist/features/appearance/index.d.ts +5 -0
- package/dist/features/appearance/index.d.ts.map +1 -0
- package/dist/features/appearance/index.js.map +1 -0
- package/dist/features/appearance/react/components/AppearanceTab.d.ts.map +1 -0
- package/dist/features/appearance/react/components/AppearanceTab.js +31 -0
- package/dist/features/appearance/react/components/AppearanceTab.js.map +1 -0
- package/dist/features/appearance/rules.d.ts +31 -0
- package/dist/features/appearance/rules.d.ts.map +1 -0
- package/dist/features/appearance/rules.js +45 -0
- package/dist/features/appearance/rules.js.map +1 -0
- package/dist/features/appearance/types.d.ts +12 -0
- package/dist/features/appearance/types.d.ts.map +1 -0
- package/dist/features/appearance/types.js +8 -0
- package/dist/features/appearance/types.js.map +1 -0
- package/dist/features/asset-grid/react/components/AssetGrid.d.ts.map +1 -1
- package/dist/features/asset-grid/react/components/AssetGrid.js +44 -9
- package/dist/features/asset-grid/react/components/AssetGrid.js.map +1 -1
- package/dist/features/asset-grid/react/hooks/useAssetGridLiveUpdates.d.ts.map +1 -1
- package/dist/features/asset-grid/react/hooks/useAssetGridLiveUpdates.js +39 -2
- package/dist/features/asset-grid/react/hooks/useAssetGridLiveUpdates.js.map +1 -1
- package/dist/features/asset-tree-browser/rules.d.ts +1 -0
- package/dist/features/asset-tree-browser/rules.d.ts.map +1 -1
- package/dist/features/asset-tree-browser/rules.js.map +1 -1
- package/dist/features/connectors/ConnectorsBrowser.d.ts.map +1 -1
- package/dist/features/connectors/ConnectorsBrowser.js +2 -2
- package/dist/features/connectors/ConnectorsBrowser.js.map +1 -1
- package/dist/features/connectors/components/ConnectorCard.d.ts.map +1 -1
- package/dist/features/connectors/components/ConnectorCard.js.map +1 -1
- package/dist/features/connectors/components/ConnectorDetailDrawer.d.ts.map +1 -1
- package/dist/features/connectors/components/ConnectorDetailDrawer.js.map +1 -1
- package/dist/features/connectors/dependencies.d.ts +1 -1
- package/dist/features/connectors/dependencies.d.ts.map +1 -1
- package/dist/features/connectors/dependencies.js +1 -2
- package/dist/features/connectors/dependencies.js.map +1 -1
- package/dist/features/connectors/hooks/useConnectorAuthorization.d.ts +38 -0
- package/dist/features/connectors/hooks/useConnectorAuthorization.d.ts.map +1 -1
- package/dist/features/connectors/hooks/useConnectorAuthorization.js +76 -63
- package/dist/features/connectors/hooks/useConnectorAuthorization.js.map +1 -1
- package/dist/features/connectors/hooks/useConnectorCatalog.d.ts.map +1 -1
- package/dist/features/connectors/hooks/useConnectorCatalog.js.map +1 -1
- package/dist/features/connectors/hooks/useConnectorDetail.d.ts.map +1 -1
- package/dist/features/connectors/hooks/useConnectorDetail.js +1 -1
- package/dist/features/connectors/hooks/useConnectorDetail.js.map +1 -1
- package/dist/features/connectors/index.d.ts +4 -4
- package/dist/features/connectors/index.d.ts.map +1 -1
- package/dist/features/connectors/index.js +2 -2
- package/dist/features/connectors/index.js.map +1 -1
- package/dist/features/execution/constants.d.ts +55 -0
- package/dist/features/execution/constants.d.ts.map +1 -0
- package/dist/features/execution/constants.js +187 -0
- package/dist/features/execution/constants.js.map +1 -0
- package/dist/features/execution/dependencies.d.ts +41 -0
- package/dist/features/execution/dependencies.d.ts.map +1 -0
- package/dist/features/execution/dependencies.js +64 -0
- package/dist/features/execution/dependencies.js.map +1 -0
- package/dist/features/execution/index.d.ts +24 -0
- package/dist/features/execution/index.d.ts.map +1 -0
- package/dist/features/execution/index.js +13 -0
- package/dist/features/execution/index.js.map +1 -0
- package/dist/features/execution/ports.d.ts +71 -0
- package/dist/features/execution/ports.d.ts.map +1 -0
- package/dist/features/execution/ports.js.map +1 -0
- package/dist/features/execution/react/components/AgentCliEnvFields.d.ts +26 -0
- package/dist/features/execution/react/components/AgentCliEnvFields.d.ts.map +1 -0
- package/dist/features/execution/react/components/AgentCliEnvFields.js +25 -0
- package/dist/features/execution/react/components/AgentCliEnvFields.js.map +1 -0
- package/dist/features/execution/react/components/AgentDiagnosticRow.d.ts +32 -0
- package/dist/features/execution/react/components/AgentDiagnosticRow.d.ts.map +1 -0
- package/dist/features/execution/react/components/AgentDiagnosticRow.js +61 -0
- package/dist/features/execution/react/components/AgentDiagnosticRow.js.map +1 -0
- package/dist/features/execution/react/components/ByokProviderForm.d.ts +73 -0
- package/dist/features/execution/react/components/ByokProviderForm.d.ts.map +1 -0
- package/dist/features/execution/react/components/ByokProviderForm.js +88 -0
- package/dist/features/execution/react/components/ByokProviderForm.js.map +1 -0
- package/dist/features/execution/react/components/ExecutionTab.d.ts +60 -0
- package/dist/features/execution/react/components/ExecutionTab.d.ts.map +1 -0
- package/dist/features/execution/react/components/ExecutionTab.js +91 -0
- package/dist/features/execution/react/components/ExecutionTab.js.map +1 -0
- package/dist/features/execution/react/components/LocalCliAgentCard.d.ts +40 -0
- package/dist/features/execution/react/components/LocalCliAgentCard.d.ts.map +1 -0
- package/dist/features/execution/react/components/LocalCliAgentCard.js +121 -0
- package/dist/features/execution/react/components/LocalCliAgentCard.js.map +1 -0
- package/dist/features/execution/react/components/LocalCliAgentList.d.ts +37 -0
- package/dist/features/execution/react/components/LocalCliAgentList.d.ts.map +1 -0
- package/dist/features/execution/react/components/LocalCliAgentList.js +18 -0
- package/dist/features/execution/react/components/LocalCliAgentList.js.map +1 -0
- package/dist/features/execution/react/components/ProviderChipGroup.d.ts +21 -0
- package/dist/features/execution/react/components/ProviderChipGroup.d.ts.map +1 -0
- package/dist/features/execution/react/components/ProviderChipGroup.js +22 -0
- package/dist/features/execution/react/components/ProviderChipGroup.js.map +1 -0
- package/dist/features/execution/react/components/SearchableModelSelect.d.ts +45 -0
- package/dist/features/execution/react/components/SearchableModelSelect.d.ts.map +1 -0
- package/dist/features/execution/react/components/SearchableModelSelect.js +55 -0
- package/dist/features/execution/react/components/SearchableModelSelect.js.map +1 -0
- package/dist/features/execution/react/hooks/useExecutionTab.d.ts +38 -0
- package/dist/features/execution/react/hooks/useExecutionTab.d.ts.map +1 -0
- package/dist/features/execution/react/hooks/useExecutionTab.js +158 -0
- package/dist/features/execution/react/hooks/useExecutionTab.js.map +1 -0
- package/dist/features/execution/rules.d.ts +218 -0
- package/dist/features/execution/rules.d.ts.map +1 -0
- package/dist/features/execution/rules.js +414 -0
- package/dist/features/execution/rules.js.map +1 -0
- package/dist/features/execution/types.d.ts +410 -0
- package/dist/features/execution/types.d.ts.map +1 -0
- package/dist/features/execution/types.js +19 -0
- package/dist/features/execution/types.js.map +1 -0
- package/dist/features/external-mcp/constants.d.ts +3 -0
- package/dist/features/external-mcp/constants.d.ts.map +1 -0
- package/dist/features/external-mcp/constants.js +22 -0
- package/dist/features/external-mcp/constants.js.map +1 -0
- package/dist/features/external-mcp/index.d.ts +4 -0
- package/dist/features/external-mcp/index.d.ts.map +1 -0
- package/dist/features/external-mcp/index.js +3 -0
- package/dist/features/external-mcp/index.js.map +1 -0
- package/dist/features/external-mcp/react/components/ExternalMcpTab.d.ts +23 -0
- package/dist/features/external-mcp/react/components/ExternalMcpTab.d.ts.map +1 -0
- package/dist/features/external-mcp/react/components/ExternalMcpTab.js +53 -0
- package/dist/features/external-mcp/react/components/ExternalMcpTab.js.map +1 -0
- package/dist/features/html-editor/canvas-content-wrapper.d.ts +16 -0
- package/dist/features/html-editor/canvas-content-wrapper.d.ts.map +1 -0
- package/dist/features/html-editor/canvas-content-wrapper.js +86 -0
- package/dist/features/html-editor/canvas-content-wrapper.js.map +1 -0
- package/dist/features/html-editor/canvas-embed-placeholders.d.ts +65 -0
- package/dist/features/html-editor/canvas-embed-placeholders.d.ts.map +1 -0
- package/dist/features/html-editor/canvas-embed-placeholders.js +190 -0
- package/dist/features/html-editor/canvas-embed-placeholders.js.map +1 -0
- package/dist/features/html-editor/canvas-style.d.ts +73 -0
- package/dist/features/html-editor/canvas-style.d.ts.map +1 -0
- package/dist/features/html-editor/canvas-style.js +64 -0
- package/dist/features/html-editor/canvas-style.js.map +1 -0
- package/dist/features/html-editor/css.d.ts +22 -0
- package/dist/features/html-editor/css.d.ts.map +1 -0
- package/dist/features/html-editor/css.js +140 -0
- package/dist/features/html-editor/css.js.map +1 -0
- package/dist/features/html-editor/dom.d.ts +15 -0
- package/dist/features/html-editor/dom.d.ts.map +1 -0
- package/dist/features/html-editor/dom.js +20 -0
- package/dist/features/html-editor/dom.js.map +1 -0
- package/dist/features/html-editor/index.d.ts +8 -0
- package/dist/features/html-editor/index.d.ts.map +1 -0
- package/dist/features/html-editor/index.js +5 -0
- package/dist/features/html-editor/index.js.map +1 -0
- package/dist/features/html-editor/react/components/InteractiveHtmlEditor.d.ts +94 -0
- package/dist/features/html-editor/react/components/InteractiveHtmlEditor.d.ts.map +1 -0
- package/dist/features/html-editor/react/components/InteractiveHtmlEditor.js +15 -0
- package/dist/features/html-editor/react/components/InteractiveHtmlEditor.js.map +1 -0
- package/dist/features/html-editor/react/hooks/useInteractiveHtmlEditor.d.ts +33 -0
- package/dist/features/html-editor/react/hooks/useInteractiveHtmlEditor.d.ts.map +1 -0
- package/dist/features/html-editor/react/hooks/useInteractiveHtmlEditor.js +170 -0
- package/dist/features/html-editor/react/hooks/useInteractiveHtmlEditor.js.map +1 -0
- package/dist/features/html-viewer/dependencies.d.ts +1 -1
- package/dist/features/html-viewer/dependencies.d.ts.map +1 -1
- package/dist/features/html-viewer/dependencies.js +2 -2
- package/dist/features/html-viewer/dependencies.js.map +1 -1
- package/dist/features/html-viewer/react/hooks/useDeckNavigation.d.ts +2 -2
- package/dist/features/html-viewer/react/hooks/useDeckNavigation.js +3 -3
- package/dist/features/html-viewer/react/hooks/useDeckNavigation.js.map +1 -1
- package/dist/features/i18n/context.d.ts +35 -2
- package/dist/features/i18n/context.d.ts.map +1 -1
- package/dist/features/i18n/context.js +1 -1
- package/dist/features/i18n/context.js.map +1 -1
- package/dist/features/i18n/dictionaries/index.d.ts +63 -0
- package/dist/features/i18n/dictionaries/index.d.ts.map +1 -0
- package/dist/features/i18n/dictionaries/index.js +70 -0
- package/dist/features/i18n/dictionaries/index.js.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.ar.d.ts +8 -0
- package/dist/features/i18n/dictionaries/settings-dialog.ar.d.ts.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.ar.js +239 -0
- package/dist/features/i18n/dictionaries/settings-dialog.ar.js.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.bn.d.ts +8 -0
- package/dist/features/i18n/dictionaries/settings-dialog.bn.d.ts.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.bn.js +239 -0
- package/dist/features/i18n/dictionaries/settings-dialog.bn.js.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.de.d.ts +17 -0
- package/dist/features/i18n/dictionaries/settings-dialog.de.d.ts.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.de.js +239 -0
- package/dist/features/i18n/dictionaries/settings-dialog.de.js.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.en.d.ts +33 -0
- package/dist/features/i18n/dictionaries/settings-dialog.en.d.ts.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.en.js +239 -0
- package/dist/features/i18n/dictionaries/settings-dialog.en.js.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.es.d.ts +17 -0
- package/dist/features/i18n/dictionaries/settings-dialog.es.d.ts.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.es.js +239 -0
- package/dist/features/i18n/dictionaries/settings-dialog.es.js.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.fa.d.ts +8 -0
- package/dist/features/i18n/dictionaries/settings-dialog.fa.d.ts.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.fa.js +239 -0
- package/dist/features/i18n/dictionaries/settings-dialog.fa.js.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.fr.d.ts +17 -0
- package/dist/features/i18n/dictionaries/settings-dialog.fr.d.ts.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.fr.js +239 -0
- package/dist/features/i18n/dictionaries/settings-dialog.fr.js.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.hi.d.ts +8 -0
- package/dist/features/i18n/dictionaries/settings-dialog.hi.d.ts.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.hi.js +239 -0
- package/dist/features/i18n/dictionaries/settings-dialog.hi.js.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.hu.d.ts +8 -0
- package/dist/features/i18n/dictionaries/settings-dialog.hu.d.ts.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.hu.js +239 -0
- package/dist/features/i18n/dictionaries/settings-dialog.hu.js.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.id.d.ts +17 -0
- package/dist/features/i18n/dictionaries/settings-dialog.id.d.ts.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.id.js +239 -0
- package/dist/features/i18n/dictionaries/settings-dialog.id.js.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.it.d.ts +17 -0
- package/dist/features/i18n/dictionaries/settings-dialog.it.d.ts.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.it.js +239 -0
- package/dist/features/i18n/dictionaries/settings-dialog.it.js.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.ja.d.ts +8 -0
- package/dist/features/i18n/dictionaries/settings-dialog.ja.d.ts.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.ja.js +239 -0
- package/dist/features/i18n/dictionaries/settings-dialog.ja.js.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.ko.d.ts +8 -0
- package/dist/features/i18n/dictionaries/settings-dialog.ko.d.ts.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.ko.js +239 -0
- package/dist/features/i18n/dictionaries/settings-dialog.ko.js.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.pl.d.ts +8 -0
- package/dist/features/i18n/dictionaries/settings-dialog.pl.d.ts.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.pl.js +239 -0
- package/dist/features/i18n/dictionaries/settings-dialog.pl.js.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.pt-BR.d.ts +8 -0
- package/dist/features/i18n/dictionaries/settings-dialog.pt-BR.d.ts.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.pt-BR.js +239 -0
- package/dist/features/i18n/dictionaries/settings-dialog.pt-BR.js.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.ru.d.ts +8 -0
- package/dist/features/i18n/dictionaries/settings-dialog.ru.d.ts.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.ru.js +239 -0
- package/dist/features/i18n/dictionaries/settings-dialog.ru.js.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.th.d.ts +17 -0
- package/dist/features/i18n/dictionaries/settings-dialog.th.d.ts.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.th.js +239 -0
- package/dist/features/i18n/dictionaries/settings-dialog.th.js.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.tr.d.ts +17 -0
- package/dist/features/i18n/dictionaries/settings-dialog.tr.d.ts.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.tr.js +239 -0
- package/dist/features/i18n/dictionaries/settings-dialog.tr.js.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.uk.d.ts +17 -0
- package/dist/features/i18n/dictionaries/settings-dialog.uk.d.ts.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.uk.js +239 -0
- package/dist/features/i18n/dictionaries/settings-dialog.uk.js.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.ur.d.ts +8 -0
- package/dist/features/i18n/dictionaries/settings-dialog.ur.d.ts.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.ur.js +239 -0
- package/dist/features/i18n/dictionaries/settings-dialog.ur.js.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.zh-CN.d.ts +17 -0
- package/dist/features/i18n/dictionaries/settings-dialog.zh-CN.d.ts.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.zh-CN.js +239 -0
- package/dist/features/i18n/dictionaries/settings-dialog.zh-CN.js.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.zh-TW.d.ts +20 -0
- package/dist/features/i18n/dictionaries/settings-dialog.zh-TW.d.ts.map +1 -0
- package/dist/features/i18n/dictionaries/settings-dialog.zh-TW.js +239 -0
- package/dist/features/i18n/dictionaries/settings-dialog.zh-TW.js.map +1 -0
- package/dist/features/i18n/dictionaries/types.d.ts +16 -0
- package/dist/features/i18n/dictionaries/types.d.ts.map +1 -0
- package/dist/features/i18n/dictionaries/types.js.map +1 -0
- package/dist/features/i18n/index.d.ts +2 -0
- package/dist/features/i18n/index.d.ts.map +1 -1
- package/dist/features/i18n/index.js +1 -0
- package/dist/features/i18n/index.js.map +1 -1
- package/dist/features/iframe-pool/react/components/PooledIframe.d.ts.map +1 -1
- package/dist/features/iframe-pool/react/components/PooledIframe.js +27 -3
- package/dist/features/iframe-pool/react/components/PooledIframe.js.map +1 -1
- package/dist/features/instructions/index.d.ts.map +1 -0
- package/dist/features/instructions/index.js.map +1 -0
- package/dist/features/instructions/react/components/InstructionsTab.d.ts.map +1 -0
- package/dist/features/instructions/react/components/InstructionsTab.js +16 -0
- package/dist/features/instructions/react/components/InstructionsTab.js.map +1 -0
- package/dist/features/integrations/constants.d.ts.map +1 -0
- package/dist/features/integrations/constants.js.map +1 -0
- package/dist/features/integrations/dependencies.d.ts.map +1 -0
- package/dist/features/integrations/dependencies.js.map +1 -0
- package/dist/features/integrations/index.d.ts +18 -0
- package/dist/features/integrations/index.d.ts.map +1 -0
- package/dist/features/integrations/index.js +10 -0
- package/dist/features/integrations/index.js.map +1 -0
- package/dist/features/integrations/ports.d.ts.map +1 -0
- package/dist/features/integrations/ports.js +2 -0
- package/dist/features/integrations/ports.js.map +1 -0
- package/dist/features/integrations/react/components/ClientPicker.d.ts.map +1 -0
- package/dist/features/integrations/react/components/ClientPicker.js +31 -0
- package/dist/features/integrations/react/components/ClientPicker.js.map +1 -0
- package/dist/features/integrations/react/components/CodexInstallToggleButton.d.ts.map +1 -0
- package/dist/features/integrations/react/components/CodexInstallToggleButton.js +21 -0
- package/dist/features/integrations/react/components/CodexInstallToggleButton.js.map +1 -0
- package/dist/features/integrations/react/components/IntegrationsTab.d.ts +27 -0
- package/dist/features/integrations/react/components/IntegrationsTab.d.ts.map +1 -0
- package/dist/features/integrations/react/components/IntegrationsTab.js +61 -0
- package/dist/features/integrations/react/components/IntegrationsTab.js.map +1 -0
- package/dist/features/integrations/react/components/SnippetBlock.d.ts.map +1 -0
- package/dist/features/integrations/react/components/SnippetBlock.js +53 -0
- package/dist/features/integrations/react/components/SnippetBlock.js.map +1 -0
- package/dist/features/integrations/react/hooks/useCodexInstallToggle.d.ts.map +1 -0
- package/dist/features/integrations/react/hooks/useCodexInstallToggle.js.map +1 -0
- package/dist/features/integrations/react/hooks/useMcpInstallInfo.d.ts.map +1 -0
- package/dist/features/integrations/react/hooks/useMcpInstallInfo.js.map +1 -0
- package/dist/features/integrations/rules.d.ts +55 -0
- package/dist/features/integrations/rules.d.ts.map +1 -0
- package/dist/features/integrations/rules.js +193 -0
- package/dist/features/integrations/rules.js.map +1 -0
- package/dist/features/integrations/types.d.ts +58 -0
- package/dist/features/integrations/types.d.ts.map +1 -0
- package/dist/features/integrations/types.js +15 -0
- package/dist/features/integrations/types.js.map +1 -0
- package/dist/features/interactive-ui/index.d.ts +23 -0
- package/dist/features/interactive-ui/index.d.ts.map +1 -0
- package/dist/features/interactive-ui/index.js +37 -0
- package/dist/features/interactive-ui/index.js.map +1 -0
- package/dist/features/interactive-ui/interactive-ui.css +2 -0
- package/dist/features/interactive-ui/manifests.d.ts +21 -0
- package/dist/features/interactive-ui/manifests.d.ts.map +1 -0
- package/dist/features/interactive-ui/manifests.js +37 -0
- package/dist/features/interactive-ui/manifests.js.map +1 -0
- package/dist/features/interactive-ui/providers/native/data-table.d.ts +12 -0
- package/dist/features/interactive-ui/providers/native/data-table.d.ts.map +1 -0
- package/dist/features/interactive-ui/providers/native/data-table.js +5 -0
- package/dist/features/interactive-ui/providers/native/data-table.js.map +1 -0
- package/dist/features/interactive-ui/providers/native/data-table.manifest.d.ts +57 -0
- package/dist/features/interactive-ui/providers/native/data-table.manifest.d.ts.map +1 -0
- package/dist/features/interactive-ui/providers/native/data-table.manifest.js +31 -0
- package/dist/features/interactive-ui/providers/native/data-table.manifest.js.map +1 -0
- package/dist/features/interactive-ui/providers/native/index.d.ts +3 -0
- package/dist/features/interactive-ui/providers/native/index.d.ts.map +1 -0
- package/dist/features/interactive-ui/providers/native/index.js +3 -0
- package/dist/features/interactive-ui/providers/native/index.js.map +1 -0
- package/dist/features/interactive-ui/providers/recharts/bar-chart.d.ts +8 -0
- package/dist/features/interactive-ui/providers/recharts/bar-chart.d.ts.map +1 -0
- package/dist/features/interactive-ui/providers/recharts/bar-chart.js +6 -0
- package/dist/features/interactive-ui/providers/recharts/bar-chart.js.map +1 -0
- package/dist/features/interactive-ui/providers/recharts/bar-chart.manifest.d.ts +21 -0
- package/dist/features/interactive-ui/providers/recharts/bar-chart.manifest.d.ts.map +1 -0
- package/dist/features/interactive-ui/providers/recharts/bar-chart.manifest.js +18 -0
- package/dist/features/interactive-ui/providers/recharts/bar-chart.manifest.js.map +1 -0
- package/dist/features/interactive-ui/providers/recharts/index.d.ts +7 -0
- package/dist/features/interactive-ui/providers/recharts/index.d.ts.map +1 -0
- package/dist/features/interactive-ui/providers/recharts/index.js +7 -0
- package/dist/features/interactive-ui/providers/recharts/index.js.map +1 -0
- package/dist/features/interactive-ui/providers/recharts/line-chart.d.ts +8 -0
- package/dist/features/interactive-ui/providers/recharts/line-chart.d.ts.map +1 -0
- package/dist/features/interactive-ui/providers/recharts/line-chart.js +6 -0
- package/dist/features/interactive-ui/providers/recharts/line-chart.js.map +1 -0
- package/dist/features/interactive-ui/providers/recharts/line-chart.manifest.d.ts +20 -0
- package/dist/features/interactive-ui/providers/recharts/line-chart.manifest.d.ts.map +1 -0
- package/dist/features/interactive-ui/providers/recharts/line-chart.manifest.js +17 -0
- package/dist/features/interactive-ui/providers/recharts/line-chart.manifest.js.map +1 -0
- package/dist/features/interactive-ui/providers/recharts/pie-chart.d.ts +10 -0
- package/dist/features/interactive-ui/providers/recharts/pie-chart.d.ts.map +1 -0
- package/dist/features/interactive-ui/providers/recharts/pie-chart.js +7 -0
- package/dist/features/interactive-ui/providers/recharts/pie-chart.js.map +1 -0
- package/dist/features/interactive-ui/providers/recharts/pie-chart.manifest.d.ts +41 -0
- package/dist/features/interactive-ui/providers/recharts/pie-chart.manifest.d.ts.map +1 -0
- package/dist/features/interactive-ui/providers/recharts/pie-chart.manifest.js +15 -0
- package/dist/features/interactive-ui/providers/recharts/pie-chart.manifest.js.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/action-button.d.ts +14 -0
- package/dist/features/interactive-ui/providers/shadcn/action-button.d.ts.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/action-button.js +6 -0
- package/dist/features/interactive-ui/providers/shadcn/action-button.js.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/action-button.manifest.d.ts +24 -0
- package/dist/features/interactive-ui/providers/shadcn/action-button.manifest.d.ts.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/action-button.manifest.js +21 -0
- package/dist/features/interactive-ui/providers/shadcn/action-button.manifest.js.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/button.d.ts +18 -0
- package/dist/features/interactive-ui/providers/shadcn/button.d.ts.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/button.js +40 -0
- package/dist/features/interactive-ui/providers/shadcn/button.js.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/card.d.ts +13 -0
- package/dist/features/interactive-ui/providers/shadcn/card.d.ts.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/card.js +21 -0
- package/dist/features/interactive-ui/providers/shadcn/card.js.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/checkbox-field.d.ts +9 -0
- package/dist/features/interactive-ui/providers/shadcn/checkbox-field.d.ts.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/checkbox-field.js +9 -0
- package/dist/features/interactive-ui/providers/shadcn/checkbox-field.js.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/checkbox-field.manifest.d.ts +17 -0
- package/dist/features/interactive-ui/providers/shadcn/checkbox-field.manifest.d.ts.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/checkbox-field.manifest.js +16 -0
- package/dist/features/interactive-ui/providers/shadcn/checkbox-field.manifest.js.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/checkbox.d.ts +10 -0
- package/dist/features/interactive-ui/providers/shadcn/checkbox.d.ts.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/checkbox.js +14 -0
- package/dist/features/interactive-ui/providers/shadcn/checkbox.js.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/content-card.d.ts +7 -0
- package/dist/features/interactive-ui/providers/shadcn/content-card.d.ts.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/content-card.js +6 -0
- package/dist/features/interactive-ui/providers/shadcn/content-card.js.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/content-card.manifest.d.ts +17 -0
- package/dist/features/interactive-ui/providers/shadcn/content-card.manifest.d.ts.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/content-card.manifest.js +16 -0
- package/dist/features/interactive-ui/providers/shadcn/content-card.manifest.js.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/data-table.d.ts +13 -0
- package/dist/features/interactive-ui/providers/shadcn/data-table.d.ts.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/data-table.js +7 -0
- package/dist/features/interactive-ui/providers/shadcn/data-table.js.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/data-table.manifest.d.ts +47 -0
- package/dist/features/interactive-ui/providers/shadcn/data-table.manifest.d.ts.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/data-table.manifest.js +21 -0
- package/dist/features/interactive-ui/providers/shadcn/data-table.manifest.js.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/index.d.ts +15 -0
- package/dist/features/interactive-ui/providers/shadcn/index.d.ts.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/index.js +15 -0
- package/dist/features/interactive-ui/providers/shadcn/index.js.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/input.d.ts +8 -0
- package/dist/features/interactive-ui/providers/shadcn/input.d.ts.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/input.js +13 -0
- package/dist/features/interactive-ui/providers/shadcn/input.js.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/label.d.ts +11 -0
- package/dist/features/interactive-ui/providers/shadcn/label.d.ts.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/label.js +15 -0
- package/dist/features/interactive-ui/providers/shadcn/label.js.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/lib/utils.d.ts +9 -0
- package/dist/features/interactive-ui/providers/shadcn/lib/utils.d.ts.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/lib/utils.js +12 -0
- package/dist/features/interactive-ui/providers/shadcn/lib/utils.js.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/radio-group-field.d.ts +13 -0
- package/dist/features/interactive-ui/providers/shadcn/radio-group-field.d.ts.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/radio-group-field.js +14 -0
- package/dist/features/interactive-ui/providers/shadcn/radio-group-field.js.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/radio-group-field.manifest.d.ts +44 -0
- package/dist/features/interactive-ui/providers/shadcn/radio-group-field.manifest.d.ts.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/radio-group-field.manifest.js +16 -0
- package/dist/features/interactive-ui/providers/shadcn/radio-group-field.manifest.js.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/radio-group.d.ts +11 -0
- package/dist/features/interactive-ui/providers/shadcn/radio-group.d.ts.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/radio-group.js +20 -0
- package/dist/features/interactive-ui/providers/shadcn/radio-group.js.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/select-field.d.ts +14 -0
- package/dist/features/interactive-ui/providers/shadcn/select-field.d.ts.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/select-field.js +8 -0
- package/dist/features/interactive-ui/providers/shadcn/select-field.js.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/select-field.manifest.d.ts +47 -0
- package/dist/features/interactive-ui/providers/shadcn/select-field.manifest.d.ts.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/select-field.manifest.js +17 -0
- package/dist/features/interactive-ui/providers/shadcn/select-field.manifest.js.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/select.d.ts +19 -0
- package/dist/features/interactive-ui/providers/shadcn/select.d.ts.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/select.js +30 -0
- package/dist/features/interactive-ui/providers/shadcn/select.js.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/table.d.ts +17 -0
- package/dist/features/interactive-ui/providers/shadcn/table.d.ts.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/table.js +35 -0
- package/dist/features/interactive-ui/providers/shadcn/table.js.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/text-input-field.d.ts +16 -0
- package/dist/features/interactive-ui/providers/shadcn/text-input-field.d.ts.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/text-input-field.js +6 -0
- package/dist/features/interactive-ui/providers/shadcn/text-input-field.js.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/text-input-field.manifest.d.ts +20 -0
- package/dist/features/interactive-ui/providers/shadcn/text-input-field.manifest.d.ts.map +1 -0
- package/dist/features/interactive-ui/providers/shadcn/text-input-field.manifest.js +17 -0
- package/dist/features/interactive-ui/providers/shadcn/text-input-field.manifest.js.map +1 -0
- package/dist/features/interactive-ui/registry.d.ts +27 -0
- package/dist/features/interactive-ui/registry.d.ts.map +1 -0
- package/dist/features/interactive-ui/registry.js +27 -0
- package/dist/features/interactive-ui/registry.js.map +1 -0
- package/dist/features/interactive-ui/types.d.ts +18 -0
- package/dist/features/interactive-ui/types.d.ts.map +1 -0
- package/dist/features/interactive-ui/types.js.map +1 -0
- package/dist/features/language/index.d.ts.map +1 -0
- package/dist/features/language/index.js.map +1 -0
- package/dist/features/language/react/components/LanguageTab.d.ts.map +1 -0
- package/dist/features/language/react/components/LanguageTab.js +18 -0
- package/dist/features/language/react/components/LanguageTab.js.map +1 -0
- package/dist/features/language/types.d.ts +21 -0
- package/dist/features/language/types.d.ts.map +1 -0
- package/dist/features/language/types.js +2 -0
- package/dist/features/language/types.js.map +1 -0
- package/dist/features/list-detail-panel/types.d.ts +1 -1
- package/dist/features/list-detail-panel/types.js +1 -1
- package/dist/features/mcp-ui/confirmation-store.d.ts +110 -0
- package/dist/features/mcp-ui/confirmation-store.d.ts.map +1 -0
- package/dist/features/mcp-ui/confirmation-store.js +149 -0
- package/dist/features/mcp-ui/confirmation-store.js.map +1 -0
- package/dist/features/mcp-ui/early-message-buffer.d.ts +62 -0
- package/dist/features/mcp-ui/early-message-buffer.d.ts.map +1 -0
- package/dist/features/mcp-ui/early-message-buffer.js +69 -0
- package/dist/features/mcp-ui/early-message-buffer.js.map +1 -0
- package/dist/features/mcp-ui/escape.d.ts +51 -0
- package/dist/features/mcp-ui/escape.d.ts.map +1 -0
- package/dist/features/mcp-ui/escape.js +68 -0
- package/dist/features/mcp-ui/escape.js.map +1 -0
- package/dist/features/mcp-ui/index.d.ts +28 -0
- package/dist/features/mcp-ui/index.d.ts.map +1 -0
- package/dist/features/mcp-ui/index.js +28 -0
- package/dist/features/mcp-ui/index.js.map +1 -0
- package/dist/features/mcp-ui/protocol.d.ts +59 -0
- package/dist/features/mcp-ui/protocol.d.ts.map +1 -0
- package/dist/features/mcp-ui/protocol.js +58 -0
- package/dist/features/mcp-ui/protocol.js.map +1 -0
- package/dist/features/mcp-ui/resource.d.ts +192 -0
- package/dist/features/mcp-ui/resource.d.ts.map +1 -0
- package/dist/features/mcp-ui/resource.js +228 -0
- package/dist/features/mcp-ui/resource.js.map +1 -0
- package/dist/features/mcp-ui/sandbox-proxy.d.ts +132 -0
- package/dist/features/mcp-ui/sandbox-proxy.d.ts.map +1 -0
- package/dist/features/mcp-ui/sandbox-proxy.js +167 -0
- package/dist/features/mcp-ui/sandbox-proxy.js.map +1 -0
- package/dist/features/mcp-ui/surfaces/bridge.d.ts +43 -0
- package/dist/features/mcp-ui/surfaces/bridge.d.ts.map +1 -0
- package/dist/features/mcp-ui/surfaces/bridge.js +200 -0
- package/dist/features/mcp-ui/surfaces/bridge.js.map +1 -0
- package/dist/features/mcp-ui/surfaces/checkbox.d.ts +25 -0
- package/dist/features/mcp-ui/surfaces/checkbox.d.ts.map +1 -0
- package/dist/features/mcp-ui/surfaces/checkbox.js +26 -0
- package/dist/features/mcp-ui/surfaces/checkbox.js.map +1 -0
- package/dist/features/mcp-ui/surfaces/choice-group.d.ts +34 -0
- package/dist/features/mcp-ui/surfaces/choice-group.d.ts.map +1 -0
- package/dist/features/mcp-ui/surfaces/choice-group.js +70 -0
- package/dist/features/mcp-ui/surfaces/choice-group.js.map +1 -0
- package/dist/features/mcp-ui/surfaces/confirmation.d.ts +75 -0
- package/dist/features/mcp-ui/surfaces/confirmation.d.ts.map +1 -0
- package/dist/features/mcp-ui/surfaces/confirmation.js +148 -0
- package/dist/features/mcp-ui/surfaces/confirmation.js.map +1 -0
- package/dist/features/mcp-ui/surfaces/document.d.ts +173 -0
- package/dist/features/mcp-ui/surfaces/document.d.ts.map +1 -0
- package/dist/features/mcp-ui/surfaces/document.js +327 -0
- package/dist/features/mcp-ui/surfaces/document.js.map +1 -0
- package/dist/features/mcp-ui/surfaces/fields.d.ts +77 -0
- package/dist/features/mcp-ui/surfaces/fields.d.ts.map +1 -0
- package/dist/features/mcp-ui/surfaces/fields.js +97 -0
- package/dist/features/mcp-ui/surfaces/fields.js.map +1 -0
- package/dist/features/mcp-ui/surfaces/form.d.ts +78 -0
- package/dist/features/mcp-ui/surfaces/form.d.ts.map +1 -0
- package/dist/features/mcp-ui/surfaces/form.js +218 -0
- package/dist/features/mcp-ui/surfaces/form.js.map +1 -0
- package/dist/features/mcp-ui/surfaces/index.d.ts +12 -0
- package/dist/features/mcp-ui/surfaces/index.d.ts.map +1 -0
- package/dist/features/mcp-ui/surfaces/index.js +12 -0
- package/dist/features/mcp-ui/surfaces/index.js.map +1 -0
- package/dist/features/mcp-ui/surfaces/outcome.d.ts +102 -0
- package/dist/features/mcp-ui/surfaces/outcome.d.ts.map +1 -0
- package/dist/features/mcp-ui/surfaces/outcome.js +119 -0
- package/dist/features/mcp-ui/surfaces/outcome.js.map +1 -0
- package/dist/features/mcp-ui/surfaces/select.d.ts +35 -0
- package/dist/features/mcp-ui/surfaces/select.d.ts.map +1 -0
- package/dist/features/mcp-ui/surfaces/select.js +36 -0
- package/dist/features/mcp-ui/surfaces/select.js.map +1 -0
- package/dist/features/mcp-ui/surfaces/text-input.d.ts +35 -0
- package/dist/features/mcp-ui/surfaces/text-input.d.ts.map +1 -0
- package/dist/features/mcp-ui/surfaces/text-input.js +61 -0
- package/dist/features/mcp-ui/surfaces/text-input.js.map +1 -0
- package/dist/features/mcp-ui/surfaces/tokens.d.ts +106 -0
- package/dist/features/mcp-ui/surfaces/tokens.d.ts.map +1 -0
- package/dist/features/mcp-ui/surfaces/tokens.js +165 -0
- package/dist/features/mcp-ui/surfaces/tokens.js.map +1 -0
- package/dist/features/media-providers/constants.d.ts +10 -0
- package/dist/features/media-providers/constants.d.ts.map +1 -0
- package/dist/features/media-providers/constants.js +90 -0
- package/dist/features/media-providers/constants.js.map +1 -0
- package/dist/features/media-providers/dependencies.d.ts +27 -0
- package/dist/features/media-providers/dependencies.d.ts.map +1 -0
- package/dist/features/media-providers/dependencies.js +29 -0
- package/dist/features/media-providers/dependencies.js.map +1 -0
- package/dist/features/media-providers/index.d.ts +10 -0
- package/dist/features/media-providers/index.d.ts.map +1 -0
- package/dist/features/media-providers/index.js +6 -0
- package/dist/features/media-providers/index.js.map +1 -0
- package/dist/features/media-providers/ports.d.ts +51 -0
- package/dist/features/media-providers/ports.d.ts.map +1 -0
- package/dist/features/media-providers/ports.js +2 -0
- package/dist/features/media-providers/ports.js.map +1 -0
- package/dist/features/media-providers/react/components/MediaProvidersTab.d.ts +59 -0
- package/dist/features/media-providers/react/components/MediaProvidersTab.d.ts.map +1 -0
- package/dist/features/media-providers/react/components/MediaProvidersTab.js +92 -0
- package/dist/features/media-providers/react/components/MediaProvidersTab.js.map +1 -0
- package/dist/features/media-providers/react/hooks/useMediaProvidersTab.d.ts +58 -0
- package/dist/features/media-providers/react/hooks/useMediaProvidersTab.d.ts.map +1 -0
- package/dist/features/media-providers/react/hooks/useMediaProvidersTab.js +294 -0
- package/dist/features/media-providers/react/hooks/useMediaProvidersTab.js.map +1 -0
- package/dist/features/media-providers/rules.d.ts +139 -0
- package/dist/features/media-providers/rules.d.ts.map +1 -0
- package/dist/features/media-providers/rules.js +227 -0
- package/dist/features/media-providers/rules.js.map +1 -0
- package/dist/features/media-providers/types.d.ts +102 -0
- package/dist/features/media-providers/types.d.ts.map +1 -0
- package/dist/features/media-providers/types.js +27 -0
- package/dist/features/media-providers/types.js.map +1 -0
- package/dist/features/memory/constants.d.ts +0 -2
- package/dist/features/memory/constants.d.ts.map +1 -1
- package/dist/features/memory/constants.js +0 -9
- package/dist/features/memory/constants.js.map +1 -1
- package/dist/features/memory/dependencies.d.ts +1 -28
- package/dist/features/memory/dependencies.d.ts.map +1 -1
- package/dist/features/memory/dependencies.js +39 -23
- package/dist/features/memory/dependencies.js.map +1 -1
- package/dist/features/memory/formatters.d.ts +5 -2
- package/dist/features/memory/formatters.d.ts.map +1 -1
- package/dist/features/memory/formatters.js +1 -2
- package/dist/features/memory/formatters.js.map +1 -1
- package/dist/features/memory/index.d.ts +8 -8
- package/dist/features/memory/index.d.ts.map +1 -1
- package/dist/features/memory/index.js +6 -10
- package/dist/features/memory/index.js.map +1 -1
- package/dist/features/memory/ports.d.ts +1 -1
- package/dist/features/memory/react/components/MemoryConnectedPanel.d.ts +1 -1
- package/dist/features/memory/react/components/MemoryConnectedPanel.d.ts.map +1 -1
- package/dist/features/memory/react/components/MemoryConnectedPanel.js +2 -1
- package/dist/features/memory/react/components/MemoryConnectedPanel.js.map +1 -1
- package/dist/features/memory/react/components/MemoryEntryCard.d.ts.map +1 -1
- package/dist/features/memory/react/components/MemoryEntryCard.js +2 -1
- package/dist/features/memory/react/components/MemoryEntryCard.js.map +1 -1
- package/dist/features/memory/react/components/MemoryExtractionCard.d.ts.map +1 -1
- package/dist/features/memory/react/components/MemoryExtractionCard.js +1 -1
- package/dist/features/memory/react/components/MemoryExtractionCard.js.map +1 -1
- package/dist/features/memory/react/components/MemoryManualEditor.d.ts.map +1 -1
- package/dist/features/memory/react/components/MemoryManualEditor.js +2 -1
- package/dist/features/memory/react/components/MemoryManualEditor.js.map +1 -1
- package/dist/features/memory/react/components/MemorySettingsPanel.d.ts +22 -0
- package/dist/features/memory/react/components/MemorySettingsPanel.d.ts.map +1 -0
- package/dist/features/memory/react/components/MemorySettingsPanel.js +30 -0
- package/dist/features/memory/react/components/MemorySettingsPanel.js.map +1 -0
- package/dist/features/memory/react/hooks/useMemoryConfig.hooks.d.ts.map +1 -1
- package/dist/features/memory/react/hooks/useMemoryConfig.hooks.js +1 -1
- package/dist/features/memory/react/hooks/useMemoryConfig.hooks.js.map +1 -1
- package/dist/features/memory/react/hooks/useMemoryConnectors.hooks.d.ts +43 -1
- package/dist/features/memory/react/hooks/useMemoryConnectors.hooks.d.ts.map +1 -1
- package/dist/features/memory/react/hooks/useMemoryConnectors.hooks.js +99 -99
- package/dist/features/memory/react/hooks/useMemoryConnectors.hooks.js.map +1 -1
- package/dist/features/memory/react/hooks/useMemoryConnectors.rules.d.ts +54 -0
- package/dist/features/memory/react/hooks/useMemoryConnectors.rules.d.ts.map +1 -0
- package/dist/features/memory/react/hooks/useMemoryConnectors.rules.js +81 -0
- package/dist/features/memory/react/hooks/useMemoryConnectors.rules.js.map +1 -0
- package/dist/features/memory/react/hooks/useMemoryEntries.hooks.d.ts.map +1 -1
- package/dist/features/memory/react/hooks/useMemoryEntries.hooks.js +1 -1
- package/dist/features/memory/react/hooks/useMemoryEntries.hooks.js.map +1 -1
- package/dist/features/memory/react/hooks/useMemoryExtractions.hooks.d.ts.map +1 -1
- package/dist/features/memory/react/hooks/useMemoryExtractions.hooks.js.map +1 -1
- package/dist/features/memory/react/render-markdown.d.ts.map +1 -1
- package/dist/features/memory/react/render-markdown.js +3 -2
- package/dist/features/memory/react/render-markdown.js.map +1 -1
- package/dist/features/memory/react/styles.d.ts +11 -0
- package/dist/features/memory/react/styles.d.ts.map +1 -0
- package/dist/features/memory/react/styles.js +18 -0
- package/dist/features/memory/react/styles.js.map +1 -0
- package/dist/features/memory/rules.d.ts +1 -1
- package/dist/features/memory/rules.js +2 -2
- package/dist/features/memory/rules.js.map +1 -1
- package/dist/features/memory/types.d.ts +1 -1
- package/dist/features/memory/types.d.ts.map +1 -1
- package/dist/features/notifications/constants.d.ts.map +1 -0
- package/dist/features/notifications/constants.js +8 -0
- package/dist/features/notifications/constants.js.map +1 -0
- package/dist/features/notifications/index.d.ts +5 -0
- package/dist/features/notifications/index.d.ts.map +1 -0
- package/dist/features/notifications/index.js.map +1 -0
- package/dist/features/notifications/notifications-catalog.d.ts +25 -0
- package/dist/features/notifications/notifications-catalog.d.ts.map +1 -0
- package/dist/features/notifications/notifications-catalog.js +27 -0
- package/dist/features/notifications/notifications-catalog.js.map +1 -0
- package/dist/features/notifications/react/components/NotificationsTab.d.ts +48 -0
- package/dist/features/notifications/react/components/NotificationsTab.d.ts.map +1 -0
- package/dist/features/notifications/react/components/NotificationsTab.js +84 -0
- package/dist/features/notifications/react/components/NotificationsTab.js.map +1 -0
- package/dist/features/notifications/rules.d.ts +21 -0
- package/dist/features/notifications/rules.d.ts.map +1 -0
- package/dist/features/notifications/rules.js +7 -0
- package/dist/features/notifications/rules.js.map +1 -0
- package/dist/features/notifications/types.d.ts +15 -0
- package/dist/features/notifications/types.d.ts.map +1 -0
- package/dist/features/notifications/types.js +2 -0
- package/dist/features/notifications/types.js.map +1 -0
- package/dist/features/privacy/index.d.ts +5 -0
- package/dist/features/privacy/index.d.ts.map +1 -0
- package/dist/features/privacy/index.js.map +1 -0
- package/dist/features/privacy/react/components/PrivacyTab.d.ts +34 -0
- package/dist/features/privacy/react/components/PrivacyTab.d.ts.map +1 -0
- package/dist/features/privacy/react/components/PrivacyTab.js +36 -0
- package/dist/features/privacy/react/components/PrivacyTab.js.map +1 -0
- package/dist/features/privacy/rules.d.ts.map +1 -0
- package/dist/features/privacy/rules.js +70 -0
- package/dist/features/privacy/rules.js.map +1 -0
- package/dist/features/privacy/types.d.ts.map +1 -0
- package/dist/features/privacy/types.js.map +1 -0
- package/dist/features/project-locations/dependencies.d.ts +20 -0
- package/dist/features/project-locations/dependencies.d.ts.map +1 -0
- package/dist/features/project-locations/dependencies.js +45 -0
- package/dist/features/project-locations/dependencies.js.map +1 -0
- package/dist/features/project-locations/index.d.ts +9 -0
- package/dist/features/project-locations/index.d.ts.map +1 -0
- package/dist/features/project-locations/index.js +5 -0
- package/dist/features/project-locations/index.js.map +1 -0
- package/dist/features/project-locations/ports.d.ts +41 -0
- package/dist/features/project-locations/ports.d.ts.map +1 -0
- package/dist/features/project-locations/ports.js +2 -0
- package/dist/features/project-locations/ports.js.map +1 -0
- package/dist/features/project-locations/react/components/ProjectLocationsTab.d.ts +36 -0
- package/dist/features/project-locations/react/components/ProjectLocationsTab.d.ts.map +1 -0
- package/dist/features/project-locations/react/components/ProjectLocationsTab.js +53 -0
- package/dist/features/project-locations/react/components/ProjectLocationsTab.js.map +1 -0
- package/dist/features/project-locations/react/hooks/useProjectLocationsTab.d.ts +41 -0
- package/dist/features/project-locations/react/hooks/useProjectLocationsTab.d.ts.map +1 -0
- package/dist/features/project-locations/react/hooks/useProjectLocationsTab.js +157 -0
- package/dist/features/project-locations/react/hooks/useProjectLocationsTab.js.map +1 -0
- package/dist/features/project-locations/rules.d.ts +53 -0
- package/dist/features/project-locations/rules.d.ts.map +1 -0
- package/dist/features/project-locations/rules.js +82 -0
- package/dist/features/project-locations/rules.js.map +1 -0
- package/dist/features/project-locations/types.d.ts +78 -0
- package/dist/features/project-locations/types.d.ts.map +1 -0
- package/dist/features/project-locations/types.js +13 -0
- package/dist/features/project-locations/types.js.map +1 -0
- package/dist/features/resource-dashboard/types.d.ts +1 -1
- package/dist/features/resource-dashboard/types.js +1 -1
- package/dist/features/settings/dialog/index.d.ts +7 -0
- package/dist/features/settings/dialog/index.d.ts.map +1 -0
- package/dist/features/settings/dialog/index.js +8 -0
- package/dist/features/settings/dialog/index.js.map +1 -0
- package/dist/features/settings/dialog/react/components/SettingsDialogShell.d.ts +33 -0
- package/dist/features/settings/dialog/react/components/SettingsDialogShell.d.ts.map +1 -0
- package/dist/features/settings/dialog/react/components/SettingsDialogShell.js +32 -0
- package/dist/features/settings/dialog/react/components/SettingsDialogShell.js.map +1 -0
- package/dist/features/settings/dialog/react/hooks/useSettingsDialogShell.d.ts +11 -0
- package/dist/features/settings/dialog/react/hooks/useSettingsDialogShell.d.ts.map +1 -0
- package/dist/features/settings/dialog/react/hooks/useSettingsDialogShell.js +10 -0
- package/dist/features/settings/dialog/react/hooks/useSettingsDialogShell.js.map +1 -0
- package/dist/features/settings/dialog/styles/settings-dialog.css +4434 -0
- package/dist/features/skills/dependencies.d.ts +18 -0
- package/dist/features/skills/dependencies.d.ts.map +1 -0
- package/dist/features/skills/dependencies.js +82 -0
- package/dist/features/skills/dependencies.js.map +1 -0
- package/dist/features/skills/index.d.ts +13 -0
- package/dist/features/skills/index.d.ts.map +1 -0
- package/dist/features/skills/index.js +7 -0
- package/dist/features/skills/index.js.map +1 -0
- package/dist/features/skills/ports.d.ts +45 -0
- package/dist/features/skills/ports.d.ts.map +1 -0
- package/dist/features/skills/ports.js +2 -0
- package/dist/features/skills/ports.js.map +1 -0
- package/dist/features/skills/react/components/SkillDraftForm.d.ts +39 -0
- package/dist/features/skills/react/components/SkillDraftForm.d.ts.map +1 -0
- package/dist/features/skills/react/components/SkillDraftForm.js +29 -0
- package/dist/features/skills/react/components/SkillDraftForm.js.map +1 -0
- package/dist/features/skills/react/components/SkillRow.d.ts +54 -0
- package/dist/features/skills/react/components/SkillRow.d.ts.map +1 -0
- package/dist/features/skills/react/components/SkillRow.js +34 -0
- package/dist/features/skills/react/components/SkillRow.js.map +1 -0
- package/dist/features/skills/react/components/SkillsTab.d.ts +34 -0
- package/dist/features/skills/react/components/SkillsTab.d.ts.map +1 -0
- package/dist/features/skills/react/components/SkillsTab.js +33 -0
- package/dist/features/skills/react/components/SkillsTab.js.map +1 -0
- package/dist/features/skills/react/hooks/useSkillsTab.d.ts +70 -0
- package/dist/features/skills/react/hooks/useSkillsTab.d.ts.map +1 -0
- package/dist/features/skills/react/hooks/useSkillsTab.js +282 -0
- package/dist/features/skills/react/hooks/useSkillsTab.js.map +1 -0
- package/dist/features/skills/rules.d.ts +156 -0
- package/dist/features/skills/rules.d.ts.map +1 -0
- package/dist/features/skills/rules.js +272 -0
- package/dist/features/skills/rules.js.map +1 -0
- package/dist/features/skills/types.d.ts +97 -0
- package/dist/features/skills/types.d.ts.map +1 -0
- package/dist/features/skills/types.js +18 -0
- package/dist/features/skills/types.js.map +1 -0
- package/dist/features/source-config-list/agent-handles.d.ts +121 -0
- package/dist/features/source-config-list/agent-handles.d.ts.map +1 -0
- package/dist/features/source-config-list/agent-handles.js +151 -0
- package/dist/features/source-config-list/agent-handles.js.map +1 -0
- package/dist/features/source-config-list/index.d.ts +6 -5
- package/dist/features/source-config-list/index.d.ts.map +1 -1
- package/dist/features/source-config-list/index.js +3 -2
- package/dist/features/source-config-list/index.js.map +1 -1
- package/dist/features/source-config-list/react/components/SourceConfigAddForm.d.ts +28 -1
- package/dist/features/source-config-list/react/components/SourceConfigAddForm.d.ts.map +1 -1
- package/dist/features/source-config-list/react/components/SourceConfigAddForm.js +25 -4
- package/dist/features/source-config-list/react/components/SourceConfigAddForm.js.map +1 -1
- package/dist/features/source-config-list/react/components/SourceConfigField.d.ts +36 -1
- package/dist/features/source-config-list/react/components/SourceConfigField.d.ts.map +1 -1
- package/dist/features/source-config-list/react/components/SourceConfigField.js +74 -3
- package/dist/features/source-config-list/react/components/SourceConfigField.js.map +1 -1
- package/dist/features/source-config-list/react/components/SourceConfigItemCard.d.ts +39 -2
- package/dist/features/source-config-list/react/components/SourceConfigItemCard.d.ts.map +1 -1
- package/dist/features/source-config-list/react/components/SourceConfigItemCard.js +55 -4
- package/dist/features/source-config-list/react/components/SourceConfigItemCard.js.map +1 -1
- package/dist/features/source-config-list/react/components/SourceConfigList.d.ts +9 -3
- package/dist/features/source-config-list/react/components/SourceConfigList.d.ts.map +1 -1
- package/dist/features/source-config-list/react/components/SourceConfigList.js +2 -2
- package/dist/features/source-config-list/react/components/SourceConfigList.js.map +1 -1
- package/dist/features/source-config-list/react/components/SourceConfigListView.d.ts +13 -2
- package/dist/features/source-config-list/react/components/SourceConfigListView.d.ts.map +1 -1
- package/dist/features/source-config-list/react/components/SourceConfigListView.js +8 -2
- package/dist/features/source-config-list/react/components/SourceConfigListView.js.map +1 -1
- package/dist/features/source-config-list/react/components/SourceConfigTestControl.d.ts +18 -1
- package/dist/features/source-config-list/react/components/SourceConfigTestControl.d.ts.map +1 -1
- package/dist/features/source-config-list/react/components/SourceConfigTestControl.js +16 -2
- package/dist/features/source-config-list/react/components/SourceConfigTestControl.js.map +1 -1
- package/dist/features/source-config-list/react/hooks/useSourceConfigAddForm.d.ts.map +1 -1
- package/dist/features/source-config-list/react/hooks/useSourceConfigAddForm.js.map +1 -1
- package/dist/features/source-config-list/react/hooks/useSourceConfigList.d.ts +12 -1
- package/dist/features/source-config-list/react/hooks/useSourceConfigList.d.ts.map +1 -1
- package/dist/features/source-config-list/react/hooks/useSourceConfigList.js.map +1 -1
- package/dist/features/source-config-list/rules.d.ts +22 -5
- package/dist/features/source-config-list/rules.d.ts.map +1 -1
- package/dist/features/source-config-list/rules.js +56 -16
- package/dist/features/source-config-list/rules.js.map +1 -1
- package/dist/features/source-config-list/types.d.ts +16 -2
- package/dist/features/source-config-list/types.d.ts.map +1 -1
- package/dist/features/tab-strip/types.d.ts +1 -1
- package/dist/features/tabbed-dialog/index.d.ts +7 -0
- package/dist/features/tabbed-dialog/index.d.ts.map +1 -0
- package/dist/features/tabbed-dialog/index.js +4 -0
- package/dist/features/tabbed-dialog/index.js.map +1 -0
- package/dist/features/tabbed-dialog/react/components/TabbedDialog.d.ts +71 -0
- package/dist/features/tabbed-dialog/react/components/TabbedDialog.d.ts.map +1 -0
- package/dist/features/tabbed-dialog/react/components/TabbedDialog.js +72 -0
- package/dist/features/tabbed-dialog/react/components/TabbedDialog.js.map +1 -0
- package/dist/features/tabbed-dialog/react/hooks/useTabbedDialog.d.ts +39 -0
- package/dist/features/tabbed-dialog/react/hooks/useTabbedDialog.d.ts.map +1 -0
- package/dist/features/tabbed-dialog/react/hooks/useTabbedDialog.js +50 -0
- package/dist/features/tabbed-dialog/react/hooks/useTabbedDialog.js.map +1 -0
- package/dist/features/tabbed-dialog/rules.d.ts +13 -0
- package/dist/features/tabbed-dialog/rules.d.ts.map +1 -0
- package/dist/features/tabbed-dialog/rules.js.map +1 -0
- package/dist/features/tabbed-dialog/styles/tabbed-dialog.css +406 -0
- package/dist/features/tabbed-dialog/types.d.ts +51 -0
- package/dist/features/tabbed-dialog/types.d.ts.map +1 -0
- package/dist/features/tabbed-dialog/types.js +23 -0
- package/dist/features/tabbed-dialog/types.js.map +1 -0
- package/dist/features/viewer-shell/react/components/ViewportSwitcher.d.ts +1 -1
- package/dist/features/viewer-shell/react/components/ViewportSwitcher.js +1 -1
- package/dist/features/viewer-shell/rules.d.ts +1 -1
- package/dist/features/viewer-shell/rules.js +1 -1
- package/dist/icon-name.d.ts +21 -0
- package/dist/icon-name.d.ts.map +1 -0
- package/dist/icon-name.js +25 -0
- package/dist/icon-name.js.map +1 -0
- package/dist/index.d.ts +16 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +32 -9
- package/dist/index.js.map +1 -1
- package/dist/react/components/AgentIcon.d.ts +5 -3
- package/dist/react/components/AgentIcon.d.ts.map +1 -1
- package/dist/react/components/AgentIcon.js +52 -13
- package/dist/react/components/AgentIcon.js.map +1 -1
- package/dist/react/components/AppChromeHeader.js +1 -1
- package/dist/react/components/AppChromeHeader.js.map +1 -1
- package/dist/react/components/CustomSelect.d.ts +19 -4
- package/dist/react/components/CustomSelect.d.ts.map +1 -1
- package/dist/react/components/CustomSelect.js +59 -12
- package/dist/react/components/CustomSelect.js.map +1 -1
- package/dist/react/components/EdgeScrollZones.js +1 -1
- package/dist/react/components/EdgeScrollZones.js.map +1 -1
- package/dist/react/components/ExportDiagnosticsButton.d.ts.map +1 -1
- package/dist/react/components/ExportDiagnosticsButton.js +5 -2
- package/dist/react/components/ExportDiagnosticsButton.js.map +1 -1
- package/dist/react/components/HeaderActionsMenu.d.ts +1 -1
- package/dist/react/components/HeaderActionsMenu.d.ts.map +1 -1
- package/dist/react/components/HeaderActionsMenu.js +1 -1
- package/dist/react/components/HeaderActionsMenu.js.map +1 -1
- package/dist/react/components/Icon.d.ts +7 -4
- package/dist/react/components/Icon.d.ts.map +1 -1
- package/dist/react/components/Icon.js +133 -213
- package/dist/react/components/Icon.js.map +1 -1
- package/dist/react/components/LanguageMenu.d.ts +2 -4
- package/dist/react/components/LanguageMenu.d.ts.map +1 -1
- package/dist/react/components/LanguageMenu.js +1 -1
- package/dist/react/components/LanguageMenu.js.map +1 -1
- package/dist/react/components/Loading.js +1 -1
- package/dist/react/components/Loading.js.map +1 -1
- package/dist/react/components/PaletteTweaks.js +1 -1
- package/dist/react/components/PaletteTweaks.js.map +1 -1
- package/dist/react/components/RemixIcon.d.ts +3 -3
- package/dist/react/components/RemixIcon.d.ts.map +1 -1
- package/dist/react/components/RemixIcon.js +39 -3
- package/dist/react/components/RemixIcon.js.map +1 -1
- package/dist/react/components/Toast.js +1 -1
- package/dist/react/components/Toast.js.map +1 -1
- package/dist/react/components/WorkingDirPicker.js +1 -1
- package/dist/react/components/WorkingDirPicker.js.map +1 -1
- package/dist/react/components/agent-icons/amr.svg +17 -0
- package/dist/react/components/agent-icons/antigravity.svg +1 -0
- package/dist/react/components/agent-icons/claude.svg +1 -0
- package/dist/react/components/agent-icons/codex.svg +1 -0
- package/dist/react/components/agent-icons/copilot.svg +1 -0
- package/dist/react/components/agent-icons/cursor-agent.svg +1 -0
- package/dist/react/components/agent-icons/deepseek.svg +1 -0
- package/dist/react/components/agent-icons/gemini.svg +1 -0
- package/dist/react/components/agent-icons/grok-build.svg +15 -0
- package/dist/react/components/agent-icons/hermes.svg +1 -0
- package/dist/react/components/agent-icons/kilo.svg +1 -0
- package/dist/react/components/agent-icons/kimi.svg +1 -0
- package/dist/react/components/agent-icons/kiro.svg +1 -0
- package/dist/react/components/agent-icons/mimo.svg +1 -0
- package/dist/react/components/agent-icons/opencode.svg +1 -0
- package/dist/react/components/agent-icons/pi.svg +1 -0
- package/dist/react/components/agent-icons/qoder.svg +1 -0
- package/dist/react/components/agent-icons/qwen.svg +1 -0
- package/dist/react/components/agent-icons/reasonix.svg +37 -0
- package/dist/react/components/agent-icons/vibe.svg +1 -0
- package/dist/react/components/remixicon-font/remixicon.css +3270 -0
- package/dist/react/components/remixicon-font/remixicon.woff2 +0 -0
- package/dist/react/hooks/useBrandFonts.d.ts.map +1 -1
- package/dist/react/hooks/useBrandFonts.js +2 -3
- package/dist/react/hooks/useBrandFonts.js.map +1 -1
- package/dist/react/mcp-ui/McpUiHost.d.ts +19 -0
- package/dist/react/mcp-ui/McpUiHost.d.ts.map +1 -0
- package/dist/react/mcp-ui/McpUiHost.js +34 -0
- package/dist/react/mcp-ui/McpUiHost.js.map +1 -0
- package/dist/react/mcp-ui/host-message-source.d.ts +27 -0
- package/dist/react/mcp-ui/host-message-source.d.ts.map +1 -0
- package/dist/react/mcp-ui/host-message-source.js +33 -0
- package/dist/react/mcp-ui/host-message-source.js.map +1 -0
- package/dist/react/mcp-ui/index.d.ts +23 -0
- package/dist/react/mcp-ui/index.d.ts.map +1 -0
- package/dist/react/mcp-ui/index.js +26 -0
- package/dist/react/mcp-ui/index.js.map +1 -0
- package/dist/react/mcp-ui/useMcpUiHost.d.ts +160 -0
- package/dist/react/mcp-ui/useMcpUiHost.d.ts.map +1 -0
- package/dist/react/mcp-ui/useMcpUiHost.js +193 -0
- package/dist/react/mcp-ui/useMcpUiHost.js.map +1 -0
- package/dist/renderers/annotation-canvas/dependencies.d.ts +13 -0
- package/dist/renderers/annotation-canvas/dependencies.d.ts.map +1 -0
- package/dist/renderers/annotation-canvas/dependencies.js +8 -0
- package/dist/renderers/annotation-canvas/dependencies.js.map +1 -0
- package/dist/renderers/annotation-canvas/drawing.d.ts +39 -0
- package/dist/renderers/annotation-canvas/drawing.d.ts.map +1 -0
- package/dist/renderers/annotation-canvas/drawing.js +135 -0
- package/dist/renderers/annotation-canvas/drawing.js.map +1 -0
- package/dist/renderers/annotation-canvas/index.d.ts +13 -0
- package/dist/renderers/annotation-canvas/index.d.ts.map +1 -0
- package/dist/renderers/annotation-canvas/index.js +7 -0
- package/dist/renderers/annotation-canvas/index.js.map +1 -0
- package/dist/renderers/annotation-canvas/ports.d.ts +30 -0
- package/dist/renderers/annotation-canvas/ports.d.ts.map +1 -0
- package/dist/renderers/annotation-canvas/ports.js +2 -0
- package/dist/renderers/annotation-canvas/ports.js.map +1 -0
- package/dist/renderers/annotation-canvas/react/components/AnnotationCanvas.d.ts +24 -0
- package/dist/renderers/annotation-canvas/react/components/AnnotationCanvas.d.ts.map +1 -0
- package/dist/renderers/annotation-canvas/react/components/AnnotationCanvas.js +102 -0
- package/dist/renderers/annotation-canvas/react/components/AnnotationCanvas.js.map +1 -0
- package/dist/renderers/annotation-canvas/react/components/icons.d.ts +11 -0
- package/dist/renderers/annotation-canvas/react/components/icons.d.ts.map +1 -0
- package/dist/renderers/annotation-canvas/react/components/icons.js +21 -0
- package/dist/renderers/annotation-canvas/react/components/icons.js.map +1 -0
- package/dist/renderers/annotation-canvas/react/hooks/useAnnotationCanvas.controller.d.ts +146 -0
- package/dist/renderers/annotation-canvas/react/hooks/useAnnotationCanvas.controller.d.ts.map +1 -0
- package/dist/renderers/annotation-canvas/react/hooks/useAnnotationCanvas.controller.js +118 -0
- package/dist/renderers/annotation-canvas/react/hooks/useAnnotationCanvas.controller.js.map +1 -0
- package/dist/renderers/annotation-canvas/react/hooks/useAnnotationCanvas.d.ts +101 -0
- package/dist/renderers/annotation-canvas/react/hooks/useAnnotationCanvas.d.ts.map +1 -0
- package/dist/renderers/annotation-canvas/react/hooks/useAnnotationCanvas.js +834 -0
- package/dist/renderers/annotation-canvas/react/hooks/useAnnotationCanvas.js.map +1 -0
- package/dist/renderers/annotation-canvas/rules.d.ts +73 -0
- package/dist/renderers/annotation-canvas/rules.d.ts.map +1 -0
- package/dist/renderers/annotation-canvas/rules.js +177 -0
- package/dist/renderers/annotation-canvas/rules.js.map +1 -0
- package/dist/renderers/annotation-canvas/types.d.ts +108 -0
- package/dist/renderers/annotation-canvas/types.d.ts.map +1 -0
- package/dist/renderers/annotation-canvas/types.js +2 -0
- package/dist/renderers/annotation-canvas/types.js.map +1 -0
- package/dist/renderers/html-utils.d.ts +25 -0
- package/dist/renderers/html-utils.d.ts.map +1 -0
- package/dist/renderers/html-utils.js +53 -0
- package/dist/renderers/html-utils.js.map +1 -0
- package/dist/renderers/index.d.ts +45 -0
- package/dist/renderers/index.d.ts.map +1 -0
- package/dist/renderers/index.js +36 -0
- package/dist/renderers/index.js.map +1 -0
- package/dist/renderers/new-tab-preview.d.ts +22 -0
- package/dist/renderers/new-tab-preview.d.ts.map +1 -0
- package/dist/renderers/new-tab-preview.js +50 -0
- package/dist/renderers/new-tab-preview.js.map +1 -0
- package/dist/renderers/preview-modal-shell/index.d.ts +10 -0
- package/dist/renderers/preview-modal-shell/index.d.ts.map +1 -0
- package/dist/renderers/preview-modal-shell/index.js +5 -0
- package/dist/renderers/preview-modal-shell/index.js.map +1 -0
- package/dist/renderers/preview-modal-shell/react/components/PreviewModalShell.d.ts +62 -0
- package/dist/renderers/preview-modal-shell/react/components/PreviewModalShell.d.ts.map +1 -0
- package/dist/renderers/preview-modal-shell/react/components/PreviewModalShell.js +74 -0
- package/dist/renderers/preview-modal-shell/react/components/PreviewModalShell.js.map +1 -0
- package/dist/renderers/preview-modal-shell/react/components/icons.d.ts +12 -0
- package/dist/renderers/preview-modal-shell/react/components/icons.d.ts.map +1 -0
- package/dist/renderers/preview-modal-shell/react/components/icons.js +11 -0
- package/dist/renderers/preview-modal-shell/react/components/icons.js.map +1 -0
- package/dist/renderers/preview-modal-shell/react/hooks/usePreviewModalShell.d.ts +50 -0
- package/dist/renderers/preview-modal-shell/react/hooks/usePreviewModalShell.d.ts.map +1 -0
- package/dist/renderers/preview-modal-shell/react/hooks/usePreviewModalShell.js +171 -0
- package/dist/renderers/preview-modal-shell/react/hooks/usePreviewModalShell.js.map +1 -0
- package/dist/renderers/preview-modal-shell/rules.d.ts +44 -0
- package/dist/renderers/preview-modal-shell/rules.d.ts.map +1 -0
- package/dist/renderers/preview-modal-shell/rules.js +50 -0
- package/dist/renderers/preview-modal-shell/rules.js.map +1 -0
- package/dist/renderers/preview-modal-shell/types.d.ts +50 -0
- package/dist/renderers/preview-modal-shell/types.d.ts.map +1 -0
- package/dist/renderers/preview-modal-shell/types.js +14 -0
- package/dist/renderers/preview-modal-shell/types.js.map +1 -0
- package/dist/renderers/react/components/ArtifactView.d.ts +46 -0
- package/dist/renderers/react/components/ArtifactView.d.ts.map +1 -0
- package/dist/renderers/react/components/ArtifactView.js +35 -0
- package/dist/renderers/react/components/ArtifactView.js.map +1 -0
- package/dist/renderers/react/components/SrcDocSandbox.d.ts +13 -0
- package/dist/renderers/react/components/SrcDocSandbox.d.ts.map +1 -0
- package/dist/renderers/react/components/SrcDocSandbox.js +34 -0
- package/dist/renderers/react/components/SrcDocSandbox.js.map +1 -0
- package/dist/renderers/react/i18n.d.ts +30 -0
- package/dist/renderers/react/i18n.d.ts.map +1 -0
- package/dist/renderers/react/i18n.js +40 -0
- package/dist/renderers/react/i18n.js.map +1 -0
- package/dist/renderers/registry.d.ts +57 -0
- package/dist/renderers/registry.d.ts.map +1 -0
- package/dist/renderers/registry.js +39 -0
- package/dist/renderers/registry.js.map +1 -0
- package/dist/renderers/renderers/html.d.ts +10 -0
- package/dist/renderers/renderers/html.d.ts.map +1 -0
- package/dist/renderers/renderers/html.js +23 -0
- package/dist/renderers/renderers/html.js.map +1 -0
- package/dist/renderers/renderers/index.d.ts +12 -0
- package/dist/renderers/renderers/index.d.ts.map +1 -0
- package/dist/renderers/renderers/index.js +18 -0
- package/dist/renderers/renderers/index.js.map +1 -0
- package/dist/renderers/renderers/markdown.d.ts +4 -0
- package/dist/renderers/renderers/markdown.d.ts.map +1 -0
- package/dist/renderers/renderers/markdown.js +126 -0
- package/dist/renderers/renderers/markdown.js.map +1 -0
- package/dist/renderers/renderers/react-component.d.ts +10 -0
- package/dist/renderers/renderers/react-component.d.ts.map +1 -0
- package/dist/renderers/renderers/react-component.js +19 -0
- package/dist/renderers/renderers/react-component.js.map +1 -0
- package/dist/renderers/renderers/svg.d.ts +3 -0
- package/dist/renderers/renderers/svg.d.ts.map +1 -0
- package/dist/renderers/renderers/svg.js +14 -0
- package/dist/renderers/renderers/svg.js.map +1 -0
- package/dist/renderers/sandbox-bridge.d.ts +44 -0
- package/dist/renderers/sandbox-bridge.d.ts.map +1 -0
- package/dist/renderers/sandbox-bridge.js +46 -0
- package/dist/renderers/sandbox-bridge.js.map +1 -0
- package/dist/renderers/sandboxed-document.d.ts +34 -0
- package/dist/renderers/sandboxed-document.d.ts.map +1 -0
- package/dist/renderers/sandboxed-document.js +152 -0
- package/dist/renderers/sandboxed-document.js.map +1 -0
- package/dist/renderers/shiki.d.ts +2 -0
- package/dist/renderers/shiki.d.ts.map +1 -0
- package/dist/renderers/shiki.js +55 -0
- package/dist/renderers/shiki.js.map +1 -0
- package/dist/renderers/srcdoc/bridge.d.ts +37 -0
- package/dist/renderers/srcdoc/bridge.d.ts.map +1 -0
- package/dist/renderers/srcdoc/bridge.js +35 -0
- package/dist/renderers/srcdoc/bridge.js.map +1 -0
- package/dist/renderers/srcdoc/build.d.ts +130 -0
- package/dist/renderers/srcdoc/build.d.ts.map +1 -0
- package/dist/renderers/srcdoc/build.js +448 -0
- package/dist/renderers/srcdoc/build.js.map +1 -0
- package/dist/renderers/srcdoc/index.d.ts +3 -0
- package/dist/renderers/srcdoc/index.d.ts.map +1 -0
- package/dist/renderers/srcdoc/index.js +3 -0
- package/dist/renderers/srcdoc/index.js.map +1 -0
- package/dist/renderers/types.d.ts +98 -0
- package/dist/renderers/types.d.ts.map +1 -0
- package/dist/renderers/types.js +2 -0
- package/dist/renderers/types.js.map +1 -0
- package/dist/renderers/url-load-decision.d.ts +93 -0
- package/dist/renderers/url-load-decision.d.ts.map +1 -0
- package/dist/renderers/url-load-decision.js +116 -0
- package/dist/renderers/url-load-decision.js.map +1 -0
- package/dist/utils/appearance.d.ts +2 -16
- package/dist/utils/appearance.d.ts.map +1 -1
- package/dist/utils/appearance.js +11 -51
- package/dist/utils/appearance.js.map +1 -1
- package/dist/utils/endpoint-policy.d.ts +65 -0
- package/dist/utils/endpoint-policy.d.ts.map +1 -0
- package/dist/utils/endpoint-policy.js +157 -0
- package/dist/utils/endpoint-policy.js.map +1 -0
- package/dist/utils/file-transfer.d.ts +10 -0
- package/dist/utils/file-transfer.d.ts.map +1 -1
- package/dist/utils/file-transfer.js +22 -1
- package/dist/utils/file-transfer.js.map +1 -1
- package/dist/utils/notifications.d.ts +2 -9
- package/dist/utils/notifications.d.ts.map +1 -1
- package/dist/utils/notifications.js +1 -13
- package/dist/utils/notifications.js.map +1 -1
- package/package.json +118 -15
- package/dist/components/AgentIcon.d.ts +0 -15
- package/dist/components/AgentIcon.d.ts.map +0 -1
- package/dist/components/AgentIcon.js +0 -80
- package/dist/components/AgentIcon.js.map +0 -1
- package/dist/components/AppChromeHeader.d.ts +0 -19
- package/dist/components/AppChromeHeader.d.ts.map +0 -1
- package/dist/components/AppChromeHeader.js +0 -11
- package/dist/components/AppChromeHeader.js.map +0 -1
- package/dist/components/CustomSelect.d.ts +0 -28
- package/dist/components/CustomSelect.d.ts.map +0 -1
- package/dist/components/CustomSelect.js +0 -167
- package/dist/components/CustomSelect.js.map +0 -1
- package/dist/components/ExportDiagnosticsButton.d.ts +0 -40
- package/dist/components/ExportDiagnosticsButton.d.ts.map +0 -1
- package/dist/components/ExportDiagnosticsButton.js +0 -112
- package/dist/components/ExportDiagnosticsButton.js.map +0 -1
- package/dist/components/Icon.d.ts +0 -15
- package/dist/components/Icon.d.ts.map +0 -1
- package/dist/components/Icon.js +0 -236
- package/dist/components/Icon.js.map +0 -1
- package/dist/components/KitErrorBoundary.d.ts +0 -13
- package/dist/components/KitErrorBoundary.d.ts.map +0 -1
- package/dist/components/KitErrorBoundary.js +0 -30
- package/dist/components/KitErrorBoundary.js.map +0 -1
- package/dist/components/LanguageMenu.d.ts +0 -23
- package/dist/components/LanguageMenu.d.ts.map +0 -1
- package/dist/components/LanguageMenu.js +0 -44
- package/dist/components/LanguageMenu.js.map +0 -1
- package/dist/components/Loading.d.ts +0 -27
- package/dist/components/Loading.d.ts.map +0 -1
- package/dist/components/Loading.js +0 -24
- package/dist/components/Loading.js.map +0 -1
- package/dist/components/PaletteTweaks.d.ts +0 -11
- package/dist/components/PaletteTweaks.d.ts.map +0 -1
- package/dist/components/PaletteTweaks.js +0 -65
- package/dist/components/PaletteTweaks.js.map +0 -1
- package/dist/components/RemixIcon.d.ts +0 -15
- package/dist/components/RemixIcon.d.ts.map +0 -1
- package/dist/components/RemixIcon.js +0 -19
- package/dist/components/RemixIcon.js.map +0 -1
- package/dist/components/Toast.d.ts +0 -18
- package/dist/components/Toast.d.ts.map +0 -1
- package/dist/components/Toast.js +0 -70
- package/dist/components/Toast.js.map +0 -1
- package/dist/components/TooltipLayer.d.ts +0 -9
- package/dist/components/TooltipLayer.d.ts.map +0 -1
- package/dist/components/TooltipLayer.js +0 -289
- package/dist/components/TooltipLayer.js.map +0 -1
- package/dist/components/WorkingDirPicker.d.ts +0 -47
- package/dist/components/WorkingDirPicker.d.ts.map +0 -1
- package/dist/components/WorkingDirPicker.js +0 -63
- package/dist/components/WorkingDirPicker.js.map +0 -1
- package/dist/features/agent-tools/model-context.d.ts +0 -30
- package/dist/features/agent-tools/model-context.d.ts.map +0 -1
- package/dist/features/agent-tools/model-context.js +0 -29
- package/dist/features/agent-tools/model-context.js.map +0 -1
- package/dist/features/agent-tools/types.d.ts +0 -34
- package/dist/features/agent-tools/types.d.ts.map +0 -1
- package/dist/features/agent-tools/types.js +0 -18
- package/dist/features/agent-tools/types.js.map +0 -1
- package/dist/features/rich-text-input/constants.d.ts +0 -16
- package/dist/features/rich-text-input/constants.d.ts.map +0 -1
- package/dist/features/rich-text-input/constants.js +0 -18
- package/dist/features/rich-text-input/constants.js.map +0 -1
- package/dist/features/rich-text-input/deserialize.d.ts +0 -9
- package/dist/features/rich-text-input/deserialize.d.ts.map +0 -1
- package/dist/features/rich-text-input/deserialize.js +0 -55
- package/dist/features/rich-text-input/deserialize.js.map +0 -1
- package/dist/features/rich-text-input/index.d.ts +0 -12
- package/dist/features/rich-text-input/index.d.ts.map +0 -1
- package/dist/features/rich-text-input/index.js +0 -11
- package/dist/features/rich-text-input/index.js.map +0 -1
- package/dist/features/rich-text-input/mention-node.d.ts +0 -56
- package/dist/features/rich-text-input/mention-node.d.ts.map +0 -1
- package/dist/features/rich-text-input/mention-node.js +0 -142
- package/dist/features/rich-text-input/mention-node.js.map +0 -1
- package/dist/features/rich-text-input/mention-parser.d.ts +0 -47
- package/dist/features/rich-text-input/mention-parser.d.ts.map +0 -1
- package/dist/features/rich-text-input/mention-parser.js +0 -239
- package/dist/features/rich-text-input/mention-parser.js.map +0 -1
- package/dist/features/rich-text-input/react/components/CaretFloatingLayer.d.ts +0 -20
- package/dist/features/rich-text-input/react/components/CaretFloatingLayer.d.ts.map +0 -1
- package/dist/features/rich-text-input/react/components/CaretFloatingLayer.js +0 -33
- package/dist/features/rich-text-input/react/components/CaretFloatingLayer.js.map +0 -1
- package/dist/features/rich-text-input/react/components/RichTextInput.d.ts +0 -61
- package/dist/features/rich-text-input/react/components/RichTextInput.d.ts.map +0 -1
- package/dist/features/rich-text-input/react/components/RichTextInput.js +0 -154
- package/dist/features/rich-text-input/react/components/RichTextInput.js.map +0 -1
- package/dist/features/rich-text-input/react/hooks/useCaretFloatingLayerPosition.d.ts +0 -15
- package/dist/features/rich-text-input/react/hooks/useCaretFloatingLayerPosition.d.ts.map +0 -1
- package/dist/features/rich-text-input/react/hooks/useCaretFloatingLayerPosition.js +0 -54
- package/dist/features/rich-text-input/react/hooks/useCaretFloatingLayerPosition.js.map +0 -1
- package/dist/features/rich-text-input/react/hooks/useKeyboardCommands.d.ts +0 -11
- package/dist/features/rich-text-input/react/hooks/useKeyboardCommands.d.ts.map +0 -1
- package/dist/features/rich-text-input/react/hooks/useKeyboardCommands.js +0 -70
- package/dist/features/rich-text-input/react/hooks/useKeyboardCommands.js.map +0 -1
- package/dist/features/rich-text-input/react/hooks/useMentionAtomicNavigation.d.ts +0 -8
- package/dist/features/rich-text-input/react/hooks/useMentionAtomicNavigation.d.ts.map +0 -1
- package/dist/features/rich-text-input/react/hooks/useMentionAtomicNavigation.js +0 -63
- package/dist/features/rich-text-input/react/hooks/useMentionAtomicNavigation.js.map +0 -1
- package/dist/features/rich-text-input/react/hooks/useMentionColorStamping.d.ts +0 -18
- package/dist/features/rich-text-input/react/hooks/useMentionColorStamping.d.ts.map +0 -1
- package/dist/features/rich-text-input/react/hooks/useMentionColorStamping.js +0 -64
- package/dist/features/rich-text-input/react/hooks/useMentionColorStamping.js.map +0 -1
- package/dist/features/rich-text-input/react/hooks/usePasteFiles.d.ts +0 -5
- package/dist/features/rich-text-input/react/hooks/usePasteFiles.d.ts.map +0 -1
- package/dist/features/rich-text-input/react/hooks/usePasteFiles.js +0 -24
- package/dist/features/rich-text-input/react/hooks/usePasteFiles.js.map +0 -1
- package/dist/features/rich-text-input/react/hooks/useSeededValue.d.ts +0 -21
- package/dist/features/rich-text-input/react/hooks/useSeededValue.d.ts.map +0 -1
- package/dist/features/rich-text-input/react/hooks/useSeededValue.js +0 -35
- package/dist/features/rich-text-input/react/hooks/useSeededValue.js.map +0 -1
- package/dist/features/rich-text-input/react/hooks/useSyncedOnChange.d.ts +0 -10
- package/dist/features/rich-text-input/react/hooks/useSyncedOnChange.d.ts.map +0 -1
- package/dist/features/rich-text-input/react/hooks/useSyncedOnChange.js +0 -29
- package/dist/features/rich-text-input/react/hooks/useSyncedOnChange.js.map +0 -1
- package/dist/features/rich-text-input/react/hooks/useTriggerDetection.d.ts +0 -6
- package/dist/features/rich-text-input/react/hooks/useTriggerDetection.d.ts.map +0 -1
- package/dist/features/rich-text-input/react/hooks/useTriggerDetection.js +0 -39
- package/dist/features/rich-text-input/react/hooks/useTriggerDetection.js.map +0 -1
- package/dist/features/rich-text-input/react/test-support/lexical-harness.d.ts +0 -11
- package/dist/features/rich-text-input/react/test-support/lexical-harness.d.ts.map +0 -1
- package/dist/features/rich-text-input/react/test-support/lexical-harness.js +0 -35
- package/dist/features/rich-text-input/react/test-support/lexical-harness.js.map +0 -1
- package/dist/features/rich-text-input/rules.d.ts +0 -83
- package/dist/features/rich-text-input/rules.d.ts.map +0 -1
- package/dist/features/rich-text-input/rules.js +0 -317
- package/dist/features/rich-text-input/rules.js.map +0 -1
- package/dist/features/rich-text-input/serialize.d.ts +0 -8
- package/dist/features/rich-text-input/serialize.d.ts.map +0 -1
- package/dist/features/rich-text-input/serialize.js +0 -44
- package/dist/features/rich-text-input/serialize.js.map +0 -1
- package/dist/features/rich-text-input/types.d.ts +0 -83
- package/dist/features/rich-text-input/types.d.ts.map +0 -1
- package/dist/features/rich-text-input/types.js +0 -15
- package/dist/features/rich-text-input/types.js.map +0 -1
- package/dist/features/settings-dialog/index.d.ts +0 -7
- package/dist/features/settings-dialog/index.d.ts.map +0 -1
- package/dist/features/settings-dialog/index.js +0 -4
- package/dist/features/settings-dialog/index.js.map +0 -1
- package/dist/features/settings-dialog/react/components/SettingsDialogShell.d.ts +0 -49
- package/dist/features/settings-dialog/react/components/SettingsDialogShell.d.ts.map +0 -1
- package/dist/features/settings-dialog/react/components/SettingsDialogShell.js +0 -55
- package/dist/features/settings-dialog/react/components/SettingsDialogShell.js.map +0 -1
- package/dist/features/settings-dialog/react/hooks/useSettingsDialogShell.d.ts +0 -39
- package/dist/features/settings-dialog/react/hooks/useSettingsDialogShell.d.ts.map +0 -1
- package/dist/features/settings-dialog/react/hooks/useSettingsDialogShell.js +0 -50
- package/dist/features/settings-dialog/react/hooks/useSettingsDialogShell.js.map +0 -1
- package/dist/features/settings-dialog/rules.d.ts +0 -13
- package/dist/features/settings-dialog/rules.d.ts.map +0 -1
- package/dist/features/settings-dialog/rules.js.map +0 -1
- package/dist/features/settings-dialog/tabs/appearance/constants.d.ts +0 -12
- package/dist/features/settings-dialog/tabs/appearance/constants.d.ts.map +0 -1
- package/dist/features/settings-dialog/tabs/appearance/constants.js +0 -10
- package/dist/features/settings-dialog/tabs/appearance/constants.js.map +0 -1
- package/dist/features/settings-dialog/tabs/appearance/index.d.ts +0 -6
- package/dist/features/settings-dialog/tabs/appearance/index.d.ts.map +0 -1
- package/dist/features/settings-dialog/tabs/appearance/index.js.map +0 -1
- package/dist/features/settings-dialog/tabs/appearance/react/components/AppearanceTab.d.ts.map +0 -1
- package/dist/features/settings-dialog/tabs/appearance/react/components/AppearanceTab.js +0 -31
- package/dist/features/settings-dialog/tabs/appearance/react/components/AppearanceTab.js.map +0 -1
- package/dist/features/settings-dialog/tabs/appearance/types.d.ts +0 -12
- package/dist/features/settings-dialog/tabs/appearance/types.d.ts.map +0 -1
- package/dist/features/settings-dialog/tabs/appearance/types.js +0 -8
- package/dist/features/settings-dialog/tabs/appearance/types.js.map +0 -1
- package/dist/features/settings-dialog/tabs/instructions/index.d.ts.map +0 -1
- package/dist/features/settings-dialog/tabs/instructions/index.js.map +0 -1
- package/dist/features/settings-dialog/tabs/instructions/react/components/InstructionsTab.d.ts.map +0 -1
- package/dist/features/settings-dialog/tabs/instructions/react/components/InstructionsTab.js +0 -16
- package/dist/features/settings-dialog/tabs/instructions/react/components/InstructionsTab.js.map +0 -1
- package/dist/features/settings-dialog/tabs/integrations/constants.d.ts.map +0 -1
- package/dist/features/settings-dialog/tabs/integrations/constants.js.map +0 -1
- package/dist/features/settings-dialog/tabs/integrations/dependencies.d.ts.map +0 -1
- package/dist/features/settings-dialog/tabs/integrations/dependencies.js.map +0 -1
- package/dist/features/settings-dialog/tabs/integrations/index.d.ts +0 -19
- package/dist/features/settings-dialog/tabs/integrations/index.d.ts.map +0 -1
- package/dist/features/settings-dialog/tabs/integrations/index.js +0 -10
- package/dist/features/settings-dialog/tabs/integrations/index.js.map +0 -1
- package/dist/features/settings-dialog/tabs/integrations/ports.d.ts.map +0 -1
- package/dist/features/settings-dialog/tabs/integrations/ports.js.map +0 -1
- package/dist/features/settings-dialog/tabs/integrations/react/components/ClientPicker.d.ts.map +0 -1
- package/dist/features/settings-dialog/tabs/integrations/react/components/ClientPicker.js +0 -31
- package/dist/features/settings-dialog/tabs/integrations/react/components/ClientPicker.js.map +0 -1
- package/dist/features/settings-dialog/tabs/integrations/react/components/CodexInstallToggleButton.d.ts.map +0 -1
- package/dist/features/settings-dialog/tabs/integrations/react/components/CodexInstallToggleButton.js +0 -21
- package/dist/features/settings-dialog/tabs/integrations/react/components/CodexInstallToggleButton.js.map +0 -1
- package/dist/features/settings-dialog/tabs/integrations/react/components/IntegrationsTab.d.ts +0 -27
- package/dist/features/settings-dialog/tabs/integrations/react/components/IntegrationsTab.d.ts.map +0 -1
- package/dist/features/settings-dialog/tabs/integrations/react/components/IntegrationsTab.js +0 -54
- package/dist/features/settings-dialog/tabs/integrations/react/components/IntegrationsTab.js.map +0 -1
- package/dist/features/settings-dialog/tabs/integrations/react/components/SnippetBlock.d.ts.map +0 -1
- package/dist/features/settings-dialog/tabs/integrations/react/components/SnippetBlock.js +0 -53
- package/dist/features/settings-dialog/tabs/integrations/react/components/SnippetBlock.js.map +0 -1
- package/dist/features/settings-dialog/tabs/integrations/react/hooks/useCodexInstallToggle.d.ts.map +0 -1
- package/dist/features/settings-dialog/tabs/integrations/react/hooks/useCodexInstallToggle.js.map +0 -1
- package/dist/features/settings-dialog/tabs/integrations/react/hooks/useMcpInstallInfo.d.ts.map +0 -1
- package/dist/features/settings-dialog/tabs/integrations/react/hooks/useMcpInstallInfo.js.map +0 -1
- package/dist/features/settings-dialog/tabs/integrations/rules.d.ts +0 -45
- package/dist/features/settings-dialog/tabs/integrations/rules.d.ts.map +0 -1
- package/dist/features/settings-dialog/tabs/integrations/rules.js +0 -181
- package/dist/features/settings-dialog/tabs/integrations/rules.js.map +0 -1
- package/dist/features/settings-dialog/tabs/integrations/types.d.ts +0 -58
- package/dist/features/settings-dialog/tabs/integrations/types.d.ts.map +0 -1
- package/dist/features/settings-dialog/tabs/integrations/types.js +0 -15
- package/dist/features/settings-dialog/tabs/integrations/types.js.map +0 -1
- package/dist/features/settings-dialog/tabs/language/index.d.ts.map +0 -1
- package/dist/features/settings-dialog/tabs/language/index.js.map +0 -1
- package/dist/features/settings-dialog/tabs/language/react/components/LanguageTab.d.ts.map +0 -1
- package/dist/features/settings-dialog/tabs/language/react/components/LanguageTab.js +0 -18
- package/dist/features/settings-dialog/tabs/language/react/components/LanguageTab.js.map +0 -1
- package/dist/features/settings-dialog/tabs/language/types.d.ts +0 -15
- package/dist/features/settings-dialog/tabs/language/types.d.ts.map +0 -1
- package/dist/features/settings-dialog/tabs/language/types.js.map +0 -1
- package/dist/features/settings-dialog/tabs/notifications/constants.d.ts.map +0 -1
- package/dist/features/settings-dialog/tabs/notifications/constants.js +0 -8
- package/dist/features/settings-dialog/tabs/notifications/constants.js.map +0 -1
- package/dist/features/settings-dialog/tabs/notifications/index.d.ts +0 -5
- package/dist/features/settings-dialog/tabs/notifications/index.d.ts.map +0 -1
- package/dist/features/settings-dialog/tabs/notifications/index.js.map +0 -1
- package/dist/features/settings-dialog/tabs/notifications/react/components/NotificationsTab.d.ts +0 -33
- package/dist/features/settings-dialog/tabs/notifications/react/components/NotificationsTab.d.ts.map +0 -1
- package/dist/features/settings-dialog/tabs/notifications/react/components/NotificationsTab.js +0 -71
- package/dist/features/settings-dialog/tabs/notifications/react/components/NotificationsTab.js.map +0 -1
- package/dist/features/settings-dialog/tabs/notifications/types.d.ts +0 -15
- package/dist/features/settings-dialog/tabs/notifications/types.d.ts.map +0 -1
- package/dist/features/settings-dialog/tabs/notifications/types.js.map +0 -1
- package/dist/features/settings-dialog/tabs/privacy/index.d.ts +0 -5
- package/dist/features/settings-dialog/tabs/privacy/index.d.ts.map +0 -1
- package/dist/features/settings-dialog/tabs/privacy/index.js.map +0 -1
- package/dist/features/settings-dialog/tabs/privacy/react/components/PrivacyTab.d.ts +0 -34
- package/dist/features/settings-dialog/tabs/privacy/react/components/PrivacyTab.d.ts.map +0 -1
- package/dist/features/settings-dialog/tabs/privacy/react/components/PrivacyTab.js +0 -36
- package/dist/features/settings-dialog/tabs/privacy/react/components/PrivacyTab.js.map +0 -1
- package/dist/features/settings-dialog/tabs/privacy/rules.d.ts.map +0 -1
- package/dist/features/settings-dialog/tabs/privacy/rules.js +0 -70
- package/dist/features/settings-dialog/tabs/privacy/rules.js.map +0 -1
- package/dist/features/settings-dialog/tabs/privacy/types.d.ts.map +0 -1
- package/dist/features/settings-dialog/tabs/privacy/types.js.map +0 -1
- package/dist/features/settings-dialog/types.d.ts +0 -46
- package/dist/features/settings-dialog/types.d.ts.map +0 -1
- package/dist/features/settings-dialog/types.js +0 -18
- package/dist/features/settings-dialog/types.js.map +0 -1
- package/dist/hooks/useCoalescedCallback.d.ts +0 -35
- package/dist/hooks/useCoalescedCallback.d.ts.map +0 -1
- package/dist/hooks/useCoalescedCallback.js +0 -61
- package/dist/hooks/useCoalescedCallback.js.map +0 -1
- package/dist/hooks/useDebouncedValue.d.ts +0 -2
- package/dist/hooks/useDebouncedValue.d.ts.map +0 -1
- package/dist/hooks/useDebouncedValue.js +0 -14
- package/dist/hooks/useDebouncedValue.js.map +0 -1
- package/dist/hooks/useInView.d.ts +0 -19
- package/dist/hooks/useInView.d.ts.map +0 -1
- package/dist/hooks/useInView.js +0 -39
- package/dist/hooks/useInView.js.map +0 -1
- package/dist/hooks/useResizableSplitPane.d.ts +0 -44
- package/dist/hooks/useResizableSplitPane.d.ts.map +0 -1
- package/dist/hooks/useResizableSplitPane.js +0 -259
- package/dist/hooks/useResizableSplitPane.js.map +0 -1
- package/dist/hooks/useStableHandler.d.ts +0 -10
- package/dist/hooks/useStableHandler.d.ts.map +0 -1
- package/dist/hooks/useStableHandler.js +0 -17
- package/dist/hooks/useStableHandler.js.map +0 -1
- package/dist/vitest-chat-entry.d.ts +0 -13
- package/dist/vitest-chat-entry.d.ts.map +0 -1
- package/dist/vitest-chat-entry.js +0 -13
- package/dist/vitest-chat-entry.js.map +0 -1
- /package/dist/features/{settings-dialog/tabs/appearance → appearance}/index.js +0 -0
- /package/dist/features/{settings-dialog/tabs/appearance → appearance}/react/components/AppearanceTab.d.ts +0 -0
- /package/dist/features/{settings-dialog/tabs/integrations → execution}/ports.js +0 -0
- /package/dist/features/{settings-dialog/tabs/language → i18n/dictionaries}/types.js +0 -0
- /package/dist/features/{settings-dialog/tabs/instructions → instructions}/index.d.ts +0 -0
- /package/dist/features/{settings-dialog/tabs/instructions → instructions}/index.js +0 -0
- /package/dist/features/{settings-dialog/tabs/instructions → instructions}/react/components/InstructionsTab.d.ts +0 -0
- /package/dist/features/{settings-dialog/tabs/integrations → integrations}/constants.d.ts +0 -0
- /package/dist/features/{settings-dialog/tabs/integrations → integrations}/constants.js +0 -0
- /package/dist/features/{settings-dialog/tabs/integrations → integrations}/dependencies.d.ts +0 -0
- /package/dist/features/{settings-dialog/tabs/integrations → integrations}/dependencies.js +0 -0
- /package/dist/features/{settings-dialog/tabs/integrations → integrations}/ports.d.ts +0 -0
- /package/dist/features/{settings-dialog/tabs/integrations → integrations}/react/components/ClientPicker.d.ts +0 -0
- /package/dist/features/{settings-dialog/tabs/integrations → integrations}/react/components/CodexInstallToggleButton.d.ts +0 -0
- /package/dist/features/{settings-dialog/tabs/integrations → integrations}/react/components/SnippetBlock.d.ts +0 -0
- /package/dist/features/{settings-dialog/tabs/integrations → integrations}/react/hooks/useCodexInstallToggle.d.ts +0 -0
- /package/dist/features/{settings-dialog/tabs/integrations → integrations}/react/hooks/useCodexInstallToggle.js +0 -0
- /package/dist/features/{settings-dialog/tabs/integrations → integrations}/react/hooks/useMcpInstallInfo.d.ts +0 -0
- /package/dist/features/{settings-dialog/tabs/integrations → integrations}/react/hooks/useMcpInstallInfo.js +0 -0
- /package/dist/features/{settings-dialog/tabs/notifications → interactive-ui}/types.js +0 -0
- /package/dist/features/{settings-dialog/tabs/language → language}/index.d.ts +0 -0
- /package/dist/features/{settings-dialog/tabs/language → language}/index.js +0 -0
- /package/dist/features/{settings-dialog/tabs/language → language}/react/components/LanguageTab.d.ts +0 -0
- /package/dist/features/{settings-dialog/tabs/notifications → notifications}/constants.d.ts +0 -0
- /package/dist/features/{settings-dialog/tabs/notifications → notifications}/index.js +0 -0
- /package/dist/features/{settings-dialog/tabs/privacy → privacy}/index.js +0 -0
- /package/dist/features/{settings-dialog/tabs/privacy → privacy}/rules.d.ts +0 -0
- /package/dist/features/{settings-dialog/tabs/privacy → privacy}/types.d.ts +0 -0
- /package/dist/features/{settings-dialog/tabs/privacy → privacy}/types.js +0 -0
- /package/dist/features/{settings-dialog → tabbed-dialog}/rules.js +0 -0
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import type { MediaProviderCredentials, MediaProviderMap } from './types.js';
|
|
2
|
+
/**
|
|
3
|
+
* Whether the entry carries real, re-sendable credential data.
|
|
4
|
+
*
|
|
5
|
+
* Markers (`apiKeyConfigured`/`apiKeyTail`) deliberately do NOT count — they
|
|
6
|
+
* prove a key exists somewhere without carrying anything that could be sent
|
|
7
|
+
* back. This is the predicate that decides whether a local edit is worth
|
|
8
|
+
* preserving over the server's copy.
|
|
9
|
+
*/
|
|
10
|
+
export declare function hasRecoverableFields(entry: MediaProviderCredentials | null | undefined): boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Whether the entry is configured AT ALL — real data OR a server marker.
|
|
13
|
+
*
|
|
14
|
+
* Broader than `hasRecoverableFields` on purpose: for "is this provider set
|
|
15
|
+
* up?" a server-held key the UI cannot see still counts as set up.
|
|
16
|
+
*/
|
|
17
|
+
export declare function isEntryPresent(entry: MediaProviderCredentials | null | undefined): boolean;
|
|
18
|
+
/** Inverse of `isEntryPresent`, kept as its own name because call sites read
|
|
19
|
+
* far better as "is empty" than as a negation. */
|
|
20
|
+
export declare function isEntryEmpty(entry: MediaProviderCredentials | null | undefined): boolean;
|
|
21
|
+
/**
|
|
22
|
+
* An entry that is configured but holds nothing usable — markers only.
|
|
23
|
+
*
|
|
24
|
+
* These are echoes of a server state that no longer exists. When the server
|
|
25
|
+
* reports no managed providers at all, every marker-only local entry is stale
|
|
26
|
+
* and must be dropped, or the UI keeps claiming a provider is configured after
|
|
27
|
+
* the server has forgotten it.
|
|
28
|
+
*/
|
|
29
|
+
export declare function isMarkerOnlyEntry(entry: MediaProviderCredentials | null | undefined): boolean;
|
|
30
|
+
/** Whether any provider in the map is configured. */
|
|
31
|
+
export declare function hasAnyConfiguredProvider(providers: MediaProviderMap | null | undefined): boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Merges the server's providers over the local ones.
|
|
34
|
+
*
|
|
35
|
+
* Three cases, in order:
|
|
36
|
+
*
|
|
37
|
+
* 1. **`daemonProviders == null`** — the server was never reached (as opposed
|
|
38
|
+
* to reached and empty). Local state is returned untouched. Treating an
|
|
39
|
+
* unreachable server as "the server has nothing" would wipe local edits on
|
|
40
|
+
* a network blip, which is why `null` and `{}` must stay distinguishable.
|
|
41
|
+
* 2. **Server reached, manages nothing** — every marker-only local entry is a
|
|
42
|
+
* stale echo and is dropped. Entries with real local data are KEPT: the
|
|
43
|
+
* operator typed those and no server has claimed them yet.
|
|
44
|
+
* 3. **Server reached with providers** — each present server entry wins,
|
|
45
|
+
* EXCEPT where the caller named that provider in `preserveLocalProviderIds`
|
|
46
|
+
* AND the local entry has recoverable fields. That exception is what stops
|
|
47
|
+
* a background refresh from overwriting a field being typed. The local
|
|
48
|
+
* values are layered ON TOP of the server entry (`{...daemon, ...local}`)
|
|
49
|
+
* rather than replacing it, so server-only markers survive alongside the
|
|
50
|
+
* edit.
|
|
51
|
+
*
|
|
52
|
+
* Server entries that are not present are skipped entirely — an empty server
|
|
53
|
+
* record must not blank a configured local one.
|
|
54
|
+
*
|
|
55
|
+
* ## `dropProviderIds` — why a preserve list was not enough
|
|
56
|
+
*
|
|
57
|
+
* `preserveLocalProviderIds` can only preserve something that EXISTS locally:
|
|
58
|
+
* case 3 requires `hasRecoverableFields(localEntry)`, and a cleared provider
|
|
59
|
+
* has no local entry at all. So a provider the operator cleared, whose removal
|
|
60
|
+
* has not yet reached the server, was re-created here from the server's own
|
|
61
|
+
* still-present copy — a reload silently put a deleted credential back on
|
|
62
|
+
* screen. A deletion is not a weaker edit; it is an edit the preserve
|
|
63
|
+
* mechanism structurally cannot express, so it needs its own channel.
|
|
64
|
+
* `dropProviderIds` names ids whose local absence is INTENTIONAL and
|
|
65
|
+
* authoritative for this merge, and they are dropped whichever case runs.
|
|
66
|
+
*/
|
|
67
|
+
export declare function mergeDaemonProviders(localProviders: MediaProviderMap | null | undefined, daemonProviders: MediaProviderMap | null | undefined, options?: {
|
|
68
|
+
preserveLocalProviderIds?: ReadonlySet<string>;
|
|
69
|
+
dropProviderIds?: ReadonlySet<string>;
|
|
70
|
+
}): MediaProviderMap;
|
|
71
|
+
/**
|
|
72
|
+
* Whether local credentials should be pushed to the server.
|
|
73
|
+
*
|
|
74
|
+
* True only when the server is reachable, the operator has real local data,
|
|
75
|
+
* and the server manages nothing yet — i.e. a first upload. Once the server
|
|
76
|
+
* holds anything, it is authoritative and pushing would let a stale local copy
|
|
77
|
+
* clobber it; that path belongs to an explicit save, not an automatic sync.
|
|
78
|
+
*/
|
|
79
|
+
export declare function shouldSyncLocalProvidersToDaemon(localProviders: MediaProviderMap | null | undefined, daemonProviders: MediaProviderMap | null | undefined): boolean;
|
|
80
|
+
/**
|
|
81
|
+
* The base URL to use for a provider: whatever the operator typed, else the
|
|
82
|
+
* catalog's default, else empty.
|
|
83
|
+
*
|
|
84
|
+
* Deliberately still returns whatever was typed, valid or not — callers render
|
|
85
|
+
* this value back into the field, and silently substituting the default under
|
|
86
|
+
* an operator mid-edit would look like their input was eaten. Acceptability is
|
|
87
|
+
* {@link isProviderBaseUrlInvalid}'s question, asked separately.
|
|
88
|
+
*/
|
|
89
|
+
export declare function resolveProviderBaseUrl(entry: MediaProviderCredentials | null | undefined, defaultBaseUrl: string | undefined): string;
|
|
90
|
+
/**
|
|
91
|
+
* True when the operator typed a base URL this tab will not send credentials
|
|
92
|
+
* to — distinct from "hasn't typed anything yet", which is not an error state
|
|
93
|
+
* (the catalog default takes over). Mirrors the execution tab's
|
|
94
|
+
* `isBaseUrlInvalid` exactly, against the same shared policy.
|
|
95
|
+
*
|
|
96
|
+
* This tab had NO url validation at all, which made it strictly worse than the
|
|
97
|
+
* execution tab's old scheme-only check on a field of the same kind: operator
|
|
98
|
+
* supplied, persisted, and paired with a real API key that is then sent to
|
|
99
|
+
* whatever it names. See `utils/endpoint-policy.ts`.
|
|
100
|
+
*/
|
|
101
|
+
export declare function isProviderBaseUrlInvalid(entry: MediaProviderCredentials | null | undefined): boolean;
|
|
102
|
+
/** Every provider id in the map whose typed base URL is unacceptable — the save gate's input. */
|
|
103
|
+
export declare function invalidBaseUrlProviderIds(providers: MediaProviderMap | null | undefined): readonly string[];
|
|
104
|
+
/**
|
|
105
|
+
* Orders a provider catalog for display: configured providers first (real
|
|
106
|
+
* data or a server marker — see `isEntryPresent`), then alphabetically by
|
|
107
|
+
* label within each group. Mirrors `sortDetectedAgents`'s convention in the
|
|
108
|
+
* execution tab's rules — configured-first is what the origin's inline sort
|
|
109
|
+
* did too (`MediaProvidersSection`'s `availableProviders` sort in
|
|
110
|
+
* `SettingsDialog.tsx`), extracted here as a testable pure function instead
|
|
111
|
+
* of living inline in JSX. Generic over `{ id, label }` so callers can pass
|
|
112
|
+
* `MediaProviderOption[]` directly without this module importing that type.
|
|
113
|
+
*
|
|
114
|
+
* `pinnedIds` (optional, default none — every pre-existing caller keeps its
|
|
115
|
+
* exact prior order): ids that must render first, in the order given, ahead
|
|
116
|
+
* of the configured/alphabetical grouping entirely — a pinned provider stays
|
|
117
|
+
* first whether or not it is configured. A pinned id absent from `catalog`
|
|
118
|
+
* is silently skipped rather than fabricating an entry.
|
|
119
|
+
*/
|
|
120
|
+
export declare function sortProvidersByConfigured<T extends {
|
|
121
|
+
id: string;
|
|
122
|
+
label: string;
|
|
123
|
+
}>(catalog: readonly T[], providers: MediaProviderMap | null | undefined, pinnedIds?: readonly string[]): readonly T[];
|
|
124
|
+
/**
|
|
125
|
+
* How a configured key should be displayed.
|
|
126
|
+
*
|
|
127
|
+
* Never returns the key itself. A locally-typed key is masked down to its own
|
|
128
|
+
* tail so it reads the same as a server-reported one, which keeps the UI from
|
|
129
|
+
* looking different depending on where the value happens to live.
|
|
130
|
+
*
|
|
131
|
+
* **`apiKeyTail` is clamped rather than trusted.** It arrives from the daemon,
|
|
132
|
+
* and `types.ts` describes it as "the last few characters" in prose only — there
|
|
133
|
+
* was nothing enforcing that. A daemon bug (or a compromised one) returning the
|
|
134
|
+
* WHOLE key in that field would have rendered the whole key behind a `••••`
|
|
135
|
+
* prefix that makes it look masked. Clamping here means the display cannot leak
|
|
136
|
+
* more than it promises no matter what the server sends.
|
|
137
|
+
*/
|
|
138
|
+
export declare function maskedKeyLabel(entry: MediaProviderCredentials | null | undefined): string | null;
|
|
139
|
+
//# sourceMappingURL=rules.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../../../src/features/media-providers/rules.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAe7E;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,wBAAwB,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAEhG;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,wBAAwB,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAE1F;AAED;mDACmD;AACnD,wBAAgB,YAAY,CAAC,KAAK,EAAE,wBAAwB,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAExF;AAED;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,wBAAwB,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAE7F;AAED,qDAAqD;AACrD,wBAAgB,wBAAwB,CAAC,SAAS,EAAE,gBAAgB,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAGhG;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAgB,oBAAoB,CAClC,cAAc,EAAE,gBAAgB,GAAG,IAAI,GAAG,SAAS,EACnD,eAAe,EAAE,gBAAgB,GAAG,IAAI,GAAG,SAAS,EACpD,OAAO,CAAC,EAAE;IAAE,wBAAwB,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAAC,eAAe,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CAAE,GAClG,gBAAgB,CAyBlB;AAED;;;;;;;GAOG;AACH,wBAAgB,gCAAgC,CAC9C,cAAc,EAAE,gBAAgB,GAAG,IAAI,GAAG,SAAS,EACnD,eAAe,EAAE,gBAAgB,GAAG,IAAI,GAAG,SAAS,GACnD,OAAO,CAIT;AAED;;;;;;;;GAQG;AACH,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,wBAAwB,GAAG,IAAI,GAAG,SAAS,EAClD,cAAc,EAAE,MAAM,GAAG,SAAS,GACjC,MAAM,CAIR;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,wBAAwB,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAIpG;AAED,iGAAiG;AACjG,wBAAgB,yBAAyB,CAAC,SAAS,EAAE,gBAAgB,GAAG,IAAI,GAAG,SAAS,GAAG,SAAS,MAAM,EAAE,CAG3G;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,yBAAyB,CAAC,CAAC,SAAS;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,EAC/E,OAAO,EAAE,SAAS,CAAC,EAAE,EACrB,SAAS,EAAE,gBAAgB,GAAG,IAAI,GAAG,SAAS,EAC9C,SAAS,GAAE,SAAS,MAAM,EAAO,GAChC,SAAS,CAAC,EAAE,CAcd;AAOD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,wBAAwB,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,CAOhG"}
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
import { isAllowedEndpointUrl } from '../../utils/endpoint-policy.js';
|
|
2
|
+
/**
|
|
3
|
+
* Reconciliation rules for credentials that exist in two places at once: a
|
|
4
|
+
* server ("daemon") that holds the authoritative copy, and a local editor
|
|
5
|
+
* where the operator may have unsaved changes.
|
|
6
|
+
*
|
|
7
|
+
* See `types.ts` for the recoverable-vs-marker distinction these all turn on.
|
|
8
|
+
*/
|
|
9
|
+
/** Trimmed-non-empty, treating `undefined`/`null` as absent. */
|
|
10
|
+
function filled(value) {
|
|
11
|
+
return Boolean(value && value.trim());
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Whether the entry carries real, re-sendable credential data.
|
|
15
|
+
*
|
|
16
|
+
* Markers (`apiKeyConfigured`/`apiKeyTail`) deliberately do NOT count — they
|
|
17
|
+
* prove a key exists somewhere without carrying anything that could be sent
|
|
18
|
+
* back. This is the predicate that decides whether a local edit is worth
|
|
19
|
+
* preserving over the server's copy.
|
|
20
|
+
*/
|
|
21
|
+
export function hasRecoverableFields(entry) {
|
|
22
|
+
return filled(entry?.apiKey) || filled(entry?.baseUrl) || filled(entry?.model);
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Whether the entry is configured AT ALL — real data OR a server marker.
|
|
26
|
+
*
|
|
27
|
+
* Broader than `hasRecoverableFields` on purpose: for "is this provider set
|
|
28
|
+
* up?" a server-held key the UI cannot see still counts as set up.
|
|
29
|
+
*/
|
|
30
|
+
export function isEntryPresent(entry) {
|
|
31
|
+
return hasRecoverableFields(entry) || Boolean(entry?.apiKeyConfigured) || filled(entry?.apiKeyTail);
|
|
32
|
+
}
|
|
33
|
+
/** Inverse of `isEntryPresent`, kept as its own name because call sites read
|
|
34
|
+
* far better as "is empty" than as a negation. */
|
|
35
|
+
export function isEntryEmpty(entry) {
|
|
36
|
+
return !isEntryPresent(entry);
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* An entry that is configured but holds nothing usable — markers only.
|
|
40
|
+
*
|
|
41
|
+
* These are echoes of a server state that no longer exists. When the server
|
|
42
|
+
* reports no managed providers at all, every marker-only local entry is stale
|
|
43
|
+
* and must be dropped, or the UI keeps claiming a provider is configured after
|
|
44
|
+
* the server has forgotten it.
|
|
45
|
+
*/
|
|
46
|
+
export function isMarkerOnlyEntry(entry) {
|
|
47
|
+
return isEntryPresent(entry) && !hasRecoverableFields(entry);
|
|
48
|
+
}
|
|
49
|
+
/** Whether any provider in the map is configured. */
|
|
50
|
+
export function hasAnyConfiguredProvider(providers) {
|
|
51
|
+
if (!providers)
|
|
52
|
+
return false;
|
|
53
|
+
return Object.values(providers).some((entry) => isEntryPresent(entry));
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Merges the server's providers over the local ones.
|
|
57
|
+
*
|
|
58
|
+
* Three cases, in order:
|
|
59
|
+
*
|
|
60
|
+
* 1. **`daemonProviders == null`** — the server was never reached (as opposed
|
|
61
|
+
* to reached and empty). Local state is returned untouched. Treating an
|
|
62
|
+
* unreachable server as "the server has nothing" would wipe local edits on
|
|
63
|
+
* a network blip, which is why `null` and `{}` must stay distinguishable.
|
|
64
|
+
* 2. **Server reached, manages nothing** — every marker-only local entry is a
|
|
65
|
+
* stale echo and is dropped. Entries with real local data are KEPT: the
|
|
66
|
+
* operator typed those and no server has claimed them yet.
|
|
67
|
+
* 3. **Server reached with providers** — each present server entry wins,
|
|
68
|
+
* EXCEPT where the caller named that provider in `preserveLocalProviderIds`
|
|
69
|
+
* AND the local entry has recoverable fields. That exception is what stops
|
|
70
|
+
* a background refresh from overwriting a field being typed. The local
|
|
71
|
+
* values are layered ON TOP of the server entry (`{...daemon, ...local}`)
|
|
72
|
+
* rather than replacing it, so server-only markers survive alongside the
|
|
73
|
+
* edit.
|
|
74
|
+
*
|
|
75
|
+
* Server entries that are not present are skipped entirely — an empty server
|
|
76
|
+
* record must not blank a configured local one.
|
|
77
|
+
*
|
|
78
|
+
* ## `dropProviderIds` — why a preserve list was not enough
|
|
79
|
+
*
|
|
80
|
+
* `preserveLocalProviderIds` can only preserve something that EXISTS locally:
|
|
81
|
+
* case 3 requires `hasRecoverableFields(localEntry)`, and a cleared provider
|
|
82
|
+
* has no local entry at all. So a provider the operator cleared, whose removal
|
|
83
|
+
* has not yet reached the server, was re-created here from the server's own
|
|
84
|
+
* still-present copy — a reload silently put a deleted credential back on
|
|
85
|
+
* screen. A deletion is not a weaker edit; it is an edit the preserve
|
|
86
|
+
* mechanism structurally cannot express, so it needs its own channel.
|
|
87
|
+
* `dropProviderIds` names ids whose local absence is INTENTIONAL and
|
|
88
|
+
* authoritative for this merge, and they are dropped whichever case runs.
|
|
89
|
+
*/
|
|
90
|
+
export function mergeDaemonProviders(localProviders, daemonProviders, options) {
|
|
91
|
+
const dropped = options?.dropProviderIds;
|
|
92
|
+
const withoutDropped = (map) => dropped === undefined || dropped.size === 0
|
|
93
|
+
? map
|
|
94
|
+
: Object.fromEntries(Object.entries(map).filter(([providerId]) => !dropped.has(providerId)));
|
|
95
|
+
const local = withoutDropped({ ...(localProviders ?? {}) });
|
|
96
|
+
if (daemonProviders == null)
|
|
97
|
+
return local;
|
|
98
|
+
if (!hasAnyConfiguredProvider(daemonProviders)) {
|
|
99
|
+
return Object.fromEntries(Object.entries(local).filter(([, entry]) => !isMarkerOnlyEntry(entry)));
|
|
100
|
+
}
|
|
101
|
+
const merged = { ...local };
|
|
102
|
+
for (const [providerId, daemonEntry] of Object.entries(daemonProviders)) {
|
|
103
|
+
if (!isEntryPresent(daemonEntry))
|
|
104
|
+
continue;
|
|
105
|
+
if (dropped?.has(providerId))
|
|
106
|
+
continue;
|
|
107
|
+
const localEntry = merged[providerId];
|
|
108
|
+
const preserveLocalEdit = Boolean(options?.preserveLocalProviderIds?.has(providerId)) && hasRecoverableFields(localEntry);
|
|
109
|
+
merged[providerId] = preserveLocalEdit ? { ...daemonEntry, ...localEntry } : { ...daemonEntry };
|
|
110
|
+
}
|
|
111
|
+
return merged;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Whether local credentials should be pushed to the server.
|
|
115
|
+
*
|
|
116
|
+
* True only when the server is reachable, the operator has real local data,
|
|
117
|
+
* and the server manages nothing yet — i.e. a first upload. Once the server
|
|
118
|
+
* holds anything, it is authoritative and pushing would let a stale local copy
|
|
119
|
+
* clobber it; that path belongs to an explicit save, not an automatic sync.
|
|
120
|
+
*/
|
|
121
|
+
export function shouldSyncLocalProvidersToDaemon(localProviders, daemonProviders) {
|
|
122
|
+
if (daemonProviders == null)
|
|
123
|
+
return false;
|
|
124
|
+
if (hasAnyConfiguredProvider(daemonProviders))
|
|
125
|
+
return false;
|
|
126
|
+
return Object.values(localProviders ?? {}).some((entry) => hasRecoverableFields(entry));
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* The base URL to use for a provider: whatever the operator typed, else the
|
|
130
|
+
* catalog's default, else empty.
|
|
131
|
+
*
|
|
132
|
+
* Deliberately still returns whatever was typed, valid or not — callers render
|
|
133
|
+
* this value back into the field, and silently substituting the default under
|
|
134
|
+
* an operator mid-edit would look like their input was eaten. Acceptability is
|
|
135
|
+
* {@link isProviderBaseUrlInvalid}'s question, asked separately.
|
|
136
|
+
*/
|
|
137
|
+
export function resolveProviderBaseUrl(entry, defaultBaseUrl) {
|
|
138
|
+
const typed = entry?.baseUrl?.trim();
|
|
139
|
+
if (typed)
|
|
140
|
+
return typed;
|
|
141
|
+
return defaultBaseUrl?.trim() ?? '';
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* True when the operator typed a base URL this tab will not send credentials
|
|
145
|
+
* to — distinct from "hasn't typed anything yet", which is not an error state
|
|
146
|
+
* (the catalog default takes over). Mirrors the execution tab's
|
|
147
|
+
* `isBaseUrlInvalid` exactly, against the same shared policy.
|
|
148
|
+
*
|
|
149
|
+
* This tab had NO url validation at all, which made it strictly worse than the
|
|
150
|
+
* execution tab's old scheme-only check on a field of the same kind: operator
|
|
151
|
+
* supplied, persisted, and paired with a real API key that is then sent to
|
|
152
|
+
* whatever it names. See `utils/endpoint-policy.ts`.
|
|
153
|
+
*/
|
|
154
|
+
export function isProviderBaseUrlInvalid(entry) {
|
|
155
|
+
const typed = entry?.baseUrl?.trim();
|
|
156
|
+
if (!typed)
|
|
157
|
+
return false;
|
|
158
|
+
return !isAllowedEndpointUrl(typed);
|
|
159
|
+
}
|
|
160
|
+
/** Every provider id in the map whose typed base URL is unacceptable — the save gate's input. */
|
|
161
|
+
export function invalidBaseUrlProviderIds(providers) {
|
|
162
|
+
if (!providers)
|
|
163
|
+
return [];
|
|
164
|
+
return Object.keys(providers).filter((id) => isProviderBaseUrlInvalid(providers[id]));
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* Orders a provider catalog for display: configured providers first (real
|
|
168
|
+
* data or a server marker — see `isEntryPresent`), then alphabetically by
|
|
169
|
+
* label within each group. Mirrors `sortDetectedAgents`'s convention in the
|
|
170
|
+
* execution tab's rules — configured-first is what the origin's inline sort
|
|
171
|
+
* did too (`MediaProvidersSection`'s `availableProviders` sort in
|
|
172
|
+
* `SettingsDialog.tsx`), extracted here as a testable pure function instead
|
|
173
|
+
* of living inline in JSX. Generic over `{ id, label }` so callers can pass
|
|
174
|
+
* `MediaProviderOption[]` directly without this module importing that type.
|
|
175
|
+
*
|
|
176
|
+
* `pinnedIds` (optional, default none — every pre-existing caller keeps its
|
|
177
|
+
* exact prior order): ids that must render first, in the order given, ahead
|
|
178
|
+
* of the configured/alphabetical grouping entirely — a pinned provider stays
|
|
179
|
+
* first whether or not it is configured. A pinned id absent from `catalog`
|
|
180
|
+
* is silently skipped rather than fabricating an entry.
|
|
181
|
+
*/
|
|
182
|
+
export function sortProvidersByConfigured(catalog, providers, pinnedIds = []) {
|
|
183
|
+
const pinnedSet = new Set(pinnedIds);
|
|
184
|
+
const pinned = pinnedIds
|
|
185
|
+
.map((id) => catalog.find((item) => item.id === id))
|
|
186
|
+
.filter((item) => item !== undefined);
|
|
187
|
+
const rest = catalog
|
|
188
|
+
.filter((item) => !pinnedSet.has(item.id))
|
|
189
|
+
.sort((a, b) => {
|
|
190
|
+
const aConfigured = isEntryPresent(providers?.[a.id]);
|
|
191
|
+
const bConfigured = isEntryPresent(providers?.[b.id]);
|
|
192
|
+
if (aConfigured !== bConfigured)
|
|
193
|
+
return aConfigured ? -1 : 1;
|
|
194
|
+
return a.label.localeCompare(b.label);
|
|
195
|
+
});
|
|
196
|
+
return [...pinned, ...rest];
|
|
197
|
+
}
|
|
198
|
+
/** How many trailing characters of a key may ever be shown. Matches
|
|
199
|
+
* `source-config-list`'s `MASKED_VALUE_VISIBLE_SUFFIX_LENGTH` — the two mask
|
|
200
|
+
* the same class of secret and must not disagree about how much of it leaks. */
|
|
201
|
+
const KEY_TAIL_MAX_LENGTH = 4;
|
|
202
|
+
/**
|
|
203
|
+
* How a configured key should be displayed.
|
|
204
|
+
*
|
|
205
|
+
* Never returns the key itself. A locally-typed key is masked down to its own
|
|
206
|
+
* tail so it reads the same as a server-reported one, which keeps the UI from
|
|
207
|
+
* looking different depending on where the value happens to live.
|
|
208
|
+
*
|
|
209
|
+
* **`apiKeyTail` is clamped rather than trusted.** It arrives from the daemon,
|
|
210
|
+
* and `types.ts` describes it as "the last few characters" in prose only — there
|
|
211
|
+
* was nothing enforcing that. A daemon bug (or a compromised one) returning the
|
|
212
|
+
* WHOLE key in that field would have rendered the whole key behind a `••••`
|
|
213
|
+
* prefix that makes it look masked. Clamping here means the display cannot leak
|
|
214
|
+
* more than it promises no matter what the server sends.
|
|
215
|
+
*/
|
|
216
|
+
export function maskedKeyLabel(entry) {
|
|
217
|
+
const tail = entry?.apiKeyTail?.trim();
|
|
218
|
+
if (tail)
|
|
219
|
+
return `••••${tail.slice(-KEY_TAIL_MAX_LENGTH)}`;
|
|
220
|
+
const local = entry?.apiKey?.trim();
|
|
221
|
+
if (local)
|
|
222
|
+
return `••••${local.slice(-KEY_TAIL_MAX_LENGTH)}`;
|
|
223
|
+
if (entry?.apiKeyConfigured)
|
|
224
|
+
return '••••';
|
|
225
|
+
return null;
|
|
226
|
+
}
|
|
227
|
+
//# sourceMappingURL=rules.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rules.js","sourceRoot":"","sources":["../../../src/features/media-providers/rules.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAGtE;;;;;;GAMG;AAEH,gEAAgE;AAChE,SAAS,MAAM,CAAC,KAAyB;IACvC,OAAO,OAAO,CAAC,KAAK,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC;AACxC,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,oBAAoB,CAAC,KAAkD;IACrF,OAAO,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,IAAI,MAAM,CAAC,KAAK,EAAE,OAAO,CAAC,IAAI,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;AACjF,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,cAAc,CAAC,KAAkD;IAC/E,OAAO,oBAAoB,CAAC,KAAK,CAAC,IAAI,OAAO,CAAC,KAAK,EAAE,gBAAgB,CAAC,IAAI,MAAM,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;AACtG,CAAC;AAED;mDACmD;AACnD,MAAM,UAAU,YAAY,CAAC,KAAkD;IAC7E,OAAO,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAChC,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,iBAAiB,CAAC,KAAkD;IAClF,OAAO,cAAc,CAAC,KAAK,CAAC,IAAI,CAAC,oBAAoB,CAAC,KAAK,CAAC,CAAC;AAC/D,CAAC;AAED,qDAAqD;AACrD,MAAM,UAAU,wBAAwB,CAAC,SAA8C;IACrF,IAAI,CAAC,SAAS;QAAE,OAAO,KAAK,CAAC;IAC7B,OAAO,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,CAAC;AACzE,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAM,UAAU,oBAAoB,CAClC,cAAmD,EACnD,eAAoD,EACpD,OAAmG;IAEnG,MAAM,OAAO,GAAG,OAAO,EAAE,eAAe,CAAC;IACzC,MAAM,cAAc,GAAG,CAAC,GAAqB,EAAoB,EAAE,CACjE,OAAO,KAAK,SAAS,IAAI,OAAO,CAAC,IAAI,KAAK,CAAC;QACzC,CAAC,CAAC,GAAG;QACL,CAAC,CAAC,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;IAEjG,MAAM,KAAK,GAAG,cAAc,CAAC,EAAE,GAAG,CAAC,cAAc,IAAI,EAAE,CAAC,EAAE,CAAC,CAAC;IAE5D,IAAI,eAAe,IAAI,IAAI;QAAE,OAAO,KAAK,CAAC;IAE1C,IAAI,CAAC,wBAAwB,CAAC,eAAe,CAAC,EAAE,CAAC;QAC/C,OAAO,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IACpG,CAAC;IAED,MAAM,MAAM,GAAqB,EAAE,GAAG,KAAK,EAAE,CAAC;IAC9C,KAAK,MAAM,CAAC,UAAU,EAAE,WAAW,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,eAAe,CAAC,EAAE,CAAC;QACxE,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC;YAAE,SAAS;QAC3C,IAAI,OAAO,EAAE,GAAG,CAAC,UAAU,CAAC;YAAE,SAAS;QACvC,MAAM,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC;QACtC,MAAM,iBAAiB,GACrB,OAAO,CAAC,OAAO,EAAE,wBAAwB,EAAE,GAAG,CAAC,UAAU,CAAC,CAAC,IAAI,oBAAoB,CAAC,UAAU,CAAC,CAAC;QAClG,MAAM,CAAC,UAAU,CAAC,GAAG,iBAAiB,CAAC,CAAC,CAAC,EAAE,GAAG,WAAW,EAAE,GAAG,UAAU,EAAE,CAAC,CAAC,CAAC,EAAE,GAAG,WAAW,EAAE,CAAC;IAClG,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,gCAAgC,CAC9C,cAAmD,EACnD,eAAoD;IAEpD,IAAI,eAAe,IAAI,IAAI;QAAE,OAAO,KAAK,CAAC;IAC1C,IAAI,wBAAwB,CAAC,eAAe,CAAC;QAAE,OAAO,KAAK,CAAC;IAC5D,OAAO,MAAM,CAAC,MAAM,CAAC,cAAc,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,oBAAoB,CAAC,KAAK,CAAC,CAAC,CAAC;AAC1F,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,UAAU,sBAAsB,CACpC,KAAkD,EAClD,cAAkC;IAElC,MAAM,KAAK,GAAG,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IACrC,IAAI,KAAK;QAAE,OAAO,KAAK,CAAC;IACxB,OAAO,cAAc,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;AACtC,CAAC;AAED;;;;;;;;;;GAUG;AACH,MAAM,UAAU,wBAAwB,CAAC,KAAkD;IACzF,MAAM,KAAK,GAAG,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IACrC,IAAI,CAAC,KAAK;QAAE,OAAO,KAAK,CAAC;IACzB,OAAO,CAAC,oBAAoB,CAAC,KAAK,CAAC,CAAC;AACtC,CAAC;AAED,iGAAiG;AACjG,MAAM,UAAU,yBAAyB,CAAC,SAA8C;IACtF,IAAI,CAAC,SAAS;QAAE,OAAO,EAAE,CAAC;IAC1B,OAAO,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,wBAAwB,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AACxF,CAAC;AAED;;;;;;;;;;;;;;;GAeG;AACH,MAAM,UAAU,yBAAyB,CACvC,OAAqB,EACrB,SAA8C,EAC9C,YAA+B,EAAE;IAEjC,MAAM,SAAS,GAAG,IAAI,GAAG,CAAC,SAAS,CAAC,CAAC;IACrC,MAAM,MAAM,GAAG,SAAS;SACrB,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;SACnD,MAAM,CAAC,CAAC,IAAI,EAAa,EAAE,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC;IACnD,MAAM,IAAI,GAAG,OAAO;SACjB,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;SACzC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;QACb,MAAM,WAAW,GAAG,cAAc,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QACtD,MAAM,WAAW,GAAG,cAAc,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QACtD,IAAI,WAAW,KAAK,WAAW;YAAE,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC7D,OAAO,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;IACxC,CAAC,CAAC,CAAC;IACL,OAAO,CAAC,GAAG,MAAM,EAAE,GAAG,IAAI,CAAC,CAAC;AAC9B,CAAC;AAED;;iFAEiF;AACjF,MAAM,mBAAmB,GAAG,CAAC,CAAC;AAE9B;;;;;;;;;;;;;GAaG;AACH,MAAM,UAAU,cAAc,CAAC,KAAkD;IAC/E,MAAM,IAAI,GAAG,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;IACvC,IAAI,IAAI;QAAE,OAAO,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC,mBAAmB,CAAC,EAAE,CAAC;IAC3D,MAAM,KAAK,GAAG,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IACpC,IAAI,KAAK;QAAE,OAAO,OAAO,KAAK,CAAC,KAAK,CAAC,CAAC,mBAAmB,CAAC,EAAE,CAAC;IAC7D,IAAI,KAAK,EAAE,gBAAgB;QAAE,OAAO,MAAM,CAAC;IAC3C,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Origin: `MediaProvidersSection` (`SettingsDialog.tsx:7028`) plus the media
|
|
3
|
+
* provider half of `state/config.ts` (`isStoredMediaProviderEntry*`,
|
|
4
|
+
* `mergeDaemonMediaProviders`, `hasAnyConfiguredProvider`,
|
|
5
|
+
* `shouldSyncLocalMediaProvidersToDaemon` and their private helpers).
|
|
6
|
+
*
|
|
7
|
+
* What is generic and ported: a per-provider credential record, and the rules
|
|
8
|
+
* for reconciling a SERVER-HELD credential store against LOCAL unsaved edits.
|
|
9
|
+
* None of that is product-bound — it is the same problem any host has once
|
|
10
|
+
* credentials can live in two places at once.
|
|
11
|
+
*
|
|
12
|
+
* What is NOT ported verbatim: the origin's full `MEDIA_PROVIDERS` catalog
|
|
13
|
+
* (`media/models.ts`, 761 lines of concrete image/video vendors with their
|
|
14
|
+
* endpoints and model lists). Instead this feature ships a small, curated
|
|
15
|
+
* `DEFAULT_MEDIA_PROVIDER_CATALOG` (see `constants.ts`) as a starting point,
|
|
16
|
+
* not a fixed list — same convention as `execution/constants.ts`'s
|
|
17
|
+
* `DEFAULT_PROVIDER_PRESETS`. A host with its own provider roster (or a
|
|
18
|
+
* larger/different one) passes its own `catalog` to `MediaProvidersTab` to
|
|
19
|
+
* replace this wholesale.
|
|
20
|
+
*
|
|
21
|
+
* Also not ported: the origin's functions take and return its whole
|
|
22
|
+
* `AppConfig`. Here they take and return the providers RECORD alone. Threading
|
|
23
|
+
* an entire host config object through a credential-merge rule is what made
|
|
24
|
+
* the origin's version untestable in isolation.
|
|
25
|
+
*/
|
|
26
|
+
/**
|
|
27
|
+
* One provider's stored credentials.
|
|
28
|
+
*
|
|
29
|
+
* TWO KINDS OF "PRESENT" live in this shape, and conflating them is the bug
|
|
30
|
+
* this whole module exists to avoid:
|
|
31
|
+
*
|
|
32
|
+
* - **Recoverable fields** (`apiKey`, `baseUrl`, `model`) are real values the
|
|
33
|
+
* operator typed and that can be re-sent.
|
|
34
|
+
* - **Markers** (`apiKeyConfigured`, `apiKeyTail`) are the server saying "a key
|
|
35
|
+
* exists here, but you don't get to see it". They prove configuration
|
|
36
|
+
* without carrying anything usable.
|
|
37
|
+
*
|
|
38
|
+
* An entry holding ONLY markers is configured but carries no data — see
|
|
39
|
+
* `isMarkerOnlyEntry`.
|
|
40
|
+
*/
|
|
41
|
+
export interface MediaProviderCredentials {
|
|
42
|
+
apiKey?: string;
|
|
43
|
+
baseUrl?: string;
|
|
44
|
+
model?: string;
|
|
45
|
+
/** Server-side marker: a key is stored, not disclosed. */
|
|
46
|
+
apiKeyConfigured?: boolean;
|
|
47
|
+
/** Server-side marker: last few characters, for display only. */
|
|
48
|
+
apiKeyTail?: string;
|
|
49
|
+
/** Free-form provenance tag, host-defined. */
|
|
50
|
+
source?: string;
|
|
51
|
+
}
|
|
52
|
+
/** Credentials keyed by provider id. */
|
|
53
|
+
export type MediaProviderMap = Record<string, MediaProviderCredentials>;
|
|
54
|
+
/**
|
|
55
|
+
* One selectable provider in the catalog. A host supplies its own catalog —
|
|
56
|
+
* this package ships `DEFAULT_MEDIA_PROVIDER_CATALOG` as a starting point,
|
|
57
|
+
* not as a fixed list (same convention as `ProviderPreset`).
|
|
58
|
+
*/
|
|
59
|
+
export interface MediaProviderOption {
|
|
60
|
+
id: string;
|
|
61
|
+
label: string;
|
|
62
|
+
/** Prefilled when the operator picks this provider and typed nothing. */
|
|
63
|
+
defaultBaseUrl?: string;
|
|
64
|
+
/** Model ids this provider advertises. A host that discovers models at
|
|
65
|
+
* runtime can leave this empty. */
|
|
66
|
+
models?: readonly string[];
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Result of the tab's daemon read, surfaced while the initial fetch or a
|
|
70
|
+
* manual reload is in flight. `'unreachable'` mirrors
|
|
71
|
+
* `MediaProvidersPort.fetchMediaProviders`'s `null` result as a renderable
|
|
72
|
+
* state — the daemon was never reached, distinct from `'ok'` (reached; local
|
|
73
|
+
* state is now reconciled against whatever it reported, including managing
|
|
74
|
+
* nothing at all). There is no `'error'` member: the port's `fetchMediaProviders`
|
|
75
|
+
* never rejects — see its own doc comment for why unreachable is a value,
|
|
76
|
+
* not a failure, in this contract.
|
|
77
|
+
*/
|
|
78
|
+
export type MediaProvidersLoadState = {
|
|
79
|
+
status: 'loading';
|
|
80
|
+
} | {
|
|
81
|
+
status: 'ok';
|
|
82
|
+
} | {
|
|
83
|
+
status: 'unreachable';
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* Result of `MediaProvidersPort.saveMediaProviders`, surfaced near whichever
|
|
87
|
+
* action triggered it (an explicit Save, or Clear's implicit save-on-clear).
|
|
88
|
+
* Same "async edge result" idiom as `ConnectionTestState`/`AgentScanState` in
|
|
89
|
+
* the execution tab's types — one shared shape for "what happened the last
|
|
90
|
+
* time this async edge ran" across this package.
|
|
91
|
+
*/
|
|
92
|
+
export type MediaProvidersSaveState = {
|
|
93
|
+
status: 'idle';
|
|
94
|
+
} | {
|
|
95
|
+
status: 'saving';
|
|
96
|
+
} | {
|
|
97
|
+
status: 'saved';
|
|
98
|
+
} | {
|
|
99
|
+
status: 'save-error';
|
|
100
|
+
message: string;
|
|
101
|
+
};
|
|
102
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/features/media-providers/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH;;;;;;;;;;;;;;GAcG;AACH,MAAM,WAAW,wBAAwB;IACvC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,0DAA0D;IAC1D,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,iEAAiE;IACjE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,8CAA8C;IAC9C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wCAAwC;AACxC,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,wBAAwB,CAAC,CAAC;AAExE;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,yEAAyE;IACzE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;wCACoC;IACpC,MAAM,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CAC5B;AAED;;;;;;;;;GASG;AACH,MAAM,MAAM,uBAAuB,GAAG;IAAE,MAAM,EAAE,SAAS,CAAA;CAAE,GAAG;IAAE,MAAM,EAAE,IAAI,CAAA;CAAE,GAAG;IAAE,MAAM,EAAE,aAAa,CAAA;CAAE,CAAC;AAE3G;;;;;;GAMG;AACH,MAAM,MAAM,uBAAuB,GAC/B;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,GAClB;IAAE,MAAM,EAAE,QAAQ,CAAA;CAAE,GACpB;IAAE,MAAM,EAAE,OAAO,CAAA;CAAE,GACnB;IAAE,MAAM,EAAE,YAAY,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Origin: `MediaProvidersSection` (`SettingsDialog.tsx:7028`) plus the media
|
|
3
|
+
* provider half of `state/config.ts` (`isStoredMediaProviderEntry*`,
|
|
4
|
+
* `mergeDaemonMediaProviders`, `hasAnyConfiguredProvider`,
|
|
5
|
+
* `shouldSyncLocalMediaProvidersToDaemon` and their private helpers).
|
|
6
|
+
*
|
|
7
|
+
* What is generic and ported: a per-provider credential record, and the rules
|
|
8
|
+
* for reconciling a SERVER-HELD credential store against LOCAL unsaved edits.
|
|
9
|
+
* None of that is product-bound — it is the same problem any host has once
|
|
10
|
+
* credentials can live in two places at once.
|
|
11
|
+
*
|
|
12
|
+
* What is NOT ported verbatim: the origin's full `MEDIA_PROVIDERS` catalog
|
|
13
|
+
* (`media/models.ts`, 761 lines of concrete image/video vendors with their
|
|
14
|
+
* endpoints and model lists). Instead this feature ships a small, curated
|
|
15
|
+
* `DEFAULT_MEDIA_PROVIDER_CATALOG` (see `constants.ts`) as a starting point,
|
|
16
|
+
* not a fixed list — same convention as `execution/constants.ts`'s
|
|
17
|
+
* `DEFAULT_PROVIDER_PRESETS`. A host with its own provider roster (or a
|
|
18
|
+
* larger/different one) passes its own `catalog` to `MediaProvidersTab` to
|
|
19
|
+
* replace this wholesale.
|
|
20
|
+
*
|
|
21
|
+
* Also not ported: the origin's functions take and return its whole
|
|
22
|
+
* `AppConfig`. Here they take and return the providers RECORD alone. Threading
|
|
23
|
+
* an entire host config object through a credential-merge rule is what made
|
|
24
|
+
* the origin's version untestable in isolation.
|
|
25
|
+
*/
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/features/media-providers/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import type { CSSProperties } from 'react';
|
|
2
1
|
import type { DraftEntry, MemoryType } from './types.js';
|
|
3
2
|
export declare const TYPES: MemoryType[];
|
|
4
3
|
export declare const EMPTY_DRAFT: DraftEntry;
|
|
5
|
-
export declare const FIELD_LABEL_STYLE: CSSProperties;
|
|
6
4
|
/**
|
|
7
5
|
* Click-to-prefill examples shown above the editor when creating a new
|
|
8
6
|
* memory. Three starters cover the most common reasons a person writes a
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/features/memory/constants.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/features/memory/constants.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAKzD,eAAO,MAAM,KAAK,EAAE,UAAU,EAAoE,CAAC;AAEnG,eAAO,MAAM,WAAW,EAAE,UAKzB,CAAC;AAOF;;;;;;;;GAQG;AACH,eAAO,MAAM,QAAQ,EAAE,aAAa,CAAC;IACnC,IAAI,EAAE,UAAU,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;CACd,CAmBA,CAAC;AAEF,eAAO,MAAM,wBAAwB,2EAA4E,CAAC;AAMlH,eAAO,MAAM,2BAA2B,EAAE,MAAM,CAAC,CAAC,OAAO,wBAAwB,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,CAOjG,CAAC;AAEF;;;;sCAIsC;AACtC,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAEzE;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,0BAA0B,sBAAsB,CAAC;AAE9D,eAAO,MAAM,+BAA+B,6BAA6B,CAAC;AAE1E,eAAO,MAAM,yCAAyC,uCAAuC,CAAC"}
|
|
@@ -12,15 +12,6 @@ export const EMPTY_DRAFT = {
|
|
|
12
12
|
// every field renders with the same color/letter-spacing/baseline; this
|
|
13
13
|
// is what gives the editor a settings-form rhythm rather than a stack
|
|
14
14
|
// of unlabelled inputs.
|
|
15
|
-
export const FIELD_LABEL_STYLE = {
|
|
16
|
-
display: 'block',
|
|
17
|
-
fontSize: 10,
|
|
18
|
-
fontWeight: 600,
|
|
19
|
-
letterSpacing: 0.5,
|
|
20
|
-
textTransform: 'uppercase',
|
|
21
|
-
color: 'var(--text-muted, #888)',
|
|
22
|
-
marginBottom: 4,
|
|
23
|
-
};
|
|
24
15
|
/**
|
|
25
16
|
* Click-to-prefill examples shown above the editor when creating a new
|
|
26
17
|
* memory. Three starters cover the most common reasons a person writes a
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/features/memory/constants.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/features/memory/constants.ts"],"names":[],"mappings":"AAKA,6EAA6E;AAC7E,6EAA6E;AAC7E,4EAA4E;AAC5E,MAAM,CAAC,MAAM,KAAK,GAAiB,CAAC,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,CAAC,CAAC;AAEnG,MAAM,CAAC,MAAM,WAAW,GAAe;IACrC,IAAI,EAAE,EAAE;IACR,WAAW,EAAE,EAAE;IACf,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,EAAE;CACT,CAAC;AAEF,qEAAqE;AACrE,wEAAwE;AACxE,sEAAsE;AACtE,wBAAwB;AAExB;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,QAAQ,GAKhB;IACH;QACE,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,UAAU;QAChB,WAAW,EAAE,mCAAmC;QAChD,IAAI,EAAE,8CAA8C;KACrD;IACD;QACE,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,6BAA6B;QACnC,WAAW,EAAE,mCAAmC;QAChD,IAAI,EAAE,wCAAwC;KAC/C;IACD;QACE,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,cAAc;QACpB,WAAW,EAAE,uCAAuC;QACpD,IAAI,EAAE,wDAAwD;KAC/D;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,QAAQ,EAAE,OAAO,CAAU,CAAC;AAElH,2EAA2E;AAC3E,wEAAwE;AACxE,0EAA0E;AAC1E,6BAA6B;AAC7B,MAAM,CAAC,MAAM,2BAA2B,GAA8D;IACpG,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,YAAY,EAAE,cAAc;IAC5B,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;CACf,CAAC;AAEF;;;;sCAIsC;AACtC,MAAM,UAAU,iBAAiB,CAAC,WAAmB;IACnD,OAAQ,2BAAkE,CAAC,WAAW,CAAC,CAAC;AAC1F,CAAC;AAED;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,mBAAmB,CAAC;AAE9D,MAAM,CAAC,MAAM,+BAA+B,GAAG,0BAA0B,CAAC;AAE1E,MAAM,CAAC,MAAM,yCAAyC,GAAG,oCAAoC,CAAC"}
|
|
@@ -1,31 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* The only file in this feature allowed to touch a concrete transport
|
|
3
|
-
* adapter. Everything else in the slice depends on `ports.ts`.
|
|
4
|
-
*
|
|
5
|
-
* Split, deliberately, into two different defaults:
|
|
6
|
-
*
|
|
7
|
-
* - `memoryConfigPort`/`memoryEntriesPort`/`memoryExtractionsPort` bind REAL
|
|
8
|
-
* `fetch`-based adapters against a plain `/api/memory*` REST surface (list/
|
|
9
|
-
* tree/entry CRUD, config PATCH, extraction history CRUD). Unlike
|
|
10
|
-
* `features/connectors`' data port — which fakes its transport by design,
|
|
11
|
-
* because the real one is a specific third-party OAuth-catalog vendor's
|
|
12
|
-
* API shape — this is a generic JSON/REST contract with no vendor coupling,
|
|
13
|
-
* and the pinned source's one open bug (`fetchMemoryList()` trusting an
|
|
14
|
-
* under-validated response — see the fix below and
|
|
15
|
-
* `packages/ui/source-map.md`) only exists to fix in a real, testable
|
|
16
|
-
* adapter. A host is still free to supply its own binding; this default
|
|
17
|
-
* just isn't a fake.
|
|
18
|
-
* - `memoryConnectorsPort` binds a fake/in-memory connector catalogue (same
|
|
19
|
-
* reasoning as `features/connectors`' own fake — the real catalogue is a
|
|
20
|
-
* vendor-specific OAuth discovery transport this package doesn't assume),
|
|
21
|
-
* plus REAL browser-only bridges for the two pieces that touch only
|
|
22
|
-
* generic browser APIs: pending-authorization persistence (sessionStorage)
|
|
23
|
-
* and the cross-tab "connectors changed" signal (a `CustomEvent`).
|
|
24
|
-
* `saveMemoryEntry` on this port is the same real HTTP adapter the entries
|
|
25
|
-
* cluster uses — saving a connector suggestion is an ordinary memory write,
|
|
26
|
-
* not a connector-transport concern.
|
|
27
|
-
*/
|
|
28
|
-
import type { Connector } from '../connectors/index.js';
|
|
1
|
+
import type { Connector } from '../connectors/types.js';
|
|
29
2
|
import type { MemoryConfigPort, MemoryConnectorsPort, MemoryEntriesPort, MemoryExtractionsPort } from './ports.js';
|
|
30
3
|
import type { ConnectorMemorySuggestionResponse, MemoryListResponse } from './types.js';
|
|
31
4
|
export declare const memoryConfigPort: MemoryConfigPort;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dependencies.d.ts","sourceRoot":"","sources":["../../../src/features/memory/dependencies.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dependencies.d.ts","sourceRoot":"","sources":["../../../src/features/memory/dependencies.ts"],"names":[],"mappings":"AA4BA,OAAO,KAAK,EAAE,SAAS,EAA6C,MAAM,wBAAwB,CAAC;AAKnG,OAAO,KAAK,EACV,gBAAgB,EAChB,oBAAoB,EACpB,iBAAiB,EACjB,qBAAqB,EACtB,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EACV,iCAAiC,EAKjC,kBAAkB,EAInB,MAAM,YAAY,CAAC;AA6CpB,eAAO,MAAM,gBAAgB,EAAE,gBAE9B,CAAC;AAIF;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAsB,eAAe,IAAI,OAAO,CAAC,kBAAkB,CAAC,CASnE;AAmDD,eAAO,MAAM,iBAAiB,EAAE,iBAO/B,CAAC;AA6BF,eAAO,MAAM,qBAAqB,EAAE,qBAInC,CAAC;AAIF,MAAM,WAAW,+BAA+B;IAC9C,UAAU,CAAC,EAAE,SAAS,EAAE,CAAC;IACzB,kBAAkB,CAAC,EAAE,iCAAiC,GAAG,IAAI,CAAC;IAC9D,2EAA2E;IAC3E,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;GAKG;AACH,wBAAgB,8BAA8B,CAAC,OAAO,GAAE,+BAAoC,GAAG,oBAAoB,CA0ClH;AAsCD,eAAO,MAAM,oBAAoB,EAAE,oBAAuD,CAAC"}
|