Skip to content

fix(google): accept base64url provider media - #116204

Merged
Patrick-Erichsen merged 7 commits into
openclaw:mainfrom
sunlit-deng:sunlit/fix/issue-106969-base64url
Aug 7, 2026
Merged

Patrick-Erichsen merged 7 commits into
openclaw:mainfrom
sunlit-deng:sunlit/fix/issue-106969-base64url

Conversation

@sunlit-deng

@sunlit-deng sunlit-deng commented Jul 30, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes Google provider media responses (Live voice, TTS, video, music, image) being rejected when ProtoJSON uses the URL-safe Base64 alphabet.

Related: #106969

Why This Change Was Made

Google provider responses carry inline media through ProtoJSON, whose bytes fields accept either the standard or the URL-safe Base64 alphabet. Every Google inbound-media boundary — Live voice, TTS, video, music, and image — now converts -/_ to +// before the shared strict canonical validator, so no Google surface rejects a valid URL-safe payload while the malformed-media guard stays intact. Alphabet conversion is separate from validation: music and image assets are converted once at the Google boundary and then validated exactly once by their shared asset helpers, and the shared media validator is unchanged.

User Impact

Google Live voice, TTS, video, music, and image generation can all accept valid Base64url provider media without weakening their malformed-media guards.

Evidence

Real Google Live callback through the patched bridge

pnpm exec tsx proof-google-live-base64url.ts (source below) connected a real Google Live session with a redacted GEMINI_API_KEY, and the model produced speech. Real PCM audio crossed the production bridge callback on the exact reviewed head; the same production callback accepted the URL-safe form of those same bytes with an identical SHA-256, while the strict validator on main rejects it and the mixed-alphabet negative control still terminates the session with the named malformed-audio error.

live_head=a4ea74896598d55e0c58e3fa3f5524f249ffac6b
real_google_live_pcm_bytes=23042 sha256_8=f7bd6dcc delivered_via_patched_bridge=true

canonicalizeBase64(base64url)                  => REJECTED (main behavior)
canonicalizeGoogleProviderBase64(base64url)    => accepted
canonicalizeGoogleProviderBase64(mixed)        => rejected

