Commit Graph

25009 Commits

Author SHA1 Message Date
Kelaw - Keshav's Agent
425c9f8787 Scope suppressed-source progress callbacks 2026-05-06 08:07:01 +01:00
Kelaw - Keshav's Agent
34b5ae593b Coalesce Codex native tool progress 2026-05-06 08:07:01 +01:00
Kelaw - Keshav's Agent
7523e21021 Fix Telegram progress under message-tool delivery 2026-05-06 08:06:46 +01:00
Kelaw - Keshav's Agent
14044edf28 Fix Telegram Pi tool progress timing 2026-05-06 08:06:46 +01:00
Shakker
d46859d886 fix: reuse plugin snapshot for agent metadata 2026-05-06 07:55:27 +01:00
Shakker
fe393e4427 fix: reuse plugin snapshot for read-only channels 2026-05-06 07:55:27 +01:00
Shakker
df209586bd fix: reuse plugin snapshot for auto enable 2026-05-06 07:55:27 +01:00
Shakker
5655c2b066 fix: pass current snapshot to embedded runs 2026-05-06 07:55:27 +01:00
Shakker
ba1800e1bd fix: reuse plugin snapshot for embedded settings 2026-05-06 07:55:27 +01:00
Peter Steinberger
8f3a34e2a1 refactor: share fs-safe JSON helpers 2026-05-06 07:40:10 +01:00
Peter Steinberger
8e533490ab fix(plugins): repair managed npm openclaw peers
Remove stale managed-root openclaw manifests, locks, hidden locks, and installed copies before npm plugin installs.

