- 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 | export function makeServerRuntimeServicesLayer() { | 58 | export function makeServerRuntimeServicesLayer() { |
| 59 | const gitCoreLayer = GitCoreLive.pipe(Layer.provideMerge(GitServiceLive)); | ||
| 60 | const textGenerationLayer = CodexTextGenerationLive; | ||
| 61 | |||
| 59 | const orchestrationLayer = OrchestrationEngineLive.pipe( | 62 | const orchestrationLayer = OrchestrationEngineLive.pipe( |
| 60 | Layer.provide(OrchestrationProjectionPipelineLive), | 63 | Layer.provide(OrchestrationProjectionPipelineLive), |
| 61 | Layer.provide(OrchestrationEventStoreLive), | 64 | Layer.provide(OrchestrationEventStoreLive), |
| @@ -78,6 +81,8 @@ export function makeServerRuntimeServicesLayer() { · 16 unmodified lines | |||
| 78 | ); | 81 | ); |
| 79 | const providerCommandReactorLayer = ProviderCommandReactorLive.pipe( | 82 | const providerCommandReactorLayer = ProviderCommandReactorLive.pipe( |
| 80 | Layer.provideMerge(runtimeServicesLayer), | 83 | Layer.provideMerge(runtimeServicesLayer), |
| 84 | Layer.provideMerge(gitCoreLayer), | ||
| 85 | Layer.provideMerge(textGenerationLayer), | ||
| 81 | ); | 86 | ); |
| 82 | const checkpointReactorLayer = CheckpointReactorLive.pipe( | 87 | const checkpointReactorLayer = CheckpointReactorLive.pipe( |
| 83 | Layer.provideMerge(runtimeServicesLayer), | 88 | Layer.provideMerge(runtimeServicesLayer), |
| @@ -92,12 +97,10 @@ export function makeServerRuntimeServicesLayer() { · 8 unmodified lines | |||
| 92 | Layer.provide(typeof Bun !== "undefined" ? BunPtyAdapterLive : NodePtyAdapterLive), | 97 | Layer.provide(typeof Bun !== "undefined" ? BunPtyAdapterLive : NodePtyAdapterLive), |
| 93 | ); | 98 | ); |
| 94 | 99 | ||
| 95 | const gitCoreLayer = GitCoreLive.pipe(Layer.provideMerge(GitServiceLive)); | ||
| 96 | |||
| 97 | const gitManagerLayer = GitManagerLive.pipe( | 100 | const gitManagerLayer = GitManagerLive.pipe( |
| 98 | Layer.provideMerge(gitCoreLayer), | 101 | Layer.provideMerge(gitCoreLayer), |
| 99 | Layer.provideMerge(GitHubCliLive), | 102 | Layer.provideMerge(GitHubCliLive), |
| 100 | Layer.provideMerge(CodexTextGenerationLive), | 103 | Layer.provideMerge(textGenerationLayer), |
| 101 | ); | 104 | ); |
| 102 | 105 | ||
| 103 | return Layer.mergeAll( | 106 | return Layer.mergeAll( |