Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
fix(connector): never audit a cut-off pairing request body
afinitusaa2b6ab68c4d
diff --git a/connector/src/home-requests.ts b/connector/src/home-requests.tsindex b7e09509ee..de019bece7 100644--- a/connector/src/home-requests.ts+++ b/connector/src/home-requests.ts@@ -77,6 +77,9 @@ export class RequestGate extends Transform {if (this.#body && this.#bodyBytes + rest.length <= MAX_RECORDED_BODY) {this.#body.push(rest);this.#bodyBytes += rest.length;+ } else if (this.#body) {+ // Too large to record: drop what was kept, so a cut-off (or gapped) body is never audited as the whole one.+ this.#body = null;}this.push(rest);if (this.#remaining === 0) this.#ended();