feat: 配置 Webterm 自动恢复提示

This commit is contained in:
Codex
2026-07-11 04:59:39 +02:00
parent fdd55ade33
commit c5bfd97656
2 changed files with 55 additions and 3 deletions
+13
View File
@@ -18,6 +18,17 @@ sessionStartModes:
label: oncx
command: oncx
autoResumePrompt:
enabled: true
prompt: "[自动提醒]如果有未完成任务则继续,没有则直接结束"
sendEnter: true
enterDelayMs: 500
readiness:
minDelayMs: 2000
minOutputBytes: 64
quietPeriodMs: 1500
timeoutMs: 60000
defaults:
targetId: local-7683
@@ -53,11 +64,13 @@ targets:
command: mycx resume 019f4937-9820-7b31-9178-344ae93d5a4c
cols: 100
rows: 30
resumePrompt: true
- title: CONSTAR
cwd: /root/unidesk
command: mycx resume 019f4b5f-b5ce-76b3-8ccb-508790e9662d
cols: 100
rows: 30
resumePrompt: true
environment:
HOST: 0.0.0.0
PORT: "7681"