Skip to content
Source
Sign inSign up
pingdotgg/t3code

refactor(provider-core): follow the Effect service conventions throughout #17427

Mergedjuliusmarmingemerged 2 commits intot3/provider-model-catalog fromrefs/pull/17427/headmerged by juliusmarminge View on GitHub

Showing 107 changed files with 8 additions and 11 deletions (loading 104).

x
0 of 107 viewed, 107 left
3 additions and 6 deletionsapps/server/scripts/record-claude-agent-sdk-replay-fixture.tsModified
View file
@@ -10,10 +10,7 @@
CLAUDE_AGENT_SDK_REPLAY_PROTOCOL,
} from "../src/orchestration-v2/Adapters/ClaudeAdapterV2.testkit.ts";
import { claudeRuntimeQueryPolicyForRuntimePolicy } from "../src/orchestration-v2/Adapters/ClaudeAdapterV2.ts";
-import {
- ProviderAdapterV2RuntimePolicy,
- type ProviderAdapterV2RuntimePolicy as ProviderAdapterV2RuntimePolicyType,
-} from "@t3tools/provider-core/server/ProviderAdapter";
+import * as ProviderAdapter from "@t3tools/provider-core/server/ProviderAdapter";
import type { RuntimePolicyV2Override } from "../src/orchestration-v2/RuntimePolicy.ts";
import { makeCheckpointWorkspace } from "@t3tools/provider-testing/replayWorkspace";
import { CLAUDE_MODEL_SELECTION } from "../src/orchestration-v2/testkit/fixtures/shared.ts";
@@ -440,8 +437,8 @@
function runtimePolicyForRecording(input: {
readonly cwd: string;
readonly override?: RuntimePolicyV2Override;
-}): ProviderAdapterV2RuntimePolicyType {
- return ProviderAdapterV2RuntimePolicy.make({
+}): ProviderAdapter.ProviderAdapterV2RuntimePolicy {
+ return ProviderAdapter.ProviderAdapterV2RuntimePolicy.make({
runtimeMode: "full-access",
interactionMode: "default",
cwd: input.override?.cwd ?? input.cwd,
3 additions and 3 deletionsapps/server/scripts/record-grok-acp-replay-fixture.tsModified
View file
@@ -33,8 +33,8 @@
} from "@t3tools/provider-grok/testing";