paperclip/packages/adapters/gemini-local/src
nickyleach fe4f55462c
refactor: remove the wake payload from the launch environment
The server sent the wake payload two times: once as fenced JSON in the
rendered prompt, and once as the PAPERCLIP_WAKE_PAYLOAD_JSON launch
environment variable. Only the environment copy passed through the
base64 launch envelope, and only that envelope has a per-string size
limit (131,072 bytes). A normal driver task's payload can use over
100% of that limit on its own.

The prompt is the single delivery path now. No production code read
the environment variable; only the agent skill told the agent to
check it. Every writer of the variable also rendered the prompt from
the same normalized payload, so no content is lost.

Co-authored-by: Paperclip <noreply@paperclip.ing>
2026-09-10 19:47:40 -07:00
..
cli
server refactor: remove the wake payload from the launch environment 2026-09-10 19:47:40 -07:00
ui
index.ts fix(adapters): prevent engine fallback and preserve usable runtime defaults (#13105) 2026-09-09 13:27:24 -05:00