writeSelection() emits the v1 state envelope (version, updated_at,
project_dir, device, selection{kind,name,path,abs_path}, viewer_line)
to <file>.<pid>.tmp then atomic-renames into place. mkdir -p the
parent, no .tmp left behind on success.
|
||
|---|---|---|
| .. | ||
| scripts | ||
| tui | ||
| bin.ts | ||
| detect.ts | ||
| headless.ts | ||
| inspect.ts | ||
| ipc.ts | ||
| launcher.ts | ||
| logger.ts | ||
| mirror-paths.ts | ||
| preflight.ts | ||
| script-manager.ts | ||
| server.ts | ||
| ssh-restart-runtime.ts | ||
| ssh-version.ts | ||
| types.ts | ||