openclaw/extensions/feishu/src
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
..
test-support fix(types): annotate portable exported helper types 2026-04-04 03:57:47 +09:00
accounts.test.ts refactor: split feishu runtime and inspect secret resolution 2026-03-24 10:05:15 -07:00
accounts.ts refactor: split feishu runtime and inspect secret resolution 2026-03-24 10:05:15 -07:00
approval-auth.test.ts refactor: add approval auth capabilities to more channels 2026-03-30 09:04:08 +09:00
approval-auth.ts refactor: add approval auth capabilities to more channels 2026-03-30 09:04:08 +09:00
async.test.ts refactor: split feishu helpers and tests 2026-03-24 17:12:25 -07:00
async.ts refactor: split feishu helpers and tests 2026-03-24 17:12:25 -07:00
bitable.ts refactor(feishu): remove stale explicit-any escapes 2026-03-27 11:34:35 +05:30
bot-content.ts refactor(feishu): type runtime payload seams 2026-03-27 11:34:35 +05:30
bot-runtime-api.ts fix: align extension boundary guardrails for landing (#60153) 2026-04-03 23:01:43 +09:00
bot-sender-name.ts refactor(feishu): type sender drive and typing helpers 2026-03-27 11:34:35 +05:30
bot.broadcast.test.ts test(feishu): slim broadcast runtime fixtures 2026-04-03 18:47:08 +09:00
bot.card-action.test.ts refactor(plugins): decouple bundled plugin runtime loading 2026-03-29 09:10:38 +01:00
bot.checkBotMentioned.test.ts test(feishu): type basic fixtures 2026-03-27 11:54:23 +05:30
bot.helpers.test.ts test(feishu): type policy fixtures 2026-03-27 11:54:23 +05:30
bot.stripBotMention.test.ts test(feishu): type bot interaction fixtures 2026-03-27 11:54:23 +05:30
bot.test.ts test: trim extension partial mocks 2026-04-03 19:28:19 +01:00
bot.ts refactor(feishu): split bot runtime seam 2026-04-03 21:28:15 +09:00
card-action.ts refactor: split feishu runtime and inspect secret resolution 2026-03-24 10:05:15 -07:00
card-interaction.test.ts feishu: add structured card actions and interactive approval flows (#47873) 2026-03-16 01:07:09 -05:00
card-interaction.ts feishu: add structured card actions and interactive approval flows (#47873) 2026-03-16 01:07:09 -05:00
card-ux-approval.ts feishu: add structured card actions and interactive approval flows (#47873) 2026-03-16 01:07:09 -05:00
card-ux-launcher.test.ts refactor(plugins): decouple bundled plugin runtime loading 2026-03-29 09:10:38 +01:00
card-ux-launcher.ts Plugins: internalize matrix and feishu SDK imports 2026-03-17 19:47:25 -07:00
card-ux-shared.ts feishu: add structured card actions and interactive approval flows (#47873) 2026-03-16 01:07:09 -05:00
channel-runtime-api.ts fix: align extension boundary guardrails for landing (#60153) 2026-04-03 23:01:43 +09:00
channel.runtime.ts refactor: consolidate lazy runtime surfaces 2026-03-17 00:59:20 -07:00
channel.test.ts fix: honor feishu action discovery account config 2026-04-03 11:28:51 -05:00
channel.ts refactor(plugins): move extension seams into extensions 2026-04-04 00:10:16 +01:00
chat-schema.ts feishu: harden media support and align capability docs (#47968) 2026-03-16 02:02:48 -05:00
chat.test.ts test(feishu): slim tool runtime fixtures 2026-04-03 21:17:11 +09:00
chat.ts Plugins: internalize matrix and feishu SDK imports 2026-03-17 19:47:25 -07:00
client.test.ts test(feishu): drop unused client runtime imports 2026-04-03 21:18:17 +09:00
client.ts refactor(feishu): type runtime payload seams 2026-03-27 11:34:35 +05:30
comment-dispatcher-runtime-api.ts fix(ci): route remaining feishu runtime seams locally 2026-04-03 13:52:40 +01:00
comment-dispatcher.ts refactor(feishu): split comment dispatcher seam 2026-04-03 21:43:29 +09:00
comment-handler-runtime-api.ts refactor(feishu): split comment handler seam 2026-04-03 21:30:16 +09:00
comment-handler.test.ts test(feishu): slim comment handler runtime fixtures 2026-04-03 18:49:43 +09:00
comment-handler.ts refactor(feishu): split comment handler seam 2026-04-03 21:30:16 +09:00
comment-target.ts feat: feishu comment event (#58497) 2026-04-01 00:12:38 -07:00
config-schema.test.ts refactor: align pairing replies, daemon hints, and feishu mention policy 2026-03-25 04:22:53 -07:00
config-schema.ts refactor(plugin-sdk): expose zod subpath 2026-03-27 09:55:47 +05:30
conversation-id.ts refactor(plugins): move extension seams into extensions 2026-04-04 00:10:16 +01:00
dedup-runtime-api.ts fix(ci): route final feishu helper barrels locally 2026-04-03 13:46:06 +01:00
dedup.ts refactor(feishu): split dedup runtime seam 2026-04-03 21:38:51 +09:00
directory.static.ts Plugins: internalize matrix and feishu SDK imports 2026-03-17 19:47:25 -07:00
directory.test.ts test: harden extension integration fixtures 2026-03-28 03:31:42 +00:00
directory.ts Plugins: internalize matrix and feishu SDK imports 2026-03-17 19:47:25 -07:00
doc-schema.ts
docx-batch-insert.test.ts test: fix feishu batch insert test syntax 2026-03-27 07:10:55 +00:00
docx-batch-insert.ts refactor(feishu): remove stale explicit-any escapes 2026-03-27 11:34:35 +05:30
docx-color-text.ts refactor(feishu): remove stale explicit-any escapes 2026-03-27 11:34:35 +05:30
docx-table-ops.test.ts refactor(feishu): remove docx table lint suppressions 2026-03-27 18:15:40 +00:00
docx-table-ops.ts refactor(feishu): remove docx table lint suppressions 2026-03-27 18:15:40 +00:00
docx-types.ts refactor(feishu): type docx and media sdk seams 2026-03-27 11:15:07 +05:30
docx.account-selection.test.ts test: trim extension test import churn 2026-04-03 04:41:08 +01:00
docx.test.ts test: stabilize extension mocks for ci shards 2026-03-27 22:40:30 +00:00
docx.ts refactor(feishu): remove docx explicit-any escapes 2026-03-27 11:34:35 +05:30
drive-schema.ts fix: harden Feishu comment-thread delivery (#59129) 2026-04-02 00:31:52 -07:00
drive.test.ts test(feishu): slim tool runtime fixtures 2026-04-03 21:17:11 +09:00
drive.ts fix: harden Feishu comment-thread delivery (#59129) 2026-04-02 00:31:52 -07:00
dynamic-agent.ts Plugins: internalize matrix and feishu SDK imports 2026-03-17 19:47:25 -07:00
external-keys.test.ts
external-keys.ts
feishu-command-handler.ts
lifecycle.test-support.ts test: trim remaining mock drift 2026-04-04 04:04:12 +01:00
media.test.ts test: trim extension test import churn 2026-04-03 04:41:08 +01:00
media.ts perf(feishu): narrow hotspot runtime seams 2026-04-03 19:06:49 +09:00
mention.ts
message-action-contract.ts refactor(plugins): move extension seams into extensions 2026-04-04 00:10:16 +01:00
monitor-state-runtime-api.ts refactor(feishu): split monitor state seam 2026-04-03 21:41:47 +09:00
monitor-transport-runtime-api.ts refactor(feishu): split runtime helper seams 2026-04-03 21:37:32 +09:00
monitor.account.ts feat: feishu comment event (#58497) 2026-04-01 00:12:38 -07:00
monitor.acp-init-failure.lifecycle.test.ts fix(ci): rename extension test support for boundary guards 2026-03-30 09:31:33 +09:00
monitor.bot-identity.ts refactor: split feishu helpers and tests 2026-03-24 17:12:25 -07:00
monitor.bot-menu.lifecycle.test.ts fix(ci): rename extension test support for boundary guards 2026-03-30 09:31:33 +09:00
monitor.bot-menu.test.ts test(feishu): avoid loading bot and send modules in menu tests 2026-04-03 20:52:26 +09:00
monitor.broadcast.reply-once.lifecycle.test.ts fix(ci): rename extension test support for boundary guards 2026-03-30 09:31:33 +09:00
monitor.card-action.lifecycle.test.ts fix(ci): rename extension test support for boundary guards 2026-03-30 09:31:33 +09:00
monitor.cleanup.test.ts fix(feishu): close WebSocket connections on monitor stop (#52844) 2026-03-25 08:32:21 -07:00
monitor.comment.test.ts test(feishu): slim comment monitor runtime fixtures 2026-04-03 21:05:54 +09:00
monitor.comment.ts fix: harden Feishu comment-thread delivery (#59129) 2026-04-02 00:31:52 -07:00
monitor.reaction.lifecycle.test.ts refactor: shrink plugin sdk public surface 2026-03-18 23:31:08 +00:00
monitor.reaction.test.ts test(feishu): slim reaction monitor runtime fixtures 2026-04-03 21:02:26 +09:00
monitor.reply-once.lifecycle.test.ts fix(ci): rename extension test support for boundary guards 2026-03-30 09:31:33 +09:00
monitor.startup.test.ts refactor(plugins): decouple bundled plugin runtime loading 2026-03-29 09:10:38 +01:00
monitor.startup.ts fix(feishu): prevent silent group message drops when bot-info probe times out 2026-03-24 16:55:37 -07:00
monitor.state.defaults.test.ts
monitor.state.ts refactor(feishu): split monitor state seam 2026-04-03 21:41:47 +09:00
monitor.test-mocks.ts fix(feishu): close WebSocket connections on monitor stop (#52844) 2026-03-25 08:32:21 -07:00
monitor.transport.ts refactor(feishu): split runtime helper seams 2026-04-03 21:37:32 +09:00
monitor.ts refactor: split feishu runtime and inspect secret resolution 2026-03-24 10:05:15 -07:00
monitor.webhook-e2e.test.ts Feishu: validate webhook signatures before parsing (#55083) 2026-03-26 10:29:22 +00:00
monitor.webhook-security.test.ts Adjust Feishu webhook request body limits (#53933) 2026-03-24 15:02:05 -06:00
monitor.webhook.test-helpers.ts feat(memory-core): add dreaming promotion with weighted recall thresholds (#60569) 2026-04-03 20:26:53 -07:00
outbound-runtime-api.ts fix: keep extension helper imports behind local runtime barrels (#60153) 2026-04-03 23:01:43 +09:00
outbound.test.ts feat: feishu comment event (#58497) 2026-04-01 00:12:38 -07:00
outbound.ts refactor(feishu): split outbound runtime seam 2026-04-03 21:32:25 +09:00
perm-schema.ts
perm.ts refactor(feishu): remove stale explicit-any escapes 2026-03-27 11:34:35 +05:30
pins.ts refactor: split feishu runtime and inspect secret resolution 2026-03-24 10:05:15 -07:00
policy.test.ts test: fix feishu test typings 2026-03-27 07:10:55 +00:00
policy.ts perf(feishu): narrow hotspot runtime seams 2026-04-03 19:06:49 +09:00
post.test.ts
post.ts
probe.test.ts test: trim extension test import churn 2026-04-03 04:41:08 +01:00
probe.ts refactor(feishu): type runtime payload seams 2026-03-27 11:34:35 +05:30
reactions.ts refactor: split feishu runtime and inspect secret resolution 2026-03-24 10:05:15 -07:00
reply-dispatcher-runtime-api.ts fix(ci): restore extension runtime seams 2026-04-03 22:57:28 +09:00
reply-dispatcher.test.ts test(feishu): avoid loading streaming card module in dispatcher tests 2026-04-03 20:54:24 +09:00
reply-dispatcher.ts refactor(feishu): split runtime helper seams 2026-04-03 21:37:32 +09:00
runtime.ts Plugins: internalize matrix and feishu SDK imports 2026-03-17 19:47:25 -07:00
secret-contract.ts refactor(plugins): move extension seams into extensions 2026-04-04 00:10:16 +01:00
secret-input.ts refactor: unify plugin sdk primitives 2026-03-18 23:58:56 +00:00
security-audit.ts refactor(plugins): move extension seams into extensions 2026-04-04 00:10:16 +01:00
send-message.ts
send-result.ts
send-target.test.ts test: trim extension test import churn 2026-04-03 04:41:08 +01:00
send-target.ts fix(feishu): annotate send target return 2026-04-03 20:36:24 +09:00
send.reply-fallback.test.ts test: trim extension test import churn 2026-04-03 04:41:08 +01:00
send.test.ts test: trim extension test import churn 2026-04-03 04:41:08 +01:00
send.ts fix(regression): align feishu send helper runtime usage 2026-03-27 21:52:06 -05:00
session-conversation.ts Fix: move bootstrap session grammar into plugin-owned session-key surfaces (#58400) 2026-03-31 19:41:01 -04:00
session-route.ts Feishu: move outbound session routing behind plugin boundary 2026-03-18 04:09:49 +00:00
setup-core.ts fix: honor feishu setup adapter default 2026-04-03 13:14:10 -05:00
setup-surface.test.ts fix: honor feishu default setup status 2026-04-03 15:44:49 -05:00
setup-surface.ts fix: honor feishu default setup status 2026-04-03 15:44:49 -05:00
streaming-card.test.ts
streaming-card.ts perf(feishu): narrow hotspot runtime seams 2026-04-03 19:06:49 +09:00
subagent-hooks.test.ts test: drop subagent hook registration smokes 2026-04-01 03:10:47 +01:00
subagent-hooks.ts refactor(feishu): lazy-load subagent hooks 2026-04-03 23:19:11 +09:00
targets.ts
thread-bindings.test.ts refactor(plugin-sdk): untangle extension test seams 2026-03-29 23:43:53 +01:00
thread-bindings.ts fix: restore CI runtime seams 2026-03-27 14:07:01 +00:00
tool-account-routing.test.ts fix(ci): repair slack feishu and telegram regressions 2026-04-03 20:36:40 +01:00
tool-account.test.ts fix: honor feishu tool account context 2026-04-03 14:19:15 -05:00
tool-account.ts fix: honor feishu tool account context 2026-04-03 14:19:15 -05:00
tool-factory-test-harness.ts fix(feishu): restore tsgo test typing 2026-03-27 12:13:59 +05:30
tool-result.test.ts
tool-result.ts
tools-config.test.ts
tools-config.ts
types.ts Plugins: internalize matrix and feishu SDK imports 2026-03-17 19:47:25 -07:00
typing.test.ts
typing.ts refactor(feishu): type sender drive and typing helpers 2026-03-27 11:34:35 +05:30
wiki-schema.ts
wiki.ts refactor(feishu): remove stale explicit-any escapes 2026-03-27 11:34:35 +05:30