bridge_callback standard_base64 (real payload) => accepted decoded=23042B sha256_8=f7bd6dcc match=true
bridge_callback urlsafe_base64 (real payload)  => accepted decoded=23042B sha256_8=f7bd6dcc match=true
bridge_callback mixed_alphabet                 => rejected Google Live stream returned malformed base64 audio data
  • The URL-safe conversion is a single regex pass ([-_] → +//); mixed-alphabet input is rejected before validation, and music/image payloads are validated exactly once by their shared asset helpers.
  • Wire contract confirmed directly in the pinned dependency: @google/genai 2.13.0 parses Live WebSocket messages with JSON.parse + Object.assign and performs no Base64 alphabet transformation (node_modules/@google/genai/dist/node/index.cjs:14443), so a URL-safe payload reaches the bridge unchanged and ProtoJSON parsers accept standard or URL-safe Base64 with or without padding.
  • Focused regressions cover every Google media boundary: valid Base64url is accepted and mixed-alphabet input is rejected in Live, TTS, video, music, and image; 553 Google extension tests pass on the exact head.
  • Maintainer direction: obviyus requested this residual base64url piece.
proof-google-live-base64url.ts
import { createHash } from "node:crypto";
import fs from "node:fs";
import os from "node:os";
import path from "node:path";
import { Live } from "@google/genai";
import { canonicalizeBase64 } from "openclaw/plugin-sdk/media-runtime";
import { REALTIME_VOICE_AUDIO_FORMAT_PCM16_24KHZ } from "openclaw/plugin-sdk/realtime-voice";
import { canonicalizeGoogleProviderBase64 } from "./extensions/google/base64.js";
import { buildGoogleRealtimeVoiceProvider } from "./extensions/google/realtime-voice-provider.js";

let capturedConnectParams: { callbacks: { onmessage: (m: Record<string, unknown>) => void } } | undefined;
const originalConnect = Live.prototype.connect;
Live.prototype.connect = function (this: Live, params: typeof capturedConnectParams): ReturnType<typeof originalConnect> {
  capturedConnectParams = params;
  return originalConnect.call(this, params);
};

function readApiKey(): string | undefined {
  const fromEnv = process.env.GEMINI_API_KEY ?? process.env.GOOGLE_API_KEY;
  if (fromEnv?.trim()) return fromEnv.trim();
  for (const candidate of [
    path.join(os.homedir(), ".config", "auto-pr", "gemini-api-key"),
    path.join(os.homedir(), ".config", "auto-pr", "google-api-key"),
  ]) {
    try {
      const value = fs.readFileSync(candidate, "utf8").trim();
      if (value) return value;
    } catch {}
  }
  return undefined;
}

const sha8 = (v: Buffer) => createHash("sha256").update(v).digest("hex").slice(0, 8);
const delay = (ms: number) => new Promise((r) => setTimeout(r, ms));

const apiKey = readApiKey();
if (!apiKey) {
  console.error("GEMINI_API_KEY missing");
  process.exit(2);
}

const provider = buildGoogleRealtimeVoiceProvider();
const audioChunks: Buffer[] = [];
const errors: Error[] = [];
const bridge = provider.createBridge({
  providerConfig: { apiKey },
  audioFormat: REALTIME_VOICE_AUDIO_FORMAT_PCM16_24KHZ,
  onAudio: (audio: Buffer) => audioChunks.push(audio),
  onClearAudio: () => undefined,
  onError: (error: Error) => errors.push(error),
  onClose: () => undefined,
});

await bridge.connect();
await delay(2_000);
(bridge as unknown as { sendUserMessage(t: string): void }).sendUserMessage("Say the word hello, then stop speaking.");

const deadline = Date.now() + 30_000;
while (audioChunks.length === 0 && Date.now() < deadline) await delay(500);
if (audioChunks.length === 0) {
  console.error("no real Google Live audio received");
  process.exit(1);
}

const realPcm = Buffer.concat(audioChunks);
const realSha = sha8(realPcm);
const standardB64 = realPcm.toString("base64");
const urlSafeB64 = realPcm.toString("base64url");
const mixedB64 = standardB64.slice(0, 1) + "-" + standardB64.slice(1);

console.log("live_head=" + (process.env.PROOF_HEAD ?? "local-head"));
console.log(`real_google_live_pcm_bytes=${realPcm.length} sha256_8=${realSha} delivered_via_patched_bridge=true`);
console.log("canonicalizeBase64(base64url)                  => " + (canonicalizeBase64(urlSafeB64) === undefined ? "REJECTED (main behavior)" : "accepted"));
console.log("canonicalizeGoogleProviderBase64(base64url)    => " + (canonicalizeGoogleProviderBase64(urlSafeB64) === undefined ? "rejected" : "accepted"));
console.log("canonicalizeGoogleProviderBase64(mixed)        => " + (canonicalizeGoogleProviderBase64(mixedB64) === undefined ? "rejected" : "accepted"));

const callbacks = capturedConnectParams!.callbacks;
for (const [label, data] of [
  ["standard_base64 (real payload)", standardB64],
  ["urlsafe_base64 (real payload)", urlSafeB64],
  ["mixed_alphabet", mixedB64],
] as const) {
  const beforeAudio = audioChunks.length;
  const beforeErrors = errors.length;
  callbacks.onmessage({
    serverContent: {
      modelTurn: {
        parts: [{ inlineData: { mimeType: "audio/pcm;rate=24000", data } }],
      },
    },
  });
  const decoded = Buffer.concat(audioChunks.slice(beforeAudio));
  const rejected = errors.length > beforeErrors;
  console.log(
    `bridge_callback ${label} => ${rejected ? "rejected " + errors[errors.length - 1]!.message : `accepted decoded=${decoded.length}B sha256_8=${sha8(decoded)} match=${sha8(decoded) === realSha}`}`,
  );
}

(bridge as unknown as { close(): void }).close();

AI-assisted: built with Codex

@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. P2 Normal backlog priority with limited blast radius. labels Jul 30, 2026
@clawsweeper

clawsweeper Bot commented Jul 30, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 6, 2026, 8:38 PM ET / August 7, 2026, 00:38 UTC.

ClawSweeper review

What this changes

The PR converts URL-safe Base64 media from Google Live, speech, image, music, and video responses before existing strict media validation.

Merge readiness

⚠️ Ready for maintainer review - 4 items remain

Keep open for maintainer review. Current main rejects URL-safe Base64 at all five Google media boundaries; the PR’s Google-local adapter is the right repair shape, but exact-head CI failures and direct verification of the pinned SDK/parser contract remain unresolved.

Priority: P2
Reviewed head: 86e019debcbf1486ff29f29990cc2b3eb00f48fd
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The patch is focused and well-covered with meaningful live-boundary proof; independent SDK-contract inspection and exact-head CI remain merge gates.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (live_output): The PR body includes a real Google Live session and an after-fix production bridge-callback trace with matching decoded bytes and a mixed-alphabet negative control; it is meaningful proof despite not directly observing a provider-emitted URL-safe payload.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (live_output): The PR body includes a real Google Live session and an after-fix production bridge-callback trace with matching decoded bytes and a mixed-alphabet negative control; it is meaningful proof despite not directly observing a provider-emitted URL-safe payload.
Evidence reviewed 6 items Current-main behavior: The shared canonical Base64 validator accepts the standard alphabet and rejects URL-safe characters, so current main cannot accept a - or _ payload.
Affected owner boundary: Current main sends Google Live, speech, video, music, and image inline media into strict validation; the proposed helper adapts only Google provider input while retaining the shared validator.
Branch regression coverage: The supplied PR patch covers URL-safe acceptance and mixed-alphabet rejection across all five claimed Google media boundaries.
Findings None None.
Security None None.

How this fits together

Google’s bundled provider plugin receives inline media from Google APIs and converts it into audio or generated-media outputs. This change sits at the provider boundary immediately before shared strict Base64 validation.

flowchart LR
  A[Google media response] --> B[Google provider adapter]
  B --> C{One Base64 alphabet?}
  C -->|URL-safe| D[Standard alphabet form]
  C -->|Mixed| E[Provider error]
  D --> F[Strict media validation]
  F --> G[Audio and generated-media output]
Loading

Decision needed

Question Recommendation
Should this PR require direct @google/genai parser confirmation and a green exact-head CI rerun before merge, rather than relying only on the supplied injected live-bridge trace? Verify contract and CI: Inspect the pinned SDK/parser behavior and resolve or rerun the failed exact-head checks before landing.

Why: The trace exercises the patched production callback with real-session PCM but synthesizes the URL-safe payload; unavailable dependency sources and DNS prevent independently proving the upstream wire behavior.

Before merge

  • Resolve merge risk (P1) - The pinned SDK parser and ProtoJSON bytes contract could not be independently inspected, so the claim that URL-safe text reaches this boundary remains externally unverified.
  • Resolve merge risk (P1) - Required exact-head CI is failing; its logs must be inspected or the checks rerun before merge.
  • Complete next step (P2) - A maintainer must settle the unavailable dependency-contract evidence and clear the failed exact-head checks; no mechanical patch defect was identified.
Agent review details

Security

None.

PR surface

Source +38, Tests +185. Total +223 across 11 files.

View PR surface stats
Area Files Added Removed Net
Source 6 46 8 +38
Tests 5 186 1 +185
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 11 232 9 +223

Review metrics

Metric Value Why it matters
Production versus test LOC production +46/-8; tests +186/-1 The production growth is a shared Google-provider boundary helper used by five media paths; the larger test delta covers each path and strict negative cases.

Root-cause cluster

Relationship: canonical
Canonical: #116204
Summary: This PR is the remaining Base64url compatibility proposal; related realtime lifecycle and memory work is explicitly separate.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Land only after confirming the SDK/parser contract and obtaining green exact-head checks, while retaining the Google-local one-pass normalization and unchanged shared strict validation.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Land only after confirming the SDK/parser contract and obtaining green exact-head checks, while retaining the Google-local one-pass normalization and unchanged shared strict validation.

Do we have a high-confidence way to reproduce the issue?

Yes, source-reproducible: current main’s strict validator rejects URL-safe characters at each affected Google path. The supplied live bridge trace exercises the repaired callback, though it does not directly observe Google emitting URL-safe text.

Is this the best way to solve the issue?

Yes, conditionally: adapting ProtoJSON only in the Google plugin preserves the shared strict validator and avoids changing other providers. The upstream parser contract still needs direct confirmation.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against ec023a433614.

Labels

Label justifications:

  • P2: This is a bounded provider-media correctness repair with no demonstrated broad runtime outage.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): The PR body includes a real Google Live session and an after-fix production bridge-callback trace with matching decoded bytes and a mixed-alphabet negative control; it is meaningful proof despite not directly observing a provider-emitted URL-safe payload.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body includes a real Google Live session and an after-fix production bridge-callback trace with matching decoded bytes and a mixed-alphabet negative control; it is meaningful proof despite not directly observing a provider-emitted URL-safe payload.

