@boldblackai/harness 1.9.8 → 1.9.10
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 +1 -1
- package/bin/harness.js +3 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -307,7 +307,7 @@ pnpm unlink --global @boldblackai/harness
|
|
|
307
307
|
make image
|
|
308
308
|
```
|
|
309
309
|
|
|
310
|
-
Builds `ghcr.io/boldblackai/harness` with Debian stable-slim, Node.js v24, `git`, [`@earendil-works/pi-coding-agent`](https://pi.dev/), [`opencode-ai`](https://opencode.ai), [`hermes-agent`](https://github.com/NousResearch/hermes-agent), `fd`, `ripgrep`, `jq`, and `curl`. The hermes variant also includes the [MCP Python SDK](https://github.com/modelcontextprotocol/python-sdk) for connecting to MCP servers,
|
|
310
|
+
Builds `ghcr.io/boldblackai/harness` with Debian stable-slim, Node.js v24, `git`, [`@earendil-works/pi-coding-agent`](https://pi.dev/), [`opencode-ai`](https://opencode.ai), [`hermes-agent`](https://github.com/NousResearch/hermes-agent), `fd`, `ripgrep`, `jq`, and `curl`. The hermes variant also includes the [MCP Python SDK](https://github.com/modelcontextprotocol/python-sdk) for connecting to MCP servers, [`faster-whisper`](https://github.com/SYSTRAN/faster-whisper) for local speech-to-text, and [`kokoro-onnx`](https://github.com/thewh1teagle/kokoro-onnx) for local text-to-speech.
|
|
311
311
|
|
|
312
312
|
The base image is pinned by manifest-list digest (the OCI image index, not a per-platform manifest) for reproducible multi-arch builds. To bump it:
|
|
313
313
|
|
package/bin/harness.js
CHANGED
|
@@ -224,7 +224,7 @@ class HermesAdapter {
|
|
|
224
224
|
return "/home/harness/.hermes";
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
|
-
const IDENTITY_REGEXP = "https://github.com/boldblackai/harness/.github/workflows/docker.yml@refs/
|
|
227
|
+
const IDENTITY_REGEXP = "https://github.com/boldblackai/harness/.github/workflows/docker.yml@refs/heads/main";
|
|
228
228
|
const OIDC_ISSUER = "https://token.actions.githubusercontent.com";
|
|
229
229
|
const CACHE_VERSION = 1;
|
|
230
230
|
function cachePath() {
|
|
@@ -370,6 +370,7 @@ Options:
|
|
|
370
370
|
|
|
371
371
|
Environment variables:
|
|
372
372
|
HARNESS_IMAGE_TAG Override the Docker image tag (defaults to package version)
|
|
373
|
+
HARNESS_REGISTRY Override the container registry (defaults to ghcr.io/boldblackai/harness)
|
|
373
374
|
HARNESS_CONTAINER_RUNTIME Container runtime to use: docker (default) or apple (Apple container CLI)
|
|
374
375
|
XDG_DATA_HOME Override the base directory for persistence data (defaults to ~/.local/share)
|
|
375
376
|
XDG_CACHE_HOME Override the base directory for cosign cache (defaults to ~/.cache)
|
|
@@ -380,7 +381,7 @@ You can also pipe text to harness as an implied -p:
|
|
|
380
381
|
echo "write me a fizzbuzz in Go" | harness
|
|
381
382
|
`;
|
|
382
383
|
const workspace = process.cwd();
|
|
383
|
-
const REGISTRY = "ghcr.io/boldblackai/harness";
|
|
384
|
+
const REGISTRY = process.env.HARNESS_REGISTRY ?? "ghcr.io/boldblackai/harness";
|
|
384
385
|
const VERSION = require("../package.json").version;
|
|
385
386
|
const IMAGE_TAG = process.env.HARNESS_IMAGE_TAG ?? VERSION;
|
|
386
387
|
function normalizeCwd(cwd) {
|