@vibe-forge/client 2.0.0 → 3.0.0-alpha.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/AGENTS.md +4 -1
- package/dist/assets/{arc-CbOXL0l9.js → arc-1JbypnRY.js} +1 -1
- package/dist/assets/{blockDiagram-c4efeb88-CqxINvsS.js → blockDiagram-c4efeb88-jT5b9nId.js} +1 -1
- package/dist/assets/{c4Diagram-c83219d4-BKazU0hb.js → c4Diagram-c83219d4-KNPh-1ta.js} +1 -1
- package/dist/assets/channel-pzvjJnfd.js +1 -0
- package/dist/assets/{classDiagram-beda092f-fAFX5BpB.js → classDiagram-beda092f-vvXuOT3F.js} +1 -1
- package/dist/assets/{classDiagram-v2-2358418a-w1VkNGJj.js → classDiagram-v2-2358418a-vH4j7skr.js} +1 -1
- package/dist/assets/clone-CtWwIeUb.js +1 -0
- package/dist/assets/{createText-1719965b-CEinakVP.js → createText-1719965b-COeSYnf3.js} +1 -1
- package/dist/assets/{cssMode-DPqRki4y.js → cssMode-Doc7QRKn.js} +1 -1
- package/dist/assets/{edges-96097737-Cb0F1_3K.js → edges-96097737-D09v6R_r.js} +1 -1
- package/dist/assets/{erDiagram-0228fc6a-C-N2fx-J.js → erDiagram-0228fc6a-CbZ6rfxl.js} +1 -1
- package/dist/assets/{flowDb-c6c81e3f-D1Xz_8Gf.js → flowDb-c6c81e3f-CnZOzhdk.js} +1 -1
- package/dist/assets/{flowDiagram-50d868cf-DyPSZyAj.js → flowDiagram-50d868cf-jv-xWM2p.js} +1 -1
- package/dist/assets/flowDiagram-v2-4f6560a1-BiyrkIKs.js +1 -0
- package/dist/assets/{flowchart-elk-definition-6af322e1-Dr1DDXwE.js → flowchart-elk-definition-6af322e1-D8pf677G.js} +1 -1
- package/dist/assets/{freemarker2-C3DvPFaK.js → freemarker2-CL0o23Gj.js} +1 -1
- package/dist/assets/{ganttDiagram-a2739b55-DmvY1GRj.js → ganttDiagram-a2739b55-BAPQzC4u.js} +1 -1
- package/dist/assets/{gitGraphDiagram-82fe8481-CoXfPYYi.js → gitGraphDiagram-82fe8481-BI2x71m0.js} +1 -1
- package/dist/assets/{graph-BkDQy7Qt.js → graph-CZK4Bjpq.js} +1 -1
- package/dist/assets/{handlebars-BcTFdqjl.js → handlebars-CCG38Pg6.js} +1 -1
- package/dist/assets/{html-Dg-O6XFr.js → html-BddshTWG.js} +1 -1
- package/dist/assets/{htmlMode-B_wqYWvn.js → htmlMode-xKXiYcDz.js} +1 -1
- package/dist/assets/{index-5325376f-kxPTR3_e.js → index-5325376f-BWMTD8RU.js} +1 -1
- package/dist/assets/{index-wkhI4dr6.js → index-CBe7kDkV.js} +398 -377
- package/dist/assets/index-MWOwVzqE.css +32 -0
- package/dist/assets/{infoDiagram-8eee0895-BEvqkwPI.js → infoDiagram-8eee0895-CR78btIF.js} +1 -1
- package/dist/assets/{javascript-DhlOH8_z.js → javascript-BPlRHPjg.js} +1 -1
- package/dist/assets/{journeyDiagram-c64418c1-gKtLYmmp.js → journeyDiagram-c64418c1-DZRv6FKz.js} +1 -1
- package/dist/assets/{jsonMode-DxTbF9OD.js → jsonMode-BYLVfdkf.js} +1 -1
- package/dist/assets/{layout-CDaZEk6E.js → layout-BtudyPU2.js} +1 -1
- package/dist/assets/{line-DNRQu8iq.js → line-DgHXrIhS.js} +1 -1
- package/dist/assets/{linear-Cph9Z6_j.js → linear-DtBoKICx.js} +1 -1
- package/dist/assets/{liquid-ByZ6JgRG.js → liquid-DxBlJk0W.js} +1 -1
- package/dist/assets/{lspLanguageFeatures-DzvhkgnM.js → lspLanguageFeatures-DmKVpmeH.js} +1 -1
- package/dist/assets/{mdx-D8RGHTl6.js → mdx-DrScsd-w.js} +1 -1
- package/dist/assets/{mermaid.core-BgcryF__.js → mermaid.core-Cj_NJ_lZ.js} +4 -4
- package/dist/assets/{mindmap-definition-8da855dc-WrxK0FcB.js → mindmap-definition-8da855dc-CMXbwtsc.js} +1 -1
- package/dist/assets/{pieDiagram-a8764435-VsZBsiQy.js → pieDiagram-a8764435-Bd6rfpJv.js} +1 -1
- package/dist/assets/{python-CXVtk_cg.js → python-Crbi7B7n.js} +1 -1
- package/dist/assets/{quadrantDiagram-1e28029f-BVlgwOvU.js → quadrantDiagram-1e28029f-H-FdBQn6.js} +1 -1
- package/dist/assets/{razor-0tind7h2.js → razor-DHyrzIfE.js} +1 -1
- package/dist/assets/{requirementDiagram-08caed73-CpPMPoYp.js → requirementDiagram-08caed73-BSyCVDSG.js} +1 -1
- package/dist/assets/{sankeyDiagram-a04cb91d-Cm5nnRmc.js → sankeyDiagram-a04cb91d-S6E6BReg.js} +1 -1
- package/dist/assets/{sequenceDiagram-c5b8d532-DpMlJvJB.js → sequenceDiagram-c5b8d532-BMHY4KMj.js} +1 -1
- package/dist/assets/{stateDiagram-1ecb1508-DU1zc7vq.js → stateDiagram-1ecb1508-BMrMw6XR.js} +1 -1
- package/dist/assets/{stateDiagram-v2-c2b004d7-D-0RgmAp.js → stateDiagram-v2-c2b004d7-B5SIFUb_.js} +1 -1
- package/dist/assets/{styles-b4e223ce-BSO-yNWV.js → styles-b4e223ce-DqiXwnx3.js} +1 -1
- package/dist/assets/{styles-ca3715f6-CHnsn2Ro.js → styles-ca3715f6-jNxW2Db8.js} +1 -1
- package/dist/assets/{styles-d45a18b0-B-rVGjEq.js → styles-d45a18b0-C4nlfLcZ.js} +1 -1
- package/dist/assets/{svgDrawCommon-b86b1483-CA3Pl89f.js → svgDrawCommon-b86b1483-FIWFuZfb.js} +1 -1
- package/dist/assets/{timeline-definition-faaaa080-BcihLR6s.js → timeline-definition-faaaa080-CEQDoqdf.js} +1 -1
- package/dist/assets/{tsMode-D9GGa5Ur.js → tsMode-DnNy3rE9.js} +1 -1
- package/dist/assets/{typescript-BT9CK_EL.js → typescript-YBZ4vw5B.js} +1 -1
- package/dist/assets/{xml-DNO75J-T.js → xml-BJGGYD70.js} +1 -1
- package/dist/assets/{xychartDiagram-f5964ef8-DJTwe32X.js → xychartDiagram-f5964ef8-DUNOFOk0.js} +1 -1
- package/dist/assets/{yaml-7CVzhiP2.js → yaml-BMY4mu5s.js} +1 -1
- package/dist/index.html +8 -3
- package/dist/manifest.webmanifest +30 -0
- package/dist/pwa-icon-192.png +0 -0
- package/dist/pwa-icon-512.png +0 -0
- package/dist/sw.js +105 -0
- package/index.html +6 -1
- package/package.json +13 -13
- package/public/manifest.webmanifest +30 -0
- package/public/pwa-icon-192.png +0 -0
- package/public/pwa-icon-512.png +0 -0
- package/public/sw.js +105 -0
- package/src/App.tsx +13 -1
- package/src/api/README.md +1 -0
- package/src/api/adapters.ts +63 -0
- package/src/api/auth-token.ts +51 -0
- package/src/api/auth.ts +46 -0
- package/src/api/automation.ts +10 -0
- package/src/api/base.ts +20 -17
- package/src/api/config.ts +5 -1
- package/src/api/knowledge.ts +59 -0
- package/src/api/sessions.ts +35 -3
- package/src/api/skill-hub.ts +126 -0
- package/src/api/workspace.ts +33 -1
- package/src/api/worktree-environments.ts +53 -0
- package/src/api.ts +62 -7
- package/src/client-build-info.ts +19 -0
- package/src/components/ConfigView.scss +596 -28
- package/src/components/ConfigView.tsx +569 -138
- package/src/components/NavRail.scss +1 -2
- package/src/components/NavRail.tsx +33 -3
- package/src/components/Sidebar.scss +0 -44
- package/src/components/Sidebar.tsx +110 -37
- package/src/components/auth/AuthGate.scss +79 -0
- package/src/components/auth/AuthGate.tsx +174 -0
- package/src/components/automation-view/@components/AutomationTaskComposer.tsx +220 -0
- package/src/components/automation-view/@components/AutomationTriggerRow.tsx +192 -0
- package/src/components/automation-view/@hooks/use-automation-startup-options-data.tsx +289 -0
- package/src/components/automation-view/@hooks/use-automation-startup-static-options.ts +51 -0
- package/src/components/automation-view/@utils/sender-model-options.tsx +52 -0
- package/src/components/automation-view/@utils/startup-options.ts +26 -0
- package/src/components/automation-view/AutomationEmptyGuide.tsx +61 -0
- package/src/components/automation-view/AutomationEmptyLanding.scss +165 -0
- package/src/components/automation-view/AutomationEmptyLanding.tsx +211 -0
- package/src/components/automation-view/AutomationRuleDetailPreview.tsx +179 -0
- package/src/components/automation-view/PanelTitleActions.tsx +66 -0
- package/src/components/automation-view/RuleFormPanel.scss +172 -49
- package/src/components/automation-view/RuleFormPanel.tsx +196 -91
- package/src/components/automation-view/RuleSidebar.scss +128 -41
- package/src/components/automation-view/RuleSidebar.tsx +173 -89
- package/src/components/automation-view/RunHistoryPanel.scss +307 -72
- package/src/components/automation-view/RunHistoryPanel.tsx +185 -165
- package/src/components/automation-view/TaskList.scss +130 -64
- package/src/components/automation-view/TaskList.tsx +15 -31
- package/src/components/automation-view/TriggerList.scss +87 -8
- package/src/components/automation-view/TriggerList.tsx +14 -173
- package/src/components/automation-view/index.scss +165 -37
- package/src/components/automation-view/index.tsx +174 -87
- package/src/components/automation-view/types.ts +13 -0
- package/src/components/chat/AGENTS.md +3 -1
- package/src/components/chat/ChatHeader.tsx +56 -33
- package/src/components/chat/ChatHistoryView.tsx +254 -123
- package/src/components/chat/NewSessionGuide.scss +274 -204
- package/src/components/chat/NewSessionGuide.tsx +46 -111
- package/src/components/chat/NewSessionGuideStarterList.tsx +190 -0
- package/src/components/chat/NewSessionGuideStarterSection.tsx +121 -0
- package/src/components/chat/bottom-dock-constants.ts +4 -0
- package/src/components/chat/conversation-starter-apply.ts +181 -0
- package/src/components/chat/git-controls/ChatGitControls.scss +65 -0
- package/src/components/chat/git-controls/DraftGitControls.tsx +14 -0
- package/src/components/chat/git-controls/DraftWorktreeEnvironmentDropdown.tsx +115 -0
- package/src/components/chat/messages/MessageItem.tsx +21 -6
- package/src/components/chat/messages/MessageStatusNotice.tsx +12 -4
- package/src/components/chat/messages/build-chat-history-status-notices.ts +18 -13
- package/src/components/chat/messages/message-action-utils.ts +29 -0
- package/src/components/chat/new-session-guide-config.ts +19 -0
- package/src/components/chat/new-session-guide-items.ts +172 -0
- package/src/components/chat/new-session-guide-list-order.ts +58 -0
- package/src/components/chat/sender/@components/account-select/AccountSelectControl.scss +112 -0
- package/src/components/chat/sender/@components/account-select/AccountSelectControl.tsx +280 -0
- package/src/components/chat/sender/@components/account-select/AccountSelectDropdown.scss +155 -0
- package/src/components/chat/sender/@components/adapter-select/AdapterSelectControl.scss +51 -12
- package/src/components/chat/sender/@components/adapter-select/AdapterSelectDropdown.scss +14 -0
- package/src/components/chat/sender/@components/effort-select/EffortSelectControl.scss +36 -0
- package/src/components/chat/sender/@components/effort-select/EffortSelectControl.tsx +17 -12
- package/src/components/chat/sender/@components/model-select/ModelSelectControl.scss +62 -0
- package/src/components/chat/sender/@components/model-select/ModelSelectControl.tsx +17 -12
- package/src/components/chat/sender/@components/model-select/ModelSelectMenu.scss +2 -0
- package/src/components/chat/sender/@components/model-select/ModelSelectMenuLabels.scss +24 -0
- package/src/components/chat/sender/@components/permission-mode-control/PermissionModeControl.scss +199 -0
- package/src/components/chat/sender/@components/permission-mode-control/PermissionModeControl.tsx +172 -0
- package/src/components/chat/sender/@components/reference-actions/ReferenceActionsControl.scss +1 -10
- package/src/components/chat/sender/@components/reference-actions/ReferenceActionsControl.tsx +16 -65
- package/src/components/chat/sender/@components/sender-body/SenderBody.tsx +13 -1
- package/src/components/chat/sender/@components/sender-header-controls/SenderHeaderControls.tsx +157 -0
- package/src/components/chat/sender/@components/sender-monaco-editor/monaco-runtime.ts +1 -17
- package/src/components/chat/sender/@components/sender-toolbar/SenderSelectBase.scss +18 -2
- package/src/components/chat/sender/@components/sender-toolbar/SenderSelectShared.scss +18 -1
- package/src/components/chat/sender/@components/sender-toolbar/SenderToolbar.scss +2 -0
- package/src/components/chat/sender/@components/sender-toolbar/SenderToolbar.tsx +40 -40
- package/src/components/chat/sender/@components/session-target/SenderSessionTargetBar.scss +215 -0
- package/src/components/chat/sender/@components/session-target/SenderSessionTargetBar.tsx +185 -0
- package/src/components/chat/sender/@core/build-sender-toolbar.ts +6 -0
- package/src/components/chat/sender/@core/create-sender-toolbar-handlers.ts +21 -1
- package/src/components/chat/sender/@core/get-sender-runtime-state.ts +3 -2
- package/src/components/chat/sender/@core/sender-toolbar-bindings.ts +12 -0
- package/src/components/chat/sender/@hooks/use-sender-controller.ts +56 -1
- package/src/components/chat/sender/@hooks/use-sender-reference-actions.ts +9 -66
- package/src/components/chat/sender/@types/sender-props.ts +18 -0
- package/src/components/chat/sender/@types/sender-toolbar-types.ts +8 -1
- package/src/components/chat/sender/@types/sender-types.ts +1 -3
- package/src/components/chat/sender/@utils/sender-constants.ts +1 -1
- package/src/components/chat/sender/Sender.scss +257 -2
- package/src/components/chat/sender/Sender.tsx +1 -0
- package/src/components/chat/status-bar/ChatStatusBar.scss +85 -0
- package/src/components/chat/status-bar/ChatStatusBar.tsx +48 -0
- package/src/components/chat/terminal/@components/TerminalManagerList.tsx +191 -0
- package/src/components/chat/terminal/@components/TerminalPane.scss +71 -0
- package/src/components/chat/terminal/@components/TerminalPane.tsx +137 -0
- package/src/components/chat/terminal/@components/TerminalPanelActions.tsx +75 -0
- package/src/components/chat/terminal/@hooks/use-terminal-instance.ts +36 -0
- package/src/components/chat/terminal/@hooks/use-terminal-session.ts +18 -21
- package/src/components/chat/terminal/@hooks/use-terminal-title-editor.ts +72 -0
- package/src/components/chat/terminal/@utils/terminal-keyboard.ts +141 -0
- package/src/components/chat/terminal/@utils/terminal-panes.ts +123 -0
- package/src/components/chat/terminal/ChatTerminalView.scss +310 -38
- package/src/components/chat/terminal/ChatTerminalView.tsx +151 -79
- package/src/components/chat/tools/core/ToolDiffViewer.tsx +3 -17
- package/src/components/chat/workspace-drawer/ChatWorkspaceDrawer.scss +778 -0
- package/src/components/chat/workspace-drawer/ChatWorkspaceDrawer.tsx +112 -0
- package/src/components/chat/workspace-drawer/ChatWorkspaceDrawerToolbar.tsx +183 -0
- package/src/components/chat/workspace-drawer/WorkspaceDrawerChangedFileRow.tsx +75 -0
- package/src/components/chat/workspace-drawer/WorkspaceDrawerChangedFiles.tsx +161 -0
- package/src/components/chat/workspace-drawer/WorkspaceDrawerChangedFolderTree.tsx +191 -0
- package/src/components/chat/workspace-drawer/WorkspaceDrawerTree.tsx +35 -0
- package/src/components/chat/workspace-drawer/WorkspaceDrawerTreeState.tsx +17 -0
- package/src/components/chat/workspace-drawer/changed-files-model.ts +152 -0
- package/src/components/chat/workspace-drawer/workspace-drawer-icons.ts +110 -0
- package/src/components/chat/workspace-file-editor/WorkspaceFileBreadcrumb.tsx +17 -0
- package/src/components/chat/workspace-file-editor/WorkspaceFileEditorView.scss +283 -0
- package/src/components/chat/workspace-file-editor/WorkspaceFileEditorView.tsx +165 -0
- package/src/components/chat/workspace-file-editor/WorkspaceFileTabs.tsx +135 -0
- package/src/components/chat/workspace-file-editor/use-workspace-file-editor-state.ts +113 -0
- package/src/components/chat/workspace-file-editor/workspace-file-editor-language.ts +55 -0
- package/src/components/composer-landing/ComposerLanding.scss +75 -0
- package/src/components/composer-landing/ComposerLanding.tsx +47 -0
- package/src/components/config/AGENTS.md +45 -0
- package/src/components/config/AdapterAccountsManager.scss +540 -0
- package/src/components/config/AdapterAccountsManager.tsx +846 -0
- package/src/components/config/AppSettingsPanel.tsx +85 -9
- package/src/components/config/ConfigAboutSection.scss +7 -1
- package/src/components/config/ConfigAboutSection.tsx +21 -3
- package/src/components/config/ConfigEditors.scss +12 -0
- package/src/components/config/ConfigFieldRow.scss +88 -4
- package/src/components/config/ConfigSectionForm.scss +88 -3
- package/src/components/config/ConfigSectionForm.tsx +948 -138
- package/src/components/config/ConfigSectionPanel.tsx +188 -12
- package/src/components/config/ConfigSourceSwitch.tsx +32 -18
- package/src/components/config/DetailCollectionFieldActions.tsx +63 -0
- package/src/components/config/DetailListField.tsx +413 -0
- package/src/components/config/McpServerItemEditor.tsx +154 -0
- package/src/components/config/RecommendedModelsItemEditor.tsx +146 -0
- package/src/components/config/WorktreeEnvironmentDetailView.tsx +126 -0
- package/src/components/config/WorktreeEnvironmentListView.tsx +126 -0
- package/src/components/config/WorktreeEnvironmentPanel.scss +430 -0
- package/src/components/config/WorktreeEnvironmentPanel.tsx +147 -0
- package/src/components/config/WorktreeEnvironmentScriptEditorCard.tsx +125 -0
- package/src/components/config/WorktreeEnvironmentScriptEditors.tsx +189 -0
- package/src/components/config/configConflict.ts +41 -0
- package/src/components/config/configDetail.ts +381 -0
- package/src/components/config/configSchema.ts +850 -179
- package/src/components/config/configUtils.ts +1 -1
- package/src/components/config/record-editors/RecordEditors.scss +187 -2
- package/src/components/config/record-editors/RecordJsonEditor.tsx +27 -2
- package/src/components/config/record-editors/SchemaObjectEditor.tsx +183 -0
- package/src/components/config/record-editors/SchemaRecordEditor.tsx +184 -0
- package/src/components/config/record-editors/index.tsx +2 -1
- package/src/components/config/record-editors/schemaRecordUtils.ts +55 -0
- package/src/components/config/use-worktree-environment-auto-save.ts +386 -0
- package/src/components/config/worktree-environment-panel-model.ts +108 -0
- package/src/components/dock-panel/DockPanel.scss +84 -17
- package/src/components/dock-panel/DockPanel.tsx +37 -34
- package/src/components/dock-panel/DockPanelHeader.tsx +65 -0
- package/src/components/dock-panel/use-dock-panel-fullscreen.ts +51 -0
- package/src/components/knowledge-base/KnowledgeBaseView.scss +276 -38
- package/src/components/knowledge-base/KnowledgeBaseView.tsx +252 -46
- package/src/components/knowledge-base/components/@hooks/use-skills-cli-modal-controller.ts +157 -0
- package/src/components/knowledge-base/components/@hooks/use-skills-tab-actions.ts +63 -0
- package/src/components/knowledge-base/components/ActionButton.scss +30 -4
- package/src/components/knowledge-base/components/ActionButton.tsx +13 -3
- package/src/components/knowledge-base/components/CreateSkillModal.tsx +59 -0
- package/src/components/knowledge-base/components/EmptyState.scss +4 -2
- package/src/components/knowledge-base/components/EntitiesTab.tsx +20 -20
- package/src/components/knowledge-base/components/EntityList.scss +3 -0
- package/src/components/knowledge-base/components/FilterBar.scss +1 -0
- package/src/components/knowledge-base/components/FilterBar.tsx +12 -8
- package/src/components/knowledge-base/components/FlowsTab.tsx +20 -20
- package/src/components/knowledge-base/components/KnowledgeBaseHeader.tsx +7 -6
- package/src/components/knowledge-base/components/KnowledgeContentControls.tsx +35 -0
- package/src/components/knowledge-base/components/KnowledgeList.scss +14 -3
- package/src/components/knowledge-base/components/KnowledgeMobilePanel.tsx +122 -0
- package/src/components/knowledge-base/components/KnowledgeSidebar.tsx +97 -0
- package/src/components/knowledge-base/components/LoadingState.scss +2 -1
- package/src/components/knowledge-base/components/ProjectSkillsList.tsx +79 -0
- package/src/components/knowledge-base/components/RuleList.scss +3 -0
- package/src/components/knowledge-base/components/RulesTab.tsx +31 -30
- package/src/components/knowledge-base/components/SectionHeader.scss +13 -1
- package/src/components/knowledge-base/components/SectionHeader.tsx +5 -3
- package/src/components/knowledge-base/components/SkillArchiveInput.tsx +43 -0
- package/src/components/knowledge-base/components/SkillHubResultItem.tsx +112 -0
- package/src/components/knowledge-base/components/SkillMarketResults.tsx +98 -0
- package/src/components/knowledge-base/components/SkillMarketView.tsx +198 -0
- package/src/components/knowledge-base/components/SkillMarketView.types.ts +28 -0
- package/src/components/knowledge-base/components/SkillRegistryErrors.tsx +21 -0
- package/src/components/knowledge-base/components/SkillRegistryModal.tsx +74 -0
- package/src/components/knowledge-base/components/SkillsCliModal.tsx +154 -0
- package/src/components/knowledge-base/components/SkillsTab.scss +424 -0
- package/src/components/knowledge-base/components/SkillsTab.tsx +166 -35
- package/src/components/knowledge-base/components/SkillsTabActions.tsx +88 -0
- package/src/components/knowledge-base/components/SpecList.scss +3 -0
- package/src/components/knowledge-base/components/TabContent.scss +4 -3
- package/src/components/knowledge-base/components/skill-hub-utils.ts +108 -0
- package/src/components/knowledge-base/components/use-skill-market-filters.ts +37 -0
- package/src/components/knowledge-base/components/use-skill-market-query-input.ts +44 -0
- package/src/components/knowledge-base/components/use-skill-market-search.ts +49 -0
- package/src/components/knowledge-base/components/use-skill-registry-modal.ts +68 -0
- package/src/components/monaco/monaco-runtime.ts +44 -0
- package/src/components/monaco/use-monaco-theme.ts +63 -0
- package/src/components/nav-rail-account-actions.tsx +104 -0
- package/src/components/server-connection/ServerConnectionGate.scss +356 -0
- package/src/components/server-connection/ServerConnectionGate.tsx +238 -0
- package/src/components/server-connection/ServerConnectionProfileModal.tsx +145 -0
- package/src/components/server-connection/ServerConnectionProfiles.tsx +113 -0
- package/src/components/server-connection/ServerConnectionUrlInput.tsx +85 -0
- package/src/components/sidebar/SidebarHeader.scss +5 -41
- package/src/components/sidebar/SidebarHeader.tsx +117 -91
- package/src/components/sidebar/SidebarHeaderSearchActions.tsx +24 -28
- package/src/components/sidebar/sidebar-search-visibility.ts +18 -0
- package/src/components/sidebar-list/SidebarListHeader.scss +246 -0
- package/src/components/sidebar-list/SidebarListHeader.tsx +146 -0
- package/src/components/workspace/ContextFilePicker.scss +9 -26
- package/src/components/workspace/ContextFilePicker.tsx +31 -113
- package/src/components/workspace/context-file-types.ts +36 -0
- package/src/components/workspace/project-file-tree/ProjectFileTree.scss +298 -0
- package/src/components/workspace/project-file-tree/ProjectFileTree.tsx +138 -0
- package/src/components/workspace/project-file-tree/ProjectFileTreeRow.tsx +167 -0
- package/src/components/workspace/project-file-tree/ProjectFileTreeRowContextMenu.tsx +106 -0
- package/src/components/workspace/project-file-tree/ProjectFileTreeRows.tsx +139 -0
- package/src/components/workspace/project-file-tree/project-file-tree-helpers.ts +101 -0
- package/src/components/workspace/project-file-tree/project-file-tree-icons.ts +93 -0
- package/src/components/workspace/project-file-tree/project-file-tree-types.ts +27 -0
- package/src/components/workspace/project-file-tree/use-project-file-tree-data.ts +197 -0
- package/src/components/workspace/project-file-tree/use-project-file-tree-selection.ts +144 -0
- package/src/hooks/chat/chat-session-target.ts +69 -0
- package/src/hooks/chat/chat-session-workspace-draft.ts +11 -4
- package/src/hooks/chat/interaction-state.ts +1 -0
- package/src/hooks/chat/optimistic-session-creation.ts +189 -0
- package/src/hooks/chat/use-chat-adapter-account-selection.tsx +156 -0
- package/src/hooks/chat/use-chat-route-bottom-panel.ts +181 -0
- package/src/hooks/chat/use-chat-route-deep-link-view.ts +33 -0
- package/src/hooks/chat/use-chat-session-actions.ts +259 -65
- package/src/hooks/chat/use-chat-session-messages.ts +71 -4
- package/src/hooks/chat/use-chat-session.ts +36 -1
- package/src/hooks/chat/workspace-file-panel-state.ts +43 -0
- package/src/hooks/session-subscription-cache.ts +25 -0
- package/src/hooks/use-chat-layout-query-state.ts +29 -0
- package/src/hooks/use-sender-header-query-state.ts +35 -0
- package/src/hooks/use-session-subscription.ts +17 -8
- package/src/hooks/useQueryParams.ts +91 -23
- package/src/i18n-resources.ts +44 -0
- package/src/i18n.ts +21 -6
- package/src/main.tsx +8 -0
- package/src/pwa.ts +46 -0
- package/src/resources/locales/en.json +741 -24
- package/src/resources/locales/zh.json +743 -26
- package/src/routes/ChatRoute.scss +110 -7
- package/src/routes/ChatRoute.tsx +11 -165
- package/src/routes/ChatRouteBottomPanel.tsx +47 -0
- package/src/routes/ChatRouteView.tsx +199 -0
- package/src/runtime-config.ts +155 -2
- package/src/server-connection-history.ts +179 -0
- package/src/store/index.ts +151 -3
- package/src/styles/global.scss +3 -0
- package/src/utils/mobile-viewport.ts +67 -0
- package/src/version-compatibility.ts +37 -0
- package/src/vite-env.d.ts +9 -0
- package/src/ws.ts +20 -9
- package/vite.config.ts +23 -1
- package/dist/assets/channel-Dnopc5A6.js +0 -1
- package/dist/assets/clone-sQthahUA.js +0 -1
- package/dist/assets/flowDiagram-v2-4f6560a1-OazrdWQO.js +0 -1
- package/dist/assets/index-o93dlo92.css +0 -32
- package/src/components/chat/NewSessionGuideCompactPanel.tsx +0 -130
- package/src/components/chat/NewSessionGuideGrid.tsx +0 -141
- package/src/components/chat/sender/@components/reference-actions/ReferencePermissionActionsPopover.tsx +0 -114
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { SkillHubItem, SkillHubRegistrySummary } from '#~/api.js'
|
|
2
|
+
import type { SkillHubInstallFilter, SkillHubSortKey } from './skill-hub-utils'
|
|
3
|
+
|
|
4
|
+
export interface SkillMarketViewProps {
|
|
5
|
+
canLoadMore: boolean
|
|
6
|
+
hubItems: SkillHubItem[]
|
|
7
|
+
installingId: string | null
|
|
8
|
+
installFilter: SkillHubInstallFilter
|
|
9
|
+
isLoading: boolean
|
|
10
|
+
loadingMore: boolean
|
|
11
|
+
query: string
|
|
12
|
+
registries: SkillHubRegistrySummary[]
|
|
13
|
+
registry: string
|
|
14
|
+
registryOptions: Array<{ label: string; value: string }>
|
|
15
|
+
resetKey: string
|
|
16
|
+
sortKey: SkillHubSortKey
|
|
17
|
+
sourceFilter: string
|
|
18
|
+
sourceOptions: Array<{ label: string; value: string }>
|
|
19
|
+
onAddRegistry: () => void
|
|
20
|
+
onOpenSkillsCli: () => void
|
|
21
|
+
onInstall: (item: SkillHubItem) => void
|
|
22
|
+
onInstallFilterChange: (value: SkillHubInstallFilter) => void
|
|
23
|
+
onLoadMore: () => void
|
|
24
|
+
onQueryChange: (value: string) => void
|
|
25
|
+
onRegistryChange: (value: string) => void
|
|
26
|
+
onSortChange: (value: SkillHubSortKey) => void
|
|
27
|
+
onSourceFilterChange: (value: string) => void
|
|
28
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Tag, Tooltip } from 'antd'
|
|
2
|
+
|
|
3
|
+
import type { SkillHubRegistrySummary } from '#~/api.js'
|
|
4
|
+
|
|
5
|
+
export function SkillRegistryErrors({ registries }: { registries: SkillHubRegistrySummary[] }) {
|
|
6
|
+
const registryErrors = registries.filter(item => item.error != null)
|
|
7
|
+
if (registryErrors.length === 0) return null
|
|
8
|
+
|
|
9
|
+
return (
|
|
10
|
+
<div className='knowledge-base-view__skill-registry-errors'>
|
|
11
|
+
{registryErrors.map(item => (
|
|
12
|
+
<Tooltip key={item.id} title={item.error}>
|
|
13
|
+
<Tag color='warning' className='knowledge-base-view__skill-registry-error'>
|
|
14
|
+
<span className='material-symbols-rounded knowledge-base-view__tag-icon'>warning</span>
|
|
15
|
+
<span>{item.id}</span>
|
|
16
|
+
</Tag>
|
|
17
|
+
</Tooltip>
|
|
18
|
+
))}
|
|
19
|
+
</div>
|
|
20
|
+
)
|
|
21
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { Form, Input, Modal, Select } from 'antd'
|
|
2
|
+
import type { FormInstance } from 'antd'
|
|
3
|
+
import { useTranslation } from 'react-i18next'
|
|
4
|
+
|
|
5
|
+
import type { RegistryFormValues } from './skill-hub-utils'
|
|
6
|
+
import { getSourcePlaceholderKey } from './skill-hub-utils'
|
|
7
|
+
|
|
8
|
+
interface SkillRegistryModalProps {
|
|
9
|
+
open: boolean
|
|
10
|
+
saving: boolean
|
|
11
|
+
form: FormInstance<RegistryFormValues>
|
|
12
|
+
onSave: () => void
|
|
13
|
+
onClose: () => void
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export function SkillRegistryModal({
|
|
17
|
+
open,
|
|
18
|
+
saving,
|
|
19
|
+
form,
|
|
20
|
+
onSave,
|
|
21
|
+
onClose
|
|
22
|
+
}: SkillRegistryModalProps) {
|
|
23
|
+
const { t } = useTranslation()
|
|
24
|
+
const sourceKind = Form.useWatch('source', form)
|
|
25
|
+
|
|
26
|
+
return (
|
|
27
|
+
<Modal
|
|
28
|
+
title={t('knowledge.skills.addRegistry')}
|
|
29
|
+
open={open}
|
|
30
|
+
confirmLoading={saving}
|
|
31
|
+
okText={t('config.actions.save')}
|
|
32
|
+
cancelText={t('config.actions.cancel')}
|
|
33
|
+
onOk={onSave}
|
|
34
|
+
onCancel={onClose}
|
|
35
|
+
destroyOnClose
|
|
36
|
+
>
|
|
37
|
+
<Form
|
|
38
|
+
form={form}
|
|
39
|
+
layout='vertical'
|
|
40
|
+
initialValues={{ source: 'url' }}
|
|
41
|
+
className='knowledge-base-view__registry-form'
|
|
42
|
+
>
|
|
43
|
+
<Form.Item
|
|
44
|
+
name='id'
|
|
45
|
+
label={t('knowledge.skills.registryName')}
|
|
46
|
+
rules={[{ required: true, message: t('knowledge.skills.registryNameRequired') }]}
|
|
47
|
+
>
|
|
48
|
+
<Input placeholder={t('knowledge.skills.registryNamePlaceholder')} />
|
|
49
|
+
</Form.Item>
|
|
50
|
+
<Form.Item
|
|
51
|
+
name='source'
|
|
52
|
+
label={t('knowledge.skills.registrySource')}
|
|
53
|
+
rules={[{ required: true }]}
|
|
54
|
+
>
|
|
55
|
+
<Select
|
|
56
|
+
options={[
|
|
57
|
+
{ label: t('knowledge.skills.registryUrl'), value: 'url' },
|
|
58
|
+
{ label: t('knowledge.skills.registryDirectory'), value: 'directory' },
|
|
59
|
+
{ label: t('knowledge.skills.registryGithub'), value: 'github' },
|
|
60
|
+
{ label: t('knowledge.skills.registryGit'), value: 'git' }
|
|
61
|
+
]}
|
|
62
|
+
/>
|
|
63
|
+
</Form.Item>
|
|
64
|
+
<Form.Item
|
|
65
|
+
name='value'
|
|
66
|
+
label={t('knowledge.skills.registryValue')}
|
|
67
|
+
rules={[{ required: true, message: t('knowledge.skills.registryValueRequired') }]}
|
|
68
|
+
>
|
|
69
|
+
<Input placeholder={t(getSourcePlaceholderKey(sourceKind))} />
|
|
70
|
+
</Form.Item>
|
|
71
|
+
</Form>
|
|
72
|
+
</Modal>
|
|
73
|
+
)
|
|
74
|
+
}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { Button, Empty, Form, Input, Modal, Spin } from 'antd'
|
|
2
|
+
import type { FormInstance } from 'antd'
|
|
3
|
+
import { useTranslation } from 'react-i18next'
|
|
4
|
+
|
|
5
|
+
import type { SkillHubItem } from '#~/api.js'
|
|
6
|
+
import { SkillMarketResults } from './SkillMarketResults'
|
|
7
|
+
|
|
8
|
+
export interface SkillsCliFormValues {
|
|
9
|
+
source: string
|
|
10
|
+
query?: string
|
|
11
|
+
registry?: string
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
interface SkillsCliModalProps {
|
|
15
|
+
canLoadMore: boolean
|
|
16
|
+
form: FormInstance<SkillsCliFormValues>
|
|
17
|
+
hasSearched: boolean
|
|
18
|
+
installingId: string | null
|
|
19
|
+
items: SkillHubItem[]
|
|
20
|
+
loadingMore: boolean
|
|
21
|
+
open: boolean
|
|
22
|
+
resetKey: string
|
|
23
|
+
searchError?: string | null
|
|
24
|
+
searching: boolean
|
|
25
|
+
onClose: () => void
|
|
26
|
+
onInstall: (item: SkillHubItem) => void
|
|
27
|
+
onLoadMore: () => void
|
|
28
|
+
onSearch: () => void | Promise<void>
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export function SkillsCliModal({
|
|
32
|
+
canLoadMore,
|
|
33
|
+
form,
|
|
34
|
+
hasSearched,
|
|
35
|
+
installingId,
|
|
36
|
+
items,
|
|
37
|
+
loadingMore,
|
|
38
|
+
open,
|
|
39
|
+
resetKey,
|
|
40
|
+
searchError,
|
|
41
|
+
searching,
|
|
42
|
+
onClose,
|
|
43
|
+
onInstall,
|
|
44
|
+
onLoadMore,
|
|
45
|
+
onSearch
|
|
46
|
+
}: SkillsCliModalProps) {
|
|
47
|
+
const { t } = useTranslation()
|
|
48
|
+
|
|
49
|
+
return (
|
|
50
|
+
<Modal
|
|
51
|
+
title={t('knowledge.skills.installViaSkillsCli')}
|
|
52
|
+
open={open}
|
|
53
|
+
footer={null}
|
|
54
|
+
onCancel={onClose}
|
|
55
|
+
destroyOnClose
|
|
56
|
+
width={760}
|
|
57
|
+
>
|
|
58
|
+
<Form
|
|
59
|
+
form={form}
|
|
60
|
+
layout='vertical'
|
|
61
|
+
initialValues={{ source: '', query: '', registry: '' }}
|
|
62
|
+
className='knowledge-base-view__skills-cli-form'
|
|
63
|
+
>
|
|
64
|
+
<Form.Item
|
|
65
|
+
name='source'
|
|
66
|
+
label={t('knowledge.skills.skillsCliSource')}
|
|
67
|
+
rules={[{ required: true, message: t('knowledge.skills.skillsCliSourceRequired') }]}
|
|
68
|
+
>
|
|
69
|
+
<Input
|
|
70
|
+
placeholder={t('knowledge.skills.skillsCliSourcePlaceholder')}
|
|
71
|
+
onPressEnter={(event) => {
|
|
72
|
+
event.preventDefault()
|
|
73
|
+
void onSearch()
|
|
74
|
+
}}
|
|
75
|
+
/>
|
|
76
|
+
</Form.Item>
|
|
77
|
+
<Form.Item
|
|
78
|
+
name='registry'
|
|
79
|
+
label={t('knowledge.skills.skillsCliRegistry')}
|
|
80
|
+
>
|
|
81
|
+
<Input
|
|
82
|
+
placeholder={t('knowledge.skills.skillsCliRegistryPlaceholder')}
|
|
83
|
+
onPressEnter={(event) => {
|
|
84
|
+
event.preventDefault()
|
|
85
|
+
void onSearch()
|
|
86
|
+
}}
|
|
87
|
+
/>
|
|
88
|
+
</Form.Item>
|
|
89
|
+
<div className='knowledge-base-view__skills-cli-search-row'>
|
|
90
|
+
<Form.Item
|
|
91
|
+
name='query'
|
|
92
|
+
label={t('knowledge.skills.skillsCliQuery')}
|
|
93
|
+
className='knowledge-base-view__skills-cli-search-field'
|
|
94
|
+
>
|
|
95
|
+
<Input
|
|
96
|
+
allowClear
|
|
97
|
+
placeholder={t('knowledge.skills.skillsCliQueryPlaceholder')}
|
|
98
|
+
onPressEnter={(event) => {
|
|
99
|
+
event.preventDefault()
|
|
100
|
+
void onSearch()
|
|
101
|
+
}}
|
|
102
|
+
/>
|
|
103
|
+
</Form.Item>
|
|
104
|
+
<Button
|
|
105
|
+
type='primary'
|
|
106
|
+
className='knowledge-base-view__skills-cli-search-button'
|
|
107
|
+
loading={searching && !loadingMore}
|
|
108
|
+
onClick={() => void onSearch()}
|
|
109
|
+
icon={<span className='material-symbols-rounded'>search</span>}
|
|
110
|
+
>
|
|
111
|
+
{t('knowledge.skills.skillsCliSearch')}
|
|
112
|
+
</Button>
|
|
113
|
+
</div>
|
|
114
|
+
</Form>
|
|
115
|
+
|
|
116
|
+
{searching && items.length === 0 && (
|
|
117
|
+
<div className='knowledge-base-view__loading'>
|
|
118
|
+
<Spin />
|
|
119
|
+
</div>
|
|
120
|
+
)}
|
|
121
|
+
{!searching && !hasSearched && (
|
|
122
|
+
<div className='knowledge-base-view__skills-cli-placeholder'>
|
|
123
|
+
{t('knowledge.skills.skillsCliHint')}
|
|
124
|
+
</div>
|
|
125
|
+
)}
|
|
126
|
+
{!searching && searchError != null && searchError.trim() !== '' && (
|
|
127
|
+
<div className='knowledge-base-view__skills-cli-error'>
|
|
128
|
+
{searchError}
|
|
129
|
+
</div>
|
|
130
|
+
)}
|
|
131
|
+
{!searching && hasSearched && searchError == null && items.length === 0 && (
|
|
132
|
+
<div className='knowledge-base-view__empty-simple'>
|
|
133
|
+
<Empty
|
|
134
|
+
image={Empty.PRESENTED_IMAGE_SIMPLE}
|
|
135
|
+
description={t('knowledge.skills.skillsCliEmpty')}
|
|
136
|
+
/>
|
|
137
|
+
</div>
|
|
138
|
+
)}
|
|
139
|
+
{items.length > 0 && (
|
|
140
|
+
<div className='knowledge-base-view__skills-cli-modal-results'>
|
|
141
|
+
<SkillMarketResults
|
|
142
|
+
canLoadMore={canLoadMore}
|
|
143
|
+
hubItems={items}
|
|
144
|
+
installingId={installingId}
|
|
145
|
+
loadingMore={loadingMore}
|
|
146
|
+
resetKey={resetKey}
|
|
147
|
+
onInstall={onInstall}
|
|
148
|
+
onLoadMore={onLoadMore}
|
|
149
|
+
/>
|
|
150
|
+
</div>
|
|
151
|
+
)}
|
|
152
|
+
</Modal>
|
|
153
|
+
)
|
|
154
|
+
}
|
|
@@ -1,5 +1,429 @@
|
|
|
1
1
|
.knowledge-base-view__skills-tab {
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
|
+
gap: var(--subpage-tertiary-gap);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.knowledge-base-view__skill-view-switch {
|
|
8
|
+
height: 36px;
|
|
9
|
+
padding: 4px;
|
|
10
|
+
border-radius: 6px;
|
|
11
|
+
flex-shrink: 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.knowledge-base-view__skill-view-switch .ant-segmented-group {
|
|
15
|
+
height: 28px;
|
|
16
|
+
align-items: center;
|
|
17
|
+
gap: 4px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.knowledge-base-view__skill-view-switch .ant-segmented-item,
|
|
21
|
+
.knowledge-base-view__skill-view-switch .ant-segmented-thumb {
|
|
22
|
+
width: 28px !important;
|
|
23
|
+
min-width: 28px !important;
|
|
24
|
+
height: 28px !important;
|
|
25
|
+
min-height: 28px !important;
|
|
26
|
+
border-radius: 6px !important;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.knowledge-base-view__skill-view-switch .ant-segmented-item {
|
|
30
|
+
display: inline-flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
justify-content: center;
|
|
33
|
+
padding: 0 !important;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.knowledge-base-view__skill-view-switch .ant-segmented-item-label {
|
|
37
|
+
width: 28px;
|
|
38
|
+
min-width: 28px;
|
|
39
|
+
height: 28px;
|
|
40
|
+
min-height: 28px;
|
|
41
|
+
display: inline-flex;
|
|
42
|
+
align-items: center;
|
|
43
|
+
justify-content: center;
|
|
44
|
+
padding: 0 !important;
|
|
45
|
+
line-height: 1;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.knowledge-base-view__skill-section-leading {
|
|
49
|
+
display: inline-flex;
|
|
50
|
+
align-items: center;
|
|
51
|
+
gap: 8px;
|
|
52
|
+
min-width: 0;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.knowledge-base-view__switch-icon {
|
|
56
|
+
display: inline-flex;
|
|
57
|
+
align-items: center;
|
|
58
|
+
justify-content: center;
|
|
59
|
+
width: 18px;
|
|
60
|
+
height: 18px;
|
|
61
|
+
font-size: 18px;
|
|
62
|
+
line-height: 1;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.knowledge-base-view__hidden-file-input {
|
|
66
|
+
display: none;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.knowledge-base-view__skill-market-search-row {
|
|
70
|
+
display: flex;
|
|
71
|
+
align-items: center;
|
|
72
|
+
flex-shrink: 0;
|
|
73
|
+
min-width: 0;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.knowledge-base-view__skill-market-search {
|
|
77
|
+
min-width: 0;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.knowledge-base-view__search-toggle-button {
|
|
81
|
+
width: 20px;
|
|
82
|
+
height: 20px;
|
|
83
|
+
display: inline-flex;
|
|
84
|
+
align-items: center;
|
|
85
|
+
justify-content: center;
|
|
86
|
+
padding: 0;
|
|
87
|
+
margin-inline-end: -1px;
|
|
88
|
+
border: none;
|
|
89
|
+
background: transparent;
|
|
90
|
+
color: var(--sub-text-color);
|
|
91
|
+
border-radius: 4px;
|
|
92
|
+
cursor: pointer;
|
|
93
|
+
position: relative;
|
|
94
|
+
transition: color .2s ease, background-color .2s ease;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.knowledge-base-view__search-toggle-button.is-open {
|
|
98
|
+
color: var(--primary-color);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.knowledge-base-view__search-toggle-button.has-active-filters::after {
|
|
102
|
+
content: '';
|
|
103
|
+
position: absolute;
|
|
104
|
+
top: 1px;
|
|
105
|
+
right: 1px;
|
|
106
|
+
width: 6px;
|
|
107
|
+
height: 6px;
|
|
108
|
+
border-radius: 999px;
|
|
109
|
+
background-color: #dc2626;
|
|
110
|
+
box-shadow: 0 0 0 1px var(--bg-color);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.knowledge-base-view__search-toggle-button:hover {
|
|
114
|
+
background-color: rgba(37, 99, 235, .08);
|
|
115
|
+
color: var(--primary-color);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.knowledge-base-view__search-chevron {
|
|
119
|
+
font-size: 14px;
|
|
120
|
+
line-height: 1;
|
|
121
|
+
transition: transform .2s ease, color .2s ease;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.knowledge-base-view__search-toggle-button.is-open
|
|
125
|
+
.knowledge-base-view__search-chevron {
|
|
126
|
+
transform: rotate(180deg);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.knowledge-base-view__skill-market-actions {
|
|
130
|
+
display: none;
|
|
131
|
+
flex-shrink: 0;
|
|
132
|
+
overflow: hidden;
|
|
133
|
+
max-height: 0;
|
|
134
|
+
opacity: 0;
|
|
135
|
+
transform: translateY(-6px);
|
|
136
|
+
pointer-events: none;
|
|
137
|
+
transition:
|
|
138
|
+
max-height .24s cubic-bezier(.4, 0, .2, 1),
|
|
139
|
+
opacity .18s ease,
|
|
140
|
+
transform .18s ease,
|
|
141
|
+
margin-top .18s ease;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.knowledge-base-view__skill-market-actions.is-open {
|
|
145
|
+
display: block;
|
|
146
|
+
max-height: 128px;
|
|
147
|
+
opacity: 1;
|
|
148
|
+
transform: translateY(0);
|
|
149
|
+
pointer-events: auto;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.knowledge-base-view__skill-market-actions-inner {
|
|
153
|
+
display: flex;
|
|
154
|
+
align-items: center;
|
|
155
|
+
flex-wrap: wrap;
|
|
156
|
+
gap: 6px;
|
|
157
|
+
min-width: 0;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.knowledge-base-view__skill-toolbar-field {
|
|
161
|
+
position: relative;
|
|
162
|
+
flex: 1 1 150px;
|
|
163
|
+
min-width: 0;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.knowledge-base-view__skill-toolbar-field--wide {
|
|
167
|
+
flex-basis: 220px;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.knowledge-base-view__toolbar-filter-icon {
|
|
171
|
+
position: absolute;
|
|
172
|
+
top: 50%;
|
|
173
|
+
left: 8px;
|
|
174
|
+
transform: translateY(-50%);
|
|
175
|
+
font-size: 14px;
|
|
176
|
+
line-height: 1;
|
|
177
|
+
color: var(--sub-text-color);
|
|
178
|
+
pointer-events: none;
|
|
179
|
+
z-index: 1;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.knowledge-base-view__skill-toolbar-select {
|
|
183
|
+
width: 100%;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.knowledge-base-view__skill-toolbar-select .ant-select-selector {
|
|
187
|
+
height: 30px !important;
|
|
188
|
+
padding-left: 28px !important;
|
|
189
|
+
border-radius: 6px !important;
|
|
190
|
+
background: var(--bg-color) !important;
|
|
191
|
+
align-items: center !important;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.knowledge-base-view__select-chevron {
|
|
195
|
+
font-size: 14px;
|
|
196
|
+
line-height: 1;
|
|
197
|
+
color: var(--sub-text-color);
|
|
198
|
+
transition: transform .2s ease, color .2s ease;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.knowledge-base-view__skill-toolbar-select.ant-select-open
|
|
202
|
+
.knowledge-base-view__select-chevron {
|
|
203
|
+
transform: rotate(180deg);
|
|
204
|
+
color: var(--primary-color);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.knowledge-base-view__skill-registry-errors {
|
|
208
|
+
display: flex;
|
|
209
|
+
flex-wrap: wrap;
|
|
210
|
+
flex-shrink: 0;
|
|
211
|
+
gap: 6px;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.knowledge-base-view__skill-registry-error {
|
|
215
|
+
display: inline-flex;
|
|
216
|
+
align-items: center;
|
|
217
|
+
gap: 4px;
|
|
218
|
+
margin: 0;
|
|
219
|
+
border-radius: 6px;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.knowledge-base-view__skill-results {
|
|
223
|
+
flex: 1;
|
|
224
|
+
min-height: 0;
|
|
225
|
+
display: flex;
|
|
226
|
+
flex-direction: column;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.knowledge-base-view__skill-results-scroll {
|
|
230
|
+
flex: 1;
|
|
231
|
+
min-height: 0;
|
|
232
|
+
overflow: auto;
|
|
233
|
+
overscroll-behavior: contain;
|
|
234
|
+
padding-bottom: 1px;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.knowledge-base-view__skill-market-list {
|
|
238
|
+
flex: none;
|
|
239
|
+
min-height: auto;
|
|
240
|
+
overflow: visible;
|
|
241
|
+
padding-bottom: 0;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.knowledge-base-view__skill-load-more {
|
|
245
|
+
min-height: 36px;
|
|
246
|
+
display: flex;
|
|
247
|
+
align-items: center;
|
|
248
|
+
justify-content: center;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.knowledge-base-view__skill-load-more-button {
|
|
252
|
+
width: 28px !important;
|
|
253
|
+
min-width: 28px !important;
|
|
254
|
+
height: 28px !important;
|
|
255
|
+
min-height: 28px !important;
|
|
256
|
+
padding: 0 !important;
|
|
257
|
+
border-radius: 6px !important;
|
|
258
|
+
color: var(--sub-text-color);
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.knowledge-base-view__skill-load-more-button .material-symbols-rounded {
|
|
262
|
+
font-size: 18px;
|
|
263
|
+
line-height: 1;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.knowledge-base-view__skill-capability,
|
|
267
|
+
.knowledge-base-view__skill-source,
|
|
268
|
+
.knowledge-base-view__skill-status {
|
|
269
|
+
display: inline-flex;
|
|
270
|
+
align-items: center;
|
|
271
|
+
gap: 4px;
|
|
272
|
+
margin: 0;
|
|
273
|
+
border-radius: 6px;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.knowledge-base-view__skill-result {
|
|
277
|
+
width: 100%;
|
|
278
|
+
display: flex;
|
|
279
|
+
align-items: flex-start;
|
|
280
|
+
justify-content: space-between;
|
|
4
281
|
gap: 16px;
|
|
282
|
+
padding: var(--subpage-tertiary-padding);
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.knowledge-base-view__skill-result-actions {
|
|
286
|
+
display: inline-flex;
|
|
287
|
+
align-items: center;
|
|
288
|
+
gap: 6px;
|
|
289
|
+
flex-shrink: 0;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.knowledge-base-view__skill-result-main {
|
|
293
|
+
flex: 1;
|
|
294
|
+
min-width: 0;
|
|
295
|
+
display: flex;
|
|
296
|
+
flex-direction: column;
|
|
297
|
+
gap: 6px;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.knowledge-base-view__skill-subtitle {
|
|
301
|
+
font-size: 11px;
|
|
302
|
+
line-height: 1.35;
|
|
303
|
+
color: var(--sub-text-color);
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.knowledge-base-view__skill-capabilities {
|
|
307
|
+
display: flex;
|
|
308
|
+
flex-wrap: wrap;
|
|
309
|
+
gap: 6px;
|
|
310
|
+
margin-top: 2px;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.knowledge-base-view__registry-form {
|
|
314
|
+
padding-top: 8px;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.knowledge-base-view__skills-cli-form {
|
|
318
|
+
padding-top: 8px;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.knowledge-base-view__skills-cli-search-row {
|
|
322
|
+
display: flex;
|
|
323
|
+
align-items: flex-end;
|
|
324
|
+
gap: 8px;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.knowledge-base-view__skills-cli-search-field {
|
|
328
|
+
flex: 1;
|
|
329
|
+
min-width: 0;
|
|
330
|
+
margin-bottom: 0;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.knowledge-base-view__skills-cli-search-field .ant-form-item-control {
|
|
334
|
+
min-width: 0;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.knowledge-base-view__skills-cli-search-button {
|
|
338
|
+
flex-shrink: 0;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.knowledge-base-view__skills-cli-placeholder,
|
|
342
|
+
.knowledge-base-view__skills-cli-error {
|
|
343
|
+
padding: 12px 0 4px;
|
|
344
|
+
font-size: 13px;
|
|
345
|
+
line-height: 1.5;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.knowledge-base-view__skills-cli-placeholder {
|
|
349
|
+
color: var(--sub-text-color);
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.knowledge-base-view__skills-cli-error {
|
|
353
|
+
color: var(--error-color, #dc2626);
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
.knowledge-base-view__skills-cli-modal-results {
|
|
357
|
+
height: 360px;
|
|
358
|
+
margin-top: 12px;
|
|
359
|
+
display: flex;
|
|
360
|
+
min-height: 0;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
@media (max-width: 640px) {
|
|
364
|
+
.knowledge-base-view--compact .knowledge-base-view__skill-view-switch {
|
|
365
|
+
height: 44px;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
.knowledge-base-view--compact
|
|
369
|
+
.knowledge-base-view__skill-view-switch
|
|
370
|
+
.ant-segmented-group {
|
|
371
|
+
height: 36px;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
.knowledge-base-view--compact
|
|
375
|
+
.knowledge-base-view__skill-view-switch
|
|
376
|
+
.ant-segmented-item,
|
|
377
|
+
.knowledge-base-view--compact
|
|
378
|
+
.knowledge-base-view__skill-view-switch
|
|
379
|
+
.ant-segmented-thumb {
|
|
380
|
+
width: 36px !important;
|
|
381
|
+
min-width: 36px !important;
|
|
382
|
+
height: 36px !important;
|
|
383
|
+
min-height: 36px !important;
|
|
384
|
+
border-radius: 8px !important;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
.knowledge-base-view--compact
|
|
388
|
+
.knowledge-base-view__skill-view-switch
|
|
389
|
+
.ant-segmented-item-label {
|
|
390
|
+
width: 36px;
|
|
391
|
+
min-width: 36px;
|
|
392
|
+
height: 36px;
|
|
393
|
+
min-height: 36px;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
.knowledge-base-view__skill-toolbar-select,
|
|
397
|
+
.knowledge-base-view__skill-market-search-row
|
|
398
|
+
.knowledge-base-view__filter-input {
|
|
399
|
+
min-width: 0;
|
|
400
|
+
flex: 1 1 100%;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
.knowledge-base-view__skill-result {
|
|
404
|
+
gap: 10px;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
.knowledge-base-view__skills-cli-search-row {
|
|
408
|
+
flex-direction: column;
|
|
409
|
+
align-items: stretch;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.knowledge-base-view__skills-cli-search-button {
|
|
413
|
+
width: 100%;
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
@media (min-width: 1280px) {
|
|
418
|
+
.knowledge-base-view__skill-market-list .ant-list-items {
|
|
419
|
+
display: grid;
|
|
420
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
421
|
+
gap: var(--subpage-tertiary-gap);
|
|
422
|
+
align-items: stretch;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
.knowledge-base-view__skill-market-list .ant-list-item,
|
|
426
|
+
.knowledge-base-view__skill-market-list .knowledge-base-view__skill-result {
|
|
427
|
+
height: 100%;
|
|
428
|
+
}
|
|
5
429
|
}
|