codexmate 0.1.9 → 0.1.10

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.
@@ -99,21 +99,6 @@ return function render(_ctx, _cache) {
99
99
  onPointerdown: $event => (_ctx.onMainTabPointerDown('usage', $event)),
100
100
  onClick: $event => (_ctx.onMainTabClick('usage', $event))
101
101
  }, _toDisplayString(_ctx.t('tab.usage')), 43 /* TEXT, CLASS, PROPS, NEED_HYDRATION */, ["tabindex", "aria-selected", "onPointerdown", "onClick"]),
102
- (_ctx.taskOrchestrationTabEnabled)
103
- ? (_openBlock(), _createElementBlock("button", {
104
- key: 0,
105
- type: "button",
106
- class: "top-tab top-tab-disabled",
107
- id: "tab-orchestration",
108
- role: "tab",
109
- "data-main-tab": "orchestration",
110
- tabindex: "-1",
111
- "aria-selected": "false",
112
- "aria-disabled": "true",
113
- disabled: "",
114
- title: _ctx.t('orchestration.rebuilding.body')
115
- }, _toDisplayString(_ctx.t('tab.orchestration')), 9 /* TEXT, PROPS */, ["title"]))
116
- : _createCommentVNode("v-if", true),
117
102
  _createElementVNode("button", {
118
103
  type: "button",
119
104
  class: _normalizeClass(["top-tab", { active: _ctx.isMainTabNavActive('market') }]),
@@ -430,34 +415,6 @@ return function render(_ctx, _cache) {
430
415
  ])
431
416
  ], 42 /* CLASS, PROPS, NEED_HYDRATION */, ["aria-current", "onPointerdown", "onClick"])
432
417
  ], 8 /* PROPS */, ["aria-label"]),
433
- (_ctx.taskOrchestrationTabEnabled)
434
- ? (_openBlock(), _createElementBlock("div", {
435
- key: 0,
436
- class: "side-section",
437
- role: "navigation",
438
- "aria-label": _ctx.t('side.orchestration')
439
- }, [
440
- _createElementVNode("div", { class: "side-section-title" }, _toDisplayString(_ctx.t('side.orchestration')), 1 /* TEXT */),
441
- _createElementVNode("button", {
442
- id: "side-tab-orchestration",
443
- "data-main-tab": "orchestration",
444
- class: "side-item side-item-disabled",
445
- "aria-disabled": "true",
446
- disabled: "",
447
- title: _ctx.t('orchestration.rebuilding.body')
448
- }, [
449
- _createElementVNode("span", {
450
- class: "side-item-icon",
451
- "aria-hidden": "true"
452
- }, "T"),
453
- _createElementVNode("div", { class: "side-item-title" }, _toDisplayString(_ctx.t('tab.orchestration')), 1 /* TEXT */),
454
- _createElementVNode("div", { class: "side-item-meta" }, [
455
- _createElementVNode("span", null, _toDisplayString(_ctx.t('orchestration.rebuilding.status')), 1 /* TEXT */),
456
- _createElementVNode("span", null, _toDisplayString(_ctx.t('orchestration.rebuilding.title')), 1 /* TEXT */)
457
- ])
458
- ], 8 /* PROPS */, ["title"])
459
- ], 8 /* PROPS */, ["aria-label"]))
460
- : _createCommentVNode("v-if", true),
461
418
  _createElementVNode("div", {
462
419
  class: "side-section",
463
420
  role: "navigation",
@@ -718,87 +675,61 @@ return function render(_ctx, _cache) {
718
675
  _createElementVNode("span", { class: "value" }, _toDisplayString(_ctx.sessionUsageSummaryCards[1] ? _ctx.sessionUsageSummaryCards[1].value : 0), 1 /* TEXT */)
719
676
  ])
720
677
  ]))
721
- : (!_ctx.sessionStandalone && _ctx.taskOrchestrationTabEnabled && _ctx.mainTab === 'orchestration')
678
+ : (!_ctx.sessionStandalone && _ctx.mainTab === 'market')
722
679
  ? (_openBlock(), _createElementBlock("div", {
723
680
  key: 4,
724
681
  class: "status-strip"
725
682
  }, [
726
683
  _createElementVNode("div", { class: "status-chip" }, [
727
- _createElementVNode("span", { class: "label" }, _toDisplayString(_ctx.t('status.engine')), 1 /* TEXT */),
728
- _createElementVNode("span", { class: "value" }, _toDisplayString(_ctx.taskOrchestration.selectedEngine === 'workflow' ? 'Workflow' : 'Codex'), 1 /* TEXT */)
729
- ]),
730
- _createElementVNode("div", { class: "status-chip" }, [
731
- _createElementVNode("span", { class: "label" }, _toDisplayString(_ctx.t('status.concurrency')), 1 /* TEXT */),
732
- _createElementVNode("span", { class: "value" }, _toDisplayString(_ctx.taskOrchestration.concurrency), 1 /* TEXT */)
684
+ _createElementVNode("span", { class: "label" }, _toDisplayString(_ctx.t('status.currentTarget')), 1 /* TEXT */),
685
+ _createElementVNode("span", { class: "value" }, _toDisplayString(_ctx.skillsTargetLabel), 1 /* TEXT */)
733
686
  ]),
734
687
  _createElementVNode("div", { class: "status-chip" }, [
735
- _createElementVNode("span", { class: "label" }, _toDisplayString(_ctx.t('status.running')), 1 /* TEXT */),
736
- _createElementVNode("span", { class: "value" }, _toDisplayString(_ctx.taskOrchestrationQueueStats.running), 1 /* TEXT */)
688
+ _createElementVNode("span", { class: "label" }, _toDisplayString(_ctx.t('status.localSkills')), 1 /* TEXT */),
689
+ _createElementVNode("span", { class: "value" }, _toDisplayString(_ctx.skillsList.length), 1 /* TEXT */)
737
690
  ]),
738
691
  _createElementVNode("div", { class: "status-chip" }, [
739
- _createElementVNode("span", { class: "label" }, _toDisplayString(_ctx.t('status.queued')), 1 /* TEXT */),
740
- _createElementVNode("span", { class: "value" }, _toDisplayString(_ctx.taskOrchestrationQueueStats.queued), 1 /* TEXT */)
692
+ _createElementVNode("span", { class: "label" }, _toDisplayString(_ctx.t('status.importable')), 1 /* TEXT */),
693
+ _createElementVNode("span", { class: "value" }, _toDisplayString(_ctx.skillsImportList.length), 1 /* TEXT */)
741
694
  ]),
742
695
  _createElementVNode("div", { class: "status-chip" }, [
743
- _createElementVNode("span", { class: "label" }, _toDisplayString(_ctx.t('status.runs')), 1 /* TEXT */),
744
- _createElementVNode("span", { class: "value" }, _toDisplayString(_ctx.taskOrchestration.runs.length), 1 /* TEXT */)
696
+ _createElementVNode("span", { class: "label" }, _toDisplayString(_ctx.t('status.importableDirect')), 1 /* TEXT */),
697
+ _createElementVNode("span", { class: "value" }, _toDisplayString(_ctx.skillsImportConfiguredCount), 1 /* TEXT */)
745
698
  ])
746
699
  ]))
747
- : (!_ctx.sessionStandalone && _ctx.mainTab === 'market')
700
+ : (!_ctx.sessionStandalone && _ctx.mainTab === 'docs')
748
701
  ? (_openBlock(), _createElementBlock("div", {
749
702
  key: 5,
750
703
  class: "status-strip"
751
704
  }, [
752
705
  _createElementVNode("div", { class: "status-chip" }, [
753
- _createElementVNode("span", { class: "label" }, _toDisplayString(_ctx.t('status.currentTarget')), 1 /* TEXT */),
754
- _createElementVNode("span", { class: "value" }, _toDisplayString(_ctx.skillsTargetLabel), 1 /* TEXT */)
706
+ _createElementVNode("span", { class: "label" }, _toDisplayString(_ctx.t('status.pm')), 1 /* TEXT */),
707
+ _createElementVNode("span", { class: "value" }, _toDisplayString(String(_ctx.installPackageManager || 'npm').toUpperCase()), 1 /* TEXT */)
755
708
  ]),
756
709
  _createElementVNode("div", { class: "status-chip" }, [
757
- _createElementVNode("span", { class: "label" }, _toDisplayString(_ctx.t('status.localSkills')), 1 /* TEXT */),
758
- _createElementVNode("span", { class: "value" }, _toDisplayString(_ctx.skillsList.length), 1 /* TEXT */)
710
+ _createElementVNode("span", { class: "label" }, _toDisplayString(_ctx.t('status.action')), 1 /* TEXT */),
711
+ _createElementVNode("span", { class: "value" }, _toDisplayString(_ctx.installCommandAction === 'update' ? _ctx.t('common.update') : (_ctx.installCommandAction === 'uninstall' ? _ctx.t('common.uninstall') : _ctx.t('common.install'))), 1 /* TEXT */)
759
712
  ]),
760
713
  _createElementVNode("div", { class: "status-chip" }, [
761
- _createElementVNode("span", { class: "label" }, _toDisplayString(_ctx.t('status.importable')), 1 /* TEXT */),
762
- _createElementVNode("span", { class: "value" }, _toDisplayString(_ctx.skillsImportList.length), 1 /* TEXT */)
763
- ]),
764
- _createElementVNode("div", { class: "status-chip" }, [
765
- _createElementVNode("span", { class: "label" }, _toDisplayString(_ctx.t('status.importableDirect')), 1 /* TEXT */),
766
- _createElementVNode("span", { class: "value" }, _toDisplayString(_ctx.skillsImportConfiguredCount), 1 /* TEXT */)
714
+ _createElementVNode("span", { class: "label" }, _toDisplayString(_ctx.t('status.registry')), 1 /* TEXT */),
715
+ _createElementVNode("span", { class: "value" }, _toDisplayString(_ctx.installRegistryPreview || 'npmmirror'), 1 /* TEXT */)
767
716
  ])
768
717
  ]))
769
- : (!_ctx.sessionStandalone && _ctx.mainTab === 'docs')
718
+ : (!_ctx.sessionStandalone)
770
719
  ? (_openBlock(), _createElementBlock("div", {
771
720
  key: 6,
772
- class: "status-strip"
721
+ class: "status-strip status-strip-placeholder",
722
+ "aria-hidden": "true"
773
723
  }, [
774
724
  _createElementVNode("div", { class: "status-chip" }, [
775
- _createElementVNode("span", { class: "label" }, _toDisplayString(_ctx.t('status.pm')), 1 /* TEXT */),
776
- _createElementVNode("span", { class: "value" }, _toDisplayString(String(_ctx.installPackageManager || 'npm').toUpperCase()), 1 /* TEXT */)
777
- ]),
778
- _createElementVNode("div", { class: "status-chip" }, [
779
- _createElementVNode("span", { class: "label" }, _toDisplayString(_ctx.t('status.action')), 1 /* TEXT */),
780
- _createElementVNode("span", { class: "value" }, _toDisplayString(_ctx.installCommandAction === 'update' ? _ctx.t('common.update') : (_ctx.installCommandAction === 'uninstall' ? _ctx.t('common.uninstall') : _ctx.t('common.install'))), 1 /* TEXT */)
781
- ]),
782
- _createElementVNode("div", { class: "status-chip" }, [
783
- _createElementVNode("span", { class: "label" }, _toDisplayString(_ctx.t('status.registry')), 1 /* TEXT */),
784
- _createElementVNode("span", { class: "value" }, _toDisplayString(_ctx.installRegistryPreview || 'npmmirror'), 1 /* TEXT */)
725
+ _createElementVNode("span", { class: "label" }, " "),
726
+ _createElementVNode("span", { class: "value" }, " ")
785
727
  ])
786
728
  ]))
787
- : (!_ctx.sessionStandalone)
788
- ? (_openBlock(), _createElementBlock("div", {
789
- key: 7,
790
- class: "status-strip status-strip-placeholder",
791
- "aria-hidden": "true"
792
- }, [
793
- _createElementVNode("div", { class: "status-chip" }, [
794
- _createElementVNode("span", { class: "label" }, " "),
795
- _createElementVNode("span", { class: "value" }, " ")
796
- ])
797
- ]))
798
- : _createCommentVNode("v-if", true),
729
+ : _createCommentVNode("v-if", true),
799
730
  (!_ctx.sessionStandalone && _ctx.mainTab === 'config' && _ctx.isProviderConfigMode && _ctx.forceCompactLayout && !_ctx.loading && !_ctx.initError && _ctx.displayProvidersList.length > 1)
