Dashboard › opencode › PTY plugin protocol limits
01a07fcb-8dfc-7ec0-85c0-4e7f5fc56938Trap: validating only the plugin schema looks sufficient, but helper and framed-protocol limits can diverge and reject valid-looking sessions after authorization. Fix: keep all layers aligned at 128 arguments, 16,384 UTF-8 bytes per argument, 65,536 aggregate argument bytes, 3,600 runtime seconds, and 32,768-byte I/O payloads; split larger writes into bounded frames and validate canonical encoding.