mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-04 07:47:27 +01:00
fix: pre-landing review fixes
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
0c714d6617
commit
7458ae67fa
2 files changed
+2
-2
No files matched your search
@@ -140,7 +140,7 @@ export function dispatchEventRewriter(artifacts: string, substituted: (phase: Di
|
||||
pending = events.pop()!;
|
||||
return events.map(e => take(e + '\n\n')).join('');
|
||||
},
|
||||
end: (): string => { const rest = pending; pending = ''; return rest; },
|
||||
end: (): string => { const rest = (held ? held.raw.join('') : '') + pending; held = null; pending = ''; return rest; },
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ describeIfSelected('autoplan publication guard live PTY', ['autoplan-guard-pty']
|
||||
const s = prepareGuardSession(process.env.ANTHROPIC_API_KEY);
|
||||
const relay = startDispatchRelay(path.join(s.project, '.gstack', 'tmp', 'autoplan'));
|
||||
const session = await launchClaudePty({ permissionMode: null, model: MODEL, cwd: s.project, env: { ...s.env, ANTHROPIC_BASE_URL: relay.url },
|
||||
timeoutMs: 540_000, observeScreen: true });
|
||||
timeoutMs: 540_000, observeScreen: true }).catch(error => { relay.stop(); throw error; });
|
||||
const started = performance.now();
|
||||
const prompts: string[] = [];
|
||||
let phase1Ms: number | null = null;
|
||||
|
||||
Reference in new issue
Block a user