refactor(process): remove fixed scenario ceilings

This commit is contained in:
morluto committed 2026-09-29 13:57:50 +08:00
1 parent 20152a9872
commit abf7c1142e
25 files changed
+712 -528

No files matched your search

+1 -4
View File
@@ -373,10 +373,7 @@ export const captureTerminalFrames = (options: {
options.terminal.onData((data) => {
options.onOutput();
const bytes = Buffer.byteLength(data);
if (
options.frames.length >= options.scenario.limits.frames ||
outputBytes + bytes > options.scenario.limits.output_bytes
) {
if (outputBytes + bytes > options.scenario.limits.output_bytes) {
truncated = true;
return;
}