Commit Graph

41356 Commits

Author SHA1 Message Date
Peter Steinberger
dcac9998da fix: cap memory wiki filenames for safe writes
(cherry picked from commit ebb8bed78f)
2026-05-06 04:58:15 +01:00
Bryce D. Greybeard
de6e2616a1 fix(discord): avoid false heartbeat ACK timeouts
Fix the Discord Gateway heartbeat scheduler so ACK timeout checks are measured from the actual heartbeat send, not from the fixed HELLO-time interval. This prevents late randomized first heartbeats from causing false reconnect loops while the Discord channel is still awaiting readiness.\n\nVerification:\n- pnpm test extensions/discord/src/internal/gateway-lifecycle.test.ts extensions/discord/src/internal/gateway.test.ts\n- pnpm exec oxfmt --check --threads=1 CHANGELOG.md extensions/discord/src/internal/gateway-lifecycle.ts extensions/discord/src/internal/gateway-lifecycle.test.ts extensions/discord/src/internal/gateway.test.ts\n- git diff --check\n- Real behavior proof check passed on PR head bf239b886020c11d55af33f16674e953535f9b4c\n\nFixes #77668.\nSupersedes #77956.\nThanks @bryce-d-greybeard and @NikolaFC.

(cherry picked from commit b5c33bc204)
2026-05-06 04:53:05 +01:00
Peter Steinberger
013a2c50f6 chore(release): refresh release metadata for 2026.5.5 beta 1 v2026.5.5-beta.1 2026-05-06 03:03:03 +01:00
Peter Steinberger
6896bd3ddf chore(release): keep 2026.5.5 beta 1 2026-05-06 02:50:50 +01:00
Peter Steinberger
9cb0b97f74 docs(release): clarify unpublished beta tag movement 2026-05-06 02:48:55 +01:00
Peter Steinberger
e820821950 chore(release): prepare 2026.5.5 beta 2 2026-05-06 02:45:51 +01:00
Peter Steinberger
ecf2dc58e1 chore(release): prepare 2026.5.5 beta 1 2026-05-06 02:39:25 +01:00
Vincent Koc
817b56f22d fix(cli): repair legacy config before update channel switch (#77069)
* fix(cli): repair legacy config before update channel switch

* docs(changelog): note update channel legacy config repair

* fix(update): keep legacy config repair doctor-owned

* fix(update): keep dry runs read-only

* fix(update): avoid include-flattening legacy repair
2026-05-06 02:31:02 +01:00
Vincent Koc
258e153705 fix(doctor): repair legacy Codex route config
Repair legacy openai-codex route config and session pins safely.
2026-05-06 02:31:02 +01:00
Vincent Koc
acdf0e432a fix(plugins): sync official plugin installs during update (#78065)
* fix(plugins): sync official npm installs during update

* fix(plugins): sync official clawhub installs during update

* test(update): mock official plugin sync helpers

---------

Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
2026-05-06 02:30:17 +01:00
Vincent Koc
3c04d7e710 fix(video): recover generation parameter fallbacks 2026-05-06 02:29:39 +01:00
Vincent Koc
1205c9ef1f feat(status): show uptime in chat status
Show compact Gateway process and host system uptime in chat /status output.
2026-05-06 02:29:03 +01:00
Vincent Koc
ba5bc48f70 fix(gateway): keep reset and refresh paths responsive (#77701)
* fix(hooks): keep session memory slugging off reset hot path

* fix(hooks): run session memory capture asynchronously

* fix(cli): avoid stuck gateway command exits

* fix(gateway): cache empty read-only model catalog

* fix(doctor): stop stale TUI clients for WhatsApp responsiveness
2026-05-06 02:28:25 +01:00
Vincent Koc
cbbdaf92a4 fix(hooks): avoid session memory filename collisions
Add collision suffixes for session-memory fallback filenames so repeated same-minute reset/new captures do not overwrite earlier archives.
2026-05-06 02:27:46 +01:00
Vincent Koc
1692c84b8c test(live): classify provider HTTP 5xx as server drift 2026-05-06 02:27:11 +01:00
Vincent Koc
0097427d08 fix(tui): bound session list recency (#77752) 2026-05-06 02:27:11 +01:00
Vincent Koc
2d2fc19e36 fix(core): avoid session export filename collisions (#77762) 2026-05-06 02:26:39 +01:00
Vincent Koc
daff8916de fix(agents): filter runtime context from context engines
- filter hidden runtime-context custom messages before context-engine assemble, afterTurn, and ingest fallback hooks
- preserve the pre-prompt/new-turn boundary after filtering
- add regression coverage for assemble, afterTurn, and ingestBatch fallback behavior

- pnpm test:serial src/agents/harness/context-engine-lifecycle.test.ts -- --reporter=verbose
- pnpm exec oxfmt --check --threads=1 src/agents/harness/context-engine-lifecycle.ts src/agents/harness/context-engine-lifecycle.test.ts CHANGELOG.md
- git diff --check origin/main...HEAD
- pnpm changed:lanes --json
- pnpm testbox:run --id tbx_01kqx8fy1ktpqczkcej2pgpryz -- "OPENCLAW_TESTBOX_REMOTE_RUN=1 pnpm check:changed"
2026-05-06 02:11:24 +01:00
Vincent Koc
3569edb38e fix(tui): prevent orphaned terminal sessions (#77662)
* fix(tui): prevent orphaned terminal sessions

* fix(doctor): repair heartbeat-poisoned main sessions

* fix(tui): preserve startup tls respawn

* fix: harden tui and doctor recovery paths
2026-05-06 02:10:54 +01:00
Eden
9cc6cca75d fix(gateway): improve shutdown error visibility and add close timeout
Adds structured warning collection to gateway shutdown, preserves lifecycle timeout handling, and covers HTTP/WebSocket/subsystem warning paths.

Co-authored-by: Eden <146086744+edenfunf@users.noreply.github.com>
Co-authored-by: vincentkoc <25068+vincentkoc@users.noreply.github.com>
2026-05-06 02:10:21 +01:00
Vincent Koc
e8ad813282 fix(update): avoid lint-blocked dev installs (#77181) 2026-05-06 02:08:59 +01:00
Vincent Koc
e8f0608b09 fix(cli): fast-path bare channels help (#77659)
* fix(cli): fast-path bare channels help

* fix(cli): normalize channels add argv gating

* fix(cli): restore channel add completion flags
2026-05-06 02:08:26 +01:00
Vincent Koc
7470ea9073 fix(gateway): cancel delayed maintenance on shutdown 2026-05-06 02:07:54 +01:00
Vincent Koc
ed4ed5aead fix(status): show runtime in CLI sessions (#77776)
* fix(status): show agent runtime in cli status

* fix(status): preserve configured runtime labels
2026-05-06 02:07:21 +01:00
Vincent Koc
3544ef0afa fix(sessions): show runtime in sessions table 2026-05-06 02:06:51 +01:00
Vincent Koc
7da737c67d fix(ui): show session runtime in sessions table 2026-05-06 02:06:10 +01:00
Peter Steinberger
95e9e29219 fix(release): tighten xai and corrupt plugin checks 2026-05-06 02:04:00 +01:00
Peter Steinberger
31633bc0ec fix(release): unblock 2026.5.5 validation 2026-05-06 01:06:49 +01:00
Patrick Erichsen
30927c8491 Tolerate corrupt plugins during update (#77706)
* fix(update): tolerate corrupt plugin state

* fix(update): preserve corrupt plugin proof state

* fix(update): narrow corrupt plugin warnings

---------

Co-authored-by: Peter Steinberger <steipete@gmail.com>
(cherry picked from commit 8aa7b7a4ca)
2026-05-05 23:51:57 +01:00
Peter Steinberger
9a61edb419 fix(discord): show reasoning text in progress drafts (#78050)
* fix(discord): show reasoning text in progress drafts

* fix(discord): handle reasoning progress snapshots

* test: isolate usage-format models fixture

(cherry picked from commit d94e7f5114)
2026-05-05 23:49:57 +01:00
Vincent Koc
e12dbf527f fix(gateway): skip media sidecar for unrelated HTTP routes
(cherry picked from commit d38e30e02c)
2026-05-05 23:49:22 +01:00
Peter Steinberger
23319a3cc2 fix: restore Codex agent dir runtime import
(cherry picked from commit a6d88e3cd9)
2026-05-05 23:48:50 +01:00
Peter Steinberger
82e914e506 fix(gateway): mark openai role chunks unfinished
(cherry picked from commit fd86ab2e50)
2026-05-05 23:48:50 +01:00
Peter Steinberger
c82f66e3c2 fix(gateway): flush initial openai chat stream chunk
(cherry picked from commit d520bc4cb6)
2026-05-05 23:48:50 +01:00
Ayaan Zaidi
191e821b71 fix(update): stop dev updates after fetch failure
(cherry picked from commit c1a385df83)
2026-05-05 23:48:15 +01:00
Chunyue Wang
7a2e7dba73 fix(auth-profiles): exclude format rejections from profile cooldown (#77280)
Merged via squash.

Prepared head SHA: f4188b4dc3
Co-authored-by: openperf <80630709+openperf@users.noreply.github.com>
Co-authored-by: openperf <80630709+openperf@users.noreply.github.com>
Reviewed-by: @openperf

(cherry picked from commit 31da1fe5b0)
2026-05-05 23:48:15 +01:00
Ayu
eda33431de security: harden gateway container privileges
Adds cap_drop and no-new-privileges hardening for the bundled gateway Docker Compose services.\n\nThanks @VintageAyu.

(cherry picked from commit f9da484365)
2026-05-05 23:48:15 +01:00
Peter Steinberger
4aa91b0b97 fix: backport media completion fallback 2026-05-05 23:34:08 +01:00
Peter Steinberger
8a601b0607 fix: avoid media completion fallback while announce pending
(cherry picked from commit b32d4c5255)
2026-05-05 23:31:22 +01:00
Peter Steinberger
6f9f36a38f test: cover generated media delivery evidence fallback
(cherry picked from commit add9a49c40)
2026-05-05 23:28:10 +01:00
Peter Steinberger
c03449678e fix: recognize attachment message sends
(cherry picked from commit a0ea07e462)
2026-05-05 23:27:11 +01:00
Peter Steinberger
edbd3355be chore(release): bump version to 2026.5.5
(cherry picked from commit c37871e77b)
2026-05-05 23:25:59 +01:00
Peter Steinberger
325df3efef chore(release): bump to 2026.5.4 v2026.5.4 2026-05-05 08:37:19 +01:00
Peter Steinberger
2fc80754cf ci: parallelize release publish workflows 2026-05-05 07:35:28 +01:00
Peter Steinberger
41f028e2ea fix(diagnostics): drop stale session recovery event cases v2026.5.4-beta.3 2026-05-05 06:06:02 +01:00
Peter Steinberger
303ff716d4 chore(release): refresh plugin SDK API baseline 2026-05-05 05:56:41 +01:00
Peter Steinberger
5fcdeae80c chore(release): bump to 2026.5.4-beta.3 2026-05-05 05:51:46 +01:00
6607changchun
b73317c217 fix(sandbox): support Windows drive-letter bind sources
Accept drive-absolute Windows sandbox Docker bind sources in config and runtime validation while keeping blocked-path and allowed-root comparisons case-insensitive for Windows drive paths.

Also remove a stale WhatsApp setup import that blocked extension lint after the rebase.

Co-authored-by: 6607changchun <84566142+6607changchun@users.noreply.github.com>
Co-authored-by: Brad Groux <3053586+BradGroux@users.noreply.github.com>
(cherry picked from commit d02fbc6116)
2026-05-05 05:45:56 +01:00
兰之
8f6bf65162 fix(agents): enforce exact skill path from <available_skills> [AI-assisted] (#74161)
Summary:
- The PR updates agents skill prompt guidance to require exact `<location>` paths for single- and multi-skill selection, adds prompt assertions, and records the fix in the changelog.
- Reproducibility: yes. Static source reproduction is enough: current main lacks the exact-`<location>` guard  ... illsSection()`, while the PR diff adds it to both selection branches and asserts the resulting prompt text.

Automerge notes:
- PR branch already contained follow-up commit before automerge: fix: enforce exact skill paths for all skill matches

Validation:
- ClawSweeper review passed for head 743c9840c1.
- Required merge gates passed before the squash merge.

Prepared head SHA: 743c9840c1
Review: https://github.com/openclaw/openclaw/pull/74161#issuecomment-4341488109

Co-authored-by: tianguicheng <tianguicheng@xiaomi.com>
Co-authored-by: sallyom <somalley@redhat.com>
(cherry picked from commit c739088d62)
2026-05-05 05:45:56 +01:00
saram ali
8017dc4c3b fix(gateway): skip IPv6 loopback binding on Windows (#69701)
Bind the default loopback gateway listener only to `127.0.0.1` on Windows so libuv dual-stack `::1` behavior cannot wedge localhost HTTP requests.

Also keeps non-Windows dual-loopback behavior covered, replaces the redundant Windows passthrough test with guard coverage, and adds the required changelog entry.

Fixes #69674.

Tests:
- pnpm exec oxfmt --check --threads=1 CHANGELOG.md src/gateway/net.ts src/gateway/net.test.ts
- pnpm test src/gateway/net.test.ts
- pnpm check:changed
- GitHub required checks: green

Thanks @SARAMALI15792.

Co-authored-by: saram ali <140950904+SARAMALI15792@users.noreply.github.com>
Co-authored-by: Brad Groux <3053586+BradGroux@users.noreply.github.com>
(cherry picked from commit 978bc53e80)
2026-05-05 05:45:56 +01:00