Commit Graph

7253 Commits

Author SHA1 Message Date
Ruben Cuevas d88e11acf7 fix(agents): restore compaction gateway logs 2026-05-11 06:27:17 +01:00
Ayaan Zaidi 4a009612c9 fix(docker): prune with source workspace policy 2026-05-11 10:50:30 +05:30
Pavan Kumar Gondhi 93ff72a5e8 fix(matrix): gate name-based allowlist resolution [AI] (#79007)
* fix: gate matrix mutable name resolution

* addressing codex review

* addressing codex review

* addressing codex review

* address feedback

* addressing codex review

* addressing codex review

* addressing codex review

* addressing codex review

* chore: drop unrelated matrix fix churn

* chore: refresh channel config metadata

* chore: remove unrelated formatting churn

* docs: add changelog entry for PR merge
2026-05-11 10:47:27 +05:30
sxxtony b2dab308ae fix(slack): include bot root message in new thread sessions (#79338) (#80409)
* fix(slack): include bot root message in new thread sessions (#79338)

When a user replies in-thread to a bot's own message in a Slack DM,
the new thread session was constructed without the parent/root message
content. The agent only saw `reply_to_id` metadata and could not
resolve what was being replied to, leading to confident-but-wrong
actions on follow-up corrections.

The thread-context resolver was filtering out every message authored
by the current bot before formatting thread history, including the
bot's own root message. For thread-replies starting a fresh session,
that left the agent without the parent context it needed.

This change retains current-bot messages in the thread history when
starting a new thread session, formats them with role=assistant under
a "Bot (this assistant)" sender label, and adds
`channels.slack.thread.includeRootMessage` (default `true`) to opt out.
Bot messages still bypass allowlist visibility filtering since the
bot's own output is not third-party content.

Fixes #79338.

* fix(slack): wire includeRootMessage into runtime config schema (#79338)

The first commit added `channels.slack.thread.includeRootMessage` to
the TypeScript type and zod schema, but the runtime AJV-style schema
generated from `extensions/slack/src/config-ui-hints.ts` rejected the
new field with `must NOT have additional properties` at gateway boot.

Adds the matching UI hint entry for `thread.includeRootMessage` and
regenerates the bundled channel config metadata so the live gateway
accepts the new field.

* Narrow Slack thread root context handling

Remove the public includeRootMessage config and keep the Slack thread fix focused on including only the current bot's root message on the first turn of a new thread session.

Preserve filtering of arbitrary current-bot Slack history while ensuring #79338 has parent/root context.

* Fix Slack thread root CI checks

---------

Co-authored-by: Bek <bek.akhmedov@gmail.com>
2026-05-11 01:09:03 -04:00
Kevin Lin cfc189de0a fix(codex): auto-approve plugin read tools (#80513)
* fix(codex): auto-approve plugin read tools

* docs: add codex plugin approval changelog
2026-05-10 21:13:40 -07:00
Kaspre ade2e11947 fix(doctor): tolerate stale plugin deny refs 2026-05-11 05:05:30 +01:00
Peter Steinberger b978b53dbb feat: add per-agent message cross-context policy 2026-05-11 05:00:36 +01:00
Peter Steinberger d90ab9a13f feat(session): raise ping-pong turn ceiling
Co-authored-by: Thirumalesh <thirumaleshpinninti@gmail.com>
2026-05-11 04:24:19 +01:00
Ayaan Zaidi 2c124a1e79 docs(mantis): describe telegram desktop proof 2026-05-11 08:15:34 +05:30
Peter Steinberger 15cf49222f build: refresh deps and route testbox through crabbox 2026-05-11 03:41:00 +01:00
Peter Steinberger f7a07d300a docs(plugin-sdk): document consolidated workflow seams 2026-05-11 03:24:08 +01:00
Vincent Koc f820a9892a docs(providers/google): correct video duration set and audio support 2026-05-11 10:18:35 +08:00
Peter Steinberger 6346e792c4 build: enable stricter TypeScript checks 2026-05-11 02:04:17 +01:00
Peter Steinberger 3f815fad12 fix(gateway): widen native protocol compatibility 2026-05-11 01:38:23 +01:00
Vincent Koc 37906bf37a docs: fix legacy agent: shape in three more pages 2026-05-11 08:26:22 +08:00
Vincent Koc 8dc221121c docs(gateway): fix configuration-examples to use schema-correct agents.defaults paths
The page used the legacy top-level agent: { ... } shape and a top-level
identity: { ... } block. Both are rejected by OpenClawSchema today
(see src/config/zod-schema.ts and the legacy rejection test in
src/config/config.legacy-config-detection.accepts-imessage-dmpolicy.test.ts).

Fixes:
- 6 examples: agent: { workspace, model, elevated } -> agents.defaults.*
- agents.defaults.elevated.enabled (non-existent) -> agents.defaults.elevatedDefault (off|on|ask|full per src/config/zod-schema.agent-defaults.ts:245)
- top-level identity: blocks moved into agents.list[].identity (canonical form per docs/gateway/config-agents.md and AgentEntrySchema)
- Expanded example identity merged into the existing main agent entry rather than a duplicate agents: block
2026-05-11 08:20:45 +08:00
Vincent Koc f076b1aed9 docs(tools): tighten minimax-search params and remove fictitious browser --target flag 2026-05-11 07:57:28 +08:00
Altay 3855e7b0ac build(pnpm): upgrade workspace to pnpm 11 2026-05-11 00:48:14 +01:00
Vincent Koc 839a5b1ec0 docs(cli): document plugin-aware deep status warnings on gateway/daemon 2026-05-11 07:44:13 +08:00
Peter Steinberger 18997be120 ci: speed up release validation reruns 2026-05-11 00:22:19 +01:00
pashpashpash 0e8a7e12da Enable Codex native code mode for OpenClaw harness runs (#80001)
* fix(codex): enable native code mode in harness

* test(codex): update code mode prompt snapshots

* test(codex): align code mode thread config expectations

* chore(protocol): refresh generated Swift agent params

* fix(codex): enable code-mode-only harness threads

* test(discord): fix test mock type assertions

* test: fix remaining test type assertions

* test(matrix): guard avatar loader test callback
2026-05-11 08:18:03 +09:00
Peter Steinberger 848c28537b feat(models): start local services on demand 2026-05-10 18:21:27 +01:00
Merlin 16c27c1459 fix(tasks): unify completion delivery routing
Route group/channel task, subagent, and media completions through one requester-session delivery policy, including plugin legacy session keys.

Also keeps current Zalo lifecycle test typing green on CI after the latest main changes.

Co-authored-by: Merlin <merlin@funcracker.net>
2026-05-10 17:32:55 +01:00
Ayaan Zaidi 62da36dc3d docs(context): align context map docs (#80325) 2026-05-10 21:50:13 +05:30
Ayaan Zaidi 345d459143 fix(telegram): unify stale reply context 2026-05-10 21:38:18 +05:30
Peter Steinberger 79220d7832 fix(slack): allow top-level tool sends 2026-05-10 17:04:29 +01:00
Peter Steinberger a94aae73b4 fix(slack): honor configured acp bindings
Co-authored-by: Raasl <114852759+Raasl@users.noreply.github.com>
2026-05-10 16:49:59 +01:00
Peter Steinberger da3ce0a1b6 fix(slack): normalize direct interactive sends
Co-authored-by: Kazuhiko Kazama <kazamak@gmail.com>
2026-05-10 16:28:15 +01:00
Peter Steinberger dd167885e2 fix(slack): retain always-on room history
Co-authored-by: syedamaann <sydamaannnn@gmail.com>
2026-05-10 16:23:07 +01:00
Vincent Koc 43d50c45a7 docs(nodes): collapse duplicate Related sections in troubleshooting 2026-05-10 23:16:48 +08:00
Vincent Koc 6d31a42851 docs(concepts): fix typing-indicators config path agent.* -> agents.defaults.* 2026-05-10 22:52:43 +08:00
Vincent Koc 2c4d9bea82 docs(cli): fix setup.md options table mangled by formatter on pipe char 2026-05-10 22:41:39 +08:00
Vincent Koc 7a463f3019 docs(cli): rewrite voicecall and tighten setup/health with code-verified options 2026-05-10 22:41:38 +08:00
Peter Steinberger 22963259c9 feat(slack): support reply broadcasts
Co-authored-by: tony88331 <37646987+tony88331@users.noreply.github.com>
2026-05-10 15:37:19 +01:00
Vincent Koc 5056527916 docs: rewrite 3 pages with code-verified options and Mintlify funnel 2026-05-10 22:31:10 +08:00
Peter Steinberger 8e700ba317 feat(slack): add unfurl controls
Co-authored-by: Hemantsudarshan <hemanthsudarshan2002@gmail.com>
2026-05-10 15:29:24 +01:00
Peter Steinberger 525767c726 feat: expose active model plugin context 2026-05-10 15:21:43 +01:00
Vincent Koc 7cd07e9076 docs(providers): rewrite Gradium TTS reference with verified config and voice directives 2026-05-10 22:17:43 +08:00
Vincent Koc 33eb0b9eee docs(cli): expand docs and tasks-flow CLI references with verified options 2026-05-10 22:17:42 +08:00
Peter Steinberger d273ae73c0 refactor: trim OpenClaw prompt guidance 2026-05-10 14:59:48 +01:00
Peter Steinberger f50ece6d62 fix(cli): expose gateway delivery status 2026-05-10 14:09:01 +01:00
Peter Steinberger 335e5456d0 fix(agent): respect delivery status evidence 2026-05-10 14:09:01 +01:00
Kaspre 7903fe2ab7 docs(cli): clarify delivery error fields 2026-05-10 14:09:01 +01:00
Kaspre 94d923c055 fix(cli): surface durable delivery status 2026-05-10 14:09:01 +01:00
Peter Steinberger fcc042559f build(deps): refresh workspace dependencies 2026-05-10 14:00:08 +01:00
Peter Steinberger 8654144606 fix(slack): improve bot parity 2026-05-10 13:59:20 +01:00
Ayaan Zaidi 965819bc5d docs(context): describe context map command 2026-05-10 18:04:35 +05:30
Peter Steinberger 4290765258 fix: migrate rebased sdk imports 2026-05-10 12:37:10 +01:00
Peter Steinberger 4f32a32ed6 refactor: move rare sdk seams into owners 2026-05-10 12:37:10 +01:00
Peter Steinberger ccf0b96a56 docs: deprecate provider-owned sdk helpers 2026-05-10 12:37:10 +01:00