@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 13 lines 468 Bytes
Raw
1 import type { EnvironmentId } from "@t3tools/contracts";
2
3 import { createAtomCommandScheduler, type AtomCommandConcurrency } from "./runtime.ts";
4
5 export const vcsCommandScheduler = createAtomCommandScheduler();
6
7 export const vcsCommandConcurrency: AtomCommandConcurrency<{
8 readonly environmentId: EnvironmentId;
9 readonly input: { readonly cwd: string };
10 }> = {
11 mode: "serial",
12 key: ({ environmentId, input }) => JSON.stringify([environmentId, input.cwd]),
13 };