Commit Graph

24226 Commits

Author SHA1 Message Date
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
Peter Steinberger 7a100021d3 test(release): stabilize live codex gates 2026-05-02 14:08:47 +01:00
Peter Steinberger 0f16edf329 fix: cache stable system prompt prep 2026-05-02 13:47:40 +01:00
DmitryPogodaev 8283c5d6cc perf(plugins): reuse startup runtime registry
Reuse the startup runtime plugin registry across provider/tool helper paths while preserving standalone CLI/MCP fallback loading.

Includes follow-up fixes for migration/provider/tool registry bootstrap and regression coverage for compatible registry reuse.

Co-authored-by: DmitryPogodaev <pogodaev.dm@gmail.com>
2026-05-02 13:44:49 +01:00
Peter Steinberger b151694e00 refactor(sessions): route cleanup through controlled writers 2026-05-02 13:40:33 +01:00
JC 228e5a238c fix: recover topic-suffixed restart locks (#76052)
Fix restart recovery for main sessions that use topic-suffixed transcript files by matching cleaned transcript lock paths directly while preserving the canonical session-id fallback for stale metadata.

Thanks @anyech.
2026-05-02 13:30:10 +01:00
Peter Steinberger 9fff2b7791 fix(gateway): detect SecretRef auth rotations 2026-05-02 13:16:28 +01:00
Peter Steinberger 8a2207f8a1 fix(security): ignore plugin install debris in audits 2026-05-02 13:12:28 +01:00
Peter Steinberger be2768433c fix: mark task fallback events untrusted 2026-05-02 13:11:19 +01:00
Peter Steinberger 638fbc75a0 test: remove stale reset hook import 2026-05-02 13:11:19 +01:00
Peter Steinberger 35685540e2 test: stabilize session reset writer coverage 2026-05-02 13:11:19 +01:00
Peter Steinberger 4967bcb16b fix: route session cleanup through gateway writer 2026-05-02 13:11:19 +01:00
Peter Steinberger b4437047f4 perf: route session store writes through writer queue 2026-05-02 13:11:19 +01:00
Peter Steinberger ffc79532b8 test(release): stabilize live release gates 2026-05-02 13:06:37 +01:00