@fungi.computer/prints 0.4.0 → 0.5.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.
package/README.md CHANGED
@@ -90,9 +90,30 @@ Agents call Prints through Oyster's MCP endpoint, or at
90
90
 
91
91
  Each generation carries a request id (`media_request_` and 21 lowercase letters
92
92
  or digits). Retrying with the same id and inputs recovers the same generation
93
- instead of paying for another. References are paths on the Computer, such as
94
- `[{ path: "/canon/style.png" }]`; callers never pass image bytes, URLs or a
95
- Computer id.
93
+ instead of paying for another. References are file paths, such as
94
+ `[{ path: "/canon/style.png" }]`. In a host with Agent Computer attachments,
95
+ `{ computerId: "computer-b", path: "/canon/style.png" }` reads from any attached
96
+ Computer using that Computer's own read authorization. Omit `computerId` for the
97
+ selected Computer; the output still saves there. Revoked or denied reads stop
98
+ generation before provider dispatch. Callers never pass image bytes or URLs.
99
+ Reference reads are not confined to the App's library folder: the Computer grant
100
+ is the boundary.
101
+
102
+ `listModels` includes a labelled `priceEstimate` for its stated default settings
103
+ (including the example prompt and no references). `basis: "team-price"` includes
104
+ the host's current Team markup; `"provider-cost"` is an unmarked provider
105
+ estimate. The image result's `costMilliunits` and human-readable `receipt` use
106
+ Media's admitted charge, not the catalogue hint. The receipt states that charge
107
+ plainly; only `priceEstimate` is an estimate. Changing dimensions, steps, prompt
108
+ or references can change the charge.
109
+
110
+ Set optional `settings.steps` only for models whose `input.steps` is not
111
+ `"fixed"`; obey `input.maxSteps` where present. Omission uses the model default.
112
+ Refusals retain Media's bounded provider diagnostic. The typed
113
+ `provider.reason === "credits_exhausted"` means Cloudflare AI Gateway couldn't
114
+ fund the request, not a Team credit refusal. Check the account's credits and
115
+ billing in the Cloudflare dashboard under AI Gateway or choose a Workers AI
116
+ model; do not retry a `retryable: false` result.
96
117
 
97
118
  ## Build and check
98
119