@codevector/cli 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -34,9 +34,8 @@ That's the whole onboarding. Pick a tool, pick a scope, done.
34
34
  | -------------------------------- | ---------------------------------------- | ------------------------------------------------------------------------- | ---------------------------------------------------------- | --------------------- |
35
35
  | **Claude Code** | `~/.claude/settings.json` | user / project / local | literal in JSON (`ANTHROPIC_AUTH_TOKEN`) | `Stop` + `SessionEnd` |
36
36
  | **opencode** (sst/opencode) | `~/.config/opencode/opencode.json` | user / project / local | literal (user + local); env-var reference in project scope | — |
37
- | **codex** (OpenAI codex CLI) | `~/.codex/config.toml` | user / project / local | shell env var (codex does not auto-load `.env`) | not wired |
38
37
 
39
- Each writer emits both Anthropic and OpenAI-compatible provider entries where the tool supports both wire formats. codex is OpenAI-only.
38
+ Each writer emits both Anthropic and OpenAI-compatible provider entries where the tool supports both wire formats.
40
39
 
41
40
  ---
42
41
 
@@ -49,11 +48,11 @@ Scopes are split across two commands so global state can't get clobbered by acci
49
48
 
50
49
  | Scope | Where the file lives | Committed to git? | Written by | Recommended for |
51
50
  | --------- | ------------------------------------------------------------------------------------------------ | ------------------------------- | --------------------------- | --------------------------------------------------------- |
52
- | `user` | your home directory (`~/.claude/…`, `~/.codex/…`, etc.) | no (outside the repo) | `codevector system configure` | your personal default across every project |
53
- | `project` | this repo's config dir (`./.claude/settings.json`, `./.codex/config.toml`, etc.) | **yes** — shared with teammates | `codevector configure` | base URL only; we never embed the API key here |
54
- | `local` | this repo's local-override file (`./.claude/settings.local.json`, `./opencode.json`, `./.codex/config.toml` + .gitignore) | no — auto-gitignored | `codevector configure` | the usual default: per-seat API key stays on your machine |
51
+ | `user` | your home directory (`~/.claude/…`, `~/.config/opencode/…`, etc.) | no (outside the repo) | `codevector system configure` | your personal default across every project |
52
+ | `project` | this repo's config dir (`./.claude/settings.json`, `./opencode.json`, etc.) | **yes** — shared with teammates | `codevector configure` | base URL only; we never embed the API key here |
53
+ | `local` | this repo's local-override file (`./.claude/settings.local.json`, `./opencode.json` + .gitignore) | no — auto-gitignored | `codevector configure` | the usual default: per-seat API key stays on your machine |
55
54
 
56
- `local` is the default when you don't pass `--scope` to `configure`. The CLI adds gitignore entries automatically for tools that don't natively ignore their local file (opencode, codex).
55
+ `local` is the default when you don't pass `--scope` to `configure`. The CLI adds gitignore entries automatically for tools that don't natively ignore their local file (opencode).
57
56
 
58
57
  **Secret hygiene:** `project` scope will never write your API key to disk. It writes an env-var reference (`{env:CODEVECTOR_GATEWAY_KEY}` or an `envKey` field) and prints a note telling you to export the variable yourself. This is the only safe way to commit a config file.
59
58
 
@@ -130,7 +129,7 @@ codevector configure claude-code --scope local
130
129
  **Set global defaults across every editor for this machine:**
131
130
 
132
131
  ```bash
133
- codevector system configure # writes user-scope config for Claude Code, opencode, and codex
132
+ codevector system configure # writes user-scope config for Claude Code and opencode
134
133
  codevector system restore --latest # roll back the most recent run if needed
135
134
  ```
136
135
 
@@ -179,7 +178,6 @@ Override the config root with `CODEVECTOR_CONFIG_DIR`.
179
178
  ## Limitations
180
179
 
181
180
  - **Cursor requires manual setup.** Cursor stores its settings in an internal database, so the CLI can't configure it automatically. Find step-by-step instructions on your gateway dashboard.
182
- - **codex doesn't auto-load `.env`.** After configuring codex at any scope, export `CODEVECTOR_GATEWAY_KEY` in your shell rc yourself. The CLI prints the line to paste.
183
181
  - **`configure --scope user` is no longer accepted.** Use `codevector system configure` for machine-wide setup; it writes every editor in one pass and backs up existing files for rollback via `system restore`.
184
182
 
185
183
  ---
@@ -190,6 +188,5 @@ Override the config root with `CODEVECTOR_CONFIG_DIR`.
190
188
  | ---------------------- | --------------------------------------------------------- | ---------------------- |
191
189
  | Claude Code | `~/.claude/settings.json` / `.claude/settings.local.json` | JSON |
192
190
  | opencode | `~/.config/opencode/opencode.json` / `./opencode.json` | JSON (JSONC tolerated) |
193
- | codex | `~/.codex/config.toml` | TOML |
194
191
  | codevector credentials | `~/.config/codevector/credentials.json` | JSON (chmod 0600) |
195
192
  | codevector hook script | `~/.config/codevector/hooks/acceptance.sh` | shell |