Add the codex bridge prompt in the html export

This commit is contained in:
Armin Ronacher 2026-01-06 14:21:34 +01:00
parent a236e62025
commit 6a5f04ce1f
8 changed files with 103 additions and 10 deletions

View file

@ -2057,9 +2057,9 @@ export class AgentSession {
* @param outputPath Optional output path (defaults to session directory)
* @returns Path to exported file
*/
exportToHtml(outputPath?: string): string {
async exportToHtml(outputPath?: string): Promise<string> {
const themeName = this.settingsManager.getTheme();
return exportSessionToHtml(this.sessionManager, this.state, { outputPath, themeName });
return await exportSessionToHtml(this.sessionManager, this.state, { outputPath, themeName });
}
// =========================================================================