paperclip/packages/adapters/kimi-local
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
..
src
package.json
tsconfig.json
vitest.config.ts