summaryrefslogtreecommitdiffhomepage
path: root/src/core/wire
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-07 18:52:13 +0900
committerAdam Malczewski <[email protected]>2026-06-07 18:52:13 +0900
commita90a5533c4eb95a5a289fe6c9d0de03b0856c065 (patch)
treef01d91c2775ace8d7fdb01e40a1c8604f606b0ae /src/core/wire
parent9a4fc0aa0b56e7bb083ecc615647ed8f6b2ef4c2 (diff)
downloaddispatch-web-a90a5533c4eb95a5a289fe6c9d0de03b0856c065.tar.gz
dispatch-web-a90a5533c4eb95a5a289fe6c9d0de03b0856c065.zip
Revert "feat(chat): live turn metrics — telemetry reducer + rendering"
This reverts commit 9a4fc0aa0b56e7bb083ecc615647ed8f6b2ef4c2.
Diffstat (limited to 'src/core/wire')
-rw-r--r--src/core/wire/conformance.test.ts14
-rw-r--r--src/core/wire/conformance.ts2
2 files changed, 2 insertions, 14 deletions
diff --git a/src/core/wire/conformance.test.ts b/src/core/wire/conformance.test.ts
index 690ba4e..50b7f35 100644
--- a/src/core/wire/conformance.test.ts
+++ b/src/core/wire/conformance.test.ts
@@ -62,15 +62,6 @@ describe("classifies every AgentEvent type", () => {
turnId: "t1",
usage: { inputTokens: 10, outputTokens: 20 },
},
- {
- type: "step-complete",
- conversationId: "c1",
- turnId: "t1",
- stepId: "t1#0" as StepId,
- ttftMs: 300,
- decodeMs: 700,
- genTotalMs: 1000,
- },
{ type: "error", conversationId: "c1", turnId: "t1", message: "oops" },
{ type: "done", conversationId: "c1", turnId: "t1", reason: "complete" },
{ type: "turn-sealed", conversationId: "c1", turnId: "t1" },
@@ -87,15 +78,14 @@ describe("classifies every AgentEvent type", () => {
"tool-result",
"tool-output",
"usage",
- "step-complete",
"error",
"done",
"turn-sealed",
]);
});
- it("covers all 12 AgentEvent variants", () => {
- expect(samples).toHaveLength(12);
+ it("covers all 11 AgentEvent variants", () => {
+ expect(samples).toHaveLength(11);
});
});
diff --git a/src/core/wire/conformance.ts b/src/core/wire/conformance.ts
index d89772e..5d75a60 100644
--- a/src/core/wire/conformance.ts
+++ b/src/core/wire/conformance.ts
@@ -30,8 +30,6 @@ export function assertAgentEventExhaustive(event: AgentEvent): string {
return "done";
case "turn-sealed":
return "turn-sealed";
- case "step-complete":
- return "step-complete";
default:
return event satisfies never;
}