Repository navigation
v2.1.0
🚀 What's Changed
This release adds first-class Sober launchers for Codex and Claude Code, improves Codex hook logging under sandboxed runs, and keeps the README focused on the new agent launch flow.
🧭 Sober Agent Launchers
- Codex Launcher Added (
lib/cli.js): Addedsober codexas a Sober-managed Codex entrypoint.- Defaults to
codex --sandbox workspace-write --add-dir ~/.sober/logs - Respects explicit Codex sandbox flags such as
--sandbox read-only
- Defaults to
- Claude Launcher Added (
lib/cli.js): Addedsober claudeas a pass-through Claude Code launcher. - Unified YOLO UX (
lib/cli.js): Added shared--yolohandling across runtimes.sober codex --yolo→codex --yolosober claude --yolo→claude --permission-mode bypassPermissions
🪵 Failure Log Hook Reliability
- Sandbox-Safe Failure Logging (
.sober/scripts/hooks/tool-failure-log.sh): Made tool failure logging best-effort so hook execution no longer fails when the log path is not writable. - Configurable Failure Log Path: Added
SOBER_TOOL_FAILURE_LOGsupport across:.sober/scripts/hooks/tool-failure-log.sh.sober/scripts/analyze-failures.sh.sober/scripts/hooks/session-start.sh
🧹 CLI Cleanup
- Cleaner Agent Command Builder (
lib/cli.js): Split agent launch handling into smaller parsing/build functions for readability. - Hook Reference Inspection Cleanup (
lib/cli.js): Consolidated duplicated hook traversal logic into a shared hook reference collector. - Safer Symlink Detection (
lib/cli.js): Improved Sober-owned symlink detection to handle relative symlink targets correctly.
📚 Documentation
- README Launch Flow Updated: Updated English and Korean READMEs to recommend launching agents through Sober:
sober codexsober claudesober codex --yolosober claude --yolo
- YOLO Safety Note Added: Added a concise warning that
--yolobypasses approvals/permissions and should only be used in isolated environments.
🛠️ Full Changelog
- Added
sober codexandsober claudecommands inlib/cli.js. - Added shared
--yoloruntime mapping for Codex and Claude Code. - Added Codex workspace-write/log-dir preset for normal
sober codexruns. - Preserved user-provided Codex sandbox flags instead of overriding them.
- Made Sober failure logging tolerate unwritable log paths.
- Added
SOBER_TOOL_FAILURE_LOGoverride support. - Refactored CLI launch and hook inspection helpers for readability.
- Updated README and README.ko launch examples.
- Bumped package version to
2.1.0inpackage.json.