@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, 03:37 UTC

main
mjs 13 lines 230 Bytes
Raw
1 import * as Fs from "node:fs"
2
3 const source = ".agents/AGENTS.md"
4 const target = "AGENTS.md"
5
6 try {
7 Fs.lstatSync(target)
8 } catch (error) {
9 if (error?.code !== "ENOENT") {
10 throw error
11 }
12 Fs.symlinkSync(source, target)
13 }