fix: 渲染 Webterm 恢复提示词环境

This commit is contained in:
pikastech
2026-07-21 15:18:00 +02:00
parent 49ed1b6990
commit ce64688886
+1
View File
@@ -480,6 +480,7 @@ function renderCompose(target: WebtermTarget): string {
...target.runtime.environment,
WEBTERM_DATA_DOMAIN: target.runtime.runtimeDataDomain,
WEBTERM_DATABASE_URL: "${WEBTERM_DATABASE_URL}",
AUTO_RESUME_CLI_PROMPT: target.runtime.autoResumePrompt.prompt,
AUTO_START_SESSIONS_JSON: JSON.stringify(target.runtime.autoStartSessions.map((session) => ({
...session,
command: resumeCommandWithPrompt(session, target.runtime.autoResumePrompt),