(text: string, parts: RunPrompt["parts"] = [])
| 9 | import type { RunPrompt } from "@/cli/cmd/run/types" |
| 10 | |
| 11 | function prompt(text: string, parts: RunPrompt["parts"] = []): RunPrompt { |
| 12 | return { text, parts } |
| 13 | } |
| 14 | |
| 15 | describe("run prompt shared", () => { |
| 16 | test("filters blank prompts and dedupes consecutive history", () => { |