codexmate 0.1.32 → 0.1.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/README.vi.md +5 -0
- package/README.zh.md +5 -0
- package/cli/claude-proxy.js +2 -2
- package/cli/prompt-history.js +2 -0
- package/cli.js +165 -213
- package/lib/cli-config-engine.js +6 -1
- package/lib/cli-file-utils.js +6 -1
- package/lib/config-change-fs.js +132 -0
- package/lib/config-changes.js +293 -0
- package/lib/handoff-mcp.js +18 -2
- package/lib/local-feature-store.js +39 -0
- package/lib/session-bookmarks.js +72 -0
- package/lib/session-context-health.js +23 -3
- package/lib/session-diagnostics.js +75 -0
- package/lib/session-feature-settings.js +21 -0
- package/lib/session-features.js +63 -0
- package/lib/session-handoff-draft.js +43 -0
- package/lib/session-projects.js +76 -0
- package/lib/session-search-index.js +188 -0
- package/lib/thread-handoff.js +8 -0
- package/lib/web-server.js +216 -0
- package/package.json +1 -1
- package/web-ui/app.js +7 -1
- package/web-ui/index.html +1 -0
- package/web-ui/logic.context-window.mjs +15 -0
- package/web-ui/modules/api.mjs +72 -39
- package/web-ui/modules/app.methods.agents.mjs +5 -0
- package/web-ui/modules/app.methods.claude-config.mjs +2 -0
- package/web-ui/modules/app.methods.codex-config.mjs +9 -0
- package/web-ui/modules/app.methods.config-changes.mjs +124 -0
- package/web-ui/modules/app.methods.kilocode-config.mjs +2 -0
- package/web-ui/modules/app.methods.openclaw-persist.mjs +2 -0
- package/web-ui/modules/app.methods.opencode-config.mjs +2 -0
- package/web-ui/modules/app.methods.pi-config.mjs +12 -3
- package/web-ui/modules/app.methods.provider-cache.mjs +9 -3
- package/web-ui/modules/app.methods.providers.mjs +6 -0
- package/web-ui/modules/app.methods.startup-claude.mjs +8 -47
- package/web-ui/modules/config-change-actions.mjs +9 -0
- package/web-ui/modules/i18n/locales/en.mjs +131 -4
- package/web-ui/modules/i18n/locales/ja.mjs +131 -4
- package/web-ui/modules/i18n/locales/vi.mjs +131 -4
- package/web-ui/modules/i18n/locales/zh-tw.mjs +131 -4
- package/web-ui/modules/i18n/locales/zh.mjs +131 -4
- package/web-ui/modules/request-deadline.mjs +33 -0
- package/web-ui/modules/session-features.mjs +279 -0
- package/web-ui/modules/thread-handoff.mjs +1 -1
- package/web-ui/partials/index/config-changes.html +25 -0
- package/web-ui/partials/index/context-window-reference.html +17 -0
- package/web-ui/partials/index/layout-header.html +7 -30
- package/web-ui/partials/index/modal-openclaw-config.html +0 -2
- package/web-ui/partials/index/modal-skills.html +0 -1
- package/web-ui/partials/index/modals-basic.html +0 -8
- package/web-ui/partials/index/modals-pi-provider.html +0 -1
- package/web-ui/partials/index/panel-config-codex.html +0 -3
- package/web-ui/partials/index/panel-config-openclaw.html +16 -13
- package/web-ui/partials/index/panel-dashboard.html +0 -2
- package/web-ui/partials/index/panel-plugins.html +0 -1
- package/web-ui/partials/index/panel-prompts.html +0 -1
- package/web-ui/partials/index/panel-sessions.html +9 -0
- package/web-ui/partials/index/panel-settings.html +1 -12
- package/web-ui/partials/index/panel-trash.html +0 -1
- package/web-ui/partials/index/session-diagnostics.html +29 -0
- package/web-ui/partials/index/session-features.html +107 -0
- package/web-ui/partials/index/thread-handoff.html +6 -3
- package/web-ui/res/web-ui-render.precompiled.js +1077 -135
- package/web-ui/styles/config-changes.css +30 -0
- package/web-ui/styles/openclaw-structured.css +205 -189
- package/web-ui/styles/session-features.css +148 -0
- package/web-ui/styles.css +3 -1
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
window.__CODEXMATE_WEB_UI_RENDER__ = (() => {
|
|
2
|
-
const { toDisplayString: _toDisplayString, openBlock: _openBlock, createElementBlock: _createElementBlock, createCommentVNode: _createCommentVNode, createTextVNode: _createTextVNode, createElementVNode: _createElementVNode, normalizeClass: _normalizeClass, withModifiers: _withModifiers, withKeys: _withKeys, renderList: _renderList, Fragment: _Fragment, vModelSelect: _vModelSelect, withDirectives: _withDirectives, vModelText: _vModelText, vModelCheckbox: _vModelCheckbox, vShow: _vShow, Teleport: _Teleport, createBlock: _createBlock, vModelDynamic: _vModelDynamic, normalizeStyle: _normalizeStyle, isMemoSame: _isMemoSame, withMemo: _withMemo } = Vue
|
|
2
|
+
const { toDisplayString: _toDisplayString, openBlock: _openBlock, createElementBlock: _createElementBlock, createCommentVNode: _createCommentVNode, createTextVNode: _createTextVNode, createElementVNode: _createElementVNode, normalizeClass: _normalizeClass, withModifiers: _withModifiers, withKeys: _withKeys, renderList: _renderList, Fragment: _Fragment, vModelSelect: _vModelSelect, withDirectives: _withDirectives, vModelText: _vModelText, vModelCheckbox: _vModelCheckbox, vShow: _vShow, Teleport: _Teleport, createBlock: _createBlock, vModelDynamic: _vModelDynamic, normalizeStyle: _normalizeStyle, isMemoSame: _isMemoSame, withMemo: _withMemo, resolveComponent: _resolveComponent, createVNode: _createVNode } = Vue
|
|
3
3
|
|
|
4
4
|
return function render(_ctx, _cache) {
|
|
5
|
+
const _component_session_message_actions = _resolveComponent("session-message-actions")
|
|
6
|
+
|
|
5
7
|
return (_openBlock(), _createElementBlock(_Fragment, null, [
|
|
6
8
|
(!_ctx.navigationReady)
|
|
7
9
|
? (_openBlock(), _createElementBlock("div", {
|
|
@@ -236,7 +238,6 @@ return function render(_ctx, _cache) {
|
|
|
236
238
|
}, "⌂"),
|
|
237
239
|
_createElementVNode("div", { class: "side-item-title" }, _toDisplayString(_ctx.t('side.overview.doctor')), 1 /* TEXT */),
|
|
238
240
|
_createElementVNode("div", { class: "side-item-meta" }, [
|
|
239
|
-
_createElementVNode("span", null, _toDisplayString(_ctx.t('side.overview.doctor.meta')), 1 /* TEXT */),
|
|
240
241
|
_createElementVNode("span", null, _toDisplayString(_ctx.inspectorHealthStatus), 1 /* TEXT */)
|
|
241
242
|
])
|
|
242
243
|
], 42 /* CLASS, PROPS, NEED_HYDRATION */, ["aria-current", "onPointerdown", "onClick"])
|
|
@@ -261,7 +262,6 @@ return function render(_ctx, _cache) {
|
|
|
261
262
|
}, "?"),
|
|
262
263
|
_createElementVNode("div", { class: "side-item-title" }, _toDisplayString(_ctx.t('side.docs.cliInstall')), 1 /* TEXT */),
|
|
263
264
|
_createElementVNode("div", { class: "side-item-meta" }, [
|
|
264
|
-
_createElementVNode("span", null, _toDisplayString(_ctx.t('side.docs.cliInstall.meta')), 1 /* TEXT */),
|
|
265
265
|
_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 */)
|
|
266
266
|
])
|
|
267
267
|
], 42 /* CLASS, PROPS, NEED_HYDRATION */, ["aria-current", "onPointerdown", "onClick"])
|
|
@@ -276,6 +276,7 @@ return function render(_ctx, _cache) {
|
|
|
276
276
|
? (_openBlock(), _createElementBlock("button", {
|
|
277
277
|
key: 0,
|
|
278
278
|
id: "side-tab-config-codex",
|
|
279
|
+
"aria-description": _ctx.t('side.config.codex.meta'),
|
|
279
280
|
"data-main-tab": "config",
|
|
280
281
|
"data-config-mode": "codex",
|
|
281
282
|
"aria-current": _ctx.mainTab === 'config' && _ctx.configMode === 'codex' ? 'page' : null,
|
|
@@ -287,16 +288,14 @@ return function render(_ctx, _cache) {
|
|
|
287
288
|
class: "side-item-icon",
|
|
288
289
|
"aria-hidden": "true"
|
|
289
290
|
}, "C"),
|
|
290
|
-
_createElementVNode("div", { class: "side-item-title" }, _toDisplayString(_ctx.t('side.config.codex')), 1 /* TEXT */)
|
|
291
|
-
|
|
292
|
-
_createElementVNode("span", null, _toDisplayString(_ctx.t('side.config.codex.meta')), 1 /* TEXT */)
|
|
293
|
-
])
|
|
294
|
-
], 42 /* CLASS, PROPS, NEED_HYDRATION */, ["aria-current", "onPointerdown", "onClick"]))
|
|
291
|
+
_createElementVNode("div", { class: "side-item-title" }, _toDisplayString(_ctx.t('side.config.codex')), 1 /* TEXT */)
|
|
292
|
+
], 42 /* CLASS, PROPS, NEED_HYDRATION */, ["aria-description", "aria-current", "onPointerdown", "onClick"]))
|
|
295
293
|
: _createCommentVNode("v-if", true),
|
|
296
294
|
(_ctx.isConfigModeVisible('claude'))
|
|
297
295
|
? (_openBlock(), _createElementBlock("button", {
|
|
298
296
|
key: 1,
|
|
299
297
|
id: "side-tab-config-claude",
|
|
298
|
+
"aria-description": _ctx.t('side.config.claude.meta'),
|
|
300
299
|
"data-main-tab": "config",
|
|
301
300
|
"data-config-mode": "claude",
|
|
302
301
|
"aria-current": _ctx.mainTab === 'config' && _ctx.configMode === 'claude' ? 'page' : null,
|
|
@@ -308,16 +307,14 @@ return function render(_ctx, _cache) {
|
|
|
308
307
|
class: "side-item-icon",
|
|
309
308
|
"aria-hidden": "true"
|
|
310
309
|
}, "A"),
|
|
311
|
-
_createElementVNode("div", { class: "side-item-title" }, _toDisplayString(_ctx.t('side.config.claude')), 1 /* TEXT */)
|
|
312
|
-
|
|
313
|
-
_createElementVNode("span", null, _toDisplayString(_ctx.t('side.config.claude.meta')), 1 /* TEXT */)
|
|
314
|
-
])
|
|
315
|
-
], 42 /* CLASS, PROPS, NEED_HYDRATION */, ["aria-current", "onPointerdown", "onClick"]))
|
|
310
|
+
_createElementVNode("div", { class: "side-item-title" }, _toDisplayString(_ctx.t('side.config.claude')), 1 /* TEXT */)
|
|
311
|
+
], 42 /* CLASS, PROPS, NEED_HYDRATION */, ["aria-description", "aria-current", "onPointerdown", "onClick"]))
|
|
316
312
|
: _createCommentVNode("v-if", true),
|
|
317
313
|
(_ctx.isConfigModeVisible('openclaw'))
|
|
318
314
|
? (_openBlock(), _createElementBlock("button", {
|
|
319
315
|
key: 2,
|
|
320
316
|
id: "side-tab-config-openclaw",
|
|
317
|
+
"aria-description": _ctx.t('side.config.openclaw.meta'),
|
|
321
318
|
"data-main-tab": "config",
|
|
322
319
|
"data-config-mode": "openclaw",
|
|
323
320
|
"aria-current": _ctx.mainTab === 'config' && _ctx.configMode === 'openclaw' ? 'page' : null,
|
|
@@ -329,16 +326,14 @@ return function render(_ctx, _cache) {
|
|
|
329
326
|
class: "side-item-icon",
|
|
330
327
|
"aria-hidden": "true"
|
|
331
328
|
}, "O"),
|
|
332
|
-
_createElementVNode("div", { class: "side-item-title" }, _toDisplayString(_ctx.t('side.config.openclaw')), 1 /* TEXT */)
|
|
333
|
-
|
|
334
|
-
_createElementVNode("span", null, _toDisplayString(_ctx.t('side.config.openclaw.meta')), 1 /* TEXT */)
|
|
335
|
-
])
|
|
336
|
-
], 42 /* CLASS, PROPS, NEED_HYDRATION */, ["aria-current", "onPointerdown", "onClick"]))
|
|
329
|
+
_createElementVNode("div", { class: "side-item-title" }, _toDisplayString(_ctx.t('side.config.openclaw')), 1 /* TEXT */)
|
|
330
|
+
], 42 /* CLASS, PROPS, NEED_HYDRATION */, ["aria-description", "aria-current", "onPointerdown", "onClick"]))
|
|
337
331
|
: _createCommentVNode("v-if", true),
|
|
338
332
|
(_ctx.isConfigModeVisible('opencode'))
|
|
339
333
|
? (_openBlock(), _createElementBlock("button", {
|
|
340
334
|
key: 3,
|
|
341
335
|
id: "side-tab-config-opencode",
|
|
336
|
+
"aria-description": _ctx.t('side.config.opencode.meta'),
|
|
342
337
|
"data-main-tab": "config",
|
|
343
338
|
"data-config-mode": "opencode",
|
|
344
339
|
"aria-current": _ctx.mainTab === 'config' && _ctx.configMode === 'opencode' ? 'page' : null,
|
|
@@ -350,16 +345,14 @@ return function render(_ctx, _cache) {
|
|
|
350
345
|
class: "side-item-icon",
|
|
351
346
|
"aria-hidden": "true"
|
|
352
347
|
}, "N"),
|
|
353
|
-
_createElementVNode("div", { class: "side-item-title" }, _toDisplayString(_ctx.t('side.config.opencode')), 1 /* TEXT */)
|
|
354
|
-
|
|
355
|
-
_createElementVNode("span", null, _toDisplayString(_ctx.t('side.config.opencode.meta')), 1 /* TEXT */)
|
|
356
|
-
])
|
|
357
|
-
], 42 /* CLASS, PROPS, NEED_HYDRATION */, ["aria-current", "onPointerdown", "onClick"]))
|
|
348
|
+
_createElementVNode("div", { class: "side-item-title" }, _toDisplayString(_ctx.t('side.config.opencode')), 1 /* TEXT */)
|
|
349
|
+
], 42 /* CLASS, PROPS, NEED_HYDRATION */, ["aria-description", "aria-current", "onPointerdown", "onClick"]))
|
|
358
350
|
: _createCommentVNode("v-if", true),
|
|
359
351
|
(_ctx.isConfigModeVisible('kilocode'))
|
|
360
352
|
? (_openBlock(), _createElementBlock("button", {
|
|
361
353
|
key: 4,
|
|
362
354
|
id: "side-tab-config-kilocode",
|
|
355
|
+
"aria-description": _ctx.t('side.config.kilocode.meta'),
|
|
363
356
|
"data-main-tab": "config",
|
|
364
357
|
"data-config-mode": "kilocode",
|
|
365
358
|
"aria-current": _ctx.mainTab === 'config' && _ctx.configMode === 'kilocode' ? 'page' : null,
|
|
@@ -371,16 +364,14 @@ return function render(_ctx, _cache) {
|
|
|
371
364
|
class: "side-item-icon",
|
|
372
365
|
"aria-hidden": "true"
|
|
373
366
|
}, "K"),
|
|
374
|
-
_createElementVNode("div", { class: "side-item-title" }, _toDisplayString(_ctx.t('side.config.kilocode')), 1 /* TEXT */)
|
|
375
|
-
|
|
376
|
-
_createElementVNode("span", null, _toDisplayString(_ctx.t('side.config.kilocode.meta')), 1 /* TEXT */)
|
|
377
|
-
])
|
|
378
|
-
], 42 /* CLASS, PROPS, NEED_HYDRATION */, ["aria-current", "onPointerdown", "onClick"]))
|
|
367
|
+
_createElementVNode("div", { class: "side-item-title" }, _toDisplayString(_ctx.t('side.config.kilocode')), 1 /* TEXT */)
|
|
368
|
+
], 42 /* CLASS, PROPS, NEED_HYDRATION */, ["aria-description", "aria-current", "onPointerdown", "onClick"]))
|
|
379
369
|
: _createCommentVNode("v-if", true),
|
|
380
370
|
(_ctx.isConfigModeVisible('pi'))
|
|
381
371
|
? (_openBlock(), _createElementBlock("button", {
|
|
382
372
|
key: 5,
|
|
383
373
|
id: "side-tab-config-pi",
|
|
374
|
+
"aria-description": _ctx.t('side.config.pi.meta'),
|
|
384
375
|
"data-main-tab": "config",
|
|
385
376
|
"data-config-mode": "pi",
|
|
386
377
|
"aria-current": _ctx.mainTab === 'config' && _ctx.configMode === 'pi' ? 'page' : null,
|
|
@@ -392,11 +383,8 @@ return function render(_ctx, _cache) {
|
|
|
392
383
|
class: "side-item-icon",
|
|
393
384
|
"aria-hidden": "true"
|
|
394
385
|
}, "P"),
|
|
395
|
-
_createElementVNode("div", { class: "side-item-title" }, _toDisplayString(_ctx.t('side.config.pi')), 1 /* TEXT */)
|
|
396
|
-
|
|
397
|
-
_createElementVNode("span", null, _toDisplayString(_ctx.t('side.config.pi.meta')), 1 /* TEXT */)
|
|
398
|
-
])
|
|
399
|
-
], 42 /* CLASS, PROPS, NEED_HYDRATION */, ["aria-current", "onPointerdown", "onClick"]))
|
|
386
|
+
_createElementVNode("div", { class: "side-item-title" }, _toDisplayString(_ctx.t('side.config.pi')), 1 /* TEXT */)
|
|
387
|
+
], 42 /* CLASS, PROPS, NEED_HYDRATION */, ["aria-description", "aria-current", "onPointerdown", "onClick"]))
|
|
400
388
|
: _createCommentVNode("v-if", true)
|
|
401
389
|
], 8 /* PROPS */, ["aria-label"]),
|
|
402
390
|
_createElementVNode("div", {
|
|
@@ -419,12 +407,12 @@ return function render(_ctx, _cache) {
|
|
|
419
407
|
}, "S"),
|
|
420
408
|
_createElementVNode("div", { class: "side-item-title" }, _toDisplayString(_ctx.t('side.sessions.browser')), 1 /* TEXT */),
|
|
421
409
|
_createElementVNode("div", { class: "side-item-meta" }, [
|
|
422
|
-
_createElementVNode("span", null, _toDisplayString(_ctx.t('side.sessions.browser.meta')), 1 /* TEXT */),
|
|
423
410
|
_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 */)
|
|
424
411
|
])
|
|
425
412
|
], 42 /* CLASS, PROPS, NEED_HYDRATION */, ["aria-current", "onPointerdown", "onClick"]),
|
|
426
413
|
_createElementVNode("button", {
|
|
427
414
|
id: "side-tab-prompts",
|
|
415
|
+
"aria-description": _ctx.t('side.prompts.meta'),
|
|
428
416
|
"data-main-tab": "prompts",
|
|
429
417
|
"aria-current": _ctx.mainTab === 'prompts' ? 'page' : null,
|
|
430
418
|
class: _normalizeClass(['side-item', { active: _ctx.isMainTabNavActive('prompts') }]),
|
|
@@ -435,11 +423,8 @@ return function render(_ctx, _cache) {
|
|
|
435
423
|
class: "side-item-icon",
|
|
436
424
|
"aria-hidden": "true"
|
|
437
425
|
}, "P"),
|
|
438
|
-
_createElementVNode("div", { class: "side-item-title" }, _toDisplayString(_ctx.t('side.prompts')), 1 /* TEXT */)
|
|
439
|
-
|
|
440
|
-
_createElementVNode("span", null, _toDisplayString(_ctx.t('side.prompts.meta')), 1 /* TEXT */)
|
|
441
|
-
])
|
|
442
|
-
], 42 /* CLASS, PROPS, NEED_HYDRATION */, ["aria-current", "onPointerdown", "onClick"]),
|
|
426
|
+
_createElementVNode("div", { class: "side-item-title" }, _toDisplayString(_ctx.t('side.prompts')), 1 /* TEXT */)
|
|
427
|
+
], 42 /* CLASS, PROPS, NEED_HYDRATION */, ["aria-description", "aria-current", "onPointerdown", "onClick"]),
|
|
443
428
|
_createElementVNode("button", {
|
|
444
429
|
id: "side-tab-usage",
|
|
445
430
|
"data-main-tab": "usage",
|
|
@@ -454,7 +439,6 @@ return function render(_ctx, _cache) {
|
|
|
454
439
|
}, "↗"),
|
|
455
440
|
_createElementVNode("div", { class: "side-item-title" }, _toDisplayString(_ctx.t('tab.usage')), 1 /* TEXT */),
|
|
456
441
|
_createElementVNode("div", { class: "side-item-meta" }, [
|
|
457
|
-
_createElementVNode("span", null, _toDisplayString(_ctx.t('side.usage.meta')), 1 /* TEXT */),
|
|
458
442
|
_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 */)
|
|
459
443
|
])
|
|
460
444
|
], 42 /* CLASS, PROPS, NEED_HYDRATION */, ["aria-current", "onPointerdown", "onClick"])
|
|
@@ -505,7 +489,6 @@ return function render(_ctx, _cache) {
|
|
|
505
489
|
}, "◇"),
|
|
506
490
|
_createElementVNode("div", { class: "side-item-title" }, _toDisplayString(_ctx.t('side.plugins.tools')), 1 /* TEXT */),
|
|
507
491
|
_createElementVNode("div", { class: "side-item-meta" }, [
|
|
508
|
-
_createElementVNode("span", null, _toDisplayString(_ctx.t('side.plugins.tools.meta')), 1 /* TEXT */),
|
|
509
492
|
_createElementVNode("span", null, _toDisplayString(_ctx.t('side.plugins.templatesCount', { count: _ctx.promptTemplatesList.length })), 1 /* TEXT */)
|
|
510
493
|
])
|
|
511
494
|
], 42 /* CLASS, PROPS, NEED_HYDRATION */, ["aria-current", "onPointerdown", "onClick"]),
|
|
@@ -546,10 +529,7 @@ return function render(_ctx, _cache) {
|
|
|
546
529
|
class: "side-item-icon",
|
|
547
530
|
"aria-hidden": "true"
|
|
548
531
|
}, "⚙"),
|
|
549
|
-
_createElementVNode("div", { class: "side-item-title" }, _toDisplayString(_ctx.t('side.system.settings')), 1 /* TEXT */)
|
|
550
|
-
_createElementVNode("div", { class: "side-item-meta" }, [
|
|
551
|
-
_createElementVNode("span", null, _toDisplayString(_ctx.t('side.system.settings.meta')), 1 /* TEXT */)
|
|
552
|
-
])
|
|
532
|
+
_createElementVNode("div", { class: "side-item-title" }, _toDisplayString(_ctx.t('side.system.settings')), 1 /* TEXT */)
|
|
553
533
|
], 42 /* CLASS, PROPS, NEED_HYDRATION */, ["aria-current", "onPointerdown", "onClick"]),
|
|
554
534
|
_createElementVNode("button", {
|
|
555
535
|
id: "side-tab-trash",
|
|
@@ -684,8 +664,7 @@ return function render(_ctx, _cache) {
|
|
|
684
664
|
}, [
|
|
685
665
|
_createElementVNode("div", { class: "panel-header-copy" }, [
|
|
686
666
|
_createElementVNode("div", { class: "panel-kicker" }, _toDisplayString(_ctx.mainTabKicker), 1 /* TEXT */),
|
|
687
|
-
_createElementVNode("h1", { class: "main-title" }, _toDisplayString(_ctx.mainTabTitle), 1 /* TEXT */)
|
|
688
|
-
_createElementVNode("p", { class: "subtitle" }, _toDisplayString(_ctx.mainTabSubtitle), 1 /* TEXT */)
|
|
667
|
+
_createElementVNode("h1", { class: "main-title" }, _toDisplayString(_ctx.mainTabTitle), 1 /* TEXT */)
|
|
689
668
|
])
|
|
690
669
|
]))
|
|
691
670
|
: _createCommentVNode("v-if", true),
|
|
@@ -897,8 +876,7 @@ return function render(_ctx, _cache) {
|
|
|
897
876
|
}, [
|
|
898
877
|
_createElementVNode("header", { class: "workflow-header" }, [
|
|
899
878
|
_createElementVNode("div", null, [
|
|
900
|
-
_createElementVNode("h2", { class: "workflow-title" }, _toDisplayString(_ctx.t('workflow.title')), 1 /* TEXT */)
|
|
901
|
-
_createElementVNode("p", { class: "workflow-description" }, _toDisplayString(_ctx.t('workflow.tagline')), 1 /* TEXT */)
|
|
879
|
+
_createElementVNode("h2", { class: "workflow-title" }, _toDisplayString(_ctx.t('workflow.title')), 1 /* TEXT */)
|
|
902
880
|
]),
|
|
903
881
|
_createElementVNode("button", {
|
|
904
882
|
type: "button",
|
|
@@ -1010,8 +988,7 @@ return function render(_ctx, _cache) {
|
|
|
1010
988
|
key: 0,
|
|
1011
989
|
class: "workflow-empty"
|
|
1012
990
|
}, [
|
|
1013
|
-
_createElementVNode("p", null, _toDisplayString(_ctx.t('workflow.empty')), 1 /* TEXT */)
|
|
1014
|
-
_createElementVNode("p", { class: "form-hint" }, _toDisplayString(_ctx.t('workflow.emptyHint')), 1 /* TEXT */)
|
|
991
|
+
_createElementVNode("p", null, _toDisplayString(_ctx.t('workflow.empty')), 1 /* TEXT */)
|
|
1015
992
|
]))
|
|
1016
993
|
: _createCommentVNode("v-if", true),
|
|
1017
994
|
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.workflowRuns, (run) => {
|
|
@@ -1306,6 +1283,110 @@ return function render(_ctx, _cache) {
|
|
|
1306
1283
|
], 512 /* NEED_PATCH */), [
|
|
1307
1284
|
[_vShow, _ctx.mainTab === 'dashboard']
|
|
1308
1285
|
]),
|
|
1286
|
+
(_ctx.mainTab === 'config' && _ctx.lastConfigChange && _ctx.lastConfigChange.target === _ctx.configMode)
|
|
1287
|
+
? (_openBlock(), _createElementBlock("section", {
|
|
1288
|
+
key: 0,
|
|
1289
|
+
class: "config-change-last",
|
|
1290
|
+
"aria-live": "polite"
|
|
1291
|
+
}, [
|
|
1292
|
+
_createElementVNode("span", null, _toDisplayString(_ctx.t('changes.last')) + " · " + _toDisplayString(_ctx.lastConfigChange.createdAt), 1 /* TEXT */),
|
|
1293
|
+
_createElementVNode("button", {
|
|
1294
|
+
type: "button",
|
|
1295
|
+
class: "btn-tool",
|
|
1296
|
+
onClick: _ctx.undoLastConfigChange,
|
|
1297
|
+
disabled: _ctx.configChangeBusy || _ctx.configChangeApplying || !_ctx.isToolConfigWriteAllowed(_ctx.configMode)
|
|
1298
|
+
}, _toDisplayString(_ctx.t('changes.undo')), 9 /* TEXT, PROPS */, ["onClick", "disabled"])
|
|
1299
|
+
]))
|
|
1300
|
+
: _createCommentVNode("v-if", true),
|
|
1301
|
+
(_openBlock(), _createBlock(_Teleport, { to: "body" }, [
|
|
1302
|
+
(_ctx.configChangePreview)
|
|
1303
|
+
? (_openBlock(), _createElementBlock("div", {
|
|
1304
|
+
key: 0,
|
|
1305
|
+
class: "modal-overlay config-change-overlay",
|
|
1306
|
+
onClick: _withModifiers($event => (_ctx.closeConfigChangePreview()), ["self"]),
|
|
1307
|
+
onKeydown: _ctx.handleConfigChangeKeydown
|
|
1308
|
+
}, [
|
|
1309
|
+
_createElementVNode("section", {
|
|
1310
|
+
class: "modal modal-wide config-change-modal",
|
|
1311
|
+
role: "dialog",
|
|
1312
|
+
"aria-modal": "true",
|
|
1313
|
+
"aria-labelledby": "config-change-title",
|
|
1314
|
+
"aria-describedby": "config-change-hint",
|
|
1315
|
+
"aria-busy": _ctx.configChangeApplying
|
|
1316
|
+
}, [
|
|
1317
|
+
_createElementVNode("h2", {
|
|
1318
|
+
id: "config-change-title",
|
|
1319
|
+
class: "modal-title"
|
|
1320
|
+
}, _toDisplayString(_ctx.t('changes.preview')), 1 /* TEXT */),
|
|
1321
|
+
_createElementVNode("p", {
|
|
1322
|
+
id: "config-change-hint",
|
|
1323
|
+
class: "form-hint"
|
|
1324
|
+
}, _toDisplayString(_ctx.t('changes.hint')), 1 /* TEXT */),
|
|
1325
|
+
_createElementVNode("div", {
|
|
1326
|
+
class: "config-change-files",
|
|
1327
|
+
tabindex: "0",
|
|
1328
|
+
"aria-label": _ctx.t('changes.files')
|
|
1329
|
+
}, [
|
|
1330
|
+
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.configChangePreview.files, (file) => {
|
|
1331
|
+
return (_openBlock(), _createElementBlock("article", {
|
|
1332
|
+
key: file.path,
|
|
1333
|
+
class: "config-change-file"
|
|
1334
|
+
}, [
|
|
1335
|
+
_createElementVNode("h3", null, [
|
|
1336
|
+
_createElementVNode("span", null, _toDisplayString(_ctx.t('changes.operation.' + file.operation)), 1 /* TEXT */),
|
|
1337
|
+
_createTextVNode(),
|
|
1338
|
+
_createElementVNode("code", null, _toDisplayString(file.path), 1 /* TEXT */)
|
|
1339
|
+
]),
|
|
1340
|
+
(file.hidden)
|
|
1341
|
+
? (_openBlock(), _createElementBlock("p", {
|
|
1342
|
+
key: 0,
|
|
1343
|
+
class: "form-hint"
|
|
1344
|
+
}, _toDisplayString(_ctx.t('changes.hidden')), 1 /* TEXT */))
|
|
1345
|
+
: (file.maskedOnly)
|
|
1346
|
+
? (_openBlock(), _createElementBlock("p", {
|
|
1347
|
+
key: 1,
|
|
1348
|
+
class: "form-hint"
|
|
1349
|
+
}, _toDisplayString(_ctx.t('changes.maskedOnly')), 1 /* TEXT */))
|
|
1350
|
+
: (_openBlock(), _createElementBlock("pre", {
|
|
1351
|
+
key: 2,
|
|
1352
|
+
class: "config-change-diff"
|
|
1353
|
+
}, [
|
|
1354
|
+
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(file.diff.lines, (line, index) => {
|
|
1355
|
+
return (_openBlock(), _createElementBlock("span", {
|
|
1356
|
+
key: index,
|
|
1357
|
+
class: _normalizeClass(['config-change-line', 'config-change-line-' + line.type])
|
|
1358
|
+
}, _toDisplayString(line.type === 'add' ? '+' : line.type === 'del' ? '−' : ' ') + " " + _toDisplayString(line.text || line.value), 3 /* TEXT, CLASS */))
|
|
1359
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
1360
|
+
]))
|
|
1361
|
+
]))
|
|
1362
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
1363
|
+
], 8 /* PROPS */, ["aria-label"]),
|
|
1364
|
+
(_ctx.configChangeError)
|
|
1365
|
+
? (_openBlock(), _createElementBlock("p", {
|
|
1366
|
+
key: 0,
|
|
1367
|
+
class: "form-hint form-error",
|
|
1368
|
+
role: "alert"
|
|
1369
|
+
}, _toDisplayString(_ctx.configChangeError), 1 /* TEXT */))
|
|
1370
|
+
: _createCommentVNode("v-if", true),
|
|
1371
|
+
_createElementVNode("div", { class: "btn-group config-change-actions" }, [
|
|
1372
|
+
_createElementVNode("button", {
|
|
1373
|
+
ref: "configChangeCancel",
|
|
1374
|
+
type: "button",
|
|
1375
|
+
class: "btn btn-cancel",
|
|
1376
|
+
onClick: $event => (_ctx.closeConfigChangePreview()),
|
|
1377
|
+
disabled: _ctx.configChangeApplying
|
|
1378
|
+
}, _toDisplayString(_ctx.t('common.cancel')), 9 /* TEXT, PROPS */, ["onClick", "disabled"]),
|
|
1379
|
+
_createElementVNode("button", {
|
|
1380
|
+
type: "button",
|
|
1381
|
+
class: "btn btn-confirm",
|
|
1382
|
+
onClick: _ctx.confirmConfigChange,
|
|
1383
|
+
disabled: _ctx.configChangeApplying || !!_ctx.configChangeError
|
|
1384
|
+
}, _toDisplayString(_ctx.configChangeApplying ? _ctx.t('changes.saving') : _ctx.t('changes.apply')), 9 /* TEXT, PROPS */, ["onClick", "disabled"])
|
|
1385
|
+
])
|
|
1386
|
+
], 8 /* PROPS */, ["aria-busy"])
|
|
1387
|
+
], 40 /* PROPS, NEED_HYDRATION */, ["onClick", "onKeydown"]))
|
|
1388
|
+
: _createCommentVNode("v-if", true)
|
|
1389
|
+
])),
|
|
1309
1390
|
_createCommentVNode(" Codex 配置 "),
|
|
1310
1391
|
_withDirectives(_createElementVNode("div", {
|
|
1311
1392
|
class: "mode-content mode-cards",
|
|
@@ -1594,8 +1675,7 @@ return function render(_ctx, _cache) {
|
|
|
1594
1675
|
_createElementVNode("option", { value: "xhigh" }, "xhigh")
|
|
1595
1676
|
], 40 /* PROPS, NEED_HYDRATION */, ["onUpdate:modelValue", "onChange"]), [
|
|
1596
1677
|
[_vModelSelect, _ctx.modelReasoningEffort]
|
|
1597
|
-
])
|
|
1598
|
-
_createElementVNode("div", { class: "config-template-hint" }, _toDisplayString(_ctx.t('config.reasoningEffort.hint')), 1 /* TEXT */)
|
|
1678
|
+
])
|
|
1599
1679
|
])
|
|
1600
1680
|
]),
|
|
1601
1681
|
_createElementVNode("div", { class: "selector-section" }, [
|
|
@@ -1628,8 +1708,7 @@ return function render(_ctx, _cache) {
|
|
|
1628
1708
|
onKeydown: _withKeys(_withModifiers(_ctx.onModelContextWindowBlur, ["prevent"]), ["enter"])
|
|
1629
1709
|
}, null, 40 /* PROPS, NEED_HYDRATION */, ["onUpdate:modelValue", "placeholder", "onFocus", "onInput", "onBlur", "onKeydown"]), [
|
|
1630
1710
|
[_vModelText, _ctx.modelContextWindowInput]
|
|
1631
|
-
])
|
|
1632
|
-
_createElementVNode("div", { class: "form-hint" }, _toDisplayString(_ctx.t('config.contextWindow.hint')), 1 /* TEXT */)
|
|
1711
|
+
])
|
|
1633
1712
|
]),
|
|
1634
1713
|
_createElementVNode("div", { class: "form-group codex-config-field" }, [
|
|
1635
1714
|
_createElementVNode("label", {
|
|
@@ -1649,8 +1728,7 @@ return function render(_ctx, _cache) {
|
|
|
1649
1728
|
onKeydown: _withKeys(_withModifiers(_ctx.onModelAutoCompactTokenLimitBlur, ["prevent"]), ["enter"])
|
|
1650
1729
|
}, null, 40 /* PROPS, NEED_HYDRATION */, ["onUpdate:modelValue", "placeholder", "onFocus", "onInput", "onBlur", "onKeydown"]), [
|
|
1651
1730
|
[_vModelText, _ctx.modelAutoCompactTokenLimitInput]
|
|
1652
|
-
])
|
|
1653
|
-
_createElementVNode("div", { class: "form-hint" }, _toDisplayString(_ctx.t('config.autoCompact.hint')), 1 /* TEXT */)
|
|
1731
|
+
])
|
|
1654
1732
|
])
|
|
1655
1733
|
])
|
|
1656
1734
|
]),
|
|
@@ -2545,15 +2623,14 @@ return function render(_ctx, _cache) {
|
|
|
2545
2623
|
], 8 /* PROPS */, ["aria-label"]),
|
|
2546
2624
|
_createElementVNode("section", {
|
|
2547
2625
|
class: "settings-card settings-card--wide openclaw-summary-card",
|
|
2548
|
-
"aria-
|
|
2626
|
+
"aria-labelledby": "openclaw-summary-title"
|
|
2549
2627
|
}, [
|
|
2550
2628
|
_createElementVNode("div", { class: "settings-card-body" }, [
|
|
2551
2629
|
_createElementVNode("div", { class: "openclaw-summary-header" }, [
|
|
2552
|
-
_createElementVNode("
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
_createElementVNode("div", { class: "summary-note" }, "配置摘要")
|
|
2630
|
+
_createElementVNode("h2", {
|
|
2631
|
+
class: "summary-title",
|
|
2632
|
+
id: "openclaw-summary-title"
|
|
2633
|
+
}, _toDisplayString(_ctx.t('tab.config.openclaw')), 1 /* TEXT */)
|
|
2557
2634
|
]),
|
|
2558
2635
|
_createElementVNode("div", { class: "openclaw-summary-grid" }, [
|
|
2559
2636
|
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.getOpenclawStatusSummaryItems(), (item) => {
|
|
@@ -2573,25 +2650,48 @@ return function render(_ctx, _cache) {
|
|
|
2573
2650
|
class: _normalizeClass(["tool-config-write-scope", { locked: !_ctx.isToolConfigWriteAllowed('openclaw') }])
|
|
2574
2651
|
}, [
|
|
2575
2652
|
_createElementVNode("div", { class: "tool-config-write-body" }, [
|
|
2576
|
-
_createElementVNode("section", {
|
|
2653
|
+
_createElementVNode("section", {
|
|
2654
|
+
class: "settings-card settings-card--wide openclaw-workspace-card",
|
|
2655
|
+
"aria-labelledby": "openclaw-workspace-title"
|
|
2656
|
+
}, [
|
|
2577
2657
|
_createElementVNode("div", { class: "settings-card-body" }, [
|
|
2658
|
+
_createElementVNode("h3", {
|
|
2659
|
+
class: "openclaw-section-title",
|
|
2660
|
+
id: "openclaw-workspace-title"
|
|
2661
|
+
}, _toDisplayString(_ctx.t('openclaw.workspaceFile')), 1 /* TEXT */),
|
|
2578
2662
|
_createElementVNode("div", { class: "openclaw-tools-grid" }, [
|
|
2579
2663
|
_createElementVNode("button", {
|
|
2580
2664
|
class: "openclaw-tool-btn",
|
|
2581
2665
|
onClick: _ctx.openOpenclawAgentsEditor,
|
|
2582
2666
|
disabled: _ctx.loading || !!_ctx.initError || _ctx.agentsLoading || !_ctx.isToolConfigWriteAllowed('openclaw')
|
|
2583
2667
|
}, [
|
|
2584
|
-
|
|
2668
|
+
(_openBlock(), _createElementBlock("svg", {
|
|
2669
|
+
class: "tool-icon",
|
|
2670
|
+
viewBox: "0 0 24 24",
|
|
2671
|
+
fill: "none",
|
|
2672
|
+
stroke: "currentColor",
|
|
2673
|
+
"stroke-width": "1.5",
|
|
2674
|
+
"aria-hidden": "true"
|
|
2675
|
+
}, [
|
|
2676
|
+
_createElementVNode("path", { d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" }),
|
|
2677
|
+
_createElementVNode("path", { d: "M14 2v6h6M8 13h8M8 17h6" })
|
|
2678
|
+
])),
|
|
2585
2679
|
_createElementVNode("div", { class: "tool-content" }, [
|
|
2586
2680
|
_createElementVNode("div", { class: "tool-title" }, "AGENTS.md"),
|
|
2587
|
-
|
|
2681
|
+
(_ctx.agentsLoading)
|
|
2682
|
+
? (_openBlock(), _createElementBlock("div", {
|
|
2683
|
+
key: 0,
|
|
2684
|
+
class: "tool-meta"
|
|
2685
|
+
}, _toDisplayString(_ctx.t('config.modelLoading')), 1 /* TEXT */))
|
|
2686
|
+
: _createCommentVNode("v-if", true)
|
|
2588
2687
|
]),
|
|
2589
2688
|
(_openBlock(), _createElementBlock("svg", {
|
|
2590
2689
|
class: "tool-chevron",
|
|
2591
2690
|
viewBox: "0 0 24 24",
|
|
2592
2691
|
fill: "none",
|
|
2593
2692
|
stroke: "currentColor",
|
|
2594
|
-
"stroke-width": "2"
|
|
2693
|
+
"stroke-width": "2",
|
|
2694
|
+
"aria-hidden": "true"
|
|
2595
2695
|
}, [
|
|
2596
2696
|
_createElementVNode("path", { d: "M9 18l6-6-6-6" })
|
|
2597
2697
|
]))
|
|
@@ -2604,17 +2704,27 @@ return function render(_ctx, _cache) {
|
|
|
2604
2704
|
onClick: $event => (_ctx.openOpenclawQuickWorkspaceFile(fileName)),
|
|
2605
2705
|
disabled: _ctx.loading || !!_ctx.initError || _ctx.agentsLoading || !_ctx.isToolConfigWriteAllowed('openclaw')
|
|
2606
2706
|
}, [
|
|
2607
|
-
|
|
2707
|
+
(_openBlock(), _createElementBlock("svg", {
|
|
2708
|
+
class: "tool-icon",
|
|
2709
|
+
viewBox: "0 0 24 24",
|
|
2710
|
+
fill: "none",
|
|
2711
|
+
stroke: "currentColor",
|
|
2712
|
+
"stroke-width": "1.5",
|
|
2713
|
+
"aria-hidden": "true"
|
|
2714
|
+
}, [
|
|
2715
|
+
_createElementVNode("path", { d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" }),
|
|
2716
|
+
_createElementVNode("path", { d: "M14 2v6h6M8 13h8M8 17h6" })
|
|
2717
|
+
])),
|
|
2608
2718
|
_createElementVNode("div", { class: "tool-content" }, [
|
|
2609
|
-
_createElementVNode("div", { class: "tool-title" }, _toDisplayString(fileName), 1 /* TEXT */)
|
|
2610
|
-
_createElementVNode("div", { class: "tool-meta" }, "Workspace file")
|
|
2719
|
+
_createElementVNode("div", { class: "tool-title" }, _toDisplayString(fileName), 1 /* TEXT */)
|
|
2611
2720
|
]),
|
|
2612
2721
|
(_openBlock(), _createElementBlock("svg", {
|
|
2613
2722
|
class: "tool-chevron",
|
|
2614
2723
|
viewBox: "0 0 24 24",
|
|
2615
2724
|
fill: "none",
|
|
2616
2725
|
stroke: "currentColor",
|
|
2617
|
-
"stroke-width": "2"
|
|
2726
|
+
"stroke-width": "2",
|
|
2727
|
+
"aria-hidden": "true"
|
|
2618
2728
|
}, [
|
|
2619
2729
|
_createElementVNode("path", { d: "M9 18l6-6-6-6" })
|
|
2620
2730
|
]))
|
|
@@ -2628,6 +2738,10 @@ return function render(_ctx, _cache) {
|
|
|
2628
2738
|
"aria-labelledby": "openclaw-configs-title"
|
|
2629
2739
|
}, [
|
|
2630
2740
|
_createElementVNode("div", { class: "settings-card-body" }, [
|
|
2741
|
+
_createElementVNode("h3", {
|
|
2742
|
+
class: "openclaw-section-title",
|
|
2743
|
+
id: "openclaw-configs-title"
|
|
2744
|
+
}, _toDisplayString(_ctx.t('tab.config')), 1 /* TEXT */),
|
|
2631
2745
|
_createElementVNode("div", { class: "card-list openclaw-card-list" }, [
|
|
2632
2746
|
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.openclawConfigs, (config, name) => {
|
|
2633
2747
|
return (_openBlock(), _createElementBlock("div", {
|
|
@@ -3825,7 +3939,7 @@ return function render(_ctx, _cache) {
|
|
|
3825
3939
|
_createCommentVNode(" Pi 新增供应商模板选择模态框 "),
|
|
3826
3940
|
(_ctx.showAddPiProviderModal && !_ctx.editingPiProvider)
|
|
3827
3941
|
? (_openBlock(), _createElementBlock("div", {
|
|
3828
|
-
key:
|
|
3942
|
+
key: 1,
|
|
3829
3943
|
class: "modal-overlay",
|
|
3830
3944
|
onClick: _withModifiers(_ctx.cancelAddPiProviderModal, ["self"])
|
|
3831
3945
|
}, [
|
|
@@ -3839,7 +3953,6 @@ return function render(_ctx, _cache) {
|
|
|
3839
3953
|
class: "modal-title",
|
|
3840
3954
|
id: "pi-provider-picker-modal-title"
|
|
3841
3955
|
}, _toDisplayString(_ctx.t('pi.providers.addModal.title')), 1 /* TEXT */),
|
|
3842
|
-
_createElementVNode("div", { class: "config-template-hint" }, _toDisplayString(_ctx.t('pi.providers.addModal.subtitle')), 1 /* TEXT */),
|
|
3843
3956
|
_createElementVNode("div", { class: "pi-picker" }, [
|
|
3844
3957
|
_withDirectives(_createElementVNode("input", {
|
|
3845
3958
|
class: "form-input",
|
|
@@ -3897,7 +4010,7 @@ return function render(_ctx, _cache) {
|
|
|
3897
4010
|
_createCommentVNode(" Pi 供应商编辑器模态框 "),
|
|
3898
4011
|
(_ctx.editingPiProvider)
|
|
3899
4012
|
? (_openBlock(), _createElementBlock("div", {
|
|
3900
|
-
key:
|
|
4013
|
+
key: 2,
|
|
3901
4014
|
class: "modal-overlay",
|
|
3902
4015
|
onClick: _withModifiers(_ctx.closePiProviderEditor, ["self"])
|
|
3903
4016
|
}, [
|
|
@@ -4372,10 +4485,595 @@ return function render(_ctx, _cache) {
|
|
|
4372
4485
|
_createElementVNode("pre", null, _toDisplayString(_ctx.sessionContextHealthFocusedNode.text), 1 /* TEXT */)
|
|
4373
4486
|
], 8 /* PROPS */, ["data-context-node-id", "aria-label"]))
|
|
4374
4487
|
: _createCommentVNode("v-if", true),
|
|
4488
|
+
(_ctx.sessionContextHealth)
|
|
4489
|
+
? (_openBlock(), _createElementBlock("section", {
|
|
4490
|
+
key: 2,
|
|
4491
|
+
class: "context-window-reference",
|
|
4492
|
+
"aria-label": _ctx.t('features.windowReference')
|
|
4493
|
+
}, [
|
|
4494
|
+
_createElementVNode("div", { class: "feature-section-heading" }, [
|
|
4495
|
+
_createElementVNode("h4", null, _toDisplayString(_ctx.t('features.windowReference')), 1 /* TEXT */),
|
|
4496
|
+
(_ctx.contextReference?.percentage !== undefined)
|
|
4497
|
+
? (_openBlock(), _createElementBlock("small", {
|
|
4498
|
+
key: 0,
|
|
4499
|
+
class: "feature-meta"
|
|
4500
|
+
}, _toDisplayString(_ctx.t('features.windowSource.' + _ctx.contextReference.source)), 1 /* TEXT */))
|
|
4501
|
+
: _createCommentVNode("v-if", true)
|
|
4502
|
+
]),
|
|
4503
|
+
(_ctx.contextReference?.percentage !== undefined)
|
|
4504
|
+
? (_openBlock(), _createElementBlock("p", {
|
|
4505
|
+
key: 0,
|
|
4506
|
+
class: "feature-hint"
|
|
4507
|
+
}, _toDisplayString(_ctx.t('features.contextEstimate', { percent: _ctx.contextReference.percentage.toFixed(2), window: _ctx.contextReference.window })), 1 /* TEXT */))
|
|
4508
|
+
: (_openBlock(), _createElementBlock("p", {
|
|
4509
|
+
key: 1,
|
|
4510
|
+
class: "feature-hint"
|
|
4511
|
+
}, _toDisplayString(_ctx.t('features.windowStatus.' + (_ctx.contextReference?.status || 'unknown'))), 1 /* TEXT */)),
|
|
4512
|
+
_createElementVNode("details", { class: "feature-disclosure" }, [
|
|
4513
|
+
_createElementVNode("summary", null, _toDisplayString(_ctx.t('features.windowSettings')), 1 /* TEXT */),
|
|
4514
|
+
_createElementVNode("div", { class: "feature-window-fields" }, [
|
|
4515
|
+
(_ctx.sessionContextHealth.models?.length)
|
|
4516
|
+
? (_openBlock(), _createElementBlock("label", { key: 0 }, [
|
|
4517
|
+
_createTextVNode(_toDisplayString(_ctx.t('features.model')), 1 /* TEXT */),
|
|
4518
|
+
_withDirectives(_createElementVNode("select", {
|
|
4519
|
+
"onUpdate:modelValue": $event => ((_ctx.contextSelectedModel) = $event),
|
|
4520
|
+
"aria-label": _ctx.t('features.model')
|
|
4521
|
+
}, [
|
|
4522
|
+
_createElementVNode("option", { value: "" }, _toDisplayString(_ctx.t('features.chooseModel')), 1 /* TEXT */),
|
|
4523
|
+
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.sessionContextHealth.models, (model) => {
|
|
4524
|
+
return (_openBlock(), _createElementBlock("option", {
|
|
4525
|
+
key: model,
|
|
4526
|
+
value: model
|
|
4527
|
+
}, _toDisplayString(model), 9 /* TEXT, PROPS */, ["value"]))
|
|
4528
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
4529
|
+
], 8 /* PROPS */, ["onUpdate:modelValue", "aria-label"]), [
|
|
4530
|
+
[_vModelSelect, _ctx.contextSelectedModel]
|
|
4531
|
+
])
|
|
4532
|
+
]))
|
|
4533
|
+
: _createCommentVNode("v-if", true),
|
|
4534
|
+
_createElementVNode("label", null, [
|
|
4535
|
+
_createTextVNode(_toDisplayString(_ctx.t('features.contextWindow')), 1 /* TEXT */),
|
|
4536
|
+
_withDirectives(_createElementVNode("input", {
|
|
4537
|
+
"onUpdate:modelValue": $event => ((_ctx.contextWindowInput) = $event),
|
|
4538
|
+
type: "number",
|
|
4539
|
+
min: "1",
|
|
4540
|
+
step: "1",
|
|
4541
|
+
"aria-label": _ctx.t('features.contextWindow')
|
|
4542
|
+
}, null, 8 /* PROPS */, ["onUpdate:modelValue", "aria-label"]), [
|
|
4543
|
+
[_vModelText, _ctx.contextWindowInput]
|
|
4544
|
+
])
|
|
4545
|
+
]),
|
|
4546
|
+
_createElementVNode("button", {
|
|
4547
|
+
type: "button",
|
|
4548
|
+
class: "btn-mini",
|
|
4549
|
+
onClick: $event => (_ctx.saveContextPreferences(false)),
|
|
4550
|
+
disabled: _ctx.contextReference?.status === 'invalid'
|
|
4551
|
+
}, _toDisplayString(_ctx.t('features.save')), 9 /* TEXT, PROPS */, ["onClick", "disabled"])
|
|
4552
|
+
])
|
|
4553
|
+
]),
|
|
4554
|
+
(_ctx.contextReference && ['warning', 'high'].includes(_ctx.contextReference.status) && !_ctx.contextReminderDismissed)
|
|
4555
|
+
? (_openBlock(), _createElementBlock("div", {
|
|
4556
|
+
key: 2,
|
|
4557
|
+
role: "status",
|
|
4558
|
+
class: "feature-window-warning"
|
|
4559
|
+
}, [
|
|
4560
|
+
_createElementVNode("span", null, _toDisplayString(_ctx.t('features.windowStatus.' + _ctx.contextReference.status)), 1 /* TEXT */),
|
|
4561
|
+
_createElementVNode("div", { class: "feature-record-actions" }, [
|
|
4562
|
+
_createElementVNode("button", {
|
|
4563
|
+
type: "button",
|
|
4564
|
+
class: "btn-mini",
|
|
4565
|
+
onClick: $event => (_ctx.handoffExpanded = true)
|
|
4566
|
+
}, _toDisplayString(_ctx.t('features.handoffs')), 9 /* TEXT, PROPS */, ["onClick"]),
|
|
4567
|
+
_createElementVNode("button", {
|
|
4568
|
+
type: "button",
|
|
4569
|
+
class: "btn-mini feature-quiet",
|
|
4570
|
+
onClick: $event => (_ctx.saveContextPreferences(true))
|
|
4571
|
+
}, _toDisplayString(_ctx.t('features.dismiss')), 9 /* TEXT, PROPS */, ["onClick"])
|
|
4572
|
+
])
|
|
4573
|
+
]))
|
|
4574
|
+
: _createCommentVNode("v-if", true)
|
|
4575
|
+
], 8 /* PROPS */, ["aria-label"]))
|
|
4576
|
+
: _createCommentVNode("v-if", true),
|
|
4375
4577
|
_createElementVNode("pre", { class: "session-standalone-text" }, _toDisplayString(_ctx.sessionStandaloneText), 1 /* TEXT */)
|
|
4376
4578
|
]))
|
|
4377
4579
|
]))
|
|
4378
4580
|
: (_openBlock(), _createElementBlock("div", { key: 1 }, [
|
|
4581
|
+
_createElementVNode("section", {
|
|
4582
|
+
class: "session-features",
|
|
4583
|
+
"aria-label": _ctx.t('features.title')
|
|
4584
|
+
}, [
|
|
4585
|
+
_createElementVNode("header", { class: "feature-toolbar" }, [
|
|
4586
|
+
_createElementVNode("div", {
|
|
4587
|
+
class: "feature-tabs",
|
|
4588
|
+
role: "group",
|
|
4589
|
+
"aria-label": _ctx.t('features.title')
|
|
4590
|
+
}, [
|
|
4591
|
+
_createElementVNode("button", {
|
|
4592
|
+
type: "button",
|
|
4593
|
+
"aria-expanded": _ctx.featureView === 'bookmarks',
|
|
4594
|
+
onClick: $event => (_ctx.openFeatureView('bookmarks'))
|
|
4595
|
+
}, _toDisplayString(_ctx.t('features.bookmarks')), 9 /* TEXT, PROPS */, ["aria-expanded", "onClick"]),
|
|
4596
|
+
_createElementVNode("button", {
|
|
4597
|
+
type: "button",
|
|
4598
|
+
"aria-expanded": _ctx.featureView === 'search',
|
|
4599
|
+
onClick: $event => (_ctx.openFeatureView('search'))
|
|
4600
|
+
}, _toDisplayString(_ctx.t('features.index')), 9 /* TEXT, PROPS */, ["aria-expanded", "onClick"]),
|
|
4601
|
+
_createElementVNode("button", {
|
|
4602
|
+
type: "button",
|
|
4603
|
+
"aria-expanded": _ctx.featureView === 'projects',
|
|
4604
|
+
onClick: $event => (_ctx.openFeatureView('projects'))
|
|
4605
|
+
}, _toDisplayString(_ctx.t('features.projects')), 9 /* TEXT, PROPS */, ["aria-expanded", "onClick"])
|
|
4606
|
+
], 8 /* PROPS */, ["aria-label"]),
|
|
4607
|
+
(_ctx.selectedContextIds.length)
|
|
4608
|
+
? (_openBlock(), _createElementBlock("button", {
|
|
4609
|
+
key: 0,
|
|
4610
|
+
type: "button",
|
|
4611
|
+
class: "btn-mini",
|
|
4612
|
+
onClick: _ctx.generateSelectedHandoff,
|
|
4613
|
+
disabled: _ctx.featureBusy
|
|
4614
|
+
}, _toDisplayString(_ctx.t('features.generateDraft', { count: _ctx.selectedContextIds.length })), 9 /* TEXT, PROPS */, ["onClick", "disabled"]))
|
|
4615
|
+
: _createCommentVNode("v-if", true)
|
|
4616
|
+
]),
|
|
4617
|
+
(_ctx.featureError)
|
|
4618
|
+
? (_openBlock(), _createElementBlock("p", {
|
|
4619
|
+
key: 0,
|
|
4620
|
+
class: "form-error feature-feedback",
|
|
4621
|
+
role: "alert"
|
|
4622
|
+
}, _toDisplayString(_ctx.featureError), 1 /* TEXT */))
|
|
4623
|
+
: _createCommentVNode("v-if", true),
|
|
4624
|
+
(_ctx.featureView === 'search')
|
|
4625
|
+
? (_openBlock(), _createElementBlock("div", {
|
|
4626
|
+
key: 1,
|
|
4627
|
+
class: "feature-content"
|
|
4628
|
+
}, [
|
|
4629
|
+
_createElementVNode("div", { class: "feature-section-heading" }, [
|
|
4630
|
+
_createElementVNode("h3", null, _toDisplayString(_ctx.t('features.index')), 1 /* TEXT */),
|
|
4631
|
+
_createElementVNode("div", { class: "feature-actions" }, [
|
|
4632
|
+
_createElementVNode("button", {
|
|
4633
|
+
type: "button",
|
|
4634
|
+
class: "btn-mini",
|
|
4635
|
+
onClick: $event => (_ctx.refreshSessionIndex(false)),
|
|
4636
|
+
disabled: _ctx.indexReport?.job.status === 'running'
|
|
4637
|
+
}, _toDisplayString(_ctx.t('features.refreshIndex')), 9 /* TEXT, PROPS */, ["onClick", "disabled"]),
|
|
4638
|
+
_createElementVNode("button", {
|
|
4639
|
+
type: "button",
|
|
4640
|
+
class: "btn-mini feature-quiet",
|
|
4641
|
+
onClick: $event => (_ctx.refreshSessionIndex(true)),
|
|
4642
|
+
disabled: _ctx.indexReport?.job.status === 'running'
|
|
4643
|
+
}, _toDisplayString(_ctx.t('features.rebuildIndex')), 9 /* TEXT, PROPS */, ["onClick", "disabled"]),
|
|
4644
|
+
(_ctx.indexReport?.job.status === 'running')
|
|
4645
|
+
? (_openBlock(), _createElementBlock("button", {
|
|
4646
|
+
key: 0,
|
|
4647
|
+
type: "button",
|
|
4648
|
+
class: "btn-mini",
|
|
4649
|
+
onClick: _ctx.cancelSessionIndex
|
|
4650
|
+
}, _toDisplayString(_ctx.t('features.cancel')), 9 /* TEXT, PROPS */, ["onClick"]))
|
|
4651
|
+
: _createCommentVNode("v-if", true)
|
|
4652
|
+
])
|
|
4653
|
+
]),
|
|
4654
|
+
(_ctx.indexReport)
|
|
4655
|
+
? (_openBlock(), _createElementBlock("div", {
|
|
4656
|
+
key: 0,
|
|
4657
|
+
class: "feature-meta",
|
|
4658
|
+
role: "status"
|
|
4659
|
+
}, [
|
|
4660
|
+
_createElementVNode("span", {
|
|
4661
|
+
class: "feature-status",
|
|
4662
|
+
"data-status": _ctx.indexReport.job.status
|
|
4663
|
+
}, _toDisplayString(_ctx.t('features.status.' + _ctx.indexReport.job.status)), 9 /* TEXT, PROPS */, ["data-status"]),
|
|
4664
|
+
_createElementVNode("span", null, _toDisplayString(_ctx.t('features.indexStatus', { count: _ctx.indexReport.indexed, processed: _ctx.indexReport.job.processed, total: _ctx.indexReport.job.candidates })), 1 /* TEXT */)
|
|
4665
|
+
]))
|
|
4666
|
+
: _createCommentVNode("v-if", true),
|
|
4667
|
+
_createElementVNode("form", {
|
|
4668
|
+
class: "feature-actions feature-search-form",
|
|
4669
|
+
onSubmit: _withModifiers(_ctx.searchSessionIndex, ["prevent"])
|
|
4670
|
+
}, [
|
|
4671
|
+
_withDirectives(_createElementVNode("input", {
|
|
4672
|
+
"onUpdate:modelValue": $event => ((_ctx.indexQuery) = $event),
|
|
4673
|
+
"aria-label": _ctx.t('features.search'),
|
|
4674
|
+
placeholder: _ctx.t('features.search')
|
|
4675
|
+
}, null, 8 /* PROPS */, ["onUpdate:modelValue", "aria-label", "placeholder"]), [
|
|
4676
|
+
[_vModelText, _ctx.indexQuery]
|
|
4677
|
+
]),
|
|
4678
|
+
_createElementVNode("button", {
|
|
4679
|
+
class: "btn-mini feature-primary",
|
|
4680
|
+
disabled: _ctx.featureBusy || !_ctx.indexQuery.trim() || !_ctx.indexReport?.updatedAt
|
|
4681
|
+
}, _toDisplayString(_ctx.t('features.search')), 9 /* TEXT, PROPS */, ["disabled"])
|
|
4682
|
+
], 40 /* PROPS, NEED_HYDRATION */, ["onSubmit"]),
|
|
4683
|
+
_createElementVNode("details", { class: "feature-disclosure" }, [
|
|
4684
|
+
_createElementVNode("summary", null, _toDisplayString(_ctx.t('features.searchScope')), 1 /* TEXT */),
|
|
4685
|
+
_createElementVNode("p", { class: "feature-hint" }, _toDisplayString(_ctx.t('features.indexScope')), 1 /* TEXT */)
|
|
4686
|
+
]),
|
|
4687
|
+
(_ctx.indexReport?.failures.length)
|
|
4688
|
+
? (_openBlock(), _createElementBlock("p", {
|
|
4689
|
+
key: 1,
|
|
4690
|
+
class: "form-error",
|
|
4691
|
+
role: "alert"
|
|
4692
|
+
}, _toDisplayString(_ctx.t('features.indexFailures', { count: _ctx.indexReport.failures.length })), 1 /* TEXT */))
|
|
4693
|
+
: _createCommentVNode("v-if", true),
|
|
4694
|
+
(_ctx.featureBusy)
|
|
4695
|
+
? (_openBlock(), _createElementBlock("p", {
|
|
4696
|
+
key: 2,
|
|
4697
|
+
class: "feature-loading",
|
|
4698
|
+
role: "status"
|
|
4699
|
+
}, _toDisplayString(_ctx.t('features.loading')), 1 /* TEXT */))
|
|
4700
|
+
: _createCommentVNode("v-if", true),
|
|
4701
|
+
(_ctx.indexResults)
|
|
4702
|
+
? (_openBlock(), _createElementBlock(_Fragment, { key: 3 }, [
|
|
4703
|
+
_createElementVNode("p", { class: "feature-meta" }, _toDisplayString(_ctx.t('features.coverage', { scanned: _ctx.indexResults.scanned, total: _ctx.indexResults.candidates })), 1 /* TEXT */),
|
|
4704
|
+
(!_ctx.indexResults.complete)
|
|
4705
|
+
? (_openBlock(), _createElementBlock("p", {
|
|
4706
|
+
key: 0,
|
|
4707
|
+
class: "feature-hint"
|
|
4708
|
+
}, _toDisplayString(_ctx.t('features.partial')), 1 /* TEXT */))
|
|
4709
|
+
: _createCommentVNode("v-if", true),
|
|
4710
|
+
(!_ctx.indexResults.results.length)
|
|
4711
|
+
? (_openBlock(), _createElementBlock("p", {
|
|
4712
|
+
key: 1,
|
|
4713
|
+
class: "feature-empty"
|
|
4714
|
+
}, _toDisplayString(_ctx.t('features.empty')), 1 /* TEXT */))
|
|
4715
|
+
: _createCommentVNode("v-if", true),
|
|
4716
|
+
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.indexResults.results, (result) => {
|
|
4717
|
+
return (_openBlock(), _createElementBlock("article", {
|
|
4718
|
+
key: result.session.key + result.nodeId,
|
|
4719
|
+
class: "feature-record"
|
|
4720
|
+
}, [
|
|
4721
|
+
_createElementVNode("header", { class: "feature-record-heading" }, [
|
|
4722
|
+
_createElementVNode("h4", null, _toDisplayString(result.session.title || result.session.sessionId), 1 /* TEXT */),
|
|
4723
|
+
_createElementVNode("span", { class: "feature-source" }, _toDisplayString(result.session.source), 1 /* TEXT */)
|
|
4724
|
+
]),
|
|
4725
|
+
_createElementVNode("small", {
|
|
4726
|
+
class: "feature-path",
|
|
4727
|
+
title: result.session.cwd
|
|
4728
|
+
}, _toDisplayString(result.session.cwd), 9 /* TEXT, PROPS */, ["title"]),
|
|
4729
|
+
_createElementVNode("pre", { class: "feature-excerpt" }, _toDisplayString(result.snippet), 1 /* TEXT */),
|
|
4730
|
+
_createElementVNode("div", { class: "feature-record-actions" }, [
|
|
4731
|
+
_createElementVNode("button", {
|
|
4732
|
+
type: "button",
|
|
4733
|
+
class: "btn-mini",
|
|
4734
|
+
onClick: $event => (_ctx.openIndexedMessage(result))
|
|
4735
|
+
}, _toDisplayString(_ctx.t('features.source')), 9 /* TEXT, PROPS */, ["onClick"])
|
|
4736
|
+
]),
|
|
4737
|
+
_createElementVNode("details", { class: "feature-disclosure" }, [
|
|
4738
|
+
_createElementVNode("summary", null, _toDisplayString(_ctx.t('features.context')), 1 /* TEXT */),
|
|
4739
|
+
_createElementVNode("pre", null, _toDisplayString(result.before), 1 /* TEXT */),
|
|
4740
|
+
_createElementVNode("pre", null, _toDisplayString(result.after), 1 /* TEXT */)
|
|
4741
|
+
])
|
|
4742
|
+
]))
|
|
4743
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
4744
|
+
], 64 /* STABLE_FRAGMENT */))
|
|
4745
|
+
: _createCommentVNode("v-if", true)
|
|
4746
|
+
]))
|
|
4747
|
+
: _createCommentVNode("v-if", true),
|
|
4748
|
+
(_ctx.featureView === 'projects')
|
|
4749
|
+
? (_openBlock(), _createElementBlock("div", {
|
|
4750
|
+
key: 2,
|
|
4751
|
+
class: "feature-content"
|
|
4752
|
+
}, [
|
|
4753
|
+
_createElementVNode("div", { class: "feature-section-heading" }, [
|
|
4754
|
+
_createElementVNode("h3", null, _toDisplayString(_ctx.t('features.projects')), 1 /* TEXT */),
|
|
4755
|
+
(_ctx.projectReport)
|
|
4756
|
+
? (_openBlock(), _createElementBlock("small", {
|
|
4757
|
+
key: 0,
|
|
4758
|
+
class: "feature-meta"
|
|
4759
|
+
}, _toDisplayString(_ctx.t('features.readAt', { time: _ctx.projectReport.readAt })), 1 /* TEXT */))
|
|
4760
|
+
: _createCommentVNode("v-if", true)
|
|
4761
|
+
]),
|
|
4762
|
+
_createElementVNode("p", { class: "feature-hint" }, _toDisplayString(_ctx.t('features.projectHistory')), 1 /* TEXT */),
|
|
4763
|
+
(_ctx.featureBusy)
|
|
4764
|
+
? (_openBlock(), _createElementBlock("p", {
|
|
4765
|
+
key: 0,
|
|
4766
|
+
class: "feature-loading",
|
|
4767
|
+
role: "status"
|
|
4768
|
+
}, _toDisplayString(_ctx.t('features.loading')), 1 /* TEXT */))
|
|
4769
|
+
: _createCommentVNode("v-if", true),
|
|
4770
|
+
(_ctx.projectReport)
|
|
4771
|
+
? (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [
|
|
4772
|
+
(_ctx.projectReport.failures.length)
|
|
4773
|
+
? (_openBlock(), _createElementBlock("p", {
|
|
4774
|
+
key: 0,
|
|
4775
|
+
class: "form-error"
|
|
4776
|
+
}, _toDisplayString(_ctx.t('features.indexFailures', { count: _ctx.projectReport.failures.length })), 1 /* TEXT */))
|
|
4777
|
+
: _createCommentVNode("v-if", true),
|
|
4778
|
+
_createElementVNode("div", {
|
|
4779
|
+
class: "feature-project-picker",
|
|
4780
|
+
role: "group",
|
|
4781
|
+
"aria-label": _ctx.t('features.projects')
|
|
4782
|
+
}, [
|
|
4783
|
+
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.projectReport.projects, (project) => {
|
|
4784
|
+
return (_openBlock(), _createElementBlock("button", {
|
|
4785
|
+
key: project.key,
|
|
4786
|
+
type: "button",
|
|
4787
|
+
onClick: $event => (_ctx.loadProjectWorkspace(project.key)),
|
|
4788
|
+
disabled: _ctx.featureBusy,
|
|
4789
|
+
"aria-pressed": _ctx.projectSelected === project.key && !!_ctx.projectReport.detail
|
|
4790
|
+
}, [
|
|
4791
|
+
_createElementVNode("span", { class: "feature-project-label" }, [
|
|
4792
|
+
_createElementVNode("strong", null, _toDisplayString(project.cwd.split(/[\\/]/).filter(Boolean).pop() || project.cwd || _ctx.t('features.unassigned')), 1 /* TEXT */),
|
|
4793
|
+
_createElementVNode("small", {
|
|
4794
|
+
class: "feature-path",
|
|
4795
|
+
title: project.cwd
|
|
4796
|
+
}, _toDisplayString(project.cwd || _ctx.t('features.unassigned')), 9 /* TEXT, PROPS */, ["title"])
|
|
4797
|
+
]),
|
|
4798
|
+
_createElementVNode("span", { class: "feature-count" }, _toDisplayString(project.sessionCount), 1 /* TEXT */)
|
|
4799
|
+
], 8 /* PROPS */, ["onClick", "disabled", "aria-pressed"]))
|
|
4800
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
4801
|
+
], 8 /* PROPS */, ["aria-label"]),
|
|
4802
|
+
(_ctx.projectReport.detail)
|
|
4803
|
+
? (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [
|
|
4804
|
+
_createElementVNode("div", { class: "feature-section-heading feature-project-heading" }, [
|
|
4805
|
+
_createElementVNode("h4", {
|
|
4806
|
+
class: "feature-path",
|
|
4807
|
+
title: _ctx.projectReport.detail.cwd
|
|
4808
|
+
}, _toDisplayString(_ctx.projectReport.detail.cwd || _ctx.t('features.unassigned')), 9 /* TEXT, PROPS */, ["title"])
|
|
4809
|
+
]),
|
|
4810
|
+
(_ctx.projectReport.detail.truncated)
|
|
4811
|
+
? (_openBlock(), _createElementBlock("p", {
|
|
4812
|
+
key: 0,
|
|
4813
|
+
class: "feature-hint"
|
|
4814
|
+
}, _toDisplayString(_ctx.t('features.partial')), 1 /* TEXT */))
|
|
4815
|
+
: _createCommentVNode("v-if", true),
|
|
4816
|
+
_createElementVNode("div", { class: "feature-project-sessions" }, [
|
|
4817
|
+
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.projectReport.detail.sessions, (session) => {
|
|
4818
|
+
return (_openBlock(), _createElementBlock("article", {
|
|
4819
|
+
key: session.source + session.sessionId,
|
|
4820
|
+
class: "feature-session-row"
|
|
4821
|
+
}, [
|
|
4822
|
+
_createElementVNode("button", {
|
|
4823
|
+
type: "button",
|
|
4824
|
+
onClick: $event => (_ctx.selectSession(session))
|
|
4825
|
+
}, _toDisplayString(session.title || session.sessionId), 9 /* TEXT, PROPS */, ["onClick"]),
|
|
4826
|
+
_createElementVNode("small", { class: "feature-meta" }, _toDisplayString(session.source) + " · " + _toDisplayString(session.timestamp), 1 /* TEXT */)
|
|
4827
|
+
]))
|
|
4828
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
4829
|
+
]),
|
|
4830
|
+
_createElementVNode("details", {
|
|
4831
|
+
class: "feature-disclosure",
|
|
4832
|
+
open: !!_ctx.projectReport.detail.bookmarks.length
|
|
4833
|
+
}, [
|
|
4834
|
+
_createElementVNode("summary", null, [
|
|
4835
|
+
_createTextVNode(_toDisplayString(_ctx.t('features.bookmarks')) + " ", 1 /* TEXT */),
|
|
4836
|
+
_createElementVNode("span", { class: "feature-count" }, _toDisplayString(_ctx.projectReport.detail.bookmarks.length), 1 /* TEXT */)
|
|
4837
|
+
]),
|
|
4838
|
+
_createElementVNode("div", { class: "feature-link-list" }, [
|
|
4839
|
+
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.projectReport.detail.bookmarks, (item) => {
|
|
4840
|
+
return (_openBlock(), _createElementBlock("button", {
|
|
4841
|
+
key: item.id,
|
|
4842
|
+
type: "button",
|
|
4843
|
+
onClick: $event => (_ctx.locateBookmark(item))
|
|
4844
|
+
}, _toDisplayString(item.note || item.excerpt.slice(0, 80)), 9 /* TEXT, PROPS */, ["onClick"]))
|
|
4845
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
4846
|
+
])
|
|
4847
|
+
], 8 /* PROPS */, ["open"]),
|
|
4848
|
+
_createElementVNode("details", { class: "feature-disclosure" }, [
|
|
4849
|
+
_createElementVNode("summary", null, [
|
|
4850
|
+
_createTextVNode(_toDisplayString(_ctx.t('features.prompts')) + " ", 1 /* TEXT */),
|
|
4851
|
+
_createElementVNode("span", { class: "feature-count" }, _toDisplayString(_ctx.projectReport.detail.prompts.length), 1 /* TEXT */)
|
|
4852
|
+
]),
|
|
4853
|
+
_createElementVNode("div", { class: "feature-link-list" }, [
|
|
4854
|
+
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.projectReport.detail.prompts, (file) => {
|
|
4855
|
+
return (_openBlock(), _createElementBlock("button", {
|
|
4856
|
+
key: file,
|
|
4857
|
+
type: "button",
|
|
4858
|
+
onClick: $event => (_ctx.openProjectPrompt(file))
|
|
4859
|
+
}, _toDisplayString(file), 9 /* TEXT, PROPS */, ["onClick"]))
|
|
4860
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
4861
|
+
]),
|
|
4862
|
+
(_ctx.projectPrompt)
|
|
4863
|
+
? (_openBlock(), _createElementBlock("pre", {
|
|
4864
|
+
key: 0,
|
|
4865
|
+
class: "feature-code"
|
|
4866
|
+
}, _toDisplayString(_ctx.projectPrompt.content), 1 /* TEXT */))
|
|
4867
|
+
: _createCommentVNode("v-if", true)
|
|
4868
|
+
]),
|
|
4869
|
+
_createElementVNode("details", { class: "feature-disclosure" }, [
|
|
4870
|
+
_createElementVNode("summary", null, [
|
|
4871
|
+
_createTextVNode(_toDisplayString(_ctx.t('features.handoffs')) + " ", 1 /* TEXT */),
|
|
4872
|
+
_createElementVNode("span", { class: "feature-count" }, _toDisplayString(_ctx.projectReport.detail.handoffs.length), 1 /* TEXT */)
|
|
4873
|
+
]),
|
|
4874
|
+
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.projectReport.detail.handoffs, (record) => {
|
|
4875
|
+
return (_openBlock(), _createElementBlock("p", {
|
|
4876
|
+
key: record.source + record.id,
|
|
4877
|
+
class: "feature-meta"
|
|
4878
|
+
}, _toDisplayString(record.source) + " · " + _toDisplayString(record.target) + " · " + _toDisplayString(record.createdAt) + " · " + _toDisplayString(_ctx.handoffStatusLabel(record.status)), 1 /* TEXT */))
|
|
4879
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
4880
|
+
]),
|
|
4881
|
+
(_ctx.projectSelected)
|
|
4882
|
+
? (_openBlock(), _createElementBlock("details", {
|
|
4883
|
+
key: 1,
|
|
4884
|
+
class: "feature-disclosure"
|
|
4885
|
+
}, [
|
|
4886
|
+
_createElementVNode("summary", null, _toDisplayString(_ctx.t('features.projectMapping')), 1 /* TEXT */),
|
|
4887
|
+
_createElementVNode("form", {
|
|
4888
|
+
class: "feature-actions feature-search-form",
|
|
4889
|
+
onSubmit: _withModifiers(_ctx.mapProjectWorkspace, ["prevent"])
|
|
4890
|
+
}, [
|
|
4891
|
+
_withDirectives(_createElementVNode("input", {
|
|
4892
|
+
"onUpdate:modelValue": $event => ((_ctx.projectAlias) = $event),
|
|
4893
|
+
"aria-label": _ctx.t('features.projectPath'),
|
|
4894
|
+
placeholder: _ctx.t('features.projectPath')
|
|
4895
|
+
}, null, 8 /* PROPS */, ["onUpdate:modelValue", "aria-label", "placeholder"]), [
|
|
4896
|
+
[_vModelText, _ctx.projectAlias]
|
|
4897
|
+
]),
|
|
4898
|
+
_createElementVNode("button", {
|
|
4899
|
+
class: "btn-mini",
|
|
4900
|
+
disabled: _ctx.featureBusy
|
|
4901
|
+
}, _toDisplayString(_ctx.t('features.saveMapping')), 9 /* TEXT, PROPS */, ["disabled"])
|
|
4902
|
+
], 40 /* PROPS, NEED_HYDRATION */, ["onSubmit"])
|
|
4903
|
+
]))
|
|
4904
|
+
: _createCommentVNode("v-if", true)
|
|
4905
|
+
], 64 /* STABLE_FRAGMENT */))
|
|
4906
|
+
: _createCommentVNode("v-if", true)
|
|
4907
|
+
], 64 /* STABLE_FRAGMENT */))
|
|
4908
|
+
: _createCommentVNode("v-if", true)
|
|
4909
|
+
]))
|
|
4910
|
+
: _createCommentVNode("v-if", true),
|
|
4911
|
+
(_ctx.featureView === 'bookmarks')
|
|
4912
|
+
? (_openBlock(), _createElementBlock("div", {
|
|
4913
|
+
key: 3,
|
|
4914
|
+
class: "feature-content"
|
|
4915
|
+
}, [
|
|
4916
|
+
_createElementVNode("div", { class: "feature-section-heading" }, [
|
|
4917
|
+
_createElementVNode("h3", null, _toDisplayString(_ctx.t('features.bookmarks')), 1 /* TEXT */),
|
|
4918
|
+
_createElementVNode("span", { class: "feature-count" }, _toDisplayString(_ctx.bookmarks.length), 1 /* TEXT */)
|
|
4919
|
+
]),
|
|
4920
|
+
_createElementVNode("form", {
|
|
4921
|
+
onSubmit: _withModifiers(_ctx.loadBookmarks, ["prevent"])
|
|
4922
|
+
}, [
|
|
4923
|
+
_createElementVNode("div", { class: "feature-actions feature-search-form" }, [
|
|
4924
|
+
_withDirectives(_createElementVNode("input", {
|
|
4925
|
+
"onUpdate:modelValue": $event => ((_ctx.bookmarkQuery) = $event),
|
|
4926
|
+
"aria-label": _ctx.t('features.search'),
|
|
4927
|
+
placeholder: _ctx.t('features.search')
|
|
4928
|
+
}, null, 8 /* PROPS */, ["onUpdate:modelValue", "aria-label", "placeholder"]), [
|
|
4929
|
+
[_vModelText, _ctx.bookmarkQuery]
|
|
4930
|
+
]),
|
|
4931
|
+
_createElementVNode("button", {
|
|
4932
|
+
class: "btn-mini feature-primary",
|
|
4933
|
+
disabled: _ctx.featureBusy
|
|
4934
|
+
}, _toDisplayString(_ctx.t('features.search')), 9 /* TEXT, PROPS */, ["disabled"])
|
|
4935
|
+
]),
|
|
4936
|
+
_createElementVNode("details", { class: "feature-disclosure" }, [
|
|
4937
|
+
_createElementVNode("summary", null, [
|
|
4938
|
+
_createTextVNode(_toDisplayString(_ctx.t('features.moreFilters')) + " ", 1 /* TEXT */),
|
|
4939
|
+
(_ctx.bookmarkTag || _ctx.bookmarkProject)
|
|
4940
|
+
? (_openBlock(), _createElementBlock("span", {
|
|
4941
|
+
key: 0,
|
|
4942
|
+
class: "feature-count"
|
|
4943
|
+
}, _toDisplayString((_ctx.bookmarkTag ? 1 : 0) + (_ctx.bookmarkProject ? 1 : 0)), 1 /* TEXT */))
|
|
4944
|
+
: _createCommentVNode("v-if", true)
|
|
4945
|
+
]),
|
|
4946
|
+
_createElementVNode("div", { class: "feature-filter-fields" }, [
|
|
4947
|
+
_createElementVNode("label", null, [
|
|
4948
|
+
_createTextVNode(_toDisplayString(_ctx.t('features.tag')), 1 /* TEXT */),
|
|
4949
|
+
_withDirectives(_createElementVNode("input", {
|
|
4950
|
+
"onUpdate:modelValue": $event => ((_ctx.bookmarkTag) = $event),
|
|
4951
|
+
"aria-label": _ctx.t('features.tag')
|
|
4952
|
+
}, null, 8 /* PROPS */, ["onUpdate:modelValue", "aria-label"]), [
|
|
4953
|
+
[_vModelText, _ctx.bookmarkTag]
|
|
4954
|
+
])
|
|
4955
|
+
]),
|
|
4956
|
+
_createElementVNode("label", null, [
|
|
4957
|
+
_createTextVNode(_toDisplayString(_ctx.t('features.projectPath')), 1 /* TEXT */),
|
|
4958
|
+
_withDirectives(_createElementVNode("input", {
|
|
4959
|
+
"onUpdate:modelValue": $event => ((_ctx.bookmarkProject) = $event),
|
|
4960
|
+
"aria-label": _ctx.t('features.projectPath')
|
|
4961
|
+
}, null, 8 /* PROPS */, ["onUpdate:modelValue", "aria-label"]), [
|
|
4962
|
+
[_vModelText, _ctx.bookmarkProject]
|
|
4963
|
+
])
|
|
4964
|
+
])
|
|
4965
|
+
])
|
|
4966
|
+
])
|
|
4967
|
+
], 40 /* PROPS, NEED_HYDRATION */, ["onSubmit"]),
|
|
4968
|
+
(_ctx.featureBusy)
|
|
4969
|
+
? (_openBlock(), _createElementBlock("p", {
|
|
4970
|
+
key: 0,
|
|
4971
|
+
class: "feature-loading",
|
|
4972
|
+
role: "status"
|
|
4973
|
+
}, _toDisplayString(_ctx.t('features.loading')), 1 /* TEXT */))
|
|
4974
|
+
: (!_ctx.bookmarks.length)
|
|
4975
|
+
? (_openBlock(), _createElementBlock("div", {
|
|
4976
|
+
key: 1,
|
|
4977
|
+
class: "feature-empty"
|
|
4978
|
+
}, [
|
|
4979
|
+
_createElementVNode("p", null, _toDisplayString(_ctx.t('features.empty')), 1 /* TEXT */)
|
|
4980
|
+
]))
|
|
4981
|
+
: _createCommentVNode("v-if", true),
|
|
4982
|
+
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.bookmarks, (item) => {
|
|
4983
|
+
return (_openBlock(), _createElementBlock("article", {
|
|
4984
|
+
key: item.id,
|
|
4985
|
+
class: "feature-record"
|
|
4986
|
+
}, [
|
|
4987
|
+
_createElementVNode("header", { class: "feature-record-heading" }, [
|
|
4988
|
+
_createElementVNode("span", { class: "feature-source" }, _toDisplayString(item.source), 1 /* TEXT */),
|
|
4989
|
+
_createElementVNode("small", { class: "feature-meta" }, _toDisplayString(item.updatedAt), 1 /* TEXT */)
|
|
4990
|
+
]),
|
|
4991
|
+
_createElementVNode("small", {
|
|
4992
|
+
class: "feature-path",
|
|
4993
|
+
title: item.cwd
|
|
4994
|
+
}, _toDisplayString(item.cwd), 9 /* TEXT, PROPS */, ["title"]),
|
|
4995
|
+
_createElementVNode("pre", { class: "feature-excerpt" }, _toDisplayString(item.excerpt), 1 /* TEXT */),
|
|
4996
|
+
(item.note)
|
|
4997
|
+
? (_openBlock(), _createElementBlock("p", {
|
|
4998
|
+
key: 0,
|
|
4999
|
+
class: "feature-note"
|
|
5000
|
+
}, _toDisplayString(item.note), 1 /* TEXT */))
|
|
5001
|
+
: _createCommentVNode("v-if", true),
|
|
5002
|
+
(item.tags.length)
|
|
5003
|
+
? (_openBlock(), _createElementBlock("div", {
|
|
5004
|
+
key: 1,
|
|
5005
|
+
class: "feature-tags"
|
|
5006
|
+
}, [
|
|
5007
|
+
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(item.tags, (tag) => {
|
|
5008
|
+
return (_openBlock(), _createElementBlock("span", {
|
|
5009
|
+
key: tag,
|
|
5010
|
+
class: "feature-tag"
|
|
5011
|
+
}, _toDisplayString(tag), 1 /* TEXT */))
|
|
5012
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
5013
|
+
]))
|
|
5014
|
+
: _createCommentVNode("v-if", true),
|
|
5015
|
+
_createElementVNode("div", { class: "feature-record-actions" }, [
|
|
5016
|
+
_createElementVNode("button", {
|
|
5017
|
+
type: "button",
|
|
5018
|
+
class: "btn-mini",
|
|
5019
|
+
onClick: $event => (_ctx.locateBookmark(item)),
|
|
5020
|
+
disabled: _ctx.featureBusy
|
|
5021
|
+
}, _toDisplayString(_ctx.t('features.source')), 9 /* TEXT, PROPS */, ["onClick", "disabled"]),
|
|
5022
|
+
_createElementVNode("button", {
|
|
5023
|
+
type: "button",
|
|
5024
|
+
class: "btn-mini feature-quiet",
|
|
5025
|
+
onClick: $event => (_ctx.bookmarkEditor = { ...item, tagsText: item.tags.join(', ') }),
|
|
5026
|
+
disabled: _ctx.featureBusy
|
|
5027
|
+
}, _toDisplayString(_ctx.t('features.edit')), 9 /* TEXT, PROPS */, ["onClick", "disabled"]),
|
|
5028
|
+
_createElementVNode("button", {
|
|
5029
|
+
type: "button",
|
|
5030
|
+
class: "btn-mini feature-quiet",
|
|
5031
|
+
onClick: $event => (_ctx.removeBookmark(item)),
|
|
5032
|
+
disabled: _ctx.featureBusy
|
|
5033
|
+
}, _toDisplayString(_ctx.t('features.unbookmark')), 9 /* TEXT, PROPS */, ["onClick", "disabled"])
|
|
5034
|
+
])
|
|
5035
|
+
]))
|
|
5036
|
+
}), 128 /* KEYED_FRAGMENT */)),
|
|
5037
|
+
(_ctx.bookmarkEditor)
|
|
5038
|
+
? (_openBlock(), _createElementBlock("form", {
|
|
5039
|
+
key: 2,
|
|
5040
|
+
onSubmit: _withModifiers(_ctx.saveBookmark, ["prevent"]),
|
|
5041
|
+
class: "feature-editor"
|
|
5042
|
+
}, [
|
|
5043
|
+
_createElementVNode("label", null, [
|
|
5044
|
+
_createTextVNode(_toDisplayString(_ctx.t('features.note')), 1 /* TEXT */),
|
|
5045
|
+
_withDirectives(_createElementVNode("textarea", {
|
|
5046
|
+
"onUpdate:modelValue": $event => ((_ctx.bookmarkEditor.note) = $event),
|
|
5047
|
+
maxlength: "4000"
|
|
5048
|
+
}, null, 8 /* PROPS */, ["onUpdate:modelValue"]), [
|
|
5049
|
+
[_vModelText, _ctx.bookmarkEditor.note]
|
|
5050
|
+
])
|
|
5051
|
+
]),
|
|
5052
|
+
_createElementVNode("label", null, [
|
|
5053
|
+
_createTextVNode(_toDisplayString(_ctx.t('features.tags')), 1 /* TEXT */),
|
|
5054
|
+
_withDirectives(_createElementVNode("input", {
|
|
5055
|
+
"onUpdate:modelValue": $event => ((_ctx.bookmarkEditor.tagsText) = $event)
|
|
5056
|
+
}, null, 8 /* PROPS */, ["onUpdate:modelValue"]), [
|
|
5057
|
+
[_vModelText, _ctx.bookmarkEditor.tagsText]
|
|
5058
|
+
])
|
|
5059
|
+
]),
|
|
5060
|
+
_createElementVNode("div", { class: "feature-actions" }, [
|
|
5061
|
+
_createElementVNode("button", {
|
|
5062
|
+
class: "btn-mini feature-primary",
|
|
5063
|
+
disabled: _ctx.featureBusy
|
|
5064
|
+
}, _toDisplayString(_ctx.t('features.save')), 9 /* TEXT, PROPS */, ["disabled"]),
|
|
5065
|
+
_createElementVNode("button", {
|
|
5066
|
+
type: "button",
|
|
5067
|
+
class: "btn-mini feature-quiet",
|
|
5068
|
+
onClick: $event => (_ctx.bookmarkEditor = null),
|
|
5069
|
+
disabled: _ctx.featureBusy
|
|
5070
|
+
}, _toDisplayString(_ctx.t('features.cancel')), 9 /* TEXT, PROPS */, ["onClick", "disabled"])
|
|
5071
|
+
])
|
|
5072
|
+
], 40 /* PROPS, NEED_HYDRATION */, ["onSubmit"]))
|
|
5073
|
+
: _createCommentVNode("v-if", true)
|
|
5074
|
+
]))
|
|
5075
|
+
: _createCommentVNode("v-if", true)
|
|
5076
|
+
], 8 /* PROPS */, ["aria-label"]),
|
|
4379
5077
|
_createElementVNode("div", { class: "selector-section session-selector-section" }, [
|
|
4380
5078
|
_createElementVNode("div", {
|
|
4381
5079
|
class: "selector-header",
|
|
@@ -4827,7 +5525,7 @@ return function render(_ctx, _cache) {
|
|
|
4827
5525
|
class: "thread-handoff-body"
|
|
4828
5526
|
}, [
|
|
4829
5527
|
_createElementVNode("div", { class: "session-workspace-header session-workspace-card-wide" }, [
|
|
4830
|
-
_createElementVNode("p", { class: "session-workspace-subtitle" }, "
|
|
5528
|
+
_createElementVNode("p", { class: "session-workspace-subtitle" }, "草稿在切换会话后保留,刷新后清空。"),
|
|
4831
5529
|
_createElementVNode("button", {
|
|
4832
5530
|
class: "btn-mini",
|
|
4833
5531
|
type: "button",
|
|
@@ -4871,10 +5569,7 @@ return function render(_ctx, _cache) {
|
|
|
4871
5569
|
])
|
|
4872
5570
|
]),
|
|
4873
5571
|
_createElementVNode("details", { class: "thread-handoff-optional" }, [
|
|
4874
|
-
_createElementVNode("summary", { class: "thread-handoff-optional-summary" },
|
|
4875
|
-
_createTextVNode("补充上下文 "),
|
|
4876
|
-
_createElementVNode("small", null, "已完成 / 阻塞 / 步骤 / 文件 · 可选")
|
|
4877
|
-
]),
|
|
5572
|
+
_createElementVNode("summary", { class: "thread-handoff-optional-summary" }, "补充上下文"),
|
|
4878
5573
|
_createElementVNode("div", { class: "session-workspace-grid" }, [
|
|
4879
5574
|
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.handoffFields, (field) => {
|
|
4880
5575
|
return (_openBlock(), _createElementBlock("label", {
|
|
@@ -4896,7 +5591,6 @@ return function render(_ctx, _cache) {
|
|
|
4896
5591
|
])
|
|
4897
5592
|
]),
|
|
4898
5593
|
_createElementVNode("div", { class: "thread-handoff-actions" }, [
|
|
4899
|
-
_createElementVNode("span", { class: "session-workspace-subtitle" }, "生成后可复制到目标会话"),
|
|
4900
5594
|
_createElementVNode("button", {
|
|
4901
5595
|
class: "btn-mini thread-handoff-submit",
|
|
4902
5596
|
type: "submit",
|
|
@@ -4935,21 +5629,55 @@ return function render(_ctx, _cache) {
|
|
|
4935
5629
|
]))
|
|
4936
5630
|
: _createCommentVNode("v-if", true),
|
|
4937
5631
|
_createElementVNode("p", { class: "session-workspace-subtitle session-workspace-card-wide" }, "复制不会自动发送。读取确认由目标代理通过 CLI ack 提交。"),
|
|
5632
|
+
_createElementVNode("div", { class: "feature-actions" }, [
|
|
5633
|
+
_createElementVNode("button", {
|
|
5634
|
+
type: "button",
|
|
5635
|
+
class: "btn-mini",
|
|
5636
|
+
onClick: _ctx.generateSelectedHandoff,
|
|
5637
|
+
disabled: _ctx.featureBusy || !_ctx.selectedContextIds.length
|
|
5638
|
+
}, _toDisplayString(_ctx.t('features.generateDraft', { count: _ctx.selectedContextIds.length })), 9 /* TEXT, PROPS */, ["onClick", "disabled"])
|
|
5639
|
+
]),
|
|
5640
|
+
(_ctx.handoffDraftEvidence.length)
|
|
5641
|
+
? (_openBlock(), _createElementBlock("p", { key: 3 }, _toDisplayString(_ctx.t('features.draftReview')), 1 /* TEXT */))
|
|
5642
|
+
: _createCommentVNode("v-if", true),
|
|
5643
|
+
(_ctx.handoffUnverified.length)
|
|
5644
|
+
? (_openBlock(), _createElementBlock("details", { key: 4 }, [
|
|
5645
|
+
_createElementVNode("summary", null, _toDisplayString(_ctx.t('features.unverified', { count: _ctx.handoffUnverified.length })), 1 /* TEXT */),
|
|
5646
|
+
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.handoffUnverified, (text, index) => {
|
|
5647
|
+
return (_openBlock(), _createElementBlock("pre", { key: index }, _toDisplayString(text), 1 /* TEXT */))
|
|
5648
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
5649
|
+
]))
|
|
5650
|
+
: _createCommentVNode("v-if", true),
|
|
5651
|
+
(_ctx.handoffDraftEvidence.length)
|
|
5652
|
+
? (_openBlock(), _createElementBlock("ul", { key: 5 }, [
|
|
5653
|
+
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.handoffDraftEvidence, (item) => {
|
|
5654
|
+
return (_openBlock(), _createElementBlock("li", {
|
|
5655
|
+
key: item.nodeId
|
|
5656
|
+
}, [
|
|
5657
|
+
_createElementVNode("button", {
|
|
5658
|
+
type: "button",
|
|
5659
|
+
class: "btn-mini",
|
|
5660
|
+
onClick: $event => (_ctx.locateDraftEvidence(item))
|
|
5661
|
+
}, _toDisplayString(item.nodeId) + " · " + _toDisplayString(_ctx.t('features.evidence.' + item.status)), 9 /* TEXT, PROPS */, ["onClick"])
|
|
5662
|
+
]))
|
|
5663
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
5664
|
+
]))
|
|
5665
|
+
: _createCommentVNode("v-if", true),
|
|
4938
5666
|
(_ctx.handoffLoading)
|
|
4939
5667
|
? (_openBlock(), _createElementBlock("p", {
|
|
4940
|
-
key:
|
|
5668
|
+
key: 6,
|
|
4941
5669
|
class: "session-workspace-card-wide",
|
|
4942
5670
|
role: "status"
|
|
4943
5671
|
}, "正在加载交接历史…"))
|
|
4944
5672
|
: (!_ctx.handoffError && !_ctx.handoffRecords.length)
|
|
4945
5673
|
? (_openBlock(), _createElementBlock("p", {
|
|
4946
|
-
key:
|
|
5674
|
+
key: 7,
|
|
4947
5675
|
class: "session-workspace-empty session-workspace-card-wide"
|
|
4948
5676
|
}, "暂无交接记录"))
|
|
4949
5677
|
: _createCommentVNode("v-if", true),
|
|
4950
5678
|
(_ctx.handoffRecords.length)
|
|
4951
5679
|
? (_openBlock(), _createElementBlock("ol", {
|
|
4952
|
-
key:
|
|
5680
|
+
key: 8,
|
|
4953
5681
|
class: "session-workspace-list session-workspace-card-wide"
|
|
4954
5682
|
}, [
|
|
4955
5683
|
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.handoffRecords, (record) => {
|
|
@@ -5386,6 +6114,126 @@ return function render(_ctx, _cache) {
|
|
|
5386
6114
|
_createElementVNode("pre", null, _toDisplayString(_ctx.sessionContextHealthFocusedNode.text), 1 /* TEXT */)
|
|
5387
6115
|
], 8 /* PROPS */, ["data-context-node-id", "aria-label"]))
|
|
5388
6116
|
: _createCommentVNode("v-if", true),
|
|
6117
|
+
(_ctx.sessionContextHealth)
|
|
6118
|
+
? (_openBlock(), _createElementBlock("section", {
|
|
6119
|
+
key: 3,
|
|
6120
|
+
class: "context-window-reference",
|
|
6121
|
+
"aria-label": _ctx.t('features.windowReference')
|
|
6122
|
+
}, [
|
|
6123
|
+
_createElementVNode("div", { class: "feature-section-heading" }, [
|
|
6124
|
+
_createElementVNode("h4", null, _toDisplayString(_ctx.t('features.windowReference')), 1 /* TEXT */),
|
|
6125
|
+
(_ctx.contextReference?.percentage !== undefined)
|
|
6126
|
+
? (_openBlock(), _createElementBlock("small", {
|
|
6127
|
+
key: 0,
|
|
6128
|
+
class: "feature-meta"
|
|
6129
|
+
}, _toDisplayString(_ctx.t('features.windowSource.' + _ctx.contextReference.source)), 1 /* TEXT */))
|
|
6130
|
+
: _createCommentVNode("v-if", true)
|
|
6131
|
+
]),
|
|
6132
|
+
(_ctx.contextReference?.percentage !== undefined)
|
|
6133
|
+
? (_openBlock(), _createElementBlock("p", {
|
|
6134
|
+
key: 0,
|
|
6135
|
+
class: "feature-hint"
|
|
6136
|
+
}, _toDisplayString(_ctx.t('features.contextEstimate', { percent: _ctx.contextReference.percentage.toFixed(2), window: _ctx.contextReference.window })), 1 /* TEXT */))
|
|
6137
|
+
: (_openBlock(), _createElementBlock("p", {
|
|
6138
|
+
key: 1,
|
|
6139
|
+
class: "feature-hint"
|
|
6140
|
+
}, _toDisplayString(_ctx.t('features.windowStatus.' + (_ctx.contextReference?.status || 'unknown'))), 1 /* TEXT */)),
|
|
6141
|
+
_createElementVNode("details", { class: "feature-disclosure" }, [
|
|
6142
|
+
_createElementVNode("summary", null, _toDisplayString(_ctx.t('features.windowSettings')), 1 /* TEXT */),
|
|
6143
|
+
_createElementVNode("div", { class: "feature-window-fields" }, [
|
|
6144
|
+
(_ctx.sessionContextHealth.models?.length)
|
|
6145
|
+
? (_openBlock(), _createElementBlock("label", { key: 0 }, [
|
|
6146
|
+
_createTextVNode(_toDisplayString(_ctx.t('features.model')), 1 /* TEXT */),
|
|
6147
|
+
_withDirectives(_createElementVNode("select", {
|
|
6148
|
+
"onUpdate:modelValue": $event => ((_ctx.contextSelectedModel) = $event),
|
|
6149
|
+
"aria-label": _ctx.t('features.model')
|
|
6150
|
+
}, [
|
|
6151
|
+
_createElementVNode("option", { value: "" }, _toDisplayString(_ctx.t('features.chooseModel')), 1 /* TEXT */),
|
|
6152
|
+
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.sessionContextHealth.models, (model) => {
|
|
6153
|
+
return (_openBlock(), _createElementBlock("option", {
|
|
6154
|
+
key: model,
|
|
6155
|
+
value: model
|
|
6156
|
+
}, _toDisplayString(model), 9 /* TEXT, PROPS */, ["value"]))
|
|
6157
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
6158
|
+
], 8 /* PROPS */, ["onUpdate:modelValue", "aria-label"]), [
|
|
6159
|
+
[_vModelSelect, _ctx.contextSelectedModel]
|
|
6160
|
+
])
|
|
6161
|
+
]))
|
|
6162
|
+
: _createCommentVNode("v-if", true),
|
|
6163
|
+
_createElementVNode("label", null, [
|
|
6164
|
+
_createTextVNode(_toDisplayString(_ctx.t('features.contextWindow')), 1 /* TEXT */),
|
|
6165
|
+
_withDirectives(_createElementVNode("input", {
|
|
6166
|
+
"onUpdate:modelValue": $event => ((_ctx.contextWindowInput) = $event),
|
|
6167
|
+
type: "number",
|
|
6168
|
+
min: "1",
|
|
6169
|
+
step: "1",
|
|
6170
|
+
"aria-label": _ctx.t('features.contextWindow')
|
|
6171
|
+
}, null, 8 /* PROPS */, ["onUpdate:modelValue", "aria-label"]), [
|
|
6172
|
+
[_vModelText, _ctx.contextWindowInput]
|
|
6173
|
+
])
|
|
6174
|
+
]),
|
|
6175
|
+
_createElementVNode("button", {
|
|
6176
|
+
type: "button",
|
|
6177
|
+
class: "btn-mini",
|
|
6178
|
+
onClick: $event => (_ctx.saveContextPreferences(false)),
|
|
6179
|
+
disabled: _ctx.contextReference?.status === 'invalid'
|
|
6180
|
+
}, _toDisplayString(_ctx.t('features.save')), 9 /* TEXT, PROPS */, ["onClick", "disabled"])
|
|
6181
|
+
])
|
|
6182
|
+
]),
|
|
6183
|
+
(_ctx.contextReference && ['warning', 'high'].includes(_ctx.contextReference.status) && !_ctx.contextReminderDismissed)
|
|
6184
|
+
? (_openBlock(), _createElementBlock("div", {
|
|
6185
|
+
key: 2,
|
|
6186
|
+
role: "status",
|
|
6187
|
+
class: "feature-window-warning"
|
|
6188
|
+
}, [
|
|
6189
|
+
_createElementVNode("span", null, _toDisplayString(_ctx.t('features.windowStatus.' + _ctx.contextReference.status)), 1 /* TEXT */),
|
|
6190
|
+
_createElementVNode("div", { class: "feature-record-actions" }, [
|
|
6191
|
+
_createElementVNode("button", {
|
|
6192
|
+
type: "button",
|
|
6193
|
+
class: "btn-mini",
|
|
6194
|
+
onClick: $event => (_ctx.handoffExpanded = true)
|
|
6195
|
+
}, _toDisplayString(_ctx.t('features.handoffs')), 9 /* TEXT, PROPS */, ["onClick"]),
|
|
6196
|
+
_createElementVNode("button", {
|
|
6197
|
+
type: "button",
|
|
6198
|
+
class: "btn-mini feature-quiet",
|
|
6199
|
+
onClick: $event => (_ctx.saveContextPreferences(true))
|
|
6200
|
+
}, _toDisplayString(_ctx.t('features.dismiss')), 9 /* TEXT, PROPS */, ["onClick"])
|
|
6201
|
+
])
|
|
6202
|
+
]))
|
|
6203
|
+
: _createCommentVNode("v-if", true)
|
|
6204
|
+
], 8 /* PROPS */, ["aria-label"]))
|
|
6205
|
+
: _createCommentVNode("v-if", true),
|
|
6206
|
+
(_ctx.featureFocus)
|
|
6207
|
+
? (_openBlock(), _createElementBlock("article", {
|
|
6208
|
+
key: 4,
|
|
6209
|
+
ref: "featureFocus",
|
|
6210
|
+
class: "feature-focus",
|
|
6211
|
+
tabindex: "-1"
|
|
6212
|
+
}, [
|
|
6213
|
+
_createElementVNode("div", { class: "feature-actions" }, [
|
|
6214
|
+
_createElementVNode("strong", null, _toDisplayString(_ctx.t('features.source')) + " · " + _toDisplayString(_ctx.featureFocus.id), 1 /* TEXT */),
|
|
6215
|
+
_createElementVNode("button", {
|
|
6216
|
+
type: "button",
|
|
6217
|
+
class: "btn-mini",
|
|
6218
|
+
onClick: $event => (_ctx.featureFocus = null)
|
|
6219
|
+
}, _toDisplayString(_ctx.t('features.close')), 9 /* TEXT, PROPS */, ["onClick"])
|
|
6220
|
+
]),
|
|
6221
|
+
_createElementVNode("pre", null, _toDisplayString(_ctx.featureFocus.text), 1 /* TEXT */),
|
|
6222
|
+
_createElementVNode("div", { class: "feature-actions" }, [
|
|
6223
|
+
_createElementVNode("button", {
|
|
6224
|
+
type: "button",
|
|
6225
|
+
class: "btn-mini",
|
|
6226
|
+
onClick: $event => (_ctx.bookmarkMessage(_ctx.featureFocus)),
|
|
6227
|
+
disabled: _ctx.featureBusy
|
|
6228
|
+
}, _toDisplayString(_ctx.t('features.bookmark')), 9 /* TEXT, PROPS */, ["onClick", "disabled"]),
|
|
6229
|
+
_createElementVNode("button", {
|
|
6230
|
+
type: "button",
|
|
6231
|
+
class: "btn-mini",
|
|
6232
|
+
onClick: $event => (_ctx.toggleHandoffMessage(_ctx.featureFocus))
|
|
6233
|
+
}, _toDisplayString(_ctx.t('features.selectMessage')), 9 /* TEXT, PROPS */, ["onClick"])
|
|
6234
|
+
])
|
|
6235
|
+
], 512 /* NEED_PATCH */))
|
|
6236
|
+
: _createCommentVNode("v-if", true),
|
|
5389
6237
|
_createElementVNode("div", { class: "session-export-feedback" }, [
|
|
5390
6238
|
(_ctx.sessionExportNotice && _ctx.sessionExportNotice.key === _ctx.getSessionExportKey(_ctx.activeSession))
|
|
5391
6239
|
? (_openBlock(), _createElementBlock("p", {
|
|
@@ -5397,22 +6245,22 @@ return function render(_ctx, _cache) {
|
|
|
5397
6245
|
]),
|
|
5398
6246
|
(_ctx.sessionDetailLoading && !_ctx.sessionPreviewLoadingMore)
|
|
5399
6247
|
? (_openBlock(), _createElementBlock("div", {
|
|
5400
|
-
key:
|
|
6248
|
+
key: 5,
|
|
5401
6249
|
class: "session-preview-empty"
|
|
5402
6250
|
}, _toDisplayString(_ctx.t('sessions.preview.loadingBody')), 1 /* TEXT */))
|
|
5403
6251
|
: (_ctx.activeSessionDetailError)
|
|
5404
6252
|
? (_openBlock(), _createElementBlock("div", {
|
|
5405
|
-
key:
|
|
6253
|
+
key: 6,
|
|
5406
6254
|
class: "session-preview-empty"
|
|
5407
6255
|
}, _toDisplayString(_ctx.activeSessionDetailError), 1 /* TEXT */))
|
|
5408
6256
|
: (!_ctx.activeSessionMessages.length)
|
|
5409
6257
|
? (_openBlock(), _createElementBlock("div", {
|
|
5410
|
-
key:
|
|
6258
|
+
key: 7,
|
|
5411
6259
|
class: "session-preview-empty"
|
|
5412
6260
|
}, _toDisplayString(_ctx.t('sessions.preview.emptyMsgs')), 1 /* TEXT */))
|
|
5413
6261
|
: (_ctx.sessionPreviewRenderEnabled && !_ctx.activeSessionVisibleMessages.length)
|
|
5414
6262
|
? (_openBlock(), _createElementBlock("div", {
|
|
5415
|
-
key:
|
|
6263
|
+
key: 8,
|
|
5416
6264
|
class: "session-preview-empty"
|
|
5417
6265
|
}, [
|
|
5418
6266
|
_createElementVNode("span", null, _toDisplayString(_ctx.t('sessions.preview.rendering')), 1 /* TEXT */),
|
|
@@ -5424,11 +6272,11 @@ return function render(_ctx, _cache) {
|
|
|
5424
6272
|
]))
|
|
5425
6273
|
: (!_ctx.sessionPreviewRenderEnabled)
|
|
5426
6274
|
? (_openBlock(), _createElementBlock("div", {
|
|
5427
|
-
key:
|
|
6275
|
+
key: 9,
|
|
5428
6276
|
class: "session-preview-empty"
|
|
5429
6277
|
}, _toDisplayString(_ctx.t('sessions.preview.preparing')), 1 /* TEXT */))
|
|
5430
6278
|
: (_openBlock(), _createElementBlock("div", {
|
|
5431
|
-
key:
|
|
6279
|
+
key: 10,
|
|
5432
6280
|
class: "session-preview-body"
|
|
5433
6281
|
}, [
|
|
5434
6282
|
(_ctx.activeSessionWorkspaceSummary.available)
|
|
@@ -5583,6 +6431,7 @@ return function render(_ctx, _cache) {
|
|
|
5583
6431
|
class: _normalizeClass(['session-msg', msg.normalizedRole === 'user' ? 'user' : (msg.normalizedRole === 'system' ? 'system' : 'assistant')])
|
|
5584
6432
|
}, [
|
|
5585
6433
|
_createElementVNode("div", { class: "session-msg-header" }, [
|
|
6434
|
+
_createVNode(_component_session_message_actions, { message: msg }, null, 8 /* PROPS */, ["message"]),
|
|
5586
6435
|
_createElementVNode("div", { class: "session-msg-meta" }, [
|
|
5587
6436
|
_createElementVNode("span", { class: "session-msg-role" }, _toDisplayString(msg.roleLabel || (msg.normalizedRole === 'user' ? _ctx.t('sessions.roleLabel.user') : (msg.normalizedRole === 'system' ? _ctx.t('sessions.roleLabel.system') : _ctx.t('sessions.roleLabel.assistant')))), 1 /* TEXT */),
|
|
5588
6437
|
_createElementVNode("span", { class: "session-msg-time" }, _toDisplayString(msg.timestamp || ''), 1 /* TEXT */)
|
|
@@ -6409,6 +7258,125 @@ return function render(_ctx, _cache) {
|
|
|
6409
7258
|
role: "tabpanel",
|
|
6410
7259
|
"aria-labelledby": 'tab-settings'
|
|
6411
7260
|
}, [
|
|
7261
|
+
_createElementVNode("details", {
|
|
7262
|
+
class: "session-features feature-diagnostics",
|
|
7263
|
+
onToggle: $event => ($event.target === $event.currentTarget && $event.currentTarget.open && _ctx.loadDiagnosticTargets())
|
|
7264
|
+
}, [
|
|
7265
|
+
_createElementVNode("summary", { class: "feature-diagnostics-heading" }, _toDisplayString(_ctx.t('features.diagnostics')), 1 /* TEXT */),
|
|
7266
|
+
_createElementVNode("div", { class: "feature-content" }, [
|
|
7267
|
+
_createElementVNode("p", { class: "feature-hint" }, _toDisplayString(_ctx.t('features.diagnosticScope')), 1 /* TEXT */),
|
|
7268
|
+
(_ctx.featureError)
|
|
7269
|
+
? (_openBlock(), _createElementBlock("p", {
|
|
7270
|
+
key: 0,
|
|
7271
|
+
class: "form-error feature-feedback",
|
|
7272
|
+
role: "alert"
|
|
7273
|
+
}, _toDisplayString(_ctx.featureError), 1 /* TEXT */))
|
|
7274
|
+
: _createCommentVNode("v-if", true),
|
|
7275
|
+
_createElementVNode("div", { class: "feature-diagnostic-options" }, [
|
|
7276
|
+
_createElementVNode("label", null, [
|
|
7277
|
+
_withDirectives(_createElementVNode("input", {
|
|
7278
|
+
type: "checkbox",
|
|
7279
|
+
"onUpdate:modelValue": $event => ((_ctx.diagnosticsRemote) = $event),
|
|
7280
|
+
disabled: _ctx.diagnosticsReport?.status === 'running'
|
|
7281
|
+
}, null, 8 /* PROPS */, ["onUpdate:modelValue", "disabled"]), [
|
|
7282
|
+
[_vModelCheckbox, _ctx.diagnosticsRemote]
|
|
7283
|
+
]),
|
|
7284
|
+
_createElementVNode("span", null, _toDisplayString(_ctx.t('features.remoteProbe')), 1 /* TEXT */)
|
|
7285
|
+
]),
|
|
7286
|
+
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.diagnosticsTargets, (name) => {
|
|
7287
|
+
return (_openBlock(), _createElementBlock("label", { key: name }, [
|
|
7288
|
+
_withDirectives(_createElementVNode("input", {
|
|
7289
|
+
type: "checkbox",
|
|
7290
|
+
value: name,
|
|
7291
|
+
"onUpdate:modelValue": $event => ((_ctx.diagnosticsSelected) = $event),
|
|
7292
|
+
disabled: _ctx.diagnosticsReport?.status === 'running'
|
|
7293
|
+
}, null, 8 /* PROPS */, ["value", "onUpdate:modelValue", "disabled"]), [
|
|
7294
|
+
[_vModelCheckbox, _ctx.diagnosticsSelected]
|
|
7295
|
+
]),
|
|
7296
|
+
_createElementVNode("span", null, _toDisplayString(name), 1 /* TEXT */)
|
|
7297
|
+
]))
|
|
7298
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
7299
|
+
]),
|
|
7300
|
+
_createElementVNode("div", { class: "feature-actions feature-diagnostic-controls" }, [
|
|
7301
|
+
_createElementVNode("button", {
|
|
7302
|
+
type: "button",
|
|
7303
|
+
class: "btn-mini feature-primary",
|
|
7304
|
+
onClick: _ctx.startDiagnostics,
|
|
7305
|
+
disabled: _ctx.diagnosticsReport?.status === 'running'
|
|
7306
|
+
}, _toDisplayString(_ctx.t('features.check')), 9 /* TEXT, PROPS */, ["onClick", "disabled"]),
|
|
7307
|
+
(_ctx.diagnosticsReport?.status === 'running')
|
|
7308
|
+
? (_openBlock(), _createElementBlock("button", {
|
|
7309
|
+
key: 0,
|
|
7310
|
+
type: "button",
|
|
7311
|
+
class: "btn-mini feature-quiet",
|
|
7312
|
+
onClick: _ctx.cancelDiagnostics
|
|
7313
|
+
}, _toDisplayString(_ctx.t('features.cancel')), 9 /* TEXT, PROPS */, ["onClick"]))
|
|
7314
|
+
: _createCommentVNode("v-if", true),
|
|
7315
|
+
(_ctx.diagnosticsReport)
|
|
7316
|
+
? (_openBlock(), _createElementBlock("span", {
|
|
7317
|
+
key: 1,
|
|
7318
|
+
class: "feature-status",
|
|
7319
|
+
"data-status": _ctx.diagnosticsReport.status,
|
|
7320
|
+
role: "status"
|
|
7321
|
+
}, _toDisplayString(_ctx.t('features.status.' + _ctx.diagnosticsReport.status)), 9 /* TEXT, PROPS */, ["data-status"]))
|
|
7322
|
+
: _createCommentVNode("v-if", true)
|
|
7323
|
+
]),
|
|
7324
|
+
(_ctx.diagnosticsReport)
|
|
7325
|
+
? (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [
|
|
7326
|
+
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.diagnosticsReport.items, (item) => {
|
|
7327
|
+
return (_openBlock(), _createElementBlock("article", {
|
|
7328
|
+
key: item.id,
|
|
7329
|
+
class: "feature-record feature-diagnostic-row"
|
|
7330
|
+
}, [
|
|
7331
|
+
_createElementVNode("header", { class: "feature-record-heading" }, [
|
|
7332
|
+
_createElementVNode("strong", null, _toDisplayString(item.id === 'local' ? _ctx.t('features.localCheck') : item.id === 'provider' ? _ctx.t('features.providerCheck') : item.id), 1 /* TEXT */),
|
|
7333
|
+
_createElementVNode("span", {
|
|
7334
|
+
class: "feature-status",
|
|
7335
|
+
"data-status": item.status
|
|
7336
|
+
}, _toDisplayString(_ctx.t('features.status.' + item.status)), 9 /* TEXT, PROPS */, ["data-status"])
|
|
7337
|
+
]),
|
|
7338
|
+
_createElementVNode("small", { class: "feature-meta" }, [
|
|
7339
|
+
_createTextVNode(_toDisplayString(item.checkedAt), 1 /* TEXT */),
|
|
7340
|
+
(item.durationMs !== undefined)
|
|
7341
|
+
? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [
|
|
7342
|
+
_createTextVNode(" · " + _toDisplayString(item.durationMs) + " ms", 1 /* TEXT */)
|
|
7343
|
+
], 64 /* STABLE_FRAGMENT */))
|
|
7344
|
+
: _createCommentVNode("v-if", true)
|
|
7345
|
+
]),
|
|
7346
|
+
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(item.evidence?.issues || [], (issue) => {
|
|
7347
|
+
return (_openBlock(), _createElementBlock("p", {
|
|
7348
|
+
key: issue.id || issue.code,
|
|
7349
|
+
class: "feature-issue"
|
|
7350
|
+
}, _toDisplayString(issue.problem || issue.code), 1 /* TEXT */))
|
|
7351
|
+
}), 128 /* KEYED_FRAGMENT */)),
|
|
7352
|
+
(item.errorCode)
|
|
7353
|
+
? (_openBlock(), _createElementBlock("p", {
|
|
7354
|
+
key: 0,
|
|
7355
|
+
class: "form-error"
|
|
7356
|
+
}, _toDisplayString(_ctx.t('features.error.' + item.errorCode)), 1 /* TEXT */))
|
|
7357
|
+
: _createCommentVNode("v-if", true),
|
|
7358
|
+
_createElementVNode("details", { class: "feature-disclosure" }, [
|
|
7359
|
+
_createElementVNode("summary", null, _toDisplayString(_ctx.t('features.technicalDetails')), 1 /* TEXT */),
|
|
7360
|
+
_createElementVNode("pre", { class: "feature-code" }, _toDisplayString(JSON.stringify(item.evidence || {}, null, 2)), 1 /* TEXT */)
|
|
7361
|
+
])
|
|
7362
|
+
]))
|
|
7363
|
+
}), 128 /* KEYED_FRAGMENT */)),
|
|
7364
|
+
_createElementVNode("footer", { class: "feature-record-actions feature-export-actions" }, [
|
|
7365
|
+
_createElementVNode("button", {
|
|
7366
|
+
type: "button",
|
|
7367
|
+
class: "btn-mini feature-quiet",
|
|
7368
|
+
onClick: $event => (_ctx.exportDiagnostics('json'))
|
|
7369
|
+
}, _toDisplayString(_ctx.t('features.exportJson')), 9 /* TEXT, PROPS */, ["onClick"]),
|
|
7370
|
+
_createElementVNode("button", {
|
|
7371
|
+
type: "button",
|
|
7372
|
+
class: "btn-mini feature-quiet",
|
|
7373
|
+
onClick: $event => (_ctx.exportDiagnostics('md'))
|
|
7374
|
+
}, _toDisplayString(_ctx.t('features.exportMarkdown')), 9 /* TEXT, PROPS */, ["onClick"])
|
|
7375
|
+
])
|
|
7376
|
+
], 64 /* STABLE_FRAGMENT */))
|
|
7377
|
+
: _createCommentVNode("v-if", true)
|
|
7378
|
+
])
|
|
7379
|
+
], 40 /* PROPS, NEED_HYDRATION */, ["onToggle"]),
|
|
6412
7380
|
_createElementVNode("div", { class: "settings-tab-header" }, [
|
|
6413
7381
|
_createElementVNode("div", {
|
|
6414
7382
|
class: "segmented-control",
|
|
@@ -6453,7 +7421,6 @@ return function render(_ctx, _cache) {
|
|
|
6453
7421
|
_createElementVNode("div", { class: "settings-card-main" }, [
|
|
6454
7422
|
_createElementVNode("div", { class: "settings-card-content" }, [
|
|
6455
7423
|
_createElementVNode("div", { class: "settings-card-title" }, _toDisplayString(_ctx.t('settings.language.title')), 1 /* TEXT */),
|
|
6456
|
-
_createElementVNode("p", { class: "settings-card-desc" }, _toDisplayString(_ctx.t('settings.language.meta')), 1 /* TEXT */),
|
|
6457
7424
|
_createElementVNode("label", {
|
|
6458
7425
|
class: "selector-label",
|
|
6459
7426
|
for: "settings-language-select"
|
|
@@ -6470,8 +7437,7 @@ return function render(_ctx, _cache) {
|
|
|
6470
7437
|
value: option.code
|
|
6471
7438
|
}, _toDisplayString(option.nativeName) + " · " + _toDisplayString(option.englishName), 9 /* TEXT, PROPS */, ["value"]))
|
|
6472
7439
|
}), 128 /* KEYED_FRAGMENT */))
|
|
6473
|
-
], 40 /* PROPS, NEED_HYDRATION */, ["value", "onChange"])
|
|
6474
|
-
_createElementVNode("p", { class: "settings-card-hint" }, _toDisplayString(_ctx.t('settings.language.hint')), 1 /* TEXT */)
|
|
7440
|
+
], 40 /* PROPS, NEED_HYDRATION */, ["value", "onChange"])
|
|
6475
7441
|
])
|
|
6476
7442
|
])
|
|
6477
7443
|
], 8 /* PROPS */, ["aria-label"]),
|
|
@@ -6482,7 +7448,6 @@ return function render(_ctx, _cache) {
|
|
|
6482
7448
|
_createElementVNode("div", { class: "settings-card-main" }, [
|
|
6483
7449
|
_createElementVNode("div", { class: "settings-card-content" }, [
|
|
6484
7450
|
_createElementVNode("div", { class: "settings-card-title" }, _toDisplayString(_ctx.t('settings.theme.title')), 1 /* TEXT */),
|
|
6485
|
-
_createElementVNode("p", { class: "settings-card-desc" }, _toDisplayString(_ctx.t('settings.theme.meta')), 1 /* TEXT */),
|
|
6486
7451
|
_createElementVNode("div", { class: "settings-toggle-group" }, [
|
|
6487
7452
|
_createElementVNode("button", {
|
|
6488
7453
|
type: "button",
|
|
@@ -6499,8 +7464,7 @@ return function render(_ctx, _cache) {
|
|
|
6499
7464
|
class: _normalizeClass(['toggle-btn', { active: _ctx.theme === 'ocean' }]),
|
|
6500
7465
|
onClick: $event => (_ctx.setTheme('ocean'))
|
|
6501
7466
|
}, _toDisplayString(_ctx.t('settings.theme.ocean')), 11 /* TEXT, CLASS, PROPS */, ["onClick"])
|
|
6502
|
-
])
|
|
6503
|
-
_createElementVNode("p", { class: "settings-card-hint" }, _toDisplayString(_ctx.t('settings.theme.hint')), 1 /* TEXT */)
|
|
7467
|
+
])
|
|
6504
7468
|
])
|
|
6505
7469
|
])
|
|
6506
7470
|
], 8 /* PROPS */, ["aria-label"]),
|
|
@@ -6511,7 +7475,6 @@ return function render(_ctx, _cache) {
|
|
|
6511
7475
|
_createElementVNode("div", { class: "settings-card-main" }, [
|
|
6512
7476
|
_createElementVNode("div", { class: "settings-card-content" }, [
|
|
6513
7477
|
_createElementVNode("div", { class: "settings-card-title" }, _toDisplayString(_ctx.t('settings.sharePrefix.title')), 1 /* TEXT */),
|
|
6514
|
-
_createElementVNode("p", { class: "settings-card-desc" }, _toDisplayString(_ctx.t('settings.sharePrefix.meta')), 1 /* TEXT */),
|
|
6515
7478
|
_createElementVNode("label", {
|
|
6516
7479
|
class: "selector-label",
|
|
6517
7480
|
for: "settings-share-prefix"
|
|
@@ -6536,7 +7499,6 @@ return function render(_ctx, _cache) {
|
|
|
6536
7499
|
_createElementVNode("div", { class: "settings-card-main" }, [
|
|
6537
7500
|
_createElementVNode("div", { class: "settings-card-content" }, [
|
|
6538
7501
|
_createElementVNode("div", { class: "settings-card-title" }, _toDisplayString(_ctx.t('settings.templateConfirm.title')), 1 /* TEXT */),
|
|
6539
|
-
_createElementVNode("p", { class: "settings-card-desc" }, _toDisplayString(_ctx.t('settings.templateConfirm.meta')), 1 /* TEXT */),
|
|
6540
7502
|
_createElementVNode("label", { class: "settings-toggle-row" }, [
|
|
6541
7503
|
_createElementVNode("input", {
|
|
6542
7504
|
type: "checkbox",
|
|
@@ -6590,7 +7552,6 @@ return function render(_ctx, _cache) {
|
|
|
6590
7552
|
_createElementVNode("div", { class: "settings-card-main" }, [
|
|
6591
7553
|
_createElementVNode("div", { class: "settings-card-content" }, [
|
|
6592
7554
|
_createElementVNode("div", { class: "settings-card-title" }, _toDisplayString(_ctx.t('settings.timeline.style.title')), 1 /* TEXT */),
|
|
6593
|
-
_createElementVNode("p", { class: "settings-card-desc" }, _toDisplayString(_ctx.t('settings.timeline.style.meta')), 1 /* TEXT */),
|
|
6594
7555
|
_createElementVNode("div", { class: "settings-toggle-group" }, [
|
|
6595
7556
|
_createElementVNode("button", {
|
|
6596
7557
|
type: "button",
|
|
@@ -6602,8 +7563,7 @@ return function render(_ctx, _cache) {
|
|
|
6602
7563
|
class: _normalizeClass(['toggle-btn', { active: _ctx.sessionTimelineStyle === 'bar' }]),
|
|
6603
7564
|
onClick: $event => (_ctx.setSessionTimelineStyle('bar'))
|
|
6604
7565
|
}, _toDisplayString(_ctx.t('settings.timeline.style.bar')), 11 /* TEXT, CLASS, PROPS */, ["onClick"])
|
|
6605
|
-
])
|
|
6606
|
-
_createElementVNode("p", { class: "settings-card-hint" }, _toDisplayString(_ctx.t('settings.timeline.style.hint')), 1 /* TEXT */)
|
|
7566
|
+
])
|
|
6607
7567
|
])
|
|
6608
7568
|
])
|
|
6609
7569
|
], 8 /* PROPS */, ["aria-label"]),
|
|
@@ -6614,7 +7574,6 @@ return function render(_ctx, _cache) {
|
|
|
6614
7574
|
_createElementVNode("div", { class: "settings-card-main" }, [
|
|
6615
7575
|
_createElementVNode("div", { class: "settings-card-content" }, [
|
|
6616
7576
|
_createElementVNode("div", { class: "settings-card-title" }, _toDisplayString(_ctx.t('settings.configTabs.title')), 1 /* TEXT */),
|
|
6617
|
-
_createElementVNode("p", { class: "settings-card-desc" }, _toDisplayString(_ctx.t('settings.configTabs.meta')), 1 /* TEXT */),
|
|
6618
7577
|
_createElementVNode("div", { class: "settings-toggle-grid" }, [
|
|
6619
7578
|
_createElementVNode("label", { class: "settings-toggle-row" }, [
|
|
6620
7579
|
_createElementVNode("input", {
|
|
@@ -6703,8 +7662,7 @@ return function render(_ctx, _cache) {
|
|
|
6703
7662
|
}, [
|
|
6704
7663
|
_createElementVNode("div", { class: "settings-card-main" }, [
|
|
6705
7664
|
_createElementVNode("div", { class: "settings-card-content" }, [
|
|
6706
|
-
_createElementVNode("div", { class: "settings-card-title" }, _toDisplayString(_ctx.t('settings.backup.title')), 1 /* TEXT */)
|
|
6707
|
-
_createElementVNode("p", { class: "settings-card-desc" }, _toDisplayString(_ctx.t('settings.backup.meta')), 1 /* TEXT */)
|
|
7665
|
+
_createElementVNode("div", { class: "settings-card-title" }, _toDisplayString(_ctx.t('settings.backup.title')), 1 /* TEXT */)
|
|
6708
7666
|
])
|
|
6709
7667
|
]),
|
|
6710
7668
|
_createElementVNode("div", { class: "settings-card-actions" }, [
|
|
@@ -6745,7 +7703,6 @@ return function render(_ctx, _cache) {
|
|
|
6745
7703
|
_createElementVNode("div", { class: "settings-card-main" }, [
|
|
6746
7704
|
_createElementVNode("div", { class: "settings-card-content" }, [
|
|
6747
7705
|
_createElementVNode("div", { class: "settings-card-title" }, _toDisplayString(_ctx.t('settings.providerCache.title')), 1 /* TEXT */),
|
|
6748
|
-
_createElementVNode("p", { class: "settings-card-desc" }, _toDisplayString(_ctx.t('settings.providerCache.meta')), 1 /* TEXT */),
|
|
6749
7706
|
_createElementVNode("p", { class: "settings-card-hint" }, _toDisplayString(_ctx.t('settings.providerCache.hint')), 1 /* TEXT */),
|
|
6750
7707
|
(_ctx.providerCacheSyncMessage)
|
|
6751
7708
|
? (_openBlock(), _createElementBlock("p", {
|
|
@@ -6781,7 +7738,6 @@ return function render(_ctx, _cache) {
|
|
|
6781
7738
|
_createElementVNode("div", { class: "settings-card-main" }, [
|
|
6782
7739
|
_createElementVNode("div", { class: "settings-card-content" }, [
|
|
6783
7740
|
_createElementVNode("div", { class: "settings-card-title" }, _toDisplayString(_ctx.t('settings.reset.title')), 1 /* TEXT */),
|
|
6784
|
-
_createElementVNode("p", { class: "settings-card-desc" }, _toDisplayString(_ctx.t('settings.reset.meta')), 1 /* TEXT */),
|
|
6785
7741
|
_createElementVNode("p", { class: "settings-card-hint" }, _toDisplayString(_ctx.t('settings.reset.hint')), 1 /* TEXT */)
|
|
6786
7742
|
])
|
|
6787
7743
|
]),
|
|
@@ -6818,7 +7774,6 @@ return function render(_ctx, _cache) {
|
|
|
6818
7774
|
_createElementVNode("div", { class: "settings-card-main" }, [
|
|
6819
7775
|
_createElementVNode("div", { class: "settings-card-content" }, [
|
|
6820
7776
|
_createElementVNode("div", { class: "settings-card-title" }, _toDisplayString(_ctx.t('settings.trashConfig.title')), 1 /* TEXT */),
|
|
6821
|
-
_createElementVNode("p", { class: "settings-card-desc" }, _toDisplayString(_ctx.t('settings.trashConfig.meta')), 1 /* TEXT */),
|
|
6822
7777
|
_createElementVNode("label", { class: "settings-toggle-row" }, [
|
|
6823
7778
|
_createElementVNode("input", {
|
|
6824
7779
|
type: "checkbox",
|
|
@@ -7925,8 +8880,7 @@ return function render(_ctx, _cache) {
|
|
|
7925
8880
|
_createElementVNode("div", { class: "prompt-vars-block" }, [
|
|
7926
8881
|
_createElementVNode("div", { class: "prompt-vars-head" }, [
|
|
7927
8882
|
_createElementVNode("div", null, [
|
|
7928
|
-
_createElementVNode("div", { class: "prompt-vars-title" }, _toDisplayString(_ctx.t('plugins.promptTemplates.vars.title')), 1 /* TEXT */)
|
|
7929
|
-
_createElementVNode("div", { class: "plugins-panel-note" }, _toDisplayString(_ctx.t('plugins.promptTemplates.vars.hint')), 1 /* TEXT */)
|
|
8883
|
+
_createElementVNode("div", { class: "prompt-vars-title" }, _toDisplayString(_ctx.t('plugins.promptTemplates.vars.title')), 1 /* TEXT */)
|
|
7930
8884
|
]),
|
|
7931
8885
|
(!_ctx.promptTemplateDraft.isBuiltin)
|
|
7932
8886
|
? (_openBlock(), _createElementBlock("div", {
|
|
@@ -8088,7 +9042,7 @@ return function render(_ctx, _cache) {
|
|
|
8088
9042
|
_createCommentVNode(" Prompts editor "),
|
|
8089
9043
|
(_ctx.mainTab === 'prompts')
|
|
8090
9044
|
? (_openBlock(), _createElementBlock("div", {
|
|
8091
|
-
key:
|
|
9045
|
+
key: 3,
|
|
8092
9046
|
class: "mode-content mode-cards",
|
|
8093
9047
|
id: "panel-prompts",
|
|
8094
9048
|
role: "tabpanel",
|
|
@@ -8486,8 +9440,7 @@ return function render(_ctx, _cache) {
|
|
|
8486
9440
|
]),
|
|
8487
9441
|
_createElementVNode("details", { class: "prompt-presets-panel" }, [
|
|
8488
9442
|
_createElementVNode("summary", { class: "prompt-presets-summary" }, [
|
|
8489
|
-
_createElementVNode("span", null, _toDisplayString(_ctx.t('prompts.presets.title')), 1 /* TEXT */)
|
|
8490
|
-
_createElementVNode("small", null, _toDisplayString(_ctx.t('prompts.presets.hint')), 1 /* TEXT */)
|
|
9443
|
+
_createElementVNode("span", null, _toDisplayString(_ctx.t('prompts.presets.title')), 1 /* TEXT */)
|
|
8491
9444
|
]),
|
|
8492
9445
|
_createElementVNode("div", { class: "form-group prompt-presets-body" }, [
|
|
8493
9446
|
_createElementVNode("div", { class: "editor-frame prompt-presets-frame" }, [
|
|
@@ -9245,12 +10198,12 @@ return function render(_ctx, _cache) {
|
|
|
9245
10198
|
_createCommentVNode(" 加载状态 "),
|
|
9246
10199
|
(_ctx.loading && _ctx.mainTab !== 'usage')
|
|
9247
10200
|
? (_openBlock(), _createElementBlock("div", {
|
|
9248
|
-
key:
|
|
10201
|
+
key: 4,
|
|
9249
10202
|
class: "state-message app-loading-state"
|
|
9250
10203
|
}, _toDisplayString(_ctx.t('app.loadingConfig')), 1 /* TEXT */))
|
|
9251
10204
|
: (_ctx.initError)
|
|
9252
10205
|
? (_openBlock(), _createElementBlock("div", {
|
|
9253
|
-
key:
|
|
10206
|
+
key: 5,
|
|
9254
10207
|
class: "state-message error"
|
|
9255
10208
|
}, [
|
|
9256
10209
|
_createCommentVNode(" 错误状态 "),
|
|
@@ -9634,36 +10587,29 @@ return function render(_ctx, _cache) {
|
|
|
9634
10587
|
_createElementVNode("div", {
|
|
9635
10588
|
class: "modal-title project-announcement-title",
|
|
9636
10589
|
id: "provider-cache-announcement-title"
|
|
9637
|
-
}, _toDisplayString(_ctx.t('announcement.project.title')), 1 /* TEXT */)
|
|
9638
|
-
_createElementVNode("p", { class: "provider-cache-announcement-copy provider-cache-announcement-lede" }, _toDisplayString(_ctx.t('announcement.project.subtitle')), 1 /* TEXT */)
|
|
10590
|
+
}, _toDisplayString(_ctx.t('announcement.project.title')), 1 /* TEXT */)
|
|
9639
10591
|
]),
|
|
9640
10592
|
_createElementVNode("div", {
|
|
9641
10593
|
class: "project-announcement-feature-grid",
|
|
9642
10594
|
"aria-label": _ctx.t('announcement.project.features.aria')
|
|
9643
10595
|
}, [
|
|
9644
10596
|
_createElementVNode("article", { class: "project-announcement-feature-card" }, [
|
|
9645
|
-
_createElementVNode("div", { class: "project-announcement-feature-title" }, _toDisplayString(_ctx.t('announcement.project.feature.config.title')), 1 /* TEXT */)
|
|
9646
|
-
_createElementVNode("div", { class: "project-announcement-feature-meta" }, _toDisplayString(_ctx.t('announcement.project.feature.config.meta')), 1 /* TEXT */)
|
|
10597
|
+
_createElementVNode("div", { class: "project-announcement-feature-title" }, _toDisplayString(_ctx.t('announcement.project.feature.config.title')), 1 /* TEXT */)
|
|
9647
10598
|
]),
|
|
9648
10599
|
_createElementVNode("article", { class: "project-announcement-feature-card" }, [
|
|
9649
|
-
_createElementVNode("div", { class: "project-announcement-feature-title" }, _toDisplayString(_ctx.t('announcement.project.feature.sessions.title')), 1 /* TEXT */)
|
|
9650
|
-
_createElementVNode("div", { class: "project-announcement-feature-meta" }, _toDisplayString(_ctx.t('announcement.project.feature.sessions.meta')), 1 /* TEXT */)
|
|
10600
|
+
_createElementVNode("div", { class: "project-announcement-feature-title" }, _toDisplayString(_ctx.t('announcement.project.feature.sessions.title')), 1 /* TEXT */)
|
|
9651
10601
|
]),
|
|
9652
10602
|
_createElementVNode("article", { class: "project-announcement-feature-card" }, [
|
|
9653
|
-
_createElementVNode("div", { class: "project-announcement-feature-title" }, _toDisplayString(_ctx.t('announcement.project.feature.usage.title')), 1 /* TEXT */)
|
|
9654
|
-
_createElementVNode("div", { class: "project-announcement-feature-meta" }, _toDisplayString(_ctx.t('announcement.project.feature.usage.meta')), 1 /* TEXT */)
|
|
10603
|
+
_createElementVNode("div", { class: "project-announcement-feature-title" }, _toDisplayString(_ctx.t('announcement.project.feature.usage.title')), 1 /* TEXT */)
|
|
9655
10604
|
]),
|
|
9656
10605
|
_createElementVNode("article", { class: "project-announcement-feature-card" }, [
|
|
9657
|
-
_createElementVNode("div", { class: "project-announcement-feature-title" }, _toDisplayString(_ctx.t('announcement.project.feature.tasks.title')), 1 /* TEXT */)
|
|
9658
|
-
_createElementVNode("div", { class: "project-announcement-feature-meta" }, _toDisplayString(_ctx.t('announcement.project.feature.tasks.meta')), 1 /* TEXT */)
|
|
10606
|
+
_createElementVNode("div", { class: "project-announcement-feature-title" }, _toDisplayString(_ctx.t('announcement.project.feature.tasks.title')), 1 /* TEXT */)
|
|
9659
10607
|
]),
|
|
9660
10608
|
_createElementVNode("article", { class: "project-announcement-feature-card" }, [
|
|
9661
|
-
_createElementVNode("div", { class: "project-announcement-feature-title" }, _toDisplayString(_ctx.t('announcement.project.feature.skills.title')), 1 /* TEXT */)
|
|
9662
|
-
_createElementVNode("div", { class: "project-announcement-feature-meta" }, _toDisplayString(_ctx.t('announcement.project.feature.skills.meta')), 1 /* TEXT */)
|
|
10609
|
+
_createElementVNode("div", { class: "project-announcement-feature-title" }, _toDisplayString(_ctx.t('announcement.project.feature.skills.title')), 1 /* TEXT */)
|
|
9663
10610
|
]),
|
|
9664
10611
|
_createElementVNode("article", { class: "project-announcement-feature-card" }, [
|
|
9665
|
-
_createElementVNode("div", { class: "project-announcement-feature-title" }, _toDisplayString(_ctx.t('announcement.project.feature.data.title')), 1 /* TEXT */)
|
|
9666
|
-
_createElementVNode("div", { class: "project-announcement-feature-meta" }, _toDisplayString(_ctx.t('announcement.project.feature.data.meta')), 1 /* TEXT */)
|
|
10612
|
+
_createElementVNode("div", { class: "project-announcement-feature-title" }, _toDisplayString(_ctx.t('announcement.project.feature.data.title')), 1 /* TEXT */)
|
|
9667
10613
|
])
|
|
9668
10614
|
], 8 /* PROPS */, ["aria-label"]),
|
|
9669
10615
|
_createElementVNode("details", {
|
|
@@ -9675,8 +10621,7 @@ return function render(_ctx, _cache) {
|
|
|
9675
10621
|
_createElementVNode("span", {
|
|
9676
10622
|
class: "project-announcement-section-title",
|
|
9677
10623
|
id: "project-announcement-cache-title"
|
|
9678
|
-
}, _toDisplayString(_ctx.t('announcement.project.cache.title')), 1 /* TEXT */)
|
|
9679
|
-
_createElementVNode("span", { class: "project-announcement-section-meta" }, _toDisplayString(_ctx.t('announcement.project.cache.meta')), 1 /* TEXT */)
|
|
10624
|
+
}, _toDisplayString(_ctx.t('announcement.project.cache.title')), 1 /* TEXT */)
|
|
9680
10625
|
]),
|
|
9681
10626
|
(_ctx.getProviderCacheAnnouncementSummary().loadedAt)
|
|
9682
10627
|
? (_openBlock(), _createElementBlock("span", {
|
|
@@ -10610,8 +11555,7 @@ return function render(_ctx, _cache) {
|
|
|
10610
11555
|
_createElementVNode("div", { class: "quick-section" }, [
|
|
10611
11556
|
_createElementVNode("div", { class: "quick-header" }, [
|
|
10612
11557
|
_createElementVNode("div", null, [
|
|
10613
|
-
_createElementVNode("div", { class: "quick-title" }, _toDisplayString(_ctx.t('modal.openclaw.quick.title')), 1 /* TEXT */)
|
|
10614
|
-
_createElementVNode("div", { class: "form-hint" }, _toDisplayString(_ctx.t('modal.openclaw.quick.subtitle')), 1 /* TEXT */)
|
|
11558
|
+
_createElementVNode("div", { class: "quick-title" }, _toDisplayString(_ctx.t('modal.openclaw.quick.title')), 1 /* TEXT */)
|
|
10615
11559
|
]),
|
|
10616
11560
|
_createElementVNode("div", { class: "quick-actions" }, [
|
|
10617
11561
|
_createElementVNode("button", {
|
|
@@ -10819,8 +11763,7 @@ return function render(_ctx, _cache) {
|
|
|
10819
11763
|
placeholder: _ctx.t('placeholder.modelNameOptional')
|
|
10820
11764
|
}, null, 8 /* PROPS */, ["onUpdate:modelValue", "placeholder"]), [
|
|
10821
11765
|
[_vModelText, _ctx.openclawQuick.modelName]
|
|
10822
|
-
])
|
|
10823
|
-
_createElementVNode("div", { class: "form-hint" }, _toDisplayString(_ctx.t('modal.openclaw.quick.modelNameHint')), 1 /* TEXT */)
|
|
11766
|
+
])
|
|
10824
11767
|
]),
|
|
10825
11768
|
_createElementVNode("div", { class: "form-group" }, [
|
|
10826
11769
|
_createElementVNode("label", { class: "form-label" }, _toDisplayString(_ctx.t('field.contextAndMaxOutput')), 1 /* TEXT */),
|
|
@@ -11606,8 +12549,7 @@ return function render(_ctx, _cache) {
|
|
|
11606
12549
|
_createElementVNode("div", {
|
|
11607
12550
|
class: "modal-title",
|
|
11608
12551
|
id: "skills-modal-title"
|
|
11609
|
-
}, _toDisplayString(_ctx.t('modal.skills.title')), 1 /* TEXT */)
|
|
11610
|
-
_createElementVNode("div", { class: "skills-modal-subtitle" }, _toDisplayString(_ctx.t('modal.skills.subtitle')), 1 /* TEXT */)
|
|
12552
|
+
}, _toDisplayString(_ctx.t('modal.skills.title')), 1 /* TEXT */)
|
|
11611
12553
|
]),
|
|
11612
12554
|
_createElementVNode("div", { class: "modal-header-actions skills-modal-actions" }, [
|
|
11613
12555
|
_createElementVNode("div", {
|