refactor: remove workflow machinery

This commit is contained in:
2026-07-16 05:45:24 +09:00
parent 83ad7506d7
commit d801b2698b
64 changed files with 141 additions and 4055 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ export type AlertLevel = "warn" | "error";
export type AlertSource = "worker" | "engine" | "compactor" | "agents_md";
export type CompletionKind = "file" | "knowledge" | "workflow";
export type CompletionKind = "file" | "knowledge";
export type WorkerStatus = "idle" | "running" | "paused";
@@ -40,7 +40,6 @@ Deno.test("segmentsToText preserves protocol segment semantics", () => {
{ kind: "text", content: "hello" },
{ kind: "file_ref", path: "/tmp/example.md" },
{ kind: "knowledge_ref", slug: "design-note" },
{ kind: "workflow_invoke", slug: "ticket-review" },
]);
assert(text.includes("hello"), "text segment should render content");
@@ -52,10 +51,6 @@ Deno.test("segmentsToText preserves protocol segment semantics", () => {
text.includes("@knowledge design-note"),
"knowledge ref should render as a knowledge reference",
);
assert(
text.includes("/ticket-review"),
"workflow invocation should render as slash command",
);
});
Deno.test("projectConsole projects visible protocol rows", () => {