{"path":"client/launch.mjs","version":2,"newest":2,"draft":"login-timeout","agent":null,"exists":true,"lines":[{"n":1,"text":"// Runs abso from a git checkout of it and keeps that checkout current.","author":"speed","version":38},{"n":2,"text":"//","author":"speed","version":38},{"n":3,"text":"// Point a command at this file (node <checkout>/client/launch.mjs <args>) and it:","author":"speed","version":38},{"n":4,"text":"// - runs the client: a plain-JS bundle of it in this process when one matches the checkout's commit,","author":"speed","version":38},{"n":5,"text":"//   otherwise client/abso.ts in a second node. Node strips types from every client file on every run,","author":"speed","version":38},{"n":6,"text":"//   so the bundle starts several times faster;","author":"speed","version":38},{"n":7,"text":"// - at most every 5 minutes, and within 30 seconds of a stale bundle, starts a background step that","author":"speed","version":38},{"n":8,"text":"//   fast-forwards the checkout (on main only), runs npm install when package-lock.json changed, and","author":"speed","version":38},{"n":9,"text":"//   builds the bundle. That step never blocks or fails the command, and only one runs at a time.","author":"speed","version":38},{"n":10,"text":"//","author":"speed","version":38},{"n":11,"text":"// stdin, stdout, stderr, the arguments and the exit code pass through untouched: the exit codes carry","author":"speed","version":38},{"n":12,"text":"// meaning (2 refused, 3 still queued). The launcher's own notices go only to ~/.abso/launcher.log.","author":"speed","version":38},{"n":13,"text":"//","author":"speed","version":38},{"n":14,"text":"// The bundle is client/dist/abso.mjs, with the commit it was built from in client/dist/abso.mjs.commit.","author":"speed","version":38},{"n":15,"text":"// It sits one folder under client/, so the client's own folder (client-version.ts) is still client/.","author":"speed","version":38},{"n":16,"text":"// It is built with esbuild when the checkout has it (in worker/ or at the root): bundled, for node24,","author":"speed","version":38},{"n":17,"text":"// as an ES module, with no build commit stamped in, since a stamped client calls itself a downloaded","author":"speed","version":38},{"n":18,"text":"// copy. It is built to a temporary file and renamed into place, and marked current only after every","author":"speed","version":38},{"n":19,"text":"// require left in it resolves and it runs --version. If it still fails to load, the same run falls","author":"speed","version":38},{"n":20,"text":"// back to client/abso.ts and writes one line to the log, so edit hooks keep recording.","author":"speed","version":38},{"n":21,"text":"//","author":"speed","version":38},{"n":22,"text":"// Plain JS on purpose: this file is loaded on every command, before any bundle.","author":"speed","version":38},{"n":23,"text":"import { execFileSync, spawn } from \"node:child_process\";","author":"speed","version":38},{"n":24,"text":"import { appendFileSync, mkdirSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from \"node:fs\";","author":"speed","version":38},{"n":25,"text":"import { createRequire } from \"node:module\";","author":"speed","version":38},{"n":26,"text":"import { homedir } from \"node:os\";","author":"speed","version":38},{"n":27,"text":"import { dirname, join, resolve } from \"node:path\";","author":"speed","version":42},{"n":28,"text":"import { fileURLToPath, pathToFileURL } from \"node:url\";","author":"speed","version":38},{"n":29,"text":"","author":"speed","version":38},{"n":30,"text":"const repo = dirname(dirname(fileURLToPath(import.meta.url)));","author":"speed","version":38},{"n":31,"text":"const state = join(homedir(), \".abso\");","author":"speed","version":38},{"n":32,"text":"const stamp = join(state, \"client-update.stamp\");","author":"speed","version":38},{"n":33,"text":"const every = 5 * 60 * 1000;","author":"speed","version":38},{"n":34,"text":"const bundle = join(repo, \"client\", \"dist\", \"abso.mjs\");","author":"speed","version":38},{"n":35,"text":"const bundleCommit = `${bundle}.commit`;","author":"speed","version":38},{"n":36,"text":"/** Set on the background step's own node, which updates the checkout and exits. */","author":"speed","version":38},{"n":37,"text":"const UPDATE = \"ABSO_LAUNCH_UPDATE\";","author":"speed","version":38},{"n":38,"text":"/** Set by the bundle's first line: an error after it came from the command, so it's never run again. */","author":"speed","version":38},{"n":39,"text":"const STARTED = \"__absoBundleStarted\";","author":"speed","version":38},{"n":40,"text":"","author":"speed","version":38},{"n":41,"text":"/**","author":"speed","version":42},{"n":42,"text":" * The checkout's git folders: its own (HEAD) and the shared one (refs, info/exclude). They are the same","author":"speed","version":42},{"n":43,"text":" * folder in a plain clone; in a worktree .git is a file naming its own folder, which names the shared one.","author":"speed","version":42},{"n":44,"text":" */","author":"speed","version":42},{"n":45,"text":"function gitDirs(root = repo) {","author":"speed","version":42},{"n":46,"text":"\tconst dot = join(root, \".git\");","author":"speed","version":42},{"n":47,"text":"\ttry {","author":"speed","version":42},{"n":48,"text":"\t\tif (statSync(dot).isDirectory()) return { own: dot, common: dot };","author":"speed","version":42},{"n":49,"text":"\t\tconst own = resolve(","author":"speed","version":42},{"n":50,"text":"\t\t\troot,","author":"speed","version":42},{"n":51,"text":"\t\t\treadFileSync(dot, \"utf8\")","author":"speed","version":42},{"n":52,"text":"\t\t\t\t.trim()","author":"speed","version":42},{"n":53,"text":"\t\t\t\t.replace(/^gitdir:\\s*/, \"\"),","author":"speed","version":42},{"n":54,"text":"\t\t);","author":"speed","version":42},{"n":55,"text":"\t\tlet common = own;","author":"speed","version":42},{"n":56,"text":"\t\ttry {","author":"speed","version":42},{"n":57,"text":"\t\t\tcommon = resolve(own, readFileSync(join(own, \"commondir\"), \"utf8\").trim());","author":"speed","version":42},{"n":58,"text":"\t\t} catch {}","author":"speed","version":42},{"n":59,"text":"\t\treturn { own, common };","author":"speed","version":42},{"n":60,"text":"\t} catch {","author":"speed","version":42},{"n":61,"text":"\t\treturn undefined;","author":"speed","version":42},{"n":62,"text":"\t}","author":"speed","version":42},{"n":63,"text":"}","author":"speed","version":42},{"n":64,"text":"","author":"speed","version":42},{"n":65,"text":"/** The checkout's commit, read from .git without running git; undefined if it can't be read. */","author":"speed","version":38},{"n":66,"text":"function headCommit(root = repo) {","author":"speed","version":38},{"n":67,"text":"\tconst dirs = gitDirs(root);","author":"speed","version":42},{"n":68,"text":"\tif (!dirs) return undefined;","author":"speed","version":42},{"n":69,"text":"\ttry {","author":"speed","version":38},{"n":70,"text":"\t\tconst head = readFileSync(join(dirs.own, \"HEAD\"), \"utf8\").trim();","author":"speed","version":42},{"n":71,"text":"\t\tif (!head.startsWith(\"ref:\")) return head;","author":"speed","version":38},{"n":72,"text":"\t\tconst ref = head.slice(4).trim();","author":"speed","version":38},{"n":73,"text":"\t\tfor (const dir of [dirs.own, dirs.common]) {","author":"speed","version":42},{"n":74,"text":"\t\t\ttry {","author":"speed","version":42},{"n":75,"text":"\t\t\t\treturn readFileSync(join(dir, ...ref.split(\"/\")), \"utf8\").trim();","author":"speed","version":42},{"n":76,"text":"\t\t\t} catch {}","author":"speed","version":42},{"n":77,"text":"\t\t}","author":"speed","version":38},{"n":78,"text":"\t\tconst line = readFileSync(join(dirs.common, \"packed-refs\"), \"utf8\")","author":"speed","version":42},{"n":79,"text":"\t\t\t.split(\"\\n\")","author":"speed","version":42},{"n":80,"text":"\t\t\t.find((l) => l.endsWith(` ${ref}`));","author":"speed","version":42},{"n":81,"text":"\t\treturn line?.split(\" \")[0];","author":"speed","version":42},{"n":82,"text":"\t} catch {","author":"speed","version":38},{"n":83,"text":"\t\treturn undefined;","author":"speed","version":38},{"n":84,"text":"\t}","author":"speed","version":38},{"n":85,"text":"}","author":"speed","version":38},{"n":86,"text":"","author":"speed","version":38},{"n":87,"text":"/**","author":"speed","version":42},{"n":88,"text":" * Runs fn under a lock folder, or not at all when another run holds it. A lock older than 10 minutes is a","author":"speed","version":42},{"n":89,"text":" * dead run's: it is renamed aside before it's removed, so of two runs that find it stale only one takes it","author":"speed","version":42},{"n":90,"text":" * over, and one that renamed away a lock taken over a moment ago puts it back.","author":"speed","version":42},{"n":91,"text":" */","author":"speed","version":42},{"n":92,"text":"function locked(lock, fn) {","author":"speed","version":38},{"n":93,"text":"\tconst stale = (path) => Date.now() - statSync(path).mtimeMs > 10 * 60 * 1000;","author":"speed","version":42},{"n":94,"text":"\ttry {","author":"speed","version":38},{"n":95,"text":"\t\tif (stale(lock)) {","author":"speed","version":42},{"n":96,"text":"\t\t\tconst aside = `${lock}.${process.pid}.stale`;","author":"speed","version":42},{"n":97,"text":"\t\t\trenameSync(lock, aside);","author":"speed","version":42},{"n":98,"text":"\t\t\tif (stale(aside)) rmSync(aside, { recursive: true, force: true });","author":"speed","version":42},{"n":99,"text":"\t\t\telse {","author":"speed","version":42},{"n":100,"text":"\t\t\t\trenameSync(aside, lock);","author":"speed","version":42},{"n":101,"text":"\t\t\t\treturn;","author":"speed","version":42},{"n":102,"text":"\t\t\t}","author":"speed","version":42},{"n":103,"text":"\t\t}","author":"speed","version":42},{"n":104,"text":"\t} catch {}","author":"speed","version":38},{"n":105,"text":"\ttry {","author":"speed","version":38},{"n":106,"text":"\t\tmkdirSync(lock);","author":"speed","version":38},{"n":107,"text":"\t} catch {","author":"speed","version":38},{"n":108,"text":"\t\treturn;","author":"speed","version":38},{"n":109,"text":"\t}","author":"speed","version":38},{"n":110,"text":"\ttry {","author":"speed","version":38},{"n":111,"text":"\t\tfn();","author":"speed","version":38},{"n":112,"text":"\t} finally {","author":"speed","version":38},{"n":113,"text":"\t\trmSync(lock, { recursive: true, force: true });","author":"speed","version":38},{"n":114,"text":"\t}","author":"speed","version":38},{"n":115,"text":"}","author":"speed","version":38},{"n":116,"text":"","author":"speed","version":38},{"n":117,"text":"/** One line in the launcher's log, never on the command's own output. */","author":"speed","version":38},{"n":118,"text":"function note(text) {","author":"speed","version":38},{"n":119,"text":"\ttry {","author":"speed","version":38},{"n":120,"text":"\t\tmkdirSync(state, { recursive: true });","author":"speed","version":38},{"n":121,"text":"\t\tappendFileSync(join(state, \"launcher.log\"), `${new Date().toISOString()} abso launch: ${text}\\n`);","author":"speed","version":38},{"n":122,"text":"\t} catch {}","author":"speed","version":38},{"n":123,"text":"}","author":"speed","version":38},{"n":124,"text":"","author":"speed","version":38},{"n":125,"text":"/**","author":"speed","version":38},{"n":126,"text":" * The background step, one at a time under a lock (a second one finds it taken and exits): fast-forward,","author":"speed","version":38},{"n":127,"text":" * install when the lock file moved, then the bundle.","author":"speed","version":38},{"n":128,"text":" */","author":"speed","version":38},{"n":129,"text":"function update() {","author":"speed","version":38},{"n":130,"text":"\tconst git = (...a) => execFileSync(\"git\", [\"-C\", repo, ...a], { encoding: \"utf8\", windowsHide: true });","author":"speed","version":38},{"n":131,"text":"\tmkdirSync(state, { recursive: true });","author":"speed","version":38},{"n":132,"text":"\tlocked(join(state, \"client-update.lock\"), () => {","author":"speed","version":38},{"n":133,"text":"\t\ttry {","author":"speed","version":38},{"n":134,"text":"\t\t\tif (git(\"branch\", \"--show-current\").trim() === \"main\") {","author":"speed","version":38},{"n":135,"text":"\t\t\t\tconst before = git(\"rev-parse\", \"HEAD\").trim();","author":"speed","version":38},{"n":136,"text":"\t\t\t\tgit(\"fetch\", \"-q\", \"origin\", \"main\");","author":"speed","version":38},{"n":137,"text":"\t\t\t\tgit(\"merge\", \"-q\", \"--ff-only\", \"origin/main\");","author":"speed","version":38},{"n":138,"text":"\t\t\t\tif (git(\"diff\", \"--name-only\", before, \"HEAD\", \"--\", \"package-lock.json\").trim())","author":"speed","version":38},{"n":139,"text":"\t\t\t\t\texecFileSync(\"npm\", [\"install\", \"--no-audit\", \"--no-fund\"], {","author":"speed","version":38},{"n":140,"text":"\t\t\t\t\t\tcwd: repo,","author":"speed","version":38},{"n":141,"text":"\t\t\t\t\t\tstdio: \"ignore\",","author":"speed","version":38},{"n":142,"text":"\t\t\t\t\t\twindowsHide: true,","author":"speed","version":38},{"n":143,"text":"\t\t\t\t\t\tshell: true,","author":"speed","version":38},{"n":144,"text":"\t\t\t\t\t});","author":"speed","version":38},{"n":145,"text":"\t\t\t}","author":"speed","version":38},{"n":146,"text":"\t\t} catch {}","author":"speed","version":38},{"n":147,"text":"\t\ttry {","author":"speed","version":38},{"n":148,"text":"\t\t\tbuild(git(\"rev-parse\", \"HEAD\").trim());","author":"speed","version":38},{"n":149,"text":"\t\t} catch (e) {","author":"speed","version":38},{"n":150,"text":"\t\t\tnote(`the bundle wasn't built (${String(e?.message).split(\"\\n\")[0]}); client/abso.ts runs until it is`);","author":"speed","version":38},{"n":151,"text":"\t\t}","author":"speed","version":38},{"n":152,"text":"\t});","author":"speed","version":38},{"n":153,"text":"}","author":"speed","version":38},{"n":154,"text":"","author":"speed","version":38},{"n":155,"text":"/** Builds the bundle for this commit, unless it's already current or the checkout has no esbuild. */","author":"speed","version":38},{"n":156,"text":"function build(head) {","author":"speed","version":38},{"n":157,"text":"\ttry {","author":"speed","version":38},{"n":158,"text":"\t\tif (readFileSync(bundleCommit, \"utf8\").trim() === head) return;","author":"speed","version":38},{"n":159,"text":"\t} catch {}","author":"speed","version":38},{"n":160,"text":"\tconst require = createRequire(import.meta.url);","author":"speed","version":38},{"n":161,"text":"\tlet esbuild;","author":"speed","version":38},{"n":162,"text":"\ttry {","author":"speed","version":38},{"n":163,"text":"\t\tesbuild = require(require.resolve(\"esbuild\", { paths: [join(repo, \"worker\"), repo] }));","author":"speed","version":38},{"n":164,"text":"\t} catch {","author":"speed","version":38},{"n":165,"text":"\t\treturn;","author":"speed","version":38},{"n":166,"text":"\t}","author":"speed","version":38},{"n":167,"text":"\tconst exclude = join(gitDirs()?.common ?? join(repo, \".git\"), \"info\", \"exclude\");","author":"speed","version":42},{"n":168,"text":"\ttry {","author":"speed","version":38},{"n":169,"text":"\t\tif (!readFileSync(exclude, \"utf8\").split(/\\r?\\n/).includes(\"client/dist/\"))","author":"speed","version":38},{"n":170,"text":"\t\t\tappendFileSync(exclude, \"\\nclient/dist/\\n\");","author":"speed","version":38},{"n":171,"text":"\t} catch {}","author":"speed","version":38},{"n":172,"text":"\tmkdirSync(dirname(bundle), { recursive: true });","author":"speed","version":38},{"n":173,"text":"\tconst tmp = bundle.replace(/\\.mjs$/, `.${process.pid}.tmp.mjs`);","author":"speed","version":38},{"n":174,"text":"\ttry {","author":"speed","version":38},{"n":175,"text":"\t\tesbuild.buildSync({","author":"speed","version":38},{"n":176,"text":"\t\t\tentryPoints: [join(repo, \"client\", \"abso.ts\")],","author":"speed","version":38},{"n":177,"text":"\t\t\tbundle: true,","author":"speed","version":38},{"n":178,"text":"\t\t\tplatform: \"node\",","author":"speed","version":38},{"n":179,"text":"\t\t\tformat: \"esm\",","author":"speed","version":38},{"n":180,"text":"\t\t\ttarget: \"node24\",","author":"speed","version":38},{"n":181,"text":"\t\t\toutfile: tmp,","author":"speed","version":38},{"n":182,"text":"\t\t\tlogLevel: \"silent\",","author":"speed","version":38},{"n":183,"text":"\t\t\t// A bundled CommonJS package (yaml) calls require(\"process\") lazily, which an ES module","author":"speed","version":38},{"n":184,"text":"\t\t\t// bundle can't do without a real require. The flag says the bundle started running.","author":"speed","version":38},{"n":185,"text":"\t\t\tbanner: {","author":"speed","version":38},{"n":186,"text":"\t\t\t\tjs: `globalThis.${STARTED} = true; import { createRequire as __absoCreateRequire } from \"node:module\"; const require = __absoCreateRequire(import.meta.url);`,","author":"speed","version":38},{"n":187,"text":"\t\t\t},","author":"speed","version":38},{"n":188,"text":"\t\t});","author":"speed","version":38},{"n":189,"text":"\t\tconst from = createRequire(bundle);","author":"speed","version":38},{"n":190,"text":"\t\tfor (const m of readFileSync(tmp, \"utf8\").matchAll(/__require\\(\"([^\"]+)\"\\)/g)) from.resolve(m[1]);","author":"speed","version":38},{"n":191,"text":"\t\texecFileSync(process.execPath, [tmp, \"--version\"], { cwd: repo, stdio: \"ignore\", windowsHide: true });","author":"speed","version":38},{"n":192,"text":"\t\trenameSync(tmp, bundle);","author":"speed","version":38},{"n":193,"text":"\t\twriteFileSync(bundleCommit, `${head}\\n`);","author":"speed","version":38},{"n":194,"text":"\t} finally {","author":"speed","version":38},{"n":195,"text":"\t\trmSync(tmp, { force: true });","author":"speed","version":38},{"n":196,"text":"\t}","author":"speed","version":38},{"n":197,"text":"}","author":"speed","version":38},{"n":198,"text":"","author":"speed","version":38},{"n":199,"text":"/** Runs client/abso.ts in a second node, and exits with its code. */","author":"speed","version":38},{"n":200,"text":"function runTs() {","author":"speed","version":38},{"n":201,"text":"\tconst child = spawn(process.execPath, [join(repo, \"client\", \"abso.ts\"), ...process.argv.slice(2)], {","author":"speed","version":38},{"n":202,"text":"\t\tstdio: \"inherit\",","author":"speed","version":38},{"n":203,"text":"\t});","author":"speed","version":38},{"n":204,"text":"\tchild.on(\"exit\", (code, signal) => process.exit(code ?? (signal ? 1 : 0)));","author":"speed","version":38},{"n":205,"text":"}","author":"speed","version":38},{"n":206,"text":"","author":"speed","version":38},{"n":207,"text":"/** Starts the background step when it's due: every 5 minutes, or within 30 seconds of a stale bundle. */","author":"speed","version":38},{"n":208,"text":"function maybeUpdate(fresh) {","author":"speed","version":38},{"n":209,"text":"\ttry {","author":"speed","version":38},{"n":210,"text":"\t\tlet last = 0;","author":"speed","version":38},{"n":211,"text":"\t\ttry {","author":"speed","version":38},{"n":212,"text":"\t\t\tlast = statSync(stamp).mtimeMs;","author":"speed","version":38},{"n":213,"text":"\t\t} catch {}","author":"speed","version":38},{"n":214,"text":"\t\tif (Date.now() - last <= (fresh ? every : 30_000)) return;","author":"speed","version":38},{"n":215,"text":"\t\tmkdirSync(state, { recursive: true });","author":"speed","version":38},{"n":216,"text":"\t\twriteFileSync(stamp, `${new Date().toISOString()}\\n`);","author":"speed","version":38},{"n":217,"text":"\t\tspawn(process.execPath, [fileURLToPath(import.meta.url)], {","author":"speed","version":38},{"n":218,"text":"\t\t\tdetached: true,","author":"speed","version":38},{"n":219,"text":"\t\t\tstdio: \"ignore\",","author":"speed","version":38},{"n":220,"text":"\t\t\twindowsHide: true,","author":"speed","version":38},{"n":221,"text":"\t\t\tenv: { ...process.env, [UPDATE]: \"1\" },","author":"speed","version":38},{"n":222,"text":"\t\t}).unref();","author":"speed","version":38},{"n":223,"text":"\t} catch {}","author":"speed","version":38},{"n":224,"text":"}","author":"speed","version":38},{"n":225,"text":"","author":"speed","version":38},{"n":226,"text":"/** The command: the bundle when it matches the checkout, else client/abso.ts. */","author":"speed","version":38},{"n":227,"text":"async function run() {","author":"speed","version":38},{"n":228,"text":"\tconst head = headCommit();","author":"speed","version":38},{"n":229,"text":"\tlet fresh = false;","author":"speed","version":38},{"n":230,"text":"\ttry {","author":"speed","version":38},{"n":231,"text":"\t\tfresh = head !== undefined && readFileSync(bundleCommit, \"utf8\").trim() === head;","author":"speed","version":38},{"n":232,"text":"\t} catch {}","author":"speed","version":38},{"n":233,"text":"\tmaybeUpdate(fresh);","author":"speed","version":38},{"n":234,"text":"\tif (!fresh) return runTs();","author":"speed","version":38},{"n":235,"text":"\t// In this process: the client reads its arguments from process.argv, as if run as `node client/dist/abso.mjs`.","author":"speed","version":38},{"n":236,"text":"\tconst args = process.argv;","author":"speed","version":38},{"n":237,"text":"\tprocess.argv = [args[0], bundle, ...args.slice(2)];","author":"speed","version":38},{"n":238,"text":"\ttry {","author":"speed","version":38},{"n":239,"text":"\t\tawait import(pathToFileURL(bundle).href);","author":"speed","version":38},{"n":240,"text":"\t} catch (e) {","author":"speed","version":38},{"n":241,"text":"\t\t// Only a bundle that never started falls back: one that can't be found or parsed, or imports","author":"speed","version":38},{"n":242,"text":"\t\t// something missing. Anything else came from the command itself, which the .ts would repeat.","author":"speed","version":38},{"n":243,"text":"\t\tconst code = e?.code;","author":"speed","version":38},{"n":244,"text":"\t\tconst loading =","author":"speed","version":38},{"n":245,"text":"\t\t\te instanceof SyntaxError || code === \"ERR_MODULE_NOT_FOUND\" || code === \"ERR_UNSUPPORTED_ESM_URL_SCHEME\";","author":"speed","version":38},{"n":246,"text":"\t\tif (!loading || globalThis[STARTED] === true) throw e;","author":"speed","version":38},{"n":247,"text":"\t\tnote(`the bundle didn't load (${code ?? e?.name}: ${String(e?.message).split(\"\\n\")[0]}), ran client/abso.ts`);","author":"speed","version":38},{"n":248,"text":"\t\tprocess.argv = args;","author":"speed","version":38},{"n":249,"text":"\t\trunTs();","author":"speed","version":38},{"n":250,"text":"\t}","author":"speed","version":38},{"n":251,"text":"}","author":"speed","version":38},{"n":252,"text":"","author":"speed","version":38},{"n":253,"text":"if (process.env[UPDATE] === \"1\") update();","author":"speed","version":38},{"n":254,"text":"else await run();","author":"speed","version":38}],"authors":[{"agent":"speed","lines":254}],"older":null,"followed":null,"life":{"versions":0,"last":null,"made":null,"removed":null,"next":null},"since":null,"paths":[".absoignore",".gitignore","LICENSE","README.md","abso.json","biome.json","client/.claude-plugin/plugin.json","client/README.md","client/abso.ts","client/avcs.ts","client/hooks/hooks.json","client/hooks/register.test.ts","client/hooks/register.ts","client/hooks/stamp.ts","client/install-mod.ts","client/install-view.ts","client/launch.mjs","client/scripts/import-git.ts","client/skills/abso/SKILL.md","client/src/announce.ts","client/src/api-answers.ts","client/src/api-error.ts","client/src/api.ts","client/src/args.ts","client/src/at.ts","client/src/blobs.ts","client/src/body-files.ts","client/src/box-commands.ts","client/src/box-run.ts","client/src/box.ts","client/src/changes.ts","client/src/check-ignore.ts","client/src/ci-answers.ts","client/src/ci.ts","client/src/clean-files.ts","client/src/client-version.ts","client/src/collision-text.ts","client/src/command-env.ts","client/src/commands.ts","client/src/config.ts","client/src/core.ts","client/src/diff.ts","client/src/drafts.ts","client/src/env-names.ts","client/src/export.ts","client/src/fetch.ts","client/src/folder.ts","client/src/history-answers.ts","client/src/history.ts","client/src/hook.ts","client/src/install.ts","client/src/issues-wire.ts","client/src/issues.ts","client/src/join-commands.ts","client/src/key-admin.ts","client/src/lock.ts","client/src/main.ts","client/src/mcp.ts","client/src/modes.ts","client/src/orgs.ts","client/src/pipeline-commands.ts","client/src/project-file.ts","client/src/publish-commands.ts","client/src/queue.ts","client/src/review.ts","client/src/safety.ts","client/src/serve-commands.ts","client/src/settle.ts","client/src/skill.ts","client/src/state-dir.ts","client/src/status-commands.ts","client/src/tar.ts","client/src/times.ts","client/src/versions.ts","client/src/visibility-commands.ts","client/test-mods.ts","client/test/attach.test.ts","client/test/body-files.test.ts","client/test/box.test.ts","client/test/client.test.ts","client/test/diff.test.ts","client/test/env-names.test.ts","client/test/error-sentence.test.ts","client/test/fake-server.ts","client/test/ignore.test.ts","client/test/imported-history.test.ts","client/test/install.test.ts","client/test/issues.test.ts","client/test/key-admin.test.ts","client/test/key.test.ts","client/test/launch.test.ts","client/test/new-folder-dir.test.ts","client/test/orgs.test.ts","client/test/pipeline-commands.test.ts","client/test/queue-waiting.test.ts","client/test/setup.ts","client/test/skill.test.ts","client/test/times.test.ts","client/view/.claude-plugin/plugin.json","client/view/hooks/hooks.json","client/view/hooks/register.test.ts","client/view/hooks/register.tsx","client/view/hooks/stamp.ts","client/view/types/index.d.ts","package-lock.json","package.json","src/engine/build.ts","src/engine/conflicts.ts","src/engine/graph.ts","src/engine/index.ts","src/engine/keys.ts","src/engine/labels.ts","src/engine/sets.ts","src/engine/test/build.test.ts","src/engine/test/concurrent.test.ts","src/engine/test/conflicts.test.ts","src/engine/test/gen.ts","src/engine/test/graph.test.ts","src/engine/test/helpers.ts","src/engine/test/moves.test.ts","src/engine/test/properties.test.ts","src/engine/test/scenarios.test.ts","src/engine/test/sets.test.ts","src/engine/test/text.test.ts","src/engine/test/view.test.ts","src/engine/text.ts","src/engine/types.ts","src/engine/view.ts","src/gitview/errors.ts","src/gitview/index.ts","src/gitview/ingest.ts","src/gitview/plain.ts","src/gitview/test/helpers.ts","src/gitview/test/ingest.test.ts","src/gitview/test/random.test.ts","src/gitview/test/view.test.ts","src/gitview/trailers.ts","src/gitview/tree.ts","src/gitview/view.ts","src/pipeline/pipeline.ts","src/pipeline/plan.ts","src/pipeline/test/pipeline.test.ts","src/pipeline/test/plan.test.ts","tsconfig.json","worker/project/add-draft.ts","worker/project/amend.ts","worker/project/announce.ts","worker/project/apply-entry.ts","worker/project/blame.ts","worker/project/change-records.ts","worker/project/changes-since.ts","worker/project/check-clash.ts","worker/project/collisions.ts","worker/project/definition-rule.ts","worker/project/definitions.ts","worker/project/draft-collisions.ts","worker/project/draft-diff.ts","worker/project/draft-state.ts","worker/project/drop.ts","worker/project/edit.ts","worker/project/express-moves.ts","worker/project/feed.ts","worker/project/globs.ts","worker/project/history.ts","worker/project/http.ts","worker/project/ingest.ts","worker/project/init.ts","worker/project/label.ts","worker/project/land.ts","worker/project/markers.ts","worker/project/memory-store.ts","worker/project/merge-identical.ts","worker/project/move.ts","worker/project/names.ts","worker/project/news.ts","worker/project/notes.ts","worker/project/overlaps.ts","worker/project/path-rules.ts","worker/project/pathindex.ts","worker/project/pathkey.ts","worker/project/pluck.ts","worker/project/project-api.ts","worker/project/project-error.ts","worker/project/project-helpers.ts","worker/project/project-status.ts","worker/project/project-types.ts","worker/project/project.ts","worker/project/publish-of.ts","worker/project/publish.ts","worker/project/queue-driver.ts","worker/project/queue.ts","worker/project/record-file.ts","worker/project/record.ts","worker/project/refuse.ts","worker/project/restore.ts","worker/project/spaces.ts","worker/project/spelling.ts","worker/project/start.ts","worker/project/switch-to.ts","worker/project/sync.ts","worker/project/test/announce-person.test.ts","worker/project/test/appends.test.ts","worker/project/test/attributes.test.ts","worker/project/test/bench.ts","worker/project/test/blobs.test.ts","worker/project/test/changed-definition.test.ts","worker/project/test/changes.test.ts","worker/project/test/definitions.test.ts","worker/project/test/draft-files-kept.test.ts","worker/project/test/drop.test.ts","worker/project/test/files-reads.test.ts","worker/project/test/history.test.ts","worker/project/test/ingest.test.ts","worker/project/test/issues.test.ts","worker/project/test/labels.test.ts","worker/project/test/markers.test.ts","worker/project/test/merge.test.ts","worker/project/test/moves.test.ts","worker/project/test/named-drafts.test.ts","worker/project/test/news-times.test.ts","worker/project/test/notes.test.ts","worker/project/test/order.test.ts","worker/project/test/paths.test.ts","worker/project/test/pluck.test.ts","worker/project/test/project-file.test.ts","worker/project/test/project.test.ts","worker/project/test/queue-driver.test.ts","worker/project/test/queue.test.ts","worker/project/test/queued-moves.test.ts","worker/project/test/review-fixes.test.ts","worker/project/test/reviewers.test.ts","worker/project/test/same-line.test.ts","worker/project/test/spelling-clash.test.ts","worker/project/test/spelling.test.ts","worker/project/test/starting.test.ts","worker/project/test/tells.test.ts","worker/project/test/whole.test.ts","worker/project/tree.ts","worker/project/version-log.ts","worker/project/version-meta.ts","worker/project/view-changes.ts","worker/project/views.ts","worker/project/where.ts","worker/project/whole-files.ts"],"working":{"version":318,"agents":[]},"agentChanges":[],"overlaps":null}