You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gpt-pilot/src
Marc c4e8b60d2c fix: strip thought_signature fields for cross-provider compatibility
Claude's extended thinking feature generates thought_signature fields
(message IDs like "msg_abc123...") in content blocks. When these are
sent to Google's Gemini API, it expects Base64-encoded bytes and
rejects Claude's format with a 400 error.

This commit adds stripThoughtSignatures() to remove these fields from
assistant message content blocks during sanitization, enabling session
histories to be shared across different providers (e.g., Claude → Gemini).

Fixes cross-provider session bug where switching from Claude-thinking
to Gemini (or vice versa) would fail with:
"Invalid value at 'thought_signature' (TYPE_BYTES), Base64 decoding failed"

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
10 months ago
..
agents fix: strip thought_signature fields for cross-provider compatibility 10 months ago
auto-reply fix: stabilize docs and tests after system event timestamps 10 months ago
browser fix: preserve explicit maxChars=0 (#796) (thanks @gabriel-trigo) 10 months ago
canvas-host Tests: stabilize file watchers 11 months ago
cli Add Synthetic provider support 10 months ago
commands fix: apply lint fixes 10 months ago
config Add Synthetic provider support 10 months ago
cron fix: address lint warnings 10 months ago
daemon fix: improve daemon node selection 10 months ago
discord fix: stabilize docs and tests after system event timestamps 10 months ago
docs docs(commands): document /usage slash command 11 months ago
gateway fix: apply lint fixes 10 months ago
hooks feat(hooks): allow gmail tailscale target URLs 11 months ago
imessage fix: default groupPolicy to open 10 months ago
infra fix: stabilize docs and tests after system event timestamps 10 months ago
logging test: update google-shared expectations 11 months ago
macos fix: bundle node runtime for mac app 11 months ago
markdown fix: make forced block chunking fence-safe 11 months ago
media fix: relax fetch typing for Bun 11 months ago
memory fix: memory search remote overrides (#819) (thanks @mukhtharcm) 10 months ago
msteams fix: harden msteams group access 10 months ago
pairing Move provider to a plugin-architecture (#661) 10 months ago
plugins fix(config): resolve native commands schemas 10 months ago
process fix: add update env regression test (#713) (thanks @danielz1z) 10 months ago
providers fix: enforce message context isolation 10 months ago
routing refactor: normalize main session key handling 11 months ago
sessions fix: centralize verbose overrides and tool stream gating 11 months ago
signal fix: default groupPolicy to allowlist 10 months ago
slack Slack: accept slash command names with or without leading slash 10 months ago
telegram Telegram: keep forum topic thread ids in replies 10 months ago
terminal style: add blank line after note imports 11 months ago
tui TUI: keep streamed text when final output is empty 10 months ago
types fix: keep image sanitizer scoped 10 months ago
utils fix: enforce final tag gating (#754) (thanks @mcinteerj) 10 months ago
web fix: trim sender ids before auth fallback 10 months ago
whatsapp refactor: centralize WhatsApp target normalization 11 months ago
wizard fix(config): require doctor for invalid configs (#764 — thanks @mukhtharcm) 10 months ago
docker-setup.test.ts test: cover unset docker env vars 10 months ago
entry.ts chore: release 2026.1.11-4 10 months ago
globals.test.ts chore: format to 2-space and bump changelog 1 year ago
globals.ts feat: refresh CLI output styling and progress 11 months ago
index.test.ts fix: preserve whatsapp group JIDs 11 months ago
index.ts refactor: centralize unhandled rejection setup 11 months ago
logger.test.ts style: format tests and helpers 11 months ago
logger.ts fix(logging): decouple file logs from console verbose 11 months ago
logging.ts fix(logging): honor silent console level 10 months ago
polls.test.ts feat: unify poll support 11 months ago
polls.ts feat: unify poll support 11 months ago
postinstall-patcher.test.ts fix: skip pnpm patch fallback 10 months ago
provider-web.barrel.test.ts build: add local node bin to restart script PATH 12 months ago
provider-web.ts feat: unify gateway heartbeat 11 months ago
runtime.ts chore: format to 2-space and bump changelog 1 year ago
utils.test.ts refactor: centralize WhatsApp target normalization 11 months ago
utils.ts refactor: centralize WhatsApp target normalization 11 months ago
version.ts chore: rename project to clawdbot 11 months ago