chore(sync): mirror docs from openclaw/openclaw@fcb396bf65

This commit is contained in:
openclaw-docs-sync[bot] 2026-05-04 08:23:14 +00:00
parent f7996fcb11
commit 03b55fdc3d
2 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,5 @@
{
"repository": "openclaw/openclaw",
"sha": "281b5bd511de1191138a65072a8f9b494b5a337f",
"syncedAt": "2026-05-04T08:18:28.744Z"
"sha": "fcb396bf6589402e83ffbd96dd3d88c2f7f7a4f0",
"syncedAt": "2026-05-04T08:21:18.365Z"
}

View File

@ -417,12 +417,13 @@ Provider and channel execution paths must use the active runtime config snapshot
});
await store.register("key-1", { value: "hello" });
const claimed = await store.registerIfAbsent("dedupe-key", { value: "first" });
const value = await store.lookup("key-1");
await store.consume("key-1");
await store.clear();
```
Keyed stores survive restarts and are isolated by the runtime-bound plugin id. Limits: `maxEntries` per namespace, 1,000 live rows per plugin, JSON values under 64KB, and optional TTL expiry.
Keyed stores survive restarts and are isolated by the runtime-bound plugin id. Use `registerIfAbsent(...)` for atomic dedupe claims: it returns `true` when the key was missing or expired and registered, or `false` when a live value already exists without overwriting its value, creation time, or TTL. Limits: `maxEntries` per namespace, 1,000 live rows per plugin, JSON values under 64KB, and optional TTL expiry.
<Warning>
Bundled plugins only in this release.