@chatcode/cco-better-sidebar 0.18.0-alpha.2 → 0.18.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client-editor.js +262 -262
- package/lib/client-mermaid.js +263 -263
- package/lib/client-registry.js +419 -394
- package/lib/client-terminal.js +263 -263
- package/lib/client.js +421 -396
- package/lib/types/client/session-pins.d.ts +2 -0
- package/lib/types/client/settings-nav-icon.d.ts +6 -1
- package/lib/types/client/ui-tweaks/branding.d.ts +1 -1
- package/lib/types/context-types.d.ts +11 -5
- package/package.json +1 -1
- package/src/client/index.tsx +27 -2
- package/src/client/layout.css +42 -0
- package/src/client/locales-ja.ts +1 -1
- package/src/client/locales.ts +2 -2
- package/src/client/session-pins.tsx +7 -2
- package/src/client/settings-nav-icon.ts +10 -3
- package/src/client/ui-tweaks/branding.tsx +17 -11
- package/src/context-types.ts +12 -5
package/lib/client.js
CHANGED
|
@@ -2014,7 +2014,7 @@ window.__ModuleLoader__.load({
|
|
|
2014
2014
|
updateSettingsDesc: "ChatCode の CLI 版を npm の最新版へ更新します。",
|
|
2015
2015
|
updateChecking: "バージョン更新を確認しています…",
|
|
2016
2016
|
updatePerforming: "最新バージョンへ更新しています…",
|
|
2017
|
-
updateUpToDate: "
|
|
2017
|
+
updateUpToDate: "すでに最新です。",
|
|
2018
2018
|
updateNow: "今すぐ更新",
|
|
2019
2019
|
updateConfirm: "これらのパッケージを最新版へ更新します。反映には再起動が必要です。",
|
|
2020
2020
|
updateRestartHint: "更新が完了しました。ChatCode CLI を再起動してください。",
|
|
@@ -9590,7 +9590,7 @@ window.__ModuleLoader__.load({
|
|
|
9590
9590
|
updateSettingsDesc: "将 ChatCode CLI 端升级到 npm 最新版。",
|
|
9591
9591
|
updateChecking: "正在检查版本更新…",
|
|
9592
9592
|
updatePerforming: "正在升级到最新版本…",
|
|
9593
|
-
updateUpToDate: "
|
|
9593
|
+
updateUpToDate: "已是最新版本。",
|
|
9594
9594
|
updateNow: "立即更新",
|
|
9595
9595
|
updateConfirm: "将把这些包升级到最新版本,完成后需要重启才能生效。",
|
|
9596
9596
|
updateRestartHint: "更新成功,请重启 ChatCode CLI 以使用新版本。",
|
|
@@ -10060,7 +10060,7 @@ window.__ModuleLoader__.load({
|
|
|
10060
10060
|
updateSettingsDesc: "Upgrade the ChatCode CLI to the latest npm version.",
|
|
10061
10061
|
updateChecking: "Checking for version updates…",
|
|
10062
10062
|
updatePerforming: "Upgrading to the latest versions…",
|
|
10063
|
-
updateUpToDate: "
|
|
10063
|
+
updateUpToDate: "Already up to date.",
|
|
10064
10064
|
updateNow: "Update now",
|
|
10065
10065
|
updateConfirm: "These packages will be upgraded to the latest versions. A restart is required to apply them.",
|
|
10066
10066
|
updateRestartHint: "Update complete. Restart ChatCode CLI to use the new version.",
|
|
@@ -11006,295 +11006,295 @@ window.__ModuleLoader__.load({
|
|
|
11006
11006
|
document.head.appendChild(tag);
|
|
11007
11007
|
}
|
|
11008
11008
|
var sidebar_module_css_default = {
|
|
11009
|
-
"
|
|
11010
|
-
"
|
|
11011
|
-
"
|
|
11012
|
-
"
|
|
11013
|
-
"
|
|
11014
|
-
"
|
|
11015
|
-
"
|
|
11016
|
-
"
|
|
11017
|
-
"
|
|
11018
|
-
"
|
|
11019
|
-
"
|
|
11020
|
-
"
|
|
11021
|
-
"
|
|
11009
|
+
"gitCommitButton": "FV0QMq_gitCommitButton",
|
|
11010
|
+
"tabBar": "FV0QMq_tabBar",
|
|
11011
|
+
"editorPdfToolbar": "FV0QMq_editorPdfToolbar",
|
|
11012
|
+
"gitDiffHunkHeader": "FV0QMq_gitDiffHunkHeader",
|
|
11013
|
+
"panelBody": "FV0QMq_panelBody",
|
|
11014
|
+
"gitError": "FV0QMq_gitError",
|
|
11015
|
+
"chatcodeGateError": "FV0QMq_chatcodeGateError",
|
|
11016
|
+
"gitDiffCtx": "FV0QMq_gitDiffCtx",
|
|
11017
|
+
"browserBlocked": "FV0QMq_browserBlocked",
|
|
11018
|
+
"pane": "FV0QMq_pane",
|
|
11019
|
+
"paneCard": "FV0QMq_paneCard",
|
|
11020
|
+
"gitConfirmDesc": "FV0QMq_gitConfirmDesc",
|
|
11021
|
+
"gitDiffExpand": "FV0QMq_gitDiffExpand",
|
|
11022
|
+
"tabBadge": "FV0QMq_tabBadge",
|
|
11023
|
+
"pinnedTab": "FV0QMq_pinnedTab",
|
|
11024
|
+
"editorStatus": "FV0QMq_editorStatus",
|
|
11025
|
+
"mermaidModalHint": "FV0QMq_mermaidModalHint",
|
|
11026
|
+
"explorerRowDropTarget": "FV0QMq_explorerRowDropTarget",
|
|
11027
|
+
"mermaidModalToolbar": "FV0QMq_mermaidModalToolbar",
|
|
11022
11028
|
"gitDiffFileOld": "FV0QMq_gitDiffFileOld",
|
|
11023
|
-
"
|
|
11024
|
-
"
|
|
11025
|
-
"
|
|
11026
|
-
"
|
|
11027
|
-
"
|
|
11028
|
-
"toggleCluster": "FV0QMq_toggleCluster",
|
|
11029
|
-
"uploadOverlayCard": "FV0QMq_uploadOverlayCard",
|
|
11030
|
-
"gitWorktreeLabel": "FV0QMq_gitWorktreeLabel",
|
|
11029
|
+
"bottomResize": "FV0QMq_bottomResize",
|
|
11030
|
+
"updateBody": "FV0QMq_updateBody",
|
|
11031
|
+
"git": "FV0QMq_git",
|
|
11032
|
+
"gitDiffFileChevronExpanded": "FV0QMq_gitDiffFileChevronExpanded",
|
|
11033
|
+
"editorPdfDragShieldActive": "FV0QMq_editorPdfDragShieldActive",
|
|
11031
11034
|
"updateList": "FV0QMq_updateList",
|
|
11032
|
-
"explorerRow": "FV0QMq_explorerRow",
|
|
11033
|
-
"uploadOverlayCancel": "FV0QMq_uploadOverlayCancel",
|
|
11034
|
-
"editorBinaryNotice": "FV0QMq_editorBinaryNotice",
|
|
11035
|
-
"mermaidHeader": "FV0QMq_mermaidHeader",
|
|
11036
|
-
"mermaidError": "FV0QMq_mermaidError",
|
|
11037
|
-
"gitDiffHunkHeader": "FV0QMq_gitDiffHunkHeader",
|
|
11038
|
-
"mermaidCode": "FV0QMq_mermaidCode",
|
|
11039
11035
|
"gitDiffHunkSection": "FV0QMq_gitDiffHunkSection",
|
|
11040
|
-
"uploadOverlayProgress": "FV0QMq_uploadOverlayProgress",
|
|
11041
|
-
"gitDiffHunk": "FV0QMq_gitDiffHunk",
|
|
11042
|
-
"pinnedTab": "FV0QMq_pinnedTab",
|
|
11043
|
-
"gitDiffDel": "FV0QMq_gitDiffDel",
|
|
11044
|
-
"gitDiffExpand": "FV0QMq_gitDiffExpand",
|
|
11045
|
-
"editorDownloadLink": "FV0QMq_editorDownloadLink",
|
|
11046
|
-
"editorTreeSearch": "FV0QMq_editorTreeSearch",
|
|
11047
|
-
"gitLogSubject": "FV0QMq_gitLogSubject",
|
|
11048
|
-
"producedLabel": "FV0QMq_producedLabel",
|
|
11049
11036
|
"editorPdfDragShield": "FV0QMq_editorPdfDragShield",
|
|
11050
|
-
"
|
|
11051
|
-
"
|
|
11052
|
-
"
|
|
11053
|
-
"tocItem": "FV0QMq_tocItem",
|
|
11037
|
+
"editorDocxZoomRange": "FV0QMq_editorDocxZoomRange",
|
|
11038
|
+
"gitLogRef": "FV0QMq_gitLogRef",
|
|
11039
|
+
"gitRowMain": "FV0QMq_gitRowMain",
|
|
11054
11040
|
"updateInline": "FV0QMq_updateInline",
|
|
11055
|
-
"
|
|
11041
|
+
"split": "FV0QMq_split",
|
|
11042
|
+
"releaseNotesButton": "FV0QMq_releaseNotesButton",
|
|
11043
|
+
"tocItemLevel": "FV0QMq_tocItemLevel",
|
|
11044
|
+
"mermaidBody": "FV0QMq_mermaidBody",
|
|
11045
|
+
"splitRow": "FV0QMq_splitRow",
|
|
11046
|
+
"explorerError": "FV0QMq_explorerError",
|
|
11047
|
+
"gitDiffTabHeader": "FV0QMq_gitDiffTabHeader",
|
|
11048
|
+
"gitDiffFile": "FV0QMq_gitDiffFile",
|
|
11049
|
+
"explorerRow": "FV0QMq_explorerRow",
|
|
11050
|
+
"editorBinaryNotice": "FV0QMq_editorBinaryNotice",
|
|
11051
|
+
"sandboxStatus": "FV0QMq_sandboxStatus",
|
|
11056
11052
|
"fenceError": "FV0QMq_fenceError",
|
|
11053
|
+
"dropCenter": "FV0QMq_dropCenter",
|
|
11054
|
+
"terminalRetry": "FV0QMq_terminalRetry",
|
|
11055
|
+
"terminalRepairCommand": "FV0QMq_terminalRepairCommand",
|
|
11056
|
+
"gitWorktreeRow": "FV0QMq_gitWorktreeRow",
|
|
11057
|
+
"openWithName": "FV0QMq_openWithName",
|
|
11057
11058
|
"dsh-toc-flash": "FV0QMq_dsh-toc-flash",
|
|
11058
|
-
"editorTreeResize": "FV0QMq_editorTreeResize",
|
|
11059
|
-
"gitLogLine1": "FV0QMq_gitLogLine1",
|
|
11060
|
-
"accountMenuDivider": "FV0QMq_accountMenuDivider",
|
|
11061
|
-
"editorTreeToggleActive": "FV0QMq_editorTreeToggleActive",
|
|
11062
|
-
"editorMain": "FV0QMq_editorMain",
|
|
11063
|
-
"editorImage": "FV0QMq_editorImage",
|
|
11064
|
-
"pinnedSessionsHeading": "FV0QMq_pinnedSessionsHeading",
|
|
11065
|
-
"browserMessage": "FV0QMq_browserMessage",
|
|
11066
|
-
"dropUp": "FV0QMq_dropUp",
|
|
11067
|
-
"editorSearchInput": "FV0QMq_editorSearchInput",
|
|
11068
|
-
"browser": "FV0QMq_browser",
|
|
11069
|
-
"releaseNotesIconButton": "FV0QMq_releaseNotesIconButton",
|
|
11070
|
-
"bottomPanel": "FV0QMq_bottomPanel",
|
|
11071
|
-
"splitChild": "FV0QMq_splitChild",
|
|
11072
|
-
"tocItemLevel": "FV0QMq_tocItemLevel",
|
|
11073
|
-
"panelResize": "FV0QMq_panelResize",
|
|
11074
|
-
"mermaidModal": "FV0QMq_mermaidModal",
|
|
11075
|
-
"boundaryError": "FV0QMq_boundaryError",
|
|
11076
|
-
"panelResizeActive": "FV0QMq_panelResizeActive",
|
|
11077
|
-
"floatTitle": "FV0QMq_floatTitle",
|
|
11078
|
-
"releaseNotesFooter": "FV0QMq_releaseNotesFooter",
|
|
11079
|
-
"pinnedSessions": "FV0QMq_pinnedSessions",
|
|
11080
|
-
"tabBadge": "FV0QMq_tabBadge",
|
|
11081
|
-
"orphanedType": "FV0QMq_orphanedType",
|
|
11082
|
-
"sandboxStatusOn": "FV0QMq_sandboxStatusOn",
|
|
11083
|
-
"browserBlockedDesc": "FV0QMq_browserBlockedDesc",
|
|
11084
|
-
"gitDiffTabTitle": "FV0QMq_gitDiffTabTitle",
|
|
11085
|
-
"gitDiffFilePath": "FV0QMq_gitDiffFilePath",
|
|
11086
11059
|
"editorPdfFrameBlocked": "FV0QMq_editorPdfFrameBlocked",
|
|
11087
|
-
"
|
|
11088
|
-
"
|
|
11089
|
-
"
|
|
11090
|
-
"
|
|
11091
|
-
"
|
|
11092
|
-
"
|
|
11093
|
-
"tocItemText": "FV0QMq_tocItemText",
|
|
11094
|
-
"gitName": "FV0QMq_gitName",
|
|
11095
|
-
"tocBar": "FV0QMq_tocBar",
|
|
11096
|
-
"floatHeader": "FV0QMq_floatHeader",
|
|
11097
|
-
"dropRight": "FV0QMq_dropRight",
|
|
11098
|
-
"uploadDropZonePill": "FV0QMq_uploadDropZonePill",
|
|
11099
|
-
"sandboxDot": "FV0QMq_sandboxDot",
|
|
11100
|
-
"gitEmpty": "FV0QMq_gitEmpty",
|
|
11101
|
-
"gitDiffFileChevron": "FV0QMq_gitDiffFileChevron",
|
|
11102
|
-
"mermaidModalButton": "FV0QMq_mermaidModalButton",
|
|
11060
|
+
"gitDiffLine": "FV0QMq_gitDiffLine",
|
|
11061
|
+
"dividerCol": "FV0QMq_dividerCol",
|
|
11062
|
+
"updateErrorText": "FV0QMq_updateErrorText",
|
|
11063
|
+
"gitBadge": "FV0QMq_gitBadge",
|
|
11064
|
+
"gitLogLine1": "FV0QMq_gitLogLine1",
|
|
11065
|
+
"editorHtmlBlock": "FV0QMq_editorHtmlBlock",
|
|
11103
11066
|
"dirtyDot": "FV0QMq_dirtyDot",
|
|
11104
|
-
"
|
|
11105
|
-
"explorerDir": "FV0QMq_explorerDir",
|
|
11106
|
-
"terminalDepsHint": "FV0QMq_terminalDepsHint",
|
|
11107
|
-
"accountAvatar": "FV0QMq_accountAvatar",
|
|
11108
|
-
"gitDiffFileTag": "FV0QMq_gitDiffFileTag",
|
|
11109
|
-
"gitLogMeta": "FV0QMq_gitLogMeta",
|
|
11110
|
-
"gitSectionHeader": "FV0QMq_gitSectionHeader",
|
|
11111
|
-
"updateVersions": "FV0QMq_updateVersions",
|
|
11112
|
-
"updateSettingsText": "FV0QMq_updateSettingsText",
|
|
11113
|
-
"explorerHidden": "FV0QMq_explorerHidden",
|
|
11114
|
-
"uploadOverlayTitle": "FV0QMq_uploadOverlayTitle",
|
|
11115
|
-
"editorPdfDragShieldActive": "FV0QMq_editorPdfDragShieldActive",
|
|
11116
|
-
"updateBody": "FV0QMq_updateBody",
|
|
11117
|
-
"selectionPopup": "FV0QMq_selectionPopup",
|
|
11118
|
-
"terminalBannerUrl": "FV0QMq_terminalBannerUrl",
|
|
11119
|
-
"browserBlocked": "FV0QMq_browserBlocked",
|
|
11120
|
-
"panelBody": "FV0QMq_panelBody",
|
|
11121
|
-
"bottomPanelHidden": "FV0QMq_bottomPanelHidden",
|
|
11122
|
-
"floatWindow": "FV0QMq_floatWindow",
|
|
11067
|
+
"explorerBroken": "FV0QMq_explorerBroken",
|
|
11123
11068
|
"dropOverlay": "FV0QMq_dropOverlay",
|
|
11124
|
-
"
|
|
11125
|
-
"
|
|
11126
|
-
"
|
|
11127
|
-
"
|
|
11128
|
-
"explorer": "FV0QMq_explorer",
|
|
11129
|
-
"floatContent": "FV0QMq_floatContent",
|
|
11069
|
+
"floatResize": "FV0QMq_floatResize",
|
|
11070
|
+
"terminalDepsTitle": "FV0QMq_terminalDepsTitle",
|
|
11071
|
+
"gitLogMore": "FV0QMq_gitLogMore",
|
|
11072
|
+
"updateError": "FV0QMq_updateError",
|
|
11130
11073
|
"paneTabHidden": "FV0QMq_paneTabHidden",
|
|
11131
|
-
"
|
|
11132
|
-
"
|
|
11133
|
-
"tabActive": "FV0QMq_tabActive",
|
|
11134
|
-
"browserBar": "FV0QMq_browserBar",
|
|
11135
|
-
"releaseNotesDialog": "FV0QMq_releaseNotesDialog",
|
|
11136
|
-
"editorModeToggle": "FV0QMq_editorModeToggle",
|
|
11137
|
-
"pinnedSessionsList": "FV0QMq_pinnedSessionsList",
|
|
11138
|
-
"dsh-row-in": "FV0QMq_dsh-row-in",
|
|
11139
|
-
"terminalDepsCommandRow": "FV0QMq_terminalDepsCommandRow",
|
|
11140
|
-
"terminalWrap": "FV0QMq_terminalWrap",
|
|
11141
|
-
"openWithName": "FV0QMq_openWithName",
|
|
11142
|
-
"explorerName": "FV0QMq_explorerName",
|
|
11143
|
-
"browserStart": "FV0QMq_browserStart",
|
|
11144
|
-
"gitDiffCode": "FV0QMq_gitDiffCode",
|
|
11145
|
-
"terminalRetry": "FV0QMq_terminalRetry",
|
|
11146
|
-
"openWithPin": "FV0QMq_openWithPin",
|
|
11147
|
-
"sandboxStatusText": "FV0QMq_sandboxStatusText",
|
|
11148
|
-
"editorStatus": "FV0QMq_editorStatus",
|
|
11149
|
-
"sandboxStatus": "FV0QMq_sandboxStatus",
|
|
11150
|
-
"updateErrorText": "FV0QMq_updateErrorText",
|
|
11151
|
-
"uploadDropZone": "FV0QMq_uploadDropZone",
|
|
11152
|
-
"gitSection": "FV0QMq_gitSection",
|
|
11153
|
-
"splitCol": "FV0QMq_splitCol",
|
|
11154
|
-
"explorerRowRevealed": "FV0QMq_explorerRowRevealed",
|
|
11155
|
-
"dividerCol": "FV0QMq_dividerCol",
|
|
11156
|
-
"paneContent": "FV0QMq_paneContent",
|
|
11157
|
-
"tocButton": "FV0QMq_tocButton",
|
|
11158
|
-
"pinnedSessionTitle": "FV0QMq_pinnedSessionTitle",
|
|
11159
|
-
"openWithPinActive": "FV0QMq_openWithPinActive",
|
|
11160
|
-
"uploadOverlayProgressFill": "FV0QMq_uploadOverlayProgressFill",
|
|
11161
|
-
"gitDiffMeta": "FV0QMq_gitDiffMeta",
|
|
11162
|
-
"terminalDepsBanner": "FV0QMq_terminalDepsBanner",
|
|
11163
|
-
"gitLogLine2": "FV0QMq_gitLogLine2",
|
|
11164
|
-
"tabBar": "FV0QMq_tabBar",
|
|
11165
|
-
"explorerSymlink": "FV0QMq_explorerSymlink",
|
|
11166
|
-
"terminal": "FV0QMq_terminal",
|
|
11167
|
-
"uploadDropHero": "FV0QMq_uploadDropHero",
|
|
11168
|
-
"terminalDepsNote": "FV0QMq_terminalDepsNote",
|
|
11169
|
-
"gitPlaceholder": "FV0QMq_gitPlaceholder",
|
|
11170
|
-
"dividerRow": "FV0QMq_dividerRow",
|
|
11171
|
-
"uploadDropChatHint": "FV0QMq_uploadDropChatHint",
|
|
11172
|
-
"mermaidModalStage": "FV0QMq_mermaidModalStage",
|
|
11173
|
-
"terminalDepsActions": "FV0QMq_terminalDepsActions",
|
|
11174
|
-
"bottomResizeActive": "FV0QMq_bottomResizeActive",
|
|
11175
|
-
"gitConfirmDesc": "FV0QMq_gitConfirmDesc",
|
|
11176
|
-
"mermaidMarkdown": "FV0QMq_mermaidMarkdown",
|
|
11177
|
-
"dropLeft": "FV0QMq_dropLeft",
|
|
11178
|
-
"editorTreeDock": "FV0QMq_editorTreeDock",
|
|
11179
|
-
"tab": "FV0QMq_tab",
|
|
11180
|
-
"sandboxAction": "FV0QMq_sandboxAction",
|
|
11181
|
-
"cornerHandle": "FV0QMq_cornerHandle",
|
|
11182
|
-
"explorerError": "FV0QMq_explorerError",
|
|
11183
|
-
"updateSettingsTitle": "FV0QMq_updateSettingsTitle",
|
|
11184
|
-
"editorTitle": "FV0QMq_editorTitle",
|
|
11185
|
-
"editorTreePanelFull": "FV0QMq_editorTreePanelFull",
|
|
11074
|
+
"accountDropdown": "FV0QMq_accountDropdown",
|
|
11075
|
+
"floatHeader": "FV0QMq_floatHeader",
|
|
11186
11076
|
"gitDiffTab": "FV0QMq_gitDiffTab",
|
|
11187
|
-
"
|
|
11188
|
-
"
|
|
11189
|
-
"
|
|
11190
|
-
"
|
|
11191
|
-
"updateSettingsBlock": "FV0QMq_updateSettingsBlock",
|
|
11192
|
-
"gitWorktreeRow": "FV0QMq_gitWorktreeRow",
|
|
11193
|
-
"paneTab": "FV0QMq_paneTab",
|
|
11194
|
-
"uploadOverlay": "FV0QMq_uploadOverlay",
|
|
11195
|
-
"browserFrame": "FV0QMq_browserFrame",
|
|
11196
|
-
"gitDiffNum": "FV0QMq_gitDiffNum",
|
|
11197
|
-
"gitDiffAdd": "FV0QMq_gitDiffAdd",
|
|
11198
|
-
"floatWindowDragging": "FV0QMq_floatWindowDragging",
|
|
11199
|
-
"terminalRepairCommand": "FV0QMq_terminalRepairCommand",
|
|
11200
|
-
"chatcodeGateCard": "FV0QMq_chatcodeGateCard",
|
|
11201
|
-
"gitRowSelected": "FV0QMq_gitRowSelected",
|
|
11202
|
-
"tabList": "FV0QMq_tabList",
|
|
11203
|
-
"pinnedSessionDot": "FV0QMq_pinnedSessionDot",
|
|
11204
|
-
"explorerEmpty": "FV0QMq_explorerEmpty",
|
|
11205
|
-
"editorPdfToolbar": "FV0QMq_editorPdfToolbar",
|
|
11206
|
-
"gitCommit": "FV0QMq_gitCommit",
|
|
11207
|
-
"uploadDropZoneText": "FV0QMq_uploadDropZoneText",
|
|
11208
|
-
"explorerHeader": "FV0QMq_explorerHeader",
|
|
11209
|
-
"editorHtml": "FV0QMq_editorHtml",
|
|
11210
|
-
"mermaidCopy": "FV0QMq_mermaidCopy",
|
|
11211
|
-
"mermaidModalToolbar": "FV0QMq_mermaidModalToolbar",
|
|
11212
|
-
"gitHeader": "FV0QMq_gitHeader",
|
|
11213
|
-
"gitDiffCtx": "FV0QMq_gitDiffCtx",
|
|
11214
|
-
"updateOk": "FV0QMq_updateOk",
|
|
11215
|
-
"accountPresence": "FV0QMq_accountPresence",
|
|
11216
|
-
"openWithLabel": "FV0QMq_openWithLabel",
|
|
11217
|
-
"gitCommitInput": "FV0QMq_gitCommitInput",
|
|
11218
|
-
"pane": "FV0QMq_pane",
|
|
11219
|
-
"panel": "FV0QMq_panel",
|
|
11220
|
-
"paneDrop": "FV0QMq_paneDrop",
|
|
11077
|
+
"gitDiffFileTag": "FV0QMq_gitDiffFileTag",
|
|
11078
|
+
"gitLogMeta": "FV0QMq_gitLogMeta",
|
|
11079
|
+
"editor": "FV0QMq_editor",
|
|
11080
|
+
"chatcodeGateContent": "FV0QMq_chatcodeGateContent",
|
|
11221
11081
|
"editorPdf": "FV0QMq_editorPdf",
|
|
11222
|
-
"
|
|
11223
|
-
"
|
|
11224
|
-
"
|
|
11082
|
+
"gitDiffDel": "FV0QMq_gitDiffDel",
|
|
11083
|
+
"tocItem": "FV0QMq_tocItem",
|
|
11084
|
+
"uploadDropZonePill": "FV0QMq_uploadDropZonePill",
|
|
11225
11085
|
"editorPlaceholder": "FV0QMq_editorPlaceholder",
|
|
11226
|
-
"
|
|
11227
|
-
"
|
|
11228
|
-
"
|
|
11229
|
-
"editorHtmlBlock": "FV0QMq_editorHtmlBlock",
|
|
11086
|
+
"terminalDepsBanner": "FV0QMq_terminalDepsBanner",
|
|
11087
|
+
"openWithPinActive": "FV0QMq_openWithPinActive",
|
|
11088
|
+
"terminal": "FV0QMq_terminal",
|
|
11230
11089
|
"bottomClose": "FV0QMq_bottomClose",
|
|
11231
|
-
"
|
|
11232
|
-
"gitRow": "FV0QMq_gitRow",
|
|
11233
|
-
"editorSearchResult": "FV0QMq_editorSearchResult",
|
|
11234
|
-
"releaseNotesHeader": "FV0QMq_releaseNotesHeader",
|
|
11235
|
-
"panelHidden": "FV0QMq_panelHidden",
|
|
11236
|
-
"pinnedSessionMenu": "FV0QMq_pinnedSessionMenu",
|
|
11237
|
-
"divider": "FV0QMq_divider",
|
|
11238
|
-
"gitBadge": "FV0QMq_gitBadge",
|
|
11239
|
-
"tabBarDrop": "FV0QMq_tabBarDrop",
|
|
11090
|
+
"gitDiffNum": "FV0QMq_gitDiffNum",
|
|
11240
11091
|
"sandboxStatusOff": "FV0QMq_sandboxStatusOff",
|
|
11241
|
-
"
|
|
11242
|
-
"
|
|
11243
|
-
"
|
|
11244
|
-
"
|
|
11245
|
-
"
|
|
11246
|
-
"
|
|
11247
|
-
"
|
|
11248
|
-
"
|
|
11249
|
-
"terminalDepsTitle": "FV0QMq_terminalDepsTitle",
|
|
11092
|
+
"editorDownloadLink": "FV0QMq_editorDownloadLink",
|
|
11093
|
+
"openWithPin": "FV0QMq_openWithPin",
|
|
11094
|
+
"browser": "FV0QMq_browser",
|
|
11095
|
+
"accountItem": "FV0QMq_accountItem",
|
|
11096
|
+
"gitLink": "FV0QMq_gitLink",
|
|
11097
|
+
"floatClose": "FV0QMq_floatClose",
|
|
11098
|
+
"tabList": "FV0QMq_tabList",
|
|
11099
|
+
"editorImageWrap": "FV0QMq_editorImageWrap",
|
|
11250
11100
|
"gitDiffMetaText": "FV0QMq_gitDiffMetaText",
|
|
11251
|
-
"dropCenter": "FV0QMq_dropCenter",
|
|
11252
11101
|
"gitBranchSelect": "FV0QMq_gitBranchSelect",
|
|
11102
|
+
"uploadOverlay": "FV0QMq_uploadOverlay",
|
|
11103
|
+
"pinnedSessionDot": "FV0QMq_pinnedSessionDot",
|
|
11104
|
+
"gitDiffHunk": "FV0QMq_gitDiffHunk",
|
|
11105
|
+
"browserBlockedDesc": "FV0QMq_browserBlockedDesc",
|
|
11106
|
+
"sandboxStatusText": "FV0QMq_sandboxStatusText",
|
|
11107
|
+
"gitSection": "FV0QMq_gitSection",
|
|
11108
|
+
"panelResize": "FV0QMq_panelResize",
|
|
11109
|
+
"panel": "FV0QMq_panel",
|
|
11110
|
+
"orphanedType": "FV0QMq_orphanedType",
|
|
11111
|
+
"gitDiffAdd": "FV0QMq_gitDiffAdd",
|
|
11112
|
+
"tabBarDrop": "FV0QMq_tabBarDrop",
|
|
11113
|
+
"paneDrop": "FV0QMq_paneDrop",
|
|
11114
|
+
"uploadDropChatHint": "FV0QMq_uploadDropChatHint",
|
|
11253
11115
|
"accountName": "FV0QMq_accountName",
|
|
11116
|
+
"dsh-row-in": "FV0QMq_dsh-row-in",
|
|
11117
|
+
"editorTreePanel": "FV0QMq_editorTreePanel",
|
|
11118
|
+
"terminalDepsNote": "FV0QMq_terminalDepsNote",
|
|
11119
|
+
"mermaidCopy": "FV0QMq_mermaidCopy",
|
|
11120
|
+
"mermaidHeader": "FV0QMq_mermaidHeader",
|
|
11121
|
+
"editorModeButton": "FV0QMq_editorModeButton",
|
|
11122
|
+
"updateOk": "FV0QMq_updateOk",
|
|
11123
|
+
"browserBlockedTitle": "FV0QMq_browserBlockedTitle",
|
|
11124
|
+
"gitLogRow": "FV0QMq_gitLogRow",
|
|
11125
|
+
"explorerDir": "FV0QMq_explorerDir",
|
|
11126
|
+
"updateSettingsDesc": "FV0QMq_updateSettingsDesc",
|
|
11127
|
+
"sandboxAction": "FV0QMq_sandboxAction",
|
|
11128
|
+
"toggleButton": "FV0QMq_toggleButton",
|
|
11129
|
+
"pinnedSessionsList": "FV0QMq_pinnedSessionsList",
|
|
11130
|
+
"uploadDropHero": "FV0QMq_uploadDropHero",
|
|
11131
|
+
"editorTreeSearch": "FV0QMq_editorTreeSearch",
|
|
11132
|
+
"floatContent": "FV0QMq_floatContent",
|
|
11133
|
+
"floatTitle": "FV0QMq_floatTitle",
|
|
11134
|
+
"uploadDropZoneText": "FV0QMq_uploadDropZoneText",
|
|
11135
|
+
"releaseNotesDialog": "FV0QMq_releaseNotesDialog",
|
|
11136
|
+
"gitEmpty": "FV0QMq_gitEmpty",
|
|
11137
|
+
"gitLogSubject": "FV0QMq_gitLogSubject",
|
|
11254
11138
|
"producedMore": "FV0QMq_producedMore",
|
|
11255
|
-
"
|
|
11256
|
-
"
|
|
11257
|
-
"
|
|
11258
|
-
"
|
|
11259
|
-
"
|
|
11260
|
-
"
|
|
11261
|
-
"
|
|
11139
|
+
"pinnedSessionMenu": "FV0QMq_pinnedSessionMenu",
|
|
11140
|
+
"browserBar": "FV0QMq_browserBar",
|
|
11141
|
+
"bottomResizeActive": "FV0QMq_bottomResizeActive",
|
|
11142
|
+
"accountDropdownHeader": "FV0QMq_accountDropdownHeader",
|
|
11143
|
+
"explorerRoot": "FV0QMq_explorerRoot",
|
|
11144
|
+
"accountMenu": "FV0QMq_accountMenu",
|
|
11145
|
+
"pinnedSessionsHeading": "FV0QMq_pinnedSessionsHeading",
|
|
11146
|
+
"editorPptxButton": "FV0QMq_editorPptxButton",
|
|
11147
|
+
"editorHeader": "FV0QMq_editorHeader",
|
|
11148
|
+
"tocPanel": "FV0QMq_tocPanel",
|
|
11149
|
+
"floatWindowDragging": "FV0QMq_floatWindowDragging",
|
|
11150
|
+
"editorPdfStage": "FV0QMq_editorPdfStage",
|
|
11151
|
+
"iconButton": "FV0QMq_iconButton",
|
|
11152
|
+
"selectionPopup": "FV0QMq_selectionPopup",
|
|
11153
|
+
"editorCmHidden": "FV0QMq_editorCmHidden",
|
|
11154
|
+
"editorPathInput": "FV0QMq_editorPathInput",
|
|
11155
|
+
"gitWorktreeLabel": "FV0QMq_gitWorktreeLabel",
|
|
11156
|
+
"explorerName": "FV0QMq_explorerName",
|
|
11157
|
+
"splitCol": "FV0QMq_splitCol",
|
|
11158
|
+
"mermaidModal": "FV0QMq_mermaidModal",
|
|
11159
|
+
"browserStart": "FV0QMq_browserStart",
|
|
11160
|
+
"gitLogHash": "FV0QMq_gitLogHash",
|
|
11161
|
+
"editorError": "FV0QMq_editorError",
|
|
11162
|
+
"mermaidWrap": "FV0QMq_mermaidWrap",
|
|
11163
|
+
"updateCommand": "FV0QMq_updateCommand",
|
|
11164
|
+
"paneTab": "FV0QMq_paneTab",
|
|
11165
|
+
"explorerSymlink": "FV0QMq_explorerSymlink",
|
|
11166
|
+
"editorTreePanelFull": "FV0QMq_editorTreePanelFull",
|
|
11167
|
+
"explorerRowRevealed": "FV0QMq_explorerRowRevealed",
|
|
11168
|
+
"terminalDepsCommandRow": "FV0QMq_terminalDepsCommandRow",
|
|
11262
11169
|
"dividerActive": "FV0QMq_dividerActive",
|
|
11263
|
-
"
|
|
11264
|
-
"explorerRowDropTarget": "FV0QMq_explorerRowDropTarget",
|
|
11265
|
-
"editorMd": "FV0QMq_editorMd",
|
|
11170
|
+
"panelResizeActive": "FV0QMq_panelResizeActive",
|
|
11266
11171
|
"updateFooter": "FV0QMq_updateFooter",
|
|
11267
|
-
"
|
|
11268
|
-
"browserBlockedButton": "FV0QMq_browserBlockedButton",
|
|
11269
|
-
"pinnedSessionMore": "FV0QMq_pinnedSessionMore",
|
|
11172
|
+
"pinnedSessionRow": "FV0QMq_pinnedSessionRow",
|
|
11270
11173
|
"floatDropHint": "FV0QMq_floatDropHint",
|
|
11174
|
+
"dropUp": "FV0QMq_dropUp",
|
|
11175
|
+
"pinnedSessionTitle": "FV0QMq_pinnedSessionTitle",
|
|
11176
|
+
"gitRow": "FV0QMq_gitRow",
|
|
11177
|
+
"updateVersions": "FV0QMq_updateVersions",
|
|
11178
|
+
"paneEmptyCards": "FV0QMq_paneEmptyCards",
|
|
11179
|
+
"terminalBannerUrl": "FV0QMq_terminalBannerUrl",
|
|
11180
|
+
"gitSectionHeader": "FV0QMq_gitSectionHeader",
|
|
11181
|
+
"gitDiffFileChevron": "FV0QMq_gitDiffFileChevron",
|
|
11271
11182
|
"editorBody": "FV0QMq_editorBody",
|
|
11183
|
+
"gitDiffCode": "FV0QMq_gitDiffCode",
|
|
11184
|
+
"pinnedSessions": "FV0QMq_pinnedSessions",
|
|
11185
|
+
"browserMessage": "FV0QMq_browserMessage",
|
|
11186
|
+
"browserBlockedButton": "FV0QMq_browserBlockedButton",
|
|
11187
|
+
"dropRight": "FV0QMq_dropRight",
|
|
11188
|
+
"terminalBanner": "FV0QMq_terminalBanner",
|
|
11189
|
+
"bottomPanel": "FV0QMq_bottomPanel",
|
|
11190
|
+
"browserFrame": "FV0QMq_browserFrame",
|
|
11272
11191
|
"accountTrigger": "FV0QMq_accountTrigger",
|
|
11273
|
-
"
|
|
11274
|
-
"
|
|
11275
|
-
"
|
|
11276
|
-
"
|
|
11277
|
-
"
|
|
11192
|
+
"editorHtml": "FV0QMq_editorHtml",
|
|
11193
|
+
"browserInput": "FV0QMq_browserInput",
|
|
11194
|
+
"updateSettingsBlock": "FV0QMq_updateSettingsBlock",
|
|
11195
|
+
"accountAvatar": "FV0QMq_accountAvatar",
|
|
11196
|
+
"divider": "FV0QMq_divider",
|
|
11197
|
+
"dropLeft": "FV0QMq_dropLeft",
|
|
11198
|
+
"sandboxDot": "FV0QMq_sandboxDot",
|
|
11199
|
+
"explorerCopied": "FV0QMq_explorerCopied",
|
|
11200
|
+
"toggleClusterNative": "FV0QMq_toggleClusterNative",
|
|
11201
|
+
"updateSettingsTitle": "FV0QMq_updateSettingsTitle",
|
|
11202
|
+
"uploadOverlayCard": "FV0QMq_uploadOverlayCard",
|
|
11203
|
+
"editorMd": "FV0QMq_editorMd",
|
|
11204
|
+
"gitCommit": "FV0QMq_gitCommit",
|
|
11205
|
+
"releaseNotesIconButton": "FV0QMq_releaseNotesIconButton",
|
|
11206
|
+
"uploadOverlayStatus": "FV0QMq_uploadOverlayStatus",
|
|
11207
|
+
"producedChip": "FV0QMq_producedChip",
|
|
11208
|
+
"tabActive": "FV0QMq_tabActive",
|
|
11209
|
+
"terminalDepsHint": "FV0QMq_terminalDepsHint",
|
|
11210
|
+
"tocItemText": "FV0QMq_tocItemText",
|
|
11211
|
+
"gitRowSelected": "FV0QMq_gitRowSelected",
|
|
11212
|
+
"gitName": "FV0QMq_gitName",
|
|
11213
|
+
"updateSettingsText": "FV0QMq_updateSettingsText",
|
|
11214
|
+
"accountMenuDivider": "FV0QMq_accountMenuDivider",
|
|
11215
|
+
"releaseNotesOverlay": "FV0QMq_releaseNotesOverlay",
|
|
11278
11216
|
"tabBarPlus": "FV0QMq_tabBarPlus",
|
|
11279
|
-
"
|
|
11280
|
-
"
|
|
11217
|
+
"tabTitle": "FV0QMq_tabTitle",
|
|
11218
|
+
"editorSearchInput": "FV0QMq_editorSearchInput",
|
|
11219
|
+
"mermaidModalStage": "FV0QMq_mermaidModalStage",
|
|
11220
|
+
"uploadDropChatCard": "FV0QMq_uploadDropChatCard",
|
|
11221
|
+
"floatDropHintLabel": "FV0QMq_floatDropHintLabel",
|
|
11222
|
+
"paneContent": "FV0QMq_paneContent",
|
|
11223
|
+
"workbench": "FV0QMq_workbench",
|
|
11224
|
+
"explorerEmpty": "FV0QMq_explorerEmpty",
|
|
11225
|
+
"editorBinary": "FV0QMq_editorBinary",
|
|
11226
|
+
"mermaidInfo": "FV0QMq_mermaidInfo",
|
|
11227
|
+
"tocBar": "FV0QMq_tocBar",
|
|
11228
|
+
"editorCm": "FV0QMq_editorCm",
|
|
11229
|
+
"explorerHidden": "FV0QMq_explorerHidden",
|
|
11230
|
+
"editorMain": "FV0QMq_editorMain",
|
|
11231
|
+
"splitChild": "FV0QMq_splitChild",
|
|
11232
|
+
"uploadOverlayProgressFill": "FV0QMq_uploadOverlayProgressFill",
|
|
11233
|
+
"tocFlash": "FV0QMq_tocFlash",
|
|
11234
|
+
"explorerRef": "FV0QMq_explorerRef",
|
|
11235
|
+
"editorBanner": "FV0QMq_editorBanner",
|
|
11236
|
+
"mermaidMarkdown": "FV0QMq_mermaidMarkdown",
|
|
11237
|
+
"releaseNotesHeader": "FV0QMq_releaseNotesHeader",
|
|
11238
|
+
"pinnedSessionMore": "FV0QMq_pinnedSessionMore",
|
|
11239
|
+
"editorModeActive": "FV0QMq_editorModeActive",
|
|
11240
|
+
"explorer": "FV0QMq_explorer",
|
|
11241
|
+
"producedLabel": "FV0QMq_producedLabel",
|
|
11242
|
+
"tocButton": "FV0QMq_tocButton",
|
|
11243
|
+
"tabBoundaryError": "FV0QMq_tabBoundaryError",
|
|
11244
|
+
"editorTreeDock": "FV0QMq_editorTreeDock",
|
|
11245
|
+
"openWithLabel": "FV0QMq_openWithLabel",
|
|
11246
|
+
"editorStatusError": "FV0QMq_editorStatusError",
|
|
11247
|
+
"gitHeader": "FV0QMq_gitHeader",
|
|
11248
|
+
"gitLogLine2": "FV0QMq_gitLogLine2",
|
|
11249
|
+
"gitDiffTabTitle": "FV0QMq_gitDiffTabTitle",
|
|
11250
|
+
"gitDiffMeta": "FV0QMq_gitDiffMeta",
|
|
11251
|
+
"openWithChevron": "FV0QMq_openWithChevron",
|
|
11252
|
+
"editorSearchHint": "FV0QMq_editorSearchHint",
|
|
11253
|
+
"floatWindow": "FV0QMq_floatWindow",
|
|
11254
|
+
"explorerHeader": "FV0QMq_explorerHeader",
|
|
11255
|
+
"editorImage": "FV0QMq_editorImage",
|
|
11256
|
+
"bottomPanelHidden": "FV0QMq_bottomPanelHidden",
|
|
11257
|
+
"manualButton": "FV0QMq_manualButton",
|
|
11258
|
+
"producedRow": "FV0QMq_producedRow",
|
|
11259
|
+
"cornerHandle": "FV0QMq_cornerHandle",
|
|
11260
|
+
"toggleCluster": "FV0QMq_toggleCluster",
|
|
11261
|
+
"editorTitle": "FV0QMq_editorTitle",
|
|
11262
|
+
"tab": "FV0QMq_tab",
|
|
11263
|
+
"gitCommitInput": "FV0QMq_gitCommitInput",
|
|
11264
|
+
"boundaryError": "FV0QMq_boundaryError",
|
|
11265
|
+
"chatcodeGate": "FV0QMq_chatcodeGate",
|
|
11266
|
+
"browserBlockedActions": "FV0QMq_browserBlockedActions",
|
|
11267
|
+
"gitPlaceholder": "FV0QMq_gitPlaceholder",
|
|
11268
|
+
"editorTreeToggleActive": "FV0QMq_editorTreeToggleActive",
|
|
11269
|
+
"editorTreeResize": "FV0QMq_editorTreeResize",
|
|
11270
|
+
"dropDown": "FV0QMq_dropDown",
|
|
11271
|
+
"uploadOverlayTitle": "FV0QMq_uploadOverlayTitle",
|
|
11272
|
+
"editorSearchResult": "FV0QMq_editorSearchResult",
|
|
11281
11273
|
"explorerBody": "FV0QMq_explorerBody",
|
|
11282
|
-
"
|
|
11283
|
-
"
|
|
11284
|
-
"
|
|
11285
|
-
"splitRow": "FV0QMq_splitRow",
|
|
11286
|
-
"mermaidModalHint": "FV0QMq_mermaidModalHint",
|
|
11287
|
-
"floatResize": "FV0QMq_floatResize",
|
|
11288
|
-
"pinnedSessionMenuDivider": "FV0QMq_pinnedSessionMenuDivider",
|
|
11274
|
+
"accountPresence": "FV0QMq_accountPresence",
|
|
11275
|
+
"terminalDepsActions": "FV0QMq_terminalDepsActions",
|
|
11276
|
+
"panelHidden": "FV0QMq_panelHidden",
|
|
11289
11277
|
"updateSettingsRow": "FV0QMq_updateSettingsRow",
|
|
11290
|
-
"
|
|
11291
|
-
"
|
|
11292
|
-
"
|
|
11293
|
-
"
|
|
11278
|
+
"uploadDropZone": "FV0QMq_uploadDropZone",
|
|
11279
|
+
"mermaidError": "FV0QMq_mermaidError",
|
|
11280
|
+
"mermaidModalButton": "FV0QMq_mermaidModalButton",
|
|
11281
|
+
"chatcodeGateCard": "FV0QMq_chatcodeGateCard",
|
|
11282
|
+
"pinnedSessionMenuDivider": "FV0QMq_pinnedSessionMenuDivider",
|
|
11283
|
+
"releaseNotesFooter": "FV0QMq_releaseNotesFooter",
|
|
11284
|
+
"gitDiff": "FV0QMq_gitDiff",
|
|
11285
|
+
"chatcodeGateActions": "FV0QMq_chatcodeGateActions",
|
|
11286
|
+
"releaseNotesContent": "FV0QMq_releaseNotesContent",
|
|
11294
11287
|
"pinnedSessionOpen": "FV0QMq_pinnedSessionOpen",
|
|
11295
|
-
"
|
|
11296
|
-
"
|
|
11297
|
-
"
|
|
11288
|
+
"terminalWrap": "FV0QMq_terminalWrap",
|
|
11289
|
+
"uploadOverlayProgress": "FV0QMq_uploadOverlayProgress",
|
|
11290
|
+
"editorPdfFrame": "FV0QMq_editorPdfFrame",
|
|
11291
|
+
"editorModeToggle": "FV0QMq_editorModeToggle",
|
|
11292
|
+
"dividerRow": "FV0QMq_dividerRow",
|
|
11293
|
+
"uploadOverlayCancel": "FV0QMq_uploadOverlayCancel",
|
|
11294
|
+
"mermaidCode": "FV0QMq_mermaidCode",
|
|
11295
|
+
"tabClose": "FV0QMq_tabClose",
|
|
11296
|
+
"sandboxStatusOn": "FV0QMq_sandboxStatusOn",
|
|
11297
|
+
"gitDiffFilePath": "FV0QMq_gitDiffFilePath"
|
|
11298
11298
|
};
|
|
11299
11299
|
//#endregion
|
|
11300
11300
|
//#region src/client/intercept.tsx
|
|
@@ -14344,72 +14344,72 @@ window.__ModuleLoader__.load({
|
|
|
14344
14344
|
document.head.appendChild(tag);
|
|
14345
14345
|
}
|
|
14346
14346
|
var SideCardSection_module_css_default = {
|
|
14347
|
-
"
|
|
14348
|
-
"
|
|
14349
|
-
"
|
|
14350
|
-
"selectAnchorText": "N4aF0W_selectAnchorText",
|
|
14351
|
-
"popupRows": "N4aF0W_popupRows",
|
|
14352
|
-
"title": "N4aF0W_title",
|
|
14353
|
-
"groupHeading": "N4aF0W_groupHeading",
|
|
14354
|
-
"pluginEntryHead": "N4aF0W_pluginEntryHead",
|
|
14355
|
-
"pluginTopicBtn": "N4aF0W_pluginTopicBtn",
|
|
14356
|
-
"cardOn": "N4aF0W_cardOn",
|
|
14347
|
+
"openWithEditorTemplate": "N4aF0W_openWithEditorTemplate",
|
|
14348
|
+
"selectAnchorIcon": "N4aF0W_selectAnchorIcon",
|
|
14349
|
+
"pluginList": "N4aF0W_pluginList",
|
|
14357
14350
|
"pluginCopyBtn": "N4aF0W_pluginCopyBtn",
|
|
14358
|
-
"
|
|
14359
|
-
"
|
|
14360
|
-
"
|
|
14361
|
-
"
|
|
14351
|
+
"switchTrack": "N4aF0W_switchTrack",
|
|
14352
|
+
"openWithEditorRow": "N4aF0W_openWithEditorRow",
|
|
14353
|
+
"control": "N4aF0W_control",
|
|
14354
|
+
"selectAnchorText": "N4aF0W_selectAnchorText",
|
|
14362
14355
|
"popupDialog": "N4aF0W_popupDialog",
|
|
14363
|
-
"
|
|
14356
|
+
"cardDesc": "N4aF0W_cardDesc",
|
|
14357
|
+
"cardMain": "N4aF0W_cardMain",
|
|
14358
|
+
"cardTitle": "N4aF0W_cardTitle",
|
|
14359
|
+
"cardSwitch": "N4aF0W_cardSwitch",
|
|
14360
|
+
"title": "N4aF0W_title",
|
|
14361
|
+
"popupRows": "N4aF0W_popupRows",
|
|
14362
|
+
"selectAnchor": "N4aF0W_selectAnchor",
|
|
14364
14363
|
"cardSettings": "N4aF0W_cardSettings",
|
|
14365
|
-
"
|
|
14366
|
-
"done": "N4aF0W_done",
|
|
14367
|
-
"error": "N4aF0W_error",
|
|
14368
|
-
"desc": "N4aF0W_desc",
|
|
14369
|
-
"popupRow": "N4aF0W_popupRow",
|
|
14370
|
-
"pluginEmpty": "N4aF0W_pluginEmpty",
|
|
14371
|
-
"switchTrack": "N4aF0W_switchTrack",
|
|
14372
|
-
"selectOption": "N4aF0W_selectOption",
|
|
14373
|
-
"openWithFamily": "N4aF0W_openWithFamily",
|
|
14374
|
-
"switch": "N4aF0W_switch",
|
|
14364
|
+
"selectOptionText": "N4aF0W_selectOptionText",
|
|
14375
14365
|
"cardIconChip": "N4aF0W_cardIconChip",
|
|
14376
|
-
"typedInput": "N4aF0W_typedInput",
|
|
14377
|
-
"pluginGroup": "N4aF0W_pluginGroup",
|
|
14378
14366
|
"pluginModal": "N4aF0W_pluginModal",
|
|
14379
|
-
"
|
|
14367
|
+
"percentInput": "N4aF0W_percentInput",
|
|
14368
|
+
"cardOn": "N4aF0W_cardOn",
|
|
14369
|
+
"rowText": "N4aF0W_rowText",
|
|
14370
|
+
"error": "N4aF0W_error",
|
|
14371
|
+
"pluginGroup": "N4aF0W_pluginGroup",
|
|
14372
|
+
"openWithFamily": "N4aF0W_openWithFamily",
|
|
14373
|
+
"groupHeading": "N4aF0W_groupHeading",
|
|
14374
|
+
"cardSwitchThumb": "N4aF0W_cardSwitchThumb",
|
|
14375
|
+
"pluginName": "N4aF0W_pluginName",
|
|
14376
|
+
"grid": "N4aF0W_grid",
|
|
14377
|
+
"group": "N4aF0W_group",
|
|
14378
|
+
"pluginGroupHeading": "N4aF0W_pluginGroupHeading",
|
|
14380
14379
|
"openWithHint": "N4aF0W_openWithHint",
|
|
14381
|
-
"
|
|
14382
|
-
"
|
|
14383
|
-
"
|
|
14380
|
+
"cardTop": "N4aF0W_cardTop",
|
|
14381
|
+
"pluginEntries": "N4aF0W_pluginEntries",
|
|
14382
|
+
"done": "N4aF0W_done",
|
|
14383
|
+
"typedInputNumber": "N4aF0W_typedInputNumber",
|
|
14384
|
+
"pluginJumpBtn": "N4aF0W_pluginJumpBtn",
|
|
14385
|
+
"pluginEntryHead": "N4aF0W_pluginEntryHead",
|
|
14384
14386
|
"selectOptionIcon": "N4aF0W_selectOptionIcon",
|
|
14387
|
+
"typedInput": "N4aF0W_typedInput",
|
|
14388
|
+
"pluginEntry": "N4aF0W_pluginEntry",
|
|
14389
|
+
"pluginInstall": "N4aF0W_pluginInstall",
|
|
14390
|
+
"openWithRemove": "N4aF0W_openWithRemove",
|
|
14391
|
+
"switch": "N4aF0W_switch",
|
|
14392
|
+
"pluginEmpty": "N4aF0W_pluginEmpty",
|
|
14393
|
+
"switchInput": "N4aF0W_switchInput",
|
|
14394
|
+
"selectOption": "N4aF0W_selectOption",
|
|
14395
|
+
"popupRow": "N4aF0W_popupRow",
|
|
14385
14396
|
"intro": "N4aF0W_intro",
|
|
14397
|
+
"pluginSearch": "N4aF0W_pluginSearch",
|
|
14398
|
+
"pluginTopicBtn": "N4aF0W_pluginTopicBtn",
|
|
14399
|
+
"pluginEntryActions": "N4aF0W_pluginEntryActions",
|
|
14400
|
+
"cssTextArea": "N4aF0W_cssTextArea",
|
|
14386
14401
|
"count": "N4aF0W_count",
|
|
14387
|
-
"cardMain": "N4aF0W_cardMain",
|
|
14388
14402
|
"section": "N4aF0W_section",
|
|
14403
|
+
"card": "N4aF0W_card",
|
|
14404
|
+
"row": "N4aF0W_row",
|
|
14405
|
+
"desc": "N4aF0W_desc",
|
|
14389
14406
|
"switchThumb": "N4aF0W_switchThumb",
|
|
14407
|
+
"openWithEditorInput": "N4aF0W_openWithEditorInput",
|
|
14408
|
+
"suffix": "N4aF0W_suffix",
|
|
14390
14409
|
"addCard": "N4aF0W_addCard",
|
|
14391
|
-
"
|
|
14392
|
-
"
|
|
14393
|
-
"
|
|
14394
|
-
"cardTop": "N4aF0W_cardTop",
|
|
14395
|
-
"selectAnchor": "N4aF0W_selectAnchor",
|
|
14396
|
-
"pluginEntries": "N4aF0W_pluginEntries",
|
|
14397
|
-
"rowText": "N4aF0W_rowText",
|
|
14398
|
-
"selectOptionText": "N4aF0W_selectOptionText",
|
|
14399
|
-
"pluginGroupHeading": "N4aF0W_pluginGroupHeading",
|
|
14400
|
-
"control": "N4aF0W_control",
|
|
14401
|
-
"openWithEditorRow": "N4aF0W_openWithEditorRow",
|
|
14402
|
-
"pluginList": "N4aF0W_pluginList",
|
|
14403
|
-
"pluginEntryActions": "N4aF0W_pluginEntryActions",
|
|
14404
|
-
"openWithEditorTemplate": "N4aF0W_openWithEditorTemplate",
|
|
14405
|
-
"cardSwitch": "N4aF0W_cardSwitch",
|
|
14406
|
-
"pluginSearch": "N4aF0W_pluginSearch",
|
|
14407
|
-
"percentInput": "N4aF0W_percentInput",
|
|
14408
|
-
"pluginJumpBtn": "N4aF0W_pluginJumpBtn",
|
|
14409
|
-
"selectAnchorIcon": "N4aF0W_selectAnchorIcon",
|
|
14410
|
-
"grid": "N4aF0W_grid",
|
|
14411
|
-
"cardSwitchThumb": "N4aF0W_cardSwitchThumb",
|
|
14412
|
-
"pluginEntry": "N4aF0W_pluginEntry"
|
|
14410
|
+
"cardSwitchTrack": "N4aF0W_cardSwitchTrack",
|
|
14411
|
+
"rowGear": "N4aF0W_rowGear",
|
|
14412
|
+
"pluginDesc": "N4aF0W_pluginDesc"
|
|
14413
14413
|
};
|
|
14414
14414
|
//#endregion
|
|
14415
14415
|
//#region src/client/open-with-settings.tsx
|
|
@@ -20294,6 +20294,11 @@ window.__ModuleLoader__.load({
|
|
|
20294
20294
|
const AI_RATIO_NAV_MARKER = "data-dsh-better-sidebar-ai-ratio-nav";
|
|
20295
20295
|
/** Marker of the "更新" (update) settings nav row. */
|
|
20296
20296
|
const UPDATE_NAV_MARKER = "data-dsh-better-sidebar-update-nav";
|
|
20297
|
+
/** Fallback markers for host/plugin settings rows whose icons mount late. */
|
|
20298
|
+
const GENERAL_NAV_MARKER = "data-dsh-better-sidebar-general-nav";
|
|
20299
|
+
const PLUGIN_MARKET_NAV_MARKER = "data-dsh-better-sidebar-plugin-market-nav";
|
|
20300
|
+
const UI_TWEAKS_NAV_MARKER = "data-dsh-better-sidebar-ui-tweaks-nav";
|
|
20301
|
+
const SKILL_MARKET_NAV_MARKER = "data-dsh-better-sidebar-skill-market-nav";
|
|
20297
20302
|
/**
|
|
20298
20303
|
* Keep the marker on the settings-nav button whose visible text is this
|
|
20299
20304
|
* plugin's current localized section label.
|
|
@@ -20307,9 +20312,10 @@ window.__ModuleLoader__.load({
|
|
|
20307
20312
|
let disposed = false;
|
|
20308
20313
|
const sync = () => {
|
|
20309
20314
|
if (disposed) return;
|
|
20310
|
-
const
|
|
20315
|
+
const resolved = label();
|
|
20316
|
+
const currentLabels = new Set((typeof resolved === "string" ? [resolved] : resolved).map((value) => value.trim()).filter(Boolean));
|
|
20311
20317
|
const buttons = document.querySelectorAll("[role=\"dialog\"] nav button");
|
|
20312
|
-
for (const button of buttons) if (
|
|
20318
|
+
for (const button of buttons) if (currentLabels.has(button.textContent?.trim() ?? "")) button.setAttribute(marker, "");
|
|
20313
20319
|
else button.removeAttribute(marker);
|
|
20314
20320
|
};
|
|
20315
20321
|
sync();
|
|
@@ -20353,6 +20359,10 @@ window.__ModuleLoader__.load({
|
|
|
20353
20359
|
function pinSettings(ids) {
|
|
20354
20360
|
return { ids: [...ids] };
|
|
20355
20361
|
}
|
|
20362
|
+
/** Open through the Host's navigation policy, not the pure Session catalog. */
|
|
20363
|
+
function openPinnedSession(ctx, sessionId) {
|
|
20364
|
+
ctx.uiWorkspace.openSession(sessionId);
|
|
20365
|
+
}
|
|
20356
20366
|
/** A small current-color pin icon for the menu row injected into DSH's menu. */
|
|
20357
20367
|
function pinIconMarkup() {
|
|
20358
20368
|
return "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\"><path d=\"M9.5 1.5 14.5 6.5 12.5 8.5 10 6 5.5 10.5 6 12 4.5 13.5 2.5 11.5 4 10 5.5 10.5 10 6 7.5 8.5 6.5Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linejoin=\"round\"/></svg>";
|
|
@@ -20554,7 +20564,7 @@ window.__ModuleLoader__.load({
|
|
|
20554
20564
|
sessionId,
|
|
20555
20565
|
increaseTitle: true
|
|
20556
20566
|
}).then((childId) => {
|
|
20557
|
-
ctx
|
|
20567
|
+
openPinnedSession(ctx, childId);
|
|
20558
20568
|
}).catch((error) => {
|
|
20559
20569
|
console.warn("[dsh-better-sidebar] fork pinned session failed:", error);
|
|
20560
20570
|
});
|
|
@@ -20588,7 +20598,7 @@ window.__ModuleLoader__.load({
|
|
|
20588
20598
|
className: sidebar_module_css_default.pinnedSessionOpen,
|
|
20589
20599
|
"aria-current": session.id === currentSessionId ? "page" : void 0,
|
|
20590
20600
|
onClick: () => {
|
|
20591
|
-
ctx
|
|
20601
|
+
openPinnedSession(ctx, session.id);
|
|
20592
20602
|
},
|
|
20593
20603
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
20594
20604
|
className: sidebar_module_css_default.pinnedSessionDot,
|
|
@@ -21114,21 +21124,21 @@ window.__ModuleLoader__.load({
|
|
|
21114
21124
|
document.head.appendChild(tag);
|
|
21115
21125
|
}
|
|
21116
21126
|
var CodingPlanModelsSettings_module_css_default = {
|
|
21117
|
-
"
|
|
21127
|
+
"status": "kn_HcG_status",
|
|
21128
|
+
"description": "kn_HcG_description",
|
|
21129
|
+
"modelId": "kn_HcG_modelId",
|
|
21130
|
+
"modelTop": "kn_HcG_modelTop",
|
|
21131
|
+
"selected": "kn_HcG_selected",
|
|
21118
21132
|
"group": "kn_HcG_group",
|
|
21119
|
-
"modelDescription": "kn_HcG_modelDescription",
|
|
21120
|
-
"modelSelected": "kn_HcG_modelSelected",
|
|
21121
21133
|
"models": "kn_HcG_models",
|
|
21122
|
-
"modelId": "kn_HcG_modelId",
|
|
21123
21134
|
"headingRow": "kn_HcG_headingRow",
|
|
21124
|
-
"heading": "kn_HcG_heading",
|
|
21125
|
-
"modelTop": "kn_HcG_modelTop",
|
|
21126
|
-
"status": "kn_HcG_status",
|
|
21127
21135
|
"refresh": "kn_HcG_refresh",
|
|
21128
|
-
"selected": "kn_HcG_selected",
|
|
21129
|
-
"description": "kn_HcG_description",
|
|
21130
21136
|
"modelName": "kn_HcG_modelName",
|
|
21131
|
-
"model": "kn_HcG_model"
|
|
21137
|
+
"model": "kn_HcG_model",
|
|
21138
|
+
"modelSelected": "kn_HcG_modelSelected",
|
|
21139
|
+
"heading": "kn_HcG_heading",
|
|
21140
|
+
"modelDescription": "kn_HcG_modelDescription",
|
|
21141
|
+
"meta": "kn_HcG_meta"
|
|
21132
21142
|
};
|
|
21133
21143
|
//#endregion
|
|
21134
21144
|
//#region src/client/CodingPlanModelsSettings.tsx
|
|
@@ -22297,48 +22307,48 @@ window.__ModuleLoader__.load({
|
|
|
22297
22307
|
document.head.appendChild(tag);
|
|
22298
22308
|
}
|
|
22299
22309
|
var UsageHeatmapSection_module_css_default = {
|
|
22300
|
-
"
|
|
22301
|
-
"
|
|
22302
|
-
"footer": "iUwB6a_footer",
|
|
22303
|
-
"refreshButton": "iUwB6a_refreshButton",
|
|
22304
|
-
"monthNav": "iUwB6a_monthNav",
|
|
22305
|
-
"legend": "iUwB6a_legend",
|
|
22306
|
-
"todayLabel": "iUwB6a_todayLabel",
|
|
22307
|
-
"state": "iUwB6a_state",
|
|
22308
|
-
"tooltip": "iUwB6a_tooltip",
|
|
22309
|
-
"tooltipToday": "iUwB6a_tooltipToday",
|
|
22310
|
-
"total": "iUwB6a_total",
|
|
22311
|
-
"weekdays": "iUwB6a_weekdays",
|
|
22312
|
-
"statLabel": "iUwB6a_statLabel",
|
|
22313
|
-
"grid": "iUwB6a_grid",
|
|
22314
|
-
"cellDay": "iUwB6a_cellDay",
|
|
22310
|
+
"totalValue": "iUwB6a_totalValue",
|
|
22311
|
+
"statValue": "iUwB6a_statValue",
|
|
22315
22312
|
"monthLabel": "iUwB6a_monthLabel",
|
|
22316
|
-
"cellFuture": "iUwB6a_cellFuture",
|
|
22317
|
-
"retry": "iUwB6a_retry",
|
|
22318
|
-
"stateError": "iUwB6a_stateError",
|
|
22319
22313
|
"empty": "iUwB6a_empty",
|
|
22320
|
-
"
|
|
22321
|
-
"
|
|
22322
|
-
"
|
|
22314
|
+
"cellToday": "iUwB6a_cellToday",
|
|
22315
|
+
"weekdays": "iUwB6a_weekdays",
|
|
22316
|
+
"cell": "iUwB6a_cell",
|
|
22317
|
+
"legend": "iUwB6a_legend",
|
|
22323
22318
|
"stat": "iUwB6a_stat",
|
|
22319
|
+
"overview": "iUwB6a_overview",
|
|
22324
22320
|
"cellHover": "iUwB6a_cellHover",
|
|
22321
|
+
"footer": "iUwB6a_footer",
|
|
22322
|
+
"totalNumber": "iUwB6a_totalNumber",
|
|
22323
|
+
"state": "iUwB6a_state",
|
|
22324
|
+
"stateError": "iUwB6a_stateError",
|
|
22325
|
+
"spin": "iUwB6a_spin",
|
|
22326
|
+
"cellFuture": "iUwB6a_cellFuture",
|
|
22325
22327
|
"gridBody": "iUwB6a_gridBody",
|
|
22326
|
-
"
|
|
22328
|
+
"dshSidebarUsageSpin": "iUwB6a_dshSidebarUsageSpin",
|
|
22329
|
+
"stats": "iUwB6a_stats",
|
|
22330
|
+
"retry": "iUwB6a_retry",
|
|
22331
|
+
"tooltip": "iUwB6a_tooltip",
|
|
22332
|
+
"tooltipToday": "iUwB6a_tooltipToday",
|
|
22333
|
+
"tooltipDate": "iUwB6a_tooltipDate",
|
|
22334
|
+
"monthButton": "iUwB6a_monthButton",
|
|
22335
|
+
"section": "iUwB6a_section",
|
|
22336
|
+
"totalUnit": "iUwB6a_totalUnit",
|
|
22327
22337
|
"todayDot": "iUwB6a_todayDot",
|
|
22328
|
-
"
|
|
22329
|
-
"
|
|
22338
|
+
"tooltipTokens": "iUwB6a_tooltipTokens",
|
|
22339
|
+
"legendSwatch": "iUwB6a_legendSwatch",
|
|
22340
|
+
"monthNav": "iUwB6a_monthNav",
|
|
22341
|
+
"tooltipBelow": "iUwB6a_tooltipBelow",
|
|
22330
22342
|
"headerRow": "iUwB6a_headerRow",
|
|
22331
|
-
"
|
|
22332
|
-
"
|
|
22343
|
+
"total": "iUwB6a_total",
|
|
22344
|
+
"refreshButton": "iUwB6a_refreshButton",
|
|
22345
|
+
"grid": "iUwB6a_grid",
|
|
22333
22346
|
"group": "iUwB6a_group",
|
|
22334
|
-
"
|
|
22335
|
-
"
|
|
22336
|
-
"tooltipDate": "iUwB6a_tooltipDate",
|
|
22337
|
-
"stats": "iUwB6a_stats",
|
|
22347
|
+
"todayLabel": "iUwB6a_todayLabel",
|
|
22348
|
+
"statLabel": "iUwB6a_statLabel",
|
|
22338
22349
|
"cellTokens": "iUwB6a_cellTokens",
|
|
22339
|
-
"
|
|
22340
|
-
"
|
|
22341
|
-
"tooltipSplit": "iUwB6a_tooltipSplit"
|
|
22350
|
+
"tooltipSplit": "iUwB6a_tooltipSplit",
|
|
22351
|
+
"cellDay": "iUwB6a_cellDay"
|
|
22342
22352
|
};
|
|
22343
22353
|
//#endregion
|
|
22344
22354
|
//#region src/client/UsageHeatmapSection.tsx
|
|
@@ -22714,34 +22724,34 @@ window.__ModuleLoader__.load({
|
|
|
22714
22724
|
document.head.appendChild(tag);
|
|
22715
22725
|
}
|
|
22716
22726
|
var AiRatioSection_module_css_default = {
|
|
22717
|
-
"
|
|
22718
|
-
"tableHeading": "JtMahq_tableHeading",
|
|
22719
|
-
"tableWrap": "JtMahq_tableWrap",
|
|
22720
|
-
"aiValue": "JtMahq_aiValue",
|
|
22721
|
-
"pageInfo": "JtMahq_pageInfo",
|
|
22722
|
-
"ratioValue": "JtMahq_ratioValue",
|
|
22723
|
-
"pager": "JtMahq_pager",
|
|
22727
|
+
"dateCell": "JtMahq_dateCell",
|
|
22724
22728
|
"stateError": "JtMahq_stateError",
|
|
22725
|
-
"
|
|
22726
|
-
"
|
|
22729
|
+
"cardRatio": "JtMahq_cardRatio",
|
|
22730
|
+
"dateInput": "JtMahq_dateInput",
|
|
22731
|
+
"card": "JtMahq_card",
|
|
22732
|
+
"addedValue": "JtMahq_addedValue",
|
|
22733
|
+
"ratioCardHigh": "JtMahq_ratioCardHigh",
|
|
22734
|
+
"adoptedValue": "JtMahq_adoptedValue",
|
|
22727
22735
|
"section": "JtMahq_section",
|
|
22728
|
-
"cardLabel": "JtMahq_cardLabel",
|
|
22729
|
-
"dash": "JtMahq_dash",
|
|
22730
22736
|
"num": "JtMahq_num",
|
|
22731
22737
|
"queryRow": "JtMahq_queryRow",
|
|
22732
|
-
"
|
|
22738
|
+
"tableWrap": "JtMahq_tableWrap",
|
|
22739
|
+
"aiValue": "JtMahq_aiValue",
|
|
22740
|
+
"pager": "JtMahq_pager",
|
|
22733
22741
|
"state": "JtMahq_state",
|
|
22734
|
-
"
|
|
22735
|
-
"dateCell": "JtMahq_dateCell",
|
|
22736
|
-
"dateInput": "JtMahq_dateInput",
|
|
22742
|
+
"pageInfo": "JtMahq_pageInfo",
|
|
22737
22743
|
"primaryButton": "JtMahq_primaryButton",
|
|
22738
|
-
"
|
|
22739
|
-
"cardRatio": "JtMahq_cardRatio",
|
|
22740
|
-
"card": "JtMahq_card",
|
|
22741
|
-
"ratioCardHigh": "JtMahq_ratioCardHigh",
|
|
22744
|
+
"exportButton": "JtMahq_exportButton",
|
|
22742
22745
|
"commitsValue": "JtMahq_commitsValue",
|
|
22746
|
+
"ratioCardLow": "JtMahq_ratioCardLow",
|
|
22743
22747
|
"overview": "JtMahq_overview",
|
|
22744
|
-
"
|
|
22748
|
+
"tableHeading": "JtMahq_tableHeading",
|
|
22749
|
+
"table": "JtMahq_table",
|
|
22750
|
+
"cardLabel": "JtMahq_cardLabel",
|
|
22751
|
+
"ratioValue": "JtMahq_ratioValue",
|
|
22752
|
+
"ratioBar": "JtMahq_ratioBar",
|
|
22753
|
+
"dash": "JtMahq_dash",
|
|
22754
|
+
"cardValue": "JtMahq_cardValue"
|
|
22745
22755
|
};
|
|
22746
22756
|
//#endregion
|
|
22747
22757
|
//#region src/client/AiRatioSection.tsx
|
|
@@ -23339,7 +23349,7 @@ window.__ModuleLoader__.load({
|
|
|
23339
23349
|
}
|
|
23340
23350
|
//#endregion
|
|
23341
23351
|
//#region \0dsh-css:/Users/shiguifeng/IdeaProjects/chonggou/DSH-better-sidebar/src/client/layout.css.mjs
|
|
23342
|
-
const css = "/**\n * Layout push: when a panel is open it OCCUPIES the layout instead of\n * floating over it — the app shell (#root, the AppFrame three-column grid)\n * gives up space. Only the center column is flexible (1fr), so the right\n * panel's width squeeze (margin-right on #root) lands exactly on the\n * conversation output and the input bar, like a VSCode sidebar.\n *\n * The width rides `calc(100% - var(...))` instead of a bare margin on a\n * full-width box: some desktop shells (DSH Desktop, #208) set #root to\n * width:100%, where a margin would overflow the viewport additively —\n * the calc keeps the box at exactly 100% minus the push in every shell.\n * Width and margin transition in lockstep (same variable, same duration\n * and easing), so expand/collapse animates the content width exactly as\n * the bare-margin version did.\n *\n * The bottom panel squeezes ONLY the center column — it must not cover the\n * app's own left sidebar or the right panel. The anchor is the frame's\n * center grid item through stable slot/data attributes, not a positional\n * path: current hosts put [data-slot=\"main\"] directly inside the center\n * column, while earlier hosts exposed [data-pane=\"conversation\"] or a\n * [data-slot=\"conversation\"] child. A stretched grid item shrinks by its\n * margins, so the conversation content (output + input bar) lifts without\n * touching the sidebars.\n *\n * The sizes ride CSS variables updated by the Sidebar shell (0 while\n * collapsed); expand/collapse animates both the margins and the panel\n * slides on the same theme duration. Drags disable the transition so the\n * layout tracks the pointer.\n */\n#root {\n margin-right: var(--dsh-sidebar-width, 0px);\n width: calc(100% - var(--dsh-sidebar-width, 0px));\n transition:\n margin-right var(--ds-transition-duration-slow) var(--ds-ease-in-out),\n width var(--ds-transition-duration-slow) var(--ds-ease-in-out);\n}\n\n/* The AppFrame's center column, anchored by data attributes (see above).\n Composite selector: current DSH puts `[data-slot=\"main\"]` directly inside\n the center grid item; earlier shells name the item\n `[data-pane=\"conversation\"]` or put `[data-slot=\"conversation\"]` inside it.\n Every selector resolves to that same center element. */\n#root :has(> [data-slot=\"main\"]),\n#root [data-dsh-frame] > [data-pane=\"conversation\"],\n#root :has(> [data-slot=\"conversation\"]) {\n margin-bottom: var(--dsh-sidebar-height, 0px);\n /* Grid/flex items default to min-height:auto. A long unbreakable token\n (OAuth URL) then grows this column past the viewport and clips the\n composer + left-rail Settings row. min-height:0 lets the cell shrink;\n overflow-wrap lets the token wrap instead of forcing its intrinsic\n size. The host's own descendants remain responsible for scrolling. */\n min-height: 0;\n overflow-wrap: anywhere;\n transition: margin-bottom var(--ds-transition-duration-slow) var(--ds-ease-in-out);\n}\n\n/* On older hosts, a collapsed sidebar puts the fallback cluster in the\n top-right corner. Push the DSH session header's right padding out so its\n utilities yield instead of hiding under the cluster. Current DSH hosts put\n the controls directly beside the Session log action and set\n data-dsh-native-sidebar-toggle, so this rule stays inactive. The Sidebar\n shell publishes the required reserve; 188px is the older-host fallback. Anchor on\n the header's slot host wrapper ([data-slot=\"conversation.session.header\"])\n rather than a positional path: DSH 0.1.x nests the header several levels\n under the center column. The Sidebar shell toggles the body attributes with\n the host capability and panel open state. */\nbody[data-dsh-sidebar-collapsed]:not([data-dsh-native-sidebar-toggle]) [data-slot=\"conversation.session.header\"] > header {\n padding-right: var(--dsh-sidebar-toggle-reserve, 188px);\n}\n\nbody[data-dsh-sidebar-dragging] #root,\nbody[data-dsh-sidebar-dragging] #root :has(> [data-slot=\"main\"]),\nbody[data-dsh-sidebar-dragging] #root [data-dsh-frame] > [data-pane=\"conversation\"],\nbody[data-dsh-sidebar-dragging] #root :has(> [data-slot=\"conversation\"]) {\n transition: none;\n}\n\n/* DSH 0.1.x gives external settings sections a generic gear and exposes no\n icon field in the settings.section contract. settings-nav-icon.ts marks\n only this plugin's localized row; render the requested Lucide\n gallery-horizontal-end SVG as a currentColor mask so it follows the native\n nav hover/active colors without changing the shell's 16px icon rhythm. */\n[data-dsh-better-sidebar-settings-nav] > svg:first-child {\n display: none;\n}\n\n[data-dsh-better-sidebar-settings-nav]::before {\n content: '';\n flex: none;\n width: 16px;\n height: 16px;\n background: currentColor;\n -webkit-mask: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 7v10'/%3E%3Cpath d='M6 5v14'/%3E%3Crect width='12' height='18' x='10' y='3' rx='2'/%3E%3C/svg%3E\") center / contain no-repeat;\n mask: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 7v10'/%3E%3Cpath d='M6 5v14'/%3E%3Crect width='12' height='18' x='10' y='3' rx='2'/%3E%3C/svg%3E\") center / contain no-repeat;\n}\n\n/* The \"Token 用量\" heatmap section's nav row: same marker scheme as above,\n painting a calendar glyph (Lucide calendar-days) — a month of days is the\n section's whole subject. */\n[data-dsh-better-sidebar-usage-nav] > svg:first-child {\n display: none;\n}\n\n[data-dsh-better-sidebar-usage-nav]::before {\n content: '';\n flex: none;\n width: 16px;\n height: 16px;\n background: currentColor;\n -webkit-mask: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M16 2v4'/%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M3 10h18'/%3E%3Cpath d='M8 14h.01'/%3E%3Cpath d='M12 14h.01'/%3E%3Cpath d='M16 14h.01'/%3E%3Cpath d='M8 18h.01'/%3E%3Cpath d='M12 18h.01'/%3E%3Cpath d='M16 18h.01'/%3E%3C/svg%3E\") center / contain no-repeat;\n mask: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M16 2v4'/%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M3 10h18'/%3E%3Cpath d='M8 14h.01'/%3E%3Cpath d='M12 14h.01'/%3E%3Cpath d='M16 14h.01'/%3E%3Cpath d='M8 18h.01'/%3E%3Cpath d='M12 18h.01'/%3E%3Cpath d='M16 18h.01'/%3E%3C/svg%3E\") center / contain no-repeat;\n}\n\n[data-dsh-better-sidebar-ai-ratio-nav] > svg:first-child {\n display: none;\n}\n\n[data-dsh-better-sidebar-ai-ratio-nav]::before {\n content: '';\n flex: none;\n width: 16px;\n height: 16px;\n background: currentColor;\n -webkit-mask: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M2.25 13.75h11.5M4.5 13.75v-3.5M7.5 13.75v-6.5M10.5 13.75v-4.5' stroke='black' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M13 .9l.5 1.6 1.6.5-1.6.5-.5 1.6-.5-1.6-1.6-.5 1.6-.5z' fill='black'/%3E%3C/svg%3E\") center / contain no-repeat;\n mask: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M2.25 13.75h11.5M4.5 13.75v-3.5M7.5 13.75v-6.5M10.5 13.75v-4.5' stroke='black' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M13 .9l.5 1.6 1.6.5-1.6.5-.5 1.6-.5-1.6-1.6-.5 1.6-.5z' fill='black'/%3E%3C/svg%3E\") center / contain no-repeat;\n}\n\n/* The \"更新\" section's nav row: same marker scheme, painting an upward\n arrow (Lucide arrow-up) — an upgrade/one-click-update is the section's\n whole purpose. */\n[data-dsh-better-sidebar-update-nav] > svg:first-child {\n display: none;\n}\n\n[data-dsh-better-sidebar-update-nav]::before {\n content: '';\n flex: none;\n width: 16px;\n height: 16px;\n background: currentColor;\n -webkit-mask: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 7-7 7 7'/%3E%3Cpath d='M12 19V5'/%3E%3C/svg%3E\") center / contain no-repeat;\n mask: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 7-7 7 7'/%3E%3Cpath d='M12 19V5'/%3E%3C/svg%3E\") center / contain no-repeat;\n}\n\n@media (prefers-reduced-motion: reduce) {\n #root,\n #root :has(> [data-slot=\"main\"]),\n #root [data-dsh-frame] > [data-pane=\"conversation\"],\n #root :has(> [data-slot=\"conversation\"]) {\n transition: none;\n }\n}\n\n[data-dsh-hidden-runtime-context] {\n display: none !important;\n}\n";
|
|
23352
|
+
const css = "/**\n * Layout push: when a panel is open it OCCUPIES the layout instead of\n * floating over it — the app shell (#root, the AppFrame three-column grid)\n * gives up space. Only the center column is flexible (1fr), so the right\n * panel's width squeeze (margin-right on #root) lands exactly on the\n * conversation output and the input bar, like a VSCode sidebar.\n *\n * The width rides `calc(100% - var(...))` instead of a bare margin on a\n * full-width box: some desktop shells (DSH Desktop, #208) set #root to\n * width:100%, where a margin would overflow the viewport additively —\n * the calc keeps the box at exactly 100% minus the push in every shell.\n * Width and margin transition in lockstep (same variable, same duration\n * and easing), so expand/collapse animates the content width exactly as\n * the bare-margin version did.\n *\n * The bottom panel squeezes ONLY the center column — it must not cover the\n * app's own left sidebar or the right panel. The anchor is the frame's\n * center grid item through stable slot/data attributes, not a positional\n * path: current hosts put [data-slot=\"main\"] directly inside the center\n * column, while earlier hosts exposed [data-pane=\"conversation\"] or a\n * [data-slot=\"conversation\"] child. A stretched grid item shrinks by its\n * margins, so the conversation content (output + input bar) lifts without\n * touching the sidebars.\n *\n * The sizes ride CSS variables updated by the Sidebar shell (0 while\n * collapsed); expand/collapse animates both the margins and the panel\n * slides on the same theme duration. Drags disable the transition so the\n * layout tracks the pointer.\n */\n#root {\n margin-right: var(--dsh-sidebar-width, 0px);\n width: calc(100% - var(--dsh-sidebar-width, 0px));\n transition:\n margin-right var(--ds-transition-duration-slow) var(--ds-ease-in-out),\n width var(--ds-transition-duration-slow) var(--ds-ease-in-out);\n}\n\n/* The AppFrame's center column, anchored by data attributes (see above).\n Composite selector: current DSH puts `[data-slot=\"main\"]` directly inside\n the center grid item; earlier shells name the item\n `[data-pane=\"conversation\"]` or put `[data-slot=\"conversation\"]` inside it.\n Every selector resolves to that same center element. */\n#root :has(> [data-slot=\"main\"]),\n#root [data-dsh-frame] > [data-pane=\"conversation\"],\n#root :has(> [data-slot=\"conversation\"]) {\n margin-bottom: var(--dsh-sidebar-height, 0px);\n /* Grid/flex items default to min-height:auto. A long unbreakable token\n (OAuth URL) then grows this column past the viewport and clips the\n composer + left-rail Settings row. min-height:0 lets the cell shrink;\n overflow-wrap lets the token wrap instead of forcing its intrinsic\n size. The host's own descendants remain responsible for scrolling. */\n min-height: 0;\n overflow-wrap: anywhere;\n transition: margin-bottom var(--ds-transition-duration-slow) var(--ds-ease-in-out);\n}\n\n/* On older hosts, a collapsed sidebar puts the fallback cluster in the\n top-right corner. Push the DSH session header's right padding out so its\n utilities yield instead of hiding under the cluster. Current DSH hosts put\n the controls directly beside the Session log action and set\n data-dsh-native-sidebar-toggle, so this rule stays inactive. The Sidebar\n shell publishes the required reserve; 188px is the older-host fallback. Anchor on\n the header's slot host wrapper ([data-slot=\"conversation.session.header\"])\n rather than a positional path: DSH 0.1.x nests the header several levels\n under the center column. The Sidebar shell toggles the body attributes with\n the host capability and panel open state. */\nbody[data-dsh-sidebar-collapsed]:not([data-dsh-native-sidebar-toggle]) [data-slot=\"conversation.session.header\"] > header {\n padding-right: var(--dsh-sidebar-toggle-reserve, 188px);\n}\n\nbody[data-dsh-sidebar-dragging] #root,\nbody[data-dsh-sidebar-dragging] #root :has(> [data-slot=\"main\"]),\nbody[data-dsh-sidebar-dragging] #root [data-dsh-frame] > [data-pane=\"conversation\"],\nbody[data-dsh-sidebar-dragging] #root :has(> [data-slot=\"conversation\"]) {\n transition: none;\n}\n\n/* DSH 0.1.x gives external settings sections a generic gear and exposes no\n icon field in the settings.section contract. settings-nav-icon.ts marks\n only this plugin's localized row; render the requested Lucide\n gallery-horizontal-end SVG as a currentColor mask so it follows the native\n nav hover/active colors without changing the shell's 16px icon rhythm. */\n[data-dsh-better-sidebar-settings-nav] > svg:first-child {\n display: none;\n}\n\n[data-dsh-better-sidebar-settings-nav]::before {\n content: '';\n flex: none;\n width: 16px;\n height: 16px;\n background: currentColor;\n -webkit-mask: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 7v10'/%3E%3Cpath d='M6 5v14'/%3E%3Crect width='12' height='18' x='10' y='3' rx='2'/%3E%3C/svg%3E\") center / contain no-repeat;\n mask: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 7v10'/%3E%3Cpath d='M6 5v14'/%3E%3Crect width='12' height='18' x='10' y='3' rx='2'/%3E%3C/svg%3E\") center / contain no-repeat;\n}\n\n/* Some host/plugin settings rows receive their SVG only after the global\n plugin group is expanded. Paint stable fallbacks immediately so the nav\n never opens with blank icon slots; a late host SVG is hidden to avoid a\n duplicate. */\n[data-dsh-better-sidebar-general-nav] > svg:first-child,\n[data-dsh-better-sidebar-plugin-market-nav] > svg:first-child,\n[data-dsh-better-sidebar-ui-tweaks-nav] > svg:first-child,\n[data-dsh-better-sidebar-skill-market-nav] > svg:first-child {\n display: none;\n}\n\n[data-dsh-better-sidebar-general-nav]::before,\n[data-dsh-better-sidebar-plugin-market-nav]::before,\n[data-dsh-better-sidebar-ui-tweaks-nav]::before,\n[data-dsh-better-sidebar-skill-market-nav]::before {\n content: '';\n flex: none;\n width: 16px;\n height: 16px;\n background: currentColor;\n}\n\n[data-dsh-better-sidebar-general-nav]::before {\n -webkit-mask: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 2v3M12 19v3M2 12h3M19 12h3M4.9 4.9 7 7M17 17l2.1 2.1M19.1 4.9 17 7M7 17l-2.1 2.1'/%3E%3C/svg%3E\") center / contain no-repeat;\n mask: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 2v3M12 19v3M2 12h3M19 12h3M4.9 4.9 7 7M17 17l2.1 2.1M19.1 4.9 17 7M7 17l-2.1 2.1'/%3E%3C/svg%3E\") center / contain no-repeat;\n}\n\n[data-dsh-better-sidebar-plugin-market-nav]::before {\n -webkit-mask: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E\") center / contain no-repeat;\n mask: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E\") center / contain no-repeat;\n}\n\n[data-dsh-better-sidebar-ui-tweaks-nav]::before {\n -webkit-mask: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 21v-7M4 10V3M12 21v-9M12 8V3M20 21v-5M20 12V3M1 14h6M9 8h6M17 16h6'/%3E%3C/svg%3E\") center / contain no-repeat;\n mask: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 21v-7M4 10V3M12 21v-9M12 8V3M20 21v-5M20 12V3M1 14h6M9 8h6M17 16h6'/%3E%3C/svg%3E\") center / contain no-repeat;\n}\n\n[data-dsh-better-sidebar-skill-market-nav]::before {\n -webkit-mask: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3-1.7 4.3L6 9l4.3 1.7L12 15l1.7-4.3L18 9l-4.3-1.7Z'/%3E%3Cpath d='m5 15-.8 2.2L2 18l2.2.8L5 21l.8-2.2L8 18l-2.2-.8Z'/%3E%3Cpath d='m19 14-1 2.5-2.5 1L18 18.5l1 2.5 1-2.5 2.5-1-2.5-1Z'/%3E%3C/svg%3E\") center / contain no-repeat;\n mask: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3-1.7 4.3L6 9l4.3 1.7L12 15l1.7-4.3L18 9l-4.3-1.7Z'/%3E%3Cpath d='m5 15-.8 2.2L2 18l2.2.8L5 21l.8-2.2L8 18l-2.2-.8Z'/%3E%3Cpath d='m19 14-1 2.5-2.5 1L18 18.5l1 2.5 1-2.5 2.5-1-2.5-1Z'/%3E%3C/svg%3E\") center / contain no-repeat;\n}\n\n/* The \"Token 用量\" heatmap section's nav row: same marker scheme as above,\n painting a calendar glyph (Lucide calendar-days) — a month of days is the\n section's whole subject. */\n[data-dsh-better-sidebar-usage-nav] > svg:first-child {\n display: none;\n}\n\n[data-dsh-better-sidebar-usage-nav]::before {\n content: '';\n flex: none;\n width: 16px;\n height: 16px;\n background: currentColor;\n -webkit-mask: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M16 2v4'/%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M3 10h18'/%3E%3Cpath d='M8 14h.01'/%3E%3Cpath d='M12 14h.01'/%3E%3Cpath d='M16 14h.01'/%3E%3Cpath d='M8 18h.01'/%3E%3Cpath d='M12 18h.01'/%3E%3Cpath d='M16 18h.01'/%3E%3C/svg%3E\") center / contain no-repeat;\n mask: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M16 2v4'/%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M3 10h18'/%3E%3Cpath d='M8 14h.01'/%3E%3Cpath d='M12 14h.01'/%3E%3Cpath d='M16 14h.01'/%3E%3Cpath d='M8 18h.01'/%3E%3Cpath d='M12 18h.01'/%3E%3Cpath d='M16 18h.01'/%3E%3C/svg%3E\") center / contain no-repeat;\n}\n\n[data-dsh-better-sidebar-ai-ratio-nav] > svg:first-child {\n display: none;\n}\n\n[data-dsh-better-sidebar-ai-ratio-nav]::before {\n content: '';\n flex: none;\n width: 16px;\n height: 16px;\n background: currentColor;\n -webkit-mask: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M2.25 13.75h11.5M4.5 13.75v-3.5M7.5 13.75v-6.5M10.5 13.75v-4.5' stroke='black' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M13 .9l.5 1.6 1.6.5-1.6.5-.5 1.6-.5-1.6-1.6-.5 1.6-.5z' fill='black'/%3E%3C/svg%3E\") center / contain no-repeat;\n mask: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M2.25 13.75h11.5M4.5 13.75v-3.5M7.5 13.75v-6.5M10.5 13.75v-4.5' stroke='black' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M13 .9l.5 1.6 1.6.5-1.6.5-.5 1.6-.5-1.6-1.6-.5 1.6-.5z' fill='black'/%3E%3C/svg%3E\") center / contain no-repeat;\n}\n\n/* The \"更新\" section's nav row: same marker scheme, painting an upward\n arrow (Lucide arrow-up) — an upgrade/one-click-update is the section's\n whole purpose. */\n[data-dsh-better-sidebar-update-nav] > svg:first-child {\n display: none;\n}\n\n[data-dsh-better-sidebar-update-nav]::before {\n content: '';\n flex: none;\n width: 16px;\n height: 16px;\n background: currentColor;\n -webkit-mask: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 7-7 7 7'/%3E%3Cpath d='M12 19V5'/%3E%3C/svg%3E\") center / contain no-repeat;\n mask: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 7-7 7 7'/%3E%3Cpath d='M12 19V5'/%3E%3C/svg%3E\") center / contain no-repeat;\n}\n\n@media (prefers-reduced-motion: reduce) {\n #root,\n #root :has(> [data-slot=\"main\"]),\n #root [data-dsh-frame] > [data-pane=\"conversation\"],\n #root :has(> [data-slot=\"conversation\"]) {\n transition: none;\n }\n}\n\n[data-dsh-hidden-runtime-context] {\n display: none !important;\n}\n";
|
|
23343
23353
|
const tagId = "@chatcode/cco-better-sidebar/layout.css";
|
|
23344
23354
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
|
|
23345
23355
|
const tag = document.createElement("style");
|
|
@@ -27918,6 +27928,7 @@ to{transform:translateX(-8px)}
|
|
|
27918
27928
|
/** Browser URL for the project-owned `assets/logo.svg` file. */
|
|
27919
27929
|
const PROJECT_LOGO_URL = "/_dsh/ui-tweaks/assets/logo.svg";
|
|
27920
27930
|
const PROJECT_NAME = "ChatCode CLI";
|
|
27931
|
+
const HERO_TITLE = "与世界,深一度对话";
|
|
27921
27932
|
const LEGACY_HOST_BRAND_TEXT = /DSH\s*(?:Local\s*Build|本地构建)|ChatCode\s*CLI/giu;
|
|
27922
27933
|
const HOST_BRAND_LABEL_TEXT = /^(?:DSH\s*(?:Local\s*Build|本地构建)|ChatCode\s*CLI)$/iu;
|
|
27923
27934
|
const HOST_BUILD_VERSION_TEXT = /^v?\d+\.\d+\.\d+(?:[-+][0-9a-z.-]+)*$/iu;
|
|
@@ -27963,16 +27974,9 @@ to{transform:translateX(-8px)}
|
|
|
27963
27974
|
});
|
|
27964
27975
|
}
|
|
27965
27976
|
const BRANDING_CSS = `
|
|
27966
|
-
/*
|
|
27967
|
-
|
|
27968
|
-
|
|
27969
|
-
by the host theme. */
|
|
27970
|
-
body:not([data-ds-dark-theme]){
|
|
27971
|
-
--dsw-alias-label-primary:#301111;
|
|
27972
|
-
--dsw-alias-label-secondary:#754745;
|
|
27973
|
-
--dsw-alias-label-tertiary:#a77471;
|
|
27974
|
-
}
|
|
27975
|
-
/* Saturated brand red remains exclusive to explicitly marked primary actions. */
|
|
27977
|
+
/* ChatCode CLI branding is deliberately limited to primary actions. Every
|
|
27978
|
+
other surface and interaction state (including workspace/sidebar rows,
|
|
27979
|
+
menus, the composer, text and shadows) remains owned by the host theme. */
|
|
27976
27980
|
body:not([data-ds-dark-theme]) .dut-unicom-primary-action{background:linear-gradient(135deg,#9B0B09,#b71916) !important;border-color:#9B0B09 !important;color:#fff !important;box-shadow:0 7px 18px rgba(155,11,9,.24) !important}
|
|
27977
27981
|
body:not([data-ds-dark-theme]) .dut-unicom-primary-action:hover{background:linear-gradient(135deg,#b71916,#cf302c) !important;border-color:#b71916 !important;color:#fff !important;box-shadow:0 10px 24px rgba(155,11,9,.30) !important}
|
|
27978
27982
|
body:not([data-ds-dark-theme]) .dut-unicom-primary-action:active{transform:translateY(1px);box-shadow:0 4px 11px rgba(155,11,9,.22) !important}
|
|
@@ -27991,7 +27995,8 @@ body[data-ds-dark-theme] .dut-unicom-primary-action:not(:hover){background:#9B0B
|
|
|
27991
27995
|
.dut-brand-version{display:none !important}
|
|
27992
27996
|
.dut-hero-preview{display:none !important}
|
|
27993
27997
|
.dut-hero-logo{width:60px !important;height:60px !important}
|
|
27994
|
-
|
|
27998
|
+
.dut-hero-title{font-size:30px !important;line-height:40px !important;font-weight:600 !important;letter-spacing:.06em !important;white-space:nowrap}
|
|
27999
|
+
[class*="headline"]:has(.dut-hero-logo){grid-template-columns:60px auto !important;font-size:30px !important;line-height:40px !important}
|
|
27995
28000
|
.dut-settings-logo{width:19px;height:19px;object-fit:contain}
|
|
27996
28001
|
`;
|
|
27997
28002
|
function hasPrimaryLabel(button) {
|
|
@@ -28063,6 +28068,13 @@ body[data-ds-dark-theme] .dut-unicom-primary-action:not(:hover){background:#9B0B
|
|
|
28063
28068
|
}
|
|
28064
28069
|
if (HERO_HEADLINE.test(node.data)) node.data = node.data.replace(HERO_HEADLINE, PROJECT_NAME);
|
|
28065
28070
|
}
|
|
28071
|
+
document.querySelectorAll(".dut-hero-logo").forEach((logo) => {
|
|
28072
|
+
const headline = logo.closest("[class*=\"headline\"]");
|
|
28073
|
+
const title = Array.from(headline?.querySelectorAll("*") ?? []).find((element) => element.childElementCount === 0 && element.textContent?.trim() === PROJECT_NAME);
|
|
28074
|
+
if (title === void 0) return;
|
|
28075
|
+
title.textContent = HERO_TITLE;
|
|
28076
|
+
title.classList.add("dut-hero-title");
|
|
28077
|
+
});
|
|
28066
28078
|
document.querySelectorAll("[class*=\"brandMark\"]").forEach((host) => {
|
|
28067
28079
|
const svg = host.matches("svg") ? host : host.querySelector("svg");
|
|
28068
28080
|
if (svg instanceof SVGElement) replaceHostLogo(svg);
|
|
@@ -30106,6 +30118,7 @@ div[data-slot="conversation.chat.node"] table pre{
|
|
|
30106
30118
|
"slots",
|
|
30107
30119
|
"sessions",
|
|
30108
30120
|
"uiSession",
|
|
30121
|
+
"uiWorkspace",
|
|
30109
30122
|
"workspaces",
|
|
30110
30123
|
"locale",
|
|
30111
30124
|
"modules",
|
|
@@ -30384,6 +30397,18 @@ div[data-slot="conversation.chat.node"] table pre{
|
|
|
30384
30397
|
ctx.effect(() => registerSettingsNavIcon(() => t("usageNav"), USAGE_NAV_MARKER), "dsh-better-sidebar: usage settings navigation icon");
|
|
30385
30398
|
ctx.effect(() => registerSettingsNavIcon(() => t("aiRatioNav"), AI_RATIO_NAV_MARKER), "dsh-better-sidebar: AI ratio settings navigation icon");
|
|
30386
30399
|
ctx.effect(() => registerSettingsNavIcon(() => t("updateNav"), UPDATE_NAV_MARKER), "dsh-better-sidebar: update settings navigation icon");
|
|
30400
|
+
ctx.effect(() => registerSettingsNavIcon(() => ["通用设置", "General"], GENERAL_NAV_MARKER), "dsh-better-sidebar: general settings navigation icon fallback");
|
|
30401
|
+
ctx.effect(() => registerSettingsNavIcon(() => [
|
|
30402
|
+
"插件市场",
|
|
30403
|
+
"Plugin marketplace",
|
|
30404
|
+
"Plugin Market"
|
|
30405
|
+
], PLUGIN_MARKET_NAV_MARKER), "dsh-better-sidebar: plugin market navigation icon fallback");
|
|
30406
|
+
ctx.effect(() => registerSettingsNavIcon(() => ["界面调整", "UI Tweaks"], UI_TWEAKS_NAV_MARKER), "dsh-better-sidebar: UI tweaks navigation icon fallback");
|
|
30407
|
+
ctx.effect(() => registerSettingsNavIcon(() => [
|
|
30408
|
+
"技能市场",
|
|
30409
|
+
"Skill marketplace",
|
|
30410
|
+
"Skill Market"
|
|
30411
|
+
], SKILL_MARKET_NAV_MARKER), "dsh-better-sidebar: skill market navigation icon fallback");
|
|
30387
30412
|
ctx.slots.inject("settings.section", () => ctx.slots.register({
|
|
30388
30413
|
name: "settings.section",
|
|
30389
30414
|
id: "better-sidebar",
|