@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 12 lines 529 Bytes
Raw
1 import type { EnvironmentId } from "@t3tools/contracts";
2 import { Atom } from "effect/reactivity";
3
4 /**
5 * A linked machine the add-environment screen opens for, with what the environment that links to
6 * it said about it. Set only by this app; a route names the machine and never supplies an address.
7 */
8 export const linkedEnvironmentPrefillAtom = Atom.make<{
9 readonly environmentId: EnvironmentId;
10 readonly label: string;
11 readonly host: string | null;
12 } | null>(null).pipe(Atom.withLabel("linked-environment-prefill"));