Commit Graph

24239 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
809a42d172 fix(gateway): start ping timer only after client authentication in ws-connection
Agent-Logs-Url: https://github.com/openclaw/openclaw/sessions/30df0b08-4389-40c2-91e9-6f9189914f7b

Co-authored-by: BunsDev <68980965+BunsDev@users.noreply.github.com>
2026-05-02 10:35:50 -05:00
Val Alexander
99f12b8c4d Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-05-02 10:35:50 -05:00
Val Alexander
9d2f973e31 fix(control-ui): preserve stop after reconnect 2026-05-02 10:35:50 -05:00
Peter Steinberger
4eedc4723f test(config): remove runtime legacy compat wrapper 2026-05-02 16:29:10 +01:00
Peter Steinberger
15cb06430e fix(plugins): guard optional stock root cache key 2026-05-02 16:18:38 +01:00
Val Alexander
5fce2f6b0f fix(control-ui): allow configured chat message width
Adds validated gateway.controlUi.chatMessageMaxWidth support for grouped Control UI chat messages, carries it through the Gateway bootstrap payload into UI state, applies it as a CSS custom property, and documents the setting while preserving the existing default width.

Fixes #67935.

Validation:
- Targeted config, gateway, and Control UI tests passed locally.
- Config schema/docs checks passed.
- Testbox changed-file gate passed.
- GitHub CI and security checks are green on cea25a4ca9.
2026-05-02 10:18:08 -05:00
Peter Steinberger
a3564ae546 perf: optimize plugin schema validation 2026-05-02 16:15:45 +01:00
Peter Steinberger
0cf51b77fb refactor(memory): collapse legacy memory registration state 2026-05-02 16:15:07 +01:00
zhang-guiping
2c272e271a fix(agents): preserve session model after heartbeat runs
Fixes #75452.

Heartbeat runs can use a per-turn model override via agents.defaults.heartbeat.model. Before this change, the run metadata was written back to the shared session store, so the next normal turn could inherit the heartbeat provider/model and a smaller context window.

This lands the contributor fix plus maintainer polish:
- preserve existing session runtime model/provider/context metadata when persisting heartbeat turns
- avoid creating invalid provider/model pairs for legacy model-only session entries
- leave empty prior runtime state unset for heartbeat-only turns
- keep normal non-heartbeat runtime persistence unchanged
- add focused regression coverage for the session-store edge cases
- refresh heartbeat docs and changelog attribution

Validation:
- pnpm test src/agents/command/session-store.test.ts src/agents/openclaw-tools.session-status.test.ts
- pnpm exec oxfmt --check --threads=1 src/agents/agent-command.ts src/agents/command/session-store.ts src/agents/command/session-store.test.ts CHANGELOG.md docs/gateway/heartbeat.md
- git diff --check
- GitHub checks on 42a00dcf38: clean; no active checks and no relevant failures

