refactor: remove workflow machinery
This commit is contained in:
@@ -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", () => {
|
||||
|
||||
Reference in New Issue
Block a user