feat: Systemprompt-Ebenen: global, je Modell, Standard-Persona, ersetzen statt stapeln, Schema 20, Version 0.1.32 (#1248, #1249)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-27 18:27:59 +01:00
parent 142ad093b6
commit 22eec7a189
23 changed files with 745 additions and 49 deletions

View File

@ -23,7 +23,7 @@ export async function start({ port = 9333, args = [] } = {}) {
async eval(expr) { const r = await send('Runtime.evaluate', { expression: expr, awaitPromise: true, returnByValue: true }); if (r.exceptionDetails) throw new Error(JSON.stringify(r.exceptionDetails.exception?.description || r.exceptionDetails)); return r.result.value; },
async shot(file, { full = false } = {}) { const r = await send('Page.captureScreenshot', { format: 'png', captureBeyondViewport: full }); fs.writeFileSync(file, Buffer.from(r.data, 'base64')); },
async login(base, name, pw) { await api.goto(base + '/ui/login'); await api.eval(`fetch('/ui/login',{method:'POST',headers:{'content-type':'application/x-www-form-urlencoded'},body:new URLSearchParams({name:${JSON.stringify(name)},passwort:${JSON.stringify(pw)}}),redirect:'manual'}).then(r=>r.type)`); },
close() { try { ws.close(); } catch {} proc.kill('SIGKILL'); fs.rmSync(dir, { recursive: true, force: true }); },
close() { try { ws.close(); } catch {} proc.kill('SIGKILL'); fs.rmSync(dir, { recursive: true, force: true, maxRetries: 5, retryDelay: 200 }); },
};
return api;
}