@sparkelf/dsh-knowledge-base 0.6.3 → 0.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/SKILL.md +24 -8
- package/lib/client.js +972 -1180
- package/lib/client.js.map +1 -1
- package/lib/index.js +47 -170
- 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
|
@@ -338,32 +338,32 @@ window.__ModuleLoader__.load({
|
|
|
338
338
|
document.head.appendChild(tag);
|
|
339
339
|
}
|
|
340
340
|
var KnowledgeSettingsSection_module_css_default = {
|
|
341
|
-
"
|
|
342
|
-
"
|
|
343
|
-
"
|
|
344
|
-
"input": "c269jW_input",
|
|
345
|
-
"fieldLabel": "c269jW_fieldLabel",
|
|
346
|
-
"detail": "c269jW_detail",
|
|
347
|
-
"saveRow": "c269jW_saveRow",
|
|
341
|
+
"groupTitle": "c269jW_groupTitle",
|
|
342
|
+
"title": "c269jW_title",
|
|
343
|
+
"notice": "c269jW_notice",
|
|
348
344
|
"select": "c269jW_select",
|
|
349
|
-
"
|
|
350
|
-
"stepLabel": "c269jW_stepLabel",
|
|
345
|
+
"statusRow": "c269jW_statusRow",
|
|
351
346
|
"steps": "c269jW_steps",
|
|
352
|
-
"
|
|
353
|
-
"
|
|
347
|
+
"log": "c269jW_log",
|
|
348
|
+
"saveRow": "c269jW_saveRow",
|
|
354
349
|
"section": "c269jW_section",
|
|
355
|
-
"title": "c269jW_title",
|
|
356
|
-
"wizard": "c269jW_wizard",
|
|
357
350
|
"logBox": "c269jW_logBox",
|
|
358
|
-
"
|
|
351
|
+
"badgeOk": "c269jW_badgeOk",
|
|
359
352
|
"badgeWarn": "c269jW_badgeWarn",
|
|
360
|
-
"
|
|
361
|
-
"
|
|
353
|
+
"error": "c269jW_error",
|
|
354
|
+
"pairs": "c269jW_pairs",
|
|
355
|
+
"body": "c269jW_body",
|
|
356
|
+
"statusLabel": "c269jW_statusLabel",
|
|
357
|
+
"detail": "c269jW_detail",
|
|
358
|
+
"stepLabel": "c269jW_stepLabel",
|
|
359
|
+
"modeRow": "c269jW_modeRow",
|
|
362
360
|
"modeOption": "c269jW_modeOption",
|
|
363
361
|
"field": "c269jW_field",
|
|
364
|
-
"
|
|
365
|
-
"
|
|
366
|
-
"
|
|
362
|
+
"wizard": "c269jW_wizard",
|
|
363
|
+
"fieldLabel": "c269jW_fieldLabel",
|
|
364
|
+
"step": "c269jW_step",
|
|
365
|
+
"input": "c269jW_input",
|
|
366
|
+
"pair": "c269jW_pair"
|
|
367
367
|
};
|
|
368
368
|
//#endregion
|
|
369
369
|
//#region src/client/VectorSettingsGroup.tsx
|
|
@@ -1536,14 +1536,14 @@ window.__ModuleLoader__.load({
|
|
|
1536
1536
|
}
|
|
1537
1537
|
var KnowledgeLoading_module_css_default = {
|
|
1538
1538
|
"leaf": "HyIQta_leaf",
|
|
1539
|
-
"
|
|
1540
|
-
"pagesRight": "HyIQta_pagesRight",
|
|
1541
|
-
"srOnly": "HyIQta_srOnly",
|
|
1539
|
+
"label": "HyIQta_label",
|
|
1542
1540
|
"pagesLeft": "HyIQta_pagesLeft",
|
|
1543
1541
|
"coverBack": "HyIQta_coverBack",
|
|
1542
|
+
"book": "HyIQta_book",
|
|
1543
|
+
"srOnly": "HyIQta_srOnly",
|
|
1544
|
+
"pagesRight": "HyIQta_pagesRight",
|
|
1544
1545
|
"wrap": "HyIQta_wrap",
|
|
1545
|
-
"kb-page-turn": "HyIQta_kb-page-turn"
|
|
1546
|
-
"label": "HyIQta_label"
|
|
1546
|
+
"kb-page-turn": "HyIQta_kb-page-turn"
|
|
1547
1547
|
};
|
|
1548
1548
|
//#endregion
|
|
1549
1549
|
//#region src/client/KnowledgeLoading.tsx
|
|
@@ -1628,7 +1628,7 @@ window.__ModuleLoader__.load({
|
|
|
1628
1628
|
});
|
|
1629
1629
|
}
|
|
1630
1630
|
//#endregion
|
|
1631
|
-
//#region
|
|
1631
|
+
//#region node_modules/dsh-better-sidebar/src/client/resource-address.ts
|
|
1632
1632
|
/**
|
|
1633
1633
|
* The DSH resource-address grammar for files (`dsh-resource://file/…`).
|
|
1634
1634
|
*
|
|
@@ -2131,46 +2131,46 @@ window.__ModuleLoader__.load({
|
|
|
2131
2131
|
document.head.appendChild(tag);
|
|
2132
2132
|
}
|
|
2133
2133
|
var KnowledgeHome_module_css_default = {
|
|
2134
|
-
"
|
|
2135
|
-
"cardBody": "oNvFBa_cardBody",
|
|
2136
|
-
"colStatus": "oNvFBa_colStatus",
|
|
2137
|
-
"sharePager": "oNvFBa_sharePager",
|
|
2138
|
-
"iconButtonOn": "oNvFBa_iconButtonOn",
|
|
2139
|
-
"home": "oNvFBa_home",
|
|
2140
|
-
"muted": "oNvFBa_muted",
|
|
2141
|
-
"shareError": "oNvFBa_shareError",
|
|
2142
|
-
"hiddenInput": "oNvFBa_hiddenInput",
|
|
2143
|
-
"dropZone": "oNvFBa_dropZone",
|
|
2144
|
-
"dropZoneActive": "oNvFBa_dropZoneActive",
|
|
2145
|
-
"rowLink": "oNvFBa_rowLink",
|
|
2134
|
+
"cardTitle": "oNvFBa_cardTitle",
|
|
2146
2135
|
"cardMenuItem": "oNvFBa_cardMenuItem",
|
|
2147
2136
|
"statusDetail": "oNvFBa_statusDetail",
|
|
2148
|
-
"
|
|
2137
|
+
"emptyRow": "oNvFBa_emptyRow",
|
|
2138
|
+
"iconButton": "oNvFBa_iconButton",
|
|
2139
|
+
"docRow": "oNvFBa_docRow",
|
|
2140
|
+
"iconButtonOn": "oNvFBa_iconButtonOn",
|
|
2141
|
+
"shareWrap": "oNvFBa_shareWrap",
|
|
2142
|
+
"shareEmpty": "oNvFBa_shareEmpty",
|
|
2143
|
+
"colStatus": "oNvFBa_colStatus",
|
|
2144
|
+
"statusButton": "oNvFBa_statusButton",
|
|
2149
2145
|
"iconButtonDanger": "oNvFBa_iconButtonDanger",
|
|
2150
2146
|
"docPager": "oNvFBa_docPager",
|
|
2147
|
+
"sharePager": "oNvFBa_sharePager",
|
|
2148
|
+
"table": "oNvFBa_table",
|
|
2149
|
+
"cardChevron": "oNvFBa_cardChevron",
|
|
2151
2150
|
"cardText": "oNvFBa_cardText",
|
|
2151
|
+
"titleCell": "oNvFBa_titleCell",
|
|
2152
|
+
"dropZone": "oNvFBa_dropZone",
|
|
2152
2153
|
"shareBlock": "oNvFBa_shareBlock",
|
|
2153
|
-
"
|
|
2154
|
-
"colOwner": "oNvFBa_colOwner",
|
|
2155
|
-
"statusButton": "oNvFBa_statusButton",
|
|
2156
|
-
"cardTitle": "oNvFBa_cardTitle",
|
|
2154
|
+
"hiddenInput": "oNvFBa_hiddenInput",
|
|
2157
2155
|
"favoriteMark": "oNvFBa_favoriteMark",
|
|
2158
|
-
"actionsCell": "oNvFBa_actionsCell",
|
|
2159
|
-
"iconButton": "oNvFBa_iconButton",
|
|
2160
2156
|
"cardSlot": "oNvFBa_cardSlot",
|
|
2161
|
-
"
|
|
2157
|
+
"dropZoneActive": "oNvFBa_dropZoneActive",
|
|
2158
|
+
"cardPlate": "oNvFBa_cardPlate",
|
|
2159
|
+
"shareError": "oNvFBa_shareError",
|
|
2160
|
+
"colActions": "oNvFBa_colActions",
|
|
2161
|
+
"rowActions": "oNvFBa_rowActions",
|
|
2162
|
+
"rowLink": "oNvFBa_rowLink",
|
|
2163
|
+
"colTime": "oNvFBa_colTime",
|
|
2162
2164
|
"cards": "oNvFBa_cards",
|
|
2165
|
+
"actionsCell": "oNvFBa_actionsCell",
|
|
2163
2166
|
"cardMenu": "oNvFBa_cardMenu",
|
|
2164
|
-
"
|
|
2165
|
-
"colTime": "oNvFBa_colTime",
|
|
2166
|
-
"emptyRow": "oNvFBa_emptyRow",
|
|
2167
|
-
"shareWrap": "oNvFBa_shareWrap",
|
|
2168
|
-
"rowActions": "oNvFBa_rowActions",
|
|
2169
|
-
"docRow": "oNvFBa_docRow",
|
|
2167
|
+
"muted": "oNvFBa_muted",
|
|
2170
2168
|
"colLocation": "oNvFBa_colLocation",
|
|
2171
|
-
"
|
|
2169
|
+
"card": "oNvFBa_card",
|
|
2172
2170
|
"colTitle": "oNvFBa_colTitle",
|
|
2173
|
-
"
|
|
2171
|
+
"colOwner": "oNvFBa_colOwner",
|
|
2172
|
+
"cardBody": "oNvFBa_cardBody",
|
|
2173
|
+
"home": "oNvFBa_home"
|
|
2174
2174
|
};
|
|
2175
2175
|
//#endregion
|
|
2176
2176
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/KnowledgePanel.module.css.mjs
|
|
@@ -2184,79 +2184,79 @@ window.__ModuleLoader__.load({
|
|
|
2184
2184
|
document.head.appendChild(tag);
|
|
2185
2185
|
}
|
|
2186
2186
|
var KnowledgePanel_module_css_default = {
|
|
2187
|
-
"factDot": "uNOdFq_factDot",
|
|
2188
|
-
"hitName": "uNOdFq_hitName",
|
|
2189
|
-
"referenceNote": "uNOdFq_referenceNote",
|
|
2190
2187
|
"menuGroupLabel": "uNOdFq_menuGroupLabel",
|
|
2191
|
-
"
|
|
2192
|
-
"
|
|
2188
|
+
"notice": "uNOdFq_notice",
|
|
2189
|
+
"hitLineNo": "uNOdFq_hitLineNo",
|
|
2190
|
+
"subhead": "uNOdFq_subhead",
|
|
2191
|
+
"emptyGlyph": "uNOdFq_emptyGlyph",
|
|
2192
|
+
"path": "uNOdFq_path",
|
|
2193
|
+
"pairs": "uNOdFq_pairs",
|
|
2194
|
+
"empty": "uNOdFq_empty",
|
|
2195
|
+
"headerActions": "uNOdFq_headerActions",
|
|
2196
|
+
"iconButton": "uNOdFq_iconButton",
|
|
2197
|
+
"header": "uNOdFq_header",
|
|
2198
|
+
"railBody": "uNOdFq_railBody",
|
|
2199
|
+
"bodyDocument": "uNOdFq_bodyDocument",
|
|
2200
|
+
"menuGlyph": "uNOdFq_menuGlyph",
|
|
2193
2201
|
"referenceNoteDismiss": "uNOdFq_referenceNoteDismiss",
|
|
2202
|
+
"menu": "uNOdFq_menu",
|
|
2203
|
+
"treeScroll": "uNOdFq_treeScroll",
|
|
2204
|
+
"hitPath": "uNOdFq_hitPath",
|
|
2205
|
+
"openFailure": "uNOdFq_openFailure",
|
|
2206
|
+
"referenceNote": "uNOdFq_referenceNote",
|
|
2207
|
+
"menuFolded": "uNOdFq_menuFolded",
|
|
2208
|
+
"hitTime": "uNOdFq_hitTime",
|
|
2194
2209
|
"body": "uNOdFq_body",
|
|
2195
|
-
"preview": "uNOdFq_preview",
|
|
2196
2210
|
"headerTitle": "uNOdFq_headerTitle",
|
|
2197
|
-
"
|
|
2211
|
+
"sectionName": "uNOdFq_sectionName",
|
|
2198
2212
|
"menuLabel": "uNOdFq_menuLabel",
|
|
2199
|
-
"content": "uNOdFq_content",
|
|
2200
|
-
"surface": "uNOdFq_surface",
|
|
2201
|
-
"muted": "uNOdFq_muted",
|
|
2202
|
-
"errorGlyph": "uNOdFq_errorGlyph",
|
|
2203
|
-
"treeFilter": "uNOdFq_treeFilter",
|
|
2204
|
-
"sectionActions": "uNOdFq_sectionActions",
|
|
2205
|
-
"input": "uNOdFq_input",
|
|
2206
|
-
"railBody": "uNOdFq_railBody",
|
|
2207
|
-
"errorDetail": "uNOdFq_errorDetail",
|
|
2208
|
-
"railBrand": "uNOdFq_railBrand",
|
|
2209
|
-
"bodyCollapsed": "uNOdFq_bodyCollapsed",
|
|
2210
|
-
"hitActive": "uNOdFq_hitActive",
|
|
2211
|
-
"railBrandName": "uNOdFq_railBrandName",
|
|
2212
|
-
"railTopSpacer": "uNOdFq_railTopSpacer",
|
|
2213
|
-
"field": "uNOdFq_field",
|
|
2214
|
-
"sectionHeader": "uNOdFq_sectionHeader",
|
|
2215
|
-
"treeScroll": "uNOdFq_treeScroll",
|
|
2216
|
-
"menuFolded": "uNOdFq_menuFolded",
|
|
2217
|
-
"hitLineNo": "uNOdFq_hitLineNo",
|
|
2218
|
-
"iconButton": "uNOdFq_iconButton",
|
|
2219
|
-
"subhead": "uNOdFq_subhead",
|
|
2220
2213
|
"openedElsewhere": "uNOdFq_openedElsewhere",
|
|
2221
|
-
"hitLine": "uNOdFq_hitLine",
|
|
2222
|
-
"contentColumn": "uNOdFq_contentColumn",
|
|
2223
|
-
"headerPath": "uNOdFq_headerPath",
|
|
2224
2214
|
"treeBand": "uNOdFq_treeBand",
|
|
2225
|
-
"path": "uNOdFq_path",
|
|
2226
|
-
"menu": "uNOdFq_menu",
|
|
2227
|
-
"menuRow": "uNOdFq_menuRow",
|
|
2228
|
-
"errorPanel": "uNOdFq_errorPanel",
|
|
2229
|
-
"menuGlyph": "uNOdFq_menuGlyph",
|
|
2230
|
-
"pinnedBand": "uNOdFq_pinnedBand",
|
|
2231
|
-
"emptyTitle": "uNOdFq_emptyTitle",
|
|
2232
|
-
"hit": "uNOdFq_hit",
|
|
2233
|
-
"pair": "uNOdFq_pair",
|
|
2234
|
-
"retry": "uNOdFq_retry",
|
|
2235
|
-
"previewColumn": "uNOdFq_previewColumn",
|
|
2236
2215
|
"form": "uNOdFq_form",
|
|
2216
|
+
"contentColumn": "uNOdFq_contentColumn",
|
|
2217
|
+
"pair": "uNOdFq_pair",
|
|
2218
|
+
"railTop": "uNOdFq_railTop",
|
|
2219
|
+
"treeFilter": "uNOdFq_treeFilter",
|
|
2220
|
+
"hit": "uNOdFq_hit",
|
|
2221
|
+
"field": "uNOdFq_field",
|
|
2222
|
+
"searchBox": "uNOdFq_searchBox",
|
|
2223
|
+
"emptyTitle": "uNOdFq_emptyTitle",
|
|
2224
|
+
"previewLayout": "uNOdFq_previewLayout",
|
|
2225
|
+
"errorDetail": "uNOdFq_errorDetail",
|
|
2226
|
+
"sectionActions": "uNOdFq_sectionActions",
|
|
2227
|
+
"railBrandName": "uNOdFq_railBrandName",
|
|
2237
2228
|
"headerFact": "uNOdFq_headerFact",
|
|
2238
|
-
"bodyDocument": "uNOdFq_bodyDocument",
|
|
2239
|
-
"rail": "uNOdFq_rail",
|
|
2240
2229
|
"tableSurface": "uNOdFq_tableSurface",
|
|
2241
|
-
"
|
|
2242
|
-
"
|
|
2230
|
+
"pinnedBand": "uNOdFq_pinnedBand",
|
|
2231
|
+
"content": "uNOdFq_content",
|
|
2243
2232
|
"error": "uNOdFq_error",
|
|
2244
|
-
"
|
|
2245
|
-
"
|
|
2246
|
-
"
|
|
2247
|
-
"
|
|
2248
|
-
"
|
|
2249
|
-
"
|
|
2250
|
-
"notice": "uNOdFq_notice",
|
|
2251
|
-
"headerHint": "uNOdFq_headerHint",
|
|
2233
|
+
"menuRow": "uNOdFq_menuRow",
|
|
2234
|
+
"muted": "uNOdFq_muted",
|
|
2235
|
+
"factDot": "uNOdFq_factDot",
|
|
2236
|
+
"preview": "uNOdFq_preview",
|
|
2237
|
+
"surface": "uNOdFq_surface",
|
|
2238
|
+
"input": "uNOdFq_input",
|
|
2252
2239
|
"table": "uNOdFq_table",
|
|
2253
|
-
"
|
|
2254
|
-
"header": "uNOdFq_header",
|
|
2255
|
-
"emptyGlyph": "uNOdFq_emptyGlyph",
|
|
2240
|
+
"errorPanel": "uNOdFq_errorPanel",
|
|
2256
2241
|
"menuRowActive": "uNOdFq_menuRowActive",
|
|
2242
|
+
"railBrand": "uNOdFq_railBrand",
|
|
2243
|
+
"errorTitle": "uNOdFq_errorTitle",
|
|
2244
|
+
"hitActive": "uNOdFq_hitActive",
|
|
2257
2245
|
"hits": "uNOdFq_hits",
|
|
2246
|
+
"rail": "uNOdFq_rail",
|
|
2247
|
+
"hitName": "uNOdFq_hitName",
|
|
2248
|
+
"bodyCollapsed": "uNOdFq_bodyCollapsed",
|
|
2249
|
+
"retry": "uNOdFq_retry",
|
|
2250
|
+
"headerPath": "uNOdFq_headerPath",
|
|
2251
|
+
"headerHint": "uNOdFq_headerHint",
|
|
2252
|
+
"errorGlyph": "uNOdFq_errorGlyph",
|
|
2253
|
+
"sectionHeader": "uNOdFq_sectionHeader",
|
|
2254
|
+
"title": "uNOdFq_title",
|
|
2258
2255
|
"menuSeparator": "uNOdFq_menuSeparator",
|
|
2259
|
-
"
|
|
2256
|
+
"railTopSpacer": "uNOdFq_railTopSpacer",
|
|
2257
|
+
"page": "uNOdFq_page",
|
|
2258
|
+
"hitLine": "uNOdFq_hitLine",
|
|
2259
|
+
"previewColumn": "uNOdFq_previewColumn"
|
|
2260
2260
|
};
|
|
2261
2261
|
//#endregion
|
|
2262
2262
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/KnowledgeTemplates.module.css.mjs
|
|
@@ -2270,54 +2270,54 @@ window.__ModuleLoader__.load({
|
|
|
2270
2270
|
document.head.appendChild(tag);
|
|
2271
2271
|
}
|
|
2272
2272
|
var KnowledgeTemplates_module_css_default = {
|
|
2273
|
+
"toolbar": "Tg9J7q_toolbar",
|
|
2274
|
+
"quickFilter": "Tg9J7q_quickFilter",
|
|
2275
|
+
"formActions": "Tg9J7q_formActions",
|
|
2273
2276
|
"previewContent": "Tg9J7q_previewContent",
|
|
2274
|
-
"
|
|
2275
|
-
"cardTitle": "Tg9J7q_cardTitle",
|
|
2276
|
-
"fieldHint": "Tg9J7q_fieldHint",
|
|
2277
|
-
"filterRow": "Tg9J7q_filterRow",
|
|
2277
|
+
"coverPage": "Tg9J7q_coverPage",
|
|
2278
2278
|
"filterDivider": "Tg9J7q_filterDivider",
|
|
2279
|
-
"destinationLabel": "Tg9J7q_destinationLabel",
|
|
2280
|
-
"dialog": "Tg9J7q_dialog",
|
|
2281
|
-
"manageList": "Tg9J7q_manageList",
|
|
2282
2279
|
"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
|
-
"fieldLabel": "Tg9J7q_fieldLabel",
|
|
2292
2280
|
"manageRow": "Tg9J7q_manageRow",
|
|
2281
|
+
"footer": "Tg9J7q_footer",
|
|
2293
2282
|
"cover": "Tg9J7q_cover",
|
|
2294
|
-
"
|
|
2295
|
-
"
|
|
2283
|
+
"library": "Tg9J7q_library",
|
|
2284
|
+
"quickFilters": "Tg9J7q_quickFilters",
|
|
2285
|
+
"sheetGrid": "Tg9J7q_sheetGrid",
|
|
2286
|
+
"muted": "Tg9J7q_muted",
|
|
2287
|
+
"slidePage": "Tg9J7q_slidePage",
|
|
2288
|
+
"cardHead": "Tg9J7q_cardHead",
|
|
2289
|
+
"form": "Tg9J7q_form",
|
|
2290
|
+
"favorite": "Tg9J7q_favorite",
|
|
2291
|
+
"documentPage": "Tg9J7q_documentPage",
|
|
2296
2292
|
"modal": "Tg9J7q_modal",
|
|
2293
|
+
"card": "Tg9J7q_card",
|
|
2294
|
+
"fileInput": "Tg9J7q_fileInput",
|
|
2295
|
+
"lineShort": "Tg9J7q_lineShort",
|
|
2296
|
+
"manageList": "Tg9J7q_manageList",
|
|
2297
|
+
"notice": "Tg9J7q_notice",
|
|
2298
|
+
"grid": "Tg9J7q_grid",
|
|
2299
|
+
"cardActions": "Tg9J7q_cardActions",
|
|
2297
2300
|
"cardMain": "Tg9J7q_cardMain",
|
|
2298
|
-
"
|
|
2299
|
-
"
|
|
2300
|
-
"
|
|
2301
|
-
"
|
|
2302
|
-
"favorite": "Tg9J7q_favorite",
|
|
2301
|
+
"fieldLabel": "Tg9J7q_fieldLabel",
|
|
2302
|
+
"destination": "Tg9J7q_destination",
|
|
2303
|
+
"cardTitle": "Tg9J7q_cardTitle",
|
|
2304
|
+
"dialog": "Tg9J7q_dialog",
|
|
2303
2305
|
"categoryFilters": "Tg9J7q_categoryFilters",
|
|
2304
|
-
"coverPage": "Tg9J7q_coverPage",
|
|
2305
|
-
"lineShort": "Tg9J7q_lineShort",
|
|
2306
2306
|
"cardBody": "Tg9J7q_cardBody",
|
|
2307
|
-
"
|
|
2308
|
-
"
|
|
2309
|
-
"
|
|
2307
|
+
"fieldHint": "Tg9J7q_fieldHint",
|
|
2308
|
+
"filterRow": "Tg9J7q_filterRow",
|
|
2309
|
+
"manageName": "Tg9J7q_manageName",
|
|
2310
|
+
"manageBar": "Tg9J7q_manageBar",
|
|
2310
2311
|
"cardIcon": "Tg9J7q_cardIcon",
|
|
2311
|
-
"
|
|
2312
|
-
"
|
|
2313
|
-
"
|
|
2314
|
-
"library": "Tg9J7q_library",
|
|
2315
|
-
"sheetGrid": "Tg9J7q_sheetGrid",
|
|
2316
|
-
"field": "Tg9J7q_field",
|
|
2317
|
-
"form": "Tg9J7q_form",
|
|
2318
|
-
"grid": "Tg9J7q_grid",
|
|
2312
|
+
"lineWide": "Tg9J7q_lineWide",
|
|
2313
|
+
"destinationLabel": "Tg9J7q_destinationLabel",
|
|
2314
|
+
"cardTags": "Tg9J7q_cardTags",
|
|
2319
2315
|
"cardFoot": "Tg9J7q_cardFoot",
|
|
2320
|
-
"
|
|
2316
|
+
"manageActions": "Tg9J7q_manageActions",
|
|
2317
|
+
"categoryChip": "Tg9J7q_categoryChip",
|
|
2318
|
+
"previewModal": "Tg9J7q_previewModal",
|
|
2319
|
+
"cardMeta": "Tg9J7q_cardMeta",
|
|
2320
|
+
"field": "Tg9J7q_field"
|
|
2321
2321
|
};
|
|
2322
2322
|
//#endregion
|
|
2323
2323
|
//#region src/client/KnowledgeTemplates.tsx
|
|
@@ -3303,14 +3303,14 @@ window.__ModuleLoader__.load({
|
|
|
3303
3303
|
document.head.appendChild(tag);
|
|
3304
3304
|
}
|
|
3305
3305
|
var KnowledgeNewDocumentDialog_module_css_default = {
|
|
3306
|
-
"cardTitle": "hXsYha_cardTitle",
|
|
3307
|
-
"cardText": "hXsYha_cardText",
|
|
3308
3306
|
"dialog": "hXsYha_dialog",
|
|
3309
|
-
"iconPlate": "hXsYha_iconPlate",
|
|
3310
|
-
"footer": "hXsYha_footer",
|
|
3311
3307
|
"card": "hXsYha_card",
|
|
3308
|
+
"cardText": "hXsYha_cardText",
|
|
3309
|
+
"iconPlate": "hXsYha_iconPlate",
|
|
3312
3310
|
"modal": "hXsYha_modal",
|
|
3313
|
-
"
|
|
3311
|
+
"footer": "hXsYha_footer",
|
|
3312
|
+
"cards": "hXsYha_cards",
|
|
3313
|
+
"cardTitle": "hXsYha_cardTitle"
|
|
3314
3314
|
};
|
|
3315
3315
|
//#endregion
|
|
3316
3316
|
//#region src/client/KnowledgeNewDocumentDialog.tsx
|
|
@@ -3401,55 +3401,55 @@ window.__ModuleLoader__.load({
|
|
|
3401
3401
|
document.head.appendChild(tag);
|
|
3402
3402
|
}
|
|
3403
3403
|
var KnowledgeCreateDialog_module_css_default = {
|
|
3404
|
-
"
|
|
3405
|
-
"
|
|
3406
|
-
"fieldLabel": "HX727W_fieldLabel",
|
|
3407
|
-
"fieldHint": "HX727W_fieldHint",
|
|
3404
|
+
"pickerRow": "HX727W_pickerRow",
|
|
3405
|
+
"pickerPath": "HX727W_pickerPath",
|
|
3408
3406
|
"pickerPathValue": "HX727W_pickerPathValue",
|
|
3407
|
+
"crumbWrap": "HX727W_crumbWrap",
|
|
3408
|
+
"pickerBar": "HX727W_pickerBar",
|
|
3409
3409
|
"dialog": "HX727W_dialog",
|
|
3410
|
-
"pickerList": "HX727W_pickerList",
|
|
3411
|
-
"pickerMuted": "HX727W_pickerMuted",
|
|
3412
|
-
"step": "HX727W_step",
|
|
3413
|
-
"uploadList": "HX727W_uploadList",
|
|
3414
|
-
"treeRow": "HX727W_treeRow",
|
|
3415
3410
|
"fileName": "HX727W_fileName",
|
|
3416
|
-
"
|
|
3417
|
-
"uploadRow": "HX727W_uploadRow",
|
|
3418
|
-
"treeNotice": "HX727W_treeNotice",
|
|
3419
|
-
"crumbSep": "HX727W_crumbSep",
|
|
3420
|
-
"visuallyHiddenInput": "HX727W_visuallyHiddenInput",
|
|
3421
|
-
"dropzoneTitle": "HX727W_dropzoneTitle",
|
|
3422
|
-
"fileRow": "HX727W_fileRow",
|
|
3423
|
-
"uploadSummary": "HX727W_uploadSummary",
|
|
3424
|
-
"steps": "HX727W_steps",
|
|
3425
|
-
"dropzone": "HX727W_dropzone",
|
|
3411
|
+
"uploadList": "HX727W_uploadList",
|
|
3426
3412
|
"removeFile": "HX727W_removeFile",
|
|
3427
3413
|
"uploadQueue": "HX727W_uploadQueue",
|
|
3414
|
+
"fileInput": "HX727W_fileInput",
|
|
3415
|
+
"picker": "HX727W_picker",
|
|
3416
|
+
"fieldError": "HX727W_fieldError",
|
|
3417
|
+
"field": "HX727W_field",
|
|
3418
|
+
"dropzoneHint": "HX727W_dropzoneHint",
|
|
3419
|
+
"pickerMuted": "HX727W_pickerMuted",
|
|
3420
|
+
"pickerList": "HX727W_pickerList",
|
|
3428
3421
|
"tree": "HX727W_tree",
|
|
3429
|
-
"
|
|
3430
|
-
"pickerRow": "HX727W_pickerRow",
|
|
3422
|
+
"uploadLayout": "HX727W_uploadLayout",
|
|
3431
3423
|
"pickerPathLabel": "HX727W_pickerPathLabel",
|
|
3432
3424
|
"summary": "HX727W_summary",
|
|
3433
|
-
"
|
|
3434
|
-
"fileTarget": "HX727W_fileTarget",
|
|
3435
|
-
"footer": "HX727W_footer",
|
|
3425
|
+
"crumbSep": "HX727W_crumbSep",
|
|
3436
3426
|
"stepLine": "HX727W_stepLine",
|
|
3437
|
-
"
|
|
3438
|
-
"
|
|
3439
|
-
"
|
|
3440
|
-
"
|
|
3441
|
-
"
|
|
3427
|
+
"treeNotice": "HX727W_treeNotice",
|
|
3428
|
+
"fieldHint": "HX727W_fieldHint",
|
|
3429
|
+
"uploadSummary": "HX727W_uploadSummary",
|
|
3430
|
+
"fileRow": "HX727W_fileRow",
|
|
3431
|
+
"step": "HX727W_step",
|
|
3432
|
+
"footer": "HX727W_footer",
|
|
3433
|
+
"treeChildren": "HX727W_treeChildren",
|
|
3434
|
+
"dropzoneTitle": "HX727W_dropzoneTitle",
|
|
3442
3435
|
"modal": "HX727W_modal",
|
|
3443
|
-
"fileInput": "HX727W_fileInput",
|
|
3444
|
-
"uploadLayout": "HX727W_uploadLayout",
|
|
3445
|
-
"treeMuted": "HX727W_treeMuted",
|
|
3446
|
-
"pickerPath": "HX727W_pickerPath",
|
|
3447
3436
|
"uploadSize": "HX727W_uploadSize",
|
|
3448
|
-
"
|
|
3449
|
-
"
|
|
3437
|
+
"treeRow": "HX727W_treeRow",
|
|
3438
|
+
"treeMuted": "HX727W_treeMuted",
|
|
3439
|
+
"treeToggle": "HX727W_treeToggle",
|
|
3440
|
+
"crumb": "HX727W_crumb",
|
|
3441
|
+
"dropzone": "HX727W_dropzone",
|
|
3442
|
+
"fileTarget": "HX727W_fileTarget",
|
|
3443
|
+
"visuallyHiddenInput": "HX727W_visuallyHiddenInput",
|
|
3444
|
+
"uploadRow": "HX727W_uploadRow",
|
|
3445
|
+
"fieldLabel": "HX727W_fieldLabel",
|
|
3446
|
+
"fileList": "HX727W_fileList",
|
|
3447
|
+
"uploadName": "HX727W_uploadName",
|
|
3448
|
+
"steps": "HX727W_steps",
|
|
3449
|
+
"treeName": "HX727W_treeName"
|
|
3450
3450
|
};
|
|
3451
3451
|
//#endregion
|
|
3452
|
-
//#region
|
|
3452
|
+
//#region node_modules/clsx/dist/clsx.mjs
|
|
3453
3453
|
function r(e) {
|
|
3454
3454
|
var t, f, n = "";
|
|
3455
3455
|
if ("string" == typeof e || "number" == typeof e) n += e;
|
|
@@ -3666,7 +3666,7 @@ window.__ModuleLoader__.load({
|
|
|
3666
3666
|
})(props);
|
|
3667
3667
|
}
|
|
3668
3668
|
//#endregion
|
|
3669
|
-
//#region
|
|
3669
|
+
//#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
3670
|
/**
|
|
3671
3671
|
* Absolute base for the plugin's own host transports — the HTTP routes
|
|
3672
3672
|
* (`/sidebar/api/*`, `/sidebar/file`, `/sidebar/bundle/*`, …) and the
|
|
@@ -3723,7 +3723,7 @@ window.__ModuleLoader__.load({
|
|
|
3723
3723
|
return hostTransportBase();
|
|
3724
3724
|
}
|
|
3725
3725
|
//#endregion
|
|
3726
|
-
//#region
|
|
3726
|
+
//#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
3727
|
/**
|
|
3728
3728
|
* Prefix-safe resolution of the plugin's own host routes (HTTP and WebSocket).
|
|
3729
3729
|
*
|
|
@@ -3790,7 +3790,7 @@ window.__ModuleLoader__.load({
|
|
|
3790
3790
|
return url.href;
|
|
3791
3791
|
}
|
|
3792
3792
|
//#endregion
|
|
3793
|
-
//#region
|
|
3793
|
+
//#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
3794
|
/**
|
|
3795
3795
|
* Path projection helpers shared by the explorer rows: workspace-relative
|
|
3796
3796
|
* mentions and session-cwd-relative "copy relative path".
|
|
@@ -3813,7 +3813,6 @@ window.__ModuleLoader__.load({
|
|
|
3813
3813
|
* comment — so a produced UNC path is never joined onto the cwd.
|
|
3814
3814
|
*/
|
|
3815
3815
|
function isAbsolutePath(path) {
|
|
3816
|
-
if (typeof path !== "string") return false;
|
|
3817
3816
|
return path === "~" || path.startsWith("~/") || path.startsWith("~\\") || path.startsWith("/") || /^[A-Za-z]:[\\/]/.test(path) || /^[\\/]{2}[^\\/]/.test(path);
|
|
3818
3817
|
}
|
|
3819
3818
|
/**
|
|
@@ -3829,7 +3828,6 @@ window.__ModuleLoader__.load({
|
|
|
3829
3828
|
* relative text keeps the caller's own casing.
|
|
3830
3829
|
*/
|
|
3831
3830
|
function relativeTo(cwd, path) {
|
|
3832
|
-
if (typeof path !== "string") return "";
|
|
3833
3831
|
const base = cwd.replace(/[\\/]+$/, "");
|
|
3834
3832
|
const norm = (value) => value.replace(/\\/g, "/");
|
|
3835
3833
|
const nBase = norm(base);
|
|
@@ -3863,7 +3861,6 @@ window.__ModuleLoader__.load({
|
|
|
3863
3861
|
* a worktree label). Returns the whole string when no separator is present.
|
|
3864
3862
|
*/
|
|
3865
3863
|
function baseName$1(path) {
|
|
3866
|
-
if (typeof path !== "string") return "";
|
|
3867
3864
|
const at = Math.max(path.lastIndexOf("/"), path.lastIndexOf("\\"));
|
|
3868
3865
|
return at === -1 ? path : path.slice(at + 1);
|
|
3869
3866
|
}
|
|
@@ -3873,7 +3870,6 @@ window.__ModuleLoader__.load({
|
|
|
3873
3870
|
* roots, drive letters and UNC shares must not be joined onto the cwd.
|
|
3874
3871
|
*/
|
|
3875
3872
|
function resolveSidebarPath(cwd, path) {
|
|
3876
|
-
if (typeof path !== "string") return "";
|
|
3877
3873
|
if (isAbsolutePath(path)) return path;
|
|
3878
3874
|
const base = cwd ?? "";
|
|
3879
3875
|
if (base === "") return path;
|
|
@@ -3881,7 +3877,7 @@ window.__ModuleLoader__.load({
|
|
|
3881
3877
|
return `${base.replace(/[\\/]+$/, "")}${separator}${path}`;
|
|
3882
3878
|
}
|
|
3883
3879
|
//#endregion
|
|
3884
|
-
//#region
|
|
3880
|
+
//#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
3881
|
/** One wire failure. */
|
|
3886
3882
|
var SidebarApiError = class extends Error {
|
|
3887
3883
|
code;
|
|
@@ -4158,8 +4154,6 @@ window.__ModuleLoader__.load({
|
|
|
4158
4154
|
gitCheckout: (scope, branch, worktree) => call("git.checkout", gitPayload(scope, worktree, { branch })),
|
|
4159
4155
|
/** Read-only topological history; stale cursors require a fresh first page. */
|
|
4160
4156
|
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
4157
|
/** Recent commit history, lazily pageable (skip/count; defaults 0/30). */
|
|
4164
4158
|
gitLog: (scope, count, skip, worktree, signal) => call("git.log", gitPayload(scope, worktree, {
|
|
4165
4159
|
...count !== void 0 ? { count } : {},
|
|
@@ -4233,10 +4227,9 @@ window.__ModuleLoader__.load({
|
|
|
4233
4227
|
question: question ?? ""
|
|
4234
4228
|
}),
|
|
4235
4229
|
/** Deliver one follow-up message to a Side Chat thread. */
|
|
4236
|
-
sidechatPrompt: (childId, text
|
|
4230
|
+
sidechatPrompt: (childId, text) => call("sidechat.prompt", {
|
|
4237
4231
|
childId,
|
|
4238
|
-
text
|
|
4239
|
-
...images === void 0 || images.length === 0 ? {} : { images }
|
|
4232
|
+
text
|
|
4240
4233
|
}),
|
|
4241
4234
|
/** Abort a Side Chat thread's running turn (queued work is preserved). */
|
|
4242
4235
|
sidechatCancel: (childId) => call("sidechat.cancel", { childId }),
|
|
@@ -4404,15 +4397,10 @@ window.__ModuleLoader__.load({
|
|
|
4404
4397
|
return [...targets];
|
|
4405
4398
|
}
|
|
4406
4399
|
//#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
|
-
*/
|
|
4400
|
+
//#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
|
|
4401
|
+
/** The default choice — byte-for-byte the order the host listing arrives in. */
|
|
4414
4402
|
const DEFAULT_FILE_TREE_SORT = {
|
|
4415
|
-
key: "
|
|
4403
|
+
key: "name",
|
|
4416
4404
|
dirsFirst: true
|
|
4417
4405
|
};
|
|
4418
4406
|
/**
|
|
@@ -4449,19 +4437,7 @@ window.__ModuleLoader__.load({
|
|
|
4449
4437
|
function sortEntries(entries, sort) {
|
|
4450
4438
|
return [...entries].sort((a, b) => {
|
|
4451
4439
|
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") {
|
|
4440
|
+
if (sort.key === "type") {
|
|
4465
4441
|
const ta = typeOf(a.name, a.isDir);
|
|
4466
4442
|
const tb = typeOf(b.name, b.isDir);
|
|
4467
4443
|
if (ta !== tb) return ta < tb ? -1 : 1;
|
|
@@ -4470,7 +4446,7 @@ window.__ModuleLoader__.load({
|
|
|
4470
4446
|
});
|
|
4471
4447
|
}
|
|
4472
4448
|
//#endregion
|
|
4473
|
-
//#region
|
|
4449
|
+
//#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
4450
|
/**
|
|
4475
4451
|
* Whether a name matches the reader's term.
|
|
4476
4452
|
*
|
|
@@ -4503,7 +4479,7 @@ window.__ModuleLoader__.load({
|
|
|
4503
4479
|
* instead of an empty row. A deeply nested hit therefore drags its whole chain with it,
|
|
4504
4480
|
* which is the only way a file inside a collapsed folder can be seen.
|
|
4505
4481
|
* @param rows - this level's rows, in display order.
|
|
4506
|
-
* @param
|
|
4482
|
+
* @param childrenOf - one directory row's loaded children; `undefined` means "not loaded".
|
|
4507
4483
|
* @param needle - the term, already normalised.
|
|
4508
4484
|
* @param withinMatch - whether an ancestor already matched the term.
|
|
4509
4485
|
* @returns The rows to draw at this level.
|
|
@@ -4524,7 +4500,7 @@ window.__ModuleLoader__.load({
|
|
|
4524
4500
|
return kept;
|
|
4525
4501
|
}
|
|
4526
4502
|
//#endregion
|
|
4527
|
-
//#region
|
|
4503
|
+
//#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
4504
|
/**
|
|
4529
4505
|
* A file row: the host's own classifier and artwork for any path. Unknown
|
|
4530
4506
|
* extensions land on the generic document glyph, exactly like the host's
|
|
@@ -4533,7 +4509,7 @@ window.__ModuleLoader__.load({
|
|
|
4533
4509
|
* @param size - the square edge in px.
|
|
4534
4510
|
* @returns the host's file-type glyph.
|
|
4535
4511
|
*/
|
|
4536
|
-
function builtinFileIcon(path, size) {
|
|
4512
|
+
function builtinFileIcon$1(path, size) {
|
|
4537
4513
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.FileTypeIcon, {
|
|
4538
4514
|
path,
|
|
4539
4515
|
size
|
|
@@ -4552,14 +4528,14 @@ window.__ModuleLoader__.load({
|
|
|
4552
4528
|
* @param size - the square edge in px.
|
|
4553
4529
|
* @returns the host's folder glyph.
|
|
4554
4530
|
*/
|
|
4555
|
-
function builtinFolderIcon(_open, size) {
|
|
4531
|
+
function builtinFolderIcon$1(_open, size) {
|
|
4556
4532
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.FileTypeIcon, {
|
|
4557
4533
|
kind: "folder",
|
|
4558
4534
|
size
|
|
4559
4535
|
});
|
|
4560
4536
|
}
|
|
4561
4537
|
//#endregion
|
|
4562
|
-
//#region
|
|
4538
|
+
//#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
4539
|
/**
|
|
4564
4540
|
* Icons the sidebar needs beyond the primitives set: a terminal glyph (the
|
|
4565
4541
|
* icon library has none), a diff glyph, and the bottom-workbench toggle.
|
|
@@ -4606,7 +4582,7 @@ window.__ModuleLoader__.load({
|
|
|
4606
4582
|
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
4583
|
});
|
|
4608
4584
|
//#endregion
|
|
4609
|
-
//#region
|
|
4585
|
+
//#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
4586
|
/** The CONSERVATIVE decision, for non-intercepting callers where misreading a
|
|
4611
4587
|
* composition key costs more than ignoring an ordinary one: a bare 229 counts
|
|
4612
4588
|
* even outside a composition window. Pure — reads no module state, so it
|
|
@@ -4615,7 +4591,7 @@ window.__ModuleLoader__.load({
|
|
|
4615
4591
|
return event.isComposing === true || event.keyCode === 229;
|
|
4616
4592
|
}
|
|
4617
4593
|
//#endregion
|
|
4618
|
-
//#region
|
|
4594
|
+
//#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
4595
|
/**
|
|
4620
4596
|
* Submenu flip geometry for the portaled context menus.
|
|
4621
4597
|
*
|
|
@@ -4680,7 +4656,7 @@ window.__ModuleLoader__.load({
|
|
|
4680
4656
|
}, [menu]);
|
|
4681
4657
|
}
|
|
4682
4658
|
//#endregion
|
|
4683
|
-
//#region
|
|
4659
|
+
//#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
4660
|
/**
|
|
4685
4661
|
* Minimal zh/en/ja copy for the sidebar. The copy follows the DSH i18n system:
|
|
4686
4662
|
* the client apply attaches the locale service (`ctx.locale`, provided by
|
|
@@ -4784,8 +4760,6 @@ window.__ModuleLoader__.load({
|
|
|
4784
4760
|
openInAppEmpty: "没有可用于打开它的应用",
|
|
4785
4761
|
openInAppFailed: "无法打开:{path}",
|
|
4786
4762
|
revealInFileManager: "在文件管理器中显示",
|
|
4787
|
-
openContainingFolder: "打开所在文件夹",
|
|
4788
|
-
openInFileManager: "打开所在位置",
|
|
4789
4763
|
filesSelected: "已选择 {count} 项",
|
|
4790
4764
|
clearSelection: "取消选择",
|
|
4791
4765
|
copyPaths: "复制路径",
|
|
@@ -4817,11 +4791,11 @@ window.__ModuleLoader__.load({
|
|
|
4817
4791
|
newTab: "新建标签页",
|
|
4818
4792
|
brokenSymlink: "失效的软链接",
|
|
4819
4793
|
close: "关闭",
|
|
4820
|
-
closeOtherTabs: "
|
|
4794
|
+
closeOtherTabs: "关闭其他标签",
|
|
4821
4795
|
tabUnread: "有未查看的新页面",
|
|
4822
|
-
closeLeftTabs: "
|
|
4823
|
-
closeRightTabs: "
|
|
4824
|
-
closeAllTabs: "
|
|
4796
|
+
closeLeftTabs: "关闭左侧标签",
|
|
4797
|
+
closeRightTabs: "关闭右侧标签",
|
|
4798
|
+
closeAllTabs: "关闭全部标签",
|
|
4825
4799
|
revealTabInFileManager: "在资源管理器中定位",
|
|
4826
4800
|
pinTerminal: "固定终端",
|
|
4827
4801
|
pinAgentTerminal: "固定 Agent 终端",
|
|
@@ -4853,8 +4827,6 @@ window.__ModuleLoader__.load({
|
|
|
4853
4827
|
refresh: "刷新",
|
|
4854
4828
|
refreshUnsavedConfirm: "文件已在磁盘更新,刷新将丢弃未保存编辑。继续吗?",
|
|
4855
4829
|
closeUnsavedConfirm: "该文件有未保存的编辑,关闭后将丢弃。继续吗?",
|
|
4856
|
-
draftRestoreConfirm: "检测到未保存的草稿,恢复吗?(选择取消将丢弃该草稿)",
|
|
4857
|
-
switchUnsavedConfirm: "该文件有未保存的编辑,切换文件将丢弃这些内容。继续吗?",
|
|
4858
4830
|
save: "保存",
|
|
4859
4831
|
saved: "已保存",
|
|
4860
4832
|
unsaved: "未保存",
|
|
@@ -4893,7 +4865,6 @@ window.__ModuleLoader__.load({
|
|
|
4893
4865
|
searchGo: "跳转",
|
|
4894
4866
|
binary: "二进制文件,无法预览",
|
|
4895
4867
|
loading: "加载中…",
|
|
4896
|
-
filterNoMatch: "没有匹配的文件",
|
|
4897
4868
|
error: "加载失败",
|
|
4898
4869
|
retry: "重试",
|
|
4899
4870
|
notRepo: "当前目录不是 git 仓库",
|
|
@@ -4945,7 +4916,6 @@ window.__ModuleLoader__.load({
|
|
|
4945
4916
|
graphBranchFilter: "分支筛选",
|
|
4946
4917
|
graphEmpty: "暂无提交",
|
|
4947
4918
|
graphLoadError: "加载提交历史失败",
|
|
4948
|
-
graphLinearFallback: "分支过多,当前显示线性历史列表(不表示分支拓扑)",
|
|
4949
4919
|
graphStale: "提交历史已变化,请刷新",
|
|
4950
4920
|
graphDetails: "提交详情",
|
|
4951
4921
|
graphParents: "父提交",
|
|
@@ -4992,6 +4962,7 @@ window.__ModuleLoader__.load({
|
|
|
4992
4962
|
loadMore: "加载更多",
|
|
4993
4963
|
produced: "本次产出",
|
|
4994
4964
|
showInFolder: "在文件夹中显示",
|
|
4965
|
+
openContainingFolder: "打开所在文件夹",
|
|
4995
4966
|
disconnected: "终端连接断开,重连中…",
|
|
4996
4967
|
exited: "终端进程已退出",
|
|
4997
4968
|
noSession: "选择一个会话以使用侧边栏",
|
|
@@ -5002,7 +4973,6 @@ window.__ModuleLoader__.load({
|
|
|
5002
4973
|
openEditor: "打开编辑器",
|
|
5003
4974
|
referenceFile: "@文件",
|
|
5004
4975
|
addToConversation: "添加到对话",
|
|
5005
|
-
quoteChip: "引用 {where}",
|
|
5006
4976
|
copyRelative: "复制相对地址",
|
|
5007
4977
|
copyAbsolute: "复制绝对地址",
|
|
5008
4978
|
rename: "重命名",
|
|
@@ -5042,14 +5012,6 @@ window.__ModuleLoader__.load({
|
|
|
5042
5012
|
settingsSubagentDesc: "当前会话产生新的子代理时,在侧边栏创建任务管理页并标记未读红点;若侧边栏正展开在其他页面则不抢焦点,点红点即可前往;宽屏同时展开侧边栏,窄屏不强制展开全屏抽屉;关闭后不再自动创建",
|
|
5043
5013
|
settingsJobsTitle: "有新后台任务时自动激活任务管理页",
|
|
5044
5014
|
settingsJobsDesc: "当前会话出现新的后台任务时,在侧边栏创建任务管理页并标记未读红点(每个新任务都会触发);若侧边栏正展开在其他页面则不抢焦点,点红点即可前往;宽屏同时展开侧边栏,窄屏不强制展开全屏抽屉;关闭后不再自动创建",
|
|
5045
|
-
settingsTasksAutoFoldSettledTitle: "自动折叠已结束叶子任务",
|
|
5046
|
-
settingsTasksAutoFoldSettledDesc: "自动折叠已完成、失败或停止且没有子代理的叶子任务;默认开启",
|
|
5047
|
-
settingsTasksAutoFoldBranchesTitle: "仅自动折叠完全结束的分支",
|
|
5048
|
-
settingsTasksAutoFoldBranchesDesc: "仅当整条分支全部结束才自动折叠;含有运行中后代的分支绝不折叠;默认开启",
|
|
5049
|
-
settingsTasksAutoFoldIdleTitle: "自动折叠空闲成员",
|
|
5050
|
-
settingsTasksAutoFoldIdleDesc: "空闲成员达到 3 个或以上时自动折叠;默认开启",
|
|
5051
|
-
settingsJobsAutoCollapseTitle: "自动收起后台任务抽屉",
|
|
5052
|
-
settingsJobsAutoCollapseDesc: "代理总数达到 8 个或以上时自动收起后台任务抽屉;手动开关仍然可用;默认开启",
|
|
5053
5015
|
settingsToolsTitle: "为模型注入终端工具",
|
|
5054
5016
|
settingsToolsDesc: "开启后,模型可通过 terminal_create 等 8 个工具创建并操作侧边栏终端(默认关闭)",
|
|
5055
5017
|
settingsBottomTerminalTitle: "底部面板首次展开自动开终端",
|
|
@@ -5079,6 +5041,24 @@ window.__ModuleLoader__.load({
|
|
|
5079
5041
|
viewerCode: "代码",
|
|
5080
5042
|
viewerHtml: "HTML",
|
|
5081
5043
|
viewerJsonl: "JSONL",
|
|
5044
|
+
viewerCsv: "CSV 表格",
|
|
5045
|
+
csvTable: "表格",
|
|
5046
|
+
csvText: "文本",
|
|
5047
|
+
csvDelimiter: "分隔符",
|
|
5048
|
+
csvAuto: "自动",
|
|
5049
|
+
csvComma: "逗号 (,)",
|
|
5050
|
+
csvTab: "制表符 (Tab)",
|
|
5051
|
+
csvSemicolon: "分号 (;)",
|
|
5052
|
+
csvEncoding: "编码",
|
|
5053
|
+
csvUtf8: "UTF-8",
|
|
5054
|
+
csvRowsColumns: "行数 {rows} · 列数 {columns}",
|
|
5055
|
+
csvTruncated: "仅显示前 {rows} 行(上限 5000 行 / 2 MB)",
|
|
5056
|
+
csvTruncatedBytes: "文件超过 2 MB,仅解析前 2 MB(显示 {rows} 行)",
|
|
5057
|
+
csvEmpty: "空文件或没有可显示的表格数据",
|
|
5058
|
+
csvParseError: "CSV 解析失败:{message}",
|
|
5059
|
+
csvTooLargeForTable: "文件过大,表格视图不可用,请切换到文本",
|
|
5060
|
+
csvReload: "重新加载",
|
|
5061
|
+
csvShowMore: "显示更多",
|
|
5082
5062
|
browser: "浏览器",
|
|
5083
5063
|
browserPlaceholder: "输入网址,例如 example.com",
|
|
5084
5064
|
browserGo: "前往",
|
|
@@ -5089,10 +5069,6 @@ window.__ModuleLoader__.load({
|
|
|
5089
5069
|
browserBlockedLoopback: "已阻止:不允许在浏览器中访问本机或内部地址",
|
|
5090
5070
|
browserInvalid: "无效的网址",
|
|
5091
5071
|
htmlNoSandboxWarning: "沙箱已关闭:此 HTML 与界面同源,可读取会话文件与内部接口(可在设置中恢复)",
|
|
5092
|
-
sandboxPromptTitle: "是否启用沙箱限制?",
|
|
5093
|
-
sandboxPromptDesc: "启用后,HTML 页面在沙箱中运行,无法读取会话文件与内部接口;关闭后页面与界面同源,脚本可立即执行。",
|
|
5094
|
-
sandboxPromptEnable: "启用沙箱",
|
|
5095
|
-
sandboxPromptDisable: "不启用",
|
|
5096
5072
|
sandboxStatusOn: "沙箱模式:已启用 · 页面无法访问界面数据与本地文件,登录态与第三方 Cookie 可能不可用",
|
|
5097
5073
|
sandboxUnlock: "临时解锁(不安全)",
|
|
5098
5074
|
sandboxRestore: "恢复沙箱",
|
|
@@ -5133,7 +5109,6 @@ window.__ModuleLoader__.load({
|
|
|
5133
5109
|
sideChatSaveTitle: "把该线程提升为顶层会话,出现在主会话列表中",
|
|
5134
5110
|
sideChatArchive: "归档这条侧边对话(在会话列表的「显示已归档」里可找回)",
|
|
5135
5111
|
sideChatArchiveRunning: "该线程正在运行,停止后才能归档",
|
|
5136
|
-
sideChatArchiveBlocked: "侧边对话归档后无法找回(宿主会话列表在任何筛选下都不显示侧边对话),因此已禁用归档;如需保留,请先「保存为新会话」",
|
|
5137
5112
|
sideChatSaved: "已保存为新会话",
|
|
5138
5113
|
sideChatNoTurn: "至少完成一轮对话后才能保存",
|
|
5139
5114
|
sideChatPendingDrop: "最后一条未完成的追问不会包含在新会话中",
|
|
@@ -5149,23 +5124,10 @@ window.__ModuleLoader__.load({
|
|
|
5149
5124
|
sideChatThinking: "正在深入…",
|
|
5150
5125
|
sideChatThink: "思考过程",
|
|
5151
5126
|
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
5127
|
sideChatSend: "发送",
|
|
5164
5128
|
sideChatCancelTitle: "中止当前回合(保留队列)",
|
|
5165
5129
|
sideChatError: "侧边对话出错:{message}",
|
|
5166
5130
|
sideChatTurnUsage: "输入 {input} tok · 输出 {output} tok",
|
|
5167
|
-
sideChatDeliverables: "交付文件",
|
|
5168
|
-
sideChatDeliverableOpen: "打开 {name}",
|
|
5169
5131
|
sideChatBlockCollapse: "收起",
|
|
5170
5132
|
sideChatBlockCollapseAria: "收起",
|
|
5171
5133
|
sideChatBlockExpand: "展开 {hidden} 行",
|
|
@@ -5447,8 +5409,6 @@ window.__ModuleLoader__.load({
|
|
|
5447
5409
|
openInAppEmpty: "No application can open it",
|
|
5448
5410
|
openInAppFailed: "Could not open: {path}",
|
|
5449
5411
|
revealInFileManager: "Reveal in File Manager",
|
|
5450
|
-
openContainingFolder: "Open Containing Folder",
|
|
5451
|
-
openInFileManager: "Open Containing Location",
|
|
5452
5412
|
filesSelected: "{count} selected",
|
|
5453
5413
|
clearSelection: "Clear selection",
|
|
5454
5414
|
copyPaths: "Copy paths",
|
|
@@ -5516,8 +5476,6 @@ window.__ModuleLoader__.load({
|
|
|
5516
5476
|
refresh: "Refresh",
|
|
5517
5477
|
refreshUnsavedConfirm: "The file changed on disk. Refreshing will discard unsaved edits. Continue?",
|
|
5518
5478
|
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
5479
|
save: "Save",
|
|
5522
5480
|
saved: "Saved",
|
|
5523
5481
|
unsaved: "Unsaved",
|
|
@@ -5556,7 +5514,6 @@ window.__ModuleLoader__.load({
|
|
|
5556
5514
|
searchGo: "go",
|
|
5557
5515
|
binary: "Binary file, preview unavailable",
|
|
5558
5516
|
loading: "Loading…",
|
|
5559
|
-
filterNoMatch: "No matching files",
|
|
5560
5517
|
error: "Failed to load",
|
|
5561
5518
|
retry: "Retry",
|
|
5562
5519
|
notRepo: "This directory is not a git repository",
|
|
@@ -5608,7 +5565,6 @@ window.__ModuleLoader__.load({
|
|
|
5608
5565
|
graphBranchFilter: "Branch filter",
|
|
5609
5566
|
graphEmpty: "No commits",
|
|
5610
5567
|
graphLoadError: "Failed to load commit history",
|
|
5611
|
-
graphLinearFallback: "Too many branches; showing a linear history list (not branch topology)",
|
|
5612
5568
|
graphStale: "History has changed. Refresh to continue.",
|
|
5613
5569
|
graphDetails: "Commit details",
|
|
5614
5570
|
graphParents: "Parents",
|
|
@@ -5655,6 +5611,7 @@ window.__ModuleLoader__.load({
|
|
|
5655
5611
|
loadMore: "Load more",
|
|
5656
5612
|
produced: "Produced",
|
|
5657
5613
|
showInFolder: "Show in folder",
|
|
5614
|
+
openContainingFolder: "Open Containing Folder",
|
|
5658
5615
|
disconnected: "Terminal disconnected, reconnecting…",
|
|
5659
5616
|
exited: "Terminal process exited",
|
|
5660
5617
|
noSession: "Select a conversation to use the sidebar",
|
|
@@ -5665,7 +5622,6 @@ window.__ModuleLoader__.load({
|
|
|
5665
5622
|
openEditor: "Open editor",
|
|
5666
5623
|
referenceFile: "@file",
|
|
5667
5624
|
addToConversation: "Add to conversation",
|
|
5668
|
-
quoteChip: "Quote {where}",
|
|
5669
5625
|
copyRelative: "Copy relative path",
|
|
5670
5626
|
copyAbsolute: "Copy absolute path",
|
|
5671
5627
|
rename: "Rename",
|
|
@@ -5705,14 +5661,6 @@ window.__ModuleLoader__.load({
|
|
|
5705
5661
|
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
5662
|
settingsJobsTitle: "Auto-activate the Tasks page on a new background job",
|
|
5707
5663
|
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
5664
|
settingsToolsTitle: "Inject terminal tools for the model",
|
|
5717
5665
|
settingsToolsDesc: "When enabled, the model can create and drive sidebar terminals through the 8 terminal_* tools (off by default)",
|
|
5718
5666
|
settingsBottomTerminalTitle: "Auto-open a terminal on the bottom panel's first expansion",
|
|
@@ -5742,6 +5690,24 @@ window.__ModuleLoader__.load({
|
|
|
5742
5690
|
viewerCode: "Code",
|
|
5743
5691
|
viewerHtml: "HTML",
|
|
5744
5692
|
viewerJsonl: "JSONL",
|
|
5693
|
+
viewerCsv: "CSV table",
|
|
5694
|
+
csvTable: "Table",
|
|
5695
|
+
csvText: "Text",
|
|
5696
|
+
csvDelimiter: "Delimiter",
|
|
5697
|
+
csvAuto: "Auto",
|
|
5698
|
+
csvComma: "Comma (,)",
|
|
5699
|
+
csvTab: "Tab",
|
|
5700
|
+
csvSemicolon: "Semicolon (;)",
|
|
5701
|
+
csvEncoding: "Encoding",
|
|
5702
|
+
csvUtf8: "UTF-8",
|
|
5703
|
+
csvRowsColumns: "{rows} rows · {columns} columns",
|
|
5704
|
+
csvTruncated: "Showing first {rows} rows (limit 5000 rows / 2 MB)",
|
|
5705
|
+
csvTruncatedBytes: "File exceeds 2 MB; parsed the first 2 MB ({rows} rows)",
|
|
5706
|
+
csvEmpty: "Empty file or no table data",
|
|
5707
|
+
csvParseError: "CSV parse failed: {message}",
|
|
5708
|
+
csvTooLargeForTable: "File is too large for the table view; switch to Text",
|
|
5709
|
+
csvReload: "Reload",
|
|
5710
|
+
csvShowMore: "Show more",
|
|
5745
5711
|
browser: "Browser",
|
|
5746
5712
|
browserPlaceholder: "Enter a URL, e.g. example.com",
|
|
5747
5713
|
browserGo: "Go",
|
|
@@ -5752,10 +5718,6 @@ window.__ModuleLoader__.load({
|
|
|
5752
5718
|
browserBlockedLoopback: "Blocked: local and internal addresses cannot be browsed here",
|
|
5753
5719
|
browserInvalid: "Invalid URL",
|
|
5754
5720
|
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
5721
|
sandboxStatusOn: "Sandbox mode: on · pages cannot access the GUI's data or local files; logins and third-party cookies may not work",
|
|
5760
5722
|
sandboxUnlock: "Temporarily disable (unsafe)",
|
|
5761
5723
|
sandboxRestore: "Restore sandbox",
|
|
@@ -5796,7 +5758,6 @@ window.__ModuleLoader__.load({
|
|
|
5796
5758
|
sideChatSaveTitle: "Promote this thread to a top-level session in the main session list",
|
|
5797
5759
|
sideChatArchive: "Archive this side conversation (find it again via “Show archived” in the session list)",
|
|
5798
5760
|
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
5761
|
sideChatSaved: "Saved as a new session",
|
|
5801
5762
|
sideChatNoTurn: "Save is available after the first completed turn",
|
|
5802
5763
|
sideChatPendingDrop: "The last unanswered follow-up will not be included in the saved session",
|
|
@@ -5812,23 +5773,10 @@ window.__ModuleLoader__.load({
|
|
|
5812
5773
|
sideChatThinking: "Deep diving…",
|
|
5813
5774
|
sideChatThink: "Thinking",
|
|
5814
5775
|
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
5776
|
sideChatSend: "Send",
|
|
5827
5777
|
sideChatCancelTitle: "Abort the running turn (queued work is kept)",
|
|
5828
5778
|
sideChatError: "Side Chat error: {message}",
|
|
5829
5779
|
sideChatTurnUsage: "Input {input} tok · Output {output} tok",
|
|
5830
|
-
sideChatDeliverables: "Present files",
|
|
5831
|
-
sideChatDeliverableOpen: "Open {name}",
|
|
5832
5780
|
sideChatBlockCollapse: "Collapse",
|
|
5833
5781
|
sideChatBlockCollapseAria: "Collapse",
|
|
5834
5782
|
sideChatBlockExpand: "Expand {hidden} lines",
|
|
@@ -6045,8 +5993,8 @@ window.__ModuleLoader__.load({
|
|
|
6045
5993
|
return text;
|
|
6046
5994
|
}
|
|
6047
5995
|
//#endregion
|
|
6048
|
-
//#region \0dsh-css:/root/projects/
|
|
6049
|
-
const css$16 = ".
|
|
5996
|
+
//#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
|
|
5997
|
+
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
5998
|
const tagId$16 = "@sparkelf/dsh-knowledge-base/kit.module.css";
|
|
6051
5999
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$16) + "]") === null) {
|
|
6052
6000
|
const tag = document.createElement("style");
|
|
@@ -6056,31 +6004,31 @@ window.__ModuleLoader__.load({
|
|
|
6056
6004
|
document.head.appendChild(tag);
|
|
6057
6005
|
}
|
|
6058
6006
|
var kit_module_css_default = {
|
|
6059
|
-
"
|
|
6060
|
-
"
|
|
6061
|
-
"
|
|
6062
|
-
"
|
|
6063
|
-
"
|
|
6064
|
-
"
|
|
6065
|
-
"
|
|
6066
|
-
"
|
|
6067
|
-
"
|
|
6068
|
-
"
|
|
6069
|
-
"
|
|
6070
|
-
"
|
|
6071
|
-
"
|
|
6072
|
-
"
|
|
6073
|
-
"
|
|
6074
|
-
"
|
|
6075
|
-
"
|
|
6076
|
-
"
|
|
6077
|
-
"
|
|
6078
|
-
"
|
|
6079
|
-
"
|
|
6080
|
-
"
|
|
6007
|
+
"iconButtonDanger": "_0XA4nW_iconButtonDanger",
|
|
6008
|
+
"noticeHint": "_0XA4nW_noticeHint",
|
|
6009
|
+
"noticeWarn": "_0XA4nW_noticeWarn",
|
|
6010
|
+
"noticePage": "_0XA4nW_noticePage",
|
|
6011
|
+
"iconButton": "_0XA4nW_iconButton",
|
|
6012
|
+
"noticeWell": "_0XA4nW_noticeWell",
|
|
6013
|
+
"statusBadge": "_0XA4nW_statusBadge",
|
|
6014
|
+
"confirmDesc": "_0XA4nW_confirmDesc",
|
|
6015
|
+
"iconButtonSm": "_0XA4nW_iconButtonSm",
|
|
6016
|
+
"sectionAction": "_0XA4nW_sectionAction",
|
|
6017
|
+
"chipLabel": "_0XA4nW_chipLabel",
|
|
6018
|
+
"sectionLabel": "_0XA4nW_sectionLabel",
|
|
6019
|
+
"noticeInline": "_0XA4nW_noticeInline",
|
|
6020
|
+
"sectionHeader": "_0XA4nW_sectionHeader",
|
|
6021
|
+
"iconButtonMd": "_0XA4nW_iconButtonMd",
|
|
6022
|
+
"chip": "_0XA4nW_chip",
|
|
6023
|
+
"chipActive": "_0XA4nW_chipActive",
|
|
6024
|
+
"iconButtonActive": "_0XA4nW_iconButtonActive",
|
|
6025
|
+
"notice": "_0XA4nW_notice",
|
|
6026
|
+
"sectionCount": "_0XA4nW_sectionCount",
|
|
6027
|
+
"chipCount": "_0XA4nW_chipCount",
|
|
6028
|
+
"noticeError": "_0XA4nW_noticeError"
|
|
6081
6029
|
};
|
|
6082
6030
|
//#endregion
|
|
6083
|
-
//#region
|
|
6031
|
+
//#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
6032
|
/**
|
|
6085
6033
|
* A 28px (`md`) or 24px (`sm`) square glyph button — the ONE icon button of
|
|
6086
6034
|
* the plugin. Callers that need a pressed state pass `active`; the danger
|
|
@@ -6179,7 +6127,7 @@ window.__ModuleLoader__.load({
|
|
|
6179
6127
|
});
|
|
6180
6128
|
}
|
|
6181
6129
|
//#endregion
|
|
6182
|
-
//#region
|
|
6130
|
+
//#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
6131
|
/**
|
|
6184
6132
|
* The plugin's ONE git-status store.
|
|
6185
6133
|
*
|
|
@@ -6605,7 +6553,7 @@ window.__ModuleLoader__.load({
|
|
|
6605
6553
|
};
|
|
6606
6554
|
}
|
|
6607
6555
|
//#endregion
|
|
6608
|
-
//#region
|
|
6556
|
+
//#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
6557
|
/** Sanitize a relative target: absolute paths, traversal, and empty segments
|
|
6610
6558
|
* are rejected (the host enforces the same rules with a 400). */
|
|
6611
6559
|
function sanitizeRelativePath(rel) {
|
|
@@ -6673,7 +6621,7 @@ window.__ModuleLoader__.load({
|
|
|
6673
6621
|
return (await Promise.all(entries.map((entry) => itemsFromEntry(entry, "").catch(() => [])))).flat();
|
|
6674
6622
|
}
|
|
6675
6623
|
//#endregion
|
|
6676
|
-
//#region
|
|
6624
|
+
//#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
6625
|
/**
|
|
6678
6626
|
* Live refresh for the file tree.
|
|
6679
6627
|
*
|
|
@@ -6779,7 +6727,7 @@ window.__ModuleLoader__.load({
|
|
|
6779
6727
|
watching.add(frame.dir);
|
|
6780
6728
|
return;
|
|
6781
6729
|
}
|
|
6782
|
-
if (frame.ok === void 0) staleRef.current(
|
|
6730
|
+
if (frame.ok === void 0) staleRef.current(frame.dir);
|
|
6783
6731
|
};
|
|
6784
6732
|
socket.onclose = () => {
|
|
6785
6733
|
if (closed) return;
|
|
@@ -6802,19 +6750,18 @@ window.__ModuleLoader__.load({
|
|
|
6802
6750
|
* Re-armed after being parked: the socket is brand new (the old one's
|
|
6803
6751
|
* notices are gone with it), so nothing the host saw while the tree was
|
|
6804
6752
|
* 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.
|
|
6753
|
+
* showing a listing that may be minutes old.
|
|
6807
6754
|
*/
|
|
6808
6755
|
const wasArmedRef = (0, react.useRef)(armed);
|
|
6809
6756
|
(0, react.useEffect)(() => {
|
|
6810
6757
|
const previous = wasArmedRef.current;
|
|
6811
6758
|
wasArmedRef.current = armed;
|
|
6812
6759
|
if (!armed || previous) return;
|
|
6813
|
-
|
|
6760
|
+
for (const dir of wantedRef.current) staleRef.current(dir);
|
|
6814
6761
|
}, [armed]);
|
|
6815
6762
|
}
|
|
6816
6763
|
//#endregion
|
|
6817
|
-
//#region
|
|
6764
|
+
//#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
6765
|
/**
|
|
6819
6766
|
* The sidebar's ONE polling loop: every timed client fetch — subagent live
|
|
6820
6767
|
* previews, side-chat transcript deltas, git status, session ops — funnels
|
|
@@ -6879,8 +6826,8 @@ window.__ModuleLoader__.load({
|
|
|
6879
6826
|
]);
|
|
6880
6827
|
}
|
|
6881
6828
|
//#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}";
|
|
6829
|
+
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/node_modules/dsh-better-sidebar/src/client/sidebar.module.css.mjs
|
|
6830
|
+
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]:not([data-dsh-guide-grid]){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]:not([data-dsh-guide-grid])>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]:not([data-dsh-guide-grid])>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]:not([data-dsh-guide-grid]) kbd,[data-sidebar-right-guide]:not([data-dsh-guide-grid]) span:has(>kbd){display:none!important}[data-sidebar-right-guide]:not([data-dsh-guide-grid])>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]:not([data-dsh-guide-grid]) [data-sidebar-right-guide-entry=terminal]{position:relative!important}[data-sidebar-right-guide]:not([data-dsh-guide-grid]) [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]:not([data-dsh-guide-grid]) [data-sidebar-right-guide-entry=terminal] [class*=menu],[data-sidebar-right-guide]:not([data-dsh-guide-grid]) [data-sidebar-right-guide-entry=terminal] [class*=trigger],[data-sidebar-right-guide]:not([data-dsh-guide-grid]) [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]:not([data-dsh-guide-grid]) [data-sidebar-right-guide-entry=terminal] [class*=title]{white-space:nowrap!important;text-overflow:ellipsis!important;overflow:hidden!important}[data-sidebar-right-guide]:not([data-dsh-guide-grid])>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]:not([data-dsh-guide-grid])>span:first-child{grid-column:1/-1;justify-self:center;margin:4px 0 8px}@media (width<=640px){[data-sidebar-right-guide]:not([data-dsh-guide-grid]){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
6831
|
const tagId$15 = "@sparkelf/dsh-knowledge-base/sidebar.module.css";
|
|
6885
6832
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$15) + "]") === null) {
|
|
6886
6833
|
const tag = document.createElement("style");
|
|
@@ -6890,254 +6837,252 @@ window.__ModuleLoader__.load({
|
|
|
6890
6837
|
document.head.appendChild(tag);
|
|
6891
6838
|
}
|
|
6892
6839
|
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
|
-
"
|
|
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
|
-
"
|
|
7124
|
-
|
|
7125
|
-
|
|
7126
|
-
|
|
7127
|
-
|
|
7128
|
-
|
|
7129
|
-
|
|
7130
|
-
|
|
7131
|
-
|
|
7132
|
-
|
|
7133
|
-
|
|
7134
|
-
|
|
7135
|
-
|
|
7136
|
-
};
|
|
7137
|
-
}
|
|
6840
|
+
"uploadOverlayTitle": "B77fza_uploadOverlayTitle",
|
|
6841
|
+
"paneContent": "B77fza_paneContent",
|
|
6842
|
+
"editorSearchResultLabel": "B77fza_editorSearchResultLabel",
|
|
6843
|
+
"editorBody": "B77fza_editorBody",
|
|
6844
|
+
"editorHtml": "B77fza_editorHtml",
|
|
6845
|
+
"chipIcon": "B77fza_chipIcon",
|
|
6846
|
+
"explorer": "B77fza_explorer",
|
|
6847
|
+
"explorerSelectionText": "B77fza_explorerSelectionText",
|
|
6848
|
+
"editorBanner": "B77fza_editorBanner",
|
|
6849
|
+
"browserBlocked": "B77fza_browserBlocked",
|
|
6850
|
+
"editorPdfFrameBlocked": "B77fza_editorPdfFrameBlocked",
|
|
6851
|
+
"tabBarRightActions": "B77fza_tabBarRightActions",
|
|
6852
|
+
"editorPlaceholder": "B77fza_editorPlaceholder",
|
|
6853
|
+
"dropOverlay": "B77fza_dropOverlay",
|
|
6854
|
+
"editorStatus": "B77fza_editorStatus",
|
|
6855
|
+
"nativeTabMenuItem": "B77fza_nativeTabMenuItem",
|
|
6856
|
+
"browserBlockedTitle": "B77fza_browserBlockedTitle",
|
|
6857
|
+
"editorPdfFrame": "B77fza_editorPdfFrame",
|
|
6858
|
+
"editorHtmlBlock": "B77fza_editorHtmlBlock",
|
|
6859
|
+
"mermaidModal": "B77fza_mermaidModal",
|
|
6860
|
+
"csvCell": "B77fza_csvCell",
|
|
6861
|
+
"csvHeaderCell": "B77fza_csvHeaderCell",
|
|
6862
|
+
"splitRow": "B77fza_splitRow",
|
|
6863
|
+
"selectionPopup": "B77fza_selectionPopup",
|
|
6864
|
+
"csvSegmented": "B77fza_csvSegmented",
|
|
6865
|
+
"tabBarPlus": "B77fza_tabBarPlus",
|
|
6866
|
+
"largeFile": "B77fza_largeFile",
|
|
6867
|
+
"largeFileRecordSummary": "B77fza_largeFileRecordSummary",
|
|
6868
|
+
"paneTabHidden": "B77fza_paneTabHidden",
|
|
6869
|
+
"editorGitBar": "B77fza_editorGitBar",
|
|
6870
|
+
"uploadDropArtAccent": "B77fza_uploadDropArtAccent",
|
|
6871
|
+
"gitDiffTab": "B77fza_gitDiffTab",
|
|
6872
|
+
"orphanedType": "B77fza_orphanedType",
|
|
6873
|
+
"editorSearchInput": "B77fza_editorSearchInput",
|
|
6874
|
+
"mermaidModalButton": "B77fza_mermaidModalButton",
|
|
6875
|
+
"csvMeta": "B77fza_csvMeta",
|
|
6876
|
+
"explorerAppIcon": "B77fza_explorerAppIcon",
|
|
6877
|
+
"editorTreePanelFull": "B77fza_editorTreePanelFull",
|
|
6878
|
+
"editorMain": "B77fza_editorMain",
|
|
6879
|
+
"editorPdfToolbar": "B77fza_editorPdfToolbar",
|
|
6880
|
+
"editorBlameSummary": "B77fza_editorBlameSummary",
|
|
6881
|
+
"dirtyDot": "B77fza_dirtyDot",
|
|
6882
|
+
"explorerBroken": "B77fza_explorerBroken",
|
|
6883
|
+
"split": "B77fza_split",
|
|
6884
|
+
"editorGitDel": "B77fza_editorGitDel",
|
|
6885
|
+
"largeFileRecordRaw": "B77fza_largeFileRecordRaw",
|
|
6886
|
+
"explorerGitName": "B77fza_explorerGitName",
|
|
6887
|
+
"editorModeActive": "B77fza_editorModeActive",
|
|
6888
|
+
"openWithName": "B77fza_openWithName",
|
|
6889
|
+
"uploadOverlayStatus": "B77fza_uploadOverlayStatus",
|
|
6890
|
+
"dropLeft": "B77fza_dropLeft",
|
|
6891
|
+
"browserFrame": "B77fza_browserFrame",
|
|
6892
|
+
"csvNotice": "B77fza_csvNotice",
|
|
6893
|
+
"mermaidHeader": "B77fza_mermaidHeader",
|
|
6894
|
+
"browser": "B77fza_browser",
|
|
6895
|
+
"splitCol": "B77fza_splitCol",
|
|
6896
|
+
"csvTextPane": "B77fza_csvTextPane",
|
|
6897
|
+
"sandboxStatusText": "B77fza_sandboxStatusText",
|
|
6898
|
+
"tab": "B77fza_tab",
|
|
6899
|
+
"editorBinaryNotice": "B77fza_editorBinaryNotice",
|
|
6900
|
+
"browserBlockedButton": "B77fza_browserBlockedButton",
|
|
6901
|
+
"editorHeader": "B77fza_editorHeader",
|
|
6902
|
+
"browserInput": "B77fza_browserInput",
|
|
6903
|
+
"toggleButton": "B77fza_toggleButton",
|
|
6904
|
+
"iconButton": "B77fza_iconButton",
|
|
6905
|
+
"editorSearchHint": "B77fza_editorSearchHint",
|
|
6906
|
+
"tabBoundaryError": "B77fza_tabBoundaryError",
|
|
6907
|
+
"csvSegment": "B77fza_csvSegment",
|
|
6908
|
+
"largeFileRecords": "B77fza_largeFileRecords",
|
|
6909
|
+
"browserBlockedDesc": "B77fza_browserBlockedDesc",
|
|
6910
|
+
"largeFileRecordTree": "B77fza_largeFileRecordTree",
|
|
6911
|
+
"splitChild": "B77fza_splitChild",
|
|
6912
|
+
"largeFileLineNo": "B77fza_largeFileLineNo",
|
|
6913
|
+
"largeFileBody": "B77fza_largeFileBody",
|
|
6914
|
+
"terminalRetry": "B77fza_terminalRetry",
|
|
6915
|
+
"largeFileDownload": "B77fza_largeFileDownload",
|
|
6916
|
+
"sandboxAction": "B77fza_sandboxAction",
|
|
6917
|
+
"explorerCopied": "B77fza_explorerCopied",
|
|
6918
|
+
"gitError": "B77fza_gitError",
|
|
6919
|
+
"editorTreeToggleActive": "B77fza_editorTreeToggleActive",
|
|
6920
|
+
"largeFilePager": "B77fza_largeFilePager",
|
|
6921
|
+
"explorerRenaming": "B77fza_explorerRenaming",
|
|
6922
|
+
"sandboxStatus": "B77fza_sandboxStatus",
|
|
6923
|
+
"explorerRef": "B77fza_explorerRef",
|
|
6924
|
+
"csvField": "B77fza_csvField",
|
|
6925
|
+
"dsh-row-in": "B77fza_dsh-row-in",
|
|
6926
|
+
"uploadDropZoneText": "B77fza_uploadDropZoneText",
|
|
6927
|
+
"tabList": "B77fza_tabList",
|
|
6928
|
+
"editorSearchResultDir": "B77fza_editorSearchResultDir",
|
|
6929
|
+
"mermaidInfo": "B77fza_mermaidInfo",
|
|
6930
|
+
"mermaidError": "B77fza_mermaidError",
|
|
6931
|
+
"panelBody": "B77fza_panelBody",
|
|
6932
|
+
"uploadDropHero": "B77fza_uploadDropHero",
|
|
6933
|
+
"editorError": "B77fza_editorError",
|
|
6934
|
+
"editorDocxZoomRange": "B77fza_editorDocxZoomRange",
|
|
6935
|
+
"uploadDropArtCut": "B77fza_uploadDropArtCut",
|
|
6936
|
+
"openWithLabel": "B77fza_openWithLabel",
|
|
6937
|
+
"dockFallback": "B77fza_dockFallback",
|
|
6938
|
+
"explorerRowDropTarget": "B77fza_explorerRowDropTarget",
|
|
6939
|
+
"editorTreeSearch": "B77fza_editorTreeSearch",
|
|
6940
|
+
"workbench": "B77fza_workbench",
|
|
6941
|
+
"editorGitBarAdd": "B77fza_editorGitBarAdd",
|
|
6942
|
+
"divider": "B77fza_divider",
|
|
6943
|
+
"editorModeToggle": "B77fza_editorModeToggle",
|
|
6944
|
+
"gitDiffTabTitle": "B77fza_gitDiffTabTitle",
|
|
6945
|
+
"editorPathInput": "B77fza_editorPathInput",
|
|
6946
|
+
"largeFileList": "B77fza_largeFileList",
|
|
6947
|
+
"openWithPin": "B77fza_openWithPin",
|
|
6948
|
+
"chipUnread": "B77fza_chipUnread",
|
|
6949
|
+
"panel": "B77fza_panel",
|
|
6950
|
+
"bottomPanel": "B77fza_bottomPanel",
|
|
6951
|
+
"tabBarDrop": "B77fza_tabBarDrop",
|
|
6952
|
+
"uploadDropMask": "B77fza_uploadDropMask",
|
|
6953
|
+
"uploadOverlayProgressFill": "B77fza_uploadOverlayProgressFill",
|
|
6954
|
+
"explorerError": "B77fza_explorerError",
|
|
6955
|
+
"editorBlame": "B77fza_editorBlame",
|
|
6956
|
+
"gitPlaceholder": "B77fza_gitPlaceholder",
|
|
6957
|
+
"browserMessage": "B77fza_browserMessage",
|
|
6958
|
+
"tabUnreadDot": "B77fza_tabUnreadDot",
|
|
6959
|
+
"mermaidCopy": "B77fza_mermaidCopy",
|
|
6960
|
+
"uploadOverlayProgress": "B77fza_uploadOverlayProgress",
|
|
6961
|
+
"editorBlameHead": "B77fza_editorBlameHead",
|
|
6962
|
+
"editorModeButton": "B77fza_editorModeButton",
|
|
6963
|
+
"boundaryError": "B77fza_boundaryError",
|
|
6964
|
+
"nativeTabHost": "B77fza_nativeTabHost",
|
|
6965
|
+
"dividerActive": "B77fza_dividerActive",
|
|
6966
|
+
"gitEmpty": "B77fza_gitEmpty",
|
|
6967
|
+
"csvEmpty": "B77fza_csvEmpty",
|
|
6968
|
+
"explorerEmpty": "B77fza_explorerEmpty",
|
|
6969
|
+
"dropCenter": "B77fza_dropCenter",
|
|
6970
|
+
"dropDown": "B77fza_dropDown",
|
|
6971
|
+
"explorerActionErrorText": "B77fza_explorerActionErrorText",
|
|
6972
|
+
"editorGitBarGutter": "B77fza_editorGitBarGutter",
|
|
6973
|
+
"sandboxDot": "B77fza_sandboxDot",
|
|
6974
|
+
"tocItem": "B77fza_tocItem",
|
|
6975
|
+
"tocButton": "B77fza_tocButton",
|
|
6976
|
+
"explorerHiddenPane": "B77fza_explorerHiddenPane",
|
|
6977
|
+
"editorTreePanel": "B77fza_editorTreePanel",
|
|
6978
|
+
"uploadDropChatCard": "B77fza_uploadDropChatCard",
|
|
6979
|
+
"editorGitBarSpacer": "B77fza_editorGitBarSpacer",
|
|
6980
|
+
"largeFileRecordExpanded": "B77fza_largeFileRecordExpanded",
|
|
6981
|
+
"editorPdfDragShieldActive": "B77fza_editorPdfDragShieldActive",
|
|
6982
|
+
"mermaidMarkdown": "B77fza_mermaidMarkdown",
|
|
6983
|
+
"dropRight": "B77fza_dropRight",
|
|
6984
|
+
"editorTreeDock": "B77fza_editorTreeDock",
|
|
6985
|
+
"editorGitMod": "B77fza_editorGitMod",
|
|
6986
|
+
"largeFileLine": "B77fza_largeFileLine",
|
|
6987
|
+
"dsh-toc-flash": "B77fza_dsh-toc-flash",
|
|
6988
|
+
"tabClose": "B77fza_tabClose",
|
|
6989
|
+
"editor": "B77fza_editor",
|
|
6990
|
+
"explorerName": "B77fza_explorerName",
|
|
6991
|
+
"largeFileNoticeAction": "B77fza_largeFileNoticeAction",
|
|
6992
|
+
"editorGitBarMod": "B77fza_editorGitBarMod",
|
|
6993
|
+
"nativeTabMenuSeparator": "B77fza_nativeTabMenuSeparator",
|
|
6994
|
+
"dividerRow": "B77fza_dividerRow",
|
|
6995
|
+
"editorPdfStage": "B77fza_editorPdfStage",
|
|
6996
|
+
"mermaidModalStage": "B77fza_mermaidModalStage",
|
|
6997
|
+
"tocItemText": "B77fza_tocItemText",
|
|
6998
|
+
"tabTitle": "B77fza_tabTitle",
|
|
6999
|
+
"openWithChevron": "B77fza_openWithChevron",
|
|
7000
|
+
"editorTreeResize": "B77fza_editorTreeResize",
|
|
7001
|
+
"dividerCol": "B77fza_dividerCol",
|
|
7002
|
+
"tabActive": "B77fza_tabActive",
|
|
7003
|
+
"mermaidModalHint": "B77fza_mermaidModalHint",
|
|
7004
|
+
"csvTable": "B77fza_csvTable",
|
|
7005
|
+
"paneDrop": "B77fza_paneDrop",
|
|
7006
|
+
"uploadOverlayCancel": "B77fza_uploadOverlayCancel",
|
|
7007
|
+
"explorerSelectionActions": "B77fza_explorerSelectionActions",
|
|
7008
|
+
"sandboxStatusOn": "B77fza_sandboxStatusOn",
|
|
7009
|
+
"csvShowMore": "B77fza_csvShowMore",
|
|
7010
|
+
"editorBannerAction": "B77fza_editorBannerAction",
|
|
7011
|
+
"bottomResize": "B77fza_bottomResize",
|
|
7012
|
+
"explorerSymlink": "B77fza_explorerSymlink",
|
|
7013
|
+
"mermaidWrap": "B77fza_mermaidWrap",
|
|
7014
|
+
"explorerHeader": "B77fza_explorerHeader",
|
|
7015
|
+
"editorStatusError": "B77fza_editorStatusError",
|
|
7016
|
+
"explorerRowSelected": "B77fza_explorerRowSelected",
|
|
7017
|
+
"explorerHidden": "B77fza_explorerHidden",
|
|
7018
|
+
"editorPdfDragShield": "B77fza_editorPdfDragShield",
|
|
7019
|
+
"largeFileRecordBody": "B77fza_largeFileRecordBody",
|
|
7020
|
+
"bottomResizeActive": "B77fza_bottomResizeActive",
|
|
7021
|
+
"editorPptxButton": "B77fza_editorPptxButton",
|
|
7022
|
+
"dropUp": "B77fza_dropUp",
|
|
7023
|
+
"explorerDirChanged": "B77fza_explorerDirChanged",
|
|
7024
|
+
"explorerDir": "B77fza_explorerDir",
|
|
7025
|
+
"uploadOverlayCard": "B77fza_uploadOverlayCard",
|
|
7026
|
+
"uploadOverlay": "B77fza_uploadOverlay",
|
|
7027
|
+
"browserBar": "B77fza_browserBar",
|
|
7028
|
+
"browserStart": "B77fza_browserStart",
|
|
7029
|
+
"csvToolbar": "B77fza_csvToolbar",
|
|
7030
|
+
"editorCm": "B77fza_editorCm",
|
|
7031
|
+
"explorerBody": "B77fza_explorerBody",
|
|
7032
|
+
"explorerRenameInput": "B77fza_explorerRenameInput",
|
|
7033
|
+
"editorTitle": "B77fza_editorTitle",
|
|
7034
|
+
"paneCard": "B77fza_paneCard",
|
|
7035
|
+
"editorCmHidden": "B77fza_editorCmHidden",
|
|
7036
|
+
"tocPanel": "B77fza_tocPanel",
|
|
7037
|
+
"editorGitAdd": "B77fza_editorGitAdd",
|
|
7038
|
+
"largeFileLines": "B77fza_largeFileLines",
|
|
7039
|
+
"largeFileRecord": "B77fza_largeFileRecord",
|
|
7040
|
+
"pane": "B77fza_pane",
|
|
7041
|
+
"editorGitBarDel": "B77fza_editorGitBarDel",
|
|
7042
|
+
"tabBar": "B77fza_tabBar",
|
|
7043
|
+
"explorerRoot": "B77fza_explorerRoot",
|
|
7044
|
+
"mermaidBody": "B77fza_mermaidBody",
|
|
7045
|
+
"openWithPinActive": "B77fza_openWithPinActive",
|
|
7046
|
+
"csvReload": "B77fza_csvReload",
|
|
7047
|
+
"explorerSelectionBar": "B77fza_explorerSelectionBar",
|
|
7048
|
+
"editorSearchResult": "B77fza_editorSearchResult",
|
|
7049
|
+
"mermaidModalToolbar": "B77fza_mermaidModalToolbar",
|
|
7050
|
+
"explorerActionError": "B77fza_explorerActionError",
|
|
7051
|
+
"largeFilePageLabel": "B77fza_largeFilePageLabel",
|
|
7052
|
+
"sandboxStatusOff": "B77fza_sandboxStatusOff",
|
|
7053
|
+
"largeFileRecordInvalid": "B77fza_largeFileRecordInvalid",
|
|
7054
|
+
"editorBinary": "B77fza_editorBinary",
|
|
7055
|
+
"gitDiffTabHeader": "B77fza_gitDiffTabHeader",
|
|
7056
|
+
"tocItemLevel": "B77fza_tocItemLevel",
|
|
7057
|
+
"bottomClose": "B77fza_bottomClose",
|
|
7058
|
+
"browserBlockedActions": "B77fza_browserBlockedActions",
|
|
7059
|
+
"uploadDropChatHint": "B77fza_uploadDropChatHint",
|
|
7060
|
+
"largeFileRecordNo": "B77fza_largeFileRecordNo",
|
|
7061
|
+
"editorMd": "B77fza_editorMd",
|
|
7062
|
+
"csvError": "B77fza_csvError",
|
|
7063
|
+
"uploadDropZonePill": "B77fza_uploadDropZonePill",
|
|
7064
|
+
"csvSelect": "B77fza_csvSelect",
|
|
7065
|
+
"largeFileNotice": "B77fza_largeFileNotice",
|
|
7066
|
+
"paneTab": "B77fza_paneTab",
|
|
7067
|
+
"largeFileLineText": "B77fza_largeFileLineText",
|
|
7068
|
+
"explorerRowRevealed": "B77fza_explorerRowRevealed",
|
|
7069
|
+
"uploadDropZone": "B77fza_uploadDropZone",
|
|
7070
|
+
"tocBar": "B77fza_tocBar",
|
|
7071
|
+
"explorerRow": "B77fza_explorerRow",
|
|
7072
|
+
"csvScroll": "B77fza_csvScroll",
|
|
7073
|
+
"editorDownloadLink": "B77fza_editorDownloadLink",
|
|
7074
|
+
"tocFlash": "B77fza_tocFlash",
|
|
7075
|
+
"mermaidCode": "B77fza_mermaidCode",
|
|
7076
|
+
"paneEmptyCards": "B77fza_paneEmptyCards",
|
|
7077
|
+
"uploadDropArtPrimary": "B77fza_uploadDropArtPrimary",
|
|
7078
|
+
"editorPdf": "B77fza_editorPdf",
|
|
7079
|
+
"csvRowNumber": "B77fza_csvRowNumber",
|
|
7080
|
+
"bottomPanelHidden": "B77fza_bottomPanelHidden",
|
|
7081
|
+
"csvViewer": "B77fza_csvViewer",
|
|
7082
|
+
"tabBadge": "B77fza_tabBadge"
|
|
7138
7083
|
};
|
|
7139
7084
|
//#endregion
|
|
7140
|
-
//#region
|
|
7085
|
+
//#region node_modules/dsh-better-sidebar/src/client/FileTree.tsx
|
|
7141
7086
|
/**
|
|
7142
7087
|
* The controlled file tree behind the files window's tree panel (TreePanel
|
|
7143
7088
|
* wraps it with the search box): a lazy VSCode-style tree rooted at the
|
|
@@ -7348,33 +7293,9 @@ window.__ModuleLoader__.load({
|
|
|
7348
7293
|
height: 14
|
|
7349
7294
|
});
|
|
7350
7295
|
}
|
|
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
7296
|
const FileRow = (0, react.memo)(function FileRow(props) {
|
|
7376
7297
|
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);
|
|
7298
|
+
const icon = service !== void 0 ? service.fileIcon(entry.path, 14) : builtinFileIcon$1(entry.path, 14);
|
|
7378
7299
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
7379
7300
|
role: "button",
|
|
7380
7301
|
tabIndex: 0,
|
|
@@ -7418,11 +7339,6 @@ window.__ModuleLoader__.load({
|
|
|
7418
7339
|
title: gitToneLabel(gitTone),
|
|
7419
7340
|
children: gitLetter
|
|
7420
7341
|
}),
|
|
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
7342
|
copied ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
7427
7343
|
className: sidebar_module_css_default.explorerCopied,
|
|
7428
7344
|
children: t("copied")
|
|
@@ -7441,9 +7357,9 @@ window.__ModuleLoader__.load({
|
|
|
7441
7357
|
});
|
|
7442
7358
|
});
|
|
7443
7359
|
const DirRow = (0, react.memo)(function DirRow(props) {
|
|
7444
|
-
const { entry, chain, depth, expanded, iconsVersion, service, selected, revealed, dropTarget, gitChanged, copied, actions
|
|
7360
|
+
const { entry, chain, depth, expanded, iconsVersion, service, selected, revealed, dropTarget, gitChanged, copied, actions } = props;
|
|
7445
7361
|
const target = chain[chain.length - 1];
|
|
7446
|
-
const icon = service !== void 0 ? service.folderIcon(target.path, expanded, 14) : builtinFolderIcon(expanded, 14);
|
|
7362
|
+
const icon = service !== void 0 ? service.folderIcon(target.path, expanded, 14) : builtinFolderIcon$1(expanded, 14);
|
|
7447
7363
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
7448
7364
|
role: "button",
|
|
7449
7365
|
tabIndex: 0,
|
|
@@ -7475,17 +7391,12 @@ window.__ModuleLoader__.load({
|
|
|
7475
7391
|
icon,
|
|
7476
7392
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
7477
7393
|
className: clsx(sidebar_module_css_default.explorerName, gitChanged && sidebar_module_css_default.explorerDirChanged),
|
|
7478
|
-
children: chain.length > 1 ? chain.map((link) =>
|
|
7394
|
+
children: chain.length > 1 ? chain.map((link) => link.name).join("/") : entry.name
|
|
7479
7395
|
}),
|
|
7480
7396
|
entry.isSymlink && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconLinkOutlineRegular, {
|
|
7481
7397
|
size: 12,
|
|
7482
7398
|
className: sidebar_module_css_default.explorerSymlink
|
|
7483
7399
|
}),
|
|
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
7400
|
copied ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
7490
7401
|
className: sidebar_module_css_default.explorerCopied,
|
|
7491
7402
|
children: t("copied")
|
|
@@ -7505,7 +7416,7 @@ window.__ModuleLoader__.load({
|
|
|
7505
7416
|
});
|
|
7506
7417
|
const RootRow = (0, react.memo)(function RootRow(props) {
|
|
7507
7418
|
const { path, iconsVersion, service, dropTarget, gitChanged, copied, actions } = props;
|
|
7508
|
-
const icon = service !== void 0 ? service.folderIcon(path, true, 14) : builtinFolderIcon(true, 14);
|
|
7419
|
+
const icon = service !== void 0 ? service.folderIcon(path, true, 14) : builtinFolderIcon$1(true, 14);
|
|
7509
7420
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
7510
7421
|
className: clsx(sidebar_module_css_default.explorerRow, dropTarget && sidebar_module_css_default.explorerRowDropTarget),
|
|
7511
7422
|
style: { paddingLeft: 6 },
|
|
@@ -7576,9 +7487,6 @@ window.__ModuleLoader__.load({
|
|
|
7576
7487
|
/** The live props for the stable callbacks below (identity churns per render). */
|
|
7577
7488
|
const propsRef = (0, react.useRef)(props);
|
|
7578
7489
|
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
7490
|
const [data, setData] = (0, react.useState)({});
|
|
7583
7491
|
/**
|
|
7584
7492
|
* Registry revision for the file-icon feature: bumps on ANY registry
|
|
@@ -7592,31 +7500,10 @@ window.__ModuleLoader__.load({
|
|
|
7592
7500
|
}), [service]);
|
|
7593
7501
|
/** One directory's leading glyph for the surfaces WITHOUT a memoized row
|
|
7594
7502
|
* (the inline rename and new-folder editors). */
|
|
7595
|
-
const dirRowIcon = (path, open) => service !== void 0 ? service.folderIcon(path, open, 14) : builtinFolderIcon(open, 14);
|
|
7503
|
+
const dirRowIcon = (path, open) => service !== void 0 ? service.folderIcon(path, open, 14) : builtinFolderIcon$1(open, 14);
|
|
7596
7504
|
const dataRef = (0, react.useRef)(data);
|
|
7597
7505
|
/** Bumped whenever the cache is wiped: a response from an older generation is dropped. */
|
|
7598
7506
|
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
7507
|
/** The row whose path was just copied ("copied" label replaces its button). */
|
|
7621
7508
|
const [copiedPath, setCopiedPath] = (0, react.useState)(null);
|
|
7622
7509
|
/** Open context menu: the row path (and whether it is a directory) plus the cursor position. */
|
|
@@ -7822,7 +7709,6 @@ window.__ModuleLoader__.load({
|
|
|
7822
7709
|
* path — while leaving their current rows untouched until the answer lands.
|
|
7823
7710
|
*/
|
|
7824
7711
|
const loadLevels = (0, react.useCallback)((paths, options) => {
|
|
7825
|
-
if (visibleRef.current === false) return;
|
|
7826
7712
|
const force = options?.force === true;
|
|
7827
7713
|
const wanted = force ? [...new Set(paths)] : paths.filter((path) => {
|
|
7828
7714
|
const cached = dataRef.current[path];
|
|
@@ -7909,10 +7795,6 @@ window.__ModuleLoader__.load({
|
|
|
7909
7795
|
const retryDir = (0, react.useCallback)((dir) => {
|
|
7910
7796
|
loadLevels([dir], { force: true });
|
|
7911
7797
|
}, [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
7798
|
/**
|
|
7917
7799
|
* Settle the tree after one rename/delete landed at `prefix`: drop every
|
|
7918
7800
|
* cached level at or under the old path, collapse the now-stale expanded
|
|
@@ -7954,7 +7836,6 @@ window.__ModuleLoader__.load({
|
|
|
7954
7836
|
(0, react.useEffect)(() => {
|
|
7955
7837
|
if (lastTick.current === refreshTick) return;
|
|
7956
7838
|
lastTick.current = refreshTick;
|
|
7957
|
-
if (visibleRef.current === false) return;
|
|
7958
7839
|
generationRef.current += 1;
|
|
7959
7840
|
forceNextLoad.current = true;
|
|
7960
7841
|
}, [refreshTick]);
|
|
@@ -7968,7 +7849,7 @@ window.__ModuleLoader__.load({
|
|
|
7968
7849
|
}, [excludeKey]);
|
|
7969
7850
|
(0, react.useEffect)(() => {
|
|
7970
7851
|
const root = cwd;
|
|
7971
|
-
if (root === void 0
|
|
7852
|
+
if (root === void 0) return;
|
|
7972
7853
|
const force = forceNextLoad.current;
|
|
7973
7854
|
forceNextLoad.current = false;
|
|
7974
7855
|
loadLevels([root, ...expanded], { force });
|
|
@@ -7979,7 +7860,7 @@ window.__ModuleLoader__.load({
|
|
|
7979
7860
|
loadLevels
|
|
7980
7861
|
]);
|
|
7981
7862
|
(0, react.useEffect)(() => {
|
|
7982
|
-
if (cwd === void 0
|
|
7863
|
+
if (cwd === void 0) return;
|
|
7983
7864
|
loadLevels(compactLoadTargets(dataRef.current, [cwd, ...propsRef.current.expanded]));
|
|
7984
7865
|
}, [
|
|
7985
7866
|
cwd,
|
|
@@ -7994,34 +7875,22 @@ window.__ModuleLoader__.load({
|
|
|
7994
7875
|
root: cwd,
|
|
7995
7876
|
dirs: expanded,
|
|
7996
7877
|
visible: visible !== false,
|
|
7997
|
-
onStale:
|
|
7878
|
+
onStale: retryDir
|
|
7998
7879
|
});
|
|
7999
|
-
(0, react.useEffect)(() => {
|
|
8000
|
-
if (revealed.length === 0) return;
|
|
8001
|
-
setSelected(new Set(revealed));
|
|
8002
|
-
}, [revealed]);
|
|
8003
7880
|
(0, react.useEffect)(() => {
|
|
8004
7881
|
if (revealed.length === 0 || propsRef.current.hidden === true) return;
|
|
8005
7882
|
const body = bodyRef.current;
|
|
8006
7883
|
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);
|
|
7884
|
+
const row = body.querySelector("[data-dsh-revealed]");
|
|
7885
|
+
if (row === null) return;
|
|
7886
|
+
const bodyTop = body.getBoundingClientRect().top;
|
|
7887
|
+
const rowRect = row.getBoundingClientRect();
|
|
7888
|
+
const target = body.scrollTop + (rowRect.top + rowRect.height / 2) - (bodyTop + body.clientHeight / 2);
|
|
7889
|
+
const max = Math.max(body.scrollHeight - body.clientHeight, 0);
|
|
7890
|
+
body.scrollTo({
|
|
7891
|
+
top: Math.min(Math.max(target, 0), max),
|
|
7892
|
+
behavior: "smooth"
|
|
7893
|
+
});
|
|
8025
7894
|
}, [revealed, data]);
|
|
8026
7895
|
/** Copy `text`; on success flip the row's copied label for a moment. */
|
|
8027
7896
|
const copyPath = (0, react.useCallback)((text, path) => {
|
|
@@ -8442,23 +8311,14 @@ window.__ModuleLoader__.load({
|
|
|
8442
8311
|
});
|
|
8443
8312
|
}, [reportOpenFailure]);
|
|
8444
8313
|
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
|
-
});
|
|
8314
|
+
const handle = propsRef.current.openInApp;
|
|
8315
|
+
if (handle === void 0) return;
|
|
8316
|
+
handle.reveal(path).then((ok) => {
|
|
8317
|
+
if (!ok) reportOpenFailure(path);
|
|
8318
|
+
}).catch(() => {
|
|
8319
|
+
reportOpenFailure(path);
|
|
8459
8320
|
});
|
|
8460
|
-
}, []);
|
|
8461
|
-
(0, react.useEffect)(() => revealBus.subscribe(revealPath), [revealPath]);
|
|
8321
|
+
}, [reportOpenFailure]);
|
|
8462
8322
|
/** The menu label of one plugin open target: a locale key for the built-ins,
|
|
8463
8323
|
* the user's own name for custom editors, plus the SSH hint in remote mode. */
|
|
8464
8324
|
const openWithLabelOf = (target) => {
|
|
@@ -8629,40 +8489,7 @@ window.__ModuleLoader__.load({
|
|
|
8629
8489
|
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconArchiveOutlineRegular, { size: 14 })
|
|
8630
8490
|
}];
|
|
8631
8491
|
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
|
-
})();
|
|
8492
|
+
};
|
|
8666
8493
|
/** Download a file through the host route (raw bytes, binary-safe). */
|
|
8667
8494
|
const downloadFile = (path) => {
|
|
8668
8495
|
const url = downloadUrl({
|
|
@@ -8858,14 +8685,6 @@ window.__ModuleLoader__.load({
|
|
|
8858
8685
|
const needle = normaliseNeedle$1(nameFilter ?? "");
|
|
8859
8686
|
const entriesFor = (0, react.useMemo)(() => {
|
|
8860
8687
|
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
8688
|
/** The loaded children of one directory row, for the filter's descent. */
|
|
8870
8689
|
const childrenOf = (entry) => {
|
|
8871
8690
|
if (!entry.isDir) return void 0;
|
|
@@ -8887,7 +8706,7 @@ window.__ModuleLoader__.load({
|
|
|
8887
8706
|
}, [
|
|
8888
8707
|
data,
|
|
8889
8708
|
sort,
|
|
8890
|
-
|
|
8709
|
+
needle
|
|
8891
8710
|
]);
|
|
8892
8711
|
visibleRowsRef.current = (0, react.useMemo)(() => {
|
|
8893
8712
|
const rows = [];
|
|
@@ -8937,7 +8756,7 @@ window.__ModuleLoader__.load({
|
|
|
8937
8756
|
const renderRenameRow = (entry, depth) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
8938
8757
|
className: clsx(sidebar_module_css_default.explorerRow, sidebar_module_css_default.explorerRenaming),
|
|
8939
8758
|
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", {
|
|
8759
|
+
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
8760
|
ref: renameInputRef,
|
|
8942
8761
|
className: sidebar_module_css_default.explorerRenameInput,
|
|
8943
8762
|
value: renaming?.value ?? "",
|
|
@@ -9011,7 +8830,7 @@ window.__ModuleLoader__.load({
|
|
|
9011
8830
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
9012
8831
|
className: clsx(sidebar_module_css_default.explorerRow, sidebar_module_css_default.explorerRenaming),
|
|
9013
8832
|
style: { paddingLeft: depth * 22 + 6 },
|
|
9014
|
-
children: [service !== void 0 ? service.fileIcon(probe, 14) : builtinFileIcon(probe, 14), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
8833
|
+
children: [service !== void 0 ? service.fileIcon(probe, 14) : builtinFileIcon$1(probe, 14), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
9015
8834
|
ref: renameInputRef,
|
|
9016
8835
|
className: sidebar_module_css_default.explorerRenameInput,
|
|
9017
8836
|
value: newFile?.value ?? "",
|
|
@@ -9054,14 +8873,8 @@ window.__ModuleLoader__.load({
|
|
|
9054
8873
|
children: level.error
|
|
9055
8874
|
})] });
|
|
9056
8875
|
const entries = entriesFor(dir);
|
|
9057
|
-
const emptyFromFilter = needle !== "" && entries.length === 0 && level.entries !== void 0 && level.entries.length > 0;
|
|
9058
8876
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
9059
8877
|
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
8878
|
entries.map((entry) => {
|
|
9066
8879
|
const chain = entry.isDir ? chainFor(entry) : void 0;
|
|
9067
8880
|
if (renaming !== null && (renaming.path === entry.path || chain?.some((link) => link.path === renaming.path) === true)) return renderRenameRow(entry, depth);
|
|
@@ -9080,8 +8893,7 @@ window.__ModuleLoader__.load({
|
|
|
9080
8893
|
dropTarget: dropTarget === tail.path,
|
|
9081
8894
|
gitChanged: gitStatus.dirHasChanges(entry.path),
|
|
9082
8895
|
copied: copiedPath === entry.path,
|
|
9083
|
-
actions
|
|
9084
|
-
dirLabel: propsRef.current.dirLabel
|
|
8896
|
+
actions
|
|
9085
8897
|
}), isOpen && renderLevel(tail.path, depth + 1)] }, entry.path);
|
|
9086
8898
|
}
|
|
9087
8899
|
const git = gitStatus.statusOf(entry.path);
|
|
@@ -9150,7 +8962,7 @@ window.__ModuleLoader__.load({
|
|
|
9150
8962
|
role: "status",
|
|
9151
8963
|
children: t("loading")
|
|
9152
8964
|
}),
|
|
9153
|
-
|
|
8965
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(RootRow, {
|
|
9154
8966
|
path: root,
|
|
9155
8967
|
iconsVersion,
|
|
9156
8968
|
service,
|
|
@@ -9159,8 +8971,8 @@ window.__ModuleLoader__.load({
|
|
|
9159
8971
|
copied: copiedPath === root,
|
|
9160
8972
|
actions
|
|
9161
8973
|
}),
|
|
9162
|
-
renderLevel(root,
|
|
9163
|
-
selected.size > 0 &&
|
|
8974
|
+
renderLevel(root, 1),
|
|
8975
|
+
selected.size > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
9164
8976
|
className: sidebar_module_css_default.explorerSelectionBar,
|
|
9165
8977
|
role: "toolbar",
|
|
9166
8978
|
"aria-label": t("filesSelected", { count: selected.size }),
|
|
@@ -9295,8 +9107,7 @@ window.__ModuleLoader__.load({
|
|
|
9295
9107
|
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconTrashOutlineRegular, { size: 14 }),
|
|
9296
9108
|
danger: true
|
|
9297
9109
|
}
|
|
9298
|
-
] : []
|
|
9299
|
-
...extraRows
|
|
9110
|
+
] : []
|
|
9300
9111
|
],
|
|
9301
9112
|
onSelect: (id) => {
|
|
9302
9113
|
const target = rowMenu;
|
|
@@ -9370,25 +9181,13 @@ window.__ModuleLoader__.load({
|
|
|
9370
9181
|
});
|
|
9371
9182
|
return;
|
|
9372
9183
|
}
|
|
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
9184
|
copyPath(id === "relative" ? relativeTo(cwd ?? "", target.path) : target.path, target.path);
|
|
9382
9185
|
},
|
|
9383
9186
|
portal: true,
|
|
9384
9187
|
compact: true,
|
|
9385
9188
|
align: "start",
|
|
9386
9189
|
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
|
-
} }
|
|
9190
|
+
anchor: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {})
|
|
9392
9191
|
}),
|
|
9393
9192
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(ConfirmDialog, {
|
|
9394
9193
|
open: confirmDelete !== null,
|
|
@@ -10273,7 +10072,7 @@ window.__ModuleLoader__.load({
|
|
|
10273
10072
|
vectorCoverage: "Embedded {embedded} / {total} chunks; failed {failed}.",
|
|
10274
10073
|
vectorProgress: "Vectorizing {done} / {total} documents...",
|
|
10275
10074
|
vectorRebuild: "Rebuild vector index",
|
|
10276
|
-
vectorRebuildHint: "Whole-library rebuild; asks for confirmation. Use
|
|
10075
|
+
vectorRebuildHint: "Whole-library rebuild; asks for confirmation. Use the knowledge-base skill vectorize flow for one document or directory.",
|
|
10277
10076
|
vectorRebuildConfirm: "Rebuild vectors for the whole knowledge base? This calls the embedding provider for every current chunk.",
|
|
10278
10077
|
vectorBadNumber: "Vector settings contain an invalid number.",
|
|
10279
10078
|
settingsMineruExplicit: "Currently using the address above.",
|
|
@@ -11039,7 +10838,7 @@ window.__ModuleLoader__.load({
|
|
|
11039
10838
|
vectorCoverage: "已嵌入 {embedded} / {total} chunks;失败 {failed}。",
|
|
11040
10839
|
vectorProgress: "正在向量化 {done} / {total} 篇文档…",
|
|
11041
10840
|
vectorRebuild: "重建向量索引",
|
|
11042
|
-
vectorRebuildHint: "全库重建,会要求确认;单篇/目录请用
|
|
10841
|
+
vectorRebuildHint: "全库重建,会要求确认;单篇/目录请用 knowledge-base 技能的向量化流程。",
|
|
11043
10842
|
vectorRebuildConfirm: "确认对整个知识库重建向量索引?这会为当前所有 chunk 调用 embedding provider。",
|
|
11044
10843
|
vectorBadNumber: "向量设置中有非法数字。",
|
|
11045
10844
|
settingsMineruExplicit: "当前使用上面填写的地址。",
|
|
@@ -12812,21 +12611,21 @@ window.__ModuleLoader__.load({
|
|
|
12812
12611
|
document.head.appendChild(tag);
|
|
12813
12612
|
}
|
|
12814
12613
|
var KnowledgeShareDialog_module_css_default = {
|
|
12815
|
-
"option": "nw--rq_option",
|
|
12816
|
-
"fieldLabel": "nw--rq_fieldLabel",
|
|
12817
|
-
"chosenLabel": "nw--rq_chosenLabel",
|
|
12818
|
-
"body": "nw--rq_body",
|
|
12819
12614
|
"intro": "nw--rq_intro",
|
|
12820
|
-
"
|
|
12821
|
-
"
|
|
12615
|
+
"content": "nw--rq_content",
|
|
12616
|
+
"notice": "nw--rq_notice",
|
|
12822
12617
|
"field": "nw--rq_field",
|
|
12823
|
-
"
|
|
12824
|
-
"
|
|
12618
|
+
"option": "nw--rq_option",
|
|
12619
|
+
"state": "nw--rq_state",
|
|
12825
12620
|
"chosen": "nw--rq_chosen",
|
|
12826
12621
|
"optionDetail": "nw--rq_optionDetail",
|
|
12827
|
-
"
|
|
12622
|
+
"body": "nw--rq_body",
|
|
12828
12623
|
"dialog": "nw--rq_dialog",
|
|
12829
|
-
"
|
|
12624
|
+
"list": "nw--rq_list",
|
|
12625
|
+
"chosenLabel": "nw--rq_chosenLabel",
|
|
12626
|
+
"optionLabel": "nw--rq_optionLabel",
|
|
12627
|
+
"hint": "nw--rq_hint",
|
|
12628
|
+
"fieldLabel": "nw--rq_fieldLabel"
|
|
12830
12629
|
};
|
|
12831
12630
|
//#endregion
|
|
12832
12631
|
//#region src/client/KnowledgeShareDialog.tsx
|
|
@@ -15208,46 +15007,46 @@ window.__ModuleLoader__.load({
|
|
|
15208
15007
|
document.head.appendChild(tag);
|
|
15209
15008
|
}
|
|
15210
15009
|
var KnowledgePermissions_module_css_default = {
|
|
15211
|
-
"
|
|
15212
|
-
"
|
|
15213
|
-
"actions": "W1jiya_actions",
|
|
15010
|
+
"sourceCell": "W1jiya_sourceCell",
|
|
15011
|
+
"sourceHint": "W1jiya_sourceHint",
|
|
15214
15012
|
"overview": "W1jiya_overview",
|
|
15013
|
+
"holders": "W1jiya_holders",
|
|
15014
|
+
"pathCell": "W1jiya_pathCell",
|
|
15015
|
+
"paths": "W1jiya_paths",
|
|
15016
|
+
"partialMark": "W1jiya_partialMark",
|
|
15017
|
+
"countCell": "W1jiya_countCell",
|
|
15018
|
+
"holderName": "W1jiya_holderName",
|
|
15215
15019
|
"dialogSelect": "W1jiya_dialogSelect",
|
|
15216
|
-
"
|
|
15217
|
-
"
|
|
15020
|
+
"pageTitle": "W1jiya_pageTitle",
|
|
15021
|
+
"dialogNotice": "W1jiya_dialogNotice",
|
|
15022
|
+
"table": "W1jiya_table",
|
|
15023
|
+
"linkButton": "W1jiya_linkButton",
|
|
15024
|
+
"pagerStatus": "W1jiya_pagerStatus",
|
|
15025
|
+
"pageHint": "W1jiya_pageHint",
|
|
15026
|
+
"principalName": "W1jiya_principalName",
|
|
15218
15027
|
"path": "W1jiya_path",
|
|
15028
|
+
"actions": "W1jiya_actions",
|
|
15029
|
+
"chips": "W1jiya_chips",
|
|
15219
15030
|
"principalId": "W1jiya_principalId",
|
|
15220
|
-
"countCell": "W1jiya_countCell",
|
|
15221
|
-
"partialMark": "W1jiya_partialMark",
|
|
15222
|
-
"sourceCell": "W1jiya_sourceCell",
|
|
15223
15031
|
"actionCell": "W1jiya_actionCell",
|
|
15224
|
-
"
|
|
15225
|
-
"
|
|
15226
|
-
"
|
|
15227
|
-
"dialogNotice": "W1jiya_dialogNotice",
|
|
15032
|
+
"tabs": "W1jiya_tabs",
|
|
15033
|
+
"emptyNote": "W1jiya_emptyNote",
|
|
15034
|
+
"statCard": "W1jiya_statCard",
|
|
15228
15035
|
"statRow": "W1jiya_statRow",
|
|
15036
|
+
"placeholder": "W1jiya_placeholder",
|
|
15037
|
+
"emptyRow": "W1jiya_emptyRow",
|
|
15038
|
+
"statValue": "W1jiya_statValue",
|
|
15039
|
+
"statLabel": "W1jiya_statLabel",
|
|
15040
|
+
"dialogField": "W1jiya_dialogField",
|
|
15041
|
+
"principalMeta": "W1jiya_principalMeta",
|
|
15229
15042
|
"holder": "W1jiya_holder",
|
|
15230
|
-
"
|
|
15231
|
-
"pageTitle": "W1jiya_pageTitle",
|
|
15232
|
-
"linkButton": "W1jiya_linkButton",
|
|
15043
|
+
"rowActions": "W1jiya_rowActions",
|
|
15233
15044
|
"pager": "W1jiya_pager",
|
|
15234
|
-
"
|
|
15235
|
-
"table": "W1jiya_table",
|
|
15236
|
-
"pageHint": "W1jiya_pageHint",
|
|
15045
|
+
"pageHead": "W1jiya_pageHead",
|
|
15237
15046
|
"overviewEmpty": "W1jiya_overviewEmpty",
|
|
15238
|
-
"dialogField": "W1jiya_dialogField",
|
|
15239
|
-
"rowActions": "W1jiya_rowActions",
|
|
15240
|
-
"holders": "W1jiya_holders",
|
|
15241
|
-
"principalMeta": "W1jiya_principalMeta",
|
|
15242
15047
|
"pageSize": "W1jiya_pageSize",
|
|
15243
|
-
"principalName": "W1jiya_principalName",
|
|
15244
|
-
"holderKind": "W1jiya_holderKind",
|
|
15245
15048
|
"dialogForm": "W1jiya_dialogForm",
|
|
15246
|
-
"
|
|
15247
|
-
"placeholder": "W1jiya_placeholder",
|
|
15248
|
-
"emptyNote": "W1jiya_emptyNote",
|
|
15249
|
-
"pathCell": "W1jiya_pathCell",
|
|
15250
|
-
"paths": "W1jiya_paths"
|
|
15049
|
+
"holderKind": "W1jiya_holderKind"
|
|
15251
15050
|
};
|
|
15252
15051
|
//#endregion
|
|
15253
15052
|
//#region src/client/KnowledgeTrash.tsx
|
|
@@ -15567,14 +15366,14 @@ window.__ModuleLoader__.load({
|
|
|
15567
15366
|
document.head.appendChild(tag);
|
|
15568
15367
|
}
|
|
15569
15368
|
var KnowledgeAudit_module_css_default = {
|
|
15369
|
+
"pagerPosition": "_0xqcPG_pagerPosition",
|
|
15370
|
+
"pagerSizeLabel": "_0xqcPG_pagerSizeLabel",
|
|
15371
|
+
"tabs": "_0xqcPG_tabs",
|
|
15372
|
+
"pagerTotal": "_0xqcPG_pagerTotal",
|
|
15570
15373
|
"pathCell": "_0xqcPG_pathCell",
|
|
15571
15374
|
"audit": "_0xqcPG_audit",
|
|
15572
|
-
"pager": "_0xqcPG_pager",
|
|
15573
|
-
"pagerTotal": "_0xqcPG_pagerTotal",
|
|
15574
|
-
"pagerPosition": "_0xqcPG_pagerPosition",
|
|
15575
15375
|
"pagerSize": "_0xqcPG_pagerSize",
|
|
15576
|
-
"
|
|
15577
|
-
"tabs": "_0xqcPG_tabs"
|
|
15376
|
+
"pager": "_0xqcPG_pager"
|
|
15578
15377
|
};
|
|
15579
15378
|
//#endregion
|
|
15580
15379
|
//#region src/client/KnowledgeAudit.tsx
|
|
@@ -16142,65 +15941,65 @@ window.__ModuleLoader__.load({
|
|
|
16142
15941
|
document.head.appendChild(tag);
|
|
16143
15942
|
}
|
|
16144
15943
|
var KnowledgeMemory_module_css_default = {
|
|
16145
|
-
"
|
|
15944
|
+
"hint": "_2H9JWq_hint",
|
|
15945
|
+
"detailMeta": "_2H9JWq_detailMeta",
|
|
16146
15946
|
"sectionTitle": "_2H9JWq_sectionTitle",
|
|
16147
|
-
"
|
|
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",
|
|
15947
|
+
"intervalLabel": "_2H9JWq_intervalLabel",
|
|
16158
15948
|
"evidence": "_2H9JWq_evidence",
|
|
16159
|
-
"detailBody": "_2H9JWq_detailBody",
|
|
16160
|
-
"intervalInput": "_2H9JWq_intervalInput",
|
|
16161
|
-
"switchState": "_2H9JWq_switchState",
|
|
16162
|
-
"promotionChip": "_2H9JWq_promotionChip",
|
|
16163
|
-
"promotionSection": "_2H9JWq_promotionSection",
|
|
16164
|
-
"selfApprovalHint": "_2H9JWq_selfApprovalHint",
|
|
16165
|
-
"intervalControls": "_2H9JWq_intervalControls",
|
|
16166
|
-
"detailContent": "_2H9JWq_detailContent",
|
|
16167
|
-
"timeCell": "_2H9JWq_timeCell",
|
|
16168
15949
|
"noticeRow": "_2H9JWq_noticeRow",
|
|
16169
|
-
"promotionForm": "_2H9JWq_promotionForm",
|
|
16170
|
-
"intervalCopy": "_2H9JWq_intervalCopy",
|
|
16171
|
-
"actionsHead": "_2H9JWq_actionsHead",
|
|
16172
15950
|
"emptyTitle": "_2H9JWq_emptyTitle",
|
|
16173
|
-
"
|
|
16174
|
-
"reviewContent": "_2H9JWq_reviewContent",
|
|
16175
|
-
"actionsCell": "_2H9JWq_actionsCell",
|
|
16176
|
-
"errorDetail": "_2H9JWq_errorDetail",
|
|
16177
|
-
"header": "_2H9JWq_header",
|
|
15951
|
+
"actionsHead": "_2H9JWq_actionsHead",
|
|
16178
15952
|
"pausedNotice": "_2H9JWq_pausedNotice",
|
|
16179
|
-
"
|
|
16180
|
-
"
|
|
16181
|
-
"
|
|
16182
|
-
"
|
|
16183
|
-
"sectionHint": "_2H9JWq_sectionHint",
|
|
16184
|
-
"intervalHint": "_2H9JWq_intervalHint",
|
|
16185
|
-
"detailMeta": "_2H9JWq_detailMeta",
|
|
15953
|
+
"errorDetail": "_2H9JWq_errorDetail",
|
|
15954
|
+
"title": "_2H9JWq_title",
|
|
15955
|
+
"sourceMore": "_2H9JWq_sourceMore",
|
|
15956
|
+
"promotionChip": "_2H9JWq_promotionChip",
|
|
16186
15957
|
"intervalRow": "_2H9JWq_intervalRow",
|
|
16187
|
-
"
|
|
16188
|
-
"
|
|
16189
|
-
"
|
|
15958
|
+
"sectionHint": "_2H9JWq_sectionHint",
|
|
15959
|
+
"error": "_2H9JWq_error",
|
|
15960
|
+
"switchState": "_2H9JWq_switchState",
|
|
15961
|
+
"intervalInput": "_2H9JWq_intervalInput",
|
|
15962
|
+
"sourceLabel": "_2H9JWq_sourceLabel",
|
|
15963
|
+
"notice": "_2H9JWq_notice",
|
|
15964
|
+
"state": "_2H9JWq_state",
|
|
16190
15965
|
"toolbar": "_2H9JWq_toolbar",
|
|
15966
|
+
"sourceList": "_2H9JWq_sourceList",
|
|
15967
|
+
"detailContent": "_2H9JWq_detailContent",
|
|
15968
|
+
"textarea": "_2H9JWq_textarea",
|
|
15969
|
+
"header": "_2H9JWq_header",
|
|
15970
|
+
"select": "_2H9JWq_select",
|
|
15971
|
+
"table": "_2H9JWq_table",
|
|
15972
|
+
"privacyChip": "_2H9JWq_privacyChip",
|
|
15973
|
+
"timeCell": "_2H9JWq_timeCell",
|
|
16191
15974
|
"typeChip": "_2H9JWq_typeChip",
|
|
15975
|
+
"emptyBody": "_2H9JWq_emptyBody",
|
|
16192
15976
|
"page": "_2H9JWq_page",
|
|
16193
|
-
"
|
|
16194
|
-
"empty": "_2H9JWq_empty",
|
|
16195
|
-
"state": "_2H9JWq_state",
|
|
15977
|
+
"intervalSaved": "_2H9JWq_intervalSaved",
|
|
16196
15978
|
"heading": "_2H9JWq_heading",
|
|
16197
|
-
"
|
|
16198
|
-
"
|
|
16199
|
-
"
|
|
15979
|
+
"tableWrap": "_2H9JWq_tableWrap",
|
|
15980
|
+
"memoryTitle": "_2H9JWq_memoryTitle",
|
|
15981
|
+
"promotionForm": "_2H9JWq_promotionForm",
|
|
15982
|
+
"intervalError": "_2H9JWq_intervalError",
|
|
15983
|
+
"rowActions": "_2H9JWq_rowActions",
|
|
16200
15984
|
"memoryCell": "_2H9JWq_memoryCell",
|
|
16201
|
-
"
|
|
16202
|
-
"
|
|
16203
|
-
"
|
|
15985
|
+
"intervalCopy": "_2H9JWq_intervalCopy",
|
|
15986
|
+
"empty": "_2H9JWq_empty",
|
|
15987
|
+
"sourceTime": "_2H9JWq_sourceTime",
|
|
15988
|
+
"promotionConfirm": "_2H9JWq_promotionConfirm",
|
|
15989
|
+
"promotionNotice": "_2H9JWq_promotionNotice",
|
|
15990
|
+
"detailBody": "_2H9JWq_detailBody",
|
|
15991
|
+
"intervalHint": "_2H9JWq_intervalHint",
|
|
15992
|
+
"footer": "_2H9JWq_footer",
|
|
15993
|
+
"detailLabel": "_2H9JWq_detailLabel",
|
|
15994
|
+
"selfApprovalHint": "_2H9JWq_selfApprovalHint",
|
|
15995
|
+
"actionsCell": "_2H9JWq_actionsCell",
|
|
15996
|
+
"intervalUnit": "_2H9JWq_intervalUnit",
|
|
15997
|
+
"promotionSection": "_2H9JWq_promotionSection",
|
|
15998
|
+
"promotionMemory": "_2H9JWq_promotionMemory",
|
|
15999
|
+
"search": "_2H9JWq_search",
|
|
16000
|
+
"switchGroup": "_2H9JWq_switchGroup",
|
|
16001
|
+
"intervalControls": "_2H9JWq_intervalControls",
|
|
16002
|
+
"reviewContent": "_2H9JWq_reviewContent"
|
|
16204
16003
|
};
|
|
16205
16004
|
//#endregion
|
|
16206
16005
|
//#region src/client/KnowledgeMemory.tsx
|
|
@@ -17678,31 +17477,31 @@ window.__ModuleLoader__.load({
|
|
|
17678
17477
|
document.head.appendChild(tag);
|
|
17679
17478
|
}
|
|
17680
17479
|
var KnowledgeListing_module_css_default = {
|
|
17681
|
-
"emptyAction": "_95AMVa_emptyAction",
|
|
17682
|
-
"cardName": "_95AMVa_cardName",
|
|
17683
|
-
"entryDir": "_95AMVa_entryDir",
|
|
17684
|
-
"pinDropZone": "_95AMVa_pinDropZone",
|
|
17685
17480
|
"entryTime": "_95AMVa_entryTime",
|
|
17686
|
-
"
|
|
17481
|
+
"emptyTitle": "_95AMVa_emptyTitle",
|
|
17482
|
+
"card": "_95AMVa_card",
|
|
17687
17483
|
"cards": "_95AMVa_cards",
|
|
17688
|
-
"
|
|
17689
|
-
"cardTime": "_95AMVa_cardTime",
|
|
17484
|
+
"emptyAction": "_95AMVa_emptyAction",
|
|
17690
17485
|
"entryRef": "_95AMVa_entryRef",
|
|
17691
|
-
"
|
|
17692
|
-
"
|
|
17693
|
-
"
|
|
17486
|
+
"emptyGlyph": "_95AMVa_emptyGlyph",
|
|
17487
|
+
"entryDir": "_95AMVa_entryDir",
|
|
17488
|
+
"entryName": "_95AMVa_entryName",
|
|
17489
|
+
"entry": "_95AMVa_entry",
|
|
17490
|
+
"cardDir": "_95AMVa_cardDir",
|
|
17694
17491
|
"entryPin": "_95AMVa_entryPin",
|
|
17695
|
-
"entryChildren": "_95AMVa_entryChildren",
|
|
17696
|
-
"entryGlyph": "_95AMVa_entryGlyph",
|
|
17697
|
-
"entries": "_95AMVa_entries",
|
|
17698
17492
|
"kb-row-in": "_95AMVa_kb-row-in",
|
|
17699
|
-
"
|
|
17700
|
-
"
|
|
17701
|
-
"
|
|
17702
|
-
"
|
|
17493
|
+
"entryGlyph": "_95AMVa_entryGlyph",
|
|
17494
|
+
"entryFavorite": "_95AMVa_entryFavorite",
|
|
17495
|
+
"cardGlyph": "_95AMVa_cardGlyph",
|
|
17496
|
+
"cardName": "_95AMVa_cardName",
|
|
17703
17497
|
"cardMeta": "_95AMVa_cardMeta",
|
|
17704
17498
|
"entryCheck": "_95AMVa_entryCheck",
|
|
17705
|
-
"
|
|
17499
|
+
"entryChildren": "_95AMVa_entryChildren",
|
|
17500
|
+
"cardTime": "_95AMVa_cardTime",
|
|
17501
|
+
"pinDropZone": "_95AMVa_pinDropZone",
|
|
17502
|
+
"empty": "_95AMVa_empty",
|
|
17503
|
+
"entries": "_95AMVa_entries",
|
|
17504
|
+
"cardItem": "_95AMVa_cardItem"
|
|
17706
17505
|
};
|
|
17707
17506
|
//#endregion
|
|
17708
17507
|
//#region src/client/listingFilter.ts
|
|
@@ -18347,42 +18146,42 @@ window.__ModuleLoader__.load({
|
|
|
18347
18146
|
document.head.appendChild(tag);
|
|
18348
18147
|
}
|
|
18349
18148
|
var KnowledgeProgressPopover_module_css_default = {
|
|
18350
|
-
"
|
|
18351
|
-
"
|
|
18352
|
-
"cardProgress": "x_PPca_cardProgress",
|
|
18353
|
-
"badge": "x_PPca_badge",
|
|
18149
|
+
"dialogShell": "x_PPca_dialogShell",
|
|
18150
|
+
"progressPercent": "x_PPca_progressPercent",
|
|
18354
18151
|
"dialog": "x_PPca_dialog",
|
|
18355
|
-
"cardActions": "x_PPca_cardActions",
|
|
18356
|
-
"badgeFailed": "x_PPca_badgeFailed",
|
|
18357
18152
|
"dialogContent": "x_PPca_dialogContent",
|
|
18358
|
-
"
|
|
18359
|
-
"
|
|
18360
|
-
"
|
|
18361
|
-
"progressFill": "x_PPca_progressFill",
|
|
18362
|
-
"badgeBusy": "x_PPca_badgeBusy",
|
|
18153
|
+
"summaryValue": "x_PPca_summaryValue",
|
|
18154
|
+
"badgeDone": "x_PPca_badgeDone",
|
|
18155
|
+
"progressFillIndeterminate": "x_PPca_progressFillIndeterminate",
|
|
18363
18156
|
"list": "x_PPca_list",
|
|
18157
|
+
"summaryItem": "x_PPca_summaryItem",
|
|
18364
18158
|
"titleRatio": "x_PPca_titleRatio",
|
|
18365
|
-
"
|
|
18366
|
-
"
|
|
18367
|
-
"progressFillIndeterminate": "x_PPca_progressFillIndeterminate",
|
|
18159
|
+
"cardActions": "x_PPca_cardActions",
|
|
18160
|
+
"cardProgress": "x_PPca_cardProgress",
|
|
18368
18161
|
"cardRow": "x_PPca_cardRow",
|
|
18369
|
-
"
|
|
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",
|
|
18162
|
+
"dialogHead": "x_PPca_dialogHead",
|
|
18375
18163
|
"footer": "x_PPca_footer",
|
|
18376
|
-
"
|
|
18164
|
+
"cardPath": "x_PPca_cardPath",
|
|
18165
|
+
"summaryLabel": "x_PPca_summaryLabel",
|
|
18377
18166
|
"card": "x_PPca_card",
|
|
18378
|
-
"
|
|
18379
|
-
"
|
|
18167
|
+
"dialogTitle": "x_PPca_dialogTitle",
|
|
18168
|
+
"cardReason": "x_PPca_cardReason",
|
|
18380
18169
|
"summary": "x_PPca_summary",
|
|
18381
|
-
"
|
|
18382
|
-
"
|
|
18383
|
-
"summaryLabel": "x_PPca_summaryLabel",
|
|
18170
|
+
"bell": "x_PPca_bell",
|
|
18171
|
+
"cardRawReason": "x_PPca_cardRawReason",
|
|
18384
18172
|
"dialogClose": "x_PPca_dialogClose",
|
|
18385
|
-
"
|
|
18173
|
+
"progressFillFailed": "x_PPca_progressFillFailed",
|
|
18174
|
+
"cardTime": "x_PPca_cardTime",
|
|
18175
|
+
"progressFill": "x_PPca_progressFill",
|
|
18176
|
+
"badgeFailed": "x_PPca_badgeFailed",
|
|
18177
|
+
"badge": "x_PPca_badge",
|
|
18178
|
+
"badgeBusy": "x_PPca_badgeBusy",
|
|
18179
|
+
"cardName": "x_PPca_cardName",
|
|
18180
|
+
"dialogTitleRow": "x_PPca_dialogTitleRow",
|
|
18181
|
+
"empty": "x_PPca_empty",
|
|
18182
|
+
"progressRow": "x_PPca_progressRow",
|
|
18183
|
+
"group": "x_PPca_group",
|
|
18184
|
+
"progressTrack": "x_PPca_progressTrack"
|
|
18386
18185
|
};
|
|
18387
18186
|
//#endregion
|
|
18388
18187
|
//#region src/client/taskQueueStore.ts
|
|
@@ -19233,8 +19032,8 @@ window.__ModuleLoader__.load({
|
|
|
19233
19032
|
document.head.appendChild(tag);
|
|
19234
19033
|
}
|
|
19235
19034
|
var KnowledgeScopeTabs_module_css_default = {
|
|
19236
|
-
"tabSelected": "UvtP4W_tabSelected",
|
|
19237
19035
|
"tab": "UvtP4W_tab",
|
|
19036
|
+
"tabSelected": "UvtP4W_tabSelected",
|
|
19238
19037
|
"tabs": "UvtP4W_tabs"
|
|
19239
19038
|
};
|
|
19240
19039
|
//#endregion
|
|
@@ -19344,12 +19143,12 @@ window.__ModuleLoader__.load({
|
|
|
19344
19143
|
document.head.appendChild(tag);
|
|
19345
19144
|
}
|
|
19346
19145
|
var OriginBadges_module_css_default = {
|
|
19347
|
-
"
|
|
19348
|
-
"reviewStatus": "iQ1oAG_reviewStatus",
|
|
19146
|
+
"authority": "iQ1oAG_authority",
|
|
19349
19147
|
"origin": "iQ1oAG_origin",
|
|
19148
|
+
"compact": "iQ1oAG_compact",
|
|
19149
|
+
"badges": "iQ1oAG_badges",
|
|
19350
19150
|
"badge": "iQ1oAG_badge",
|
|
19351
|
-
"
|
|
19352
|
-
"compact": "iQ1oAG_compact"
|
|
19151
|
+
"reviewStatus": "iQ1oAG_reviewStatus"
|
|
19353
19152
|
};
|
|
19354
19153
|
//#endregion
|
|
19355
19154
|
//#region src/client/graph/OriginBadges.tsx
|
|
@@ -19423,6 +19222,41 @@ window.__ModuleLoader__.load({
|
|
|
19423
19222
|
});
|
|
19424
19223
|
}
|
|
19425
19224
|
//#endregion
|
|
19225
|
+
//#region node_modules/dsh-better-sidebar/src/client/file-icons.tsx
|
|
19226
|
+
/**
|
|
19227
|
+
* A file row: the host's own classifier and artwork for any path. Unknown
|
|
19228
|
+
* extensions land on the generic document glyph, exactly like the host's
|
|
19229
|
+
* explorer.
|
|
19230
|
+
* @param path - the row's path (any separator; the classifier reads the basename).
|
|
19231
|
+
* @param size - the square edge in px.
|
|
19232
|
+
* @returns the host's file-type glyph.
|
|
19233
|
+
*/
|
|
19234
|
+
function builtinFileIcon(path, size) {
|
|
19235
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.FileTypeIcon, {
|
|
19236
|
+
path,
|
|
19237
|
+
size
|
|
19238
|
+
});
|
|
19239
|
+
}
|
|
19240
|
+
/**
|
|
19241
|
+
* A directory row: the host's folder glyph.
|
|
19242
|
+
*
|
|
19243
|
+
* The host ships ONE folder drawing (`kind: 'folder'` resolves to its
|
|
19244
|
+
* monochrome `IconFolderClose16`, which rides `currentColor` and therefore
|
|
19245
|
+
* still follows the skin), and the classifier never returns a folder kind of
|
|
19246
|
+
* its own. The expansion state is already legible from the tree's own chevron
|
|
19247
|
+
* and row affordances, so this deliberately does not invent a second folder
|
|
19248
|
+
* drawing.
|
|
19249
|
+
* @param _open - whether the row is expanded (accepted for API compatibility).
|
|
19250
|
+
* @param size - the square edge in px.
|
|
19251
|
+
* @returns the host's folder glyph.
|
|
19252
|
+
*/
|
|
19253
|
+
function builtinFolderIcon(_open, size) {
|
|
19254
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.FileTypeIcon, {
|
|
19255
|
+
kind: "folder",
|
|
19256
|
+
size
|
|
19257
|
+
});
|
|
19258
|
+
}
|
|
19259
|
+
//#endregion
|
|
19426
19260
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/graph/KnowledgeGraphTree.module.css.mjs
|
|
19427
19261
|
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
19262
|
const tagId$5 = "@sparkelf/dsh-knowledge-base/KnowledgeGraphTree.module.css";
|
|
@@ -19434,32 +19268,32 @@ window.__ModuleLoader__.load({
|
|
|
19434
19268
|
document.head.appendChild(tag);
|
|
19435
19269
|
}
|
|
19436
19270
|
var KnowledgeGraphTree_module_css_default = {
|
|
19271
|
+
"emptyTitle": "JLttwq_emptyTitle",
|
|
19272
|
+
"rowActive": "JLttwq_rowActive",
|
|
19273
|
+
"kg-row-in": "JLttwq_kg-row-in",
|
|
19274
|
+
"emptyRow": "JLttwq_emptyRow",
|
|
19275
|
+
"computedBadge": "JLttwq_computedBadge",
|
|
19276
|
+
"explorerDir": "JLttwq_explorerDir",
|
|
19437
19277
|
"topicName": "JLttwq_topicName",
|
|
19278
|
+
"topicActive": "JLttwq_topicActive",
|
|
19438
19279
|
"state": "JLttwq_state",
|
|
19439
|
-
"
|
|
19280
|
+
"rowBadges": "JLttwq_rowBadges",
|
|
19281
|
+
"explorerTime": "JLttwq_explorerTime",
|
|
19282
|
+
"tree": "JLttwq_tree",
|
|
19440
19283
|
"chevronPlaceholder": "JLttwq_chevronPlaceholder",
|
|
19441
19284
|
"error": "JLttwq_error",
|
|
19442
|
-
"emptyTitle": "JLttwq_emptyTitle",
|
|
19443
|
-
"retry": "JLttwq_retry",
|
|
19444
|
-
"explorerDir": "JLttwq_explorerDir",
|
|
19445
|
-
"explorerRowSelected": "JLttwq_explorerRowSelected",
|
|
19446
|
-
"topicActive": "JLttwq_topicActive",
|
|
19447
|
-
"computedBadge": "JLttwq_computedBadge",
|
|
19448
|
-
"explorerRow": "JLttwq_explorerRow",
|
|
19449
19285
|
"topicRow": "JLttwq_topicRow",
|
|
19450
|
-
"
|
|
19451
|
-
"
|
|
19452
|
-
"computedBadges": "JLttwq_computedBadges",
|
|
19453
|
-
"rowActive": "JLttwq_rowActive",
|
|
19286
|
+
"explorerRowSelected": "JLttwq_explorerRowSelected",
|
|
19287
|
+
"graphGlyph": "JLttwq_graphGlyph",
|
|
19454
19288
|
"readOnlyBadge": "JLttwq_readOnlyBadge",
|
|
19455
|
-
"
|
|
19456
|
-
"
|
|
19457
|
-
"detail": "JLttwq_detail",
|
|
19458
|
-
"kg-row-in": "JLttwq_kg-row-in",
|
|
19289
|
+
"topicGlyph": "JLttwq_topicGlyph",
|
|
19290
|
+
"explorerRow": "JLttwq_explorerRow",
|
|
19459
19291
|
"explorerName": "JLttwq_explorerName",
|
|
19460
|
-
"explorerTime": "JLttwq_explorerTime",
|
|
19461
19292
|
"scope": "JLttwq_scope",
|
|
19462
|
-
"
|
|
19293
|
+
"detail": "JLttwq_detail",
|
|
19294
|
+
"retry": "JLttwq_retry",
|
|
19295
|
+
"chevron": "JLttwq_chevron",
|
|
19296
|
+
"computedBadges": "JLttwq_computedBadges"
|
|
19463
19297
|
};
|
|
19464
19298
|
//#endregion
|
|
19465
19299
|
//#region src/client/graph/KnowledgeGraphTree.tsx
|
|
@@ -19848,19 +19682,19 @@ window.__ModuleLoader__.load({
|
|
|
19848
19682
|
document.head.appendChild(tag);
|
|
19849
19683
|
}
|
|
19850
19684
|
var KnowledgeGraphView_module_css_default = {
|
|
19685
|
+
"filterSelect": "Dk9FoG_filterSelect",
|
|
19686
|
+
"frame": "Dk9FoG_frame",
|
|
19687
|
+
"badgeBar": "Dk9FoG_badgeBar",
|
|
19851
19688
|
"overviewBar": "Dk9FoG_overviewBar",
|
|
19689
|
+
"error": "Dk9FoG_error",
|
|
19690
|
+
"detail": "Dk9FoG_detail",
|
|
19691
|
+
"retry": "Dk9FoG_retry",
|
|
19852
19692
|
"filterField": "Dk9FoG_filterField",
|
|
19853
19693
|
"host": "Dk9FoG_host",
|
|
19854
|
-
"badgeBar": "Dk9FoG_badgeBar",
|
|
19855
19694
|
"badgeBarLabel": "Dk9FoG_badgeBarLabel",
|
|
19856
|
-
"state": "Dk9FoG_state",
|
|
19857
19695
|
"overviewLabel": "Dk9FoG_overviewLabel",
|
|
19858
|
-
"filterSelect": "Dk9FoG_filterSelect",
|
|
19859
19696
|
"emptyTitle": "Dk9FoG_emptyTitle",
|
|
19860
|
-
"
|
|
19861
|
-
"detail": "Dk9FoG_detail",
|
|
19862
|
-
"frame": "Dk9FoG_frame",
|
|
19863
|
-
"retry": "Dk9FoG_retry"
|
|
19697
|
+
"state": "Dk9FoG_state"
|
|
19864
19698
|
};
|
|
19865
19699
|
//#endregion
|
|
19866
19700
|
//#region src/client/graph/KnowledgeGraphView.tsx
|
|
@@ -20927,22 +20761,22 @@ window.__ModuleLoader__.load({
|
|
|
20927
20761
|
document.head.appendChild(tag);
|
|
20928
20762
|
}
|
|
20929
20763
|
var KnowledgeFilePreview_module_css_default = {
|
|
20930
|
-
"
|
|
20931
|
-
"
|
|
20764
|
+
"binaryName": "_7KbGuq_binaryName",
|
|
20765
|
+
"notice": "_7KbGuq_notice",
|
|
20766
|
+
"close": "_7KbGuq_close",
|
|
20767
|
+
"binaryIcon": "_7KbGuq_binaryIcon",
|
|
20768
|
+
"heading": "_7KbGuq_heading",
|
|
20932
20769
|
"pre": "_7KbGuq_pre",
|
|
20770
|
+
"head": "_7KbGuq_head",
|
|
20771
|
+
"binarySize": "_7KbGuq_binarySize",
|
|
20772
|
+
"error": "_7KbGuq_error",
|
|
20773
|
+
"path": "_7KbGuq_path",
|
|
20774
|
+
"binaryAction": "_7KbGuq_binaryAction",
|
|
20775
|
+
"binaryCard": "_7KbGuq_binaryCard",
|
|
20933
20776
|
"title": "_7KbGuq_title",
|
|
20934
20777
|
"binaryMeta": "_7KbGuq_binaryMeta",
|
|
20935
|
-
"path": "_7KbGuq_path",
|
|
20936
20778
|
"root": "_7KbGuq_root",
|
|
20937
|
-
"
|
|
20938
|
-
"binaryAction": "_7KbGuq_binaryAction",
|
|
20939
|
-
"binaryName": "_7KbGuq_binaryName",
|
|
20940
|
-
"head": "_7KbGuq_head",
|
|
20941
|
-
"error": "_7KbGuq_error",
|
|
20942
|
-
"binaryIcon": "_7KbGuq_binaryIcon",
|
|
20943
|
-
"notice": "_7KbGuq_notice",
|
|
20944
|
-
"binarySize": "_7KbGuq_binarySize",
|
|
20945
|
-
"heading": "_7KbGuq_heading"
|
|
20779
|
+
"body": "_7KbGuq_body"
|
|
20946
20780
|
};
|
|
20947
20781
|
//#endregion
|
|
20948
20782
|
//#region src/client/KnowledgeFilePreview.tsx
|
|
@@ -21126,156 +20960,110 @@ window.__ModuleLoader__.load({
|
|
|
21126
20960
|
});
|
|
21127
20961
|
}
|
|
21128
20962
|
//#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
|
-
}
|
|
20963
|
+
//#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
20964
|
/**
|
|
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.
|
|
20965
|
+
* Splice `text` into `draft` at `caret` (replacing any live selection) with
|
|
20966
|
+
* whitespace-aware joins and report the caret position right after the
|
|
20967
|
+
* inserted text. `caret === null` (position unknown) appends at the end,
|
|
20968
|
+
* exactly like the original behavior.
|
|
21208
20969
|
*/
|
|
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
|
|
20970
|
+
function spliceInsert(draft, text, caret) {
|
|
20971
|
+
if (caret === null || draft === "") {
|
|
20972
|
+
const next = draft.trim() === "" ? text : `${draft}${/\s$/.test(draft) ? "" : " "}${text}`;
|
|
20973
|
+
return {
|
|
20974
|
+
draft: next,
|
|
20975
|
+
caretAfter: next.length
|
|
21245
20976
|
};
|
|
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
20977
|
}
|
|
20978
|
+
const prefix = draft.slice(0, caret.start);
|
|
20979
|
+
const suffix = draft.slice(caret.end);
|
|
20980
|
+
if (prefix === "" && suffix === "") return {
|
|
20981
|
+
draft: text,
|
|
20982
|
+
caretAfter: text.length
|
|
20983
|
+
};
|
|
20984
|
+
const left = prefix === "" || /\s$/.test(prefix) ? "" : " ";
|
|
20985
|
+
return {
|
|
20986
|
+
draft: `${prefix}${left}${text}${suffix === "" || /^\s/.test(suffix) || /\s$/.test(text) ? "" : " "}${suffix}`,
|
|
20987
|
+
caretAfter: prefix.length + left.length + text.length
|
|
20988
|
+
};
|
|
21255
20989
|
}
|
|
21256
20990
|
/**
|
|
21257
|
-
*
|
|
21258
|
-
*
|
|
21259
|
-
*
|
|
21260
|
-
|
|
21261
|
-
|
|
21262
|
-
|
|
21263
|
-
|
|
21264
|
-
|
|
21265
|
-
|
|
21266
|
-
|
|
21267
|
-
|
|
21268
|
-
|
|
21269
|
-
|
|
21270
|
-
|
|
20991
|
+
* Locate the composer `<textarea>` in the conversation column: prefer the
|
|
20992
|
+
* `data-phase`-tagged textarea (the composer's marker), falling back to any
|
|
20993
|
+
* textarea in the column, then to a bare data-phase textarea (older host
|
|
20994
|
+
* layouts without the column attribute). Null in jsdom-less hosts.
|
|
20995
|
+
*/
|
|
20996
|
+
function findComposerTextarea() {
|
|
20997
|
+
if (typeof document === "undefined") return null;
|
|
20998
|
+
const column = document.querySelector("#root [data-slot=\"conversation\"]");
|
|
20999
|
+
const find = (scope) => scope.querySelector("textarea[data-phase]") ?? scope.querySelector("textarea");
|
|
21000
|
+
return column !== null ? find(column) : document.querySelector("textarea[data-phase]");
|
|
21001
|
+
}
|
|
21002
|
+
/**
|
|
21003
|
+
* Resolve the composer's live caret from its DOM `<textarea>`. The draft
|
|
21004
|
+
* store has no caret API, so the sidebar reads the composed input's selection
|
|
21005
|
+
* directly; the value-sync check (`el.value === draft`) discards stale or
|
|
21006
|
+
* wrong-composer reads — a caret must never be applied against a draft it
|
|
21007
|
+
* was not measured on.
|
|
21008
|
+
*
|
|
21009
|
+
* Returns null when the composer is missing, disabled/read-only, out of
|
|
21010
|
+
* sync with the store draft, or has no measurable selection (jsdom/odd
|
|
21011
|
+
* hosts report null selectionStart/End).
|
|
21012
|
+
*/
|
|
21013
|
+
function probeComposerCaret(draft) {
|
|
21014
|
+
const el = findComposerTextarea();
|
|
21015
|
+
if (el === null || el.disabled || el.readOnly) return null;
|
|
21016
|
+
if (el.value !== draft) return null;
|
|
21017
|
+
let start = el.selectionStart;
|
|
21018
|
+
let end = el.selectionEnd;
|
|
21019
|
+
if (typeof start !== "number" || typeof end !== "number") return null;
|
|
21020
|
+
if (!Number.isFinite(start) || !Number.isFinite(end)) return null;
|
|
21021
|
+
start = Math.max(0, Math.min(start, draft.length));
|
|
21022
|
+
end = Math.max(start, Math.min(end, draft.length));
|
|
21023
|
+
return {
|
|
21024
|
+
start,
|
|
21025
|
+
end
|
|
21026
|
+
};
|
|
21271
21027
|
}
|
|
21272
21028
|
/**
|
|
21273
|
-
*
|
|
21274
|
-
*
|
|
21275
|
-
*
|
|
21276
|
-
*
|
|
21277
|
-
*
|
|
21278
|
-
* the
|
|
21029
|
+
* Restore the composer caret to `caretIndex` after a programmatic
|
|
21030
|
+
* `setDraft` commit. A controlled textarea update resets the caret (React
|
|
21031
|
+
* commits the value asynchronously and the browser moves the caret to the
|
|
21032
|
+
* start/end), so the placement is scheduled and retried across at most two
|
|
21033
|
+
* animation frames (setTimeout fallback for jsdom), and only applied when
|
|
21034
|
+
* the textarea still matches `expectedDraft` — a newer edit or a different
|
|
21035
|
+
* composer wins the race untouched. The caret is clamped into the value
|
|
21036
|
+
* bounds, mirroring how browsers clamp type-in positions.
|
|
21037
|
+
*/
|
|
21038
|
+
function placeComposerCaretAfterInsert(expectedDraft, caretIndex) {
|
|
21039
|
+
let remaining = 2;
|
|
21040
|
+
let scheduled = false;
|
|
21041
|
+
const schedule = (fn) => {
|
|
21042
|
+
if (scheduled) return;
|
|
21043
|
+
scheduled = true;
|
|
21044
|
+
if (typeof requestAnimationFrame === "function") requestAnimationFrame(fn);
|
|
21045
|
+
else setTimeout(fn, 0);
|
|
21046
|
+
};
|
|
21047
|
+
const place = () => {
|
|
21048
|
+
scheduled = false;
|
|
21049
|
+
if (remaining <= 0) return;
|
|
21050
|
+
remaining -= 1;
|
|
21051
|
+
const el = findComposerTextarea();
|
|
21052
|
+
if (el === null || el.disabled || el.readOnly) return;
|
|
21053
|
+
if (el.value !== expectedDraft) {
|
|
21054
|
+
schedule(place);
|
|
21055
|
+
return;
|
|
21056
|
+
}
|
|
21057
|
+
const clamped = Math.max(0, Math.min(caretIndex, el.value.length));
|
|
21058
|
+
el.setSelectionRange(clamped, clamped);
|
|
21059
|
+
};
|
|
21060
|
+
schedule(place);
|
|
21061
|
+
}
|
|
21062
|
+
/**
|
|
21063
|
+
* Insert `text` into the session's composer draft at the composer's live
|
|
21064
|
+
* caret (see {@link probeComposerCaret}), falling back to appending at the
|
|
21065
|
+
* end when the caret cannot be resolved. Returns false — and logs — when the
|
|
21066
|
+
* conversation service or the session scope is unavailable.
|
|
21279
21067
|
*/
|
|
21280
21068
|
function appendToDraft(ctx, sessionId, text) {
|
|
21281
21069
|
try {
|
|
@@ -21290,25 +21078,10 @@ window.__ModuleLoader__.load({
|
|
|
21290
21078
|
return false;
|
|
21291
21079
|
}
|
|
21292
21080
|
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));
|
|
21081
|
+
const draft = input.state.getSnapshot().draft;
|
|
21082
|
+
const { draft: next, caretAfter } = spliceInsert(draft, text, probeComposerCaret(draft));
|
|
21083
|
+
input.setDraft(next);
|
|
21084
|
+
placeComposerCaretAfterInsert(next, caretAfter);
|
|
21312
21085
|
return true;
|
|
21313
21086
|
} catch (error) {
|
|
21314
21087
|
console.warn("[dsh-better-sidebar] draft insert failed:", error);
|
|
@@ -21316,15 +21089,6 @@ window.__ModuleLoader__.load({
|
|
|
21316
21089
|
}
|
|
21317
21090
|
}
|
|
21318
21091
|
/**
|
|
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
21092
|
* The DSH `@` spelling for one relative path, mirroring the host grammar
|
|
21329
21093
|
* (`formatFileMention` in `@deepseek-ai/dsh-file-reference`): plain when
|
|
21330
21094
|
* there is no whitespace, quoted when there is, and `undefined` when the
|
|
@@ -21376,32 +21140,60 @@ window.__ModuleLoader__.load({
|
|
|
21376
21140
|
console.warn("[dsh-better-sidebar] reference insert skipped: workspace root unavailable or path outside workspace");
|
|
21377
21141
|
return false;
|
|
21378
21142
|
}
|
|
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) {
|
|
21143
|
+
const mention = isDir ? directoryMention(relative) : mentionFor(relative, "file")?.mention;
|
|
21144
|
+
if (mention === void 0) {
|
|
21389
21145
|
console.warn("[dsh-better-sidebar] reference insert skipped: path cannot be represented as a mention");
|
|
21390
21146
|
return false;
|
|
21391
21147
|
}
|
|
21392
|
-
|
|
21393
|
-
|
|
21394
|
-
text: file.mention,
|
|
21395
|
-
clipboardText: file.mention,
|
|
21396
|
-
appearance: "file"
|
|
21397
|
-
});
|
|
21148
|
+
if (!isDir && insertFileReference(ctx, sessionId, relative)) return true;
|
|
21149
|
+
return appendToDraft(ctx, sessionId, isDir ? `${mention} ` : mention);
|
|
21398
21150
|
} catch (error) {
|
|
21399
21151
|
console.warn("[dsh-better-sidebar] workspace-reference insert failed:", error);
|
|
21400
21152
|
return false;
|
|
21401
21153
|
}
|
|
21402
21154
|
}
|
|
21155
|
+
/**
|
|
21156
|
+
* Insert one FILE reference as a structured chip (like DSH's own `@` picker).
|
|
21157
|
+
* The chip displays `@<basename>` but serializes to `@<relative path>` on
|
|
21158
|
+
* send, so the reference stays a single link from trigger to basename.
|
|
21159
|
+
*
|
|
21160
|
+
* Directories keep the sidebar's plain-text completion behavior (`@dir/`)
|
|
21161
|
+
* through `insertWorkspaceReference`. The rc.1 picker also supports folder
|
|
21162
|
+
* chips on explicit selection; its drill action still inserts plain text.
|
|
21163
|
+
*/
|
|
21164
|
+
function insertFileReference(ctx, sessionId, relativePath) {
|
|
21165
|
+
const reference = mentionFor(relativePath, "file");
|
|
21166
|
+
if (reference === void 0) return false;
|
|
21167
|
+
try {
|
|
21168
|
+
const actx = ctx.sessions.scope(sessionId);
|
|
21169
|
+
if (actx === void 0) return false;
|
|
21170
|
+
const conversation = ctx.get("conversation");
|
|
21171
|
+
if (conversation === void 0) return false;
|
|
21172
|
+
const input = conversation.input.for(actx);
|
|
21173
|
+
const before = input.state.getSnapshot();
|
|
21174
|
+
if (before.draftRev === void 0) return false;
|
|
21175
|
+
actx.emit("slash/input-insert-reference", {
|
|
21176
|
+
reference: {
|
|
21177
|
+
source: "reference",
|
|
21178
|
+
ref: reference.mention,
|
|
21179
|
+
label: reference.label,
|
|
21180
|
+
appearance: "file",
|
|
21181
|
+
clipboardText: reference.mention
|
|
21182
|
+
},
|
|
21183
|
+
span: {
|
|
21184
|
+
draftRev: before.draftRev,
|
|
21185
|
+
start: before.draft.length,
|
|
21186
|
+
end: before.draft.length
|
|
21187
|
+
}
|
|
21188
|
+
});
|
|
21189
|
+
return input.state.getSnapshot().draftRev !== before.draftRev;
|
|
21190
|
+
} catch (error) {
|
|
21191
|
+
console.warn("[dsh-better-sidebar] file-reference insert failed:", error);
|
|
21192
|
+
return false;
|
|
21193
|
+
}
|
|
21194
|
+
}
|
|
21403
21195
|
//#endregion
|
|
21404
|
-
//#region
|
|
21196
|
+
//#region node_modules/dsh-better-sidebar/src/client/reference-in-chat.ts
|
|
21405
21197
|
/**
|
|
21406
21198
|
* Reference one path in the session's conversation draft.
|
|
21407
21199
|
* @param ctx - the client context.
|
|
@@ -21424,14 +21216,14 @@ window.__ModuleLoader__.load({
|
|
|
21424
21216
|
document.head.appendChild(tag);
|
|
21425
21217
|
}
|
|
21426
21218
|
var KnowledgeReferencePicker_module_css_default = {
|
|
21427
|
-
"content": "uUHBaG_content",
|
|
21428
21219
|
"list": "uUHBaG_list",
|
|
21429
|
-
"body": "uUHBaG_body",
|
|
21430
21220
|
"rowName": "uUHBaG_rowName",
|
|
21431
|
-
"footer": "uUHBaG_footer",
|
|
21432
21221
|
"error": "uUHBaG_error",
|
|
21433
|
-
"
|
|
21434
|
-
"
|
|
21222
|
+
"body": "uUHBaG_body",
|
|
21223
|
+
"footer": "uUHBaG_footer",
|
|
21224
|
+
"content": "uUHBaG_content",
|
|
21225
|
+
"empty": "uUHBaG_empty",
|
|
21226
|
+
"rowWhen": "uUHBaG_rowWhen"
|
|
21435
21227
|
};
|
|
21436
21228
|
//#endregion
|
|
21437
21229
|
//#region src/client/insertReadiness.ts
|
|
@@ -21993,10 +21785,10 @@ window.__ModuleLoader__.load({
|
|
|
21993
21785
|
document.head.appendChild(tag);
|
|
21994
21786
|
}
|
|
21995
21787
|
var KnowledgeSelectionBar_module_css_default = {
|
|
21996
|
-
"actions": "y8212a_actions",
|
|
21997
21788
|
"action": "y8212a_action",
|
|
21789
|
+
"bar": "y8212a_bar",
|
|
21998
21790
|
"text": "y8212a_text",
|
|
21999
|
-
"
|
|
21791
|
+
"actions": "y8212a_actions"
|
|
22000
21792
|
};
|
|
22001
21793
|
//#endregion
|
|
22002
21794
|
//#region src/client/KnowledgeSelectionBar.tsx
|
|
@@ -24654,58 +24446,58 @@ window.__ModuleLoader__.load({
|
|
|
24654
24446
|
document.head.appendChild(tag);
|
|
24655
24447
|
}
|
|
24656
24448
|
var WorkflowPlaza_module_css_default = {
|
|
24449
|
+
"mineFooter": "lYC_0W_mineFooter",
|
|
24450
|
+
"cardIcon": "lYC_0W_cardIcon",
|
|
24451
|
+
"mineTime": "lYC_0W_mineTime",
|
|
24452
|
+
"reviewMeta": "lYC_0W_reviewMeta",
|
|
24453
|
+
"detailInstruction": "lYC_0W_detailInstruction",
|
|
24454
|
+
"review": "lYC_0W_review",
|
|
24455
|
+
"cardTitle": "lYC_0W_cardTitle",
|
|
24657
24456
|
"reviewCard": "lYC_0W_reviewCard",
|
|
24658
|
-
"
|
|
24659
|
-
"
|
|
24457
|
+
"tabCount": "lYC_0W_tabCount",
|
|
24458
|
+
"frequencyOn": "lYC_0W_frequencyOn",
|
|
24459
|
+
"tabs": "lYC_0W_tabs",
|
|
24460
|
+
"cardCron": "lYC_0W_cardCron",
|
|
24461
|
+
"reviewNote": "lYC_0W_reviewNote",
|
|
24462
|
+
"frequency": "lYC_0W_frequency",
|
|
24660
24463
|
"failure": "lYC_0W_failure",
|
|
24661
|
-
"tabActive": "lYC_0W_tabActive",
|
|
24662
|
-
"reviewList": "lYC_0W_reviewList",
|
|
24663
|
-
"mineStatus": "lYC_0W_mineStatus",
|
|
24664
|
-
"mineTime": "lYC_0W_mineTime",
|
|
24665
24464
|
"dialogIntro": "lYC_0W_dialogIntro",
|
|
24465
|
+
"body": "lYC_0W_body",
|
|
24466
|
+
"mineTags": "lYC_0W_mineTags",
|
|
24666
24467
|
"pageTitle": "lYC_0W_pageTitle",
|
|
24667
|
-
"
|
|
24468
|
+
"tab": "lYC_0W_tab",
|
|
24469
|
+
"fieldLabel": "lYC_0W_fieldLabel",
|
|
24470
|
+
"detailDialogBody": "lYC_0W_detailDialogBody",
|
|
24471
|
+
"reviewHead": "lYC_0W_reviewHead",
|
|
24668
24472
|
"cards": "lYC_0W_cards",
|
|
24669
|
-
"cardDesc": "lYC_0W_cardDesc",
|
|
24670
|
-
"frequency": "lYC_0W_frequency",
|
|
24671
|
-
"tabs": "lYC_0W_tabs",
|
|
24672
24473
|
"field": "lYC_0W_field",
|
|
24673
24474
|
"reviewDescription": "lYC_0W_reviewDescription",
|
|
24674
|
-
"
|
|
24675
|
-
"
|
|
24676
|
-
"
|
|
24677
|
-
"page": "lYC_0W_page",
|
|
24678
|
-
"fieldLabel": "lYC_0W_fieldLabel",
|
|
24679
|
-
"reviewActions": "lYC_0W_reviewActions",
|
|
24680
|
-
"actions": "lYC_0W_actions",
|
|
24475
|
+
"mineScope": "lYC_0W_mineScope",
|
|
24476
|
+
"dialogFoot": "lYC_0W_dialogFoot",
|
|
24477
|
+
"mark": "lYC_0W_mark",
|
|
24681
24478
|
"cronValid": "lYC_0W_cronValid",
|
|
24682
|
-
"
|
|
24683
|
-
"
|
|
24684
|
-
"
|
|
24685
|
-
"cronInput": "lYC_0W_cronInput",
|
|
24686
|
-
"reviewHead": "lYC_0W_reviewHead",
|
|
24479
|
+
"reviewList": "lYC_0W_reviewList",
|
|
24480
|
+
"tabActive": "lYC_0W_tabActive",
|
|
24481
|
+
"reviewEmpty": "lYC_0W_reviewEmpty",
|
|
24687
24482
|
"reviewTitle": "lYC_0W_reviewTitle",
|
|
24688
|
-
"
|
|
24483
|
+
"cronInvalid": "lYC_0W_cronInvalid",
|
|
24484
|
+
"failureRow": "lYC_0W_failureRow",
|
|
24485
|
+
"detailDescription": "lYC_0W_detailDescription",
|
|
24486
|
+
"page": "lYC_0W_page",
|
|
24487
|
+
"detailFacts": "lYC_0W_detailFacts",
|
|
24488
|
+
"cronInput": "lYC_0W_cronInput",
|
|
24689
24489
|
"reviewPrompt": "lYC_0W_reviewPrompt",
|
|
24490
|
+
"frequencies": "lYC_0W_frequencies",
|
|
24491
|
+
"reviewActions": "lYC_0W_reviewActions",
|
|
24492
|
+
"mineStatus": "lYC_0W_mineStatus",
|
|
24493
|
+
"actions": "lYC_0W_actions",
|
|
24690
24494
|
"card": "lYC_0W_card",
|
|
24691
|
-
"
|
|
24692
|
-
"mineTags": "lYC_0W_mineTags",
|
|
24693
|
-
"mineFooter": "lYC_0W_mineFooter",
|
|
24694
|
-
"detailFacts": "lYC_0W_detailFacts",
|
|
24695
|
-
"reviewNote": "lYC_0W_reviewNote",
|
|
24696
|
-
"dialogFoot": "lYC_0W_dialogFoot",
|
|
24697
|
-
"mineScope": "lYC_0W_mineScope",
|
|
24698
|
-
"reviewEmpty": "lYC_0W_reviewEmpty",
|
|
24699
|
-
"frequencyOn": "lYC_0W_frequencyOn",
|
|
24700
|
-
"cardIcon": "lYC_0W_cardIcon",
|
|
24701
|
-
"review": "lYC_0W_review",
|
|
24702
|
-
"detailDescription": "lYC_0W_detailDescription",
|
|
24703
|
-
"tab": "lYC_0W_tab",
|
|
24495
|
+
"cardFoot": "lYC_0W_cardFoot",
|
|
24704
24496
|
"headerRow": "lYC_0W_headerRow",
|
|
24705
|
-
"
|
|
24706
|
-
"
|
|
24707
|
-
"
|
|
24708
|
-
"
|
|
24497
|
+
"dialogBody": "lYC_0W_dialogBody",
|
|
24498
|
+
"state": "lYC_0W_state",
|
|
24499
|
+
"cardTop": "lYC_0W_cardTop",
|
|
24500
|
+
"cardDesc": "lYC_0W_cardDesc"
|
|
24709
24501
|
};
|
|
24710
24502
|
//#endregion
|
|
24711
24503
|
//#region src/client/workflows/WorkflowPlaza.tsx
|