@@ -4078,71 +4078,9 @@ return function render(_ctx, _cache) {
40784078 ])
40794079 ]))
40804080 : _createCommentVNode("v-if", true),
4081- (!_ctx.taskOrchestrationDraftMetrics.hasTarget)
4082- ? (_openBlock(), _createElementBlock("section", {
4083- key: 1,
4084- class: "selector-section task-thread-message-card task-thread-suggestion-card task-template-block task-quick-template-block"
4085- }, [
4086- _createElementVNode("div", { class: "task-thread-card-label" }, "AI · suggestions"),
4087- _createElementVNode("div", { class: "task-template-label" }, _toDisplayString(_ctx.t('orchestration.templates.title')), 1 /* TEXT */),
4088- _createElementVNode("div", { class: "task-quick-template-grid" }, [
4089- _createElementVNode("button", {
4090- type: "button",
4091- class: "task-quick-template-card",
4092- onClick: $event => {_ctx.taskOrchestration.target = _ctx.t('orchestration.templates.reviewFix.target'); _ctx.taskOrchestration.selectedEngine = 'openai-chat'; _ctx.taskOrchestration.workflowIdsText = ''; _ctx.taskOrchestration.notes = _ctx.t('orchestration.templates.reviewFix.notes'); _ctx.taskOrchestration.followUpsText = _ctx.t('orchestration.templates.reviewFix.followUps'); _ctx.taskOrchestration.plan = null; _ctx.taskOrchestration.planIssues = []; _ctx.taskOrchestration.planWarnings = []; _ctx.taskOrchestration.planFingerprint = ''; _ctx.taskOrchestration.lastError = ''}
4093- }, [
4094- _createElementVNode("strong", null, _toDisplayString(_ctx.t('orchestration.templates.reviewFix.label')), 1 /* TEXT */),
4095- _createElementVNode("span", null, _toDisplayString(_ctx.t('orchestration.quick.templates.reviewFix.meta')), 1 /* TEXT */)
4096- ], 8 /* PROPS */, ["onClick"]),
4097- _createElementVNode("button", {
4098- type: "button",
4099- class: "task-quick-template-card",
4100- onClick: $event => {_ctx.taskOrchestration.target = _ctx.t('orchestration.templates.planOnly.target'); _ctx.taskOrchestration.selectedEngine = 'openai-chat'; _ctx.taskOrchestration.workflowIdsText = ''; _ctx.taskOrchestration.notes = _ctx.t('orchestration.templates.planOnly.notes'); _ctx.taskOrchestration.followUpsText = ''; _ctx.taskOrchestration.plan = null; _ctx.taskOrchestration.planIssues = []; _ctx.taskOrchestration.planWarnings = []; _ctx.taskOrchestration.planFingerprint = ''; _ctx.taskOrchestration.lastError = ''}
4101- }, [
4102- _createElementVNode("strong", null, _toDisplayString(_ctx.t('orchestration.templates.planOnly.label')), 1 /* TEXT */),
4103- _createElementVNode("span", null, _toDisplayString(_ctx.t('orchestration.quick.templates.planOnly.meta')), 1 /* TEXT */)
4104- ], 8 /* PROPS */, ["onClick"]),
4105- _createElementVNode("button", {
4106- type: "button",
4107- class: "task-quick-template-card",
4108- onClick: $event => {_ctx.taskOrchestration.target = _ctx.t('orchestration.templates.workflowBatch.target'); _ctx.taskOrchestration.selectedEngine = 'workflow'; _ctx.taskOrchestration.workflowIdsText = _ctx.t('orchestration.templates.workflowBatch.workflowIds'); _ctx.taskOrchestration.notes = _ctx.t('orchestration.templates.workflowBatch.notes'); _ctx.taskOrchestration.followUpsText = ''; _ctx.taskOrchestration.plan = null; _ctx.taskOrchestration.planIssues = []; _ctx.taskOrchestration.planWarnings = []; _ctx.taskOrchestration.planFingerprint = ''; _ctx.taskOrchestration.lastError = ''}
4109- }, [
4110- _createElementVNode("strong", null, _toDisplayString(_ctx.t('orchestration.templates.workflowBatch.label')), 1 /* TEXT */),
4111- _createElementVNode("span", null, _toDisplayString(_ctx.t('orchestration.quick.templates.workflowBatch.meta')), 1 /* TEXT */)
4112- ], 8 /* PROPS */, ["onClick"])
4113- ])
4114- ]))
4115- : _createCommentVNode("v-if", true),
4116- (_ctx.taskOrchestrationDraftMetrics.hasTarget && !(_ctx.taskOrchestration.plan || _ctx.taskOrchestration.planIssues.length || _ctx.taskOrchestration.planWarnings.length || _ctx.taskOrchestration.lastError))
4117- ? (_openBlock(), _createElementBlock("section", {
4118- key: 2,
4119- class: "selector-section task-thread-message-card task-thread-readiness-card"
4120- }, [
4121- _createElementVNode("div", { class: "task-thread-card-label" }, "AI · next step"),
4122- _createElementVNode("div", { class: "task-draft-overview task-draft-inline task-quick-readiness" }, [
4123- _createElementVNode("div", { class: "task-draft-inline-head" }, [
4124- _createElementVNode("span", {
4125- class: _normalizeClass(['pill', _ctx.taskOrchestrationDraftReadiness.tone])
4126- }, _toDisplayString(_ctx.taskOrchestrationDraftReadiness.title), 3 /* TEXT, CLASS */),
4127- _createElementVNode("div", { class: "task-readiness-copy task-draft-inline-copy" }, _toDisplayString(_ctx.taskOrchestrationDraftReadiness.summary), 1 /* TEXT */)
4128- ])
4129- ]),
4130- _createElementVNode("div", { class: "task-readiness-grid task-quick-checklist task-thread-checklist" }, [
4131- (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.taskOrchestrationDraftChecklist, (item) => {
4132- return (_openBlock(), _createElementBlock("div", {
4133- key: item.key,
4134- class: _normalizeClass(['task-readiness-item', { done: item.done }])
4135- }, [
4136- _createElementVNode("strong", null, _toDisplayString(item.label), 1 /* TEXT */),
4137- _createElementVNode("span", null, _toDisplayString(item.detail), 1 /* TEXT */)
4138- ], 2 /* CLASS */))
4139- }), 128 /* KEYED_FRAGMENT */))
4140- ])
4141- ]))
4142- : _createCommentVNode("v-if", true),
41434081 (_ctx.taskOrchestration.plan || _ctx.taskOrchestration.planIssues.length || _ctx.taskOrchestration.planWarnings.length || _ctx.taskOrchestration.lastError)
41444082 ? (_openBlock(), _createElementBlock("section", {
4145- key: 3 ,
4083+ key: 1 ,
41464084 class: "selector-section task-plan-card task-thread-message-card task-thread-plan-card"
41474085 }, [
41484086 _createElementVNode("div", { class: "task-thread-card-label" }, "AI · " + _toDisplayString(_ctx.t('orchestration.plan.title')), 1 /* TEXT */),
0 commit comments