Evidence

What I checked:

  • Current-main behavior: The shared canonical Base64 validator accepts the standard alphabet and rejects URL-safe characters, so current main cannot accept a - or _ payload. (packages/media-core/src/base64.ts:42, ec023a433614)
  • Affected owner boundary: Current main sends Google Live, speech, video, music, and image inline media into strict validation; the proposed helper adapts only Google provider input while retaining the shared validator. (extensions/google/realtime-voice-provider.ts:953, ec023a433614)
  • Branch regression coverage: The supplied PR patch covers URL-safe acceptance and mixed-alphabet rejection across all five claimed Google media boundaries. (extensions/google/realtime-voice-provider.test.ts:1722, 86e019debcbf)
  • Strict-policy provenance: The shared strict media policy appears to date to the current-main commit that introduced malformed provider-binary rejection; it is newer than the latest release and does not itself establish the Google wire contract. (packages/media-core/src/base64.ts:86, 91b1f9676f9e)
  • Dependency-contract gap: The Google plugin pins @google/genai 2.13.0, but its installed source/types were unavailable and DNS prevented checking the upstream SDK and ProtoJSON documentation directly. (extensions/google/package.json:7, ec023a433614)
  • Exact-head gate state: Provided PR status reports failures for check-dependencies, check-test-types, and the aggregate CI gate; logs could not be retrieved to attribute them. (86e019debcbf)

