From 1ec189f8f7f137555e8ae90d6753ee226eefa457 Mon Sep 17 00:00:00 2001 From: Tianren Dong Date: Thu, 14 May 2026 22:23:16 -0400 Subject: Show Chrome connection check state --- .gitignore | 1 + CHANGELOG.md | 4 ++++ extensions/chrome-profile-bridge/browser-extension/manifest.json | 2 +- extensions/chrome-profile-bridge/index.ts | 2 ++ package.json | 2 +- 5 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index e43b0f9..74083de 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ .DS_Store +.pi/ diff --git a/CHANGELOG.md b/CHANGELOG.md index 72af148..719b171 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable user-facing changes to `pi-chrome`. +## 0.15.16 — 2026-05-14 + +- **Visible `/chrome` loading state.** Bare `/chrome` and `/chrome status` now immediately say “Checking Chrome connection…” before probing the companion extension, so a slow Chrome bridge no longer looks like the command did nothing. + ## 0.15.15 — 2026-05-14 - **Terminal authorization restored.** `/chrome authorize` is back to terminal-based confirmation. Removed the browser-side Chrome consent page and companion-extension consent polling. diff --git a/extensions/chrome-profile-bridge/browser-extension/manifest.json b/extensions/chrome-profile-bridge/browser-extension/manifest.json index 4e0d8ac..66f396e 100644 --- a/extensions/chrome-profile-bridge/browser-extension/manifest.json +++ b/extensions/chrome-profile-bridge/browser-extension/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 3, "name": "Pi Chrome Connector", - "version": "0.15.15", + "version": "0.15.16", "description": "Lets Pi control tabs in Chrome via a local connector at 127.0.0.1.", "permissions": [ "tabs", diff --git a/extensions/chrome-profile-bridge/index.ts b/extensions/chrome-profile-bridge/index.ts index 6763ad6..6f2739a 100644 --- a/extensions/chrome-profile-bridge/index.ts +++ b/extensions/chrome-profile-bridge/index.ts @@ -684,6 +684,7 @@ Usage rules: }; const statusHandler = async (ctx: ExtensionContext) => { + ctx.ui.notify("Checking Chrome connection…", "info"); ctx.ui.notify(await statusSummary(), "info"); }; @@ -723,6 +724,7 @@ Usage rules: const openCommandMenu = async (ctx: ExtensionContext): Promise => { while (true) { + ctx.ui.notify("Checking Chrome connection…", "info"); const choice = await ctx.ui.select(`pi-chrome\n${await statusSummary()}`, [ "Authorize Chrome control…", "Lock Chrome control", diff --git a/package.json b/package.json index 0d55105..594c9a5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pi-chrome", - "version": "0.15.15", + "version": "0.15.16", "scripts": { "version": "node scripts/sync-manifest-version.js", "prepublishOnly": "node scripts/sync-manifest-version.js" -- cgit v1.2.3