opencode/packages
Will@Cambridge 23935f045d Add Protected Mode for macOS
Implements ACL-based file protection system to prevent AI agents from
accessing sensitive credentials and files. Adds CLI commands for setup,
protection management, and status checking.
Key features:
- Restricted user execution (opencode-agent)
- Kernel-level ACL enforcement via macOS Access Control Lists
- Command whitelisting for common development tools (git)
- Configurable whitelist via ~/.opencode/security.json
Implementation:
- New src/util/security/ module (~980 lines)
- Security config management and ACL operations
- Protected command execution via ProtectedExecutor class
- CLI commands: protect setup, protect lock, protect status
- Integration with bash tool executor
Technical details:
- 14 files changed, 1,070 insertions(+), 12 deletions(-)
- Platform-specific implementation for macOS (darwin)
- Sudo-based ACL management with passwordless sudoers config
2025-12-20 17:04:22 -05:00
..
console zen: make session provider sticky 2025-12-03 23:33:46 -05:00
desktop release: v1.0.132 2025-12-04 04:23:39 +00:00
enterprise release: v1.0.132 2025-12-04 04:23:39 +00:00
extensions/zed release: v1.0.132 2025-12-04 04:23:39 +00:00
function release: v1.0.132 2025-12-04 04:23:39 +00:00
identity docs: identity 2025-08-05 19:36:10 -04:00
opencode Add Protected Mode for macOS 2025-12-20 17:04:22 -05:00
plugin chore: format code 2025-12-04 04:29:03 +00:00
script wip: zen 2025-12-02 18:36:15 -05:00
sdk chore: format code 2025-12-04 04:29:03 +00:00
slack release: v1.0.132 2025-12-04 04:23:39 +00:00
tauri release: v1.0.132 2025-12-04 04:23:39 +00:00
ui release: v1.0.132 2025-12-04 04:23:39 +00:00
util release: v1.0.132 2025-12-04 04:23:39 +00:00
web add optional prompt Input to Github Action (#4828) 2025-12-04 12:10:56 -06:00