Likely related people:

  • steipete: Authored the current shared strict media-policy commit that governs the validator this PR must preserve. (role: shared media-policy introducer; confidence: medium; commits: 91b1f9676f9e; files: packages/media-core/src/base64.ts)
  • vincentkoc: Recent merged Google Live lifecycle work owns an adjacent realtime path, though it explicitly addresses a separate lifecycle invariant. (role: recent Google realtime contributor; confidence: medium; commits: cc62f37, 4f65b7e, 213c051; files: extensions/google/realtime-voice-provider.ts)
  • Patrick-Erichsen: Assigned to this PR and authored its latest URL-safe fixture commit in the provided history. (role: current assignee and recent area contributor; confidence: high; commits: df631460f220; files: extensions/google/realtime-voice-provider.test.ts)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Inspect the pinned SDK/parser path or capture an equivalent direct contract proof.
  • Resolve or rerun the failed exact-head CI checks and review their logs.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (19 earlier review cycles; latest 8 shown)
  • reviewed 2026-08-02T09:57:51.342Z sha 02cf2be4a9f5cd9565204f7b845d3eeca7273c3f :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-02T16:13:55.976Z sha 02cf2be4a9f5cd9565204f7b845d3eeca7273c3f :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-03T13:21:44.567Z sha 02cf2be4a9f5cd9565204f7b845d3eeca7273c3f :: needs real behavior proof before merge. :: [P2] Avoid duplicate full-frame Base64 normalizations
  • reviewed 2026-08-03T15:04:56.250Z sha 88786a8 :: needs changes before merge. :: [P2] Apply the Google adapter at every claimed provider-media boundary
  • reviewed 2026-08-04T05:04:25.111Z sha c67ad55 :: needs changes before merge. :: [P2] Cover Google image responses with the URL-safe decoder | [P2] Avoid revalidating full music payloads
  • reviewed 2026-08-04T05:12:18.141Z sha c67ad55 :: needs changes before merge. :: [P2] Normalize Google image output before the shared validator | [P2] Avoid validating full music payloads twice
  • reviewed 2026-08-04T06:06:53.608Z sha a4ea748 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-05T10:47:22.116Z sha a4ea748 :: needs maintainer review before merge. :: none

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Jul 30, 2026
@sunlit-deng
sunlit-deng force-pushed the sunlit/fix/issue-106969-base64url branch from 85b2ecc to 02cf2be Compare July 30, 2026 13:16
@clawsweeper

