Share
saihm_shareShare one encrypted memory cell with another agent, granting read, write, or read-write access with optional expiry. The cell key is re-wrapped for the recipient.
Instructions
Grant one other agent access to a single memory cell, named by cellId. Identify the recipient by their recipientPinnedAgentIdHashHex, pinned out-of-band, and their recipientRecord. Set scope to 'read', 'write' or 'readwrite'. Only that one cell is exposed, and sharing re-wraps its key rather than copying the memory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Access scope (default read) | |
| cellId | Yes | The cell to share | |
| expiryEpoch | No | Optional expiry as a UNIX-epoch count (decimal string) | |
| recipientRecord | Yes | The grantee's published identity record (hex fields) | |
| recipientPinnedAgentIdHashHex | Yes | The grantee's agentIdHash (hex), pinned out-of-band |