@solidxai/core-ui 0.1.19-beta.0 → 0.1.19-beta.1
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 +19 -0
- package/dist/components/common/SolidPopupContainer.d.ts.map +1 -1
- package/dist/components/common/SolidPopupContainer.js +3 -2
- package/dist/components/common/SolidPopupContainer.js.map +1 -1
- package/dist/components/common/SolidPopupContainer.tsx +3 -2
- package/dist/components/common/SolidSettings/LlmSettings/AiModelConfigTab.d.ts.map +1 -1
- package/dist/components/common/SolidSettings/LlmSettings/AiModelConfigTab.js +4 -1
- package/dist/components/common/SolidSettings/LlmSettings/AiModelConfigTab.js.map +1 -1
- package/dist/components/common/SolidSettings/LlmSettings/AiModelConfigTab.tsx +11 -5
- package/dist/components/core/chatter/SolidChatter.d.ts.map +1 -1
- package/dist/components/core/chatter/SolidChatter.js +2 -1
- package/dist/components/core/chatter/SolidChatter.js.map +1 -1
- package/dist/components/core/chatter/SolidChatter.tsx +2 -0
- package/dist/components/core/chatter/SolidChatterMessageBox.d.ts +2 -0
- package/dist/components/core/chatter/SolidChatterMessageBox.d.ts.map +1 -1
- package/dist/components/core/chatter/SolidChatterMessageBox.js +7 -4
- package/dist/components/core/chatter/SolidChatterMessageBox.js.map +1 -1
- package/dist/components/core/chatter/SolidChatterMessageBox.tsx +8 -3
- package/dist/components/core/chatter/SolidChatterMessageWidget.d.ts +5 -0
- package/dist/components/core/chatter/SolidChatterMessageWidget.d.ts.map +1 -0
- package/dist/components/core/chatter/SolidChatterMessageWidget.js +85 -0
- package/dist/components/core/chatter/SolidChatterMessageWidget.js.map +1 -0
- package/dist/components/core/chatter/SolidChatterMessageWidget.tsx +59 -0
- package/dist/components/core/common/SolidGlobalSearchElement.d.ts.map +1 -1
- package/dist/components/core/common/SolidGlobalSearchElement.js +6 -5
- package/dist/components/core/common/SolidGlobalSearchElement.js.map +1 -1
- package/dist/components/core/common/SolidGlobalSearchElement.tsx +6 -5
- package/dist/components/core/extension/solid-core/agentEvent/list/AgentEventOutcomeListWidget.d.ts +11 -0
- package/dist/components/core/extension/solid-core/agentEvent/list/AgentEventOutcomeListWidget.d.ts.map +1 -0
- package/dist/components/core/extension/solid-core/agentEvent/list/AgentEventOutcomeListWidget.js +102 -0
- package/dist/components/core/extension/solid-core/agentEvent/list/AgentEventOutcomeListWidget.js.map +1 -0
- package/dist/components/core/extension/solid-core/agentEvent/list/AgentEventOutcomeListWidget.tsx +129 -0
- package/dist/components/core/extension/solid-core/agentRegistry/card/AgentRegistryCardWidget.d.ts +4 -0
- package/dist/components/core/extension/solid-core/agentRegistry/card/AgentRegistryCardWidget.d.ts.map +1 -0
- package/dist/components/core/extension/solid-core/agentRegistry/card/AgentRegistryCardWidget.js +29 -0
- package/dist/components/core/extension/solid-core/agentRegistry/card/AgentRegistryCardWidget.js.map +1 -0
- package/dist/components/core/extension/solid-core/agentRegistry/card/AgentRegistryCardWidget.module.css +226 -0
- package/dist/components/core/extension/solid-core/agentRegistry/card/AgentRegistryCardWidget.tsx +57 -0
- package/dist/components/core/extension/solid-core/agentRegistry/card/AgentResourceCardWidget.d.ts +4 -0
- package/dist/components/core/extension/solid-core/agentRegistry/card/AgentResourceCardWidget.d.ts.map +1 -0
- package/dist/components/core/extension/solid-core/agentRegistry/card/AgentResourceCardWidget.js +33 -0
- package/dist/components/core/extension/solid-core/agentRegistry/card/AgentResourceCardWidget.js.map +1 -0
- package/dist/components/core/extension/solid-core/agentRegistry/card/AgentResourceCardWidget.tsx +47 -0
- package/dist/components/core/extension/solid-core/agentToolRegistry/AgentProcessesPanel.d.ts +5 -0
- package/dist/components/core/extension/solid-core/agentToolRegistry/AgentProcessesPanel.d.ts.map +1 -0
- package/dist/components/core/extension/solid-core/agentToolRegistry/AgentProcessesPanel.js +59 -0
- package/dist/components/core/extension/solid-core/agentToolRegistry/AgentProcessesPanel.js.map +1 -0
- package/dist/components/core/extension/solid-core/agentToolRegistry/AgentProcessesPanel.tsx +82 -0
- package/dist/components/core/extension/solid-core/agentToolRegistry/AgentToolSessionsPanel.d.ts +17 -0
- package/dist/components/core/extension/solid-core/agentToolRegistry/AgentToolSessionsPanel.d.ts.map +1 -0
- package/dist/components/core/extension/solid-core/agentToolRegistry/AgentToolSessionsPanel.js +258 -0
- package/dist/components/core/extension/solid-core/agentToolRegistry/AgentToolSessionsPanel.js.map +1 -0
- package/dist/components/core/extension/solid-core/agentToolRegistry/AgentToolSessionsPanel.tsx +286 -0
- package/dist/components/core/extension/solid-core/modelMetadata/list/DeleteModelRowAction.d.ts.map +1 -1
- package/dist/components/core/extension/solid-core/modelMetadata/list/DeleteModelRowAction.js +102 -62
- package/dist/components/core/extension/solid-core/modelMetadata/list/DeleteModelRowAction.js.map +1 -1
- package/dist/components/core/extension/solid-core/modelMetadata/list/DeleteModelRowAction.tsx +116 -106
- package/dist/components/core/extension/solid-core/mqMessage/MqMessageSelectedRecordsSummaryHeaderAction.d.ts +6 -0
- package/dist/components/core/extension/solid-core/mqMessage/MqMessageSelectedRecordsSummaryHeaderAction.d.ts.map +1 -0
- package/dist/components/core/extension/solid-core/mqMessage/MqMessageSelectedRecordsSummaryHeaderAction.js +37 -0
- package/dist/components/core/extension/solid-core/mqMessage/MqMessageSelectedRecordsSummaryHeaderAction.js.map +1 -0
- package/dist/components/core/extension/solid-core/mqMessage/MqMessageSelectedRecordsSummaryHeaderAction.tsx +89 -0
- package/dist/components/core/extension/solid-core/mqMessage/kanban/MqMessageDetailsKanbanCardAction.d.ts +3 -0
- package/dist/components/core/extension/solid-core/mqMessage/kanban/MqMessageDetailsKanbanCardAction.d.ts.map +1 -0
- package/dist/components/core/extension/solid-core/mqMessage/kanban/MqMessageDetailsKanbanCardAction.js +18 -0
- package/dist/components/core/extension/solid-core/mqMessage/kanban/MqMessageDetailsKanbanCardAction.js.map +1 -0
- package/dist/components/core/extension/solid-core/mqMessage/kanban/MqMessageDetailsKanbanCardAction.tsx +51 -0
- package/dist/components/core/extension/solid-core/mqMessage/kanban/MqMessageKanbanQuickFilterHeaderAction.d.ts +10 -0
- package/dist/components/core/extension/solid-core/mqMessage/kanban/MqMessageKanbanQuickFilterHeaderAction.d.ts.map +1 -0
- package/dist/components/core/extension/solid-core/mqMessage/kanban/MqMessageKanbanQuickFilterHeaderAction.js +63 -0
- package/dist/components/core/extension/solid-core/mqMessage/kanban/MqMessageKanbanQuickFilterHeaderAction.js.map +1 -0
- package/dist/components/core/extension/solid-core/mqMessage/kanban/MqMessageKanbanQuickFilterHeaderAction.tsx +111 -0
- package/dist/components/core/field/FieldListViewData.d.ts.map +1 -1
- package/dist/components/core/field/FieldListViewData.js +29 -9
- package/dist/components/core/field/FieldListViewData.js.map +1 -1
- package/dist/components/core/field/FieldListViewData.tsx +7 -6
- package/dist/components/core/form/SolidFormView.d.ts +1 -0
- package/dist/components/core/form/SolidFormView.d.ts.map +1 -1
- package/dist/components/core/form/SolidFormView.js +49 -48
- package/dist/components/core/form/SolidFormView.js.map +1 -1
- package/dist/components/core/form/SolidFormView.tsx +4 -3
- package/dist/components/core/form/fields/SolidPasswordField.d.ts.map +1 -1
- package/dist/components/core/form/fields/SolidPasswordField.js +13 -1
- package/dist/components/core/form/fields/SolidPasswordField.js.map +1 -1
- package/dist/components/core/form/fields/SolidPasswordField.tsx +14 -3
- package/dist/components/core/kanban/KanbanBoard.d.ts +1 -1
- package/dist/components/core/kanban/KanbanBoard.d.ts.map +1 -1
- package/dist/components/core/kanban/KanbanBoard.js +2 -2
- package/dist/components/core/kanban/KanbanBoard.js.map +1 -1
- package/dist/components/core/kanban/KanbanBoard.tsx +5 -1
- package/dist/components/core/kanban/KanbanCard.d.ts +3 -0
- package/dist/components/core/kanban/KanbanCard.d.ts.map +1 -1
- package/dist/components/core/kanban/KanbanCard.js +5 -4
- package/dist/components/core/kanban/KanbanCard.js.map +1 -1
- package/dist/components/core/kanban/KanbanCard.tsx +31 -11
- package/dist/components/core/kanban/KanbanColumn.d.ts +5 -1
- package/dist/components/core/kanban/KanbanColumn.d.ts.map +1 -1
- package/dist/components/core/kanban/KanbanColumn.js +14 -3
- package/dist/components/core/kanban/KanbanColumn.js.map +1 -1
- package/dist/components/core/kanban/KanbanColumn.tsx +43 -3
- package/dist/components/core/kanban/SolidKanbanView.d.ts +2 -0
- package/dist/components/core/kanban/SolidKanbanView.d.ts.map +1 -1
- package/dist/components/core/kanban/SolidKanbanView.js +90 -52
- package/dist/components/core/kanban/SolidKanbanView.js.map +1 -1
- package/dist/components/core/kanban/SolidKanbanView.tsx +93 -13
- package/dist/components/core/list/SolidDataTable.d.ts +2 -1
- package/dist/components/core/list/SolidDataTable.d.ts.map +1 -1
- package/dist/components/core/list/SolidDataTable.js +2 -2
- package/dist/components/core/list/SolidDataTable.js.map +1 -1
- package/dist/components/core/list/SolidDataTable.tsx +3 -0
- package/dist/components/core/list/SolidListView.d.ts.map +1 -1
- package/dist/components/core/list/SolidListView.js +114 -57
- package/dist/components/core/list/SolidListView.js.map +1 -1
- package/dist/components/core/list/SolidListView.tsx +71 -7
- package/dist/components/core/list/SolidListViewHeaderContextMenuButton.d.ts.map +1 -1
- package/dist/components/core/list/SolidListViewHeaderContextMenuButton.js +14 -0
- package/dist/components/core/list/SolidListViewHeaderContextMenuButton.js.map +1 -1
- package/dist/components/core/list/SolidListViewHeaderContextMenuButton.tsx +13 -0
- package/dist/components/core/list/widgets/AgentProcessNeedsRestartListWidget.d.ts +3 -0
- package/dist/components/core/list/widgets/AgentProcessNeedsRestartListWidget.d.ts.map +1 -0
- package/dist/components/core/list/widgets/AgentProcessNeedsRestartListWidget.js +51 -0
- package/dist/components/core/list/widgets/AgentProcessNeedsRestartListWidget.js.map +1 -0
- package/dist/components/core/list/widgets/AgentProcessNeedsRestartListWidget.tsx +60 -0
- package/dist/components/core/list/widgets/SolidIconNameListViewWidget.d.ts +4 -0
- package/dist/components/core/list/widgets/SolidIconNameListViewWidget.d.ts.map +1 -0
- package/dist/components/core/list/widgets/SolidIconNameListViewWidget.js +24 -0
- package/dist/components/core/list/widgets/SolidIconNameListViewWidget.js.map +1 -0
- package/dist/components/core/list/widgets/SolidIconNameListViewWidget.tsx +32 -0
- package/dist/components/core/model/ModelListViewData.d.ts.map +1 -1
- package/dist/components/core/model/ModelListViewData.js +6 -23
- package/dist/components/core/model/ModelListViewData.js.map +1 -1
- package/dist/components/core/model/ModelListViewData.tsx +1 -48
- package/dist/components/core/solid-agent/AgentModelIndicator.d.ts +5 -0
- package/dist/components/core/solid-agent/AgentModelIndicator.d.ts.map +1 -0
- package/dist/components/core/solid-agent/AgentModelIndicator.js +14 -0
- package/dist/components/core/solid-agent/AgentModelIndicator.js.map +1 -0
- package/dist/components/core/solid-agent/AgentModelIndicator.tsx +40 -0
- package/dist/components/core/solid-agent/AgentSignIn.d.ts +12 -0
- package/dist/components/core/solid-agent/AgentSignIn.d.ts.map +1 -0
- package/dist/components/core/solid-agent/AgentSignIn.js +82 -0
- package/dist/components/core/solid-agent/AgentSignIn.js.map +1 -0
- package/dist/components/core/solid-agent/AgentSignIn.tsx +91 -0
- package/dist/components/core/solid-agent/SolidAgent.module.css +596 -0
- package/dist/components/core/solid-agent/SolidAgentChat.d.ts +30 -0
- package/dist/components/core/solid-agent/SolidAgentChat.d.ts.map +1 -0
- package/dist/components/core/solid-agent/SolidAgentChat.js +300 -0
- package/dist/components/core/solid-agent/SolidAgentChat.js.map +1 -0
- package/dist/components/core/solid-agent/SolidAgentChat.tsx +451 -0
- package/dist/components/core/solid-agent/SolidAgentEmbedded.d.ts +44 -0
- package/dist/components/core/solid-agent/SolidAgentEmbedded.d.ts.map +1 -0
- package/dist/components/core/solid-agent/SolidAgentEmbedded.js +46 -0
- package/dist/components/core/solid-agent/SolidAgentEmbedded.js.map +1 -0
- package/dist/components/core/solid-agent/SolidAgentEmbedded.tsx +87 -0
- package/dist/components/core/solid-agent/SolidAgentHost.d.ts +8 -0
- package/dist/components/core/solid-agent/SolidAgentHost.d.ts.map +1 -0
- package/dist/components/core/solid-agent/SolidAgentHost.js +152 -0
- package/dist/components/core/solid-agent/SolidAgentHost.js.map +1 -0
- package/dist/components/core/solid-agent/SolidAgentHost.tsx +164 -0
- package/dist/components/core/solid-agent/SolidAgentMarkdown.d.ts +16 -0
- package/dist/components/core/solid-agent/SolidAgentMarkdown.d.ts.map +1 -0
- package/dist/components/core/solid-agent/SolidAgentMarkdown.js +161 -0
- package/dist/components/core/solid-agent/SolidAgentMarkdown.js.map +1 -0
- package/dist/components/core/solid-agent/SolidAgentMarkdown.tsx +133 -0
- package/dist/components/core/solid-agent/SolidAgentMount.d.ts +3 -0
- package/dist/components/core/solid-agent/SolidAgentMount.d.ts.map +1 -0
- package/dist/components/core/solid-agent/SolidAgentMount.js +62 -0
- package/dist/components/core/solid-agent/SolidAgentMount.js.map +1 -0
- package/dist/components/core/solid-agent/SolidAgentMount.tsx +31 -0
- package/dist/components/core/solid-agent/SolidXAIIcon.d.ts +5 -0
- package/dist/components/core/solid-agent/SolidXAIIcon.d.ts.map +1 -0
- package/dist/components/core/solid-agent/SolidXAIIcon.js +7 -0
- package/dist/components/core/solid-agent/SolidXAIIcon.js.map +1 -0
- package/dist/components/core/solid-agent/SolidXAIIcon.tsx +6 -0
- package/dist/components/core/solid-agent/agentAttachments.d.ts +20 -0
- package/dist/components/core/solid-agent/agentAttachments.d.ts.map +1 -0
- package/dist/components/core/solid-agent/agentAttachments.js +184 -0
- package/dist/components/core/solid-agent/agentAttachments.js.map +1 -0
- package/dist/components/core/solid-agent/agentAttachments.ts +119 -0
- package/dist/components/core/solid-agent/agentEvents.d.ts +34 -0
- package/dist/components/core/solid-agent/agentEvents.d.ts.map +1 -0
- package/dist/components/core/solid-agent/agentEvents.js +282 -0
- package/dist/components/core/solid-agent/agentEvents.js.map +1 -0
- package/dist/components/core/solid-agent/agentEvents.ts +292 -0
- package/dist/components/core/solid-agent/agentFormat.d.ts +18 -0
- package/dist/components/core/solid-agent/agentFormat.d.ts.map +1 -0
- package/dist/components/core/solid-agent/agentFormat.js +179 -0
- package/dist/components/core/solid-agent/agentFormat.js.map +1 -0
- package/dist/components/core/solid-agent/agentFormat.ts +160 -0
- package/dist/components/core/solid-agent/client/agentAttachmentMedia.d.ts +9 -0
- package/dist/components/core/solid-agent/client/agentAttachmentMedia.d.ts.map +1 -0
- package/dist/components/core/solid-agent/client/agentAttachmentMedia.js +129 -0
- package/dist/components/core/solid-agent/client/agentAttachmentMedia.js.map +1 -0
- package/dist/components/core/solid-agent/client/agentAttachmentMedia.ts +69 -0
- package/dist/components/core/solid-agent/client/agentAuth.d.ts +63 -0
- package/dist/components/core/solid-agent/client/agentAuth.d.ts.map +1 -0
- package/dist/components/core/solid-agent/client/agentAuth.js +307 -0
- package/dist/components/core/solid-agent/client/agentAuth.js.map +1 -0
- package/dist/components/core/solid-agent/client/agentAuth.ts +222 -0
- package/dist/components/core/solid-agent/client/agentRest.d.ts +30 -0
- package/dist/components/core/solid-agent/client/agentRest.d.ts.map +1 -0
- package/dist/components/core/solid-agent/client/agentRest.js +178 -0
- package/dist/components/core/solid-agent/client/agentRest.js.map +1 -0
- package/dist/components/core/solid-agent/client/agentRest.ts +100 -0
- package/dist/components/core/solid-agent/client/agentRuntime.d.ts +48 -0
- package/dist/components/core/solid-agent/client/agentRuntime.d.ts.map +1 -0
- package/dist/components/core/solid-agent/client/agentRuntime.js +406 -0
- package/dist/components/core/solid-agent/client/agentRuntime.js.map +1 -0
- package/dist/components/core/solid-agent/client/agentRuntime.ts +226 -0
- package/dist/components/core/solid-agent/client/agentSocket.d.ts +46 -0
- package/dist/components/core/solid-agent/client/agentSocket.d.ts.map +1 -0
- package/dist/components/core/solid-agent/client/agentSocket.js +535 -0
- package/dist/components/core/solid-agent/client/agentSocket.js.map +1 -0
- package/dist/components/core/solid-agent/client/agentSocket.ts +276 -0
- package/dist/components/core/solid-agent/client/agentUrls.d.ts +11 -0
- package/dist/components/core/solid-agent/client/agentUrls.d.ts.map +1 -0
- package/dist/components/core/solid-agent/client/agentUrls.js +18 -0
- package/dist/components/core/solid-agent/client/agentUrls.js.map +1 -0
- package/dist/components/core/solid-agent/client/agentUrls.ts +19 -0
- package/dist/components/core/solid-agent/composer/AgentComposer.d.ts +21 -0
- package/dist/components/core/solid-agent/composer/AgentComposer.d.ts.map +1 -0
- package/dist/components/core/solid-agent/composer/AgentComposer.js +219 -0
- package/dist/components/core/solid-agent/composer/AgentComposer.js.map +1 -0
- package/dist/components/core/solid-agent/composer/AgentComposer.tsx +241 -0
- package/dist/components/core/solid-agent/embed/AgentEmbeddingPanel.d.ts +8 -0
- package/dist/components/core/solid-agent/embed/AgentEmbeddingPanel.d.ts.map +1 -0
- package/dist/components/core/solid-agent/embed/AgentEmbeddingPanel.js +87 -0
- package/dist/components/core/solid-agent/embed/AgentEmbeddingPanel.js.map +1 -0
- package/dist/components/core/solid-agent/embed/AgentEmbeddingPanel.tsx +58 -0
- package/dist/components/core/solid-agent/embed/agentEmbedProtocol.d.ts +20 -0
- package/dist/components/core/solid-agent/embed/agentEmbedProtocol.d.ts.map +1 -0
- package/dist/components/core/solid-agent/embed/agentEmbedProtocol.js +103 -0
- package/dist/components/core/solid-agent/embed/agentEmbedProtocol.js.map +1 -0
- package/dist/components/core/solid-agent/embed/agentEmbedProtocol.ts +60 -0
- package/dist/components/core/solid-agent/embed/agentEmbedSamples.d.ts +11 -0
- package/dist/components/core/solid-agent/embed/agentEmbedSamples.d.ts.map +1 -0
- package/dist/components/core/solid-agent/embed/agentEmbedSamples.js +21 -0
- package/dist/components/core/solid-agent/embed/agentEmbedSamples.js.map +1 -0
- package/dist/components/core/solid-agent/embed/agentEmbedSamples.ts +266 -0
- package/dist/components/core/solid-agent/processes/agentHubProcessApi.d.ts +15 -0
- package/dist/components/core/solid-agent/processes/agentHubProcessApi.d.ts.map +1 -0
- package/dist/components/core/solid-agent/processes/agentHubProcessApi.js +122 -0
- package/dist/components/core/solid-agent/processes/agentHubProcessApi.js.map +1 -0
- package/dist/components/core/solid-agent/processes/agentHubProcessApi.ts +64 -0
- package/dist/components/core/solid-agent/sdk/solidAgent.d.ts +39 -0
- package/dist/components/core/solid-agent/sdk/solidAgent.d.ts.map +1 -0
- package/dist/components/core/solid-agent/sdk/solidAgent.js +44 -0
- package/dist/components/core/solid-agent/sdk/solidAgent.js.map +1 -0
- package/dist/components/core/solid-agent/sdk/solidAgent.ts +56 -0
- package/dist/components/core/solid-agent/thread/AgentThread.d.ts +17 -0
- package/dist/components/core/solid-agent/thread/AgentThread.d.ts.map +1 -0
- package/dist/components/core/solid-agent/thread/AgentThread.js +166 -0
- package/dist/components/core/solid-agent/thread/AgentThread.js.map +1 -0
- package/dist/components/core/solid-agent/thread/AgentThread.tsx +248 -0
- package/dist/components/core/solid-agent/thread/SolidAgentChatItem.d.ts +36 -0
- package/dist/components/core/solid-agent/thread/SolidAgentChatItem.d.ts.map +1 -0
- package/dist/components/core/solid-agent/thread/SolidAgentChatItem.js +148 -0
- package/dist/components/core/solid-agent/thread/SolidAgentChatItem.js.map +1 -0
- package/dist/components/core/solid-agent/thread/SolidAgentChatItem.tsx +116 -0
- package/dist/components/core/solid-agent/thread/inlineWidget.d.ts +8 -0
- package/dist/components/core/solid-agent/thread/inlineWidget.d.ts.map +1 -0
- package/dist/components/core/solid-agent/thread/inlineWidget.js +30 -0
- package/dist/components/core/solid-agent/thread/inlineWidget.js.map +1 -0
- package/dist/components/core/solid-agent/thread/inlineWidget.ts +27 -0
- package/dist/components/core/solid-agent/types.d.ts +155 -0
- package/dist/components/core/solid-agent/types.d.ts.map +1 -0
- package/dist/components/core/solid-agent/types.js +31 -0
- package/dist/components/core/solid-agent/types.js.map +1 -0
- package/dist/components/core/solid-agent/types.ts +148 -0
- package/dist/components/core/solid-agent/useAdminInputContext.d.ts +4 -0
- package/dist/components/core/solid-agent/useAdminInputContext.d.ts.map +1 -0
- package/dist/components/core/solid-agent/useAdminInputContext.js +49 -0
- package/dist/components/core/solid-agent/useAdminInputContext.js.map +1 -0
- package/dist/components/core/solid-agent/useAdminInputContext.ts +52 -0
- package/dist/components/core/solid-agent/useAgentAuth.d.ts +14 -0
- package/dist/components/core/solid-agent/useAgentAuth.d.ts.map +1 -0
- package/dist/components/core/solid-agent/useAgentAuth.js +88 -0
- package/dist/components/core/solid-agent/useAgentAuth.js.map +1 -0
- package/dist/components/core/solid-agent/useAgentAuth.ts +40 -0
- package/dist/components/core/solid-agent/useAgentAvailability.d.ts +19 -0
- package/dist/components/core/solid-agent/useAgentAvailability.d.ts.map +1 -0
- package/dist/components/core/solid-agent/useAgentAvailability.js +109 -0
- package/dist/components/core/solid-agent/useAgentAvailability.js.map +1 -0
- package/dist/components/core/solid-agent/useAgentAvailability.ts +80 -0
- package/dist/components/core/solid-agent/useAgentChat.d.ts +22 -0
- package/dist/components/core/solid-agent/useAgentChat.d.ts.map +1 -0
- package/dist/components/core/solid-agent/useAgentChat.js +45 -0
- package/dist/components/core/solid-agent/useAgentChat.js.map +1 -0
- package/dist/components/core/solid-agent/useAgentChat.ts +57 -0
- package/dist/components/core/solid-agent/widgets/DefaultAssistantMessageChatWidget.d.ts +7 -0
- package/dist/components/core/solid-agent/widgets/DefaultAssistantMessageChatWidget.d.ts.map +1 -0
- package/dist/components/core/solid-agent/widgets/DefaultAssistantMessageChatWidget.js +15 -0
- package/dist/components/core/solid-agent/widgets/DefaultAssistantMessageChatWidget.js.map +1 -0
- package/dist/components/core/solid-agent/widgets/DefaultAssistantMessageChatWidget.tsx +24 -0
- package/dist/components/core/solid-agent/widgets/DefaultErrorChatWidget.d.ts +7 -0
- package/dist/components/core/solid-agent/widgets/DefaultErrorChatWidget.d.ts.map +1 -0
- package/dist/components/core/solid-agent/widgets/DefaultErrorChatWidget.js +15 -0
- package/dist/components/core/solid-agent/widgets/DefaultErrorChatWidget.js.map +1 -0
- package/dist/components/core/solid-agent/widgets/DefaultErrorChatWidget.tsx +28 -0
- package/dist/components/core/solid-agent/widgets/DefaultNoticeChatWidget.d.ts +4 -0
- package/dist/components/core/solid-agent/widgets/DefaultNoticeChatWidget.d.ts.map +1 -0
- package/dist/components/core/solid-agent/widgets/DefaultNoticeChatWidget.js +20 -0
- package/dist/components/core/solid-agent/widgets/DefaultNoticeChatWidget.js.map +1 -0
- package/dist/components/core/solid-agent/widgets/DefaultNoticeChatWidget.tsx +8 -0
- package/dist/components/core/solid-agent/widgets/DefaultThinkingChatWidget.d.ts +7 -0
- package/dist/components/core/solid-agent/widgets/DefaultThinkingChatWidget.d.ts.map +1 -0
- package/dist/components/core/solid-agent/widgets/DefaultThinkingChatWidget.js +11 -0
- package/dist/components/core/solid-agent/widgets/DefaultThinkingChatWidget.js.map +1 -0
- package/dist/components/core/solid-agent/widgets/DefaultThinkingChatWidget.tsx +16 -0
- package/dist/components/core/solid-agent/widgets/DefaultToolCallChatWidget.d.ts +7 -0
- package/dist/components/core/solid-agent/widgets/DefaultToolCallChatWidget.d.ts.map +1 -0
- package/dist/components/core/solid-agent/widgets/DefaultToolCallChatWidget.js +67 -0
- package/dist/components/core/solid-agent/widgets/DefaultToolCallChatWidget.js.map +1 -0
- package/dist/components/core/solid-agent/widgets/DefaultToolCallChatWidget.tsx +135 -0
- package/dist/components/core/solid-agent/widgets/DefaultUnknownChatWidget.d.ts +7 -0
- package/dist/components/core/solid-agent/widgets/DefaultUnknownChatWidget.d.ts.map +1 -0
- package/dist/components/core/solid-agent/widgets/DefaultUnknownChatWidget.js +24 -0
- package/dist/components/core/solid-agent/widgets/DefaultUnknownChatWidget.js.map +1 -0
- package/dist/components/core/solid-agent/widgets/DefaultUnknownChatWidget.tsx +17 -0
- package/dist/components/core/solid-agent/widgets/DefaultUserMessageChatWidget.d.ts +8 -0
- package/dist/components/core/solid-agent/widgets/DefaultUserMessageChatWidget.d.ts.map +1 -0
- package/dist/components/core/solid-agent/widgets/DefaultUserMessageChatWidget.js +30 -0
- package/dist/components/core/solid-agent/widgets/DefaultUserMessageChatWidget.js.map +1 -0
- package/dist/components/core/solid-agent/widgets/DefaultUserMessageChatWidget.tsx +77 -0
- package/dist/components/core/solid-agent/widgets/SolidChecklistChatWidget.d.ts +7 -0
- package/dist/components/core/solid-agent/widgets/SolidChecklistChatWidget.d.ts.map +1 -0
- package/dist/components/core/solid-agent/widgets/SolidChecklistChatWidget.js +40 -0
- package/dist/components/core/solid-agent/widgets/SolidChecklistChatWidget.js.map +1 -0
- package/dist/components/core/solid-agent/widgets/SolidChecklistChatWidget.tsx +57 -0
- package/dist/components/core/solid-agent/widgets/SolidCodeChatWidget.d.ts +4 -0
- package/dist/components/core/solid-agent/widgets/SolidCodeChatWidget.d.ts.map +1 -0
- package/dist/components/core/solid-agent/widgets/SolidCodeChatWidget.js +13 -0
- package/dist/components/core/solid-agent/widgets/SolidCodeChatWidget.js.map +1 -0
- package/dist/components/core/solid-agent/widgets/SolidCodeChatWidget.tsx +19 -0
- package/dist/components/core/solid-agent/widgets/SolidDiffListChatWidget.d.ts +7 -0
- package/dist/components/core/solid-agent/widgets/SolidDiffListChatWidget.d.ts.map +1 -0
- package/dist/components/core/solid-agent/widgets/SolidDiffListChatWidget.js +55 -0
- package/dist/components/core/solid-agent/widgets/SolidDiffListChatWidget.js.map +1 -0
- package/dist/components/core/solid-agent/widgets/SolidDiffListChatWidget.tsx +81 -0
- package/dist/components/core/solid-agent/widgets/SolidGalleryChatWidget.d.ts +4 -0
- package/dist/components/core/solid-agent/widgets/SolidGalleryChatWidget.d.ts.map +1 -0
- package/dist/components/core/solid-agent/widgets/SolidGalleryChatWidget.js +15 -0
- package/dist/components/core/solid-agent/widgets/SolidGalleryChatWidget.js.map +1 -0
- package/dist/components/core/solid-agent/widgets/SolidGalleryChatWidget.tsx +30 -0
- package/dist/components/core/solid-agent/widgets/SolidJsonChatWidget.d.ts +4 -0
- package/dist/components/core/solid-agent/widgets/SolidJsonChatWidget.d.ts.map +1 -0
- package/dist/components/core/solid-agent/widgets/SolidJsonChatWidget.js +15 -0
- package/dist/components/core/solid-agent/widgets/SolidJsonChatWidget.js.map +1 -0
- package/dist/components/core/solid-agent/widgets/SolidJsonChatWidget.tsx +21 -0
- package/dist/components/core/solid-agent/widgets/SolidLinkCardChatWidget.d.ts +7 -0
- package/dist/components/core/solid-agent/widgets/SolidLinkCardChatWidget.d.ts.map +1 -0
- package/dist/components/core/solid-agent/widgets/SolidLinkCardChatWidget.js +21 -0
- package/dist/components/core/solid-agent/widgets/SolidLinkCardChatWidget.js.map +1 -0
- package/dist/components/core/solid-agent/widgets/SolidLinkCardChatWidget.tsx +33 -0
- package/dist/components/core/solid-agent/widgets/SolidMarkdownChatWidget.d.ts +4 -0
- package/dist/components/core/solid-agent/widgets/SolidMarkdownChatWidget.d.ts.map +1 -0
- package/dist/components/core/solid-agent/widgets/SolidMarkdownChatWidget.js +11 -0
- package/dist/components/core/solid-agent/widgets/SolidMarkdownChatWidget.js.map +1 -0
- package/dist/components/core/solid-agent/widgets/SolidMarkdownChatWidget.tsx +9 -0
- package/dist/components/core/solid-agent/widgets/SolidProgressChatWidget.d.ts +15 -0
- package/dist/components/core/solid-agent/widgets/SolidProgressChatWidget.d.ts.map +1 -0
- package/dist/components/core/solid-agent/widgets/SolidProgressChatWidget.js +26 -0
- package/dist/components/core/solid-agent/widgets/SolidProgressChatWidget.js.map +1 -0
- package/dist/components/core/solid-agent/widgets/SolidProgressChatWidget.tsx +42 -0
- package/dist/components/core/solid-agent/widgets/SolidQuestionChatWidget.d.ts +7 -0
- package/dist/components/core/solid-agent/widgets/SolidQuestionChatWidget.d.ts.map +1 -0
- package/dist/components/core/solid-agent/widgets/SolidQuestionChatWidget.js +41 -0
- package/dist/components/core/solid-agent/widgets/SolidQuestionChatWidget.js.map +1 -0
- package/dist/components/core/solid-agent/widgets/SolidQuestionChatWidget.tsx +69 -0
- package/dist/components/core/solid-agent/widgets/SolidStatusChatWidget.d.ts +7 -0
- package/dist/components/core/solid-agent/widgets/SolidStatusChatWidget.d.ts.map +1 -0
- package/dist/components/core/solid-agent/widgets/SolidStatusChatWidget.js +23 -0
- package/dist/components/core/solid-agent/widgets/SolidStatusChatWidget.js.map +1 -0
- package/dist/components/core/solid-agent/widgets/SolidStatusChatWidget.tsx +40 -0
- package/dist/components/core/solid-agent/widgets/SolidTableChatWidget.d.ts +4 -0
- package/dist/components/core/solid-agent/widgets/SolidTableChatWidget.d.ts.map +1 -0
- package/dist/components/core/solid-agent/widgets/SolidTableChatWidget.js +32 -0
- package/dist/components/core/solid-agent/widgets/SolidTableChatWidget.js.map +1 -0
- package/dist/components/core/solid-agent/widgets/SolidTableChatWidget.tsx +55 -0
- package/dist/components/core/solid-agent/widgets/SolidToolActivityChatWidget.d.ts +7 -0
- package/dist/components/core/solid-agent/widgets/SolidToolActivityChatWidget.d.ts.map +1 -0
- package/dist/components/core/solid-agent/widgets/SolidToolActivityChatWidget.js +17 -0
- package/dist/components/core/solid-agent/widgets/SolidToolActivityChatWidget.js.map +1 -0
- package/dist/components/core/solid-agent/widgets/SolidToolActivityChatWidget.tsx +31 -0
- package/dist/components/core/solid-agent/widgets/chatWidgetUtils.d.ts +12 -0
- package/dist/components/core/solid-agent/widgets/chatWidgetUtils.d.ts.map +1 -0
- package/dist/components/core/solid-agent/widgets/chatWidgetUtils.js +17 -0
- package/dist/components/core/solid-agent/widgets/chatWidgetUtils.js.map +1 -0
- package/dist/components/core/solid-agent/widgets/chatWidgetUtils.ts +19 -0
- package/dist/components/core/solid-agent/widgets/solidChatWidgets.module.css +909 -0
- package/dist/components/core/solid-ai/SolidAiChat.js +1 -1
- package/dist/components/core/solid-ai/SolidAiChat.js.map +1 -1
- package/dist/components/core/solid-ai/SolidAiChat.tsx +2 -2
- package/dist/components/layout/AdminLayout.d.ts.map +1 -1
- package/dist/components/layout/AdminLayout.js +2 -1
- package/dist/components/layout/AdminLayout.js.map +1 -1
- package/dist/components/layout/AdminLayout.tsx +2 -0
- package/dist/components/shad-cn-ui/SolidAutocomplete.d.ts.map +1 -1
- package/dist/components/shad-cn-ui/SolidAutocomplete.js +2 -2
- package/dist/components/shad-cn-ui/SolidAutocomplete.js.map +1 -1
- package/dist/components/shad-cn-ui/SolidAutocomplete.tsx +19 -15
- package/dist/components/shad-cn-ui/SolidDialog.d.ts +2 -1
- package/dist/components/shad-cn-ui/SolidDialog.d.ts.map +1 -1
- package/dist/components/shad-cn-ui/SolidDialog.js +2 -2
- package/dist/components/shad-cn-ui/SolidDialog.js.map +1 -1
- package/dist/components/shad-cn-ui/SolidDialog.tsx +3 -0
- package/dist/components/shad-cn-ui/SolidIconPicker.d.ts +7 -0
- package/dist/components/shad-cn-ui/SolidIconPicker.d.ts.map +1 -0
- package/dist/components/shad-cn-ui/SolidIconPicker.js +43 -0
- package/dist/components/shad-cn-ui/SolidIconPicker.js.map +1 -0
- package/dist/components/shad-cn-ui/SolidIconPicker.tsx +73 -0
- package/dist/components/shad-cn-ui/index.d.ts +1 -0
- package/dist/components/shad-cn-ui/index.d.ts.map +1 -1
- package/dist/components/shad-cn-ui/index.js +1 -0
- package/dist/components/shad-cn-ui/index.js.map +1 -1
- package/dist/components/shad-cn-ui/index.ts +1 -0
- package/dist/constants/allowed-ai-models.d.ts +8 -0
- package/dist/constants/allowed-ai-models.d.ts.map +1 -0
- package/dist/constants/allowed-ai-models.js +33 -0
- package/dist/constants/allowed-ai-models.js.map +1 -0
- package/dist/constants/allowed-ai-models.ts +39 -0
- package/dist/helpers/hydrateRelationRules.d.ts.map +1 -1
- package/dist/helpers/hydrateRelationRules.js +3 -1
- package/dist/helpers/hydrateRelationRules.js.map +1 -1
- package/dist/helpers/hydrateRelationRules.ts +5 -1
- package/dist/helpers/registry.d.ts +4 -2
- package/dist/helpers/registry.d.ts.map +1 -1
- package/dist/helpers/registry.js +75 -12
- package/dist/helpers/registry.js.map +1 -1
- package/dist/helpers/registry.ts +73 -16
- package/dist/helpers/updatePasswordField.d.ts.map +1 -1
- package/dist/helpers/updatePasswordField.js +21 -15
- package/dist/helpers/updatePasswordField.js.map +1 -1
- package/dist/helpers/updatePasswordField.ts +6 -1
- package/dist/index.d.ts +21 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +16 -3
- package/dist/index.js.map +1 -1
- package/dist/index.ts +34 -3
- package/dist/redux/api/fieldApi.js +1 -1
- package/dist/redux/api/fieldApi.js.map +1 -1
- package/dist/redux/api/fieldApi.ts +2 -2
- package/dist/redux/api/modelApi.d.ts +13 -13
- package/dist/redux/api/modelApi.d.ts.map +1 -1
- package/dist/redux/api/modelApi.js +15 -15
- package/dist/redux/api/modelApi.js.map +1 -1
- package/dist/redux/api/modelApi.ts +12 -15
- package/dist/redux/features/agentSlice.d.ts +34 -0
- package/dist/redux/features/agentSlice.d.ts.map +1 -0
- package/dist/redux/features/agentSlice.js +92 -0
- package/dist/redux/features/agentSlice.js.map +1 -0
- package/dist/redux/features/agentSlice.ts +119 -0
- package/dist/redux/store/defaultStoreConfig.d.ts +11 -10
- package/dist/redux/store/defaultStoreConfig.d.ts.map +1 -1
- package/dist/redux/store/defaultStoreConfig.js +2 -0
- package/dist/redux/store/defaultStoreConfig.js.map +1 -1
- package/dist/redux/store/defaultStoreConfig.ts +2 -0
- package/dist/redux/store/solidEntityApiPool.d.ts.map +1 -1
- package/dist/redux/store/solidEntityApiPool.js +7 -0
- package/dist/redux/store/solidEntityApiPool.js.map +1 -1
- package/dist/redux/store/solidEntityApiPool.ts +6 -0
- package/dist/resources/globals.css +109 -1
- package/dist/resources/solid-custom.css +295 -0
- package/dist/resources/solid-tailwind-generated.css +1 -1
- package/dist/routes/pages/admin/core/AgentRegistryAuditPanel.css +47 -0
- package/dist/routes/pages/admin/core/AgentRegistryAuditPanel.d.ts +12 -0
- package/dist/routes/pages/admin/core/AgentRegistryAuditPanel.d.ts.map +1 -0
- package/dist/routes/pages/admin/core/AgentRegistryAuditPanel.js +80 -0
- package/dist/routes/pages/admin/core/AgentRegistryAuditPanel.js.map +1 -0
- package/dist/routes/pages/admin/core/AgentRegistryAuditPanel.tsx +123 -0
- package/dist/routes/pages/admin/core/AgentRegistryEditorPage.css +110 -0
- package/dist/routes/pages/admin/core/AgentRegistryEditorPage.d.ts +3 -0
- package/dist/routes/pages/admin/core/AgentRegistryEditorPage.d.ts.map +1 -0
- package/dist/routes/pages/admin/core/AgentRegistryEditorPage.js +702 -0
- package/dist/routes/pages/admin/core/AgentRegistryEditorPage.js.map +1 -0
- package/dist/routes/pages/admin/core/AgentRegistryEditorPage.tsx +630 -0
- package/dist/routes/pages/admin/core/AgentSkillRegistryEditorPage.css +303 -0
- package/dist/routes/pages/admin/core/AgentSkillRegistryEditorPage.d.ts +3 -0
- package/dist/routes/pages/admin/core/AgentSkillRegistryEditorPage.d.ts.map +1 -0
- package/dist/routes/pages/admin/core/AgentSkillRegistryEditorPage.js +330 -0
- package/dist/routes/pages/admin/core/AgentSkillRegistryEditorPage.js.map +1 -0
- package/dist/routes/pages/admin/core/AgentSkillRegistryEditorPage.tsx +460 -0
- package/dist/routes/pages/admin/core/AgentToolRegistryEditorPage.css +125 -0
- package/dist/routes/pages/admin/core/AgentToolRegistryEditorPage.d.ts +3 -0
- package/dist/routes/pages/admin/core/AgentToolRegistryEditorPage.d.ts.map +1 -0
- package/dist/routes/pages/admin/core/AgentToolRegistryEditorPage.js +295 -0
- package/dist/routes/pages/admin/core/AgentToolRegistryEditorPage.js.map +1 -0
- package/dist/routes/pages/admin/core/AgentToolRegistryEditorPage.tsx +275 -0
- package/dist/routes/pages/admin/core/WorkflowDefinitionEditorPage.js +11 -11
- package/dist/routes/pages/admin/core/WorkflowDefinitionEditorPage.js.map +1 -1
- package/dist/routes/pages/admin/core/WorkflowDefinitionEditorPage.tsx +15 -15
- package/dist/routes/pages/embed/AgentEmbedPage.d.ts +3 -0
- package/dist/routes/pages/embed/AgentEmbedPage.d.ts.map +1 -0
- package/dist/routes/pages/embed/AgentEmbedPage.js +170 -0
- package/dist/routes/pages/embed/AgentEmbedPage.js.map +1 -0
- package/dist/routes/pages/embed/AgentEmbedPage.module.css +195 -0
- package/dist/routes/pages/embed/AgentEmbedPage.tsx +169 -0
- package/dist/routes/solidRoutes.d.ts.map +1 -1
- package/dist/routes/solidRoutes.js +8 -0
- package/dist/routes/solidRoutes.js.map +1 -1
- package/dist/routes/solidRoutes.tsx +8 -0
- package/dist/types/extension-registry.d.ts +4 -0
- package/dist/types/extension-registry.d.ts.map +1 -1
- package/dist/types/extension-registry.js +7 -0
- package/dist/types/extension-registry.js.map +1 -1
- package/dist/types/extension-registry.ts +7 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/list-row-action.d.ts +2 -0
- package/dist/types/list-row-action.d.ts.map +1 -1
- package/dist/types/list-row-action.js.map +1 -1
- package/dist/types/list-row-action.ts +3 -0
- package/dist/types/solid-core.d.ts +36 -0
- package/package.json +1 -1
|
@@ -0,0 +1,596 @@
|
|
|
1
|
+
/* SolidX Agent chat. Colours come from the active Solid theme (theme-variables.css),
|
|
2
|
+
so light/dark themes need no extra rules here. */
|
|
3
|
+
|
|
4
|
+
/* The theme's colours, resolved once on :root (where Solid themes declare them) and inherited as
|
|
5
|
+
finished values. A page area that redefines --foreground/--border/... for its own design
|
|
6
|
+
system (e.g. testingHub's .th-design uses bare HSL triplets) can't break an embedded chat.
|
|
7
|
+
The chat CSS (here and widgets/) reads only these, via the --agent-* aliases. */
|
|
8
|
+
:global(:root) {
|
|
9
|
+
--solid-agent-primary: var(--primary-color, var(--primary, #722ed1));
|
|
10
|
+
--solid-agent-bg: var(--card, #ffffff);
|
|
11
|
+
--solid-agent-page: var(--background, #f6f8fc);
|
|
12
|
+
--solid-agent-fg: var(--foreground, #0f172a);
|
|
13
|
+
--solid-agent-muted: var(--muted, #64748b);
|
|
14
|
+
--solid-agent-muted-fg: var(--muted-foreground, #475569);
|
|
15
|
+
--solid-agent-border: var(--border, #e2e8f0);
|
|
16
|
+
--solid-agent-accent: var(--accent, #eef2ff);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.root {
|
|
20
|
+
position: relative;
|
|
21
|
+
--agent-primary: var(--solid-agent-primary);
|
|
22
|
+
--agent-bg: var(--solid-agent-bg);
|
|
23
|
+
--agent-page: var(--solid-agent-page);
|
|
24
|
+
--agent-fg: var(--solid-agent-fg);
|
|
25
|
+
--agent-muted: var(--solid-agent-muted);
|
|
26
|
+
--agent-border: var(--solid-agent-border);
|
|
27
|
+
--agent-tint: color-mix(in srgb, var(--agent-primary) 10%, transparent);
|
|
28
|
+
--agent-ok: #16a34a;
|
|
29
|
+
--agent-warn: #b45309;
|
|
30
|
+
--agent-err: #dc2626;
|
|
31
|
+
--agent-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
32
|
+
font-size: 13.5px;
|
|
33
|
+
color: var(--agent-fg);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.embedWait {
|
|
37
|
+
position: absolute;
|
|
38
|
+
z-index: 5;
|
|
39
|
+
inset: 54px 0 0;
|
|
40
|
+
display: grid;
|
|
41
|
+
align-content: center;
|
|
42
|
+
justify-items: center;
|
|
43
|
+
gap: 10px;
|
|
44
|
+
padding: 24px;
|
|
45
|
+
background: radial-gradient(ellipse at center, #edf5f0 0%, #f7f9f8 70%);
|
|
46
|
+
color: #1f302b;
|
|
47
|
+
text-align: center;
|
|
48
|
+
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
49
|
+
}
|
|
50
|
+
.embedWaitCard {
|
|
51
|
+
min-width: 220px;
|
|
52
|
+
display: flex;
|
|
53
|
+
flex-direction: column;
|
|
54
|
+
align-items: center;
|
|
55
|
+
gap: 11px;
|
|
56
|
+
padding: 24px 30px;
|
|
57
|
+
border: 1px solid #e0e9e3;
|
|
58
|
+
border-radius: 16px;
|
|
59
|
+
background: rgba(255, 255, 255, 0.92);
|
|
60
|
+
box-shadow: 0 12px 34px rgba(28, 55, 43, 0.08);
|
|
61
|
+
text-align: center;
|
|
62
|
+
}
|
|
63
|
+
.embedWaitCard strong { font-size: 13px; font-weight: 650; }
|
|
64
|
+
.embedWaitCard > span:last-child { color: #718078; font-size: 12px; line-height: 1.45; }
|
|
65
|
+
.embedSpinner {
|
|
66
|
+
width: 32px;
|
|
67
|
+
height: 32px;
|
|
68
|
+
border: 3px solid #dce9e1;
|
|
69
|
+
border-top-color: #147a62;
|
|
70
|
+
border-radius: 50%;
|
|
71
|
+
animation: embedSpin 0.8s linear infinite;
|
|
72
|
+
}
|
|
73
|
+
@keyframes embedSpin { to { transform: rotate(360deg); } }
|
|
74
|
+
@media (prefers-reduced-motion: reduce) { .embedSpinner { animation-duration: 1.8s; } }
|
|
75
|
+
|
|
76
|
+
.inputDialogOverlay { z-index: 1300 !important; }
|
|
77
|
+
.inputDialog {
|
|
78
|
+
z-index: 1301 !important;
|
|
79
|
+
--agent-primary: var(--solid-agent-primary, #722ed1);
|
|
80
|
+
--agent-bg: var(--solid-agent-bg, #fff);
|
|
81
|
+
--agent-page: var(--solid-agent-page, #f6f8fc);
|
|
82
|
+
--agent-fg: var(--solid-agent-fg, #0f172a);
|
|
83
|
+
--agent-muted: var(--solid-agent-muted, #64748b);
|
|
84
|
+
--agent-border: var(--solid-agent-border, #e2e8f0);
|
|
85
|
+
--agent-err: #dc2626;
|
|
86
|
+
--agent-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
87
|
+
}
|
|
88
|
+
.inputDialogBody { max-height: min(70vh, 42rem); overflow: auto; }
|
|
89
|
+
.inputForm { display: flex; flex-direction: column; gap: 1rem; }
|
|
90
|
+
.inputForm > p { margin: 0; color: var(--agent-muted); font-size: 0.875rem; line-height: 1.5; }
|
|
91
|
+
.inputFields { display: flex; flex-direction: column; gap: 0.85rem; }
|
|
92
|
+
.inputField { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.85rem; font-weight: 600; }
|
|
93
|
+
.inputField > span { display: flex; flex-direction: column; gap: 0.15rem; }
|
|
94
|
+
.inputField small { color: var(--agent-muted); font-size: 0.75rem; font-weight: 400; }
|
|
95
|
+
.inputField :global(.solid-input), .inputField select, .inputField textarea { width: 100%; min-height: 2.5rem; box-sizing: border-box; padding: 0.55rem 0.7rem; border: 1px solid var(--agent-border, #e2e8f0); border-radius: 0.5rem; background: var(--agent-bg, #fff); color: var(--agent-fg, #172033); font: inherit; font-weight: 400; }
|
|
96
|
+
.inputField textarea { min-height: 5rem; resize: vertical; font-family: var(--agent-mono); font-size: 0.8rem; }
|
|
97
|
+
.inputField :global(.solid-input):focus-visible, .inputField select:focus, .inputField textarea:focus { outline: 2px solid color-mix(in srgb, var(--agent-primary, #722ed1) 28%, transparent); border-color: var(--agent-primary, #722ed1); }
|
|
98
|
+
.inputError { margin: 0; color: var(--agent-err); font-size: 0.82rem; }
|
|
99
|
+
.inputActions { display: flex; justify-content: flex-end; gap: 0.6rem; padding-top: 0.25rem; }
|
|
100
|
+
|
|
101
|
+
/* ── Launcher bubble ─────────────────────────────────────────── */
|
|
102
|
+
.bubble {
|
|
103
|
+
position: fixed;
|
|
104
|
+
right: 24px;
|
|
105
|
+
bottom: 24px;
|
|
106
|
+
z-index: 1100;
|
|
107
|
+
width: 52px;
|
|
108
|
+
height: 52px;
|
|
109
|
+
border-radius: 999px;
|
|
110
|
+
border: 0;
|
|
111
|
+
background: var(--agent-primary);
|
|
112
|
+
color: #fff;
|
|
113
|
+
display: flex;
|
|
114
|
+
align-items: center;
|
|
115
|
+
justify-content: center;
|
|
116
|
+
cursor: pointer;
|
|
117
|
+
box-shadow: 0 8px 24px color-mix(in srgb, var(--agent-primary) 35%, transparent);
|
|
118
|
+
transition: transform 0.15s ease;
|
|
119
|
+
}
|
|
120
|
+
.bubble:hover { transform: scale(1.05); }
|
|
121
|
+
.bubble:focus-visible { outline: 2px solid var(--agent-primary); outline-offset: 3px; }
|
|
122
|
+
.bubbleBadge {
|
|
123
|
+
position: absolute;
|
|
124
|
+
top: 2px;
|
|
125
|
+
right: 2px;
|
|
126
|
+
width: 12px;
|
|
127
|
+
height: 12px;
|
|
128
|
+
border-radius: 999px;
|
|
129
|
+
border: 2px solid var(--agent-bg);
|
|
130
|
+
background: #eab308;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/* ── Window frames ───────────────────────────────────────────── */
|
|
134
|
+
.window {
|
|
135
|
+
position: fixed;
|
|
136
|
+
z-index: 1100;
|
|
137
|
+
display: flex;
|
|
138
|
+
flex-direction: column;
|
|
139
|
+
background: var(--agent-bg);
|
|
140
|
+
border: 1px solid var(--agent-border);
|
|
141
|
+
overflow: hidden;
|
|
142
|
+
animation: agentIn 0.18s ease;
|
|
143
|
+
}
|
|
144
|
+
.compact {
|
|
145
|
+
right: 24px;
|
|
146
|
+
bottom: 88px;
|
|
147
|
+
width: 400px;
|
|
148
|
+
height: min(600px, calc(100vh - 120px));
|
|
149
|
+
border-radius: 14px;
|
|
150
|
+
box-shadow: 0 18px 50px rgba(15, 23, 42, 0.22);
|
|
151
|
+
}
|
|
152
|
+
.docked {
|
|
153
|
+
top: 0;
|
|
154
|
+
right: 0;
|
|
155
|
+
bottom: 0;
|
|
156
|
+
border-radius: 0;
|
|
157
|
+
border-top: 0;
|
|
158
|
+
border-bottom: 0;
|
|
159
|
+
border-right: 0;
|
|
160
|
+
box-shadow: -12px 0 40px rgba(15, 23, 42, 0.1);
|
|
161
|
+
}
|
|
162
|
+
.maximized {
|
|
163
|
+
inset: 16px;
|
|
164
|
+
border-radius: 14px;
|
|
165
|
+
box-shadow: 0 18px 60px rgba(15, 23, 42, 0.28);
|
|
166
|
+
}
|
|
167
|
+
.resizeHandle {
|
|
168
|
+
position: absolute;
|
|
169
|
+
left: 0;
|
|
170
|
+
top: 0;
|
|
171
|
+
bottom: 0;
|
|
172
|
+
width: 6px;
|
|
173
|
+
cursor: ew-resize;
|
|
174
|
+
z-index: 2;
|
|
175
|
+
}
|
|
176
|
+
.resizeHandle:hover { background: var(--agent-tint); }
|
|
177
|
+
/* Docked mode: the admin shell makes room for the panel instead of sitting under it. */
|
|
178
|
+
:global(body.solid-agent-docked) :global(.solid-shell) {
|
|
179
|
+
padding-right: var(--solid-agent-docked-width, 420px);
|
|
180
|
+
box-sizing: border-box;
|
|
181
|
+
transition: padding-right 0.2s ease;
|
|
182
|
+
}
|
|
183
|
+
@keyframes agentIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
|
|
184
|
+
|
|
185
|
+
@media (max-width: 640px) {
|
|
186
|
+
.compact, .docked, .maximized { inset: 0; width: auto !important; height: auto; border-radius: 0; }
|
|
187
|
+
.bubble { right: 16px; bottom: 16px; }
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
/* ── Header ──────────────────────────────────────────────────── */
|
|
191
|
+
.header {
|
|
192
|
+
flex: 0 0 auto;
|
|
193
|
+
display: flex;
|
|
194
|
+
align-items: center;
|
|
195
|
+
gap: 10px;
|
|
196
|
+
height: 52px;
|
|
197
|
+
padding: 0 8px 0 14px;
|
|
198
|
+
border-bottom: 1px solid var(--agent-border);
|
|
199
|
+
}
|
|
200
|
+
.headerMark {
|
|
201
|
+
position: relative;
|
|
202
|
+
flex: 0 0 auto;
|
|
203
|
+
width: 28px;
|
|
204
|
+
height: 28px;
|
|
205
|
+
border-radius: 8px;
|
|
206
|
+
background: var(--agent-primary);
|
|
207
|
+
color: #fff;
|
|
208
|
+
display: flex;
|
|
209
|
+
align-items: center;
|
|
210
|
+
justify-content: center;
|
|
211
|
+
}
|
|
212
|
+
.statusDot {
|
|
213
|
+
position: absolute;
|
|
214
|
+
right: -3px;
|
|
215
|
+
bottom: -3px;
|
|
216
|
+
width: 10px;
|
|
217
|
+
height: 10px;
|
|
218
|
+
border-radius: 999px;
|
|
219
|
+
border: 2px solid var(--agent-bg);
|
|
220
|
+
}
|
|
221
|
+
.headerTitle { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
|
|
222
|
+
.headerTitle strong { font-size: 14px; }
|
|
223
|
+
.headerSub { font-size: 11.5px; color: var(--agent-muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
|
|
224
|
+
.iconBtn {
|
|
225
|
+
width: 32px;
|
|
226
|
+
height: 32px;
|
|
227
|
+
border: 0;
|
|
228
|
+
border-radius: 8px;
|
|
229
|
+
background: transparent;
|
|
230
|
+
color: var(--agent-muted);
|
|
231
|
+
display: inline-flex;
|
|
232
|
+
align-items: center;
|
|
233
|
+
justify-content: center;
|
|
234
|
+
cursor: pointer;
|
|
235
|
+
}
|
|
236
|
+
.iconBtn:hover { background: var(--agent-tint); color: var(--agent-fg); }
|
|
237
|
+
.iconBtn:focus-visible { outline: 2px solid var(--agent-primary); outline-offset: 1px; }
|
|
238
|
+
|
|
239
|
+
.banner {
|
|
240
|
+
flex: 0 0 auto;
|
|
241
|
+
display: flex;
|
|
242
|
+
align-items: center;
|
|
243
|
+
gap: 8px;
|
|
244
|
+
padding: 8px 14px;
|
|
245
|
+
font-size: 12.5px;
|
|
246
|
+
background: color-mix(in srgb, #eab308 14%, transparent);
|
|
247
|
+
color: var(--agent-warn);
|
|
248
|
+
border-bottom: 1px solid var(--agent-border);
|
|
249
|
+
}
|
|
250
|
+
.bannerError { background: color-mix(in srgb, var(--agent-err) 10%, transparent); color: var(--agent-err); }
|
|
251
|
+
|
|
252
|
+
/* ── History menu ────────────────────────────────────────────── */
|
|
253
|
+
.historyPanel { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 8px; }
|
|
254
|
+
.historyItem {
|
|
255
|
+
width: 100%;
|
|
256
|
+
display: flex;
|
|
257
|
+
align-items: center;
|
|
258
|
+
gap: 8px;
|
|
259
|
+
padding: 9px 10px;
|
|
260
|
+
border: 0;
|
|
261
|
+
border-radius: 8px;
|
|
262
|
+
background: transparent;
|
|
263
|
+
color: var(--agent-fg);
|
|
264
|
+
text-align: left;
|
|
265
|
+
cursor: pointer;
|
|
266
|
+
font: inherit;
|
|
267
|
+
}
|
|
268
|
+
.historyItem:hover { background: var(--agent-tint); }
|
|
269
|
+
.historyItemActive { background: var(--agent-tint); font-weight: 600; }
|
|
270
|
+
.historyPreview { flex: 1 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
|
|
271
|
+
.historyDate { flex: 0 0 auto; font-size: 11px; color: var(--agent-muted); }
|
|
272
|
+
|
|
273
|
+
/* ── Thread ──────────────────────────────────────────────────── */
|
|
274
|
+
.thread {
|
|
275
|
+
flex: 1 1 auto;
|
|
276
|
+
min-height: 0;
|
|
277
|
+
overflow-y: auto;
|
|
278
|
+
padding: 12px;
|
|
279
|
+
display: flex;
|
|
280
|
+
flex-direction: column;
|
|
281
|
+
gap: 9px;
|
|
282
|
+
}
|
|
283
|
+
.loadMore { align-self: center; }
|
|
284
|
+
.notice { align-self: center; font-size: 12px; color: var(--agent-muted); }
|
|
285
|
+
.spinner {
|
|
286
|
+
width: 14px;
|
|
287
|
+
height: 14px;
|
|
288
|
+
border-radius: 999px;
|
|
289
|
+
border: 2px solid var(--agent-tint);
|
|
290
|
+
border-top-color: var(--agent-primary);
|
|
291
|
+
animation: agentSpin 0.8s linear infinite;
|
|
292
|
+
flex: 0 0 auto;
|
|
293
|
+
}
|
|
294
|
+
@keyframes agentSpin { to { transform: rotate(360deg); } }
|
|
295
|
+
.spinIcon { color: var(--agent-primary); animation: agentSpin 0.8s linear infinite; flex: 0 0 auto; }
|
|
296
|
+
|
|
297
|
+
.tableWrap { overflow-x: auto; }
|
|
298
|
+
|
|
299
|
+
.toolSummary { flex: 1 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--agent-muted); font-family: var(--agent-mono); font-size: 11.5px; }
|
|
300
|
+
.toolMeta { flex: 0 0 auto; font-size: 11px; color: var(--agent-muted); }
|
|
301
|
+
.okIcon { color: var(--agent-ok); }
|
|
302
|
+
.errIcon { color: var(--agent-err); }
|
|
303
|
+
|
|
304
|
+
/* ── Composer ────────────────────────────────────────────────── */
|
|
305
|
+
.composer { flex: 0 0 auto; padding: 12px; border-top: 1px solid var(--agent-border); display: flex; flex-direction: column; gap: 8px; }
|
|
306
|
+
.modelInfo { position: relative; flex: 0 0 auto; align-self: flex-end; margin: 0 12px 8px; color: var(--agent-muted); }
|
|
307
|
+
.modelInfoInline { align-self: center; margin: 0; }
|
|
308
|
+
.modelInfoSummary { display: flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid var(--agent-border); border-radius: 8px; background: var(--agent-page); color: var(--agent-muted); cursor: pointer; list-style: none; font-size: 11px; font-weight: 600; transition: border-color .15s, color .15s, background .15s; }
|
|
309
|
+
.modelInfoSummary::-webkit-details-marker { display: none; }
|
|
310
|
+
.modelInfoSummary:hover, .modelInfo[open] .modelInfoSummary { border-color: var(--agent-primary); background: var(--agent-tint); color: var(--agent-fg); }
|
|
311
|
+
.modelInfoChevron { transition: transform .15s; }
|
|
312
|
+
.modelInfo[open] .modelInfoChevron { transform: rotate(180deg); }
|
|
313
|
+
.modelInfoMenu { position: absolute; z-index: 20; left: 0; bottom: calc(100% + 10px); width: 280px; max-width: min(320px, calc(100vw - 32px)); padding: 6px; border: 1px solid var(--agent-border); border-radius: 12px; background: var(--agent-bg); box-shadow: 0 12px 32px rgba(0, 0, 0, .18); }
|
|
314
|
+
.modelInfoHeading { display: flex; flex-direction: column; gap: 3px; padding: 10px 10px 9px; border-bottom: 1px solid var(--agent-border); }
|
|
315
|
+
.modelInfoHeading strong { color: var(--agent-fg); font-size: 12px; font-weight: 650; }
|
|
316
|
+
.modelInfoHeading span { color: var(--agent-muted); font-size: 10.5px; }
|
|
317
|
+
.modelInfoRow { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 10px; }
|
|
318
|
+
.modelInfoRow + .modelInfoRow { border-top: 1px solid var(--agent-border); }
|
|
319
|
+
.modelInfoRole { color: var(--agent-muted); font-size: 10px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
|
|
320
|
+
.modelInfoModel { max-width: 100%; overflow-wrap: anywhere; color: var(--agent-fg); font-size: 11px; font-weight: 600; line-height: 1.4; }
|
|
321
|
+
.modelInfoProvider { padding: 2px 6px; border-radius: 5px; background: var(--agent-page); color: var(--agent-muted); font-size: 10px; }
|
|
322
|
+
.modelInfoUnavailable { color: var(--agent-muted); font-size: 11px; font-weight: 500; }
|
|
323
|
+
.textarea {
|
|
324
|
+
width: 100%;
|
|
325
|
+
min-height: 44px;
|
|
326
|
+
max-height: 200px;
|
|
327
|
+
resize: none;
|
|
328
|
+
box-sizing: border-box;
|
|
329
|
+
padding: 10px 12px;
|
|
330
|
+
border-radius: 10px;
|
|
331
|
+
border: 1px solid var(--agent-border);
|
|
332
|
+
background: var(--agent-bg);
|
|
333
|
+
color: var(--agent-fg);
|
|
334
|
+
font: inherit;
|
|
335
|
+
line-height: 1.5;
|
|
336
|
+
outline: none;
|
|
337
|
+
}
|
|
338
|
+
.textarea:focus { border-color: var(--agent-primary); box-shadow: 0 0 0 3px var(--agent-tint); }
|
|
339
|
+
.textarea:disabled { background: var(--agent-page); cursor: not-allowed; }
|
|
340
|
+
.composerRow { display: flex; align-items: center; gap: 8px; }
|
|
341
|
+
/* Send / Stop sit at the right edge, whatever comes before them in the row. */
|
|
342
|
+
.composerRow > .sendBtn,
|
|
343
|
+
.composerRow > .stopBtn { margin-left: auto; }
|
|
344
|
+
.composerDragging { background: var(--agent-tint); outline: 2px dashed var(--agent-primary); outline-offset: -6px; }
|
|
345
|
+
.iconBtn:disabled { opacity: 0.45; cursor: not-allowed; }
|
|
346
|
+
|
|
347
|
+
/* Attachments waiting to be sent */
|
|
348
|
+
.attachmentTray { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
|
|
349
|
+
.attachmentChip {
|
|
350
|
+
display: flex;
|
|
351
|
+
align-items: center;
|
|
352
|
+
gap: 8px;
|
|
353
|
+
max-width: 220px;
|
|
354
|
+
padding: 4px 4px 4px 4px;
|
|
355
|
+
border: 1px solid var(--agent-border);
|
|
356
|
+
border-radius: 8px;
|
|
357
|
+
background: var(--agent-bg);
|
|
358
|
+
}
|
|
359
|
+
.attachmentThumb { width: 32px; height: 32px; border-radius: 6px; object-fit: cover; flex: 0 0 auto; }
|
|
360
|
+
.attachmentIcon {
|
|
361
|
+
width: 32px;
|
|
362
|
+
height: 32px;
|
|
363
|
+
border-radius: 6px;
|
|
364
|
+
flex: 0 0 auto;
|
|
365
|
+
display: inline-flex;
|
|
366
|
+
align-items: center;
|
|
367
|
+
justify-content: center;
|
|
368
|
+
background: var(--agent-tint);
|
|
369
|
+
color: var(--agent-primary);
|
|
370
|
+
}
|
|
371
|
+
.attachmentText { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
|
|
372
|
+
.attachmentName { font-size: 12px; font-weight: 500; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
|
|
373
|
+
.attachmentSize { font-size: 10.5px; color: var(--agent-muted); }
|
|
374
|
+
.attachmentRemove {
|
|
375
|
+
flex: 0 0 auto;
|
|
376
|
+
width: 22px;
|
|
377
|
+
height: 22px;
|
|
378
|
+
border: 0;
|
|
379
|
+
border-radius: 6px;
|
|
380
|
+
background: transparent;
|
|
381
|
+
color: var(--agent-muted);
|
|
382
|
+
display: inline-flex;
|
|
383
|
+
align-items: center;
|
|
384
|
+
justify-content: center;
|
|
385
|
+
cursor: pointer;
|
|
386
|
+
}
|
|
387
|
+
.attachmentRemove:hover { background: var(--agent-tint); color: var(--agent-fg); }
|
|
388
|
+
.attachmentErrors { font-size: 12px; color: var(--agent-err); display: flex; flex-direction: column; gap: 2px; }
|
|
389
|
+
.hint { flex: 1 1 auto; font-size: 11px; color: var(--agent-muted); }
|
|
390
|
+
.sendBtn {
|
|
391
|
+
width: 34px;
|
|
392
|
+
height: 34px;
|
|
393
|
+
border: 0;
|
|
394
|
+
border-radius: 999px;
|
|
395
|
+
background: var(--agent-primary);
|
|
396
|
+
color: #fff;
|
|
397
|
+
display: inline-flex;
|
|
398
|
+
align-items: center;
|
|
399
|
+
justify-content: center;
|
|
400
|
+
cursor: pointer;
|
|
401
|
+
}
|
|
402
|
+
.sendBtn:disabled { background: var(--agent-border); color: var(--agent-muted); cursor: not-allowed; }
|
|
403
|
+
.stopBtn {
|
|
404
|
+
height: 34px;
|
|
405
|
+
padding: 0 12px;
|
|
406
|
+
border: 1px solid var(--agent-border);
|
|
407
|
+
border-radius: 999px;
|
|
408
|
+
background: var(--agent-bg);
|
|
409
|
+
color: var(--agent-fg);
|
|
410
|
+
font: inherit;
|
|
411
|
+
font-size: 12.5px;
|
|
412
|
+
font-weight: 600;
|
|
413
|
+
display: inline-flex;
|
|
414
|
+
align-items: center;
|
|
415
|
+
gap: 6px;
|
|
416
|
+
cursor: pointer;
|
|
417
|
+
}
|
|
418
|
+
.popover {
|
|
419
|
+
border: 1px solid var(--agent-border);
|
|
420
|
+
border-radius: 10px;
|
|
421
|
+
background: var(--agent-bg);
|
|
422
|
+
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
|
|
423
|
+
padding: 6px;
|
|
424
|
+
max-height: 220px;
|
|
425
|
+
overflow-y: auto;
|
|
426
|
+
}
|
|
427
|
+
.popoverItem {
|
|
428
|
+
width: 100%;
|
|
429
|
+
display: flex;
|
|
430
|
+
gap: 10px;
|
|
431
|
+
padding: 7px 8px;
|
|
432
|
+
border: 0;
|
|
433
|
+
border-radius: 7px;
|
|
434
|
+
background: transparent;
|
|
435
|
+
color: var(--agent-fg);
|
|
436
|
+
font: inherit;
|
|
437
|
+
font-size: 12.5px;
|
|
438
|
+
text-align: left;
|
|
439
|
+
cursor: pointer;
|
|
440
|
+
}
|
|
441
|
+
.popoverItemActive { background: var(--agent-tint); }
|
|
442
|
+
.popoverCmd { font-family: var(--agent-mono); font-weight: 600; color: var(--agent-primary); flex: 0 0 auto; }
|
|
443
|
+
.popoverDesc { color: var(--agent-muted); }
|
|
444
|
+
|
|
445
|
+
/* ── Empty state ─────────────────────────────────────────────── */
|
|
446
|
+
.empty { margin: auto 0; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 8px; }
|
|
447
|
+
.emptyMark { width: 48px; height: 48px; border-radius: 14px; background: var(--agent-primary); color: #fff; display: flex; align-items: center; justify-content: center; }
|
|
448
|
+
.emptyTitle { margin: 0; font-size: 16px; font-weight: 700; }
|
|
449
|
+
.emptyText { margin: 0; max-width: 320px; font-size: 13px; line-height: 1.6; color: var(--agent-muted); }
|
|
450
|
+
.suggestions { width: 100%; display: flex; flex-direction: column; gap: 8px; }
|
|
451
|
+
.suggestion {
|
|
452
|
+
padding: 10px 12px;
|
|
453
|
+
border: 1px solid color-mix(in srgb, var(--agent-primary) 22%, transparent);
|
|
454
|
+
border-radius: 10px;
|
|
455
|
+
background: var(--agent-bg);
|
|
456
|
+
color: var(--agent-fg);
|
|
457
|
+
font: inherit;
|
|
458
|
+
font-size: 12.5px;
|
|
459
|
+
font-weight: 600;
|
|
460
|
+
text-align: left;
|
|
461
|
+
cursor: pointer;
|
|
462
|
+
}
|
|
463
|
+
.suggestion:hover { background: var(--agent-tint); }
|
|
464
|
+
|
|
465
|
+
/* ── Widgets ─────────────────────────────────────────────────── */
|
|
466
|
+
.card { border: 1px solid var(--agent-border); border-radius: 12px; background: var(--agent-bg); overflow: hidden; }
|
|
467
|
+
.cardHead { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--agent-border); font-weight: 600; font-size: 13px; }
|
|
468
|
+
.cardBody { padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
|
|
469
|
+
.cardFoot { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--agent-border); }
|
|
470
|
+
.btn {
|
|
471
|
+
padding: 7px 12px;
|
|
472
|
+
border-radius: 9px;
|
|
473
|
+
border: 1px solid color-mix(in srgb, var(--agent-primary) 25%, transparent);
|
|
474
|
+
background: var(--agent-bg);
|
|
475
|
+
color: var(--agent-primary);
|
|
476
|
+
font: inherit;
|
|
477
|
+
font-size: 12.5px;
|
|
478
|
+
font-weight: 600;
|
|
479
|
+
cursor: pointer;
|
|
480
|
+
}
|
|
481
|
+
.btn:hover { background: var(--agent-tint); }
|
|
482
|
+
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
|
|
483
|
+
.btnPrimary { background: var(--agent-primary); color: #fff; border-color: var(--agent-primary); }
|
|
484
|
+
.btnPrimary:hover { background: color-mix(in srgb, var(--agent-primary) 85%, #000); }
|
|
485
|
+
.optionOn { border-color: var(--agent-primary); background: var(--agent-tint); }
|
|
486
|
+
.checkRow { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; cursor: pointer; }
|
|
487
|
+
.checkRow input { margin-top: 2px; accent-color: var(--agent-primary); }
|
|
488
|
+
.mono { font-family: var(--agent-mono); font-size: 11.5px; }
|
|
489
|
+
.pre {
|
|
490
|
+
margin: 0;
|
|
491
|
+
padding: 10px 12px;
|
|
492
|
+
border-radius: 8px;
|
|
493
|
+
background: #15101f;
|
|
494
|
+
color: #e5deff;
|
|
495
|
+
font-family: var(--agent-mono);
|
|
496
|
+
font-size: 11.5px;
|
|
497
|
+
line-height: 1.55;
|
|
498
|
+
overflow-x: auto;
|
|
499
|
+
white-space: pre;
|
|
500
|
+
}
|
|
501
|
+
.fileRow { width: 100%; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 0; border-top: 1px solid var(--agent-border); background: transparent; color: var(--agent-fg); font: inherit; font-size: 12.5px; cursor: pointer; text-align: left; }
|
|
502
|
+
.fileRow:first-child { border-top: 0; }
|
|
503
|
+
.fileName { flex: 1 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-family: var(--agent-mono); font-size: 12px; }
|
|
504
|
+
.diffAdd { color: var(--agent-ok); }
|
|
505
|
+
.diffDel { color: var(--agent-err); }
|
|
506
|
+
.diff { margin: 0; font-family: var(--agent-mono); font-size: 11.5px; line-height: 1.5; overflow-x: auto; background: var(--agent-page); }
|
|
507
|
+
.diffLine { display: block; padding: 0 12px; white-space: pre; }
|
|
508
|
+
.diffLineAdd { background: color-mix(in srgb, var(--agent-ok) 12%, transparent); }
|
|
509
|
+
.diffLineDel { background: color-mix(in srgb, var(--agent-err) 12%, transparent); }
|
|
510
|
+
.diffLineHunk { color: var(--agent-muted); }
|
|
511
|
+
.progressBar { height: 6px; border-radius: 999px; background: var(--agent-tint); overflow: hidden; }
|
|
512
|
+
.progressFill { height: 100%; background: var(--agent-primary); transition: width 0.3s ease; }
|
|
513
|
+
.stepRow { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
|
|
514
|
+
.status { display: flex; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid; font-size: 13px; line-height: 1.5; }
|
|
515
|
+
.statusSuccess { border-color: color-mix(in srgb, var(--agent-ok) 35%, transparent); background: color-mix(in srgb, var(--agent-ok) 7%, transparent); }
|
|
516
|
+
.statusWarning { border-color: color-mix(in srgb, var(--agent-warn) 35%, transparent); background: color-mix(in srgb, var(--agent-warn) 7%, transparent); }
|
|
517
|
+
.statusError { border-color: color-mix(in srgb, var(--agent-err) 35%, transparent); background: color-mix(in srgb, var(--agent-err) 7%, transparent); }
|
|
518
|
+
.statusInfo { border-color: color-mix(in srgb, var(--agent-primary) 30%, transparent); background: var(--agent-tint); }
|
|
519
|
+
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
|
|
520
|
+
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; border: 1px solid var(--agent-border); cursor: zoom-in; }
|
|
521
|
+
.lightbox { position: fixed; inset: 0; z-index: 1200; background: rgba(0, 0, 0, 0.75); display: flex; align-items: center; justify-content: center; padding: 24px; }
|
|
522
|
+
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; }
|
|
523
|
+
.dataTable { width: 100%; border-collapse: collapse; font-size: 12.5px; }
|
|
524
|
+
.dataTable th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.4px; color: var(--agent-muted); padding: 6px 10px; cursor: pointer; user-select: none; }
|
|
525
|
+
.dataTable td { padding: 6px 10px; border-top: 1px solid var(--agent-border); }
|
|
526
|
+
.linkCard { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--agent-border); border-radius: 10px; color: var(--agent-fg); text-decoration: none; cursor: pointer; background: var(--agent-bg); font: inherit; text-align: left; width: 100%; }
|
|
527
|
+
.linkCard:hover { border-color: var(--agent-primary); }
|
|
528
|
+
.widgetFallback { padding: 10px 12px; border: 1px dashed var(--agent-border); border-radius: 10px; font-size: 12px; color: var(--agent-muted); display: flex; flex-direction: column; gap: 6px; }
|
|
529
|
+
|
|
530
|
+
/* Agent sign-in (API key → agentToken), shown in place of the thread while signed out. */
|
|
531
|
+
.signIn { flex: 1 1 auto; min-height: 0; overflow-y: auto; display: flex; align-items: center; justify-content: center; padding: 20px 16px; }
|
|
532
|
+
.signInCard {
|
|
533
|
+
width: 100%;
|
|
534
|
+
max-width: 360px;
|
|
535
|
+
display: flex;
|
|
536
|
+
flex-direction: column;
|
|
537
|
+
gap: 10px;
|
|
538
|
+
padding: 22px 20px;
|
|
539
|
+
border: 1px solid var(--agent-border);
|
|
540
|
+
border-radius: 14px;
|
|
541
|
+
background: var(--agent-bg);
|
|
542
|
+
color: var(--agent-fg);
|
|
543
|
+
}
|
|
544
|
+
.signInIcon {
|
|
545
|
+
width: 36px;
|
|
546
|
+
height: 36px;
|
|
547
|
+
border-radius: 10px;
|
|
548
|
+
display: flex;
|
|
549
|
+
align-items: center;
|
|
550
|
+
justify-content: center;
|
|
551
|
+
background: var(--agent-tint);
|
|
552
|
+
color: var(--agent-primary);
|
|
553
|
+
}
|
|
554
|
+
.signInTitle { font-size: 15px; }
|
|
555
|
+
.signInText { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--agent-muted); }
|
|
556
|
+
.signInLabel { margin-top: 4px; font-size: 12px; font-weight: 600; }
|
|
557
|
+
.signInField {
|
|
558
|
+
display: flex;
|
|
559
|
+
align-items: center;
|
|
560
|
+
gap: 4px;
|
|
561
|
+
padding: 0 4px 0 10px;
|
|
562
|
+
border: 1px solid var(--agent-border);
|
|
563
|
+
border-radius: 10px;
|
|
564
|
+
background: var(--agent-bg);
|
|
565
|
+
}
|
|
566
|
+
.signInField:focus-within { border-color: var(--agent-primary); box-shadow: 0 0 0 3px var(--agent-tint); }
|
|
567
|
+
.signInInput {
|
|
568
|
+
flex: 1 1 auto;
|
|
569
|
+
min-width: 0;
|
|
570
|
+
height: 36px;
|
|
571
|
+
border: 0;
|
|
572
|
+
outline: none;
|
|
573
|
+
background: transparent;
|
|
574
|
+
color: var(--agent-fg);
|
|
575
|
+
font: inherit;
|
|
576
|
+
font-size: 13px;
|
|
577
|
+
font-family: var(--agent-mono);
|
|
578
|
+
}
|
|
579
|
+
.signInCard .banner { border: 0; border-radius: 8px; }
|
|
580
|
+
.signInBtn {
|
|
581
|
+
height: 36px;
|
|
582
|
+
border: 0;
|
|
583
|
+
border-radius: 10px;
|
|
584
|
+
display: flex;
|
|
585
|
+
align-items: center;
|
|
586
|
+
justify-content: center;
|
|
587
|
+
gap: 8px;
|
|
588
|
+
background: var(--agent-primary);
|
|
589
|
+
color: #fff;
|
|
590
|
+
font: inherit;
|
|
591
|
+
font-size: 13px;
|
|
592
|
+
font-weight: 600;
|
|
593
|
+
cursor: pointer;
|
|
594
|
+
}
|
|
595
|
+
.signInBtn:disabled { opacity: 0.55; cursor: not-allowed; }
|
|
596
|
+
.signInBtn .spinIcon { color: #fff; }
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { AgentRuntimeType } from "./types";
|
|
2
|
+
import type { AgentInputContext } from "./useAdminInputContext";
|
|
3
|
+
import type { AgentInputDefinition } from "./embed/agentEmbedProtocol";
|
|
4
|
+
type Props = {
|
|
5
|
+
agentUrl: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
/** Which agent backend `agentUrl` belongs to (default "solidx", shared with the launcher). */
|
|
8
|
+
agentRuntime?: AgentRuntimeType;
|
|
9
|
+
inputContext?: AgentInputContext;
|
|
10
|
+
inputs?: Record<string, unknown>;
|
|
11
|
+
requiredInputs?: AgentInputDefinition[];
|
|
12
|
+
externalEmbed?: boolean;
|
|
13
|
+
onInputsLocked?: (locked: boolean) => void;
|
|
14
|
+
/** Rendered inside a page (tab/form widget) instead of the floating window: no window controls. */
|
|
15
|
+
embedded?: boolean;
|
|
16
|
+
/** Only one mounted chat should act on SDK prefill requests; the floating window does by default. */
|
|
17
|
+
handlesPrefill?: boolean;
|
|
18
|
+
suggestions?: string[];
|
|
19
|
+
/** Controlled window actions for an embedded chat rendered in a modal. */
|
|
20
|
+
windowControls?: {
|
|
21
|
+
mode: "docked" | "maximized";
|
|
22
|
+
onDock: () => void;
|
|
23
|
+
onMaximize: () => void;
|
|
24
|
+
onRestore: () => void;
|
|
25
|
+
onClose: () => void;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export declare function SolidAgentChat({ agentUrl, title, agentRuntime, inputContext, inputs, requiredInputs, externalEmbed, onInputsLocked, embedded, handlesPrefill, suggestions, windowControls, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
export {};
|
|
30
|
+
//# sourceMappingURL=SolidAgentChat.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidAgentChat.d.ts","sourceRoot":"","sources":["../../../../src/components/core/solid-agent/SolidAgentChat.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAA8B,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAC5E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAOhE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAKvE,KAAK,KAAK,GAAG;IACT,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,8FAA8F;IAC9F,YAAY,CAAC,EAAE,gBAAgB,CAAC;IAChC,YAAY,CAAC,EAAE,iBAAiB,CAAC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjC,cAAc,CAAC,EAAE,oBAAoB,EAAE,CAAC;IACxC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IAC3C,mGAAmG;IACnG,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,qGAAqG;IACrG,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,0EAA0E;IAC1E,cAAc,CAAC,EAAE;QACb,IAAI,EAAE,QAAQ,GAAG,WAAW,CAAC;QAC7B,MAAM,EAAE,MAAM,IAAI,CAAC;QACnB,UAAU,EAAE,MAAM,IAAI,CAAC;QACvB,SAAS,EAAE,MAAM,IAAI,CAAC;QACtB,OAAO,EAAE,MAAM,IAAI,CAAC;KACvB,CAAC;CACL,CAAC;AAgEF,wBAAgB,cAAc,CAAC,EAC3B,QAAQ,EACR,KAAsB,EACtB,YAAuB,EACvB,YAAiB,EACjB,MAAM,EACN,cAAmB,EACnB,aAAqB,EACrB,cAAc,EACd,QAAgB,EAEhB,cAAuD,EACvD,WAAW,EACX,cAAc,GACjB,EAAE,KAAK,2CAyUP"}
|