- Generate and rename temporary `t3code/*` worktree branches on first user turn in `ProviderCommandReactor` - Remove websocket/client branch-generation RPCs and related contract/API surface - Update Codex text-generation prompt to include attachment metadata only when attachments exist, with expanded tests
Showing the changes to apps/server/src/serverLayers.ts (1 of 12 files). Show all
Unified · Split
| @@ -56,6 +56,9 @@ export function makeServerProviderLayer(): Layer.Layer< · 55 unmodified lines | ||
| 56 | 56 | } |
| 57 | 57 | |
| 58 | 58 | export function makeServerRuntimeServicesLayer() { |
| 59 | + const gitCoreLayer = GitCoreLive.pipe(Layer.provideMerge(GitServiceLive)); | |
| 60 | + const textGenerationLayer = CodexTextGenerationLive; | |
| 61 | + | |
| 59 | 62 | const orchestrationLayer = OrchestrationEngineLive.pipe( |
| 60 | 63 | Layer.provide(OrchestrationProjectionPipelineLive), |
| 61 | 64 | Layer.provide(OrchestrationEventStoreLive), |
| @@ -78,6 +81,8 @@ export function makeServerRuntimeServicesLayer() { · 16 unmodified lines | ||
| 78 | 81 | ); |
| 79 | 82 | const providerCommandReactorLayer = ProviderCommandReactorLive.pipe( |
| 80 | 83 | Layer.provideMerge(runtimeServicesLayer), |
| 84 | + Layer.provideMerge(gitCoreLayer), | |
| 85 | + Layer.provideMerge(textGenerationLayer), | |
| 81 | 86 | ); |
| 82 | 87 | const checkpointReactorLayer = CheckpointReactorLive.pipe( |
| 83 | 88 | Layer.provideMerge(runtimeServicesLayer), |
| @@ -92,12 +97,10 @@ export function makeServerRuntimeServicesLayer() { · 8 unmodified lines | ||
| 92 | 97 | Layer.provide(typeof Bun !== "undefined" ? BunPtyAdapterLive : NodePtyAdapterLive), |
| 93 | 98 | ); |
| 94 | 99 | |
| 95 | − const gitCoreLayer = GitCoreLive.pipe(Layer.provideMerge(GitServiceLive)); | |
| 96 | − | |
| 97 | 100 | const gitManagerLayer = GitManagerLive.pipe( |
| 98 | 101 | Layer.provideMerge(gitCoreLayer), |
| 99 | 102 | Layer.provideMerge(GitHubCliLive), |
| 100 | − Layer.provideMerge(CodexTextGenerationLive), | |
| 103 | + Layer.provideMerge(textGenerationLayer), | |
| 101 | 104 | ); |
| 102 | 105 | |
| 103 | 106 | return Layer.mergeAll( |