Commit Graph

3112 Commits

Author SHA1 Message Date
Peter Steinberger
ccf0b96a56 docs: deprecate provider-owned sdk helpers 2026-05-10 12:37:10 +01:00
Peter Steinberger
827b0de0ce refactor: reduce plugin sdk surface 2026-05-10 12:37:10 +01:00
Peter Steinberger
3b3fb35596 test: clear installed plugin index broad matchers 2026-05-10 12:13:49 +01:00
Peter Steinberger
e2675eed55 test: clear provider runtime broad matchers 2026-05-10 12:10:51 +01:00
Peter Steinberger
ec482c7564 test: clear manifest registry broad matchers 2026-05-10 11:57:13 +01:00
Peter Steinberger
26945167fb test: clear session projection broad matchers 2026-05-10 10:59:00 +01:00
Peter Steinberger
159dae902a fix: gate Bedrock Mantle discovery 2026-05-10 10:25:23 +01:00
Peter Steinberger
9444b2ad9b fix: strip OpenAI-compatible replay reasoning 2026-05-10 10:08:47 +01:00
Peter Steinberger
8fdbac62f9 test: clear runtime registry loader broad matchers 2026-05-10 10:02:38 +01:00
Peter Steinberger
662b9d2f5d fix: clear stale heartbeat fallback overrides
Co-authored-by: bitloi <raphaelaloi.eth@gmail.com>
2026-05-10 04:13:23 -04:00
Peter Steinberger
04a414de20 test: clear plugin loader broad matchers 2026-05-10 08:40:19 +01:00
Peter Steinberger
09cffbdfbf fix(cli): avoid plugin allowlist hints for unknown commands
Co-authored-by: kagura-agent <kagura.agent.ai@gmail.com>
2026-05-10 03:21:11 -04:00
Peter Steinberger
9e7acd4b2b fix: tighten stale plugin diagnostic registry checks (#80134) 2026-05-10 03:04:35 -04:00
hclsys
d160f82719 fix(doctor): invalidate persisted plugin registry when a diagnostic source path no longer exists
Closes #80087.

When a plugin was previously installed from ~/.openclaw/extensions/<id>/ but
that directory was later removed (replaced by an npm-managed install), the
persisted plugin registry JSON still carried the old "requires compiled runtime
output" WARN diagnostic whose `source` field pointed at the deleted path. On
subsequent `openclaw doctor` runs, the persisted snapshot passed all existing
staleness checks (the npm-loaded plugin was valid), so the stale diagnostic was
re-emitted verbatim — referencing a directory that no longer existed.

Add `hasStalePersistedPluginDiagnostics`: if any diagnostic in the persisted
index has an absolute-path `source` that does not exist on disk, treat the
persisted snapshot as stale and fall back to a freshly derived index (which
will not reproduce the phantom warning). Includes a regression test that
constructs a persisted index carrying a ghost-path diagnostic, verifies the
derived path is taken, and confirms the stale diagnostic is absent from the
fresh snapshot.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-10 03:04:35 -04:00
Peter Steinberger
9a1f6ab7f8 test: clear plugin provider broad matchers 2026-05-10 07:41:31 +01:00
Vincent Koc
0eb6848c7c fix(plugins): explain disabled CLI command roots 2026-05-10 14:23:15 +08:00
Peter Steinberger
9dc5738bb5 test: clear host hook contract broad matchers 2026-05-10 07:10:06 +01:00
Peter Steinberger
07df423557 fix(openrouter): honor model tool support metadata 2026-05-10 06:54:57 +01:00
Peter Steinberger
2eb07e68a1 fix(models): canonicalize auth default models 2026-05-10 06:40:42 +01:00
Peter Steinberger
0a387bfa69 test: clear clawhub broad matchers 2026-05-10 06:07:02 +01:00
Peter Steinberger
a0fb7fb045 refactor: centralize channel ingress access 2026-05-10 00:18:36 -04:00
Peter Steinberger
829fae4ef0 test: clear plugin update broad matchers 2026-05-10 04:38:23 +01:00
Peter Steinberger
183615145e test: tighten plugin update installer assertions 2026-05-10 04:36:20 +01:00
Peter Steinberger
5e332e1d58 test: tighten plugin update fallback assertions 2026-05-10 04:34:44 +01:00
Peter Steinberger
d428822d01 test: tighten plugin update outcome assertions 2026-05-10 04:33:23 +01:00
Peter Steinberger
e0142c6cd7 test: tighten plugin update npm assertions 2026-05-10 04:31:46 +01:00
VACInc
852757ad2f fix(diffs): restore viewer ttl config 2026-05-09 21:15:22 -04:00
brokemac79
48f51c1a51 fix: align xai tool auth profiles 2026-05-09 21:02:40 -04:00
brokemac79
af69e78901 fix image generation provider discovery 2026-05-09 20:40:31 -04:00
Peter Steinberger
388af50ba1 fix: smooth beta update health checks 2026-05-10 00:20:38 +01:00
Peter Steinberger
b4fec8ded1 test(release): isolate deferred channel fixture 2026-05-09 23:25:27 +01:00
Peter Steinberger
19f66b4a90 test(plugins): isolate startup planner fixture coverage 2026-05-09 23:25:27 +01:00
Peter Steinberger
16f3350b84 fix(release): repair full validation gates 2026-05-09 23:25:26 +01:00
Shakker
9a454509f5 test: speed up memory host remote client tests 2026-05-09 23:06:47 +01:00
Shakker
04a9a61e18 test: avoid proxy-wide root alias matcher 2026-05-09 19:46:49 +01:00
Peter Steinberger
8f56484b12 chore: remove stale unused imports 2026-05-09 06:51:20 -04:00
Shakker
01741f81f8 test: remove stale unused imports 2026-05-09 11:26:43 +01:00
Peter Steinberger
1f4f51e8e2 feat: add plugin install overrides 2026-05-09 06:06:08 -04:00
NVIDIAN
2db6bde617 fix(plugins): fail unresolved openclaw peer installs (#79494) 2026-05-09 17:19:54 +09:00
Peter Steinberger
5849c32402 fix: install Codex for OpenAI onboarding (#79709)
* fix: install codex for openai onboarding

* docs: require crabbox e2e bug proof
2026-05-09 16:57:40 +09:00
Peter Steinberger
e4bae42d63 feat(plugin-sdk): derive tool target paths for hooks
Summary:
- derive apply_patch target paths for before_tool_call and trusted policy events
- route native Codex PreToolUse cwd/sandbox path facts through the host parser
- document the additive derivedPaths hook field and refresh the SDK API baseline

Verification:
- pnpm test src/agents/apply-patch-paths.test.ts src/plugins/host-tool-param-parsers.test.ts src/agents/pi-tools.before-tool-call.e2e.test.ts src/agents/harness/native-hook-relay.test.ts src/plugins/contracts/host-hooks.contract.test.ts
- pnpm check:test-types
- pnpm lint:core
- pnpm plugin-sdk:api:gen
- pnpm plugin-sdk:api:check
- pnpm run check:no-conflict-markers
- pnpm exec oxfmt --check --threads=1 CHANGELOG.md docs/plugins/hooks.md docs/.generated/plugin-sdk-api-baseline.sha256 src/agents/apply-patch-paths.test.ts src/agents/apply-patch-paths.ts src/agents/harness/native-hook-relay.test.ts src/agents/harness/native-hook-relay.ts src/agents/pi-tools.before-tool-call.e2e.test.ts src/agents/pi-tools.before-tool-call.ts src/agents/pi-tools.ts src/auto-reply/reply/dispatch-from-config.test.ts src/plugins/contracts/host-hooks.contract.test.ts src/plugins/hook-types.ts src/plugins/host-tool-param-parsers.test.ts src/plugins/host-tool-param-parsers.ts src/plugins/trusted-tool-policy.ts
- git diff --check origin/main...HEAD && git diff --check
- pnpm build

Co-authored-by: Eva <eva@100yen.org>
Co-authored-by: Josh Lehman <josh@martian.engineering>
2026-05-09 03:31:42 -04:00
Peter Steinberger
0c50957dbb fix(cli): clarify plugin tool command mistakes
Summary:
- clarify CLI diagnostics when an unknown subcommand is actually a plugin agent tool
- route early proxy-preflight misses through the same policy helper
- refresh bundled sidecar update fixtures for current package ownership

Verification:
- pnpm test src/cli/run-main.test.ts src/cli/run-main.exit.test.ts src/plugins/manifest-command-aliases.test.ts
- pnpm test src/infra/update-global.test.ts src/infra/update-runner.test.ts
- pnpm exec oxfmt --check --threads=1 CHANGELOG.md src/cli/run-main-policy.ts src/cli/run-main.ts src/cli/run-main.test.ts src/cli/run-main.exit.test.ts src/plugins/manifest-command-aliases.ts src/plugins/manifest-command-aliases.runtime.ts src/plugins/manifest-command-aliases.test.ts
- pnpm build
- live temp lossless-claw manifest: pnpm openclaw lcm_recent emits the agent-tool diagnostic and no plugins.allow suggestion

Co-authored-by: 100yenadmin <100yenadmin+agent-77214@100yen.org>
2026-05-09 03:11:44 -04:00
Shakker
cb0f6e6466 test: fix matrix package scan baselines 2026-05-09 07:48:58 +01:00
Peter Steinberger
311e4608d1 feat: unify model catalog registration 2026-05-09 02:34:56 -04:00
Shakker
56ab8d56ee test: fix message delivery contract assertions 2026-05-09 07:11:22 +01:00
Peter Steinberger
a4b17d65a8 refactor: consolidate message delivery API 2026-05-09 07:04:04 +01:00
Peter Steinberger
47a755969d test: tighten plugin service logger assertions 2026-05-09 06:56:14 +01:00
Peter Steinberger
b34cf2f1a2 fix: externalize matrix plugin 2026-05-09 06:38:29 +01:00
Shakker
0fef42ddcc test: tighten plugin extension array assertions 2026-05-09 05:58:17 +01:00
Shakker
00a96acb21 test: tighten plugin provider array assertions 2026-05-09 05:44:40 +01:00