bl4ze 0.2.0 → 0.2.2

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 (3) hide show
  1. package/README.md +27 -0
  2. package/install.cjs +9 -1
  3. package/package.json +31 -8
package/README.md ADDED
@@ -0,0 +1,27 @@
1
+ # BL4ZE
2
+
3
+ A terminal coding agent that runs unattended. Give it a task, close the
4
+ laptop, check on it from your phone later.
5
+
6
+ ```bash
7
+ npm install -g bl4ze
8
+ bl4ze provider add mine --base-url https://api.example.com/v1 \
9
+ --api-key sk-... --default-model gpt-5-5 --set-default
10
+ bl4ze exec "fix the failing test in src/parser.py"
11
+ ```
12
+
13
+ Works with any OpenAI-compatible endpoint. Three ways in — `bl4ze` for the
14
+ interactive TUI, `bl4ze exec` for one-shot and CI, `bl4ze serve` to drive it
15
+ from a browser or a phone.
16
+
17
+ Full docs: **[bl4ze.net](https://bl4ze.net)**
18
+
19
+ ## What this package is
20
+
21
+ A small downloader, not the program itself. `postinstall` fetches a
22
+ prebuilt binary for your platform (macOS and Linux, x64 and arm64) and
23
+ verifies it against a published checksum before it ever touches disk.
24
+
25
+ ## License
26
+
27
+ MIT
package/install.cjs CHANGED
@@ -19,7 +19,15 @@ const crypto = require("crypto");
19
19
  const zlib = require("zlib");
20
20
  const { execFileSync } = require("child_process");
21
21
 
22
- const VERSION = require("./package.json").version;
22
+ // The binary release this stub fetches, kept separate from npm's own
23
+ // package "version" field. npm forbids ever republishing a version once it
24
+ // exists, so a docs-only fix (like adding the README this file itself is
25
+ // meant to ship with) still forces a package.json version bump -- but that
26
+ // must not silently point every install at a binary release that was never
27
+ // built. bl4zeRelease only changes when build-binaries.sh actually produced
28
+ // new archives.
29
+ const pkg = require("./package.json");
30
+ const VERSION = pkg.bl4zeRelease || pkg.version;
23
31
  const BASE = process.env.BL4ZE_DOWNLOAD_BASE || "https://dl.bl4ze.net";
24
32
 
25
33
  const PLATFORMS = { darwin: "darwin", linux: "linux" };
package/package.json CHANGED
@@ -1,15 +1,38 @@
1
1
  {
2
2
  "name": "bl4ze",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "A terminal coding agent that runs unattended, with a remote console you can drive from your phone.",
5
- "keywords": ["ai", "agent", "cli", "terminal", "coding-agent"],
5
+ "keywords": [
6
+ "ai",
7
+ "agent",
8
+ "cli",
9
+ "terminal",
10
+ "coding-agent"
11
+ ],
6
12
  "license": "MIT",
7
13
  "homepage": "https://bl4ze.net",
8
- "bin": { "bl4ze": "bin/bl4ze" },
9
- "files": ["bin/bl4ze", "install.cjs", "README.md"],
10
- "scripts": { "postinstall": "node install.cjs" },
11
- "engines": { "node": ">=16" },
14
+ "bin": {
15
+ "bl4ze": "bin/bl4ze"
16
+ },
17
+ "files": [
18
+ "bin/bl4ze",
19
+ "install.cjs",
20
+ "README.md"
21
+ ],
22
+ "bl4zeRelease": "0.2.0-2",
23
+ "scripts": {
24
+ "postinstall": "node install.cjs"
25
+ },
26
+ "engines": {
27
+ "node": ">=16"
28
+ },
12
29
  "dependencies": {},
13
- "os": ["darwin", "linux"],
14
- "cpu": ["x64", "arm64"]
30
+ "os": [
31
+ "darwin",
32
+ "linux"
33
+ ],
34
+ "cpu": [
35
+ "x64",
36
+ "arm64"
37
+ ]
15
38
  }