Duplicate PR #75567 was already closed; #75557 is the canonical fix.
2026-05-02 10:14:30 -05:00
Peter Steinberger
ad0d87d881 perf: cache startup package metadata 2026-05-02 16:11:05 +01:00
Peter Steinberger
5b063c2d83 fix: keep legacy config repair in doctor 2026-05-02 16:10:45 +01:00
Peter Steinberger
3f2c3a69d7 fix(release): stabilize slow live release gates 2026-05-02 16:04:39 +01:00
Vincent Koc
c7b5302acf fix(plugins): repair missing clawhub installs 2026-05-02 08:01:37 -07:00
Peter Steinberger
da2a8bd6bb fix: scope runtime plugin preload to effective plugins 2026-05-02 15:55:06 +01:00
Peter Steinberger
5980040894 fix: avoid duplicate gateway config loads 2026-05-02 15:49:16 +01:00
Federico Kamelhar
10ebcbdb99 fix(docker): replace curl|bash Bun install with pinned multi-stage COPY (#74359)
Merged via squash.

Prepared head SHA: 3b4a889467
Co-authored-by: fede-kamel <209537060+fede-kamel@users.noreply.github.com>
Co-authored-by: sallyom <11166065+sallyom@users.noreply.github.com>
Reviewed-by: @sallyom
2026-05-02 10:46:51 -04:00
Peter Steinberger
2b37b383ed fix(sessions): keep list polling lightweight (#76090)
Co-authored-by: rolandrscheel <20336324+rolandrscheel@users.noreply.github.com>
2026-05-02 15:45:38 +01:00
Vincent Koc
d228b0dc58 fix(plugins): narrow channel install defaults 2026-05-02 07:41:24 -07:00
Vincent Koc
16e3316beb fix(plugins): type channel clawhub install metadata 2026-05-02 07:41:24 -07:00
Vincent Koc
9281eee702 feat(plugins): prefer clawhub for channel setup installs 2026-05-02 07:41:23 -07:00
Vincent Koc
dda2db97d4 fix(plugins): accept clawhub provider index installs 2026-05-02 07:27:20 -07:00
Vincent Koc
11daaad3d0 feat(plugins): prefer clawhub in onboarding installs 2026-05-02 07:27:20 -07:00
Peter Steinberger
75dd28e083 fix(doctor): preserve built-in channel plugin allow entries 2026-05-02 15:26:57 +01:00
Peter Steinberger
bf2711b40e fix(gateway): cap channel startup fanout 2026-05-02 15:26:45 +01:00
Peter Steinberger
829364f85e test: dedupe session write-lock mock export (#76051) 2026-05-02 15:20:24 +01:00
Peter Steinberger
95b65054d4 test: repair session write-lock generated coverage (#76051) 2026-05-02 15:20:24 +01:00
Peter Steinberger
1d5c77c443 fix(gateway): include active plugin tools in catalog 2026-05-02 15:15:52 +01:00
Peter Steinberger
bd6035d977 fix: prefer built plugin artifacts at gateway startup 2026-05-02 15:12:52 +01:00
Peter Steinberger
3a52e95473 test(core): refresh write lock config fixtures 2026-05-02 15:07:48 +01:00
Peter Steinberger
3240cccb8a fix(plugins): expose startup tool registry in catalog 2026-05-02 15:01:01 +01:00
JIRBOY
68ac9a48b7 perf(gateway): skip auth overlays during startup secrets preflight
Use persisted-only auth profile loading for gateway startup and restart-check secrets preflight, keeping reload/OAuth/runtime paths overlay-capable.

Validation:
- pnpm test src/gateway/server-startup-config.secrets.test.ts src/secrets/runtime.fast-path.test.ts
- Testbox: OPENCLAW_TESTBOX=1 pnpm check:changed

Thanks @JIRBOY.
2026-05-02 15:00:21 +01:00
Peter Steinberger
f7ed29e118 fix: thread session write-lock timeout config 2026-05-02 14:54:54 +01:00
Ayaan Zaidi
731f640bca style(agents): trim tool-timeout comments 2026-05-02 19:23:17 +05:30
Simon
fbad17bf4f fix(plugin-sdk): keep harness timeout flag optional
Keep the new attempt-result field optional for third-party harness compatibility while defaulting absent values at the runner boundary.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 19:23:17 +05:30
Simon
8996161e99 fix(agents): skip retry paths for tool timeouts
Thread tool-timeout state through timeout-triggered compaction, generic timeout payload synthesis, and the changelog.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 19:23:17 +05:30
Simon
2605490dbd fix(agents): classify tool-execution timeouts
Detect run-level timeouts that fire while a tool call is still active and keep them out of assistant model fallback.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 19:23:17 +05:30
Peter Steinberger
afbc395dda fix(gateway): load plugin tools for catalog 2026-05-02 14:52:27 +01:00
Peter Steinberger
1466878c36 refactor: cache plugin tool descriptors (#76079)
Co-authored-by: Shakker <shakkernerd@users.noreply.github.com>
2026-05-02 14:52:21 +01:00
Peter Steinberger
c6817d8d7a fix: preserve heartbeat wake compatibility (#76086) 2026-05-02 14:52:18 +01:00
Peter Steinberger
c06739d773 fix(heartbeat): type wake scheduling intent
Co-authored-by: Jordan Baker <jbb@scryent.com>
2026-05-02 14:52:18 +01:00
Mason Huang
0b09cfb8cd fix(cli): block package updates from inside running gateway service (#75729)
Merged via squash.

Prepared head SHA: 8f301c5632
Co-authored-by: hxy91819 <8814856+hxy91819@users.noreply.github.com>
Co-authored-by: hxy91819 <8814856+hxy91819@users.noreply.github.com>
Reviewed-by: @hxy91819
2026-05-02 21:48:38 +08:00
Ayaan Zaidi
9797ae35ca fix(cron): polish wake-now retry PR 2026-05-02 19:15:23 +05:30
Rui Xu
8db83f241e fix(cron): retry busy recurring wake-now jobs 2026-05-02 19:15:23 +05:30
Peter Steinberger
91055b9a37 fix(release): keep provider registry fallback behind loader 2026-05-02 14:44:17 +01:00
Peter Steinberger
efa15001d6 fix(release): handle missing plugin registry fallback 2026-05-02 14:34:13 +01:00
Peter Steinberger
0ea28ddb16 fix: speed up exact session lookups 2026-05-02 14:29:36 +01:00
Peter Steinberger
81e1deade2 fix(release): restore plugin runtime loading 2026-05-02 14:28:55 +01:00
Peter Steinberger
61fc62ade7 fix(auth): avoid structuredClone for auth profile stores 2026-05-02 14:23:51 +01:00
Peter Steinberger
d678bcfcc7 fix: hot reload plugin management changes (#75976)
Summary:
- The PR changes Gateway reload planning, CLI plugin install-index writes, plugin runtime/cache cleanup, docs, changelog, and tests so plugin enable/disable hot reloads while install/update/uninstall stay restart-backed.
- Reproducibility: yes. The earlier blocker has a source-level reproduction: run an external plugin install/up ...  watches config and only the managed plugin index changes; the PR now tests that path and queues a restart.

ClawSweeper fixups:
- Included follow-up commit: fix: hot reload plugin management changes
- Included follow-up commit: fix(clawsweeper): address review for automerge-openclaw-openclaw-7597…
- Ran the ClawSweeper repair loop before final review.

Validation:
- ClawSweeper review passed for head 860594f722.
- Required merge gates passed before the squash merge.

Prepared head SHA: 860594f722
Review: https://github.com/openclaw/openclaw/pull/75976#issuecomment-4363168379

Co-authored-by: Peter Steinberger <steipete@gmail.com>
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
2026-05-02 13:19:24 +00:00
Peter Steinberger
c9fa7b61f1 test(xai): tolerate live provider drift 2026-05-02 14:16:07 +01:00