feat: flow for multiple files - pipeline, tools

This commit is contained in:
2026-10-09 20:23:14 +05:00
parent 0cb94d06c2
commit bac82f8442
15 changed files with 648 additions and 193 deletions
+2
View File
@@ -8,6 +8,7 @@ import {
serializeSteps,
type ChainStep,
} from "./pipeline.svelte";
import type { ToolImageFile } from "./registry";
export interface NamedChain {
id: string;
@@ -135,6 +136,7 @@ export function deleteChain(id: string): void {
/** State that cannot persist across the tool -> pipeline route swap. */
export interface ChainHandoff {
source: PixelImage | null;
sourceFiles?: ToolImageFile[];
textSource: string;
format: OutputMime;
limitKb: number | undefined;