image-skill 0.1.57 → 0.1.58
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 +10 -0
- package/SKILL.md +3 -1
- package/bin/image-skill.mjs +3 -1
- package/cli.md +7 -1
- package/llms.txt +1 -1
- package/package.json +1 -1
- package/skill.md +3 -1
- package/skills/image-skill/SKILL.md +3 -1
- package/skills/image-skill/references/cli.md +7 -1
- package/skills/image-skill/references/llms.txt +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,16 @@ 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.58 - 2026-06-17
|
|
8
|
+
|
|
9
|
+
- Release (activation/self-fund): mirror top-up urgency and the no-spend
|
|
10
|
+
payment rail inspection command into hosted generated-asset
|
|
11
|
+
`assets show/get` `data.next_actions.self_fund`, so agents that inspect or
|
|
12
|
+
download created media can still discover the safe first self-fund step
|
|
13
|
+
before ending the session. No payment caps, auth semantics, provider routing,
|
|
14
|
+
wallet action, provider spend, media spend, hosted deploy, or production write
|
|
15
|
+
changed in this release bump.
|
|
16
|
+
|
|
7
17
|
## 0.1.57 - 2026-06-16
|
|
8
18
|
|
|
9
19
|
- Release (activation/self-fund): mirror top-up urgency and the no-spend
|
package/SKILL.md
CHANGED
|
@@ -282,7 +282,9 @@ audit trail context (recent jobs, assets, usage events, feedback acceptance,
|
|
|
282
282
|
trace IDs, status changes) you can cite in feedback. `activity list/show` may
|
|
283
283
|
also return `data.next_actions.self_fund` with the same urgency and no-spend
|
|
284
284
|
inspection handoff when the ledger proves generated work and quota says top-up
|
|
285
|
-
setup is recommended.
|
|
285
|
+
setup is recommended. `assets show` and hosted asset-id `assets get` may return
|
|
286
|
+
the same `data.next_actions.self_fund` after generated work, so downloading or
|
|
287
|
+
inspecting the asset does not hide the funding setup path.
|
|
286
288
|
**Do not use `activity` as a wait or recovery command.** Activity is the ledger,
|
|
287
289
|
not the work queue.
|
|
288
290
|
|
package/bin/image-skill.mjs
CHANGED
|
@@ -15,7 +15,7 @@ import { Readable } from "node:stream";
|
|
|
15
15
|
import { pipeline } from "node:stream/promises";
|
|
16
16
|
import os from "node:os";
|
|
17
17
|
|
|
18
|
-
const VERSION = "0.1.
|
|
18
|
+
const VERSION = "0.1.58";
|
|
19
19
|
const PACKAGE_NAME = "image-skill";
|
|
20
20
|
const DEFAULT_API_BASE_URL = "https://api.image-skill.com";
|
|
21
21
|
const DEFAULT_DOCS_BASE_URL = "https://image-skill.com";
|
|
@@ -4026,6 +4026,7 @@ async function assets(argv) {
|
|
|
4026
4026
|
return shown;
|
|
4027
4027
|
}
|
|
4028
4028
|
const asset = shown.envelope.data?.asset ?? shown.envelope.data;
|
|
4029
|
+
const nextActions = shown.envelope.data?.next_actions;
|
|
4029
4030
|
const output =
|
|
4030
4031
|
flagString(args, "output") ?? deriveAssetGetOutputPath(asset);
|
|
4031
4032
|
const downloaded = await downloadUrl(asset.url, output, {
|
|
@@ -4042,6 +4043,7 @@ async function assets(argv) {
|
|
|
4042
4043
|
},
|
|
4043
4044
|
asset,
|
|
4044
4045
|
download: downloaded.data,
|
|
4046
|
+
...(nextActions === undefined ? {} : { next_actions: nextActions }),
|
|
4045
4047
|
};
|
|
4046
4048
|
return shown;
|
|
4047
4049
|
}
|
package/cli.md
CHANGED
|
@@ -1578,6 +1578,10 @@ Minimum success data:
|
|
|
1578
1578
|
External URLs are rejected. Older assets created before hosted asset metadata
|
|
1579
1579
|
was recorded may still be inspectable by Image Skill-owned URL.
|
|
1580
1580
|
|
|
1581
|
+
For hosted generated assets, when quota says top-up setup is recommended,
|
|
1582
|
+
`data.next_actions.self_fund` mirrors the top-up urgency and no-spend payment
|
|
1583
|
+
rail inspection handoff used by create/edit, jobs, and activity responses.
|
|
1584
|
+
|
|
1581
1585
|
### `image-skill assets get`
|
|
1582
1586
|
|
|
1583
1587
|
Downloads an Image Skill-owned asset URL or hosted asset id to a local file.
|
|
@@ -1591,7 +1595,9 @@ image-skill assets get \
|
|
|
1591
1595
|
|
|
1592
1596
|
The command refuses to overwrite existing files unless `--overwrite` is
|
|
1593
1597
|
explicit. It verifies byte length when the asset server provides a
|
|
1594
|
-
`content-length` header.
|
|
1598
|
+
`content-length` header. For hosted asset-id downloads, `assets get` preserves
|
|
1599
|
+
`data.next_actions.self_fund` from the asset metadata response after a
|
|
1600
|
+
successful download.
|
|
1595
1601
|
|
|
1596
1602
|
### `image-skill jobs show`
|
|
1597
1603
|
|
package/llms.txt
CHANGED
|
@@ -65,7 +65,7 @@ First-run guide loop:
|
|
|
65
65
|
5. At any guide stage, read data.checks.quota.top_up. When recommended is true, it includes recommendation_reason, preferred_payment_method, quote_command, quote_command_copy_runnable, quote_command_effect, and quote/buy/status command templates for the browserless x402 top-up path. On quota/payment recovery errors, read error.recovery.top_up: when delegated live-money quoting is allowed, prefer error.recovery.top_up.quote_command to open the top-up path, and use error.recovery.suggested_command for no-spend payment-method inspection. If data.stage is quota_required, data.guide_warning.next_command_safety is live_money_payment_action and data.guide_warning.payment_top_up_path summarizes the live-money path. Run data.self_fund_next_command to start the top-up. It aliases data.next_command and is the first payment command, usually an x402 or Stripe quote. First read data.checks.payments.preferred_method_summary.top_up_path: browserless_agent_self_fund means a wallet-equipped agent can complete the preferred live-money rail without a browser; human_payment_handoff means the agent can create the payment attempt but a human/browser step must complete before credits are granted. If the guide authenticated from env or stdin, prefer data.self_fund_handoff.auth.next_command.with_env or data.self_fund_handoff.auth.next_command.with_stdin so auth follows the payment command. Then follow data.self_fund_handoff.payment_commands.buy and status, and rerun data.self_fund_handoff.after_next once credits are granted. If data.stage is ready_to_create, inspect data.self_fund_preparation before consuming the remaining free allowance. When available and recommended are true, data.self_fund_preparation.quote_command is the pre-wall browserless x402 quote: it creates an authenticated live-money quote/payment object, but data.self_fund_preparation.quote_command_effect must show no provider call, no hosted create, no credit debit, no media write, and no wallet settlement until a later buy/payment step. One Image Skill credit is $0.01. Credit quotes grant prepaid value units; create/edit operations debit model-priced credits reported as cost.credit_pricing. Starter preview currently gives bounded free-preview credits plus a four-job daily cap.
|
|
66
66
|
5a. When data.stage is quota_required, data.self_fund_handoff mirrors top-up urgency, urgency_score, and urgency_reasons, and exposes first_safe_command plus first_safe_command_effect. Run first_safe_command, usually image-skill credits methods --json, for no-spend rail inspection before quote/buy when delegated spend authority is absent or unclear.
|
|
67
67
|
6. If data.stage is ready_to_create, data.next_command is the first bounded live create. data.guide_warning.next_command_safety must be live_media_create_credit_debit, data.guide_warning.no_spend_safe must be false, data.guide_warning.spend_required must be true, and data.guide_warning.recommended_command_field must be recommended_no_spend_command. data.auth_ready.ready and data.auth_ready.next_command_auth_ready must be true; data.auth_ready.next_command_requires_auth must be true, and the command can reuse saved config, IMAGE_SKILL_TOKEN, or --token-stdin context without exposing a raw token. data.next_command_effect.label must be live_media_create_credit_debit and its provider_call, hosted_create, credit_debit, and media_write flags are true. data.no_spend_evaluation.stop_here must be true, data.no_spend_evaluation.next_command_is_live_create must be true, and data.no_spend_evaluation.recommended_command_field must be recommended_no_spend_command. Run data.next_command only when media spend is allowed. In no-spend evaluations, or when you only need to prove readiness without media/provider work, stop before data.next_command and run data.recommended_no_spend_command instead. data.recommended_no_spend_command must equal data.no_spend_next_command. data.no_spend_next_command_effect.label must be dry_run_planned_job_no_provider_call_no_credit_debit_no_media_write: no_spend, hosted_create_dry_run, planned_job, and plan_receipt are true; activity_event is job.planned; provider_call, credit_debit, and media_write are false. This dry-run may create a recoverable planned job/activity receipt but no provider execution, debit, downloadable asset, or media write. If the guide authenticated from env or stdin, prefer data.auth_handoff.next_command.with_env or data.auth_handoff.next_command.with_stdin so auth follows the live create. In guide cost output, cost.estimated_usd_per_image and cost.estimated_debit_usd_per_image are the Image Skill debit dollars for one output; cost.estimated_provider_usd_per_image is only the upstream provider estimate. Use the guide's returned max_estimated_usd_per_image because it is sized to the credit debit the agent funds. Add --output-count N only after models show confirms the selected create model supports more than one output; credit_pricing.credits_required is the total debit across outputs, while max_estimated_usd_per_image remains a per-image Image Skill debit guard.
|
|
68
|
-
7. After create, prefer data.next_actions when present: inspect_job and inspect_asset are copy-runnable no-spend recovery commands, iterate_edit is the reusable-asset edit template, and self_fund is the promoted top-up quote handoff when quota.top_up.recommended is true. self_fund mirrors urgency, urgency_score, and urgency_reasons, and exposes first_safe_command plus first_safe_command_effect for no-spend rail inspection before quote/buy. self_fund.quote_command is copy-runnable and omits --idempotency-key so the public CLI generates and returns one for retry safety; follow the quote response into buy/status. Otherwise use image-skill jobs show JOB_ID to recover status, cost, safety, timestamps, and final assets; image-skill assets get ASSET_URL_OR_ID --output ./result.png to fetch the generated asset without repeating provider work; and image-skill activity list --subject JOB_ID to find ledger events, trace, usage, asset links, and any data.next_actions.self_fund handoff to cite or follow.
|
|
68
|
+
7. After create, prefer data.next_actions when present: inspect_job and inspect_asset are copy-runnable no-spend recovery commands, iterate_edit is the reusable-asset edit template, and self_fund is the promoted top-up quote handoff when quota.top_up.recommended is true. self_fund mirrors urgency, urgency_score, and urgency_reasons, and exposes first_safe_command plus first_safe_command_effect for no-spend rail inspection before quote/buy. self_fund.quote_command is copy-runnable and omits --idempotency-key so the public CLI generates and returns one for retry safety; follow the quote response into buy/status. Otherwise use image-skill jobs show JOB_ID to recover status, cost, safety, timestamps, and final assets; image-skill assets get ASSET_URL_OR_ID --output ./result.png to fetch the generated asset without repeating provider work; and image-skill activity list --subject JOB_ID to find ledger events, trace, usage, asset links, and any data.next_actions.self_fund handoff to cite or follow. Hosted asset-id assets show/get may also return data.next_actions.self_fund after generated work, so inspect that field before ending the session.
|
|
69
69
|
8. Leave image-skill feedback create if the first-run flow is confusing, blocked, missing an affordance, or easier through a direct provider than through Image Skill. Feedback auth uses saved config from default signup, IMAGE_SKILL_TOKEN, or --token-stdin; if signup or guide already saved config, run feedback create normally and do not copy a raw token. Never paste tokens into feedback title, body, evidence, issues, or logs. Use image-skill activity show FEEDBACK_ID only when you need to confirm the feedback entered the hosted ledger.
|
|
70
70
|
|
|
71
71
|
Manual escape hatches are not prerequisites. Use image-skill doctor, image-skill models list, image-skill models show MODEL_ID, image-skill whoami, image-skill usage quota, image-skill credits methods, image-skill credits packs list, image-skill credits quote, image-skill credits buy, image-skill credits status, image-skill create --dry-run, and image-skill edit --dry-run only when data.next_command or data.escape_hatches asks for them, or when the task genuinely needs deeper capability, quota, payment, or planning detail.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "image-skill",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.58",
|
|
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,
|
package/skill.md
CHANGED
|
@@ -282,7 +282,9 @@ audit trail context (recent jobs, assets, usage events, feedback acceptance,
|
|
|
282
282
|
trace IDs, status changes) you can cite in feedback. `activity list/show` may
|
|
283
283
|
also return `data.next_actions.self_fund` with the same urgency and no-spend
|
|
284
284
|
inspection handoff when the ledger proves generated work and quota says top-up
|
|
285
|
-
setup is recommended.
|
|
285
|
+
setup is recommended. `assets show` and hosted asset-id `assets get` may return
|
|
286
|
+
the same `data.next_actions.self_fund` after generated work, so downloading or
|
|
287
|
+
inspecting the asset does not hide the funding setup path.
|
|
286
288
|
**Do not use `activity` as a wait or recovery command.** Activity is the ledger,
|
|
287
289
|
not the work queue.
|
|
288
290
|
|
|
@@ -282,7 +282,9 @@ audit trail context (recent jobs, assets, usage events, feedback acceptance,
|
|
|
282
282
|
trace IDs, status changes) you can cite in feedback. `activity list/show` may
|
|
283
283
|
also return `data.next_actions.self_fund` with the same urgency and no-spend
|
|
284
284
|
inspection handoff when the ledger proves generated work and quota says top-up
|
|
285
|
-
setup is recommended.
|
|
285
|
+
setup is recommended. `assets show` and hosted asset-id `assets get` may return
|
|
286
|
+
the same `data.next_actions.self_fund` after generated work, so downloading or
|
|
287
|
+
inspecting the asset does not hide the funding setup path.
|
|
286
288
|
**Do not use `activity` as a wait or recovery command.** Activity is the ledger,
|
|
287
289
|
not the work queue.
|
|
288
290
|
|
|
@@ -1578,6 +1578,10 @@ Minimum success data:
|
|
|
1578
1578
|
External URLs are rejected. Older assets created before hosted asset metadata
|
|
1579
1579
|
was recorded may still be inspectable by Image Skill-owned URL.
|
|
1580
1580
|
|
|
1581
|
+
For hosted generated assets, when quota says top-up setup is recommended,
|
|
1582
|
+
`data.next_actions.self_fund` mirrors the top-up urgency and no-spend payment
|
|
1583
|
+
rail inspection handoff used by create/edit, jobs, and activity responses.
|
|
1584
|
+
|
|
1581
1585
|
### `image-skill assets get`
|
|
1582
1586
|
|
|
1583
1587
|
Downloads an Image Skill-owned asset URL or hosted asset id to a local file.
|
|
@@ -1591,7 +1595,9 @@ image-skill assets get \
|
|
|
1591
1595
|
|
|
1592
1596
|
The command refuses to overwrite existing files unless `--overwrite` is
|
|
1593
1597
|
explicit. It verifies byte length when the asset server provides a
|
|
1594
|
-
`content-length` header.
|
|
1598
|
+
`content-length` header. For hosted asset-id downloads, `assets get` preserves
|
|
1599
|
+
`data.next_actions.self_fund` from the asset metadata response after a
|
|
1600
|
+
successful download.
|
|
1595
1601
|
|
|
1596
1602
|
### `image-skill jobs show`
|
|
1597
1603
|
|
|
@@ -65,7 +65,7 @@ First-run guide loop:
|
|
|
65
65
|
5. At any guide stage, read data.checks.quota.top_up. When recommended is true, it includes recommendation_reason, preferred_payment_method, quote_command, quote_command_copy_runnable, quote_command_effect, and quote/buy/status command templates for the browserless x402 top-up path. On quota/payment recovery errors, read error.recovery.top_up: when delegated live-money quoting is allowed, prefer error.recovery.top_up.quote_command to open the top-up path, and use error.recovery.suggested_command for no-spend payment-method inspection. If data.stage is quota_required, data.guide_warning.next_command_safety is live_money_payment_action and data.guide_warning.payment_top_up_path summarizes the live-money path. Run data.self_fund_next_command to start the top-up. It aliases data.next_command and is the first payment command, usually an x402 or Stripe quote. First read data.checks.payments.preferred_method_summary.top_up_path: browserless_agent_self_fund means a wallet-equipped agent can complete the preferred live-money rail without a browser; human_payment_handoff means the agent can create the payment attempt but a human/browser step must complete before credits are granted. If the guide authenticated from env or stdin, prefer data.self_fund_handoff.auth.next_command.with_env or data.self_fund_handoff.auth.next_command.with_stdin so auth follows the payment command. Then follow data.self_fund_handoff.payment_commands.buy and status, and rerun data.self_fund_handoff.after_next once credits are granted. If data.stage is ready_to_create, inspect data.self_fund_preparation before consuming the remaining free allowance. When available and recommended are true, data.self_fund_preparation.quote_command is the pre-wall browserless x402 quote: it creates an authenticated live-money quote/payment object, but data.self_fund_preparation.quote_command_effect must show no provider call, no hosted create, no credit debit, no media write, and no wallet settlement until a later buy/payment step. One Image Skill credit is $0.01. Credit quotes grant prepaid value units; create/edit operations debit model-priced credits reported as cost.credit_pricing. Starter preview currently gives bounded free-preview credits plus a four-job daily cap.
|
|
66
66
|
5a. When data.stage is quota_required, data.self_fund_handoff mirrors top-up urgency, urgency_score, and urgency_reasons, and exposes first_safe_command plus first_safe_command_effect. Run first_safe_command, usually image-skill credits methods --json, for no-spend rail inspection before quote/buy when delegated spend authority is absent or unclear.
|
|
67
67
|
6. If data.stage is ready_to_create, data.next_command is the first bounded live create. data.guide_warning.next_command_safety must be live_media_create_credit_debit, data.guide_warning.no_spend_safe must be false, data.guide_warning.spend_required must be true, and data.guide_warning.recommended_command_field must be recommended_no_spend_command. data.auth_ready.ready and data.auth_ready.next_command_auth_ready must be true; data.auth_ready.next_command_requires_auth must be true, and the command can reuse saved config, IMAGE_SKILL_TOKEN, or --token-stdin context without exposing a raw token. data.next_command_effect.label must be live_media_create_credit_debit and its provider_call, hosted_create, credit_debit, and media_write flags are true. data.no_spend_evaluation.stop_here must be true, data.no_spend_evaluation.next_command_is_live_create must be true, and data.no_spend_evaluation.recommended_command_field must be recommended_no_spend_command. Run data.next_command only when media spend is allowed. In no-spend evaluations, or when you only need to prove readiness without media/provider work, stop before data.next_command and run data.recommended_no_spend_command instead. data.recommended_no_spend_command must equal data.no_spend_next_command. data.no_spend_next_command_effect.label must be dry_run_planned_job_no_provider_call_no_credit_debit_no_media_write: no_spend, hosted_create_dry_run, planned_job, and plan_receipt are true; activity_event is job.planned; provider_call, credit_debit, and media_write are false. This dry-run may create a recoverable planned job/activity receipt but no provider execution, debit, downloadable asset, or media write. If the guide authenticated from env or stdin, prefer data.auth_handoff.next_command.with_env or data.auth_handoff.next_command.with_stdin so auth follows the live create. In guide cost output, cost.estimated_usd_per_image and cost.estimated_debit_usd_per_image are the Image Skill debit dollars for one output; cost.estimated_provider_usd_per_image is only the upstream provider estimate. Use the guide's returned max_estimated_usd_per_image because it is sized to the credit debit the agent funds. Add --output-count N only after models show confirms the selected create model supports more than one output; credit_pricing.credits_required is the total debit across outputs, while max_estimated_usd_per_image remains a per-image Image Skill debit guard.
|
|
68
|
-
7. After create, prefer data.next_actions when present: inspect_job and inspect_asset are copy-runnable no-spend recovery commands, iterate_edit is the reusable-asset edit template, and self_fund is the promoted top-up quote handoff when quota.top_up.recommended is true. self_fund mirrors urgency, urgency_score, and urgency_reasons, and exposes first_safe_command plus first_safe_command_effect for no-spend rail inspection before quote/buy. self_fund.quote_command is copy-runnable and omits --idempotency-key so the public CLI generates and returns one for retry safety; follow the quote response into buy/status. Otherwise use image-skill jobs show JOB_ID to recover status, cost, safety, timestamps, and final assets; image-skill assets get ASSET_URL_OR_ID --output ./result.png to fetch the generated asset without repeating provider work; and image-skill activity list --subject JOB_ID to find ledger events, trace, usage, asset links, and any data.next_actions.self_fund handoff to cite or follow.
|
|
68
|
+
7. After create, prefer data.next_actions when present: inspect_job and inspect_asset are copy-runnable no-spend recovery commands, iterate_edit is the reusable-asset edit template, and self_fund is the promoted top-up quote handoff when quota.top_up.recommended is true. self_fund mirrors urgency, urgency_score, and urgency_reasons, and exposes first_safe_command plus first_safe_command_effect for no-spend rail inspection before quote/buy. self_fund.quote_command is copy-runnable and omits --idempotency-key so the public CLI generates and returns one for retry safety; follow the quote response into buy/status. Otherwise use image-skill jobs show JOB_ID to recover status, cost, safety, timestamps, and final assets; image-skill assets get ASSET_URL_OR_ID --output ./result.png to fetch the generated asset without repeating provider work; and image-skill activity list --subject JOB_ID to find ledger events, trace, usage, asset links, and any data.next_actions.self_fund handoff to cite or follow. Hosted asset-id assets show/get may also return data.next_actions.self_fund after generated work, so inspect that field before ending the session.
|
|
69
69
|
8. Leave image-skill feedback create if the first-run flow is confusing, blocked, missing an affordance, or easier through a direct provider than through Image Skill. Feedback auth uses saved config from default signup, IMAGE_SKILL_TOKEN, or --token-stdin; if signup or guide already saved config, run feedback create normally and do not copy a raw token. Never paste tokens into feedback title, body, evidence, issues, or logs. Use image-skill activity show FEEDBACK_ID only when you need to confirm the feedback entered the hosted ledger.
|
|
70
70
|
|
|
71
71
|
Manual escape hatches are not prerequisites. Use image-skill doctor, image-skill models list, image-skill models show MODEL_ID, image-skill whoami, image-skill usage quota, image-skill credits methods, image-skill credits packs list, image-skill credits quote, image-skill credits buy, image-skill credits status, image-skill create --dry-run, and image-skill edit --dry-run only when data.next_command or data.escape_hatches asks for them, or when the task genuinely needs deeper capability, quota, payment, or planning detail.
|