@just-every/code 0.6.146 → 0.6.148

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.
Files changed (2) hide show
  1. package/package.json +6 -6
  2. package/README.md +0 -379
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@just-every/code",
3
- "version": "0.6.146",
3
+ "version": "0.6.148",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Lightweight coding agent that runs in your terminal - fork of OpenAI Codex",
6
6
  "bin": {
@@ -35,10 +35,10 @@
35
35
  "prettier": "^3.3.3"
36
36
  },
37
37
  "optionalDependencies": {
38
- "@just-every/code-darwin-arm64": "0.6.146",
39
- "@just-every/code-darwin-x64": "0.6.146",
40
- "@just-every/code-linux-x64-musl": "0.6.146",
41
- "@just-every/code-linux-arm64-musl": "0.6.146",
42
- "@just-every/code-win32-x64": "0.6.146"
38
+ "@just-every/code-darwin-arm64": "0.6.148",
39
+ "@just-every/code-darwin-x64": "0.6.148",
40
+ "@just-every/code-linux-x64-musl": "0.6.148",
41
+ "@just-every/code-linux-arm64-musl": "0.6.148",
42
+ "@just-every/code-win32-x64": "0.6.148"
43
43
  }
44
44
  }
package/README.md DELETED
@@ -1,379 +0,0 @@
1
- <img src="docs/images/every-logo.png" alt="Every Code Logo" width="400">
2
-
3
- &ensp;
4
-
5
- **Every Code** (Code for short) is a fast, local coding agent for your terminal. It's a community-driven fork of `openai/codex` focused on real developer ergonomics: Browser integration, multi-agents, theming, and reasoning control — all while staying compatible with upstream.
6
-
7
- &ensp;
8
- ## What's new
9
-
10
- - **Latest long-session stability sweep** (post-0.6): Auto Drive and Auto Review are now decoupled so background reviews no longer block the command flow. `Esc` returns control immediately and typing works while review finalization continues.
11
-
12
- - **Operational upgrades in this cycle**
13
- - Auto Review metadata (branch/worktree context) remains queryable through the active Auto Drive session after completion.
14
- - Terminal agents are compacted and archived so heavy payloads are reduced while review linkage is preserved.
15
- - Core `core`, coordinator, and TUI state maps now have hard caps with bounded drop/trim behavior.
16
- - Auto Drive conversation/update queues are bounded in the coordinator; TUI has bounded prompt/agent/runtime caches.
17
- - Background review notes are added as non-blocking history-visible notes instead of foreground task-injection.
18
- - TUI housekeeping lifecycle is bounded with deterministic stop control.
19
- - Stress tests now cover heavy agent churn plus concurrent Auto Review + Esc/typing responsiveness.
20
-
21
- - **New/updated models and agents**
22
- - Auto Drive CLI model support defaults to `gpt-5.5` (planning/problem-solving) and `gpt-5.4-mini` (fast coding/fix loops), with `medium | high | xhigh` reasoning controls.
23
- - Frontline and alias-aware agent model handling now includes `code-gpt-5.5`, `code-gpt-5.4`, `claude-opus-4.8`, and `claude-sonnet-4.6`, with compatibility aliases for older model names where supported.
24
- - Auto Drive decision schema and coordinator payloads now enforce bounded history while preserving goal and recent context.
25
-
26
- See commit `60727b068` and related Auto Drive hardening commits in git history for details.
27
-
28
-
29
- - **Auto Review** – background ghost-commit watcher runs reviews in a separate worktree whenever a turn changes code; uses `codex-5.1-mini-high` and reports issues plus ready-to-apply fixes without blocking the main thread.
30
- - **Code Bridge** – Sentry-style local bridge that streams errors, console, screenshots, and control from running apps into Code; ships an MCP server; install by asking Code to pull `https://github.com/just-every/code-bridge`.
31
- - **Plays well with Auto Drive** – reviews run in parallel with long Auto Drive tasks so quality checks land while the flow keeps moving.
32
- - **Quality-first focus** – the release shifts emphasis from "can the model write this file" to "did we verify it works".
33
- - _From v0.5.0:_ rename to Every Code, upgraded `/auto` planning/recovery, unified `/settings`, faster streaming/history with card-based activity, and more reliable `/resume` + `/undo`.
34
-
35
- [Read the full notes in RELEASE_NOTES.md](docs/release-notes/RELEASE_NOTES.md)
36
-
37
- &ensp;
38
- ## Why Every Code
39
-
40
- - 🚀 **Auto Drive orchestration** – Multi-agent automation that now self-heals and ships complete tasks.
41
- - 🌐 **Browser Integration** – CDP support, headless browsing, screenshots captured inline.
42
- - 🤖 **Multi-agent commands** – `/plan`, `/code` and `/solve` coordinate multiple CLI agents.
43
- - 🧭 **Unified settings hub** – `/settings` overlay for limits, theming, approvals, and provider wiring.
44
- - 🎨 **Theme system** – Switch between accessible presets, customize accents, and preview live via `/themes`.
45
- - 🔌 **MCP support** – Extend with filesystem, DBs, APIs, or your own tools.
46
- - 🔒 **Safety modes** – Read-only, approvals, and workspace sandboxing.
47
-
48
- &ensp;
49
- ## AI Videos
50
-
51
- &ensp;
52
- <p align="center">
53
- <a href="https://www.youtube.com/watch?v=Ra3q8IVpIOc">
54
- <img src="docs/images/video-auto-review-play.jpg" alt="Play Auto Review video" width="100%">
55
- </a><br>
56
- <strong>Auto Review</strong>
57
- </p>
58
-
59
- &ensp;
60
- <p align="center">
61
- <a href="https://youtu.be/UOASHZPruQk">
62
- <img src="docs/images/video-auto-drive-new-play.jpg" alt="Play Introducing Auto Drive video" width="100%">
63
- </a><br>
64
- <strong>Auto Drive Overview</strong>
65
- </p>
66
-
67
- &ensp;
68
- <p align="center">
69
- <a href="https://youtu.be/sV317OhiysQ">
70
- <img src="docs/images/video-v03-play.jpg" alt="Play Multi-Agent Support video" width="100%">
71
- </a><br>
72
- <strong>Multi-Agent Promo</strong>
73
- </p>
74
-
75
-
76
-
77
- &ensp;
78
- ## Quickstart
79
-
80
- ### Run
81
-
82
- ```bash
83
- npx -y @just-every/code
84
- ```
85
-
86
- ### Install & Run
87
-
88
- ```bash
89
- npm install -g @just-every/code
90
- code // or `coder` if you're using VS Code
91
- ```
92
-
93
- Note: If another tool already provides a `code` command (e.g., VS Code), our CLI is also installed as `coder`. Use `coder` to avoid conflicts.
94
-
95
- **Authenticate** (one of the following):
96
- - **Sign in with ChatGPT** (Plus/Pro/Team; uses models available to your plan)
97
- - Run `code` and pick "Sign in with ChatGPT"
98
- - **API key** (usage-based)
99
- - Set `export OPENAI_API_KEY=xyz` and run `code`
100
-
101
- ### Install Claude, Antigravity & Gemini (optional)
102
-
103
- Every Code supports orchestrating other AI CLI tools. Install these and configure to use alongside Code.
104
-
105
- ```bash
106
- # Ensure Node.js 20+ is available locally (installs into ~/.n)
107
- npm install -g n
108
- export N_PREFIX="$HOME/.n"
109
- export PATH="$N_PREFIX/bin:$PATH"
110
- n 20.18.1
111
-
112
- # Install the companion CLIs
113
- export npm_config_prefix="${npm_config_prefix:-$HOME/.npm-global}"
114
- mkdir -p "$npm_config_prefix/bin"
115
- export PATH="$npm_config_prefix/bin:$PATH"
116
- npm install -g @anthropic-ai/claude-code @google/gemini-cli @qwen-code/qwen-code
117
- curl -fsSL https://antigravity.google/cli/install.sh | bash
118
-
119
- # Quick smoke tests
120
- claude --version
121
- agy --version
122
- gemini --version
123
- qwen --version
124
- ```
125
-
126
- > ℹ️ Add `export N_PREFIX="$HOME/.n"` and `export PATH="$N_PREFIX/bin:$PATH"` (plus the `npm_config_prefix` bin path) to your shell profile so the CLIs stay on `PATH` in future sessions.
127
-
128
- &ensp;
129
- ## Commands
130
-
131
- ### Browser
132
- ```bash
133
- # Connect code to external Chrome browser (running CDP)
134
- /chrome # Connect with auto-detect port
135
- /chrome 9222 # Connect to specific port
136
-
137
- # Switch to internal browser mode
138
- /browser # Use internal headless browser
139
- /browser https://example.com # Open URL in internal browser
140
- ```
141
-
142
- ### Agents
143
- ```bash
144
- # Plan code changes (Claude, Gemini and GPT-5 consensus)
145
- # All agents review task and create a consolidated plan
146
- /plan "Stop the AI from ordering pizza at 3AM"
147
-
148
- # Solve complex problems (Claude, Gemini and GPT-5 race)
149
- # Fastest preferred (see https://arxiv.org/abs/2505.17813)
150
- /solve "Why does deleting one user drop the whole database?"
151
-
152
- # Write code! (Claude, Gemini and GPT-5 consensus)
153
- # Creates multiple worktrees then implements the optimal solution
154
- /code "Show dark mode when I feel cranky"
155
- ```
156
-
157
- ### Auto Drive
158
- ```bash
159
- # Hand off a multi-step task; Auto Drive will coordinate agents and approvals
160
- /auto "Refactor the auth flow and add device login"
161
-
162
- # Resume or inspect an active Auto Drive run
163
- /auto status
164
- ```
165
-
166
- ### General
167
- ```bash
168
- # Try a new theme!
169
- /themes
170
-
171
- # Change reasoning level
172
- /reasoning low|medium|high
173
-
174
- # Switch models or effort presets
175
- /model
176
-
177
- # Start new conversation
178
- /new
179
- ```
180
-
181
- ## CLI reference
182
-
183
- ```shell
184
- code [options] [prompt]
185
-
186
- Options:
187
- --model <name> Override the model for the active provider (e.g. gpt-5.1)
188
- --read-only Prevent file modifications
189
- --no-approval Skip approval prompts (use with caution)
190
- --config <key=val> Override config values
191
- --oss Use local open source models
192
- --sandbox <mode> Set sandbox level (read-only, workspace-write, etc.)
193
- --help Show help information
194
- --debug Log API requests and responses to file
195
- --version Show version number
196
- ```
197
-
198
- Note: `--model` only changes the model name sent to the active provider. To use a different provider, set `model_provider` in `config.toml`. Providers must expose an OpenAI-compatible API (Chat Completions or Responses).
199
-
200
- &ensp;
201
- ## Memory & project docs
202
-
203
- Every Code can remember context across sessions:
204
-
205
- 1. **Create an `AGENTS.md` or `CLAUDE.md` file** in your project root:
206
- ```markdown
207
- # Project Context
208
- This is a React TypeScript application with:
209
- - Authentication via JWT
210
- - PostgreSQL database
211
- - Express.js backend
212
-
213
- ## Key files:
214
- - `/src/auth/` - Authentication logic
215
- - `/src/api/` - API client code
216
- - `/server/` - Backend services
217
- ```
218
-
219
- 2. **Session memory**: Every Code maintains conversation history
220
- 3. **Codebase analysis**: Automatically understands project structure
221
-
222
- &ensp;
223
- ## Non-interactive / CI mode
224
-
225
- For automation and CI/CD:
226
-
227
- ```shell
228
- # Run a specific task
229
- code --no-approval "run tests and fix any failures"
230
-
231
- # Generate reports
232
- code --read-only "analyze code quality and generate report"
233
-
234
- # Batch processing
235
- code --config output_format=json "list all TODO comments"
236
- ```
237
-
238
- &ensp;
239
- ## Model Context Protocol (MCP)
240
-
241
- Every Code supports MCP for extended capabilities:
242
-
243
- - **File operations**: Advanced file system access
244
- - **Database connections**: Query and modify databases
245
- - **API integrations**: Connect to external services
246
- - **Custom tools**: Build your own extensions
247
-
248
- Configure MCP in `~/.code/config.toml` Define each server under a named table like `[mcp_servers.<name>]` (this maps to the JSON `mcpServers` object used by other clients):
249
-
250
- ```toml
251
- [mcp_servers.filesystem]
252
- command = "npx"
253
- args = ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/project"]
254
- ```
255
-
256
- &ensp;
257
- ## Configuration
258
-
259
- Main config file: `~/.code/config.toml`
260
-
261
- > [!NOTE]
262
- > Every Code reads from both `~/.code/` and `~/.codex/` for backwards compatibility, but it only writes updates to `~/.code/`. If you switch back to Codex and it fails to start, remove `~/.codex/config.toml`. If Every Code appears to miss settings after upgrading, copy your legacy `~/.codex/config.toml` into `~/.code/`.
263
-
264
- ```toml
265
- # Model settings
266
- model = "gpt-5.1"
267
- model_provider = "openai"
268
-
269
- # Behavior
270
- approval_policy = "on-request" # untrusted | on-failure | on-request | never
271
- model_reasoning_effort = "medium" # low | medium | high
272
- sandbox_mode = "workspace-write"
273
-
274
- # UI preferences see THEME_CONFIG.md
275
- [tui.theme]
276
- name = "light-photon"
277
-
278
- # Add config for specific models
279
- [profiles.gpt-5]
280
- model = "gpt-5.1"
281
- model_provider = "openai"
282
- approval_policy = "never"
283
- model_reasoning_effort = "high"
284
- model_reasoning_summary = "detailed"
285
- ```
286
-
287
- ### Environment variables
288
-
289
- - `CODE_HOME`: Override config directory location
290
- - `OPENAI_API_KEY`: Use API key instead of ChatGPT auth
291
- - `OPENAI_BASE_URL`: Use OpenAI-compatible API endpoints (chat or responses)
292
- - `OPENAI_WIRE_API`: Force the built-in OpenAI provider to use `chat` or `responses` wiring
293
-
294
- &ensp;
295
- ## FAQ
296
-
297
- **How is this different from the original?**
298
- > This fork adds browser integration, multi-agent commands (`/plan`, `/solve`, `/code`), theme system, and enhanced reasoning controls while maintaining full compatibility.
299
-
300
- **Can I use my existing Codex configuration?**
301
- > Yes. Every Code reads from both `~/.code/` (primary) and legacy `~/.codex/` directories. We only write to `~/.code/`, so Codex will keep running if you switch back; copy or remove legacy files if you notice conflicts.
302
-
303
- **Does this work with ChatGPT Plus?**
304
- > Absolutely. Use the same "Sign in with ChatGPT" flow as the original.
305
-
306
- **Is my data secure?**
307
- > Yes. Authentication stays on your machine, and we don't proxy your credentials or conversations.
308
-
309
- &ensp;
310
- ## Contributing
311
-
312
- We welcome contributions! Every Code maintains compatibility with upstream while adding community-requested features.
313
-
314
- ### Development workflow
315
-
316
- ```bash
317
- # Clone and setup
318
- git clone https://github.com/just-every/code.git
319
- cd code
320
- npm install
321
-
322
- # Build (use fast build for development)
323
- ./build-fast.sh
324
-
325
- # Run locally
326
- ./code-rs/target/dev-fast/code
327
- ```
328
-
329
- #### Git hooks
330
-
331
- This repo ships shared hooks under `.githooks/`. To enable them locally:
332
-
333
- ```bash
334
- git config core.hooksPath .githooks
335
- ```
336
-
337
- The `pre-push` hook runs `./pre-release.sh` automatically when pushing to `main`.
338
-
339
- ### Opening a pull request
340
-
341
- 1. Fork the repository
342
- 2. Create a feature branch: `git checkout -b feature/amazing-feature`
343
- 3. Make your changes
344
- 4. Run tests: `cargo test`
345
- 5. Build successfully: `./build-fast.sh`
346
- 6. Submit a pull request
347
-
348
-
349
- &ensp;
350
- ## Legal & Use
351
-
352
- ### License & attribution
353
- - This project is a community fork of `openai/codex` under **Apache-2.0**. We preserve upstream LICENSE and NOTICE files.
354
- - **Every Code** (Code) is **not** affiliated with, sponsored by, or endorsed by OpenAI.
355
-
356
- ### Your responsibilities
357
- Using OpenAI, Anthropic or Google services through Every Code means you agree to **their Terms and policies**. In particular:
358
- - **Don't** programmatically scrape/extract content outside intended flows.
359
- - **Don't** bypass or interfere with rate limits, quotas, or safety mitigations.
360
- - Use your **own** account; don't share or rotate accounts to evade limits.
361
- - If you configure other model providers, you're responsible for their terms.
362
-
363
- ### Privacy
364
- - Your auth file lives at `~/.code/auth.json`
365
- - Inputs/outputs you send to AI providers are handled under their Terms and Privacy Policy; consult those documents (and any org-level data-sharing settings).
366
-
367
- ### Subject to change
368
- AI providers can change eligibility, limits, models, or authentication flows. Every Code supports **both** ChatGPT sign-in and API-key modes so you can pick what fits (local/hobby vs CI/automation).
369
-
370
- &ensp;
371
- ## License
372
-
373
- Apache 2.0 - See [LICENSE](LICENSE) file for details.
374
-
375
- Every Code is a community fork of the original Codex CLI. We maintain compatibility while adding enhanced features requested by the developer community.
376
-
377
- &ensp;
378
- ---
379
- **Need help?** Open an issue on [GitHub](https://github.com/just-every/code/issues) or check our documentation.