summaryrefslogtreecommitdiffhomepage
path: root/tsconfig.json
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-05 16:33:08 +0900
committerAdam Malczewski <[email protected]>2026-06-05 16:33:08 +0900
commit4fd658f9612a960c6b185e53fa52c064406dad4f (patch)
tree439a164ff6864578cda82622fe70715784ab168d /tsconfig.json
parent966caf74a75a6579a9a187ea3959dbe40d07164e (diff)
downloaddispatch-4fd658f9612a960c6b185e53fa52c064406dad4f.tar.gz
dispatch-4fd658f9612a960c6b185e53fa52c064406dad4f.zip
feat(observability): trace-replay — generic HTTP-exchange record/replay library (39 tests)
New standalone package @dispatch/trace-replay: replayFetch (pure — fixture -> fetch double + captured request, optional chunking to simulate streaming), recordFetch (tees a real fetch into a fixture WITHOUT consuming the caller's stream), and serialize/parse + save/load fixture I/O. Redaction-free by design: calling extensions self-redact in their OWN code before saving (isolation over DRY, D5/§9). Zero @dispatch/* deps, no bun:sqlite (runs under vitest). The shared unit realizing the §7/D5 replay affordance for hermetic provider tests; provider-openai-compat will consume it next. Root tsconfig ref wired. Verified: tsc -b clean, 327 vitest (288 -> +39: replay 12 / record 8 / fixture 19), biome 0/0. Agent stayed in lane (packages/trace-replay only).
Diffstat (limited to 'tsconfig.json')
-rw-r--r--tsconfig.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/tsconfig.json b/tsconfig.json
index a824844..b0fd70a 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -12,6 +12,7 @@
{ "path": "./packages/journal-sink" },
{ "path": "./packages/trace-store" },
{ "path": "./packages/observability-collector" },
+ { "path": "./packages/trace-replay" },
{ "path": "./packages/host-bin" }
]
}