Commit Graph

2547 Commits

Author SHA1 Message Date
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
Vincent Koc
5c844bea88 Merge branch 'main' of https://github.com/openclaw/openclaw
* 'main' of https://github.com/openclaw/openclaw:
  fix(config): persist explicit default values
  fix(google): default gemini onboarding to 3.1 pro
2026-05-10 14:26:55 +08:00
Peter Steinberger
2e400c5b76 fix(config): persist explicit default values
Fixes #79856.

Preserves explicitly set config values that equal runtime defaults across CLI set/patch, exported config writes, object paths, array-index paths, and normalized model paths. Rejects default-equal explicit writes under include-owned config instead of reporting a no-op success.

Co-authored-by: hclsys <hclsys@users.noreply.github.com>
2026-05-10 02:24:39 -04:00
Vincent Koc
0eb6848c7c fix(plugins): explain disabled CLI command roots 2026-05-10 14:23:15 +08:00
Vincent Koc
be2f333e6f fix(cli): clarify terminal recovery errors 2026-05-10 14:23:15 +08:00
Peter Steinberger
844762e8f2 test: clear plugin install cli broad matchers 2026-05-10 06:12:15 +01:00
Ruben Cuevas
d0bba218e4 fix(gateway): redact fast-path console logs 2026-05-09 23:55:37 -04:00
Peter Steinberger
3daf4cbd55 test: clear update cli broad matchers 2026-05-10 04:51:03 +01:00
Peter Steinberger
e60928d13c ci: verify and sync website installers (#80067)
* ci: verify and sync website installers

* test: fix pi runner boundary test type cast

* fix(installer): scope Windows legacy cleanup to git checkout

* ci: install curl for minimal install-cli smoke

* fix(installer): promote supported Linux node after install

* test(cli): align command hint expectations

* fix(installer): avoid shellcheck warning in node promotion

* fix(installer): sync Linux path hardening

* ci: raise build artifact testbox heap

* test(installer): align PowerShell installer tests
2026-05-09 23:48:49 -04:00
Peter Steinberger
71ebedee95 test: tighten update cli post core assertions 2026-05-10 04:45:50 +01:00
Peter Steinberger
1f99cddb61 test: tighten update cli spawn assertions 2026-05-10 04:44:14 +01:00
Peter Steinberger
069ac6ca82 test: clear capability broad matchers 2026-05-10 04:29:54 +01:00
Peter Steinberger
f1d935d39f test: tighten capability generation assertions 2026-05-10 04:27:26 +01:00
Peter Steinberger
85c023bce3 test: tighten capability gateway assertions 2026-05-10 04:25:31 +01:00
Peter Steinberger
dec13eb5d8 test: tighten capability model assertions 2026-05-10 04:23:33 +01:00
Jordan Baker
86c1622a3a fix(acp): propagate AcpRuntimeError detail through lifecycle boundary
Summary:
- Preserve AcpRuntimeError detail across the ACP lifecycle boundary.
- Redact non-Error lifecycle failure strings and add gateway/agent propagation coverage.
- Align rebased CLI command-hint formatting with current main.

Verification:
- pnpm check:test-types
- pnpm test src/acp/runtime/errors.test.ts src/agents/command/attempt-execution.error-propagation.test.ts src/gateway/server.agent.gateway-server-agent-b.test.ts
- CI exact head c96d63298b green

Co-authored-by: Jordan Baker <23538+hexsprite@users.noreply.github.com>
2026-05-09 23:08:30 -04:00
Peter Steinberger
4b6cb9e9bc fix(cli): keep plugin help registration reachable 2026-05-10 04:03:45 +01:00
Vincent Koc
0c8bca4500 fix(cli): keep root help pluginless by default 2026-05-10 10:28:48 +08:00
Vincent Koc
e855b9c8d9 fix(cli): skip proxy config for help 2026-05-10 10:28:48 +08:00
Vincent Koc
074161415b fix(cli): keep help banner configless 2026-05-10 10:28:48 +08:00
Vincent Koc
be1c38e692 fix(cli): improve terminal error guidance 2026-05-10 10:28:47 +08:00
Vincent Koc
6811ef058b fix(cli): keep help paths configless 2026-05-10 10:28:47 +08:00
Peter Steinberger
434b3d3876 fix: clarify Codex OAuth recovery hints 2026-05-09 23:53:57 +01:00
Vincent Koc
554acb85a4 fix(cli): explain port and gateway prompts 2026-05-10 06:36:16 +08:00
Vincent Koc
e1a7ee6b2b fix(cli): clarify channel setup paths 2026-05-10 06:36:15 +08:00
Vincent Koc
4c7cc57a46 docs(cli): clarify setup wayfinding 2026-05-10 06:36:15 +08:00
Vincent Koc
346e327586 fix(cli): guide onboarding option errors 2026-05-10 05:41:28 +08:00
Shakker
f0bc3e27ae test: speed up update cli tests 2026-05-09 21:50:18 +01:00
Peter Steinberger
18aeac86a1 fix: normalize gemini config mutations 2026-05-09 21:12:23 +01:00
Peter Steinberger
ae14f3a459 test: tighten nodes camera assertion 2026-05-09 12:57:03 +01:00
Peter Steinberger
355ea947f5 fix: allow explicit local infer static catalog models 2026-05-09 12:16:58 +01:00
VACInc
5ac1fee4de fix(cli): route infer thinking through simple completions 2026-05-09 06:51:20 -04:00
VACInc
223c4cf46c feat(cli): add thinking override to infer model run 2026-05-09 06:51:20 -04:00
Val Alexander
fa79e9754e fix(gateway): harden macOS update restart lifecycle
Summary:
- Clear stale SIGUSR1 restart state before rejected or externally allowed restart handling can leave an in-flight token stuck.
- Verify the live gateway version after macOS package-update service refreshes and skip redundant restarts when the refreshed LaunchAgent already serves the expected version.
- Set generated LaunchAgents to a 10s throttle plus 20s shutdown window and widen gateway bind retries around supervisor-owned restarts.

Fixes #79577. Refs #78699 and #60885.

Verification:
- pnpm test src/cli/gateway-cli/run-loop.test.ts src/infra/infra-runtime.test.ts
- pnpm test src/cli/update-cli.test.ts src/daemon/launchd.test.ts src/gateway/server/http-listen.test.ts
- pnpm exec oxfmt --check --threads=1 src/cli/gateway-cli/run-loop.ts src/cli/gateway-cli/run-loop.test.ts
- pnpm check:changed
- Crabbox/Blacksmith wrapper smoke passed focused tests plus pnpm check:changed: https://github.com/openclaw/openclaw/actions/runs/25595985603
- PR CI was green before upstream main advanced; the latest rebased heads hit unrelated broad lint failures also reproduced on current main CI (for example https://github.com/openclaw/openclaw/actions/runs/25598671666). No failing lint diagnostics referenced this gateway/update diff.
2026-05-09 05:21:17 -05: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
Peter Steinberger
195db88d71 test: tighten cli route runtime assertions 2026-05-09 07:03:42 +01:00
Peter Steinberger
19a5a80286 test: tighten cli exit callback assertions 2026-05-09 07:00:33 +01:00
Peter Steinberger
e3f336c22d test: tighten private qa cli module assertions 2026-05-09 06:58:22 +01:00
Shakker
9e4fb927bc test: tighten cli empty array assertions 2026-05-09 05:31:22 +01:00
Peter Steinberger
2fd29af86c test: tighten wait forever interval assertion 2026-05-09 05:30:04 +01:00
Shakker
a9d168ca23 test: tighten command empty result assertions 2026-05-09 03:57:18 +01:00
Shakker
561df3fe03 test: tighten model picker empty assertions 2026-05-09 03:54:12 +01:00
Peter Steinberger
b3c06e8d79 revert: remove oc-path implementation 2026-05-09 03:07:12 +01:00
Shakker
50898c4a72 test: tighten backup camera cleanup assertions 2026-05-09 02:51:16 +01:00
Shakker
59f75e793c test: update cli guidance assertions 2026-05-09 02:47:46 +01:00
Shakker
6369349484 test: update gateway auth assertions 2026-05-09 02:26:32 +01:00
Vincent Koc
e45b9d7a74 fix(cli): clarify remaining required options 2026-05-09 09:24:59 +08:00
Vincent Koc
ad943ec30c fix(cli): guide auth and gateway setup errors 2026-05-09 09:20:16 +08:00
Solomon Neas
b81414be45 fix: expose safe restart deferral bypass (#78658)
Expose the existing safe-restart skipDeferral escape hatch through gateway RPC and the daemon CLI, document the flag, and add restart/CLI regression coverage.

Also keep CLI failure output off the cold bootstrap graph and align CLI guidance expectations needed by current CI.

Co-authored-by: Solomon Neas <solomonneas@users.noreply.github.com>
2026-05-08 20:42:36 -04:00
Peter Steinberger
fad580ff18 test: tighten cli parser error assertions 2026-05-09 01:18:56 +01:00