Skip to content

Commit 7778781

Browse files
Prepare 0.4.0-beta.4 (#11)
The published beta.3 cannot order a sprite sheet that keeps its background, so the skills have to tell agents to check their client first. Bumping here makes the publish a single command; the version is not on npm until someone runs it. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 1b7fa2b commit 7778781

4 files changed

Lines changed: 10 additions & 5 deletions

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Generate and edit images from your terminal, over local files, with one API key.
44

55
```bash
6-
npm install -g dreamlayer@0.4.0-beta.3
6+
npm install -g dreamlayer@0.4.0-beta.4
77
export DREAMLAYER_API_KEY="dlr_live_your_key"
88

99
dreamlayer generate "A glass greenhouse at dusk" --out greenhouse.png

‎RELEASE.md‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Agent readiness release
22

3-
Prepared version: `0.4.0-beta.3`. Keep `latest` on `0.3.0` until a stable release is deliberately selected.
3+
Prepared version: `0.4.0-beta.4`. Keep `latest` on `0.3.0` until a stable release is deliberately selected.
4+
5+
beta.4 adds `--background keep`: sprite frames that keep their generated background, priced at the flat
6+
`sprite_pricing.plain_frame_cents` with no tier (5 credits for twelve frames instead of 9.9). It refuses the flag
7+
against a server whose capabilities do not advertise that rate, and normalises a spelled-out `--background remove`
8+
off the wire so it stays the same job as an omitted one.
49

510
1. Pass CI, review and merge the change.
611
2. With npm publisher authentication, run `pnpm test` and `npm publish --tag beta`.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dreamlayer",
3-
"version": "0.4.0-beta.3",
3+
"version": "0.4.0-beta.4",
44
"description": "Generate and edit images from your terminal, over local files, with one API key.",
55
"license": "MIT",
66
"type": "module",

‎test/packaged-install.test.mjs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ test("the packed CLI installs offline and its shipped binary starts", { timeout:
2525
assert.equal(packed.status, 0, packed.stderr);
2626
const metadata = JSON.parse(packed.stdout)[0];
2727
assert.equal(metadata.name, "dreamlayer");
28-
assert.equal(metadata.version, "0.4.0-beta.3");
28+
assert.equal(metadata.version, "0.4.0-beta.4");
2929
assert.ok(metadata.integrity.startsWith("sha512-"));
3030
assert.deepEqual(
3131
metadata.files.map(({ path: file }) => file).sort(),
@@ -58,7 +58,7 @@ test("the packed CLI installs offline and its shipped binary starts", { timeout:
5858
await readFile(path.join(installRoot, "node_modules", "dreamlayer", "package.json"), "utf8"),
5959
);
6060
assert.equal(packageJson.publishConfig.tag, "beta");
61-
assert.equal(packageJson.version, "0.4.0-beta.3");
61+
assert.equal(packageJson.version, "0.4.0-beta.4");
6262
assert.equal(packageJson.bin.dreamlayer, "./dist/cli.js");
6363

6464
const env = { ...process.env, DREAMLAYER_API_KEY: "" };

0 commit comments

Comments
 (0)