Optional
options: { Protected
_agentProtected
_serviceProtected
_invocationProtected
Add a space from a received proof.
Create a delegation to the passed audience for the given abilities with the current space as the resource.
Optional
options: Omit<UCANOptions, "audience"> & { Get delegations created by the agent for others.
Optional
caps: Capability<Ability, `${string}:${string}`, any>[]Capabilities to filter by. Empty or undefined caps with return all the delegations.
Get all the proofs matching the capabilities.
Proofs are delegations with an audience matching the agent DID.
Optional
caps: Capability<Ability, `${string}:${string}`, any>[]Capabilities to filter by. Empty or undefined caps with return all the proofs.
Register the current space with the service.
Invokes voucher/redeem
for the free tier, waits on the websocket for the
voucher/claim
and invokes it.
It also adds a full space delegation to the service in the voucher/claim
invocation to allow for recovery.
Optional
options: { Uploads a directory of files to the service and returns the root data CID for the generated DAG. All files are added to a container directory, with paths in file names preserved.
File data.
Optional
options: UploadOptions = {}Uploads a file to the service and returns the root data CID for the generated DAG.
File data.
Optional
options: UploadOptions = {}Generated using TypeDoc
Add a proof to the agent. Proofs are delegations with an audience matching the agent DID.