/** * Type definitions for interactive summary. */ import type { StepPreview } from '../../infra/config/index.js'; export type TaskHistoryLocale = 'en' | 'ja'; export interface ConversationMessage { role: 'user' | 'assistant'; content: string; } export interface TaskHistorySummaryItem { worktreeId: string; status: 'completed' | 'failed' | 'interrupted'; startedAt: string; completedAt: string; finalResult: string; failureSummary: string | undefined; logKey: string; } export interface WorkflowContext { /** Workflow name (e.g. "minimal") */ name: string; /** Workflow description */ description: string; /** Workflow structure (numbered list of steps) */ workflowStructure: string; /** Step previews (persona + instruction content for first N steps) */ stepPreviews?: StepPreview[]; /** Recent task history for conversation context */ taskHistory?: TaskHistorySummaryItem[]; } export type InteractiveModeAction = 'execute' | 'save_task' | 'create_issue' | 'cancel'; export type PostSummaryAction = InteractiveModeAction | 'continue'; export type SummaryActionValue = 'execute' | 'create_issue' | 'save_task' | 'continue'; export interface SummaryActionOption { label: string; value: SummaryActionValue; } export type SummaryActionLabels = { execute: string; createIssue?: string; saveTask: string; continue: string; }; export declare const BASE_SUMMARY_ACTIONS: readonly SummaryActionValue[]; export interface InteractiveSummaryUIText { actionPrompt: string; actions: { execute: string; createIssue: string; saveTask: string; continue: string; }; } /** UI labels required by createSelectActionWithoutExecute */ export interface ActionWithoutExecuteUIText { proposed: string; actionPrompt: string; actions: { saveTask: string; continue: string; }; } //# sourceMappingURL=interactive-summary-types.d.ts.map