← Về thư mục
frontend/src/features/send/plan.ts
- planConfLevel · function · L34-L41 — function planConfLevel(c: unknown): "high" | "medium" | "low"
- planStepSettled · function · L45-L47 — function planStepSettled(status: unknown): boolean
- planStepIcon · function · L49-L55 — function planStepIcon(status: unknown): string
- planT · function · L74-L80 — function planT(key: string, ...args: unknown[]): string
- planStepView · function · L87-L96 — function planStepView( stepStatus: unknown, planStatus: string, ): { cls: string; icon: string; unconfirmed: boolean }
- planCardLabels · function · L103-L145 — function planCardLabels( steps: readonly { status?: string }[], st: string, ): { eyebrow: string; status: string; statusCls: string }
- PlanStep · type · L147-L154 — type PlanStep = { id?: string; title?: string; content?: string; detail?: string; status?: string; deliverables?: unknown[]; };
- Plan · type · L156-L162 — type Plan = { title?: string; confidence?: unknown; status?: string; steps?: PlanStep[]; [key: string]: unknown; };
- asPlan · function · L164-L166 — function asPlan(value: unknown): Plan
- renderPlanCard · function · L168-L286 — function renderPlanCard(plan: unknown, status?: string | null): void
- updatePlanProgress · function · L288-L312 — function updatePlanProgress(m: Record): void
- dispatchPlanTurn · function · L314-L340 — async function dispatchPlanTurn( path: string, body: Record, runningHint: string, failedKey: string, ): Promise
- approvePlan · function · L342-L355 — async function approvePlan(): Promise
- resumePlan · function · L357-L364 — async function resumePlan(): Promise
- discardPlan · function · L366-L379 — async function discardPlan(): Promise
- revisePlan · function · L381-L388 — async function revisePlan(changes: string): Promise
- showPlanApproval · function · L390-L410 — function showPlanApproval(): void