codex-harness 0.0.0-stage → 0.2.1

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 ErzenXz
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,76 @@
1
- # Temporary Holding Version
1
+ <p align="center">
2
+ <img src="https://raw.githubusercontent.com/ErzenXz/codex-harness/main/docs/assets/banner.svg" alt="Codex Harness — native Rust, small footprint." width="100%">
3
+ </p>
2
4
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
5
+ <p align="center">
6
+ A small native Rust backend for coding agents.<br>
7
+ macOS · Linux · Windows &nbsp;/&nbsp; arm64 · x64
8
+ </p>
9
+
10
+ <p align="center">
11
+ <a href="https://www.npmjs.com/package/codex-harness">npm</a> ·
12
+ <a href="https://github.com/ErzenXz/codex-harness/releases">Downloads</a> ·
13
+ <a href="https://github.com/ErzenXz/codex-harness/blob/main/docs/reference.md">Documentation</a>
14
+ </p>
15
+
16
+ ## Quick start
17
+
18
+ ```sh
19
+ pnpm add -g codex-harness
20
+ codex-harness login
21
+ ```
22
+
23
+ Requires pnpm and Node.js 22.15+. Installs only your platform's native binary, with no
24
+ compilation or install scripts. [Standalone downloads](https://github.com/ErzenXz/codex-harness/releases)
25
+ run without Node.js. Linux uses static musl; Windows runs natively.
26
+
27
+ Set your ACP app's agent command:
28
+
29
+ ```json
30
+ { "command": "codex-harness", "args": ["--acp"] }
31
+ ```
32
+
33
+ Your app provides the interface; the harness communicates over stdin/stdout.
34
+ Subscription login uses your plan's model access and limits.
35
+ [Other providers and API keys →](https://github.com/ErzenXz/codex-harness/blob/main/docs/reference.md#authentication-and-providers)
36
+
37
+ ## Performance
38
+
39
+ Measured locally on **macOS arm64 · v0.2.0**.
40
+
41
+ | Metric | Result |
42
+ | :--- | ---: |
43
+ | Native binary | **4.48 MB** · 6.8% smaller |
44
+ | Version startup, median | **5.82 ms** |
45
+ | Idle memory, sampled RSS | **4.02 MiB** |
46
+ | Streamed tool arguments, median | **2.02 ms** · ~29× faster |
47
+
48
+ Size and streaming comparisons use the original `6f55af7` baseline. Streaming
49
+ measures accumulation of 8,000 × 32-byte argument fragments; model latency is
50
+ excluded. Memory and timings vary by workload.
51
+ [Before/after results, methodology and reproduction →](https://github.com/ErzenXz/codex-harness/blob/main/docs/performance.md)
52
+
53
+ ## Built to stay light
54
+
55
+ One async event-loop thread, shared HTTP connections, lazy MCP connections and
56
+ bounded history, files and tool output. No telemetry, daemon, updater or bundled
57
+ browser/model.
58
+
59
+ Streaming, file/search tools, MCP, subagents, background jobs, persistent sessions,
60
+ cancellation and permission controls are built in.
61
+
62
+ For the lowest launch overhead, run `codex-harness --print-binary-path` and use
63
+ that executable directly in your ACP app. On macOS/Linux the standard launcher
64
+ replaces Node with Rust where `execve` is available; Windows keeps a forwarding
65
+ process until you use the native path.
66
+
67
+ Approved tools can access your host. Native desktop control is optional and
68
+ requires Linux X11; macOS/Windows computer use works through MCP. See
69
+ [security and limits](https://github.com/ErzenXz/codex-harness/blob/main/docs/reference.md#safety-boundaries).
70
+
71
+ ---
72
+
73
+ [Configuration](https://github.com/ErzenXz/codex-harness/tree/main/examples) ·
74
+ [Install, update & remove](https://github.com/ErzenXz/codex-harness/blob/main/docs/reference.md#installation-and-maintenance) ·
75
+ [Development](https://github.com/ErzenXz/codex-harness/blob/main/docs/reference.md#development) ·
76
+ [MIT license](https://github.com/ErzenXz/codex-harness/blob/main/LICENSE)