codexmate 0.1.36 → 0.1.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/README.vi.md +1 -1
- package/README.zh.md +1 -1
- package/cli/desktop-release.js +73 -0
- package/cli/skills.js +103 -4
- package/cli/update.js +27 -15
- package/cli.js +9 -3
- package/package.json +2 -1
- package/web-ui/app.js +17 -0
- package/web-ui/modules/app.computed.main-tabs.mjs +12 -0
- package/web-ui/modules/app.methods.agents.mjs +0 -3
- package/web-ui/modules/app.methods.install.mjs +38 -2
- package/web-ui/modules/app.methods.prompts-editor.mjs +30 -6
- package/web-ui/modules/app.methods.provider-cache.mjs +3 -0
- package/web-ui/modules/app.methods.startup-claude.mjs +10 -5
- package/web-ui/modules/i18n/locales/en.mjs +25 -0
- package/web-ui/modules/i18n/locales/ja.mjs +26 -1
- package/web-ui/modules/i18n/locales/vi.mjs +25 -0
- package/web-ui/modules/i18n/locales/zh-tw.mjs +25 -0
- package/web-ui/modules/i18n/locales/zh.mjs +25 -0
- package/web-ui/modules/i18n.mjs +3 -2
- package/web-ui/modules/session-features.mjs +25 -1
- package/web-ui/modules/skills.methods.mjs +61 -16
- package/web-ui/partials/index/layout-header.html +91 -90
- package/web-ui/partials/index/modals-basic.html +22 -9
- package/web-ui/partials/index/panel-market.html +10 -3
- package/web-ui/partials/index/panel-plugins.html +13 -10
- package/web-ui/partials/index/panel-prompts.html +40 -20
- package/web-ui/partials/index/plugin-file-sharing.html +4 -4
- package/web-ui/partials/index/session-features.html +24 -7
- package/web-ui/res/web-ui-render.precompiled.js +831 -268
- package/web-ui/styles/layout-shell.css +176 -259
- package/web-ui/styles/plugins-panel.css +67 -46
- package/web-ui/styles/prompts-editor.css +127 -27
- package/web-ui/styles/session-features.css +12 -1
- package/web-ui/styles/settings-panel.css +16 -14
- package/web-ui/styles/system-prompt.css +9 -4
- package/web-ui/styles/theme-dark-tokens.css +4 -0
- package/web-ui/styles/theme-dark.css +5 -31
- package/web-ui/styles/theme-ocean-tokens.css +3 -0
- package/web-ui/styles/theme-ocean.css +3 -26
- package/web-ui/styles/theme-violet-tokens.css +3 -0
- package/web-ui/styles/theme-violet.css +12 -59
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
window.__CODEXMATE_WEB_UI_RENDER__ = (() => {
|
|
2
|
-
const { toDisplayString: _toDisplayString, openBlock: _openBlock, createElementBlock: _createElementBlock, createCommentVNode: _createCommentVNode, createTextVNode: _createTextVNode, createElementVNode: _createElementVNode, normalizeClass: _normalizeClass,
|
|
2
|
+
const { toDisplayString: _toDisplayString, openBlock: _openBlock, createElementBlock: _createElementBlock, createCommentVNode: _createCommentVNode, createTextVNode: _createTextVNode, createElementVNode: _createElementVNode, normalizeClass: _normalizeClass, renderList: _renderList, Fragment: _Fragment, withModifiers: _withModifiers, withKeys: _withKeys, vModelSelect: _vModelSelect, withDirectives: _withDirectives, vModelText: _vModelText, vModelCheckbox: _vModelCheckbox, vShow: _vShow, Teleport: _Teleport, createBlock: _createBlock, vModelDynamic: _vModelDynamic, normalizeStyle: _normalizeStyle, resolveDynamicComponent: _resolveDynamicComponent, withCtx: _withCtx, isMemoSame: _isMemoSame, withMemo: _withMemo, resolveComponent: _resolveComponent, createVNode: _createVNode } = Vue
|
|
3
3
|
|
|
4
4
|
return function render(_ctx, _cache) {
|
|
5
5
|
const _component_session_message_actions = _resolveComponent("session-message-actions")
|
|
@@ -211,11 +211,23 @@ return function render(_ctx, _cache) {
|
|
|
211
211
|
title: _ctx.appVersionStatusTitle(),
|
|
212
212
|
onClick: _ctx.handleAppVersionStatusClick
|
|
213
213
|
}, [
|
|
214
|
-
_createElementVNode("span", {
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
214
|
+
_createElementVNode("span", {
|
|
215
|
+
class: "side-update-dot",
|
|
216
|
+
"aria-hidden": "true"
|
|
217
|
+
}),
|
|
218
|
+
_createElementVNode("span", { class: "side-update-title" }, _toDisplayString(_ctx.appUpdateNoticeText()), 1 /* TEXT */),
|
|
219
|
+
(_openBlock(), _createElementBlock("svg", {
|
|
220
|
+
class: "side-update-chevron",
|
|
221
|
+
viewBox: "0 0 16 16",
|
|
222
|
+
fill: "none",
|
|
223
|
+
stroke: "currentColor",
|
|
224
|
+
"stroke-width": "2",
|
|
225
|
+
"stroke-linecap": "round",
|
|
226
|
+
"stroke-linejoin": "round",
|
|
227
|
+
"aria-hidden": "true"
|
|
228
|
+
}, [
|
|
229
|
+
_createElementVNode("path", { d: "m6 3 5 5-5 5" })
|
|
230
|
+
]))
|
|
219
231
|
], 10 /* CLASS, PROPS */, ["title", "onClick"]))
|
|
220
232
|
: _createCommentVNode("v-if", true)
|
|
221
233
|
]),
|
|
@@ -225,7 +237,10 @@ return function render(_ctx, _cache) {
|
|
|
225
237
|
role: "navigation",
|
|
226
238
|
"aria-label": _ctx.t('side.overview')
|
|
227
239
|
}, [
|
|
228
|
-
_createElementVNode("div", {
|
|
240
|
+
_createElementVNode("div", {
|
|
241
|
+
class: "side-section-title",
|
|
242
|
+
title: _ctx.t('side.overview')
|
|
243
|
+
}, _toDisplayString(_ctx.t('side.overview')), 9 /* TEXT, PROPS */, ["title"]),
|
|
229
244
|
_createElementVNode("button", {
|
|
230
245
|
id: "side-tab-dashboard",
|
|
231
246
|
"data-main-tab": "dashboard",
|
|
@@ -234,11 +249,22 @@ return function render(_ctx, _cache) {
|
|
|
234
249
|
onPointerdown: $event => (_ctx.onMainTabPointerDown('dashboard', $event)),
|
|
235
250
|
onClick: $event => (_ctx.onMainTabClick('dashboard', $event))
|
|
236
251
|
}, [
|
|
237
|
-
|
|
252
|
+
(_openBlock(), _createElementBlock("svg", {
|
|
238
253
|
class: "side-item-icon",
|
|
254
|
+
viewBox: "0 0 24 24",
|
|
255
|
+
fill: "none",
|
|
256
|
+
stroke: "currentColor",
|
|
257
|
+
"stroke-width": "1.7",
|
|
258
|
+
"stroke-linecap": "round",
|
|
259
|
+
"stroke-linejoin": "round",
|
|
239
260
|
"aria-hidden": "true"
|
|
240
|
-
},
|
|
241
|
-
|
|
261
|
+
}, [
|
|
262
|
+
_createElementVNode("path", { d: "M3 11 12 3l9 8v9H3zM9 20v-6h6v6" })
|
|
263
|
+
])),
|
|
264
|
+
_createElementVNode("div", {
|
|
265
|
+
class: "side-item-title",
|
|
266
|
+
title: _ctx.t('side.overview.doctor')
|
|
267
|
+
}, _toDisplayString(_ctx.t('side.overview.doctor')), 9 /* TEXT, PROPS */, ["title"]),
|
|
242
268
|
_createElementVNode("div", { class: "side-item-meta" }, [
|
|
243
269
|
_createElementVNode("span", null, _toDisplayString(_ctx.inspectorHealthStatus), 1 /* TEXT */)
|
|
244
270
|
])
|
|
@@ -249,7 +275,10 @@ return function render(_ctx, _cache) {
|
|
|
249
275
|
role: "navigation",
|
|
250
276
|
"aria-label": _ctx.t('side.docs')
|
|
251
277
|
}, [
|
|
252
|
-
_createElementVNode("div", {
|
|
278
|
+
_createElementVNode("div", {
|
|
279
|
+
class: "side-section-title",
|
|
280
|
+
title: _ctx.t('side.docs')
|
|
281
|
+
}, _toDisplayString(_ctx.t('side.docs')), 9 /* TEXT, PROPS */, ["title"]),
|
|
253
282
|
_createElementVNode("button", {
|
|
254
283
|
id: "side-tab-docs",
|
|
255
284
|
"data-main-tab": "docs",
|
|
@@ -258,11 +287,22 @@ return function render(_ctx, _cache) {
|
|
|
258
287
|
onPointerdown: $event => (_ctx.onMainTabPointerDown('docs', $event)),
|
|
259
288
|
onClick: $event => (_ctx.onMainTabClick('docs', $event))
|
|
260
289
|
}, [
|
|
261
|
-
|
|
290
|
+
(_openBlock(), _createElementBlock("svg", {
|
|
262
291
|
class: "side-item-icon",
|
|
292
|
+
viewBox: "0 0 24 24",
|
|
293
|
+
fill: "none",
|
|
294
|
+
stroke: "currentColor",
|
|
295
|
+
"stroke-width": "1.7",
|
|
296
|
+
"stroke-linecap": "round",
|
|
297
|
+
"stroke-linejoin": "round",
|
|
263
298
|
"aria-hidden": "true"
|
|
264
|
-
},
|
|
265
|
-
|
|
299
|
+
}, [
|
|
300
|
+
_createElementVNode("path", { d: "M5 3h10l4 4v14H5zM14 3v5h5M8 12h8m-8 4h8" })
|
|
301
|
+
])),
|
|
302
|
+
_createElementVNode("div", {
|
|
303
|
+
class: "side-item-title",
|
|
304
|
+
title: _ctx.t('side.docs.cliInstall')
|
|
305
|
+
}, _toDisplayString(_ctx.t('side.docs.cliInstall')), 9 /* TEXT, PROPS */, ["title"]),
|
|
266
306
|
_createElementVNode("div", { class: "side-item-meta" }, [
|
|
267
307
|
_createElementVNode("span", null, _toDisplayString(String(_ctx.installPackageManager || 'npm').toUpperCase()) + " · " + _toDisplayString(_ctx.installCommandAction === 'update' ? _ctx.t('common.update') : (_ctx.installCommandAction === 'uninstall' ? _ctx.t('common.uninstall') : _ctx.t('common.install'))), 1 /* TEXT */)
|
|
268
308
|
])
|
|
@@ -273,7 +313,10 @@ return function render(_ctx, _cache) {
|
|
|
273
313
|
role: "navigation",
|
|
274
314
|
"aria-label": _ctx.t('side.config')
|
|
275
315
|
}, [
|
|
276
|
-
_createElementVNode("div", {
|
|
316
|
+
_createElementVNode("div", {
|
|
317
|
+
class: "side-section-title",
|
|
318
|
+
title: _ctx.t('side.config')
|
|
319
|
+
}, _toDisplayString(_ctx.t('side.config')), 9 /* TEXT, PROPS */, ["title"]),
|
|
277
320
|
(_ctx.isConfigModeVisible('codex'))
|
|
278
321
|
? (_openBlock(), _createElementBlock("button", {
|
|
279
322
|
key: 0,
|
|
@@ -282,15 +325,33 @@ return function render(_ctx, _cache) {
|
|
|
282
325
|
"data-main-tab": "config",
|
|
283
326
|
"data-config-mode": "codex",
|
|
284
327
|
"aria-current": _ctx.mainTab === 'config' && _ctx.configMode === 'codex' ? 'page' : null,
|
|
285
|
-
class: _normalizeClass(['side-item',
|
|
328
|
+
class: _normalizeClass(['side-item', { active: _ctx.isConfigModeNavActive('codex') }]),
|
|
286
329
|
onPointerdown: $event => (_ctx.onConfigTabPointerDown('codex', $event)),
|
|
287
330
|
onClick: $event => (_ctx.onConfigTabClick('codex', $event))
|
|
288
331
|
}, [
|
|
289
|
-
|
|
332
|
+
(_openBlock(), _createElementBlock("svg", {
|
|
290
333
|
class: "side-item-icon",
|
|
334
|
+
viewBox: "0 0 24 24",
|
|
335
|
+
fill: "none",
|
|
336
|
+
stroke: "currentColor",
|
|
337
|
+
"stroke-width": "1.7",
|
|
338
|
+
"stroke-linecap": "round",
|
|
339
|
+
"stroke-linejoin": "round",
|
|
291
340
|
"aria-hidden": "true"
|
|
292
|
-
},
|
|
293
|
-
|
|
341
|
+
}, [
|
|
342
|
+
_createElementVNode("rect", {
|
|
343
|
+
x: "3",
|
|
344
|
+
y: "5",
|
|
345
|
+
width: "18",
|
|
346
|
+
height: "14",
|
|
347
|
+
rx: "2"
|
|
348
|
+
}),
|
|
349
|
+
_createElementVNode("path", { d: "m7 9 3 3-3 3m6 0h4" })
|
|
350
|
+
])),
|
|
351
|
+
_createElementVNode("div", {
|
|
352
|
+
class: "side-item-title",
|
|
353
|
+
title: _ctx.t('side.config.codex')
|
|
354
|
+
}, _toDisplayString(_ctx.t('side.config.codex')), 9 /* TEXT, PROPS */, ["title"])
|
|
294
355
|
], 42 /* CLASS, PROPS, NEED_HYDRATION */, ["aria-description", "aria-current", "onPointerdown", "onClick"]))
|
|
295
356
|
: _createCommentVNode("v-if", true),
|
|
296
357
|
(_ctx.isConfigModeVisible('claude'))
|
|
@@ -301,15 +362,26 @@ return function render(_ctx, _cache) {
|
|
|
301
362
|
"data-main-tab": "config",
|
|
302
363
|
"data-config-mode": "claude",
|
|
303
364
|
"aria-current": _ctx.mainTab === 'config' && _ctx.configMode === 'claude' ? 'page' : null,
|
|
304
|
-
class: _normalizeClass(['side-item',
|
|
365
|
+
class: _normalizeClass(['side-item', { active: _ctx.isConfigModeNavActive('claude') }]),
|
|
305
366
|
onPointerdown: $event => (_ctx.onConfigTabPointerDown('claude', $event)),
|
|
306
367
|
onClick: $event => (_ctx.onConfigTabClick('claude', $event))
|
|
307
368
|
}, [
|
|
308
|
-
|
|
369
|
+
(_openBlock(), _createElementBlock("svg", {
|
|
309
370
|
class: "side-item-icon",
|
|
371
|
+
viewBox: "0 0 24 24",
|
|
372
|
+
fill: "none",
|
|
373
|
+
stroke: "currentColor",
|
|
374
|
+
"stroke-width": "1.7",
|
|
375
|
+
"stroke-linecap": "round",
|
|
376
|
+
"stroke-linejoin": "round",
|
|
310
377
|
"aria-hidden": "true"
|
|
311
|
-
},
|
|
312
|
-
|
|
378
|
+
}, [
|
|
379
|
+
_createElementVNode("path", { d: "M12 3v18M3 12h18M5.6 5.6l12.8 12.8m0-12.8L5.6 18.4" })
|
|
380
|
+
])),
|
|
381
|
+
_createElementVNode("div", {
|
|
382
|
+
class: "side-item-title",
|
|
383
|
+
title: _ctx.t('side.config.claude')
|
|
384
|
+
}, _toDisplayString(_ctx.t('side.config.claude')), 9 /* TEXT, PROPS */, ["title"])
|
|
313
385
|
], 42 /* CLASS, PROPS, NEED_HYDRATION */, ["aria-description", "aria-current", "onPointerdown", "onClick"]))
|
|
314
386
|
: _createCommentVNode("v-if", true),
|
|
315
387
|
(_ctx.isConfigModeVisible('openclaw'))
|
|
@@ -320,15 +392,26 @@ return function render(_ctx, _cache) {
|
|
|
320
392
|
"data-main-tab": "config",
|
|
321
393
|
"data-config-mode": "openclaw",
|
|
322
394
|
"aria-current": _ctx.mainTab === 'config' && _ctx.configMode === 'openclaw' ? 'page' : null,
|
|
323
|
-
class: _normalizeClass(['side-item',
|
|
395
|
+
class: _normalizeClass(['side-item', { active: _ctx.isConfigModeNavActive('openclaw') }]),
|
|
324
396
|
onPointerdown: $event => (_ctx.onConfigTabPointerDown('openclaw', $event)),
|
|
325
397
|
onClick: $event => (_ctx.onConfigTabClick('openclaw', $event))
|
|
326
398
|
}, [
|
|
327
|
-
|
|
399
|
+
(_openBlock(), _createElementBlock("svg", {
|
|
328
400
|
class: "side-item-icon",
|
|
401
|
+
viewBox: "0 0 24 24",
|
|
402
|
+
fill: "none",
|
|
403
|
+
stroke: "currentColor",
|
|
404
|
+
"stroke-width": "1.7",
|
|
405
|
+
"stroke-linecap": "round",
|
|
406
|
+
"stroke-linejoin": "round",
|
|
329
407
|
"aria-hidden": "true"
|
|
330
|
-
},
|
|
331
|
-
|
|
408
|
+
}, [
|
|
409
|
+
_createElementVNode("path", { d: "M12 20a6 6 0 0 0 6-6v-2a4 4 0 0 0 2-6l-2 3-2-3a4 4 0 0 0-1 6v2a3 3 0 1 1-6 0v-2a4 4 0 0 0-1-6L6 9 4 6a4 4 0 0 0 2 6v2a6 6 0 0 0 6 6Z" })
|
|
410
|
+
])),
|
|
411
|
+
_createElementVNode("div", {
|
|
412
|
+
class: "side-item-title",
|
|
413
|
+
title: _ctx.t('side.config.openclaw')
|
|
414
|
+
}, _toDisplayString(_ctx.t('side.config.openclaw')), 9 /* TEXT, PROPS */, ["title"])
|
|
332
415
|
], 42 /* CLASS, PROPS, NEED_HYDRATION */, ["aria-description", "aria-current", "onPointerdown", "onClick"]))
|
|
333
416
|
: _createCommentVNode("v-if", true),
|
|
334
417
|
(_ctx.isConfigModeVisible('opencode'))
|
|
@@ -339,15 +422,26 @@ return function render(_ctx, _cache) {
|
|
|
339
422
|
"data-main-tab": "config",
|
|
340
423
|
"data-config-mode": "opencode",
|
|
341
424
|
"aria-current": _ctx.mainTab === 'config' && _ctx.configMode === 'opencode' ? 'page' : null,
|
|
342
|
-
class: _normalizeClass(['side-item',
|
|
425
|
+
class: _normalizeClass(['side-item', { active: _ctx.isConfigModeNavActive('opencode') }]),
|
|
343
426
|
onPointerdown: $event => (_ctx.onConfigTabPointerDown('opencode', $event)),
|
|
344
427
|
onClick: $event => (_ctx.onConfigTabClick('opencode', $event))
|
|
345
428
|
}, [
|
|
346
|
-
|
|
429
|
+
(_openBlock(), _createElementBlock("svg", {
|
|
347
430
|
class: "side-item-icon",
|
|
431
|
+
viewBox: "0 0 24 24",
|
|
432
|
+
fill: "none",
|
|
433
|
+
stroke: "currentColor",
|
|
434
|
+
"stroke-width": "1.7",
|
|
435
|
+
"stroke-linecap": "round",
|
|
436
|
+
"stroke-linejoin": "round",
|
|
348
437
|
"aria-hidden": "true"
|
|
349
|
-
},
|
|
350
|
-
|
|
438
|
+
}, [
|
|
439
|
+
_createElementVNode("path", { d: "m8 6-6 6 6 6m8-12 6 6-6 6m-3-14-2 16" })
|
|
440
|
+
])),
|
|
441
|
+
_createElementVNode("div", {
|
|
442
|
+
class: "side-item-title",
|
|
443
|
+
title: _ctx.t('side.config.opencode')
|
|
444
|
+
}, _toDisplayString(_ctx.t('side.config.opencode')), 9 /* TEXT, PROPS */, ["title"])
|
|
351
445
|
], 42 /* CLASS, PROPS, NEED_HYDRATION */, ["aria-description", "aria-current", "onPointerdown", "onClick"]))
|
|
352
446
|
: _createCommentVNode("v-if", true),
|
|
353
447
|
(_ctx.isConfigModeVisible('kilocode'))
|
|
@@ -358,15 +452,26 @@ return function render(_ctx, _cache) {
|
|
|
358
452
|
"data-main-tab": "config",
|
|
359
453
|
"data-config-mode": "kilocode",
|
|
360
454
|
"aria-current": _ctx.mainTab === 'config' && _ctx.configMode === 'kilocode' ? 'page' : null,
|
|
361
|
-
class: _normalizeClass(['side-item',
|
|
455
|
+
class: _normalizeClass(['side-item', { active: _ctx.isConfigModeNavActive('kilocode') }]),
|
|
362
456
|
onPointerdown: $event => (_ctx.onConfigTabPointerDown('kilocode', $event)),
|
|
363
457
|
onClick: $event => (_ctx.onConfigTabClick('kilocode', $event))
|
|
364
458
|
}, [
|
|
365
|
-
|
|
459
|
+
(_openBlock(), _createElementBlock("svg", {
|
|
366
460
|
class: "side-item-icon",
|
|
461
|
+
viewBox: "0 0 24 24",
|
|
462
|
+
fill: "none",
|
|
463
|
+
stroke: "currentColor",
|
|
464
|
+
"stroke-width": "1.7",
|
|
465
|
+
"stroke-linecap": "round",
|
|
466
|
+
"stroke-linejoin": "round",
|
|
367
467
|
"aria-hidden": "true"
|
|
368
|
-
},
|
|
369
|
-
|
|
468
|
+
}, [
|
|
469
|
+
_createElementVNode("path", { d: "M3 18 9 6l6 12m-9-5h6m4-4 5 3-5 3" })
|
|
470
|
+
])),
|
|
471
|
+
_createElementVNode("div", {
|
|
472
|
+
class: "side-item-title",
|
|
473
|
+
title: _ctx.t('side.config.kilocode')
|
|
474
|
+
}, _toDisplayString(_ctx.t('side.config.kilocode')), 9 /* TEXT, PROPS */, ["title"])
|
|
370
475
|
], 42 /* CLASS, PROPS, NEED_HYDRATION */, ["aria-description", "aria-current", "onPointerdown", "onClick"]))
|
|
371
476
|
: _createCommentVNode("v-if", true),
|
|
372
477
|
(_ctx.isConfigModeVisible('pi'))
|
|
@@ -377,15 +482,26 @@ return function render(_ctx, _cache) {
|
|
|
377
482
|
"data-main-tab": "config",
|
|
378
483
|
"data-config-mode": "pi",
|
|
379
484
|
"aria-current": _ctx.mainTab === 'config' && _ctx.configMode === 'pi' ? 'page' : null,
|
|
380
|
-
class: _normalizeClass(['side-item',
|
|
485
|
+
class: _normalizeClass(['side-item', { active: _ctx.isConfigModeNavActive('pi') }]),
|
|
381
486
|
onPointerdown: $event => (_ctx.onConfigTabPointerDown('pi', $event)),
|
|
382
487
|
onClick: $event => (_ctx.onConfigTabClick('pi', $event))
|
|
383
488
|
}, [
|
|
384
|
-
|
|
489
|
+
(_openBlock(), _createElementBlock("svg", {
|
|
385
490
|
class: "side-item-icon",
|
|
491
|
+
viewBox: "0 0 24 24",
|
|
492
|
+
fill: "none",
|
|
493
|
+
stroke: "currentColor",
|
|
494
|
+
"stroke-width": "1.7",
|
|
495
|
+
"stroke-linecap": "round",
|
|
496
|
+
"stroke-linejoin": "round",
|
|
386
497
|
"aria-hidden": "true"
|
|
387
|
-
},
|
|
388
|
-
|
|
498
|
+
}, [
|
|
499
|
+
_createElementVNode("path", { d: "M4 7h16m-12 0v7c0 3-1 4-2 4m10-11v8c0 2 1 3 3 3" })
|
|
500
|
+
])),
|
|
501
|
+
_createElementVNode("div", {
|
|
502
|
+
class: "side-item-title",
|
|
503
|
+
title: _ctx.t('side.config.pi')
|
|
504
|
+
}, _toDisplayString(_ctx.t('side.config.pi')), 9 /* TEXT, PROPS */, ["title"])
|
|
389
505
|
], 42 /* CLASS, PROPS, NEED_HYDRATION */, ["aria-description", "aria-current", "onPointerdown", "onClick"]))
|
|
390
506
|
: _createCommentVNode("v-if", true)
|
|
391
507
|
], 8 /* PROPS */, ["aria-label"]),
|
|
@@ -394,7 +510,10 @@ return function render(_ctx, _cache) {
|
|
|
394
510
|
role: "navigation",
|
|
395
511
|
"aria-label": _ctx.t('side.workspace')
|
|
396
512
|
}, [
|
|
397
|
-
_createElementVNode("div", {
|
|
513
|
+
_createElementVNode("div", {
|
|
514
|
+
class: "side-section-title",
|
|
515
|
+
title: _ctx.t('side.workspace')
|
|
516
|
+
}, _toDisplayString(_ctx.t('side.workspace')), 9 /* TEXT, PROPS */, ["title"]),
|
|
398
517
|
_createElementVNode("button", {
|
|
399
518
|
id: "side-tab-routing",
|
|
400
519
|
"data-main-tab": "routing",
|
|
@@ -403,7 +522,22 @@ return function render(_ctx, _cache) {
|
|
|
403
522
|
onPointerdown: $event => (_ctx.onMainTabPointerDown('routing', $event)),
|
|
404
523
|
onClick: $event => (_ctx.onMainTabClick('routing', $event))
|
|
405
524
|
}, [
|
|
406
|
-
|
|
525
|
+
(_openBlock(), _createElementBlock("svg", {
|
|
526
|
+
class: "side-item-icon",
|
|
527
|
+
viewBox: "0 0 24 24",
|
|
528
|
+
fill: "none",
|
|
529
|
+
stroke: "currentColor",
|
|
530
|
+
"stroke-width": "1.7",
|
|
531
|
+
"stroke-linecap": "round",
|
|
532
|
+
"stroke-linejoin": "round",
|
|
533
|
+
"aria-hidden": "true"
|
|
534
|
+
}, [
|
|
535
|
+
_createElementVNode("path", { d: "M4 6h15m-4-4 4 4-4 4M20 18H5m4-4-4 4 4 4" })
|
|
536
|
+
])),
|
|
537
|
+
_createElementVNode("div", {
|
|
538
|
+
class: "side-item-title",
|
|
539
|
+
title: _ctx.t('tab.routing')
|
|
540
|
+
}, _toDisplayString(_ctx.t('tab.routing')), 9 /* TEXT, PROPS */, ["title"])
|
|
407
541
|
], 42 /* CLASS, PROPS, NEED_HYDRATION */, ["aria-current", "onPointerdown", "onClick"]),
|
|
408
542
|
_createElementVNode("button", {
|
|
409
543
|
id: "side-tab-sessions",
|
|
@@ -413,11 +547,22 @@ return function render(_ctx, _cache) {
|
|
|
413
547
|
onPointerdown: $event => (_ctx.onMainTabPointerDown('sessions', $event)),
|
|
414
548
|
onClick: $event => (_ctx.onMainTabClick('sessions', $event))
|
|
415
549
|
}, [
|
|
416
|
-
|
|
550
|
+
(_openBlock(), _createElementBlock("svg", {
|
|
417
551
|
class: "side-item-icon",
|
|
552
|
+
viewBox: "0 0 24 24",
|
|
553
|
+
fill: "none",
|
|
554
|
+
stroke: "currentColor",
|
|
555
|
+
"stroke-width": "1.7",
|
|
556
|
+
"stroke-linecap": "round",
|
|
557
|
+
"stroke-linejoin": "round",
|
|
418
558
|
"aria-hidden": "true"
|
|
419
|
-
},
|
|
420
|
-
|
|
559
|
+
}, [
|
|
560
|
+
_createElementVNode("path", { d: "M4 4h16v12h-9l-5 4v-4H4zm4 5h8m-8 3h6" })
|
|
561
|
+
])),
|
|
562
|
+
_createElementVNode("div", {
|
|
563
|
+
class: "side-item-title",
|
|
564
|
+
title: _ctx.t('side.sessions.browser')
|
|
565
|
+
}, _toDisplayString(_ctx.t('side.sessions.browser')), 9 /* TEXT, PROPS */, ["title"]),
|
|
421
566
|
_createElementVNode("div", { class: "side-item-meta" }, [
|
|
422
567
|
_createElementVNode("span", null, _toDisplayString(_ctx.t('sessions.sourceLabel', { value: (_ctx.sessionFilterSource === 'all' ? _ctx.t('sessions.source.all') : (_ctx.sessionFilterSource === 'claude' ? 'Claude Code' : (_ctx.sessionFilterSource === 'gemini' ? 'Gemini CLI' : (_ctx.sessionFilterSource === 'codebuddy' ? 'CodeBuddy Code' : (_ctx.sessionFilterSource === 'workbuddy' ? 'WorkBuddy AI' : 'Codex'))))) })), 1 /* TEXT */)
|
|
423
568
|
])
|
|
@@ -431,11 +576,22 @@ return function render(_ctx, _cache) {
|
|
|
431
576
|
onPointerdown: $event => (_ctx.onMainTabPointerDown('prompts', $event)),
|
|
432
577
|
onClick: $event => (_ctx.onMainTabClick('prompts', $event))
|
|
433
578
|
}, [
|
|
434
|
-
|
|
579
|
+
(_openBlock(), _createElementBlock("svg", {
|
|
435
580
|
class: "side-item-icon",
|
|
581
|
+
viewBox: "0 0 24 24",
|
|
582
|
+
fill: "none",
|
|
583
|
+
stroke: "currentColor",
|
|
584
|
+
"stroke-width": "1.7",
|
|
585
|
+
"stroke-linecap": "round",
|
|
586
|
+
"stroke-linejoin": "round",
|
|
436
587
|
"aria-hidden": "true"
|
|
437
|
-
},
|
|
438
|
-
|
|
588
|
+
}, [
|
|
589
|
+
_createElementVNode("path", { d: "M5 4h14v16H5zm4 5h6m-6 4h6m-6 4h3" })
|
|
590
|
+
])),
|
|
591
|
+
_createElementVNode("div", {
|
|
592
|
+
class: "side-item-title",
|
|
593
|
+
title: _ctx.t('side.prompts')
|
|
594
|
+
}, _toDisplayString(_ctx.t('side.prompts')), 9 /* TEXT, PROPS */, ["title"])
|
|
439
595
|
], 42 /* CLASS, PROPS, NEED_HYDRATION */, ["aria-description", "aria-current", "onPointerdown", "onClick"]),
|
|
440
596
|
_createElementVNode("button", {
|
|
441
597
|
id: "side-tab-usage",
|
|
@@ -445,11 +601,22 @@ return function render(_ctx, _cache) {
|
|
|
445
601
|
onPointerdown: $event => (_ctx.onMainTabPointerDown('usage', $event)),
|
|
446
602
|
onClick: $event => (_ctx.onMainTabClick('usage', $event))
|
|
447
603
|
}, [
|
|
448
|
-
|
|
604
|
+
(_openBlock(), _createElementBlock("svg", {
|
|
449
605
|
class: "side-item-icon",
|
|
606
|
+
viewBox: "0 0 24 24",
|
|
607
|
+
fill: "none",
|
|
608
|
+
stroke: "currentColor",
|
|
609
|
+
"stroke-width": "1.7",
|
|
610
|
+
"stroke-linecap": "round",
|
|
611
|
+
"stroke-linejoin": "round",
|
|
450
612
|
"aria-hidden": "true"
|
|
451
|
-
},
|
|
452
|
-
|
|
613
|
+
}, [
|
|
614
|
+
_createElementVNode("path", { d: "M4 4v16h16M8 16v-3m5 3V9m5 7V6" })
|
|
615
|
+
])),
|
|
616
|
+
_createElementVNode("div", {
|
|
617
|
+
class: "side-item-title",
|
|
618
|
+
title: _ctx.t('tab.usage')
|
|
619
|
+
}, _toDisplayString(_ctx.t('tab.usage')), 9 /* TEXT, PROPS */, ["title"]),
|
|
453
620
|
_createElementVNode("div", { class: "side-item-meta" }, [
|
|
454
621
|
_createElementVNode("span", null, _toDisplayString(_ctx.t('usage.rangeLabel', { value: (_ctx.sessionsUsageTimeRange === 'all' ? _ctx.t('usage.range.all') : (_ctx.sessionsUsageTimeRange === '30d' ? _ctx.t('usage.range.30d.short') : _ctx.t('usage.range.7d.short'))) })), 1 /* TEXT */)
|
|
455
622
|
])
|
|
@@ -460,7 +627,10 @@ return function render(_ctx, _cache) {
|
|
|
460
627
|
role: "navigation",
|
|
461
628
|
"aria-label": _ctx.t('side.skills')
|
|
462
629
|
}, [
|
|
463
|
-
_createElementVNode("div", {
|
|
630
|
+
_createElementVNode("div", {
|
|
631
|
+
class: "side-section-title",
|
|
632
|
+
title: _ctx.t('side.skills')
|
|
633
|
+
}, _toDisplayString(_ctx.t('side.skills')), 9 /* TEXT, PROPS */, ["title"]),
|
|
464
634
|
_createElementVNode("button", {
|
|
465
635
|
id: "side-tab-market",
|
|
466
636
|
"data-main-tab": "market",
|
|
@@ -469,11 +639,22 @@ return function render(_ctx, _cache) {
|
|
|
469
639
|
onPointerdown: $event => (_ctx.onMainTabPointerDown('market', $event)),
|
|
470
640
|
onClick: $event => (_ctx.onMainTabClick('market', $event))
|
|
471
641
|
}, [
|
|
472
|
-
|
|
642
|
+
(_openBlock(), _createElementBlock("svg", {
|
|
473
643
|
class: "side-item-icon",
|
|
644
|
+
viewBox: "0 0 24 24",
|
|
645
|
+
fill: "none",
|
|
646
|
+
stroke: "currentColor",
|
|
647
|
+
"stroke-width": "1.7",
|
|
648
|
+
"stroke-linecap": "round",
|
|
649
|
+
"stroke-linejoin": "round",
|
|
474
650
|
"aria-hidden": "true"
|
|
475
|
-
},
|
|
476
|
-
|
|
651
|
+
}, [
|
|
652
|
+
_createElementVNode("path", { d: "m12 3 2.7 5.5 6.1.9-4.4 4.3 1 6.1-5.4-2.9-5.4 2.9 1-6.1-4.4-4.3 6.1-.9Z" })
|
|
653
|
+
])),
|
|
654
|
+
_createElementVNode("div", {
|
|
655
|
+
class: "side-item-title",
|
|
656
|
+
title: _ctx.t('tab.market')
|
|
657
|
+
}, _toDisplayString(_ctx.t('tab.market')), 9 /* TEXT, PROPS */, ["title"]),
|
|
477
658
|
_createElementVNode("div", { class: "side-item-meta" }, [
|
|
478
659
|
_createElementVNode("span", null, _toDisplayString(_ctx.t('skills.localLabel', { target: _ctx.skillsTargetLabel })), 1 /* TEXT */),
|
|
479
660
|
_createElementVNode("span", null, _toDisplayString(_ctx.t('skills.counts', { installed: _ctx.skillsList.length, importable: _ctx.skillsImportList.length })), 1 /* TEXT */)
|
|
@@ -485,7 +666,10 @@ return function render(_ctx, _cache) {
|
|
|
485
666
|
role: "navigation",
|
|
486
667
|
"aria-label": _ctx.t('side.plugins')
|
|
487
668
|
}, [
|
|
488
|
-
_createElementVNode("div", {
|
|
669
|
+
_createElementVNode("div", {
|
|
670
|
+
class: "side-section-title",
|
|
671
|
+
title: _ctx.t('side.plugins')
|
|
672
|
+
}, _toDisplayString(_ctx.t('side.plugins')), 9 /* TEXT, PROPS */, ["title"]),
|
|
489
673
|
_createElementVNode("button", {
|
|
490
674
|
id: "side-tab-plugins",
|
|
491
675
|
"data-main-tab": "plugins",
|
|
@@ -495,11 +679,22 @@ return function render(_ctx, _cache) {
|
|
|
495
679
|
onPointerdown: $event => (_ctx.onPluginsTabPointerDown('prompt-templates', $event)),
|
|
496
680
|
onClick: $event => (_ctx.onPluginsTabClick('prompt-templates', $event))
|
|
497
681
|
}, [
|
|
498
|
-
|
|
682
|
+
(_openBlock(), _createElementBlock("svg", {
|
|
499
683
|
class: "side-item-icon",
|
|
684
|
+
viewBox: "0 0 24 24",
|
|
685
|
+
fill: "none",
|
|
686
|
+
stroke: "currentColor",
|
|
687
|
+
"stroke-width": "1.7",
|
|
688
|
+
"stroke-linecap": "round",
|
|
689
|
+
"stroke-linejoin": "round",
|
|
500
690
|
"aria-hidden": "true"
|
|
501
|
-
},
|
|
502
|
-
|
|
691
|
+
}, [
|
|
692
|
+
_createElementVNode("path", { d: "m12 3 9 9-9 9-9-9zm0 5 4 4-4 4-4-4z" })
|
|
693
|
+
])),
|
|
694
|
+
_createElementVNode("div", {
|
|
695
|
+
class: "side-item-title",
|
|
696
|
+
title: _ctx.t('side.plugins.tools')
|
|
697
|
+
}, _toDisplayString(_ctx.t('side.plugins.tools')), 9 /* TEXT, PROPS */, ["title"]),
|
|
503
698
|
_createElementVNode("div", { class: "side-item-meta" }, [
|
|
504
699
|
_createElementVNode("span", null, _toDisplayString(_ctx.t('side.plugins.templatesCount', { count: _ctx.promptTemplatesList.length })), 1 /* TEXT */)
|
|
505
700
|
])
|
|
@@ -513,11 +708,22 @@ return function render(_ctx, _cache) {
|
|
|
513
708
|
onPointerdown: $event => (_ctx.onPluginsTabPointerDown('text-tools', $event)),
|
|
514
709
|
onClick: $event => (_ctx.onPluginsTabClick('text-tools', $event))
|
|
515
710
|
}, [
|
|
516
|
-
|
|
711
|
+
(_openBlock(), _createElementBlock("svg", {
|
|
517
712
|
class: "side-item-icon",
|
|
713
|
+
viewBox: "0 0 24 24",
|
|
714
|
+
fill: "none",
|
|
715
|
+
stroke: "currentColor",
|
|
716
|
+
"stroke-width": "1.7",
|
|
717
|
+
"stroke-linecap": "round",
|
|
718
|
+
"stroke-linejoin": "round",
|
|
518
719
|
"aria-hidden": "true"
|
|
519
|
-
},
|
|
520
|
-
|
|
720
|
+
}, [
|
|
721
|
+
_createElementVNode("path", { d: "M4 5h16M4 10h16M4 15h10M4 20h7" })
|
|
722
|
+
])),
|
|
723
|
+
_createElementVNode("div", {
|
|
724
|
+
class: "side-item-title",
|
|
725
|
+
title: _ctx.t('plugins.catalog.textTools.title')
|
|
726
|
+
}, _toDisplayString(_ctx.t('plugins.catalog.textTools.title')), 9 /* TEXT, PROPS */, ["title"]),
|
|
521
727
|
_createElementVNode("div", { class: "side-item-meta" }, [
|
|
522
728
|
_createElementVNode("span", null, _toDisplayString(_ctx.t('plugins.textTools.tools.compress')), 1 /* TEXT */)
|
|
523
729
|
])
|
|
@@ -531,11 +737,22 @@ return function render(_ctx, _cache) {
|
|
|
531
737
|
onPointerdown: $event => (_ctx.onPluginsTabPointerDown('file-sharing', $event)),
|
|
532
738
|
onClick: $event => (_ctx.onPluginsTabClick('file-sharing', $event))
|
|
533
739
|
}, [
|
|
534
|
-
|
|
740
|
+
(_openBlock(), _createElementBlock("svg", {
|
|
535
741
|
class: "side-item-icon",
|
|
742
|
+
viewBox: "0 0 24 24",
|
|
743
|
+
fill: "none",
|
|
744
|
+
stroke: "currentColor",
|
|
745
|
+
"stroke-width": "1.7",
|
|
746
|
+
"stroke-linecap": "round",
|
|
747
|
+
"stroke-linejoin": "round",
|
|
536
748
|
"aria-hidden": "true"
|
|
537
|
-
},
|
|
538
|
-
|
|
749
|
+
}, [
|
|
750
|
+
_createElementVNode("path", { d: "M5 6h6l2 2h6v11H5zm7 4v6m-2-2 2 2 2-2" })
|
|
751
|
+
])),
|
|
752
|
+
_createElementVNode("div", {
|
|
753
|
+
class: "side-item-title",
|
|
754
|
+
title: _ctx.t('plugins.fileSharing.title')
|
|
755
|
+
}, _toDisplayString(_ctx.t('plugins.fileSharing.title')), 9 /* TEXT, PROPS */, ["title"])
|
|
539
756
|
], 42 /* CLASS, PROPS, NEED_HYDRATION */, ["aria-current", "onPointerdown", "onClick"])
|
|
540
757
|
], 8 /* PROPS */, ["aria-label"]),
|
|
541
758
|
_createElementVNode("div", {
|
|
@@ -543,7 +760,10 @@ return function render(_ctx, _cache) {
|
|
|
543
760
|
role: "navigation",
|
|
544
761
|
"aria-label": _ctx.t('side.system')
|
|
545
762
|
}, [
|
|
546
|
-
_createElementVNode("div", {
|
|
763
|
+
_createElementVNode("div", {
|
|
764
|
+
class: "side-section-title",
|
|
765
|
+
title: _ctx.t('side.system')
|
|
766
|
+
}, _toDisplayString(_ctx.t('side.system')), 9 /* TEXT, PROPS */, ["title"]),
|
|
547
767
|
_createElementVNode("button", {
|
|
548
768
|
id: "side-tab-settings",
|
|
549
769
|
"data-main-tab": "settings",
|
|
@@ -552,11 +772,32 @@ return function render(_ctx, _cache) {
|
|
|
552
772
|
onPointerdown: $event => (_ctx.onMainTabPointerDown('settings', $event)),
|
|
553
773
|
onClick: $event => (_ctx.onMainTabClick('settings', $event))
|
|
554
774
|
}, [
|
|
555
|
-
|
|
775
|
+
(_openBlock(), _createElementBlock("svg", {
|
|
556
776
|
class: "side-item-icon",
|
|
777
|
+
viewBox: "0 0 24 24",
|
|
778
|
+
fill: "none",
|
|
779
|
+
stroke: "currentColor",
|
|
780
|
+
"stroke-width": "1.7",
|
|
781
|
+
"stroke-linecap": "round",
|
|
782
|
+
"stroke-linejoin": "round",
|
|
557
783
|
"aria-hidden": "true"
|
|
558
|
-
},
|
|
559
|
-
|
|
784
|
+
}, [
|
|
785
|
+
_createElementVNode("path", { d: "M4 7h3m4 0h9M4 17h9m4 0h3" }),
|
|
786
|
+
_createElementVNode("circle", {
|
|
787
|
+
cx: "9",
|
|
788
|
+
cy: "7",
|
|
789
|
+
r: "2"
|
|
790
|
+
}),
|
|
791
|
+
_createElementVNode("circle", {
|
|
792
|
+
cx: "15",
|
|
793
|
+
cy: "17",
|
|
794
|
+
r: "2"
|
|
795
|
+
})
|
|
796
|
+
])),
|
|
797
|
+
_createElementVNode("div", {
|
|
798
|
+
class: "side-item-title",
|
|
799
|
+
title: _ctx.t('side.system.settings')
|
|
800
|
+
}, _toDisplayString(_ctx.t('side.system.settings')), 9 /* TEXT, PROPS */, ["title"])
|
|
560
801
|
], 42 /* CLASS, PROPS, NEED_HYDRATION */, ["aria-current", "onPointerdown", "onClick"]),
|
|
561
802
|
_createElementVNode("button", {
|
|
562
803
|
id: "side-tab-trash",
|
|
@@ -566,11 +807,22 @@ return function render(_ctx, _cache) {
|
|
|
566
807
|
onPointerdown: $event => (_ctx.onMainTabPointerDown('trash', $event)),
|
|
567
808
|
onClick: $event => (_ctx.onMainTabClick('trash', $event))
|
|
568
809
|
}, [
|
|
569
|
-
|
|
810
|
+
(_openBlock(), _createElementBlock("svg", {
|
|
570
811
|
class: "side-item-icon",
|
|
812
|
+
viewBox: "0 0 24 24",
|
|
813
|
+
fill: "none",
|
|
814
|
+
stroke: "currentColor",
|
|
815
|
+
"stroke-width": "1.7",
|
|
816
|
+
"stroke-linecap": "round",
|
|
817
|
+
"stroke-linejoin": "round",
|
|
571
818
|
"aria-hidden": "true"
|
|
572
|
-
},
|
|
573
|
-
|
|
819
|
+
}, [
|
|
820
|
+
_createElementVNode("path", { d: "M4 7h16M9 7V4h6v3M6 7l1 13h10l1-13m-8 3v7m4-7v7" })
|
|
821
|
+
])),
|
|
822
|
+
_createElementVNode("div", {
|
|
823
|
+
class: "side-item-title",
|
|
824
|
+
title: _ctx.t('settings.trash.title')
|
|
825
|
+
}, _toDisplayString(_ctx.t('settings.trash.title')), 9 /* TEXT, PROPS */, ["title"]),
|
|
574
826
|
_createElementVNode("div", { class: "side-item-meta" }, [
|
|
575
827
|
_createElementVNode("span", null, _toDisplayString(_ctx.t('settings.trash.meta')), 1 /* TEXT */),
|
|
576
828
|
(_ctx.sessionTrashCount > 0)
|
|
@@ -594,91 +846,122 @@ return function render(_ctx, _cache) {
|
|
|
594
846
|
])
|
|
595
847
|
])
|
|
596
848
|
]),
|
|
597
|
-
_createElementVNode("div", { class: "side-rail-
|
|
598
|
-
_createElementVNode("div", {
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
"aria-label": _ctx.t('settings.language.sideLabel', { language: _ctx.currentLanguageLabel() }),
|
|
604
|
-
"aria-expanded": _ctx.languageMenuOpen ? 'true' : 'false',
|
|
605
|
-
"aria-haspopup": "menu",
|
|
606
|
-
onClick: _ctx.toggleLanguageMenu,
|
|
607
|
-
onKeydown: _withKeys(_withModifiers(_ctx.closeLanguageMenu, ["prevent"]), ["esc"])
|
|
608
|
-
}, [
|
|
609
|
-
_createTextVNode(_toDisplayString(_ctx.currentLanguageLabel()) + " ", 1 /* TEXT */),
|
|
610
|
-
(_openBlock(), _createElementBlock("svg", {
|
|
611
|
-
viewBox: "0 0 16 16",
|
|
612
|
-
fill: "none",
|
|
613
|
-
stroke: "currentColor",
|
|
614
|
-
"stroke-width": "1.8",
|
|
615
|
-
"stroke-linecap": "round",
|
|
616
|
-
"stroke-linejoin": "round",
|
|
617
|
-
"aria-hidden": "true"
|
|
618
|
-
}, [
|
|
619
|
-
_createElementVNode("path", { d: "M4 6l4 4 4-4" })
|
|
620
|
-
]))
|
|
621
|
-
], 40 /* PROPS, NEED_HYDRATION */, ["aria-label", "aria-expanded", "onClick", "onKeydown"]),
|
|
622
|
-
(_ctx.languageMenuOpen)
|
|
623
|
-
? (_openBlock(), _createElementBlock("div", {
|
|
624
|
-
key: 0,
|
|
625
|
-
class: "side-language-dropdown",
|
|
626
|
-
role: "menu",
|
|
627
|
-
onFocusout: _ctx.handleLanguageMenuFocusOut
|
|
628
|
-
}, [
|
|
629
|
-
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.languageOptions(), (option) => {
|
|
630
|
-
return (_openBlock(), _createElementBlock("button", {
|
|
631
|
-
key: option.code,
|
|
632
|
-
type: "button",
|
|
633
|
-
class: _normalizeClass(["side-language-option", { active: option.code === _ctx.lang }]),
|
|
634
|
-
role: "menuitemradio",
|
|
635
|
-
"aria-checked": option.code === _ctx.lang ? 'true' : 'false',
|
|
636
|
-
onClick: $event => (_ctx.selectLanguage(option.code))
|
|
637
|
-
}, [
|
|
638
|
-
_createElementVNode("span", null, _toDisplayString(option.nativeName), 1 /* TEXT */),
|
|
639
|
-
_createElementVNode("small", null, _toDisplayString(option.englishName), 1 /* TEXT */),
|
|
640
|
-
(option.code === _ctx.lang)
|
|
641
|
-
? (_openBlock(), _createElementBlock("svg", {
|
|
642
|
-
key: 0,
|
|
643
|
-
viewBox: "0 0 16 16",
|
|
644
|
-
fill: "none",
|
|
645
|
-
stroke: "currentColor",
|
|
646
|
-
"stroke-width": "2",
|
|
647
|
-
"stroke-linecap": "round",
|
|
648
|
-
"stroke-linejoin": "round",
|
|
649
|
-
"aria-hidden": "true"
|
|
650
|
-
}, [
|
|
651
|
-
_createElementVNode("path", { d: "M3.5 8.5l3 3 6-7" })
|
|
652
|
-
]))
|
|
653
|
-
: _createCommentVNode("v-if", true)
|
|
654
|
-
], 10 /* CLASS, PROPS */, ["aria-checked", "onClick"]))
|
|
655
|
-
}), 128 /* KEYED_FRAGMENT */))
|
|
656
|
-
], 40 /* PROPS, NEED_HYDRATION */, ["onFocusout"]))
|
|
657
|
-
: _createCommentVNode("v-if", true)
|
|
658
|
-
]),
|
|
849
|
+
_createElementVNode("div", { class: "side-rail-footer" }, [
|
|
850
|
+
_createElementVNode("div", {
|
|
851
|
+
class: "side-language-menu",
|
|
852
|
+
onFocusout: _ctx.handleLanguageMenuFocusOut,
|
|
853
|
+
onKeydown: _withKeys(_withModifiers($event => (_ctx.closeLanguageMenu(true)), ["stop","prevent"]), ["esc"])
|
|
854
|
+
}, [
|
|
659
855
|
_createElementVNode("button", {
|
|
660
856
|
type: "button",
|
|
661
|
-
class: "side-
|
|
662
|
-
"aria-label": _ctx.t('
|
|
663
|
-
|
|
664
|
-
|
|
857
|
+
class: "side-rail-action",
|
|
858
|
+
"aria-label": _ctx.t('settings.language.sideLabel', { language: _ctx.currentLanguageLabel() }),
|
|
859
|
+
"aria-expanded": _ctx.languageMenuOpen ? 'true' : 'false',
|
|
860
|
+
"aria-haspopup": "menu",
|
|
861
|
+
ref: "sideLanguageTrigger",
|
|
862
|
+
onClick: _ctx.toggleLanguageMenu
|
|
665
863
|
}, [
|
|
666
864
|
(_openBlock(), _createElementBlock("svg", {
|
|
865
|
+
class: "side-rail-action-icon",
|
|
667
866
|
viewBox: "0 0 20 20",
|
|
668
867
|
fill: "none",
|
|
669
868
|
stroke: "currentColor",
|
|
670
|
-
"stroke-width": "1.
|
|
869
|
+
"stroke-width": "1.6",
|
|
870
|
+
"aria-hidden": "true"
|
|
871
|
+
}, [
|
|
872
|
+
_createElementVNode("circle", {
|
|
873
|
+
cx: "10",
|
|
874
|
+
cy: "10",
|
|
875
|
+
r: "7.5"
|
|
876
|
+
}),
|
|
877
|
+
_createElementVNode("ellipse", {
|
|
878
|
+
cx: "10",
|
|
879
|
+
cy: "10",
|
|
880
|
+
rx: "3.25",
|
|
881
|
+
ry: "7.5"
|
|
882
|
+
}),
|
|
883
|
+
_createElementVNode("path", { d: "M2.5 10h15" })
|
|
884
|
+
])),
|
|
885
|
+
_createElementVNode("span", null, _toDisplayString(_ctx.lang === 'ja' || _ctx.lang === 'zh' ? _ctx.currentLanguageLabel() : _ctx.lang.toUpperCase()), 1 /* TEXT */),
|
|
886
|
+
(_openBlock(), _createElementBlock("svg", {
|
|
887
|
+
class: "side-rail-action-chevron",
|
|
888
|
+
viewBox: "0 0 16 16",
|
|
889
|
+
fill: "none",
|
|
890
|
+
stroke: "currentColor",
|
|
891
|
+
"stroke-width": "1.8",
|
|
671
892
|
"stroke-linecap": "round",
|
|
672
893
|
"stroke-linejoin": "round",
|
|
673
|
-
width: "16",
|
|
674
|
-
height: "16",
|
|
675
894
|
"aria-hidden": "true"
|
|
676
895
|
}, [
|
|
677
|
-
_createElementVNode("path", { d: "
|
|
678
|
-
_createElementVNode("path", { d: "M8 16a2 2 0 0 0 4 0" })
|
|
896
|
+
_createElementVNode("path", { d: "m4 10 4-4 4 4" })
|
|
679
897
|
]))
|
|
680
|
-
], 8 /* PROPS */, ["aria-label", "
|
|
681
|
-
|
|
898
|
+
], 8 /* PROPS */, ["aria-label", "aria-expanded", "onClick"]),
|
|
899
|
+
(_ctx.languageMenuOpen)
|
|
900
|
+
? (_openBlock(), _createElementBlock("div", {
|
|
901
|
+
key: 0,
|
|
902
|
+
class: "side-language-dropdown",
|
|
903
|
+
role: "menu"
|
|
904
|
+
}, [
|
|
905
|
+
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.languageOptions(), (option) => {
|
|
906
|
+
return (_openBlock(), _createElementBlock("button", {
|
|
907
|
+
key: option.code,
|
|
908
|
+
type: "button",
|
|
909
|
+
class: _normalizeClass(["side-language-option", { active: option.code === _ctx.lang }]),
|
|
910
|
+
role: "menuitemradio",
|
|
911
|
+
"aria-checked": option.code === _ctx.lang ? 'true' : 'false',
|
|
912
|
+
onClick: $event => (_ctx.selectLanguage(option.code))
|
|
913
|
+
}, [
|
|
914
|
+
_createElementVNode("span", null, _toDisplayString(option.nativeName), 1 /* TEXT */),
|
|
915
|
+
_createElementVNode("small", null, _toDisplayString(option.englishName), 1 /* TEXT */),
|
|
916
|
+
(option.code === _ctx.lang)
|
|
917
|
+
? (_openBlock(), _createElementBlock("svg", {
|
|
918
|
+
key: 0,
|
|
919
|
+
viewBox: "0 0 16 16",
|
|
920
|
+
fill: "none",
|
|
921
|
+
stroke: "currentColor",
|
|
922
|
+
"stroke-width": "2",
|
|
923
|
+
"stroke-linecap": "round",
|
|
924
|
+
"stroke-linejoin": "round",
|
|
925
|
+
"aria-hidden": "true"
|
|
926
|
+
}, [
|
|
927
|
+
_createElementVNode("path", { d: "M3.5 8.5l3 3 6-7" })
|
|
928
|
+
]))
|
|
929
|
+
: _createCommentVNode("v-if", true)
|
|
930
|
+
], 10 /* CLASS, PROPS */, ["aria-checked", "onClick"]))
|
|
931
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
932
|
+
]))
|
|
933
|
+
: _createCommentVNode("v-if", true)
|
|
934
|
+
], 40 /* PROPS, NEED_HYDRATION */, ["onFocusout", "onKeydown"]),
|
|
935
|
+
_createElementVNode("button", {
|
|
936
|
+
type: "button",
|
|
937
|
+
class: "side-rail-action side-announcement-button",
|
|
938
|
+
"aria-label": _ctx.t('announcement.providerCache.open'),
|
|
939
|
+
title: _ctx.t('announcement.providerCache.open'),
|
|
940
|
+
"aria-expanded": _ctx.showProviderCacheAnnouncementModal ? 'true' : 'false',
|
|
941
|
+
"aria-haspopup": "dialog",
|
|
942
|
+
ref: "sideAnnouncementTrigger",
|
|
943
|
+
onClick: _ctx.openProviderCacheAnnouncementModal
|
|
944
|
+
}, [
|
|
945
|
+
(_openBlock(), _createElementBlock("svg", {
|
|
946
|
+
class: "side-rail-action-icon",
|
|
947
|
+
viewBox: "0 0 20 20",
|
|
948
|
+
fill: "none",
|
|
949
|
+
stroke: "currentColor",
|
|
950
|
+
"stroke-width": "1.7",
|
|
951
|
+
"stroke-linecap": "round",
|
|
952
|
+
"stroke-linejoin": "round",
|
|
953
|
+
focusable: "false"
|
|
954
|
+
}, [
|
|
955
|
+
_createElementVNode("path", { d: "M15 8.5a5 5 0 0 0-10 0c0 2.75-1 4.25-2 5.5h14c-1-1.25-2-2.75-2-5.5ZM8 16a2 2 0 0 0 4 0" })
|
|
956
|
+
])),
|
|
957
|
+
(!_ctx.hasReadSideAnnouncement)
|
|
958
|
+
? (_openBlock(), _createElementBlock("span", {
|
|
959
|
+
key: 0,
|
|
960
|
+
class: "side-announcement-unread",
|
|
961
|
+
"aria-hidden": "true"
|
|
962
|
+
}))
|
|
963
|
+
: _createCommentVNode("v-if", true)
|
|
964
|
+
], 8 /* PROPS */, ["aria-label", "title", "aria-expanded", "onClick"])
|
|
682
965
|
])
|
|
683
966
|
]))
|
|
684
967
|
: _createCommentVNode("v-if", true),
|
|
@@ -4883,43 +5166,96 @@ return function render(_ctx, _cache) {
|
|
|
4883
5166
|
key: 1,
|
|
4884
5167
|
class: "feature-empty"
|
|
4885
5168
|
}, _toDisplayString(_ctx.t('features.empty')), 1 /* TEXT */))
|
|
4886
|
-
:
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
|
-
|
|
4895
|
-
|
|
4896
|
-
|
|
4897
|
-
|
|
4898
|
-
|
|
4899
|
-
|
|
4900
|
-
|
|
4901
|
-
|
|
4902
|
-
|
|
4903
|
-
|
|
4904
|
-
|
|
4905
|
-
|
|
4906
|
-
|
|
4907
|
-
|
|
4908
|
-
|
|
4909
|
-
|
|
4910
|
-
|
|
4911
|
-
|
|
4912
|
-
|
|
4913
|
-
|
|
4914
|
-
|
|
4915
|
-
|
|
4916
|
-
|
|
4917
|
-
|
|
4918
|
-
|
|
4919
|
-
|
|
4920
|
-
|
|
4921
|
-
|
|
4922
|
-
|
|
5169
|
+
: (_openBlock(), _createElementBlock(_Fragment, { key: 2 }, [
|
|
5170
|
+
_createElementVNode("div", {
|
|
5171
|
+
class: "feature-actions index-result-views",
|
|
5172
|
+
role: "group",
|
|
5173
|
+
"aria-label": _ctx.t('features.resultView')
|
|
5174
|
+
}, [
|
|
5175
|
+
_createElementVNode("button", {
|
|
5176
|
+
type: "button",
|
|
5177
|
+
class: "btn-mini",
|
|
5178
|
+
"aria-pressed": _ctx.indexResultView === 'messages',
|
|
5179
|
+
onClick: $event => (_ctx.setIndexResultView('messages'))
|
|
5180
|
+
}, _toDisplayString(_ctx.t('features.byMessage')), 9 /* TEXT, PROPS */, ["aria-pressed", "onClick"]),
|
|
5181
|
+
_createElementVNode("button", {
|
|
5182
|
+
type: "button",
|
|
5183
|
+
class: "btn-mini",
|
|
5184
|
+
"aria-pressed": _ctx.indexResultView === 'sessions',
|
|
5185
|
+
onClick: $event => (_ctx.setIndexResultView('sessions'))
|
|
5186
|
+
}, _toDisplayString(_ctx.t('features.bySession')), 9 /* TEXT, PROPS */, ["aria-pressed", "onClick"])
|
|
5187
|
+
], 8 /* PROPS */, ["aria-label"]),
|
|
5188
|
+
(_ctx.indexResultView === 'sessions' && _ctx.indexResults.truncated)
|
|
5189
|
+
? (_openBlock(), _createElementBlock("p", {
|
|
5190
|
+
key: 0,
|
|
5191
|
+
class: "feature-hint"
|
|
5192
|
+
}, _toDisplayString(_ctx.t('features.groupedTruncated')), 1 /* TEXT */))
|
|
5193
|
+
: _createCommentVNode("v-if", true),
|
|
5194
|
+
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.indexResultRows, (row) => {
|
|
5195
|
+
return (_openBlock(), _createBlock(_resolveDynamicComponent(_ctx.indexResultView === 'sessions' ? 'details' : 'div'), {
|
|
5196
|
+
key: row.key,
|
|
5197
|
+
class: _normalizeClass(_ctx.indexResultView === 'sessions' ? 'feature-disclosure index-result-group' : 'index-message-row')
|
|
5198
|
+
}, {
|
|
5199
|
+
default: _withCtx(() => [
|
|
5200
|
+
(_ctx.indexResultView === 'sessions')
|
|
5201
|
+
? (_openBlock(), _createElementBlock("summary", { key: 0 }, [
|
|
5202
|
+
_createElementVNode("strong", null, _toDisplayString(row.session.title || row.session.sessionId), 1 /* TEXT */),
|
|
5203
|
+
_createElementVNode("span", { class: "feature-source" }, _toDisplayString(row.session.source), 1 /* TEXT */),
|
|
5204
|
+
_createElementVNode("span", { class: "feature-meta" }, _toDisplayString(_ctx.t('features.returnedMatches', { count: row.hits.length })), 1 /* TEXT */),
|
|
5205
|
+
(row.session.cwd)
|
|
5206
|
+
? (_openBlock(), _createElementBlock("span", {
|
|
5207
|
+
key: 0,
|
|
5208
|
+
class: "index-group-path",
|
|
5209
|
+
title: row.session.cwd
|
|
5210
|
+
}, _toDisplayString(row.session.cwd), 9 /* TEXT, PROPS */, ["title"]))
|
|
5211
|
+
: _createCommentVNode("v-if", true)
|
|
5212
|
+
]))
|
|
5213
|
+
: _createCommentVNode("v-if", true),
|
|
5214
|
+
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(row.hits, (result) => {
|
|
5215
|
+
return (_openBlock(), _createElementBlock("article", {
|
|
5216
|
+
key: result.nodeId,
|
|
5217
|
+
class: "feature-record"
|
|
5218
|
+
}, [
|
|
5219
|
+
(_ctx.indexResultView === 'messages')
|
|
5220
|
+
? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [
|
|
5221
|
+
_createElementVNode("header", { class: "feature-record-heading" }, [
|
|
5222
|
+
_createElementVNode("h4", null, _toDisplayString(result.session.title || result.session.sessionId), 1 /* TEXT */),
|
|
5223
|
+
_createElementVNode("span", { class: "feature-source" }, _toDisplayString(result.session.source), 1 /* TEXT */)
|
|
5224
|
+
]),
|
|
5225
|
+
_createElementVNode("small", {
|
|
5226
|
+
class: "feature-path",
|
|
5227
|
+
title: result.session.cwd
|
|
5228
|
+
}, _toDisplayString(result.session.cwd), 9 /* TEXT, PROPS */, ["title"])
|
|
5229
|
+
], 64 /* STABLE_FRAGMENT */))
|
|
5230
|
+
: _createCommentVNode("v-if", true),
|
|
5231
|
+
_createElementVNode("pre", { class: "feature-excerpt" }, _toDisplayString(result.snippet), 1 /* TEXT */),
|
|
5232
|
+
_createElementVNode("div", { class: "feature-record-actions" }, [
|
|
5233
|
+
_createElementVNode("button", {
|
|
5234
|
+
type: "button",
|
|
5235
|
+
class: "btn-mini",
|
|
5236
|
+
onClick: $event => (_ctx.openIndexedMessage(result))
|
|
5237
|
+
}, _toDisplayString(_ctx.t('features.source')), 9 /* TEXT, PROPS */, ["onClick"]),
|
|
5238
|
+
_createElementVNode("label", { class: "evidence-select" }, [
|
|
5239
|
+
_createElementVNode("input", {
|
|
5240
|
+
type: "checkbox",
|
|
5241
|
+
checked: _ctx.isEvidenceSelected(result),
|
|
5242
|
+
onChange: $event => (_ctx.toggleEvidence(result))
|
|
5243
|
+
}, null, 40 /* PROPS, NEED_HYDRATION */, ["checked", "onChange"]),
|
|
5244
|
+
_createTextVNode(_toDisplayString(_ctx.t('evidence.select')), 1 /* TEXT */)
|
|
5245
|
+
])
|
|
5246
|
+
]),
|
|
5247
|
+
_createElementVNode("details", { class: "feature-disclosure" }, [
|
|
5248
|
+
_createElementVNode("summary", null, _toDisplayString(_ctx.t('features.context')), 1 /* TEXT */),
|
|
5249
|
+
_createElementVNode("pre", null, _toDisplayString(result.before), 1 /* TEXT */),
|
|
5250
|
+
_createElementVNode("pre", null, _toDisplayString(result.after), 1 /* TEXT */)
|
|
5251
|
+
])
|
|
5252
|
+
]))
|
|
5253
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
5254
|
+
]),
|
|
5255
|
+
_: 2 /* DYNAMIC */
|
|
5256
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["class"]))
|
|
5257
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
5258
|
+
], 64 /* STABLE_FRAGMENT */))
|
|
4923
5259
|
], 64 /* STABLE_FRAGMENT */))
|
|
4924
5260
|
: _createCommentVNode("v-if", true)
|
|
4925
5261
|
]))
|
|
@@ -8984,12 +9320,6 @@ return function render(_ctx, _cache) {
|
|
|
8984
9320
|
_createElementVNode("span", { class: "skills-flow-count" }, _toDisplayString(_ctx.skillsList.length), 1 /* TEXT */)
|
|
8985
9321
|
]),
|
|
8986
9322
|
_createElementVNode("div", { class: "skills-flow-actions" }, [
|
|
8987
|
-
_createElementVNode("button", {
|
|
8988
|
-
type: "button",
|
|
8989
|
-
class: "skills-action-btn",
|
|
8990
|
-
onClick: _ctx.backupCurrentSkills,
|
|
8991
|
-
disabled: _ctx.loading || !!_ctx.initError || _ctx.skillsMarketBusy || _ctx.skillsList.length === 0
|
|
8992
|
-
}, _toDisplayString(_ctx.skillsBackingUp ? _ctx.t('market.backup.running') : _ctx.t('market.backup.action')), 9 /* TEXT, PROPS */, ["onClick", "disabled"]),
|
|
8993
9323
|
_createElementVNode("button", {
|
|
8994
9324
|
type: "button",
|
|
8995
9325
|
class: "skills-action-btn",
|
|
@@ -9032,6 +9362,28 @@ return function render(_ctx, _cache) {
|
|
|
9032
9362
|
], 8 /* PROPS */, ["onClick", "disabled"])
|
|
9033
9363
|
])
|
|
9034
9364
|
]),
|
|
9365
|
+
_createElementVNode("div", { class: "skills-flow-actions" }, [
|
|
9366
|
+
_createElementVNode("button", {
|
|
9367
|
+
type: "button",
|
|
9368
|
+
class: "skills-action-btn",
|
|
9369
|
+
onClick: _ctx.backupCurrentSkills,
|
|
9370
|
+
disabled: _ctx.loading || !!_ctx.initError || _ctx.skillsMarketBusy || _ctx.skillsList.length === 0
|
|
9371
|
+
}, _toDisplayString(_ctx.skillsBackingUp ? _ctx.t('market.backup.running') : _ctx.t('market.backup.export')), 9 /* TEXT, PROPS */, ["onClick", "disabled"]),
|
|
9372
|
+
_createElementVNode("button", {
|
|
9373
|
+
type: "button",
|
|
9374
|
+
class: "skills-action-btn",
|
|
9375
|
+
onClick: $event => (_ctx.triggerSkillsZipImport('backup')),
|
|
9376
|
+
disabled: _ctx.loading || !!_ctx.initError || _ctx.skillsMarketBusy
|
|
9377
|
+
}, _toDisplayString(_ctx.skillsZipImporting ? _ctx.t('modal.skills.actions.zipImporting') : _ctx.t('market.backup.import')), 9 /* TEXT, PROPS */, ["onClick", "disabled"]),
|
|
9378
|
+
_createElementVNode("input", {
|
|
9379
|
+
ref: "skillsBackupImportInput",
|
|
9380
|
+
type: "file",
|
|
9381
|
+
accept: ".zip,application/zip",
|
|
9382
|
+
hidden: "",
|
|
9383
|
+
onChange: $event => (_ctx.handleSkillsZipImportChange($event, 'backup')),
|
|
9384
|
+
onCancel: $event => (delete $event.target.dataset.targetApp)
|
|
9385
|
+
}, null, 40 /* PROPS, NEED_HYDRATION */, ["onChange", "onCancel"])
|
|
9386
|
+
]),
|
|
9035
9387
|
(_ctx.skillsList.length > 0)
|
|
9036
9388
|
? (_openBlock(), _createElementBlock("div", {
|
|
9037
9389
|
key: 0,
|
|
@@ -9305,7 +9657,7 @@ return function render(_ctx, _cache) {
|
|
|
9305
9657
|
}, [
|
|
9306
9658
|
_createElementVNode("div", { class: "plugins-panel-head" }, [
|
|
9307
9659
|
_createElementVNode("div", null, [
|
|
9308
|
-
_createElementVNode("
|
|
9660
|
+
_createElementVNode("h2", { class: "plugins-panel-title" }, _toDisplayString(_ctx.t('plugins.promptTemplates.title')), 1 /* TEXT */)
|
|
9309
9661
|
]),
|
|
9310
9662
|
(!_ctx.pluginsSidebarVisible)
|
|
9311
9663
|
? (_openBlock(), _createElementBlock("div", {
|
|
@@ -9374,8 +9726,12 @@ return function render(_ctx, _cache) {
|
|
|
9374
9726
|
_createElementVNode("div", { class: "prompt-compose-workspace" }, [
|
|
9375
9727
|
_createElementVNode("div", { class: "prompt-compose-main" }, [
|
|
9376
9728
|
_createElementVNode("div", { class: "prompt-compose-form" }, [
|
|
9377
|
-
_createElementVNode("label", {
|
|
9729
|
+
_createElementVNode("label", {
|
|
9730
|
+
class: "form-label",
|
|
9731
|
+
for: "prompt-compose-template"
|
|
9732
|
+
}, _toDisplayString(_ctx.t('plugins.promptTemplates.compose.selectTemplate')), 1 /* TEXT */),
|
|
9378
9733
|
_createElementVNode("select", {
|
|
9734
|
+
id: "prompt-compose-template",
|
|
9379
9735
|
class: "form-select prompt-compose-template-select",
|
|
9380
9736
|
value: _ctx.promptComposerSelectedTemplateId,
|
|
9381
9737
|
onChange: $event => (_ctx.selectPromptComposerTemplate($event.target.value)),
|
|
@@ -9480,7 +9836,7 @@ return function render(_ctx, _cache) {
|
|
|
9480
9836
|
]),
|
|
9481
9837
|
_createElementVNode("button", {
|
|
9482
9838
|
type: "button",
|
|
9483
|
-
class: "btn-mini",
|
|
9839
|
+
class: "btn-mini btn-confirm-mini",
|
|
9484
9840
|
onClick: _ctx.copyPromptComposerRendered,
|
|
9485
9841
|
disabled: _ctx.pluginsLoading || !_ctx.promptComposerRendered
|
|
9486
9842
|
}, _toDisplayString(_ctx.t('plugins.promptTemplates.compose.copy')), 9 /* TEXT, PROPS */, ["onClick", "disabled"])
|
|
@@ -9518,7 +9874,7 @@ return function render(_ctx, _cache) {
|
|
|
9518
9874
|
]),
|
|
9519
9875
|
_createElementVNode("button", {
|
|
9520
9876
|
type: "button",
|
|
9521
|
-
class: "btn-mini",
|
|
9877
|
+
class: "btn-mini btn-confirm-mini",
|
|
9522
9878
|
onClick: _ctx.createPromptTemplate,
|
|
9523
9879
|
disabled: _ctx.pluginsLoading || _ctx.pluginConfigSaving
|
|
9524
9880
|
}, _toDisplayString(_ctx.t('plugins.promptTemplates.manage.create')), 9 /* TEXT, PROPS */, ["onClick", "disabled"]),
|
|
@@ -9709,7 +10065,7 @@ return function render(_ctx, _cache) {
|
|
|
9709
10065
|
}, _toDisplayString(_ctx.t('plugins.promptTemplates.editor.delete')), 9 /* TEXT, PROPS */, ["onClick", "disabled"]),
|
|
9710
10066
|
_createElementVNode("button", {
|
|
9711
10067
|
type: "button",
|
|
9712
|
-
class: "btn-mini",
|
|
10068
|
+
class: "btn-mini btn-confirm-mini",
|
|
9713
10069
|
onClick: _ctx.savePromptTemplate,
|
|
9714
10070
|
disabled: _ctx.pluginsLoading || _ctx.pluginConfigSaving
|
|
9715
10071
|
}, _toDisplayString(_ctx.t('plugins.promptTemplates.editor.save')), 9 /* TEXT, PROPS */, ["onClick", "disabled"])
|
|
@@ -9739,8 +10095,12 @@ return function render(_ctx, _cache) {
|
|
|
9739
10095
|
])
|
|
9740
10096
|
]),
|
|
9741
10097
|
_createElementVNode("div", { class: "prompt-editor-body" }, [
|
|
9742
|
-
_createElementVNode("label", {
|
|
10098
|
+
_createElementVNode("label", {
|
|
10099
|
+
class: "form-label",
|
|
10100
|
+
for: "prompt-template-source"
|
|
10101
|
+
}, _toDisplayString(_ctx.t('plugins.promptTemplates.editor.templateLabel')), 1 /* TEXT */),
|
|
9743
10102
|
_withDirectives(_createElementVNode("textarea", {
|
|
10103
|
+
id: "prompt-template-source",
|
|
9744
10104
|
class: "form-input prompt-editor-textarea",
|
|
9745
10105
|
"onUpdate:modelValue": $event => ((_ctx.promptTemplateDraftRaw.template) = $event),
|
|
9746
10106
|
disabled: _ctx.promptTemplateDraft.isBuiltin,
|
|
@@ -9827,11 +10187,11 @@ return function render(_ctx, _cache) {
|
|
|
9827
10187
|
: (_ctx.pluginsActiveId === 'text-tools')
|
|
9828
10188
|
? (_openBlock(), _createElementBlock("div", {
|
|
9829
10189
|
key: 3,
|
|
9830
|
-
class: "plugins-panel"
|
|
10190
|
+
class: "plugins-panel plugins-panel-text-tools"
|
|
9831
10191
|
}, [
|
|
9832
10192
|
_createElementVNode("div", { class: "plugins-panel-head" }, [
|
|
9833
10193
|
_createElementVNode("div", null, [
|
|
9834
|
-
_createElementVNode("
|
|
10194
|
+
_createElementVNode("h2", { class: "plugins-panel-title" }, _toDisplayString(_ctx.t('plugins.textTools.title')), 1 /* TEXT */)
|
|
9835
10195
|
])
|
|
9836
10196
|
]),
|
|
9837
10197
|
_createElementVNode("div", {
|
|
@@ -9854,8 +10214,12 @@ return function render(_ctx, _cache) {
|
|
|
9854
10214
|
_createElementVNode("div", { class: "prompt-compose-workspace" }, [
|
|
9855
10215
|
_createElementVNode("div", { class: "prompt-compose-main" }, [
|
|
9856
10216
|
_createElementVNode("div", { class: "prompt-compose-form" }, [
|
|
9857
|
-
_createElementVNode("label", {
|
|
10217
|
+
_createElementVNode("label", {
|
|
10218
|
+
class: "form-label",
|
|
10219
|
+
for: "plugin-text-input"
|
|
10220
|
+
}, _toDisplayString(_ctx.t('plugins.textTools.compress.inputLabel')), 1 /* TEXT */),
|
|
9858
10221
|
_withDirectives(_createElementVNode("textarea", {
|
|
10222
|
+
id: "plugin-text-input",
|
|
9859
10223
|
class: "form-input prompt-editor-textarea",
|
|
9860
10224
|
"onUpdate:modelValue": $event => ((_ctx.textToolsInput) = $event),
|
|
9861
10225
|
rows: "10",
|
|
@@ -9874,7 +10238,7 @@ return function render(_ctx, _cache) {
|
|
|
9874
10238
|
]),
|
|
9875
10239
|
_createElementVNode("button", {
|
|
9876
10240
|
type: "button",
|
|
9877
|
-
class: "btn-mini",
|
|
10241
|
+
class: "btn-mini btn-confirm-mini",
|
|
9878
10242
|
onClick: _ctx.copyTextToolsOutput,
|
|
9879
10243
|
disabled: !_ctx.textToolsOutput
|
|
9880
10244
|
}, _toDisplayString(_ctx.t('plugins.textTools.compress.copy')), 9 /* TEXT, PROPS */, ["onClick", "disabled"])
|
|
@@ -9898,7 +10262,7 @@ return function render(_ctx, _cache) {
|
|
|
9898
10262
|
id: "plugin-file-sharing"
|
|
9899
10263
|
}, [
|
|
9900
10264
|
_createElementVNode("div", { class: "plugins-panel-head" }, [
|
|
9901
|
-
_createElementVNode("
|
|
10265
|
+
_createElementVNode("h2", { class: "plugins-panel-title" }, _toDisplayString(_ctx.t('plugins.fileSharing.title')), 1 /* TEXT */),
|
|
9902
10266
|
_createElementVNode("div", { class: "file-sharing-actions" }, [
|
|
9903
10267
|
_createElementVNode("button", {
|
|
9904
10268
|
type: "button",
|
|
@@ -9963,7 +10327,7 @@ return function render(_ctx, _cache) {
|
|
|
9963
10327
|
_createElementVNode("div", { class: "file-sharing-actions" }, [
|
|
9964
10328
|
_createElementVNode("button", {
|
|
9965
10329
|
type: "button",
|
|
9966
|
-
class: "btn-mini",
|
|
10330
|
+
class: "btn-mini btn-confirm-mini",
|
|
9967
10331
|
id: "upload-file-sharing",
|
|
9968
10332
|
disabled: _ctx.fileSharingBusy,
|
|
9969
10333
|
onClick: _ctx.uploadFileSharingItems
|
|
@@ -9999,7 +10363,7 @@ return function render(_ctx, _cache) {
|
|
|
9999
10363
|
return (_openBlock(), _createElementBlock("li", {
|
|
10000
10364
|
key: batch.id
|
|
10001
10365
|
}, [
|
|
10002
|
-
_createElementVNode("div", { class: "file-sharing-row" }, [
|
|
10366
|
+
_createElementVNode("div", { class: "file-sharing-row file-sharing-batch-head" }, [
|
|
10003
10367
|
_createElementVNode("strong", { dir: "auto" }, _toDisplayString(batch.folder || _ctx.t('plugins.fileSharing.files', { count: batch.files.length })), 1 /* TEXT */),
|
|
10004
10368
|
_createElementVNode("button", {
|
|
10005
10369
|
type: "button",
|
|
@@ -10026,7 +10390,7 @@ return function render(_ctx, _cache) {
|
|
|
10026
10390
|
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(batch.files, (file, index) => {
|
|
10027
10391
|
return (_openBlock(), _createElementBlock("li", {
|
|
10028
10392
|
key: index,
|
|
10029
|
-
class: "file-sharing-row"
|
|
10393
|
+
class: "file-sharing-row file-sharing-file"
|
|
10030
10394
|
}, [
|
|
10031
10395
|
_createElementVNode("span", { dir: "auto" }, _toDisplayString(file.name), 1 /* TEXT */),
|
|
10032
10396
|
_createElementVNode("span", { class: "file-sharing-size" }, _toDisplayString(_ctx.t('plugins.fileSharing.bytes', { size: file.size })), 1 /* TEXT */),
|
|
@@ -10114,33 +10478,45 @@ return function render(_ctx, _cache) {
|
|
|
10114
10478
|
role: "tab",
|
|
10115
10479
|
"aria-selected": _ctx.promptsSubTab === 'codex',
|
|
10116
10480
|
onClick: $event => (_ctx.switchPromptsSubTab('codex'))
|
|
10117
|
-
},
|
|
10481
|
+
}, [
|
|
10482
|
+
_createElementVNode("span", null, "AGENTS.md"),
|
|
10483
|
+
_createElementVNode("span", { class: "prompts-file-badge" }, "Codex")
|
|
10484
|
+
], 10 /* CLASS, PROPS */, ["aria-selected", "onClick"]),
|
|
10118
10485
|
_createElementVNode("button", {
|
|
10119
10486
|
type: "button",
|
|
10120
10487
|
class: _normalizeClass(['prompts-md-tab', { active: _ctx.promptsSubTab === 'opencode' }]),
|
|
10121
10488
|
role: "tab",
|
|
10122
10489
|
"aria-selected": _ctx.promptsSubTab === 'opencode',
|
|
10123
10490
|
onClick: $event => (_ctx.switchPromptsSubTab('opencode'))
|
|
10124
|
-
},
|
|
10491
|
+
}, [
|
|
10492
|
+
_createElementVNode("span", null, "AGENTS.md"),
|
|
10493
|
+
_createElementVNode("span", { class: "prompts-file-badge" }, "OpenCode")
|
|
10494
|
+
], 10 /* CLASS, PROPS */, ["aria-selected", "onClick"]),
|
|
10125
10495
|
_createElementVNode("button", {
|
|
10126
10496
|
type: "button",
|
|
10127
10497
|
class: _normalizeClass(['prompts-md-tab', { active: _ctx.promptsSubTab === 'claude-project' }]),
|
|
10128
10498
|
role: "tab",
|
|
10129
10499
|
"aria-selected": _ctx.promptsSubTab === 'claude-project',
|
|
10130
10500
|
onClick: $event => (_ctx.switchPromptsSubTab('claude-project'))
|
|
10131
|
-
},
|
|
10501
|
+
}, [
|
|
10502
|
+
_createElementVNode("span", null, "CLAUDE.md"),
|
|
10503
|
+
_createElementVNode("span", { class: "prompts-file-badge" }, "Claude")
|
|
10504
|
+
], 10 /* CLASS, PROPS */, ["aria-selected", "onClick"]),
|
|
10132
10505
|
_createElementVNode("button", {
|
|
10133
10506
|
type: "button",
|
|
10134
10507
|
class: _normalizeClass(['prompts-md-tab', { active: _ctx.promptsSubTab === 'system' }]),
|
|
10135
10508
|
role: "tab",
|
|
10136
10509
|
"aria-selected": _ctx.promptsSubTab === 'system',
|
|
10137
10510
|
onClick: $event => (_ctx.switchPromptsSubTab('system'))
|
|
10138
|
-
},
|
|
10511
|
+
}, [
|
|
10512
|
+
_createElementVNode("span", null, "SYSTEM.md"),
|
|
10513
|
+
_createElementVNode("span", { class: "prompts-file-badge" }, "Pi")
|
|
10514
|
+
], 10 /* CLASS, PROPS */, ["aria-selected", "onClick"])
|
|
10139
10515
|
], 8 /* PROPS */, ["aria-label"]),
|
|
10140
10516
|
(_ctx.promptsSubTab === 'claude-project')
|
|
10141
10517
|
? (_openBlock(), _createElementBlock("div", {
|
|
10142
10518
|
key: 0,
|
|
10143
|
-
class: "project-path-selector"
|
|
10519
|
+
class: "project-path-selector prompts-target-card"
|
|
10144
10520
|
}, [
|
|
10145
10521
|
_createElementVNode("label", { class: "project-path-label" }, _toDisplayString(_ctx.t('prompts.project.pathLabel')), 1 /* TEXT */),
|
|
10146
10522
|
_createElementVNode("div", { class: "project-path-row" }, [
|
|
@@ -10303,6 +10679,62 @@ return function render(_ctx, _cache) {
|
|
|
10303
10679
|
]))
|
|
10304
10680
|
], 8 /* PROPS */, ["onClick", "disabled", "title"])
|
|
10305
10681
|
], 8 /* PROPS */, ["aria-label"]),
|
|
10682
|
+
(_ctx.promptsPreviewEnabled && !_ctx.agentsDiffVisible)
|
|
10683
|
+
? (_openBlock(), _createElementBlock("div", {
|
|
10684
|
+
key: 0,
|
|
10685
|
+
class: "prompts-editor-group prompts-editor-group--reading"
|
|
10686
|
+
}, [
|
|
10687
|
+
_createElementVNode("button", {
|
|
10688
|
+
type: "button",
|
|
10689
|
+
class: "btn-mini prompts-outline-toggle",
|
|
10690
|
+
"aria-expanded": !_ctx.promptsOutlineCollapsed,
|
|
10691
|
+
"aria-controls": "prompts-agents-outline",
|
|
10692
|
+
"aria-label": _ctx.t('prompts.editor.outline'),
|
|
10693
|
+
title: _ctx.t('prompts.editor.outline'),
|
|
10694
|
+
onClick: $event => (_ctx.promptsOutlineCollapsed = !_ctx.promptsOutlineCollapsed)
|
|
10695
|
+
}, [
|
|
10696
|
+
(_openBlock(), _createElementBlock("svg", {
|
|
10697
|
+
class: "btn-icon-sm",
|
|
10698
|
+
viewBox: "0 0 24 24",
|
|
10699
|
+
fill: "none",
|
|
10700
|
+
stroke: "currentColor",
|
|
10701
|
+
"stroke-width": "2"
|
|
10702
|
+
}, [
|
|
10703
|
+
_createElementVNode("rect", {
|
|
10704
|
+
x: "3",
|
|
10705
|
+
y: "4",
|
|
10706
|
+
width: "18",
|
|
10707
|
+
height: "16",
|
|
10708
|
+
rx: "2"
|
|
10709
|
+
}),
|
|
10710
|
+
_createElementVNode("path", { d: "M10 4v16" })
|
|
10711
|
+
]))
|
|
10712
|
+
], 8 /* PROPS */, ["aria-expanded", "aria-label", "title", "onClick"]),
|
|
10713
|
+
_createElementVNode("button", {
|
|
10714
|
+
type: "button",
|
|
10715
|
+
class: "btn-mini prompts-split-collapse-btn",
|
|
10716
|
+
"aria-pressed": !_ctx.promptsPreviewCollapsed,
|
|
10717
|
+
title: _ctx.promptsPreviewCollapsed ? _ctx.t('prompts.editor.expandPreview') : _ctx.t('prompts.editor.collapsePreview'),
|
|
10718
|
+
"aria-label": _ctx.promptsPreviewCollapsed ? _ctx.t('prompts.editor.expandPreview') : _ctx.t('prompts.editor.collapsePreview'),
|
|
10719
|
+
onClick: $event => (_ctx.togglePromptsPreviewCollapsed())
|
|
10720
|
+
}, [
|
|
10721
|
+
(_openBlock(), _createElementBlock("svg", {
|
|
10722
|
+
class: "btn-icon-sm",
|
|
10723
|
+
viewBox: "0 0 24 24",
|
|
10724
|
+
fill: "none",
|
|
10725
|
+
stroke: "currentColor",
|
|
10726
|
+
"stroke-width": "2"
|
|
10727
|
+
}, [
|
|
10728
|
+
_createElementVNode("path", { d: "M2 12s4-7 10-7 10 7 10 7-4 7-10 7S2 12 2 12Z" }),
|
|
10729
|
+
_createElementVNode("circle", {
|
|
10730
|
+
cx: "12",
|
|
10731
|
+
cy: "12",
|
|
10732
|
+
r: "3"
|
|
10733
|
+
})
|
|
10734
|
+
]))
|
|
10735
|
+
], 8 /* PROPS */, ["aria-pressed", "title", "aria-label", "onClick"])
|
|
10736
|
+
]))
|
|
10737
|
+
: _createCommentVNode("v-if", true),
|
|
10306
10738
|
_createElementVNode("div", {
|
|
10307
10739
|
class: "prompts-editor-group prompts-editor-group--workflow prompts-editor-group--view",
|
|
10308
10740
|
role: "group",
|
|
@@ -10657,27 +11089,34 @@ return function render(_ctx, _cache) {
|
|
|
10657
11089
|
])
|
|
10658
11090
|
], 8 /* PROPS */, ["aria-label"]),
|
|
10659
11091
|
_createElementVNode("div", {
|
|
10660
|
-
class: _normalizeClass(['editor-frame prompts-editor-frame', { 'editor-frame--loading': _ctx.agentsLoading, 'prompts-editor-frame--split': _ctx.promptsPreviewEnabled, 'prompts-editor-frame--preview-collapsed': _ctx.promptsPreviewCollapsed, 'prompts-editor-frame--mobile-preview': _ctx.promptsPreviewEnabled && _ctx.promptsMobileView === 'preview' }])
|
|
11092
|
+
class: _normalizeClass(['editor-frame prompts-editor-frame', { 'prompts-editor-frame--outline': _ctx.promptsPreviewEnabled && !_ctx.promptsOutlineCollapsed, 'editor-frame--loading': _ctx.agentsLoading, 'prompts-editor-frame--split': _ctx.promptsPreviewEnabled, 'prompts-editor-frame--preview-collapsed': _ctx.promptsPreviewCollapsed, 'prompts-editor-frame--mobile-preview': _ctx.promptsPreviewEnabled && _ctx.promptsMobileView === 'preview' }])
|
|
10661
11093
|
}, [
|
|
10662
11094
|
(_ctx.promptsPreviewEnabled)
|
|
10663
|
-
? (_openBlock(), _createElementBlock("
|
|
11095
|
+
? _withDirectives((_openBlock(), _createElementBlock("nav", {
|
|
10664
11096
|
key: 0,
|
|
10665
|
-
|
|
10666
|
-
class:
|
|
10667
|
-
|
|
10668
|
-
"aria-label": _ctx.promptsPreviewCollapsed ? _ctx.t('prompts.editor.expandPreview') : _ctx.t('prompts.editor.collapsePreview'),
|
|
10669
|
-
onClick: $event => (_ctx.togglePromptsPreviewCollapsed())
|
|
11097
|
+
id: "prompts-agents-outline",
|
|
11098
|
+
class: "prompts-outline",
|
|
11099
|
+
"aria-label": _ctx.t('prompts.editor.outline')
|
|
10670
11100
|
}, [
|
|
10671
|
-
(
|
|
10672
|
-
|
|
10673
|
-
|
|
10674
|
-
|
|
10675
|
-
|
|
10676
|
-
|
|
10677
|
-
|
|
10678
|
-
|
|
10679
|
-
|
|
10680
|
-
|
|
11101
|
+
_createElementVNode("div", { class: "prompts-outline-title" }, _toDisplayString(_ctx.t('prompts.editor.outline')), 1 /* TEXT */),
|
|
11102
|
+
(!_ctx.agentsPreviewHeadings.length)
|
|
11103
|
+
? (_openBlock(), _createElementBlock("p", {
|
|
11104
|
+
key: 0,
|
|
11105
|
+
class: "form-hint"
|
|
11106
|
+
}, _toDisplayString(_ctx.t('prompts.editor.outlineEmpty')), 1 /* TEXT */))
|
|
11107
|
+
: _createCommentVNode("v-if", true),
|
|
11108
|
+
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.agentsPreviewHeadings, (heading) => {
|
|
11109
|
+
return (_openBlock(), _createElementBlock("button", {
|
|
11110
|
+
key: heading.index,
|
|
11111
|
+
type: "button",
|
|
11112
|
+
class: "prompts-outline-item",
|
|
11113
|
+
style: _normalizeStyle({ '--outline-depth': heading.depth }),
|
|
11114
|
+
onClick: $event => (_ctx.jumpToPromptsHeading('agents', heading.index))
|
|
11115
|
+
}, _toDisplayString(heading.text), 13 /* TEXT, STYLE, PROPS */, ["onClick"]))
|
|
11116
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
11117
|
+
], 8 /* PROPS */, ["aria-label"])), [
|
|
11118
|
+
[_vShow, !_ctx.promptsOutlineCollapsed]
|
|
11119
|
+
])
|
|
10681
11120
|
: _createCommentVNode("v-if", true),
|
|
10682
11121
|
(_ctx.agentsLoading)
|
|
10683
11122
|
? (_openBlock(), _createElementBlock("div", {
|
|
@@ -10709,6 +11148,7 @@ return function render(_ctx, _cache) {
|
|
|
10709
11148
|
(_ctx.promptsPreviewEnabled)
|
|
10710
11149
|
? (_openBlock(), _createElementBlock("div", {
|
|
10711
11150
|
key: 0,
|
|
11151
|
+
ref: "promptsAgentsPreviewPane",
|
|
10712
11152
|
class: "prompts-preview-pane"
|
|
10713
11153
|
}, [
|
|
10714
11154
|
(_ctx.promptsPreviewLibsMissing)
|
|
@@ -10726,7 +11166,7 @@ return function render(_ctx, _cache) {
|
|
|
10726
11166
|
class: "prompts-preview-body",
|
|
10727
11167
|
innerHTML: _ctx.agentsPreviewHtml
|
|
10728
11168
|
}, null, 8 /* PROPS */, ["innerHTML"]))
|
|
10729
|
-
]))
|
|
11169
|
+
], 512 /* NEED_PATCH */))
|
|
10730
11170
|
: _createCommentVNode("v-if", true)
|
|
10731
11171
|
])
|
|
10732
11172
|
], 2 /* CLASS */),
|
|
@@ -10741,7 +11181,7 @@ return function render(_ctx, _cache) {
|
|
|
10741
11181
|
: _createCommentVNode("v-if", true),
|
|
10742
11182
|
(_ctx.promptsSubTab === 'system')
|
|
10743
11183
|
? (_openBlock(), _createElementBlock("div", { key: 2 }, [
|
|
10744
|
-
_createElementVNode("div", { class: "sys-prompt-controls" }, [
|
|
11184
|
+
_createElementVNode("div", { class: "sys-prompt-controls prompts-target-card" }, [
|
|
10745
11185
|
_createElementVNode("div", { class: "sys-prompt-control-group" }, [
|
|
10746
11186
|
_createElementVNode("label", {
|
|
10747
11187
|
class: "form-label",
|
|
@@ -10784,8 +11224,12 @@ return function render(_ctx, _cache) {
|
|
|
10784
11224
|
: _createCommentVNode("v-if", true)
|
|
10785
11225
|
]),
|
|
10786
11226
|
_createElementVNode("div", { class: "sys-prompt-control-group" }, [
|
|
10787
|
-
_createElementVNode("label", {
|
|
11227
|
+
_createElementVNode("label", {
|
|
11228
|
+
class: "form-label",
|
|
11229
|
+
for: "sys-prompt-scope-select"
|
|
11230
|
+
}, _toDisplayString(_ctx.t('sysPrompt.scope.label')), 1 /* TEXT */),
|
|
10788
11231
|
_createElementVNode("select", {
|
|
11232
|
+
id: "sys-prompt-scope-select",
|
|
10789
11233
|
class: "form-input sys-prompt-select",
|
|
10790
11234
|
value: _ctx.sysPromptScope,
|
|
10791
11235
|
onChange: $event => (_ctx.switchSysPromptScope($event.target.value)),
|
|
@@ -10800,8 +11244,12 @@ return function render(_ctx, _cache) {
|
|
|
10800
11244
|
key: 0,
|
|
10801
11245
|
class: "sys-prompt-control-group"
|
|
10802
11246
|
}, [
|
|
10803
|
-
_createElementVNode("label", {
|
|
11247
|
+
_createElementVNode("label", {
|
|
11248
|
+
class: "form-label",
|
|
11249
|
+
for: "sys-prompt-mode-select"
|
|
11250
|
+
}, _toDisplayString(_ctx.t('sysPrompt.mode.label')), 1 /* TEXT */),
|
|
10804
11251
|
_createElementVNode("select", {
|
|
11252
|
+
id: "sys-prompt-mode-select",
|
|
10805
11253
|
class: "form-input sys-prompt-select",
|
|
10806
11254
|
value: _ctx.sysPromptMode,
|
|
10807
11255
|
onChange: $event => (_ctx.switchSysPromptMode($event.target.value)),
|
|
@@ -10952,6 +11400,62 @@ return function render(_ctx, _cache) {
|
|
|
10952
11400
|
]))
|
|
10953
11401
|
], 8 /* PROPS */, ["onClick", "disabled", "title"])
|
|
10954
11402
|
], 8 /* PROPS */, ["aria-label"]),
|
|
11403
|
+
(_ctx.promptsPreviewEnabled && !_ctx.sysPromptDiffVisible)
|
|
11404
|
+
? (_openBlock(), _createElementBlock("div", {
|
|
11405
|
+
key: 0,
|
|
11406
|
+
class: "prompts-editor-group prompts-editor-group--reading"
|
|
11407
|
+
}, [
|
|
11408
|
+
_createElementVNode("button", {
|
|
11409
|
+
type: "button",
|
|
11410
|
+
class: "btn-mini prompts-outline-toggle",
|
|
11411
|
+
"aria-expanded": !_ctx.promptsOutlineCollapsed,
|
|
11412
|
+
"aria-controls": "prompts-sys-outline",
|
|
11413
|
+
"aria-label": _ctx.t('prompts.editor.outline'),
|
|
11414
|
+
title: _ctx.t('prompts.editor.outline'),
|
|
11415
|
+
onClick: $event => (_ctx.promptsOutlineCollapsed = !_ctx.promptsOutlineCollapsed)
|
|
11416
|
+
}, [
|
|
11417
|
+
(_openBlock(), _createElementBlock("svg", {
|
|
11418
|
+
class: "btn-icon-sm",
|
|
11419
|
+
viewBox: "0 0 24 24",
|
|
11420
|
+
fill: "none",
|
|
11421
|
+
stroke: "currentColor",
|
|
11422
|
+
"stroke-width": "2"
|
|
11423
|
+
}, [
|
|
11424
|
+
_createElementVNode("rect", {
|
|
11425
|
+
x: "3",
|
|
11426
|
+
y: "4",
|
|
11427
|
+
width: "18",
|
|
11428
|
+
height: "16",
|
|
11429
|
+
rx: "2"
|
|
11430
|
+
}),
|
|
11431
|
+
_createElementVNode("path", { d: "M10 4v16" })
|
|
11432
|
+
]))
|
|
11433
|
+
], 8 /* PROPS */, ["aria-expanded", "aria-label", "title", "onClick"]),
|
|
11434
|
+
_createElementVNode("button", {
|
|
11435
|
+
type: "button",
|
|
11436
|
+
class: "btn-mini prompts-split-collapse-btn",
|
|
11437
|
+
"aria-pressed": !_ctx.promptsPreviewCollapsed,
|
|
11438
|
+
title: _ctx.promptsPreviewCollapsed ? _ctx.t('prompts.editor.expandPreview') : _ctx.t('prompts.editor.collapsePreview'),
|
|
11439
|
+
"aria-label": _ctx.promptsPreviewCollapsed ? _ctx.t('prompts.editor.expandPreview') : _ctx.t('prompts.editor.collapsePreview'),
|
|
11440
|
+
onClick: $event => (_ctx.togglePromptsPreviewCollapsed())
|
|
11441
|
+
}, [
|
|
11442
|
+
(_openBlock(), _createElementBlock("svg", {
|
|
11443
|
+
class: "btn-icon-sm",
|
|
11444
|
+
viewBox: "0 0 24 24",
|
|
11445
|
+
fill: "none",
|
|
11446
|
+
stroke: "currentColor",
|
|
11447
|
+
"stroke-width": "2"
|
|
11448
|
+
}, [
|
|
11449
|
+
_createElementVNode("path", { d: "M2 12s4-7 10-7 10 7 10 7-4 7-10 7S2 12 2 12Z" }),
|
|
11450
|
+
_createElementVNode("circle", {
|
|
11451
|
+
cx: "12",
|
|
11452
|
+
cy: "12",
|
|
11453
|
+
r: "3"
|
|
11454
|
+
})
|
|
11455
|
+
]))
|
|
11456
|
+
], 8 /* PROPS */, ["aria-pressed", "title", "aria-label", "onClick"])
|
|
11457
|
+
]))
|
|
11458
|
+
: _createCommentVNode("v-if", true),
|
|
10955
11459
|
_createElementVNode("div", {
|
|
10956
11460
|
class: "prompts-editor-group prompts-editor-group--workflow prompts-editor-group--view",
|
|
10957
11461
|
role: "group",
|
|
@@ -11213,27 +11717,34 @@ return function render(_ctx, _cache) {
|
|
|
11213
11717
|
])
|
|
11214
11718
|
], 8 /* PROPS */, ["aria-label"]),
|
|
11215
11719
|
_createElementVNode("div", {
|
|
11216
|
-
class: _normalizeClass(['editor-frame prompts-editor-frame', { 'editor-frame--loading': _ctx.sysPromptLoading, 'prompts-editor-frame--split': _ctx.promptsPreviewEnabled, 'prompts-editor-frame--preview-collapsed': _ctx.promptsPreviewCollapsed, 'prompts-editor-frame--mobile-preview': _ctx.promptsPreviewEnabled && _ctx.promptsMobileView === 'preview' }])
|
|
11720
|
+
class: _normalizeClass(['editor-frame prompts-editor-frame', { 'prompts-editor-frame--outline': _ctx.promptsPreviewEnabled && !_ctx.promptsOutlineCollapsed, 'editor-frame--loading': _ctx.sysPromptLoading, 'prompts-editor-frame--split': _ctx.promptsPreviewEnabled, 'prompts-editor-frame--preview-collapsed': _ctx.promptsPreviewCollapsed, 'prompts-editor-frame--mobile-preview': _ctx.promptsPreviewEnabled && _ctx.promptsMobileView === 'preview' }])
|
|
11217
11721
|
}, [
|
|
11218
11722
|
(_ctx.promptsPreviewEnabled)
|
|
11219
|
-
? (_openBlock(), _createElementBlock("
|
|
11723
|
+
? _withDirectives((_openBlock(), _createElementBlock("nav", {
|
|
11220
11724
|
key: 0,
|
|
11221
|
-
|
|
11222
|
-
class:
|
|
11223
|
-
|
|
11224
|
-
"aria-label": _ctx.promptsPreviewCollapsed ? _ctx.t('prompts.editor.expandPreview') : _ctx.t('prompts.editor.collapsePreview'),
|
|
11225
|
-
onClick: $event => (_ctx.togglePromptsPreviewCollapsed())
|
|
11725
|
+
id: "prompts-sys-outline",
|
|
11726
|
+
class: "prompts-outline",
|
|
11727
|
+
"aria-label": _ctx.t('prompts.editor.outline')
|
|
11226
11728
|
}, [
|
|
11227
|
-
(
|
|
11228
|
-
|
|
11229
|
-
|
|
11230
|
-
|
|
11231
|
-
|
|
11232
|
-
|
|
11233
|
-
|
|
11234
|
-
|
|
11235
|
-
|
|
11236
|
-
|
|
11729
|
+
_createElementVNode("div", { class: "prompts-outline-title" }, _toDisplayString(_ctx.t('prompts.editor.outline')), 1 /* TEXT */),
|
|
11730
|
+
(!_ctx.sysPreviewHeadings.length)
|
|
11731
|
+
? (_openBlock(), _createElementBlock("p", {
|
|
11732
|
+
key: 0,
|
|
11733
|
+
class: "form-hint"
|
|
11734
|
+
}, _toDisplayString(_ctx.t('prompts.editor.outlineEmpty')), 1 /* TEXT */))
|
|
11735
|
+
: _createCommentVNode("v-if", true),
|
|
11736
|
+
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.sysPreviewHeadings, (heading) => {
|
|
11737
|
+
return (_openBlock(), _createElementBlock("button", {
|
|
11738
|
+
key: heading.index,
|
|
11739
|
+
type: "button",
|
|
11740
|
+
class: "prompts-outline-item",
|
|
11741
|
+
style: _normalizeStyle({ '--outline-depth': heading.depth }),
|
|
11742
|
+
onClick: $event => (_ctx.jumpToPromptsHeading('sys', heading.index))
|
|
11743
|
+
}, _toDisplayString(heading.text), 13 /* TEXT, STYLE, PROPS */, ["onClick"]))
|
|
11744
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
11745
|
+
], 8 /* PROPS */, ["aria-label"])), [
|
|
11746
|
+
[_vShow, !_ctx.promptsOutlineCollapsed]
|
|
11747
|
+
])
|
|
11237
11748
|
: _createCommentVNode("v-if", true),
|
|
11238
11749
|
(_ctx.sysPromptLoading)
|
|
11239
11750
|
? (_openBlock(), _createElementBlock("div", {
|
|
@@ -11264,6 +11775,7 @@ return function render(_ctx, _cache) {
|
|
|
11264
11775
|
(_ctx.promptsPreviewEnabled)
|
|
11265
11776
|
? (_openBlock(), _createElementBlock("div", {
|
|
11266
11777
|
key: 0,
|
|
11778
|
+
ref: "promptsSysPreviewPane",
|
|
11267
11779
|
class: "prompts-preview-pane"
|
|
11268
11780
|
}, [
|
|
11269
11781
|
(_ctx.promptsPreviewLibsMissing)
|
|
@@ -11281,7 +11793,7 @@ return function render(_ctx, _cache) {
|
|
|
11281
11793
|
class: "prompts-preview-body",
|
|
11282
11794
|
innerHTML: _ctx.sysPromptPreviewHtml
|
|
11283
11795
|
}, null, 8 /* PROPS */, ["innerHTML"]))
|
|
11284
|
-
]))
|
|
11796
|
+
], 512 /* NEED_PATCH */))
|
|
11285
11797
|
: _createCommentVNode("v-if", true)
|
|
11286
11798
|
])
|
|
11287
11799
|
], 2 /* CLASS */),
|
|
@@ -11335,29 +11847,78 @@ return function render(_ctx, _cache) {
|
|
|
11335
11847
|
_createElementVNode("div", {
|
|
11336
11848
|
id: "app-update-versions",
|
|
11337
11849
|
class: "form-group confirm-dialog-message"
|
|
11338
|
-
}, _toDisplayString(_ctx.t('side.update.metaVersions', { current: _ctx.normalizePackageVersion(_ctx.appVersion), latest: _ctx.normalizePackageVersion(_ctx.appLatestVersion) })), 1 /* TEXT */),
|
|
11339
|
-
|
|
11340
|
-
|
|
11341
|
-
|
|
11342
|
-
|
|
11343
|
-
|
|
11344
|
-
|
|
11345
|
-
|
|
11346
|
-
|
|
11347
|
-
|
|
11348
|
-
|
|
11349
|
-
|
|
11350
|
-
|
|
11351
|
-
|
|
11352
|
-
|
|
11353
|
-
|
|
11354
|
-
|
|
11355
|
-
|
|
11356
|
-
|
|
11357
|
-
|
|
11358
|
-
|
|
11850
|
+
}, _toDisplayString(_ctx.appLatestVersion ? _ctx.t('side.update.metaVersions', { current: _ctx.normalizePackageVersion(_ctx.appVersion), latest: _ctx.normalizePackageVersion(_ctx.appLatestVersion) }) : _ctx.t('side.update.currentOnly', { current: _ctx.normalizePackageVersion(_ctx.appVersion) })), 1 /* TEXT */),
|
|
11851
|
+
(_ctx.appUpdateAction === 'download')
|
|
11852
|
+
? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [
|
|
11853
|
+
_createElementVNode("p", {
|
|
11854
|
+
id: "app-update-hint",
|
|
11855
|
+
class: "form-hint"
|
|
11856
|
+
}, _toDisplayString(_ctx.appVersionStatusLoading ? _ctx.t('side.update.checking') : _ctx.appVersionStatusError || (_ctx.appUpdateAsset ? _ctx.appUpdateAsset.name : _ctx.t(_ctx.isAppUpdateAvailable() ? 'side.update.assetUnavailable' : 'side.update.upToDate'))), 1 /* TEXT */),
|
|
11857
|
+
(_ctx.appUpdateDownloadStatus)
|
|
11858
|
+
? (_openBlock(), _createElementBlock("p", {
|
|
11859
|
+
key: 0,
|
|
11860
|
+
class: "form-hint",
|
|
11861
|
+
role: "status"
|
|
11862
|
+
}, _toDisplayString(_ctx.t('side.update.download.' + _ctx.appUpdateDownloadStatus)), 1 /* TEXT */))
|
|
11863
|
+
: _createCommentVNode("v-if", true)
|
|
11864
|
+
], 64 /* STABLE_FRAGMENT */))
|
|
11865
|
+
: (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [
|
|
11866
|
+
_createElementVNode("div", { class: "docs-command-box" }, [
|
|
11867
|
+
_createElementVNode("input", {
|
|
11868
|
+
id: "app-update-command",
|
|
11869
|
+
class: "install-command",
|
|
11870
|
+
type: "text",
|
|
11871
|
+
value: _ctx.appUpdateCommand(),
|
|
11872
|
+
readonly: "",
|
|
11873
|
+
"aria-label": _ctx.t('common.command'),
|
|
11874
|
+
onFocus: $event => ($event.target.select())
|
|
11875
|
+
}, null, 40 /* PROPS, NEED_HYDRATION */, ["value", "aria-label", "onFocus"]),
|
|
11876
|
+
_createElementVNode("button", {
|
|
11877
|
+
type: "button",
|
|
11878
|
+
class: "btn-mini docs-copy-btn",
|
|
11879
|
+
onClick: $event => (_ctx.copyInstallCommand(_ctx.appUpdateCommand()))
|
|
11880
|
+
}, _toDisplayString(_ctx.t('common.copy')), 9 /* TEXT, PROPS */, ["onClick"])
|
|
11881
|
+
]),
|
|
11882
|
+
_createElementVNode("p", {
|
|
11883
|
+
id: "app-update-hint",
|
|
11884
|
+
class: "form-hint"
|
|
11885
|
+
}, _toDisplayString(_ctx.t('side.update.commandHint')), 1 /* TEXT */)
|
|
11886
|
+
], 64 /* STABLE_FRAGMENT */)),
|
|
11359
11887
|
_createElementVNode("div", { class: "btn-group" }, [
|
|
11888
|
+
(_ctx.appUpdateAction === 'download')
|
|
11889
|
+
? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [
|
|
11890
|
+
(_ctx.appUpdateDownloadStatus === 'unavailable' || (!_ctx.appUpdateAsset && (_ctx.isAppUpdateAvailable() || _ctx.appVersionStatusError || _ctx.appVersionStatusLoading)))
|
|
11891
|
+
? (_openBlock(), _createElementBlock("button", {
|
|
11892
|
+
key: 0,
|
|
11893
|
+
id: "app-update-primary",
|
|
11894
|
+
type: "button",
|
|
11895
|
+
class: "btn",
|
|
11896
|
+
disabled: _ctx.appVersionStatusLoading,
|
|
11897
|
+
onClick: _ctx.retryAppUpdateDownloadCheck
|
|
11898
|
+
}, _toDisplayString(_ctx.t('side.update.retry')), 9 /* TEXT, PROPS */, ["disabled", "onClick"]))
|
|
11899
|
+
: (_ctx.appUpdateAsset && _ctx.hasNativeAppUpdateDownload())
|
|
11900
|
+
? (_openBlock(), _createElementBlock("button", {
|
|
11901
|
+
key: 1,
|
|
11902
|
+
id: "app-update-primary",
|
|
11903
|
+
type: "button",
|
|
11904
|
+
class: "btn",
|
|
11905
|
+
disabled: _ctx.appUpdateDownloadPending,
|
|
11906
|
+
onClick: _ctx.downloadAppUpdate
|
|
11907
|
+
}, _toDisplayString(_ctx.t(_ctx.appUpdateDownloadPending ? 'side.update.downloading' : 'side.update.downloadPackage')), 9 /* TEXT, PROPS */, ["disabled", "onClick"]))
|
|
11908
|
+
: (_ctx.appUpdateAsset)
|
|
11909
|
+
? (_openBlock(), _createElementBlock("a", {
|
|
11910
|
+
key: 2,
|
|
11911
|
+
id: "app-update-primary",
|
|
11912
|
+
class: "btn",
|
|
11913
|
+
href: _ctx.appUpdateAsset.url,
|
|
11914
|
+
target: "_blank",
|
|
11915
|
+
rel: "noopener noreferrer"
|
|
11916
|
+
}, _toDisplayString(_ctx.t('side.update.downloadPackage')), 9 /* TEXT, PROPS */, ["href"]))
|
|
11917
|
+
: _createCommentVNode("v-if", true)
|
|
11918
|
+
], 64 /* STABLE_FRAGMENT */))
|
|
11919
|
+
: _createCommentVNode("v-if", true),
|
|
11360
11920
|
_createElementVNode("button", {
|
|
11921
|
+
id: "app-update-close",
|
|
11361
11922
|
type: "button",
|
|
11362
11923
|
class: "btn btn-cancel",
|
|
11363
11924
|
onClick: _ctx.closeAppUpdateModal
|
|
@@ -11721,7 +12282,8 @@ return function render(_ctx, _cache) {
|
|
|
11721
12282
|
? (_openBlock(), _createElementBlock("div", {
|
|
11722
12283
|
key: 9,
|
|
11723
12284
|
class: "modal-overlay project-announcement-overlay",
|
|
11724
|
-
onClick: _withModifiers(_ctx.closeProviderCacheAnnouncementModal, ["self"])
|
|
12285
|
+
onClick: _withModifiers(_ctx.closeProviderCacheAnnouncementModal, ["self"]),
|
|
12286
|
+
onKeydown: _withKeys(_withModifiers(_ctx.closeProviderCacheAnnouncementModal, ["stop","prevent"]), ["esc"])
|
|
11725
12287
|
}, [
|
|
11726
12288
|
_createElementVNode("div", {
|
|
11727
12289
|
class: "modal provider-cache-announcement-modal project-announcement-modal",
|
|
@@ -11732,6 +12294,7 @@ return function render(_ctx, _cache) {
|
|
|
11732
12294
|
_createElementVNode("button", {
|
|
11733
12295
|
type: "button",
|
|
11734
12296
|
class: "project-announcement-close",
|
|
12297
|
+
ref: "sideAnnouncementClose",
|
|
11735
12298
|
"aria-label": _ctx.t('announcement.project.closeAria'),
|
|
11736
12299
|
onClick: _ctx.closeProviderCacheAnnouncementModal
|
|
11737
12300
|
}, "×", 8 /* PROPS */, ["aria-label", "onClick"]),
|
|
@@ -11875,7 +12438,7 @@ return function render(_ctx, _cache) {
|
|
|
11875
12438
|
}, _toDisplayString(_ctx.t('announcement.project.primaryAction')), 9 /* TEXT, PROPS */, ["onClick"])
|
|
11876
12439
|
])
|
|
11877
12440
|
])
|
|
11878
|
-
],
|
|
12441
|
+
], 40 /* PROPS, NEED_HYDRATION */, ["onClick", "onKeydown"]))
|
|
11879
12442
|
: _createCommentVNode("v-if", true),
|
|
11880
12443
|
_createCommentVNode(" Provider 缓存记录模态框 "),
|
|
11881
12444
|
(_ctx.showProviderCacheModal)
|