800
731
  ? (_openBlock(), _createElementBlock("div", {
801
- key: 8,
732
+ key: 7,
802
733
  class: "provider-fast-switch"
803
734
  }, [
804
735
  _createElementVNode("label", {
@@ -1013,37 +944,6 @@ return function render(_ctx, _cache) {
1013
944
  ]))
1014
945
  : _createCommentVNode("v-if", true)
1015
946
  ], 8 /* PROPS */, ["onClick", "disabled"]),
1016
- (_ctx.taskOrchestrationTabEnabled)
1017
- ? (_openBlock(), _createElementBlock("button", {
1018
- key: 0,
1019
- type: "button",
1020
- class: "doctor-card",
1021
- onClick: $event => (_ctx.switchMainTab('orchestration')),
1022
- disabled: _ctx.loading || !!_ctx.initError
1023
- }, [
1024
- _createElementVNode("div", { class: "doctor-card-title" }, _toDisplayString(_ctx.t('dashboard.card.tasks')), 1 /* TEXT */),
1025
- _createElementVNode("div", { class: "doctor-card-meta" }, [
1026
- _createElementVNode("span", null, _toDisplayString(_ctx.taskOrchestration && _ctx.taskOrchestration.loading ? _ctx.t('dashboard.state.loading') : _ctx.t('dashboard.state.ready')), 1 /* TEXT */),
1027
- _createElementVNode("span", null, "·"),
1028
- _createElementVNode("span", null, _toDisplayString(_ctx.t('dashboard.tasks.queue', { running: _ctx.taskOrchestrationQueueStats.running, queued: _ctx.taskOrchestrationQueueStats.queued })), 1 /* TEXT */)
1029
- ]),
1030
- (_ctx.taskOrchestration && _ctx.taskOrchestration.planIssues && _ctx.taskOrchestration.planIssues.length)
1031
- ? (_openBlock(), _createElementBlock("div", {
1032
- key: 0,
1033
- class: "doctor-card-kv"
1034
- }, [
1035
- _createElementVNode("span", null, _toDisplayString(_ctx.t('dashboard.kv.blockers')), 1 /* TEXT */),
1036
- _createElementVNode("span", null, _toDisplayString(_ctx.taskOrchestration.planIssues.length), 1 /* TEXT */)
1037
- ]))
1038
- : (_openBlock(), _createElementBlock("div", {
1039
- key: 1,
1040
- class: "doctor-card-kv"
1041
- }, [
1042
- _createElementVNode("span", null, _toDisplayString(_ctx.t('dashboard.kv.runs')), 1 /* TEXT */),
1043
- _createElementVNode("span", null, _toDisplayString(_ctx.taskOrchestration && _ctx.taskOrchestration.runs ? _ctx.taskOrchestration.runs.length : 0), 1 /* TEXT */)
1044
- ]))
1045
- ], 8 /* PROPS */, ["onClick", "disabled"]))
1046
- : _createCommentVNode("v-if", true),
1047
947
  _createElementVNode("button", {
1048
948
  type: "button",
1049
949
  class: "doctor-card",
@@ -4452,1070 +4352,6 @@ return function render(_ctx, _cache) {
4452
4352
  ], 512 /* NEED_PATCH */), [
4453
4353
  [_vShow, _ctx.mainTab === 'usage']
4454
4354
  ]),
4455
- (_ctx.taskOrchestrationTabEnabled)
4456
- ? _withDirectives((_openBlock(), _createElementBlock("div", {
4457
- key: 0,
4458
- class: "mode-content",
4459
- id: "panel-orchestration",
4460
- "data-active": _ctx.mainTab === 'orchestration' ? 'true' : 'false',
4461
- role: "tabpanel",
4462
- "aria-labelledby": "tab-orchestration"
4463
- }, [
4464
- _createElementVNode("section", { class: "selector-section task-hero-card" }, [
4465
- _createElementVNode("div", { class: "task-hero-main" }, [
4466
- _createElementVNode("div", null, [
4467
- _createElementVNode("div", { class: "task-hero-kicker" }, _toDisplayString(_ctx.t('orchestration.hero.kicker')), 1 /* TEXT */),
4468
- _createElementVNode("div", { class: "selector-title" }, _toDisplayString(_ctx.t('orchestration.hero.title')), 1 /* TEXT */),
4469
- _createElementVNode("div", { class: "skills-panel-note task-hero-copy" }, _toDisplayString(_ctx.t('orchestration.hero.subtitle')), 1 /* TEXT */)
4470
- ]),
4471
- _createElementVNode("div", { class: "task-hero-actions settings-tab-actions task-header-actions" }, [
4472
- _createElementVNode("button", {
4473
- type: "button",
4474
- class: "btn-tool btn-tool-compact",
4475
- onClick: $event => (_ctx.loadTaskOrchestrationOverview({ forceRefresh: true, includeDetail: true })),
4476
- disabled: _ctx.taskOrchestration.loading
4477
- }, _toDisplayString(_ctx.taskOrchestration.loading ? _ctx.t('common.refreshing') : _ctx.t('common.refresh')), 9 /* TEXT, PROPS */, ["onClick", "disabled"]),
4478
- _createElementVNode("button", {
4479
- type: "button",
4480
- class: "btn-tool btn-tool-compact",
4481
- onClick: $event => (_ctx.resetTaskOrchestrationDraft()),
4482
- disabled: _ctx.taskOrchestration.running || _ctx.taskOrchestration.queueAdding || _ctx.taskOrchestration.planning
4483
- }, _toDisplayString(_ctx.t('orchestration.draft.reset')), 9 /* TEXT, PROPS */, ["onClick", "disabled"]),
4484
- _createElementVNode("button", {
4485
- type: "button",
4486
- class: "btn-tool btn-tool-compact",
4487
- onClick: $event => (_ctx.switchMainTab('dashboard')),
4488
- disabled: _ctx.loading || !!_ctx.initError
4489
- }, _toDisplayString(_ctx.t('dashboard.doctor.title')), 9 /* TEXT, PROPS */, ["onClick", "disabled"])
4490
- ])
4491
- ])
4492
- ]),
4493
- _createElementVNode("div", { class: "task-layout-grid task-layout-grid-primary task-quick-layout" }, [
4494
- _createElementVNode("section", { class: "selector-section task-compose-flow-card task-quick-card" }, [
4495
- _createElementVNode("aside", {
4496
- class: "task-project-sidebar",
4497
- "aria-label": _ctx.t('orchestration.workspace.aria')
4498
- }, [
4499
- _createElementVNode("div", { class: "task-project-sidebar-head" }, [
4500
- _createElementVNode("div", null, [
4501
- _createElementVNode("div", { class: "task-thread-card-label" }, _toDisplayString(_ctx.t('orchestration.workspace.title')), 1 /* TEXT */),
4502
- _createElementVNode("div", { class: "skills-panel-note" }, _toDisplayString(_ctx.t('orchestration.workspace.subtitle')), 1 /* TEXT */)
4503
- ]),
4504
- _createElementVNode("button", {
4505
- type: "button",
4506
- class: "btn-mini",
4507
- onClick: $event => (_ctx.loadTaskOrchestrationOverview({ forceRefresh: true, includeDetail: true })),
4508
- disabled: _ctx.taskOrchestration.loading
4509
- }, _toDisplayString(_ctx.taskOrchestration.loading ? _ctx.t('common.refreshing') : _ctx.t('common.refresh')), 9 /* TEXT, PROPS */, ["onClick", "disabled"])
4510
- ]),
4511
- _createElementVNode("div", {
4512
- class: "task-project-list",
4513
- "aria-label": _ctx.t('orchestration.workspace.selector')
4514
- }, [
4515
- (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.taskOrchestrationWorkspaceItems, (workspace) => {
4516
- return (_openBlock(), _createElementBlock("button", {
4517
- key: workspace.key,
4518
- type: "button",
4519
- class: _normalizeClass(['task-project-item', { active: workspace.active }]),
4520
- "aria-selected": workspace.active ? 'true' : 'false',
4521
- title: workspace.path ? _ctx.t('orchestration.workspace.pathHidden') : workspace.meta,
4522
- onClick: $event => (_ctx.selectTaskWorkspace(workspace.path))
4523
- }, [
4524
- _createElementVNode("span", { class: "task-project-item-title" }, _toDisplayString(workspace.label), 1 /* TEXT */),
4525
- _createElementVNode("span", { class: "task-project-item-meta" }, _toDisplayString(workspace.path ? _ctx.t('orchestration.workspace.pathHidden') : workspace.meta), 1 /* TEXT */),
4526
- _createElementVNode("span", { class: "task-project-item-stats" }, _toDisplayString(_ctx.t('orchestration.workspace.counts', { runs: workspace.runCount, queue: workspace.queueCount })), 1 /* TEXT */)
4527
- ], 10 /* CLASS, PROPS */, ["aria-selected", "title", "onClick"]))
4528
- }), 128 /* KEYED_FRAGMENT */))
4529
- ], 8 /* PROPS */, ["aria-label"]),
4530
- _createElementVNode("button", {
4531
- type: "button",
4532
- class: "btn-tool btn-primary task-project-new-session",
4533
- onClick: $event => (_ctx.startNewTaskWorkspaceSession())
4534
- }, _toDisplayString(_ctx.t('orchestration.workspace.newSession')), 9 /* TEXT, PROPS */, ["onClick"]),
4535
- _createElementVNode("div", { class: "task-session-inbox" }, [
4536
- _createElementVNode("div", { class: "task-session-inbox-head" }, [
4537
- _createElementVNode("span", { class: "task-readiness-title" }, _toDisplayString(_ctx.t('orchestration.workspace.sessions.title')), 1 /* TEXT */),
4538
- _createElementVNode("span", { class: "pill neutral" }, _toDisplayString(_ctx.taskOrchestrationWorkspaceSessions.length), 1 /* TEXT */)
4539
- ]),
4540
- (!_ctx.taskOrchestrationWorkspaceSessions.length)
4541
- ? (_openBlock(), _createElementBlock("div", {
4542
- key: 0,
4543
- class: "task-empty-state task-session-empty"
4544
- }, [
4545
- _createElementVNode("div", { class: "task-empty-title" }, _toDisplayString(_ctx.t('orchestration.workspace.sessions.empty.title')), 1 /* TEXT */),
4546
- _createElementVNode("div", { class: "task-empty-copy" }, _toDisplayString(_ctx.t('orchestration.workspace.sessions.empty.subtitle')), 1 /* TEXT */)
4547
- ]))
4548
- : _createCommentVNode("v-if", true),
4549
- (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.taskOrchestrationWorkspaceSessions.slice(0, 8), (session) => {
4550
- return (_openBlock(), _createElementBlock("button", {
4551
- key: session.id,
4552
- type: "button",
4553
- class: "task-session-inbox-item",
4554
- onClick: $event => (_ctx.continueTaskWorkspaceSession(session))
4555
- }, [
4556
- _createElementVNode("span", { class: "task-session-inbox-main" }, [
4557
- _createElementVNode("span", { class: "task-session-inbox-title" }, _toDisplayString(session.type === 'queue' ? _ctx.t('orchestration.workspace.sessions.queueTitle') : _ctx.t('orchestration.workspace.sessions.runTitle')), 1 /* TEXT */),
4558
- _createElementVNode("span", { class: "task-session-inbox-meta" }, _toDisplayString(_ctx.t('orchestration.workspace.sessions.detailsHidden')), 1 /* TEXT */)
4559
- ]),
4560
- _createElementVNode("span", {
4561
- class: _normalizeClass(['pill', _ctx.taskRunStatusTone(session.status)])
4562
- }, _toDisplayString(session.status), 3 /* TEXT, CLASS */)
4563
- ], 8 /* PROPS */, ["onClick"]))
4564
- }), 128 /* KEYED_FRAGMENT */))
4565
- ])
4566
- ], 8 /* PROPS */, ["aria-label"]),
4567
- _createElementVNode("div", { class: "task-quick-main" }, [
4568
- _createElementVNode("div", { class: "task-quick-copy" }, [
4569
- _createElementVNode("div", { class: "task-hero-kicker" }, _toDisplayString(_ctx.t('orchestration.quick.kicker')), 1 /* TEXT */),
4570
- _createElementVNode("div", { class: "selector-title task-quick-title" }, _toDisplayString(_ctx.t('orchestration.quick.title')), 1 /* TEXT */),
4571
- _createElementVNode("div", { class: "skills-panel-note task-hero-copy" }, _toDisplayString(_ctx.t('orchestration.quick.subtitle')), 1 /* TEXT */)
4572
- ]),
4573
- _createElementVNode("section", {
4574
- class: "task-agent-cockpit",
4575
- "aria-label": _ctx.t('orchestration.agent.aria')
4576
- }, [
4577
- _createElementVNode("div", { class: "task-agent-cockpit-head" }, [
4578
- _createElementVNode("div", null, [
4579
- _createElementVNode("div", { class: "task-hero-kicker" }, _toDisplayString(_ctx.t('orchestration.agent.kicker')), 1 /* TEXT */),
4580
- _createElementVNode("div", { class: "selector-title task-agent-title" }, _toDisplayString(_ctx.t('orchestration.agent.title')), 1 /* TEXT */),
4581
- _createElementVNode("div", { class: "skills-panel-note task-agent-copy" }, _toDisplayString(_ctx.t('orchestration.agent.subtitle')), 1 /* TEXT */)
4582
- ]),
4583
- _createElementVNode("span", {
4584
- class: _normalizeClass(['pill', _ctx.taskOrchestration.running || _ctx.taskOrchestration.planning ? 'warn' : (_ctx.taskOrchestrationSelectedRun && _ctx.taskOrchestrationSelectedRun.run ? _ctx.taskRunStatusTone(_ctx.taskOrchestrationSelectedRun.run.status) : 'neutral')])
4585
- }, _toDisplayString(_ctx.taskOrchestration.running ? _ctx.t('orchestration.agent.state.running') : (_ctx.taskOrchestration.planning ? _ctx.t('orchestration.agent.state.planning') : (_ctx.taskOrchestrationSelectedRun && _ctx.taskOrchestrationSelectedRun.run ? _ctx.taskOrchestrationSelectedRun.run.status : _ctx.t('orchestration.agent.state.ready')))), 3 /* TEXT, CLASS */)
4586
- ]),
4587
- _createElementVNode("div", { class: "task-agent-surface-grid" }, [
4588
- _createElementVNode("div", { class: "task-agent-surface-card" }, [
4589
- _createElementVNode("span", null, _toDisplayString(_ctx.t('orchestration.agent.surface.workspace')), 1 /* TEXT */),
4590
- _createElementVNode("strong", null, _toDisplayString(_ctx.taskOrchestrationWorkspacePath ? _ctx.t('orchestration.privacy.workspace.selected') : _ctx.t('orchestration.chat.context.workspace.auto')), 1 /* TEXT */)
4591
- ]),
4592
- _createElementVNode("div", { class: "task-agent-surface-card" }, [
4593
- _createElementVNode("span", null, _toDisplayString(_ctx.t('orchestration.agent.surface.session')), 1 /* TEXT */),
4594
- _createElementVNode("strong", null, _toDisplayString((_ctx.taskOrchestration.threadId.trim() || (_ctx.taskOrchestrationSelectedRun && _ctx.taskOrchestrationSelectedRun.threadId)) ? _ctx.t('orchestration.privacy.thread.selected') : _ctx.t('orchestration.chat.context.thread.auto')), 1 /* TEXT */)
4595
- ]),
4596
- _createElementVNode("div", { class: "task-agent-surface-card" }, [
4597
- _createElementVNode("span", null, _toDisplayString(_ctx.t('orchestration.agent.surface.mode')), 1 /* TEXT */),
4598
- _createElementVNode("strong", null, _toDisplayString(_ctx.taskOrchestration.selectedEngine === 'workflow' ? _ctx.t('orchestration.engine.workflow') : _ctx.t('orchestration.engine.openaiChat')) + " · " + _toDisplayString(_ctx.taskOrchestration.runMode === 'dry-run' ? _ctx.t('orchestration.runMode.dryRun') : (_ctx.taskOrchestration.runMode === 'read' ? _ctx.t('orchestration.runMode.readOnly') : _ctx.t('orchestration.runMode.write'))), 1 /* TEXT */)
4599
- ]),
4600
- _createElementVNode("div", { class: "task-agent-surface-card" }, [
4601
- _createElementVNode("span", null, _toDisplayString(_ctx.t('orchestration.agent.surface.trace')), 1 /* TEXT */),
4602
- _createElementVNode("strong", null, _toDisplayString(_ctx.taskOrchestrationWorkspaceRuns.length) + " " + _toDisplayString(_ctx.t('orchestration.agent.surface.runs')) + " · " + _toDisplayString(_ctx.taskOrchestrationWorkspaceQueue.length) + " " + _toDisplayString(_ctx.t('orchestration.agent.surface.queue')), 1 /* TEXT */)
4603
- ])
4604
- ])
4605
- ], 8 /* PROPS */, ["aria-label"]),
4606
- _createElementVNode("div", { class: "task-quick-input-card task-chat-panel" }, [
4607
- _createElementVNode("div", {
4608
- class: "task-chat-thread",
4609
- role: "log",
4610
- "aria-label": _ctx.t('orchestration.chat.thread.aria')
4611
- }, [
4612
- (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.taskOrchestrationConversationMessages, (message) => {
4613
- return (_openBlock(), _createElementBlock("div", {
4614
- key: message.id,
4615
- class: _normalizeClass(['task-chat-bubble-row', message.role === 'user' ? 'is-user' : 'is-assistant'])
4616
- }, [
4617
- _createElementVNode("div", { class: "task-chat-bubble" }, [
4618
- _createElementVNode("div", { class: "task-chat-bubble-label" }, _toDisplayString(message.label), 1 /* TEXT */),
4619
- _createElementVNode("div", { class: "task-chat-bubble-text" }, _toDisplayString(message.text), 1 /* TEXT */),
4620
- (message.meta)
4621
- ? (_openBlock(), _createElementBlock("div", {
4622
- key: 0,
4623
- class: "task-chat-bubble-meta"
4624
- }, _toDisplayString(message.meta), 1 /* TEXT */))
4625
- : _createCommentVNode("v-if", true)
4626
- ])
4627
- ], 2 /* CLASS */))
4628
- }), 128 /* KEYED_FRAGMENT */)),
4629
- (_ctx.taskOrchestration.plan || _ctx.taskOrchestration.planIssues.length || _ctx.taskOrchestration.planWarnings.length || _ctx.taskOrchestration.lastError)
4630
- ? (_openBlock(), _createElementBlock("div", {
4631
- key: 0,
4632
- class: "task-chat-bubble-row is-user task-thread-plan-request"
4633
- }, [
4634
- _createElementVNode("div", { class: "task-chat-bubble" }, [
4635
- _createElementVNode("div", { class: "task-chat-bubble-label" }, "You · /plan"),
4636
- _createElementVNode("div", { class: "task-chat-bubble-text" }, "/plan " + _toDisplayString(_ctx.taskOrchestration.target), 1 /* TEXT */),
4637
- (_ctx.taskOrchestrationDraftMetrics.followUpCount)
4638
- ? (_openBlock(), _createElementBlock("div", {
4639
- key: 0,
4640
- class: "task-chat-bubble-meta"
4641
- }, _toDisplayString(_ctx.t('orchestration.chat.input.sequenceHint', { count: _ctx.taskOrchestrationDraftMetrics.followUpCount + 1 })), 1 /* TEXT */))
4642
- : _createCommentVNode("v-if", true)
4643
- ])
4644
- ]))
4645
- : _createCommentVNode("v-if", true),
4646
- (_ctx.taskOrchestration.plan || _ctx.taskOrchestration.planIssues.length || _ctx.taskOrchestration.planWarnings.length || _ctx.taskOrchestration.lastError)
4647
- ? (_openBlock(), _createElementBlock("section", {
4648
- key: 1,
4649
- class: "selector-section task-plan-card task-thread-message-card task-thread-plan-card"
4650
- }, [
4651
- _createElementVNode("div", { class: "task-thread-card-label" }, "AI · " + _toDisplayString(_ctx.t('orchestration.plan.title')), 1 /* TEXT */),
4652
- (_ctx.taskOrchestration.lastError)
4653
- ? (_openBlock(), _createElementBlock("div", {
4654
- key: 0,
4655
- class: "task-issue-item"
4656
- }, _toDisplayString(_ctx.taskOrchestration.lastError), 1 /* TEXT */))
4657
- : _createCommentVNode("v-if", true),
4658
- (_ctx.taskOrchestration.plan)
4659
- ? (_openBlock(), _createElementBlock("div", {
4660
- key: 1,
4661
- class: "task-thread-run-summary task-thread-plan-summary"
4662
- }, [
4663
- _createElementVNode("span", { class: "pill configured" }, "/plan"),
4664
- _createElementVNode("span", { class: "task-thread-run-summary-copy" }, _toDisplayString(_ctx.t('orchestration.chat.assistant.planSummary', { nodes: _ctx.taskOrchestration.plan.nodes.length, waves: _ctx.taskOrchestration.plan.waves.length })), 1 /* TEXT */)
4665
- ]))
4666
- : _createCommentVNode("v-if", true),
4667
- (_ctx.taskOrchestration.planIssues.length)
4668
- ? (_openBlock(), _createElementBlock("div", {
4669
- key: 2,
4670
- class: "task-issues-list"
4671
- }, [
4672
- (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.taskOrchestration.planIssues, (issue) => {
4673
- return (_openBlock(), _createElementBlock("div", {
4674
- key: issue.code + issue.message,
4675
- class: "task-issue-item"
4676
- }, _toDisplayString(issue.message), 1 /* TEXT */))
4677
- }), 128 /* KEYED_FRAGMENT */))
4678
- ]))
4679
- : _createCommentVNode("v-if", true),
4680
- (_ctx.taskOrchestration.planWarnings.length)
4681
- ? (_openBlock(), _createElementBlock("div", {
4682
- key: 3,
4683
- class: "task-warning-list"
4684
- }, [
4685
- (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.taskOrchestration.planWarnings, (warning) => {
4686
- return (_openBlock(), _createElementBlock("div", {
4687
- key: warning,
4688
- class: "task-warning-item"
4689
- }, _toDisplayString(warning), 1 /* TEXT */))
4690
- }), 128 /* KEYED_FRAGMENT */))
4691
- ]))
4692
- : _createCommentVNode("v-if", true),
4693
- (_ctx.taskOrchestration.plan)
4694
- ? (_openBlock(), _createElementBlock("details", {
4695
- key: 4,
4696
- class: "task-thread-run-details task-thread-plan-details"
4697
- }, [
4698
- _createElementVNode("summary", null, "Plan details"),
4699
- _createElementVNode("div", { class: "task-plan-summary-strip" }, [
4700
- _createElementVNode("div", { class: "task-plan-summary-item" }, [
4701
- _createElementVNode("span", { class: "task-plan-summary-label" }, _toDisplayString(_ctx.t('orchestration.plan.summary.nodes')), 1 /* TEXT */),
4702
- _createElementVNode("strong", null, _toDisplayString(_ctx.taskOrchestration.plan.nodes.length), 1 /* TEXT */)
4703
- ]),
4704
- _createElementVNode("div", { class: "task-plan-summary-item" }, [
4705
- _createElementVNode("span", { class: "task-plan-summary-label" }, _toDisplayString(_ctx.t('orchestration.plan.summary.waves')), 1 /* TEXT */),
4706
- _createElementVNode("strong", null, _toDisplayString(_ctx.taskOrchestration.plan.waves.length), 1 /* TEXT */)
4707
- ]),
4708
- _createElementVNode("div", { class: "task-plan-summary-item" }, [
4709
- _createElementVNode("span", { class: "task-plan-summary-label" }, _toDisplayString(_ctx.t('orchestration.plan.summary.engine')), 1 /* TEXT */),
4710
- _createElementVNode("strong", null, _toDisplayString(_ctx.taskOrchestration.plan.engine), 1 /* TEXT */)
4711
- ]),
4712
- (_ctx.taskOrchestration.plan.threadId)
4713
- ? (_openBlock(), _createElementBlock("div", {
4714
- key: 0,
4715
- class: "task-plan-summary-item"
4716
- }, [
4717
- _createElementVNode("span", { class: "task-plan-summary-label" }, _toDisplayString(_ctx.t('orchestration.plan.summary.threadId')), 1 /* TEXT */),
4718
- _createElementVNode("strong", null, _toDisplayString(_ctx.taskOrchestration.plan.threadId), 1 /* TEXT */)
4719
- ]))
4720
- : _createCommentVNode("v-if", true),
4721
- (_ctx.taskOrchestration.plan.cwd)
4722
- ? (_openBlock(), _createElementBlock("div", {
4723
- key: 1,
4724
- class: "task-plan-summary-item"
4725
- }, [
4726
- _createElementVNode("span", { class: "task-plan-summary-label" }, _toDisplayString(_ctx.t('orchestration.plan.summary.cwd')), 1 /* TEXT */),
4727
- _createElementVNode("strong", null, _toDisplayString(_ctx.taskOrchestration.plan.cwd), 1 /* TEXT */)
4728
- ]))
4729
- : _createCommentVNode("v-if", true)
4730
- ]),
4731
- _createElementVNode("div", { class: "task-wave-list" }, [
4732
- (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.taskOrchestration.plan.waves, (wave) => {
4733
- return (_openBlock(), _createElementBlock("div", {
4734
- key: wave.label,
4735
- class: "task-wave-card"
4736
- }, [
4737
- _createElementVNode("div", { class: "task-wave-title" }, _toDisplayString(wave.label), 1 /* TEXT */),
4738
- _createElementVNode("div", { class: "task-wave-nodes" }, _toDisplayString(wave.nodeIds.join(', ')), 1 /* TEXT */)
4739
- ]))
4740
- }), 128 /* KEYED_FRAGMENT */))
4741
- ]),
4742
- _createElementVNode("div", { class: "task-node-list" }, [
4743
- (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.taskOrchestration.plan.nodes, (node) => {
4744
- return (_openBlock(), _createElementBlock("div", {
4745
- key: node.id,
4746
- class: "task-node-card"
4747
- }, [
4748
- _createElementVNode("div", { class: "task-node-head" }, [
4749
- _createElementVNode("div", null, [
4750
- _createElementVNode("div", { class: "task-node-title" }, _toDisplayString(node.title || node.id), 1 /* TEXT */),
4751
- _createElementVNode("div", { class: "task-node-meta" }, [
4752
- _createTextVNode(_toDisplayString(node.id) + " · " + _toDisplayString(node.kind), 1 /* TEXT */),
4753
- (node.workflowId)
4754
- ? (_openBlock(), _createElementBlock("span", { key: 0 }, " · " + _toDisplayString(node.workflowId), 1 /* TEXT */))
4755
- : _createCommentVNode("v-if", true)
4756
- ])
4757
- ]),
4758
- _createElementVNode("span", {
4759
- class: _normalizeClass(['pill', node.write ? 'configured' : 'empty'])
4760
- }, _toDisplayString(node.write ? _ctx.t('orchestration.plan.node.write') : _ctx.t('orchestration.plan.node.readOnly')), 3 /* TEXT, CLASS */)
4761
- ]),
4762
- _createElementVNode("div", { class: "task-node-deps" }, _toDisplayString(_ctx.t('orchestration.labels.dependencies')) + _toDisplayString(_ctx.formatTaskNodeDependencies(node)), 1 /* TEXT */)
4763
- ]))
4764
- }), 128 /* KEYED_FRAGMENT */))
4765
- ])
4766
- ]))
4767
- : _createCommentVNode("v-if", true)
4768
- ]))
4769
- : _createCommentVNode("v-if", true)
4770
- ], 8 /* PROPS */, ["aria-label"]),
4771
- _createElementVNode("div", { class: "task-thread-composer" }, [
4772
- _createElementVNode("label", { class: "task-quick-target-field task-chat-composer" }, [
4773
- _createElementVNode("span", { class: "selector-label" }, _toDisplayString(_ctx.t('orchestration.chat.input.label')), 1 /* TEXT */),
4774
- _createElementVNode("span", {
4775
- class: "task-composer-prompt-glyph",
4776
- "aria-hidden": "true"
4777
- }, "›"),
4778
- _withDirectives(_createElementVNode("textarea", {
4779
- "onUpdate:modelValue": $event => ((_ctx.taskOrchestration.chatDraft) = $event),
4780
- class: "task-textarea task-textarea-goal task-quick-target",
4781
- rows: "3",
4782
- placeholder: _ctx.t('orchestration.chat.input.placeholder'),
4783
- onKeydown: _withKeys(_withModifiers($event => (_ctx.submitTaskOrchestrationChatMessage()), ["exact","prevent"]), ["enter"])
4784
- }, null, 40 /* PROPS, NEED_HYDRATION */, ["onUpdate:modelValue", "placeholder", "onKeydown"]), [
4785
- [_vModelText, _ctx.taskOrchestration.chatDraft]
4786
- ]),
4787
- _createElementVNode("span", { class: "task-field-hint" }, _toDisplayString(_ctx.t('orchestration.chat.input.hint')), 1 /* TEXT */)
4788
- ]),
4789
- _createElementVNode("div", { class: "task-chat-send-row" }, [
4790
- _createElementVNode("div", { class: "task-chat-action-buttons task-chat-primary-action" }, [
4791
- _createElementVNode("button", {
4792
- type: "button",
4793
- class: "btn-tool btn-primary task-chat-primary-button",
4794
- onClick: $event => (_ctx.planAndRunTaskOrchestrationFromChat()),
4795
- disabled: _ctx.taskOrchestration.running || _ctx.taskOrchestration.planning || (!_ctx.taskOrchestration.target.trim() && !_ctx.taskOrchestration.chatDraft.trim())
4796
- }, _toDisplayString(_ctx.taskOrchestration.running ? _ctx.t('orchestration.actions.processing') : (_ctx.taskOrchestration.planning ? _ctx.t('orchestration.actions.planning') : _ctx.t('orchestration.chat.input.work'))), 9 /* TEXT, PROPS */, ["onClick", "disabled"])
4797
- ]),
4798
- _createElementVNode("span", { class: "task-field-hint" }, _toDisplayString(_ctx.taskOrchestrationDraftMetrics.hasTarget ? _ctx.t('orchestration.chat.input.sequenceHint', { count: _ctx.taskOrchestrationDraftMetrics.followUpCount + 2 }) : _ctx.t('orchestration.chat.input.workHint')), 1 /* TEXT */)
4799
- ]),
4800
- _createElementVNode("div", { class: "task-chat-execute-caption" }, _toDisplayString(_ctx.t('orchestration.chat.input.workCaption')), 1 /* TEXT */),
4801
- _createElementVNode("div", {
4802
- class: "task-chat-context-row task-chat-context-row-primary",
4803
- role: "group",
4804
- "aria-label": _ctx.t('orchestration.chat.context.aria')
4805
- }, [
4806
- _createElementVNode("span", { class: "task-chat-context-chip task-chat-context-chip-strong" }, [
4807
- _createElementVNode("small", null, _toDisplayString(_ctx.t('orchestration.plan.summary.cwd')), 1 /* TEXT */),
4808
- _createElementVNode("strong", null, _toDisplayString((_ctx.taskOrchestrationWorkspacePath || _ctx.taskOrchestration.workspacePath.trim()) ? _ctx.t('orchestration.privacy.workspace.selected') : _ctx.t('orchestration.chat.context.workspace.auto')), 1 /* TEXT */)
4809
- ]),
4810
- _createElementVNode("span", { class: "task-chat-context-chip task-chat-context-chip-strong" }, [
4811
- _createElementVNode("small", null, _toDisplayString(_ctx.t('orchestration.plan.summary.threadId')), 1 /* TEXT */),
4812
- _createElementVNode("strong", null, _toDisplayString((_ctx.taskOrchestration.threadId.trim() || (_ctx.taskOrchestrationSelectedRun && _ctx.taskOrchestrationSelectedRun.threadId)) ? _ctx.t('orchestration.privacy.thread.selected') : _ctx.t('orchestration.chat.context.thread.auto')), 1 /* TEXT */)
4813
- ]),
4814
- _createElementVNode("span", { class: "task-chat-context-chip" }, _toDisplayString(_ctx.taskOrchestrationDraftMetrics.hasTarget ? _ctx.t('orchestration.chat.context.sequence.value', { count: _ctx.taskOrchestrationDraftMetrics.requestCount }) : _ctx.t('orchestration.chat.context.sequence.empty')), 1 /* TEXT */),
4815
- _createElementVNode("span", { class: "task-chat-context-chip" }, _toDisplayString(_ctx.taskOrchestration.runMode === 'dry-run' ? _ctx.t('orchestration.runMode.dryRun') : (_ctx.taskOrchestration.runMode === 'read' ? _ctx.t('orchestration.runMode.readOnly') : _ctx.t('orchestration.runMode.write') )), 1 /* TEXT */),
4816
- _createElementVNode("button", {
4817
- type: "button",
4818
- class: "task-chat-context-chip task-chat-context-action",
4819
- onClick: $event => (_ctx.taskOrchestration.settingsOpen = true)
4820
- }, _toDisplayString(_ctx.t('orchestration.advanced.open')), 9 /* TEXT, PROPS */, ["onClick"])
4821
- ], 8 /* PROPS */, ["aria-label"]),
4822
- _createElementVNode("div", { class: "task-action-caption" }, _toDisplayString(_ctx.t('orchestration.quick.caption')), 1 /* TEXT */)
4823
- ])
4824
- ])
4825
- ]),
4826
- _createElementVNode("aside", { class: "task-quick-side-card" }, [
4827
- _createElementVNode("section", { class: "selector-section task-workbench-card task-side-workbench-card" }, [
4828
- _createElementVNode("div", { class: "task-thread-card-label" }, _toDisplayString(_ctx.t('orchestration.workbench.title')), 1 /* TEXT */),
4829
- _createElementVNode("div", { class: "task-thread-run-summary" }, [
4830
- (_ctx.taskOrchestrationSelectedRun && _ctx.taskOrchestrationSelectedRun.run)
4831
- ? (_openBlock(), _createElementBlock("span", {
4832
- key: 0,
4833
- class: _normalizeClass(['pill', _ctx.taskRunStatusTone(_ctx.taskOrchestrationSelectedRun.run.status)])
4834
- }, _toDisplayString(_ctx.taskOrchestrationSelectedRun.run.status), 3 /* TEXT, CLASS */))
4835
- : (_ctx.taskOrchestrationWorkspaceRuns.length)
4836
- ? (_openBlock(), _createElementBlock("span", {
4837
- key: 1,
4838
- class: _normalizeClass(['pill', _ctx.taskRunStatusTone(_ctx.taskOrchestrationWorkspaceRuns[0].status)])
4839
- }, _toDisplayString(_ctx.taskOrchestrationWorkspaceRuns[0].status), 3 /* TEXT, CLASS */))
4840
- : (_ctx.taskOrchestrationWorkspaceQueue.length)
4841
- ? (_openBlock(), _createElementBlock("span", {
4842
- key: 2,
4843
- class: "pill neutral"
4844
- }, _toDisplayString(_ctx.t('orchestration.workbench.queueCount', { count: _ctx.taskOrchestrationWorkspaceQueue.length })), 1 /* TEXT */))
4845
- : (_openBlock(), _createElementBlock("span", {
4846
- key: 3,
4847
- class: "pill empty"
4848
- }, _toDisplayString(_ctx.t('orchestration.workbench.ready')), 1 /* TEXT */)),
4849
- (_ctx.taskOrchestrationSelectedRun && _ctx.taskOrchestrationSelectedRun.run)
4850
- ? (_openBlock(), _createElementBlock("span", {
4851
- key: 4,
4852
- class: "task-thread-run-summary-copy"
4853
- }, _toDisplayString(_ctx.taskOrchestrationSelectedRun.run.summary || _ctx.taskOrchestrationSelectedRun.run.runId || _ctx.taskOrchestration.selectedRunId), 1 /* TEXT */))
4854
- : (_ctx.taskOrchestrationWorkspaceRuns.length)
4855
- ? (_openBlock(), _createElementBlock("span", {
4856
- key: 5,
4857
- class: "task-thread-run-summary-copy"
4858
- }, _toDisplayString(_ctx.taskOrchestrationWorkspaceRuns[0].summary || _ctx.taskOrchestrationWorkspaceRuns[0].runId), 1 /* TEXT */))
4859
- : (_ctx.taskOrchestrationWorkspaceQueue.length)
4860
- ? (_openBlock(), _createElementBlock("span", {
4861
- key: 6,
4862
- class: "task-thread-run-summary-copy"
4863
- }, _toDisplayString(_ctx.taskOrchestrationWorkspaceQueue[0].title || _ctx.taskOrchestrationWorkspaceQueue[0].target || _ctx.taskOrchestrationWorkspaceQueue[0].taskId), 1 /* TEXT */))
4864
- : (_openBlock(), _createElementBlock("span", {
4865
- key: 7,
4866
- class: "task-thread-run-summary-copy"
4867
- }, _toDisplayString(_ctx.t('orchestration.workbench.subtitle')), 1 /* TEXT */))
4868
- ]),
4869
- _createElementVNode("details", {
4870
- class: "task-thread-run-details",
4871
- open: ""
4872
- }, [
4873
- _createElementVNode("summary", null, _toDisplayString(_ctx.t('orchestration.agent.trace.title')), 1 /* TEXT */),
4874
- _createElementVNode("div", { class: "settings-tab-actions task-header-actions task-thread-detail-actions" }, [
4875
- _createElementVNode("button", {
4876
- type: "button",
4877
- class: "btn-tool btn-tool-compact",
4878
- onClick: $event => (_ctx.loadTaskOrchestrationOverview({ forceRefresh: true, includeDetail: true })),
4879
- disabled: _ctx.taskOrchestration.loading
4880
- }, _toDisplayString(_ctx.taskOrchestration.loading ? _ctx.t('common.refreshing') : _ctx.t('common.refresh')), 9 /* TEXT, PROPS */, ["onClick", "disabled"]),
4881
- (_ctx.taskOrchestrationWorkspaceQueue.length)
4882
- ? (_openBlock(), _createElementBlock("button", {
4883
- key: 0,
4884
- type: "button",
4885
- class: "btn-tool btn-tool-compact",
4886
- onClick: $event => (_ctx.startTaskQueueRunner()),
4887
- disabled: _ctx.taskOrchestration.queueStarting
4888
- }, _toDisplayString(_ctx.taskOrchestration.queueStarting ? _ctx.t('orchestration.queue.starting') : _ctx.t('orchestration.queue.start')), 9 /* TEXT, PROPS */, ["onClick", "disabled"]))
4889
- : _createCommentVNode("v-if", true)
4890
- ]),
4891
- _createElementVNode("div", { class: "task-agent-trace-grid" }, [
4892
- _createElementVNode("div", { class: "task-agent-trace-card" }, [
4893
- _createElementVNode("span", null, _toDisplayString(_ctx.t('orchestration.agent.trace.plan')), 1 /* TEXT */),
4894
- _createElementVNode("strong", null, _toDisplayString(_ctx.taskOrchestration.plan ? _ctx.taskOrchestration.plan.nodes.length : 0), 1 /* TEXT */)
4895
- ]),
4896
- _createElementVNode("div", { class: "task-agent-trace-card" }, [
4897
- _createElementVNode("span", null, _toDisplayString(_ctx.t('orchestration.agent.trace.queue')), 1 /* TEXT */),
4898
- _createElementVNode("strong", null, _toDisplayString(_ctx.taskOrchestrationWorkspaceQueue.length), 1 /* TEXT */)
4899
- ]),
4900
- _createElementVNode("div", { class: "task-agent-trace-card" }, [
4901
- _createElementVNode("span", null, _toDisplayString(_ctx.t('orchestration.agent.trace.runs')), 1 /* TEXT */),
4902
- _createElementVNode("strong", null, _toDisplayString(_ctx.taskOrchestrationWorkspaceRuns.length), 1 /* TEXT */)
4903
- ]),
4904
- _createElementVNode("div", { class: "task-agent-trace-card" }, [
4905
- _createElementVNode("span", null, _toDisplayString(_ctx.t('orchestration.agent.trace.nodes')), 1 /* TEXT */),
4906
- _createElementVNode("strong", null, _toDisplayString(_ctx.taskOrchestrationSelectedRunNodes.length), 1 /* TEXT */)
4907
- ])
4908
- ]),
4909
- ((_ctx.taskOrchestrationWorkspaceQueue.length ? 1 : 0) + (_ctx.taskOrchestrationWorkspaceRuns.length ? 1 : 0) + ((_ctx.taskOrchestration.selectedRunId || _ctx.taskOrchestration.selectedRunError) ? 1 : 0) > 1)
4910
- ? (_openBlock(), _createElementBlock("div", {
4911
- key: 0,
4912
- class: "task-workbench-tabs",
4913
- role: "group",
4914
- "aria-label": _ctx.t('orchestration.workbench.tabs.aria')
4915
- }, [
4916
- (_ctx.taskOrchestrationWorkspaceQueue.length)
4917
- ? (_openBlock(), _createElementBlock("button", {
4918
- key: 0,
4919
- type: "button",
4920
- class: _normalizeClass(["task-workbench-tab", { active: _ctx.taskOrchestration.workspaceTab === 'queue' }]),
4921
- onClick: $event => (_ctx.taskOrchestration.workspaceTab = 'queue')
4922
- }, _toDisplayString(_ctx.t('orchestration.workbench.tabs.queue', { count: _ctx.taskOrchestrationWorkspaceQueue.length })), 11 /* TEXT, CLASS, PROPS */, ["onClick"]))
4923
- : _createCommentVNode("v-if", true),
4924
- (_ctx.taskOrchestrationWorkspaceRuns.length)
4925
- ? (_openBlock(), _createElementBlock("button", {
4926
- key: 1,
4927
- type: "button",
4928
- class: _normalizeClass(["task-workbench-tab", { active: _ctx.taskOrchestration.workspaceTab === 'runs' }]),
4929
- onClick: $event => (_ctx.taskOrchestration.workspaceTab = 'runs')
4930
- }, _toDisplayString(_ctx.t('orchestration.workbench.tabs.runs', { count: _ctx.taskOrchestrationWorkspaceRuns.length })), 11 /* TEXT, CLASS, PROPS */, ["onClick"]))
4931
- : _createCommentVNode("v-if", true),
4932
- (_ctx.taskOrchestration.selectedRunId || _ctx.taskOrchestration.selectedRunError)
4933
- ? (_openBlock(), _createElementBlock("button", {
4934
- key: 2,
4935
- type: "button",
4936
- class: _normalizeClass(["task-workbench-tab", { active: _ctx.taskOrchestration.workspaceTab === 'detail' }]),
4937
- onClick: $event => (_ctx.taskOrchestration.workspaceTab = 'detail')
4938
- }, _toDisplayString(_ctx.t('orchestration.workbench.tabs.detail')), 11 /* TEXT, CLASS, PROPS */, ["onClick"]))
4939
- : _createCommentVNode("v-if", true)
4940
- ], 8 /* PROPS */, ["aria-label"]))
4941
- : _createCommentVNode("v-if", true),
4942
- ((_ctx.taskOrchestrationWorkspaceQueue.length && _ctx.taskOrchestration.workspaceTab === 'queue') || (!_ctx.taskOrchestrationWorkspaceRuns.length && !_ctx.taskOrchestration.selectedRunId && !_ctx.taskOrchestration.selectedRunError))
4943
- ? (_openBlock(), _createElementBlock("div", {
4944
- key: 1,
4945
- class: "task-workbench-panel"
4946
- }, [
4947
- (!_ctx.taskOrchestrationWorkspaceQueue.length)
4948
- ? (_openBlock(), _createElementBlock("div", {
4949
- key: 0,
4950
- class: "task-empty-state"
4951
- }, [
4952
- _createElementVNode("div", { class: "task-empty-title" }, _toDisplayString(_ctx.t('orchestration.queue.empty.title')), 1 /* TEXT */),
4953
- _createElementVNode("div", { class: "task-empty-copy" }, _toDisplayString(_ctx.t('orchestration.queue.empty.subtitle')), 1 /* TEXT */)
4954
- ]))
4955
- : (_openBlock(), _createElementBlock("div", {
4956
- key: 1,
4957
- class: "task-runtime-list"
4958
- }, [
4959
- (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.taskOrchestrationWorkspaceQueue, (item) => {
4960
- return (_openBlock(), _createElementBlock("div", {
4961
- key: item.taskId,
4962
- class: _normalizeClass(['task-runtime-item', { active: item.lastRunId && _ctx.taskOrchestration.selectedRunId === item.lastRunId, clickable: !!item.lastRunId }]),
4963
- role: item.lastRunId ? 'button' : null,
4964
- tabindex: item.lastRunId ? 0 : -1,
4965
- "aria-disabled": item.lastRunId ? null : 'true',
4966
- onClick: $event => (item.lastRunId ? (_ctx.taskOrchestration.workspaceTab = 'detail', _ctx.selectTaskRun(item.lastRunId)) : null),
4967
- onKeydown: [
4968
- _withKeys(_withModifiers($event => (item.lastRunId ? (_ctx.taskOrchestration.workspaceTab = 'detail', _ctx.selectTaskRun(item.lastRunId)) : null), ["self","prevent"]), ["enter"]),
4969
- _withKeys(_withModifiers($event => (item.lastRunId ? (_ctx.taskOrchestration.workspaceTab = 'detail', _ctx.selectTaskRun(item.lastRunId)) : null), ["self","prevent"]), ["space"])
4970
- ]
4971
- }, [
4972
- _createElementVNode("div", { class: "task-runtime-item-main" }, [
4973
- _createElementVNode("div", { class: "task-runtime-item-title" }, _toDisplayString(item.title || item.target || item.taskId), 1 /* TEXT */),
4974
- _createElementVNode("div", { class: "task-runtime-item-meta" }, _toDisplayString(item.taskId) + " · " + _toDisplayString(item.updatedAt || item.createdAt), 1 /* TEXT */),
4975
- (item.threadId || item.cwd)
4976
- ? (_openBlock(), _createElementBlock("div", {
4977
- key: 0,
4978
- class: "task-runtime-item-meta"
4979
- }, [
4980
- (item.threadId)
4981
- ? (_openBlock(), _createElementBlock("span", { key: 0 }, _toDisplayString(_ctx.t('orchestration.plan.summary.threadId')) + ": " + _toDisplayString(item.threadId), 1 /* TEXT */))
4982
- : _createCommentVNode("v-if", true),
4983
- (item.threadId && item.cwd)
4984
- ? (_openBlock(), _createElementBlock("span", { key: 1 }, " · "))
4985
- : _createCommentVNode("v-if", true),
4986
- (item.cwd)
4987
- ? (_openBlock(), _createElementBlock("span", { key: 2 }, _toDisplayString(_ctx.t('orchestration.plan.summary.cwd')) + ": " + _toDisplayString(item.cwd), 1 /* TEXT */))
4988
- : _createCommentVNode("v-if", true)
4989
- ]))
4990
- : _createCommentVNode("v-if", true),
4991
- (item.lastSummary)
4992
- ? (_openBlock(), _createElementBlock("div", {
4993
- key: 1,
4994
- class: "task-runtime-item-summary"
4995
- }, _toDisplayString(item.lastSummary), 1 /* TEXT */))
4996
- : _createCommentVNode("v-if", true)
4997
- ]),
4998
- _createElementVNode("div", { class: "task-runtime-item-actions" }, [
4999
- _createElementVNode("span", {
5000
- class: _normalizeClass(['pill', _ctx.taskRunStatusTone(item.status || item.runStatus)])
5001
- }, _toDisplayString(item.status || item.runStatus), 3 /* TEXT, CLASS */),
5002
- (_ctx.isTaskRunActive(item.status || item.runStatus))
5003
- ? (_openBlock(), _createElementBlock("button", {
5004
- key: 0,
5005
- type: "button",
5006
- class: "btn-mini",
5007
- onClick: _withModifiers($event => (_ctx.cancelTaskRunFromUi(item.taskId)), ["stop"])
5008
- }, _toDisplayString(_ctx.t('common.cancel')), 9 /* TEXT, PROPS */, ["onClick"]))
5009
- : _createCommentVNode("v-if", true)
5010
- ])
5011
- ], 42 /* CLASS, PROPS, NEED_HYDRATION */, ["role", "tabindex", "aria-disabled", "onClick", "onKeydown"]))
5012
- }), 128 /* KEYED_FRAGMENT */))
5013
- ]))
5014
- ]))
5015
- : (_ctx.taskOrchestration.workspaceTab === 'runs' || (!_ctx.taskOrchestrationWorkspaceQueue.length && _ctx.taskOrchestrationWorkspaceRuns.length && !_ctx.taskOrchestration.selectedRunId && !_ctx.taskOrchestration.selectedRunError))
5016
- ? (_openBlock(), _createElementBlock("div", {
5017
- key: 2,
5018
- class: "task-workbench-panel"
5019
- }, [
5020
- (!_ctx.taskOrchestrationWorkspaceRuns.length)
5021
- ? (_openBlock(), _createElementBlock("div", {
5022
- key: 0,
5023
- class: "task-empty-state"
5024
- }, [
5025
- _createElementVNode("div", { class: "task-empty-title" }, _toDisplayString(_ctx.t('orchestration.runs.empty.title')), 1 /* TEXT */),
5026
- _createElementVNode("div", { class: "task-empty-copy" }, _toDisplayString(_ctx.t('orchestration.runs.empty.subtitle')), 1 /* TEXT */)
5027
- ]))
5028
- : (_openBlock(), _createElementBlock("div", {
5029
- key: 1,
5030
- class: "task-runtime-list"
5031
- }, [
5032
- (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.taskOrchestrationWorkspaceRuns, (item) => {
5033
- return (_openBlock(), _createElementBlock("button", {
5034
- key: item.runId,
5035
- type: "button",
5036
- class: _normalizeClass(['task-runtime-item', { active: _ctx.taskOrchestration.selectedRunId === item.runId }]),
5037
- onClick: $event => {_ctx.taskOrchestration.workspaceTab = 'detail'; _ctx.selectTaskRun(item.runId)}
5038
- }, [
5039
- _createElementVNode("div", { class: "task-runtime-item-main" }, [
5040
- _createElementVNode("div", { class: "task-runtime-item-title" }, _toDisplayString(item.title || item.taskId || item.runId), 1 /* TEXT */),
5041
- _createElementVNode("div", { class: "task-runtime-item-meta" }, _toDisplayString(item.runId) + " · " + _toDisplayString(item.durationMs || 0) + "ms", 1 /* TEXT */),
5042
- (item.threadId || item.cwd)
5043
- ? (_openBlock(), _createElementBlock("div", {
5044
- key: 0,
5045
- class: "task-runtime-item-meta"
5046
- }, [
5047
- (item.threadId)
5048
- ? (_openBlock(), _createElementBlock("span", { key: 0 }, _toDisplayString(_ctx.t('orchestration.plan.summary.threadId')) + ": " + _toDisplayString(item.threadId), 1 /* TEXT */))
5049
- : _createCommentVNode("v-if", true),
5050
- (item.threadId && item.cwd)
5051
- ? (_openBlock(), _createElementBlock("span", { key: 1 }, " · "))
5052
- : _createCommentVNode("v-if", true),
5053
- (item.cwd)
5054
- ? (_openBlock(), _createElementBlock("span", { key: 2 }, _toDisplayString(_ctx.t('orchestration.plan.summary.cwd')) + ": " + _toDisplayString(item.cwd), 1 /* TEXT */))
5055
- : _createCommentVNode("v-if", true)
5056
- ]))
5057
- : _createCommentVNode("v-if", true),
5058
- (item.summary)
5059
- ? (_openBlock(), _createElementBlock("div", {
5060
- key: 1,
5061
- class: "task-runtime-item-summary"
5062
- }, _toDisplayString(item.summary), 1 /* TEXT */))
5063
- : _createCommentVNode("v-if", true)
5064
- ]),
5065
- _createElementVNode("div", { class: "task-runtime-item-actions" }, [
5066
- _createElementVNode("span", {
5067
- class: _normalizeClass(['pill', _ctx.taskRunStatusTone(item.status)])
5068
- }, _toDisplayString(item.status), 3 /* TEXT, CLASS */)
5069
- ])
5070
- ], 10 /* CLASS, PROPS */, ["onClick"]))
5071
- }), 128 /* KEYED_FRAGMENT */))
5072
- ]))
5073
- ]))
5074
- : (_openBlock(), _createElementBlock("div", {
5075
- key: 3,
5076
- class: "task-workbench-panel"
5077
- }, [
5078
- _createElementVNode("div", { class: "task-detail-toolbar settings-tab-actions" }, [
5079
- _createElementVNode("button", {
5080
- type: "button",
5081
- class: "btn-tool btn-tool-compact",
5082
- onClick: $event => (_ctx.taskOrchestration.selectedRunId ? _ctx.loadTaskRunDetail(_ctx.taskOrchestration.selectedRunId) : null),
5083
- disabled: !_ctx.taskOrchestration.selectedRunId || _ctx.taskOrchestration.selectedRunLoading
5084
- }, _toDisplayString(_ctx.taskOrchestration.selectedRunLoading ? _ctx.t('common.refreshing') : _ctx.t('orchestration.detail.refresh')), 9 /* TEXT, PROPS */, ["onClick", "disabled"]),
5085
- _createElementVNode("button", {
5086
- type: "button",
5087
- class: "btn-tool btn-tool-compact",
5088
- onClick: $event => (_ctx.retryTaskRunFromUi(_ctx.taskOrchestration.selectedRunId)),
5089
- disabled: !_ctx.taskOrchestration.selectedRunId || _ctx.taskOrchestration.retrying
5090
- }, _toDisplayString(_ctx.taskOrchestration.retrying ? _ctx.t('orchestration.detail.retrying') : _ctx.t('orchestration.detail.retry')), 9 /* TEXT, PROPS */, ["onClick", "disabled"]),
5091
- _createElementVNode("button", {
5092
- type: "button",
5093
- class: "btn-tool btn-tool-compact",
5094
- onClick: _ctx.continueTaskThreadFromUi,
5095
- disabled: !_ctx.taskOrchestrationSelectedRun
5096
- }, _toDisplayString(_ctx.t('orchestration.detail.continueThread')), 9 /* TEXT, PROPS */, ["onClick", "disabled"]),
5097
- (_ctx.taskOrchestrationSelectedRun && _ctx.taskOrchestrationSelectedRun.run && _ctx.isTaskRunActive(_ctx.taskOrchestrationSelectedRun.run.status))
5098
- ? (_openBlock(), _createElementBlock("button", {
5099
- key: 0,
5100
- type: "button",
5101
- class: "btn-tool btn-tool-compact",
5102
- onClick: $event => (_ctx.cancelTaskRunFromUi(_ctx.taskOrchestration.selectedRunId))
5103
- }, _toDisplayString(_ctx.t('common.cancel')), 9 /* TEXT, PROPS */, ["onClick"]))
5104
- : _createCommentVNode("v-if", true)
5105
- ]),
5106
- (_ctx.taskOrchestration.selectedRunError)
5107
- ? (_openBlock(), _createElementBlock("div", {
5108
- key: 0,
5109
- class: "task-issue-item"
5110
- }, _toDisplayString(_ctx.taskOrchestration.selectedRunError), 1 /* TEXT */))
5111
- : _createCommentVNode("v-if", true),
5112
- (!_ctx.taskOrchestrationSelectedRun)
5113
- ? (_openBlock(), _createElementBlock("div", {
5114
- key: 1,
5115
- class: "task-empty-state"
5116
- }, [
5117
- _createElementVNode("div", { class: "task-empty-title" }, _toDisplayString(_ctx.t('orchestration.detail.empty.title')), 1 /* TEXT */),
5118
- _createElementVNode("div", { class: "task-empty-copy" }, _toDisplayString(_ctx.t('orchestration.detail.empty.subtitle')), 1 /* TEXT */)
5119
- ]))
5120
- : (_openBlock(), _createElementBlock(_Fragment, { key: 2 }, [
5121
- _createElementVNode("div", { class: "task-detail-summary-strip" }, [
5122
- _createElementVNode("div", { class: "task-plan-summary-item" }, [
5123
- _createElementVNode("span", { class: "task-plan-summary-label" }, _toDisplayString(_ctx.t('orchestration.detail.summary.status')), 1 /* TEXT */),
5124
- _createElementVNode("strong", null, _toDisplayString(_ctx.taskOrchestrationSelectedRun.run.status), 1 /* TEXT */)
5125
- ]),
5126
- _createElementVNode("div", { class: "task-plan-summary-item" }, [
5127
- _createElementVNode("span", { class: "task-plan-summary-label" }, _toDisplayString(_ctx.t('orchestration.detail.summary.duration')), 1 /* TEXT */),
5128
- _createElementVNode("strong", null, _toDisplayString(_ctx.taskOrchestrationSelectedRun.run.durationMs || 0) + "ms", 1 /* TEXT */)
5129
- ]),
5130
- _createElementVNode("div", { class: "task-plan-summary-item" }, [
5131
- _createElementVNode("span", { class: "task-plan-summary-label" }, _toDisplayString(_ctx.t('orchestration.detail.summary.nodes')), 1 /* TEXT */),
5132
- _createElementVNode("strong", null, _toDisplayString(_ctx.taskOrchestrationSelectedRunNodes.length), 1 /* TEXT */)
5133
- ]),
5134
- _createElementVNode("div", { class: "task-plan-summary-item" }, [
5135
- _createElementVNode("span", { class: "task-plan-summary-label" }, _toDisplayString(_ctx.t('orchestration.detail.summary.summary')), 1 /* TEXT */),
5136
- _createElementVNode("strong", null, _toDisplayString(_ctx.taskOrchestrationSelectedRun.run.summary || _ctx.t('common.none')), 1 /* TEXT */)
5137
- ]),
5138
- (_ctx.taskOrchestrationSelectedRun.threadId)
5139
- ? (_openBlock(), _createElementBlock("div", {
5140
- key: 0,
5141
- class: "task-plan-summary-item"
5142
- }, [
5143
- _createElementVNode("span", { class: "task-plan-summary-label" }, _toDisplayString(_ctx.t('orchestration.plan.summary.threadId')), 1 /* TEXT */),
5144
- _createElementVNode("strong", null, _toDisplayString(_ctx.taskOrchestrationSelectedRun.threadId), 1 /* TEXT */)
5145
- ]))
5146
- : _createCommentVNode("v-if", true),
5147
- (_ctx.taskOrchestrationSelectedRun.cwd)
5148
- ? (_openBlock(), _createElementBlock("div", {
5149
- key: 1,
5150
- class: "task-plan-summary-item"
5151
- }, [
5152
- _createElementVNode("span", { class: "task-plan-summary-label" }, _toDisplayString(_ctx.t('orchestration.plan.summary.cwd')), 1 /* TEXT */),
5153
- _createElementVNode("strong", null, _toDisplayString(_ctx.taskOrchestrationSelectedRun.cwd), 1 /* TEXT */)
5154
- ]))
5155
- : _createCommentVNode("v-if", true)
5156
- ]),
5157
- (_ctx.taskOrchestrationSelectedRun.run.error)
5158
- ? (_openBlock(), _createElementBlock("div", {
5159
- key: 0,
5160
- class: "task-issue-item"
5161
- }, _toDisplayString(_ctx.taskOrchestrationSelectedRun.run.error), 1 /* TEXT */))
5162
- : _createCommentVNode("v-if", true),
5163
- _createElementVNode("div", { class: "task-node-list" }, [
5164
- (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.taskOrchestrationSelectedRunNodes, (node) => {
5165
- return (_openBlock(), _createElementBlock("div", {
5166
- key: node.id,
5167
- class: "task-node-card task-node-card-detail"
5168
- }, [
5169
- _createElementVNode("div", { class: "task-node-head" }, [
5170
- _createElementVNode("div", null, [
5171
- _createElementVNode("div", { class: "task-node-title" }, _toDisplayString(node.title || node.id), 1 /* TEXT */),
5172
- _createElementVNode("div", { class: "task-node-meta" }, _toDisplayString(_ctx.t('orchestration.detail.node.meta', { id: node.id, attempts: (node.attemptCount || 0), autoFix: (node.autoFixRounds || 0) })), 1 /* TEXT */)
5173
- ]),
5174
- _createElementVNode("span", {
5175
- class: _normalizeClass(['pill', _ctx.taskRunStatusTone(node.status)])
5176
- }, _toDisplayString(node.status), 3 /* TEXT, CLASS */)
5177
- ]),
5178
- (node.summary)
5179
- ? (_openBlock(), _createElementBlock("div", {
5180
- key: 0,
5181
- class: "task-runtime-item-summary"
5182
- }, _toDisplayString(node.summary), 1 /* TEXT */))
5183
- : _createCommentVNode("v-if", true),
5184
- (node.error && node.error !== node.summary)
5185
- ? (_openBlock(), _createElementBlock("div", {
5186
- key: 1,
5187
- class: "task-node-deps"
5188
- }, _toDisplayString(_ctx.t('orchestration.labels.error')) + _toDisplayString(node.error), 1 /* TEXT */))
5189
- : _createCommentVNode("v-if", true),
5190
- _createElementVNode("div", { class: "task-node-deps" }, _toDisplayString(_ctx.t('orchestration.labels.dependencies')) + _toDisplayString(_ctx.formatTaskNodeDependencies(node)), 1 /* TEXT */),
5191
- (node.output && typeof node.output === 'object')
5192
- ? (_openBlock(), _createElementBlock("div", {
5193
- key: 2,
5194
- class: "task-node-output-card"
5195
- }, [
5196
- _createElementVNode("div", { class: "task-node-output-head" }, [
5197
- _createElementVNode("strong", null, _toDisplayString(_ctx.t('orchestration.detail.node.output')), 1 /* TEXT */),
5198
- (node.output.provider || node.output.model)
5199
- ? (_openBlock(), _createElementBlock("span", {
5200
- key: 0,
5201
- class: "task-node-output-meta"
5202
- }, [
5203
- _createTextVNode(_toDisplayString(node.output.provider || ''), 1 /* TEXT */),
5204
- (node.output.provider && node.output.model)
5205
- ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [
5206
- _createTextVNode(" · ")
5207
- ], 64 /* STABLE_FRAGMENT */))
5208
- : _createCommentVNode("v-if", true),
5209
- _createTextVNode(_toDisplayString(node.output.model || ''), 1 /* TEXT */)
5210
- ]))
5211
- : _createCommentVNode("v-if", true)
5212
- ]),
5213
- _createElementVNode("div", { class: "task-node-output-facts" }, [
5214
- (node.output.endpoint)
5215
- ? (_openBlock(), _createElementBlock("span", { key: 0 }, _toDisplayString(_ctx.t('orchestration.detail.node.endpoint')) + _toDisplayString(node.output.endpoint), 1 /* TEXT */))
5216
- : _createCommentVNode("v-if", true),
5217
- (node.output.status)
5218
- ? (_openBlock(), _createElementBlock("span", { key: 1 }, "HTTP " + _toDisplayString(node.output.status), 1 /* TEXT */))
5219
- : _createCommentVNode("v-if", true),
5220
- (node.output.durationMs)
5221
- ? (_openBlock(), _createElementBlock("span", { key: 2 }, _toDisplayString(node.output.durationMs) + "ms", 1 /* TEXT */))
5222
- : _createCommentVNode("v-if", true)
5223
- ]),
5224
- _createElementVNode("pre", { class: "task-log-block task-output-block" }, _toDisplayString(_ctx.formatTaskNodeOutputText(node)), 1 /* TEXT */),
5225
- (node.output.materializedFiles && node.output.materializedFiles.length)
5226
- ? (_openBlock(), _createElementBlock("div", {
5227
- key: 0,
5228
- class: "task-materialized-files"
5229
- }, [
5230
- _createElementVNode("div", { class: "task-node-deps" }, _toDisplayString(_ctx.t('orchestration.detail.node.materializedFiles')), 1 /* TEXT */),
5231
- (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(node.output.materializedFiles, (file) => {
5232
- return (_openBlock(), _createElementBlock("div", {
5233
- key: file.path || file.relativePath,
5234
- class: "task-materialized-file"
5235
- }, _toDisplayString(file.relativePath || file.path) + " · " + _toDisplayString(file.bytes || 0) + " bytes", 1 /* TEXT */))
5236
- }), 128 /* KEYED_FRAGMENT */))
5237
- ]))
5238
- : _createCommentVNode("v-if", true),
5239
- (node.output.workspaceFiles && node.output.workspaceFiles.length)
5240
- ? (_openBlock(), _createElementBlock("div", {
5241
- key: 1,
5242
- class: "task-materialized-files task-workspace-files"
5243
- }, [
5244
- _createElementVNode("div", { class: "task-node-deps" }, _toDisplayString(_ctx.t('orchestration.detail.node.workspaceFiles')), 1 /* TEXT */),
5245
- (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(node.output.workspaceFiles, (file) => {
5246
- return (_openBlock(), _createElementBlock("div", {
5247
- key: file.path || file.relativePath,
5248
- class: "task-materialized-file"
5249
- }, _toDisplayString([String(file.operation || '').trim().toUpperCase(), String(file.relativePath || file.path || '').trim(), Number.isFinite(Number(file.bytes)) ? (Number(file.bytes) + ' bytes') : '', typeof file.existed === 'boolean' ? (file.existed ? 'existed' : 'new') : ''].filter(Boolean).join(' · ')), 1 /* TEXT */))
5250
- }), 128 /* KEYED_FRAGMENT */))
5251
- ]))
5252
- : _createCommentVNode("v-if", true)
5253
- ]))
5254
- : _createCommentVNode("v-if", true),
5255
- _createElementVNode("pre", { class: "task-log-block" }, _toDisplayString(_ctx.formatTaskNodeLogs(node.logs)), 1 /* TEXT */)
5256
- ]))
5257
- }), 128 /* KEYED_FRAGMENT */))
5258
- ])
5259
- ], 64 /* STABLE_FRAGMENT */))
5260
- ]))
5261
- ])
5262
- ]),
5263
- _createElementVNode("details", {
5264
- class: "selector-section task-side-settings-card task-advanced-panel task-quick-advanced",
5265
- open: _ctx.taskOrchestration.settingsOpen,
5266
- onToggle: $event => (_ctx.taskOrchestration.settingsOpen = $event.target.open)
5267
- }, [
5268
- _createElementVNode("summary", { class: "task-advanced-summary" }, _toDisplayString(_ctx.t('orchestration.advanced.title')), 1 /* TEXT */),
5269
- _createElementVNode("div", { class: "task-action-row-right task-action-row-right-prominent task-codex-queue-action" }, [
5270
- _createElementVNode("button", {
5271
- type: "button",
5272
- class: "btn-tool",
5273
- onClick: $event => (_ctx.queueTaskOrchestrationAndStart()),
5274
- disabled: _ctx.taskOrchestration.queueAdding || _ctx.taskOrchestration.queueStarting || _ctx.taskOrchestration.planning || !_ctx.taskOrchestration.target.trim()
5275
- }, _toDisplayString((_ctx.taskOrchestration.queueAdding || _ctx.taskOrchestration.queueStarting) ? _ctx.t('orchestration.actions.processing') : _ctx.t('orchestration.actions.queueAndStart')), 9 /* TEXT, PROPS */, ["onClick", "disabled"])
5276
- ]),
5277
- _createElementVNode("div", { class: "selector-grid task-composer-grid task-composer-grid-secondary" }, [
5278
- _createElementVNode("label", { class: "selector-field task-field-wide" }, [
5279
- _createElementVNode("span", { class: "selector-label" }, _toDisplayString(_ctx.t('orchestration.fields.title')), 1 /* TEXT */),
5280
- _withDirectives(_createElementVNode("input", {
5281
- "onUpdate:modelValue": $event => ((_ctx.taskOrchestration.title) = $event),
5282
- class: "model-input",
5283
- type: "text",
5284
- placeholder: _ctx.t('orchestration.fields.title.placeholder')
5285
- }, null, 8 /* PROPS */, ["onUpdate:modelValue", "placeholder"]), [
5286
- [_vModelText, _ctx.taskOrchestration.title]
5287
- ])
5288
- ]),
5289
- _createElementVNode("label", { class: "selector-field" }, [
5290
- _createElementVNode("span", { class: "selector-label" }, _toDisplayString(_ctx.t('orchestration.fields.engine')), 1 /* TEXT */),
5291
- _withDirectives(_createElementVNode("select", {
5292
- "onUpdate:modelValue": $event => ((_ctx.taskOrchestration.selectedEngine) = $event),
5293
- class: "provider-fast-switch-select",
5294
- onChange: $event => (_ctx.taskOrchestration.selectedEngine === 'workflow' ? null : _ctx.taskOrchestration.workflowIdsText = '')
5295
- }, [
5296
- _createElementVNode("option", { value: "openai-chat" }, _toDisplayString(_ctx.t('orchestration.engine.openaiChat')), 1 /* TEXT */),
5297
- _createElementVNode("option", { value: "workflow" }, _toDisplayString(_ctx.t('orchestration.engine.workflow')), 1 /* TEXT */)
5298
- ], 40 /* PROPS, NEED_HYDRATION */, ["onUpdate:modelValue", "onChange"]), [
5299
- [_vModelSelect, _ctx.taskOrchestration.selectedEngine]
5300
- ])
5301
- ]),
5302
- _createElementVNode("label", { class: "selector-field" }, [
5303
- _createElementVNode("span", { class: "selector-label" }, _toDisplayString(_ctx.t('orchestration.fields.runMode')), 1 /* TEXT */),
5304
- _withDirectives(_createElementVNode("select", {
5305
- "onUpdate:modelValue": $event => ((_ctx.taskOrchestration.runMode) = $event),
5306
- class: "provider-fast-switch-select"
5307
- }, [
5308
- _createElementVNode("option", { value: "write" }, _toDisplayString(_ctx.t('orchestration.runMode.write')), 1 /* TEXT */),
5309
- _createElementVNode("option", { value: "read" }, _toDisplayString(_ctx.t('orchestration.runMode.readOnly')), 1 /* TEXT */),
5310
- _createElementVNode("option", { value: "dry-run" }, _toDisplayString(_ctx.t('orchestration.runMode.dryRun')), 1 /* TEXT */)
5311
- ], 8 /* PROPS */, ["onUpdate:modelValue"]), [
5312
- [_vModelSelect, _ctx.taskOrchestration.runMode]
5313
- ])
5314
- ]),
5315
- _createElementVNode("label", { class: "selector-field task-field-wide" }, [
5316
- _createElementVNode("span", { class: "selector-label" }, _toDisplayString(_ctx.t('orchestration.fields.notes')), 1 /* TEXT */),
5317
- _withDirectives(_createElementVNode("textarea", {
5318
- "onUpdate:modelValue": $event => ((_ctx.taskOrchestration.notes) = $event),
5319
- class: "task-textarea",
5320
- rows: "3",
5321
- placeholder: _ctx.t('orchestration.fields.notes.placeholder')
5322
- }, null, 8 /* PROPS */, ["onUpdate:modelValue", "placeholder"]), [
5323
- [_vModelText, _ctx.taskOrchestration.notes]
5324
- ]),
5325
- _createElementVNode("span", { class: "task-field-hint" }, _toDisplayString(_ctx.t('orchestration.fields.notes.hint')), 1 /* TEXT */)
5326
- ]),
5327
- _createElementVNode("label", { class: "selector-field task-field-wide" }, [
5328
- _createElementVNode("span", { class: "selector-label" }, _toDisplayString(_ctx.t('orchestration.fields.workspacePath')), 1 /* TEXT */),
5329
- _withDirectives(_createElementVNode("input", {
5330
- "onUpdate:modelValue": $event => ((_ctx.taskOrchestration.workspacePath) = $event),
5331
- class: "model-input",
5332
- type: "text",
5333
- placeholder: _ctx.t('orchestration.fields.workspacePath.placeholder')
5334
- }, null, 8 /* PROPS */, ["onUpdate:modelValue", "placeholder"]), [
5335
- [_vModelText, _ctx.taskOrchestration.workspacePath]
5336
- ]),
5337
- _createElementVNode("span", { class: "task-field-hint" }, _toDisplayString(_ctx.t('orchestration.fields.workspacePath.hint')), 1 /* TEXT */)
5338
- ]),
5339
- _createElementVNode("label", { class: "selector-field" }, [
5340
- _createElementVNode("span", { class: "selector-label" }, _toDisplayString(_ctx.t('orchestration.fields.threadId')), 1 /* TEXT */),
5341
- _withDirectives(_createElementVNode("input", {
5342
- "onUpdate:modelValue": $event => ((_ctx.taskOrchestration.threadId) = $event),
5343
- class: "model-input",
5344
- type: "text",
5345
- placeholder: _ctx.t('orchestration.fields.threadId.placeholder')
5346
- }, null, 8 /* PROPS */, ["onUpdate:modelValue", "placeholder"]), [
5347
- [_vModelText, _ctx.taskOrchestration.threadId]
5348
- ]),
5349
- _createElementVNode("span", { class: "task-field-hint" }, _toDisplayString(_ctx.t('orchestration.fields.threadId.hint')), 1 /* TEXT */)
5350
- ]),
5351
- _createElementVNode("label", { class: "selector-field task-field-wide" }, [
5352
- _createElementVNode("span", { class: "selector-label" }, _toDisplayString(_ctx.t('orchestration.fields.followUps')), 1 /* TEXT */),
5353
- _withDirectives(_createElementVNode("textarea", {
5354
- "onUpdate:modelValue": $event => ((_ctx.taskOrchestration.followUpsText) = $event),
5355
- class: "task-textarea",
5356
- rows: "3",
5357
- placeholder: _ctx.t('orchestration.fields.followUps.placeholder')
5358
- }, null, 8 /* PROPS */, ["onUpdate:modelValue", "placeholder"]), [
5359
- [_vModelText, _ctx.taskOrchestration.followUpsText]
5360
- ])
5361
- ]),
5362
- _createElementVNode("label", { class: "selector-field" }, [
5363
- _createElementVNode("span", { class: "selector-label" }, _toDisplayString(_ctx.t('orchestration.fields.concurrency')), 1 /* TEXT */),
5364
- _withDirectives(_createElementVNode("input", {
5365
- "onUpdate:modelValue": $event => ((_ctx.taskOrchestration.concurrency) = $event),
5366
- class: "model-input",
5367
- type: "number",
5368
- min: "1",
5369
- max: "8"
5370
- }, null, 8 /* PROPS */, ["onUpdate:modelValue"]), [
5371
- [_vModelText, _ctx.taskOrchestration.concurrency]
5372
- ]),
5373
- _createElementVNode("span", { class: "task-field-hint" }, _toDisplayString(_ctx.t('orchestration.fields.concurrency.hint')), 1 /* TEXT */)
5374
- ]),
5375
- _createElementVNode("label", { class: "selector-field" }, [
5376
- _createElementVNode("span", { class: "selector-label" }, _toDisplayString(_ctx.t('orchestration.fields.autoFixRounds')), 1 /* TEXT */),
5377
- _withDirectives(_createElementVNode("input", {
5378
- "onUpdate:modelValue": $event => ((_ctx.taskOrchestration.autoFixRounds) = $event),
5379
- class: "model-input",
5380
- type: "number",
5381
- min: "0",
5382
- max: "5"
5383
- }, null, 8 /* PROPS */, ["onUpdate:modelValue"]), [
5384
- [_vModelText, _ctx.taskOrchestration.autoFixRounds]
5385
- ]),
5386
- _createElementVNode("span", { class: "task-field-hint" }, _toDisplayString(_ctx.t('orchestration.fields.autoFixRounds.hint')), 1 /* TEXT */)
5387
- ]),
5388
- (_ctx.taskOrchestration.selectedEngine === 'workflow')
5389
- ? (_openBlock(), _createElementBlock("label", {
5390
- key: 0,
5391
- class: "selector-field task-field-wide"
5392
- }, [
5393
- _createElementVNode("span", { class: "selector-label" }, _toDisplayString(_ctx.t('orchestration.fields.workflowIds')), 1 /* TEXT */),
5394
- _withDirectives(_createElementVNode("textarea", {
5395
- "onUpdate:modelValue": $event => ((_ctx.taskOrchestration.workflowIdsText) = $event),
5396
- class: "task-textarea",
5397
- rows: "3",
5398
- placeholder: _ctx.t('orchestration.fields.workflowIds.placeholder')
5399
- }, null, 8 /* PROPS */, ["onUpdate:modelValue", "placeholder"]), [
5400
- [_vModelText, _ctx.taskOrchestration.workflowIdsText]
5401
- ]),
5402
- _createElementVNode("span", { class: "task-field-hint" }, _toDisplayString(_ctx.t('orchestration.fields.workflowIds.hint', { count: _ctx.taskOrchestration.workflows.length })), 1 /* TEXT */),
5403
- (_ctx.taskOrchestration.workflows.length)
5404
- ? (_openBlock(), _createElementBlock("div", {
5405
- key: 0,
5406
- class: "task-workflow-suggestions"
5407
- }, [
5408
- (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.taskOrchestration.workflows, (workflow) => {
5409
- return (_openBlock(), _createElementBlock("button", {
5410
- key: workflow.id || workflow.name,
5411
- type: "button",
5412
- class: "task-workflow-chip",
5413
- onClick: $event => (_ctx.appendTaskWorkflowId(workflow.id || workflow.name))
5414
- }, [
5415
- _createElementVNode("span", null, _toDisplayString(workflow.name || workflow.id), 1 /* TEXT */),
5416
- (workflow.stepCount)
5417
- ? (_openBlock(), _createElementBlock("small", { key: 0 }, _toDisplayString(_ctx.t('orchestration.workflow.stepCount', { count: workflow.stepCount })), 1 /* TEXT */))
5418
- : _createCommentVNode("v-if", true)
5419
- ], 8 /* PROPS */, ["onClick"]))
5420
- }), 128 /* KEYED_FRAGMENT */))
5421
- ]))
5422
- : _createCommentVNode("v-if", true)
5423
- ]))
5424
- : _createCommentVNode("v-if", true)
5425
- ])
5426
- ], 40 /* PROPS, NEED_HYDRATION */, ["open", "onToggle"]),
5427
- _createElementVNode("div", { class: "task-provider-status-card" }, [
5428
- _createElementVNode("div", { class: "task-readiness-title" }, _toDisplayString(_ctx.t('orchestration.openai.status.title')), 1 /* TEXT */),
5429
- _createElementVNode("div", { class: "task-readiness-copy" }, _toDisplayString(_ctx.t('orchestration.openai.status.subtitle')), 1 /* TEXT */),
5430
- (_ctx.taskOrchestration.openAiChatStatus)
5431
- ? (_openBlock(), _createElementBlock("div", {
5432
- key: 0,
5433
- class: "task-provider-status-grid"
5434
- }, [
5435
- _createElementVNode("div", { class: "task-provider-status-row" }, [
5436
- _createElementVNode("span", null, _toDisplayString(_ctx.t('orchestration.openai.status.provider')), 1 /* TEXT */),
5437
- _createElementVNode("strong", null, _toDisplayString(_ctx.taskOrchestration.openAiChatStatus.providerName ? _ctx.t('orchestration.openai.status.configured') : _ctx.t('orchestration.openai.status.notSet')), 1 /* TEXT */)
5438
- ]),
5439
- _createElementVNode("div", { class: "task-provider-status-row" }, [
5440
- _createElementVNode("span", null, _toDisplayString(_ctx.t('orchestration.openai.status.model')), 1 /* TEXT */),
5441
- _createElementVNode("strong", null, _toDisplayString(_ctx.taskOrchestration.openAiChatStatus.model ? _ctx.t('orchestration.openai.status.configured') : _ctx.t('orchestration.openai.status.notSet')), 1 /* TEXT */)
5442
- ]),
5443
- _createElementVNode("div", { class: "task-provider-status-row task-provider-status-row-wide" }, [
5444
- _createElementVNode("span", null, _toDisplayString(_ctx.t('orchestration.openai.status.endpoint')), 1 /* TEXT */),
5445
- _createElementVNode("strong", null, _toDisplayString(_ctx.taskOrchestration.openAiChatStatus.endpoint ? _ctx.t('orchestration.openai.status.configured') : _ctx.t('orchestration.openai.status.notSet')), 1 /* TEXT */)
5446
- ]),
5447
- _createElementVNode("div", { class: "task-provider-status-row" }, [
5448
- _createElementVNode("span", null, _toDisplayString(_ctx.t('orchestration.openai.status.apiKey')), 1 /* TEXT */),
5449
- _createElementVNode("strong", null, _toDisplayString(_ctx.taskOrchestration.openAiChatStatus.hasApiKey ? _ctx.t('orchestration.openai.status.configured') : _ctx.t('orchestration.openai.status.missing')), 1 /* TEXT */)
5450
- ]),
5451
- _createElementVNode("div", { class: "task-provider-status-row" }, [
5452
- _createElementVNode("span", null, _toDisplayString(_ctx.t('orchestration.openai.status.headers')), 1 /* TEXT */),
5453
- _createElementVNode("strong", null, _toDisplayString(_ctx.taskOrchestration.openAiChatStatus.hasExtraHeaders ? _ctx.t('orchestration.openai.status.configured') : _ctx.t('orchestration.openai.status.notSet')), 1 /* TEXT */)
5454
- ])
5455
- ]))
5456
- : (_openBlock(), _createElementBlock("div", {
5457
- key: 1,
5458
- class: "task-readiness-copy"
5459
- }, _toDisplayString(_ctx.t('orchestration.openai.status.notLoaded')), 1 /* TEXT */)),
5460
- (_ctx.taskOrchestration.openAiChatStatus && _ctx.taskOrchestration.openAiChatStatus.error)
5461
- ? (_openBlock(), _createElementBlock("div", {
5462
- key: 2,
5463
- class: "task-issue-item task-provider-status-error"
5464
- }, _toDisplayString(_ctx.taskOrchestration.openAiChatStatus.error), 1 /* TEXT */))
5465
- : _createCommentVNode("v-if", true),
5466
- _createElementVNode("button", {
5467
- type: "button",
5468
- class: "btn-tool btn-tool-compact task-provider-config-button",
5469
- onClick: $event => (_ctx.openTaskOpenAiChatConfig())
5470
- }, _toDisplayString(_ctx.t('orchestration.openai.status.configure')), 9 /* TEXT, PROPS */, ["onClick"])
5471
- ]),
5472
- _createElementVNode("div", { class: "task-readiness-head" }, [
5473
- _createElementVNode("div", null, [
5474
- _createElementVNode("div", { class: "task-readiness-title" }, _toDisplayString(_ctx.t('orchestration.quick.checklist.title')), 1 /* TEXT */),
5475
- _createElementVNode("div", { class: "task-readiness-copy" }, _toDisplayString(_ctx.t('orchestration.quick.checklist.subtitle')), 1 /* TEXT */)
5476
- ])
5477
- ]),
5478
- _createElementVNode("div", { class: "task-readiness-grid task-quick-checklist" }, [
5479
- (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.taskOrchestrationDraftChecklist, (item) => {
5480
- return (_openBlock(), _createElementBlock("div", {
5481
- key: item.key,
5482
- class: _normalizeClass(['task-readiness-item', { done: item.done }])
5483
- }, [
5484
- _createElementVNode("strong", null, _toDisplayString(item.label), 1 /* TEXT */),
5485
- _createElementVNode("span", null, _toDisplayString(item.detail), 1 /* TEXT */)
5486
- ], 2 /* CLASS */))
5487
- }), 128 /* KEYED_FRAGMENT */))
5488
- ]),
5489
- _createElementVNode("div", { class: "task-quick-status-card" }, [
5490
- _createElementVNode("div", { class: "task-plan-summary-label" }, _toDisplayString(_ctx.t('orchestration.quick.status.title')), 1 /* TEXT */),
5491
- _createElementVNode("strong", null, _toDisplayString(_ctx.taskOrchestrationDraftReadiness.title), 1 /* TEXT */),
5492
- _createElementVNode("span", null, _toDisplayString(_ctx.taskOrchestrationDraftReadiness.summary), 1 /* TEXT */)
5493
- ])
5494
- ])
5495
- ])
5496
- ]),
5497
- (!(_ctx.taskOrchestration.plan || _ctx.taskOrchestration.planIssues.length || _ctx.taskOrchestration.planWarnings.length || _ctx.taskOrchestration.lastError || _ctx.taskOrchestrationWorkspaceQueue.length || _ctx.taskOrchestrationWorkspaceRuns.length || _ctx.taskOrchestration.selectedRunId || _ctx.taskOrchestration.selectedRunError))
5498
- ? (_openBlock(), _createElementBlock("section", {
5499
- key: 0,
5500
- class: "selector-section task-stage-card"
5501
- }, [
5502
- _createElementVNode("div", { class: "task-stage-empty" }, [
5503
- _createElementVNode("div", null, [
5504
- _createElementVNode("div", { class: "selector-title" }, _toDisplayString(_ctx.t('orchestration.stage.title')), 1 /* TEXT */),
5505
- _createElementVNode("div", { class: "skills-panel-note" }, _toDisplayString(_ctx.t('orchestration.stage.subtitle')), 1 /* TEXT */)
5506
- ]),
5507
- _createElementVNode("div", { class: "task-stage-strip" }, [
5508
- _createElementVNode("div", { class: "task-stage-pill" }, _toDisplayString(_ctx.t('orchestration.stage.pill.target')), 1 /* TEXT */),
5509
- _createElementVNode("div", { class: "task-stage-pill" }, _toDisplayString(_ctx.t('orchestration.stage.pill.preview')), 1 /* TEXT */),
5510
- _createElementVNode("div", { class: "task-stage-pill" }, _toDisplayString(_ctx.t('orchestration.stage.pill.run')), 1 /* TEXT */)
5511
- ])
5512
- ])
5513
- ]))
5514
- : _createCommentVNode("v-if", true)
5515
- ], 8 /* PROPS */, ["data-active"])), [
5516
- [_vShow, _ctx.mainTab === 'orchestration']
5517
- ])
5518
- : _createCommentVNode("v-if", true),
5519
4355
  _withDirectives(_createElementVNode("div", {
5520
4356
  class: "mode-content docs-mode-content",
5521
4357
  id: "panel-docs",
@@ -7055,7 +5891,7 @@ return function render(_ctx, _cache) {
7055
5891
  _createCommentVNode(" Prompts editor "),
7056
5892
  (_ctx.mainTab === 'prompts')
7057
5893
  ? (_openBlock(), _createElementBlock("div", {
7058
- key: 1,
5894
+ key: 0,
7059
5895
  class: "mode-content mode-cards",
7060
5896
  id: "panel-prompts",
7061
5897
  role: "tabpanel",
@@ -7713,12 +6549,12 @@ return function render(_ctx, _cache) {
7713
6549
  _createCommentVNode(" 加载状态 "),
7714
6550
  (_ctx.loading && _ctx.mainTab !== 'usage')
7715
6551
  ? (_openBlock(), _createElementBlock("div", {
7716
- key: 2,
6552
+ key: 1,
7717
6553
  class: "state-message"
7718
6554
  }, _toDisplayString(_ctx.t('app.loadingConfig')), 1 /* TEXT */))
7719
6555
  : (_ctx.initError)
7720
6556
  ? (_openBlock(), _createElementBlock("div", {
7721
- key: 3,
6557
+ key: 2,
7722
6558
  class: "state-message error"
7723
6559
  }, [
7724
6560
  _createCommentVNode(" 错误状态 "),