Relink plugin-local openclaw peer symlinks after shared-root npm install, rollback, update, and uninstall mutations so SDK-using plugins keep resolving openclaw/plugin-sdk/*.

Force safe npm commands out of inherited legacy/strict peer-dependency modes.

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
2026-05-06 07:32:25 +01:00
Peter Steinberger
627b0073f2 test: remove gateway restart delay wait 2026-05-06 07:02:27 +01:00
Shakker
7544beea17 fix: preserve embedded dispatcher timeouts 2026-05-06 07:01:02 +01:00
Shakker
d52f581f76 fix: avoid fetch runtime proxy imports 2026-05-06 07:01:02 +01:00
Shakker
c9c66d7a1d fix: restore no-proxy dispatcher boundary 2026-05-06 07:01:02 +01:00
Vincent Koc
6807da544b fix(net): preserve no-proxy undici stream timeouts 2026-05-06 07:01:02 +01:00
Shakker
95652d5867 test: cover no-proxy undici startup 2026-05-06 07:01:02 +01:00
Shakker
85ed972217 fix: lazy-load undici dispatchers 2026-05-06 07:01:02 +01:00
Peter Steinberger
1672d35ef5 perf: avoid no-op plugin auto-enable scans 2026-05-06 06:53:51 +01:00
Peter Steinberger
5da9f5e57c test: remove cli retry test waits 2026-05-06 06:50:06 +01:00
hcl
5f783d7ddd Plugin skills: use Windows junction links
Fixes #77958.\n\nMaintainer-prepped by narrowing the branch to the Windows plugin-skills junction fix, rebasing onto current main, adding cleanup/idempotence regression coverage and changelog, and verifying local gates plus green CI.\n\nCo-authored-by: hcl <7755017+hclsys@users.noreply.github.com>\nCo-authored-by: Brad Groux <3053586+BradGroux@users.noreply.github.com>
2026-05-06 00:37:09 -05:00
拐爷&&老拐瘦
03e6a029ab Windows startup: handle localized schtasks access denied
Fixes #77993.\n\nMaintainer-prepped by rebasing onto current main, keeping the localized Windows schtasks Access Denied fallback scoped, adding focused regression coverage and changelog, and verifying local gates plus green CI.\n\nCo-authored-by: 拐爷&&老拐瘦 <geyunfei@gmail.com>\nCo-authored-by: Brad Groux <3053586+BradGroux@users.noreply.github.com>
2026-05-06 00:36:54 -05:00
Peter Steinberger
1f6ce72b8a test: trim cron and context-engine waits 2026-05-06 05:55:34 +01:00
Peter Steinberger
6da5eda488 test: avoid real waits in cdp and outbound tests 2026-05-06 05:43:48 +01:00
Jesse Merhi
5b00cd1ae1 fix: narrow Gateway proxy bypass target (#77018)
* fix: narrow Gateway proxy bypass target

* fix: narrow Gateway proxy bypass target

* fix(clawsweeper): address review for automerge-openclaw-openclaw-77018 (1)

* fix(clawsweeper): address review for automerge-openclaw-openclaw-77018 (2)

* fix(clawsweeper): address review for automerge-openclaw-openclaw-77018 (validation-3)

* fix(clawsweeper): address review for automerge-openclaw-openclaw-77018 (4-final)

* fix: narrow Gateway proxy bypass target

* fix(clawsweeper): address review for automerge-openclaw-openclaw-77018 (1)

* fix(clawsweeper): address review for automerge-openclaw-openclaw-77018 (2)

* fix(clawsweeper): reconcile automerge-openclaw-openclaw-77018 with main (1)

---------

Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
2026-05-06 14:40:31 +10:00
Peter Steinberger
be1c99b76a test: pass env to fallback metadata snapshot 2026-05-06 05:33:38 +01:00
Peter Steinberger
e9987ffc3a fix: clamp xAI live gateway thinking 2026-05-06 05:33:38 +01:00
Peter Steinberger
82c4fd8f56 test: cache fallback metadata snapshot 2026-05-06 05:20:55 +01:00
pickaxe
d221d7b6a9 fix(plugins): isolate peer-link repair failures 2026-05-06 05:13:01 +01:00
pickaxe
4d248b887f test(plugins): remove unnecessary peer-link assertion 2026-05-06 05:13:01 +01:00
pickaxe
fb42c722f0 fix(plugins): repair peer links after npm updates 2026-05-06 05:13:01 +01:00
Peter Steinberger
2df7ec5671 test: avoid bundled channel cold loads in message tool tests 2026-05-06 05:04:03 +01:00
Peter Steinberger
b85b1c68d1 Refactor file access to use fs-safe primitives (#78255)
* refactor: use fs-safe primitives across file access

* fix: preserve invalid managed npm manifests

* fix: keep fs seams for startup metadata
2026-05-06 05:03:11 +01:00
Peter Steinberger
f35fb7288a test: mock manifest normalization in fallback tests 2026-05-06 04:58:33 +01:00
Peter Steinberger
777c539daf fix: harden sandboxed patch parent paths 2026-05-06 04:44:14 +01:00
Alex Alaniz
b971ebaaab fix(exec-approvals): guard Windows rename fallback (#77907)
* fix exec approvals Windows rename fallback

* fix(exec-approvals): restore approvals directory mode

* fix(exec-approvals): normalize fallback temp mode

---------

Co-authored-by: Brad Groux <3053586+BradGroux@users.noreply.github.com>
2026-05-05 22:39:41 -05:00
Val Alexander
60171e8638 Keep Control UI responsive under slow status and history loads 2026-05-05 22:07:39 -05:00
Peter Steinberger
3f6b481464 fix: serialize concurrent transcript appends 2026-05-06 04:06:28 +01:00
Val Alexander
49c4a13231 fix(sessions): restore Control UI /new hooks
Fixes #76957.

Restores the Control UI /new hook lifecycle through an explicit sessions.create emitCommandHooks opt-in, preserving hook-free defaults for programmatic parent-session creates.

Validation:
- pnpm protocol:check
- pnpm test src/gateway/server.sessions.reset-hooks.test.ts ui/src/ui/app-render.helpers.node.test.ts
- pnpm exec oxlint on touched TS files
- pnpm exec oxfmt --check --threads=1 on touched files
- git diff --check
- OPENCLAW_LOCAL_CHECK=1 OPENCLAW_LOCAL_CHECK_MODE=throttled env NODE_OPTIONS=--max-old-space-size=4096 pnpm check:changed
- GitHub PR checks green on 3a446ec78e
- ClawSweeper re-review completed with no blocking findings and security cleared

Duplicate triage:
- #77376, #77004, and #76967 were superseded closed attempts for #76957
- #77562 is a closed duplicate issue
- #77880 mentions #76957 but is not a duplicate of this hook fix
2026-05-05 21:57:22 -05:00
Val Alexander
3110c621df fix(gateway): preserve mixed assistant history text
Preserve visible assistant text from mixed text/tool-use transcript turns in chat.history while keeping commentary-only assistant turns hidden.

Fixes #77374.

Verification:
- pnpm test src/gateway/server-methods/server-methods.test.ts src/gateway/server.chat.gateway-server-chat-b.test.ts
- pnpm exec oxfmt --check --threads=1 src/gateway/chat-display-projection.ts src/gateway/server-methods/server-methods.test.ts src/gateway/server.chat.gateway-server-chat-b.test.ts
- git diff --check
- pnpm changed:lanes --json
- PR CI passed on 048266c5a5
2026-05-05 21:56:56 -05:00
Peter Steinberger
8489d0eb68 test: update spawn workspace pi settings mock 2026-05-06 03:43:39 +01:00
Peter Steinberger
ea391c6df2 test: stabilize cron and pairing shard hangs 2026-05-06 03:36:46 +01:00
Brad Hallett
0bdba47a3e fix: disable Pi auto-compaction when safeguard mode is active (#73839)
Merged via squash.

Prepared head SHA: d554201343
Co-authored-by: bradhallett <53977268+bradhallett@users.noreply.github.com>
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Reviewed-by: @jalehman
2026-05-05 19:35:47 -07:00
Peter Steinberger
74532265f4 test: tolerate archive race outcomes 2026-05-06 03:23:25 +01:00
Peter Steinberger
585bff4b75 test: accept archive race refusal variants 2026-05-06 03:17:59 +01:00
Val Alexander
36df0d93b9 fix: repair iOS LAN pairing
Fix iOS LAN/setup-code pairing policy for #47887.

- Allow explicit private LAN and .local plaintext ws:// setup/manual connects where policy allows it.
- Keep public hosts, .ts.net, and Tailscale CGNAT plaintext fail-closed.
- Prefer explicit passwords over stale bootstrap tokens in Swift and TypeScript gateway clients.
- Update setup-code/device-pair coverage, docs, and changelog with source credit for #65185.

Verification:
- pnpm install
- git diff --check origin/main..HEAD
- pnpm exec oxfmt --check --threads=1 src/gateway/client.ts src/gateway/client.test.ts src/pairing/setup-code.ts src/pairing/setup-code.test.ts extensions/device-pair/index.ts extensions/device-pair/index.test.ts
- pnpm format:docs:check
- pnpm test src/gateway/client.test.ts src/pairing/setup-code.test.ts extensions/device-pair/index.test.ts
- cd apps/shared/OpenClawKit && swift test --filter 'DeepLinksSecurityTests|GatewayNodeSessionTests'
- pnpm lint:swift passes with the existing TalkModeRuntime.swift type-body-length warning

Blocked locally:
- iOS app-target xcodebuild tests require unavailable watchOS 26.4 runtime here.
- Testbox check:changed previously failed because the image lacks swiftlint; local swiftlint passes.
2026-05-05 21:07:19 -05:00
Peter Steinberger
6ad601d195 test: align archive hardlink guard expectation 2026-05-06 03:04:27 +01:00
Peter Steinberger
8b9b849b19 test: align fs-safe race expectations 2026-05-06 03:02:47 +01:00
Peter Steinberger
9e108fa9a7 fix: repair fs-safe ci expectations 2026-05-06 02:56:12 +01:00
Peter Steinberger
b43efd3793 fix: clean up post-land CI guards 2026-05-06 02:51:53 +01:00