The best way to control Claude Code, Codex and more from any computer or phone
| 1 | import * as Context from "effect/Context"; |
| 2 | |
| 3 | /** |
| 4 | * The images of the two Containers bound to each native Durable Object. |
| 5 | * `tools: undefined` drops the async Worker's `Tools` Container from its |
| 6 | * class (and leaves the Effect-native `NativeTools` without an image). |
| 7 | */ |
| 8 | export interface NativeImageSet { |
| 9 | readonly shell: string; |
| 10 | readonly tools: string | undefined; |
| 11 | } |
| 12 | |
| 13 | export const NativeImages = Context.Reference<NativeImageSet>("NativeImages", { |
| 14 | defaultValue: () => ({ shell: "alpine:3.21", tools: "alpine:3.20" }), |
| 15 | }); |