@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 15 lines 715 Bytes
Raw
1 import { ORCHESTRATION_V2_WS_METHODS } from "@t3tools/contracts";
2 import { createOrchestrationEnvironmentAtoms } from "@t3tools/client-runtime/state/orchestration";
3 import { createEnvironmentRpcCommand } from "@t3tools/client-runtime/state/runtime";
4
5 import { connectionAtomRuntime } from "../connection/runtime";
6 import { environmentShell } from "./shell";
7
8 export const orchestrationEnvironment = createOrchestrationEnvironmentAtoms(connectionAtomRuntime, {
9 shellState: environmentShell.stateValueAtom,
10 });
11
12 export const threadTitlesRead = createEnvironmentRpcCommand(connectionAtomRuntime, {
13 label: "environment-data:orchestration:thread-titles-read",
14 tag: ORCHESTRATION_V2_WS_METHODS.getThreadTitles,
15 });