image-skill 0.1.18 → 0.1.20

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/CHANGELOG.md CHANGED
@@ -4,6 +4,42 @@ This changelog tracks the public `image-skill` CLI package and public skill
4
4
  mirror. The npm package metadata remains the authority for tarball integrity and
5
5
  provenance; this file is the human- and agent-readable release map.
6
6
 
7
+ ## 0.1.20 - 2026-06-02
8
+
9
+ - Fix (funnel): the advertised `signup` usage line omitted the now-required
10
+ `--agent-name` and `--runtime` flags, so a cold agent's first signup always
11
+ stumbled before self-correcting via the recovery envelope. The top-level help
12
+ now advertises the full required flag set, so a first signup with the
13
+ advertised flags succeeds.
14
+ - Fix (funnel): the live create/edit receipt reported `cost.estimated_usd: null`
15
+ while the dry-run/plan receipt populated it. The live receipt now derives
16
+ `estimated_usd` from the same reservation credit-pricing the plan used, so plan
17
+ and execution agree (a provider-reported concrete value still wins when
18
+ present).
19
+ - Test: added a fault-injection test that forces the hosted provider to 5xx and
20
+ asserts the error envelope carries `recovery.idempotency_key` +
21
+ `suggested_command`, then proves a same-key retry replays and charges once.
22
+
23
+ ## 0.1.19 - 2026-06-02
24
+
25
+ - Fix: the two newly-shipped modalities were broken on live prod despite green
26
+ unit tests. Audio (`fal.stable-audio-25-text-to-audio`) failed server-side
27
+ with `PROVIDER_FAILURE` "fal audio queue status returned HTTP 405" — the Fal
28
+ queue status/result poll appended `requests/<id>` to the full sub-pathed model
29
+ id, but Fal keys those endpoints by the app id only (`fal-ai/stable-audio-25`,
30
+ sub-path dropped), so the poll 405'd. The queue runner now prefers the absolute
31
+ `status_url`/`response_url` Fal returns and falls back to the app-level base.
32
+ Video and Trellis (no sub-path) are unaffected.
33
+ - Fix: the documented promptless image-to-3D edit `image-skill edit --input
34
+ image_... --model fal.trellis-image-to-3d --json` (no `--prompt`) was
35
+ unreachable — the edit validator required `--prompt` while the provider
36
+ rejected any prompt. The public CLI bin (and the server) now treat Trellis as
37
+ promptless: no `--prompt` is required and none is sent.
38
+ - Fix: a failed edit's `PROVIDER_FAILURE` recovery `suggested_command` now
39
+ preserves `--input` and `--model` so the advertised retry is runnable verbatim
40
+ (it previously collapsed to a bare `image-skill edit --idempotency-key ...`
41
+ that failed "edit requires --input").
42
+
7
43
  ## 0.1.18 - 2026-06-02
8
44
 
9
45
  - Contract: advertise the now-shipped audio and 3D modalities so registries
@@ -7,7 +7,7 @@ import { Readable } from "node:stream";
7
7
  import { pipeline } from "node:stream/promises";
8
8
  import os from "node:os";
9
9
 
10
- const VERSION = "0.1.18";
10
+ const VERSION = "0.1.20";
11
11
  const PACKAGE_NAME = "image-skill";
12
12
  const DEFAULT_API_BASE_URL = "https://api.image-skill.com";
13
13
  const DEFAULT_DOCS_BASE_URL = "https://image-skill.com";
@@ -17,6 +17,10 @@ const PROMPTLESS_EDIT_MODEL_IDS = new Set([
17
17
  "fal.flux-dev-redux",
18
18
  "fal.flux-krea-redux",
19
19
  "fal.flux-schnell-redux",
20
+ // Promptless image-to-3D variation: the documented `image-skill edit --input
21
+ // image_... --model fal.trellis-image-to-3d` (no --prompt) must succeed; the
22
+ // provider rejects any prompt, so the public CLI must not require/send one.
23
+ "fal.trellis-image-to-3d",
20
24
  ]);
21
25
  const DEFAULT_CONFIG_PATH = join(
22
26
  process.env.XDG_CONFIG_HOME ?? join(os.homedir(), ".config"),
@@ -70,7 +74,7 @@ async function main(rawArgv) {
70
74
  commands: [
71
75
  "doctor",
72
76
  "trust",
73
- "signup --agent --agent-contact --show-token",
77
+ "signup --agent --agent-contact --agent-name NAME --runtime RUNTIME --show-token",
74
78
  "auth status",
75
79
  "auth save",
76
80
  "auth logout",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "image-skill",
3
- "version": "0.1.18",
3
+ "version": "0.1.20",
4
4
  "description": "Zero-setup durable creative-media CLI for agents (image + video + audio + 3D): guide-first creation, model and cost inspection, owned URLs, JSON recovery, payments, reusable assets, and feedback.",
5
5
  "type": "module",
6
6
  "private": false,