StorageAPI
Defined in: namespaces.ts:462
Legacy synchronous key-value storage tier.
For durable, namespaced, Promise-shaped document/KV storage with query,
compaction, and export/import, use context.store (fn-71 StoreAPI) —
the storage plane every core plugin builds on. storage.* remains
supported for simple small values.
Methods
Section titled “Methods”get(
key):unknown
Defined in: namespaces.ts:464
Gets a value from the plugin’s scoped storage.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”unknown
set(
key,value):void
Defined in: namespaces.ts:466
Sets a value in the plugin’s scoped storage.
Parameters
Section titled “Parameters”string
unknown
Returns
Section titled “Returns”void
getSecure()
Section titled “getSecure()”getSecure(
key):string|null
Defined in: namespaces.ts:468
Reads a string value from the macOS Keychain (plugin-scoped).
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”string | null
setSecure()
Section titled “setSecure()”setSecure(
key,value):void
Defined in: namespaces.ts:470
Writes a string value to the macOS Keychain (plugin-scoped).
Parameters
Section titled “Parameters”string
string
Returns
Section titled “Returns”void
deleteSecure()
Section titled “deleteSecure()”deleteSecure(
key):true|undefined
Defined in: namespaces.ts:472
Removes a keychain item (plugin-scoped).
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”true | undefined