summaryrefslogtreecommitdiffhomepage
path: root/packages/tool-shell/src/shell.ts
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-07 17:07:47 +0900
committerAdam Malczewski <[email protected]>2026-06-07 17:07:47 +0900
commit3ecc9778fe278d6665b1e9a918f44c16f6992b87 (patch)
tree57e14412d782469d2a744ce9da9eded8bb2a5bd6 /packages/tool-shell/src/shell.ts
parentd2ac57045e9884e5f948b95014e853111cd6bc3d (diff)
downloaddispatch-3ecc9778fe278d6665b1e9a918f44c16f6992b87.tar.gz
dispatch-3ecc9778fe278d6665b1e9a918f44c16f6992b87.zip
feat(kernel-runtime): per-step TTFT + decode timing spans (observability)
Split each step's generation into a ttft span (stream start -> first text|reasoning token) and a decode span (first token -> stream end), children of the step span. decode = generation total - TTFT; both retrievable from the trace-store. First token counts reasoning deltas; a step with no content token ends ttft with firstToken:false (no misleading decode). Span-based (no clock injection), no wire/contract change. +3 runtime tests. GLOSSARY: TTFT + decode time. typecheck clean; 512 vitest; biome 0/0.
Diffstat (limited to 'packages/tool-shell/src/shell.ts')
0 files changed, 0 insertions, 0 deletions