Add Claude access setup, onedir build and native packages

- scripts/setup_claude_access.py: narrow envbao-claude policy/token and an
  exec_only claude.toml; optional merge of Claude Code settings
- [security] exec_only refuses plain export mode and --no-redact
- PyInstaller onedir build (~0.06s start-up vs ~1.4s onefile)
- macOS .pkg, Debian/Ubuntu/Raspberry Pi OS .deb (pure-Python builder),
  tarball + scripts/install.sh; release pipeline updated
- docs: claude-access, install matrix, releasing, usage, security

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
mattandClaude Sonnet 5.5 committed 2026-10-16 11:57:47 +01:00
1 parent 08bacbc5a8
commit 952fa2ce63
22 files changed
+1110 -44

No files matched your search

+13
View File
@@ -2,6 +2,7 @@
```
envbao [--config PATH] [--shell {auto,bash,zsh,sh,fish}] [-v|-vv] [--check | --init]
envbao [options] exec -q GROUP [-q GROUP ...] [--no-redact] -- COMMAND [ARGS ...]
envbao --version
```
@@ -14,6 +15,18 @@ envbao --version
| `--init` | Create `~/.envbao` (0700) and a template `config.toml` (0600). Never overwrites. |
| `-v` / `-vv` | Show INFO / DEBUG messages on stderr. |
## `exec`: run a command with secrets
```sh
envbao exec -q gitea -q youtrack -- ./script.sh
```
Fetches only the named groups (see `name` in the configuration reference), runs `COMMAND` with
them as environment variables, and returns the command's exit status. Its stdout/stderr are filtered
so secret values appear as `***`; `--no-redact` replaces the process with the command instead (not
available when `exec_only` is set). Nothing runs if any selected group cannot be fetched. See
[claude-access.md](claude-access.md).
## Shell integration
bash / zsh: