fix(panel): auto-provision Desktop argv.json and surface CDP bridge diagnostics for 2.33.0+ (Refs #26)

This commit is contained in:
fish
2026-11-18 20:11:31 +09:00
parent a954a98080
commit 935eb001ca
16 changed files with 1319 additions and 33 deletions
+10
View File
@@ -435,6 +435,16 @@ export const I18N_MESSAGES_EN_US = Object.freeze({
'settings.str.mountDual': 'Dual Mount (Titlebar + Sidebar)',
'settings.str.mountComposer': 'Composer Mount (Input Box + Sidebar)',
'settings.str.mountSidebar': 'Sidebar Only',
'settings.bridge.restartTitle': 'Debug Port Configured — Restart Required',
'settings.bridge.restartBody': 'Automatically added "remote-debugging-port": "0" to local argv.json. Quit Antigravity completely (including any tray process) and relaunch; if Desktop 2.33.0+ still has no port after restart, launch with the flag below.',
'settings.bridge.noPortTitle': 'Local Debug Port Missing — Window Mount Inactive',
'settings.bridge.unreachableTitle': 'Local Debug Port Unreachable — Window Mount Inactive',
'settings.bridge.ctxTitle': 'Local Debug Port Inactive — Context Override Pending',
'settings.bridge.guideWin': 'Antigravity 2.33.0+ no longer opens a debug port by default (argv.json is already configured). Fully quit from the system tray and relaunch first; if Desktop still fails, append --remote-debugging-port=0 to your shortcut Target.',
'settings.bridge.guideMac': 'Antigravity 2.33.0+ no longer opens a debug port by default (argv.json is already configured). Fully quit (Cmd+Q) and relaunch first; if Desktop still fails, launch via open -a "Antigravity" --args --remote-debugging-port=0.',
'settings.bridge.guideLinux': 'Antigravity 2.33.0+ no longer opens a debug port by default (argv.json is already configured). Fully quit and relaunch first; if Desktop still fails, append --remote-debugging-port=0 to Exec= in your .desktop launcher.',
'settings.bridge.copyFlagBtn': 'Copy {cmd}',
'settings.bridge.copiedBtn': 'Copied to Clipboard',
'settings.str.popoverWidthLabel': 'Popover Width',
'settings.str.popoverWidthAuto': 'Auto Fit',
'settings.str.popoverWidthCustom': 'Custom',
+10
View File
@@ -435,6 +435,16 @@ export const I18N_MESSAGES_ZH_CN = Object.freeze({
'settings.str.mountDual': '双栖挂载 (顶部栏 + 侧边栏)',
'settings.str.mountComposer': '输入框挂载 (输入框 + 侧边栏)',
'settings.str.mountSidebar': '仅侧边栏',
'settings.bridge.restartTitle': '已自动补齐调试端口参数,请重启客户端生效',
'settings.bridge.restartBody': '已参照 IDE 方案向本地 argv.json 自动写入 "remote-debugging-port": "0"。请完全退出客户端(含系统托盘后台)后重新启动;若 Antigravity 2.33.0+ 桌面端重启后仍未生效,可在启动时追加下方参数。',
'settings.bridge.noPortTitle': '未检测到本地调试端口,主窗口挂载暂未生效',
'settings.bridge.unreachableTitle': '本地调试端口不可达,主窗口挂载暂未生效',
'settings.bridge.ctxTitle': '未连通本地调试通道,上下文窗口覆写暂未注入',
'settings.bridge.guideWin': 'Antigravity 2.33.0+ 默认不再开启调试端口(本地 argv.json 已写入配置)。请先从系统托盘完全退出并重启;若桌面端仍未生效,请在快捷方式「目标」末尾追加 --remote-debugging-port=0 后启动。',
'settings.bridge.guideMac': 'Antigravity 2.33.0+ 默认不再开启调试端口(本地 argv.json 已写入配置)。请先完全退出(Cmd+Q)并重启;若桌面端仍未生效,可通过终端执行 open -a "Antigravity" --args --remote-debugging-port=0 启动。',
'settings.bridge.guideLinux': 'Antigravity 2.33.0+ 默认不再开启调试端口(本地 argv.json 已写入配置)。请先完全退出并重启;若桌面端仍未生效,请在启动器 .desktop 的 Exec= 末尾追加 --remote-debugging-port=0 后启动。',
'settings.bridge.copyFlagBtn': '复制 {cmd}',
'settings.bridge.copiedBtn': '已复制启动参数',
'settings.str.popoverWidthLabel': '悬浮面板宽度',
'settings.str.popoverWidthAuto': '自适应',
'settings.str.popoverWidthCustom': '指定宽度',