aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTianren Dong <tianrendong.dtr@gmail.com>2026-05-14 22:23:16 -0400
committerTianren Dong <tianrendong.dtr@gmail.com>2026-05-14 22:23:16 -0400
commit1ec189f8f7f137555e8ae90d6753ee226eefa457 (patch)
tree1efe4cb2d695b0598799b96c16be3ec9117017b9
parent3416a7e78e970af8f76fc1570dfb873c749467b8 (diff)
Show Chrome connection check state
-rw-r--r--.gitignore1
-rw-r--r--CHANGELOG.md4
-rw-r--r--extensions/chrome-profile-bridge/browser-extension/manifest.json2
-rw-r--r--extensions/chrome-profile-bridge/index.ts2
-rw-r--r--package.json2
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<void> => {
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"