File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ import { TestClock } from "effect/testing";
1313import * as Deferred from "effect/Deferred" ;
1414import * as Fiber from "effect/Fiber" ;
1515import * as Layer from "effect/Layer" ;
16- import * as Option from "effect/Option" ;
1716
1817import * as TerminalManager from "../terminal/Manager.ts" ;
1918import * as ServerSettings from "../serverSettings.ts" ;
@@ -73,7 +72,7 @@ it.effect("ReservedScript-overlappingStarts-reusesOwnerAndRetriesAfterCompletion
7372 Layer . provide (
7473 Layer . mergeAll (
7574 Layer . mock ( ProjectService . ProjectService ) ( {
76- getById : ( ) => Effect . succeed ( Option . some ( project ) ) ,
75+ getById : ( ) => Effect . succeedSome ( project ) ,
7776 } ) ,
7877 Layer . mock ( ProjectScriptPorts . ProjectScriptPorts ) ( {
7978 reserve : ( ) => Effect . succeed ( 43123 ) ,
@@ -403,7 +402,7 @@ const makeHarness = Effect.fn(function* (options: {
403402 terminals ,
404403 Layer . mock ( ProjectScriptPorts . ProjectScriptPorts ) ( { reserve : ( ) => Effect . succeed ( 43123 ) } ) ,
405404 Layer . mock ( ProjectService . ProjectService ) ( {
406- getById : ( ) => Effect . succeed ( Option . some ( project ) ) ,
405+ getById : ( ) => Effect . succeedSome ( project ) ,
407406 } ) ,
408407 ServerSettings . layerTest ( ) ,
409408 NodeCrypto . layer ,
Original file line number Diff line number Diff line change @@ -187,6 +187,7 @@ import * as DatabaseStorage from "./persistence/DatabaseStorage.ts";
187187import * as StorageCleanup from "./storageCleanup.ts" ;
188188import * as TerminalManager from "./terminal/Manager.ts" ;
189189import * as ProjectScriptPorts from "./project/ProjectScriptPorts.ts" ;
190+ import * as ProjectSetupScriptRunner from "./project/ProjectSetupScriptRunner.ts" ;
190191import { terminalOutputStream , withTerminalOutputWindow } from "./terminal/OutputProtocol.ts" ;
191192import * as PreviewAutomationBroker from "./mcp/PreviewAutomationBroker.ts" ;
192193import * as ServerBrowser from "./preview/ServerBrowser.ts" ;
@@ -1328,6 +1329,7 @@ export const layerWsRpc = (
13281329 const vcsStatusBroadcaster = yield * VcsStatusBroadcaster . VcsStatusBroadcaster ;
13291330 const terminalManager = yield * TerminalManager . TerminalManager ;
13301331 const projectScriptPorts = yield * ProjectScriptPorts . ProjectScriptPorts ;
1332+ const projectSetupScriptRunner = yield * ProjectSetupScriptRunner . ProjectSetupScriptRunner ;
13311333 const previewManager = yield * PreviewManager . PreviewManager ;
13321334 const portDiscovery = yield * PortScanner . PortDiscovery ;
13331335 const providerRegistry = yield * ProviderRegistry . ProviderRegistry ;
You can’t perform that action at this time.
0 commit comments