Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(opencode): expand home-relative executable paths #29326

Mergedvoltcrash(GitHub profile, opens in a new tab)merged 3 commits intomain fromrefs/pull/29326/headmerged by maria-rcks View on GitHub

Showing 2 changed files with 87 additions and 2 deletions.

x
0 of 2 viewed, 2 left
79 additions and 0 deletionspackages/provider-opencode/src/server/driver.test.tsModified
View file
@@ -18,6 +18,7 @@
import * as Effect from "effect/Effect";
import * as Duration from "effect/Duration";
import * as Fiber from "effect/Fiber";
+import * as FileSystem from "effect/FileSystem";
import * as Layer from "effect/Layer";
import * as Logger from "effect/Logger";
import * as References from "effect/References";
@@ -25,6 +26,7 @@
import * as TestClock from "effect/testing/TestClock";
import * as HttpClient from "effect/http/HttpClient";
import * as HttpClientResponse from "effect/http/HttpClientResponse";
+import * as FetchHttpClient from "effect/http/FetchHttpClient";
import * as ChildProcessSpawner from "effect/process/ChildProcessSpawner";
​
import * as ProviderLatestVersions from "@t3tools/provider-core/server/ProviderLatestVersions";
@@ -33,6 +35,7 @@
import * as ProviderEventLoggers from "@t3tools/provider-core/server/ProviderEventLoggers";
import * as ProviderMaintenance from "@t3tools/provider-core/server/maintenanceResolver";
import * as OpenCodeRuntime from "./OpenCodeRuntime.ts";
+import * as OpenCodeServerLedger from "./OpenCodeServerLedger.ts";
import { OPENCODE_2_RESPONSES, replayOpenCodeServer } from "./probeResponses.fixture.ts";
import { OpenCodeDriver, openCodeUpdateFor } from "./driver.ts";
import * as TestProviderHost from "@t3tools/provider-testing/TestProviderHost";
@@ -78,6 +81,82 @@
​
const noHttp = HttpClient.make(() => Effect.die("A local binary must not be probed over HTTP"));