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 +7 -3
- package/bin/archymedes.mjs +0 -0
- package/dist/{archymedes-qm9bwbe7.mjs → archymedes-cfwtgnjx.mjs} +3 -3
- package/dist/{archymedes-0jxzsh4z.mjs → archymedes-d5wqcmdr.mjs} +97 -97
- package/dist/{archymedes-1g1y6q74.mjs → archymedes-h13ap0za.mjs} +1 -1
- package/dist/{archymedes-2119874q.mjs → archymedes-hr1bssj4.mjs} +154 -154
- package/dist/archymedes-main.mjs +1692 -523
- package/dist/{factory-wc4p77tw.mjs → factory-3a3bffgd.mjs} +326 -326
- package/dist/{index-teq1cta4.mjs → index-qvgcwsvm.mjs} +1 -1
- package/dist/{node-0fh63p8z.mjs → node-mdgzx68h.mjs} +7 -7
- package/dist/{projection-4jjdaf41.mjs → projection-ndr3t77h.mjs} +2 -2
- package/dist/{sandbox-templates-8sd1psez.mjs → sandbox-templates-9jcjws23.mjs} +2 -2
- package/package.json +8 -8
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,
|
|
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)
|
|
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).
|
package/bin/archymedes.mjs
CHANGED
|
File without changes
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
//
|
|
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
|
-
//
|
|
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
|
-
//
|
|
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 = {
|