@sparkelf/dsh-knowledge-base 0.6.14 → 0.6.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.js +1024 -686
- package/lib/client.js.map +1 -1
- package/lib/index.js +123 -8
- package/lib/types/client/KnowledgeMemory.d.ts +27 -0
- package/lib/types/client/locales.d.ts +11 -0
- package/lib/types/client/memoryQuickConfig.d.ts +70 -0
- package/lib/types/client/sessionLauncher.d.ts +47 -0
- package/lib/types/guardianSubagentLimit.d.ts +25 -0
- package/lib/types/memorySettings.d.ts +37 -0
- package/package.json +1 -1
- package/skills/memory/SKILL.md +5 -5
- package/skills/memory/references/guardian.md +6 -2
- package/skills/memory/references/remote-backup.md +48 -0
package/lib/client.js
CHANGED
|
@@ -350,31 +350,31 @@ window.__ModuleLoader__.load({
|
|
|
350
350
|
}
|
|
351
351
|
var KnowledgeSettingsSection_module_css_default = {
|
|
352
352
|
"section": "c269jW_section",
|
|
353
|
-
"
|
|
354
|
-
"
|
|
355
|
-
"modeRow": "c269jW_modeRow",
|
|
353
|
+
"statusRow": "c269jW_statusRow",
|
|
354
|
+
"pairs": "c269jW_pairs",
|
|
356
355
|
"statusLabel": "c269jW_statusLabel",
|
|
357
|
-
"step": "c269jW_step",
|
|
358
|
-
"title": "c269jW_title",
|
|
359
|
-
"field": "c269jW_field",
|
|
360
|
-
"log": "c269jW_log",
|
|
361
356
|
"saveRow": "c269jW_saveRow",
|
|
357
|
+
"notice": "c269jW_notice",
|
|
358
|
+
"log": "c269jW_log",
|
|
359
|
+
"badgeWarn": "c269jW_badgeWarn",
|
|
362
360
|
"groupTitle": "c269jW_groupTitle",
|
|
363
|
-
"
|
|
364
|
-
"stepLabel": "c269jW_stepLabel",
|
|
365
|
-
"input": "c269jW_input",
|
|
361
|
+
"error": "c269jW_error",
|
|
366
362
|
"body": "c269jW_body",
|
|
367
|
-
"
|
|
363
|
+
"wizard": "c269jW_wizard",
|
|
368
364
|
"fieldLabel": "c269jW_fieldLabel",
|
|
369
|
-
"
|
|
370
|
-
"
|
|
371
|
-
"
|
|
365
|
+
"step": "c269jW_step",
|
|
366
|
+
"modeOption": "c269jW_modeOption",
|
|
367
|
+
"field": "c269jW_field",
|
|
372
368
|
"badgeOk": "c269jW_badgeOk",
|
|
373
|
-
"
|
|
374
|
-
"
|
|
375
|
-
"badgeWarn": "c269jW_badgeWarn",
|
|
369
|
+
"pair": "c269jW_pair",
|
|
370
|
+
"stepLabel": "c269jW_stepLabel",
|
|
376
371
|
"detail": "c269jW_detail",
|
|
377
|
-
"
|
|
372
|
+
"select": "c269jW_select",
|
|
373
|
+
"logBox": "c269jW_logBox",
|
|
374
|
+
"input": "c269jW_input",
|
|
375
|
+
"steps": "c269jW_steps",
|
|
376
|
+
"title": "c269jW_title",
|
|
377
|
+
"modeRow": "c269jW_modeRow"
|
|
378
378
|
};
|
|
379
379
|
//#endregion
|
|
380
380
|
//#region src/client/VectorSettingsGroup.tsx
|
|
@@ -1546,15 +1546,15 @@ window.__ModuleLoader__.load({
|
|
|
1546
1546
|
document.head.appendChild(tag);
|
|
1547
1547
|
}
|
|
1548
1548
|
var KnowledgeLoading_module_css_default = {
|
|
1549
|
-
"leaf": "HyIQta_leaf",
|
|
1550
|
-
"wrap": "HyIQta_wrap",
|
|
1551
1549
|
"pagesLeft": "HyIQta_pagesLeft",
|
|
1552
|
-
"
|
|
1550
|
+
"srOnly": "HyIQta_srOnly",
|
|
1553
1551
|
"pagesRight": "HyIQta_pagesRight",
|
|
1554
1552
|
"book": "HyIQta_book",
|
|
1555
1553
|
"coverBack": "HyIQta_coverBack",
|
|
1554
|
+
"leaf": "HyIQta_leaf",
|
|
1555
|
+
"kb-page-turn": "HyIQta_kb-page-turn",
|
|
1556
1556
|
"label": "HyIQta_label",
|
|
1557
|
-
"
|
|
1557
|
+
"wrap": "HyIQta_wrap"
|
|
1558
1558
|
};
|
|
1559
1559
|
//#endregion
|
|
1560
1560
|
//#region src/client/KnowledgeLoading.tsx
|
|
@@ -2142,46 +2142,46 @@ window.__ModuleLoader__.load({
|
|
|
2142
2142
|
document.head.appendChild(tag);
|
|
2143
2143
|
}
|
|
2144
2144
|
var KnowledgeHome_module_css_default = {
|
|
2145
|
+
"shareError": "oNvFBa_shareError",
|
|
2145
2146
|
"muted": "oNvFBa_muted",
|
|
2146
|
-
"colActions": "oNvFBa_colActions",
|
|
2147
|
-
"cardSlot": "oNvFBa_cardSlot",
|
|
2148
|
-
"cardBody": "oNvFBa_cardBody",
|
|
2149
|
-
"shareBlock": "oNvFBa_shareBlock",
|
|
2150
|
-
"card": "oNvFBa_card",
|
|
2151
|
-
"hiddenInput": "oNvFBa_hiddenInput",
|
|
2152
|
-
"statusDetail": "oNvFBa_statusDetail",
|
|
2153
|
-
"rowActions": "oNvFBa_rowActions",
|
|
2154
|
-
"iconButton": "oNvFBa_iconButton",
|
|
2155
2147
|
"cardMenu": "oNvFBa_cardMenu",
|
|
2156
|
-
"
|
|
2157
|
-
"
|
|
2158
|
-
"
|
|
2148
|
+
"iconButtonDanger": "oNvFBa_iconButtonDanger",
|
|
2149
|
+
"colTitle": "oNvFBa_colTitle",
|
|
2150
|
+
"table": "oNvFBa_table",
|
|
2151
|
+
"docRow": "oNvFBa_docRow",
|
|
2152
|
+
"cardText": "oNvFBa_cardText",
|
|
2159
2153
|
"emptyRow": "oNvFBa_emptyRow",
|
|
2160
|
-
"
|
|
2154
|
+
"dropZone": "oNvFBa_dropZone",
|
|
2155
|
+
"statusButton": "oNvFBa_statusButton",
|
|
2156
|
+
"shareWrap": "oNvFBa_shareWrap",
|
|
2157
|
+
"titleCell": "oNvFBa_titleCell",
|
|
2158
|
+
"shareEmpty": "oNvFBa_shareEmpty",
|
|
2159
|
+
"iconButtonOn": "oNvFBa_iconButtonOn",
|
|
2160
|
+
"favoriteMark": "oNvFBa_favoriteMark",
|
|
2161
2161
|
"actionsCell": "oNvFBa_actionsCell",
|
|
2162
|
-
"
|
|
2162
|
+
"rowActions": "oNvFBa_rowActions",
|
|
2163
|
+
"cardChevron": "oNvFBa_cardChevron",
|
|
2163
2164
|
"colLocation": "oNvFBa_colLocation",
|
|
2164
|
-
"
|
|
2165
|
+
"colOwner": "oNvFBa_colOwner",
|
|
2166
|
+
"colStatus": "oNvFBa_colStatus",
|
|
2167
|
+
"sharePager": "oNvFBa_sharePager",
|
|
2168
|
+
"iconButton": "oNvFBa_iconButton",
|
|
2169
|
+
"docPager": "oNvFBa_docPager",
|
|
2170
|
+
"cardPlate": "oNvFBa_cardPlate",
|
|
2165
2171
|
"home": "oNvFBa_home",
|
|
2166
|
-
"
|
|
2172
|
+
"cards": "oNvFBa_cards",
|
|
2173
|
+
"cardSlot": "oNvFBa_cardSlot",
|
|
2174
|
+
"card": "oNvFBa_card",
|
|
2175
|
+
"cardBody": "oNvFBa_cardBody",
|
|
2176
|
+
"colActions": "oNvFBa_colActions",
|
|
2167
2177
|
"cardMenuItem": "oNvFBa_cardMenuItem",
|
|
2178
|
+
"shareBlock": "oNvFBa_shareBlock",
|
|
2168
2179
|
"rowLink": "oNvFBa_rowLink",
|
|
2169
|
-
"
|
|
2170
|
-
"colTitle": "oNvFBa_colTitle",
|
|
2171
|
-
"table": "oNvFBa_table",
|
|
2180
|
+
"hiddenInput": "oNvFBa_hiddenInput",
|
|
2172
2181
|
"dropZoneActive": "oNvFBa_dropZoneActive",
|
|
2173
|
-
"cardChevron": "oNvFBa_cardChevron",
|
|
2174
2182
|
"colTime": "oNvFBa_colTime",
|
|
2175
|
-
"
|
|
2176
|
-
"
|
|
2177
|
-
"iconButtonOn": "oNvFBa_iconButtonOn",
|
|
2178
|
-
"iconButtonDanger": "oNvFBa_iconButtonDanger",
|
|
2179
|
-
"shareError": "oNvFBa_shareError",
|
|
2180
|
-
"shareEmpty": "oNvFBa_shareEmpty",
|
|
2181
|
-
"favoriteMark": "oNvFBa_favoriteMark",
|
|
2182
|
-
"docPager": "oNvFBa_docPager",
|
|
2183
|
-
"docRow": "oNvFBa_docRow",
|
|
2184
|
-
"colStatus": "oNvFBa_colStatus"
|
|
2183
|
+
"statusDetail": "oNvFBa_statusDetail",
|
|
2184
|
+
"cardTitle": "oNvFBa_cardTitle"
|
|
2185
2185
|
};
|
|
2186
2186
|
//#endregion
|
|
2187
2187
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/KnowledgePanel.module.css.mjs
|
|
@@ -2195,79 +2195,79 @@ window.__ModuleLoader__.load({
|
|
|
2195
2195
|
document.head.appendChild(tag);
|
|
2196
2196
|
}
|
|
2197
2197
|
var KnowledgePanel_module_css_default = {
|
|
2198
|
-
"
|
|
2199
|
-
"
|
|
2200
|
-
"
|
|
2201
|
-
"
|
|
2202
|
-
"
|
|
2203
|
-
"
|
|
2204
|
-
"openFailure": "uNOdFq_openFailure",
|
|
2205
|
-
"railBody": "uNOdFq_railBody",
|
|
2206
|
-
"path": "uNOdFq_path",
|
|
2207
|
-
"menuRow": "uNOdFq_menuRow",
|
|
2208
|
-
"preview": "uNOdFq_preview",
|
|
2209
|
-
"hitLine": "uNOdFq_hitLine",
|
|
2210
|
-
"bodyDocument": "uNOdFq_bodyDocument",
|
|
2211
|
-
"referenceNoteDismiss": "uNOdFq_referenceNoteDismiss",
|
|
2198
|
+
"content": "uNOdFq_content",
|
|
2199
|
+
"page": "uNOdFq_page",
|
|
2200
|
+
"surface": "uNOdFq_surface",
|
|
2201
|
+
"retry": "uNOdFq_retry",
|
|
2202
|
+
"menu": "uNOdFq_menu",
|
|
2203
|
+
"treeBand": "uNOdFq_treeBand",
|
|
2212
2204
|
"errorDetail": "uNOdFq_errorDetail",
|
|
2213
|
-
"
|
|
2214
|
-
"
|
|
2215
|
-
"railBrand": "uNOdFq_railBrand",
|
|
2205
|
+
"hitLine": "uNOdFq_hitLine",
|
|
2206
|
+
"headerFact": "uNOdFq_headerFact",
|
|
2216
2207
|
"previewColumn": "uNOdFq_previewColumn",
|
|
2208
|
+
"railBrand": "uNOdFq_railBrand",
|
|
2209
|
+
"openFailure": "uNOdFq_openFailure",
|
|
2210
|
+
"bodyDocument": "uNOdFq_bodyDocument",
|
|
2211
|
+
"openedElsewhere": "uNOdFq_openedElsewhere",
|
|
2212
|
+
"muted": "uNOdFq_muted",
|
|
2213
|
+
"menuFolded": "uNOdFq_menuFolded",
|
|
2214
|
+
"pair": "uNOdFq_pair",
|
|
2215
|
+
"field": "uNOdFq_field",
|
|
2217
2216
|
"railTop": "uNOdFq_railTop",
|
|
2218
|
-
"railBrandName": "uNOdFq_railBrandName",
|
|
2219
|
-
"empty": "uNOdFq_empty",
|
|
2220
|
-
"previewLayout": "uNOdFq_previewLayout",
|
|
2221
|
-
"headerFact": "uNOdFq_headerFact",
|
|
2222
|
-
"headerPath": "uNOdFq_headerPath",
|
|
2223
|
-
"factDot": "uNOdFq_factDot",
|
|
2224
|
-
"form": "uNOdFq_form",
|
|
2225
|
-
"errorPanel": "uNOdFq_errorPanel",
|
|
2226
|
-
"sectionHeader": "uNOdFq_sectionHeader",
|
|
2227
2217
|
"railTopSpacer": "uNOdFq_railTopSpacer",
|
|
2228
|
-
"
|
|
2229
|
-
"
|
|
2230
|
-
"
|
|
2218
|
+
"hitPath": "uNOdFq_hitPath",
|
|
2219
|
+
"preview": "uNOdFq_preview",
|
|
2220
|
+
"hitLineNo": "uNOdFq_hitLineNo",
|
|
2221
|
+
"pairs": "uNOdFq_pairs",
|
|
2222
|
+
"hitTime": "uNOdFq_hitTime",
|
|
2223
|
+
"headerTitle": "uNOdFq_headerTitle",
|
|
2231
2224
|
"headerHint": "uNOdFq_headerHint",
|
|
2232
|
-
"
|
|
2233
|
-
"
|
|
2234
|
-
"
|
|
2235
|
-
"field": "uNOdFq_field",
|
|
2236
|
-
"headerActions": "uNOdFq_headerActions",
|
|
2225
|
+
"pinnedBand": "uNOdFq_pinnedBand",
|
|
2226
|
+
"hits": "uNOdFq_hits",
|
|
2227
|
+
"hitActive": "uNOdFq_hitActive",
|
|
2237
2228
|
"emptyTitle": "uNOdFq_emptyTitle",
|
|
2238
|
-
"
|
|
2229
|
+
"form": "uNOdFq_form",
|
|
2230
|
+
"referenceNote": "uNOdFq_referenceNote",
|
|
2231
|
+
"railBrandName": "uNOdFq_railBrandName",
|
|
2232
|
+
"referenceNoteDismiss": "uNOdFq_referenceNoteDismiss",
|
|
2233
|
+
"emptyGlyph": "uNOdFq_emptyGlyph",
|
|
2234
|
+
"title": "uNOdFq_title",
|
|
2235
|
+
"menuGroupLabel": "uNOdFq_menuGroupLabel",
|
|
2236
|
+
"bodyCollapsed": "uNOdFq_bodyCollapsed",
|
|
2237
|
+
"sectionActions": "uNOdFq_sectionActions",
|
|
2239
2238
|
"treeFilter": "uNOdFq_treeFilter",
|
|
2240
|
-
"
|
|
2241
|
-
"sectionName": "uNOdFq_sectionName",
|
|
2242
|
-
"muted": "uNOdFq_muted",
|
|
2243
|
-
"hits": "uNOdFq_hits",
|
|
2239
|
+
"menuRow": "uNOdFq_menuRow",
|
|
2244
2240
|
"rail": "uNOdFq_rail",
|
|
2245
|
-
"
|
|
2246
|
-
"
|
|
2247
|
-
"
|
|
2248
|
-
"
|
|
2249
|
-
"
|
|
2250
|
-
"
|
|
2251
|
-
"
|
|
2252
|
-
"pairs": "uNOdFq_pairs",
|
|
2253
|
-
"openedElsewhere": "uNOdFq_openedElsewhere",
|
|
2254
|
-
"errorGlyph": "uNOdFq_errorGlyph",
|
|
2255
|
-
"notice": "uNOdFq_notice",
|
|
2241
|
+
"iconButton": "uNOdFq_iconButton",
|
|
2242
|
+
"menuRowActive": "uNOdFq_menuRowActive",
|
|
2243
|
+
"table": "uNOdFq_table",
|
|
2244
|
+
"sectionHeader": "uNOdFq_sectionHeader",
|
|
2245
|
+
"headerActions": "uNOdFq_headerActions",
|
|
2246
|
+
"subhead": "uNOdFq_subhead",
|
|
2247
|
+
"empty": "uNOdFq_empty",
|
|
2256
2248
|
"errorTitle": "uNOdFq_errorTitle",
|
|
2257
|
-
"
|
|
2249
|
+
"previewLayout": "uNOdFq_previewLayout",
|
|
2250
|
+
"notice": "uNOdFq_notice",
|
|
2251
|
+
"input": "uNOdFq_input",
|
|
2258
2252
|
"searchBox": "uNOdFq_searchBox",
|
|
2259
|
-
"
|
|
2260
|
-
"
|
|
2261
|
-
"
|
|
2262
|
-
"
|
|
2263
|
-
"
|
|
2264
|
-
"
|
|
2265
|
-
"
|
|
2266
|
-
"
|
|
2267
|
-
"
|
|
2268
|
-
"
|
|
2253
|
+
"tableSurface": "uNOdFq_tableSurface",
|
|
2254
|
+
"sectionName": "uNOdFq_sectionName",
|
|
2255
|
+
"contentColumn": "uNOdFq_contentColumn",
|
|
2256
|
+
"hitName": "uNOdFq_hitName",
|
|
2257
|
+
"path": "uNOdFq_path",
|
|
2258
|
+
"menuLabel": "uNOdFq_menuLabel",
|
|
2259
|
+
"header": "uNOdFq_header",
|
|
2260
|
+
"hit": "uNOdFq_hit",
|
|
2261
|
+
"error": "uNOdFq_error",
|
|
2262
|
+
"menuSeparator": "uNOdFq_menuSeparator",
|
|
2269
2263
|
"body": "uNOdFq_body",
|
|
2270
|
-
"
|
|
2264
|
+
"errorPanel": "uNOdFq_errorPanel",
|
|
2265
|
+
"factDot": "uNOdFq_factDot",
|
|
2266
|
+
"menuGlyph": "uNOdFq_menuGlyph",
|
|
2267
|
+
"treeScroll": "uNOdFq_treeScroll",
|
|
2268
|
+
"railBody": "uNOdFq_railBody",
|
|
2269
|
+
"headerPath": "uNOdFq_headerPath",
|
|
2270
|
+
"errorGlyph": "uNOdFq_errorGlyph"
|
|
2271
2271
|
};
|
|
2272
2272
|
//#endregion
|
|
2273
2273
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/KnowledgeTemplates.module.css.mjs
|
|
@@ -2281,54 +2281,54 @@ window.__ModuleLoader__.load({
|
|
|
2281
2281
|
document.head.appendChild(tag);
|
|
2282
2282
|
}
|
|
2283
2283
|
var KnowledgeTemplates_module_css_default = {
|
|
2284
|
-
"
|
|
2284
|
+
"footer": "Tg9J7q_footer",
|
|
2285
2285
|
"cardIcon": "Tg9J7q_cardIcon",
|
|
2286
|
-
"
|
|
2287
|
-
"
|
|
2288
|
-
"
|
|
2286
|
+
"favorite": "Tg9J7q_favorite",
|
|
2287
|
+
"previewContent": "Tg9J7q_previewContent",
|
|
2288
|
+
"filterRow": "Tg9J7q_filterRow",
|
|
2289
|
+
"documentPage": "Tg9J7q_documentPage",
|
|
2290
|
+
"quickFilters": "Tg9J7q_quickFilters",
|
|
2291
|
+
"fieldHint": "Tg9J7q_fieldHint",
|
|
2292
|
+
"formActions": "Tg9J7q_formActions",
|
|
2293
|
+
"cover": "Tg9J7q_cover",
|
|
2294
|
+
"notice": "Tg9J7q_notice",
|
|
2295
|
+
"form": "Tg9J7q_form",
|
|
2296
|
+
"dialog": "Tg9J7q_dialog",
|
|
2297
|
+
"manageName": "Tg9J7q_manageName",
|
|
2298
|
+
"previewModal": "Tg9J7q_previewModal",
|
|
2299
|
+
"destination": "Tg9J7q_destination",
|
|
2289
2300
|
"categoryFilters": "Tg9J7q_categoryFilters",
|
|
2301
|
+
"cardTags": "Tg9J7q_cardTags",
|
|
2290
2302
|
"manageBar": "Tg9J7q_manageBar",
|
|
2291
|
-
"
|
|
2303
|
+
"toolbar": "Tg9J7q_toolbar",
|
|
2304
|
+
"cardFoot": "Tg9J7q_cardFoot",
|
|
2292
2305
|
"field": "Tg9J7q_field",
|
|
2293
|
-
"
|
|
2294
|
-
"
|
|
2295
|
-
"
|
|
2306
|
+
"quickFilter": "Tg9J7q_quickFilter",
|
|
2307
|
+
"categoryChip": "Tg9J7q_categoryChip",
|
|
2308
|
+
"lineShort": "Tg9J7q_lineShort",
|
|
2296
2309
|
"cardActions": "Tg9J7q_cardActions",
|
|
2310
|
+
"sheetGrid": "Tg9J7q_sheetGrid",
|
|
2311
|
+
"cardMeta": "Tg9J7q_cardMeta",
|
|
2312
|
+
"muted": "Tg9J7q_muted",
|
|
2313
|
+
"cardBody": "Tg9J7q_cardBody",
|
|
2314
|
+
"lineWide": "Tg9J7q_lineWide",
|
|
2315
|
+
"slidePage": "Tg9J7q_slidePage",
|
|
2316
|
+
"cardHead": "Tg9J7q_cardHead",
|
|
2317
|
+
"modal": "Tg9J7q_modal",
|
|
2318
|
+
"manage": "Tg9J7q_manage",
|
|
2319
|
+
"manageList": "Tg9J7q_manageList",
|
|
2320
|
+
"card": "Tg9J7q_card",
|
|
2297
2321
|
"manageRow": "Tg9J7q_manageRow",
|
|
2298
|
-
"filterRow": "Tg9J7q_filterRow",
|
|
2299
2322
|
"fileInput": "Tg9J7q_fileInput",
|
|
2323
|
+
"filterDivider": "Tg9J7q_filterDivider",
|
|
2324
|
+
"coverPage": "Tg9J7q_coverPage",
|
|
2325
|
+
"manageActions": "Tg9J7q_manageActions",
|
|
2300
2326
|
"library": "Tg9J7q_library",
|
|
2301
2327
|
"fieldLabel": "Tg9J7q_fieldLabel",
|
|
2302
|
-
"lineWide": "Tg9J7q_lineWide",
|
|
2303
|
-
"cardMeta": "Tg9J7q_cardMeta",
|
|
2304
|
-
"previewModal": "Tg9J7q_previewModal",
|
|
2305
|
-
"sheetGrid": "Tg9J7q_sheetGrid",
|
|
2306
2328
|
"cardMain": "Tg9J7q_cardMain",
|
|
2329
|
+
"cardTitle": "Tg9J7q_cardTitle",
|
|
2307
2330
|
"destinationLabel": "Tg9J7q_destinationLabel",
|
|
2308
|
-
"
|
|
2309
|
-
"form": "Tg9J7q_form",
|
|
2310
|
-
"muted": "Tg9J7q_muted",
|
|
2311
|
-
"manageName": "Tg9J7q_manageName",
|
|
2312
|
-
"cover": "Tg9J7q_cover",
|
|
2313
|
-
"previewContent": "Tg9J7q_previewContent",
|
|
2314
|
-
"manageList": "Tg9J7q_manageList",
|
|
2315
|
-
"grid": "Tg9J7q_grid",
|
|
2316
|
-
"favorite": "Tg9J7q_favorite",
|
|
2317
|
-
"formActions": "Tg9J7q_formActions",
|
|
2318
|
-
"cardTags": "Tg9J7q_cardTags",
|
|
2319
|
-
"cardHead": "Tg9J7q_cardHead",
|
|
2320
|
-
"footer": "Tg9J7q_footer",
|
|
2321
|
-
"dialog": "Tg9J7q_dialog",
|
|
2322
|
-
"notice": "Tg9J7q_notice",
|
|
2323
|
-
"cardBody": "Tg9J7q_cardBody",
|
|
2324
|
-
"manage": "Tg9J7q_manage",
|
|
2325
|
-
"categoryChip": "Tg9J7q_categoryChip",
|
|
2326
|
-
"documentPage": "Tg9J7q_documentPage",
|
|
2327
|
-
"slidePage": "Tg9J7q_slidePage",
|
|
2328
|
-
"quickFilters": "Tg9J7q_quickFilters",
|
|
2329
|
-
"card": "Tg9J7q_card",
|
|
2330
|
-
"cardFoot": "Tg9J7q_cardFoot",
|
|
2331
|
-
"lineShort": "Tg9J7q_lineShort"
|
|
2331
|
+
"grid": "Tg9J7q_grid"
|
|
2332
2332
|
};
|
|
2333
2333
|
//#endregion
|
|
2334
2334
|
//#region src/client/KnowledgeTemplates.tsx
|
|
@@ -3314,14 +3314,14 @@ window.__ModuleLoader__.load({
|
|
|
3314
3314
|
document.head.appendChild(tag);
|
|
3315
3315
|
}
|
|
3316
3316
|
var KnowledgeNewDocumentDialog_module_css_default = {
|
|
3317
|
-
"
|
|
3317
|
+
"footer": "hXsYha_footer",
|
|
3318
3318
|
"dialog": "hXsYha_dialog",
|
|
3319
|
-
"cardText": "hXsYha_cardText",
|
|
3320
|
-
"cards": "hXsYha_cards",
|
|
3321
3319
|
"iconPlate": "hXsYha_iconPlate",
|
|
3322
|
-
"
|
|
3323
|
-
"
|
|
3324
|
-
"
|
|
3320
|
+
"modal": "hXsYha_modal",
|
|
3321
|
+
"cards": "hXsYha_cards",
|
|
3322
|
+
"cardText": "hXsYha_cardText",
|
|
3323
|
+
"cardTitle": "hXsYha_cardTitle",
|
|
3324
|
+
"card": "hXsYha_card"
|
|
3325
3325
|
};
|
|
3326
3326
|
//#endregion
|
|
3327
3327
|
//#region src/client/KnowledgeNewDocumentDialog.tsx
|
|
@@ -3412,52 +3412,52 @@ window.__ModuleLoader__.load({
|
|
|
3412
3412
|
document.head.appendChild(tag);
|
|
3413
3413
|
}
|
|
3414
3414
|
var KnowledgeCreateDialog_module_css_default = {
|
|
3415
|
+
"pickerList": "HX727W_pickerList",
|
|
3416
|
+
"step": "HX727W_step",
|
|
3417
|
+
"treeName": "HX727W_treeName",
|
|
3418
|
+
"fieldHint": "HX727W_fieldHint",
|
|
3419
|
+
"dropzoneTitle": "HX727W_dropzoneTitle",
|
|
3420
|
+
"crumbWrap": "HX727W_crumbWrap",
|
|
3421
|
+
"fieldLabel": "HX727W_fieldLabel",
|
|
3422
|
+
"uploadRow": "HX727W_uploadRow",
|
|
3423
|
+
"treeChildren": "HX727W_treeChildren",
|
|
3424
|
+
"pickerPathValue": "HX727W_pickerPathValue",
|
|
3425
|
+
"crumb": "HX727W_crumb",
|
|
3426
|
+
"pickerMuted": "HX727W_pickerMuted",
|
|
3427
|
+
"fileInput": "HX727W_fileInput",
|
|
3415
3428
|
"removeFile": "HX727W_removeFile",
|
|
3416
|
-
"
|
|
3417
|
-
"
|
|
3429
|
+
"dropzoneHint": "HX727W_dropzoneHint",
|
|
3430
|
+
"field": "HX727W_field",
|
|
3418
3431
|
"fileTarget": "HX727W_fileTarget",
|
|
3419
|
-
"dialog": "HX727W_dialog",
|
|
3420
|
-
"fieldError": "HX727W_fieldError",
|
|
3421
|
-
"pickerRow": "HX727W_pickerRow",
|
|
3422
|
-
"footer": "HX727W_footer",
|
|
3423
|
-
"crumb": "HX727W_crumb",
|
|
3424
|
-
"crumbWrap": "HX727W_crumbWrap",
|
|
3425
3432
|
"dropzone": "HX727W_dropzone",
|
|
3426
|
-
"
|
|
3427
|
-
"pickerPathValue": "HX727W_pickerPathValue",
|
|
3433
|
+
"treeRow": "HX727W_treeRow",
|
|
3428
3434
|
"pickerBar": "HX727W_pickerBar",
|
|
3429
|
-
"
|
|
3430
|
-
"
|
|
3435
|
+
"fileList": "HX727W_fileList",
|
|
3436
|
+
"treeMuted": "HX727W_treeMuted",
|
|
3437
|
+
"fieldError": "HX727W_fieldError",
|
|
3438
|
+
"uploadLayout": "HX727W_uploadLayout",
|
|
3431
3439
|
"tree": "HX727W_tree",
|
|
3432
3440
|
"crumbSep": "HX727W_crumbSep",
|
|
3433
|
-
"fileRow": "HX727W_fileRow",
|
|
3434
|
-
"treeChildren": "HX727W_treeChildren",
|
|
3435
|
-
"pickerPathLabel": "HX727W_pickerPathLabel",
|
|
3436
3441
|
"fileName": "HX727W_fileName",
|
|
3437
|
-
"fileList": "HX727W_fileList",
|
|
3438
|
-
"uploadList": "HX727W_uploadList",
|
|
3439
|
-
"treeToggle": "HX727W_treeToggle",
|
|
3440
3442
|
"pickerPath": "HX727W_pickerPath",
|
|
3441
|
-
"
|
|
3442
|
-
"
|
|
3443
|
-
"pickerList": "HX727W_pickerList",
|
|
3444
|
-
"field": "HX727W_field",
|
|
3445
|
-
"pickerMuted": "HX727W_pickerMuted",
|
|
3446
|
-
"dropzoneHint": "HX727W_dropzoneHint",
|
|
3447
|
-
"fieldLabel": "HX727W_fieldLabel",
|
|
3448
|
-
"uploadSize": "HX727W_uploadSize",
|
|
3449
|
-
"treeRow": "HX727W_treeRow",
|
|
3450
|
-
"treeMuted": "HX727W_treeMuted",
|
|
3443
|
+
"pickerPathLabel": "HX727W_pickerPathLabel",
|
|
3444
|
+
"uploadSummary": "HX727W_uploadSummary",
|
|
3451
3445
|
"uploadQueue": "HX727W_uploadQueue",
|
|
3452
|
-
"
|
|
3453
|
-
"
|
|
3454
|
-
"fileInput": "HX727W_fileInput",
|
|
3455
|
-
"dropzoneTitle": "HX727W_dropzoneTitle",
|
|
3456
|
-
"step": "HX727W_step",
|
|
3457
|
-
"modal": "HX727W_modal",
|
|
3446
|
+
"picker": "HX727W_picker",
|
|
3447
|
+
"visuallyHiddenInput": "HX727W_visuallyHiddenInput",
|
|
3458
3448
|
"summary": "HX727W_summary",
|
|
3449
|
+
"pickerRow": "HX727W_pickerRow",
|
|
3459
3450
|
"uploadName": "HX727W_uploadName",
|
|
3460
|
-
"
|
|
3451
|
+
"fileRow": "HX727W_fileRow",
|
|
3452
|
+
"steps": "HX727W_steps",
|
|
3453
|
+
"uploadSize": "HX727W_uploadSize",
|
|
3454
|
+
"treeToggle": "HX727W_treeToggle",
|
|
3455
|
+
"dialog": "HX727W_dialog",
|
|
3456
|
+
"stepLine": "HX727W_stepLine",
|
|
3457
|
+
"modal": "HX727W_modal",
|
|
3458
|
+
"footer": "HX727W_footer",
|
|
3459
|
+
"treeNotice": "HX727W_treeNotice",
|
|
3460
|
+
"uploadList": "HX727W_uploadList"
|
|
3461
3461
|
};
|
|
3462
3462
|
//#endregion
|
|
3463
3463
|
//#region node_modules/clsx/dist/clsx.mjs
|
|
@@ -6015,28 +6015,28 @@ window.__ModuleLoader__.load({
|
|
|
6015
6015
|
document.head.appendChild(tag);
|
|
6016
6016
|
}
|
|
6017
6017
|
var kit_module_css_default = {
|
|
6018
|
-
"
|
|
6019
|
-
"
|
|
6020
|
-
"iconButtonSm": "_0XA4nW_iconButtonSm",
|
|
6018
|
+
"noticeHint": "_0XA4nW_noticeHint",
|
|
6019
|
+
"chipCount": "_0XA4nW_chipCount",
|
|
6021
6020
|
"noticeWarn": "_0XA4nW_noticeWarn",
|
|
6022
|
-
"
|
|
6023
|
-
"
|
|
6021
|
+
"noticeInline": "_0XA4nW_noticeInline",
|
|
6022
|
+
"notice": "_0XA4nW_notice",
|
|
6024
6023
|
"iconButtonDanger": "_0XA4nW_iconButtonDanger",
|
|
6024
|
+
"sectionHeader": "_0XA4nW_sectionHeader",
|
|
6025
|
+
"noticeError": "_0XA4nW_noticeError",
|
|
6025
6026
|
"sectionAction": "_0XA4nW_sectionAction",
|
|
6026
|
-
"chipCount": "_0XA4nW_chipCount",
|
|
6027
|
-
"iconButtonMd": "_0XA4nW_iconButtonMd",
|
|
6028
|
-
"sectionCount": "_0XA4nW_sectionCount",
|
|
6029
|
-
"chipActive": "_0XA4nW_chipActive",
|
|
6030
6027
|
"chipLabel": "_0XA4nW_chipLabel",
|
|
6031
|
-
"
|
|
6032
|
-
"
|
|
6033
|
-
"noticeInline": "_0XA4nW_noticeInline",
|
|
6028
|
+
"iconButtonActive": "_0XA4nW_iconButtonActive",
|
|
6029
|
+
"iconButtonSm": "_0XA4nW_iconButtonSm",
|
|
6034
6030
|
"chip": "_0XA4nW_chip",
|
|
6035
|
-
"
|
|
6036
|
-
"
|
|
6031
|
+
"noticeWell": "_0XA4nW_noticeWell",
|
|
6032
|
+
"confirmDesc": "_0XA4nW_confirmDesc",
|
|
6037
6033
|
"iconButton": "_0XA4nW_iconButton",
|
|
6034
|
+
"noticePage": "_0XA4nW_noticePage",
|
|
6035
|
+
"iconButtonMd": "_0XA4nW_iconButtonMd",
|
|
6036
|
+
"statusBadge": "_0XA4nW_statusBadge",
|
|
6038
6037
|
"sectionLabel": "_0XA4nW_sectionLabel",
|
|
6039
|
-
"
|
|
6038
|
+
"sectionCount": "_0XA4nW_sectionCount",
|
|
6039
|
+
"chipActive": "_0XA4nW_chipActive"
|
|
6040
6040
|
};
|
|
6041
6041
|
//#endregion
|
|
6042
6042
|
//#region ../../node_modules/.pnpm/@sparkelf+dsh-better-sidebar@0.28.0-sparkelf.grid.17_a09f40a08660db355c8038ff50040d71/node_modules/@sparkelf/dsh-better-sidebar/src/client/ui/kit.tsx
|
|
@@ -6848,249 +6848,249 @@ window.__ModuleLoader__.load({
|
|
|
6848
6848
|
document.head.appendChild(tag);
|
|
6849
6849
|
}
|
|
6850
6850
|
var sidebar_module_css_default = {
|
|
6851
|
+
"browser": "B77fza_browser",
|
|
6852
|
+
"tocItemText": "B77fza_tocItemText",
|
|
6853
|
+
"largeFileNotice": "B77fza_largeFileNotice",
|
|
6854
|
+
"csvShowMore": "B77fza_csvShowMore",
|
|
6851
6855
|
"csvViewer": "B77fza_csvViewer",
|
|
6856
|
+
"browserBlockedDesc": "B77fza_browserBlockedDesc",
|
|
6852
6857
|
"editorBannerAction": "B77fza_editorBannerAction",
|
|
6853
|
-
"
|
|
6854
|
-
"
|
|
6855
|
-
"
|
|
6856
|
-
"
|
|
6857
|
-
"
|
|
6858
|
-
"
|
|
6859
|
-
"
|
|
6860
|
-
"
|
|
6861
|
-
"
|
|
6862
|
-
"
|
|
6863
|
-
"
|
|
6864
|
-
"
|
|
6865
|
-
"
|
|
6866
|
-
"
|
|
6867
|
-
"
|
|
6868
|
-
"
|
|
6869
|
-
"
|
|
6870
|
-
"
|
|
6871
|
-
"explorerEmpty": "B77fza_explorerEmpty",
|
|
6872
|
-
"browserMessage": "B77fza_browserMessage",
|
|
6873
|
-
"gitPlaceholder": "B77fza_gitPlaceholder",
|
|
6858
|
+
"browserStart": "B77fza_browserStart",
|
|
6859
|
+
"explorerRowSelected": "B77fza_explorerRowSelected",
|
|
6860
|
+
"editorHtml": "B77fza_editorHtml",
|
|
6861
|
+
"explorerSymlink": "B77fza_explorerSymlink",
|
|
6862
|
+
"editorGitDel": "B77fza_editorGitDel",
|
|
6863
|
+
"chipIcon": "B77fza_chipIcon",
|
|
6864
|
+
"dividerActive": "B77fza_dividerActive",
|
|
6865
|
+
"editorPptxButton": "B77fza_editorPptxButton",
|
|
6866
|
+
"tocPanel": "B77fza_tocPanel",
|
|
6867
|
+
"largeFileRecordSummary": "B77fza_largeFileRecordSummary",
|
|
6868
|
+
"explorerBody": "B77fza_explorerBody",
|
|
6869
|
+
"mermaidError": "B77fza_mermaidError",
|
|
6870
|
+
"editorMd": "B77fza_editorMd",
|
|
6871
|
+
"editorDocxZoomRange": "B77fza_editorDocxZoomRange",
|
|
6872
|
+
"explorerHidden": "B77fza_explorerHidden",
|
|
6873
|
+
"browserBlockedButton": "B77fza_browserBlockedButton",
|
|
6874
|
+
"explorerActionError": "B77fza_explorerActionError",
|
|
6875
|
+
"editorMain": "B77fza_editorMain",
|
|
6874
6876
|
"tabClose": "B77fza_tabClose",
|
|
6875
|
-
"
|
|
6877
|
+
"uploadDropMask": "B77fza_uploadDropMask",
|
|
6878
|
+
"editor": "B77fza_editor",
|
|
6879
|
+
"explorerAppIcon": "B77fza_explorerAppIcon",
|
|
6880
|
+
"editorStatusError": "B77fza_editorStatusError",
|
|
6881
|
+
"uploadDropArtAccent": "B77fza_uploadDropArtAccent",
|
|
6882
|
+
"editorGitBar": "B77fza_editorGitBar",
|
|
6883
|
+
"editorCm": "B77fza_editorCm",
|
|
6884
|
+
"csvSelect": "B77fza_csvSelect",
|
|
6885
|
+
"csvCell": "B77fza_csvCell",
|
|
6886
|
+
"openWithChevron": "B77fza_openWithChevron",
|
|
6887
|
+
"largeFileRecordExpanded": "B77fza_largeFileRecordExpanded",
|
|
6888
|
+
"openWithLabel": "B77fza_openWithLabel",
|
|
6889
|
+
"uploadDropArtPrimary": "B77fza_uploadDropArtPrimary",
|
|
6890
|
+
"mermaidModalStage": "B77fza_mermaidModalStage",
|
|
6876
6891
|
"tocItemLevel": "B77fza_tocItemLevel",
|
|
6877
|
-
"
|
|
6878
|
-
"
|
|
6879
|
-
"editorBinary": "B77fza_editorBinary",
|
|
6880
|
-
"dirtyDot": "B77fza_dirtyDot",
|
|
6881
|
-
"tabBar": "B77fza_tabBar",
|
|
6882
|
-
"editorPdfFrame": "B77fza_editorPdfFrame",
|
|
6883
|
-
"editorGitBarAdd": "B77fza_editorGitBarAdd",
|
|
6884
|
-
"bottomClose": "B77fza_bottomClose",
|
|
6885
|
-
"editorGitBarGutter": "B77fza_editorGitBarGutter",
|
|
6886
|
-
"explorerRef": "B77fza_explorerRef",
|
|
6887
|
-
"dockFallback": "B77fza_dockFallback",
|
|
6888
|
-
"editorModeToggle": "B77fza_editorModeToggle",
|
|
6892
|
+
"editorDownloadLink": "B77fza_editorDownloadLink",
|
|
6893
|
+
"paneDrop": "B77fza_paneDrop",
|
|
6889
6894
|
"tabBarPlus": "B77fza_tabBarPlus",
|
|
6890
|
-
"
|
|
6891
|
-
"
|
|
6892
|
-
"
|
|
6893
|
-
"
|
|
6894
|
-
"
|
|
6895
|
-
"
|
|
6896
|
-
"
|
|
6897
|
-
"
|
|
6898
|
-
"
|
|
6895
|
+
"largeFileLines": "B77fza_largeFileLines",
|
|
6896
|
+
"paneTab": "B77fza_paneTab",
|
|
6897
|
+
"tocFlash": "B77fza_tocFlash",
|
|
6898
|
+
"uploadDropChatCard": "B77fza_uploadDropChatCard",
|
|
6899
|
+
"explorerRow": "B77fza_explorerRow",
|
|
6900
|
+
"editorGitBarGutter": "B77fza_editorGitBarGutter",
|
|
6901
|
+
"tabBar": "B77fza_tabBar",
|
|
6902
|
+
"sandboxAction": "B77fza_sandboxAction",
|
|
6903
|
+
"largeFileRecordNo": "B77fza_largeFileRecordNo",
|
|
6904
|
+
"explorerSelectionText": "B77fza_explorerSelectionText",
|
|
6905
|
+
"csvTable": "B77fza_csvTable",
|
|
6899
6906
|
"tabBadge": "B77fza_tabBadge",
|
|
6900
|
-
"
|
|
6901
|
-
"editorPdf": "B77fza_editorPdf",
|
|
6902
|
-
"csvCell": "B77fza_csvCell",
|
|
6907
|
+
"editorPdfDragShieldActive": "B77fza_editorPdfDragShieldActive",
|
|
6903
6908
|
"csvRowNumber": "B77fza_csvRowNumber",
|
|
6904
|
-
"explorerHidden": "B77fza_explorerHidden",
|
|
6905
|
-
"gitError": "B77fza_gitError",
|
|
6906
|
-
"editorGitDel": "B77fza_editorGitDel",
|
|
6907
|
-
"editorDocxZoomRange": "B77fza_editorDocxZoomRange",
|
|
6908
|
-
"boundaryError": "B77fza_boundaryError",
|
|
6909
|
-
"editorDownloadLink": "B77fza_editorDownloadLink",
|
|
6910
|
-
"largeFileLineNo": "B77fza_largeFileLineNo",
|
|
6911
|
-
"editorBlame": "B77fza_editorBlame",
|
|
6912
|
-
"csvHeaderCell": "B77fza_csvHeaderCell",
|
|
6913
|
-
"editorBody": "B77fza_editorBody",
|
|
6914
|
-
"csvScroll": "B77fza_csvScroll",
|
|
6915
|
-
"mermaidModal": "B77fza_mermaidModal",
|
|
6916
|
-
"divider": "B77fza_divider",
|
|
6917
|
-
"editorPdfDragShield": "B77fza_editorPdfDragShield",
|
|
6918
|
-
"chipIcon": "B77fza_chipIcon",
|
|
6919
|
-
"editorModeButton": "B77fza_editorModeButton",
|
|
6920
6909
|
"mermaidWrap": "B77fza_mermaidWrap",
|
|
6921
|
-
"explorerRow": "B77fza_explorerRow",
|
|
6922
|
-
"selectionPopup": "B77fza_selectionPopup",
|
|
6923
6910
|
"csvSegment": "B77fza_csvSegment",
|
|
6911
|
+
"explorerRowDropTarget": "B77fza_explorerRowDropTarget",
|
|
6912
|
+
"paneCard": "B77fza_paneCard",
|
|
6913
|
+
"editorGitAdd": "B77fza_editorGitAdd",
|
|
6914
|
+
"explorerHeader": "B77fza_explorerHeader",
|
|
6915
|
+
"browserInput": "B77fza_browserInput",
|
|
6916
|
+
"mermaidModalToolbar": "B77fza_mermaidModalToolbar",
|
|
6917
|
+
"csvToolbar": "B77fza_csvToolbar",
|
|
6918
|
+
"editorGitBarDel": "B77fza_editorGitBarDel",
|
|
6919
|
+
"editorHtmlBlock": "B77fza_editorHtmlBlock",
|
|
6924
6920
|
"sandboxStatusText": "B77fza_sandboxStatusText",
|
|
6925
|
-
"
|
|
6926
|
-
"csvShowMore": "B77fza_csvShowMore",
|
|
6927
|
-
"paneContent": "B77fza_paneContent",
|
|
6928
|
-
"uploadDropArtCut": "B77fza_uploadDropArtCut",
|
|
6929
|
-
"terminalRetry": "B77fza_terminalRetry",
|
|
6930
|
-
"dividerActive": "B77fza_dividerActive",
|
|
6931
|
-
"paneEmptyCards": "B77fza_paneEmptyCards",
|
|
6932
|
-
"bottomPanelHidden": "B77fza_bottomPanelHidden",
|
|
6933
|
-
"csvSegmented": "B77fza_csvSegmented",
|
|
6934
|
-
"editorTitle": "B77fza_editorTitle",
|
|
6935
|
-
"mermaidModalButton": "B77fza_mermaidModalButton",
|
|
6936
|
-
"pane": "B77fza_pane",
|
|
6937
|
-
"uploadDropZoneText": "B77fza_uploadDropZoneText",
|
|
6938
|
-
"mermaidHeader": "B77fza_mermaidHeader",
|
|
6939
|
-
"largeFileRecordNo": "B77fza_largeFileRecordNo",
|
|
6940
|
-
"mermaidModalStage": "B77fza_mermaidModalStage",
|
|
6941
|
-
"explorerActionErrorText": "B77fza_explorerActionErrorText",
|
|
6942
|
-
"editorMain": "B77fza_editorMain",
|
|
6943
|
-
"editorModeActive": "B77fza_editorModeActive",
|
|
6944
|
-
"uploadOverlayStatus": "B77fza_uploadOverlayStatus",
|
|
6945
|
-
"explorerRowSelected": "B77fza_explorerRowSelected",
|
|
6946
|
-
"csvMeta": "B77fza_csvMeta",
|
|
6947
|
-
"csvToolbar": "B77fza_csvToolbar",
|
|
6948
|
-
"orphanedType": "B77fza_orphanedType",
|
|
6949
|
-
"openWithPinActive": "B77fza_openWithPinActive",
|
|
6921
|
+
"browserBlocked": "B77fza_browserBlocked",
|
|
6950
6922
|
"nativeTabHost": "B77fza_nativeTabHost",
|
|
6951
|
-
"
|
|
6952
|
-
"
|
|
6923
|
+
"dockFallback": "B77fza_dockFallback",
|
|
6924
|
+
"toggleButton": "B77fza_toggleButton",
|
|
6925
|
+
"explorerRef": "B77fza_explorerRef",
|
|
6926
|
+
"largeFilePageLabel": "B77fza_largeFilePageLabel",
|
|
6927
|
+
"editorTreeToggleActive": "B77fza_editorTreeToggleActive",
|
|
6928
|
+
"dividerRow": "B77fza_dividerRow",
|
|
6929
|
+
"tabTitle": "B77fza_tabTitle",
|
|
6930
|
+
"editorHeader": "B77fza_editorHeader",
|
|
6931
|
+
"browserBar": "B77fza_browserBar",
|
|
6932
|
+
"editorSearchResultLabel": "B77fza_editorSearchResultLabel",
|
|
6933
|
+
"uploadDropZone": "B77fza_uploadDropZone",
|
|
6953
6934
|
"explorerDir": "B77fza_explorerDir",
|
|
6954
|
-
"
|
|
6955
|
-
"
|
|
6935
|
+
"editorPdfDragShield": "B77fza_editorPdfDragShield",
|
|
6936
|
+
"editorTreeDock": "B77fza_editorTreeDock",
|
|
6937
|
+
"gitDiffTab": "B77fza_gitDiffTab",
|
|
6938
|
+
"uploadOverlayProgress": "B77fza_uploadOverlayProgress",
|
|
6956
6939
|
"uploadOverlay": "B77fza_uploadOverlay",
|
|
6957
|
-
"
|
|
6958
|
-
"
|
|
6959
|
-
"
|
|
6960
|
-
"
|
|
6961
|
-
"
|
|
6962
|
-
"
|
|
6963
|
-
"
|
|
6964
|
-
"
|
|
6965
|
-
"
|
|
6966
|
-
"
|
|
6940
|
+
"largeFileRecords": "B77fza_largeFileRecords",
|
|
6941
|
+
"sandboxStatusOff": "B77fza_sandboxStatusOff",
|
|
6942
|
+
"explorer": "B77fza_explorer",
|
|
6943
|
+
"editorSearchInput": "B77fza_editorSearchInput",
|
|
6944
|
+
"editorPdfStage": "B77fza_editorPdfStage",
|
|
6945
|
+
"csvField": "B77fza_csvField",
|
|
6946
|
+
"editorBlameSummary": "B77fza_editorBlameSummary",
|
|
6947
|
+
"mermaidInfo": "B77fza_mermaidInfo",
|
|
6948
|
+
"explorerGitName": "B77fza_explorerGitName",
|
|
6949
|
+
"csvScroll": "B77fza_csvScroll",
|
|
6950
|
+
"editorGitMod": "B77fza_editorGitMod",
|
|
6951
|
+
"editorTitle": "B77fza_editorTitle",
|
|
6952
|
+
"boundaryError": "B77fza_boundaryError",
|
|
6967
6953
|
"gitDiffTabTitle": "B77fza_gitDiffTabTitle",
|
|
6968
|
-
"
|
|
6969
|
-
"
|
|
6970
|
-
"
|
|
6971
|
-
"
|
|
6972
|
-
"
|
|
6973
|
-
"
|
|
6974
|
-
"largeFilePager": "B77fza_largeFilePager",
|
|
6975
|
-
"tocBar": "B77fza_tocBar",
|
|
6976
|
-
"openWithPin": "B77fza_openWithPin",
|
|
6977
|
-
"editorPdfToolbar": "B77fza_editorPdfToolbar",
|
|
6978
|
-
"uploadOverlayCancel": "B77fza_uploadOverlayCancel",
|
|
6979
|
-
"explorerBroken": "B77fza_explorerBroken",
|
|
6980
|
-
"uploadDropArtPrimary": "B77fza_uploadDropArtPrimary",
|
|
6981
|
-
"splitCol": "B77fza_splitCol",
|
|
6982
|
-
"explorerDirChanged": "B77fza_explorerDirChanged",
|
|
6954
|
+
"csvTextPane": "B77fza_csvTextPane",
|
|
6955
|
+
"browserFrame": "B77fza_browserFrame",
|
|
6956
|
+
"largeFileLine": "B77fza_largeFileLine",
|
|
6957
|
+
"dropOverlay": "B77fza_dropOverlay",
|
|
6958
|
+
"largeFileDownload": "B77fza_largeFileDownload",
|
|
6959
|
+
"largeFileRecordRaw": "B77fza_largeFileRecordRaw",
|
|
6983
6960
|
"explorerRowRevealed": "B77fza_explorerRowRevealed",
|
|
6984
|
-
"editorPathInput": "B77fza_editorPathInput",
|
|
6985
6961
|
"editorTreePanel": "B77fza_editorTreePanel",
|
|
6986
|
-
"
|
|
6987
|
-
"
|
|
6988
|
-
"
|
|
6962
|
+
"editorStatus": "B77fza_editorStatus",
|
|
6963
|
+
"csvSegmented": "B77fza_csvSegmented",
|
|
6964
|
+
"tabUnreadDot": "B77fza_tabUnreadDot",
|
|
6965
|
+
"paneEmptyCards": "B77fza_paneEmptyCards",
|
|
6966
|
+
"largeFileRecordInvalid": "B77fza_largeFileRecordInvalid",
|
|
6967
|
+
"paneTabHidden": "B77fza_paneTabHidden",
|
|
6968
|
+
"editorTreePanelFull": "B77fza_editorTreePanelFull",
|
|
6969
|
+
"editorTreeResize": "B77fza_editorTreeResize",
|
|
6970
|
+
"nativeTabMenuSeparator": "B77fza_nativeTabMenuSeparator",
|
|
6971
|
+
"editorSearchHint": "B77fza_editorSearchHint",
|
|
6989
6972
|
"dropLeft": "B77fza_dropLeft",
|
|
6990
|
-
"
|
|
6991
|
-
"
|
|
6992
|
-
"
|
|
6993
|
-
"
|
|
6994
|
-
"
|
|
6973
|
+
"editorModeToggle": "B77fza_editorModeToggle",
|
|
6974
|
+
"gitEmpty": "B77fza_gitEmpty",
|
|
6975
|
+
"tocButton": "B77fza_tocButton",
|
|
6976
|
+
"explorerActionErrorText": "B77fza_explorerActionErrorText",
|
|
6977
|
+
"tocItem": "B77fza_tocItem",
|
|
6978
|
+
"uploadOverlayTitle": "B77fza_uploadOverlayTitle",
|
|
6979
|
+
"editorModeButton": "B77fza_editorModeButton",
|
|
6980
|
+
"tabList": "B77fza_tabList",
|
|
6981
|
+
"orphanedType": "B77fza_orphanedType",
|
|
6995
6982
|
"largeFile": "B77fza_largeFile",
|
|
6996
|
-
"
|
|
6997
|
-
"
|
|
6998
|
-
"iconButton": "B77fza_iconButton",
|
|
6983
|
+
"editorCmHidden": "B77fza_editorCmHidden",
|
|
6984
|
+
"editorGitBarMod": "B77fza_editorGitBarMod",
|
|
6999
6985
|
"tabBarDrop": "B77fza_tabBarDrop",
|
|
6986
|
+
"mermaidModal": "B77fza_mermaidModal",
|
|
6987
|
+
"mermaidModalButton": "B77fza_mermaidModalButton",
|
|
6988
|
+
"largeFileRecordBody": "B77fza_largeFileRecordBody",
|
|
6989
|
+
"dividerCol": "B77fza_dividerCol",
|
|
6990
|
+
"openWithPin": "B77fza_openWithPin",
|
|
6991
|
+
"mermaidHeader": "B77fza_mermaidHeader",
|
|
6992
|
+
"dsh-row-in": "B77fza_dsh-row-in",
|
|
6993
|
+
"mermaidCode": "B77fza_mermaidCode",
|
|
6994
|
+
"openWithName": "B77fza_openWithName",
|
|
6995
|
+
"explorerBroken": "B77fza_explorerBroken",
|
|
6996
|
+
"explorerCopied": "B77fza_explorerCopied",
|
|
6997
|
+
"bottomResize": "B77fza_bottomResize",
|
|
6998
|
+
"explorerSelectionActions": "B77fza_explorerSelectionActions",
|
|
6999
|
+
"editorPdfFrameBlocked": "B77fza_editorPdfFrameBlocked",
|
|
7000
|
+
"editorBlameHead": "B77fza_editorBlameHead",
|
|
7001
|
+
"editorGitBarAdd": "B77fza_editorGitBarAdd",
|
|
7002
|
+
"panel": "B77fza_panel",
|
|
7003
|
+
"dsh-toc-flash": "B77fza_dsh-toc-flash",
|
|
7004
|
+
"selectionPopup": "B77fza_selectionPopup",
|
|
7005
|
+
"bottomResizeActive": "B77fza_bottomResizeActive",
|
|
7006
|
+
"uploadOverlayCard": "B77fza_uploadOverlayCard",
|
|
7007
|
+
"browserBlockedTitle": "B77fza_browserBlockedTitle",
|
|
7000
7008
|
"dropDown": "B77fza_dropDown",
|
|
7001
|
-
"
|
|
7002
|
-
"
|
|
7003
|
-
"
|
|
7004
|
-
"
|
|
7005
|
-
"
|
|
7006
|
-
"
|
|
7007
|
-
"
|
|
7008
|
-
"
|
|
7009
|
+
"csvError": "B77fza_csvError",
|
|
7010
|
+
"largeFileLineNo": "B77fza_largeFileLineNo",
|
|
7011
|
+
"sandboxStatusOn": "B77fza_sandboxStatusOn",
|
|
7012
|
+
"csvHeaderCell": "B77fza_csvHeaderCell",
|
|
7013
|
+
"tab": "B77fza_tab",
|
|
7014
|
+
"tabBarRightActions": "B77fza_tabBarRightActions",
|
|
7015
|
+
"split": "B77fza_split",
|
|
7016
|
+
"mermaidModalHint": "B77fza_mermaidModalHint",
|
|
7009
7017
|
"workbench": "B77fza_workbench",
|
|
7010
|
-
"
|
|
7011
|
-
"
|
|
7012
|
-
"
|
|
7013
|
-
"editorStatusError": "B77fza_editorStatusError",
|
|
7014
|
-
"bottomResizeActive": "B77fza_bottomResizeActive",
|
|
7015
|
-
"editorTreePanelFull": "B77fza_editorTreePanelFull",
|
|
7016
|
-
"editorCm": "B77fza_editorCm",
|
|
7017
|
-
"explorerRenaming": "B77fza_explorerRenaming",
|
|
7018
|
+
"csvNotice": "B77fza_csvNotice",
|
|
7019
|
+
"largeFileNoticeAction": "B77fza_largeFileNoticeAction",
|
|
7020
|
+
"bottomPanelHidden": "B77fza_bottomPanelHidden",
|
|
7018
7021
|
"mermaidMarkdown": "B77fza_mermaidMarkdown",
|
|
7019
|
-
"
|
|
7020
|
-
"
|
|
7021
|
-
"
|
|
7022
|
-
"
|
|
7023
|
-
"
|
|
7022
|
+
"openWithPinActive": "B77fza_openWithPinActive",
|
|
7023
|
+
"explorerHiddenPane": "B77fza_explorerHiddenPane",
|
|
7024
|
+
"uploadDropChatHint": "B77fza_uploadDropChatHint",
|
|
7025
|
+
"pane": "B77fza_pane",
|
|
7026
|
+
"iconButton": "B77fza_iconButton",
|
|
7027
|
+
"editorSearchResult": "B77fza_editorSearchResult",
|
|
7028
|
+
"csvMeta": "B77fza_csvMeta",
|
|
7029
|
+
"splitChild": "B77fza_splitChild",
|
|
7030
|
+
"explorerDirChanged": "B77fza_explorerDirChanged",
|
|
7031
|
+
"editorError": "B77fza_editorError",
|
|
7032
|
+
"editorModeActive": "B77fza_editorModeActive",
|
|
7024
7033
|
"editorBanner": "B77fza_editorBanner",
|
|
7034
|
+
"tabBoundaryError": "B77fza_tabBoundaryError",
|
|
7035
|
+
"gitError": "B77fza_gitError",
|
|
7025
7036
|
"editorBinaryNotice": "B77fza_editorBinaryNotice",
|
|
7037
|
+
"gitPlaceholder": "B77fza_gitPlaceholder",
|
|
7038
|
+
"uploadOverlayProgressFill": "B77fza_uploadOverlayProgressFill",
|
|
7039
|
+
"gitDiffTabHeader": "B77fza_gitDiffTabHeader",
|
|
7040
|
+
"editorBody": "B77fza_editorBody",
|
|
7041
|
+
"panelBody": "B77fza_panelBody",
|
|
7042
|
+
"explorerRenameInput": "B77fza_explorerRenameInput",
|
|
7043
|
+
"bottomPanel": "B77fza_bottomPanel",
|
|
7044
|
+
"csvReload": "B77fza_csvReload",
|
|
7045
|
+
"largeFileRecord": "B77fza_largeFileRecord",
|
|
7046
|
+
"splitCol": "B77fza_splitCol",
|
|
7047
|
+
"largeFileList": "B77fza_largeFileList",
|
|
7048
|
+
"largeFilePager": "B77fza_largeFilePager",
|
|
7049
|
+
"largeFileRecordTree": "B77fza_largeFileRecordTree",
|
|
7050
|
+
"explorerRoot": "B77fza_explorerRoot",
|
|
7051
|
+
"uploadOverlayStatus": "B77fza_uploadOverlayStatus",
|
|
7026
7052
|
"dropUp": "B77fza_dropUp",
|
|
7027
|
-
"
|
|
7028
|
-
"
|
|
7029
|
-
"
|
|
7030
|
-
"
|
|
7031
|
-
"
|
|
7032
|
-
"
|
|
7033
|
-
"
|
|
7034
|
-
"
|
|
7053
|
+
"dirtyDot": "B77fza_dirtyDot",
|
|
7054
|
+
"terminalRetry": "B77fza_terminalRetry",
|
|
7055
|
+
"paneContent": "B77fza_paneContent",
|
|
7056
|
+
"bottomClose": "B77fza_bottomClose",
|
|
7057
|
+
"csvEmpty": "B77fza_csvEmpty",
|
|
7058
|
+
"dropRight": "B77fza_dropRight",
|
|
7059
|
+
"sandboxStatus": "B77fza_sandboxStatus",
|
|
7060
|
+
"mermaidBody": "B77fza_mermaidBody",
|
|
7061
|
+
"uploadDropZoneText": "B77fza_uploadDropZoneText",
|
|
7062
|
+
"tabActive": "B77fza_tabActive",
|
|
7035
7063
|
"largeFileLineText": "B77fza_largeFileLineText",
|
|
7036
|
-
"
|
|
7037
|
-
"
|
|
7038
|
-
"
|
|
7039
|
-
"
|
|
7040
|
-
"
|
|
7041
|
-
"
|
|
7042
|
-
"explorerName": "B77fza_explorerName",
|
|
7043
|
-
"tabBoundaryError": "B77fza_tabBoundaryError",
|
|
7064
|
+
"explorerRenaming": "B77fza_explorerRenaming",
|
|
7065
|
+
"explorerSelectionBar": "B77fza_explorerSelectionBar",
|
|
7066
|
+
"explorerEmpty": "B77fza_explorerEmpty",
|
|
7067
|
+
"editorTreeSearch": "B77fza_editorTreeSearch",
|
|
7068
|
+
"editorBinary": "B77fza_editorBinary",
|
|
7069
|
+
"editorBlame": "B77fza_editorBlame",
|
|
7044
7070
|
"editorGitBarSpacer": "B77fza_editorGitBarSpacer",
|
|
7045
|
-
"
|
|
7046
|
-
"
|
|
7071
|
+
"divider": "B77fza_divider",
|
|
7072
|
+
"chipUnread": "B77fza_chipUnread",
|
|
7073
|
+
"editorPathInput": "B77fza_editorPathInput",
|
|
7074
|
+
"uploadDropArtCut": "B77fza_uploadDropArtCut",
|
|
7075
|
+
"browserBlockedActions": "B77fza_browserBlockedActions",
|
|
7047
7076
|
"sandboxDot": "B77fza_sandboxDot",
|
|
7048
|
-
"
|
|
7049
|
-
"
|
|
7050
|
-
"
|
|
7051
|
-
"
|
|
7052
|
-
"
|
|
7053
|
-
"
|
|
7054
|
-
"
|
|
7055
|
-
"
|
|
7056
|
-
"editorPdfDragShieldActive": "B77fza_editorPdfDragShieldActive",
|
|
7057
|
-
"csvEmpty": "B77fza_csvEmpty",
|
|
7058
|
-
"uploadOverlayProgress": "B77fza_uploadOverlayProgress",
|
|
7059
|
-
"browserStart": "B77fza_browserStart",
|
|
7060
|
-
"largeFileRecordInvalid": "B77fza_largeFileRecordInvalid",
|
|
7061
|
-
"gitDiffTabHeader": "B77fza_gitDiffTabHeader",
|
|
7062
|
-
"sandboxAction": "B77fza_sandboxAction",
|
|
7063
|
-
"tocPanel": "B77fza_tocPanel",
|
|
7064
|
-
"editorHtml": "B77fza_editorHtml",
|
|
7065
|
-
"largeFileLines": "B77fza_largeFileLines",
|
|
7077
|
+
"explorerName": "B77fza_explorerName",
|
|
7078
|
+
"editorPdfToolbar": "B77fza_editorPdfToolbar",
|
|
7079
|
+
"nativeTabMenuItem": "B77fza_nativeTabMenuItem",
|
|
7080
|
+
"uploadDropZonePill": "B77fza_uploadDropZonePill",
|
|
7081
|
+
"dropCenter": "B77fza_dropCenter",
|
|
7082
|
+
"splitRow": "B77fza_splitRow",
|
|
7083
|
+
"uploadOverlayCancel": "B77fza_uploadOverlayCancel",
|
|
7084
|
+
"editorPlaceholder": "B77fza_editorPlaceholder",
|
|
7066
7085
|
"uploadDropHero": "B77fza_uploadDropHero",
|
|
7067
|
-
"
|
|
7068
|
-
"
|
|
7069
|
-
"
|
|
7070
|
-
"splitChild": "B77fza_splitChild",
|
|
7071
|
-
"tabUnreadDot": "B77fza_tabUnreadDot",
|
|
7072
|
-
"largeFileList": "B77fza_largeFileList",
|
|
7073
|
-
"largeFileRecord": "B77fza_largeFileRecord",
|
|
7074
|
-
"editorGitMod": "B77fza_editorGitMod",
|
|
7075
|
-
"paneCard": "B77fza_paneCard",
|
|
7076
|
-
"chipUnread": "B77fza_chipUnread",
|
|
7077
|
-
"editorCmHidden": "B77fza_editorCmHidden",
|
|
7078
|
-
"csvNotice": "B77fza_csvNotice",
|
|
7079
|
-
"largeFileRecordBody": "B77fza_largeFileRecordBody",
|
|
7080
|
-
"largeFileNoticeAction": "B77fza_largeFileNoticeAction",
|
|
7081
|
-
"tocButton": "B77fza_tocButton",
|
|
7082
|
-
"editorPdfFrameBlocked": "B77fza_editorPdfFrameBlocked",
|
|
7083
|
-
"editorError": "B77fza_editorError",
|
|
7084
|
-
"mermaidInfo": "B77fza_mermaidInfo",
|
|
7085
|
-
"tocItem": "B77fza_tocItem",
|
|
7086
|
-
"paneTabHidden": "B77fza_paneTabHidden",
|
|
7087
|
-
"editorTreeResize": "B77fza_editorTreeResize",
|
|
7088
|
-
"explorerCopied": "B77fza_explorerCopied",
|
|
7089
|
-
"browserBlockedButton": "B77fza_browserBlockedButton",
|
|
7090
|
-
"uploadOverlayCard": "B77fza_uploadOverlayCard",
|
|
7086
|
+
"mermaidCopy": "B77fza_mermaidCopy",
|
|
7087
|
+
"editorPdfFrame": "B77fza_editorPdfFrame",
|
|
7088
|
+
"browserMessage": "B77fza_browserMessage",
|
|
7091
7089
|
"largeFileBody": "B77fza_largeFileBody",
|
|
7092
|
-
"
|
|
7093
|
-
"
|
|
7090
|
+
"tocBar": "B77fza_tocBar",
|
|
7091
|
+
"editorPdf": "B77fza_editorPdf",
|
|
7092
|
+
"editorSearchResultDir": "B77fza_editorSearchResultDir",
|
|
7093
|
+
"explorerError": "B77fza_explorerError"
|
|
7094
7094
|
};
|
|
7095
7095
|
//#endregion
|
|
7096
7096
|
//#region node_modules/dsh-better-sidebar/src/client/FileTree.tsx
|
|
@@ -10190,6 +10190,17 @@ window.__ModuleLoader__.load({
|
|
|
10190
10190
|
memorySaveInterval: "Save",
|
|
10191
10191
|
memoryIntervalSaved: "Saved",
|
|
10192
10192
|
memoryIntervalInvalid: "Enter a whole number between 15 and 1440 minutes.",
|
|
10193
|
+
memorySubagentsLabel: "Guardian subagents",
|
|
10194
|
+
memorySubagentsHint: "{min}–{max} concurrent subagents. The guardian runs at most this many children at once while consolidating memory.",
|
|
10195
|
+
memorySaveSubagents: "Save",
|
|
10196
|
+
memorySubagentsSaved: "Saved",
|
|
10197
|
+
memorySubagentsInvalid: "Enter a whole number between {min} and {max}.",
|
|
10198
|
+
memoryQuickConfig: "Quick setup",
|
|
10199
|
+
memoryQuickConfigSessionFailed: "Could not open a new conversation for the setup guide. Try again.",
|
|
10200
|
+
memoryQuickConfigPromptFailed: "The new conversation did not accept the setup guide. Open it from the session list and try again.",
|
|
10201
|
+
memoryGitRemoteLabel: "Git remote backup",
|
|
10202
|
+
memoryGitRemoteHint: "Off by default. When on, the guardian pushes your personal memory to its configured Git remote after consolidating; a failed push is reported, never silent.",
|
|
10203
|
+
memoryGitRemoteSaved: "Saved",
|
|
10193
10204
|
memorySettingsFailed: "Could not read the memory setting.",
|
|
10194
10205
|
memoryEnableTitle: "Turn on memory",
|
|
10195
10206
|
memoryEnableBody: "When memory is on, the assistant learns preferences, facts, pitfalls and methods from your conversations, and they may affect later answers and actions. Existing memories are kept, and you can pause or forget any single memory at any time.",
|
|
@@ -10956,6 +10967,17 @@ window.__ModuleLoader__.load({
|
|
|
10956
10967
|
memorySaveInterval: "保存",
|
|
10957
10968
|
memoryIntervalSaved: "已保存",
|
|
10958
10969
|
memoryIntervalInvalid: "请输入 15–1440 之间的整数分钟。",
|
|
10970
|
+
memorySubagentsLabel: "守护子代理数",
|
|
10971
|
+
memorySubagentsHint: "{min}–{max} 个并发子代理;守护会话整理记忆时,同时运行的子代理不超过此数。",
|
|
10972
|
+
memorySaveSubagents: "保存",
|
|
10973
|
+
memorySubagentsSaved: "已保存",
|
|
10974
|
+
memorySubagentsInvalid: "请输入 {min}–{max} 之间的整数。",
|
|
10975
|
+
memoryQuickConfig: "快速配置",
|
|
10976
|
+
memoryQuickConfigSessionFailed: "无法新建引导会话,请重试。",
|
|
10977
|
+
memoryQuickConfigPromptFailed: "新会话未接收引导文本,请从会话列表打开后重试。",
|
|
10978
|
+
memoryGitRemoteLabel: "Git 远程备份",
|
|
10979
|
+
memoryGitRemoteHint: "默认关闭。开启后,守护会话整理记忆时才会把个人记忆推送到已配置的 Git 远程仓库;推送失败会如实报告,不会静默。",
|
|
10980
|
+
memoryGitRemoteSaved: "已保存",
|
|
10959
10981
|
memorySettingsFailed: "无法读取记忆设置。",
|
|
10960
10982
|
memoryEnableTitle: "开启记忆",
|
|
10961
10983
|
memoryEnableBody: "开启后,会从会话中学习偏好、事实、踩坑和方法,并可能影响后续回答与操作;已有记忆保留,可随时暂停或忘记单条。",
|
|
@@ -12622,21 +12644,21 @@ window.__ModuleLoader__.load({
|
|
|
12622
12644
|
document.head.appendChild(tag);
|
|
12623
12645
|
}
|
|
12624
12646
|
var KnowledgeShareDialog_module_css_default = {
|
|
12647
|
+
"optionDetail": "nw--rq_optionDetail",
|
|
12625
12648
|
"optionLabel": "nw--rq_optionLabel",
|
|
12626
|
-
"chosenLabel": "nw--rq_chosenLabel",
|
|
12627
|
-
"field": "nw--rq_field",
|
|
12628
12649
|
"fieldLabel": "nw--rq_fieldLabel",
|
|
12650
|
+
"dialog": "nw--rq_dialog",
|
|
12651
|
+
"notice": "nw--rq_notice",
|
|
12652
|
+
"content": "nw--rq_content",
|
|
12629
12653
|
"state": "nw--rq_state",
|
|
12654
|
+
"field": "nw--rq_field",
|
|
12655
|
+
"body": "nw--rq_body",
|
|
12656
|
+
"hint": "nw--rq_hint",
|
|
12630
12657
|
"chosen": "nw--rq_chosen",
|
|
12631
12658
|
"list": "nw--rq_list",
|
|
12632
|
-
"notice": "nw--rq_notice",
|
|
12633
|
-
"optionDetail": "nw--rq_optionDetail",
|
|
12634
|
-
"content": "nw--rq_content",
|
|
12635
12659
|
"option": "nw--rq_option",
|
|
12636
|
-
"
|
|
12637
|
-
"intro": "nw--rq_intro"
|
|
12638
|
-
"dialog": "nw--rq_dialog",
|
|
12639
|
-
"hint": "nw--rq_hint"
|
|
12660
|
+
"chosenLabel": "nw--rq_chosenLabel",
|
|
12661
|
+
"intro": "nw--rq_intro"
|
|
12640
12662
|
};
|
|
12641
12663
|
//#endregion
|
|
12642
12664
|
//#region src/client/KnowledgeShareDialog.tsx
|
|
@@ -15018,46 +15040,46 @@ window.__ModuleLoader__.load({
|
|
|
15018
15040
|
document.head.appendChild(tag);
|
|
15019
15041
|
}
|
|
15020
15042
|
var KnowledgePermissions_module_css_default = {
|
|
15021
|
-
"
|
|
15022
|
-
"dialogSelect": "W1jiya_dialogSelect",
|
|
15023
|
-
"pager": "W1jiya_pager",
|
|
15024
|
-
"sourceHint": "W1jiya_sourceHint",
|
|
15025
|
-
"sourceCell": "W1jiya_sourceCell",
|
|
15026
|
-
"path": "W1jiya_path",
|
|
15027
|
-
"linkButton": "W1jiya_linkButton",
|
|
15028
|
-
"statCard": "W1jiya_statCard",
|
|
15029
|
-
"holderKind": "W1jiya_holderKind",
|
|
15030
|
-
"dialogField": "W1jiya_dialogField",
|
|
15031
|
-
"pageHint": "W1jiya_pageHint",
|
|
15032
|
-
"pageSize": "W1jiya_pageSize",
|
|
15033
|
-
"rowActions": "W1jiya_rowActions",
|
|
15034
|
-
"emptyRow": "W1jiya_emptyRow",
|
|
15035
|
-
"principalMeta": "W1jiya_principalMeta",
|
|
15043
|
+
"actions": "W1jiya_actions",
|
|
15036
15044
|
"overviewEmpty": "W1jiya_overviewEmpty",
|
|
15037
|
-
"
|
|
15045
|
+
"emptyRow": "W1jiya_emptyRow",
|
|
15046
|
+
"pageSize": "W1jiya_pageSize",
|
|
15038
15047
|
"chips": "W1jiya_chips",
|
|
15039
|
-
"holders": "W1jiya_holders",
|
|
15040
|
-
"holderName": "W1jiya_holderName",
|
|
15041
|
-
"emptyNote": "W1jiya_emptyNote",
|
|
15042
|
-
"dialogNotice": "W1jiya_dialogNotice",
|
|
15043
|
-
"pageTitle": "W1jiya_pageTitle",
|
|
15044
15048
|
"pageHead": "W1jiya_pageHead",
|
|
15045
|
-
"
|
|
15046
|
-
"table": "W1jiya_table",
|
|
15047
|
-
"statLabel": "W1jiya_statLabel",
|
|
15048
|
-
"paths": "W1jiya_paths",
|
|
15049
|
-
"actions": "W1jiya_actions",
|
|
15049
|
+
"placeholder": "W1jiya_placeholder",
|
|
15050
15050
|
"partialMark": "W1jiya_partialMark",
|
|
15051
|
-
"
|
|
15052
|
-
"
|
|
15053
|
-
"
|
|
15051
|
+
"actionCell": "W1jiya_actionCell",
|
|
15052
|
+
"statLabel": "W1jiya_statLabel",
|
|
15053
|
+
"emptyNote": "W1jiya_emptyNote",
|
|
15054
|
+
"pageTitle": "W1jiya_pageTitle",
|
|
15054
15055
|
"pathCell": "W1jiya_pathCell",
|
|
15055
|
-
"
|
|
15056
|
+
"linkButton": "W1jiya_linkButton",
|
|
15057
|
+
"statRow": "W1jiya_statRow",
|
|
15058
|
+
"sourceCell": "W1jiya_sourceCell",
|
|
15059
|
+
"holders": "W1jiya_holders",
|
|
15060
|
+
"pager": "W1jiya_pager",
|
|
15056
15061
|
"tabs": "W1jiya_tabs",
|
|
15062
|
+
"principalMeta": "W1jiya_principalMeta",
|
|
15063
|
+
"paths": "W1jiya_paths",
|
|
15064
|
+
"statCard": "W1jiya_statCard",
|
|
15065
|
+
"principalName": "W1jiya_principalName",
|
|
15066
|
+
"statValue": "W1jiya_statValue",
|
|
15067
|
+
"table": "W1jiya_table",
|
|
15068
|
+
"holderName": "W1jiya_holderName",
|
|
15069
|
+
"countCell": "W1jiya_countCell",
|
|
15070
|
+
"sourceHint": "W1jiya_sourceHint",
|
|
15071
|
+
"holderKind": "W1jiya_holderKind",
|
|
15057
15072
|
"overview": "W1jiya_overview",
|
|
15073
|
+
"dialogField": "W1jiya_dialogField",
|
|
15074
|
+
"dialogSelect": "W1jiya_dialogSelect",
|
|
15058
15075
|
"pagerStatus": "W1jiya_pagerStatus",
|
|
15076
|
+
"dialogForm": "W1jiya_dialogForm",
|
|
15077
|
+
"principalId": "W1jiya_principalId",
|
|
15078
|
+
"dialogNotice": "W1jiya_dialogNotice",
|
|
15079
|
+
"pageHint": "W1jiya_pageHint",
|
|
15059
15080
|
"holder": "W1jiya_holder",
|
|
15060
|
-
"
|
|
15081
|
+
"path": "W1jiya_path",
|
|
15082
|
+
"rowActions": "W1jiya_rowActions"
|
|
15061
15083
|
};
|
|
15062
15084
|
//#endregion
|
|
15063
15085
|
//#region src/client/KnowledgeTrash.tsx
|
|
@@ -15377,14 +15399,14 @@ window.__ModuleLoader__.load({
|
|
|
15377
15399
|
document.head.appendChild(tag);
|
|
15378
15400
|
}
|
|
15379
15401
|
var KnowledgeAudit_module_css_default = {
|
|
15380
|
-
"tabs": "_0xqcPG_tabs",
|
|
15381
|
-
"pagerSizeLabel": "_0xqcPG_pagerSizeLabel",
|
|
15382
|
-
"audit": "_0xqcPG_audit",
|
|
15383
15402
|
"pager": "_0xqcPG_pager",
|
|
15403
|
+
"audit": "_0xqcPG_audit",
|
|
15384
15404
|
"pagerTotal": "_0xqcPG_pagerTotal",
|
|
15385
|
-
"
|
|
15405
|
+
"pagerPosition": "_0xqcPG_pagerPosition",
|
|
15386
15406
|
"pathCell": "_0xqcPG_pathCell",
|
|
15387
|
-
"
|
|
15407
|
+
"pagerSize": "_0xqcPG_pagerSize",
|
|
15408
|
+
"tabs": "_0xqcPG_tabs",
|
|
15409
|
+
"pagerSizeLabel": "_0xqcPG_pagerSizeLabel"
|
|
15388
15410
|
};
|
|
15389
15411
|
//#endregion
|
|
15390
15412
|
//#region src/client/KnowledgeAudit.tsx
|
|
@@ -15941,8 +15963,83 @@ window.__ModuleLoader__.load({
|
|
|
15941
15963
|
});
|
|
15942
15964
|
}
|
|
15943
15965
|
//#endregion
|
|
15966
|
+
//#region src/client/memoryQuickConfig.ts
|
|
15967
|
+
/**
|
|
15968
|
+
* The exact instruction handed to the new Session.
|
|
15969
|
+
*
|
|
15970
|
+
* Written as a repeatable order rather than a conversation opener: it names the
|
|
15971
|
+
* skill to read first, the four configurable items with their bounds and defaults,
|
|
15972
|
+
* and the one route that applies the reader's choices. The Git remote backup item
|
|
15973
|
+
* is explicitly default-off and opt-in, because pushing personal memory off the
|
|
15974
|
+
* machine must never happen as a side effect of a setup conversation.
|
|
15975
|
+
*
|
|
15976
|
+
* @returns the prompt text.
|
|
15977
|
+
*/
|
|
15978
|
+
function quickConfigPrompt() {
|
|
15979
|
+
return [
|
|
15980
|
+
"请引导我完成个人记忆的快速配置。按下面的步骤做,不要跳步。",
|
|
15981
|
+
"",
|
|
15982
|
+
"第一步:调用 skill 工具读取 memory 技能(name=memory),先了解记忆系统的规则;涉及 Git 远程备份时再读该技能的 references/remote-backup.md。",
|
|
15983
|
+
"",
|
|
15984
|
+
"第二步:读取我当前的记忆设置。用 bash 调用知识库插件的 Host 路由(与本 GUI 同源):",
|
|
15985
|
+
"curl -s -X POST <DSH Web 源>/knowledge-base/api/memory.settings -H \"content-type: application/json\" -d \"{}\"",
|
|
15986
|
+
"把读到的当前值告诉我;读不到就如实说明,并按默认值继续。",
|
|
15987
|
+
"",
|
|
15988
|
+
"第三步:向我逐项列出下面的可配置项,每一项说明作用、当前值、默认值与可选范围,然后让我选择要修改哪些、改成什么(可以逐项问,也可以一次列全让我挑):",
|
|
15989
|
+
"1. 记忆开关(字段 enabled):是否允许从会话中学习偏好、事实、踩坑和方法;默认关闭,开启前说明影响。",
|
|
15990
|
+
"2. 整理间隔(字段 consolidationIntervalMinutes):守护会话整理记忆的间隔,15–1440 的整数分钟,默认 60。",
|
|
15991
|
+
"3. 守护子代理数(字段 guardianMaxSubagents):整理记忆时并发子代理的上限,1–8 的整数,默认 4。",
|
|
15992
|
+
"4. Git 远程备份(字段 gitRemoteEnabled):是否允许守护会话把个人记忆推送到已配置的 Git 远程仓库做备份。默认关闭;开启前必须向我说明推送的是整个个人记忆 scope、包含哪些隐私级别的内容,由我明确确认后才算选择开启。",
|
|
15993
|
+
"",
|
|
15994
|
+
"第四步:按我的选择应用配置。只提交我选定修改的字段,未选择的字段不要提交:",
|
|
15995
|
+
"curl -s -X POST <DSH Web 源>/knowledge-base/api/memory.save-settings -H \"content-type: application/json\" -d '{\"enabled\":true,\"consolidationIntervalMinutes\":60,\"guardianMaxSubagents\":4,\"gitRemoteEnabled\":false}'",
|
|
15996
|
+
"(上面的值只是示例,以我的选择为准。)",
|
|
15997
|
+
"",
|
|
15998
|
+
"第五步:再读一次 memory.settings,把保存后的设置向我复述确认。任何一步失败都要如实报告原因,不要静默跳过,也不要谎称已保存。",
|
|
15999
|
+
"",
|
|
16000
|
+
"边界:本次会话只负责引导与保存设置。不要执行 git push,不要改动远程仓库配置,不要替我开启 Git 远程备份。"
|
|
16001
|
+
].join("\n");
|
|
16002
|
+
}
|
|
16003
|
+
/**
|
|
16004
|
+
* Create the guiding Session and open it.
|
|
16005
|
+
*
|
|
16006
|
+
* The sequence is: create a Session, deliver the guiding prompt, open the
|
|
16007
|
+
* Conversation. Success means the prompt was accepted — the configuration itself
|
|
16008
|
+
* happens inside the conversation, so there is no post-hoc verification wait.
|
|
16009
|
+
*
|
|
16010
|
+
* @param deps - injected Host operations.
|
|
16011
|
+
* @returns the outcome, including the created Session id.
|
|
16012
|
+
*/
|
|
16013
|
+
async function startMemoryQuickConfig(deps) {
|
|
16014
|
+
let sessionId;
|
|
16015
|
+
try {
|
|
16016
|
+
sessionId = await deps.createSession();
|
|
16017
|
+
} catch {
|
|
16018
|
+
return {
|
|
16019
|
+
ok: false,
|
|
16020
|
+
failure: "session-failed"
|
|
16021
|
+
};
|
|
16022
|
+
}
|
|
16023
|
+
if (sessionId === "") return {
|
|
16024
|
+
ok: false,
|
|
16025
|
+
failure: "session-unaddressable"
|
|
16026
|
+
};
|
|
16027
|
+
if (!await deps.sendPrompt(sessionId, quickConfigPrompt())) return {
|
|
16028
|
+
ok: false,
|
|
16029
|
+
failure: "prompt-failed",
|
|
16030
|
+
sessionId
|
|
16031
|
+
};
|
|
16032
|
+
if (deps.openSession !== void 0) try {
|
|
16033
|
+
deps.openSession(sessionId);
|
|
16034
|
+
} catch {}
|
|
16035
|
+
return {
|
|
16036
|
+
ok: true,
|
|
16037
|
+
sessionId
|
|
16038
|
+
};
|
|
16039
|
+
}
|
|
16040
|
+
//#endregion
|
|
15944
16041
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/KnowledgeMemory.module.css.mjs
|
|
15945
|
-
const css$10 = "._2H9JWq_page{flex-direction:column;gap:14px;min-height:0;display:flex}._2H9JWq_header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}._2H9JWq_heading{min-width:0}._2H9JWq_title{color:var(--dsw-alias-label-primary);font:var(--dsw-font-base-strong-16);margin:0}._2H9JWq_hint{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);margin:4px 0 0}._2H9JWq_switchGroup{flex:none;align-items:center;gap:8px;display:flex}._2H9JWq_switchState{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-strong-12)}._2H9JWq_intervalRow{border:.5px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-layer-1);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 16px;padding:10px 12px;display:grid}._2H9JWq_intervalCopy{flex-direction:column;gap:2px;min-width:0;display:flex}._2H9JWq_intervalLabel{color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-strong-12)}._2H9JWq_intervalHint{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11)}._2H9JWq_intervalControls{align-items:center;gap:6px;display:flex}._2H9JWq_intervalInput{width:88px}._2H9JWq_intervalUnit{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12)}._2H9JWq_intervalSaved{color:var(--dsw-alias-state-success-primary,#1a7f37);font:var(--dsw-font-xxxs-11)}._2H9JWq_intervalError{color:var(--dsw-alias-state-error-primary);font:var(--dsw-font-xxs-12);grid-column:1/-1;margin:0}._2H9JWq_pausedNotice{border:.5px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-layer-1);color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);margin:0;padding:8px 10px}._2H9JWq_noticeRow{border:.5px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-layer-1);color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);justify-content:space-between;align-items:center;gap:8px;padding:6px 10px;display:flex}._2H9JWq_toolbar{align-items:center;gap:8px;display:flex}._2H9JWq_search{flex:auto;max-width:360px}._2H9JWq_select{border:.5px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-layer-2);height:30px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);padding:0 8px}._2H9JWq_tableWrap{overflow-x:auto}._2H9JWq_table{border-collapse:collapse;width:100%}._2H9JWq_table th{border-bottom
|
|
16042
|
+
const css$10 = "._2H9JWq_page{flex-direction:column;gap:14px;min-height:0;display:flex}._2H9JWq_header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}._2H9JWq_heading{min-width:0}._2H9JWq_title{color:var(--dsw-alias-label-primary);font:var(--dsw-font-base-strong-16);margin:0}._2H9JWq_hint{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);margin:4px 0 0}._2H9JWq_switchGroup{flex:none;align-items:center;gap:8px;display:flex}._2H9JWq_switchState{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-strong-12)}._2H9JWq_intervalRow{border:.5px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-layer-1);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 16px;padding:10px 12px;display:grid}._2H9JWq_intervalCopy{flex-direction:column;gap:2px;min-width:0;display:flex}._2H9JWq_intervalLabel{color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-strong-12)}._2H9JWq_intervalHint{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11)}._2H9JWq_intervalControls{align-items:center;gap:6px;display:flex}._2H9JWq_intervalInput{width:88px}._2H9JWq_intervalUnit{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12)}._2H9JWq_intervalSaved{color:var(--dsw-alias-state-success-primary,#1a7f37);font:var(--dsw-font-xxxs-11)}._2H9JWq_intervalError{color:var(--dsw-alias-state-error-primary);font:var(--dsw-font-xxs-12);grid-column:1/-1;margin:0}._2H9JWq_pausedNotice{border:.5px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-layer-1);color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);margin:0;padding:8px 10px}._2H9JWq_noticeRow{border:.5px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-layer-1);color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);justify-content:space-between;align-items:center;gap:8px;padding:6px 10px;display:flex}._2H9JWq_toolbar{align-items:center;gap:8px;display:flex}._2H9JWq_search{flex:auto;max-width:360px}._2H9JWq_select{border:.5px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-layer-2);height:30px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);padding:0 8px}._2H9JWq_tableWrap{overflow-x:auto}._2H9JWq_table{border-collapse:collapse;width:100%}._2H9JWq_table th{border-bottom:1px solid var(--dsw-alias-border-l2);color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-strong-11);text-align:left;white-space:nowrap;padding:6px 10px}._2H9JWq_table td{border-bottom:1px solid var(--dsw-alias-border-l1);font:var(--dsw-font-xxs-12);vertical-align:middle;padding:9px 10px;line-height:1.5}._2H9JWq_table tbody tr:last-child td{border-bottom:none}._2H9JWq_table tbody tr:hover td{background:var(--dsw-alias-bg-layer-1)}._2H9JWq_memoryCell{max-width:280px}._2H9JWq_memoryTitle{max-width:100%;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-strong-12);text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:0 0;border:0;padding:0;overflow:hidden}._2H9JWq_memoryTitle:hover{color:var(--dsw-alias-link)}._2H9JWq_memoryTitle:focus-visible{outline:var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}._2H9JWq_typeChip,._2H9JWq_privacyChip{border:.5px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-1);height:18px;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxxs-11);white-space:nowrap;border-radius:999px;align-items:center;padding:0 6px;display:inline-flex}._2H9JWq_sourceLabel{color:var(--dsw-alias-label-secondary);display:block}._2H9JWq_sourceTime{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);display:block}._2H9JWq_sourceMore{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);margin-left:4px}._2H9JWq_timeCell{color:var(--dsw-alias-label-secondary);white-space:nowrap}._2H9JWq_actionsHead{text-align:right!important}._2H9JWq_actionsCell{text-align:right}._2H9JWq_rowActions{white-space:nowrap;justify-content:flex-end;align-items:center;gap:2px;display:inline-flex}._2H9JWq_notice{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);margin:0}._2H9JWq_state{flex-direction:column;align-items:flex-start;gap:6px;padding:18px 0;display:flex}._2H9JWq_error{color:var(--dsw-alias-state-error-primary);font:var(--dsw-font-xxs-12);margin:0}._2H9JWq_errorDetail{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);overflow-wrap:anywhere;margin:0}._2H9JWq_empty{border:.5px dashed var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-md);flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:36px 16px;display:flex}._2H9JWq_emptyTitle{color:var(--dsw-alias-label-primary);font:var(--dsw-font-s-strong-14);margin:0}._2H9JWq_emptyBody{max-width:520px;color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);text-align:center;margin:0}._2H9JWq_footer{justify-content:flex-end;gap:8px;display:flex}._2H9JWq_detailBody{flex-direction:column;gap:16px;display:flex}._2H9JWq_detailMeta{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);margin:0}._2H9JWq_detailLabel{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-strong-11);margin:0 0 4px}._2H9JWq_detailContent{color:var(--dsw-alias-label-primary);font:var(--dsw-font-xs-13);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;line-height:1.7}._2H9JWq_sourceList{margin:0;padding:0;list-style:none}._2H9JWq_sourceList li{border-bottom:.5px solid var(--dsw-alias-border-l1);color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);justify-content:space-between;align-items:baseline;gap:10px;padding:4px 0;display:flex}._2H9JWq_sourceList li:last-child{border-bottom:none}._2H9JWq_evidence{align-items:center;gap:8px;margin-top:6px;display:flex}._2H9JWq_evidence ._2H9JWq_detailLabel{margin:0}._2H9JWq_textarea{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-layer-2);width:100%;min-height:160px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);resize:vertical;padding:8px 10px;line-height:1.6}._2H9JWq_memoryCell{flex-wrap:wrap;align-items:center;gap:6px;display:flex}._2H9JWq_promotionChip{border:.5px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-2);height:18px;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxxs-strong-11);white-space:nowrap;border-radius:9px;align-items:center;padding:0 6px;display:inline-flex}._2H9JWq_promotionChip[data-status=pending]{border-color:var(--dsw-alias-state-warn-primary);color:var(--dsw-alias-state-warn-primary)}._2H9JWq_promotionChip[data-status=approved]{border-color:var(--dsw-alias-state-success-primary);color:var(--dsw-alias-state-success-primary)}._2H9JWq_promotionChip[data-status=rejected]{border-color:var(--dsw-alias-state-error-primary);color:var(--dsw-alias-state-error-primary)}._2H9JWq_promotionSection{border-top:.5px solid var(--dsw-alias-border-l1);margin-top:22px;padding-top:16px}._2H9JWq_sectionTitle{color:var(--dsw-alias-label-primary);font:var(--dsw-font-s-strong-14);margin:0 0 4px}._2H9JWq_sectionHint{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);margin:0 0 10px;line-height:1.6}._2H9JWq_promotionNotice{color:var(--dsw-alias-state-success-primary);font:var(--dsw-font-xxs-12);margin:8px 0 0}._2H9JWq_promotionForm{flex-direction:column;gap:8px;display:flex}._2H9JWq_promotionMemory{color:var(--dsw-alias-label-primary);font:var(--dsw-font-xs-strong-13);margin:0}._2H9JWq_promotionConfirm{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);align-items:center;gap:8px;display:flex}._2H9JWq_selfApprovalHint{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);margin-top:4px;display:block}._2H9JWq_reviewContent{-webkit-line-clamp:2;max-width:420px;color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);overflow-wrap:anywhere;-webkit-box-orient:vertical;line-height:1.5;display:-webkit-box;overflow:hidden}";
|
|
15946
16043
|
const tagId$10 = "@sparkelf/dsh-knowledge-base/KnowledgeMemory.module.css";
|
|
15947
16044
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$10) + "]") === null) {
|
|
15948
16045
|
const tag = document.createElement("style");
|
|
@@ -15952,65 +16049,65 @@ window.__ModuleLoader__.load({
|
|
|
15952
16049
|
document.head.appendChild(tag);
|
|
15953
16050
|
}
|
|
15954
16051
|
var KnowledgeMemory_module_css_default = {
|
|
15955
|
-
"promotionMemory": "_2H9JWq_promotionMemory",
|
|
15956
|
-
"promotionSection": "_2H9JWq_promotionSection",
|
|
15957
|
-
"sourceList": "_2H9JWq_sourceList",
|
|
15958
|
-
"switchState": "_2H9JWq_switchState",
|
|
15959
|
-
"header": "_2H9JWq_header",
|
|
15960
|
-
"toolbar": "_2H9JWq_toolbar",
|
|
15961
|
-
"privacyChip": "_2H9JWq_privacyChip",
|
|
15962
|
-
"page": "_2H9JWq_page",
|
|
15963
16052
|
"heading": "_2H9JWq_heading",
|
|
15964
|
-
"
|
|
15965
|
-
"
|
|
15966
|
-
"
|
|
15967
|
-
"emptyTitle": "_2H9JWq_emptyTitle",
|
|
15968
|
-
"intervalRow": "_2H9JWq_intervalRow",
|
|
15969
|
-
"detailContent": "_2H9JWq_detailContent",
|
|
15970
|
-
"notice": "_2H9JWq_notice",
|
|
15971
|
-
"memoryTitle": "_2H9JWq_memoryTitle",
|
|
15972
|
-
"timeCell": "_2H9JWq_timeCell",
|
|
16053
|
+
"promotionConfirm": "_2H9JWq_promotionConfirm",
|
|
16054
|
+
"sourceMore": "_2H9JWq_sourceMore",
|
|
16055
|
+
"rowActions": "_2H9JWq_rowActions",
|
|
15973
16056
|
"reviewContent": "_2H9JWq_reviewContent",
|
|
15974
|
-
"
|
|
15975
|
-
"state": "_2H9JWq_state",
|
|
15976
|
-
"intervalInput": "_2H9JWq_intervalInput",
|
|
16057
|
+
"sectionHint": "_2H9JWq_sectionHint",
|
|
15977
16058
|
"pausedNotice": "_2H9JWq_pausedNotice",
|
|
15978
|
-
"
|
|
15979
|
-
"detailBody": "_2H9JWq_detailBody",
|
|
16059
|
+
"tableWrap": "_2H9JWq_tableWrap",
|
|
15980
16060
|
"sourceLabel": "_2H9JWq_sourceLabel",
|
|
15981
|
-
"
|
|
16061
|
+
"table": "_2H9JWq_table",
|
|
16062
|
+
"page": "_2H9JWq_page",
|
|
15982
16063
|
"sourceTime": "_2H9JWq_sourceTime",
|
|
15983
|
-
"detailMeta": "_2H9JWq_detailMeta",
|
|
15984
|
-
"intervalCopy": "_2H9JWq_intervalCopy",
|
|
15985
|
-
"selfApprovalHint": "_2H9JWq_selfApprovalHint",
|
|
15986
16064
|
"actionsCell": "_2H9JWq_actionsCell",
|
|
15987
|
-
"
|
|
16065
|
+
"intervalLabel": "_2H9JWq_intervalLabel",
|
|
16066
|
+
"error": "_2H9JWq_error",
|
|
15988
16067
|
"intervalUnit": "_2H9JWq_intervalUnit",
|
|
15989
|
-
"
|
|
16068
|
+
"search": "_2H9JWq_search",
|
|
16069
|
+
"footer": "_2H9JWq_footer",
|
|
16070
|
+
"switchGroup": "_2H9JWq_switchGroup",
|
|
16071
|
+
"detailBody": "_2H9JWq_detailBody",
|
|
16072
|
+
"selfApprovalHint": "_2H9JWq_selfApprovalHint",
|
|
16073
|
+
"promotionChip": "_2H9JWq_promotionChip",
|
|
16074
|
+
"promotionNotice": "_2H9JWq_promotionNotice",
|
|
16075
|
+
"empty": "_2H9JWq_empty",
|
|
16076
|
+
"hint": "_2H9JWq_hint",
|
|
16077
|
+
"memoryCell": "_2H9JWq_memoryCell",
|
|
16078
|
+
"intervalControls": "_2H9JWq_intervalControls",
|
|
16079
|
+
"promotionForm": "_2H9JWq_promotionForm",
|
|
16080
|
+
"textarea": "_2H9JWq_textarea",
|
|
16081
|
+
"switchState": "_2H9JWq_switchState",
|
|
16082
|
+
"detailContent": "_2H9JWq_detailContent",
|
|
16083
|
+
"timeCell": "_2H9JWq_timeCell",
|
|
16084
|
+
"state": "_2H9JWq_state",
|
|
15990
16085
|
"detailLabel": "_2H9JWq_detailLabel",
|
|
16086
|
+
"select": "_2H9JWq_select",
|
|
16087
|
+
"emptyTitle": "_2H9JWq_emptyTitle",
|
|
16088
|
+
"intervalHint": "_2H9JWq_intervalHint",
|
|
15991
16089
|
"sectionTitle": "_2H9JWq_sectionTitle",
|
|
16090
|
+
"actionsHead": "_2H9JWq_actionsHead",
|
|
15992
16091
|
"evidence": "_2H9JWq_evidence",
|
|
16092
|
+
"header": "_2H9JWq_header",
|
|
16093
|
+
"errorDetail": "_2H9JWq_errorDetail",
|
|
16094
|
+
"toolbar": "_2H9JWq_toolbar",
|
|
16095
|
+
"detailMeta": "_2H9JWq_detailMeta",
|
|
16096
|
+
"memoryTitle": "_2H9JWq_memoryTitle",
|
|
16097
|
+
"promotionMemory": "_2H9JWq_promotionMemory",
|
|
16098
|
+
"intervalSaved": "_2H9JWq_intervalSaved",
|
|
16099
|
+
"typeChip": "_2H9JWq_typeChip",
|
|
16100
|
+
"privacyChip": "_2H9JWq_privacyChip",
|
|
16101
|
+
"title": "_2H9JWq_title",
|
|
15993
16102
|
"intervalError": "_2H9JWq_intervalError",
|
|
15994
16103
|
"noticeRow": "_2H9JWq_noticeRow",
|
|
15995
|
-
"
|
|
15996
|
-
"
|
|
16104
|
+
"notice": "_2H9JWq_notice",
|
|
16105
|
+
"promotionSection": "_2H9JWq_promotionSection",
|
|
16106
|
+
"intervalRow": "_2H9JWq_intervalRow",
|
|
15997
16107
|
"emptyBody": "_2H9JWq_emptyBody",
|
|
15998
|
-
"
|
|
15999
|
-
"
|
|
16000
|
-
"
|
|
16001
|
-
"promotionChip": "_2H9JWq_promotionChip",
|
|
16002
|
-
"promotionConfirm": "_2H9JWq_promotionConfirm",
|
|
16003
|
-
"switchGroup": "_2H9JWq_switchGroup",
|
|
16004
|
-
"tableWrap": "_2H9JWq_tableWrap",
|
|
16005
|
-
"error": "_2H9JWq_error",
|
|
16006
|
-
"intervalLabel": "_2H9JWq_intervalLabel",
|
|
16007
|
-
"intervalSaved": "_2H9JWq_intervalSaved",
|
|
16008
|
-
"typeChip": "_2H9JWq_typeChip",
|
|
16009
|
-
"memoryCell": "_2H9JWq_memoryCell",
|
|
16010
|
-
"sectionHint": "_2H9JWq_sectionHint",
|
|
16011
|
-
"intervalHint": "_2H9JWq_intervalHint",
|
|
16012
|
-
"hint": "_2H9JWq_hint",
|
|
16013
|
-
"select": "_2H9JWq_select"
|
|
16108
|
+
"intervalInput": "_2H9JWq_intervalInput",
|
|
16109
|
+
"sourceList": "_2H9JWq_sourceList",
|
|
16110
|
+
"intervalCopy": "_2H9JWq_intervalCopy"
|
|
16014
16111
|
};
|
|
16015
16112
|
//#endregion
|
|
16016
16113
|
//#region src/client/KnowledgeMemory.tsx
|
|
@@ -16237,19 +16334,36 @@ window.__ModuleLoader__.load({
|
|
|
16237
16334
|
})]
|
|
16238
16335
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
16239
16336
|
className: KnowledgeMemory_module_css_default.switchGroup,
|
|
16240
|
-
children: [
|
|
16241
|
-
|
|
16242
|
-
|
|
16243
|
-
|
|
16244
|
-
|
|
16245
|
-
|
|
16246
|
-
|
|
16247
|
-
|
|
16248
|
-
},
|
|
16249
|
-
|
|
16250
|
-
|
|
16337
|
+
children: [
|
|
16338
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
16339
|
+
variant: "ghost",
|
|
16340
|
+
size: "sm",
|
|
16341
|
+
"data-testid": "memory-quick-config",
|
|
16342
|
+
disabled: props.quickConfigBusy,
|
|
16343
|
+
onClick: props.onQuickConfig,
|
|
16344
|
+
children: t("memoryQuickConfig")
|
|
16345
|
+
}),
|
|
16346
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
16347
|
+
className: KnowledgeMemory_module_css_default.switchState,
|
|
16348
|
+
children: props.enabled ? t("memoryEnabled") : t("memoryPaused")
|
|
16349
|
+
}),
|
|
16350
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Switch, {
|
|
16351
|
+
checked: props.enabled,
|
|
16352
|
+
disabled: props.settingsLoading || props.toggleBusy,
|
|
16353
|
+
onChange: (next) => {
|
|
16354
|
+
props.onToggleRequest(next);
|
|
16355
|
+
},
|
|
16356
|
+
label: t("memorySwitchLabel")
|
|
16357
|
+
})
|
|
16358
|
+
]
|
|
16251
16359
|
})]
|
|
16252
16360
|
}),
|
|
16361
|
+
props.quickConfigError !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
16362
|
+
className: KnowledgeMemory_module_css_default.error,
|
|
16363
|
+
role: "alert",
|
|
16364
|
+
"data-testid": "memory-quick-config-error",
|
|
16365
|
+
children: props.quickConfigError
|
|
16366
|
+
}),
|
|
16253
16367
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
|
|
16254
16368
|
className: KnowledgeMemory_module_css_default.intervalRow,
|
|
16255
16369
|
"data-testid": "memory-interval",
|
|
@@ -16306,6 +16420,95 @@ window.__ModuleLoader__.load({
|
|
|
16306
16420
|
})
|
|
16307
16421
|
]
|
|
16308
16422
|
}),
|
|
16423
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
|
|
16424
|
+
className: KnowledgeMemory_module_css_default.intervalRow,
|
|
16425
|
+
"data-testid": "memory-subagents",
|
|
16426
|
+
"data-saved-subagents": props.guardianMaxSubagents,
|
|
16427
|
+
children: [
|
|
16428
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
16429
|
+
className: KnowledgeMemory_module_css_default.intervalCopy,
|
|
16430
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
16431
|
+
className: KnowledgeMemory_module_css_default.intervalLabel,
|
|
16432
|
+
children: t("memorySubagentsLabel")
|
|
16433
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
16434
|
+
className: KnowledgeMemory_module_css_default.intervalHint,
|
|
16435
|
+
children: t("memorySubagentsHint").replace("{min}", String(props.subagentsMin)).replace("{max}", String(props.subagentsMax))
|
|
16436
|
+
})]
|
|
16437
|
+
}),
|
|
16438
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
16439
|
+
className: KnowledgeMemory_module_css_default.intervalControls,
|
|
16440
|
+
children: [
|
|
16441
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Input, {
|
|
16442
|
+
type: "number",
|
|
16443
|
+
className: KnowledgeMemory_module_css_default.intervalInput,
|
|
16444
|
+
min: props.subagentsMin,
|
|
16445
|
+
max: props.subagentsMax,
|
|
16446
|
+
step: 1,
|
|
16447
|
+
value: props.subagentsDraft,
|
|
16448
|
+
disabled: props.subagentsBusy || props.settingsLoading,
|
|
16449
|
+
"aria-label": t("memorySubagentsLabel"),
|
|
16450
|
+
onChange: (event) => {
|
|
16451
|
+
props.onSubagentsDraftChange(event.target.value);
|
|
16452
|
+
}
|
|
16453
|
+
}),
|
|
16454
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
16455
|
+
variant: "ghost",
|
|
16456
|
+
size: "sm",
|
|
16457
|
+
disabled: props.subagentsBusy || props.settingsLoading,
|
|
16458
|
+
onClick: props.onSaveSubagents,
|
|
16459
|
+
children: t("memorySaveSubagents")
|
|
16460
|
+
}),
|
|
16461
|
+
props.subagentsSaved && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
16462
|
+
className: KnowledgeMemory_module_css_default.intervalSaved,
|
|
16463
|
+
role: "status",
|
|
16464
|
+
children: t("memorySubagentsSaved")
|
|
16465
|
+
})
|
|
16466
|
+
]
|
|
16467
|
+
}),
|
|
16468
|
+
props.subagentsError !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
16469
|
+
className: KnowledgeMemory_module_css_default.intervalError,
|
|
16470
|
+
role: "alert",
|
|
16471
|
+
children: props.subagentsError
|
|
16472
|
+
})
|
|
16473
|
+
]
|
|
16474
|
+
}),
|
|
16475
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
|
|
16476
|
+
className: KnowledgeMemory_module_css_default.intervalRow,
|
|
16477
|
+
"data-testid": "memory-git-remote",
|
|
16478
|
+
"data-saved-git-remote": props.gitRemoteEnabled,
|
|
16479
|
+
children: [
|
|
16480
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
16481
|
+
className: KnowledgeMemory_module_css_default.intervalCopy,
|
|
16482
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
16483
|
+
className: KnowledgeMemory_module_css_default.intervalLabel,
|
|
16484
|
+
children: t("memoryGitRemoteLabel")
|
|
16485
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
16486
|
+
className: KnowledgeMemory_module_css_default.intervalHint,
|
|
16487
|
+
children: t("memoryGitRemoteHint")
|
|
16488
|
+
})]
|
|
16489
|
+
}),
|
|
16490
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
16491
|
+
className: KnowledgeMemory_module_css_default.intervalControls,
|
|
16492
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Switch, {
|
|
16493
|
+
checked: props.gitRemoteEnabled,
|
|
16494
|
+
disabled: props.gitRemoteBusy || props.settingsLoading,
|
|
16495
|
+
onChange: (next) => {
|
|
16496
|
+
props.onToggleGitRemote(next);
|
|
16497
|
+
},
|
|
16498
|
+
label: t("memoryGitRemoteLabel")
|
|
16499
|
+
}), props.gitRemoteSaved && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
16500
|
+
className: KnowledgeMemory_module_css_default.intervalSaved,
|
|
16501
|
+
role: "status",
|
|
16502
|
+
children: t("memoryGitRemoteSaved")
|
|
16503
|
+
})]
|
|
16504
|
+
}),
|
|
16505
|
+
props.gitRemoteError !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
16506
|
+
className: KnowledgeMemory_module_css_default.intervalError,
|
|
16507
|
+
role: "alert",
|
|
16508
|
+
children: props.gitRemoteError
|
|
16509
|
+
})
|
|
16510
|
+
]
|
|
16511
|
+
}),
|
|
16309
16512
|
props.settingsError !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
16310
16513
|
className: KnowledgeMemory_module_css_default.noticeRow,
|
|
16311
16514
|
role: "alert",
|
|
@@ -16835,7 +17038,7 @@ window.__ModuleLoader__.load({
|
|
|
16835
17038
|
* @returns The page with its live state.
|
|
16836
17039
|
*/
|
|
16837
17040
|
function KnowledgeMemory(props) {
|
|
16838
|
-
const { t, locale, onOpenSource } = props;
|
|
17041
|
+
const { t, locale, onOpenSource, quickConfig } = props;
|
|
16839
17042
|
const [enabled, setEnabled] = (0, react.useState)(false);
|
|
16840
17043
|
const [settingsLoading, setSettingsLoading] = (0, react.useState)(true);
|
|
16841
17044
|
const [settingsError, setSettingsError] = (0, react.useState)();
|
|
@@ -16846,6 +17049,19 @@ window.__ModuleLoader__.load({
|
|
|
16846
17049
|
const [intervalBusy, setIntervalBusy] = (0, react.useState)(false);
|
|
16847
17050
|
const [intervalError, setIntervalError] = (0, react.useState)();
|
|
16848
17051
|
const [intervalSaved, setIntervalSaved] = (0, react.useState)(false);
|
|
17052
|
+
const [guardianMaxSubagents, setGuardianMaxSubagents] = (0, react.useState)(4);
|
|
17053
|
+
const [subagentsMin, setSubagentsMin] = (0, react.useState)(1);
|
|
17054
|
+
const [subagentsMax, setSubagentsMax] = (0, react.useState)(8);
|
|
17055
|
+
const [subagentsDraft, setSubagentsDraft] = (0, react.useState)("4");
|
|
17056
|
+
const [subagentsBusy, setSubagentsBusy] = (0, react.useState)(false);
|
|
17057
|
+
const [subagentsError, setSubagentsError] = (0, react.useState)();
|
|
17058
|
+
const [subagentsSaved, setSubagentsSaved] = (0, react.useState)(false);
|
|
17059
|
+
const [gitRemoteEnabled, setGitRemoteEnabled] = (0, react.useState)(false);
|
|
17060
|
+
const [gitRemoteBusy, setGitRemoteBusy] = (0, react.useState)(false);
|
|
17061
|
+
const [gitRemoteError, setGitRemoteError] = (0, react.useState)();
|
|
17062
|
+
const [gitRemoteSaved, setGitRemoteSaved] = (0, react.useState)(false);
|
|
17063
|
+
const [quickConfigBusy, setQuickConfigBusy] = (0, react.useState)(false);
|
|
17064
|
+
const [quickConfigError, setQuickConfigError] = (0, react.useState)();
|
|
16849
17065
|
const [list, setList] = (0, react.useState)({
|
|
16850
17066
|
status: "loading",
|
|
16851
17067
|
entries: []
|
|
@@ -16889,6 +17105,18 @@ window.__ModuleLoader__.load({
|
|
|
16889
17105
|
setIntervalDraft(String(minutes));
|
|
16890
17106
|
setIntervalError(void 0);
|
|
16891
17107
|
setIntervalSaved(false);
|
|
17108
|
+
const subagents = numberField(body.guardianMaxSubagents, 4);
|
|
17109
|
+
const subagentsMin = numberField(body.subagentsMin, 1);
|
|
17110
|
+
const subagentsMax = numberField(body.subagentsMax, 8);
|
|
17111
|
+
setGuardianMaxSubagents(subagents);
|
|
17112
|
+
setSubagentsMin(subagentsMin);
|
|
17113
|
+
setSubagentsMax(subagentsMax);
|
|
17114
|
+
setSubagentsDraft(String(subagents));
|
|
17115
|
+
setSubagentsError(void 0);
|
|
17116
|
+
setSubagentsSaved(false);
|
|
17117
|
+
setGitRemoteEnabled(body.gitRemoteEnabled === true);
|
|
17118
|
+
setGitRemoteError(void 0);
|
|
17119
|
+
setGitRemoteSaved(false);
|
|
16892
17120
|
} catch (error) {
|
|
16893
17121
|
setSettingsError(failureText(error));
|
|
16894
17122
|
} finally {
|
|
@@ -17026,6 +17254,63 @@ window.__ModuleLoader__.load({
|
|
|
17026
17254
|
intervalMax,
|
|
17027
17255
|
t
|
|
17028
17256
|
]);
|
|
17257
|
+
const saveSubagents = (0, react.useCallback)(async () => {
|
|
17258
|
+
const parsed = Number(subagentsDraft);
|
|
17259
|
+
if (!Number.isInteger(parsed) || parsed < subagentsMin || parsed > subagentsMax) {
|
|
17260
|
+
setSubagentsError(t("memorySubagentsInvalid").replace("{min}", String(subagentsMin)).replace("{max}", String(subagentsMax)));
|
|
17261
|
+
setSubagentsSaved(false);
|
|
17262
|
+
return;
|
|
17263
|
+
}
|
|
17264
|
+
setSubagentsBusy(true);
|
|
17265
|
+
setSubagentsError(void 0);
|
|
17266
|
+
setSubagentsSaved(false);
|
|
17267
|
+
try {
|
|
17268
|
+
const body = await memoryRequest("memory.save-settings", { guardianMaxSubagents: parsed });
|
|
17269
|
+
if (body.error !== void 0) throw new Error(body.error);
|
|
17270
|
+
if (typeof body.enabled === "boolean") setEnabled(body.enabled);
|
|
17271
|
+
const saved = numberField(body.guardianMaxSubagents, parsed);
|
|
17272
|
+
setGuardianMaxSubagents(saved);
|
|
17273
|
+
setSubagentsDraft(String(saved));
|
|
17274
|
+
setSubagentsSaved(true);
|
|
17275
|
+
} catch (error) {
|
|
17276
|
+
setSubagentsError(failureText(error));
|
|
17277
|
+
} finally {
|
|
17278
|
+
setSubagentsBusy(false);
|
|
17279
|
+
}
|
|
17280
|
+
}, [
|
|
17281
|
+
subagentsDraft,
|
|
17282
|
+
subagentsMin,
|
|
17283
|
+
subagentsMax,
|
|
17284
|
+
t
|
|
17285
|
+
]);
|
|
17286
|
+
const saveGitRemote = (0, react.useCallback)(async (next) => {
|
|
17287
|
+
setGitRemoteBusy(true);
|
|
17288
|
+
setGitRemoteError(void 0);
|
|
17289
|
+
setGitRemoteSaved(false);
|
|
17290
|
+
try {
|
|
17291
|
+
const body = await memoryRequest("memory.save-settings", { gitRemoteEnabled: next });
|
|
17292
|
+
if (body.error !== void 0) throw new Error(body.error);
|
|
17293
|
+
if (typeof body.enabled === "boolean") setEnabled(body.enabled);
|
|
17294
|
+
setGitRemoteEnabled(typeof body.gitRemoteEnabled === "boolean" ? body.gitRemoteEnabled : next);
|
|
17295
|
+
setGitRemoteSaved(true);
|
|
17296
|
+
} catch (error) {
|
|
17297
|
+
setGitRemoteError(failureText(error));
|
|
17298
|
+
} finally {
|
|
17299
|
+
setGitRemoteBusy(false);
|
|
17300
|
+
}
|
|
17301
|
+
}, []);
|
|
17302
|
+
const runQuickConfig = (0, react.useCallback)(async () => {
|
|
17303
|
+
setQuickConfigBusy(true);
|
|
17304
|
+
setQuickConfigError(void 0);
|
|
17305
|
+
try {
|
|
17306
|
+
const outcome = await startMemoryQuickConfig(quickConfig);
|
|
17307
|
+
if (!outcome.ok) setQuickConfigError(t(outcome.failure === "prompt-failed" ? "memoryQuickConfigPromptFailed" : "memoryQuickConfigSessionFailed"));
|
|
17308
|
+
} catch (error) {
|
|
17309
|
+
setQuickConfigError(failureText(error));
|
|
17310
|
+
} finally {
|
|
17311
|
+
setQuickConfigBusy(false);
|
|
17312
|
+
}
|
|
17313
|
+
}, [quickConfig, t]);
|
|
17029
17314
|
const startEdit = (0, react.useCallback)((entry) => {
|
|
17030
17315
|
setDetail(void 0);
|
|
17031
17316
|
setEditError(void 0);
|
|
@@ -17211,6 +17496,33 @@ window.__ModuleLoader__.load({
|
|
|
17211
17496
|
onSaveInterval: () => {
|
|
17212
17497
|
saveInterval();
|
|
17213
17498
|
},
|
|
17499
|
+
guardianMaxSubagents,
|
|
17500
|
+
subagentsMin,
|
|
17501
|
+
subagentsMax,
|
|
17502
|
+
subagentsDraft,
|
|
17503
|
+
subagentsBusy,
|
|
17504
|
+
...subagentsError === void 0 ? {} : { subagentsError },
|
|
17505
|
+
subagentsSaved,
|
|
17506
|
+
onSubagentsDraftChange: (value) => {
|
|
17507
|
+
setSubagentsDraft(value);
|
|
17508
|
+
setSubagentsError(void 0);
|
|
17509
|
+
setSubagentsSaved(false);
|
|
17510
|
+
},
|
|
17511
|
+
onSaveSubagents: () => {
|
|
17512
|
+
saveSubagents();
|
|
17513
|
+
},
|
|
17514
|
+
gitRemoteEnabled,
|
|
17515
|
+
gitRemoteBusy,
|
|
17516
|
+
...gitRemoteError === void 0 ? {} : { gitRemoteError },
|
|
17517
|
+
gitRemoteSaved,
|
|
17518
|
+
onToggleGitRemote: (next) => {
|
|
17519
|
+
saveGitRemote(next);
|
|
17520
|
+
},
|
|
17521
|
+
quickConfigBusy,
|
|
17522
|
+
...quickConfigError === void 0 ? {} : { quickConfigError },
|
|
17523
|
+
onQuickConfig: () => {
|
|
17524
|
+
runQuickConfig();
|
|
17525
|
+
},
|
|
17214
17526
|
list,
|
|
17215
17527
|
query,
|
|
17216
17528
|
typeFilter,
|
|
@@ -17279,6 +17591,48 @@ window.__ModuleLoader__.load({
|
|
|
17279
17591
|
});
|
|
17280
17592
|
}
|
|
17281
17593
|
//#endregion
|
|
17594
|
+
//#region src/client/sessionLauncher.ts
|
|
17595
|
+
/**
|
|
17596
|
+
* Build the launcher from the client services this plugin can reach.
|
|
17597
|
+
*
|
|
17598
|
+
* A missing `sessions` service is not a load-time error: `createSession` throws a
|
|
17599
|
+
* named failure and `sendPrompt` answers false, so each caller reports the refusal
|
|
17600
|
+
* in its own surface instead of the whole plugin failing to mount.
|
|
17601
|
+
*
|
|
17602
|
+
* @param ctx - client context carrying `sessions` and `uiWorkspace`; undefined reads
|
|
17603
|
+
* as "no services", which the operations report instead of throwing at load.
|
|
17604
|
+
* @returns the launcher; `openSession` is absent only when neither service offers it.
|
|
17605
|
+
*/
|
|
17606
|
+
function createSessionLauncher(ctx) {
|
|
17607
|
+
const sessions = ctx?.get?.("sessions");
|
|
17608
|
+
const uiWorkspace = ctx?.get?.("uiWorkspace");
|
|
17609
|
+
return {
|
|
17610
|
+
createSession: async () => {
|
|
17611
|
+
if (sessions === void 0) throw new Error("sessions service unavailable");
|
|
17612
|
+
return sessions.create({});
|
|
17613
|
+
},
|
|
17614
|
+
sendPrompt: async (sessionId, text) => {
|
|
17615
|
+
if (sessions === void 0) return false;
|
|
17616
|
+
try {
|
|
17617
|
+
return await sessions.using(sessionId, { source: "controllerOperation" }, async (reference) => {
|
|
17618
|
+
await reference.ready;
|
|
17619
|
+
return (await reference.binding.session.prompt([{
|
|
17620
|
+
type: "text",
|
|
17621
|
+
text
|
|
17622
|
+
}], "queue")).ok === true;
|
|
17623
|
+
});
|
|
17624
|
+
} catch {
|
|
17625
|
+
return false;
|
|
17626
|
+
}
|
|
17627
|
+
},
|
|
17628
|
+
...uiWorkspace?.openSession === void 0 ? sessions?.open === void 0 ? {} : { openSession: (id) => {
|
|
17629
|
+
sessions.open?.(id);
|
|
17630
|
+
} } : { openSession: (id) => {
|
|
17631
|
+
uiWorkspace.openSession?.(id);
|
|
17632
|
+
} }
|
|
17633
|
+
};
|
|
17634
|
+
}
|
|
17635
|
+
//#endregion
|
|
17282
17636
|
//#region src/client/KnowledgeSearch.tsx
|
|
17283
17637
|
/**
|
|
17284
17638
|
* The knowledge base's search: find a document, then open it.
|
|
@@ -17486,33 +17840,33 @@ window.__ModuleLoader__.load({
|
|
|
17486
17840
|
tag.dataset.pluginCss = tagId$9;
|
|
17487
17841
|
tag.textContent = css$9;
|
|
17488
17842
|
document.head.appendChild(tag);
|
|
17489
|
-
}
|
|
17490
|
-
var KnowledgeListing_module_css_default = {
|
|
17491
|
-
"kb-row-in": "_95AMVa_kb-row-in",
|
|
17492
|
-
"entryRef": "_95AMVa_entryRef",
|
|
17493
|
-
"cards": "_95AMVa_cards",
|
|
17494
|
-
"entryTime": "_95AMVa_entryTime",
|
|
17495
|
-
"entryCheck": "_95AMVa_entryCheck",
|
|
17496
|
-
"cardName": "_95AMVa_cardName",
|
|
17497
|
-
"entryName": "_95AMVa_entryName",
|
|
17843
|
+
}
|
|
17844
|
+
var KnowledgeListing_module_css_default = {
|
|
17498
17845
|
"pinDropZone": "_95AMVa_pinDropZone",
|
|
17499
|
-
"
|
|
17500
|
-
"card": "_95AMVa_card",
|
|
17846
|
+
"emptyAction": "_95AMVa_emptyAction",
|
|
17501
17847
|
"empty": "_95AMVa_empty",
|
|
17502
|
-
"
|
|
17503
|
-
"
|
|
17848
|
+
"emptyGlyph": "_95AMVa_emptyGlyph",
|
|
17849
|
+
"entryRef": "_95AMVa_entryRef",
|
|
17850
|
+
"emptyTitle": "_95AMVa_emptyTitle",
|
|
17504
17851
|
"entryPin": "_95AMVa_entryPin",
|
|
17852
|
+
"entry": "_95AMVa_entry",
|
|
17505
17853
|
"cardDir": "_95AMVa_cardDir",
|
|
17506
|
-
"
|
|
17507
|
-
"
|
|
17854
|
+
"entryFavorite": "_95AMVa_entryFavorite",
|
|
17855
|
+
"entryTime": "_95AMVa_entryTime",
|
|
17856
|
+
"card": "_95AMVa_card",
|
|
17857
|
+
"entryGlyph": "_95AMVa_entryGlyph",
|
|
17858
|
+
"kb-row-in": "_95AMVa_kb-row-in",
|
|
17859
|
+
"cards": "_95AMVa_cards",
|
|
17860
|
+
"entryName": "_95AMVa_entryName",
|
|
17508
17861
|
"entryChildren": "_95AMVa_entryChildren",
|
|
17509
|
-
"
|
|
17510
|
-
"emptyTitle": "_95AMVa_emptyTitle",
|
|
17862
|
+
"entryDir": "_95AMVa_entryDir",
|
|
17511
17863
|
"entries": "_95AMVa_entries",
|
|
17864
|
+
"cardName": "_95AMVa_cardName",
|
|
17865
|
+
"cardItem": "_95AMVa_cardItem",
|
|
17866
|
+
"cardMeta": "_95AMVa_cardMeta",
|
|
17867
|
+
"cardGlyph": "_95AMVa_cardGlyph",
|
|
17512
17868
|
"cardTime": "_95AMVa_cardTime",
|
|
17513
|
-
"
|
|
17514
|
-
"entry": "_95AMVa_entry",
|
|
17515
|
-
"emptyGlyph": "_95AMVa_emptyGlyph"
|
|
17869
|
+
"entryCheck": "_95AMVa_entryCheck"
|
|
17516
17870
|
};
|
|
17517
17871
|
//#endregion
|
|
17518
17872
|
//#region src/client/listingFilter.ts
|
|
@@ -18157,42 +18511,42 @@ window.__ModuleLoader__.load({
|
|
|
18157
18511
|
document.head.appendChild(tag);
|
|
18158
18512
|
}
|
|
18159
18513
|
var KnowledgeProgressPopover_module_css_default = {
|
|
18160
|
-
"dialog": "x_PPca_dialog",
|
|
18161
|
-
"summaryLabel": "x_PPca_summaryLabel",
|
|
18162
|
-
"badge": "x_PPca_badge",
|
|
18163
|
-
"summaryItem": "x_PPca_summaryItem",
|
|
18164
|
-
"cardPath": "x_PPca_cardPath",
|
|
18165
|
-
"empty": "x_PPca_empty",
|
|
18166
|
-
"dialogHead": "x_PPca_dialogHead",
|
|
18167
|
-
"dialogShell": "x_PPca_dialogShell",
|
|
18168
18514
|
"group": "x_PPca_group",
|
|
18169
|
-
"progressPercent": "x_PPca_progressPercent",
|
|
18170
|
-
"dialogContent": "x_PPca_dialogContent",
|
|
18171
|
-
"list": "x_PPca_list",
|
|
18172
18515
|
"cardRow": "x_PPca_cardRow",
|
|
18173
|
-
"progressRow": "x_PPca_progressRow",
|
|
18174
18516
|
"cardReason": "x_PPca_cardReason",
|
|
18175
|
-
"
|
|
18176
|
-
"dialogTitleRow": "x_PPca_dialogTitleRow",
|
|
18177
|
-
"progressFill": "x_PPca_progressFill",
|
|
18517
|
+
"bell": "x_PPca_bell",
|
|
18178
18518
|
"dialogTitle": "x_PPca_dialogTitle",
|
|
18179
|
-
"
|
|
18180
|
-
"
|
|
18181
|
-
"
|
|
18182
|
-
"
|
|
18183
|
-
"
|
|
18184
|
-
"
|
|
18519
|
+
"progressPercent": "x_PPca_progressPercent",
|
|
18520
|
+
"summaryItem": "x_PPca_summaryItem",
|
|
18521
|
+
"summaryValue": "x_PPca_summaryValue",
|
|
18522
|
+
"cardPath": "x_PPca_cardPath",
|
|
18523
|
+
"progressTrack": "x_PPca_progressTrack",
|
|
18524
|
+
"badgeBusy": "x_PPca_badgeBusy",
|
|
18525
|
+
"progressFill": "x_PPca_progressFill",
|
|
18526
|
+
"cardRawReason": "x_PPca_cardRawReason",
|
|
18185
18527
|
"dialogClose": "x_PPca_dialogClose",
|
|
18528
|
+
"badgeFailed": "x_PPca_badgeFailed",
|
|
18529
|
+
"dialogTitleRow": "x_PPca_dialogTitleRow",
|
|
18186
18530
|
"cardName": "x_PPca_cardName",
|
|
18187
|
-
"
|
|
18188
|
-
"
|
|
18189
|
-
"
|
|
18531
|
+
"badgeDone": "x_PPca_badgeDone",
|
|
18532
|
+
"dialogHead": "x_PPca_dialogHead",
|
|
18533
|
+
"dialogContent": "x_PPca_dialogContent",
|
|
18534
|
+
"card": "x_PPca_card",
|
|
18535
|
+
"titleRatio": "x_PPca_titleRatio",
|
|
18536
|
+
"summaryLabel": "x_PPca_summaryLabel",
|
|
18537
|
+
"dialog": "x_PPca_dialog",
|
|
18538
|
+
"progressFillFailed": "x_PPca_progressFillFailed",
|
|
18539
|
+
"summary": "x_PPca_summary",
|
|
18190
18540
|
"progressFillIndeterminate": "x_PPca_progressFillIndeterminate",
|
|
18541
|
+
"footer": "x_PPca_footer",
|
|
18542
|
+
"empty": "x_PPca_empty",
|
|
18543
|
+
"list": "x_PPca_list",
|
|
18544
|
+
"cardProgress": "x_PPca_cardProgress",
|
|
18545
|
+
"badge": "x_PPca_badge",
|
|
18191
18546
|
"cardTime": "x_PPca_cardTime",
|
|
18192
|
-
"
|
|
18193
|
-
"
|
|
18194
|
-
"
|
|
18195
|
-
"cardRawReason": "x_PPca_cardRawReason"
|
|
18547
|
+
"progressRow": "x_PPca_progressRow",
|
|
18548
|
+
"dialogShell": "x_PPca_dialogShell",
|
|
18549
|
+
"cardActions": "x_PPca_cardActions"
|
|
18196
18550
|
};
|
|
18197
18551
|
//#endregion
|
|
18198
18552
|
//#region src/client/taskQueueStore.ts
|
|
@@ -19044,8 +19398,8 @@ window.__ModuleLoader__.load({
|
|
|
19044
19398
|
}
|
|
19045
19399
|
var KnowledgeScopeTabs_module_css_default = {
|
|
19046
19400
|
"tabSelected": "UvtP4W_tabSelected",
|
|
19047
|
-
"
|
|
19048
|
-
"
|
|
19401
|
+
"tabs": "UvtP4W_tabs",
|
|
19402
|
+
"tab": "UvtP4W_tab"
|
|
19049
19403
|
};
|
|
19050
19404
|
//#endregion
|
|
19051
19405
|
//#region src/client/graph/KnowledgeScopeTabs.tsx
|
|
@@ -19155,10 +19509,10 @@ window.__ModuleLoader__.load({
|
|
|
19155
19509
|
}
|
|
19156
19510
|
var OriginBadges_module_css_default = {
|
|
19157
19511
|
"badges": "iQ1oAG_badges",
|
|
19512
|
+
"reviewStatus": "iQ1oAG_reviewStatus",
|
|
19158
19513
|
"origin": "iQ1oAG_origin",
|
|
19159
19514
|
"authority": "iQ1oAG_authority",
|
|
19160
19515
|
"badge": "iQ1oAG_badge",
|
|
19161
|
-
"reviewStatus": "iQ1oAG_reviewStatus",
|
|
19162
19516
|
"compact": "iQ1oAG_compact"
|
|
19163
19517
|
};
|
|
19164
19518
|
//#endregion
|
|
@@ -19279,32 +19633,32 @@ window.__ModuleLoader__.load({
|
|
|
19279
19633
|
document.head.appendChild(tag);
|
|
19280
19634
|
}
|
|
19281
19635
|
var KnowledgeGraphTree_module_css_default = {
|
|
19282
|
-
"
|
|
19283
|
-
"
|
|
19284
|
-
"computedBadges": "JLttwq_computedBadges",
|
|
19285
|
-
"chevron": "JLttwq_chevron",
|
|
19286
|
-
"error": "JLttwq_error",
|
|
19287
|
-
"rowBadges": "JLttwq_rowBadges",
|
|
19636
|
+
"chevronPlaceholder": "JLttwq_chevronPlaceholder",
|
|
19637
|
+
"retry": "JLttwq_retry",
|
|
19288
19638
|
"explorerRow": "JLttwq_explorerRow",
|
|
19639
|
+
"topicActive": "JLttwq_topicActive",
|
|
19640
|
+
"chevron": "JLttwq_chevron",
|
|
19289
19641
|
"kg-row-in": "JLttwq_kg-row-in",
|
|
19290
|
-
"retry": "JLttwq_retry",
|
|
19291
|
-
"topicRow": "JLttwq_topicRow",
|
|
19292
|
-
"topicName": "JLttwq_topicName",
|
|
19293
|
-
"scope": "JLttwq_scope",
|
|
19294
|
-
"explorerDir": "JLttwq_explorerDir",
|
|
19295
|
-
"topicGlyph": "JLttwq_topicGlyph",
|
|
19296
|
-
"graphGlyph": "JLttwq_graphGlyph",
|
|
19297
|
-
"computedBadge": "JLttwq_computedBadge",
|
|
19298
19642
|
"emptyRow": "JLttwq_emptyRow",
|
|
19299
|
-
"
|
|
19300
|
-
"
|
|
19643
|
+
"computedBadge": "JLttwq_computedBadge",
|
|
19644
|
+
"explorerDir": "JLttwq_explorerDir",
|
|
19645
|
+
"explorerRowSelected": "JLttwq_explorerRowSelected",
|
|
19646
|
+
"topicName": "JLttwq_topicName",
|
|
19301
19647
|
"tree": "JLttwq_tree",
|
|
19302
|
-
"
|
|
19648
|
+
"scope": "JLttwq_scope",
|
|
19649
|
+
"computedBadges": "JLttwq_computedBadges",
|
|
19650
|
+
"readOnlyBadge": "JLttwq_readOnlyBadge",
|
|
19303
19651
|
"state": "JLttwq_state",
|
|
19652
|
+
"graphGlyph": "JLttwq_graphGlyph",
|
|
19653
|
+
"topicGlyph": "JLttwq_topicGlyph",
|
|
19654
|
+
"topicRow": "JLttwq_topicRow",
|
|
19304
19655
|
"emptyTitle": "JLttwq_emptyTitle",
|
|
19305
|
-
"
|
|
19656
|
+
"error": "JLttwq_error",
|
|
19306
19657
|
"explorerName": "JLttwq_explorerName",
|
|
19307
|
-
"
|
|
19658
|
+
"rowActive": "JLttwq_rowActive",
|
|
19659
|
+
"explorerTime": "JLttwq_explorerTime",
|
|
19660
|
+
"detail": "JLttwq_detail",
|
|
19661
|
+
"rowBadges": "JLttwq_rowBadges"
|
|
19308
19662
|
};
|
|
19309
19663
|
//#endregion
|
|
19310
19664
|
//#region src/client/graph/KnowledgeGraphTree.tsx
|
|
@@ -19693,19 +20047,19 @@ window.__ModuleLoader__.load({
|
|
|
19693
20047
|
document.head.appendChild(tag);
|
|
19694
20048
|
}
|
|
19695
20049
|
var KnowledgeGraphView_module_css_default = {
|
|
20050
|
+
"frame": "Dk9FoG_frame",
|
|
20051
|
+
"state": "Dk9FoG_state",
|
|
20052
|
+
"emptyTitle": "Dk9FoG_emptyTitle",
|
|
20053
|
+
"badgeBar": "Dk9FoG_badgeBar",
|
|
19696
20054
|
"error": "Dk9FoG_error",
|
|
19697
|
-
"
|
|
20055
|
+
"detail": "Dk9FoG_detail",
|
|
19698
20056
|
"retry": "Dk9FoG_retry",
|
|
19699
|
-
"
|
|
19700
|
-
"filterField": "Dk9FoG_filterField",
|
|
19701
|
-
"filterSelect": "Dk9FoG_filterSelect",
|
|
19702
|
-
"overviewBar": "Dk9FoG_overviewBar",
|
|
20057
|
+
"overviewLabel": "Dk9FoG_overviewLabel",
|
|
19703
20058
|
"host": "Dk9FoG_host",
|
|
19704
|
-
"
|
|
20059
|
+
"filterSelect": "Dk9FoG_filterSelect",
|
|
19705
20060
|
"badgeBarLabel": "Dk9FoG_badgeBarLabel",
|
|
19706
|
-
"
|
|
19707
|
-
"
|
|
19708
|
-
"frame": "Dk9FoG_frame"
|
|
20061
|
+
"overviewBar": "Dk9FoG_overviewBar",
|
|
20062
|
+
"filterField": "Dk9FoG_filterField"
|
|
19709
20063
|
};
|
|
19710
20064
|
//#endregion
|
|
19711
20065
|
//#region src/client/graph/KnowledgeGraphView.tsx
|
|
@@ -20772,22 +21126,22 @@ window.__ModuleLoader__.load({
|
|
|
20772
21126
|
document.head.appendChild(tag);
|
|
20773
21127
|
}
|
|
20774
21128
|
var KnowledgeFilePreview_module_css_default = {
|
|
20775
|
-
"body": "_7KbGuq_body",
|
|
20776
|
-
"error": "_7KbGuq_error",
|
|
20777
21129
|
"head": "_7KbGuq_head",
|
|
20778
|
-
"binarySize": "_7KbGuq_binarySize",
|
|
20779
21130
|
"title": "_7KbGuq_title",
|
|
20780
|
-
"
|
|
20781
|
-
"
|
|
21131
|
+
"body": "_7KbGuq_body",
|
|
21132
|
+
"binaryMeta": "_7KbGuq_binaryMeta",
|
|
21133
|
+
"binarySize": "_7KbGuq_binarySize",
|
|
20782
21134
|
"root": "_7KbGuq_root",
|
|
20783
|
-
"
|
|
20784
|
-
"
|
|
21135
|
+
"error": "_7KbGuq_error",
|
|
21136
|
+
"binaryName": "_7KbGuq_binaryName",
|
|
20785
21137
|
"binaryIcon": "_7KbGuq_binaryIcon",
|
|
20786
|
-
"binaryMeta": "_7KbGuq_binaryMeta",
|
|
20787
21138
|
"path": "_7KbGuq_path",
|
|
20788
|
-
"
|
|
20789
|
-
"
|
|
20790
|
-
"
|
|
21139
|
+
"close": "_7KbGuq_close",
|
|
21140
|
+
"heading": "_7KbGuq_heading",
|
|
21141
|
+
"binaryCard": "_7KbGuq_binaryCard",
|
|
21142
|
+
"binaryAction": "_7KbGuq_binaryAction",
|
|
21143
|
+
"pre": "_7KbGuq_pre",
|
|
21144
|
+
"notice": "_7KbGuq_notice"
|
|
20791
21145
|
};
|
|
20792
21146
|
//#endregion
|
|
20793
21147
|
//#region src/client/KnowledgeFilePreview.tsx
|
|
@@ -21227,14 +21581,14 @@ window.__ModuleLoader__.load({
|
|
|
21227
21581
|
document.head.appendChild(tag);
|
|
21228
21582
|
}
|
|
21229
21583
|
var KnowledgeReferencePicker_module_css_default = {
|
|
21230
|
-
"
|
|
21584
|
+
"error": "uUHBaG_error",
|
|
21231
21585
|
"body": "uUHBaG_body",
|
|
21232
|
-
"
|
|
21233
|
-
"
|
|
21586
|
+
"footer": "uUHBaG_footer",
|
|
21587
|
+
"rowName": "uUHBaG_rowName",
|
|
21234
21588
|
"rowWhen": "uUHBaG_rowWhen",
|
|
21235
|
-
"
|
|
21236
|
-
"
|
|
21237
|
-
"
|
|
21589
|
+
"content": "uUHBaG_content",
|
|
21590
|
+
"empty": "uUHBaG_empty",
|
|
21591
|
+
"list": "uUHBaG_list"
|
|
21238
21592
|
};
|
|
21239
21593
|
//#endregion
|
|
21240
21594
|
//#region src/client/insertReadiness.ts
|
|
@@ -21796,10 +22150,10 @@ window.__ModuleLoader__.load({
|
|
|
21796
22150
|
document.head.appendChild(tag);
|
|
21797
22151
|
}
|
|
21798
22152
|
var KnowledgeSelectionBar_module_css_default = {
|
|
22153
|
+
"actions": "y8212a_actions",
|
|
21799
22154
|
"action": "y8212a_action",
|
|
21800
22155
|
"text": "y8212a_text",
|
|
21801
|
-
"bar": "y8212a_bar"
|
|
21802
|
-
"actions": "y8212a_actions"
|
|
22156
|
+
"bar": "y8212a_bar"
|
|
21803
22157
|
};
|
|
21804
22158
|
//#endregion
|
|
21805
22159
|
//#region src/client/KnowledgeSelectionBar.tsx
|
|
@@ -23510,6 +23864,7 @@ window.__ModuleLoader__.load({
|
|
|
23510
23864
|
scope !== "graph" && rendered.kind === "memory" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(KnowledgeMemory, {
|
|
23511
23865
|
t,
|
|
23512
23866
|
...props.locale === void 0 ? {} : { locale: props.locale },
|
|
23867
|
+
quickConfig: createSessionLauncher(props.ctx),
|
|
23513
23868
|
onOpenSource: (entry) => {
|
|
23514
23869
|
const sessionId = entry.source?.sessionId ?? entry.sourceRefs?.[0]?.sessionId;
|
|
23515
23870
|
if (sessionId === void 0 || sessionId === "") return;
|
|
@@ -24457,58 +24812,58 @@ window.__ModuleLoader__.load({
|
|
|
24457
24812
|
document.head.appendChild(tag);
|
|
24458
24813
|
}
|
|
24459
24814
|
var WorkflowPlaza_module_css_default = {
|
|
24460
|
-
"
|
|
24461
|
-
"
|
|
24462
|
-
"cronInput": "lYC_0W_cronInput",
|
|
24463
|
-
"headerRow": "lYC_0W_headerRow",
|
|
24464
|
-
"body": "lYC_0W_body",
|
|
24465
|
-
"detailFacts": "lYC_0W_detailFacts",
|
|
24466
|
-
"mineTags": "lYC_0W_mineTags",
|
|
24467
|
-
"reviewActions": "lYC_0W_reviewActions",
|
|
24468
|
-
"cardCron": "lYC_0W_cardCron",
|
|
24469
|
-
"mineFooter": "lYC_0W_mineFooter",
|
|
24470
|
-
"cards": "lYC_0W_cards",
|
|
24471
|
-
"dialogIntro": "lYC_0W_dialogIntro",
|
|
24815
|
+
"mineStatus": "lYC_0W_mineStatus",
|
|
24816
|
+
"mineScope": "lYC_0W_mineScope",
|
|
24472
24817
|
"fieldLabel": "lYC_0W_fieldLabel",
|
|
24818
|
+
"dialogBody": "lYC_0W_dialogBody",
|
|
24819
|
+
"review": "lYC_0W_review",
|
|
24820
|
+
"cardDesc": "lYC_0W_cardDesc",
|
|
24821
|
+
"mineFooter": "lYC_0W_mineFooter",
|
|
24822
|
+
"pageTitle": "lYC_0W_pageTitle",
|
|
24823
|
+
"tabs": "lYC_0W_tabs",
|
|
24824
|
+
"mineTags": "lYC_0W_mineTags",
|
|
24825
|
+
"mineTime": "lYC_0W_mineTime",
|
|
24473
24826
|
"cardTop": "lYC_0W_cardTop",
|
|
24474
|
-
"
|
|
24475
|
-
"reviewEmpty": "lYC_0W_reviewEmpty",
|
|
24476
|
-
"detailDescription": "lYC_0W_detailDescription",
|
|
24827
|
+
"state": "lYC_0W_state",
|
|
24477
24828
|
"failureRow": "lYC_0W_failureRow",
|
|
24829
|
+
"actions": "lYC_0W_actions",
|
|
24830
|
+
"frequency": "lYC_0W_frequency",
|
|
24831
|
+
"cronInvalid": "lYC_0W_cronInvalid",
|
|
24832
|
+
"tab": "lYC_0W_tab",
|
|
24833
|
+
"cards": "lYC_0W_cards",
|
|
24834
|
+
"detailFacts": "lYC_0W_detailFacts",
|
|
24478
24835
|
"cardTitle": "lYC_0W_cardTitle",
|
|
24479
|
-
"
|
|
24836
|
+
"body": "lYC_0W_body",
|
|
24837
|
+
"frequencies": "lYC_0W_frequencies",
|
|
24480
24838
|
"field": "lYC_0W_field",
|
|
24481
|
-
"
|
|
24482
|
-
"
|
|
24483
|
-
"tabCount": "lYC_0W_tabCount",
|
|
24484
|
-
"mark": "lYC_0W_mark",
|
|
24485
|
-
"cronValid": "lYC_0W_cronValid",
|
|
24486
|
-
"mineStatus": "lYC_0W_mineStatus",
|
|
24487
|
-
"card": "lYC_0W_card",
|
|
24839
|
+
"reviewActions": "lYC_0W_reviewActions",
|
|
24840
|
+
"reviewEmpty": "lYC_0W_reviewEmpty",
|
|
24488
24841
|
"cardIcon": "lYC_0W_cardIcon",
|
|
24489
|
-
"
|
|
24490
|
-
"
|
|
24491
|
-
"failure": "lYC_0W_failure",
|
|
24842
|
+
"cardCron": "lYC_0W_cardCron",
|
|
24843
|
+
"cronInput": "lYC_0W_cronInput",
|
|
24492
24844
|
"reviewHead": "lYC_0W_reviewHead",
|
|
24493
|
-
"dialogBody": "lYC_0W_dialogBody",
|
|
24494
|
-
"mineTime": "lYC_0W_mineTime",
|
|
24495
|
-
"frequencies": "lYC_0W_frequencies",
|
|
24496
24845
|
"reviewMeta": "lYC_0W_reviewMeta",
|
|
24497
|
-
"
|
|
24846
|
+
"cardFoot": "lYC_0W_cardFoot",
|
|
24847
|
+
"frequencyOn": "lYC_0W_frequencyOn",
|
|
24848
|
+
"cronValid": "lYC_0W_cronValid",
|
|
24849
|
+
"failure": "lYC_0W_failure",
|
|
24850
|
+
"card": "lYC_0W_card",
|
|
24851
|
+
"reviewTitle": "lYC_0W_reviewTitle",
|
|
24498
24852
|
"tabActive": "lYC_0W_tabActive",
|
|
24499
|
-
"
|
|
24853
|
+
"reviewDescription": "lYC_0W_reviewDescription",
|
|
24854
|
+
"detailDescription": "lYC_0W_detailDescription",
|
|
24500
24855
|
"reviewCard": "lYC_0W_reviewCard",
|
|
24501
|
-
"
|
|
24502
|
-
"
|
|
24503
|
-
"
|
|
24504
|
-
"
|
|
24505
|
-
"page": "lYC_0W_page",
|
|
24856
|
+
"detailInstruction": "lYC_0W_detailInstruction",
|
|
24857
|
+
"reviewPrompt": "lYC_0W_reviewPrompt",
|
|
24858
|
+
"mark": "lYC_0W_mark",
|
|
24859
|
+
"dialogIntro": "lYC_0W_dialogIntro",
|
|
24506
24860
|
"reviewList": "lYC_0W_reviewList",
|
|
24507
|
-
"
|
|
24508
|
-
"frequency": "lYC_0W_frequency",
|
|
24861
|
+
"page": "lYC_0W_page",
|
|
24509
24862
|
"detailDialogBody": "lYC_0W_detailDialogBody",
|
|
24510
|
-
"
|
|
24511
|
-
"
|
|
24863
|
+
"reviewNote": "lYC_0W_reviewNote",
|
|
24864
|
+
"tabCount": "lYC_0W_tabCount",
|
|
24865
|
+
"headerRow": "lYC_0W_headerRow",
|
|
24866
|
+
"dialogFoot": "lYC_0W_dialogFoot"
|
|
24512
24867
|
};
|
|
24513
24868
|
//#endregion
|
|
24514
24869
|
//#region src/client/workflows/WorkflowPlaza.tsx
|
|
@@ -25662,12 +26017,15 @@ window.__ModuleLoader__.load({
|
|
|
25662
26017
|
* to one Session, so it cannot answer "is this workflow already subscribed"; the
|
|
25663
26018
|
* catalog can, and it is also what the automation page itself renders from.
|
|
25664
26019
|
*
|
|
26020
|
+
* The create/send/open plumbing itself lives in {@link createSessionLauncher}, shared
|
|
26021
|
+
* with the memory quick-config button so the two flows cannot drift apart.
|
|
26022
|
+
*
|
|
25665
26023
|
* @param ctx - client root context carrying `sessions` and `remote`.
|
|
25666
26024
|
* @returns dependencies for {@link WorkflowPlaza}.
|
|
25667
26025
|
*/
|
|
25668
26026
|
function createWorkflowPlazaDeps(ctx) {
|
|
26027
|
+
const launcher = createSessionLauncher(ctx);
|
|
25669
26028
|
const sessions = ctx.get("sessions");
|
|
25670
|
-
const uiWorkspace = ctx.get("uiWorkspace");
|
|
25671
26029
|
const remote = ctx.get("remote");
|
|
25672
26030
|
/** Same-origin call to the Host's workflow-plaza routes. */
|
|
25673
26031
|
const callWorkflowRoute = async (method, body = {}) => {
|
|
@@ -25681,24 +26039,8 @@ window.__ModuleLoader__.load({
|
|
|
25681
26039
|
return response.json();
|
|
25682
26040
|
};
|
|
25683
26041
|
return workflowPlazaDeps({
|
|
25684
|
-
createSession:
|
|
25685
|
-
|
|
25686
|
-
return sessions.create({});
|
|
25687
|
-
},
|
|
25688
|
-
sendPrompt: async (sessionId, text) => {
|
|
25689
|
-
if (sessions === void 0) return false;
|
|
25690
|
-
try {
|
|
25691
|
-
return await sessions.using(sessionId, { source: "controllerOperation" }, async (reference) => {
|
|
25692
|
-
await reference.ready;
|
|
25693
|
-
return (await reference.binding.session.prompt([{
|
|
25694
|
-
type: "text",
|
|
25695
|
-
text
|
|
25696
|
-
}], "queue")).ok === true;
|
|
25697
|
-
});
|
|
25698
|
-
} catch {
|
|
25699
|
-
return false;
|
|
25700
|
-
}
|
|
25701
|
-
},
|
|
26042
|
+
createSession: launcher.createSession,
|
|
26043
|
+
sendPrompt: launcher.sendPrompt,
|
|
25702
26044
|
readCatalog: async () => {
|
|
25703
26045
|
if (remote?.schedule === void 0) return { ok: false };
|
|
25704
26046
|
return remote.schedule.catalog();
|
|
@@ -25723,11 +26065,7 @@ window.__ModuleLoader__.load({
|
|
|
25723
26065
|
return;
|
|
25724
26066
|
}
|
|
25725
26067
|
},
|
|
25726
|
-
...
|
|
25727
|
-
sessions.open?.(id);
|
|
25728
|
-
} } : { openSession: (id) => {
|
|
25729
|
-
uiWorkspace.openSession?.(id);
|
|
25730
|
-
} },
|
|
26068
|
+
...launcher.openSession === void 0 ? {} : { openSession: launcher.openSession },
|
|
25731
26069
|
...remote?.session === void 0 ? {} : {
|
|
25732
26070
|
readModelCatalog: async () => remote.session.modelCatalog(),
|
|
25733
26071
|
selectSessionModel: async (sessionId, selection) => {
|