@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 27 lines 963 Bytes
Raw
1 import { describe } from "@effect/vitest";
2 import { FX_SUPPORTED_RUNTIME_MODES } from "@t3tools/provider-fx/testing";
3
4 import { FxOrchestratorReplayHarness } from "../Adapters/FxAdapterV2.testkit.ts";
5 import { providerRuntimeMode } from "../RuntimePolicy.ts";
6 import { itRunsReplayFixtures, runReplayFixture } from "./ProviderReplayFixtures.ts";
7
8 describe("fx replay fixtures", () => {
9 // Recorded where fx's snapshot offers no Full access (0.0.13), so a thread
10 // set to it runs as RuntimePolicy resolves it there: Supervised.
11 itRunsReplayFixtures("fx", (input) =>
12 runReplayFixture({
13 ...input,
14 buildInput: () => {
15 const fixtureInput = input.buildInput();
16 return {
17 ...fixtureInput,
18 runtimeMode: providerRuntimeMode(
19 fixtureInput.runtimeMode ?? "full-access",
20 FX_SUPPORTED_RUNTIME_MODES,
21 ),
22 };
23 },
24 harness: FxOrchestratorReplayHarness,
25 }),
26 );
27 });