Files
openclaw/extensions/memory-core/openclaw.plugin.json
Vignesh 4c1022c73b feat(memory-core): add dreaming promotion with weighted recall thresholds (#60569)
* memory-core: add dreaming promotion flow with weighted thresholds

* docs(memory): mark dreaming as experimental

* memory-core: address dreaming promotion review feedback

* memory-core: harden short-term promotion concurrency

* acpx: make abort-process test timer-independent

* memory-core: simplify dreaming config with mode presets

* memory-core: add /dreaming command and tighten recall tracking

* ui: add Dreams tab with sleeping lobster animation

Adds a new Dreams tab to the gateway UI under the Agent group.
The tab is gated behind the memory-core dreaming config — it only
appears in the sidebar when dreaming.mode is not 'off'.

Features:
- Sleeping vector lobster with breathing animation
- Floating Z's, twinkling starfield, moon glow
- Rotating dream phrase bubble (17 whimsical phrases)
- Memory stats bar (short-term, long-term, promoted)
- Active/idle visual states
- 14 unit tests

* plugins: fix --json stdout pollution from hook runner log

The hook runner initialization message was using log.info() which
writes to stdout via console.log, breaking JSON.parse() in the
Docker smoke test for 'openclaw plugins list --json'. Downgrade to
log.debug() so it only appears when debugging is enabled.

* ui: keep Dreams tab visible when dreaming is off

* tests: fix contracts and stabilize extension shards

* memory-core: harden dreaming recall persistence and locking

* fix: stabilize dreaming PR gates (#60569) (thanks @vignesh07)

* test: fix rebase drift in telegram and plugin guards
2026-04-03 20:26:53 -07:00

82 lines
2.2 KiB
JSON

{
"id": "memory-core",
"kind": "memory",
"uiHints": {
"dreaming.mode": {
"label": "Dreaming Mode",
"placeholder": "core",
"help": "Select dreaming mode: off, core, deep, or rem."
},
"dreaming.frequency": {
"label": "Dreaming Frequency",
"placeholder": "0 3 * * *",
"help": "Optional cron cadence override for managed dreaming runs."
},
"dreaming.timezone": {
"label": "Dreaming Timezone",
"placeholder": "America/Los_Angeles",
"help": "IANA timezone for the managed dreaming cron schedule."
},
"dreaming.limit": {
"label": "Promotion Limit",
"placeholder": "10",
"help": "Maximum short-term candidates promoted per dreaming run (set to 0 to skip promotions)."
},
"dreaming.minScore": {
"label": "Promotion Min Score",
"placeholder": "0.75",
"help": "Minimum weighted rank required for automatic promotion."
},
"dreaming.minRecallCount": {
"label": "Promotion Min Recalls",
"placeholder": "3",
"help": "Minimum recall count required for automatic promotion."
},
"dreaming.minUniqueQueries": {
"label": "Promotion Min Queries",
"placeholder": "2",
"help": "Minimum unique query count required for automatic promotion."
}
},
"configSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"dreaming": {
"type": "object",
"additionalProperties": false,
"properties": {
"mode": {
"type": "string",
"enum": ["off", "core", "deep", "rem"]
},
"frequency": {
"type": "string"
},
"timezone": {
"type": "string"
},
"limit": {
"type": "number",
"minimum": 0
},
"minScore": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"minRecallCount": {
"type": "number",
"minimum": 0
},
"minUniqueQueries": {
"type": "number",
"minimum": 0
}
},
"required": ["mode"]
}
}
}
}