Commit Graph

2337 Commits

Author SHA1 Message Date
Peter Steinberger
b63d098e8c fix: repair configured plugin installs (#76129)
Summary:
- The PR adds a 2026.5.2 doctor repair pass for actively used configured downloadable plugins, prefers ClawHub ... pm fallback, records installed plugin state, extends upgrade-survivor coverage, and updates docs/changelog.
- Reproducibility: yes. Static inspection of current main and the PR head gives a high-confidence reproduction ... d-plugin install pass, while the PR tests the new repair-only path, success stamping, and warning behavior.

ClawSweeper fixups:
- Included follow-up commit: test: cover configured plugin install update path
- Included follow-up commit: test: isolate channel option metadata cache
- Included follow-up commit: fix: keep configured plugin repair scoped

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

Prepared head SHA: d3519ce42c
Review: https://github.com/openclaw/openclaw/pull/76129#issuecomment-4364120658

Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-05-02 15:49:52 +00:00
Peter Steinberger
4eedc4723f test(config): remove runtime legacy compat wrapper 2026-05-02 16:29:10 +01: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
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
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
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
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
aebac43d97 fix: stop orphaned QA gateway children 2026-05-02 11:15:16 +01:00
Peter Steinberger
59fb9e5ca7 refactor: unify lazy import loaders 2026-05-02 10:55:59 +01:00
Val Alexander
64fcc8a1aa fix(control-ui): measure and decouple slow refreshes
Add Control UI timing attribution for tab visibility, refresh phases, secondary refresh groups, and gateway RPCs. Decouple slow Overview, Cron, and Nodes secondary refreshes from primary tab feedback, and report Cron runs timing from the controller's real ok/error/skipped load outcome.

Also keeps telemetry secret-safe by excluding request params and response bodies, adds focused regression coverage for RPC attribution and stale/failed background refreshes, and carries the latest-main Discord test fixture correction needed for check:test-types.

Fixes #64004.
2026-05-02 04:33:36 -05:00
Peter Steinberger
8602106483 refactor: remove unused cli debug timing 2026-05-02 09:34:06 +01:00
Peter Steinberger
06110de6f6 test: align plugin persist metadata fixture 2026-05-02 09:13:32 +01:00
Peter Steinberger
8567adf817 test: align plugin install metadata fixtures 2026-05-02 08:53:09 +01:00
Peter Steinberger
2f44ffc8a7 refactor: route plugin metadata consumers through snapshots 2026-05-02 08:41:24 +01:00
Peter Steinberger
a483e43f80 refactor: hide command helper internals 2026-05-02 08:34:13 +01:00
Peter Steinberger
2c14d6f99d fix: bound message CLI shutdown hooks 2026-05-02 08:32:40 +01:00
Peter Steinberger
ea1a0277d5 fix: report model run fallback metadata 2026-05-02 07:59:47 +01:00
Peter Steinberger
fa7de46261 fix(cli): report missing infer media providers 2026-05-02 07:47:25 +01:00
Peter Steinberger
960fabdaef refactor: trim cli helper exports 2026-05-02 07:36:54 +01:00
Peter Steinberger
52eee27f30 refactor: hide command helper internals 2026-05-02 06:54:02 +01:00
Peter Steinberger
811d90778f refactor: trim unused nodes cli type export 2026-05-02 06:29:53 +01:00
Peter Steinberger
04b9f5fc98 fix(cli): avoid directory plugin reinstall prompts 2026-05-02 06:14:29 +01:00
Peter Steinberger
ebe8f615e5 fix: reject agent-scoped model default writes 2026-05-02 04:19:11 +01:00
Peter Steinberger
eee3aeae00 [codex] add Crestodian plugin management (#75869)
Summary:
- The branch adds ClawHub plugin search and Crestodian plugin list/search/install/uninstall flows, with docs, changelog, tests, runtime injection, and regenerated config baseline hashes.
- Reproducibility: not applicable. as a bug reproduction request. The high-confidence verification path is cur ... surface search plus exact-head diff/source inspection against the PR's targeted tests and queued CI checks.

ClawSweeper fixups:
- Included follow-up commit: Repair Crestodian plugin management config schema drift

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

Prepared head SHA: c29cda6005
Review: https://github.com/openclaw/openclaw/pull/75869#issuecomment-4362360704

Co-authored-by: Peter Steinberger <steipete@gmail.com>
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
2026-05-02 03:12:38 +00:00
Peter Steinberger
82a8006f77 fix: reserve legacy tool cli token 2026-05-02 04:06:46 +01:00
Peter Steinberger
a22f065043 fix(slack): support exact message reads 2026-05-02 03:24:36 +01:00
Peter Steinberger
37426a6e64 fix(slack): use live directory readers in cli 2026-05-02 03:04:29 +01:00
Vincent Koc
0c6c1cac76 feat(plugins): prefer clawhub for bundled cutovers 2026-05-01 18:13:03 -07:00
Peter Steinberger
5c3043bb37 refactor: trim auth cli type exports 2026-05-02 01:54:25 +01:00
Peter Steinberger
5046cbc6f9 refactor: trim local type exports 2026-05-02 01:44:51 +01:00
Vincent Koc
824cfa196d feat(plugins): show clawpack source facts in inspect 2026-05-01 17:40:05 -07:00
Vincent Koc
0aa8022e88 refactor(plugins): rename clawhub storepack metadata to clawpack 2026-05-01 17:32:22 -07:00
Peter Steinberger
0217db5387 refactor: trim cli tagline exports 2026-05-02 01:11:18 +01:00
Vincent Koc
20e8769d93 feat(plugins): persist clawhub storepack metadata 2026-05-01 17:05:47 -07:00
Peter Steinberger
900e21fb1a refactor: trim cli helper type exports 2026-05-02 00:55:11 +01:00
Peter Steinberger
20945b84b4 feat: generalize message access groups (#75813) 2026-05-01 23:55:26 +01:00
Peter Steinberger
fe8966b4ea fix: stop channel runtime before WhatsApp removal 2026-05-01 22:37:30 +01:00
Peter Steinberger
4b9aa3021a fix: restore release ci guardrails 2026-05-01 22:28:37 +01:00
Peter Steinberger
5c7362fe9d refactor: trim cli shape exports 2026-05-01 22:08:43 +01:00
Peter Steinberger
4def4073d4 refactor: trim cli helper exports 2026-05-01 22:05:19 +01:00
Peter Steinberger
4b7a000dcb chore: clean up plugin dependency leftovers 2026-05-01 21:37:08 +01:00
Peter Steinberger
ed8f50f240 refactor: simplify plugin dependency handling
Simplify plugin installation and runtime loading around package-manager-owned dependencies, with Jiti reserved for local/TS fallback paths.

Also scans npm plugin install roots so hoisted transitive dependencies are covered by dependency denylist and node_modules symlink checks.
2026-05-01 21:32:22 +01:00
Vincent Koc
579acc3a91 fix(plugins): avoid source rebuilds for policy toggles
Reuse current installed-plugin registry records for policy-only enable and disable refreshes.\n\nThanks @vincentkoc
2026-05-01 09:01:13 -07:00
Vincent Koc
f858b5de22 fix(security): keep plain audit off plugin runtimes
Keep routine security audit on config/filesystem checks by default, reserving plugin runtime collectors for deep audit paths.\n\nThanks @vincentkoc
2026-05-01 08:22:06 -07:00
Peter Steinberger
5c95fc06fa test(plugin-sdk): align facade loader windows fast path 2026-05-01 14:43:08 +01:00
Shakker
5e33bfee10 test(plugins): mock install slot registry 2026-05-01 14:39:21 +01:00
Vincent Koc
70095f08f4 fix(plugins): satisfy slot registry type 2026-05-01 06:07:16 -07:00