Provider Storage Protocol
Provides scoped KV records and blob objects for provider-owned state.
Provider Storage Protocol
Provides scoped KV records and blob objects for provider-owned state.
| Field | Value |
|---|---|
| Protocol ID | aster.provider-storage |
| Version | 1.1.0 |
| Compatibility range | ^1.1.0 |
| Requirement helper | aster.provider-storage.require(settings?) via the protocol module |
| Provider helper | Available through Protocol.provide(...). |
Settings
DefaultProtocolSettingsSchema (Record<string, unknown> | null).
Operations
| Operation | Summary | Request | Response |
|---|---|---|---|
kvGet | Read one provider-scoped KV record. | Effect Schema (Objects) | Effect Schema (Union) |
kvSet | Write one provider-scoped KV record. | Effect Schema (Objects) | Effect Schema (Void) |
kvDelete | Delete one provider-scoped KV record. | Effect Schema (Objects) | Effect Schema (Void) |
kvList | List provider-scoped KV records by optional key prefix. | Effect Schema (Objects) | Effect Schema (Arrays) |
blobPut | Write provider-scoped blob content into the object store. | Effect Schema (Objects) | Effect Schema (Objects) |
blobGet | Read provider-scoped blob content from the object store. | Effect Schema (Objects) | Effect Schema (Union) |
blobPutBytes | Write exact provider-scoped binary blob bytes. | Effect Schema (Objects) | Effect Schema (Objects) |
blobGetBytes | Read exact provider-scoped binary blob bytes. | Effect Schema (Objects) | Effect Schema (Union) |
Conformance Expectations
- Register with
aster.provider-storageat1.1.0inside^1.1.0. - Implement every operation:
kvGet,kvSet,kvDelete,kvList,blobPut,blobGet,blobPutBytes,blobGetBytes. - Decode requests and responses against the operation schemas listed above.
- Run the protocol conformance kit where one exists: No named kit yet; providers are still expected to satisfy the registry schemas..
Declared Authority
None declared. This protocol grants no authority by itself.