fix(telegram): use repo-owned user driver · openclaw/openclaw@4facdde
obviyus
·
2026-05-11
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -131,7 +131,7 @@ type SessionFile = {
|
131 | 131 | |
132 | 132 | const DEFAULT_SKILL_DIR = "~/.codex/skills/custom/telegram-e2e-bot-to-bot"; |
133 | 133 | const DEFAULT_CONVEX_ENV_FILE = `${DEFAULT_SKILL_DIR}/convex.local.env`; |
134 | | -const DEFAULT_USER_DRIVER = `${DEFAULT_SKILL_DIR}/scripts/user-driver.py`; |
| 134 | +const DEFAULT_USER_DRIVER = "scripts/e2e/telegram-user-driver.py"; |
135 | 135 | const DEFAULT_OUTPUT_ROOT = ".artifacts/qa-e2e/telegram-user-crabbox"; |
136 | 136 | const REMOTE_ROOT = "/tmp/openclaw-telegram-user-crabbox"; |
137 | 137 | const CREDENTIAL_SCRIPT = fileURLToPath(new URL("./telegram-user-credential.ts", import.meta.url)); |
@@ -250,7 +250,8 @@ function parseArgs(argv: string[]): Options {
|
250 | 250 | text: "/status", |
251 | 251 | timeoutMs: 90_000, |
252 | 252 | ttl: "120m", |
253 | | -userDriverScript: DEFAULT_USER_DRIVER, |
| 253 | +userDriverScript: |
| 254 | +trimToValue(process.env.OPENCLAW_TELEGRAM_USER_DRIVER_SCRIPT) ?? DEFAULT_USER_DRIVER, |
254 | 255 | }; |
255 | 256 | const commandSeparator = argv.indexOf("--"); |
256 | 257 | if (command === "run" && commandSeparator >= 0) { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。