Skip to content

Commit 5271535

Browse files
committed
fix(server): read the host platform through HostProcessPlatform
1 parent ab4ddea commit 5271535

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎apps/server/src/provider/Layers/ClaudeProvider.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import * as Path from "effect/Path";
1111
import * as Ref from "effect/Ref";
1212
import * as Result from "effect/Result";
1313
import { ChildProcess, ChildProcessSpawner } from "effect/unstable/process";
14+
import { HostProcessPlatform } from "@t3tools/shared/hostProcess";
1415
import { createModelCapabilities } from "@t3tools/shared/model";
1516
import { resolveSpawnCommand } from "@t3tools/shared/shell";
1617
import {
@@ -348,7 +349,7 @@ const probeClaudeCapabilities = (
348349
);
349350
const managedMcpConfigPath = claudeManagedMcpConfigPath(
350351
path,
351-
process.platform,
352+
yield* HostProcessPlatform,
352353
claudeEnvironment,
353354
);
354355
const enterpriseMcpConfigPresent =

0 commit comments

Comments
 (0)