alpha
Login
or
Join now
compounding.tech
/
pty
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
pty
/
tests
/
setup
/
at
4dd6f9f5ccb9ccb012ced64aac3cb96feee2e748
1 file
Nathan
feat(root): PTY_ROOT canonical + --root flag + per-root gc plist (#55)
9d ago
e76b6778
vitest-global.ts
feat(root): PTY_ROOT canonical + --root flag + per-root gc plist (#55) Phase-2 per-namespace isolation. `PTY_SESSION_DIR` becomes a legacy alias (still functional, emits a one-time deprecation notice per process; suppress with PTY_ROOT_LEGACY_SILENT=1). New canonical env `PTY_ROOT` and matching global `pty --root <path>` flag pin the state registry per call — every subcommand transparently scopes via getSessionDir(). `pty gc --print-launchd-plist` parameterizes off the current root: default root keeps the pre-Phase-2 Label (com.myobie.pty.gc) for backwards compat with existing installs; non-default roots get a sanitized Label suffix (com.myobie.pty.gc.<basename>) and a per-root log path (<root>/gc.log). Emitted plist writes PTY_ROOT (canonical), not the legacy name — a mid-migration installer sees loud stderr in gc.log until it's cleaned up. README gains a "Namespaces" section documenting soft (tag-filter) and hard (--root/PTY_ROOT) isolation. smalltalk's Phase-1 `st.network` tag composes with this cleanly. Tests in tests/pty-root.test.ts cover: env-var precedence, one-time deprecation notice + silence hatch, --root overrides both envs, --root value validation, default vs non-default plist Label, per-root logPath, pathological-basename sanitization.
1 week ago