@agent-os/image-resource-settlement
Purpose
Section titled “Purpose”Effect helper for consuming or releasing image resource reservations around a provider-side image operation.
Invariant
Section titled “Invariant”The image carrier owns only image.* vocabulary, idempotency, and projections. This package owns the Effect implementation helper that wraps provider calls with resource settlement behavior.
Minimal Usage
Section titled “Minimal Usage”Use withImageResourceSettlement(effect, settlement) in provider code that has
already acquired an image resource reservation and must consume it on success or
release it on failure.
Verification
Section titled “Verification”cd packages/providers/image-resource-settlementvp test run