Skip to content

Commit 6312a19

Browse files
authored
Merge branch 'main' into perf/memoize-tool-factories
2 parents dcba937 + 0b82a7e commit 6312a19

202 files changed

Lines changed: 3944 additions & 833 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/openclaw-live-and-e2e-checks-reusable.yml‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -603,14 +603,14 @@ jobs:
603603
shell: bash
604604
run: |
605605
set -euo pipefail
606-
docker pull "${OPENCLAW_DOCKER_E2E_BARE_IMAGE}"
606+
bash .release-harness/scripts/ci-docker-pull-retry.sh "${OPENCLAW_DOCKER_E2E_BARE_IMAGE}"
607607
608608
- name: Pull shared functional Docker E2E image
609609
if: steps.plan.outputs.needs_functional_image == '1'
610610
shell: bash
611611
run: |
612612
set -euo pipefail
613-
docker pull "${OPENCLAW_DOCKER_E2E_FUNCTIONAL_IMAGE}"
613+
bash .release-harness/scripts/ci-docker-pull-retry.sh "${OPENCLAW_DOCKER_E2E_FUNCTIONAL_IMAGE}"
614614
615615
- name: Validate Docker E2E credentials
616616
shell: bash
@@ -794,7 +794,7 @@ jobs:
794794
id: plan
795795
shell: bash
796796
env:
797-
LANES: ${{ inputs.docker_lanes }}
797+
LANES: ${{ matrix.group.docker_lanes }}
798798
INCLUDE_OPENWEBUI: ${{ inputs.include_openwebui }}
799799
run: |
800800
set -euo pipefail
@@ -826,14 +826,14 @@ jobs:
826826
shell: bash
827827
run: |
828828
set -euo pipefail
829-
docker pull "${OPENCLAW_DOCKER_E2E_BARE_IMAGE}"
829+
bash .release-harness/scripts/ci-docker-pull-retry.sh "${OPENCLAW_DOCKER_E2E_BARE_IMAGE}"
830830
831831
- name: Pull shared functional Docker E2E image
832832
if: steps.plan.outputs.needs_functional_image == '1'
833833
shell: bash
834834
run: |
835835
set -euo pipefail
836-
docker pull "${OPENCLAW_DOCKER_E2E_FUNCTIONAL_IMAGE}"
836+
bash .release-harness/scripts/ci-docker-pull-retry.sh "${OPENCLAW_DOCKER_E2E_FUNCTIONAL_IMAGE}"
837837
838838
- name: Validate Docker E2E credentials
839839
shell: bash
@@ -971,14 +971,14 @@ jobs:
971971
shell: bash
972972
run: |
973973
set -euo pipefail
974-
docker pull "${OPENCLAW_DOCKER_E2E_BARE_IMAGE}"
974+
bash .release-harness/scripts/ci-docker-pull-retry.sh "${OPENCLAW_DOCKER_E2E_BARE_IMAGE}"
975975
976976
- name: Pull shared functional Docker E2E image
977977
if: steps.plan.outputs.needs_functional_image == '1'
978978
shell: bash
979979
run: |
980980
set -euo pipefail
981-
docker pull "${OPENCLAW_DOCKER_E2E_FUNCTIONAL_IMAGE}"
981+
bash .release-harness/scripts/ci-docker-pull-retry.sh "${OPENCLAW_DOCKER_E2E_FUNCTIONAL_IMAGE}"
982982
983983
- name: Run Open WebUI Docker E2E chunk
984984
shell: bash
@@ -1600,7 +1600,7 @@ jobs:
16001600
profiles: stable full
16011601
- suite_id: native-live-src-gateway-profiles-openai
16021602
label: Native live gateway profiles OpenAI
1603-
command: OPENCLAW_LIVE_GATEWAY_PROVIDERS=openai OPENCLAW_LIVE_GATEWAY_MODELS=openai/gpt-5.2 node .release-harness/scripts/test-live-shard.mjs native-live-src-gateway-profiles
1603+
command: OPENCLAW_LIVE_GATEWAY_PROVIDERS=openai OPENCLAW_LIVE_GATEWAY_MODELS=openai/gpt-5.5 node .release-harness/scripts/test-live-shard.mjs native-live-src-gateway-profiles
16041604
timeout_minutes: 90
16051605
needs_ffmpeg: false
16061606
profile_env_only: false

‎CHANGELOG.md‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,36 @@ Docs: https://docs.openclaw.ai
66

77
### Changes
88

