fix(portable): Gemini keys, Telegram pairing UI, and config durability

Improve first-run and channel setup for non-technical users: detect newer
Gemini key formats, pin Node 22.22.3, add Control Panel Telegram approve
flow, and keep channels/models when config is rewritten. Persist uclaw
wizard state via uclaw-meta.json so restarts skip language/persona prompts.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-18 18:45:03 +08:00
parent 0be8c3e3fe
commit dd8e0f55c3
35 changed files with 2673 additions and 34 deletions

View File

@@ -169,6 +169,18 @@
"ch.wechat_start": "Click this card to show the QR code",
"ch.saved": "Chat app settings saved.",
"ch.err_save": "Could not save the chat app settings. Check the drive is still plugged in.",
"tg.steps_title": "After saving, connect your Telegram account:",
"tg.step1": "Save the bot token above (click “Open dashboard” or save channels).",
"tg.step2": "On your phone, open Telegram, find your bot, and send /start.",
"tg.step3": "Come back here — a button will appear. Click it once. No command line.",
"tg.waiting": "Waiting for you to send /start to your bot on Telegram…",
"tg.pending": "Someone wants to connect: {who}. Click below to allow.",
"tg.approve": "Allow this Telegram account",
"tg.approving": "Approving…",
"tg.approved": "✅ Telegram connected — go chat in Telegram.",
"tg.approved_toast": "Telegram account approved.",
"tg.approve_failed": "Could not approve: {reason}",
"tg.poll_failed": "Could not check pairing status. Is U-Claw still running?",
"info.layout_title": "What is on the drive",
"info.layout_desc": "How the folders are organised",
"info.skills": "Skills",