clawsweeper Bot commented Jul 30, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. labels Jul 30, 2026
@sunlit-deng

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@sunlit-deng

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. labels Aug 4, 2026
@Patrick-Erichsen Patrick-Erichsen self-assigned this Aug 6, 2026
@Patrick-Erichsen

Copy link
Copy Markdown
Contributor

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Command router queued. I will update this comment with the next step.

@Patrick-Erichsen

Copy link
Copy Markdown
Contributor

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Command router queued. I will update this comment with the next step.

@Patrick-Erichsen

Copy link
Copy Markdown
Contributor

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Command router queued. I will update this comment with the next step.

@Patrick-Erichsen Patrick-Erichsen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved for landing at exact head ba449c3a3c4fa95e0b93aaec7d9432cbf7a8c128, subject to the remaining exact-head CI and ClawSweeper mechanical gates.

Dependency contract is now directly verified:

This satisfies the prior ClawSweeper dependency-contract rank-up move. The exact-head CI run is still completing: https://github.com/openclaw/openclaw/actions/runs/31136519467

@Patrick-Erichsen

Copy link
Copy Markdown
Contributor

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Command router queued. I will update this comment with the next step.

@Patrick-Erichsen
Patrick-Erichsen merged commit 83963e5 into openclaw:main Aug 7, 2026
86 checks passed
@Patrick-Erichsen

Copy link
Copy Markdown
Contributor

Merged via squash.

vincentkoc added a commit to VACInc/openclaw that referenced this pull request Aug 7, 2026
* origin/main: (58 commits)
  fix(test): restart shared gateway after migration convergence (openclaw#120089)
  fix(ui): make active-run steering reliable (openclaw#120083)
  fix(telegram): preserve voice fallback text
  test(swift): preserve queued websocket frames (openclaw#120106)
  fix: reject missing oxlint shard selectors (openclaw#120096)
  test(channels): align prerelease fallback catalog spec (openclaw#120092)
  fix(node-cli): warn when systemd user lingering is disabled after install (openclaw#118430)
  fix(diagnostics): preserve CLI turn usage totals (openclaw#120100)
  fix(gateway): derive lock and coordinator paths from the resolved state dir (openclaw#120110)
  fix(release): isolate private Telegram QA harness (openclaw#120088)
  test(agents): exercise execution attribution ingress guard
  fix(gateway): defer attribution until admission succeeds
  refactor(agents): centralize exact execution attribution
  fix(google): accept base64url provider media (openclaw#116204)
  fix(plugins): warn when registerHook uses a typed hook event name (openclaw#118601)
  fix(canvas): serve Content-Length on A2UI HEAD responses (openclaw#117961)
  fix(gateway): make doctor dreaming timestamp comparators NaN-safe (openclaw#118749)
  fix(heartbeat): explain target-none skips (openclaw#119689)
  fix(security): stop recommending retired install-policy bypasses (openclaw#120011)
  fix(plugins): preserve startup release during repair (openclaw#120085)
  ...

# Conflicts:
#	CHANGELOG.md
#	src/config/sessions/session-accessor.sqlite-transcript-write.ts
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 7, 2026
* fix(google): accept base64url in Live audio

* fix(google): normalize base64url in one pass

* fix(google): normalize base64url at every Google media boundary

* fix(google): normalize image media and avoid double music validation

* test(google): exercise URL-safe base64 fixtures

---------

Co-authored-by: Patrick Erichsen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extensions: google P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: M status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants