ExtractedValueStore
Storage for extractor output.
There is deliberately no list(). Extractors are addressed by slug from
config and never enumerated; PersistentMemoryStore.listBlocks has no
production consumer either (only the Routed and Tiered composers forward it).
Omitting it removes a method and the mixed-enumeration problem that a shared
namespace would have created.
owner is the userId for user/shared scope and the agentId for agent
scope, resolved by the caller. A caller that cannot resolve one must not
invent a placeholder — see resolveWorkingMemoryOwner, where a shared
'anonymous' fallback pooled every userless session into one bucket.
Methods
Section titled “Methods”delete()
Section titled “delete()”delete( scope, owner,slug): Promise<void>;No-op when missing.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
|
|
|
|
|
|
Returns
Section titled “Returns”Promise<void>
load()
Section titled “load()”load( scope, owner, slug): Promise< | ExtractedValue<unknown>| null>;Returns null when nothing has been extracted for this slug yet. Never throws on missing.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
|
|
|
|
|
|
Returns
Section titled “Returns”Promise<
| ExtractedValue<unknown>
| null>
save()
Section titled “save()”save(value, owner): Promise<void>;Replaces any existing value for (scope, owner, slug).
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
|
|
|
Returns
Section titled “Returns”Promise<void>