image-skill 0.1.11 → 0.1.12
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 +7 -0
- package/bin/image-skill.mjs +1 -1
- package/cli.md +4 -20
- package/llms.txt +1 -1
- package/package.json +1 -1
- package/skills/image-skill/references/cli.md +4 -20
- package/skills/image-skill/references/llms.txt +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,13 @@ 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.12 - 2026-05-26
|
|
8
|
+
|
|
9
|
+
- Publish the action-only payment-method public contract: public discovery now
|
|
10
|
+
shows usable payment rails only.
|
|
11
|
+
- Remove staged/watch-only payment rail examples from the public npm docs and
|
|
12
|
+
bundled skill references so agents are not steered toward unavailable flows.
|
|
13
|
+
|
|
7
14
|
## 0.1.11 - 2026-05-26
|
|
8
15
|
|
|
9
16
|
- Remove private no-spend fake payment rails from the public CLI and public
|
package/bin/image-skill.mjs
CHANGED
|
@@ -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.
|
|
10
|
+
const VERSION = "0.1.12";
|
|
11
11
|
const DEFAULT_API_BASE_URL = "https://api.image-skill.com";
|
|
12
12
|
const PROMPTLESS_EDIT_MODEL_IDS = new Set([
|
|
13
13
|
"fal.flux-dev-redux",
|
package/cli.md
CHANGED
|
@@ -188,31 +188,15 @@ Minimum success data shape:
|
|
|
188
188
|
"requires_browser": true,
|
|
189
189
|
"default_pack_id": "starter-500",
|
|
190
190
|
"purchase_endpoint": "/v1/credit-purchases/stripe-checkout-sessions"
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
"method_id": "stripe_x402.exact.usdc",
|
|
194
|
-
"status": "preview",
|
|
195
|
-
"available": false,
|
|
196
|
-
"quoteable": false,
|
|
197
|
-
"purchasable": false,
|
|
198
|
-
"live_money": true,
|
|
199
|
-
"buyer_modes": ["agent_only", "hybrid"],
|
|
200
|
-
"requires_browser": false,
|
|
201
|
-
"unavailable_reason": "stripe_x402_preview_not_configured"
|
|
202
191
|
}
|
|
203
192
|
]
|
|
204
193
|
}
|
|
205
194
|
```
|
|
206
195
|
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
yet.
|
|
212
|
-
|
|
213
|
-
Agent-native payment rails may appear here later as preview or available methods,
|
|
214
|
-
but only methods returned as `available:true`, `quoteable:true`, and
|
|
215
|
-
`purchasable:true` should be used for public top-up flows.
|
|
196
|
+
Public payment discovery is intentionally action-only. Rails that are merely
|
|
197
|
+
planned, watch-only, fake, or private harness-only are not returned here. Use a
|
|
198
|
+
method only when it is returned with `available:true`, `quoteable:true`, and
|
|
199
|
+
`purchasable:true`.
|
|
216
200
|
|
|
217
201
|
Hosted API equivalent:
|
|
218
202
|
|
package/llms.txt
CHANGED
|
@@ -109,7 +109,7 @@ Hosted API endpoints:
|
|
|
109
109
|
- POST https://api.image-skill.com/v1/agent-signups creates or rotates a restricted unclaimed agent token. Raw API request human_email is the compatibility contact field; CLI agents should prefer --agent-contact. The contact is not a requirement that an autonomous agent stop until a specific human is present. The response returns the token once as data.token. Store it in the agent runtime secret store; never put it in prompts, logs, issue text, or feedback.
|
|
110
110
|
- GET https://api.image-skill.com/v1/whoami returns durable hosted identity for Authorization: Bearer TOKEN.
|
|
111
111
|
- GET https://api.image-skill.com/v1/quota returns durable hosted quota for Authorization: Bearer TOKEN.
|
|
112
|
-
- GET https://api.image-skill.com/v1/payment-methods returns the no-auth payment rail catalog. It tells agents which rails are available, whether live money can move, buyer modes (agent_only, hybrid, human_only), browser requirements, limits, endpoint paths, and recovery commands.
|
|
112
|
+
- GET https://api.image-skill.com/v1/payment-methods returns the no-auth action-only payment rail catalog. It tells agents which currently usable rails are available, whether live money can move, buyer modes (agent_only, hybrid, human_only), browser requirements, limits, endpoint paths, and recovery commands. Planned, watch-only, fake, and private harness rails are intentionally omitted.
|
|
113
113
|
- GET https://api.image-skill.com/v1/credit-packs returns the public pack catalog. Recommended live-money packs include starter-500, builder-2000, and studio-5000. Packs are the default Stripe Checkout UX; exact quotes remain supported for agents that already know the required credit budget.
|
|
114
114
|
- POST https://api.image-skill.com/v1/credit-quotes returns a stripe_checkout credit quote for Authorization: Bearer TOKEN. Request JSON: either credits or pack_id, optional payment_method, idempotency_key. Response includes quote_id, credits, price_amount_cents, currency, accepted_payment_method, pack_id, pack, and live_money. One credit equals $0.01, so price_amount_cents equals credits. This does not grant credits.
|
|
115
115
|
- POST https://api.image-skill.com/v1/credit-purchases/stripe-checkout-sessions creates a Stripe Checkout Session for a stripe_checkout quote. Request JSON: quote_id, idempotency_key. Response includes state: action_required, payment_attempt_id, checkout_session_id, checkout_handoff_url, checkout_compact_url, checkout_url, accepted_payment_method: stripe_checkout, and next.human_action: open_checkout_url. Present checkout_handoff_url to humans because it is short and redirects to Stripe; checkout_compact_url is also copy-safe when present. If no handoff URL is available, present the full checkout_url in a code block. Do not remove the Stripe # fragment; Checkout needs it in the browser. Stripe-hosted Checkout may accept operator-provided promotion codes; humans enter them on Stripe, not in the Image Skill CLI. This does not grant credits; verified Stripe webhook fulfillment grants paid credits exactly once.
|
package/package.json
CHANGED
|
@@ -188,31 +188,15 @@ Minimum success data shape:
|
|
|
188
188
|
"requires_browser": true,
|
|
189
189
|
"default_pack_id": "starter-500",
|
|
190
190
|
"purchase_endpoint": "/v1/credit-purchases/stripe-checkout-sessions"
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
"method_id": "stripe_x402.exact.usdc",
|
|
194
|
-
"status": "preview",
|
|
195
|
-
"available": false,
|
|
196
|
-
"quoteable": false,
|
|
197
|
-
"purchasable": false,
|
|
198
|
-
"live_money": true,
|
|
199
|
-
"buyer_modes": ["agent_only", "hybrid"],
|
|
200
|
-
"requires_browser": false,
|
|
201
|
-
"unavailable_reason": "stripe_x402_preview_not_configured"
|
|
202
191
|
}
|
|
203
192
|
]
|
|
204
193
|
}
|
|
205
194
|
```
|
|
206
195
|
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
yet.
|
|
212
|
-
|
|
213
|
-
Agent-native payment rails may appear here later as preview or available methods,
|
|
214
|
-
but only methods returned as `available:true`, `quoteable:true`, and
|
|
215
|
-
`purchasable:true` should be used for public top-up flows.
|
|
196
|
+
Public payment discovery is intentionally action-only. Rails that are merely
|
|
197
|
+
planned, watch-only, fake, or private harness-only are not returned here. Use a
|
|
198
|
+
method only when it is returned with `available:true`, `quoteable:true`, and
|
|
199
|
+
`purchasable:true`.
|
|
216
200
|
|
|
217
201
|
Hosted API equivalent:
|
|
218
202
|
|
|
@@ -109,7 +109,7 @@ Hosted API endpoints:
|
|
|
109
109
|
- POST https://api.image-skill.com/v1/agent-signups creates or rotates a restricted unclaimed agent token. Raw API request human_email is the compatibility contact field; CLI agents should prefer --agent-contact. The contact is not a requirement that an autonomous agent stop until a specific human is present. The response returns the token once as data.token. Store it in the agent runtime secret store; never put it in prompts, logs, issue text, or feedback.
|
|
110
110
|
- GET https://api.image-skill.com/v1/whoami returns durable hosted identity for Authorization: Bearer TOKEN.
|
|
111
111
|
- GET https://api.image-skill.com/v1/quota returns durable hosted quota for Authorization: Bearer TOKEN.
|
|
112
|
-
- GET https://api.image-skill.com/v1/payment-methods returns the no-auth payment rail catalog. It tells agents which rails are available, whether live money can move, buyer modes (agent_only, hybrid, human_only), browser requirements, limits, endpoint paths, and recovery commands.
|
|
112
|
+
- GET https://api.image-skill.com/v1/payment-methods returns the no-auth action-only payment rail catalog. It tells agents which currently usable rails are available, whether live money can move, buyer modes (agent_only, hybrid, human_only), browser requirements, limits, endpoint paths, and recovery commands. Planned, watch-only, fake, and private harness rails are intentionally omitted.
|
|
113
113
|
- GET https://api.image-skill.com/v1/credit-packs returns the public pack catalog. Recommended live-money packs include starter-500, builder-2000, and studio-5000. Packs are the default Stripe Checkout UX; exact quotes remain supported for agents that already know the required credit budget.
|
|
114
114
|
- POST https://api.image-skill.com/v1/credit-quotes returns a stripe_checkout credit quote for Authorization: Bearer TOKEN. Request JSON: either credits or pack_id, optional payment_method, idempotency_key. Response includes quote_id, credits, price_amount_cents, currency, accepted_payment_method, pack_id, pack, and live_money. One credit equals $0.01, so price_amount_cents equals credits. This does not grant credits.
|
|
115
115
|
- POST https://api.image-skill.com/v1/credit-purchases/stripe-checkout-sessions creates a Stripe Checkout Session for a stripe_checkout quote. Request JSON: quote_id, idempotency_key. Response includes state: action_required, payment_attempt_id, checkout_session_id, checkout_handoff_url, checkout_compact_url, checkout_url, accepted_payment_method: stripe_checkout, and next.human_action: open_checkout_url. Present checkout_handoff_url to humans because it is short and redirects to Stripe; checkout_compact_url is also copy-safe when present. If no handoff URL is available, present the full checkout_url in a code block. Do not remove the Stripe # fragment; Checkout needs it in the browser. Stripe-hosted Checkout may accept operator-provided promotion codes; humans enter them on Stripe, not in the Image Skill CLI. This does not grant credits; verified Stripe webhook fulfillment grants paid credits exactly once.
|