9+
- iOS/Gateway: add an authenticated `node.presence.alive` protocol event and `node.list` last-seen fields so background iOS wakes can mark paired nodes recently alive without treating them as connected. Carries forward #63123. Thanks @ngutman.
910
- Gateway/chat: accept non-image attachments through `chat.send` by staging them as agent-readable media paths, while keeping unsupported RPC attachment paths explicit instead of silently dropping files. Fixes #48123. (#67572) Thanks @samzong.
1011
- Security/networking: add opt-in operator-managed outbound proxy routing (proxy.enabled + proxy.proxyUrl/OPENCLAW_PROXY_URL) with strict http:// forward-proxy validation, loopback-only Gateway bypass, and cleanup of proxy env/dispatcher state on exit. (#70044) Thanks @jesse-merhi and @joshavant.
1112

1213
### Fixes
1314

15+
- Control UI/WebChat: keep large attachment payloads out of Lit state and optimistic chat messages, using object URL previews plus send-time payload serialization so PDF/image uploads no longer trigger `RangeError: Maximum call stack size exceeded`. Fixes #73360; refs #54378 and #63432. Thanks @hejunhui-73, @Ansub, and @christianhernandez3-afk.
16+
- Agents/models: keep per-agent primary models strict when `fallbacks` is omitted, so probe-only custom providers are not tried as hidden fallback candidates unless the agent explicitly opts in. Fixes #73332. Thanks @haumanto.
17+
- Gateway/models: add `models.pricing.enabled` so offline or restricted-network installs can skip startup OpenRouter and LiteLLM pricing-catalog fetches while keeping explicit model costs working. Fixes #53639. Thanks @callebtc, @palewire, and @rjdjohnston.
1418
- Cron/Telegram: preserve explicit `:topic:` delivery targets over stale session-derived thread IDs when isolated cron announces to Telegram forum topics. Carries forward #59069; refs #49704 and #43808. Thanks @roytong9.
19+
- Build/runtime: write the runtime-postbuild stamp after `pnpm build` writes the build stamp, so the next CLI invocation does not re-sync runtime artifacts after a successful build. Fixes #73151. Thanks @bittoby.
20+
- CLI/channels: list configured chat channel accounts from read-only setup metadata even when the standalone CLI has not loaded the runtime channel registry, so `openclaw channels list` shows Telegram accounts before auth providers. Fixes #73319 and #73322. Thanks @mlaihk.
1521
- CLI/model probes: reject empty or whitespace-only `infer model run --prompt` values before calling local providers or the Gateway, so smoke checks do not spend provider calls on invalid turns. Fixes #73185. Thanks @iot2edge.
1622
- Gateway/media: route text-only `chat.send` image offloads through media-understanding fields so `agents.defaults.imageModel` can describe WebChat attachments instead of leaving only an opaque `media://inbound` marker. Fixes #72968. Thanks @vorajeeah.
23+
- Gateway/Windows: route no-listener restart handoffs through the Windows supervisor without leaving restart tokens in flight, so failed task scheduling can be retried and successful handoffs do not coalesce later restart requests. (#69056) Thanks @Thatgfsj.
24+
- Gateway/model pricing: skip plugin manifest discovery during background pricing refreshes when `plugins.enabled: false`, so disabled-plugin setups do not keep rebuilding plugin metadata from the Gateway hot path. Fixes #73291. Thanks @slideshow-dingo and @fishgills.
25+
- Gateway/sessions: remove automatic oversized `sessions.json` rotation backups, deprecate `session.maintenance.rotateBytes`, and teach `openclaw doctor --fix` to remove the ignored key so hot session writes no longer copy multi-MB stores. Refs #72338. Thanks @midhunmonachan and @DougButdorf.
1726
- Channels/Telegram: fail fast when Telegram rejects the startup `getMe` token probe with 401, so invalid or stale BotFather tokens are reported as token auth failures instead of misleading `deleteWebhook` cleanup failures. Fixes #47674. Thanks @samaedan-arch.
1827
- ACPX: keep generated Codex and Claude ACP wrapper startup paths working when remote or special state filesystems reject chmod, since OpenClaw invokes the wrappers through Node instead of executing them directly. Fixes #73333. Thanks @david-garcia-garcia.
1928
- CLI/onboarding: infer image input for common custom-provider vision model IDs, ask only for unknown models, and keep `--custom-image-input`/`--custom-text-input` overrides so vision-capable proxies do not get saved as text-only configs. Fixes #51869. Thanks @Antsoldier1974.
2029
- Models/OpenAI Codex: stop listing or resolving unsupported `openai-codex/gpt-5.4-mini` rows through Codex OAuth, keep stale discovery rows suppressed with a clear API-key-route hint, and leave direct `openai/gpt-5.4-mini` available. Fixes #73242. Thanks @0xCyda.
30+
- Plugin SDK: restore the root `stringEnum` and `optionalStringEnum` exports on both the published SDK entry and runtime root-alias bridge, so older external plugins can keep building and loading while migrating to focused SDK subpaths. Fixes #68279. Thanks @marzliak.
2131
- Plugin SDK: restore the root-alias bridge for `registerContextEngine` and expose missing legacy compat helpers `normalizeAccountId` and `resolvePreferredOpenClawTmpDir` so older external plugins such as `openclaw-weixin` can keep loading while migrating to focused SDK subpaths. Fixes #53497. Thanks @alanxchen85.
2232
- Auth profiles: make `openclaw doctor --fix` migrate legacy flat `auth-profiles.json` files such as `{ "ollama-windows": { "apiKey": "ollama-local" } }` to canonical provider default API-key profiles with a backup, so custom Ollama/OpenAI-compatible providers recover cleanly after upgrading. Fixes #59629; supersedes #59642. Thanks @Xsanders555 and @Linux2010.
2333
- Memory/Dreaming: retry Dream Diary once with the session default when a configured dreaming model is unavailable, while leaving subagent trust and allowlist errors visible instead of silently masking configuration problems. Refs #67409 and #69209. Thanks @Ghiggins18 and @everySympathy.
2434
- Feishu/inbound files: recover CJK filenames from plain `Content-Disposition: filename=` download headers when Feishu exposes UTF-8 bytes through Latin-1 header decoding, while leaving valid Latin-1 and JSON-derived names unchanged. (#48578, #50435, #59431) Thanks @alex-xuweilong, @lishuaigit, and @DoChaoing.
2535
- Channels/Telegram: normalize accidental full `/bot<TOKEN>` Telegram `apiRoot` values at runtime and teach `openclaw doctor --fix` to remove the suffix, so startup control calls no longer 404 when direct Bot API curl commands work. Fixes #55387. Thanks @brendanmatthewjones-cmyk, @techfindubai-ux, and @Sivlerback-Chris.
2636
- Zalo Personal: persist refreshed `zca-js` session cookies after QR login, session restore, and successful API calls so gateway restarts restore the freshest local session. (#73277) Thanks @darkamenosa.
2737
- Logging/security: redact sensitive tokens (sk-\* keys, Bearer/Authorization values, etc.) at the subsystem console sink so `createSubsystemLogger().info/warn/error` output that bypasses the patched console-capture handler still applies the same redaction the file transport already does. Fixes #73284; refs #67953 and #64046. Thanks @edwin-rivera-dev.
38+
- Plugins/runtime deps: reuse enclosing versioned cache roots when bundled plugins resolve from nested staged paths, so plugin-runtime-deps no longer mints `openclaw-unknown-*` directories or loops on `ENOTEMPTY`. Fixes #72956. (#73205) Thanks @SymbolStar.
2839

2940
## 2026.4.27
3041

‎apps/android/app/src/main/java/ai/openclaw/app/node/CameraCaptureManager.kt‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ class CameraCaptureManager(private val context: Context) {
111111
provider.unbindAll()
112112
provider.bindToLifecycle(owner, selector, capture)
113113

114-
val (bytes, orientation) = capture.takeJpegWithExif(context.mainExecutor())
114+
val (bytes, orientation) = capture.takeJpegWithExif(context.mainExecutor(), context.cacheDir)
115115
val decoded = BitmapFactory.decodeByteArray(bytes, 0, bytes.size)
116116
?: throw IllegalStateException("UNAVAILABLE: failed to decode captured image")
117117
val rotated = rotateBitmapByExif(decoded, orientation)
@@ -214,7 +214,7 @@ class CameraCaptureManager(private val context: Context) {
214214
android.util.Log.w("CameraCaptureManager", "clip: warming up camera 1.5s...")
215215
kotlinx.coroutines.delay(1_500)
216216

217-
val file = File.createTempFile("openclaw-clip-", ".mp4")
217+
val file = File.createTempFile("openclaw-clip-", ".mp4", context.cacheDir)
218218
val outputOptions = FileOutputOptions.Builder(file).build()
219219

220220
val finalized = kotlinx.coroutines.CompletableDeferred<VideoRecordEvent.Finalize>()
@@ -392,9 +392,9 @@ private suspend fun Context.cameraProvider(): ProcessCameraProvider =
392392
}
393393

394394
/** Returns (jpegBytes, exifOrientation) so caller can rotate the decoded bitmap. */
395-
private suspend fun ImageCapture.takeJpegWithExif(executor: Executor): Pair<ByteArray, Int> =
395+
private suspend fun ImageCapture.takeJpegWithExif(executor: Executor, tempDir: File): Pair<ByteArray, Int> =
396396
suspendCancellableCoroutine { cont ->
397-
val file = File.createTempFile("openclaw-snap-", ".jpg")
397+
val file = File.createTempFile("openclaw-snap-", ".jpg", tempDir)
398398
val options = ImageCapture.OutputFileOptions.Builder(file).build()
399399
takePicture(
400400
options,

0 commit comments

Comments
 (0)