@meterapp/car-image-sdk 1.34.0 → 1.35.0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/mcp/index.ts"],"names":[],"mappings":"AACA;;;;;;;;;;GAUG;AACH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EA4BL,KAAK,MAAM,EACX,KAAK,aAAa,EACnB,MAAM,aAAa,CAAC;AAerB,eAAO,MAAM,eAAe;aAC1B,IAAI,EAAE,eAAe;aACrB,KAAK,EAAE,eAAe;aACtB,OAAO;aACP,UAAU;CACF,CAAC;AAEX;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,uBAAuB;aAAK,KAAK;iBAAI,WAAW;;CAAoB,CAAC;AAElF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,YAAY;aACvB,IAAI,YACF,iBAAiB,EACjB,iBAAiB,EACjB,YAAY,EACZ,gBAAgB,EAChB,eAAe,EACf,uBAAuB,EACvB,aAAa,EACb,iBAAiB,EACjB,cAAc,EACd,iBAAiB,EACjB,eAAe;aAEjB,GAAG,YACD,iBAAiB,EACjB,iBAAiB,EACjB,YAAY,EACZ,gBAAgB,EAChB,eAAe,EACf,uBAAuB,EACvB,aAAa,EACb,iBAAiB,EACjB,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,cAAc,EACd,kBAAkB,EAClB,sBAAsB,EACtB,qBAAqB,EACrB,cAAc,EACd,eAAe,EACf,iBAAiB,EACjB,cAAc,EACd,kBAAkB,EAClB,oBAAoB,EACpB,cAAc,EACd,aAAa,EACb,aAAa,EACb,sBAAsB,EACtB,kBAAkB,EAClB,eAAe,EACf,aAAa,EACb,iBAAiB,EACjB,cAAc,EACd,eAAe,EACf,YAAY,EACZ,eAAe,EACf,iBAAiB,EACjB,aAAa,EACb,gBAAgB,EAChB,oBAAoB,EACpB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
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/mcp/index.ts"],"names":[],"mappings":"AACA;;;;;;;;;;GAUG;AACH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EA4BL,KAAK,MAAM,EACX,KAAK,aAAa,EACnB,MAAM,aAAa,CAAC;AAerB,eAAO,MAAM,eAAe;aAC1B,IAAI,EAAE,eAAe;aACrB,KAAK,EAAE,eAAe;aACtB,OAAO;aACP,UAAU;CACF,CAAC;AAEX;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,uBAAuB;aAAK,KAAK;iBAAI,WAAW;;CAAoB,CAAC;AAElF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,YAAY;aACvB,IAAI,YACF,iBAAiB,EACjB,iBAAiB,EACjB,YAAY,EACZ,gBAAgB,EAChB,eAAe,EACf,uBAAuB,EACvB,aAAa,EACb,iBAAiB,EACjB,cAAc,EACd,iBAAiB,EACjB,eAAe;aAEjB,GAAG,YACD,iBAAiB,EACjB,iBAAiB,EACjB,YAAY,EACZ,gBAAgB,EAChB,eAAe,EACf,uBAAuB,EACvB,aAAa,EACb,iBAAiB,EACjB,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,cAAc,EACd,kBAAkB,EAClB,sBAAsB,EACtB,qBAAqB,EACrB,cAAc,EACd,eAAe,EACf,iBAAiB,EACjB,cAAc,EACd,kBAAkB,EAClB,oBAAoB,EACpB,cAAc,EACd,aAAa,EACb,aAAa,EACb,sBAAsB,EACtB,kBAAkB,EAClB,eAAe,EACf,aAAa,EACb,iBAAiB,EACjB,cAAc,EACd,eAAe,EACf,YAAY,EACZ,eAAe,EACf,iBAAiB,EACjB,aAAa,EACb,gBAAgB,EAChB,oBAAoB,EACpB,gBAAgB,EAChB,gBAAgB;CAEV,CAAC;AACX,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,YAAY,CAAC;AAEnD;;;;;;;;GAQG;AACH,eAAO,MAAM,k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,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAA;AAED,uDAAuD;AACvD,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAA;AAED,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,EAAE,KAAK,CAAC,cAAc,GAAG,eAAe,CAAC,CAAC;IACjD,iBAAiB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC5C,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAA;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,aAAa,CAG9F;AAED,sEAAsE;AACtE,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,GAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAM,GAAG,aAAa,CAMnG;AAED,6EAA6E;AAC7E,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,CAmBrE;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,CASxE;AAED,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC"}
package/dist/mcp/index.js CHANGED
@@ -182,7 +182,7 @@ export function mcpInstructionsHead(toolset = DEFAULT_MCP_TOOLSET) {
182
182
 
183
183
  First look the vehicle up: resolve_vehicle reads a year/make/model phrase and returns params.vehicle_id, view and color; search_vehicles browses; decode_vin reads a VIN; check_vehicles checks a list of up to ${MAX_MCP_CHECK_VEHICLES} at once. All are free. Do this even for a car you picked yourself: catalog names differ from familiar names. Include a year; if the human named none, choose one and say which. Reuse an id already in this conversation.
184
184
 
185
- For an image in chat, call create_car_image_urls once with vehicle: "veh_…", view and color in images, ttl_seconds: 604800 and max_uses: 0. Paste each returned markdown image directly in the final reply, outside code fences, and state expiry. Reuse unexpired URLs. Leave renewal off unless requested. If inline images are unsupported, link the existing URL; do not make another image call. Use get_car_image for explicit files or bytes, not before minting a URL for the same image. Pages, emails and documents also use signed URLs; never put keys in client code.
185
+ For an image in chat, call get_car_image with vehicle: "veh_…", view and color (width: 960, height: 600, trim: true, padding: 8, background: "#f4f4f4" suits a chat). The host shows the returned picture inline: name the vehicle, view and color in a line, and do not mint a URL for the same image. In a terminal, or where tool images reach only you, call create_car_image_urls once instead (ttl_seconds: 604800, max_uses: 0) and put its markdown, or its URL as a link, in the reply. Pages, apps, emails and documents use signed URLs (create_car_image_urls); never put keys in client code.
186
186
 
187
187
  If lookup confidence is low or the year differs from the request, ask before making an image. If no match, ${HEAD_MISSING}; never silently substitute a car.
188
188
 
@@ -922,9 +922,8 @@ export const MCP_TOOL_OUTPUT_SCHEMAS = {
922
922
  credits_charged: z.number().nullable(),
923
923
  /** Legacy credit meter only. */
924
924
  credits_remaining: z.number().nullable().optional(),
925
- /** Vehicle-image meter: the month's vehicle images and new vehicle views after this call. */
925
+ /** Vehicle-image meter: the month's vehicle images after this call. */
926
926
  vehicle_images: meterCountSchema.optional(),
927
- new_views: meterCountSchema.optional(),
928
927
  source: z.enum(["cache", "generated"]).nullable(),
929
928
  width: z.number().int().nullable(),
930
929
  height: z.number().int().nullable(),
@@ -952,9 +951,8 @@ export const MCP_TOOL_OUTPUT_SCHEMAS = {
952
951
  credits_charged: z.number(),
953
952
  /** Legacy credit meter only. */
954
953
  credits_remaining: z.number().optional(),
955
- /** Vehicle-image meter: the month's vehicle images and new vehicle views after this call. */
954
+ /** Vehicle-image meter: the month's vehicle images after this call. */
956
955
  vehicle_images: meterCountSchema.optional(),
957
- new_views: meterCountSchema.optional(),
958
956
  renewal: z.looseObject({ window_seconds: z.number(), credits_per_window: z.number().optional(), until: z.string() }).nullable().optional(),
959
957
  }),
960
958
  request_id: z.string(),
@@ -1250,11 +1248,10 @@ export const LOW_BALANCE_CREDITS = 10;
1250
1248
  export function accountSummary(data) {
1251
1249
  const images = data.limits_usage?.vehicle_images_this_month;
1252
1250
  if (data.limits_usage?.meter === "vehicle_images" && images) {
1253
- const views = data.limits_usage.new_views_this_month;
1254
1251
  const of = (usage) => `${usage.used.toLocaleString("en-US")} of ${usage.limit === null ? "unlimited" : usage.limit.toLocaleString("en-US")}`;
1255
1252
  const full = (usage) => Boolean(usage && usage.limit !== null && usage.used >= usage.limit);
1256
- const stop = full(images) || full(views) ? " An allowance is used up: images already received this month still serve; ask the human before asking for new ones." : "";
1257
- return `${data.plan ? `${data.plan.name} plan: ` : ""}${of(images)} vehicle images used this month${views ? `, ${of(views)} new vehicle views` : ""}; every image serves as often as needed in any size.${stop}`;
1253
+ const stop = full(images) ? " The allowance is used up: images already received this month still serve; ask the human before asking for new ones." : "";
1254
+ return `${data.plan ? `${data.plan.name} plan: ` : ""}${of(images)} vehicle images used this month; every image serves as often as needed in any size.${stop}`;
1258
1255
  }
1259
1256
  const perDollar = data.pricing?.credits_per_dollar ?? CREDITS_PER_DOLLAR;
1260
1257
  const perImage = data.pricing?.credits_per_image ?? CREDITS_PER_IMAGE;
@@ -1281,7 +1278,7 @@ export function resolveSummary(data) {
1281
1278
  : "";
1282
1279
  const caution = data.confidence === "low" ? " Confidence is low: confirm with the human before making an image." : "";
1283
1280
  const id = data.params.vehicle_id;
1284
- const render = `how it with create_car_image_urls (or get_car_image for explicit files or bytes), passing vehicle: "${id}", view: "${data.params.view}" and color: "${data.params.color}".`;
1281
+ const render = `how it with get_car_image (in chat; create_car_image_urls for a page, app, email or document, or in a terminal), passing vehicle: "${id}", view: "${data.params.view}" and color: "${data.params.color}".`;
1285
1282
  const next = id ? (otherYear || caution ? ` Once they agree, s${render}` : ` S${render}`) : "";
1286
1283
  return `Resolved to ${make} ${model} ${data.params.year}, view ${data.params.view}, color ${data.params.color} (confidence ${data.confidence}).${otherYear}${caution}${next}`;
1287
1284
  }
@@ -1342,7 +1339,7 @@ export function imageUrlsSummary(result) {
1342
1339
  export const MCP_TOOLS = {
1343
1340
  get_pricing: {
1344
1341
  name: "get_pricing", title: "Get current pricing",
1345
- description: "Free, no account needed. The pricing document: every plan's monthly and yearly price, its vehicle images and new vehicle views a month (a vehicle image is one vehicle in one color from one angle, delivered as often as needed), included credits (for 3D models, make logos and upgrades; credits are not sold), limits per tier and features, the one-time Image Packs (add_ons), the free tier and live 3D model cost. There is no overage. Every plan and pack has a checkout_url that works before signup (sign-in, then Stripe Checkout; nothing is charged until the human pays): hand it to the human with the price. Use before explaining costs or choosing a plan.",
1342
+ description: "Free, no account needed. The pricing document: every plan's monthly and yearly price, its vehicle images a month (a vehicle image is one vehicle in one color from one angle, delivered as often as needed), included credits (for 3D models, make logos and upgrades; credits are not sold), limits per tier and features, the one-time Image Packs (add_ons), the free tier and live 3D model cost. There is no overage. Every plan and pack has a checkout_url that works before signup (sign-in, then Stripe Checkout; nothing is charged until the human pays): hand it to the human with the price. Use before explaining costs or choosing a plan.",
1346
1343
  inputSchema: MCP_TOOL_SCHEMAS.get_pricing, outputSchema: MCP_TOOL_OUTPUT_SCHEMAS.get_pricing,
1347
1344
  annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true },
1348
1345
  },
@@ -1393,7 +1390,7 @@ export const MCP_TOOLS = {
1393
1390
  get_car_image: {
1394
1391
  name: "get_car_image",
1395
1392
  title: "Get car image bytes",
1396
- description: `Return image bytes as an MCP attachment for explicit file or byte requests. To show a vehicle in chat, use create_car_image_urls and embed its markdown instead; attachments may not appear in the final reply. Counts one vehicle image (vehicle, color, angle) for the month on the account's plan, and a new vehicle view when the catalog has not prepared that angle yet; the same image again this month adds nothing. Legacy credit-meter accounts: COSTS ${CREDITS_PER_IMAGE} CREDIT per call, cached or generated. Call resolve_vehicle first (or search_vehicles, or decode_vin for a VIN) and pass the id it returns as \`vehicle\`: the lookup is free, and the catalog files cars under its own names (a Mazda "MX-5 Miata" is mx-5), so a make and model typed from memory can answer 404 for a car the catalog carries. Make, model and year are for callers that already hold catalog spellings. Eight camera angles, any paint color (fifteen named presets or any hex such as #1a2b3c), any width and height up to ${MAX_DIMENSION} px (fit contain|cover|inside), transparent or on a solid background, optionally trimmed to the car and with a soft ground shadow (shadow: true). Returns the image (PNG/WebP/JPG; format auto delivers PNG here) plus usage metadata (credits_charged, vehicle_images and new_views used this month, or credits_remaining on the credit meter; source cache|generated, request_id, the vehicle with its vehicle_id). Use create_car_image_urls for chat, web pages, emails and documents. Do not call both paid tools for one image.`,
1393
+ description: `Show a vehicle in chat: returns the image as an MCP image the host displays inline with the result, and the bytes for a file. Name the vehicle, view and color in the reply; do not also mint a signed URL for the same image. Where the person cannot see tool images (a terminal), use create_car_image_urls instead. Counts one vehicle image (vehicle, color, angle) for the month on the account's plan, prepared yet or not; the same image again this month adds nothing. Legacy credit-meter accounts: COSTS ${CREDITS_PER_IMAGE} CREDIT per call, cached or generated. Call resolve_vehicle first (or search_vehicles, or decode_vin for a VIN) and pass the id it returns as \`vehicle\`: the lookup is free, and the catalog files cars under its own names (a Mazda "MX-5 Miata" is mx-5), so a make and model typed from memory can answer 404 for a car the catalog carries. Make, model and year are for callers that already hold catalog spellings. Eight camera angles, any paint color (fifteen named presets or any hex such as #1a2b3c), any width and height up to ${MAX_DIMENSION} px (fit contain|cover|inside), transparent or on a solid background, optionally trimmed to the car and with a soft ground shadow (shadow: true). Returns the image (PNG/WebP/JPG; format auto delivers PNG here) plus usage metadata (credits_charged, vehicle_images used this month, or credits_remaining on the credit meter; source cache|generated, request_id, the vehicle with its vehicle_id). Use create_car_image_urls for web pages, apps, emails and documents, and in a terminal. Do not call both paid tools for one image.`,
1397
1394
  inputSchema: MCP_TOOL_SCHEMAS.get_car_image,
1398
1395
  outputSchema: MCP_TOOL_OUTPUT_SCHEMAS.get_car_image,
1399
1396
  annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true },
@@ -1401,7 +1398,7 @@ export const MCP_TOOLS = {
1401
1398
  create_car_image_urls: {
1402
1399
  name: "create_car_image_urls",
1403
1400
  title: "Create signed car image URLs",
1404
- description: "Show vehicle images in chat: create 1-50 signed URLs with ready-to-display Markdown. Paste each returned markdown directly into the final reply, outside code fences. For chat use ttl_seconds 604800, max_uses 0 and renewal off unless requested. Reuse unexpired URLs; do not call get_car_image first or mint twice for one image. If inline display is unsupported, link the same URL instead. Browsers, emails and documents can also load these key-free URLs directly (<img src>). Each URL counts its vehicle image for the month at creation (1 credit on the legacy credit meter); loads within the TTL add nothing and are publicly cacheable. Each image names its vehicle like get_car_image: look each distinct vehicle up once (resolve_vehicle, search_vehicles or decode_vin, all free) and pass its id as vehicle, or send make, model and year in catalog spelling. Each takes any paint color (a preset or a hex) and the same sizing options (width, height, fit, background, framing, trim, padding, shadow); format auto makes the URL serve webp or png per viewer. For email, CMS pages or documents that outlive a TTL, set renew: true with ttl_seconds 604800: the URL keeps serving past expiry, renewing in each opened week (one more credit per week on the legacy credit meter), for up to renew_days. Pass idempotency_key when the call might be repeated: a retry with the same key and arguments replays the first result instead of billing again. Returns id, url, markdown, expires_at, max_uses, renews_until and the normalized vehicle for each image. Prefer this over get_car_image for chat replies, HTML, Markdown, documents and websites. State expiry briefly.",
1401
+ description: "Put vehicle images into web pages, apps, emails and documents: create 1-50 key-free signed URLs a browser loads directly (<img src>), each with ready-to-display Markdown. To show a vehicle in chat, use get_car_image instead: the host displays it inline. Use these URLs in chat only where tool images do not reach the person (a terminal) or the human asks for a link: then paste each returned markdown in the final reply, outside code fences (or link the URL where images do not render), with ttl_seconds 604800, max_uses 0 and renewal off unless requested. Reuse unexpired URLs; never mint twice for one image. Each URL counts its vehicle image for the month at creation (1 credit on the legacy credit meter); loads within the TTL add nothing and are publicly cacheable. Each image names its vehicle like get_car_image: look each distinct vehicle up once (resolve_vehicle, search_vehicles or decode_vin, all free) and pass its id as vehicle, or send make, model and year in catalog spelling. Each takes any paint color (a preset or a hex) and the same sizing options (width, height, fit, background, framing, trim, padding, shadow); format auto makes the URL serve webp or png per viewer. For email, CMS pages or documents that outlive a TTL, set renew: true with ttl_seconds 604800: the URL keeps serving past expiry, renewing in each opened week (one more credit per week on the legacy credit meter), for up to renew_days. Pass idempotency_key when the call might be repeated: a retry with the same key and arguments replays the first result instead of billing again. Returns id, url, markdown, expires_at, max_uses, renews_until and the normalized vehicle for each image. Prefer this over get_car_image for HTML, Markdown files, documents, emails and websites. State expiry briefly.",
1405
1402
  inputSchema: MCP_TOOL_SCHEMAS.create_car_image_urls,
1406
1403
  outputSchema: MCP_TOOL_OUTPUT_SCHEMAS.create_car_image_urls,
1407
1404
  annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true },
@@ -1657,7 +1654,7 @@ export const API_REFERENCE = [
1657
1654
  cli: "car-image logo --make Toyota --width 256 --out toyota-logo.png",
1658
1655
  returns: "Image bytes with X-Credits-Charged, X-Credits-Remaining, X-Image-Source, X-Image-Width, X-Image-Height, ETag and X-Request-Id. Failed delivery refunds the credit. No signed URL or 304 mode.",
1659
1656
  },
1660
- { method: "GET", path: "/api/v1/pricing", summary: "The pricing document: plans (price, vehicle images and new vehicle views a month, included credits, limits, features, checkout_url), the one-time Image Packs (add_ons), free tier, live 3D cost and how to buy. No overage; credits are not sold.", auth: "public", credits: "free", notes: "Every checkout_url works before signup: sign-in, then Stripe Checkout; nothing is charged until the human pays.", sdk: "client.pricing()", cli: "car-image pricing [--json]" },
1657
+ { method: "GET", path: "/api/v1/pricing", summary: "The pricing document: plans (price, vehicle images a month, included credits, limits, features, checkout_url), the one-time Image Packs (add_ons), free tier, live 3D cost and how to buy. No overage; credits are not sold.", auth: "public", credits: "free", notes: "Every checkout_url works before signup: sign-in, then Stripe Checkout; nothing is charged until the human pays.", sdk: "client.pricing()", cli: "car-image pricing [--json]" },
1661
1658
  { method: "POST", path: "/api/v1/help", summary: "Source-linked product help and private query recording.", auth: "bearer", credits: "free (account:read)", params: ["query (2-1000 characters, no secrets or personal information)", "report_gap (optional boolean: flag missing context)"], notes: "Related articles are not an answer to every clause. Cite relevant sources; escalate unknowns to support. Queries are recorded privately.", sdk: "client.searchHelp(question, {reportGap: true})", cli: "car-image support question --report-gap" },
1662
1659
  { method: "POST", path: "/api/v1/billing/link", summary: "Link-only checkout or billing settings; never charges or switches a plan.", auth: "bearer", credits: "free (account:read; owner billing:write for Stripe links)", params: ["plan (pro|business) + optional interval (month|year); {} for settings. Credits are not sold"], notes: "Connected apps and keys without billing:write get a checkout link that signs the human in first; existing subscriptions use the signed-in dashboard. A human completes payment in the browser.", sdk: "client.createCheckoutLink({plan: 'pro'}) / client.getBillingLink()", cli: "car-image upgrade --plan pro --no-browser (works before sign-in)" },
1663
1660
  {
@@ -1682,8 +1679,8 @@ export const API_REFERENCE = [
1682
1679
  "shadow (1 adds a soft ground shadow under the car, from its cut-out; same image, nothing extra)",
1683
1680
  `format (${FORMATS.join("|")}|auto; default png; auto negotiates webp/png from Accept)`,
1684
1681
  ],
1685
- returns: "image bytes; headers X-Credits-Charged (0 on a plan), X-Vehicle-Images-Used, X-Vehicle-Images-Included, X-New-Views-Used, X-New-Views-Included (a number or unlimited; X-Credits-Remaining instead on the legacy credit meter), X-Image-Source (cache|generated), X-Image-Width, X-Image-Height, ETag, X-Request-Id (Vary: Accept with format=auto). With Accept: application/json: {data:{url,expires_at,vehicle:{vehicle_id,make,model,year,view,color,…},width,height,format}, billing:{credits_charged:0, vehicle_images:{used,included}, new_views:{used,included}} (credit meter: {credits_charged,credits_remaining}), request_id}",
1686
- errors: ["400 invalid params (also vehicle together with make/model/year)", "401 missing/invalid key", "402 plan_image_limit or plan_new_view_limit (used, included, requested, resets_at, pack_url, checkout_url; nothing charged; legacy credit meter: insufficient credits)", "404 vehicle not in catalog or unknown vehicle id", "429 rate limited (Retry-After)", "502 render failed (refunded)", "503 generation_at_capacity: new renders resume at reset_at (Retry-After; nothing charged)"],
1682
+ returns: "image bytes; headers X-Credits-Charged (0 on a plan), X-Vehicle-Images-Used, X-Vehicle-Images-Included (a number or unlimited; X-Credits-Remaining instead on the legacy credit meter), X-Image-Source (cache|generated), X-Image-Width, X-Image-Height, ETag, X-Request-Id (Vary: Accept with format=auto). With Accept: application/json: {data:{url,expires_at,vehicle:{vehicle_id,make,model,year,view,color,…},width,height,format}, billing:{credits_charged:0, vehicle_images:{used,included}} (credit meter: {credits_charged,credits_remaining}), request_id}",
1683
+ errors: ["400 invalid params (also vehicle together with make/model/year)", "401 missing/invalid key", "402 plan_image_limit (used, included, requested, resets_at, pack_url, checkout_url; nothing charged; legacy credit meter: insufficient credits)", "404 vehicle not in catalog or unknown vehicle id", "429 rate limited (Retry-After)", "502 render failed (refunded)", "503 generation_at_capacity: new renders resume at reset_at (Retry-After; nothing charged)"],
1687
1684
  notes: "On 402 stop: images already received this month keep serving; hand the human checkout_url (a higher plan) with the price, or pack_url (Image Packs); buy only when they ask or a spending mandate they set covers it. Respect Retry-After on 429.",
1688
1685
  sdk: "client.getImage({ make, model, year, view, color, size, width, height, fit, background, framing, trim, padding, shadow, format }) / client.getImage({ vehicle: 'veh_…', color: '#1a2b3c' }) / client.getImageUrl(...)",
1689
1686
  cli: "car-image get --make Porsche --model 911 --year 2024 --view side --color red --out car.png · car-image get --vehicle veh_395yw8tn73ff8 --color 1a2b3c",
@@ -1695,8 +1692,8 @@ export const API_REFERENCE = [
1695
1692
  auth: "bearer",
1696
1693
  credits: "0 on a plan: each URL counts its vehicle image for the month at creation; loads and renewals add nothing. Legacy credit meter: 1 per URL at creation, 1 per renewed window",
1697
1694
  params: ["images: [{make, model, year | vehicle, view?, color? (preset or hex), size?, width?, height?, fit?, background?, framing?, trim?, padding?, shadow?, format?}] (or a single image object)", "ttl_seconds (60-604800; default 3600)", "max_uses (0-1000; 0 = unlimited; default 0)", "renew (auto-renew past the TTL; requires max_uses 0)", "renew_days (1-365; default 365)", "header Idempotency-Key (optional; a retry with the same key and body replays the first response instead of billing again)"],
1698
- returns: "201 {data:[{id,url,expires_at,max_uses,renews_until,vehicle:{vehicle_id,…}}], billing:{charged_on:'creation',credits_charged:0,vehicle_images:{used,included},new_views:{used,included},renewal?} (credit meter: credits_charged,credits_remaining,credits_per_url), request_id}; a replay carries Idempotent-Replayed: true",
1699
- errors: ["400 invalid body or batch > 50", "401", "402 plan_image_limit or plan_new_view_limit (nothing counted)", "404 vehicle not in catalog", "409 same Idempotency-Key still in flight", "422 same Idempotency-Key with a different body", "429"],
1695
+ returns: "201 {data:[{id,url,expires_at,max_uses,renews_until,vehicle:{vehicle_id,…}}], billing:{charged_on:'creation',credits_charged:0,vehicle_images:{used,included},renewal?} (credit meter: credits_charged,credits_remaining,credits_per_url), request_id}; a replay carries Idempotent-Replayed: true",
1696
+ errors: ["400 invalid body or batch > 50", "401", "402 plan_image_limit (nothing counted)", "404 vehicle not in catalog", "409 same Idempotency-Key still in flight", "422 same Idempotency-Key with a different body", "429"],
1700
1697
  sdk: "client.createImageUrls([{ make, model, year, ...sizing }, { vehicle: 'veh_…' }], { ttlSeconds, maxUses, renew, renewDays, idempotencyKey })",
1701
1698
  cli: "car-image url --make BMW --model M3 --year 2022 --ttl 86400 [--renew] [--idempotency-key <key>]",
1702
1699
  },
@@ -1707,7 +1704,7 @@ export const API_REFERENCE = [
1707
1704
  auth: "bearer",
1708
1705
  credits: "free",
1709
1706
  params: ["images: [{vehicle | make, model, year, view?, color?, …}] (1-200 image objects, as POST /api/v1/image-urls takes)"],
1710
- returns: "200 {data:{object:'image_availability_check', images:[{index,prepared,counts_new_view,counts_image,vehicle:{id,make,model,year},view,color}], summary:{items,prepared,not_prepared}, allowance:{period:{month_start}, vehicle_images:{used,included,would_add,fits}, new_views:{used,included,would_add,fits}}|null}, request_id}",
1707
+ returns: "200 {data:{object:'image_availability_check', images:[{index,prepared,counts_image,vehicle:{id,make,model,year},view,color}], summary:{items,prepared,not_prepared}, allowance:{period:{month_start}, vehicle_images:{used,included,would_add,fits}}|null}, request_id}",
1711
1708
  errors: ["400 invalid_body or invalid_params (index)", "401", "404 vehicle_not_found (index)"],
1712
1709
  sdk: "client.checkAvailability([{ vehicle: 'veh_…', view: 'front', color: 'red' }])",
1713
1710
  },
@@ -1865,7 +1862,7 @@ export const API_REFERENCE = [
1865
1862
  summary: "Plan and renewal (plan.meter: vehicle_images, or credits for accounts that paid before 2026-10-25), this month's vehicle images and new vehicle views against the plan, credits (for 3D models, logos and upgrades), the next plan with its checkout link, payment method, 30-day usage, key scopes.",
1866
1863
  auth: "bearer",
1867
1864
  credits: "free",
1868
- returns: "{data:{credits, auto_reload, has_payment_method, plan:{…, meter, limits:{images_per_month,new_views_per_month,…}}, pricing, usage_30d:{requests,images,cache_hit_rate}, limits_usage:{period, meter, vehicle_images_this_month:{used,limit,remaining}|null, new_views_this_month:{used,limit,remaining}|null, distinct_vehicles_this_month:{used,limit,remaining}|null (credit meter), api_keys:{used,limit,remaining}, requests_per_minute_per_key, requests_per_minute_per_account}, renews_at, next_plan:{id,name,price,adds,checkout_url}, key:{prefix,scopes}}, links, request_id}",
1865
+ returns: "{data:{credits, auto_reload, has_payment_method, plan:{…, meter, limits:{images_per_month,…}}, pricing, usage_30d:{requests,images,cache_hit_rate}, limits_usage:{period, meter, vehicle_images_this_month:{used,limit,remaining}|null, distinct_vehicles_this_month:{used,limit,remaining}|null (credit meter), api_keys:{used,limit,remaining}, requests_per_minute_per_key, requests_per_minute_per_account}, renews_at, next_plan:{id,name,price,adds,checkout_url}, key:{prefix,scopes}}, links, request_id}",
1869
1866
  sdk: "client.account()",
1870
1867
  cli: "car-image whoami (alias: account)",
1871
1868
  },
@@ -1939,7 +1936,7 @@ export function formatApiReference(filter) {
1939
1936
  const header = [
1940
1937
  `Car Image API — base URL ${DEFAULT_BASE_URL}`,
1941
1938
  `Auth: Authorization: Bearer cimg_… (never in URLs). Errors: application/problem+json {type,title,status,detail,request_id}.`,
1942
- `Pricing: plans meter vehicle images (one vehicle in one color from one angle, counted once a UTC month, delivered as often as needed at any size) and new vehicle views (angles the catalog prepares first); images cost no credits. Free: ${PLAN_ALLOWANCES.free.vehicleImages} vehicle images and ${PLAN_ALLOWANCES.free.newViews} new views a month, ${FREE_CREDITS} credits once, evaluation and personal projects. Pro $${PLAN_ALLOWANCES.pro.monthlyUsd}/month: ${PLAN_ALLOWANCES.pro.vehicleImages.toLocaleString("en-US")} images, ${PLAN_ALLOWANCES.pro.newViews.toLocaleString("en-US")} new views, ${PLAN_ALLOWANCES.pro.creditsPerMonth.toLocaleString("en-US")} credits a month, commercial license while subscribed. Business $${PLAN_ALLOWANCES.business.monthlyUsd}/month: ${PLAN_ALLOWANCES.business.vehicleImages.toLocaleString("en-US")} images, ${PLAN_ALLOWANCES.business.newViews.toLocaleString("en-US")} new views, ${PLAN_ALLOWANCES.business.creditsPerMonth.toLocaleString("en-US")} credits. No overage: past an allowance new images answer 402 until the 1st (UTC). Credits are not sold and pay for 3D models (${MODEL_3D_PRICE.split(" (")[0]}), make logos (1) and upgrades (20). Image Packs are one-time and self-hosted for good. GET /api/v1/pricing has live prices.`,
1939
+ `Pricing: plans meter vehicle images (one vehicle in one color from one angle, counted once a UTC month, delivered as often as needed at any size, stored or prepared first); images cost no credits. Free: ${PLAN_ALLOWANCES.free.vehicleImages} vehicle images a month, ${FREE_CREDITS} credits once, evaluation and personal projects. Pro $${PLAN_ALLOWANCES.pro.monthlyUsd}/month: ${PLAN_ALLOWANCES.pro.vehicleImages.toLocaleString("en-US")} images, ${PLAN_ALLOWANCES.pro.creditsPerMonth.toLocaleString("en-US")} credits a month, commercial license while subscribed. Business $${PLAN_ALLOWANCES.business.monthlyUsd}/month: ${PLAN_ALLOWANCES.business.vehicleImages.toLocaleString("en-US")} images, ${PLAN_ALLOWANCES.business.creditsPerMonth.toLocaleString("en-US")} credits. No overage: past an allowance new images answer 402 until the 1st (UTC). Credits are not sold and pay for 3D models (${MODEL_3D_PRICE.split(" (")[0]}), make logos (1) and upgrades (20). Image Packs are one-time and self-hosted for good. GET /api/v1/pricing has live prices.`,
1943
1940
  `Vehicles: make + model + year, or vehicle=<stable id such as veh_395yw8tn73ff8> (from /api/v1/vehicles, /api/v1/vin or resolve), never both. Colors: ${COLORS.length} presets or any hex paint (URLs: color=1a2b3c bare; JSON: "#1a2b3c" or "1a2b3c"; responses echo #1a2b3c).`,
1944
1941
  "",
1945
1942
  ];
@@ -1989,7 +1986,7 @@ export function nextStepFor(status) {
1989
1986
  case 401:
1990
1987
  return "The API key is missing or invalid. Set CAR_IMAGE_API_KEY (or run `car-image login`); never paste keys into prompts.";
1991
1988
  case 402:
1992
- return `Payment required; nothing was charged. Stop. With code plan_image_limit or plan_new_view_limit the month's allowance is used (images already received keep serving; it resets at resets_at): give the human checkout_url (a higher plan) with its price, or pack_url (Image Packs). With code subscription_required_for_credits the account lacks credits for a 3D model, logo or upgrade; credits are not sold, so give checkout_url (a plan, which includes credits every month). Buy only when the human asks or a spending mandate they set covers it.`;
1989
+ return `Payment required; nothing was charged. Stop. With code plan_image_limit the month's allowance is used (images already received keep serving; it resets at resets_at): give the human checkout_url (a higher plan) with its price, or pack_url (Image Packs). With code subscription_required_for_credits the account lacks credits for a 3D model, logo or upgrade; credits are not sold, so give checkout_url (a plan, which includes credits every month). Buy only when the human asks or a spending mandate they set covers it.`;
1993
1990
  case 403:
1994
1991
  return "This key lacks the required scope. Ask the human to create a key with the right scopes in the dashboard.";
1995
1992
  case 404: