archymedes-cli 3.6.0 → 3.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
@@ -3,7 +3,8 @@
3
3
  A coding agent for your terminal. It reads, searches, edits and runs commands in a real project,
4
4
  asks before it changes anything you have not allowed, keeps a checkpoint before every turn, and
5
5
  says what each request cost. It works with the model you choose: your own API key for any of ten
6
- providers, free models through OpenRouter, or your Claude subscription through your own Claude Code.
6
+ providers, free models through OpenRouter, your Claude subscription through your own Claude Code, or
7
+ your ChatGPT plan through your own Codex.
7
8
 
8
9
  ```bash
9
10
  npm install -g archymedes-cli
@@ -111,10 +112,13 @@ it re-reads instead of editing from a stale copy.
111
112
  | Any OpenAI-compatible endpoint | `OPENAI_COMPATIBLE_API_KEY` + `OPENAI_COMPATIBLE_BASE_URL` |
112
113
  | Free models (`--free`) | `OPENROUTER_API_KEY` |
113
114
  | Claude (your subscription) | none: your own Claude Code, signed in (`claude auth login`) |
115
+ | Codex (your ChatGPT plan) | none: your own Codex CLI, signed in (`codex login`) |
114
116
 
115
117
  Keys can be set in the environment or saved through Providers or `archymedes settings`. Claude
116
118
  runs through your installed Claude Code with Anthropic's Agent SDK (installed on your machine when
117
- you connect it); Archymedes never handles your Claude credentials.
119
+ you connect it), and Codex through your installed Codex CLI (`codex app-server`); Archymedes never
120
+ handles either account's credentials. Switching between them and any other model mid-session keeps
121
+ the conversation: each engine is told what was said while it was not there.
118
122
 
119
123
  ## Extending it
120
124
 
@@ -152,6 +156,6 @@ archymedes settings | history | doctor | update
152
156
  Node 22.5 or newer on Linux, macOS or Windows. The interface is a native binary installed with the
153
157
  package for linux, darwin and win32 on x64 and arm64; where none fits, every mode without the
154
158
  interface still works. `git` enables checkpoints, Changes, review and worktrees; `gh` is needed for
155
- `/pr`; bubblewrap for the command sandbox.
159
+ `/pr`; bubblewrap for the command sandbox; Claude Code or the Codex CLI to run on those plans.
156
160
 
157
161
  Apache-2.0 licensed. Source: [github.com/chrisnkuno/archymedes-cli](https://github.com/chrisnkuno/archymedes-cli).
File without changes
@@ -1,9 +1,9 @@
1
- // packages/core/src/cli/protocol.ts
1
+ // ../core/src/cli/protocol.ts
2
2
  import { createHash } from "node:crypto";
3
3
  import { promises as fs2 } from "node:fs";
4
4
  import path2 from "node:path";
5
5
 
6
- // packages/core/src/cli/file-ownership.ts
6
+ // ../core/src/cli/file-ownership.ts
7
7
  import { randomUUID } from "node:crypto";
8
8
  import { promises as fs } from "node:fs";
9
9
  import os from "node:os";
@@ -97,7 +97,7 @@ async function acquireFileOwnership(file, depth = 0) {
97
97
  }
98
98
  }
99
99
 
100
- // packages/core/src/cli/protocol.ts
100
+ // ../core/src/cli/protocol.ts
101
101
  var ARCHYMEDES_PROTOCOL_VERSION = 1;
102
102
  var JOURNAL_GENESIS_HASH = "0".repeat(64);
103
103
  var TRANSITIONS = {