@chatcode/cco-better-sidebar 0.18.0-alpha.2 → 0.18.0-alpha.4
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 +261 -261
- package/lib/client-mermaid.js +263 -263
- package/lib/client-registry.js +458 -401
- package/lib/client-terminal.js +263 -263
- package/lib/client.js +456 -399
- 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 +3 -2
- 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 +63 -12
- package/src/client/ui-tweaks/index.tsx +3 -3
- package/src/context-types.ts +12 -5
package/lib/client-registry.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
|
-
"updateSettingsText": "FV0QMq_updateSettingsText",
|
|
11010
|
-
"tocPanel": "FV0QMq_tocPanel",
|
|
11011
|
-
"gitDiffMeta": "FV0QMq_gitDiffMeta",
|
|
11012
|
-
"workbench": "FV0QMq_workbench",
|
|
11013
|
-
"updateSettingsTitle": "FV0QMq_updateSettingsTitle",
|
|
11014
|
-
"editorPathInput": "FV0QMq_editorPathInput",
|
|
11015
|
-
"editorTreePanelFull": "FV0QMq_editorTreePanelFull",
|
|
11016
|
-
"editorSearchHint": "FV0QMq_editorSearchHint",
|
|
11017
|
-
"floatClose": "FV0QMq_floatClose",
|
|
11018
|
-
"floatTitle": "FV0QMq_floatTitle",
|
|
11019
|
-
"gitDiffExpand": "FV0QMq_gitDiffExpand",
|
|
11020
|
-
"fenceError": "FV0QMq_fenceError",
|
|
11021
|
-
"gitLogRow": "FV0QMq_gitLogRow",
|
|
11022
|
-
"pinnedSessionRow": "FV0QMq_pinnedSessionRow",
|
|
11023
|
-
"sandboxDot": "FV0QMq_sandboxDot",
|
|
11024
|
-
"editorSearchResult": "FV0QMq_editorSearchResult",
|
|
11025
|
-
"editorHtml": "FV0QMq_editorHtml",
|
|
11026
|
-
"producedMore": "FV0QMq_producedMore",
|
|
11027
|
-
"browserStart": "FV0QMq_browserStart",
|
|
11028
|
-
"divider": "FV0QMq_divider",
|
|
11029
|
-
"uploadDropZoneText": "FV0QMq_uploadDropZoneText",
|
|
11030
|
-
"mermaidModalButton": "FV0QMq_mermaidModalButton",
|
|
11031
|
-
"editorCm": "FV0QMq_editorCm",
|
|
11032
|
-
"editorHtmlBlock": "FV0QMq_editorHtmlBlock",
|
|
11033
|
-
"updateSettingsBlock": "FV0QMq_updateSettingsBlock",
|
|
11034
|
-
"toggleButton": "FV0QMq_toggleButton",
|
|
11035
|
-
"dropOverlay": "FV0QMq_dropOverlay",
|
|
11036
|
-
"explorerHidden": "FV0QMq_explorerHidden",
|
|
11037
|
-
"git": "FV0QMq_git",
|
|
11038
|
-
"editorStatus": "FV0QMq_editorStatus",
|
|
11039
|
-
"releaseNotesDialog": "FV0QMq_releaseNotesDialog",
|
|
11040
|
-
"floatWindowDragging": "FV0QMq_floatWindowDragging",
|
|
11041
|
-
"explorerEmpty": "FV0QMq_explorerEmpty",
|
|
11042
|
-
"editorBody": "FV0QMq_editorBody",
|
|
11043
|
-
"mermaidBody": "FV0QMq_mermaidBody",
|
|
11044
|
-
"pinnedSessionMenu": "FV0QMq_pinnedSessionMenu",
|
|
11045
|
-
"dividerCol": "FV0QMq_dividerCol",
|
|
11046
|
-
"bottomPanel": "FV0QMq_bottomPanel",
|
|
11047
|
-
"mermaidModal": "FV0QMq_mermaidModal",
|
|
11048
|
-
"producedRow": "FV0QMq_producedRow",
|
|
11049
|
-
"tabActive": "FV0QMq_tabActive",
|
|
11050
|
-
"browserBar": "FV0QMq_browserBar",
|
|
11051
|
-
"tabBarPlus": "FV0QMq_tabBarPlus",
|
|
11052
|
-
"editorPdfStage": "FV0QMq_editorPdfStage",
|
|
11053
|
-
"editorTreeSearch": "FV0QMq_editorTreeSearch",
|
|
11054
|
-
"panelResizeActive": "FV0QMq_panelResizeActive",
|
|
11055
|
-
"sandboxAction": "FV0QMq_sandboxAction",
|
|
11056
|
-
"updateSettingsRow": "FV0QMq_updateSettingsRow",
|
|
11057
|
-
"gitDiffCode": "FV0QMq_gitDiffCode",
|
|
11058
|
-
"updateError": "FV0QMq_updateError",
|
|
11059
|
-
"gitLogLine1": "FV0QMq_gitLogLine1",
|
|
11060
|
-
"tabBar": "FV0QMq_tabBar",
|
|
11061
|
-
"panelBody": "FV0QMq_panelBody",
|
|
11062
|
-
"splitChild": "FV0QMq_splitChild",
|
|
11063
|
-
"tabBoundaryError": "FV0QMq_tabBoundaryError",
|
|
11064
|
-
"sandboxStatusText": "FV0QMq_sandboxStatusText",
|
|
11065
|
-
"pinnedSessionsList": "FV0QMq_pinnedSessionsList",
|
|
11066
|
-
"editorStatusError": "FV0QMq_editorStatusError",
|
|
11067
|
-
"explorerError": "FV0QMq_explorerError",
|
|
11068
|
-
"pinnedSessionOpen": "FV0QMq_pinnedSessionOpen",
|
|
11069
|
-
"panel": "FV0QMq_panel",
|
|
11070
|
-
"editorModeActive": "FV0QMq_editorModeActive",
|
|
11071
|
-
"explorerRef": "FV0QMq_explorerRef",
|
|
11072
|
-
"gitHeader": "FV0QMq_gitHeader",
|
|
11073
11009
|
"uploadDropChatHint": "FV0QMq_uploadDropChatHint",
|
|
11074
|
-
"
|
|
11075
|
-
"gitDiffAdd": "FV0QMq_gitDiffAdd",
|
|
11076
|
-
"gitName": "FV0QMq_gitName",
|
|
11077
|
-
"updateVersions": "FV0QMq_updateVersions",
|
|
11010
|
+
"panelResizeActive": "FV0QMq_panelResizeActive",
|
|
11078
11011
|
"explorerSymlink": "FV0QMq_explorerSymlink",
|
|
11079
|
-
"
|
|
11080
|
-
"
|
|
11081
|
-
"
|
|
11082
|
-
"
|
|
11083
|
-
"
|
|
11084
|
-
"
|
|
11085
|
-
"mermaidCode": "FV0QMq_mermaidCode",
|
|
11086
|
-
"explorerBroken": "FV0QMq_explorerBroken",
|
|
11087
|
-
"mermaidMarkdown": "FV0QMq_mermaidMarkdown",
|
|
11088
|
-
"gitWorktreeLabel": "FV0QMq_gitWorktreeLabel",
|
|
11089
|
-
"dropLeft": "FV0QMq_dropLeft",
|
|
11090
|
-
"gitDiffTabHeader": "FV0QMq_gitDiffTabHeader",
|
|
11091
|
-
"dropCenter": "FV0QMq_dropCenter",
|
|
11092
|
-
"terminal": "FV0QMq_terminal",
|
|
11093
|
-
"editorMd": "FV0QMq_editorMd",
|
|
11012
|
+
"explorerRow": "FV0QMq_explorerRow",
|
|
11013
|
+
"explorerRoot": "FV0QMq_explorerRoot",
|
|
11014
|
+
"uploadOverlay": "FV0QMq_uploadOverlay",
|
|
11015
|
+
"workbench": "FV0QMq_workbench",
|
|
11016
|
+
"explorerHidden": "FV0QMq_explorerHidden",
|
|
11017
|
+
"terminalDepsActions": "FV0QMq_terminalDepsActions",
|
|
11094
11018
|
"tocItem": "FV0QMq_tocItem",
|
|
11095
|
-
"browserFrame": "FV0QMq_browserFrame",
|
|
11096
|
-
"gitLogSubject": "FV0QMq_gitLogSubject",
|
|
11097
|
-
"explorerDir": "FV0QMq_explorerDir",
|
|
11098
|
-
"pinnedSessionsHeading": "FV0QMq_pinnedSessionsHeading",
|
|
11099
|
-
"floatWindow": "FV0QMq_floatWindow",
|
|
11100
|
-
"tabList": "FV0QMq_tabList",
|
|
11101
11019
|
"bottomPanelHidden": "FV0QMq_bottomPanelHidden",
|
|
11102
|
-
"
|
|
11020
|
+
"explorerRowDropTarget": "FV0QMq_explorerRowDropTarget",
|
|
11021
|
+
"gitLogHash": "FV0QMq_gitLogHash",
|
|
11022
|
+
"sandboxStatusOn": "FV0QMq_sandboxStatusOn",
|
|
11023
|
+
"uploadDropZonePill": "FV0QMq_uploadDropZonePill",
|
|
11024
|
+
"editorPdfStage": "FV0QMq_editorPdfStage",
|
|
11025
|
+
"editorError": "FV0QMq_editorError",
|
|
11026
|
+
"terminalRetry": "FV0QMq_terminalRetry",
|
|
11027
|
+
"gitHeader": "FV0QMq_gitHeader",
|
|
11028
|
+
"sandboxStatusText": "FV0QMq_sandboxStatusText",
|
|
11029
|
+
"accountDropdownHeader": "FV0QMq_accountDropdownHeader",
|
|
11030
|
+
"editorModeButton": "FV0QMq_editorModeButton",
|
|
11031
|
+
"editorHtmlBlock": "FV0QMq_editorHtmlBlock",
|
|
11032
|
+
"floatClose": "FV0QMq_floatClose",
|
|
11033
|
+
"editorTreeDock": "FV0QMq_editorTreeDock",
|
|
11034
|
+
"editorDocxZoomRange": "FV0QMq_editorDocxZoomRange",
|
|
11103
11035
|
"floatContent": "FV0QMq_floatContent",
|
|
11104
|
-
"
|
|
11105
|
-
"gitRowMain": "FV0QMq_gitRowMain",
|
|
11106
|
-
"uploadDropChatCard": "FV0QMq_uploadDropChatCard",
|
|
11036
|
+
"git": "FV0QMq_git",
|
|
11107
11037
|
"openWithChevron": "FV0QMq_openWithChevron",
|
|
11108
|
-
"
|
|
11109
|
-
"
|
|
11110
|
-
"
|
|
11111
|
-
"
|
|
11112
|
-
"editorBanner": "FV0QMq_editorBanner",
|
|
11113
|
-
"sandboxStatusOn": "FV0QMq_sandboxStatusOn",
|
|
11114
|
-
"editorPdfFrame": "FV0QMq_editorPdfFrame",
|
|
11115
|
-
"gitDiffMetaText": "FV0QMq_gitDiffMetaText",
|
|
11116
|
-
"accountPresence": "FV0QMq_accountPresence",
|
|
11117
|
-
"explorerName": "FV0QMq_explorerName",
|
|
11118
|
-
"bottomResize": "FV0QMq_bottomResize",
|
|
11119
|
-
"mermaidWrap": "FV0QMq_mermaidWrap",
|
|
11120
|
-
"editorPdfDragShieldActive": "FV0QMq_editorPdfDragShieldActive",
|
|
11121
|
-
"pinnedSessionMenuDivider": "FV0QMq_pinnedSessionMenuDivider",
|
|
11122
|
-
"editorSearchInput": "FV0QMq_editorSearchInput",
|
|
11123
|
-
"dividerRow": "FV0QMq_dividerRow",
|
|
11038
|
+
"explorerRowRevealed": "FV0QMq_explorerRowRevealed",
|
|
11039
|
+
"gitRowMain": "FV0QMq_gitRowMain",
|
|
11040
|
+
"explorerCopied": "FV0QMq_explorerCopied",
|
|
11041
|
+
"gitBadge": "FV0QMq_gitBadge",
|
|
11124
11042
|
"editorPlaceholder": "FV0QMq_editorPlaceholder",
|
|
11125
|
-
"
|
|
11126
|
-
"panelResize": "FV0QMq_panelResize",
|
|
11127
|
-
"explorerHeader": "FV0QMq_explorerHeader",
|
|
11128
|
-
"gitSection": "FV0QMq_gitSection",
|
|
11129
|
-
"editorDownloadLink": "FV0QMq_editorDownloadLink",
|
|
11130
|
-
"accountDropdownHeader": "FV0QMq_accountDropdownHeader",
|
|
11131
|
-
"gitRow": "FV0QMq_gitRow",
|
|
11132
|
-
"terminalRetry": "FV0QMq_terminalRetry",
|
|
11133
|
-
"tocItemLevel": "FV0QMq_tocItemLevel",
|
|
11134
|
-
"uploadDropZone": "FV0QMq_uploadDropZone",
|
|
11135
|
-
"gitLogHash": "FV0QMq_gitLogHash",
|
|
11136
|
-
"editorBinaryNotice": "FV0QMq_editorBinaryNotice",
|
|
11137
|
-
"releaseNotesContent": "FV0QMq_releaseNotesContent",
|
|
11138
|
-
"uploadOverlayTitle": "FV0QMq_uploadOverlayTitle",
|
|
11043
|
+
"sandboxStatusOff": "FV0QMq_sandboxStatusOff",
|
|
11139
11044
|
"editorTreeToggleActive": "FV0QMq_editorTreeToggleActive",
|
|
11140
|
-
"
|
|
11141
|
-
"
|
|
11142
|
-
"gitError": "FV0QMq_gitError",
|
|
11143
|
-
"gitDiffHunkSection": "FV0QMq_gitDiffHunkSection",
|
|
11144
|
-
"chatcodeGate": "FV0QMq_chatcodeGate",
|
|
11145
|
-
"bottomClose": "FV0QMq_bottomClose",
|
|
11146
|
-
"gitCommitButton": "FV0QMq_gitCommitButton",
|
|
11147
|
-
"tocBar": "FV0QMq_tocBar",
|
|
11148
|
-
"editorTreeResize": "FV0QMq_editorTreeResize",
|
|
11149
|
-
"accountMenu": "FV0QMq_accountMenu",
|
|
11045
|
+
"browserBlockedActions": "FV0QMq_browserBlockedActions",
|
|
11046
|
+
"selectionPopup": "FV0QMq_selectionPopup",
|
|
11150
11047
|
"gitDiff": "FV0QMq_gitDiff",
|
|
11048
|
+
"gitLogMeta": "FV0QMq_gitLogMeta",
|
|
11049
|
+
"updateSettingsTitle": "FV0QMq_updateSettingsTitle",
|
|
11050
|
+
"mermaidMarkdown": "FV0QMq_mermaidMarkdown",
|
|
11051
|
+
"toggleCluster": "FV0QMq_toggleCluster",
|
|
11052
|
+
"accountMenuDivider": "FV0QMq_accountMenuDivider",
|
|
11053
|
+
"editorCm": "FV0QMq_editorCm",
|
|
11054
|
+
"tabBar": "FV0QMq_tabBar",
|
|
11055
|
+
"explorerRef": "FV0QMq_explorerRef",
|
|
11056
|
+
"paneTab": "FV0QMq_paneTab",
|
|
11057
|
+
"accountName": "FV0QMq_accountName",
|
|
11058
|
+
"split": "FV0QMq_split",
|
|
11059
|
+
"editorSearchInput": "FV0QMq_editorSearchInput",
|
|
11060
|
+
"gitDiffFileChevron": "FV0QMq_gitDiffFileChevron",
|
|
11061
|
+
"accountTrigger": "FV0QMq_accountTrigger",
|
|
11062
|
+
"gitCommitInput": "FV0QMq_gitCommitInput",
|
|
11063
|
+
"gitLogLine2": "FV0QMq_gitLogLine2",
|
|
11064
|
+
"gitDiffFileChevronExpanded": "FV0QMq_gitDiffFileChevronExpanded",
|
|
11065
|
+
"releaseNotesDialog": "FV0QMq_releaseNotesDialog",
|
|
11066
|
+
"uploadDropZone": "FV0QMq_uploadDropZone",
|
|
11067
|
+
"editorBanner": "FV0QMq_editorBanner",
|
|
11068
|
+
"chatcodeGateError": "FV0QMq_chatcodeGateError",
|
|
11069
|
+
"accountMenu": "FV0QMq_accountMenu",
|
|
11070
|
+
"gitPlaceholder": "FV0QMq_gitPlaceholder",
|
|
11071
|
+
"tocButton": "FV0QMq_tocButton",
|
|
11072
|
+
"pinnedSessionMenu": "FV0QMq_pinnedSessionMenu",
|
|
11073
|
+
"paneTabHidden": "FV0QMq_paneTabHidden",
|
|
11151
11074
|
"gitDiffNum": "FV0QMq_gitDiffNum",
|
|
11152
|
-
"
|
|
11153
|
-
"openWithPin": "FV0QMq_openWithPin",
|
|
11154
|
-
"floatResize": "FV0QMq_floatResize",
|
|
11155
|
-
"terminalDepsTitle": "FV0QMq_terminalDepsTitle",
|
|
11156
|
-
"chatcodeGateCard": "FV0QMq_chatcodeGateCard",
|
|
11157
|
-
"releaseNotesOverlay": "FV0QMq_releaseNotesOverlay",
|
|
11075
|
+
"releaseNotesContent": "FV0QMq_releaseNotesContent",
|
|
11158
11076
|
"paneDrop": "FV0QMq_paneDrop",
|
|
11159
|
-
"
|
|
11160
|
-
"
|
|
11161
|
-
"
|
|
11162
|
-
"
|
|
11163
|
-
"
|
|
11164
|
-
"
|
|
11165
|
-
"
|
|
11166
|
-
"
|
|
11167
|
-
"
|
|
11168
|
-
"
|
|
11169
|
-
"terminalDepsActions": "FV0QMq_terminalDepsActions",
|
|
11170
|
-
"editorImage": "FV0QMq_editorImage",
|
|
11077
|
+
"sandboxDot": "FV0QMq_sandboxDot",
|
|
11078
|
+
"terminalBanner": "FV0QMq_terminalBanner",
|
|
11079
|
+
"floatDropHint": "FV0QMq_floatDropHint",
|
|
11080
|
+
"gitEmpty": "FV0QMq_gitEmpty",
|
|
11081
|
+
"updateInline": "FV0QMq_updateInline",
|
|
11082
|
+
"gitBranchSelect": "FV0QMq_gitBranchSelect",
|
|
11083
|
+
"dropOverlay": "FV0QMq_dropOverlay",
|
|
11084
|
+
"browserBlockedTitle": "FV0QMq_browserBlockedTitle",
|
|
11085
|
+
"explorerBody": "FV0QMq_explorerBody",
|
|
11086
|
+
"cornerHandle": "FV0QMq_cornerHandle",
|
|
11171
11087
|
"editorTitle": "FV0QMq_editorTitle",
|
|
11172
|
-
"
|
|
11173
|
-
"
|
|
11174
|
-
"
|
|
11175
|
-
"dropUp": "FV0QMq_dropUp",
|
|
11176
|
-
"gitPlaceholder": "FV0QMq_gitPlaceholder",
|
|
11177
|
-
"editorDocxZoomRange": "FV0QMq_editorDocxZoomRange",
|
|
11178
|
-
"releaseNotesHeader": "FV0QMq_releaseNotesHeader",
|
|
11179
|
-
"editorModeButton": "FV0QMq_editorModeButton",
|
|
11180
|
-
"mermaidModalStage": "FV0QMq_mermaidModalStage",
|
|
11181
|
-
"terminalDepsBanner": "FV0QMq_terminalDepsBanner",
|
|
11182
|
-
"browserBlockedButton": "FV0QMq_browserBlockedButton",
|
|
11183
|
-
"uploadOverlayStatus": "FV0QMq_uploadOverlayStatus",
|
|
11184
|
-
"editorCmHidden": "FV0QMq_editorCmHidden",
|
|
11185
|
-
"sandboxStatusOff": "FV0QMq_sandboxStatusOff",
|
|
11186
|
-
"editorPdf": "FV0QMq_editorPdf",
|
|
11187
|
-
"editorTreePanel": "FV0QMq_editorTreePanel",
|
|
11088
|
+
"explorer": "FV0QMq_explorer",
|
|
11089
|
+
"browserBlockedDesc": "FV0QMq_browserBlockedDesc",
|
|
11090
|
+
"tabBoundaryError": "FV0QMq_tabBoundaryError",
|
|
11188
11091
|
"pane": "FV0QMq_pane",
|
|
11189
|
-
"
|
|
11190
|
-
"
|
|
11191
|
-
"
|
|
11192
|
-
"
|
|
11193
|
-
"
|
|
11194
|
-
"
|
|
11195
|
-
"
|
|
11196
|
-
"
|
|
11197
|
-
"editorHeader": "FV0QMq_editorHeader",
|
|
11092
|
+
"browserInput": "FV0QMq_browserInput",
|
|
11093
|
+
"tabClose": "FV0QMq_tabClose",
|
|
11094
|
+
"gitDiffFilePath": "FV0QMq_gitDiffFilePath",
|
|
11095
|
+
"editorStatusError": "FV0QMq_editorStatusError",
|
|
11096
|
+
"releaseNotesFooter": "FV0QMq_releaseNotesFooter",
|
|
11097
|
+
"paneCard": "FV0QMq_paneCard",
|
|
11098
|
+
"gitName": "FV0QMq_gitName",
|
|
11099
|
+
"browserStart": "FV0QMq_browserStart",
|
|
11198
11100
|
"updateBody": "FV0QMq_updateBody",
|
|
11199
|
-
"
|
|
11200
|
-
"
|
|
11201
|
-
"
|
|
11202
|
-
"
|
|
11203
|
-
"
|
|
11204
|
-
"
|
|
11205
|
-
"
|
|
11206
|
-
"splitCol": "FV0QMq_splitCol",
|
|
11207
|
-
"paneTabHidden": "FV0QMq_paneTabHidden",
|
|
11208
|
-
"terminalDepsHint": "FV0QMq_terminalDepsHint",
|
|
11209
|
-
"paneContent": "FV0QMq_paneContent",
|
|
11210
|
-
"toggleCluster": "FV0QMq_toggleCluster",
|
|
11211
|
-
"mermaidError": "FV0QMq_mermaidError",
|
|
11101
|
+
"orphanedType": "FV0QMq_orphanedType",
|
|
11102
|
+
"mermaidModalButton": "FV0QMq_mermaidModalButton",
|
|
11103
|
+
"editorPdfDragShield": "FV0QMq_editorPdfDragShield",
|
|
11104
|
+
"dividerRow": "FV0QMq_dividerRow",
|
|
11105
|
+
"uploadOverlayCard": "FV0QMq_uploadOverlayCard",
|
|
11106
|
+
"tabActive": "FV0QMq_tabActive",
|
|
11107
|
+
"editorImageWrap": "FV0QMq_editorImageWrap",
|
|
11212
11108
|
"terminalWrap": "FV0QMq_terminalWrap",
|
|
11213
|
-
"
|
|
11214
|
-
"releaseNotesFooter": "FV0QMq_releaseNotesFooter",
|
|
11215
|
-
"chatcodeGateActions": "FV0QMq_chatcodeGateActions",
|
|
11216
|
-
"openWithName": "FV0QMq_openWithName",
|
|
11217
|
-
"dividerActive": "FV0QMq_dividerActive",
|
|
11218
|
-
"terminalBannerUrl": "FV0QMq_terminalBannerUrl",
|
|
11219
|
-
"accountMenuDivider": "FV0QMq_accountMenuDivider",
|
|
11220
|
-
"floatDropHint": "FV0QMq_floatDropHint",
|
|
11221
|
-
"dsh-row-in": "FV0QMq_dsh-row-in",
|
|
11222
|
-
"dropRight": "FV0QMq_dropRight",
|
|
11223
|
-
"accountTrigger": "FV0QMq_accountTrigger",
|
|
11224
|
-
"gitBranchSelect": "FV0QMq_gitBranchSelect",
|
|
11225
|
-
"dsh-toc-flash": "FV0QMq_dsh-toc-flash",
|
|
11226
|
-
"gitLogLine2": "FV0QMq_gitLogLine2",
|
|
11227
|
-
"editorBinary": "FV0QMq_editorBinary",
|
|
11109
|
+
"dividerCol": "FV0QMq_dividerCol",
|
|
11228
11110
|
"manualButton": "FV0QMq_manualButton",
|
|
11229
|
-
"
|
|
11230
|
-
"tocItemText": "FV0QMq_tocItemText",
|
|
11231
|
-
"pinnedSessionDot": "FV0QMq_pinnedSessionDot",
|
|
11232
|
-
"dirtyDot": "FV0QMq_dirtyDot",
|
|
11233
|
-
"uploadOverlayCard": "FV0QMq_uploadOverlayCard",
|
|
11234
|
-
"gitDiffFilePath": "FV0QMq_gitDiffFilePath",
|
|
11235
|
-
"explorerRow": "FV0QMq_explorerRow",
|
|
11236
|
-
"cornerHandle": "FV0QMq_cornerHandle",
|
|
11237
|
-
"gitLogMeta": "FV0QMq_gitLogMeta",
|
|
11238
|
-
"producedLabel": "FV0QMq_producedLabel",
|
|
11111
|
+
"floatDropHintLabel": "FV0QMq_floatDropHintLabel",
|
|
11239
11112
|
"pinnedTab": "FV0QMq_pinnedTab",
|
|
11113
|
+
"uploadDropZoneText": "FV0QMq_uploadDropZoneText",
|
|
11114
|
+
"editorModeActive": "FV0QMq_editorModeActive",
|
|
11240
11115
|
"pinnedSessionTitle": "FV0QMq_pinnedSessionTitle",
|
|
11241
|
-
"
|
|
11116
|
+
"uploadOverlayCancel": "FV0QMq_uploadOverlayCancel",
|
|
11117
|
+
"gitDiffFileTag": "FV0QMq_gitDiffFileTag",
|
|
11118
|
+
"gitDiffLine": "FV0QMq_gitDiffLine",
|
|
11119
|
+
"boundaryError": "FV0QMq_boundaryError",
|
|
11120
|
+
"pinnedSessionDot": "FV0QMq_pinnedSessionDot",
|
|
11121
|
+
"browser": "FV0QMq_browser",
|
|
11122
|
+
"producedMore": "FV0QMq_producedMore",
|
|
11123
|
+
"updateFooter": "FV0QMq_updateFooter",
|
|
11124
|
+
"tabBarDrop": "FV0QMq_tabBarDrop",
|
|
11125
|
+
"mermaidInfo": "FV0QMq_mermaidInfo",
|
|
11126
|
+
"paneContent": "FV0QMq_paneContent",
|
|
11127
|
+
"chatcodeGateContent": "FV0QMq_chatcodeGateContent",
|
|
11128
|
+
"gitDiffHunk": "FV0QMq_gitDiffHunk",
|
|
11129
|
+
"releaseNotesButton": "FV0QMq_releaseNotesButton",
|
|
11130
|
+
"uploadOverlayStatus": "FV0QMq_uploadOverlayStatus",
|
|
11131
|
+
"mermaidError": "FV0QMq_mermaidError",
|
|
11132
|
+
"gitDiffHunkHeader": "FV0QMq_gitDiffHunkHeader",
|
|
11133
|
+
"gitDiffMetaText": "FV0QMq_gitDiffMetaText",
|
|
11134
|
+
"gitCommit": "FV0QMq_gitCommit",
|
|
11135
|
+
"splitChild": "FV0QMq_splitChild",
|
|
11136
|
+
"releaseNotesHeader": "FV0QMq_releaseNotesHeader",
|
|
11137
|
+
"editorHeader": "FV0QMq_editorHeader",
|
|
11138
|
+
"gitLogSubject": "FV0QMq_gitLogSubject",
|
|
11242
11139
|
"editorPptxButton": "FV0QMq_editorPptxButton",
|
|
11243
|
-
"
|
|
11244
|
-
"
|
|
11245
|
-
"tabBadge": "FV0QMq_tabBadge",
|
|
11246
|
-
"openWithPinActive": "FV0QMq_openWithPinActive",
|
|
11247
|
-
"iconButton": "FV0QMq_iconButton",
|
|
11140
|
+
"updateErrorText": "FV0QMq_updateErrorText",
|
|
11141
|
+
"gitDiffTabHeader": "FV0QMq_gitDiffTabHeader",
|
|
11248
11142
|
"gitLink": "FV0QMq_gitLink",
|
|
11249
|
-
"
|
|
11250
|
-
"
|
|
11251
|
-
"
|
|
11252
|
-
"orphanedType": "FV0QMq_orphanedType",
|
|
11253
|
-
"explorer": "FV0QMq_explorer",
|
|
11254
|
-
"accountItem": "FV0QMq_accountItem",
|
|
11255
|
-
"browserBlockedDesc": "FV0QMq_browserBlockedDesc",
|
|
11256
|
-
"tocButton": "FV0QMq_tocButton",
|
|
11257
|
-
"paneTab": "FV0QMq_paneTab",
|
|
11258
|
-
"selectionPopup": "FV0QMq_selectionPopup",
|
|
11259
|
-
"panelHidden": "FV0QMq_panelHidden",
|
|
11143
|
+
"dividerActive": "FV0QMq_dividerActive",
|
|
11144
|
+
"accountDropdown": "FV0QMq_accountDropdown",
|
|
11145
|
+
"floatTitle": "FV0QMq_floatTitle",
|
|
11260
11146
|
"mermaidModalHint": "FV0QMq_mermaidModalHint",
|
|
11261
|
-
"
|
|
11147
|
+
"bottomPanel": "FV0QMq_bottomPanel",
|
|
11148
|
+
"gitDiffHunkSection": "FV0QMq_gitDiffHunkSection",
|
|
11149
|
+
"mermaidCopy": "FV0QMq_mermaidCopy",
|
|
11150
|
+
"gitDiffCode": "FV0QMq_gitDiffCode",
|
|
11151
|
+
"openWithPin": "FV0QMq_openWithPin",
|
|
11152
|
+
"iconButton": "FV0QMq_iconButton",
|
|
11153
|
+
"gitDiffExpand": "FV0QMq_gitDiffExpand",
|
|
11154
|
+
"floatWindowDragging": "FV0QMq_floatWindowDragging",
|
|
11155
|
+
"chatcodeGateActions": "FV0QMq_chatcodeGateActions",
|
|
11156
|
+
"tabTitle": "FV0QMq_tabTitle",
|
|
11157
|
+
"terminalRepairCommand": "FV0QMq_terminalRepairCommand",
|
|
11158
|
+
"releaseNotesIconButton": "FV0QMq_releaseNotesIconButton",
|
|
11159
|
+
"floatResize": "FV0QMq_floatResize",
|
|
11160
|
+
"editorHtml": "FV0QMq_editorHtml",
|
|
11161
|
+
"fenceError": "FV0QMq_fenceError",
|
|
11162
|
+
"editorBinary": "FV0QMq_editorBinary",
|
|
11163
|
+
"editorTreeResize": "FV0QMq_editorTreeResize",
|
|
11164
|
+
"terminal": "FV0QMq_terminal",
|
|
11165
|
+
"pinnedSessionsList": "FV0QMq_pinnedSessionsList",
|
|
11166
|
+
"tocItemLevel": "FV0QMq_tocItemLevel",
|
|
11167
|
+
"tabList": "FV0QMq_tabList",
|
|
11168
|
+
"gitRow": "FV0QMq_gitRow",
|
|
11169
|
+
"uploadOverlayProgressFill": "FV0QMq_uploadOverlayProgressFill",
|
|
11170
|
+
"gitWorktreeLabel": "FV0QMq_gitWorktreeLabel",
|
|
11171
|
+
"mermaidModalStage": "FV0QMq_mermaidModalStage",
|
|
11172
|
+
"dsh-toc-flash": "FV0QMq_dsh-toc-flash",
|
|
11173
|
+
"updateVersions": "FV0QMq_updateVersions",
|
|
11174
|
+
"dropDown": "FV0QMq_dropDown",
|
|
11175
|
+
"editorSearchResult": "FV0QMq_editorSearchResult",
|
|
11176
|
+
"gitDiffAdd": "FV0QMq_gitDiffAdd",
|
|
11177
|
+
"dsh-row-in": "FV0QMq_dsh-row-in",
|
|
11178
|
+
"pinnedSessionOpen": "FV0QMq_pinnedSessionOpen",
|
|
11179
|
+
"panelHidden": "FV0QMq_panelHidden",
|
|
11180
|
+
"splitRow": "FV0QMq_splitRow",
|
|
11181
|
+
"explorerName": "FV0QMq_explorerName",
|
|
11182
|
+
"gitCommitButton": "FV0QMq_gitCommitButton",
|
|
11183
|
+
"accountAvatar": "FV0QMq_accountAvatar",
|
|
11262
11184
|
"uploadOverlayProgress": "FV0QMq_uploadOverlayProgress",
|
|
11263
|
-
"
|
|
11264
|
-
"
|
|
11185
|
+
"editorBinaryNotice": "FV0QMq_editorBinaryNotice",
|
|
11186
|
+
"browserFrame": "FV0QMq_browserFrame",
|
|
11187
|
+
"updateSettingsRow": "FV0QMq_updateSettingsRow",
|
|
11188
|
+
"updateSettingsDesc": "FV0QMq_updateSettingsDesc",
|
|
11189
|
+
"editorPdfToolbar": "FV0QMq_editorPdfToolbar",
|
|
11190
|
+
"floatWindow": "FV0QMq_floatWindow",
|
|
11191
|
+
"paneEmptyCards": "FV0QMq_paneEmptyCards",
|
|
11192
|
+
"editorPdfFrameBlocked": "FV0QMq_editorPdfFrameBlocked",
|
|
11193
|
+
"gitDiffFileOld": "FV0QMq_gitDiffFileOld",
|
|
11194
|
+
"mermaidModal": "FV0QMq_mermaidModal",
|
|
11195
|
+
"panelBody": "FV0QMq_panelBody",
|
|
11196
|
+
"editorPdf": "FV0QMq_editorPdf",
|
|
11197
|
+
"uploadDropHero": "FV0QMq_uploadDropHero",
|
|
11198
|
+
"explorerDir": "FV0QMq_explorerDir",
|
|
11199
|
+
"terminalDepsHint": "FV0QMq_terminalDepsHint",
|
|
11200
|
+
"editorDownloadLink": "FV0QMq_editorDownloadLink",
|
|
11201
|
+
"chatcodeGateCard": "FV0QMq_chatcodeGateCard",
|
|
11202
|
+
"divider": "FV0QMq_divider",
|
|
11203
|
+
"gitLogLine1": "FV0QMq_gitLogLine1",
|
|
11204
|
+
"editorTreeSearch": "FV0QMq_editorTreeSearch",
|
|
11205
|
+
"producedRow": "FV0QMq_producedRow",
|
|
11206
|
+
"bottomClose": "FV0QMq_bottomClose",
|
|
11207
|
+
"tabBadge": "FV0QMq_tabBadge",
|
|
11208
|
+
"mermaidBody": "FV0QMq_mermaidBody",
|
|
11209
|
+
"editorTreePanelFull": "FV0QMq_editorTreePanelFull",
|
|
11210
|
+
"terminalDepsTitle": "FV0QMq_terminalDepsTitle",
|
|
11211
|
+
"gitWorktreeRow": "FV0QMq_gitWorktreeRow",
|
|
11212
|
+
"dirtyDot": "FV0QMq_dirtyDot",
|
|
11213
|
+
"sandboxAction": "FV0QMq_sandboxAction",
|
|
11214
|
+
"pinnedSessionMenuDivider": "FV0QMq_pinnedSessionMenuDivider",
|
|
11215
|
+
"dropLeft": "FV0QMq_dropLeft",
|
|
11216
|
+
"pinnedSessionMore": "FV0QMq_pinnedSessionMore",
|
|
11217
|
+
"uploadOverlayTitle": "FV0QMq_uploadOverlayTitle",
|
|
11218
|
+
"mermaidCode": "FV0QMq_mermaidCode",
|
|
11219
|
+
"producedLabel": "FV0QMq_producedLabel",
|
|
11220
|
+
"terminalDepsBanner": "FV0QMq_terminalDepsBanner",
|
|
11221
|
+
"tocBar": "FV0QMq_tocBar",
|
|
11222
|
+
"panel": "FV0QMq_panel",
|
|
11223
|
+
"browserBar": "FV0QMq_browserBar",
|
|
11224
|
+
"explorerHeader": "FV0QMq_explorerHeader",
|
|
11225
|
+
"updateSettingsText": "FV0QMq_updateSettingsText",
|
|
11226
|
+
"bottomResize": "FV0QMq_bottomResize",
|
|
11227
|
+
"terminalBannerUrl": "FV0QMq_terminalBannerUrl",
|
|
11228
|
+
"gitDiffMeta": "FV0QMq_gitDiffMeta",
|
|
11229
|
+
"gitLogMore": "FV0QMq_gitLogMore",
|
|
11230
|
+
"explorerBroken": "FV0QMq_explorerBroken",
|
|
11231
|
+
"openWithName": "FV0QMq_openWithName",
|
|
11232
|
+
"updateCommand": "FV0QMq_updateCommand",
|
|
11233
|
+
"gitDiffFile": "FV0QMq_gitDiffFile",
|
|
11234
|
+
"updateSettingsBlock": "FV0QMq_updateSettingsBlock",
|
|
11265
11235
|
"tab": "FV0QMq_tab",
|
|
11266
|
-
"
|
|
11267
|
-
"
|
|
11268
|
-
"
|
|
11269
|
-
"
|
|
11270
|
-
"
|
|
11271
|
-
"
|
|
11236
|
+
"explorerEmpty": "FV0QMq_explorerEmpty",
|
|
11237
|
+
"editorPathInput": "FV0QMq_editorPathInput",
|
|
11238
|
+
"editorModeToggle": "FV0QMq_editorModeToggle",
|
|
11239
|
+
"gitSection": "FV0QMq_gitSection",
|
|
11240
|
+
"bottomResizeActive": "FV0QMq_bottomResizeActive",
|
|
11241
|
+
"tabBarPlus": "FV0QMq_tabBarPlus",
|
|
11272
11242
|
"producedChip": "FV0QMq_producedChip",
|
|
11273
|
-
"
|
|
11274
|
-
"
|
|
11275
|
-
"
|
|
11276
|
-
"
|
|
11277
|
-
"
|
|
11243
|
+
"toggleClusterNative": "FV0QMq_toggleClusterNative",
|
|
11244
|
+
"tocFlash": "FV0QMq_tocFlash",
|
|
11245
|
+
"gitDiffDel": "FV0QMq_gitDiffDel",
|
|
11246
|
+
"openWithPinActive": "FV0QMq_openWithPinActive",
|
|
11247
|
+
"editorBody": "FV0QMq_editorBody",
|
|
11248
|
+
"editorCmHidden": "FV0QMq_editorCmHidden",
|
|
11249
|
+
"browserBlocked": "FV0QMq_browserBlocked",
|
|
11250
|
+
"panelResize": "FV0QMq_panelResize",
|
|
11278
11251
|
"pinnedSessions": "FV0QMq_pinnedSessions",
|
|
11279
|
-
"
|
|
11280
|
-
"
|
|
11281
|
-
"
|
|
11282
|
-
"
|
|
11283
|
-
"
|
|
11284
|
-
"
|
|
11285
|
-
"
|
|
11286
|
-
"
|
|
11287
|
-
"
|
|
11288
|
-
"
|
|
11289
|
-
"
|
|
11290
|
-
"
|
|
11291
|
-
"
|
|
11252
|
+
"dropUp": "FV0QMq_dropUp",
|
|
11253
|
+
"editorMd": "FV0QMq_editorMd",
|
|
11254
|
+
"mermaidHeader": "FV0QMq_mermaidHeader",
|
|
11255
|
+
"releaseNotesOverlay": "FV0QMq_releaseNotesOverlay",
|
|
11256
|
+
"updateError": "FV0QMq_updateError",
|
|
11257
|
+
"browserMessage": "FV0QMq_browserMessage",
|
|
11258
|
+
"pinnedSessionsHeading": "FV0QMq_pinnedSessionsHeading",
|
|
11259
|
+
"gitRowSelected": "FV0QMq_gitRowSelected",
|
|
11260
|
+
"gitConfirmDesc": "FV0QMq_gitConfirmDesc",
|
|
11261
|
+
"uploadDropChatCard": "FV0QMq_uploadDropChatCard",
|
|
11262
|
+
"editorStatus": "FV0QMq_editorStatus",
|
|
11263
|
+
"dropRight": "FV0QMq_dropRight",
|
|
11264
|
+
"editorPdfDragShieldActive": "FV0QMq_editorPdfDragShieldActive",
|
|
11265
|
+
"editorPdfFrame": "FV0QMq_editorPdfFrame",
|
|
11266
|
+
"gitDiffTab": "FV0QMq_gitDiffTab",
|
|
11292
11267
|
"gitDiffTabTitle": "FV0QMq_gitDiffTabTitle",
|
|
11293
|
-
"
|
|
11294
|
-
"
|
|
11295
|
-
"
|
|
11296
|
-
"
|
|
11297
|
-
"
|
|
11268
|
+
"pinnedSessionRow": "FV0QMq_pinnedSessionRow",
|
|
11269
|
+
"editorMain": "FV0QMq_editorMain",
|
|
11270
|
+
"gitLogRow": "FV0QMq_gitLogRow",
|
|
11271
|
+
"gitDiffCtx": "FV0QMq_gitDiffCtx",
|
|
11272
|
+
"explorerError": "FV0QMq_explorerError",
|
|
11273
|
+
"terminalDepsCommandRow": "FV0QMq_terminalDepsCommandRow",
|
|
11274
|
+
"tocPanel": "FV0QMq_tocPanel",
|
|
11275
|
+
"tocItemText": "FV0QMq_tocItemText",
|
|
11276
|
+
"mermaidWrap": "FV0QMq_mermaidWrap",
|
|
11277
|
+
"chatcodeGate": "FV0QMq_chatcodeGate",
|
|
11278
|
+
"gitSectionHeader": "FV0QMq_gitSectionHeader",
|
|
11279
|
+
"editor": "FV0QMq_editor",
|
|
11280
|
+
"accountPresence": "FV0QMq_accountPresence",
|
|
11281
|
+
"browserBlockedButton": "FV0QMq_browserBlockedButton",
|
|
11282
|
+
"updateOk": "FV0QMq_updateOk",
|
|
11283
|
+
"sandboxStatus": "FV0QMq_sandboxStatus",
|
|
11284
|
+
"mermaidModalToolbar": "FV0QMq_mermaidModalToolbar",
|
|
11285
|
+
"editorImage": "FV0QMq_editorImage",
|
|
11286
|
+
"gitLogRef": "FV0QMq_gitLogRef",
|
|
11287
|
+
"floatHeader": "FV0QMq_floatHeader",
|
|
11288
|
+
"splitCol": "FV0QMq_splitCol",
|
|
11289
|
+
"dropCenter": "FV0QMq_dropCenter",
|
|
11290
|
+
"toggleButton": "FV0QMq_toggleButton",
|
|
11291
|
+
"gitError": "FV0QMq_gitError",
|
|
11292
|
+
"editorSearchHint": "FV0QMq_editorSearchHint",
|
|
11293
|
+
"updateList": "FV0QMq_updateList",
|
|
11294
|
+
"accountItem": "FV0QMq_accountItem",
|
|
11295
|
+
"terminalDepsNote": "FV0QMq_terminalDepsNote",
|
|
11296
|
+
"editorTreePanel": "FV0QMq_editorTreePanel",
|
|
11297
|
+
"openWithLabel": "FV0QMq_openWithLabel"
|
|
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
|
-
"rowGear": "N4aF0W_rowGear",
|
|
14349
|
-
"selectAnchor": "N4aF0W_selectAnchor",
|
|
14350
|
-
"pluginEmpty": "N4aF0W_pluginEmpty",
|
|
14351
|
-
"desc": "N4aF0W_desc",
|
|
14352
|
-
"done": "N4aF0W_done",
|
|
14353
|
-
"cardDesc": "N4aF0W_cardDesc",
|
|
14354
|
-
"cardIconChip": "N4aF0W_cardIconChip",
|
|
14355
|
-
"pluginName": "N4aF0W_pluginName",
|
|
14356
|
-
"pluginList": "N4aF0W_pluginList",
|
|
14357
|
-
"control": "N4aF0W_control",
|
|
14358
|
-
"switchThumb": "N4aF0W_switchThumb",
|
|
14359
|
-
"intro": "N4aF0W_intro",
|
|
14360
|
-
"cardSwitch": "N4aF0W_cardSwitch",
|
|
14361
|
-
"percentInput": "N4aF0W_percentInput",
|
|
14362
|
-
"card": "N4aF0W_card",
|
|
14363
|
-
"pluginGroupHeading": "N4aF0W_pluginGroupHeading",
|
|
14364
|
-
"openWithEditorTemplate": "N4aF0W_openWithEditorTemplate",
|
|
14365
|
-
"openWithEditorInput": "N4aF0W_openWithEditorInput",
|
|
14366
|
-
"openWithEditorRow": "N4aF0W_openWithEditorRow",
|
|
14367
|
-
"popupRow": "N4aF0W_popupRow",
|
|
14368
|
-
"cardMain": "N4aF0W_cardMain",
|
|
14347
|
+
"pluginEntries": "N4aF0W_pluginEntries",
|
|
14369
14348
|
"cardOn": "N4aF0W_cardOn",
|
|
14370
|
-
"rowText": "N4aF0W_rowText",
|
|
14371
|
-
"selectAnchorText": "N4aF0W_selectAnchorText",
|
|
14372
|
-
"selectOptionText": "N4aF0W_selectOptionText",
|
|
14373
|
-
"count": "N4aF0W_count",
|
|
14374
14349
|
"grid": "N4aF0W_grid",
|
|
14375
|
-
"
|
|
14376
|
-
"
|
|
14377
|
-
"
|
|
14378
|
-
"
|
|
14379
|
-
"
|
|
14380
|
-
"pluginSearch": "N4aF0W_pluginSearch",
|
|
14381
|
-
"pluginEntryHead": "N4aF0W_pluginEntryHead",
|
|
14350
|
+
"count": "N4aF0W_count",
|
|
14351
|
+
"selectAnchorIcon": "N4aF0W_selectAnchorIcon",
|
|
14352
|
+
"control": "N4aF0W_control",
|
|
14353
|
+
"pluginEntry": "N4aF0W_pluginEntry",
|
|
14354
|
+
"card": "N4aF0W_card",
|
|
14382
14355
|
"title": "N4aF0W_title",
|
|
14383
|
-
"
|
|
14356
|
+
"section": "N4aF0W_section",
|
|
14357
|
+
"popupRow": "N4aF0W_popupRow",
|
|
14358
|
+
"switch": "N4aF0W_switch",
|
|
14384
14359
|
"pluginCopyBtn": "N4aF0W_pluginCopyBtn",
|
|
14385
|
-
"
|
|
14386
|
-
"
|
|
14360
|
+
"pluginGroup": "N4aF0W_pluginGroup",
|
|
14361
|
+
"cardIconChip": "N4aF0W_cardIconChip",
|
|
14362
|
+
"switchTrack": "N4aF0W_switchTrack",
|
|
14363
|
+
"selectOptionIcon": "N4aF0W_selectOptionIcon",
|
|
14387
14364
|
"pluginJumpBtn": "N4aF0W_pluginJumpBtn",
|
|
14388
|
-
"
|
|
14389
|
-
"
|
|
14365
|
+
"cardTop": "N4aF0W_cardTop",
|
|
14366
|
+
"pluginModal": "N4aF0W_pluginModal",
|
|
14367
|
+
"desc": "N4aF0W_desc",
|
|
14368
|
+
"group": "N4aF0W_group",
|
|
14369
|
+
"typedInputNumber": "N4aF0W_typedInputNumber",
|
|
14390
14370
|
"switchInput": "N4aF0W_switchInput",
|
|
14391
|
-
"
|
|
14392
|
-
"
|
|
14371
|
+
"cardSwitch": "N4aF0W_cardSwitch",
|
|
14372
|
+
"percentInput": "N4aF0W_percentInput",
|
|
14393
14373
|
"pluginEntryActions": "N4aF0W_pluginEntryActions",
|
|
14394
|
-
"
|
|
14395
|
-
"
|
|
14396
|
-
"
|
|
14397
|
-
"
|
|
14398
|
-
"
|
|
14374
|
+
"selectOptionText": "N4aF0W_selectOptionText",
|
|
14375
|
+
"openWithEditorTemplate": "N4aF0W_openWithEditorTemplate",
|
|
14376
|
+
"selectAnchorText": "N4aF0W_selectAnchorText",
|
|
14377
|
+
"cardSwitchThumb": "N4aF0W_cardSwitchThumb",
|
|
14378
|
+
"rowGear": "N4aF0W_rowGear",
|
|
14399
14379
|
"openWithRemove": "N4aF0W_openWithRemove",
|
|
14400
|
-
"
|
|
14380
|
+
"addCard": "N4aF0W_addCard",
|
|
14381
|
+
"rowText": "N4aF0W_rowText",
|
|
14382
|
+
"suffix": "N4aF0W_suffix",
|
|
14383
|
+
"done": "N4aF0W_done",
|
|
14401
14384
|
"error": "N4aF0W_error",
|
|
14402
|
-
"
|
|
14403
|
-
"section": "N4aF0W_section",
|
|
14385
|
+
"pluginGroupHeading": "N4aF0W_pluginGroupHeading",
|
|
14404
14386
|
"selectOption": "N4aF0W_selectOption",
|
|
14405
|
-
"
|
|
14387
|
+
"openWithEditorRow": "N4aF0W_openWithEditorRow",
|
|
14406
14388
|
"openWithFamily": "N4aF0W_openWithFamily",
|
|
14407
|
-
"popupRows": "N4aF0W_popupRows",
|
|
14408
|
-
"openWithHint": "N4aF0W_openWithHint",
|
|
14409
|
-
"switchTrack": "N4aF0W_switchTrack",
|
|
14410
|
-
"pluginEntries": "N4aF0W_pluginEntries",
|
|
14411
14389
|
"pluginInstall": "N4aF0W_pluginInstall",
|
|
14412
|
-
"
|
|
14390
|
+
"openWithEditorInput": "N4aF0W_openWithEditorInput",
|
|
14391
|
+
"cardSettings": "N4aF0W_cardSettings",
|
|
14392
|
+
"cardSwitchTrack": "N4aF0W_cardSwitchTrack",
|
|
14393
|
+
"typedInput": "N4aF0W_typedInput",
|
|
14394
|
+
"cardTitle": "N4aF0W_cardTitle",
|
|
14395
|
+
"cardDesc": "N4aF0W_cardDesc",
|
|
14396
|
+
"pluginSearch": "N4aF0W_pluginSearch",
|
|
14397
|
+
"cardMain": "N4aF0W_cardMain",
|
|
14398
|
+
"intro": "N4aF0W_intro",
|
|
14399
|
+
"openWithHint": "N4aF0W_openWithHint",
|
|
14400
|
+
"groupHeading": "N4aF0W_groupHeading",
|
|
14401
|
+
"pluginTopicBtn": "N4aF0W_pluginTopicBtn",
|
|
14402
|
+
"pluginEmpty": "N4aF0W_pluginEmpty",
|
|
14403
|
+
"pluginList": "N4aF0W_pluginList",
|
|
14404
|
+
"pluginName": "N4aF0W_pluginName",
|
|
14405
|
+
"selectAnchor": "N4aF0W_selectAnchor",
|
|
14406
|
+
"row": "N4aF0W_row",
|
|
14407
|
+
"popupDialog": "N4aF0W_popupDialog",
|
|
14408
|
+
"cssTextArea": "N4aF0W_cssTextArea",
|
|
14409
|
+
"switchThumb": "N4aF0W_switchThumb",
|
|
14410
|
+
"pluginDesc": "N4aF0W_pluginDesc",
|
|
14411
|
+
"popupRows": "N4aF0W_popupRows",
|
|
14412
|
+
"pluginEntryHead": "N4aF0W_pluginEntryHead"
|
|
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
|
-
"models": "kn_HcG_models",
|
|
21118
|
-
"headingRow": "kn_HcG_headingRow",
|
|
21119
|
-
"modelName": "kn_HcG_modelName",
|
|
21120
|
-
"group": "kn_HcG_group",
|
|
21121
|
-
"modelTop": "kn_HcG_modelTop",
|
|
21122
|
-
"refresh": "kn_HcG_refresh",
|
|
21123
21127
|
"modelDescription": "kn_HcG_modelDescription",
|
|
21128
|
+
"group": "kn_HcG_group",
|
|
21129
|
+
"description": "kn_HcG_description",
|
|
21130
|
+
"modelName": "kn_HcG_modelName",
|
|
21124
21131
|
"heading": "kn_HcG_heading",
|
|
21125
|
-
"
|
|
21132
|
+
"modelId": "kn_HcG_modelId",
|
|
21133
|
+
"headingRow": "kn_HcG_headingRow",
|
|
21126
21134
|
"meta": "kn_HcG_meta",
|
|
21127
|
-
"description": "kn_HcG_description",
|
|
21128
21135
|
"selected": "kn_HcG_selected",
|
|
21136
|
+
"modelTop": "kn_HcG_modelTop",
|
|
21129
21137
|
"status": "kn_HcG_status",
|
|
21130
21138
|
"model": "kn_HcG_model",
|
|
21131
|
-
"
|
|
21139
|
+
"modelSelected": "kn_HcG_modelSelected",
|
|
21140
|
+
"models": "kn_HcG_models",
|
|
21141
|
+
"refresh": "kn_HcG_refresh"
|
|
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
|
-
"cellTokens": "iUwB6a_cellTokens",
|
|
22310
|
+
"monthButton": "iUwB6a_monthButton",
|
|
22311
|
+
"cellHover": "iUwB6a_cellHover",
|
|
22303
22312
|
"overview": "iUwB6a_overview",
|
|
22313
|
+
"tooltipSplit": "iUwB6a_tooltipSplit",
|
|
22314
|
+
"group": "iUwB6a_group",
|
|
22304
22315
|
"total": "iUwB6a_total",
|
|
22305
|
-
"
|
|
22316
|
+
"retry": "iUwB6a_retry",
|
|
22317
|
+
"footer": "iUwB6a_footer",
|
|
22306
22318
|
"stats": "iUwB6a_stats",
|
|
22307
|
-
"
|
|
22308
|
-
"refreshButton": "iUwB6a_refreshButton",
|
|
22309
|
-
"monthLabel": "iUwB6a_monthLabel",
|
|
22310
|
-
"stat": "iUwB6a_stat",
|
|
22311
|
-
"cellToday": "iUwB6a_cellToday",
|
|
22312
|
-
"empty": "iUwB6a_empty",
|
|
22313
|
-
"state": "iUwB6a_state",
|
|
22314
|
-
"spin": "iUwB6a_spin",
|
|
22315
|
-
"dshSidebarUsageSpin": "iUwB6a_dshSidebarUsageSpin",
|
|
22319
|
+
"statLabel": "iUwB6a_statLabel",
|
|
22316
22320
|
"legend": "iUwB6a_legend",
|
|
22317
|
-
"
|
|
22321
|
+
"stat": "iUwB6a_stat",
|
|
22322
|
+
"tooltipBelow": "iUwB6a_tooltipBelow",
|
|
22323
|
+
"cellDay": "iUwB6a_cellDay",
|
|
22324
|
+
"todayLabel": "iUwB6a_todayLabel",
|
|
22318
22325
|
"totalUnit": "iUwB6a_totalUnit",
|
|
22319
|
-
"tooltip": "iUwB6a_tooltip",
|
|
22320
|
-
"headerRow": "iUwB6a_headerRow",
|
|
22321
|
-
"retry": "iUwB6a_retry",
|
|
22322
|
-
"totalNumber": "iUwB6a_totalNumber",
|
|
22323
|
-
"cellHover": "iUwB6a_cellHover",
|
|
22324
22326
|
"weekdays": "iUwB6a_weekdays",
|
|
22325
|
-
"
|
|
22326
|
-
"
|
|
22327
|
-
"
|
|
22328
|
-
"
|
|
22329
|
-
"totalValue": "iUwB6a_totalValue",
|
|
22327
|
+
"state": "iUwB6a_state",
|
|
22328
|
+
"tooltipDate": "iUwB6a_tooltipDate",
|
|
22329
|
+
"headerRow": "iUwB6a_headerRow",
|
|
22330
|
+
"spin": "iUwB6a_spin",
|
|
22330
22331
|
"cellFuture": "iUwB6a_cellFuture",
|
|
22331
|
-
"
|
|
22332
|
+
"tooltipTokens": "iUwB6a_tooltipTokens",
|
|
22333
|
+
"stateError": "iUwB6a_stateError",
|
|
22334
|
+
"legendSwatch": "iUwB6a_legendSwatch",
|
|
22332
22335
|
"todayDot": "iUwB6a_todayDot",
|
|
22333
|
-
"
|
|
22334
|
-
"
|
|
22336
|
+
"gridBody": "iUwB6a_gridBody",
|
|
22337
|
+
"cellToday": "iUwB6a_cellToday",
|
|
22338
|
+
"refreshButton": "iUwB6a_refreshButton",
|
|
22339
|
+
"monthNav": "iUwB6a_monthNav",
|
|
22340
|
+
"grid": "iUwB6a_grid",
|
|
22335
22341
|
"cell": "iUwB6a_cell",
|
|
22336
|
-
"
|
|
22337
|
-
"
|
|
22338
|
-
"
|
|
22339
|
-
"
|
|
22342
|
+
"dshSidebarUsageSpin": "iUwB6a_dshSidebarUsageSpin",
|
|
22343
|
+
"tooltipToday": "iUwB6a_tooltipToday",
|
|
22344
|
+
"monthLabel": "iUwB6a_monthLabel",
|
|
22345
|
+
"empty": "iUwB6a_empty",
|
|
22346
|
+
"tooltip": "iUwB6a_tooltip",
|
|
22347
|
+
"totalValue": "iUwB6a_totalValue",
|
|
22348
|
+
"cellTokens": "iUwB6a_cellTokens",
|
|
22349
|
+
"totalNumber": "iUwB6a_totalNumber",
|
|
22340
22350
|
"section": "iUwB6a_section",
|
|
22341
|
-
"
|
|
22351
|
+
"statValue": "iUwB6a_statValue"
|
|
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 = {
|
|
22727
|
+
"cardRatio": "JtMahq_cardRatio",
|
|
22728
|
+
"card": "JtMahq_card",
|
|
22729
|
+
"dash": "JtMahq_dash",
|
|
22730
|
+
"stateError": "JtMahq_stateError",
|
|
22731
|
+
"cardLabel": "JtMahq_cardLabel",
|
|
22732
|
+
"addedValue": "JtMahq_addedValue",
|
|
22733
|
+
"ratioCardLow": "JtMahq_ratioCardLow",
|
|
22734
|
+
"section": "JtMahq_section",
|
|
22735
|
+
"primaryButton": "JtMahq_primaryButton",
|
|
22736
|
+
"tableHeading": "JtMahq_tableHeading",
|
|
22717
22737
|
"dateInput": "JtMahq_dateInput",
|
|
22738
|
+
"exportButton": "JtMahq_exportButton",
|
|
22718
22739
|
"overview": "JtMahq_overview",
|
|
22719
|
-
"
|
|
22720
|
-
"
|
|
22740
|
+
"tableWrap": "JtMahq_tableWrap",
|
|
22741
|
+
"ratioValue": "JtMahq_ratioValue",
|
|
22721
22742
|
"ratioBar": "JtMahq_ratioBar",
|
|
22722
|
-
"
|
|
22723
|
-
"num": "JtMahq_num",
|
|
22724
|
-
"exportButton": "JtMahq_exportButton",
|
|
22743
|
+
"pager": "JtMahq_pager",
|
|
22725
22744
|
"dateCell": "JtMahq_dateCell",
|
|
22726
22745
|
"table": "JtMahq_table",
|
|
22746
|
+
"queryRow": "JtMahq_queryRow",
|
|
22747
|
+
"cardValue": "JtMahq_cardValue",
|
|
22748
|
+
"num": "JtMahq_num",
|
|
22727
22749
|
"pageInfo": "JtMahq_pageInfo",
|
|
22728
|
-
"tableHeading": "JtMahq_tableHeading",
|
|
22729
|
-
"pager": "JtMahq_pager",
|
|
22730
|
-
"ratioCardLow": "JtMahq_ratioCardLow",
|
|
22731
|
-
"ratioValue": "JtMahq_ratioValue",
|
|
22732
|
-
"cardRatio": "JtMahq_cardRatio",
|
|
22733
|
-
"aiValue": "JtMahq_aiValue",
|
|
22734
|
-
"commitsValue": "JtMahq_commitsValue",
|
|
22735
22750
|
"state": "JtMahq_state",
|
|
22736
|
-
"stateError": "JtMahq_stateError",
|
|
22737
|
-
"queryRow": "JtMahq_queryRow",
|
|
22738
|
-
"primaryButton": "JtMahq_primaryButton",
|
|
22739
22751
|
"adoptedValue": "JtMahq_adoptedValue",
|
|
22740
|
-
"
|
|
22741
|
-
"
|
|
22742
|
-
"
|
|
22743
|
-
"tableWrap": "JtMahq_tableWrap",
|
|
22744
|
-
"dash": "JtMahq_dash"
|
|
22752
|
+
"aiValue": "JtMahq_aiValue",
|
|
22753
|
+
"commitsValue": "JtMahq_commitsValue",
|
|
22754
|
+
"ratioCardHigh": "JtMahq_ratioCardHigh"
|
|
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 = "dsh-external/dsh-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,12 +27928,26 @@ 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";
|
|
27921
|
-
const
|
|
27931
|
+
const HERO_TITLE = "与世界,深一度对话";
|
|
27932
|
+
const LEGACY_HOST_BRAND_TEXT = /DSH\s*(?:Local\s*Build|本地构建)|DeepSeek\s*Harness|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;
|
|
27924
27935
|
const HERO_HEADLINE = /探索未至之境/u;
|
|
27925
27936
|
const HERO_PREVIEW_TEXT = /^(?:预览版|Preview)$/iu;
|
|
27926
27937
|
const FAVICON_MARKER = "data-dut-project-favicon";
|
|
27938
|
+
const VERSION_NOTICE_MARKER = "data-dut-version-notice";
|
|
27939
|
+
const VERSION_NOTICE = {
|
|
27940
|
+
en: {
|
|
27941
|
+
legacyTitle: "Internal Testing Notice",
|
|
27942
|
+
title: "Version Usage Notice",
|
|
27943
|
+
paragraphs: ["ChatCode CLI is currently evolving rapidly, and its features and user experience will continue to improve. If you encounter any issues or have feedback or suggestions, please join our DingTalk group to share them.", "DingTalk group ID: 178730000511"]
|
|
27944
|
+
},
|
|
27945
|
+
zh: {
|
|
27946
|
+
legacyTitle: "内测声明",
|
|
27947
|
+
title: "版本使用声明",
|
|
27948
|
+
paragraphs: ["ChatCode CLI 当前版本处于快速迭代阶段,相关功能与使用体验将持续优化。如您在使用过程中遇到问题,或有任何意见与建议,欢迎加入钉钉交流群反馈。", "钉钉群号:178730000511"]
|
|
27949
|
+
}
|
|
27950
|
+
};
|
|
27927
27951
|
/** Reusable rendering of the packaged project logo. */
|
|
27928
27952
|
function ProjectLogoIcon({ className = "" }) {
|
|
27929
27953
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("img", {
|
|
@@ -27963,16 +27987,9 @@ to{transform:translateX(-8px)}
|
|
|
27963
27987
|
});
|
|
27964
27988
|
}
|
|
27965
27989
|
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. */
|
|
27990
|
+
/* ChatCode CLI branding is deliberately limited to primary actions. Every
|
|
27991
|
+
other surface and interaction state (including workspace/sidebar rows,
|
|
27992
|
+
menus, the composer, text and shadows) remains owned by the host theme. */
|
|
27976
27993
|
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
27994
|
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
27995
|
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 +28008,8 @@ body[data-ds-dark-theme] .dut-unicom-primary-action:not(:hover){background:#9B0B
|
|
|
27991
28008
|
.dut-brand-version{display:none !important}
|
|
27992
28009
|
.dut-hero-preview{display:none !important}
|
|
27993
28010
|
.dut-hero-logo{width:60px !important;height:60px !important}
|
|
27994
|
-
|
|
28011
|
+
.dut-hero-title{font-size:30px !important;line-height:40px !important;font-weight:600 !important;letter-spacing:.06em !important;white-space:nowrap}
|
|
28012
|
+
[class*="headline"]:has(.dut-hero-logo){grid-template-columns:60px auto !important;font-size:30px !important;line-height:40px !important}
|
|
27995
28013
|
.dut-settings-logo{width:19px;height:19px;object-fit:contain}
|
|
27996
28014
|
`;
|
|
27997
28015
|
function hasPrimaryLabel(button) {
|
|
@@ -28038,6 +28056,24 @@ body[data-ds-dark-theme] .dut-unicom-primary-action:not(:hover){background:#9B0B
|
|
|
28038
28056
|
sibling.setAttribute("aria-hidden", "true");
|
|
28039
28057
|
}
|
|
28040
28058
|
}
|
|
28059
|
+
/** Replace the registry build's older upstream notice with ChatCode product copy. */
|
|
28060
|
+
function syncVersionNotice() {
|
|
28061
|
+
document.querySelectorAll(`[role="dialog"][aria-label="${VERSION_NOTICE.zh.legacyTitle}"],[role="dialog"][aria-label="${VERSION_NOTICE.en.legacyTitle}"],[role="dialog"][${VERSION_NOTICE_MARKER}]`).forEach((dialog) => {
|
|
28062
|
+
const heading = dialog.querySelector("h1,h2,h3");
|
|
28063
|
+
const legacyTitle = dialog.getAttribute("aria-label") ?? heading?.textContent?.trim();
|
|
28064
|
+
const language = dialog.dataset.dutVersionNoticeLanguage === "zh" || legacyTitle === VERSION_NOTICE.zh.legacyTitle ? "zh" : "en";
|
|
28065
|
+
const notice = VERSION_NOTICE[language];
|
|
28066
|
+
dialog.setAttribute("aria-label", notice.title);
|
|
28067
|
+
dialog.setAttribute(VERSION_NOTICE_MARKER, "");
|
|
28068
|
+
dialog.dataset.dutVersionNoticeLanguage = language;
|
|
28069
|
+
if (heading !== null) heading.textContent = notice.title;
|
|
28070
|
+
const paragraphs = dialog.querySelectorAll("p");
|
|
28071
|
+
notice.paragraphs.forEach((text, index) => {
|
|
28072
|
+
const paragraph = paragraphs.item(index);
|
|
28073
|
+
if (paragraph !== null) paragraph.textContent = text;
|
|
28074
|
+
});
|
|
28075
|
+
});
|
|
28076
|
+
}
|
|
28041
28077
|
function syncBranding() {
|
|
28042
28078
|
document.title = document.title.replace(LEGACY_HOST_BRAND_TEXT, PROJECT_NAME);
|
|
28043
28079
|
document.querySelectorAll("[class*=\"previewBadge\"]").forEach((badge) => {
|
|
@@ -28063,6 +28099,14 @@ body[data-ds-dark-theme] .dut-unicom-primary-action:not(:hover){background:#9B0B
|
|
|
28063
28099
|
}
|
|
28064
28100
|
if (HERO_HEADLINE.test(node.data)) node.data = node.data.replace(HERO_HEADLINE, PROJECT_NAME);
|
|
28065
28101
|
}
|
|
28102
|
+
document.querySelectorAll(".dut-hero-logo").forEach((logo) => {
|
|
28103
|
+
const headline = logo.closest("[class*=\"headline\"]");
|
|
28104
|
+
const title = Array.from(headline?.querySelectorAll("*") ?? []).find((element) => element.childElementCount === 0 && element.textContent?.trim() === PROJECT_NAME);
|
|
28105
|
+
if (title === void 0) return;
|
|
28106
|
+
title.textContent = HERO_TITLE;
|
|
28107
|
+
title.classList.add("dut-hero-title");
|
|
28108
|
+
});
|
|
28109
|
+
syncVersionNotice();
|
|
28066
28110
|
document.querySelectorAll("[class*=\"brandMark\"]").forEach((host) => {
|
|
28067
28111
|
const svg = host.matches("svg") ? host : host.querySelector("svg");
|
|
28068
28112
|
if (svg instanceof SVGElement) replaceHostLogo(svg);
|
|
@@ -29931,15 +29975,15 @@ div[data-slot="conversation.chat.node"] table pre{
|
|
|
29931
29975
|
}, SettingsSection));
|
|
29932
29976
|
ctx.slots.inject("conversation.hero.brand.mark", () => ctx.slots.register({
|
|
29933
29977
|
name: "conversation.hero.brand.mark",
|
|
29934
|
-
priority: 10
|
|
29978
|
+
priority: -10
|
|
29935
29979
|
}, HeroProjectLogo));
|
|
29936
29980
|
ctx.slots.inject("sidebar.brand.mark", () => ctx.slots.register({
|
|
29937
29981
|
name: "sidebar.brand.mark",
|
|
29938
|
-
priority: 10
|
|
29982
|
+
priority: -10
|
|
29939
29983
|
}, SidebarProjectLogo));
|
|
29940
29984
|
ctx.slots.inject("sidebar.brand.name", () => ctx.slots.register({
|
|
29941
29985
|
name: "sidebar.brand.name",
|
|
29942
|
-
priority: 10
|
|
29986
|
+
priority: -10
|
|
29943
29987
|
}, SidebarProjectName));
|
|
29944
29988
|
ctx.slots.inject("conversation.session.header.actions", () => ctx.slots.register({
|
|
29945
29989
|
name: "conversation.session.header.actions",
|
|
@@ -30106,6 +30150,7 @@ div[data-slot="conversation.chat.node"] table pre{
|
|
|
30106
30150
|
"slots",
|
|
30107
30151
|
"sessions",
|
|
30108
30152
|
"uiSession",
|
|
30153
|
+
"uiWorkspace",
|
|
30109
30154
|
"workspaces",
|
|
30110
30155
|
"locale",
|
|
30111
30156
|
"modules",
|
|
@@ -30384,6 +30429,18 @@ div[data-slot="conversation.chat.node"] table pre{
|
|
|
30384
30429
|
ctx.effect(() => registerSettingsNavIcon(() => t("usageNav"), USAGE_NAV_MARKER), "dsh-better-sidebar: usage settings navigation icon");
|
|
30385
30430
|
ctx.effect(() => registerSettingsNavIcon(() => t("aiRatioNav"), AI_RATIO_NAV_MARKER), "dsh-better-sidebar: AI ratio settings navigation icon");
|
|
30386
30431
|
ctx.effect(() => registerSettingsNavIcon(() => t("updateNav"), UPDATE_NAV_MARKER), "dsh-better-sidebar: update settings navigation icon");
|
|
30432
|
+
ctx.effect(() => registerSettingsNavIcon(() => ["通用设置", "General"], GENERAL_NAV_MARKER), "dsh-better-sidebar: general settings navigation icon fallback");
|
|
30433
|
+
ctx.effect(() => registerSettingsNavIcon(() => [
|
|
30434
|
+
"插件市场",
|
|
30435
|
+
"Plugin marketplace",
|
|
30436
|
+
"Plugin Market"
|
|
30437
|
+
], PLUGIN_MARKET_NAV_MARKER), "dsh-better-sidebar: plugin market navigation icon fallback");
|
|
30438
|
+
ctx.effect(() => registerSettingsNavIcon(() => ["界面调整", "UI Tweaks"], UI_TWEAKS_NAV_MARKER), "dsh-better-sidebar: UI tweaks navigation icon fallback");
|
|
30439
|
+
ctx.effect(() => registerSettingsNavIcon(() => [
|
|
30440
|
+
"技能市场",
|
|
30441
|
+
"Skill marketplace",
|
|
30442
|
+
"Skill Market"
|
|
30443
|
+
], SKILL_MARKET_NAV_MARKER), "dsh-better-sidebar: skill market navigation icon fallback");
|
|
30387
30444
|
ctx.slots.inject("settings.section", () => ctx.slots.register({
|
|
30388
30445
|
name: "settings.section",
|
|
30389
30446
|
id: "better-sidebar",
|