@sparkelf/dsh-knowledge-base 0.6.3 → 0.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/SKILL.md +24 -8
- package/lib/client.js +992 -1189
- package/lib/client.js.map +1 -1
- package/lib/index.js +47 -170
- package/lib/types/client/index.d.ts +1 -0
- package/lib/types/client/locales.d.ts +1 -1
- package/lib/types/guardianSession.d.ts +1 -1
- package/lib/types/index.d.ts +12 -47
- package/lib/types/knowledgeTools.d.ts +1 -1
- package/lib/types/outlineGuard.d.ts +1 -1
- package/package.json +6 -3
- package/{skills/knowledge-graph/SKILL.md → references/graph.md} +0 -5
- package/{skills/kb-organize/SKILL.md → references/organize.md} +2 -14
- package/{skills/kb-summarize/SKILL.md → references/summarize.md} +2 -7
- package/{skills/kb-vectorize/SKILL.md → references/vectorize.md} +1 -6
- package/skills/memory/SKILL.md +50 -0
- package/skills/memory/i18n/zh.json +10 -0
- package/skills/{memory-extract/SKILL.md → memory/references/extract.md} +0 -5
- package/skills/{memory-guardian/SKILL.md → memory/references/guardian.md} +3 -8
- package/skills/{memory-sop-evaluate/SKILL.md → memory/references/sop-evaluate.md} +1 -6
- package/skills/memory-extract/i18n/zh.json +10 -0
- package/skills/memory-guardian/i18n/zh.json +10 -0
- package/skills/memory-sop-evaluate/i18n/zh.json +10 -0
- package/skills/kb-organize/i18n/zh.json +0 -10
- package/skills/kb-summarize/i18n/zh.json +0 -10
- package/skills/kb-vectorize/i18n/zh.json +0 -10
package/lib/client.js
CHANGED
|
@@ -31,6 +31,17 @@ window.__ModuleLoader__.load({
|
|
|
31
31
|
let _deepseek_ai_dsh_client_ui_primitives = require("@deepseek-ai/dsh-client-ui-primitives");
|
|
32
32
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
33
33
|
let react_dom = require("react-dom");
|
|
34
|
+
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/guide-uniform.module.css.mjs
|
|
35
|
+
const css$24 = "[data-sidebar-right-guide]:has(>[data-sidebar-right-guide-entry]),[data-sidebar-right-guide] div:has(>[data-sidebar-right-guide-entry]){grid-template-columns:repeat(auto-fill,minmax(140px,180px))!important;place-content:center!important;place-items:stretch stretch!important;gap:12px!important;display:grid!important}[data-sidebar-right-guide] [data-sidebar-right-guide-entry]{box-sizing:border-box!important;aspect-ratio:1!important;text-align:center!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:6px!important;width:100%!important;min-width:0!important;max-width:none!important;min-height:0!important;padding:10px!important;display:flex!important;overflow:hidden!important}[data-sidebar-right-guide] [data-sidebar-right-guide-entry] span{white-space:normal!important;text-overflow:clip!important;min-width:0!important;max-width:100%!important;overflow:hidden!important}@media (width<=640px){[data-sidebar-right-guide]:has(>[data-sidebar-right-guide-entry]),[data-sidebar-right-guide] div:has(>[data-sidebar-right-guide-entry]){grid-template-columns:repeat(auto-fill,minmax(96px,120px))!important}}[role=dialog]:has([class*=_orderList]){max-height:86vh!important;overflow-y:auto!important}";
|
|
36
|
+
const tagId$24 = "@sparkelf/dsh-knowledge-base/guide-uniform.module.css";
|
|
37
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$24) + "]") === null) {
|
|
38
|
+
const tag = document.createElement("style");
|
|
39
|
+
tag.dataset.plugin = "@sparkelf/dsh-knowledge-base";
|
|
40
|
+
tag.dataset.pluginCss = tagId$24;
|
|
41
|
+
tag.textContent = css$24;
|
|
42
|
+
document.head.appendChild(tag);
|
|
43
|
+
}
|
|
44
|
+
//#endregion
|
|
34
45
|
//#region src/api.ts
|
|
35
46
|
/** Prefix the Host registers and the browser calls. */
|
|
36
47
|
const KB_API_PREFIX = "/knowledge-base/api";
|
|
@@ -338,32 +349,32 @@ window.__ModuleLoader__.load({
|
|
|
338
349
|
document.head.appendChild(tag);
|
|
339
350
|
}
|
|
340
351
|
var KnowledgeSettingsSection_module_css_default = {
|
|
341
|
-
"pair": "c269jW_pair",
|
|
342
|
-
"statusLabel": "c269jW_statusLabel",
|
|
343
352
|
"modeRow": "c269jW_modeRow",
|
|
353
|
+
"body": "c269jW_body",
|
|
354
|
+
"title": "c269jW_title",
|
|
355
|
+
"pair": "c269jW_pair",
|
|
344
356
|
"input": "c269jW_input",
|
|
357
|
+
"step": "c269jW_step",
|
|
358
|
+
"badgeWarn": "c269jW_badgeWarn",
|
|
359
|
+
"modeOption": "c269jW_modeOption",
|
|
360
|
+
"stepLabel": "c269jW_stepLabel",
|
|
345
361
|
"fieldLabel": "c269jW_fieldLabel",
|
|
362
|
+
"section": "c269jW_section",
|
|
346
363
|
"detail": "c269jW_detail",
|
|
347
|
-
"
|
|
364
|
+
"wizard": "c269jW_wizard",
|
|
348
365
|
"select": "c269jW_select",
|
|
349
|
-
"
|
|
350
|
-
"
|
|
366
|
+
"groupTitle": "c269jW_groupTitle",
|
|
367
|
+
"notice": "c269jW_notice",
|
|
368
|
+
"statusRow": "c269jW_statusRow",
|
|
369
|
+
"statusLabel": "c269jW_statusLabel",
|
|
370
|
+
"field": "c269jW_field",
|
|
351
371
|
"steps": "c269jW_steps",
|
|
352
|
-
"pairs": "c269jW_pairs",
|
|
353
|
-
"error": "c269jW_error",
|
|
354
|
-
"section": "c269jW_section",
|
|
355
|
-
"title": "c269jW_title",
|
|
356
|
-
"wizard": "c269jW_wizard",
|
|
357
372
|
"logBox": "c269jW_logBox",
|
|
358
|
-
"notice": "c269jW_notice",
|
|
359
|
-
"badgeWarn": "c269jW_badgeWarn",
|
|
360
|
-
"step": "c269jW_step",
|
|
361
373
|
"log": "c269jW_log",
|
|
362
|
-
"
|
|
363
|
-
"
|
|
364
|
-
"
|
|
365
|
-
"
|
|
366
|
-
"body": "c269jW_body"
|
|
374
|
+
"pairs": "c269jW_pairs",
|
|
375
|
+
"saveRow": "c269jW_saveRow",
|
|
376
|
+
"badgeOk": "c269jW_badgeOk",
|
|
377
|
+
"error": "c269jW_error"
|
|
367
378
|
};
|
|
368
379
|
//#endregion
|
|
369
380
|
//#region src/client/VectorSettingsGroup.tsx
|
|
@@ -1535,15 +1546,15 @@ window.__ModuleLoader__.load({
|
|
|
1535
1546
|
document.head.appendChild(tag);
|
|
1536
1547
|
}
|
|
1537
1548
|
var KnowledgeLoading_module_css_default = {
|
|
1538
|
-
"
|
|
1539
|
-
"book": "HyIQta_book",
|
|
1540
|
-
"pagesRight": "HyIQta_pagesRight",
|
|
1549
|
+
"coverBack": "HyIQta_coverBack",
|
|
1541
1550
|
"srOnly": "HyIQta_srOnly",
|
|
1551
|
+
"book": "HyIQta_book",
|
|
1542
1552
|
"pagesLeft": "HyIQta_pagesLeft",
|
|
1543
|
-
"
|
|
1553
|
+
"pagesRight": "HyIQta_pagesRight",
|
|
1554
|
+
"label": "HyIQta_label",
|
|
1544
1555
|
"wrap": "HyIQta_wrap",
|
|
1545
|
-
"
|
|
1546
|
-
"
|
|
1556
|
+
"leaf": "HyIQta_leaf",
|
|
1557
|
+
"kb-page-turn": "HyIQta_kb-page-turn"
|
|
1547
1558
|
};
|
|
1548
1559
|
//#endregion
|
|
1549
1560
|
//#region src/client/KnowledgeLoading.tsx
|
|
@@ -1628,7 +1639,7 @@ window.__ModuleLoader__.load({
|
|
|
1628
1639
|
});
|
|
1629
1640
|
}
|
|
1630
1641
|
//#endregion
|
|
1631
|
-
//#region
|
|
1642
|
+
//#region node_modules/dsh-better-sidebar/src/client/resource-address.ts
|
|
1632
1643
|
/**
|
|
1633
1644
|
* The DSH resource-address grammar for files (`dsh-resource://file/…`).
|
|
1634
1645
|
*
|
|
@@ -2131,46 +2142,46 @@ window.__ModuleLoader__.load({
|
|
|
2131
2142
|
document.head.appendChild(tag);
|
|
2132
2143
|
}
|
|
2133
2144
|
var KnowledgeHome_module_css_default = {
|
|
2134
|
-
"
|
|
2135
|
-
"
|
|
2136
|
-
"
|
|
2137
|
-
"
|
|
2138
|
-
"
|
|
2139
|
-
"
|
|
2140
|
-
"muted": "oNvFBa_muted",
|
|
2141
|
-
"shareError": "oNvFBa_shareError",
|
|
2142
|
-
"hiddenInput": "oNvFBa_hiddenInput",
|
|
2143
|
-
"dropZone": "oNvFBa_dropZone",
|
|
2144
|
-
"dropZoneActive": "oNvFBa_dropZoneActive",
|
|
2145
|
-
"rowLink": "oNvFBa_rowLink",
|
|
2146
|
-
"cardMenuItem": "oNvFBa_cardMenuItem",
|
|
2145
|
+
"iconButton": "oNvFBa_iconButton",
|
|
2146
|
+
"emptyRow": "oNvFBa_emptyRow",
|
|
2147
|
+
"colActions": "oNvFBa_colActions",
|
|
2148
|
+
"actionsCell": "oNvFBa_actionsCell",
|
|
2149
|
+
"colTitle": "oNvFBa_colTitle",
|
|
2150
|
+
"colOwner": "oNvFBa_colOwner",
|
|
2147
2151
|
"statusDetail": "oNvFBa_statusDetail",
|
|
2148
|
-
"
|
|
2149
|
-
"iconButtonDanger": "oNvFBa_iconButtonDanger",
|
|
2150
|
-
"docPager": "oNvFBa_docPager",
|
|
2152
|
+
"shareError": "oNvFBa_shareError",
|
|
2151
2153
|
"cardText": "oNvFBa_cardText",
|
|
2154
|
+
"card": "oNvFBa_card",
|
|
2155
|
+
"cardChevron": "oNvFBa_cardChevron",
|
|
2152
2156
|
"shareBlock": "oNvFBa_shareBlock",
|
|
2153
|
-
"
|
|
2154
|
-
"colOwner": "oNvFBa_colOwner",
|
|
2155
|
-
"statusButton": "oNvFBa_statusButton",
|
|
2157
|
+
"iconButtonOn": "oNvFBa_iconButtonOn",
|
|
2156
2158
|
"cardTitle": "oNvFBa_cardTitle",
|
|
2159
|
+
"colTime": "oNvFBa_colTime",
|
|
2160
|
+
"home": "oNvFBa_home",
|
|
2161
|
+
"colStatus": "oNvFBa_colStatus",
|
|
2162
|
+
"shareEmpty": "oNvFBa_shareEmpty",
|
|
2163
|
+
"statusButton": "oNvFBa_statusButton",
|
|
2164
|
+
"cardMenuItem": "oNvFBa_cardMenuItem",
|
|
2157
2165
|
"favoriteMark": "oNvFBa_favoriteMark",
|
|
2158
|
-
"
|
|
2159
|
-
"
|
|
2166
|
+
"rowLink": "oNvFBa_rowLink",
|
|
2167
|
+
"cardBody": "oNvFBa_cardBody",
|
|
2168
|
+
"docRow": "oNvFBa_docRow",
|
|
2169
|
+
"docPager": "oNvFBa_docPager",
|
|
2160
2170
|
"cardSlot": "oNvFBa_cardSlot",
|
|
2161
|
-
"
|
|
2162
|
-
"
|
|
2171
|
+
"hiddenInput": "oNvFBa_hiddenInput",
|
|
2172
|
+
"sharePager": "oNvFBa_sharePager",
|
|
2173
|
+
"rowActions": "oNvFBa_rowActions",
|
|
2163
2174
|
"cardMenu": "oNvFBa_cardMenu",
|
|
2164
|
-
"table": "oNvFBa_table",
|
|
2165
|
-
"colTime": "oNvFBa_colTime",
|
|
2166
|
-
"emptyRow": "oNvFBa_emptyRow",
|
|
2167
2175
|
"shareWrap": "oNvFBa_shareWrap",
|
|
2168
|
-
"
|
|
2169
|
-
"
|
|
2176
|
+
"cardPlate": "oNvFBa_cardPlate",
|
|
2177
|
+
"cards": "oNvFBa_cards",
|
|
2178
|
+
"muted": "oNvFBa_muted",
|
|
2179
|
+
"dropZone": "oNvFBa_dropZone",
|
|
2170
2180
|
"colLocation": "oNvFBa_colLocation",
|
|
2171
|
-
"
|
|
2172
|
-
"
|
|
2173
|
-
"
|
|
2181
|
+
"iconButtonDanger": "oNvFBa_iconButtonDanger",
|
|
2182
|
+
"table": "oNvFBa_table",
|
|
2183
|
+
"dropZoneActive": "oNvFBa_dropZoneActive",
|
|
2184
|
+
"titleCell": "oNvFBa_titleCell"
|
|
2174
2185
|
};
|
|
2175
2186
|
//#endregion
|
|
2176
2187
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/KnowledgePanel.module.css.mjs
|
|
@@ -2184,79 +2195,79 @@ window.__ModuleLoader__.load({
|
|
|
2184
2195
|
document.head.appendChild(tag);
|
|
2185
2196
|
}
|
|
2186
2197
|
var KnowledgePanel_module_css_default = {
|
|
2187
|
-
"factDot": "uNOdFq_factDot",
|
|
2188
|
-
"hitName": "uNOdFq_hitName",
|
|
2189
|
-
"referenceNote": "uNOdFq_referenceNote",
|
|
2190
|
-
"menuGroupLabel": "uNOdFq_menuGroupLabel",
|
|
2191
|
-
"openFailure": "uNOdFq_openFailure",
|
|
2192
|
-
"previewLayout": "uNOdFq_previewLayout",
|
|
2193
|
-
"referenceNoteDismiss": "uNOdFq_referenceNoteDismiss",
|
|
2194
|
-
"body": "uNOdFq_body",
|
|
2195
|
-
"preview": "uNOdFq_preview",
|
|
2196
|
-
"headerTitle": "uNOdFq_headerTitle",
|
|
2197
|
-
"railTop": "uNOdFq_railTop",
|
|
2198
|
-
"menuLabel": "uNOdFq_menuLabel",
|
|
2199
|
-
"content": "uNOdFq_content",
|
|
2200
|
-
"surface": "uNOdFq_surface",
|
|
2201
|
-
"muted": "uNOdFq_muted",
|
|
2202
|
-
"errorGlyph": "uNOdFq_errorGlyph",
|
|
2203
|
-
"treeFilter": "uNOdFq_treeFilter",
|
|
2204
2198
|
"sectionActions": "uNOdFq_sectionActions",
|
|
2199
|
+
"hitLine": "uNOdFq_hitLine",
|
|
2200
|
+
"menuLabel": "uNOdFq_menuLabel",
|
|
2201
|
+
"sectionHeader": "uNOdFq_sectionHeader",
|
|
2202
|
+
"header": "uNOdFq_header",
|
|
2203
|
+
"pairs": "uNOdFq_pairs",
|
|
2204
|
+
"emptyTitle": "uNOdFq_emptyTitle",
|
|
2205
|
+
"headerActions": "uNOdFq_headerActions",
|
|
2206
|
+
"errorPanel": "uNOdFq_errorPanel",
|
|
2207
|
+
"errorTitle": "uNOdFq_errorTitle",
|
|
2208
|
+
"page": "uNOdFq_page",
|
|
2209
|
+
"headerHint": "uNOdFq_headerHint",
|
|
2210
|
+
"error": "uNOdFq_error",
|
|
2211
|
+
"headerFact": "uNOdFq_headerFact",
|
|
2205
2212
|
"input": "uNOdFq_input",
|
|
2213
|
+
"errorGlyph": "uNOdFq_errorGlyph",
|
|
2214
|
+
"menuRow": "uNOdFq_menuRow",
|
|
2206
2215
|
"railBody": "uNOdFq_railBody",
|
|
2207
|
-
"
|
|
2216
|
+
"menuRowActive": "uNOdFq_menuRowActive",
|
|
2217
|
+
"pinnedBand": "uNOdFq_pinnedBand",
|
|
2218
|
+
"hitName": "uNOdFq_hitName",
|
|
2219
|
+
"referenceNoteDismiss": "uNOdFq_referenceNoteDismiss",
|
|
2208
2220
|
"railBrand": "uNOdFq_railBrand",
|
|
2209
|
-
"
|
|
2210
|
-
"
|
|
2211
|
-
"
|
|
2212
|
-
"
|
|
2213
|
-
"
|
|
2214
|
-
"sectionHeader": "uNOdFq_sectionHeader",
|
|
2215
|
-
"treeScroll": "uNOdFq_treeScroll",
|
|
2221
|
+
"treeFilter": "uNOdFq_treeFilter",
|
|
2222
|
+
"menuSeparator": "uNOdFq_menuSeparator",
|
|
2223
|
+
"headerPath": "uNOdFq_headerPath",
|
|
2224
|
+
"surface": "uNOdFq_surface",
|
|
2225
|
+
"bodyDocument": "uNOdFq_bodyDocument",
|
|
2216
2226
|
"menuFolded": "uNOdFq_menuFolded",
|
|
2217
|
-
"
|
|
2218
|
-
"
|
|
2219
|
-
"subhead": "uNOdFq_subhead",
|
|
2220
|
-
"openedElsewhere": "uNOdFq_openedElsewhere",
|
|
2221
|
-
"hitLine": "uNOdFq_hitLine",
|
|
2227
|
+
"errorDetail": "uNOdFq_errorDetail",
|
|
2228
|
+
"menuGlyph": "uNOdFq_menuGlyph",
|
|
2222
2229
|
"contentColumn": "uNOdFq_contentColumn",
|
|
2223
|
-
"
|
|
2224
|
-
"
|
|
2225
|
-
"
|
|
2230
|
+
"openFailure": "uNOdFq_openFailure",
|
|
2231
|
+
"hitActive": "uNOdFq_hitActive",
|
|
2232
|
+
"table": "uNOdFq_table",
|
|
2233
|
+
"previewLayout": "uNOdFq_previewLayout",
|
|
2234
|
+
"treeScroll": "uNOdFq_treeScroll",
|
|
2226
2235
|
"menu": "uNOdFq_menu",
|
|
2227
|
-
"
|
|
2228
|
-
"errorPanel": "uNOdFq_errorPanel",
|
|
2229
|
-
"menuGlyph": "uNOdFq_menuGlyph",
|
|
2230
|
-
"pinnedBand": "uNOdFq_pinnedBand",
|
|
2231
|
-
"emptyTitle": "uNOdFq_emptyTitle",
|
|
2232
|
-
"hit": "uNOdFq_hit",
|
|
2233
|
-
"pair": "uNOdFq_pair",
|
|
2236
|
+
"emptyGlyph": "uNOdFq_emptyGlyph",
|
|
2234
2237
|
"retry": "uNOdFq_retry",
|
|
2235
|
-
"
|
|
2236
|
-
"
|
|
2237
|
-
"
|
|
2238
|
-
"
|
|
2239
|
-
"
|
|
2238
|
+
"pair": "uNOdFq_pair",
|
|
2239
|
+
"hits": "uNOdFq_hits",
|
|
2240
|
+
"content": "uNOdFq_content",
|
|
2241
|
+
"subhead": "uNOdFq_subhead",
|
|
2242
|
+
"openedElsewhere": "uNOdFq_openedElsewhere",
|
|
2240
2243
|
"tableSurface": "uNOdFq_tableSurface",
|
|
2241
|
-
"
|
|
2242
|
-
"empty": "uNOdFq_empty",
|
|
2243
|
-
"error": "uNOdFq_error",
|
|
2244
|
+
"notice": "uNOdFq_notice",
|
|
2244
2245
|
"sectionName": "uNOdFq_sectionName",
|
|
2245
|
-
"
|
|
2246
|
-
"searchBox": "uNOdFq_searchBox",
|
|
2246
|
+
"muted": "uNOdFq_muted",
|
|
2247
2247
|
"hitPath": "uNOdFq_hitPath",
|
|
2248
|
-
"
|
|
2249
|
-
"
|
|
2250
|
-
"
|
|
2251
|
-
"
|
|
2252
|
-
"
|
|
2248
|
+
"preview": "uNOdFq_preview",
|
|
2249
|
+
"field": "uNOdFq_field",
|
|
2250
|
+
"referenceNote": "uNOdFq_referenceNote",
|
|
2251
|
+
"menuGroupLabel": "uNOdFq_menuGroupLabel",
|
|
2252
|
+
"iconButton": "uNOdFq_iconButton",
|
|
2253
|
+
"empty": "uNOdFq_empty",
|
|
2254
|
+
"rail": "uNOdFq_rail",
|
|
2255
|
+
"factDot": "uNOdFq_factDot",
|
|
2256
|
+
"body": "uNOdFq_body",
|
|
2257
|
+
"hitLineNo": "uNOdFq_hitLineNo",
|
|
2258
|
+
"previewColumn": "uNOdFq_previewColumn",
|
|
2259
|
+
"railTop": "uNOdFq_railTop",
|
|
2260
|
+
"railTopSpacer": "uNOdFq_railTopSpacer",
|
|
2261
|
+
"treeBand": "uNOdFq_treeBand",
|
|
2262
|
+
"bodyCollapsed": "uNOdFq_bodyCollapsed",
|
|
2263
|
+
"title": "uNOdFq_title",
|
|
2264
|
+
"hit": "uNOdFq_hit",
|
|
2265
|
+
"path": "uNOdFq_path",
|
|
2253
2266
|
"hitTime": "uNOdFq_hitTime",
|
|
2254
|
-
"
|
|
2255
|
-
"
|
|
2256
|
-
"
|
|
2257
|
-
"
|
|
2258
|
-
"menuSeparator": "uNOdFq_menuSeparator",
|
|
2259
|
-
"errorTitle": "uNOdFq_errorTitle"
|
|
2267
|
+
"form": "uNOdFq_form",
|
|
2268
|
+
"headerTitle": "uNOdFq_headerTitle",
|
|
2269
|
+
"railBrandName": "uNOdFq_railBrandName",
|
|
2270
|
+
"searchBox": "uNOdFq_searchBox"
|
|
2260
2271
|
};
|
|
2261
2272
|
//#endregion
|
|
2262
2273
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/KnowledgeTemplates.module.css.mjs
|
|
@@ -2270,54 +2281,54 @@ window.__ModuleLoader__.load({
|
|
|
2270
2281
|
document.head.appendChild(tag);
|
|
2271
2282
|
}
|
|
2272
2283
|
var KnowledgeTemplates_module_css_default = {
|
|
2273
|
-
"previewContent": "Tg9J7q_previewContent",
|
|
2274
|
-
"muted": "Tg9J7q_muted",
|
|
2275
|
-
"cardTitle": "Tg9J7q_cardTitle",
|
|
2276
|
-
"fieldHint": "Tg9J7q_fieldHint",
|
|
2277
2284
|
"filterRow": "Tg9J7q_filterRow",
|
|
2278
|
-
"
|
|
2279
|
-
"
|
|
2280
|
-
"
|
|
2285
|
+
"fieldHint": "Tg9J7q_fieldHint",
|
|
2286
|
+
"favorite": "Tg9J7q_favorite",
|
|
2287
|
+
"grid": "Tg9J7q_grid",
|
|
2288
|
+
"cardMain": "Tg9J7q_cardMain",
|
|
2281
2289
|
"manageList": "Tg9J7q_manageList",
|
|
2290
|
+
"library": "Tg9J7q_library",
|
|
2291
|
+
"muted": "Tg9J7q_muted",
|
|
2292
|
+
"destinationLabel": "Tg9J7q_destinationLabel",
|
|
2293
|
+
"form": "Tg9J7q_form",
|
|
2294
|
+
"destination": "Tg9J7q_destination",
|
|
2295
|
+
"cover": "Tg9J7q_cover",
|
|
2296
|
+
"toolbar": "Tg9J7q_toolbar",
|
|
2297
|
+
"cardFoot": "Tg9J7q_cardFoot",
|
|
2298
|
+
"cardActions": "Tg9J7q_cardActions",
|
|
2299
|
+
"cardBody": "Tg9J7q_cardBody",
|
|
2282
2300
|
"manage": "Tg9J7q_manage",
|
|
2283
|
-
"documentPage": "Tg9J7q_documentPage",
|
|
2284
|
-
"lineWide": "Tg9J7q_lineWide",
|
|
2285
|
-
"formActions": "Tg9J7q_formActions",
|
|
2286
|
-
"slidePage": "Tg9J7q_slidePage",
|
|
2287
|
-
"quickFilter": "Tg9J7q_quickFilter",
|
|
2288
|
-
"cardTags": "Tg9J7q_cardTags",
|
|
2289
|
-
"card": "Tg9J7q_card",
|
|
2290
|
-
"manageBar": "Tg9J7q_manageBar",
|
|
2291
2301
|
"fieldLabel": "Tg9J7q_fieldLabel",
|
|
2292
|
-
"manageRow": "Tg9J7q_manageRow",
|
|
2293
|
-
"cover": "Tg9J7q_cover",
|
|
2294
|
-
"destination": "Tg9J7q_destination",
|
|
2295
2302
|
"fileInput": "Tg9J7q_fileInput",
|
|
2296
|
-
"
|
|
2297
|
-
"
|
|
2298
|
-
"
|
|
2303
|
+
"formActions": "Tg9J7q_formActions",
|
|
2304
|
+
"cardIcon": "Tg9J7q_cardIcon",
|
|
2305
|
+
"categoryChip": "Tg9J7q_categoryChip",
|
|
2306
|
+
"previewModal": "Tg9J7q_previewModal",
|
|
2307
|
+
"field": "Tg9J7q_field",
|
|
2308
|
+
"previewContent": "Tg9J7q_previewContent",
|
|
2299
2309
|
"manageName": "Tg9J7q_manageName",
|
|
2300
|
-
"toolbar": "Tg9J7q_toolbar",
|
|
2301
|
-
"footer": "Tg9J7q_footer",
|
|
2302
|
-
"favorite": "Tg9J7q_favorite",
|
|
2303
|
-
"categoryFilters": "Tg9J7q_categoryFilters",
|
|
2304
2310
|
"coverPage": "Tg9J7q_coverPage",
|
|
2311
|
+
"documentPage": "Tg9J7q_documentPage",
|
|
2312
|
+
"notice": "Tg9J7q_notice",
|
|
2313
|
+
"lineWide": "Tg9J7q_lineWide",
|
|
2305
2314
|
"lineShort": "Tg9J7q_lineShort",
|
|
2306
|
-
"
|
|
2315
|
+
"sheetGrid": "Tg9J7q_sheetGrid",
|
|
2316
|
+
"manageRow": "Tg9J7q_manageRow",
|
|
2307
2317
|
"cardMeta": "Tg9J7q_cardMeta",
|
|
2308
|
-
"
|
|
2309
|
-
"categoryChip": "Tg9J7q_categoryChip",
|
|
2310
|
-
"cardIcon": "Tg9J7q_cardIcon",
|
|
2311
|
-
"notice": "Tg9J7q_notice",
|
|
2312
|
-
"quickFilters": "Tg9J7q_quickFilters",
|
|
2318
|
+
"cardTitle": "Tg9J7q_cardTitle",
|
|
2313
2319
|
"cardHead": "Tg9J7q_cardHead",
|
|
2314
|
-
"
|
|
2315
|
-
"
|
|
2316
|
-
"
|
|
2317
|
-
"
|
|
2318
|
-
"
|
|
2319
|
-
"
|
|
2320
|
-
"
|
|
2320
|
+
"quickFilters": "Tg9J7q_quickFilters",
|
|
2321
|
+
"filterDivider": "Tg9J7q_filterDivider",
|
|
2322
|
+
"modal": "Tg9J7q_modal",
|
|
2323
|
+
"cardTags": "Tg9J7q_cardTags",
|
|
2324
|
+
"manageBar": "Tg9J7q_manageBar",
|
|
2325
|
+
"footer": "Tg9J7q_footer",
|
|
2326
|
+
"dialog": "Tg9J7q_dialog",
|
|
2327
|
+
"manageActions": "Tg9J7q_manageActions",
|
|
2328
|
+
"slidePage": "Tg9J7q_slidePage",
|
|
2329
|
+
"quickFilter": "Tg9J7q_quickFilter",
|
|
2330
|
+
"card": "Tg9J7q_card",
|
|
2331
|
+
"categoryFilters": "Tg9J7q_categoryFilters"
|
|
2321
2332
|
};
|
|
2322
2333
|
//#endregion
|
|
2323
2334
|
//#region src/client/KnowledgeTemplates.tsx
|
|
@@ -3303,14 +3314,14 @@ window.__ModuleLoader__.load({
|
|
|
3303
3314
|
document.head.appendChild(tag);
|
|
3304
3315
|
}
|
|
3305
3316
|
var KnowledgeNewDocumentDialog_module_css_default = {
|
|
3317
|
+
"dialog": "hXsYha_dialog",
|
|
3318
|
+
"modal": "hXsYha_modal",
|
|
3306
3319
|
"cardTitle": "hXsYha_cardTitle",
|
|
3320
|
+
"card": "hXsYha_card",
|
|
3307
3321
|
"cardText": "hXsYha_cardText",
|
|
3308
|
-
"
|
|
3309
|
-
"iconPlate": "hXsYha_iconPlate",
|
|
3322
|
+
"cards": "hXsYha_cards",
|
|
3310
3323
|
"footer": "hXsYha_footer",
|
|
3311
|
-
"
|
|
3312
|
-
"modal": "hXsYha_modal",
|
|
3313
|
-
"cards": "hXsYha_cards"
|
|
3324
|
+
"iconPlate": "hXsYha_iconPlate"
|
|
3314
3325
|
};
|
|
3315
3326
|
//#endregion
|
|
3316
3327
|
//#region src/client/KnowledgeNewDocumentDialog.tsx
|
|
@@ -3402,54 +3413,54 @@ window.__ModuleLoader__.load({
|
|
|
3402
3413
|
}
|
|
3403
3414
|
var KnowledgeCreateDialog_module_css_default = {
|
|
3404
3415
|
"dropzoneHint": "HX727W_dropzoneHint",
|
|
3405
|
-
"
|
|
3406
|
-
"
|
|
3407
|
-
"
|
|
3408
|
-
"
|
|
3409
|
-
"
|
|
3410
|
-
"pickerList": "HX727W_pickerList",
|
|
3411
|
-
"pickerMuted": "HX727W_pickerMuted",
|
|
3412
|
-
"step": "HX727W_step",
|
|
3413
|
-
"uploadList": "HX727W_uploadList",
|
|
3414
|
-
"treeRow": "HX727W_treeRow",
|
|
3416
|
+
"fileInput": "HX727W_fileInput",
|
|
3417
|
+
"steps": "HX727W_steps",
|
|
3418
|
+
"treeMuted": "HX727W_treeMuted",
|
|
3419
|
+
"stepLine": "HX727W_stepLine",
|
|
3420
|
+
"field": "HX727W_field",
|
|
3415
3421
|
"fileName": "HX727W_fileName",
|
|
3416
|
-
"
|
|
3417
|
-
"uploadRow": "HX727W_uploadRow",
|
|
3418
|
-
"treeNotice": "HX727W_treeNotice",
|
|
3419
|
-
"crumbSep": "HX727W_crumbSep",
|
|
3420
|
-
"visuallyHiddenInput": "HX727W_visuallyHiddenInput",
|
|
3422
|
+
"uploadList": "HX727W_uploadList",
|
|
3421
3423
|
"dropzoneTitle": "HX727W_dropzoneTitle",
|
|
3422
|
-
"
|
|
3423
|
-
"uploadSummary": "HX727W_uploadSummary",
|
|
3424
|
-
"steps": "HX727W_steps",
|
|
3425
|
-
"dropzone": "HX727W_dropzone",
|
|
3426
|
-
"removeFile": "HX727W_removeFile",
|
|
3427
|
-
"uploadQueue": "HX727W_uploadQueue",
|
|
3428
|
-
"tree": "HX727W_tree",
|
|
3424
|
+
"step": "HX727W_step",
|
|
3429
3425
|
"treeChildren": "HX727W_treeChildren",
|
|
3430
|
-
"
|
|
3431
|
-
"
|
|
3432
|
-
"
|
|
3433
|
-
"
|
|
3434
|
-
"fileTarget": "HX727W_fileTarget",
|
|
3426
|
+
"picker": "HX727W_picker",
|
|
3427
|
+
"pickerPath": "HX727W_pickerPath",
|
|
3428
|
+
"uploadSummary": "HX727W_uploadSummary",
|
|
3429
|
+
"treeName": "HX727W_treeName",
|
|
3435
3430
|
"footer": "HX727W_footer",
|
|
3436
|
-
"stepLine": "HX727W_stepLine",
|
|
3437
|
-
"treeToggle": "HX727W_treeToggle",
|
|
3438
3431
|
"fileList": "HX727W_fileList",
|
|
3439
|
-
"treeName": "HX727W_treeName",
|
|
3440
3432
|
"crumb": "HX727W_crumb",
|
|
3441
|
-
"
|
|
3433
|
+
"pickerRow": "HX727W_pickerRow",
|
|
3434
|
+
"pickerBar": "HX727W_pickerBar",
|
|
3442
3435
|
"modal": "HX727W_modal",
|
|
3443
|
-
"
|
|
3436
|
+
"crumbWrap": "HX727W_crumbWrap",
|
|
3437
|
+
"pickerMuted": "HX727W_pickerMuted",
|
|
3438
|
+
"dropzone": "HX727W_dropzone",
|
|
3439
|
+
"treeToggle": "HX727W_treeToggle",
|
|
3440
|
+
"fieldHint": "HX727W_fieldHint",
|
|
3441
|
+
"treeNotice": "HX727W_treeNotice",
|
|
3442
|
+
"crumbSep": "HX727W_crumbSep",
|
|
3443
|
+
"removeFile": "HX727W_removeFile",
|
|
3444
3444
|
"uploadLayout": "HX727W_uploadLayout",
|
|
3445
|
-
"
|
|
3446
|
-
"
|
|
3445
|
+
"tree": "HX727W_tree",
|
|
3446
|
+
"fieldLabel": "HX727W_fieldLabel",
|
|
3447
|
+
"uploadRow": "HX727W_uploadRow",
|
|
3448
|
+
"dialog": "HX727W_dialog",
|
|
3449
|
+
"fieldError": "HX727W_fieldError",
|
|
3450
|
+
"uploadName": "HX727W_uploadName",
|
|
3451
|
+
"pickerPathLabel": "HX727W_pickerPathLabel",
|
|
3452
|
+
"pickerPathValue": "HX727W_pickerPathValue",
|
|
3447
3453
|
"uploadSize": "HX727W_uploadSize",
|
|
3448
|
-
"
|
|
3449
|
-
"
|
|
3454
|
+
"pickerList": "HX727W_pickerList",
|
|
3455
|
+
"fileRow": "HX727W_fileRow",
|
|
3456
|
+
"summary": "HX727W_summary",
|
|
3457
|
+
"visuallyHiddenInput": "HX727W_visuallyHiddenInput",
|
|
3458
|
+
"fileTarget": "HX727W_fileTarget",
|
|
3459
|
+
"uploadQueue": "HX727W_uploadQueue",
|
|
3460
|
+
"treeRow": "HX727W_treeRow"
|
|
3450
3461
|
};
|
|
3451
3462
|
//#endregion
|
|
3452
|
-
//#region
|
|
3463
|
+
//#region node_modules/clsx/dist/clsx.mjs
|
|
3453
3464
|
function r(e) {
|
|
3454
3465
|
var t, f, n = "";
|
|
3455
3466
|
if ("string" == typeof e || "number" == typeof e) n += e;
|
|
@@ -3666,7 +3677,7 @@ window.__ModuleLoader__.load({
|
|
|
3666
3677
|
})(props);
|
|
3667
3678
|
}
|
|
3668
3679
|
//#endregion
|
|
3669
|
-
//#region
|
|
3680
|
+
//#region ../../node_modules/.pnpm/@sparkelf+dsh-better-sidebar@0.28.0-sparkelf.grid.17_a09f40a08660db355c8038ff50040d71/node_modules/@sparkelf/dsh-better-sidebar/src/client/desktop-env.ts
|
|
3670
3681
|
/**
|
|
3671
3682
|
* Absolute base for the plugin's own host transports — the HTTP routes
|
|
3672
3683
|
* (`/sidebar/api/*`, `/sidebar/file`, `/sidebar/bundle/*`, …) and the
|
|
@@ -3723,7 +3734,7 @@ window.__ModuleLoader__.load({
|
|
|
3723
3734
|
return hostTransportBase();
|
|
3724
3735
|
}
|
|
3725
3736
|
//#endregion
|
|
3726
|
-
//#region
|
|
3737
|
+
//#region ../../node_modules/.pnpm/@sparkelf+dsh-better-sidebar@0.28.0-sparkelf.grid.17_a09f40a08660db355c8038ff50040d71/node_modules/@sparkelf/dsh-better-sidebar/src/client/host-route-url.ts
|
|
3727
3738
|
/**
|
|
3728
3739
|
* Prefix-safe resolution of the plugin's own host routes (HTTP and WebSocket).
|
|
3729
3740
|
*
|
|
@@ -3790,7 +3801,7 @@ window.__ModuleLoader__.load({
|
|
|
3790
3801
|
return url.href;
|
|
3791
3802
|
}
|
|
3792
3803
|
//#endregion
|
|
3793
|
-
//#region
|
|
3804
|
+
//#region ../../node_modules/.pnpm/@sparkelf+dsh-better-sidebar@0.28.0-sparkelf.grid.17_a09f40a08660db355c8038ff50040d71/node_modules/@sparkelf/dsh-better-sidebar/src/client/paths.ts
|
|
3794
3805
|
/**
|
|
3795
3806
|
* Path projection helpers shared by the explorer rows: workspace-relative
|
|
3796
3807
|
* mentions and session-cwd-relative "copy relative path".
|
|
@@ -3813,7 +3824,6 @@ window.__ModuleLoader__.load({
|
|
|
3813
3824
|
* comment — so a produced UNC path is never joined onto the cwd.
|
|
3814
3825
|
*/
|
|
3815
3826
|
function isAbsolutePath(path) {
|
|
3816
|
-
if (typeof path !== "string") return false;
|
|
3817
3827
|
return path === "~" || path.startsWith("~/") || path.startsWith("~\\") || path.startsWith("/") || /^[A-Za-z]:[\\/]/.test(path) || /^[\\/]{2}[^\\/]/.test(path);
|
|
3818
3828
|
}
|
|
3819
3829
|
/**
|
|
@@ -3829,7 +3839,6 @@ window.__ModuleLoader__.load({
|
|
|
3829
3839
|
* relative text keeps the caller's own casing.
|
|
3830
3840
|
*/
|
|
3831
3841
|
function relativeTo(cwd, path) {
|
|
3832
|
-
if (typeof path !== "string") return "";
|
|
3833
3842
|
const base = cwd.replace(/[\\/]+$/, "");
|
|
3834
3843
|
const norm = (value) => value.replace(/\\/g, "/");
|
|
3835
3844
|
const nBase = norm(base);
|
|
@@ -3863,7 +3872,6 @@ window.__ModuleLoader__.load({
|
|
|
3863
3872
|
* a worktree label). Returns the whole string when no separator is present.
|
|
3864
3873
|
*/
|
|
3865
3874
|
function baseName$1(path) {
|
|
3866
|
-
if (typeof path !== "string") return "";
|
|
3867
3875
|
const at = Math.max(path.lastIndexOf("/"), path.lastIndexOf("\\"));
|
|
3868
3876
|
return at === -1 ? path : path.slice(at + 1);
|
|
3869
3877
|
}
|
|
@@ -3873,7 +3881,6 @@ window.__ModuleLoader__.load({
|
|
|
3873
3881
|
* roots, drive letters and UNC shares must not be joined onto the cwd.
|
|
3874
3882
|
*/
|
|
3875
3883
|
function resolveSidebarPath(cwd, path) {
|
|
3876
|
-
if (typeof path !== "string") return "";
|
|
3877
3884
|
if (isAbsolutePath(path)) return path;
|
|
3878
3885
|
const base = cwd ?? "";
|
|
3879
3886
|
if (base === "") return path;
|
|
@@ -3881,7 +3888,7 @@ window.__ModuleLoader__.load({
|
|
|
3881
3888
|
return `${base.replace(/[\\/]+$/, "")}${separator}${path}`;
|
|
3882
3889
|
}
|
|
3883
3890
|
//#endregion
|
|
3884
|
-
//#region
|
|
3891
|
+
//#region ../../node_modules/.pnpm/@sparkelf+dsh-better-sidebar@0.28.0-sparkelf.grid.17_a09f40a08660db355c8038ff50040d71/node_modules/@sparkelf/dsh-better-sidebar/src/client/api.ts
|
|
3885
3892
|
/** One wire failure. */
|
|
3886
3893
|
var SidebarApiError = class extends Error {
|
|
3887
3894
|
code;
|
|
@@ -4158,8 +4165,6 @@ window.__ModuleLoader__.load({
|
|
|
4158
4165
|
gitCheckout: (scope, branch, worktree) => call("git.checkout", gitPayload(scope, worktree, { branch })),
|
|
4159
4166
|
/** Read-only topological history; stale cursors require a fresh first page. */
|
|
4160
4167
|
gitGraph: (scope, options = {}, worktree, signal) => call("git.graph", gitPayload(scope, worktree, { ...options }), signal),
|
|
4161
|
-
/** 图形界面超过分支上限时读取经状态指纹校验的分页历史。 */
|
|
4162
|
-
gitHistory: (scope, options = {}, worktree, signal) => call("git.history", gitPayload(scope, worktree, options), signal),
|
|
4163
4168
|
/** Recent commit history, lazily pageable (skip/count; defaults 0/30). */
|
|
4164
4169
|
gitLog: (scope, count, skip, worktree, signal) => call("git.log", gitPayload(scope, worktree, {
|
|
4165
4170
|
...count !== void 0 ? { count } : {},
|
|
@@ -4233,10 +4238,9 @@ window.__ModuleLoader__.load({
|
|
|
4233
4238
|
question: question ?? ""
|
|
4234
4239
|
}),
|
|
4235
4240
|
/** Deliver one follow-up message to a Side Chat thread. */
|
|
4236
|
-
sidechatPrompt: (childId, text
|
|
4241
|
+
sidechatPrompt: (childId, text) => call("sidechat.prompt", {
|
|
4237
4242
|
childId,
|
|
4238
|
-
text
|
|
4239
|
-
...images === void 0 || images.length === 0 ? {} : { images }
|
|
4243
|
+
text
|
|
4240
4244
|
}),
|
|
4241
4245
|
/** Abort a Side Chat thread's running turn (queued work is preserved). */
|
|
4242
4246
|
sidechatCancel: (childId) => call("sidechat.cancel", { childId }),
|
|
@@ -4404,15 +4408,10 @@ window.__ModuleLoader__.load({
|
|
|
4404
4408
|
return [...targets];
|
|
4405
4409
|
}
|
|
4406
4410
|
//#endregion
|
|
4407
|
-
//#region
|
|
4408
|
-
/**
|
|
4409
|
-
* The default choice: most recently modified first.
|
|
4410
|
-
*
|
|
4411
|
-
* NOT the order the host listing arrives in (that is `name`). The change is deliberate:
|
|
4412
|
-
* a reader opening a folder is usually looking for what they were just working on.
|
|
4413
|
-
*/
|
|
4411
|
+
//#region ../../node_modules/.pnpm/@sparkelf+dsh-better-sidebar@0.28.0-sparkelf.grid.17_a09f40a08660db355c8038ff50040d71/node_modules/@sparkelf/dsh-better-sidebar/src/client/file-tree-sort.ts
|
|
4412
|
+
/** The default choice — byte-for-byte the order the host listing arrives in. */
|
|
4414
4413
|
const DEFAULT_FILE_TREE_SORT = {
|
|
4415
|
-
key: "
|
|
4414
|
+
key: "name",
|
|
4416
4415
|
dirsFirst: true
|
|
4417
4416
|
};
|
|
4418
4417
|
/**
|
|
@@ -4449,19 +4448,7 @@ window.__ModuleLoader__.load({
|
|
|
4449
4448
|
function sortEntries(entries, sort) {
|
|
4450
4449
|
return [...entries].sort((a, b) => {
|
|
4451
4450
|
if (sort.dirsFirst && a.isDir !== b.isDir) return a.isDir ? -1 : 1;
|
|
4452
|
-
if (sort.key === "
|
|
4453
|
-
const ma = a.mtimeMs;
|
|
4454
|
-
const mb = b.mtimeMs;
|
|
4455
|
-
if (ma !== void 0 && mb !== void 0 && ma !== mb) return mb - ma;
|
|
4456
|
-
if (ma === void 0 && mb !== void 0) return 1;
|
|
4457
|
-
if (ma !== void 0 && mb === void 0) return -1;
|
|
4458
|
-
} else if (sort.key === "size") {
|
|
4459
|
-
const sa = a.size;
|
|
4460
|
-
const sb = b.size;
|
|
4461
|
-
if (sa !== void 0 && sb !== void 0 && sa !== sb) return sb - sa;
|
|
4462
|
-
if (sa === void 0 && sb !== void 0) return 1;
|
|
4463
|
-
if (sa !== void 0 && sb === void 0) return -1;
|
|
4464
|
-
} else if (sort.key === "type") {
|
|
4451
|
+
if (sort.key === "type") {
|
|
4465
4452
|
const ta = typeOf(a.name, a.isDir);
|
|
4466
4453
|
const tb = typeOf(b.name, b.isDir);
|
|
4467
4454
|
if (ta !== tb) return ta < tb ? -1 : 1;
|
|
@@ -4470,7 +4457,7 @@ window.__ModuleLoader__.load({
|
|
|
4470
4457
|
});
|
|
4471
4458
|
}
|
|
4472
4459
|
//#endregion
|
|
4473
|
-
//#region
|
|
4460
|
+
//#region ../../node_modules/.pnpm/@sparkelf+dsh-better-sidebar@0.28.0-sparkelf.grid.17_a09f40a08660db355c8038ff50040d71/node_modules/@sparkelf/dsh-better-sidebar/src/client/listing-filter.ts
|
|
4474
4461
|
/**
|
|
4475
4462
|
* Whether a name matches the reader's term.
|
|
4476
4463
|
*
|
|
@@ -4503,7 +4490,7 @@ window.__ModuleLoader__.load({
|
|
|
4503
4490
|
* instead of an empty row. A deeply nested hit therefore drags its whole chain with it,
|
|
4504
4491
|
* which is the only way a file inside a collapsed folder can be seen.
|
|
4505
4492
|
* @param rows - this level's rows, in display order.
|
|
4506
|
-
* @param
|
|
4493
|
+
* @param childrenOf - one directory row's loaded children; `undefined` means "not loaded".
|
|
4507
4494
|
* @param needle - the term, already normalised.
|
|
4508
4495
|
* @param withinMatch - whether an ancestor already matched the term.
|
|
4509
4496
|
* @returns The rows to draw at this level.
|
|
@@ -4524,7 +4511,7 @@ window.__ModuleLoader__.load({
|
|
|
4524
4511
|
return kept;
|
|
4525
4512
|
}
|
|
4526
4513
|
//#endregion
|
|
4527
|
-
//#region
|
|
4514
|
+
//#region ../../node_modules/.pnpm/@sparkelf+dsh-better-sidebar@0.28.0-sparkelf.grid.17_a09f40a08660db355c8038ff50040d71/node_modules/@sparkelf/dsh-better-sidebar/src/client/file-icons.tsx
|
|
4528
4515
|
/**
|
|
4529
4516
|
* A file row: the host's own classifier and artwork for any path. Unknown
|
|
4530
4517
|
* extensions land on the generic document glyph, exactly like the host's
|
|
@@ -4533,7 +4520,7 @@ window.__ModuleLoader__.load({
|
|
|
4533
4520
|
* @param size - the square edge in px.
|
|
4534
4521
|
* @returns the host's file-type glyph.
|
|
4535
4522
|
*/
|
|
4536
|
-
function builtinFileIcon(path, size) {
|
|
4523
|
+
function builtinFileIcon$1(path, size) {
|
|
4537
4524
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.FileTypeIcon, {
|
|
4538
4525
|
path,
|
|
4539
4526
|
size
|
|
@@ -4552,14 +4539,14 @@ window.__ModuleLoader__.load({
|
|
|
4552
4539
|
* @param size - the square edge in px.
|
|
4553
4540
|
* @returns the host's folder glyph.
|
|
4554
4541
|
*/
|
|
4555
|
-
function builtinFolderIcon(_open, size) {
|
|
4542
|
+
function builtinFolderIcon$1(_open, size) {
|
|
4556
4543
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.FileTypeIcon, {
|
|
4557
4544
|
kind: "folder",
|
|
4558
4545
|
size
|
|
4559
4546
|
});
|
|
4560
4547
|
}
|
|
4561
4548
|
//#endregion
|
|
4562
|
-
//#region
|
|
4549
|
+
//#region ../../node_modules/.pnpm/@sparkelf+dsh-better-sidebar@0.28.0-sparkelf.grid.17_a09f40a08660db355c8038ff50040d71/node_modules/@sparkelf/dsh-better-sidebar/src/client/icons.tsx
|
|
4563
4550
|
/**
|
|
4564
4551
|
* Icons the sidebar needs beyond the primitives set: a terminal glyph (the
|
|
4565
4552
|
* icon library has none), a diff glyph, and the bottom-workbench toggle.
|
|
@@ -4606,7 +4593,7 @@ window.__ModuleLoader__.load({
|
|
|
4606
4593
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M23.15 2.587L18.21.21a1.494 1.494 0 0 0-1.705.29l-9.46 8.63-4.12-3.128a.999.999 0 0 0-1.276.057L.327 7.261A1 1 0 0 0 .326 8.74L3.899 12 .326 15.26a1 1 0 0 0 .001 1.479L1.65 17.94a.999.999 0 0 0 1.276.057l4.12-3.128 9.46 8.63a1.492 1.492 0 0 0 1.704.29l4.942-2.377A1.5 1.5 0 0 0 24 20.06V3.939a1.5 1.5 0 0 0-.85-1.352zm-5.146 14.861L10.826 12l7.178-5.448v10.896z" })
|
|
4607
4594
|
});
|
|
4608
4595
|
//#endregion
|
|
4609
|
-
//#region
|
|
4596
|
+
//#region ../../node_modules/.pnpm/@sparkelf+dsh-better-sidebar@0.28.0-sparkelf.grid.17_a09f40a08660db355c8038ff50040d71/node_modules/@sparkelf/dsh-better-sidebar/src/client/ime-guard.ts
|
|
4610
4597
|
/** The CONSERVATIVE decision, for non-intercepting callers where misreading a
|
|
4611
4598
|
* composition key costs more than ignoring an ordinary one: a bare 229 counts
|
|
4612
4599
|
* even outside a composition window. Pure — reads no module state, so it
|
|
@@ -4615,7 +4602,7 @@ window.__ModuleLoader__.load({
|
|
|
4615
4602
|
return event.isComposing === true || event.keyCode === 229;
|
|
4616
4603
|
}
|
|
4617
4604
|
//#endregion
|
|
4618
|
-
//#region
|
|
4605
|
+
//#region ../../node_modules/.pnpm/@sparkelf+dsh-better-sidebar@0.28.0-sparkelf.grid.17_a09f40a08660db355c8038ff50040d71/node_modules/@sparkelf/dsh-better-sidebar/src/client/menu-flip.ts
|
|
4619
4606
|
/**
|
|
4620
4607
|
* Submenu flip geometry for the portaled context menus.
|
|
4621
4608
|
*
|
|
@@ -4680,7 +4667,7 @@ window.__ModuleLoader__.load({
|
|
|
4680
4667
|
}, [menu]);
|
|
4681
4668
|
}
|
|
4682
4669
|
//#endregion
|
|
4683
|
-
//#region
|
|
4670
|
+
//#region ../../node_modules/.pnpm/@sparkelf+dsh-better-sidebar@0.28.0-sparkelf.grid.17_a09f40a08660db355c8038ff50040d71/node_modules/@sparkelf/dsh-better-sidebar/src/client/locales.ts
|
|
4684
4671
|
/**
|
|
4685
4672
|
* Minimal zh/en/ja copy for the sidebar. The copy follows the DSH i18n system:
|
|
4686
4673
|
* the client apply attaches the locale service (`ctx.locale`, provided by
|
|
@@ -4784,8 +4771,6 @@ window.__ModuleLoader__.load({
|
|
|
4784
4771
|
openInAppEmpty: "没有可用于打开它的应用",
|
|
4785
4772
|
openInAppFailed: "无法打开:{path}",
|
|
4786
4773
|
revealInFileManager: "在文件管理器中显示",
|
|
4787
|
-
openContainingFolder: "打开所在文件夹",
|
|
4788
|
-
openInFileManager: "打开所在位置",
|
|
4789
4774
|
filesSelected: "已选择 {count} 项",
|
|
4790
4775
|
clearSelection: "取消选择",
|
|
4791
4776
|
copyPaths: "复制路径",
|
|
@@ -4817,11 +4802,11 @@ window.__ModuleLoader__.load({
|
|
|
4817
4802
|
newTab: "新建标签页",
|
|
4818
4803
|
brokenSymlink: "失效的软链接",
|
|
4819
4804
|
close: "关闭",
|
|
4820
|
-
closeOtherTabs: "
|
|
4805
|
+
closeOtherTabs: "关闭其他标签",
|
|
4821
4806
|
tabUnread: "有未查看的新页面",
|
|
4822
|
-
closeLeftTabs: "
|
|
4823
|
-
closeRightTabs: "
|
|
4824
|
-
closeAllTabs: "
|
|
4807
|
+
closeLeftTabs: "关闭左侧标签",
|
|
4808
|
+
closeRightTabs: "关闭右侧标签",
|
|
4809
|
+
closeAllTabs: "关闭全部标签",
|
|
4825
4810
|
revealTabInFileManager: "在资源管理器中定位",
|
|
4826
4811
|
pinTerminal: "固定终端",
|
|
4827
4812
|
pinAgentTerminal: "固定 Agent 终端",
|
|
@@ -4853,8 +4838,6 @@ window.__ModuleLoader__.load({
|
|
|
4853
4838
|
refresh: "刷新",
|
|
4854
4839
|
refreshUnsavedConfirm: "文件已在磁盘更新,刷新将丢弃未保存编辑。继续吗?",
|
|
4855
4840
|
closeUnsavedConfirm: "该文件有未保存的编辑,关闭后将丢弃。继续吗?",
|
|
4856
|
-
draftRestoreConfirm: "检测到未保存的草稿,恢复吗?(选择取消将丢弃该草稿)",
|
|
4857
|
-
switchUnsavedConfirm: "该文件有未保存的编辑,切换文件将丢弃这些内容。继续吗?",
|
|
4858
4841
|
save: "保存",
|
|
4859
4842
|
saved: "已保存",
|
|
4860
4843
|
unsaved: "未保存",
|
|
@@ -4893,7 +4876,6 @@ window.__ModuleLoader__.load({
|
|
|
4893
4876
|
searchGo: "跳转",
|
|
4894
4877
|
binary: "二进制文件,无法预览",
|
|
4895
4878
|
loading: "加载中…",
|
|
4896
|
-
filterNoMatch: "没有匹配的文件",
|
|
4897
4879
|
error: "加载失败",
|
|
4898
4880
|
retry: "重试",
|
|
4899
4881
|
notRepo: "当前目录不是 git 仓库",
|
|
@@ -4945,7 +4927,6 @@ window.__ModuleLoader__.load({
|
|
|
4945
4927
|
graphBranchFilter: "分支筛选",
|
|
4946
4928
|
graphEmpty: "暂无提交",
|
|
4947
4929
|
graphLoadError: "加载提交历史失败",
|
|
4948
|
-
graphLinearFallback: "分支过多,当前显示线性历史列表(不表示分支拓扑)",
|
|
4949
4930
|
graphStale: "提交历史已变化,请刷新",
|
|
4950
4931
|
graphDetails: "提交详情",
|
|
4951
4932
|
graphParents: "父提交",
|
|
@@ -4992,6 +4973,7 @@ window.__ModuleLoader__.load({
|
|
|
4992
4973
|
loadMore: "加载更多",
|
|
4993
4974
|
produced: "本次产出",
|
|
4994
4975
|
showInFolder: "在文件夹中显示",
|
|
4976
|
+
openContainingFolder: "打开所在文件夹",
|
|
4995
4977
|
disconnected: "终端连接断开,重连中…",
|
|
4996
4978
|
exited: "终端进程已退出",
|
|
4997
4979
|
noSession: "选择一个会话以使用侧边栏",
|
|
@@ -5002,7 +4984,6 @@ window.__ModuleLoader__.load({
|
|
|
5002
4984
|
openEditor: "打开编辑器",
|
|
5003
4985
|
referenceFile: "@文件",
|
|
5004
4986
|
addToConversation: "添加到对话",
|
|
5005
|
-
quoteChip: "引用 {where}",
|
|
5006
4987
|
copyRelative: "复制相对地址",
|
|
5007
4988
|
copyAbsolute: "复制绝对地址",
|
|
5008
4989
|
rename: "重命名",
|
|
@@ -5042,14 +5023,6 @@ window.__ModuleLoader__.load({
|
|
|
5042
5023
|
settingsSubagentDesc: "当前会话产生新的子代理时,在侧边栏创建任务管理页并标记未读红点;若侧边栏正展开在其他页面则不抢焦点,点红点即可前往;宽屏同时展开侧边栏,窄屏不强制展开全屏抽屉;关闭后不再自动创建",
|
|
5043
5024
|
settingsJobsTitle: "有新后台任务时自动激活任务管理页",
|
|
5044
5025
|
settingsJobsDesc: "当前会话出现新的后台任务时,在侧边栏创建任务管理页并标记未读红点(每个新任务都会触发);若侧边栏正展开在其他页面则不抢焦点,点红点即可前往;宽屏同时展开侧边栏,窄屏不强制展开全屏抽屉;关闭后不再自动创建",
|
|
5045
|
-
settingsTasksAutoFoldSettledTitle: "自动折叠已结束叶子任务",
|
|
5046
|
-
settingsTasksAutoFoldSettledDesc: "自动折叠已完成、失败或停止且没有子代理的叶子任务;默认开启",
|
|
5047
|
-
settingsTasksAutoFoldBranchesTitle: "仅自动折叠完全结束的分支",
|
|
5048
|
-
settingsTasksAutoFoldBranchesDesc: "仅当整条分支全部结束才自动折叠;含有运行中后代的分支绝不折叠;默认开启",
|
|
5049
|
-
settingsTasksAutoFoldIdleTitle: "自动折叠空闲成员",
|
|
5050
|
-
settingsTasksAutoFoldIdleDesc: "空闲成员达到 3 个或以上时自动折叠;默认开启",
|
|
5051
|
-
settingsJobsAutoCollapseTitle: "自动收起后台任务抽屉",
|
|
5052
|
-
settingsJobsAutoCollapseDesc: "代理总数达到 8 个或以上时自动收起后台任务抽屉;手动开关仍然可用;默认开启",
|
|
5053
5026
|
settingsToolsTitle: "为模型注入终端工具",
|
|
5054
5027
|
settingsToolsDesc: "开启后,模型可通过 terminal_create 等 8 个工具创建并操作侧边栏终端(默认关闭)",
|
|
5055
5028
|
settingsBottomTerminalTitle: "底部面板首次展开自动开终端",
|
|
@@ -5079,6 +5052,24 @@ window.__ModuleLoader__.load({
|
|
|
5079
5052
|
viewerCode: "代码",
|
|
5080
5053
|
viewerHtml: "HTML",
|
|
5081
5054
|
viewerJsonl: "JSONL",
|
|
5055
|
+
viewerCsv: "CSV 表格",
|
|
5056
|
+
csvTable: "表格",
|
|
5057
|
+
csvText: "文本",
|
|
5058
|
+
csvDelimiter: "分隔符",
|
|
5059
|
+
csvAuto: "自动",
|
|
5060
|
+
csvComma: "逗号 (,)",
|
|
5061
|
+
csvTab: "制表符 (Tab)",
|
|
5062
|
+
csvSemicolon: "分号 (;)",
|
|
5063
|
+
csvEncoding: "编码",
|
|
5064
|
+
csvUtf8: "UTF-8",
|
|
5065
|
+
csvRowsColumns: "行数 {rows} · 列数 {columns}",
|
|
5066
|
+
csvTruncated: "仅显示前 {rows} 行(上限 5000 行 / 2 MB)",
|
|
5067
|
+
csvTruncatedBytes: "文件超过 2 MB,仅解析前 2 MB(显示 {rows} 行)",
|
|
5068
|
+
csvEmpty: "空文件或没有可显示的表格数据",
|
|
5069
|
+
csvParseError: "CSV 解析失败:{message}",
|
|
5070
|
+
csvTooLargeForTable: "文件过大,表格视图不可用,请切换到文本",
|
|
5071
|
+
csvReload: "重新加载",
|
|
5072
|
+
csvShowMore: "显示更多",
|
|
5082
5073
|
browser: "浏览器",
|
|
5083
5074
|
browserPlaceholder: "输入网址,例如 example.com",
|
|
5084
5075
|
browserGo: "前往",
|
|
@@ -5089,10 +5080,6 @@ window.__ModuleLoader__.load({
|
|
|
5089
5080
|
browserBlockedLoopback: "已阻止:不允许在浏览器中访问本机或内部地址",
|
|
5090
5081
|
browserInvalid: "无效的网址",
|
|
5091
5082
|
htmlNoSandboxWarning: "沙箱已关闭:此 HTML 与界面同源,可读取会话文件与内部接口(可在设置中恢复)",
|
|
5092
|
-
sandboxPromptTitle: "是否启用沙箱限制?",
|
|
5093
|
-
sandboxPromptDesc: "启用后,HTML 页面在沙箱中运行,无法读取会话文件与内部接口;关闭后页面与界面同源,脚本可立即执行。",
|
|
5094
|
-
sandboxPromptEnable: "启用沙箱",
|
|
5095
|
-
sandboxPromptDisable: "不启用",
|
|
5096
5083
|
sandboxStatusOn: "沙箱模式:已启用 · 页面无法访问界面数据与本地文件,登录态与第三方 Cookie 可能不可用",
|
|
5097
5084
|
sandboxUnlock: "临时解锁(不安全)",
|
|
5098
5085
|
sandboxRestore: "恢复沙箱",
|
|
@@ -5133,7 +5120,6 @@ window.__ModuleLoader__.load({
|
|
|
5133
5120
|
sideChatSaveTitle: "把该线程提升为顶层会话,出现在主会话列表中",
|
|
5134
5121
|
sideChatArchive: "归档这条侧边对话(在会话列表的「显示已归档」里可找回)",
|
|
5135
5122
|
sideChatArchiveRunning: "该线程正在运行,停止后才能归档",
|
|
5136
|
-
sideChatArchiveBlocked: "侧边对话归档后无法找回(宿主会话列表在任何筛选下都不显示侧边对话),因此已禁用归档;如需保留,请先「保存为新会话」",
|
|
5137
5123
|
sideChatSaved: "已保存为新会话",
|
|
5138
5124
|
sideChatNoTurn: "至少完成一轮对话后才能保存",
|
|
5139
5125
|
sideChatPendingDrop: "最后一条未完成的追问不会包含在新会话中",
|
|
@@ -5149,23 +5135,10 @@ window.__ModuleLoader__.load({
|
|
|
5149
5135
|
sideChatThinking: "正在深入…",
|
|
5150
5136
|
sideChatThink: "思考过程",
|
|
5151
5137
|
sideChatInjection: "已注入上下文",
|
|
5152
|
-
sideChatAddImages: "添加图片",
|
|
5153
|
-
sideChatRemoveImage: "移除 {name}",
|
|
5154
|
-
sideChatImagesDisabled: "图片附件不可用",
|
|
5155
|
-
sideChatImageFormat: "请选择 PNG、JPEG、WebP 或 GIF 图片",
|
|
5156
|
-
sideChatImageLimit: "图片数量或大小超出限制",
|
|
5157
|
-
sideChatImageReadError: "无法读取图片",
|
|
5158
|
-
sideChatImageOwnerChanged: "发送时对话已切换",
|
|
5159
|
-
sideChatSendUncertain: "连接已断开。消息可能已被接收。草稿已保留,请先查看对话再重试。",
|
|
5160
|
-
sideChatImageLoading: "正在加载图片…",
|
|
5161
|
-
sideChatImageUnavailable: "图片不可用",
|
|
5162
|
-
sideChatImage: "图片",
|
|
5163
5138
|
sideChatSend: "发送",
|
|
5164
5139
|
sideChatCancelTitle: "中止当前回合(保留队列)",
|
|
5165
5140
|
sideChatError: "侧边对话出错:{message}",
|
|
5166
5141
|
sideChatTurnUsage: "输入 {input} tok · 输出 {output} tok",
|
|
5167
|
-
sideChatDeliverables: "交付文件",
|
|
5168
|
-
sideChatDeliverableOpen: "打开 {name}",
|
|
5169
5142
|
sideChatBlockCollapse: "收起",
|
|
5170
5143
|
sideChatBlockCollapseAria: "收起",
|
|
5171
5144
|
sideChatBlockExpand: "展开 {hidden} 行",
|
|
@@ -5447,8 +5420,6 @@ window.__ModuleLoader__.load({
|
|
|
5447
5420
|
openInAppEmpty: "No application can open it",
|
|
5448
5421
|
openInAppFailed: "Could not open: {path}",
|
|
5449
5422
|
revealInFileManager: "Reveal in File Manager",
|
|
5450
|
-
openContainingFolder: "Open Containing Folder",
|
|
5451
|
-
openInFileManager: "Open Containing Location",
|
|
5452
5423
|
filesSelected: "{count} selected",
|
|
5453
5424
|
clearSelection: "Clear selection",
|
|
5454
5425
|
copyPaths: "Copy paths",
|
|
@@ -5516,8 +5487,6 @@ window.__ModuleLoader__.load({
|
|
|
5516
5487
|
refresh: "Refresh",
|
|
5517
5488
|
refreshUnsavedConfirm: "The file changed on disk. Refreshing will discard unsaved edits. Continue?",
|
|
5518
5489
|
closeUnsavedConfirm: "This file has unsaved edits. Closing the tab will discard them. Continue?",
|
|
5519
|
-
draftRestoreConfirm: "An unsaved draft was found. Restore it? (Cancel discards the draft.)",
|
|
5520
|
-
switchUnsavedConfirm: "This file has unsaved edits. Switching files will discard them. Continue?",
|
|
5521
5490
|
save: "Save",
|
|
5522
5491
|
saved: "Saved",
|
|
5523
5492
|
unsaved: "Unsaved",
|
|
@@ -5556,7 +5525,6 @@ window.__ModuleLoader__.load({
|
|
|
5556
5525
|
searchGo: "go",
|
|
5557
5526
|
binary: "Binary file, preview unavailable",
|
|
5558
5527
|
loading: "Loading…",
|
|
5559
|
-
filterNoMatch: "No matching files",
|
|
5560
5528
|
error: "Failed to load",
|
|
5561
5529
|
retry: "Retry",
|
|
5562
5530
|
notRepo: "This directory is not a git repository",
|
|
@@ -5608,7 +5576,6 @@ window.__ModuleLoader__.load({
|
|
|
5608
5576
|
graphBranchFilter: "Branch filter",
|
|
5609
5577
|
graphEmpty: "No commits",
|
|
5610
5578
|
graphLoadError: "Failed to load commit history",
|
|
5611
|
-
graphLinearFallback: "Too many branches; showing a linear history list (not branch topology)",
|
|
5612
5579
|
graphStale: "History has changed. Refresh to continue.",
|
|
5613
5580
|
graphDetails: "Commit details",
|
|
5614
5581
|
graphParents: "Parents",
|
|
@@ -5655,6 +5622,7 @@ window.__ModuleLoader__.load({
|
|
|
5655
5622
|
loadMore: "Load more",
|
|
5656
5623
|
produced: "Produced",
|
|
5657
5624
|
showInFolder: "Show in folder",
|
|
5625
|
+
openContainingFolder: "Open Containing Folder",
|
|
5658
5626
|
disconnected: "Terminal disconnected, reconnecting…",
|
|
5659
5627
|
exited: "Terminal process exited",
|
|
5660
5628
|
noSession: "Select a conversation to use the sidebar",
|
|
@@ -5665,7 +5633,6 @@ window.__ModuleLoader__.load({
|
|
|
5665
5633
|
openEditor: "Open editor",
|
|
5666
5634
|
referenceFile: "@file",
|
|
5667
5635
|
addToConversation: "Add to conversation",
|
|
5668
|
-
quoteChip: "Quote {where}",
|
|
5669
5636
|
copyRelative: "Copy relative path",
|
|
5670
5637
|
copyAbsolute: "Copy absolute path",
|
|
5671
5638
|
rename: "Rename",
|
|
@@ -5705,14 +5672,6 @@ window.__ModuleLoader__.load({
|
|
|
5705
5672
|
settingsSubagentDesc: "When the current conversation spawns a new subagent, create the Tasks page in the side card and mark it with an unread dot; a side card already expanded on another page is left alone instead of being taken over — click the dot to go there; wide viewports also expand the side card, while narrow full-screen drawers are not forced open; turn off to stop creating it automatically",
|
|
5706
5673
|
settingsJobsTitle: "Auto-activate the Tasks page on a new background job",
|
|
5707
5674
|
settingsJobsDesc: "Whenever a new background job appears for the current conversation, create the Tasks page in the side card and mark it with an unread dot (every new job triggers); a side card already expanded on another page is left alone instead of being taken over — click the dot to go there; wide viewports also expand the side card, while narrow full-screen drawers are not forced open; turn off to stop creating it automatically",
|
|
5708
|
-
settingsTasksAutoFoldSettledTitle: "Auto-fold settled leaf tasks",
|
|
5709
|
-
settingsTasksAutoFoldSettledDesc: "Automatically fold leaf tasks that have completed, failed, or stopped and have no child agents; on by default",
|
|
5710
|
-
settingsTasksAutoFoldBranchesTitle: "Auto-fold fully finished branches only",
|
|
5711
|
-
settingsTasksAutoFoldBranchesDesc: "Automatically fold a branch only once the whole branch has finished; a branch with any running descendant is never folded; on by default",
|
|
5712
|
-
settingsTasksAutoFoldIdleTitle: "Auto-fold idle teammates",
|
|
5713
|
-
settingsTasksAutoFoldIdleDesc: "Automatically fold idle teammates once 3 or more are waiting for new instructions; on by default",
|
|
5714
|
-
settingsJobsAutoCollapseTitle: "Auto-collapse the background jobs drawer",
|
|
5715
|
-
settingsJobsAutoCollapseDesc: "Automatically collapse the background jobs drawer when there are 8 or more agents in total; the manual toggle still works; on by default",
|
|
5716
5675
|
settingsToolsTitle: "Inject terminal tools for the model",
|
|
5717
5676
|
settingsToolsDesc: "When enabled, the model can create and drive sidebar terminals through the 8 terminal_* tools (off by default)",
|
|
5718
5677
|
settingsBottomTerminalTitle: "Auto-open a terminal on the bottom panel's first expansion",
|
|
@@ -5742,6 +5701,24 @@ window.__ModuleLoader__.load({
|
|
|
5742
5701
|
viewerCode: "Code",
|
|
5743
5702
|
viewerHtml: "HTML",
|
|
5744
5703
|
viewerJsonl: "JSONL",
|
|
5704
|
+
viewerCsv: "CSV table",
|
|
5705
|
+
csvTable: "Table",
|
|
5706
|
+
csvText: "Text",
|
|
5707
|
+
csvDelimiter: "Delimiter",
|
|
5708
|
+
csvAuto: "Auto",
|
|
5709
|
+
csvComma: "Comma (,)",
|
|
5710
|
+
csvTab: "Tab",
|
|
5711
|
+
csvSemicolon: "Semicolon (;)",
|
|
5712
|
+
csvEncoding: "Encoding",
|
|
5713
|
+
csvUtf8: "UTF-8",
|
|
5714
|
+
csvRowsColumns: "{rows} rows · {columns} columns",
|
|
5715
|
+
csvTruncated: "Showing first {rows} rows (limit 5000 rows / 2 MB)",
|
|
5716
|
+
csvTruncatedBytes: "File exceeds 2 MB; parsed the first 2 MB ({rows} rows)",
|
|
5717
|
+
csvEmpty: "Empty file or no table data",
|
|
5718
|
+
csvParseError: "CSV parse failed: {message}",
|
|
5719
|
+
csvTooLargeForTable: "File is too large for the table view; switch to Text",
|
|
5720
|
+
csvReload: "Reload",
|
|
5721
|
+
csvShowMore: "Show more",
|
|
5745
5722
|
browser: "Browser",
|
|
5746
5723
|
browserPlaceholder: "Enter a URL, e.g. example.com",
|
|
5747
5724
|
browserGo: "Go",
|
|
@@ -5752,10 +5729,6 @@ window.__ModuleLoader__.load({
|
|
|
5752
5729
|
browserBlockedLoopback: "Blocked: local and internal addresses cannot be browsed here",
|
|
5753
5730
|
browserInvalid: "Invalid URL",
|
|
5754
5731
|
htmlNoSandboxWarning: "Sandbox off: this HTML runs with full GUI privileges (re-enable in settings)",
|
|
5755
|
-
sandboxPromptTitle: "Enable sandbox restrictions?",
|
|
5756
|
-
sandboxPromptDesc: "When enabled, the HTML page runs in a sandbox and cannot read session files or internal APIs. When disabled it shares the GUI origin and its scripts run immediately.",
|
|
5757
|
-
sandboxPromptEnable: "Enable sandbox",
|
|
5758
|
-
sandboxPromptDisable: "Do not enable",
|
|
5759
5732
|
sandboxStatusOn: "Sandbox mode: on · pages cannot access the GUI's data or local files; logins and third-party cookies may not work",
|
|
5760
5733
|
sandboxUnlock: "Temporarily disable (unsafe)",
|
|
5761
5734
|
sandboxRestore: "Restore sandbox",
|
|
@@ -5796,7 +5769,6 @@ window.__ModuleLoader__.load({
|
|
|
5796
5769
|
sideChatSaveTitle: "Promote this thread to a top-level session in the main session list",
|
|
5797
5770
|
sideChatArchive: "Archive this side conversation (find it again via “Show archived” in the session list)",
|
|
5798
5771
|
sideChatArchiveRunning: "This thread is running — stop it before archiving",
|
|
5799
|
-
sideChatArchiveBlocked: "A side conversation can never be found again once archived (the host session list hides side conversations in every filter), so archiving is disabled — use “Save as new session” first to keep it",
|
|
5800
5772
|
sideChatSaved: "Saved as a new session",
|
|
5801
5773
|
sideChatNoTurn: "Save is available after the first completed turn",
|
|
5802
5774
|
sideChatPendingDrop: "The last unanswered follow-up will not be included in the saved session",
|
|
@@ -5812,23 +5784,10 @@ window.__ModuleLoader__.load({
|
|
|
5812
5784
|
sideChatThinking: "Deep diving…",
|
|
5813
5785
|
sideChatThink: "Thinking",
|
|
5814
5786
|
sideChatInjection: "Context injected",
|
|
5815
|
-
sideChatAddImages: "Add images",
|
|
5816
|
-
sideChatRemoveImage: "Remove {name}",
|
|
5817
|
-
sideChatImagesDisabled: "Image attachments are unavailable",
|
|
5818
|
-
sideChatImageFormat: "Choose PNG, JPEG, WebP or GIF images",
|
|
5819
|
-
sideChatImageLimit: "Image count or size limit exceeded",
|
|
5820
|
-
sideChatImageReadError: "Could not read image",
|
|
5821
|
-
sideChatImageOwnerChanged: "Conversation changed while sending",
|
|
5822
|
-
sideChatSendUncertain: "Connection lost. The message may have been accepted. Your draft is kept; check the conversation before retrying.",
|
|
5823
|
-
sideChatImageLoading: "Loading image…",
|
|
5824
|
-
sideChatImageUnavailable: "Image unavailable",
|
|
5825
|
-
sideChatImage: "Image",
|
|
5826
5787
|
sideChatSend: "Send",
|
|
5827
5788
|
sideChatCancelTitle: "Abort the running turn (queued work is kept)",
|
|
5828
5789
|
sideChatError: "Side Chat error: {message}",
|
|
5829
5790
|
sideChatTurnUsage: "Input {input} tok · Output {output} tok",
|
|
5830
|
-
sideChatDeliverables: "Present files",
|
|
5831
|
-
sideChatDeliverableOpen: "Open {name}",
|
|
5832
5791
|
sideChatBlockCollapse: "Collapse",
|
|
5833
5792
|
sideChatBlockCollapseAria: "Collapse",
|
|
5834
5793
|
sideChatBlockExpand: "Expand {hidden} lines",
|
|
@@ -6045,8 +6004,8 @@ window.__ModuleLoader__.load({
|
|
|
6045
6004
|
return text;
|
|
6046
6005
|
}
|
|
6047
6006
|
//#endregion
|
|
6048
|
-
//#region \0dsh-css:/root/projects/
|
|
6049
|
-
const css$16 = ".
|
|
6007
|
+
//#region \0dsh-css:/root/projects/dsh-plugins-plus/node_modules/.pnpm/@sparkelf+dsh-better-sidebar@0.28.0-sparkelf.grid.17_a09f40a08660db355c8038ff50040d71/node_modules/@sparkelf/dsh-better-sidebar/src/client/ui/kit.module.css.mjs
|
|
6008
|
+
const css$16 = "._0XA4nW_iconButton{box-sizing:border-box;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:none;border-radius:3px;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}._0XA4nW_iconButtonMd{width:28px;height:28px}._0XA4nW_iconButtonSm{border-radius:3px;width:24px;height:24px}._0XA4nW_iconButton:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}._0XA4nW_iconButton:focus-visible{outline:2px solid var(--dsw-alias-interactive-bg-hover-accent);outline-offset:-1px}._0XA4nW_iconButton:disabled{opacity:.4;cursor:default}._0XA4nW_iconButtonActive{color:var(--dsw-alias-state-business-primary)}._0XA4nW_iconButtonDanger{color:var(--dsw-alias-state-error-primary)}._0XA4nW_chip{box-sizing:border-box;border:1px solid var(--dsw-alias-border-l2);height:22px;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxxs-11);white-space:nowrap;cursor:pointer;background:0 0;border-radius:999px;align-items:center;gap:4px;padding:0 8px;display:inline-flex}._0XA4nW_chip:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}._0XA4nW_chip:disabled{opacity:.4;cursor:default}._0XA4nW_chipActive,._0XA4nW_chipActive:hover{background:var(--dsw-alias-interactive-bg-hover-accent);border-color:var(--dsw-alias-state-business-primary);color:var(--dsw-alias-label-primary)}._0XA4nW_chipLabel{text-overflow:ellipsis;min-width:0;overflow:hidden}._0XA4nW_chipCount{color:var(--dsw-alias-label-tertiary);font-variant-numeric:tabular-nums}._0XA4nW_chipActive ._0XA4nW_chipCount{color:var(--dsw-alias-label-secondary)}._0XA4nW_sectionHeader{box-sizing:border-box;border-bottom:1px solid var(--dsw-alias-border-l1);width:100%;height:28px;font:var(--dsw-font-xxs-strong-12);color:var(--dsw-alias-label-secondary);align-items:center;gap:6px;padding:0 12px;display:flex}._0XA4nW_sectionLabel{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}._0XA4nW_sectionCount{font:var(--dsw-font-xxxs-11);font-variant-numeric:tabular-nums;color:var(--dsw-alias-label-tertiary);flex:none}._0XA4nW_sectionAction{flex:none;align-items:center;margin-left:auto;display:inline-flex}._0XA4nW_notice{box-sizing:border-box;font:var(--dsw-font-xxs-12);color:var(--dsw-alias-label-tertiary);white-space:pre-wrap}._0XA4nW_noticeWell{padding:4px 12px 8px}._0XA4nW_noticePage{text-align:center;padding:16px}._0XA4nW_noticeInline{padding:0;font-size:10px;line-height:1.45}._0XA4nW_noticeError{color:var(--dsw-alias-state-error-primary)}._0XA4nW_noticeWarn{color:var(--dsw-alias-state-warn-primary)}._0XA4nW_noticeHint{color:var(--dsw-alias-label-tertiary)}._0XA4nW_confirmDesc{font:var(--dsw-font-s-14);color:var(--dsw-alias-label-primary);margin:0}._0XA4nW_confirmDesc[data-danger=true]{color:var(--dsw-alias-label-primary)}._0XA4nW_statusBadge{font:var(--dsw-font-xxxs-strong-11);font-family:var(--ds-font-family-code,monospace);color:var(--dsw-alias-label-secondary);border-radius:2px;flex:none;padding:0 4px}._0XA4nW_statusBadge[data-tone=modified]{color:var(--dsw-alias-state-warn-primary)}._0XA4nW_statusBadge[data-tone=added],._0XA4nW_statusBadge[data-tone=untracked]{color:var(--dsw-alias-state-success-primary)}._0XA4nW_statusBadge[data-tone=deleted]{color:var(--dsw-alias-state-error-primary)}._0XA4nW_statusBadge[data-tone=renamed]{color:var(--dsw-alias-state-business-primary)}._0XA4nW_statusBadge[data-tone=conflict]{color:var(--dsw-alias-state-error-primary)}._0XA4nW_statusBadge[data-tone=read]{color:var(--dsw-alias-state-success-primary)}._0XA4nW_statusBadge[data-tone=write]{color:var(--dsw-alias-state-business-primary)}._0XA4nW_statusBadge[data-tone=edit]{color:var(--dsw-alias-state-warn-primary)}._0XA4nW_statusBadge[data-tone=neutral]{color:var(--dsw-alias-label-tertiary)}";
|
|
6050
6009
|
const tagId$16 = "@sparkelf/dsh-knowledge-base/kit.module.css";
|
|
6051
6010
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$16) + "]") === null) {
|
|
6052
6011
|
const tag = document.createElement("style");
|
|
@@ -6056,31 +6015,31 @@ window.__ModuleLoader__.load({
|
|
|
6056
6015
|
document.head.appendChild(tag);
|
|
6057
6016
|
}
|
|
6058
6017
|
var kit_module_css_default = {
|
|
6059
|
-
"chipActive": "
|
|
6060
|
-
"
|
|
6061
|
-
"
|
|
6062
|
-
"
|
|
6063
|
-
"
|
|
6064
|
-
"
|
|
6065
|
-
"
|
|
6066
|
-
"
|
|
6067
|
-
"
|
|
6068
|
-
"
|
|
6069
|
-
"
|
|
6070
|
-
"
|
|
6071
|
-
"
|
|
6072
|
-
"
|
|
6073
|
-
"
|
|
6074
|
-
"
|
|
6075
|
-
"
|
|
6076
|
-
"
|
|
6077
|
-
"
|
|
6078
|
-
"
|
|
6079
|
-
"
|
|
6080
|
-
"
|
|
6018
|
+
"chipActive": "_0XA4nW_chipActive",
|
|
6019
|
+
"sectionCount": "_0XA4nW_sectionCount",
|
|
6020
|
+
"confirmDesc": "_0XA4nW_confirmDesc",
|
|
6021
|
+
"sectionAction": "_0XA4nW_sectionAction",
|
|
6022
|
+
"noticePage": "_0XA4nW_noticePage",
|
|
6023
|
+
"noticeInline": "_0XA4nW_noticeInline",
|
|
6024
|
+
"chipCount": "_0XA4nW_chipCount",
|
|
6025
|
+
"noticeWell": "_0XA4nW_noticeWell",
|
|
6026
|
+
"notice": "_0XA4nW_notice",
|
|
6027
|
+
"noticeWarn": "_0XA4nW_noticeWarn",
|
|
6028
|
+
"iconButtonDanger": "_0XA4nW_iconButtonDanger",
|
|
6029
|
+
"noticeHint": "_0XA4nW_noticeHint",
|
|
6030
|
+
"statusBadge": "_0XA4nW_statusBadge",
|
|
6031
|
+
"iconButton": "_0XA4nW_iconButton",
|
|
6032
|
+
"chip": "_0XA4nW_chip",
|
|
6033
|
+
"iconButtonSm": "_0XA4nW_iconButtonSm",
|
|
6034
|
+
"chipLabel": "_0XA4nW_chipLabel",
|
|
6035
|
+
"sectionHeader": "_0XA4nW_sectionHeader",
|
|
6036
|
+
"sectionLabel": "_0XA4nW_sectionLabel",
|
|
6037
|
+
"noticeError": "_0XA4nW_noticeError",
|
|
6038
|
+
"iconButtonMd": "_0XA4nW_iconButtonMd",
|
|
6039
|
+
"iconButtonActive": "_0XA4nW_iconButtonActive"
|
|
6081
6040
|
};
|
|
6082
6041
|
//#endregion
|
|
6083
|
-
//#region
|
|
6042
|
+
//#region ../../node_modules/.pnpm/@sparkelf+dsh-better-sidebar@0.28.0-sparkelf.grid.17_a09f40a08660db355c8038ff50040d71/node_modules/@sparkelf/dsh-better-sidebar/src/client/ui/kit.tsx
|
|
6084
6043
|
/**
|
|
6085
6044
|
* A 28px (`md`) or 24px (`sm`) square glyph button — the ONE icon button of
|
|
6086
6045
|
* the plugin. Callers that need a pressed state pass `active`; the danger
|
|
@@ -6179,7 +6138,7 @@ window.__ModuleLoader__.load({
|
|
|
6179
6138
|
});
|
|
6180
6139
|
}
|
|
6181
6140
|
//#endregion
|
|
6182
|
-
//#region
|
|
6141
|
+
//#region ../../node_modules/.pnpm/@sparkelf+dsh-better-sidebar@0.28.0-sparkelf.grid.17_a09f40a08660db355c8038ff50040d71/node_modules/@sparkelf/dsh-better-sidebar/src/client/ui/git-status.ts
|
|
6183
6142
|
/**
|
|
6184
6143
|
* The plugin's ONE git-status store.
|
|
6185
6144
|
*
|
|
@@ -6605,7 +6564,7 @@ window.__ModuleLoader__.load({
|
|
|
6605
6564
|
};
|
|
6606
6565
|
}
|
|
6607
6566
|
//#endregion
|
|
6608
|
-
//#region
|
|
6567
|
+
//#region ../../node_modules/.pnpm/@sparkelf+dsh-better-sidebar@0.28.0-sparkelf.grid.17_a09f40a08660db355c8038ff50040d71/node_modules/@sparkelf/dsh-better-sidebar/src/client/upload.ts
|
|
6609
6568
|
/** Sanitize a relative target: absolute paths, traversal, and empty segments
|
|
6610
6569
|
* are rejected (the host enforces the same rules with a 400). */
|
|
6611
6570
|
function sanitizeRelativePath(rel) {
|
|
@@ -6673,7 +6632,7 @@ window.__ModuleLoader__.load({
|
|
|
6673
6632
|
return (await Promise.all(entries.map((entry) => itemsFromEntry(entry, "").catch(() => [])))).flat();
|
|
6674
6633
|
}
|
|
6675
6634
|
//#endregion
|
|
6676
|
-
//#region
|
|
6635
|
+
//#region ../../node_modules/.pnpm/@sparkelf+dsh-better-sidebar@0.28.0-sparkelf.grid.17_a09f40a08660db355c8038ff50040d71/node_modules/@sparkelf/dsh-better-sidebar/src/client/use-dir-watch.ts
|
|
6677
6636
|
/**
|
|
6678
6637
|
* Live refresh for the file tree.
|
|
6679
6638
|
*
|
|
@@ -6779,7 +6738,7 @@ window.__ModuleLoader__.load({
|
|
|
6779
6738
|
watching.add(frame.dir);
|
|
6780
6739
|
return;
|
|
6781
6740
|
}
|
|
6782
|
-
if (frame.ok === void 0) staleRef.current(
|
|
6741
|
+
if (frame.ok === void 0) staleRef.current(frame.dir);
|
|
6783
6742
|
};
|
|
6784
6743
|
socket.onclose = () => {
|
|
6785
6744
|
if (closed) return;
|
|
@@ -6802,19 +6761,18 @@ window.__ModuleLoader__.load({
|
|
|
6802
6761
|
* Re-armed after being parked: the socket is brand new (the old one's
|
|
6803
6762
|
* notices are gone with it), so nothing the host saw while the tree was
|
|
6804
6763
|
* hidden was delivered. Re-list every watched directory once instead of
|
|
6805
|
-
* showing a listing that may be minutes old
|
|
6806
|
-
* re-lists the set in a single `fs.trees` request), not one per directory.
|
|
6764
|
+
* showing a listing that may be minutes old.
|
|
6807
6765
|
*/
|
|
6808
6766
|
const wasArmedRef = (0, react.useRef)(armed);
|
|
6809
6767
|
(0, react.useEffect)(() => {
|
|
6810
6768
|
const previous = wasArmedRef.current;
|
|
6811
6769
|
wasArmedRef.current = armed;
|
|
6812
6770
|
if (!armed || previous) return;
|
|
6813
|
-
|
|
6771
|
+
for (const dir of wantedRef.current) staleRef.current(dir);
|
|
6814
6772
|
}, [armed]);
|
|
6815
6773
|
}
|
|
6816
6774
|
//#endregion
|
|
6817
|
-
//#region
|
|
6775
|
+
//#region ../../node_modules/.pnpm/@sparkelf+dsh-better-sidebar@0.28.0-sparkelf.grid.17_a09f40a08660db355c8038ff50040d71/node_modules/@sparkelf/dsh-better-sidebar/src/client/use-polling.ts
|
|
6818
6776
|
/**
|
|
6819
6777
|
* The sidebar's ONE polling loop: every timed client fetch — subagent live
|
|
6820
6778
|
* previews, side-chat transcript deltas, git status, session ops — funnels
|
|
@@ -6879,8 +6837,8 @@ window.__ModuleLoader__.load({
|
|
|
6879
6837
|
]);
|
|
6880
6838
|
}
|
|
6881
6839
|
//#endregion
|
|
6882
|
-
//#region \0dsh-css:/root/projects/
|
|
6883
|
-
const css$15 = "[data-dsh-panel-host]{z-index:25;pointer-events:none;height:100dvh;position:fixed;inset:0;overflow:clip}html[data-platform] body>[data-dsh-better-sidebar],[data-dsh-panel-host]{-webkit-app-region:initial!important}[data-dsh-panel-host]>*{-webkit-app-region:no-drag}[data-dockkit-float-resize]{z-index:2}[data-dsh-panel-host][data-dsh-panel-host-degraded]{position:absolute;top:0;left:0}.s56VVa_dockFallback{z-index:40;align-items:center;gap:2px;display:inline-flex;position:fixed}.s56VVa_toggleButton{width:28px;height:28px;color:var(--dsw-alias-label-secondary);cursor:pointer;transition:background var(--ds-transition-duration-slow) var(--ds-ease-in-out), color var(--ds-transition-duration-slow) var(--ds-ease-in-out);background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;display:flex}.s56VVa_toggleButton:hover:not(:disabled):not([aria-disabled=true]){background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.s56VVa_toggleButton:disabled,.s56VVa_toggleButton[aria-disabled=true]{opacity:.4;cursor:default}.s56VVa_panelBody{flex:1;min-width:0;min-height:0;display:flex}.s56VVa_bottomPanel{z-index:40;background:var(--dsw-alias-bg-layer-1);border-top:1px solid var(--dsw-alias-border-l2);pointer-events:auto;padding-bottom:env(safe-area-inset-bottom);transition:transform var(--ds-transition-duration-slow) var(--ds-ease-in-out), height var(--ds-transition-duration-slow) var(--ds-ease-in-out);flex-direction:column;display:flex;position:absolute;bottom:0}.s56VVa_bottomPanelHidden{pointer-events:none;visibility:hidden;transition:transform var(--ds-transition-duration-slow) var(--ds-ease-in-out), height var(--ds-transition-duration-slow) var(--ds-ease-in-out), visibility 0s linear var(--ds-transition-duration-slow);transform:translateY(102%)}.s56VVa_bottomPanel[data-dragging]{transition:none}.s56VVa_bottomPanel{contain:layout style}body[data-dsh-sidebar-dragging] .s56VVa_panel,body[data-dsh-sidebar-dragging] .s56VVa_bottomPanel{will-change:transform}.s56VVa_bottomResize{cursor:row-resize;z-index:2;touch-action:none;height:8px;position:absolute;top:-4px;left:0;right:0}.s56VVa_bottomResizeActive{background:var(--dsw-alias-interactive-bg-hover-accent)}.s56VVa_bottomClose{z-index:4;width:28px;height:28px;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:none;border-radius:50%;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex;position:absolute;top:3px;right:6px}.s56VVa_bottomClose:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.s56VVa_bottomPanel .s56VVa_tabBar{padding-right:40px}.s56VVa_toggleButton,.s56VVa_tabBar{-webkit-app-region:no-drag}.s56VVa_iconButton{width:28px;height:28px;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:none;border-radius:50%;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.s56VVa_iconButton:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.s56VVa_iconButton:disabled{opacity:.4;cursor:default}.s56VVa_workbench,.s56VVa_split{flex:1;min-width:0;min-height:0;display:flex}.s56VVa_splitRow{flex-direction:row}.s56VVa_splitCol{flex-direction:column}.s56VVa_splitChild{display:flex;position:relative;overflow:hidden}.s56VVa_divider{z-index:3;touch-action:none;flex:none;position:relative}.s56VVa_dividerRow:after,.s56VVa_dividerCol:after{content:\"\";background:var(--dsw-alias-border-l2);transition:background var(--ds-transition-duration-slow) var(--ds-ease-in-out);position:absolute}.s56VVa_dividerRow{cursor:col-resize;width:7px;margin:0 -2px}.s56VVa_dividerRow:after{width:1px;top:0;bottom:0;left:50%;transform:translate(-50%)}.s56VVa_dividerCol{cursor:row-resize;height:7px;margin:-2px 0}.s56VVa_dividerCol:after{height:1px;top:50%;left:0;right:0;transform:translateY(-50%)}.s56VVa_divider:hover:after,.s56VVa_dividerActive:after{background:var(--dsw-alias-interactive-bg-hover-accent)}.s56VVa_pane{background:var(--dsw-alias-bg-base);flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;position:relative}.s56VVa_paneDrop{outline:1px solid var(--dsw-alias-interactive-bg-hover-accent);outline-offset:-1px}.s56VVa_dropOverlay{z-index:6;pointer-events:none;background:var(--dsw-alias-interactive-bg-hover-accent);opacity:.5;position:absolute}.s56VVa_dropLeft{width:25%;top:0;bottom:0;left:0}.s56VVa_dropRight{width:25%;top:0;bottom:0;right:0}.s56VVa_dropUp{height:25%;top:0;left:0;right:0}.s56VVa_dropDown{height:25%;bottom:0;left:0;right:0}.s56VVa_dropCenter{outline:2px dashed var(--dsw-alias-interactive-bg-hover-accent);outline-offset:-2px;background:0 0;inset:25%}.s56VVa_paneContent{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.s56VVa_chipIcon{flex:none;align-items:center;margin-right:6px;display:inline-flex}.s56VVa_chipUnread{background:var(--dsw-alias-danger);vertical-align:middle;border-radius:50%;width:6px;height:6px;margin-left:6px;display:inline-block}.s56VVa_tabUnreadDot{background:var(--dsw-alias-danger);border-radius:50%;flex:none;width:7px;height:7px}.s56VVa_paneTab{flex-direction:column;flex:1;min-height:0;display:flex}.s56VVa_paneTabHidden{display:none}.s56VVa_paneEmptyCards{flex:1;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));align-content:start;justify-items:stretch;gap:12px;width:100%;min-height:0;padding:12px;display:grid;overflow:hidden}.s56VVa_paneCard{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l4);background:var(--dsw-alias-bg-layer-1);min-width:0;min-height:56px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-s-strong-14);cursor:pointer;text-align:left;border-radius:24px;flex-direction:row;justify-content:flex-start;align-items:center;gap:14px;padding:14px 20px;display:flex}.s56VVa_paneCard>svg{color:var(--dsw-alias-label-secondary);flex:none}.s56VVa_paneCard:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);border-color:var(--dsw-alias-border-l4)}.s56VVa_paneCard:disabled{opacity:.45;cursor:default}.s56VVa_tabBar{border-bottom:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);flex:none;align-items:stretch;height:34px;display:flex}.s56VVa_tabBarDrop{outline:1px dashed var(--dsw-alias-interactive-bg-hover-accent);outline-offset:-1px}.s56VVa_tabList{scrollbar-width:none;flex:1;min-width:0;display:flex;overflow-x:auto}.s56VVa_tabList::-webkit-scrollbar{display:none}.s56VVa_tab{min-width:96px;max-width:160px;font:var(--dsw-font-xxs-12);color:var(--dsw-alias-label-secondary);border-right:1px solid var(--dsw-alias-border-l1);cursor:pointer;user-select:none;background:0 0;flex:none;align-items:center;gap:4px;padding:0 4px 0 10px;display:flex}.s56VVa_tab:hover{background:var(--dsw-alias-interactive-bg-hover)}.s56VVa_tabActive{color:var(--dsw-alias-label-primary);background:var(--dsw-alias-interactive-bg-active)}.s56VVa_tabTitle{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;display:block;overflow:hidden}.s56VVa_tabBadge{min-width:16px;height:15px;font:var(--dsw-font-xxxs-strong-11);background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-brand-primary);border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0 4px;display:inline-flex}.s56VVa_tabClose{width:18px;height:18px;color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:none;border-radius:4px;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.s56VVa_tabClose:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.s56VVa_tabBarPlus{background:var(--dsw-alias-bg-layer-1);width:22px;height:22px;color:var(--dsw-alias-label-tertiary);cursor:pointer;border:none;border-radius:5px;flex:none;justify-content:center;align-self:center;align-items:center;margin:0 6px;padding:0;display:inline-flex;position:sticky;right:0}.s56VVa_tabBarPlus:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.s56VVa_tabBarRightActions{flex:0 auto;justify-content:flex-end;align-items:center;gap:2px;min-width:0;padding-right:4px;display:flex;overflow:hidden}.s56VVa_explorer{flex-direction:column;flex:1;min-height:0;display:flex}.s56VVa_explorerHeader{flex:none;justify-content:space-between;align-items:center;gap:8px;height:36px;padding:0 8px 0 12px;display:flex}.s56VVa_explorerRoot{font:var(--dsw-font-s-14);color:var(--dsw-alias-label-secondary);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.s56VVa_explorerBody{flex:1;min-height:0;padding:4px 8px 8px;overflow:hidden auto}.s56VVa_explorerRow{box-sizing:border-box;width:100%;max-width:100%;height:28px;font:var(--dsw-font-xxs-12);color:var(--dsw-alias-label-primary);text-align:left;cursor:pointer;white-space:nowrap;animation:s56VVa_dsh-row-in .15s var(--ds-ease-in-out);background:0 0;border:none;border-radius:4px;align-items:center;gap:6px;padding:0 8px;display:flex;position:relative}.s56VVa_explorerRow>svg{flex:none;width:14px;height:14px}.s56VVa_explorerRow:hover{background:var(--dsw-alias-interactive-bg-hover)}.s56VVa_explorerRowSelected{background:var(--dsw-alias-interactive-bg-active)}.s56VVa_explorerRowSelected:before{content:\"\";background:var(--dsw-alias-state-business-primary);border-radius:1px;width:2px;position:absolute;top:4px;bottom:4px;left:0}.s56VVa_explorerGitName[data-git-tone=modified]{color:var(--dsw-alias-state-warn-primary)}.s56VVa_explorerGitName[data-git-tone=added],.s56VVa_explorerGitName[data-git-tone=untracked]{color:var(--dsw-alias-state-success-primary)}.s56VVa_explorerGitName[data-git-tone=deleted]{color:var(--dsw-alias-state-error-primary)}.s56VVa_explorerGitName[data-git-tone=renamed]{color:var(--dsw-alias-state-business-primary)}.s56VVa_explorerGitName[data-git-tone=copied]{color:var(--dsw-alias-state-success-primary)}.s56VVa_explorerGitName[data-git-tone=conflict]{color:var(--dsw-alias-state-error-primary)}.s56VVa_explorerDirChanged{color:var(--dsw-alias-state-business-primary)}.s56VVa_explorerRowRevealed{background:var(--dsw-alias-state-business-tertiary)}.s56VVa_explorerRowRevealed+.s56VVa_explorerRowRevealed{border-top-left-radius:0;border-top-right-radius:0}.s56VVa_explorerRowRevealed:has(+.s56VVa_explorerRowRevealed){border-bottom-right-radius:0;border-bottom-left-radius:0}.s56VVa_explorerDir{font:var(--dsw-font-xxs-strong-12)}.s56VVa_explorerHidden{opacity:.45}.s56VVa_explorerSymlink{color:var(--dsw-alias-label-tertiary);flex:none}.s56VVa_explorerBroken .s56VVa_explorerName{color:var(--dsw-alias-state-error-primary)}.s56VVa_explorerName{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.s56VVa_explorerRenaming{cursor:text}.s56VVa_explorerRenameInput{box-sizing:border-box;border:1px solid var(--dsw-alias-state-business-primary);background:var(--dsw-alias-bg-layer-1);min-width:0;height:22px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);border-radius:3px;flex:auto;padding:0 6px}.s56VVa_explorerRenameInput:focus{border-color:var(--dsw-alias-state-business-primary);outline:none}.s56VVa_explorerActionError{box-sizing:border-box;border:1px solid var(--dsw-alias-state-error-primary);background:var(--dsw-alias-bg-layer-1);border-radius:8px;align-items:flex-start;gap:6px;width:100%;margin-bottom:4px;padding:6px 8px;display:flex}.s56VVa_explorerActionErrorText{overflow-wrap:anywhere;min-width:0;font:var(--dsw-font-xxs-12);color:var(--dsw-alias-state-error-primary);flex:auto}.s56VVa_explorerSelectionBar{z-index:1;box-sizing:border-box;background:var(--dsw-alias-bg-layer-2);border-radius:4px;align-items:center;gap:6px;width:100%;min-height:28px;margin-top:4px;padding:2px 8px;display:flex;position:sticky;bottom:0}.s56VVa_explorerSelectionText{text-overflow:ellipsis;white-space:nowrap;min-width:0;font:var(--dsw-font-xxs-strong-12);color:var(--dsw-alias-label-secondary);flex:auto;overflow:hidden}.s56VVa_explorerSelectionActions{flex-wrap:wrap;flex:none;justify-content:flex-end;gap:4px;max-width:72%;display:flex}.s56VVa_explorerAppIcon{object-fit:contain;width:14px;height:14px;display:block}.s56VVa_explorerHiddenPane{display:none}.s56VVa_explorerTime{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none;margin-left:auto;padding-left:8px}.s56VVa_explorerRow:hover .s56VVa_explorerTime,.s56VVa_explorerRow:focus-within .s56VVa_explorerTime{margin-left:0}.s56VVa_explorerRef,.s56VVa_explorerCopied{margin-left:auto}.s56VVa_explorerRef{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-2);height:20px;color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-strong-11);cursor:pointer;border-radius:999px;flex:none;align-items:center;padding:0 8px;display:none}.s56VVa_explorerRef:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.s56VVa_explorerRow:hover .s56VVa_explorerRef,.s56VVa_explorerRow:focus-within .s56VVa_explorerRef{display:inline-flex}.s56VVa_explorerCopied{font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-label-tertiary);flex:none}.s56VVa_explorerError{font:var(--dsw-font-xxs-12);color:var(--dsw-alias-state-error-primary);cursor:default}@keyframes s56VVa_dsh-row-in{0%{opacity:0}}.s56VVa_explorerEmpty{font:var(--dsw-font-xxs-12);color:var(--dsw-alias-label-tertiary);text-align:center;padding:16px}.s56VVa_explorerRowDropTarget{background:var(--dsw-alias-interactive-bg-hover-accent);outline:1px dashed var(--dsw-alias-state-business-primary);outline-offset:-1px}.s56VVa_uploadDropMask{z-index:1001;pointer-events:none;background:color-mix(in srgb, var(--dsw-alias-bg-base) 62%, transparent);animation:s56VVa_dsh-row-in .15s var(--ds-ease-in-out);position:fixed;inset:0}.s56VVa_uploadDropZone{z-index:1002;pointer-events:none;border:2px dashed var(--dsw-alias-border-l2);background:color-mix(in srgb, var(--dsw-alias-state-business-primary) 4%, transparent);animation:s56VVa_dsh-row-in .15s var(--ds-ease-in-out);border-radius:8px;justify-content:center;align-items:flex-start;padding:12px;display:flex;position:fixed}.s56VVa_uploadDropHero{flex-direction:column;align-items:center;gap:8px;max-width:100%;padding-top:8px;display:flex}.s56VVa_uploadDropArtPrimary{color:var(--dsw-alias-state-business-primary)}.s56VVa_uploadDropArtAccent{color:var(--dsw-alias-state-business-tertiary)}.s56VVa_uploadDropArtCut{color:var(--dsw-alias-bg-layer-1)}.s56VVa_uploadDropZonePill{box-sizing:border-box;border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-1);max-width:100%;height:28px;box-shadow:var(--dsw-shadow-lv2);color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxxs-11);border-radius:999px;align-items:center;gap:6px;padding:0 12px;display:flex}.s56VVa_uploadDropZoneText{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.s56VVa_uploadDropChatHint{z-index:1003;pointer-events:none;animation:s56VVa_dsh-row-in .15s var(--ds-ease-in-out);justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;top:0;bottom:0;left:0}.s56VVa_uploadDropChatCard{text-align:center;max-width:100%;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-strong-12);flex-direction:column;align-items:center;gap:10px;display:flex}.s56VVa_uploadOverlay{z-index:30;background:var(--dsw-alias-bg-mask-1);backdrop-filter:var(--dsw-mask-blur);animation:s56VVa_dsh-row-in .15s var(--ds-ease-in-out);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.s56VVa_uploadOverlayCard{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-2);min-width:240px;max-width:min(420px,100% - 48px);box-shadow:var(--dsw-shadow-lv3);border-radius:8px;flex-direction:column;gap:10px;padding:16px;display:flex}.s56VVa_uploadOverlayTitle{font:var(--dsw-font-xxs-strong-12);color:var(--dsw-alias-label-primary);align-items:center;gap:6px;display:flex}.s56VVa_uploadOverlayTitle>svg{flex:none}.s56VVa_uploadOverlayTitle>span{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.s56VVa_uploadOverlayProgress{background:var(--dsw-alias-border-l2);border-radius:3px;height:6px;overflow:hidden}.s56VVa_uploadOverlayProgressFill{background:var(--dsw-alias-interactive-bg-hover-accent);height:100%;transition:width .15s var(--ds-ease-in-out);border-radius:3px}.s56VVa_uploadOverlayStatus{min-height:1em;font:var(--dsw-font-xxxs-11);font-variant-numeric:tabular-nums;color:var(--dsw-alias-label-tertiary);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.s56VVa_uploadOverlayCancel{border:1px solid var(--dsw-alias-border-l2);height:28px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-strong-12);cursor:pointer;background:0 0;border-radius:4px;align-self:flex-end;padding:0 12px}.s56VVa_uploadOverlayCancel:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);border-color:var(--dsw-alias-border-l2)}.s56VVa_uploadOverlayCancel:disabled{opacity:.4;cursor:default}.s56VVa_editor{flex-direction:column;flex:1;min-height:0;display:flex}.s56VVa_editorHeader{border-bottom:1px solid var(--dsw-alias-border-l1);flex:none;align-items:center;gap:6px;padding:6px 8px;display:flex}.s56VVa_editorTitle{min-width:0;font:var(--dsw-font-xxs-strong-12);color:var(--dsw-alias-label-secondary);text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.s56VVa_editorPathInput{box-sizing:border-box;border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);min-width:0;height:28px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);border-radius:6px;flex:1;padding:0 10px}.s56VVa_editorPathInput:focus{border-color:var(--dsw-alias-border-l2);outline:none}.s56VVa_editorTreeToggleActive{color:var(--dsw-alias-label-primary);background:var(--dsw-alias-interactive-bg-active)}.s56VVa_editorBody{flex:1;min-height:0;display:flex}.s56VVa_editorMain{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.s56VVa_editorTreeDock{border-left:1px solid var(--dsw-alias-border-l1);flex:none;min-height:0;display:flex;position:relative}.s56VVa_editorTreeResize{cursor:col-resize;touch-action:none;z-index:3;width:6px;position:absolute;top:0;bottom:0;left:0}.s56VVa_editorTreeResize:hover{background:var(--dsw-alias-border-l2)}.s56VVa_editorTreePanel{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;position:relative}.s56VVa_editorTreePanelFull{flex:1}.s56VVa_editorTreeSearch{border-bottom:1px solid var(--dsw-alias-border-l1);flex:none;align-items:center;gap:6px;padding:6px 8px;display:flex}.s56VVa_editorSearchInput{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);min-width:0;height:26px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);border-radius:6px;flex:1;padding:0 10px}.s56VVa_editorSearchInput:focus{border-color:var(--dsw-alias-border-l2);outline:none}.s56VVa_editorSearchHint{font:var(--dsw-font-xxs-12);color:var(--dsw-alias-label-tertiary);padding:8px 12px}.s56VVa_editorSearchResult{box-sizing:border-box;width:100%;height:28px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);text-align:left;cursor:pointer;background:0 0;border:none;border-radius:4px;align-items:center;gap:6px;padding:0 8px;line-height:28px;display:flex;overflow:hidden}.s56VVa_editorSearchResultDir{color:var(--dsw-alias-label-secondary)}.s56VVa_editorSearchResultLabel{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.s56VVa_editorSearchResult:hover{background:var(--dsw-alias-interactive-bg-hover)}.s56VVa_editorStatus{font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-label-tertiary)}.s56VVa_editorStatusError{color:var(--dsw-alias-state-error-primary)}.s56VVa_dirtyDot{background:var(--dsw-alias-state-warn-primary);border-radius:50%;flex:none;width:7px;height:7px}.s56VVa_editorPlaceholder{font:var(--dsw-font-xxs-12);color:var(--dsw-alias-label-tertiary);text-align:center;flex:1;justify-content:center;align-items:center;padding:16px;display:flex}.s56VVa_orphanedType{opacity:.7;overflow-wrap:anywhere;margin-top:8px;font-size:12px;display:block}.s56VVa_editorBinary{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:12px;padding:24px 16px;display:flex}.s56VVa_editorBinaryNotice{font:var(--dsw-font-xxs-12);color:var(--dsw-alias-label-tertiary)}.s56VVa_editorDownloadLink{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-2);color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-strong-12);cursor:pointer;transition:background var(--ds-transition-duration-slow) var(--ds-ease-in-out), border-color var(--ds-transition-duration-slow) var(--ds-ease-in-out);border-radius:6px;align-items:center;gap:6px;padding:6px 14px;text-decoration:none;display:inline-flex}.s56VVa_editorDownloadLink:hover{background:var(--dsw-alias-interactive-bg-hover);border-color:var(--dsw-alias-border-l2)}.s56VVa_editorError{font:var(--dsw-font-xxs-12);color:var(--dsw-alias-state-error-primary);padding:12px 16px}.s56VVa_editorBanner{font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-state-warn-label);background:var(--dsw-alias-state-warn-tertiary);flex:none;padding:4px 8px}.s56VVa_editorBannerAction{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;margin-left:8px;padding:0;text-decoration:underline}.s56VVa_editorGitAdd{color:var(--dsw-alias-state-success-primary)}.s56VVa_editorGitMod{color:var(--dsw-alias-state-warn-primary)}.s56VVa_editorGitDel{color:var(--dsw-alias-state-error-primary)}.s56VVa_editorGitBarGutter{width:2px;min-width:2px}.s56VVa_editorGitBar,.s56VVa_editorGitBarSpacer{width:2px;height:100%}.s56VVa_editorGitBarAdd{background:var(--dsw-alias-state-success-primary)}.s56VVa_editorGitBarMod{background:var(--dsw-alias-state-warn-primary)}.s56VVa_editorGitBarDel{background:var(--dsw-alias-state-error-primary)}.s56VVa_editorBlame{max-width:420px;font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-label-primary);padding:4px 8px}.s56VVa_editorBlameHead{color:var(--dsw-alias-label-secondary)}.s56VVa_editorBlameSummary{color:var(--dsw-alias-label-primary);white-space:pre-wrap;overflow-wrap:anywhere;margin-top:2px}.s56VVa_sandboxStatus{font:var(--dsw-font-xxxs-11);flex:none;align-items:center;gap:8px;padding:4px 10px;display:flex}.s56VVa_sandboxStatusOn{color:var(--dsw-alias-label-secondary);background:var(--dsw-alias-bg-layer-1);border-bottom:1px solid var(--dsw-alias-border-l1)}.s56VVa_sandboxStatusOff{color:var(--dsw-alias-state-error-primary);background:color-mix(in srgb, var(--dsw-alias-state-error-primary) 10%, transparent);border-bottom:1px solid color-mix(in srgb, var(--dsw-alias-state-error-primary) 45%, transparent)}.s56VVa_sandboxDot{background:var(--dsw-alias-state-success-primary);border-radius:50%;flex:none;width:6px;height:6px}.s56VVa_sandboxStatusOff .s56VVa_sandboxDot{background:var(--dsw-alias-state-error-primary)}.s56VVa_sandboxStatusText{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.s56VVa_sandboxAction{border:1px solid var(--dsw-alias-border-l2);font:inherit;color:inherit;cursor:pointer;background:0 0;border-radius:6px;flex:none;padding:2px 8px}.s56VVa_sandboxAction:hover{background:var(--dsw-alias-interactive-bg-hover)}.s56VVa_editorHtml{background:var(--dsw-alias-bg-base);border:none;flex:1;width:100%;min-height:0}.s56VVa_browser{flex-direction:column;flex:1;min-height:0;display:flex}.s56VVa_browserBar{border-bottom:1px solid var(--dsw-alias-border-l1);flex:none;align-items:center;gap:4px;padding:6px 8px;display:flex}.s56VVa_browserInput{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);min-width:0;height:28px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);border-radius:6px;flex:1;padding:0 10px}.s56VVa_browserInput:focus{border-color:var(--dsw-alias-border-l2);outline:none}.s56VVa_browserMessage{font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-state-warn-label);background:var(--dsw-alias-state-warn-tertiary);flex:none;padding:4px 12px}.s56VVa_browserFrame{background:var(--dsw-alias-bg-base);border:none;flex:1;width:100%;min-height:0}.s56VVa_browserStart{text-align:center;min-height:0;font:var(--dsw-font-xs-13);color:var(--dsw-alias-label-tertiary);flex:1;justify-content:center;align-items:center;padding:20px;display:flex}.s56VVa_browserBlocked{text-align:center;min-height:0;color:var(--dsw-alias-state-warn-primary);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:6px;padding:24px;display:flex}.s56VVa_browserBlockedTitle{font:var(--dsw-font-xxs-strong-12);color:var(--dsw-alias-label-primary)}.s56VVa_browserBlockedDesc{max-width:280px;font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-label-secondary)}.s56VVa_browserBlockedActions{gap:8px;margin-top:6px;display:flex}.s56VVa_browserBlockedButton{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-1);color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxxs-11);cursor:pointer;border-radius:6px;padding:4px 12px}.s56VVa_browserBlockedButton:hover{background:var(--dsw-alias-interactive-bg-hover)}.s56VVa_editorCm{background:0 0;flex:1;min-height:0;overflow:hidden}.s56VVa_editorCmHidden{display:none}.s56VVa_editorCm .cm-editor{height:100%}.s56VVa_editorCm .cm-scroller{padding:12px 16px}.s56VVa_editorCm .cm-editor.cm-focused{outline:none}.s56VVa_editorModeToggle{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);border-radius:6px;flex:none;align-items:center;gap:2px;padding:2px;display:inline-flex}.s56VVa_editorModeButton{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);cursor:pointer;background:0 0;border:none;border-radius:4px;padding:2px 8px}.s56VVa_editorModeButton:hover{color:var(--dsw-alias-label-primary)}.s56VVa_editorModeActive{background:var(--dsw-alias-bg-base);color:var(--dsw-alias-label-primary)}.s56VVa_editorMd{min-height:0;font:var(--dsw-font-xs-13);flex:1;padding:12px 16px;overflow-y:auto}.s56VVa_editorMd .md-code-block:not([data-mermaid-processed])>div:first-child{z-index:auto;position:static}.s56VVa_mermaidWrap{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);content-visibility:auto;contain-intrinsic-size:auto 240px;contain:layout paint style;border-radius:6px;margin:6px 0;overflow:hidden}.s56VVa_mermaidHeader{border-bottom:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-2);justify-content:space-between;align-items:center;gap:6px;padding:4px 8px;display:flex}.s56VVa_mermaidInfo{font:var(--dsw-font-xxxs-strong-11);color:var(--dsw-alias-label-tertiary)}.s56VVa_mermaidCopy{height:20px;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxxs-11);cursor:pointer;background:0 0;border:none;border-radius:4px;align-items:center;gap:4px;padding:0 6px;display:inline-flex}.s56VVa_mermaidCopy:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.s56VVa_mermaidBody{cursor:zoom-in;justify-content:center;padding:10px;display:flex;overflow:auto}.s56VVa_mermaidBody svg{max-width:100%;height:auto}.s56VVa_mermaidPending{flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:18px 24px;display:flex}.s56VVa_mermaidPendingBar{background:var(--dsw-alias-bg-layer-2);border-radius:5px;width:min(320px,70%);height:10px;animation:1.4s ease-in-out infinite s56VVa_mermaidPendingPulse;display:block}.s56VVa_mermaidPendingBar:nth-child(2){width:min(240px,55%);animation-delay:.15s}.s56VVa_mermaidPendingBar:nth-child(3){width:min(160px,40%);animation-delay:.3s}@keyframes s56VVa_mermaidPendingPulse{0%,to{opacity:.45}50%{opacity:1}}@media (prefers-reduced-motion:reduce){.s56VVa_mermaidPendingBar{animation:none}}.s56VVa_mermaidError{border-bottom:1px solid var(--dsw-alias-border-l1);color:var(--dsw-alias-state-error-primary);font:var(--dsw-font-xxxs-11);padding:6px 10px}.s56VVa_mermaidErrorDetail{color:var(--dsw-alias-label-tertiary);white-space:pre-wrap;word-break:break-word;margin-top:2px;display:block}.s56VVa_mermaidCode{font:var(--dsw-font-xxxs-11);margin:0;padding:8px 10px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;overflow:auto}.s56VVa_mermaidMarkdown .md-code-block[data-mermaid-processed]{display:contents}.s56VVa_mermaidModal{z-index:1000;background:var(--dsw-alias-bg-mask-1);backdrop-filter:blur(2px);flex-direction:column;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;-webkit-app-region:initial!important}.s56VVa_mermaidModalToolbar{z-index:10;gap:8px;display:flex;position:absolute;top:16px;right:16px}.s56VVa_mermaidModalButton{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-2);width:36px;height:36px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xs-strong-13);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.s56VVa_mermaidModalButton:hover{background:var(--dsw-alias-interactive-bg-hover)}.s56VVa_mermaidModalStage{justify-content:center;align-items:center;width:90vw;height:80vh;display:flex;position:relative;overflow:hidden}.s56VVa_mermaidModalStage svg{cursor:grab;transform-origin:50%;user-select:none;-webkit-user-drag:none;background:var(--dsw-alias-bg-layer-1);border-radius:12px;max-width:none;max-height:none;padding:16px}.s56VVa_mermaidModalStage svg:active{cursor:grabbing}.s56VVa_mermaidModalHint{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);pointer-events:none;position:absolute;bottom:16px;left:50%;transform:translate(-50%)}.s56VVa_selectionPopup{z-index:60;border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-specific-menu);height:28px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxxs-strong-11);white-space:nowrap;cursor:pointer;border-radius:6px;align-items:center;padding:0 10px;display:inline-flex;position:fixed;transform:translate(-50%,calc(-100% - 8px))}.s56VVa_selectionPopup:hover{background:var(--dsw-alias-interactive-bg-hover-solid)}.s56VVa_editorPdf{background:var(--dsw-alias-bg-base);flex-direction:column;flex:1;min-height:0;display:flex}.s56VVa_editorPdfToolbar{border-bottom:1px solid var(--dsw-alias-border-l1);flex:none;justify-content:flex-end;padding:6px 8px;display:flex}.s56VVa_editorPdfStage{flex:1;min-height:0;display:flex;position:relative}.s56VVa_editorPdfFrame{background:var(--dsw-alias-bg-base);border:none;flex:1;width:100%;min-height:0}.s56VVa_editorPdfFrameBlocked{pointer-events:none}.s56VVa_editorPdfDragShield{z-index:4;pointer-events:none;background:0 0;position:absolute;inset:0}.s56VVa_editorPdfDragShieldActive{pointer-events:auto}body[data-dsh-tab-dragging] .s56VVa_editorPdfFrame{pointer-events:none!important}body[data-dsh-tab-dragging] .s56VVa_editorPdfDragShield{pointer-events:auto!important}.s56VVa_boundaryError{z-index:50;background:var(--dsw-alias-bg-layer-1);border-left:1px solid var(--dsw-alias-border-l2);font:var(--dsw-font-xxs-12);color:var(--dsw-alias-state-error-primary);flex-direction:column;align-items:flex-start;gap:8px;padding:16px;display:flex;position:fixed;top:0;bottom:0;right:0;overflow:auto}.s56VVa_terminalRetry{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-2);color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxxs-strong-11);cursor:pointer;border-radius:999px;flex:none;padding:1px 8px}.s56VVa_terminalRetry:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.s56VVa_tabBoundaryError{min-height:0;font:var(--dsw-font-xxs-12);color:var(--dsw-alias-state-error-primary);flex-direction:column;flex:1;align-items:flex-start;gap:8px;padding:12px 16px;display:flex;overflow:auto}.s56VVa_nativeTabHost{flex-direction:column;height:100%;min-height:0;display:flex}.s56VVa_gitEmpty{font:var(--dsw-font-xxs-12);color:var(--dsw-alias-label-tertiary);padding:4px 12px 8px}.s56VVa_gitPlaceholder{font:var(--dsw-font-xxs-12);color:var(--dsw-alias-label-tertiary);text-align:center;padding:16px}.s56VVa_gitError{font:var(--dsw-font-xxs-12);color:var(--dsw-alias-state-error-primary);white-space:pre-wrap;padding:8px 12px}.s56VVa_gitDiffTab{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;overflow:hidden auto}.s56VVa_gitDiffTabHeader{border-bottom:1px solid var(--dsw-alias-border-l1);flex:none;align-items:center;gap:8px;height:36px;padding:0 8px 0 12px;display:flex}.s56VVa_gitDiffTabTitle{text-overflow:ellipsis;white-space:nowrap;min-width:0;font:var(--dsw-font-xxs-strong-12);color:var(--dsw-alias-label-primary);flex:1;overflow:hidden}.s56VVa_toggleButton:focus-visible,.s56VVa_bottomClose:focus-visible,.s56VVa_iconButton:focus-visible,.s56VVa_tab:focus-visible,.s56VVa_tabClose:focus-visible,.s56VVa_tabBarPlus:focus-visible,.s56VVa_paneCard:focus-visible,.s56VVa_explorerRow:focus-visible,.s56VVa_explorerRef:focus-visible,.s56VVa_terminalRetry:focus-visible,.s56VVa_editorModeButton:focus-visible,.s56VVa_editorDownloadLink:focus-visible,.s56VVa_editorPptxButton:focus-visible,.s56VVa_editorDocxZoomRange:focus-visible{outline:2px solid var(--dsw-alias-interactive-bg-hover-accent);outline-offset:-1px}@media (prefers-reduced-motion:reduce){.s56VVa_bottomPanel,.s56VVa_bottomPanelHidden,.s56VVa_toggleButton,.s56VVa_tab,.s56VVa_tabBarPlus,.s56VVa_paneCard,.s56VVa_explorerRow,.s56VVa_divider,.s56VVa_dividerRow:after,.s56VVa_dividerCol:after{transition:none;animation:none}}@media (width<=767px){.s56VVa_tab{min-width:48px;max-width:128px}}.s56VVa_openWithLabel{align-items:center;gap:8px;width:100%;min-width:0;display:flex}.s56VVa_openWithName{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;overflow:hidden}.s56VVa_openWithChevron{color:var(--dsw-alias-label-tertiary);flex:none}.s56VVa_openWithPin{width:16px;height:16px;color:var(--dsw-alias-label-tertiary);cursor:pointer;border-radius:5px;flex:none;justify-content:center;align-items:center;display:inline-flex}.s56VVa_openWithPin:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.s56VVa_openWithPinActive{color:var(--dsw-alias-state-business-primary)}.s56VVa_editorHtmlBlock{margin:8px 0}.s56VVa_editorHtmlBlock img,.s56VVa_editorHtmlBlock video{max-width:100%}.s56VVa_editorHtmlBlock details{margin:4px 0;padding:4px 0}.s56VVa_editorHtmlBlock summary,.s56VVa_editorMd details>summary{cursor:pointer}.s56VVa_tocBar{z-index:7;pointer-events:none;justify-content:flex-end;height:0;display:flex;position:sticky;top:0}.s56VVa_tocButton{pointer-events:auto;border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);width:26px;height:26px;color:var(--dsw-alias-label-secondary);cursor:pointer;border-radius:6px;justify-content:center;align-items:center;margin:4px 2px 0 0;padding:0;display:inline-flex}.s56VVa_tocButton:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.s56VVa_tocPanel{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-2);width:min(300px,82%);max-height:60vh;box-shadow:var(--dsw-shadow-lv2);pointer-events:auto;border-radius:8px;flex-direction:column;padding:4px;display:flex;position:absolute;top:32px;right:2px;overflow-y:auto}.s56VVa_tocItem{min-width:0;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);text-align:left;cursor:pointer;background:0 0;border:none;border-radius:6px;align-items:baseline;gap:8px;padding:4px 8px;display:flex}.s56VVa_tocItem:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.s56VVa_tocItem[data-level=\"2\"]{padding-left:18px}.s56VVa_tocItem[data-level=\"3\"]{padding-left:28px}.s56VVa_tocItem[data-level=\"4\"]{padding-left:38px}.s56VVa_tocItem[data-level=\"5\"]{padding-left:48px}.s56VVa_tocItem[data-level=\"6\"]{padding-left:58px}.s56VVa_tocItemLevel{font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-label-tertiary);flex:none}.s56VVa_tocItemText{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;overflow:hidden}@keyframes s56VVa_dsh-toc-flash{0%,60%{background:var(--dsw-alias-interactive-bg-hover)}to{background:0 0}}.s56VVa_tocFlash{border-radius:4px;animation:1.2s ease-out s56VVa_dsh-toc-flash}.s56VVa_largeFile{flex-direction:column;flex:1;min-height:0;display:flex}.s56VVa_largeFileNotice{font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-state-warn-label);background:var(--dsw-alias-state-warn-tertiary);flex:none;align-items:baseline;gap:8px;padding:4px 8px;display:flex}.s56VVa_largeFileDownload{color:inherit;text-decoration:underline}.s56VVa_largeFileNoticeAction{font:inherit;color:inherit;cursor:pointer;background:0 0;border:1px solid;border-radius:4px;margin-left:auto;padding:0 6px}.s56VVa_largeFileNoticeAction:disabled{opacity:.5;cursor:default}.s56VVa_largeFileBody{flex:1;min-height:0;overflow:auto}.s56VVa_largeFileRecords{padding:4px 0}.s56VVa_largeFileList{margin:0;padding:0;list-style:none}.s56VVa_largeFileRecord{gap:8px;padding:2px 8px;display:flex}.s56VVa_largeFileRecordExpanded{background:var(--dsw-alias-bg-layer-1)}.s56VVa_largeFileRecordInvalid{color:var(--dsw-alias-state-error-primary)}.s56VVa_largeFileRecordNo{text-align:right;min-width:4ch;font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-label-tertiary);user-select:none;flex:none}.s56VVa_largeFileRecordBody{flex:1;min-width:0}.s56VVa_largeFileRecordSummary{text-align:left;width:100%;font:var(--ds-font-family-code);color:var(--dsw-alias-label-primary);white-space:pre;text-overflow:ellipsis;cursor:pointer;background:0 0;border:0;padding:0;font-size:12px;display:block;overflow:hidden}.s56VVa_largeFileRecordSummary:disabled{cursor:default}.s56VVa_largeFileRecordRaw{font:var(--ds-font-family-code);white-space:pre-wrap;word-break:break-all;overflow-wrap:anywhere;margin:2px 0 0;font-size:12px}.s56VVa_largeFileRecordTree{font:var(--ds-font-family-code);margin-top:2px;font-size:12px}.s56VVa_largeFileLines{font:var(--ds-font-family-code);white-space:pre;padding:4px 0;font-size:12px}.s56VVa_largeFileLine{gap:8px;padding:0 8px;display:flex}.s56VVa_largeFileLineNo{text-align:right;min-width:5ch;color:var(--dsw-alias-label-tertiary);user-select:none;flex:none}.s56VVa_largeFileLineText{color:var(--dsw-alias-label-primary);flex:none}.s56VVa_largeFilePager{border-top:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-2);flex:none;align-items:center;gap:4px;padding:2px 8px;display:flex}.s56VVa_largeFilePageLabel{text-align:center;min-width:0;font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-label-secondary);white-space:nowrap;text-overflow:ellipsis;flex:1;overflow:hidden}.s56VVa_explorerMuted{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);cursor:default}[data-sidebar-right-guide]{grid-template-columns:repeat(auto-fill,minmax(96px,120px))!important;place-content:center!important;place-items:stretch stretch!important;gap:12px!important;padding:16px!important;display:grid!important;overflow:auto!important}[data-sidebar-right-guide]>div{aspect-ratio:1!important;flex:none!important;width:100%!important;min-width:0!important;max-width:none!important;min-height:0!important;display:flex!important}[data-sidebar-right-guide]>div [data-sidebar-right-guide-entry]{box-sizing:border-box!important;text-align:center!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:8px!important;width:100%!important;height:100%!important;padding:12px!important}[data-sidebar-right-guide] kbd,[data-sidebar-right-guide] span:has(>kbd){display:none!important}[data-sidebar-right-guide]>div [data-sidebar-right-guide-entry]>span:last-child{flex:0 auto!important;align-items:center!important;width:100%!important;height:auto!important;min-height:0!important}[data-sidebar-right-guide] [data-sidebar-right-guide-entry=terminal]{position:relative!important}[data-sidebar-right-guide] [data-sidebar-right-guide-entry=terminal] [class*=titleRow]{flex-flow:row!important;justify-content:center!important;align-items:center!important;gap:2px!important;height:20px!important;min-height:0!important;display:flex!important;position:static!important}[data-sidebar-right-guide] [data-sidebar-right-guide-entry=terminal] [class*=menu],[data-sidebar-right-guide] [data-sidebar-right-guide-entry=terminal] [class*=trigger],[data-sidebar-right-guide] [data-sidebar-right-guide-entry=terminal] button:not([class*=main]){z-index:1!important;flex:0 0 20px!important;width:20px!important;height:20px!important;min-height:0!important;padding:0!important;position:static!important;top:auto!important;bottom:auto!important;right:auto!important;transform:none!important}[data-sidebar-right-guide] [data-sidebar-right-guide-entry=terminal] [class*=title]{white-space:nowrap!important;text-overflow:ellipsis!important;overflow:hidden!important}[data-sidebar-right-guide]>div [data-sidebar-right-guide-entry] span{white-space:normal!important;text-overflow:clip!important;min-width:0!important;max-width:100%!important;overflow:visible!important}[data-sidebar-right-guide]>span:first-child{grid-column:1/-1;justify-self:center;margin:4px 0 8px}@media (width<=640px){[data-sidebar-right-guide]{grid-template-columns:repeat(auto-fill,minmax(88px,108px))!important;padding:12px!important}}[data-sidebar-right-guide-entry=terminal]{box-sizing:border-box!important;flex-direction:row!important;justify-content:center!important;align-self:stretch!important;align-items:center!important;gap:6px!important;width:100%!important;height:100%!important;min-height:0!important;padding:8px!important;display:flex!important;overflow:hidden!important}[data-sidebar-right-guide-entry=terminal]>span{flex:0 auto!important}[data-sidebar-right-guide-entry=terminal] [class*=text]{flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:1px!important;min-width:0!important;display:flex!important}[data-sidebar-right-guide-entry=terminal] [class*=titleRow]{box-sizing:border-box!important;flex-flow:row!important;justify-content:center!important;align-items:center!important;gap:0!important;width:100%!important;height:18px!important;min-height:0!important;max-height:18px!important;padding:0 20px!important;display:flex!important;position:relative!important}[data-sidebar-right-guide-entry=terminal] [class*=title]{text-overflow:clip!important;white-space:nowrap!important;flex:none!important;max-width:none!important;font-size:12px!important;line-height:1.2!important;overflow:visible!important}[data-sidebar-right-guide-entry=terminal] [class*=trigger]{z-index:1!important;flex:0 0 16px!important;width:16px!important;min-width:16px!important;height:16px!important;min-height:16px!important;padding:0!important;position:absolute!important;top:50%!important;right:0!important;transform:translateY(-50%)!important}[data-sidebar-right-guide-entry=terminal] [class*=trigger] svg{width:12px!important;height:12px!important}[data-sidebar-right-guide-entry=terminal] [class*=description]{text-overflow:ellipsis!important;white-space:nowrap!important;max-width:100%!important;overflow:hidden!important}[data-sidebar-right-guide-entry]:not([data-sidebar-right-guide-entry=terminal]){justify-content:center!important;align-items:center!important}[data-sidebar-right-guide-entry]:not([data-sidebar-right-guide-entry=terminal])>span:last-child{flex-direction:column!important;justify-content:center!important;align-self:center!important;align-items:center!important;display:flex!important}[data-sidebar-right-guide-entry]:not([data-sidebar-right-guide-entry=terminal]){box-sizing:border-box!important;flex-direction:column!important;justify-content:center!important;align-self:stretch!important;align-items:center!important;width:100%!important;height:100%!important;display:flex!important}.s56VVa_nativeTabMenuItem{color:var(--dsw-alias-label-primary);font-size:var(--dsh-content-font-size-secondary,13px);text-align:left;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:5px 8px}.s56VVa_nativeTabMenuItem:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover)}.s56VVa_nativeTabMenuItem:disabled{opacity:.4;cursor:not-allowed}.s56VVa_nativeTabMenuSeparator{border-top:.5px solid var(--dsw-alias-border-l2);height:0;margin:3px 2px}";
|
|
6840
|
+
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/node_modules/dsh-better-sidebar/src/client/sidebar.module.css.mjs
|
|
6841
|
+
const css$15 = "[data-dsh-panel-host]{z-index:25;pointer-events:none;height:100vh;position:fixed;inset:0;overflow:clip}html[data-platform] body>[data-dsh-better-sidebar],[data-dsh-panel-host]{-webkit-app-region:initial!important}[data-dsh-panel-host]>*{-webkit-app-region:no-drag}[data-dsh-panel-host][data-dsh-panel-host-degraded]{position:absolute;top:0;left:0}.B77fza_dockFallback{z-index:40;align-items:center;gap:2px;display:inline-flex;position:fixed}.B77fza_toggleButton{width:28px;height:28px;color:var(--dsw-alias-label-secondary);cursor:pointer;transition:background var(--ds-transition-duration-slow) var(--ds-ease-in-out), color var(--ds-transition-duration-slow) var(--ds-ease-in-out);background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;display:flex}.B77fza_toggleButton:hover:not(:disabled):not([aria-disabled=true]){background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.B77fza_toggleButton:disabled,.B77fza_toggleButton[aria-disabled=true]{opacity:.4;cursor:default}.B77fza_panelBody{flex:1;min-width:0;min-height:0;display:flex}.B77fza_bottomPanel{z-index:40;background:var(--dsw-alias-bg-layer-1);border-top:1px solid var(--dsw-alias-border-l2);pointer-events:auto;padding-bottom:env(safe-area-inset-bottom);transition:transform var(--ds-transition-duration-slow) var(--ds-ease-in-out), height var(--ds-transition-duration-slow) var(--ds-ease-in-out);flex-direction:column;display:flex;position:absolute;bottom:0}.B77fza_bottomPanelHidden{pointer-events:none;visibility:hidden;transition:transform var(--ds-transition-duration-slow) var(--ds-ease-in-out), height var(--ds-transition-duration-slow) var(--ds-ease-in-out), visibility 0s linear var(--ds-transition-duration-slow);transform:translateY(102%)}.B77fza_bottomPanel[data-dragging]{transition:none}.B77fza_bottomPanel{contain:layout style}body[data-dsh-sidebar-dragging] .B77fza_panel,body[data-dsh-sidebar-dragging] .B77fza_bottomPanel{will-change:transform}.B77fza_bottomResize{cursor:row-resize;z-index:2;touch-action:none;height:8px;position:absolute;top:-4px;left:0;right:0}.B77fza_bottomResizeActive{background:var(--dsw-alias-interactive-bg-hover-accent)}.B77fza_bottomClose{z-index:4;width:28px;height:28px;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:none;border-radius:50%;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex;position:absolute;top:3px;right:6px}.B77fza_bottomClose:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.B77fza_bottomPanel .B77fza_tabBar{padding-right:40px}.B77fza_toggleButton,.B77fza_tabBar{-webkit-app-region:no-drag}.B77fza_iconButton{width:28px;height:28px;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:none;border-radius:50%;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.B77fza_iconButton:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.B77fza_iconButton:disabled{opacity:.4;cursor:default}.B77fza_workbench,.B77fza_split{flex:1;min-width:0;min-height:0;display:flex}.B77fza_splitRow{flex-direction:row}.B77fza_splitCol{flex-direction:column}.B77fza_splitChild{display:flex;position:relative;overflow:hidden}.B77fza_divider{z-index:3;touch-action:none;flex:none;position:relative}.B77fza_dividerRow:after,.B77fza_dividerCol:after{content:\"\";background:var(--dsw-alias-border-l2);transition:background var(--ds-transition-duration-slow) var(--ds-ease-in-out);position:absolute}.B77fza_dividerRow{cursor:col-resize;width:7px;margin:0 -2px}.B77fza_dividerRow:after{width:1px;top:0;bottom:0;left:50%;transform:translate(-50%)}.B77fza_dividerCol{cursor:row-resize;height:7px;margin:-2px 0}.B77fza_dividerCol:after{height:1px;top:50%;left:0;right:0;transform:translateY(-50%)}.B77fza_divider:hover:after,.B77fza_dividerActive:after{background:var(--dsw-alias-interactive-bg-hover-accent)}.B77fza_pane{background:var(--dsw-alias-bg-base);flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;position:relative}.B77fza_paneDrop{outline:1px solid var(--dsw-alias-interactive-bg-hover-accent);outline-offset:-1px}.B77fza_dropOverlay{z-index:6;pointer-events:none;background:var(--dsw-alias-interactive-bg-hover-accent);opacity:.5;position:absolute}.B77fza_dropLeft{width:25%;top:0;bottom:0;left:0}.B77fza_dropRight{width:25%;top:0;bottom:0;right:0}.B77fza_dropUp{height:25%;top:0;left:0;right:0}.B77fza_dropDown{height:25%;bottom:0;left:0;right:0}.B77fza_dropCenter{outline:2px dashed var(--dsw-alias-interactive-bg-hover-accent);outline-offset:-2px;background:0 0;inset:25%}.B77fza_paneContent{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.B77fza_chipIcon{flex:none;align-items:center;margin-right:6px;display:inline-flex}.B77fza_chipUnread{background:var(--dsw-alias-danger);vertical-align:middle;border-radius:50%;width:6px;height:6px;margin-left:6px;display:inline-block}.B77fza_tabUnreadDot{background:var(--dsw-alias-danger);border-radius:50%;flex:none;width:7px;height:7px}.B77fza_paneTab{flex-direction:column;flex:1;min-height:0;display:flex}.B77fza_paneTabHidden{display:none}.B77fza_paneEmptyCards{flex:1;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));align-content:start;gap:12px;min-height:0;padding:12px;display:grid;overflow:hidden}.B77fza_paneCard{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l4);background:var(--dsw-alias-bg-layer-1);min-width:0;min-height:56px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-s-strong-14);cursor:pointer;text-align:left;border-radius:24px;flex-direction:row;justify-content:flex-start;align-items:center;gap:14px;padding:14px 20px;display:flex}.B77fza_paneCard>svg{color:var(--dsw-alias-label-secondary);flex:none}.B77fza_paneCard:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);border-color:var(--dsw-alias-border-l4)}.B77fza_paneCard:disabled{opacity:.45;cursor:default}.B77fza_tabBar{border-bottom:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);flex:none;align-items:stretch;height:34px;display:flex}.B77fza_tabBarDrop{outline:1px dashed var(--dsw-alias-interactive-bg-hover-accent);outline-offset:-1px}.B77fza_tabList{scrollbar-width:none;flex:1;min-width:0;display:flex;overflow-x:auto}.B77fza_tabList::-webkit-scrollbar{display:none}.B77fza_tab{min-width:64px;max-width:160px;font:var(--dsw-font-xxs-12);color:var(--dsw-alias-label-secondary);border-right:1px solid var(--dsw-alias-border-l1);cursor:pointer;user-select:none;background:0 0;flex:none;align-items:center;gap:4px;padding:0 4px 0 10px;display:flex}.B77fza_tab:hover{background:var(--dsw-alias-interactive-bg-hover)}.B77fza_tabActive{color:var(--dsw-alias-label-primary);background:var(--dsw-alias-interactive-bg-active)}.B77fza_tabTitle{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.B77fza_tabBadge{min-width:16px;height:15px;font:var(--dsw-font-xxxs-strong-11);background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-brand-primary);border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0 4px;display:inline-flex}.B77fza_tabClose{width:18px;height:18px;color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:none;border-radius:4px;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.B77fza_tabClose:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.B77fza_tabBarPlus{background:var(--dsw-alias-bg-layer-1);width:22px;height:22px;color:var(--dsw-alias-label-tertiary);cursor:pointer;border:none;border-radius:5px;flex:none;justify-content:center;align-self:center;align-items:center;margin:0 6px;padding:0;display:inline-flex;position:sticky;right:0}.B77fza_tabBarPlus:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.B77fza_tabBarRightActions{flex:0 auto;justify-content:flex-end;align-items:center;gap:2px;min-width:0;padding-right:4px;display:flex;overflow:hidden}.B77fza_explorer{flex-direction:column;flex:1;min-height:0;display:flex}.B77fza_explorerHeader{flex:none;justify-content:space-between;align-items:center;gap:8px;height:36px;padding:0 8px 0 12px;display:flex}.B77fza_explorerRoot{font:var(--dsw-font-s-14);color:var(--dsw-alias-label-secondary);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.B77fza_explorerBody{flex:1;min-height:0;padding:4px 8px 8px;overflow:hidden auto}.B77fza_explorerRow{box-sizing:border-box;width:100%;max-width:100%;height:28px;font:var(--dsw-font-xxs-12);color:var(--dsw-alias-label-primary);text-align:left;cursor:pointer;white-space:nowrap;animation:B77fza_dsh-row-in .15s var(--ds-ease-in-out);background:0 0;border:none;border-radius:4px;align-items:center;gap:6px;padding:0 8px;display:flex;position:relative}.B77fza_explorerRow:hover{background:var(--dsw-alias-interactive-bg-hover)}.B77fza_explorerRowSelected{background:var(--dsw-alias-interactive-bg-active)}.B77fza_explorerRowSelected:before{content:\"\";background:var(--dsw-alias-state-business-primary);border-radius:1px;width:2px;position:absolute;top:4px;bottom:4px;left:0}.B77fza_explorerGitName[data-git-tone=modified]{color:var(--dsw-alias-state-warn-primary)}.B77fza_explorerGitName[data-git-tone=added],.B77fza_explorerGitName[data-git-tone=untracked]{color:var(--dsw-alias-state-success-primary)}.B77fza_explorerGitName[data-git-tone=deleted]{color:var(--dsw-alias-state-error-primary)}.B77fza_explorerGitName[data-git-tone=renamed]{color:var(--dsw-alias-state-business-primary)}.B77fza_explorerGitName[data-git-tone=copied]{color:var(--dsw-alias-state-success-primary)}.B77fza_explorerGitName[data-git-tone=conflict]{color:var(--dsw-alias-state-error-primary)}.B77fza_explorerDirChanged{color:var(--dsw-alias-state-business-primary)}.B77fza_explorerRowRevealed{background:var(--dsw-alias-state-business-tertiary)}.B77fza_explorerRowRevealed+.B77fza_explorerRowRevealed{border-top-left-radius:0;border-top-right-radius:0}.B77fza_explorerRowRevealed:has(+.B77fza_explorerRowRevealed){border-bottom-right-radius:0;border-bottom-left-radius:0}.B77fza_explorerDir{font:var(--dsw-font-xxs-strong-12)}.B77fza_explorerHidden{opacity:.45}.B77fza_explorerSymlink{color:var(--dsw-alias-label-tertiary);flex:none}.B77fza_explorerBroken .B77fza_explorerName{color:var(--dsw-alias-state-error-primary)}.B77fza_explorerName{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.B77fza_explorerRenaming{cursor:text}.B77fza_explorerRenameInput{box-sizing:border-box;border:1px solid var(--dsw-alias-state-business-primary);background:var(--dsw-alias-bg-layer-1);min-width:0;height:22px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);border-radius:3px;flex:auto;padding:0 6px}.B77fza_explorerRenameInput:focus{border-color:var(--dsw-alias-state-business-primary);outline:none}.B77fza_explorerActionError{box-sizing:border-box;border:1px solid var(--dsw-alias-state-error-primary);background:var(--dsw-alias-bg-layer-1);border-radius:8px;align-items:flex-start;gap:6px;width:100%;margin-bottom:4px;padding:6px 8px;display:flex}.B77fza_explorerActionErrorText{overflow-wrap:anywhere;min-width:0;font:var(--dsw-font-xxs-12);color:var(--dsw-alias-state-error-primary);flex:auto}.B77fza_explorerSelectionBar{z-index:1;box-sizing:border-box;background:var(--dsw-alias-bg-layer-2);border-radius:4px;align-items:center;gap:6px;width:100%;min-height:28px;margin-top:4px;padding:2px 8px;display:flex;position:sticky;bottom:0}.B77fza_explorerSelectionText{text-overflow:ellipsis;white-space:nowrap;min-width:0;font:var(--dsw-font-xxs-strong-12);color:var(--dsw-alias-label-secondary);flex:auto;overflow:hidden}.B77fza_explorerSelectionActions{flex-wrap:wrap;flex:none;justify-content:flex-end;gap:4px;max-width:72%;display:flex}.B77fza_explorerAppIcon{object-fit:contain;width:14px;height:14px;display:block}.B77fza_explorerHiddenPane{display:none}.B77fza_explorerRef,.B77fza_explorerCopied{margin-left:auto}.B77fza_explorerRef{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-2);height:20px;color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-strong-11);cursor:pointer;border-radius:999px;flex:none;align-items:center;padding:0 8px;display:none}.B77fza_explorerRef:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.B77fza_explorerRow:hover .B77fza_explorerRef,.B77fza_explorerRow:focus-within .B77fza_explorerRef{display:inline-flex}.B77fza_explorerCopied{font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-label-tertiary);flex:none}.B77fza_explorerError{font:var(--dsw-font-xxs-12);color:var(--dsw-alias-state-error-primary);cursor:default}@keyframes B77fza_dsh-row-in{0%{opacity:0}}.B77fza_explorerEmpty{font:var(--dsw-font-xxs-12);color:var(--dsw-alias-label-tertiary);text-align:center;padding:16px}.B77fza_explorerRowDropTarget{background:var(--dsw-alias-interactive-bg-hover-accent);outline:1px dashed var(--dsw-alias-state-business-primary);outline-offset:-1px}.B77fza_uploadDropMask{z-index:1001;pointer-events:none;background:color-mix(in srgb, var(--dsw-alias-bg-base) 62%, transparent);animation:B77fza_dsh-row-in .15s var(--ds-ease-in-out);position:fixed;inset:0}.B77fza_uploadDropZone{z-index:1002;pointer-events:none;border:2px dashed var(--dsw-alias-border-l2);background:color-mix(in srgb, var(--dsw-alias-state-business-primary) 4%, transparent);animation:B77fza_dsh-row-in .15s var(--ds-ease-in-out);border-radius:8px;justify-content:center;align-items:flex-start;padding:12px;display:flex;position:fixed}.B77fza_uploadDropHero{flex-direction:column;align-items:center;gap:8px;max-width:100%;padding-top:8px;display:flex}.B77fza_uploadDropArtPrimary{color:var(--dsw-alias-state-business-primary)}.B77fza_uploadDropArtAccent{color:var(--dsw-alias-state-business-tertiary)}.B77fza_uploadDropArtCut{color:var(--dsw-alias-bg-layer-1)}.B77fza_uploadDropZonePill{box-sizing:border-box;border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-1);max-width:100%;height:28px;box-shadow:var(--dsw-shadow-lv2);color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxxs-11);border-radius:999px;align-items:center;gap:6px;padding:0 12px;display:flex}.B77fza_uploadDropZoneText{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.B77fza_uploadDropChatHint{z-index:1003;pointer-events:none;animation:B77fza_dsh-row-in .15s var(--ds-ease-in-out);justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;top:0;bottom:0;left:0}.B77fza_uploadDropChatCard{text-align:center;max-width:100%;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-strong-12);flex-direction:column;align-items:center;gap:10px;display:flex}.B77fza_uploadOverlay{z-index:30;background:var(--dsw-alias-bg-mask-1);backdrop-filter:var(--dsw-mask-blur);animation:B77fza_dsh-row-in .15s var(--ds-ease-in-out);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.B77fza_uploadOverlayCard{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-2);min-width:240px;max-width:min(420px,100% - 48px);box-shadow:var(--dsw-shadow-lv3);border-radius:8px;flex-direction:column;gap:10px;padding:16px;display:flex}.B77fza_uploadOverlayTitle{font:var(--dsw-font-xxs-strong-12);color:var(--dsw-alias-label-primary);align-items:center;gap:6px;display:flex}.B77fza_uploadOverlayTitle>svg{flex:none}.B77fza_uploadOverlayTitle>span{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.B77fza_uploadOverlayProgress{background:var(--dsw-alias-border-l2);border-radius:3px;height:6px;overflow:hidden}.B77fza_uploadOverlayProgressFill{background:var(--dsw-alias-interactive-bg-hover-accent);height:100%;transition:width .15s var(--ds-ease-in-out);border-radius:3px}.B77fza_uploadOverlayStatus{min-height:1em;font:var(--dsw-font-xxxs-11);font-variant-numeric:tabular-nums;color:var(--dsw-alias-label-tertiary);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.B77fza_uploadOverlayCancel{border:1px solid var(--dsw-alias-border-l2);height:28px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-strong-12);cursor:pointer;background:0 0;border-radius:4px;align-self:flex-end;padding:0 12px}.B77fza_uploadOverlayCancel:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);border-color:var(--dsw-alias-border-l2)}.B77fza_uploadOverlayCancel:disabled{opacity:.4;cursor:default}.B77fza_editor{flex-direction:column;flex:1;min-height:0;display:flex}.B77fza_editorHeader{border-bottom:1px solid var(--dsw-alias-border-l1);flex:none;align-items:center;gap:6px;padding:6px 8px;display:flex}.B77fza_editorTitle{min-width:0;font:var(--dsw-font-xxs-strong-12);color:var(--dsw-alias-label-secondary);text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.B77fza_editorPathInput{box-sizing:border-box;border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);min-width:0;height:28px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);border-radius:6px;flex:1;padding:0 10px}.B77fza_editorPathInput:focus{border-color:var(--dsw-alias-border-l2);outline:none}.B77fza_editorTreeToggleActive{color:var(--dsw-alias-label-primary);background:var(--dsw-alias-interactive-bg-active)}.B77fza_editorBody{flex:1;min-height:0;display:flex}.B77fza_editorMain{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.B77fza_editorTreeDock{border-left:1px solid var(--dsw-alias-border-l1);flex:none;min-height:0;display:flex;position:relative}.B77fza_editorTreeResize{cursor:col-resize;touch-action:none;z-index:3;width:6px;position:absolute;top:0;bottom:0;left:0}.B77fza_editorTreeResize:hover{background:var(--dsw-alias-border-l2)}.B77fza_editorTreePanel{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;position:relative}.B77fza_editorTreePanelFull{flex:1}.B77fza_editorTreeSearch{border-bottom:1px solid var(--dsw-alias-border-l1);flex:none;align-items:center;gap:6px;padding:6px 8px;display:flex}.B77fza_editorSearchInput{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);min-width:0;height:26px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);border-radius:6px;flex:1;padding:0 10px}.B77fza_editorSearchInput:focus{border-color:var(--dsw-alias-border-l2);outline:none}.B77fza_editorSearchHint{font:var(--dsw-font-xxs-12);color:var(--dsw-alias-label-tertiary);padding:8px 12px}.B77fza_editorSearchResult{box-sizing:border-box;width:100%;height:28px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);text-align:left;cursor:pointer;background:0 0;border:none;border-radius:4px;align-items:center;gap:6px;padding:0 8px;line-height:28px;display:flex;overflow:hidden}.B77fza_editorSearchResultDir{color:var(--dsw-alias-label-secondary)}.B77fza_editorSearchResultLabel{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.B77fza_editorSearchResult:hover{background:var(--dsw-alias-interactive-bg-hover)}.B77fza_editorStatus{font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-label-tertiary)}.B77fza_editorStatusError{color:var(--dsw-alias-state-error-primary)}.B77fza_dirtyDot{background:var(--dsw-alias-state-warn-primary);border-radius:50%;flex:none;width:7px;height:7px}.B77fza_editorPlaceholder{font:var(--dsw-font-xxs-12);color:var(--dsw-alias-label-tertiary);text-align:center;flex:1;justify-content:center;align-items:center;padding:16px;display:flex}.B77fza_orphanedType{opacity:.7;overflow-wrap:anywhere;margin-top:8px;font-size:12px;display:block}.B77fza_editorBinary{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:12px;padding:24px 16px;display:flex}.B77fza_editorBinaryNotice{font:var(--dsw-font-xxs-12);color:var(--dsw-alias-label-tertiary)}.B77fza_editorDownloadLink{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-2);color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-strong-12);cursor:pointer;transition:background var(--ds-transition-duration-slow) var(--ds-ease-in-out), border-color var(--ds-transition-duration-slow) var(--ds-ease-in-out);border-radius:6px;align-items:center;gap:6px;padding:6px 14px;text-decoration:none;display:inline-flex}.B77fza_editorDownloadLink:hover{background:var(--dsw-alias-interactive-bg-hover);border-color:var(--dsw-alias-border-l2)}.B77fza_editorError{font:var(--dsw-font-xxs-12);color:var(--dsw-alias-state-error-primary);padding:12px 16px}.B77fza_editorBanner{font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-state-warn-label);background:var(--dsw-alias-state-warn-tertiary);flex:none;padding:4px 8px}.B77fza_editorBannerAction{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;margin-left:8px;padding:0;text-decoration:underline}.B77fza_editorGitAdd{color:var(--dsw-alias-state-success-primary)}.B77fza_editorGitMod{color:var(--dsw-alias-state-warn-primary)}.B77fza_editorGitDel{color:var(--dsw-alias-state-error-primary)}.B77fza_editorGitBarGutter{width:2px;min-width:2px}.B77fza_editorGitBar,.B77fza_editorGitBarSpacer{width:2px;height:100%}.B77fza_editorGitBarAdd{background:var(--dsw-alias-state-success-primary)}.B77fza_editorGitBarMod{background:var(--dsw-alias-state-warn-primary)}.B77fza_editorGitBarDel{background:var(--dsw-alias-state-error-primary)}.B77fza_editorBlame{max-width:420px;font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-label-primary);padding:4px 8px}.B77fza_editorBlameHead{color:var(--dsw-alias-label-secondary)}.B77fza_editorBlameSummary{color:var(--dsw-alias-label-primary);white-space:pre-wrap;overflow-wrap:anywhere;margin-top:2px}.B77fza_sandboxStatus{font:var(--dsw-font-xxxs-11);flex:none;align-items:center;gap:8px;padding:4px 10px;display:flex}.B77fza_sandboxStatusOn{color:var(--dsw-alias-label-secondary);background:var(--dsw-alias-bg-layer-1);border-bottom:1px solid var(--dsw-alias-border-l1)}.B77fza_sandboxStatusOff{color:var(--dsw-alias-state-error-primary);background:color-mix(in srgb, var(--dsw-alias-state-error-primary) 10%, transparent);border-bottom:1px solid color-mix(in srgb, var(--dsw-alias-state-error-primary) 45%, transparent)}.B77fza_sandboxDot{background:var(--dsw-alias-state-success-primary);border-radius:50%;flex:none;width:6px;height:6px}.B77fza_sandboxStatusOff .B77fza_sandboxDot{background:var(--dsw-alias-state-error-primary)}.B77fza_sandboxStatusText{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.B77fza_sandboxAction{border:1px solid var(--dsw-alias-border-l2);font:inherit;color:inherit;cursor:pointer;background:0 0;border-radius:6px;flex:none;padding:2px 8px}.B77fza_sandboxAction:hover{background:var(--dsw-alias-interactive-bg-hover)}.B77fza_editorHtml{background:var(--dsw-alias-bg-base);border:none;flex:1;width:100%;min-height:0}.B77fza_browser{flex-direction:column;flex:1;min-height:0;display:flex}.B77fza_browserBar{border-bottom:1px solid var(--dsw-alias-border-l1);flex:none;align-items:center;gap:4px;padding:6px 8px;display:flex}.B77fza_browserInput{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);min-width:0;height:28px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);border-radius:6px;flex:1;padding:0 10px}.B77fza_browserInput:focus{border-color:var(--dsw-alias-border-l2);outline:none}.B77fza_browserMessage{font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-state-warn-label);background:var(--dsw-alias-state-warn-tertiary);flex:none;padding:4px 12px}.B77fza_browserFrame{background:var(--dsw-alias-bg-base);border:none;flex:1;width:100%;min-height:0}.B77fza_browserStart{text-align:center;min-height:0;font:var(--dsw-font-xs-13);color:var(--dsw-alias-label-tertiary);flex:1;justify-content:center;align-items:center;padding:20px;display:flex}.B77fza_browserBlocked{text-align:center;min-height:0;color:var(--dsw-alias-state-warn-primary);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:6px;padding:24px;display:flex}.B77fza_browserBlockedTitle{font:var(--dsw-font-xxs-strong-12);color:var(--dsw-alias-label-primary)}.B77fza_browserBlockedDesc{max-width:280px;font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-label-secondary)}.B77fza_browserBlockedActions{gap:8px;margin-top:6px;display:flex}.B77fza_browserBlockedButton{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-1);color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxxs-11);cursor:pointer;border-radius:6px;padding:4px 12px}.B77fza_browserBlockedButton:hover{background:var(--dsw-alias-interactive-bg-hover)}.B77fza_editorCm{background:0 0;flex:1;min-height:0;overflow:hidden}.B77fza_editorCmHidden{display:none}.B77fza_editorCm .cm-editor{height:100%}.B77fza_editorCm .cm-scroller{padding:12px 16px}.B77fza_editorCm .cm-editor.cm-focused{outline:none}.B77fza_editorModeToggle{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);border-radius:6px;flex:none;align-items:center;gap:2px;padding:2px;display:inline-flex}.B77fza_editorModeButton{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);cursor:pointer;background:0 0;border:none;border-radius:4px;padding:2px 8px}.B77fza_editorModeButton:hover{color:var(--dsw-alias-label-primary)}.B77fza_editorModeActive{background:var(--dsw-alias-bg-base);color:var(--dsw-alias-label-primary)}.B77fza_editorMd{min-height:0;font:var(--dsw-font-xs-13);flex:1;padding:12px 16px;overflow-y:auto}.B77fza_editorMd .md-code-block:not([data-mermaid-processed])>div:first-child{z-index:auto;position:static}.B77fza_mermaidWrap{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);border-radius:6px;margin:6px 0;overflow:hidden}.B77fza_mermaidHeader{border-bottom:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-2);justify-content:space-between;align-items:center;gap:6px;padding:4px 8px;display:flex}.B77fza_mermaidInfo{font:var(--dsw-font-xxxs-strong-11);color:var(--dsw-alias-label-tertiary)}.B77fza_mermaidCopy{height:20px;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxxs-11);cursor:pointer;background:0 0;border:none;border-radius:4px;align-items:center;gap:4px;padding:0 6px;display:inline-flex}.B77fza_mermaidCopy:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.B77fza_mermaidBody{cursor:zoom-in;justify-content:center;padding:10px;display:flex;overflow:auto}.B77fza_mermaidBody svg{max-width:100%;height:auto}.B77fza_mermaidError{border-bottom:1px solid var(--dsw-alias-border-l1);color:var(--dsw-alias-state-error-primary);font:var(--dsw-font-xxxs-11);padding:6px 10px}.B77fza_mermaidCode{font:var(--dsw-font-xxxs-11);margin:0;padding:8px 10px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;overflow:auto}.B77fza_mermaidMarkdown .md-code-block[data-mermaid-processed]{display:contents}.B77fza_mermaidModal{z-index:1000;background:var(--dsw-alias-bg-mask-1);backdrop-filter:blur(2px);flex-direction:column;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;-webkit-app-region:initial!important}.B77fza_mermaidModalToolbar{z-index:10;gap:8px;display:flex;position:absolute;top:16px;right:16px}.B77fza_mermaidModalButton{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-2);width:36px;height:36px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xs-strong-13);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.B77fza_mermaidModalButton:hover{background:var(--dsw-alias-interactive-bg-hover)}.B77fza_mermaidModalStage{justify-content:center;align-items:center;width:90vw;height:80vh;display:flex;position:relative;overflow:hidden}.B77fza_mermaidModalStage svg{cursor:grab;transform-origin:50%;user-select:none;-webkit-user-drag:none;background:var(--dsw-alias-bg-layer-1);border-radius:12px;max-width:none;max-height:none;padding:16px}.B77fza_mermaidModalStage svg:active{cursor:grabbing}.B77fza_mermaidModalHint{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);pointer-events:none;position:absolute;bottom:16px;left:50%;transform:translate(-50%)}.B77fza_selectionPopup{z-index:60;border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-specific-menu);height:28px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxxs-strong-11);white-space:nowrap;cursor:pointer;border-radius:6px;align-items:center;padding:0 10px;display:inline-flex;position:fixed;transform:translate(-50%,calc(-100% - 8px))}.B77fza_selectionPopup:hover{background:var(--dsw-alias-interactive-bg-hover-solid)}.B77fza_editorPdf{background:var(--dsw-alias-bg-base);flex-direction:column;flex:1;min-height:0;display:flex}.B77fza_editorPdfToolbar{border-bottom:1px solid var(--dsw-alias-border-l1);flex:none;justify-content:flex-end;padding:6px 8px;display:flex}.B77fza_editorPdfStage{flex:1;min-height:0;display:flex;position:relative}.B77fza_editorPdfFrame{background:var(--dsw-alias-bg-base);border:none;flex:1;width:100%;min-height:0}.B77fza_editorPdfFrameBlocked{pointer-events:none}.B77fza_editorPdfDragShield{z-index:4;pointer-events:none;background:0 0;position:absolute;inset:0}.B77fza_editorPdfDragShieldActive{pointer-events:auto}body[data-dsh-tab-dragging] .B77fza_editorPdfFrame{pointer-events:none!important}body[data-dsh-tab-dragging] .B77fza_editorPdfDragShield{pointer-events:auto!important}.B77fza_boundaryError{z-index:50;background:var(--dsw-alias-bg-layer-1);border-left:1px solid var(--dsw-alias-border-l2);font:var(--dsw-font-xxs-12);color:var(--dsw-alias-state-error-primary);flex-direction:column;align-items:flex-start;gap:8px;padding:16px;display:flex;position:fixed;top:0;bottom:0;right:0;overflow:auto}.B77fza_terminalRetry{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-2);color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxxs-strong-11);cursor:pointer;border-radius:999px;flex:none;padding:1px 8px}.B77fza_terminalRetry:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.B77fza_tabBoundaryError{min-height:0;font:var(--dsw-font-xxs-12);color:var(--dsw-alias-state-error-primary);flex-direction:column;flex:1;align-items:flex-start;gap:8px;padding:12px 16px;display:flex;overflow:auto}.B77fza_nativeTabHost{flex-direction:column;height:100%;min-height:0;display:flex}.B77fza_gitEmpty{font:var(--dsw-font-xxs-12);color:var(--dsw-alias-label-tertiary);padding:4px 12px 8px}.B77fza_gitPlaceholder{font:var(--dsw-font-xxs-12);color:var(--dsw-alias-label-tertiary);text-align:center;padding:16px}.B77fza_gitError{font:var(--dsw-font-xxs-12);color:var(--dsw-alias-state-error-primary);white-space:pre-wrap;padding:8px 12px}.B77fza_gitDiffTab{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;overflow:hidden auto}.B77fza_gitDiffTabHeader{border-bottom:1px solid var(--dsw-alias-border-l1);flex:none;align-items:center;gap:8px;height:36px;padding:0 8px 0 12px;display:flex}.B77fza_gitDiffTabTitle{text-overflow:ellipsis;white-space:nowrap;min-width:0;font:var(--dsw-font-xxs-strong-12);color:var(--dsw-alias-label-primary);flex:1;overflow:hidden}.B77fza_toggleButton:focus-visible,.B77fza_bottomClose:focus-visible,.B77fza_iconButton:focus-visible,.B77fza_tab:focus-visible,.B77fza_tabClose:focus-visible,.B77fza_tabBarPlus:focus-visible,.B77fza_paneCard:focus-visible,.B77fza_explorerRow:focus-visible,.B77fza_explorerRef:focus-visible,.B77fza_terminalRetry:focus-visible,.B77fza_editorModeButton:focus-visible,.B77fza_editorDownloadLink:focus-visible,.B77fza_editorPptxButton:focus-visible,.B77fza_editorDocxZoomRange:focus-visible{outline:2px solid var(--dsw-alias-interactive-bg-hover-accent);outline-offset:-1px}@media (prefers-reduced-motion:reduce){.B77fza_bottomPanel,.B77fza_bottomPanelHidden,.B77fza_toggleButton,.B77fza_tab,.B77fza_tabBarPlus,.B77fza_paneCard,.B77fza_explorerRow,.B77fza_divider,.B77fza_dividerRow:after,.B77fza_dividerCol:after{transition:none;animation:none}}@media (width<=767px){.B77fza_tab{min-width:48px;max-width:128px}}.B77fza_openWithLabel{align-items:center;gap:8px;width:100%;min-width:0;display:flex}.B77fza_openWithName{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;overflow:hidden}.B77fza_openWithChevron{color:var(--dsw-alias-label-tertiary);flex:none}.B77fza_openWithPin{width:16px;height:16px;color:var(--dsw-alias-label-tertiary);cursor:pointer;border-radius:5px;flex:none;justify-content:center;align-items:center;display:inline-flex}.B77fza_openWithPin:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.B77fza_openWithPinActive{color:var(--dsw-alias-state-business-primary)}.B77fza_editorHtmlBlock{margin:8px 0}.B77fza_editorHtmlBlock img,.B77fza_editorHtmlBlock video{max-width:100%}.B77fza_editorHtmlBlock details{margin:4px 0;padding:4px 0}.B77fza_editorHtmlBlock summary,.B77fza_editorMd details>summary{cursor:pointer}.B77fza_tocBar{z-index:7;pointer-events:none;justify-content:flex-end;height:0;display:flex;position:sticky;top:0}.B77fza_tocButton{pointer-events:auto;border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);width:26px;height:26px;color:var(--dsw-alias-label-secondary);cursor:pointer;border-radius:6px;justify-content:center;align-items:center;margin:4px 2px 0 0;padding:0;display:inline-flex}.B77fza_tocButton:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.B77fza_tocPanel{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-2);width:min(300px,82%);max-height:60vh;box-shadow:var(--dsw-shadow-lv2);pointer-events:auto;border-radius:8px;flex-direction:column;padding:4px;display:flex;position:absolute;top:32px;right:2px;overflow-y:auto}.B77fza_tocItem{min-width:0;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);text-align:left;cursor:pointer;background:0 0;border:none;border-radius:6px;align-items:baseline;gap:8px;padding:4px 8px;display:flex}.B77fza_tocItem:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.B77fza_tocItem[data-level=\"2\"]{padding-left:18px}.B77fza_tocItem[data-level=\"3\"]{padding-left:28px}.B77fza_tocItem[data-level=\"4\"]{padding-left:38px}.B77fza_tocItem[data-level=\"5\"]{padding-left:48px}.B77fza_tocItem[data-level=\"6\"]{padding-left:58px}.B77fza_tocItemLevel{font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-label-tertiary);flex:none}.B77fza_tocItemText{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;overflow:hidden}@keyframes B77fza_dsh-toc-flash{0%,60%{background:var(--dsw-alias-interactive-bg-hover)}to{background:0 0}}.B77fza_tocFlash{border-radius:4px;animation:1.2s ease-out B77fza_dsh-toc-flash}.B77fza_largeFile{flex-direction:column;flex:1;min-height:0;display:flex}.B77fza_largeFileNotice{font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-state-warn-label);background:var(--dsw-alias-state-warn-tertiary);flex:none;align-items:baseline;gap:8px;padding:4px 8px;display:flex}.B77fza_largeFileDownload{color:inherit;text-decoration:underline}.B77fza_largeFileNoticeAction{font:inherit;color:inherit;cursor:pointer;background:0 0;border:1px solid;border-radius:4px;margin-left:auto;padding:0 6px}.B77fza_largeFileNoticeAction:disabled{opacity:.5;cursor:default}.B77fza_largeFileBody{flex:1;min-height:0;overflow:auto}.B77fza_largeFileRecords{padding:4px 0}.B77fza_largeFileList{margin:0;padding:0;list-style:none}.B77fza_largeFileRecord{gap:8px;padding:2px 8px;display:flex}.B77fza_largeFileRecordExpanded{background:var(--dsw-alias-bg-layer-1)}.B77fza_largeFileRecordInvalid{color:var(--dsw-alias-state-error-primary)}.B77fza_largeFileRecordNo{text-align:right;min-width:4ch;font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-label-tertiary);user-select:none;flex:none}.B77fza_largeFileRecordBody{flex:1;min-width:0}.B77fza_largeFileRecordSummary{text-align:left;width:100%;font:var(--ds-font-family-code);color:var(--dsw-alias-label-primary);white-space:pre;text-overflow:ellipsis;cursor:pointer;background:0 0;border:0;padding:0;font-size:12px;display:block;overflow:hidden}.B77fza_largeFileRecordSummary:disabled{cursor:default}.B77fza_largeFileRecordRaw{font:var(--ds-font-family-code);white-space:pre-wrap;word-break:break-all;overflow-wrap:anywhere;margin:2px 0 0;font-size:12px}.B77fza_largeFileRecordTree{font:var(--ds-font-family-code);margin-top:2px;font-size:12px}.B77fza_largeFileLines{font:var(--ds-font-family-code);white-space:pre;padding:4px 0;font-size:12px}.B77fza_largeFileLine{gap:8px;padding:0 8px;display:flex}.B77fza_largeFileLineNo{text-align:right;min-width:5ch;color:var(--dsw-alias-label-tertiary);user-select:none;flex:none}.B77fza_largeFileLineText{color:var(--dsw-alias-label-primary);flex:none}.B77fza_largeFilePager{border-top:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-2);flex:none;align-items:center;gap:4px;padding:2px 8px;display:flex}.B77fza_largeFilePageLabel{text-align:center;min-width:0;font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-label-secondary);white-space:nowrap;text-overflow:ellipsis;flex:1;overflow:hidden}.B77fza_nativeTabMenuItem{color:var(--dsw-alias-label-primary);font-size:calc(var(--dsh-content-font-size-secondary,13px) - 1px);text-align:left;border-radius:var(--dsw-radius-md);cursor:pointer;background:0 0;border:none;padding:4px 7px}.B77fza_nativeTabMenuItem:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover)}.B77fza_nativeTabMenuItem:disabled{opacity:.4;cursor:not-allowed}.B77fza_nativeTabMenuSeparator{border-top:.5px solid var(--dsw-alias-border-l2);height:0;margin:3px 2px}.B77fza_csvViewer{background:var(--dsw-alias-bg-primary);height:100%;min-height:0;color:var(--dsw-alias-label-primary);flex-direction:column;display:flex}.B77fza_csvToolbar{border-bottom:.5px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-secondary);flex-wrap:wrap;flex:none;align-items:center;gap:8px 12px;padding:6px 10px;display:flex}.B77fza_csvSegmented{border:.5px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-md);padding:2px;display:inline-flex}.B77fza_csvSegment{border-radius:calc(var(--dsw-radius-md) - 2px);color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxxs-11);cursor:pointer;background:0 0;border:none;padding:3px 10px}.B77fza_csvSegment[aria-pressed=true]{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.B77fza_csvField{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxxs-11);align-items:center;gap:4px;display:inline-flex}.B77fza_csvSelect{border:.5px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-primary);color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxxs-11);padding:2px 4px}.B77fza_csvMeta{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxxs-11);white-space:nowrap}.B77fza_csvReload,.B77fza_csvShowMore{border:.5px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-md);color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxxs-11);cursor:pointer;background:0 0;padding:3px 8px}.B77fza_csvReload:hover,.B77fza_csvShowMore:hover{background:var(--dsw-alias-interactive-bg-hover)}.B77fza_csvNotice,.B77fza_csvEmpty,.B77fza_csvError{border:.5px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-md);color:var(--dsw-alias-label-secondary);font-size:calc(var(--dsh-content-font-size-secondary,13px) - 1px);background:var(--dsw-alias-bg-secondary);margin:10px;padding:10px 12px}.B77fza_csvError{color:var(--dsw-alias-label-error)}.B77fza_csvScroll{flex:1;min-height:0;overflow:auto}.B77fza_csvTable{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;font-size:calc(var(--dsh-content-font-size-secondary,13px) - 1px)}.B77fza_csvTable th,.B77fza_csvTable td{border-right:.5px solid var(--dsw-alias-border-l2);border-bottom:.5px solid var(--dsw-alias-border-l2);text-align:left;vertical-align:top;text-overflow:ellipsis;white-space:pre-wrap;overflow-wrap:anywhere;max-width:360px;padding:4px 10px;overflow:hidden}.B77fza_csvTable thead th{z-index:1;background:var(--dsw-alias-bg-secondary);color:var(--dsw-alias-label-primary);font-weight:600;position:sticky;top:0}.B77fza_csvRowNumber{z-index:1;width:1%;min-width:44px;color:var(--dsw-alias-label-secondary);background:var(--dsw-alias-bg-secondary);font-variant-numeric:tabular-nums;position:sticky;left:0;text-align:right!important}.B77fza_csvTable thead .B77fza_csvRowNumber{z-index:2}.B77fza_csvHeaderCell{white-space:nowrap}.B77fza_csvCell{color:var(--dsw-alias-label-primary)}.B77fza_csvShowMore{align-self:center;margin:8px}.B77fza_csvTextPane{flex:1;min-height:0;overflow:hidden}[data-sidebar-right-guide]{grid-template-columns:repeat(auto-fill,minmax(96px,120px))!important;place-content:center!important;place-items:stretch stretch!important;gap:12px!important;padding:16px!important;display:grid!important;overflow:auto!important}[data-sidebar-right-guide]>div{aspect-ratio:1!important;flex:none!important;width:100%!important;min-width:0!important;max-width:none!important;min-height:0!important;display:flex!important}[data-sidebar-right-guide]>div [data-sidebar-right-guide-entry]{box-sizing:border-box!important;text-align:center!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:8px!important;width:100%!important;height:100%!important;padding:12px!important}[data-sidebar-right-guide] kbd,[data-sidebar-right-guide] span:has(>kbd){display:none!important}[data-sidebar-right-guide]>div [data-sidebar-right-guide-entry]>span:last-child{flex:0 auto!important;align-items:center!important;width:100%!important;height:auto!important;min-height:0!important}[data-sidebar-right-guide] [data-sidebar-right-guide-entry=terminal]{position:relative!important}[data-sidebar-right-guide] [data-sidebar-right-guide-entry=terminal] [class*=titleRow]{flex-flow:row!important;justify-content:center!important;align-items:center!important;gap:2px!important;height:20px!important;min-height:0!important;display:flex!important;position:static!important}[data-sidebar-right-guide] [data-sidebar-right-guide-entry=terminal] [class*=menu],[data-sidebar-right-guide] [data-sidebar-right-guide-entry=terminal] [class*=trigger],[data-sidebar-right-guide] [data-sidebar-right-guide-entry=terminal] button:not([class*=main]){z-index:1!important;flex:0 0 20px!important;width:20px!important;height:20px!important;min-height:0!important;padding:0!important;position:static!important;top:auto!important;bottom:auto!important;right:auto!important;transform:none!important}[data-sidebar-right-guide] [data-sidebar-right-guide-entry=terminal] [class*=title]{white-space:nowrap!important;text-overflow:ellipsis!important;overflow:hidden!important}[data-sidebar-right-guide]>div [data-sidebar-right-guide-entry] span{white-space:normal!important;text-overflow:clip!important;min-width:0!important;max-width:100%!important;overflow:visible!important}[data-sidebar-right-guide]>span:first-child{grid-column:1/-1;justify-self:center;margin:4px 0 8px}@media (width<=640px){[data-sidebar-right-guide]{grid-template-columns:repeat(auto-fill,minmax(88px,108px))!important;padding:12px!important}}[data-sidebar-right-guide-entry=terminal]{box-sizing:border-box!important;flex-direction:row!important;justify-content:center!important;align-self:stretch!important;align-items:center!important;gap:6px!important;width:100%!important;height:100%!important;min-height:0!important;padding:8px!important;display:flex!important;overflow:hidden!important}[data-sidebar-right-guide-entry=terminal]>span{flex:0 auto!important}[data-sidebar-right-guide-entry=terminal] [class*=text]{flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:1px!important;min-width:0!important;display:flex!important}[data-sidebar-right-guide-entry=terminal] [class*=titleRow]{box-sizing:border-box!important;flex-flow:row!important;justify-content:center!important;align-items:center!important;gap:0!important;width:100%!important;height:18px!important;min-height:0!important;max-height:18px!important;padding:0 20px!important;display:flex!important;position:relative!important}[data-sidebar-right-guide-entry=terminal] [class*=title]{text-overflow:clip!important;white-space:nowrap!important;flex:none!important;max-width:none!important;font-size:12px!important;line-height:1.2!important;overflow:visible!important}[data-sidebar-right-guide-entry=terminal] [class*=trigger]{z-index:1!important;flex:0 0 16px!important;width:16px!important;min-width:16px!important;height:16px!important;min-height:16px!important;padding:0!important;position:absolute!important;top:50%!important;right:0!important;transform:translateY(-50%)!important}[data-sidebar-right-guide-entry=terminal] [class*=trigger] svg{width:12px!important;height:12px!important}[data-sidebar-right-guide-entry=terminal] [class*=description]{text-overflow:ellipsis!important;white-space:nowrap!important;max-width:100%!important;overflow:hidden!important}[data-sidebar-right-guide-entry]:not([data-sidebar-right-guide-entry=terminal]){justify-content:center!important;align-items:center!important}[data-sidebar-right-guide-entry]:not([data-sidebar-right-guide-entry=terminal])>span:last-child{flex-direction:column!important;justify-content:center!important;align-self:center!important;align-items:center!important;display:flex!important}[data-sidebar-right-guide-entry]:not([data-sidebar-right-guide-entry=terminal]){box-sizing:border-box!important;flex-direction:column!important;justify-content:center!important;align-self:stretch!important;align-items:center!important;width:100%!important;height:100%!important;display:flex!important}button[aria-label=消息记录] svg,button[aria-label=消息记录] svg *{stroke-width:1px!important}button[aria-label=消息记录]{box-shadow:none!important;border-left:0!important}button[aria-label=消息记录]:before,button[aria-label=消息记录]:after{display:none!important}:has(>[data-open-target=directory]),:has([data-open-target=directory]){border-left:0!important}:has(>[data-open-target=directory]):before,:has(>[data-open-target=directory]):after,:has([data-open-target=directory]):before,:has([data-open-target=directory]):after{background:0 0!important;border-left:0!important;display:none!important}:has(>button[aria-label=消息记录]){border-left:0!important}:has(>button[aria-label=消息记录]):before,:has(>button[aria-label=消息记录]):after{border-left:0!important;display:none!important}:has(>*>button[aria-label=消息记录]){border-left:0!important}:has(>*>button[aria-label=消息记录]):before,:has(>*>button[aria-label=消息记录]):after{border-left:0!important;display:none!important}";
|
|
6884
6842
|
const tagId$15 = "@sparkelf/dsh-knowledge-base/sidebar.module.css";
|
|
6885
6843
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$15) + "]") === null) {
|
|
6886
6844
|
const tag = document.createElement("style");
|
|
@@ -6890,254 +6848,252 @@ window.__ModuleLoader__.load({
|
|
|
6890
6848
|
document.head.appendChild(tag);
|
|
6891
6849
|
}
|
|
6892
6850
|
var sidebar_module_css_default = {
|
|
6893
|
-
"
|
|
6894
|
-
"
|
|
6895
|
-
"
|
|
6896
|
-
"
|
|
6897
|
-
"
|
|
6898
|
-
"
|
|
6899
|
-
"
|
|
6900
|
-
"
|
|
6901
|
-
"
|
|
6902
|
-
"
|
|
6903
|
-
"
|
|
6904
|
-
"
|
|
6905
|
-
"
|
|
6906
|
-
"
|
|
6907
|
-
"
|
|
6908
|
-
"
|
|
6909
|
-
"
|
|
6910
|
-
"
|
|
6911
|
-
"
|
|
6912
|
-
"
|
|
6913
|
-
"
|
|
6914
|
-
"
|
|
6915
|
-
"
|
|
6916
|
-
"
|
|
6917
|
-
"
|
|
6918
|
-
"
|
|
6919
|
-
"
|
|
6920
|
-
"
|
|
6921
|
-
"
|
|
6922
|
-
"
|
|
6923
|
-
"
|
|
6924
|
-
"
|
|
6925
|
-
"
|
|
6926
|
-
"
|
|
6927
|
-
"
|
|
6928
|
-
"
|
|
6929
|
-
"
|
|
6930
|
-
"
|
|
6931
|
-
"
|
|
6932
|
-
"
|
|
6933
|
-
"
|
|
6934
|
-
"
|
|
6935
|
-
"
|
|
6936
|
-
"
|
|
6937
|
-
"
|
|
6938
|
-
"
|
|
6939
|
-
"
|
|
6940
|
-
"
|
|
6941
|
-
"
|
|
6942
|
-
"
|
|
6943
|
-
"
|
|
6944
|
-
"
|
|
6945
|
-
"
|
|
6946
|
-
"
|
|
6947
|
-
"
|
|
6948
|
-
"
|
|
6949
|
-
"
|
|
6950
|
-
"
|
|
6951
|
-
"
|
|
6952
|
-
"
|
|
6953
|
-
"
|
|
6954
|
-
"
|
|
6955
|
-
"
|
|
6956
|
-
"
|
|
6957
|
-
"
|
|
6958
|
-
"
|
|
6959
|
-
"
|
|
6960
|
-
"
|
|
6961
|
-
"
|
|
6962
|
-
"
|
|
6963
|
-
"
|
|
6964
|
-
"
|
|
6965
|
-
"
|
|
6966
|
-
"
|
|
6967
|
-
"
|
|
6968
|
-
"
|
|
6969
|
-
"
|
|
6970
|
-
"
|
|
6971
|
-
"
|
|
6972
|
-
"
|
|
6973
|
-
"
|
|
6974
|
-
"
|
|
6975
|
-
"
|
|
6976
|
-
"
|
|
6977
|
-
"
|
|
6978
|
-
"
|
|
6979
|
-
"
|
|
6980
|
-
"openWithPin": "
|
|
6981
|
-
"
|
|
6982
|
-
"
|
|
6983
|
-
"
|
|
6984
|
-
"
|
|
6985
|
-
"
|
|
6986
|
-
"
|
|
6987
|
-
"
|
|
6988
|
-
"
|
|
6989
|
-
"
|
|
6990
|
-
"
|
|
6991
|
-
"
|
|
6992
|
-
"
|
|
6993
|
-
"
|
|
6994
|
-
"
|
|
6995
|
-
"
|
|
6996
|
-
"
|
|
6997
|
-
"
|
|
6998
|
-
"
|
|
6999
|
-
"
|
|
7000
|
-
"
|
|
7001
|
-
"
|
|
7002
|
-
"
|
|
7003
|
-
"
|
|
7004
|
-
"
|
|
7005
|
-
"
|
|
7006
|
-
"
|
|
7007
|
-
"
|
|
7008
|
-
"
|
|
7009
|
-
"
|
|
7010
|
-
"
|
|
7011
|
-
"
|
|
7012
|
-
"
|
|
7013
|
-
"
|
|
7014
|
-
"
|
|
7015
|
-
"
|
|
7016
|
-
"
|
|
7017
|
-
"
|
|
7018
|
-
"
|
|
7019
|
-
"
|
|
7020
|
-
"
|
|
7021
|
-
"
|
|
7022
|
-
"
|
|
7023
|
-
"
|
|
7024
|
-
"
|
|
7025
|
-
"
|
|
7026
|
-
"
|
|
7027
|
-
"
|
|
7028
|
-
"
|
|
7029
|
-
"
|
|
7030
|
-
"
|
|
7031
|
-
"
|
|
7032
|
-
"
|
|
7033
|
-
"
|
|
7034
|
-
"
|
|
7035
|
-
"
|
|
7036
|
-
"
|
|
7037
|
-
"
|
|
7038
|
-
"
|
|
7039
|
-
"
|
|
7040
|
-
"
|
|
7041
|
-
"
|
|
7042
|
-
"
|
|
7043
|
-
"
|
|
7044
|
-
"
|
|
7045
|
-
"
|
|
7046
|
-
"
|
|
7047
|
-
"
|
|
7048
|
-
"
|
|
7049
|
-
"
|
|
7050
|
-
"
|
|
7051
|
-
"
|
|
7052
|
-
"
|
|
7053
|
-
"
|
|
7054
|
-
"
|
|
7055
|
-
"
|
|
7056
|
-
"
|
|
7057
|
-
"
|
|
7058
|
-
"
|
|
7059
|
-
"
|
|
7060
|
-
"
|
|
7061
|
-
"
|
|
7062
|
-
"
|
|
7063
|
-
"
|
|
7064
|
-
"
|
|
7065
|
-
"
|
|
7066
|
-
"
|
|
7067
|
-
"
|
|
7068
|
-
"
|
|
7069
|
-
"
|
|
7070
|
-
"
|
|
7071
|
-
"
|
|
7072
|
-
"
|
|
7073
|
-
"
|
|
7074
|
-
"
|
|
7075
|
-
"
|
|
7076
|
-
"
|
|
7077
|
-
"
|
|
7078
|
-
"
|
|
7079
|
-
"
|
|
7080
|
-
"
|
|
7081
|
-
"
|
|
7082
|
-
"
|
|
7083
|
-
"
|
|
7084
|
-
"
|
|
7085
|
-
"
|
|
7086
|
-
"
|
|
7087
|
-
"
|
|
7088
|
-
"
|
|
7089
|
-
"
|
|
7090
|
-
"
|
|
7091
|
-
"
|
|
7092
|
-
"
|
|
7093
|
-
"
|
|
7094
|
-
"
|
|
7095
|
-
"
|
|
7096
|
-
"
|
|
7097
|
-
"
|
|
7098
|
-
"
|
|
7099
|
-
"
|
|
7100
|
-
"
|
|
7101
|
-
"
|
|
7102
|
-
"
|
|
7103
|
-
"
|
|
7104
|
-
"
|
|
7105
|
-
"
|
|
7106
|
-
"
|
|
7107
|
-
"
|
|
7108
|
-
"
|
|
7109
|
-
"
|
|
7110
|
-
"
|
|
7111
|
-
"
|
|
7112
|
-
"
|
|
7113
|
-
"
|
|
7114
|
-
"
|
|
7115
|
-
"
|
|
7116
|
-
"
|
|
7117
|
-
"
|
|
7118
|
-
"
|
|
7119
|
-
"
|
|
7120
|
-
"
|
|
7121
|
-
"
|
|
7122
|
-
"
|
|
7123
|
-
"
|
|
6851
|
+
"panel": "B77fza_panel",
|
|
6852
|
+
"browser": "B77fza_browser",
|
|
6853
|
+
"uploadDropHero": "B77fza_uploadDropHero",
|
|
6854
|
+
"editorTreePanel": "B77fza_editorTreePanel",
|
|
6855
|
+
"editorModeToggle": "B77fza_editorModeToggle",
|
|
6856
|
+
"mermaidInfo": "B77fza_mermaidInfo",
|
|
6857
|
+
"largeFileRecordRaw": "B77fza_largeFileRecordRaw",
|
|
6858
|
+
"largeFileLines": "B77fza_largeFileLines",
|
|
6859
|
+
"largeFileLine": "B77fza_largeFileLine",
|
|
6860
|
+
"bottomPanelHidden": "B77fza_bottomPanelHidden",
|
|
6861
|
+
"explorerHeader": "B77fza_explorerHeader",
|
|
6862
|
+
"boundaryError": "B77fza_boundaryError",
|
|
6863
|
+
"tocItem": "B77fza_tocItem",
|
|
6864
|
+
"csvTextPane": "B77fza_csvTextPane",
|
|
6865
|
+
"editorBlameHead": "B77fza_editorBlameHead",
|
|
6866
|
+
"tabBar": "B77fza_tabBar",
|
|
6867
|
+
"mermaidModalHint": "B77fza_mermaidModalHint",
|
|
6868
|
+
"uploadOverlayTitle": "B77fza_uploadOverlayTitle",
|
|
6869
|
+
"chipIcon": "B77fza_chipIcon",
|
|
6870
|
+
"dockFallback": "B77fza_dockFallback",
|
|
6871
|
+
"explorerRowRevealed": "B77fza_explorerRowRevealed",
|
|
6872
|
+
"explorerDirChanged": "B77fza_explorerDirChanged",
|
|
6873
|
+
"editorPdfFrame": "B77fza_editorPdfFrame",
|
|
6874
|
+
"sandboxDot": "B77fza_sandboxDot",
|
|
6875
|
+
"editorSearchInput": "B77fza_editorSearchInput",
|
|
6876
|
+
"gitEmpty": "B77fza_gitEmpty",
|
|
6877
|
+
"explorerRenameInput": "B77fza_explorerRenameInput",
|
|
6878
|
+
"uploadDropChatHint": "B77fza_uploadDropChatHint",
|
|
6879
|
+
"editorHtml": "B77fza_editorHtml",
|
|
6880
|
+
"browserBlockedActions": "B77fza_browserBlockedActions",
|
|
6881
|
+
"openWithPinActive": "B77fza_openWithPinActive",
|
|
6882
|
+
"mermaidMarkdown": "B77fza_mermaidMarkdown",
|
|
6883
|
+
"panelBody": "B77fza_panelBody",
|
|
6884
|
+
"paneTab": "B77fza_paneTab",
|
|
6885
|
+
"editorBlameSummary": "B77fza_editorBlameSummary",
|
|
6886
|
+
"explorerBroken": "B77fza_explorerBroken",
|
|
6887
|
+
"tocItemText": "B77fza_tocItemText",
|
|
6888
|
+
"csvReload": "B77fza_csvReload",
|
|
6889
|
+
"editorPdf": "B77fza_editorPdf",
|
|
6890
|
+
"paneDrop": "B77fza_paneDrop",
|
|
6891
|
+
"uploadDropChatCard": "B77fza_uploadDropChatCard",
|
|
6892
|
+
"dividerCol": "B77fza_dividerCol",
|
|
6893
|
+
"dividerRow": "B77fza_dividerRow",
|
|
6894
|
+
"tabBarDrop": "B77fza_tabBarDrop",
|
|
6895
|
+
"tabList": "B77fza_tabList",
|
|
6896
|
+
"splitChild": "B77fza_splitChild",
|
|
6897
|
+
"editorGitAdd": "B77fza_editorGitAdd",
|
|
6898
|
+
"divider": "B77fza_divider",
|
|
6899
|
+
"gitPlaceholder": "B77fza_gitPlaceholder",
|
|
6900
|
+
"sandboxStatusOff": "B77fza_sandboxStatusOff",
|
|
6901
|
+
"csvSegment": "B77fza_csvSegment",
|
|
6902
|
+
"csvShowMore": "B77fza_csvShowMore",
|
|
6903
|
+
"csvEmpty": "B77fza_csvEmpty",
|
|
6904
|
+
"browserFrame": "B77fza_browserFrame",
|
|
6905
|
+
"explorerName": "B77fza_explorerName",
|
|
6906
|
+
"largeFileNoticeAction": "B77fza_largeFileNoticeAction",
|
|
6907
|
+
"editorCmHidden": "B77fza_editorCmHidden",
|
|
6908
|
+
"editorPlaceholder": "B77fza_editorPlaceholder",
|
|
6909
|
+
"editorSearchResultLabel": "B77fza_editorSearchResultLabel",
|
|
6910
|
+
"uploadDropZone": "B77fza_uploadDropZone",
|
|
6911
|
+
"editorStatus": "B77fza_editorStatus",
|
|
6912
|
+
"editorModeButton": "B77fza_editorModeButton",
|
|
6913
|
+
"csvError": "B77fza_csvError",
|
|
6914
|
+
"dropUp": "B77fza_dropUp",
|
|
6915
|
+
"sandboxAction": "B77fza_sandboxAction",
|
|
6916
|
+
"explorerError": "B77fza_explorerError",
|
|
6917
|
+
"mermaidModalButton": "B77fza_mermaidModalButton",
|
|
6918
|
+
"editorPdfDragShield": "B77fza_editorPdfDragShield",
|
|
6919
|
+
"editorTitle": "B77fza_editorTitle",
|
|
6920
|
+
"tocFlash": "B77fza_tocFlash",
|
|
6921
|
+
"csvViewer": "B77fza_csvViewer",
|
|
6922
|
+
"editorMd": "B77fza_editorMd",
|
|
6923
|
+
"explorerHiddenPane": "B77fza_explorerHiddenPane",
|
|
6924
|
+
"orphanedType": "B77fza_orphanedType",
|
|
6925
|
+
"editorModeActive": "B77fza_editorModeActive",
|
|
6926
|
+
"editorPdfDragShieldActive": "B77fza_editorPdfDragShieldActive",
|
|
6927
|
+
"dividerActive": "B77fza_dividerActive",
|
|
6928
|
+
"editorHeader": "B77fza_editorHeader",
|
|
6929
|
+
"explorerDir": "B77fza_explorerDir",
|
|
6930
|
+
"chipUnread": "B77fza_chipUnread",
|
|
6931
|
+
"tabUnreadDot": "B77fza_tabUnreadDot",
|
|
6932
|
+
"sandboxStatusOn": "B77fza_sandboxStatusOn",
|
|
6933
|
+
"tab": "B77fza_tab",
|
|
6934
|
+
"dropDown": "B77fza_dropDown",
|
|
6935
|
+
"editorGitBarDel": "B77fza_editorGitBarDel",
|
|
6936
|
+
"explorerRowSelected": "B77fza_explorerRowSelected",
|
|
6937
|
+
"csvScroll": "B77fza_csvScroll",
|
|
6938
|
+
"openWithPin": "B77fza_openWithPin",
|
|
6939
|
+
"explorerRoot": "B77fza_explorerRoot",
|
|
6940
|
+
"editorPathInput": "B77fza_editorPathInput",
|
|
6941
|
+
"editorSearchResult": "B77fza_editorSearchResult",
|
|
6942
|
+
"explorerSelectionActions": "B77fza_explorerSelectionActions",
|
|
6943
|
+
"editorGitBar": "B77fza_editorGitBar",
|
|
6944
|
+
"paneContent": "B77fza_paneContent",
|
|
6945
|
+
"dropOverlay": "B77fza_dropOverlay",
|
|
6946
|
+
"mermaidCopy": "B77fza_mermaidCopy",
|
|
6947
|
+
"explorerBody": "B77fza_explorerBody",
|
|
6948
|
+
"openWithChevron": "B77fza_openWithChevron",
|
|
6949
|
+
"bottomClose": "B77fza_bottomClose",
|
|
6950
|
+
"gitDiffTab": "B77fza_gitDiffTab",
|
|
6951
|
+
"explorerCopied": "B77fza_explorerCopied",
|
|
6952
|
+
"dropLeft": "B77fza_dropLeft",
|
|
6953
|
+
"paneEmptyCards": "B77fza_paneEmptyCards",
|
|
6954
|
+
"editorGitBarMod": "B77fza_editorGitBarMod",
|
|
6955
|
+
"csvHeaderCell": "B77fza_csvHeaderCell",
|
|
6956
|
+
"editorPdfToolbar": "B77fza_editorPdfToolbar",
|
|
6957
|
+
"nativeTabHost": "B77fza_nativeTabHost",
|
|
6958
|
+
"tabActive": "B77fza_tabActive",
|
|
6959
|
+
"editorGitBarSpacer": "B77fza_editorGitBarSpacer",
|
|
6960
|
+
"uploadOverlayCancel": "B77fza_uploadOverlayCancel",
|
|
6961
|
+
"editorSearchHint": "B77fza_editorSearchHint",
|
|
6962
|
+
"csvTable": "B77fza_csvTable",
|
|
6963
|
+
"editorTreeToggleActive": "B77fza_editorTreeToggleActive",
|
|
6964
|
+
"editorTreeResize": "B77fza_editorTreeResize",
|
|
6965
|
+
"largeFileRecordTree": "B77fza_largeFileRecordTree",
|
|
6966
|
+
"editorGitBarGutter": "B77fza_editorGitBarGutter",
|
|
6967
|
+
"largeFileLineNo": "B77fza_largeFileLineNo",
|
|
6968
|
+
"largeFileRecordNo": "B77fza_largeFileRecordNo",
|
|
6969
|
+
"split": "B77fza_split",
|
|
6970
|
+
"explorerEmpty": "B77fza_explorerEmpty",
|
|
6971
|
+
"editorBody": "B77fza_editorBody",
|
|
6972
|
+
"nativeTabMenuSeparator": "B77fza_nativeTabMenuSeparator",
|
|
6973
|
+
"largeFileRecordBody": "B77fza_largeFileRecordBody",
|
|
6974
|
+
"sandboxStatus": "B77fza_sandboxStatus",
|
|
6975
|
+
"browserBlocked": "B77fza_browserBlocked",
|
|
6976
|
+
"bottomResizeActive": "B77fza_bottomResizeActive",
|
|
6977
|
+
"editorBinaryNotice": "B77fza_editorBinaryNotice",
|
|
6978
|
+
"explorerRowDropTarget": "B77fza_explorerRowDropTarget",
|
|
6979
|
+
"browserMessage": "B77fza_browserMessage",
|
|
6980
|
+
"csvNotice": "B77fza_csvNotice",
|
|
6981
|
+
"iconButton": "B77fza_iconButton",
|
|
6982
|
+
"gitDiffTabTitle": "B77fza_gitDiffTabTitle",
|
|
6983
|
+
"paneCard": "B77fza_paneCard",
|
|
6984
|
+
"tabBarRightActions": "B77fza_tabBarRightActions",
|
|
6985
|
+
"uploadOverlayStatus": "B77fza_uploadOverlayStatus",
|
|
6986
|
+
"explorerAppIcon": "B77fza_explorerAppIcon",
|
|
6987
|
+
"largeFileDownload": "B77fza_largeFileDownload",
|
|
6988
|
+
"uploadOverlayCard": "B77fza_uploadOverlayCard",
|
|
6989
|
+
"tabBadge": "B77fza_tabBadge",
|
|
6990
|
+
"explorerGitName": "B77fza_explorerGitName",
|
|
6991
|
+
"mermaidCode": "B77fza_mermaidCode",
|
|
6992
|
+
"uploadDropZoneText": "B77fza_uploadDropZoneText",
|
|
6993
|
+
"paneTabHidden": "B77fza_paneTabHidden",
|
|
6994
|
+
"editorGitDel": "B77fza_editorGitDel",
|
|
6995
|
+
"largeFileRecordExpanded": "B77fza_largeFileRecordExpanded",
|
|
6996
|
+
"uploadOverlayProgress": "B77fza_uploadOverlayProgress",
|
|
6997
|
+
"csvSelect": "B77fza_csvSelect",
|
|
6998
|
+
"tocPanel": "B77fza_tocPanel",
|
|
6999
|
+
"explorerSelectionBar": "B77fza_explorerSelectionBar",
|
|
7000
|
+
"largeFilePageLabel": "B77fza_largeFilePageLabel",
|
|
7001
|
+
"mermaidBody": "B77fza_mermaidBody",
|
|
7002
|
+
"largeFileBody": "B77fza_largeFileBody",
|
|
7003
|
+
"tabClose": "B77fza_tabClose",
|
|
7004
|
+
"editorPptxButton": "B77fza_editorPptxButton",
|
|
7005
|
+
"explorerActionError": "B77fza_explorerActionError",
|
|
7006
|
+
"dropRight": "B77fza_dropRight",
|
|
7007
|
+
"editorBlame": "B77fza_editorBlame",
|
|
7008
|
+
"browserBlockedButton": "B77fza_browserBlockedButton",
|
|
7009
|
+
"mermaidModal": "B77fza_mermaidModal",
|
|
7010
|
+
"openWithName": "B77fza_openWithName",
|
|
7011
|
+
"explorerSymlink": "B77fza_explorerSymlink",
|
|
7012
|
+
"editorGitBarAdd": "B77fza_editorGitBarAdd",
|
|
7013
|
+
"browserInput": "B77fza_browserInput",
|
|
7014
|
+
"tocItemLevel": "B77fza_tocItemLevel",
|
|
7015
|
+
"editorSearchResultDir": "B77fza_editorSearchResultDir",
|
|
7016
|
+
"browserBlockedDesc": "B77fza_browserBlockedDesc",
|
|
7017
|
+
"explorer": "B77fza_explorer",
|
|
7018
|
+
"csvField": "B77fza_csvField",
|
|
7019
|
+
"browserBar": "B77fza_browserBar",
|
|
7020
|
+
"toggleButton": "B77fza_toggleButton",
|
|
7021
|
+
"explorerHidden": "B77fza_explorerHidden",
|
|
7022
|
+
"uploadDropArtCut": "B77fza_uploadDropArtCut",
|
|
7023
|
+
"dirtyDot": "B77fza_dirtyDot",
|
|
7024
|
+
"uploadDropArtPrimary": "B77fza_uploadDropArtPrimary",
|
|
7025
|
+
"mermaidHeader": "B77fza_mermaidHeader",
|
|
7026
|
+
"openWithLabel": "B77fza_openWithLabel",
|
|
7027
|
+
"largeFilePager": "B77fza_largeFilePager",
|
|
7028
|
+
"csvRowNumber": "B77fza_csvRowNumber",
|
|
7029
|
+
"largeFileList": "B77fza_largeFileList",
|
|
7030
|
+
"dsh-row-in": "B77fza_dsh-row-in",
|
|
7031
|
+
"tabTitle": "B77fza_tabTitle",
|
|
7032
|
+
"explorerActionErrorText": "B77fza_explorerActionErrorText",
|
|
7033
|
+
"largeFile": "B77fza_largeFile",
|
|
7034
|
+
"csvCell": "B77fza_csvCell",
|
|
7035
|
+
"bottomPanel": "B77fza_bottomPanel",
|
|
7036
|
+
"tabBarPlus": "B77fza_tabBarPlus",
|
|
7037
|
+
"pane": "B77fza_pane",
|
|
7038
|
+
"uploadOverlay": "B77fza_uploadOverlay",
|
|
7039
|
+
"editorError": "B77fza_editorError",
|
|
7040
|
+
"explorerRef": "B77fza_explorerRef",
|
|
7041
|
+
"dsh-toc-flash": "B77fza_dsh-toc-flash",
|
|
7042
|
+
"tocBar": "B77fza_tocBar",
|
|
7043
|
+
"editorPdfStage": "B77fza_editorPdfStage",
|
|
7044
|
+
"largeFileNotice": "B77fza_largeFileNotice",
|
|
7045
|
+
"editorTreeSearch": "B77fza_editorTreeSearch",
|
|
7046
|
+
"browserStart": "B77fza_browserStart",
|
|
7047
|
+
"mermaidError": "B77fza_mermaidError",
|
|
7048
|
+
"editorCm": "B77fza_editorCm",
|
|
7049
|
+
"editorBinary": "B77fza_editorBinary",
|
|
7050
|
+
"uploadDropMask": "B77fza_uploadDropMask",
|
|
7051
|
+
"splitCol": "B77fza_splitCol",
|
|
7052
|
+
"uploadDropArtAccent": "B77fza_uploadDropArtAccent",
|
|
7053
|
+
"largeFileLineText": "B77fza_largeFileLineText",
|
|
7054
|
+
"csvSegmented": "B77fza_csvSegmented",
|
|
7055
|
+
"editorHtmlBlock": "B77fza_editorHtmlBlock",
|
|
7056
|
+
"selectionPopup": "B77fza_selectionPopup",
|
|
7057
|
+
"largeFileRecords": "B77fza_largeFileRecords",
|
|
7058
|
+
"splitRow": "B77fza_splitRow",
|
|
7059
|
+
"largeFileRecordInvalid": "B77fza_largeFileRecordInvalid",
|
|
7060
|
+
"mermaidWrap": "B77fza_mermaidWrap",
|
|
7061
|
+
"csvMeta": "B77fza_csvMeta",
|
|
7062
|
+
"gitError": "B77fza_gitError",
|
|
7063
|
+
"editorMain": "B77fza_editorMain",
|
|
7064
|
+
"gitDiffTabHeader": "B77fza_gitDiffTabHeader",
|
|
7065
|
+
"editorTreeDock": "B77fza_editorTreeDock",
|
|
7066
|
+
"explorerRenaming": "B77fza_explorerRenaming",
|
|
7067
|
+
"editorStatusError": "B77fza_editorStatusError",
|
|
7068
|
+
"sandboxStatusText": "B77fza_sandboxStatusText",
|
|
7069
|
+
"mermaidModalStage": "B77fza_mermaidModalStage",
|
|
7070
|
+
"editorGitMod": "B77fza_editorGitMod",
|
|
7071
|
+
"largeFileRecordSummary": "B77fza_largeFileRecordSummary",
|
|
7072
|
+
"nativeTabMenuItem": "B77fza_nativeTabMenuItem",
|
|
7073
|
+
"uploadOverlayProgressFill": "B77fza_uploadOverlayProgressFill",
|
|
7074
|
+
"editorPdfFrameBlocked": "B77fza_editorPdfFrameBlocked",
|
|
7075
|
+
"tocButton": "B77fza_tocButton",
|
|
7076
|
+
"workbench": "B77fza_workbench",
|
|
7077
|
+
"csvToolbar": "B77fza_csvToolbar",
|
|
7078
|
+
"tabBoundaryError": "B77fza_tabBoundaryError",
|
|
7079
|
+
"explorerSelectionText": "B77fza_explorerSelectionText",
|
|
7080
|
+
"browserBlockedTitle": "B77fza_browserBlockedTitle",
|
|
7081
|
+
"editorBanner": "B77fza_editorBanner",
|
|
7082
|
+
"mermaidModalToolbar": "B77fza_mermaidModalToolbar",
|
|
7083
|
+
"explorerRow": "B77fza_explorerRow",
|
|
7084
|
+
"bottomResize": "B77fza_bottomResize",
|
|
7085
|
+
"editorDocxZoomRange": "B77fza_editorDocxZoomRange",
|
|
7086
|
+
"largeFileRecord": "B77fza_largeFileRecord",
|
|
7087
|
+
"editor": "B77fza_editor",
|
|
7088
|
+
"editorDownloadLink": "B77fza_editorDownloadLink",
|
|
7089
|
+
"editorTreePanelFull": "B77fza_editorTreePanelFull",
|
|
7090
|
+
"dropCenter": "B77fza_dropCenter",
|
|
7091
|
+
"editorBannerAction": "B77fza_editorBannerAction",
|
|
7092
|
+
"uploadDropZonePill": "B77fza_uploadDropZonePill",
|
|
7093
|
+
"terminalRetry": "B77fza_terminalRetry"
|
|
7124
7094
|
};
|
|
7125
7095
|
//#endregion
|
|
7126
|
-
//#region
|
|
7127
|
-
const listeners = /* @__PURE__ */ new Set();
|
|
7128
|
-
const revealBus = {
|
|
7129
|
-
emit(path) {
|
|
7130
|
-
for (const listener of listeners) listener(path);
|
|
7131
|
-
},
|
|
7132
|
-
subscribe(listener) {
|
|
7133
|
-
listeners.add(listener);
|
|
7134
|
-
return () => {
|
|
7135
|
-
listeners.delete(listener);
|
|
7136
|
-
};
|
|
7137
|
-
}
|
|
7138
|
-
};
|
|
7139
|
-
//#endregion
|
|
7140
|
-
//#region ../../../DSH-better-sidebar/src/client/FileTree.tsx
|
|
7096
|
+
//#region node_modules/dsh-better-sidebar/src/client/FileTree.tsx
|
|
7141
7097
|
/**
|
|
7142
7098
|
* The controlled file tree behind the files window's tree panel (TreePanel
|
|
7143
7099
|
* wraps it with the search box): a lazy VSCode-style tree rooted at the
|
|
@@ -7348,33 +7304,9 @@ window.__ModuleLoader__.load({
|
|
|
7348
7304
|
height: 14
|
|
7349
7305
|
});
|
|
7350
7306
|
}
|
|
7351
|
-
/**
|
|
7352
|
-
* Compact last-modified label for one explorer row.
|
|
7353
|
-
*
|
|
7354
|
-
* A same-day file shows a time and an older one a date: the row is 28px tall and
|
|
7355
|
-
* the label shares its line with a name that already ellipsizes, so it stays
|
|
7356
|
-
* short. The tooltip carries the full stamp.
|
|
7357
|
-
* @param mtimeMs - last-modified time in milliseconds.
|
|
7358
|
-
* @returns the label, or an empty string for an unreadable timestamp.
|
|
7359
|
-
*/
|
|
7360
|
-
function formatModified$1(mtimeMs) {
|
|
7361
|
-
const date = new Date(mtimeMs);
|
|
7362
|
-
if (Number.isNaN(date.getTime())) return "";
|
|
7363
|
-
const now = /* @__PURE__ */ new Date();
|
|
7364
|
-
return date.getFullYear() === now.getFullYear() && date.getMonth() === now.getMonth() && date.getDate() === now.getDate() ? `${String(date.getHours()).padStart(2, "0")}:${String(date.getMinutes()).padStart(2, "0")}` : `${String(date.getMonth() + 1).padStart(2, "0")}-${String(date.getDate()).padStart(2, "0")}`;
|
|
7365
|
-
}
|
|
7366
|
-
/**
|
|
7367
|
-
* Full last-modified time for the row's tooltip.
|
|
7368
|
-
* @param mtimeMs - last-modified time in milliseconds.
|
|
7369
|
-
* @returns the locale string, or an empty string for an unreadable timestamp.
|
|
7370
|
-
*/
|
|
7371
|
-
function formatModifiedTitle$1(mtimeMs) {
|
|
7372
|
-
const date = new Date(mtimeMs);
|
|
7373
|
-
return Number.isNaN(date.getTime()) ? "" : date.toLocaleString();
|
|
7374
|
-
}
|
|
7375
7307
|
const FileRow = (0, react.memo)(function FileRow(props) {
|
|
7376
7308
|
const { entry, depth, iconsVersion, service, selected, revealed, dropTarget, copied, gitTone, gitLetter, actions } = props;
|
|
7377
|
-
const icon = service !== void 0 ? service.fileIcon(entry.path, 14) : builtinFileIcon(entry.path, 14);
|
|
7309
|
+
const icon = service !== void 0 ? service.fileIcon(entry.path, 14) : builtinFileIcon$1(entry.path, 14);
|
|
7378
7310
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
7379
7311
|
role: "button",
|
|
7380
7312
|
tabIndex: 0,
|
|
@@ -7418,11 +7350,6 @@ window.__ModuleLoader__.load({
|
|
|
7418
7350
|
title: gitToneLabel(gitTone),
|
|
7419
7351
|
children: gitLetter
|
|
7420
7352
|
}),
|
|
7421
|
-
entry.mtimeMs !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
7422
|
-
className: sidebar_module_css_default.explorerTime,
|
|
7423
|
-
title: formatModifiedTitle$1(entry.mtimeMs),
|
|
7424
|
-
children: formatModified$1(entry.mtimeMs)
|
|
7425
|
-
}),
|
|
7426
7353
|
copied ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
7427
7354
|
className: sidebar_module_css_default.explorerCopied,
|
|
7428
7355
|
children: t("copied")
|
|
@@ -7441,9 +7368,9 @@ window.__ModuleLoader__.load({
|
|
|
7441
7368
|
});
|
|
7442
7369
|
});
|
|
7443
7370
|
const DirRow = (0, react.memo)(function DirRow(props) {
|
|
7444
|
-
const { entry, chain, depth, expanded, iconsVersion, service, selected, revealed, dropTarget, gitChanged, copied, actions
|
|
7371
|
+
const { entry, chain, depth, expanded, iconsVersion, service, selected, revealed, dropTarget, gitChanged, copied, actions } = props;
|
|
7445
7372
|
const target = chain[chain.length - 1];
|
|
7446
|
-
const icon = service !== void 0 ? service.folderIcon(target.path, expanded, 14) : builtinFolderIcon(expanded, 14);
|
|
7373
|
+
const icon = service !== void 0 ? service.folderIcon(target.path, expanded, 14) : builtinFolderIcon$1(expanded, 14);
|
|
7447
7374
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
7448
7375
|
role: "button",
|
|
7449
7376
|
tabIndex: 0,
|
|
@@ -7475,17 +7402,12 @@ window.__ModuleLoader__.load({
|
|
|
7475
7402
|
icon,
|
|
7476
7403
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
7477
7404
|
className: clsx(sidebar_module_css_default.explorerName, gitChanged && sidebar_module_css_default.explorerDirChanged),
|
|
7478
|
-
children: chain.length > 1 ? chain.map((link) =>
|
|
7405
|
+
children: chain.length > 1 ? chain.map((link) => link.name).join("/") : entry.name
|
|
7479
7406
|
}),
|
|
7480
7407
|
entry.isSymlink && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconLinkOutlineRegular, {
|
|
7481
7408
|
size: 12,
|
|
7482
7409
|
className: sidebar_module_css_default.explorerSymlink
|
|
7483
7410
|
}),
|
|
7484
|
-
entry.mtimeMs !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
7485
|
-
className: sidebar_module_css_default.explorerTime,
|
|
7486
|
-
title: formatModifiedTitle$1(entry.mtimeMs),
|
|
7487
|
-
children: formatModified$1(entry.mtimeMs)
|
|
7488
|
-
}),
|
|
7489
7411
|
copied ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
7490
7412
|
className: sidebar_module_css_default.explorerCopied,
|
|
7491
7413
|
children: t("copied")
|
|
@@ -7505,7 +7427,7 @@ window.__ModuleLoader__.load({
|
|
|
7505
7427
|
});
|
|
7506
7428
|
const RootRow = (0, react.memo)(function RootRow(props) {
|
|
7507
7429
|
const { path, iconsVersion, service, dropTarget, gitChanged, copied, actions } = props;
|
|
7508
|
-
const icon = service !== void 0 ? service.folderIcon(path, true, 14) : builtinFolderIcon(true, 14);
|
|
7430
|
+
const icon = service !== void 0 ? service.folderIcon(path, true, 14) : builtinFolderIcon$1(true, 14);
|
|
7509
7431
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
7510
7432
|
className: clsx(sidebar_module_css_default.explorerRow, dropTarget && sidebar_module_css_default.explorerRowDropTarget),
|
|
7511
7433
|
style: { paddingLeft: 6 },
|
|
@@ -7576,9 +7498,6 @@ window.__ModuleLoader__.load({
|
|
|
7576
7498
|
/** The live props for the stable callbacks below (identity churns per render). */
|
|
7577
7499
|
const propsRef = (0, react.useRef)(props);
|
|
7578
7500
|
propsRef.current = props;
|
|
7579
|
-
/** Live visibility for the load effects: a parked tree fetches nothing. */
|
|
7580
|
-
const visibleRef = (0, react.useRef)(visible !== false);
|
|
7581
|
-
visibleRef.current = visible !== false;
|
|
7582
7501
|
const [data, setData] = (0, react.useState)({});
|
|
7583
7502
|
/**
|
|
7584
7503
|
* Registry revision for the file-icon feature: bumps on ANY registry
|
|
@@ -7592,31 +7511,10 @@ window.__ModuleLoader__.load({
|
|
|
7592
7511
|
}), [service]);
|
|
7593
7512
|
/** One directory's leading glyph for the surfaces WITHOUT a memoized row
|
|
7594
7513
|
* (the inline rename and new-folder editors). */
|
|
7595
|
-
const dirRowIcon = (path, open) => service !== void 0 ? service.folderIcon(path, open, 14) : builtinFolderIcon(open, 14);
|
|
7514
|
+
const dirRowIcon = (path, open) => service !== void 0 ? service.folderIcon(path, open, 14) : builtinFolderIcon$1(open, 14);
|
|
7596
7515
|
const dataRef = (0, react.useRef)(data);
|
|
7597
7516
|
/** Bumped whenever the cache is wiped: a response from an older generation is dropped. */
|
|
7598
7517
|
const generationRef = (0, react.useRef)(0);
|
|
7599
|
-
/**
|
|
7600
|
-
* The context menu's native row ids.
|
|
7601
|
-
*
|
|
7602
|
-
* A caller's appended row is matched against these before its own `onSelect`
|
|
7603
|
-
* runs, so an id in this set has to be refused: letting it through would make
|
|
7604
|
-
* a caller's row answer the native id and take a shipped action away.
|
|
7605
|
-
*/
|
|
7606
|
-
const NATIVE_MENU_IDS = /* @__PURE__ */ new Set([
|
|
7607
|
-
"open-new-tab",
|
|
7608
|
-
"open-side",
|
|
7609
|
-
"download",
|
|
7610
|
-
"upload-here",
|
|
7611
|
-
"new-folder",
|
|
7612
|
-
"new-file",
|
|
7613
|
-
"archive-selection",
|
|
7614
|
-
"relative",
|
|
7615
|
-
"absolute",
|
|
7616
|
-
"rename",
|
|
7617
|
-
"delete",
|
|
7618
|
-
"reveal-in-file-manager"
|
|
7619
|
-
]);
|
|
7620
7518
|
/** The row whose path was just copied ("copied" label replaces its button). */
|
|
7621
7519
|
const [copiedPath, setCopiedPath] = (0, react.useState)(null);
|
|
7622
7520
|
/** Open context menu: the row path (and whether it is a directory) plus the cursor position. */
|
|
@@ -7822,7 +7720,6 @@ window.__ModuleLoader__.load({
|
|
|
7822
7720
|
* path — while leaving their current rows untouched until the answer lands.
|
|
7823
7721
|
*/
|
|
7824
7722
|
const loadLevels = (0, react.useCallback)((paths, options) => {
|
|
7825
|
-
if (visibleRef.current === false) return;
|
|
7826
7723
|
const force = options?.force === true;
|
|
7827
7724
|
const wanted = force ? [...new Set(paths)] : paths.filter((path) => {
|
|
7828
7725
|
const cached = dataRef.current[path];
|
|
@@ -7909,10 +7806,6 @@ window.__ModuleLoader__.load({
|
|
|
7909
7806
|
const retryDir = (0, react.useCallback)((dir) => {
|
|
7910
7807
|
loadLevels([dir], { force: true });
|
|
7911
7808
|
}, [loadLevels]);
|
|
7912
|
-
/** Re-list a SET of directories in ONE batch (the parked→visible re-arm). */
|
|
7913
|
-
const retryDirs = (0, react.useCallback)((dirs) => {
|
|
7914
|
-
if (dirs.length > 0) loadLevels([...dirs], { force: true });
|
|
7915
|
-
}, [loadLevels]);
|
|
7916
7809
|
/**
|
|
7917
7810
|
* Settle the tree after one rename/delete landed at `prefix`: drop every
|
|
7918
7811
|
* cached level at or under the old path, collapse the now-stale expanded
|
|
@@ -7954,7 +7847,6 @@ window.__ModuleLoader__.load({
|
|
|
7954
7847
|
(0, react.useEffect)(() => {
|
|
7955
7848
|
if (lastTick.current === refreshTick) return;
|
|
7956
7849
|
lastTick.current = refreshTick;
|
|
7957
|
-
if (visibleRef.current === false) return;
|
|
7958
7850
|
generationRef.current += 1;
|
|
7959
7851
|
forceNextLoad.current = true;
|
|
7960
7852
|
}, [refreshTick]);
|
|
@@ -7968,7 +7860,7 @@ window.__ModuleLoader__.load({
|
|
|
7968
7860
|
}, [excludeKey]);
|
|
7969
7861
|
(0, react.useEffect)(() => {
|
|
7970
7862
|
const root = cwd;
|
|
7971
|
-
if (root === void 0
|
|
7863
|
+
if (root === void 0) return;
|
|
7972
7864
|
const force = forceNextLoad.current;
|
|
7973
7865
|
forceNextLoad.current = false;
|
|
7974
7866
|
loadLevels([root, ...expanded], { force });
|
|
@@ -7979,7 +7871,7 @@ window.__ModuleLoader__.load({
|
|
|
7979
7871
|
loadLevels
|
|
7980
7872
|
]);
|
|
7981
7873
|
(0, react.useEffect)(() => {
|
|
7982
|
-
if (cwd === void 0
|
|
7874
|
+
if (cwd === void 0) return;
|
|
7983
7875
|
loadLevels(compactLoadTargets(dataRef.current, [cwd, ...propsRef.current.expanded]));
|
|
7984
7876
|
}, [
|
|
7985
7877
|
cwd,
|
|
@@ -7994,34 +7886,22 @@ window.__ModuleLoader__.load({
|
|
|
7994
7886
|
root: cwd,
|
|
7995
7887
|
dirs: expanded,
|
|
7996
7888
|
visible: visible !== false,
|
|
7997
|
-
onStale:
|
|
7889
|
+
onStale: retryDir
|
|
7998
7890
|
});
|
|
7999
|
-
(0, react.useEffect)(() => {
|
|
8000
|
-
if (revealed.length === 0) return;
|
|
8001
|
-
setSelected(new Set(revealed));
|
|
8002
|
-
}, [revealed]);
|
|
8003
7891
|
(0, react.useEffect)(() => {
|
|
8004
7892
|
if (revealed.length === 0 || propsRef.current.hidden === true) return;
|
|
8005
7893
|
const body = bodyRef.current;
|
|
8006
7894
|
if (body === null) return;
|
|
8007
|
-
|
|
8008
|
-
|
|
8009
|
-
|
|
8010
|
-
|
|
8011
|
-
|
|
8012
|
-
|
|
8013
|
-
|
|
8014
|
-
|
|
8015
|
-
|
|
8016
|
-
|
|
8017
|
-
const max = Math.max(body.scrollHeight - body.clientHeight, 0);
|
|
8018
|
-
body.scrollTo({
|
|
8019
|
-
top: Math.min(Math.max(target, 0), max),
|
|
8020
|
-
behavior: "auto"
|
|
8021
|
-
});
|
|
8022
|
-
};
|
|
8023
|
-
run();
|
|
8024
|
-
return () => window.cancelAnimationFrame(frame);
|
|
7895
|
+
const row = body.querySelector("[data-dsh-revealed]");
|
|
7896
|
+
if (row === null) return;
|
|
7897
|
+
const bodyTop = body.getBoundingClientRect().top;
|
|
7898
|
+
const rowRect = row.getBoundingClientRect();
|
|
7899
|
+
const target = body.scrollTop + (rowRect.top + rowRect.height / 2) - (bodyTop + body.clientHeight / 2);
|
|
7900
|
+
const max = Math.max(body.scrollHeight - body.clientHeight, 0);
|
|
7901
|
+
body.scrollTo({
|
|
7902
|
+
top: Math.min(Math.max(target, 0), max),
|
|
7903
|
+
behavior: "smooth"
|
|
7904
|
+
});
|
|
8025
7905
|
}, [revealed, data]);
|
|
8026
7906
|
/** Copy `text`; on success flip the row's copied label for a moment. */
|
|
8027
7907
|
const copyPath = (0, react.useCallback)((text, path) => {
|
|
@@ -8442,23 +8322,14 @@ window.__ModuleLoader__.load({
|
|
|
8442
8322
|
});
|
|
8443
8323
|
}, [reportOpenFailure]);
|
|
8444
8324
|
const revealPath = (0, react.useCallback)((path) => {
|
|
8445
|
-
|
|
8446
|
-
|
|
8447
|
-
|
|
8448
|
-
if (
|
|
8449
|
-
|
|
8450
|
-
|
|
8451
|
-
const bodyTop = body.getBoundingClientRect().top;
|
|
8452
|
-
const rowRect = row.getBoundingClientRect();
|
|
8453
|
-
const target = body.scrollTop + (rowRect.top + rowRect.height / 2) - (bodyTop + body.clientHeight / 2);
|
|
8454
|
-
const max = Math.max(body.scrollHeight - body.clientHeight, 0);
|
|
8455
|
-
body.scrollTo({
|
|
8456
|
-
top: Math.min(Math.max(target, 0), max),
|
|
8457
|
-
behavior: "auto"
|
|
8458
|
-
});
|
|
8325
|
+
const handle = propsRef.current.openInApp;
|
|
8326
|
+
if (handle === void 0) return;
|
|
8327
|
+
handle.reveal(path).then((ok) => {
|
|
8328
|
+
if (!ok) reportOpenFailure(path);
|
|
8329
|
+
}).catch(() => {
|
|
8330
|
+
reportOpenFailure(path);
|
|
8459
8331
|
});
|
|
8460
|
-
}, []);
|
|
8461
|
-
(0, react.useEffect)(() => revealBus.subscribe(revealPath), [revealPath]);
|
|
8332
|
+
}, [reportOpenFailure]);
|
|
8462
8333
|
/** The menu label of one plugin open target: a locale key for the built-ins,
|
|
8463
8334
|
* the user's own name for custom editors, plus the SSH hint in remote mode. */
|
|
8464
8335
|
const openWithLabelOf = (target) => {
|
|
@@ -8627,42 +8498,9 @@ window.__ModuleLoader__.load({
|
|
|
8627
8498
|
id: "archive-selection",
|
|
8628
8499
|
label: t("zipDownload"),
|
|
8629
8500
|
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconArchiveOutlineRegular, { size: 14 })
|
|
8630
|
-
}];
|
|
8631
|
-
return [];
|
|
8632
|
-
};
|
|
8633
|
-
/**
|
|
8634
|
-
* The caller's appended rows, as menu entries.
|
|
8635
|
-
*
|
|
8636
|
-
* `relPath` is resolved here rather than in the caller: the tree is the only
|
|
8637
|
-
* party that knows `cwd`, and the spelling has to match the "copy relative
|
|
8638
|
-
* path" row the user already reads in this same menu. An entry outside the
|
|
8639
|
-
* tree (or a tree with no `cwd`) passes through `relativeTo` unchanged,
|
|
8640
|
-
* which is also what that native row does.
|
|
8641
|
-
*
|
|
8642
|
-
* The group's separator is prepended only when at least one row survives
|
|
8643
|
-
* `when`, so a caller whose rows do not apply to this entry leaves the menu
|
|
8644
|
-
* exactly as it was — no stray hairline at the bottom.
|
|
8645
|
-
*/
|
|
8646
|
-
const extraRows = (() => {
|
|
8647
|
-
const target = rowMenu;
|
|
8648
|
-
const items = props.extraMenuItems;
|
|
8649
|
-
if (target === null || items === void 0 || items.length === 0) return [];
|
|
8650
|
-
if (items.some((item) => NATIVE_MENU_IDS.has(item.id))) return [];
|
|
8651
|
-
const hit = {
|
|
8652
|
-
relPath: relativeTo(cwd ?? "", target.path),
|
|
8653
|
-
isDir: target.isDir
|
|
8654
|
-
};
|
|
8655
|
-
const rows = items.filter((item) => item.when === void 0 || item.when(hit)).map((item) => ({
|
|
8656
|
-
id: item.id,
|
|
8657
|
-
label: item.label,
|
|
8658
|
-
...item.icon === void 0 ? {} : { icon: item.icon }
|
|
8659
|
-
}));
|
|
8660
|
-
if (rows.length === 0) return [];
|
|
8661
|
-
return [{
|
|
8662
|
-
id: "extra-items-sep",
|
|
8663
|
-
type: "separator"
|
|
8664
|
-
}, ...rows];
|
|
8665
|
-
})();
|
|
8501
|
+
}];
|
|
8502
|
+
return [];
|
|
8503
|
+
};
|
|
8666
8504
|
/** Download a file through the host route (raw bytes, binary-safe). */
|
|
8667
8505
|
const downloadFile = (path) => {
|
|
8668
8506
|
const url = downloadUrl({
|
|
@@ -8858,14 +8696,6 @@ window.__ModuleLoader__.load({
|
|
|
8858
8696
|
const needle = normaliseNeedle$1(nameFilter ?? "");
|
|
8859
8697
|
const entriesFor = (0, react.useMemo)(() => {
|
|
8860
8698
|
const cache = /* @__PURE__ */ new Map();
|
|
8861
|
-
/**
|
|
8862
|
-
* Every loaded level as a `children` map for the filter.
|
|
8863
|
-
*
|
|
8864
|
-
* Built from the level cache rather than from what is on screen: the filter has to see
|
|
8865
|
-
* the children of a COLLAPSED folder to know whether it should stay visible. Unloaded
|
|
8866
|
-
* levels are simply absent, which the rule set treats as "judge this row by its own
|
|
8867
|
-
* name" -- the same answer the reader would get after expanding it.
|
|
8868
|
-
*/
|
|
8869
8699
|
/** The loaded children of one directory row, for the filter's descent. */
|
|
8870
8700
|
const childrenOf = (entry) => {
|
|
8871
8701
|
if (!entry.isDir) return void 0;
|
|
@@ -8887,7 +8717,7 @@ window.__ModuleLoader__.load({
|
|
|
8887
8717
|
}, [
|
|
8888
8718
|
data,
|
|
8889
8719
|
sort,
|
|
8890
|
-
|
|
8720
|
+
needle
|
|
8891
8721
|
]);
|
|
8892
8722
|
visibleRowsRef.current = (0, react.useMemo)(() => {
|
|
8893
8723
|
const rows = [];
|
|
@@ -8937,7 +8767,7 @@ window.__ModuleLoader__.load({
|
|
|
8937
8767
|
const renderRenameRow = (entry, depth) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
8938
8768
|
className: clsx(sidebar_module_css_default.explorerRow, sidebar_module_css_default.explorerRenaming),
|
|
8939
8769
|
style: { paddingLeft: depth * 22 + 6 },
|
|
8940
|
-
children: [entry.isDir ? dirRowIcon(entry.path, expandedSet.has(entry.path)) : service !== void 0 ? service.fileIcon(entry.path, 14) : builtinFileIcon(entry.path, 14), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
8770
|
+
children: [entry.isDir ? dirRowIcon(entry.path, expandedSet.has(entry.path)) : service !== void 0 ? service.fileIcon(entry.path, 14) : builtinFileIcon$1(entry.path, 14), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
8941
8771
|
ref: renameInputRef,
|
|
8942
8772
|
className: sidebar_module_css_default.explorerRenameInput,
|
|
8943
8773
|
value: renaming?.value ?? "",
|
|
@@ -9011,7 +8841,7 @@ window.__ModuleLoader__.load({
|
|
|
9011
8841
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
9012
8842
|
className: clsx(sidebar_module_css_default.explorerRow, sidebar_module_css_default.explorerRenaming),
|
|
9013
8843
|
style: { paddingLeft: depth * 22 + 6 },
|
|
9014
|
-
children: [service !== void 0 ? service.fileIcon(probe, 14) : builtinFileIcon(probe, 14), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
8844
|
+
children: [service !== void 0 ? service.fileIcon(probe, 14) : builtinFileIcon$1(probe, 14), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
9015
8845
|
ref: renameInputRef,
|
|
9016
8846
|
className: sidebar_module_css_default.explorerRenameInput,
|
|
9017
8847
|
value: newFile?.value ?? "",
|
|
@@ -9054,14 +8884,8 @@ window.__ModuleLoader__.load({
|
|
|
9054
8884
|
children: level.error
|
|
9055
8885
|
})] });
|
|
9056
8886
|
const entries = entriesFor(dir);
|
|
9057
|
-
const emptyFromFilter = needle !== "" && entries.length === 0 && level.entries !== void 0 && level.entries.length > 0;
|
|
9058
8887
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
9059
8888
|
head,
|
|
9060
|
-
emptyFromFilter && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
9061
|
-
className: clsx(sidebar_module_css_default.explorerRow, sidebar_module_css_default.explorerMuted),
|
|
9062
|
-
style: { paddingLeft: depth * 22 + 6 },
|
|
9063
|
-
children: t("filterNoMatch")
|
|
9064
|
-
}),
|
|
9065
8889
|
entries.map((entry) => {
|
|
9066
8890
|
const chain = entry.isDir ? chainFor(entry) : void 0;
|
|
9067
8891
|
if (renaming !== null && (renaming.path === entry.path || chain?.some((link) => link.path === renaming.path) === true)) return renderRenameRow(entry, depth);
|
|
@@ -9080,8 +8904,7 @@ window.__ModuleLoader__.load({
|
|
|
9080
8904
|
dropTarget: dropTarget === tail.path,
|
|
9081
8905
|
gitChanged: gitStatus.dirHasChanges(entry.path),
|
|
9082
8906
|
copied: copiedPath === entry.path,
|
|
9083
|
-
actions
|
|
9084
|
-
dirLabel: propsRef.current.dirLabel
|
|
8907
|
+
actions
|
|
9085
8908
|
}), isOpen && renderLevel(tail.path, depth + 1)] }, entry.path);
|
|
9086
8909
|
}
|
|
9087
8910
|
const git = gitStatus.statusOf(entry.path);
|
|
@@ -9150,7 +8973,7 @@ window.__ModuleLoader__.load({
|
|
|
9150
8973
|
role: "status",
|
|
9151
8974
|
children: t("loading")
|
|
9152
8975
|
}),
|
|
9153
|
-
|
|
8976
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(RootRow, {
|
|
9154
8977
|
path: root,
|
|
9155
8978
|
iconsVersion,
|
|
9156
8979
|
service,
|
|
@@ -9159,8 +8982,8 @@ window.__ModuleLoader__.load({
|
|
|
9159
8982
|
copied: copiedPath === root,
|
|
9160
8983
|
actions
|
|
9161
8984
|
}),
|
|
9162
|
-
renderLevel(root,
|
|
9163
|
-
selected.size > 0 &&
|
|
8985
|
+
renderLevel(root, 1),
|
|
8986
|
+
selected.size > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
9164
8987
|
className: sidebar_module_css_default.explorerSelectionBar,
|
|
9165
8988
|
role: "toolbar",
|
|
9166
8989
|
"aria-label": t("filesSelected", { count: selected.size }),
|
|
@@ -9295,8 +9118,7 @@ window.__ModuleLoader__.load({
|
|
|
9295
9118
|
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconTrashOutlineRegular, { size: 14 }),
|
|
9296
9119
|
danger: true
|
|
9297
9120
|
}
|
|
9298
|
-
] : []
|
|
9299
|
-
...extraRows
|
|
9121
|
+
] : []
|
|
9300
9122
|
],
|
|
9301
9123
|
onSelect: (id) => {
|
|
9302
9124
|
const target = rowMenu;
|
|
@@ -9370,25 +9192,13 @@ window.__ModuleLoader__.load({
|
|
|
9370
9192
|
});
|
|
9371
9193
|
return;
|
|
9372
9194
|
}
|
|
9373
|
-
const extra = propsRef.current.extraMenuItems?.find((item) => item.id === id);
|
|
9374
|
-
if (extra !== void 0) {
|
|
9375
|
-
extra.onSelect({
|
|
9376
|
-
relPath: relativeTo(cwd ?? "", target.path),
|
|
9377
|
-
isDir: target.isDir
|
|
9378
|
-
});
|
|
9379
|
-
return;
|
|
9380
|
-
}
|
|
9381
9195
|
copyPath(id === "relative" ? relativeTo(cwd ?? "", target.path) : target.path, target.path);
|
|
9382
9196
|
},
|
|
9383
9197
|
portal: true,
|
|
9384
9198
|
compact: true,
|
|
9385
9199
|
align: "start",
|
|
9386
9200
|
getAnchorRect: () => rowMenu === null ? null : new DOMRect(rowMenu.x, rowMenu.y, 0, 0),
|
|
9387
|
-
anchor: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {})
|
|
9388
|
-
...rowMenu === null ? {} : { anchorPoint: {
|
|
9389
|
-
x: rowMenu.x,
|
|
9390
|
-
y: rowMenu.y
|
|
9391
|
-
} }
|
|
9201
|
+
anchor: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {})
|
|
9392
9202
|
}),
|
|
9393
9203
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(ConfirmDialog, {
|
|
9394
9204
|
open: confirmDelete !== null,
|
|
@@ -10273,7 +10083,7 @@ window.__ModuleLoader__.load({
|
|
|
10273
10083
|
vectorCoverage: "Embedded {embedded} / {total} chunks; failed {failed}.",
|
|
10274
10084
|
vectorProgress: "Vectorizing {done} / {total} documents...",
|
|
10275
10085
|
vectorRebuild: "Rebuild vector index",
|
|
10276
|
-
vectorRebuildHint: "Whole-library rebuild; asks for confirmation. Use
|
|
10086
|
+
vectorRebuildHint: "Whole-library rebuild; asks for confirmation. Use the knowledge-base skill vectorize flow for one document or directory.",
|
|
10277
10087
|
vectorRebuildConfirm: "Rebuild vectors for the whole knowledge base? This calls the embedding provider for every current chunk.",
|
|
10278
10088
|
vectorBadNumber: "Vector settings contain an invalid number.",
|
|
10279
10089
|
settingsMineruExplicit: "Currently using the address above.",
|
|
@@ -11039,7 +10849,7 @@ window.__ModuleLoader__.load({
|
|
|
11039
10849
|
vectorCoverage: "已嵌入 {embedded} / {total} chunks;失败 {failed}。",
|
|
11040
10850
|
vectorProgress: "正在向量化 {done} / {total} 篇文档…",
|
|
11041
10851
|
vectorRebuild: "重建向量索引",
|
|
11042
|
-
vectorRebuildHint: "全库重建,会要求确认;单篇/目录请用
|
|
10852
|
+
vectorRebuildHint: "全库重建,会要求确认;单篇/目录请用 knowledge-base 技能的向量化流程。",
|
|
11043
10853
|
vectorRebuildConfirm: "确认对整个知识库重建向量索引?这会为当前所有 chunk 调用 embedding provider。",
|
|
11044
10854
|
vectorBadNumber: "向量设置中有非法数字。",
|
|
11045
10855
|
settingsMineruExplicit: "当前使用上面填写的地址。",
|
|
@@ -12812,21 +12622,21 @@ window.__ModuleLoader__.load({
|
|
|
12812
12622
|
document.head.appendChild(tag);
|
|
12813
12623
|
}
|
|
12814
12624
|
var KnowledgeShareDialog_module_css_default = {
|
|
12815
|
-
"
|
|
12816
|
-
"
|
|
12817
|
-
"
|
|
12625
|
+
"optionLabel": "nw--rq_optionLabel",
|
|
12626
|
+
"notice": "nw--rq_notice",
|
|
12627
|
+
"chosen": "nw--rq_chosen",
|
|
12818
12628
|
"body": "nw--rq_body",
|
|
12629
|
+
"chosenLabel": "nw--rq_chosenLabel",
|
|
12819
12630
|
"intro": "nw--rq_intro",
|
|
12631
|
+
"content": "nw--rq_content",
|
|
12820
12632
|
"state": "nw--rq_state",
|
|
12821
|
-
"hint": "nw--rq_hint",
|
|
12822
12633
|
"field": "nw--rq_field",
|
|
12823
|
-
"list": "nw--rq_list",
|
|
12824
|
-
"optionLabel": "nw--rq_optionLabel",
|
|
12825
|
-
"chosen": "nw--rq_chosen",
|
|
12826
12634
|
"optionDetail": "nw--rq_optionDetail",
|
|
12827
|
-
"
|
|
12635
|
+
"hint": "nw--rq_hint",
|
|
12636
|
+
"fieldLabel": "nw--rq_fieldLabel",
|
|
12637
|
+
"list": "nw--rq_list",
|
|
12828
12638
|
"dialog": "nw--rq_dialog",
|
|
12829
|
-
"
|
|
12639
|
+
"option": "nw--rq_option"
|
|
12830
12640
|
};
|
|
12831
12641
|
//#endregion
|
|
12832
12642
|
//#region src/client/KnowledgeShareDialog.tsx
|
|
@@ -15208,46 +15018,46 @@ window.__ModuleLoader__.load({
|
|
|
15208
15018
|
document.head.appendChild(tag);
|
|
15209
15019
|
}
|
|
15210
15020
|
var KnowledgePermissions_module_css_default = {
|
|
15021
|
+
"principalMeta": "W1jiya_principalMeta",
|
|
15022
|
+
"holder": "W1jiya_holder",
|
|
15023
|
+
"statCard": "W1jiya_statCard",
|
|
15024
|
+
"pathCell": "W1jiya_pathCell",
|
|
15025
|
+
"paths": "W1jiya_paths",
|
|
15026
|
+
"actions": "W1jiya_actions",
|
|
15027
|
+
"pageTitle": "W1jiya_pageTitle",
|
|
15211
15028
|
"chips": "W1jiya_chips",
|
|
15029
|
+
"principalId": "W1jiya_principalId",
|
|
15030
|
+
"rowActions": "W1jiya_rowActions",
|
|
15031
|
+
"table": "W1jiya_table",
|
|
15032
|
+
"pager": "W1jiya_pager",
|
|
15212
15033
|
"statLabel": "W1jiya_statLabel",
|
|
15213
|
-
"
|
|
15214
|
-
"
|
|
15034
|
+
"principalName": "W1jiya_principalName",
|
|
15035
|
+
"dialogForm": "W1jiya_dialogForm",
|
|
15036
|
+
"statValue": "W1jiya_statValue",
|
|
15037
|
+
"statRow": "W1jiya_statRow",
|
|
15038
|
+
"pageHint": "W1jiya_pageHint",
|
|
15215
15039
|
"dialogSelect": "W1jiya_dialogSelect",
|
|
15040
|
+
"sourceHint": "W1jiya_sourceHint",
|
|
15041
|
+
"overview": "W1jiya_overview",
|
|
15216
15042
|
"emptyRow": "W1jiya_emptyRow",
|
|
15217
|
-
"tabs": "W1jiya_tabs",
|
|
15218
|
-
"path": "W1jiya_path",
|
|
15219
|
-
"principalId": "W1jiya_principalId",
|
|
15220
|
-
"countCell": "W1jiya_countCell",
|
|
15221
15043
|
"partialMark": "W1jiya_partialMark",
|
|
15222
|
-
"
|
|
15223
|
-
"
|
|
15224
|
-
"
|
|
15225
|
-
"
|
|
15226
|
-
"statValue": "W1jiya_statValue",
|
|
15227
|
-
"dialogNotice": "W1jiya_dialogNotice",
|
|
15228
|
-
"statRow": "W1jiya_statRow",
|
|
15229
|
-
"holder": "W1jiya_holder",
|
|
15044
|
+
"path": "W1jiya_path",
|
|
15045
|
+
"holderName": "W1jiya_holderName",
|
|
15046
|
+
"holderKind": "W1jiya_holderKind",
|
|
15047
|
+
"pageSize": "W1jiya_pageSize",
|
|
15230
15048
|
"pagerStatus": "W1jiya_pagerStatus",
|
|
15231
|
-
"pageTitle": "W1jiya_pageTitle",
|
|
15232
|
-
"linkButton": "W1jiya_linkButton",
|
|
15233
|
-
"pager": "W1jiya_pager",
|
|
15234
|
-
"statCard": "W1jiya_statCard",
|
|
15235
|
-
"table": "W1jiya_table",
|
|
15236
|
-
"pageHint": "W1jiya_pageHint",
|
|
15237
|
-
"overviewEmpty": "W1jiya_overviewEmpty",
|
|
15238
15049
|
"dialogField": "W1jiya_dialogField",
|
|
15239
|
-
"rowActions": "W1jiya_rowActions",
|
|
15240
|
-
"holders": "W1jiya_holders",
|
|
15241
|
-
"principalMeta": "W1jiya_principalMeta",
|
|
15242
|
-
"pageSize": "W1jiya_pageSize",
|
|
15243
|
-
"principalName": "W1jiya_principalName",
|
|
15244
|
-
"holderKind": "W1jiya_holderKind",
|
|
15245
|
-
"dialogForm": "W1jiya_dialogForm",
|
|
15246
|
-
"holderName": "W1jiya_holderName",
|
|
15247
15050
|
"placeholder": "W1jiya_placeholder",
|
|
15051
|
+
"holders": "W1jiya_holders",
|
|
15052
|
+
"actionCell": "W1jiya_actionCell",
|
|
15248
15053
|
"emptyNote": "W1jiya_emptyNote",
|
|
15249
|
-
"
|
|
15250
|
-
"
|
|
15054
|
+
"dialogNotice": "W1jiya_dialogNotice",
|
|
15055
|
+
"tabs": "W1jiya_tabs",
|
|
15056
|
+
"overviewEmpty": "W1jiya_overviewEmpty",
|
|
15057
|
+
"countCell": "W1jiya_countCell",
|
|
15058
|
+
"pageHead": "W1jiya_pageHead",
|
|
15059
|
+
"sourceCell": "W1jiya_sourceCell",
|
|
15060
|
+
"linkButton": "W1jiya_linkButton"
|
|
15251
15061
|
};
|
|
15252
15062
|
//#endregion
|
|
15253
15063
|
//#region src/client/KnowledgeTrash.tsx
|
|
@@ -15567,14 +15377,14 @@ window.__ModuleLoader__.load({
|
|
|
15567
15377
|
document.head.appendChild(tag);
|
|
15568
15378
|
}
|
|
15569
15379
|
var KnowledgeAudit_module_css_default = {
|
|
15570
|
-
"pathCell": "_0xqcPG_pathCell",
|
|
15571
15380
|
"audit": "_0xqcPG_audit",
|
|
15572
|
-
"pager": "_0xqcPG_pager",
|
|
15573
15381
|
"pagerTotal": "_0xqcPG_pagerTotal",
|
|
15574
15382
|
"pagerPosition": "_0xqcPG_pagerPosition",
|
|
15575
15383
|
"pagerSize": "_0xqcPG_pagerSize",
|
|
15384
|
+
"tabs": "_0xqcPG_tabs",
|
|
15385
|
+
"pathCell": "_0xqcPG_pathCell",
|
|
15576
15386
|
"pagerSizeLabel": "_0xqcPG_pagerSizeLabel",
|
|
15577
|
-
"
|
|
15387
|
+
"pager": "_0xqcPG_pager"
|
|
15578
15388
|
};
|
|
15579
15389
|
//#endregion
|
|
15580
15390
|
//#region src/client/KnowledgeAudit.tsx
|
|
@@ -16142,65 +15952,65 @@ window.__ModuleLoader__.load({
|
|
|
16142
15952
|
document.head.appendChild(tag);
|
|
16143
15953
|
}
|
|
16144
15954
|
var KnowledgeMemory_module_css_default = {
|
|
16145
|
-
"
|
|
16146
|
-
"
|
|
16147
|
-
"detailLabel": "_2H9JWq_detailLabel",
|
|
16148
|
-
"intervalSaved": "_2H9JWq_intervalSaved",
|
|
16149
|
-
"promotionNotice": "_2H9JWq_promotionNotice",
|
|
16150
|
-
"tableWrap": "_2H9JWq_tableWrap",
|
|
16151
|
-
"notice": "_2H9JWq_notice",
|
|
16152
|
-
"search": "_2H9JWq_search",
|
|
16153
|
-
"sourceLabel": "_2H9JWq_sourceLabel",
|
|
16154
|
-
"textarea": "_2H9JWq_textarea",
|
|
16155
|
-
"title": "_2H9JWq_title",
|
|
16156
|
-
"promotionMemory": "_2H9JWq_promotionMemory",
|
|
16157
|
-
"promotionConfirm": "_2H9JWq_promotionConfirm",
|
|
16158
|
-
"evidence": "_2H9JWq_evidence",
|
|
16159
|
-
"detailBody": "_2H9JWq_detailBody",
|
|
16160
|
-
"intervalInput": "_2H9JWq_intervalInput",
|
|
16161
|
-
"switchState": "_2H9JWq_switchState",
|
|
15955
|
+
"intervalHint": "_2H9JWq_intervalHint",
|
|
15956
|
+
"sourceTime": "_2H9JWq_sourceTime",
|
|
16162
15957
|
"promotionChip": "_2H9JWq_promotionChip",
|
|
15958
|
+
"evidence": "_2H9JWq_evidence",
|
|
15959
|
+
"toolbar": "_2H9JWq_toolbar",
|
|
15960
|
+
"privacyChip": "_2H9JWq_privacyChip",
|
|
15961
|
+
"header": "_2H9JWq_header",
|
|
15962
|
+
"actionsCell": "_2H9JWq_actionsCell",
|
|
15963
|
+
"switchGroup": "_2H9JWq_switchGroup",
|
|
16163
15964
|
"promotionSection": "_2H9JWq_promotionSection",
|
|
16164
|
-
"
|
|
15965
|
+
"noticeRow": "_2H9JWq_noticeRow",
|
|
15966
|
+
"select": "_2H9JWq_select",
|
|
15967
|
+
"promotionConfirm": "_2H9JWq_promotionConfirm",
|
|
15968
|
+
"intervalUnit": "_2H9JWq_intervalUnit",
|
|
15969
|
+
"sectionHint": "_2H9JWq_sectionHint",
|
|
15970
|
+
"intervalInput": "_2H9JWq_intervalInput",
|
|
15971
|
+
"textarea": "_2H9JWq_textarea",
|
|
15972
|
+
"empty": "_2H9JWq_empty",
|
|
16165
15973
|
"intervalControls": "_2H9JWq_intervalControls",
|
|
16166
|
-
"detailContent": "_2H9JWq_detailContent",
|
|
16167
15974
|
"timeCell": "_2H9JWq_timeCell",
|
|
16168
|
-
"
|
|
16169
|
-
"promotionForm": "_2H9JWq_promotionForm",
|
|
16170
|
-
"intervalCopy": "_2H9JWq_intervalCopy",
|
|
16171
|
-
"actionsHead": "_2H9JWq_actionsHead",
|
|
16172
|
-
"emptyTitle": "_2H9JWq_emptyTitle",
|
|
16173
|
-
"footer": "_2H9JWq_footer",
|
|
15975
|
+
"intervalError": "_2H9JWq_intervalError",
|
|
16174
15976
|
"reviewContent": "_2H9JWq_reviewContent",
|
|
16175
|
-
"
|
|
16176
|
-
"
|
|
16177
|
-
"
|
|
16178
|
-
"
|
|
16179
|
-
"
|
|
15977
|
+
"footer": "_2H9JWq_footer",
|
|
15978
|
+
"detailContent": "_2H9JWq_detailContent",
|
|
15979
|
+
"intervalLabel": "_2H9JWq_intervalLabel",
|
|
15980
|
+
"intervalSaved": "_2H9JWq_intervalSaved",
|
|
15981
|
+
"detailMeta": "_2H9JWq_detailMeta",
|
|
15982
|
+
"hint": "_2H9JWq_hint",
|
|
15983
|
+
"emptyTitle": "_2H9JWq_emptyTitle",
|
|
16180
15984
|
"memoryTitle": "_2H9JWq_memoryTitle",
|
|
16181
|
-
"
|
|
15985
|
+
"table": "_2H9JWq_table",
|
|
15986
|
+
"errorDetail": "_2H9JWq_errorDetail",
|
|
15987
|
+
"switchState": "_2H9JWq_switchState",
|
|
15988
|
+
"sourceList": "_2H9JWq_sourceList",
|
|
15989
|
+
"heading": "_2H9JWq_heading",
|
|
16182
15990
|
"emptyBody": "_2H9JWq_emptyBody",
|
|
16183
|
-
"sectionHint": "_2H9JWq_sectionHint",
|
|
16184
|
-
"intervalHint": "_2H9JWq_intervalHint",
|
|
16185
|
-
"detailMeta": "_2H9JWq_detailMeta",
|
|
16186
15991
|
"intervalRow": "_2H9JWq_intervalRow",
|
|
16187
|
-
"switchGroup": "_2H9JWq_switchGroup",
|
|
16188
|
-
"intervalLabel": "_2H9JWq_intervalLabel",
|
|
16189
|
-
"intervalError": "_2H9JWq_intervalError",
|
|
16190
|
-
"toolbar": "_2H9JWq_toolbar",
|
|
16191
15992
|
"typeChip": "_2H9JWq_typeChip",
|
|
16192
|
-
"
|
|
16193
|
-
"privacyChip": "_2H9JWq_privacyChip",
|
|
16194
|
-
"empty": "_2H9JWq_empty",
|
|
15993
|
+
"actionsHead": "_2H9JWq_actionsHead",
|
|
16195
15994
|
"state": "_2H9JWq_state",
|
|
16196
|
-
"
|
|
16197
|
-
"
|
|
16198
|
-
"
|
|
16199
|
-
"
|
|
16200
|
-
"memoryCell": "_2H9JWq_memoryCell",
|
|
15995
|
+
"detailBody": "_2H9JWq_detailBody",
|
|
15996
|
+
"detailLabel": "_2H9JWq_detailLabel",
|
|
15997
|
+
"sourceLabel": "_2H9JWq_sourceLabel",
|
|
15998
|
+
"notice": "_2H9JWq_notice",
|
|
16201
15999
|
"sourceMore": "_2H9JWq_sourceMore",
|
|
16202
|
-
"
|
|
16203
|
-
"
|
|
16000
|
+
"pausedNotice": "_2H9JWq_pausedNotice",
|
|
16001
|
+
"promotionForm": "_2H9JWq_promotionForm",
|
|
16002
|
+
"error": "_2H9JWq_error",
|
|
16003
|
+
"sectionTitle": "_2H9JWq_sectionTitle",
|
|
16004
|
+
"title": "_2H9JWq_title",
|
|
16005
|
+
"intervalCopy": "_2H9JWq_intervalCopy",
|
|
16006
|
+
"search": "_2H9JWq_search",
|
|
16007
|
+
"tableWrap": "_2H9JWq_tableWrap",
|
|
16008
|
+
"promotionMemory": "_2H9JWq_promotionMemory",
|
|
16009
|
+
"promotionNotice": "_2H9JWq_promotionNotice",
|
|
16010
|
+
"rowActions": "_2H9JWq_rowActions",
|
|
16011
|
+
"selfApprovalHint": "_2H9JWq_selfApprovalHint",
|
|
16012
|
+
"page": "_2H9JWq_page",
|
|
16013
|
+
"memoryCell": "_2H9JWq_memoryCell"
|
|
16204
16014
|
};
|
|
16205
16015
|
//#endregion
|
|
16206
16016
|
//#region src/client/KnowledgeMemory.tsx
|
|
@@ -17678,31 +17488,31 @@ window.__ModuleLoader__.load({
|
|
|
17678
17488
|
document.head.appendChild(tag);
|
|
17679
17489
|
}
|
|
17680
17490
|
var KnowledgeListing_module_css_default = {
|
|
17681
|
-
"emptyAction": "_95AMVa_emptyAction",
|
|
17682
|
-
"cardName": "_95AMVa_cardName",
|
|
17683
|
-
"entryDir": "_95AMVa_entryDir",
|
|
17684
|
-
"pinDropZone": "_95AMVa_pinDropZone",
|
|
17685
|
-
"entryTime": "_95AMVa_entryTime",
|
|
17686
17491
|
"cardItem": "_95AMVa_cardItem",
|
|
17687
|
-
"cards": "_95AMVa_cards",
|
|
17688
|
-
"emptyGlyph": "_95AMVa_emptyGlyph",
|
|
17689
|
-
"cardTime": "_95AMVa_cardTime",
|
|
17690
|
-
"entryRef": "_95AMVa_entryRef",
|
|
17691
17492
|
"entryFavorite": "_95AMVa_entryFavorite",
|
|
17692
|
-
"
|
|
17693
|
-
"cardGlyph": "_95AMVa_cardGlyph",
|
|
17694
|
-
"entryPin": "_95AMVa_entryPin",
|
|
17493
|
+
"cardDir": "_95AMVa_cardDir",
|
|
17695
17494
|
"entryChildren": "_95AMVa_entryChildren",
|
|
17696
|
-
"
|
|
17697
|
-
"
|
|
17495
|
+
"cardTime": "_95AMVa_cardTime",
|
|
17496
|
+
"card": "_95AMVa_card",
|
|
17497
|
+
"entryDir": "_95AMVa_entryDir",
|
|
17498
|
+
"emptyAction": "_95AMVa_emptyAction",
|
|
17499
|
+
"entry": "_95AMVa_entry",
|
|
17500
|
+
"entryCheck": "_95AMVa_entryCheck",
|
|
17698
17501
|
"kb-row-in": "_95AMVa_kb-row-in",
|
|
17699
|
-
"
|
|
17502
|
+
"entryRef": "_95AMVa_entryRef",
|
|
17503
|
+
"cardName": "_95AMVa_cardName",
|
|
17700
17504
|
"emptyTitle": "_95AMVa_emptyTitle",
|
|
17701
|
-
"
|
|
17702
|
-
"
|
|
17505
|
+
"cardGlyph": "_95AMVa_cardGlyph",
|
|
17506
|
+
"emptyGlyph": "_95AMVa_emptyGlyph",
|
|
17507
|
+
"entryGlyph": "_95AMVa_entryGlyph",
|
|
17508
|
+
"empty": "_95AMVa_empty",
|
|
17703
17509
|
"cardMeta": "_95AMVa_cardMeta",
|
|
17704
|
-
"
|
|
17705
|
-
"
|
|
17510
|
+
"entryName": "_95AMVa_entryName",
|
|
17511
|
+
"pinDropZone": "_95AMVa_pinDropZone",
|
|
17512
|
+
"entryPin": "_95AMVa_entryPin",
|
|
17513
|
+
"cards": "_95AMVa_cards",
|
|
17514
|
+
"entryTime": "_95AMVa_entryTime",
|
|
17515
|
+
"entries": "_95AMVa_entries"
|
|
17706
17516
|
};
|
|
17707
17517
|
//#endregion
|
|
17708
17518
|
//#region src/client/listingFilter.ts
|
|
@@ -18347,42 +18157,42 @@ window.__ModuleLoader__.load({
|
|
|
18347
18157
|
document.head.appendChild(tag);
|
|
18348
18158
|
}
|
|
18349
18159
|
var KnowledgeProgressPopover_module_css_default = {
|
|
18350
|
-
"
|
|
18351
|
-
"
|
|
18352
|
-
"
|
|
18160
|
+
"progressRow": "x_PPca_progressRow",
|
|
18161
|
+
"summaryItem": "x_PPca_summaryItem",
|
|
18162
|
+
"dialogTitle": "x_PPca_dialogTitle",
|
|
18163
|
+
"summaryLabel": "x_PPca_summaryLabel",
|
|
18164
|
+
"cardRow": "x_PPca_cardRow",
|
|
18165
|
+
"dialogClose": "x_PPca_dialogClose",
|
|
18166
|
+
"progressTrack": "x_PPca_progressTrack",
|
|
18167
|
+
"progressPercent": "x_PPca_progressPercent",
|
|
18168
|
+
"cardReason": "x_PPca_cardReason",
|
|
18353
18169
|
"badge": "x_PPca_badge",
|
|
18354
|
-
"
|
|
18355
|
-
"cardActions": "x_PPca_cardActions",
|
|
18356
|
-
"badgeFailed": "x_PPca_badgeFailed",
|
|
18357
|
-
"dialogContent": "x_PPca_dialogContent",
|
|
18358
|
-
"group": "x_PPca_group",
|
|
18170
|
+
"summary": "x_PPca_summary",
|
|
18359
18171
|
"empty": "x_PPca_empty",
|
|
18360
|
-
"
|
|
18361
|
-
"
|
|
18362
|
-
"badgeBusy": "x_PPca_badgeBusy",
|
|
18363
|
-
"list": "x_PPca_list",
|
|
18172
|
+
"summaryValue": "x_PPca_summaryValue",
|
|
18173
|
+
"dialogHead": "x_PPca_dialogHead",
|
|
18364
18174
|
"titleRatio": "x_PPca_titleRatio",
|
|
18175
|
+
"dialogShell": "x_PPca_dialogShell",
|
|
18176
|
+
"list": "x_PPca_list",
|
|
18177
|
+
"badgeFailed": "x_PPca_badgeFailed",
|
|
18178
|
+
"dialog": "x_PPca_dialog",
|
|
18365
18179
|
"bell": "x_PPca_bell",
|
|
18366
|
-
"progressTrack": "x_PPca_progressTrack",
|
|
18367
|
-
"progressFillIndeterminate": "x_PPca_progressFillIndeterminate",
|
|
18368
|
-
"cardRow": "x_PPca_cardRow",
|
|
18369
|
-
"progressRow": "x_PPca_progressRow",
|
|
18370
|
-
"cardPath": "x_PPca_cardPath",
|
|
18371
|
-
"cardRawReason": "x_PPca_cardRawReason",
|
|
18372
|
-
"summaryValue": "x_PPca_summaryValue",
|
|
18373
|
-
"progressFillFailed": "x_PPca_progressFillFailed",
|
|
18374
|
-
"progressPercent": "x_PPca_progressPercent",
|
|
18375
18180
|
"footer": "x_PPca_footer",
|
|
18376
|
-
"
|
|
18377
|
-
"
|
|
18181
|
+
"progressFillFailed": "x_PPca_progressFillFailed",
|
|
18182
|
+
"dialogTitleRow": "x_PPca_dialogTitleRow",
|
|
18183
|
+
"cardProgress": "x_PPca_cardProgress",
|
|
18184
|
+
"dialogContent": "x_PPca_dialogContent",
|
|
18185
|
+
"group": "x_PPca_group",
|
|
18186
|
+
"cardPath": "x_PPca_cardPath",
|
|
18187
|
+
"progressFill": "x_PPca_progressFill",
|
|
18378
18188
|
"cardTime": "x_PPca_cardTime",
|
|
18189
|
+
"card": "x_PPca_card",
|
|
18190
|
+
"cardActions": "x_PPca_cardActions",
|
|
18191
|
+
"badgeBusy": "x_PPca_badgeBusy",
|
|
18379
18192
|
"badgeDone": "x_PPca_badgeDone",
|
|
18380
|
-
"
|
|
18381
|
-
"
|
|
18382
|
-
"
|
|
18383
|
-
"summaryLabel": "x_PPca_summaryLabel",
|
|
18384
|
-
"dialogClose": "x_PPca_dialogClose",
|
|
18385
|
-
"cardReason": "x_PPca_cardReason"
|
|
18193
|
+
"progressFillIndeterminate": "x_PPca_progressFillIndeterminate",
|
|
18194
|
+
"cardRawReason": "x_PPca_cardRawReason",
|
|
18195
|
+
"cardName": "x_PPca_cardName"
|
|
18386
18196
|
};
|
|
18387
18197
|
//#endregion
|
|
18388
18198
|
//#region src/client/taskQueueStore.ts
|
|
@@ -19233,9 +19043,9 @@ window.__ModuleLoader__.load({
|
|
|
19233
19043
|
document.head.appendChild(tag);
|
|
19234
19044
|
}
|
|
19235
19045
|
var KnowledgeScopeTabs_module_css_default = {
|
|
19236
|
-
"
|
|
19046
|
+
"tabs": "UvtP4W_tabs",
|
|
19237
19047
|
"tab": "UvtP4W_tab",
|
|
19238
|
-
"
|
|
19048
|
+
"tabSelected": "UvtP4W_tabSelected"
|
|
19239
19049
|
};
|
|
19240
19050
|
//#endregion
|
|
19241
19051
|
//#region src/client/graph/KnowledgeScopeTabs.tsx
|
|
@@ -19344,12 +19154,12 @@ window.__ModuleLoader__.load({
|
|
|
19344
19154
|
document.head.appendChild(tag);
|
|
19345
19155
|
}
|
|
19346
19156
|
var OriginBadges_module_css_default = {
|
|
19157
|
+
"authority": "iQ1oAG_authority",
|
|
19347
19158
|
"badges": "iQ1oAG_badges",
|
|
19348
|
-
"
|
|
19349
|
-
"origin": "iQ1oAG_origin",
|
|
19159
|
+
"compact": "iQ1oAG_compact",
|
|
19350
19160
|
"badge": "iQ1oAG_badge",
|
|
19351
|
-
"
|
|
19352
|
-
"
|
|
19161
|
+
"origin": "iQ1oAG_origin",
|
|
19162
|
+
"reviewStatus": "iQ1oAG_reviewStatus"
|
|
19353
19163
|
};
|
|
19354
19164
|
//#endregion
|
|
19355
19165
|
//#region src/client/graph/OriginBadges.tsx
|
|
@@ -19423,6 +19233,41 @@ window.__ModuleLoader__.load({
|
|
|
19423
19233
|
});
|
|
19424
19234
|
}
|
|
19425
19235
|
//#endregion
|
|
19236
|
+
//#region node_modules/dsh-better-sidebar/src/client/file-icons.tsx
|
|
19237
|
+
/**
|
|
19238
|
+
* A file row: the host's own classifier and artwork for any path. Unknown
|
|
19239
|
+
* extensions land on the generic document glyph, exactly like the host's
|
|
19240
|
+
* explorer.
|
|
19241
|
+
* @param path - the row's path (any separator; the classifier reads the basename).
|
|
19242
|
+
* @param size - the square edge in px.
|
|
19243
|
+
* @returns the host's file-type glyph.
|
|
19244
|
+
*/
|
|
19245
|
+
function builtinFileIcon(path, size) {
|
|
19246
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.FileTypeIcon, {
|
|
19247
|
+
path,
|
|
19248
|
+
size
|
|
19249
|
+
});
|
|
19250
|
+
}
|
|
19251
|
+
/**
|
|
19252
|
+
* A directory row: the host's folder glyph.
|
|
19253
|
+
*
|
|
19254
|
+
* The host ships ONE folder drawing (`kind: 'folder'` resolves to its
|
|
19255
|
+
* monochrome `IconFolderClose16`, which rides `currentColor` and therefore
|
|
19256
|
+
* still follows the skin), and the classifier never returns a folder kind of
|
|
19257
|
+
* its own. The expansion state is already legible from the tree's own chevron
|
|
19258
|
+
* and row affordances, so this deliberately does not invent a second folder
|
|
19259
|
+
* drawing.
|
|
19260
|
+
* @param _open - whether the row is expanded (accepted for API compatibility).
|
|
19261
|
+
* @param size - the square edge in px.
|
|
19262
|
+
* @returns the host's folder glyph.
|
|
19263
|
+
*/
|
|
19264
|
+
function builtinFolderIcon(_open, size) {
|
|
19265
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.FileTypeIcon, {
|
|
19266
|
+
kind: "folder",
|
|
19267
|
+
size
|
|
19268
|
+
});
|
|
19269
|
+
}
|
|
19270
|
+
//#endregion
|
|
19426
19271
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/graph/KnowledgeGraphTree.module.css.mjs
|
|
19427
19272
|
const css$5 = ".JLttwq_tree,.JLttwq_scope{flex-direction:column;gap:1px;min-width:0;display:flex}.JLttwq_chevron,.JLttwq_chevronPlaceholder{width:14px;height:14px;color:var(--dsw-alias-label-tertiary);flex:none;justify-content:center;align-items:center;display:inline-flex}.JLttwq_chevron>svg{width:12px;height:12px}.JLttwq_rowActive,.JLttwq_rowActive:hover{background:var(--dsw-alias-interactive-bg-hover-accent);color:var(--dsw-alias-label-primary)}.JLttwq_graphGlyph{width:14px;height:14px;color:var(--dsw-alias-label-secondary);justify-content:center;align-items:center;display:inline-flex}.JLttwq_rowActive .JLttwq_graphGlyph{color:var(--dsw-alias-state-business-primary)}.JLttwq_computedBadges{flex:none;align-items:center;gap:3px;display:inline-flex}.JLttwq_computedBadge,.JLttwq_readOnlyBadge{border:.5px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-2);height:14px;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxxs-11);white-space:nowrap;cursor:default;border-radius:3px;flex:none;align-items:center;padding:0 4px;line-height:1;display:inline-flex}.JLttwq_computedBadge{border-color:color-mix(in srgb, var(--dsw-alias-state-business-primary) 35%, transparent);background:color-mix(in srgb, var(--dsw-alias-state-business-primary) 10%, transparent);color:color-mix(in srgb, var(--dsw-alias-state-business-primary) 80%, var(--dsw-alias-label-primary))}.JLttwq_topicRow{box-sizing:border-box;width:100%;max-width:100%;min-height:26px;color:color-mix(in srgb, var(--dsw-alias-label-tertiary) 80%, var(--dsw-alias-label-primary));font:var(--dsw-font-xxs-12);text-align:start;white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:4px;align-items:center;gap:6px;padding:3px 8px;display:flex}.JLttwq_topicRow:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.JLttwq_topicActive,.JLttwq_topicActive:hover{background:var(--dsw-alias-interactive-bg-hover-accent);color:var(--dsw-alias-label-primary)}.JLttwq_topicGlyph{opacity:.7;background:currentColor;border-radius:50%;flex:none;width:4px;height:4px;margin:0 5px}.JLttwq_topicName{text-overflow:ellipsis;min-width:0;overflow:hidden}.JLttwq_emptyRow{color:color-mix(in srgb, var(--dsw-alias-label-tertiary) 80%, var(--dsw-alias-label-primary));font:var(--dsw-font-xxxs-11);margin:2px 0 4px}.JLttwq_state{color:color-mix(in srgb, var(--dsw-alias-label-tertiary) 80%, var(--dsw-alias-label-primary));font:var(--dsw-font-xxs-12);flex-direction:column;gap:6px;margin:0;padding:10px;display:flex}.JLttwq_emptyTitle{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-strong-12);margin:0}.JLttwq_error{color:var(--dsw-alias-state-error-primary);margin:0}.JLttwq_detail{font:var(--dsw-font-xxxs-11);overflow-wrap:anywhere;margin:0}.JLttwq_retry{border:.5px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-layer-2);height:26px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);cursor:pointer;align-self:flex-start;padding:0 10px}.JLttwq_retry:hover{background:var(--dsw-alias-interactive-bg-hover)}.JLttwq_explorerRow{box-sizing:border-box;width:100%;max-width:100%;height:28px;font:var(--dsw-font-xxs-12);color:var(--dsw-alias-label-primary);text-align:left;cursor:pointer;white-space:nowrap;animation:JLttwq_kg-row-in .15s var(--ds-ease-in-out);background:0 0;border:none;border-radius:4px;align-items:center;gap:6px;padding:0 8px;display:flex;position:relative}.JLttwq_explorerRow>svg{flex:none;width:14px;height:14px}.JLttwq_explorerRow:hover{background:var(--dsw-alias-interactive-bg-hover)}.JLttwq_explorerRowSelected{background:var(--dsw-alias-interactive-bg-active)}.JLttwq_explorerRowSelected:before{content:\"\";background:var(--dsw-alias-state-business-primary);border-radius:1px;width:2px;position:absolute;top:4px;bottom:4px;left:0}.JLttwq_explorerDir{font:var(--dsw-font-xxs-strong-12)}.JLttwq_explorerName{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.JLttwq_rowBadges{flex:none;align-items:center;min-width:0;display:inline-flex}.JLttwq_explorerTime{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none;margin-left:auto;padding-left:8px}.JLttwq_explorerRow:hover .JLttwq_explorerTime,.JLttwq_explorerRow:focus-within .JLttwq_explorerTime{margin-left:0}@keyframes JLttwq_kg-row-in{0%{opacity:0;transform:translateY(-2px)}to{opacity:1;transform:none}}";
|
|
19428
19273
|
const tagId$5 = "@sparkelf/dsh-knowledge-base/KnowledgeGraphTree.module.css";
|
|
@@ -19434,32 +19279,32 @@ window.__ModuleLoader__.load({
|
|
|
19434
19279
|
document.head.appendChild(tag);
|
|
19435
19280
|
}
|
|
19436
19281
|
var KnowledgeGraphTree_module_css_default = {
|
|
19437
|
-
"
|
|
19438
|
-
"
|
|
19439
|
-
"
|
|
19282
|
+
"tree": "JLttwq_tree",
|
|
19283
|
+
"explorerRowSelected": "JLttwq_explorerRowSelected",
|
|
19284
|
+
"rowBadges": "JLttwq_rowBadges",
|
|
19440
19285
|
"chevronPlaceholder": "JLttwq_chevronPlaceholder",
|
|
19441
|
-
"
|
|
19442
|
-
"
|
|
19286
|
+
"computedBadges": "JLttwq_computedBadges",
|
|
19287
|
+
"readOnlyBadge": "JLttwq_readOnlyBadge",
|
|
19288
|
+
"topicName": "JLttwq_topicName",
|
|
19443
19289
|
"retry": "JLttwq_retry",
|
|
19444
|
-
"
|
|
19445
|
-
"explorerRowSelected": "JLttwq_explorerRowSelected",
|
|
19446
|
-
"topicActive": "JLttwq_topicActive",
|
|
19447
|
-
"computedBadge": "JLttwq_computedBadge",
|
|
19290
|
+
"emptyTitle": "JLttwq_emptyTitle",
|
|
19448
19291
|
"explorerRow": "JLttwq_explorerRow",
|
|
19449
19292
|
"topicRow": "JLttwq_topicRow",
|
|
19293
|
+
"explorerDir": "JLttwq_explorerDir",
|
|
19294
|
+
"explorerTime": "JLttwq_explorerTime",
|
|
19295
|
+
"computedBadge": "JLttwq_computedBadge",
|
|
19296
|
+
"explorerName": "JLttwq_explorerName",
|
|
19297
|
+
"scope": "JLttwq_scope",
|
|
19450
19298
|
"topicGlyph": "JLttwq_topicGlyph",
|
|
19451
|
-
"tree": "JLttwq_tree",
|
|
19452
|
-
"computedBadges": "JLttwq_computedBadges",
|
|
19453
|
-
"rowActive": "JLttwq_rowActive",
|
|
19454
|
-
"readOnlyBadge": "JLttwq_readOnlyBadge",
|
|
19455
19299
|
"emptyRow": "JLttwq_emptyRow",
|
|
19456
|
-
"
|
|
19300
|
+
"error": "JLttwq_error",
|
|
19301
|
+
"rowActive": "JLttwq_rowActive",
|
|
19302
|
+
"topicActive": "JLttwq_topicActive",
|
|
19303
|
+
"state": "JLttwq_state",
|
|
19457
19304
|
"detail": "JLttwq_detail",
|
|
19458
19305
|
"kg-row-in": "JLttwq_kg-row-in",
|
|
19459
|
-
"
|
|
19460
|
-
"
|
|
19461
|
-
"scope": "JLttwq_scope",
|
|
19462
|
-
"rowBadges": "JLttwq_rowBadges"
|
|
19306
|
+
"chevron": "JLttwq_chevron",
|
|
19307
|
+
"graphGlyph": "JLttwq_graphGlyph"
|
|
19463
19308
|
};
|
|
19464
19309
|
//#endregion
|
|
19465
19310
|
//#region src/client/graph/KnowledgeGraphTree.tsx
|
|
@@ -19848,19 +19693,19 @@ window.__ModuleLoader__.load({
|
|
|
19848
19693
|
document.head.appendChild(tag);
|
|
19849
19694
|
}
|
|
19850
19695
|
var KnowledgeGraphView_module_css_default = {
|
|
19851
|
-
"overviewBar": "Dk9FoG_overviewBar",
|
|
19852
|
-
"filterField": "Dk9FoG_filterField",
|
|
19853
|
-
"host": "Dk9FoG_host",
|
|
19854
|
-
"badgeBar": "Dk9FoG_badgeBar",
|
|
19855
19696
|
"badgeBarLabel": "Dk9FoG_badgeBarLabel",
|
|
19856
19697
|
"state": "Dk9FoG_state",
|
|
19857
19698
|
"overviewLabel": "Dk9FoG_overviewLabel",
|
|
19858
|
-
"filterSelect": "Dk9FoG_filterSelect",
|
|
19859
19699
|
"emptyTitle": "Dk9FoG_emptyTitle",
|
|
19860
19700
|
"error": "Dk9FoG_error",
|
|
19861
19701
|
"detail": "Dk9FoG_detail",
|
|
19702
|
+
"filterField": "Dk9FoG_filterField",
|
|
19703
|
+
"overviewBar": "Dk9FoG_overviewBar",
|
|
19704
|
+
"retry": "Dk9FoG_retry",
|
|
19705
|
+
"host": "Dk9FoG_host",
|
|
19862
19706
|
"frame": "Dk9FoG_frame",
|
|
19863
|
-
"
|
|
19707
|
+
"filterSelect": "Dk9FoG_filterSelect",
|
|
19708
|
+
"badgeBar": "Dk9FoG_badgeBar"
|
|
19864
19709
|
};
|
|
19865
19710
|
//#endregion
|
|
19866
19711
|
//#region src/client/graph/KnowledgeGraphView.tsx
|
|
@@ -20927,22 +20772,22 @@ window.__ModuleLoader__.load({
|
|
|
20927
20772
|
document.head.appendChild(tag);
|
|
20928
20773
|
}
|
|
20929
20774
|
var KnowledgeFilePreview_module_css_default = {
|
|
20930
|
-
"
|
|
20931
|
-
"body": "_7KbGuq_body",
|
|
20932
|
-
"pre": "_7KbGuq_pre",
|
|
20775
|
+
"error": "_7KbGuq_error",
|
|
20933
20776
|
"title": "_7KbGuq_title",
|
|
20934
|
-
"
|
|
20935
|
-
"path": "_7KbGuq_path",
|
|
20936
|
-
"root": "_7KbGuq_root",
|
|
20937
|
-
"close": "_7KbGuq_close",
|
|
20777
|
+
"body": "_7KbGuq_body",
|
|
20938
20778
|
"binaryAction": "_7KbGuq_binaryAction",
|
|
20939
|
-
"
|
|
20779
|
+
"path": "_7KbGuq_path",
|
|
20780
|
+
"pre": "_7KbGuq_pre",
|
|
20940
20781
|
"head": "_7KbGuq_head",
|
|
20941
|
-
"error": "_7KbGuq_error",
|
|
20942
|
-
"binaryIcon": "_7KbGuq_binaryIcon",
|
|
20943
20782
|
"notice": "_7KbGuq_notice",
|
|
20783
|
+
"binaryCard": "_7KbGuq_binaryCard",
|
|
20784
|
+
"binaryIcon": "_7KbGuq_binaryIcon",
|
|
20785
|
+
"heading": "_7KbGuq_heading",
|
|
20786
|
+
"binaryName": "_7KbGuq_binaryName",
|
|
20787
|
+
"root": "_7KbGuq_root",
|
|
20788
|
+
"close": "_7KbGuq_close",
|
|
20944
20789
|
"binarySize": "_7KbGuq_binarySize",
|
|
20945
|
-
"
|
|
20790
|
+
"binaryMeta": "_7KbGuq_binaryMeta"
|
|
20946
20791
|
};
|
|
20947
20792
|
//#endregion
|
|
20948
20793
|
//#region src/client/KnowledgeFilePreview.tsx
|
|
@@ -21126,156 +20971,110 @@ window.__ModuleLoader__.load({
|
|
|
21126
20971
|
});
|
|
21127
20972
|
}
|
|
21128
20973
|
//#endregion
|
|
21129
|
-
//#region
|
|
21130
|
-
/**
|
|
21131
|
-
* The separating space an append needs on its left — one space, but never
|
|
21132
|
-
* doubled against existing whitespace. Both the string append and the span
|
|
21133
|
-
* channel (which does no splice math of its own) obey this single rule. A
|
|
21134
|
-
* blank draft takes no separator: it is replaced outright.
|
|
21135
|
-
*/
|
|
21136
|
-
function leadFor(draft) {
|
|
21137
|
-
if (draft.trim() === "") return "";
|
|
21138
|
-
return /\s$/.test(draft) ? "" : " ";
|
|
21139
|
-
}
|
|
21140
|
-
/** `draft` with `text` appended behind one separating space when needed. */
|
|
21141
|
-
function appendText(draft, text) {
|
|
21142
|
-
return `${draft}${leadFor(draft)}${text}`;
|
|
21143
|
-
}
|
|
21144
|
-
/**
|
|
21145
|
-
* Fold one clipboard-projection offset to its detect-projection twin.
|
|
21146
|
-
*
|
|
21147
|
-
* The host maintains two coordinate systems over the same document: the
|
|
21148
|
-
* clipboard projection (`InputState.draft`, `occurrences`) expands every chip
|
|
21149
|
-
* to its whole `clipboardText`, while the detect projection — the one every
|
|
21150
|
-
* insert/replace event's `span` must speak — collapses each chip to a single
|
|
21151
|
-
* placeholder character. Deriving a span from a draft offset without folding
|
|
21152
|
-
* therefore overshoots by `length - 1` per chip, and the host rejects the
|
|
21153
|
-
* out-of-range span (`applied = false`) — the second chip insert of a session
|
|
21154
|
-
* would silently fail.
|
|
21155
|
-
*
|
|
21156
|
-
* An offset inside a chip's expansion snaps to that chip's trailing edge: the
|
|
21157
|
-
* host only ever replaces whole chips, never splits one. An offset exactly at
|
|
21158
|
-
* a chip's START resolves to the position BEFORE the chip — the host's own
|
|
21159
|
-
* `detectOffsetOfClipboardOffset` reads that case as "inside" and returns the
|
|
21160
|
-
* trailing edge, which would move a caret one chip too far right.
|
|
21161
|
-
*/
|
|
21162
|
-
function foldClipboardOffset(draft, occurrences, offset) {
|
|
21163
|
-
const target = Math.max(0, Math.min(offset, draft.length));
|
|
21164
|
-
let shrink = 0;
|
|
21165
|
-
for (const occurrence of occurrences) {
|
|
21166
|
-
if (target >= occurrence.offset + occurrence.length) {
|
|
21167
|
-
shrink += occurrence.length - 1;
|
|
21168
|
-
continue;
|
|
21169
|
-
}
|
|
21170
|
-
if (target > occurrence.offset) return occurrence.offset - shrink + 1;
|
|
21171
|
-
break;
|
|
21172
|
-
}
|
|
21173
|
-
return target - shrink;
|
|
21174
|
-
}
|
|
21175
|
-
/**
|
|
21176
|
-
* The detect-projection offset that appends at the document end, or
|
|
21177
|
-
* `undefined` when it cannot be derived.
|
|
21178
|
-
*
|
|
21179
|
-
* `foldClipboardOffset` alone is not enough: a command chip (`/goal `, present
|
|
21180
|
-
* while `phase === 'claimed'`) collapses to one detect character but never
|
|
21181
|
-
* appears in `occurrences` — the host only collects reference chips. The chip
|
|
21182
|
-
* covers exactly `claim.token`, a prefix of the draft, so its own characters
|
|
21183
|
-
* fold away and one placeholder takes their place.
|
|
21184
|
-
*/
|
|
21185
|
-
function appendOffset(snapshot) {
|
|
21186
|
-
const { draft, claim } = snapshot;
|
|
21187
|
-
const occurrences = snapshot.occurrences ?? [];
|
|
21188
|
-
const token = snapshot.phase === "claimed" && claim !== void 0 && draft.startsWith(claim.token) ? claim.token : "";
|
|
21189
|
-
if (token === "") return foldClipboardOffset(draft, occurrences, draft.length);
|
|
21190
|
-
const rest = draft.slice(token.length);
|
|
21191
|
-
return 1 + foldClipboardOffset(rest, occurrences.filter((occurrence) => occurrence.offset >= token.length).map((occurrence) => ({
|
|
21192
|
-
offset: occurrence.offset - token.length,
|
|
21193
|
-
length: occurrence.length
|
|
21194
|
-
})), rest.length);
|
|
21195
|
-
}
|
|
20974
|
+
//#region ../../node_modules/.pnpm/@sparkelf+dsh-better-sidebar@0.28.0-sparkelf.grid.17_a09f40a08660db355c8038ff50040d71/node_modules/@sparkelf/dsh-better-sidebar/src/client/conversation-draft.ts
|
|
21196
20975
|
/**
|
|
21197
|
-
*
|
|
21198
|
-
*
|
|
21199
|
-
*
|
|
21200
|
-
*
|
|
21201
|
-
* whether the edit applied.
|
|
21202
|
-
*
|
|
21203
|
-
* The chip's `clipboardText` is the compact `label`, not the full payload —
|
|
21204
|
-
* see {@link PendingReference.clipboardText}.
|
|
21205
|
-
*
|
|
21206
|
-
* Returns false when the host refused the insert (stale revision, a frozen
|
|
21207
|
-
* submission phase, or no chip channel at all) so the caller can fall back.
|
|
20976
|
+
* Splice `text` into `draft` at `caret` (replacing any live selection) with
|
|
20977
|
+
* whitespace-aware joins and report the caret position right after the
|
|
20978
|
+
* inserted text. `caret === null` (position unknown) appends at the end,
|
|
20979
|
+
* exactly like the original behavior.
|
|
21208
20980
|
*/
|
|
21209
|
-
function
|
|
21210
|
-
|
|
21211
|
-
|
|
21212
|
-
|
|
21213
|
-
|
|
21214
|
-
|
|
21215
|
-
if (conversation === void 0) return false;
|
|
21216
|
-
const input = conversation.input.for(actx);
|
|
21217
|
-
const snapshot = input.state.getSnapshot();
|
|
21218
|
-
if (input.insertReference === void 0 || snapshot.draftRev === void 0) return false;
|
|
21219
|
-
if (snapshot.phase === "adjudicating" || snapshot.phase === "submitting") return false;
|
|
21220
|
-
before = snapshot.draftRev;
|
|
21221
|
-
const at = appendOffset(snapshot);
|
|
21222
|
-
if (at === void 0) return false;
|
|
21223
|
-
let rev = snapshot.draftRev;
|
|
21224
|
-
let start = at;
|
|
21225
|
-
if (leadFor(snapshot.draft) !== "") {
|
|
21226
|
-
actx.emit("slash/input-insert-text", {
|
|
21227
|
-
text: " ",
|
|
21228
|
-
span: {
|
|
21229
|
-
draftRev: rev,
|
|
21230
|
-
start: at,
|
|
21231
|
-
end: at
|
|
21232
|
-
}
|
|
21233
|
-
});
|
|
21234
|
-
const afterSpace = input.state.getSnapshot();
|
|
21235
|
-
if (afterSpace.draftRev === rev) return false;
|
|
21236
|
-
rev = afterSpace.draftRev ?? rev;
|
|
21237
|
-
start = at + 1;
|
|
21238
|
-
}
|
|
21239
|
-
const chip = {
|
|
21240
|
-
source: reference.source ?? "reference",
|
|
21241
|
-
ref: reference.ref ?? reference.text,
|
|
21242
|
-
label: reference.label,
|
|
21243
|
-
...reference.appearance === void 0 ? {} : { appearance: reference.appearance },
|
|
21244
|
-
clipboardText: reference.clipboardText ?? reference.label
|
|
20981
|
+
function spliceInsert(draft, text, caret) {
|
|
20982
|
+
if (caret === null || draft === "") {
|
|
20983
|
+
const next = draft.trim() === "" ? text : `${draft}${/\s$/.test(draft) ? "" : " "}${text}`;
|
|
20984
|
+
return {
|
|
20985
|
+
draft: next,
|
|
20986
|
+
caretAfter: next.length
|
|
21245
20987
|
};
|
|
21246
|
-
return input.insertReference(chip, {
|
|
21247
|
-
draftRev: rev,
|
|
21248
|
-
start,
|
|
21249
|
-
end: start
|
|
21250
|
-
});
|
|
21251
|
-
} catch (error) {
|
|
21252
|
-
console.warn("[dsh-better-sidebar] reference chip insert failed:", error);
|
|
21253
|
-
return revisionChanged(ctx, sessionId, before);
|
|
21254
20988
|
}
|
|
20989
|
+
const prefix = draft.slice(0, caret.start);
|
|
20990
|
+
const suffix = draft.slice(caret.end);
|
|
20991
|
+
if (prefix === "" && suffix === "") return {
|
|
20992
|
+
draft: text,
|
|
20993
|
+
caretAfter: text.length
|
|
20994
|
+
};
|
|
20995
|
+
const left = prefix === "" || /\s$/.test(prefix) ? "" : " ";
|
|
20996
|
+
return {
|
|
20997
|
+
draft: `${prefix}${left}${text}${suffix === "" || /^\s/.test(suffix) || /\s$/.test(text) ? "" : " "}${suffix}`,
|
|
20998
|
+
caretAfter: prefix.length + left.length + text.length
|
|
20999
|
+
};
|
|
21255
21000
|
}
|
|
21256
21001
|
/**
|
|
21257
|
-
*
|
|
21258
|
-
*
|
|
21259
|
-
*
|
|
21260
|
-
|
|
21261
|
-
|
|
21262
|
-
|
|
21263
|
-
|
|
21264
|
-
|
|
21265
|
-
|
|
21266
|
-
|
|
21267
|
-
|
|
21268
|
-
|
|
21269
|
-
|
|
21270
|
-
|
|
21002
|
+
* Locate the composer `<textarea>` in the conversation column: prefer the
|
|
21003
|
+
* `data-phase`-tagged textarea (the composer's marker), falling back to any
|
|
21004
|
+
* textarea in the column, then to a bare data-phase textarea (older host
|
|
21005
|
+
* layouts without the column attribute). Null in jsdom-less hosts.
|
|
21006
|
+
*/
|
|
21007
|
+
function findComposerTextarea() {
|
|
21008
|
+
if (typeof document === "undefined") return null;
|
|
21009
|
+
const column = document.querySelector("#root [data-slot=\"conversation\"]");
|
|
21010
|
+
const find = (scope) => scope.querySelector("textarea[data-phase]") ?? scope.querySelector("textarea");
|
|
21011
|
+
return column !== null ? find(column) : document.querySelector("textarea[data-phase]");
|
|
21012
|
+
}
|
|
21013
|
+
/**
|
|
21014
|
+
* Resolve the composer's live caret from its DOM `<textarea>`. The draft
|
|
21015
|
+
* store has no caret API, so the sidebar reads the composed input's selection
|
|
21016
|
+
* directly; the value-sync check (`el.value === draft`) discards stale or
|
|
21017
|
+
* wrong-composer reads — a caret must never be applied against a draft it
|
|
21018
|
+
* was not measured on.
|
|
21019
|
+
*
|
|
21020
|
+
* Returns null when the composer is missing, disabled/read-only, out of
|
|
21021
|
+
* sync with the store draft, or has no measurable selection (jsdom/odd
|
|
21022
|
+
* hosts report null selectionStart/End).
|
|
21023
|
+
*/
|
|
21024
|
+
function probeComposerCaret(draft) {
|
|
21025
|
+
const el = findComposerTextarea();
|
|
21026
|
+
if (el === null || el.disabled || el.readOnly) return null;
|
|
21027
|
+
if (el.value !== draft) return null;
|
|
21028
|
+
let start = el.selectionStart;
|
|
21029
|
+
let end = el.selectionEnd;
|
|
21030
|
+
if (typeof start !== "number" || typeof end !== "number") return null;
|
|
21031
|
+
if (!Number.isFinite(start) || !Number.isFinite(end)) return null;
|
|
21032
|
+
start = Math.max(0, Math.min(start, draft.length));
|
|
21033
|
+
end = Math.max(start, Math.min(end, draft.length));
|
|
21034
|
+
return {
|
|
21035
|
+
start,
|
|
21036
|
+
end
|
|
21037
|
+
};
|
|
21271
21038
|
}
|
|
21272
21039
|
/**
|
|
21273
|
-
*
|
|
21274
|
-
*
|
|
21275
|
-
*
|
|
21276
|
-
*
|
|
21277
|
-
*
|
|
21278
|
-
* the
|
|
21040
|
+
* Restore the composer caret to `caretIndex` after a programmatic
|
|
21041
|
+
* `setDraft` commit. A controlled textarea update resets the caret (React
|
|
21042
|
+
* commits the value asynchronously and the browser moves the caret to the
|
|
21043
|
+
* start/end), so the placement is scheduled and retried across at most two
|
|
21044
|
+
* animation frames (setTimeout fallback for jsdom), and only applied when
|
|
21045
|
+
* the textarea still matches `expectedDraft` — a newer edit or a different
|
|
21046
|
+
* composer wins the race untouched. The caret is clamped into the value
|
|
21047
|
+
* bounds, mirroring how browsers clamp type-in positions.
|
|
21048
|
+
*/
|
|
21049
|
+
function placeComposerCaretAfterInsert(expectedDraft, caretIndex) {
|
|
21050
|
+
let remaining = 2;
|
|
21051
|
+
let scheduled = false;
|
|
21052
|
+
const schedule = (fn) => {
|
|
21053
|
+
if (scheduled) return;
|
|
21054
|
+
scheduled = true;
|
|
21055
|
+
if (typeof requestAnimationFrame === "function") requestAnimationFrame(fn);
|
|
21056
|
+
else setTimeout(fn, 0);
|
|
21057
|
+
};
|
|
21058
|
+
const place = () => {
|
|
21059
|
+
scheduled = false;
|
|
21060
|
+
if (remaining <= 0) return;
|
|
21061
|
+
remaining -= 1;
|
|
21062
|
+
const el = findComposerTextarea();
|
|
21063
|
+
if (el === null || el.disabled || el.readOnly) return;
|
|
21064
|
+
if (el.value !== expectedDraft) {
|
|
21065
|
+
schedule(place);
|
|
21066
|
+
return;
|
|
21067
|
+
}
|
|
21068
|
+
const clamped = Math.max(0, Math.min(caretIndex, el.value.length));
|
|
21069
|
+
el.setSelectionRange(clamped, clamped);
|
|
21070
|
+
};
|
|
21071
|
+
schedule(place);
|
|
21072
|
+
}
|
|
21073
|
+
/**
|
|
21074
|
+
* Insert `text` into the session's composer draft at the composer's live
|
|
21075
|
+
* caret (see {@link probeComposerCaret}), falling back to appending at the
|
|
21076
|
+
* end when the caret cannot be resolved. Returns false — and logs — when the
|
|
21077
|
+
* conversation service or the session scope is unavailable.
|
|
21279
21078
|
*/
|
|
21280
21079
|
function appendToDraft(ctx, sessionId, text) {
|
|
21281
21080
|
try {
|
|
@@ -21290,25 +21089,10 @@ window.__ModuleLoader__.load({
|
|
|
21290
21089
|
return false;
|
|
21291
21090
|
}
|
|
21292
21091
|
const input = conversation.input.for(actx);
|
|
21293
|
-
const
|
|
21294
|
-
const draft =
|
|
21295
|
-
|
|
21296
|
-
|
|
21297
|
-
if (snapshot.draftRev === void 0 || at === void 0) {
|
|
21298
|
-
console.warn("[dsh-better-sidebar] draft insert skipped: chip draft without a revision");
|
|
21299
|
-
return false;
|
|
21300
|
-
}
|
|
21301
|
-
actx.emit("slash/input-insert-text", {
|
|
21302
|
-
text: `${leadFor(draft)}${text}`,
|
|
21303
|
-
span: {
|
|
21304
|
-
draftRev: snapshot.draftRev,
|
|
21305
|
-
start: at,
|
|
21306
|
-
end: at
|
|
21307
|
-
}
|
|
21308
|
-
});
|
|
21309
|
-
return input.state.getSnapshot().draftRev !== snapshot.draftRev;
|
|
21310
|
-
}
|
|
21311
|
-
input.setDraft(appendText(draft, text));
|
|
21092
|
+
const draft = input.state.getSnapshot().draft;
|
|
21093
|
+
const { draft: next, caretAfter } = spliceInsert(draft, text, probeComposerCaret(draft));
|
|
21094
|
+
input.setDraft(next);
|
|
21095
|
+
placeComposerCaretAfterInsert(next, caretAfter);
|
|
21312
21096
|
return true;
|
|
21313
21097
|
} catch (error) {
|
|
21314
21098
|
console.warn("[dsh-better-sidebar] draft insert failed:", error);
|
|
@@ -21316,15 +21100,6 @@ window.__ModuleLoader__.load({
|
|
|
21316
21100
|
}
|
|
21317
21101
|
}
|
|
21318
21102
|
/**
|
|
21319
|
-
* Insert one reference as a chip, degrading to its plain-text form when the
|
|
21320
|
-
* host has no chip channel or refuses the insert. This is the ONE place the
|
|
21321
|
-
* fallback policy lives: the explorer's `@` button and the viewer selection
|
|
21322
|
-
* popup both come through here.
|
|
21323
|
-
*/
|
|
21324
|
-
function insertReferenceOrText(ctx, sessionId, reference) {
|
|
21325
|
-
return insertDraftReference(ctx, sessionId, reference) || appendToDraft(ctx, sessionId, reference.text);
|
|
21326
|
-
}
|
|
21327
|
-
/**
|
|
21328
21103
|
* The DSH `@` spelling for one relative path, mirroring the host grammar
|
|
21329
21104
|
* (`formatFileMention` in `@deepseek-ai/dsh-file-reference`): plain when
|
|
21330
21105
|
* there is no whitespace, quoted when there is, and `undefined` when the
|
|
@@ -21376,32 +21151,60 @@ window.__ModuleLoader__.load({
|
|
|
21376
21151
|
console.warn("[dsh-better-sidebar] reference insert skipped: workspace root unavailable or path outside workspace");
|
|
21377
21152
|
return false;
|
|
21378
21153
|
}
|
|
21379
|
-
|
|
21380
|
-
|
|
21381
|
-
if (mention === void 0) {
|
|
21382
|
-
console.warn("[dsh-better-sidebar] reference insert skipped: path cannot be represented as a mention");
|
|
21383
|
-
return false;
|
|
21384
|
-
}
|
|
21385
|
-
return appendToDraft(ctx, sessionId, `${mention} `);
|
|
21386
|
-
}
|
|
21387
|
-
const file = mentionFor(relative, "file");
|
|
21388
|
-
if (file === void 0) {
|
|
21154
|
+
const mention = isDir ? directoryMention(relative) : mentionFor(relative, "file")?.mention;
|
|
21155
|
+
if (mention === void 0) {
|
|
21389
21156
|
console.warn("[dsh-better-sidebar] reference insert skipped: path cannot be represented as a mention");
|
|
21390
21157
|
return false;
|
|
21391
21158
|
}
|
|
21392
|
-
|
|
21393
|
-
|
|
21394
|
-
text: file.mention,
|
|
21395
|
-
clipboardText: file.mention,
|
|
21396
|
-
appearance: "file"
|
|
21397
|
-
});
|
|
21159
|
+
if (!isDir && insertFileReference(ctx, sessionId, relative)) return true;
|
|
21160
|
+
return appendToDraft(ctx, sessionId, isDir ? `${mention} ` : mention);
|
|
21398
21161
|
} catch (error) {
|
|
21399
21162
|
console.warn("[dsh-better-sidebar] workspace-reference insert failed:", error);
|
|
21400
21163
|
return false;
|
|
21401
21164
|
}
|
|
21402
21165
|
}
|
|
21166
|
+
/**
|
|
21167
|
+
* Insert one FILE reference as a structured chip (like DSH's own `@` picker).
|
|
21168
|
+
* The chip displays `@<basename>` but serializes to `@<relative path>` on
|
|
21169
|
+
* send, so the reference stays a single link from trigger to basename.
|
|
21170
|
+
*
|
|
21171
|
+
* Directories keep the sidebar's plain-text completion behavior (`@dir/`)
|
|
21172
|
+
* through `insertWorkspaceReference`. The rc.1 picker also supports folder
|
|
21173
|
+
* chips on explicit selection; its drill action still inserts plain text.
|
|
21174
|
+
*/
|
|
21175
|
+
function insertFileReference(ctx, sessionId, relativePath) {
|
|
21176
|
+
const reference = mentionFor(relativePath, "file");
|
|
21177
|
+
if (reference === void 0) return false;
|
|
21178
|
+
try {
|
|
21179
|
+
const actx = ctx.sessions.scope(sessionId);
|
|
21180
|
+
if (actx === void 0) return false;
|
|
21181
|
+
const conversation = ctx.get("conversation");
|
|
21182
|
+
if (conversation === void 0) return false;
|
|
21183
|
+
const input = conversation.input.for(actx);
|
|
21184
|
+
const before = input.state.getSnapshot();
|
|
21185
|
+
if (before.draftRev === void 0) return false;
|
|
21186
|
+
actx.emit("slash/input-insert-reference", {
|
|
21187
|
+
reference: {
|
|
21188
|
+
source: "reference",
|
|
21189
|
+
ref: reference.mention,
|
|
21190
|
+
label: reference.label,
|
|
21191
|
+
appearance: "file",
|
|
21192
|
+
clipboardText: reference.mention
|
|
21193
|
+
},
|
|
21194
|
+
span: {
|
|
21195
|
+
draftRev: before.draftRev,
|
|
21196
|
+
start: before.draft.length,
|
|
21197
|
+
end: before.draft.length
|
|
21198
|
+
}
|
|
21199
|
+
});
|
|
21200
|
+
return input.state.getSnapshot().draftRev !== before.draftRev;
|
|
21201
|
+
} catch (error) {
|
|
21202
|
+
console.warn("[dsh-better-sidebar] file-reference insert failed:", error);
|
|
21203
|
+
return false;
|
|
21204
|
+
}
|
|
21205
|
+
}
|
|
21403
21206
|
//#endregion
|
|
21404
|
-
//#region
|
|
21207
|
+
//#region node_modules/dsh-better-sidebar/src/client/reference-in-chat.ts
|
|
21405
21208
|
/**
|
|
21406
21209
|
* Reference one path in the session's conversation draft.
|
|
21407
21210
|
* @param ctx - the client context.
|
|
@@ -21424,14 +21227,14 @@ window.__ModuleLoader__.load({
|
|
|
21424
21227
|
document.head.appendChild(tag);
|
|
21425
21228
|
}
|
|
21426
21229
|
var KnowledgeReferencePicker_module_css_default = {
|
|
21427
|
-
"
|
|
21230
|
+
"footer": "uUHBaG_footer",
|
|
21428
21231
|
"list": "uUHBaG_list",
|
|
21429
|
-
"body": "uUHBaG_body",
|
|
21430
21232
|
"rowName": "uUHBaG_rowName",
|
|
21431
|
-
"footer": "uUHBaG_footer",
|
|
21432
21233
|
"error": "uUHBaG_error",
|
|
21234
|
+
"empty": "uUHBaG_empty",
|
|
21433
21235
|
"rowWhen": "uUHBaG_rowWhen",
|
|
21434
|
-
"
|
|
21236
|
+
"body": "uUHBaG_body",
|
|
21237
|
+
"content": "uUHBaG_content"
|
|
21435
21238
|
};
|
|
21436
21239
|
//#endregion
|
|
21437
21240
|
//#region src/client/insertReadiness.ts
|
|
@@ -24654,58 +24457,58 @@ window.__ModuleLoader__.load({
|
|
|
24654
24457
|
document.head.appendChild(tag);
|
|
24655
24458
|
}
|
|
24656
24459
|
var WorkflowPlaza_module_css_default = {
|
|
24657
|
-
"
|
|
24658
|
-
"
|
|
24659
|
-
"
|
|
24660
|
-
"
|
|
24460
|
+
"card": "lYC_0W_card",
|
|
24461
|
+
"reviewEmpty": "lYC_0W_reviewEmpty",
|
|
24462
|
+
"review": "lYC_0W_review",
|
|
24463
|
+
"cardDesc": "lYC_0W_cardDesc",
|
|
24661
24464
|
"tabActive": "lYC_0W_tabActive",
|
|
24662
|
-
"
|
|
24663
|
-
"mineStatus": "lYC_0W_mineStatus",
|
|
24664
|
-
"mineTime": "lYC_0W_mineTime",
|
|
24665
|
-
"dialogIntro": "lYC_0W_dialogIntro",
|
|
24465
|
+
"reviewTitle": "lYC_0W_reviewTitle",
|
|
24666
24466
|
"pageTitle": "lYC_0W_pageTitle",
|
|
24667
24467
|
"cronInvalid": "lYC_0W_cronInvalid",
|
|
24668
|
-
"cards": "lYC_0W_cards",
|
|
24669
|
-
"cardDesc": "lYC_0W_cardDesc",
|
|
24670
|
-
"frequency": "lYC_0W_frequency",
|
|
24671
|
-
"tabs": "lYC_0W_tabs",
|
|
24672
|
-
"field": "lYC_0W_field",
|
|
24673
|
-
"reviewDescription": "lYC_0W_reviewDescription",
|
|
24674
|
-
"dialogBody": "lYC_0W_dialogBody",
|
|
24675
|
-
"state": "lYC_0W_state",
|
|
24676
|
-
"detailInstruction": "lYC_0W_detailInstruction",
|
|
24677
24468
|
"page": "lYC_0W_page",
|
|
24678
|
-
"
|
|
24679
|
-
"
|
|
24680
|
-
"
|
|
24681
|
-
"cronValid": "lYC_0W_cronValid",
|
|
24682
|
-
"cardCron": "lYC_0W_cardCron",
|
|
24683
|
-
"cardTop": "lYC_0W_cardTop",
|
|
24684
|
-
"frequencies": "lYC_0W_frequencies",
|
|
24685
|
-
"cronInput": "lYC_0W_cronInput",
|
|
24686
|
-
"reviewHead": "lYC_0W_reviewHead",
|
|
24687
|
-
"reviewTitle": "lYC_0W_reviewTitle",
|
|
24688
|
-
"detailDialogBody": "lYC_0W_detailDialogBody",
|
|
24689
|
-
"reviewPrompt": "lYC_0W_reviewPrompt",
|
|
24690
|
-
"card": "lYC_0W_card",
|
|
24469
|
+
"reviewCard": "lYC_0W_reviewCard",
|
|
24470
|
+
"detailInstruction": "lYC_0W_detailInstruction",
|
|
24471
|
+
"reviewNote": "lYC_0W_reviewNote",
|
|
24691
24472
|
"tabCount": "lYC_0W_tabCount",
|
|
24692
|
-
"
|
|
24473
|
+
"mineStatus": "lYC_0W_mineStatus",
|
|
24474
|
+
"cardCron": "lYC_0W_cardCron",
|
|
24475
|
+
"body": "lYC_0W_body",
|
|
24476
|
+
"fieldLabel": "lYC_0W_fieldLabel",
|
|
24477
|
+
"tabs": "lYC_0W_tabs",
|
|
24478
|
+
"dialogFoot": "lYC_0W_dialogFoot",
|
|
24479
|
+
"cards": "lYC_0W_cards",
|
|
24480
|
+
"mineTime": "lYC_0W_mineTime",
|
|
24481
|
+
"detailDescription": "lYC_0W_detailDescription",
|
|
24482
|
+
"mark": "lYC_0W_mark",
|
|
24483
|
+
"frequencyOn": "lYC_0W_frequencyOn",
|
|
24693
24484
|
"mineFooter": "lYC_0W_mineFooter",
|
|
24485
|
+
"cronInput": "lYC_0W_cronInput",
|
|
24694
24486
|
"detailFacts": "lYC_0W_detailFacts",
|
|
24695
|
-
"
|
|
24696
|
-
"
|
|
24487
|
+
"failure": "lYC_0W_failure",
|
|
24488
|
+
"tab": "lYC_0W_tab",
|
|
24489
|
+
"field": "lYC_0W_field",
|
|
24490
|
+
"reviewList": "lYC_0W_reviewList",
|
|
24491
|
+
"actions": "lYC_0W_actions",
|
|
24697
24492
|
"mineScope": "lYC_0W_mineScope",
|
|
24698
|
-
"
|
|
24699
|
-
"
|
|
24493
|
+
"cardTitle": "lYC_0W_cardTitle",
|
|
24494
|
+
"cardFoot": "lYC_0W_cardFoot",
|
|
24495
|
+
"frequencies": "lYC_0W_frequencies",
|
|
24700
24496
|
"cardIcon": "lYC_0W_cardIcon",
|
|
24701
|
-
"
|
|
24702
|
-
"
|
|
24703
|
-
"
|
|
24497
|
+
"dialogBody": "lYC_0W_dialogBody",
|
|
24498
|
+
"frequency": "lYC_0W_frequency",
|
|
24499
|
+
"cronValid": "lYC_0W_cronValid",
|
|
24500
|
+
"failureRow": "lYC_0W_failureRow",
|
|
24501
|
+
"cardTop": "lYC_0W_cardTop",
|
|
24502
|
+
"state": "lYC_0W_state",
|
|
24704
24503
|
"headerRow": "lYC_0W_headerRow",
|
|
24504
|
+
"dialogIntro": "lYC_0W_dialogIntro",
|
|
24505
|
+
"reviewHead": "lYC_0W_reviewHead",
|
|
24705
24506
|
"reviewMeta": "lYC_0W_reviewMeta",
|
|
24706
|
-
"
|
|
24707
|
-
"
|
|
24708
|
-
"
|
|
24507
|
+
"reviewDescription": "lYC_0W_reviewDescription",
|
|
24508
|
+
"detailDialogBody": "lYC_0W_detailDialogBody",
|
|
24509
|
+
"reviewActions": "lYC_0W_reviewActions",
|
|
24510
|
+
"mineTags": "lYC_0W_mineTags",
|
|
24511
|
+
"reviewPrompt": "lYC_0W_reviewPrompt"
|
|
24709
24512
|
};
|
|
24710
24513
|
//#endregion
|
|
24711
24514
|
//#region src/client/workflows/WorkflowPlaza.tsx
|