@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 14 lines 613 Bytes
Raw
1 import * as Context from "effect/Context";
2 import type * as Stream from "effect/Stream";
3
4 import type { PlatformConnectionRegistration } from "../connection/catalog.ts";
5
6 export class PlatformConnectionSource extends Context.Service<
7 PlatformConnectionSource,
8 {
9 // Each emission is the full current set of platform-managed environments
10 // (the primary local environment plus any desktop-local backends running
11 // alongside it).
12 readonly registrations: Stream.Stream<ReadonlyArray<PlatformConnectionRegistration>>;
13 }
14 >()("@t3tools/client-runtime/platform/source/PlatformConnectionSource") {}