@kvidzibo/pi-browser-connect 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/README.md +17 -16
- package/browser-extension/icons/icon-128.png +0 -0
- package/browser-extension/icons/icon-16.png +0 -0
- package/browser-extension/icons/icon-32.png +0 -0
- package/browser-extension/icons/icon-48.png +0 -0
- package/browser-extension/icons/icon.svg +11 -0
- package/browser-extension/manifest.json +11 -1
- package/docs/publishing.md +5 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.2
|
|
4
|
+
|
|
5
|
+
Add the Pi browser-window icon to the browser toolbar and extension manager.
|
|
6
|
+
|
|
7
|
+
## 0.1.1
|
|
8
|
+
|
|
9
|
+
Document the published npm installation and prepare the first trusted-publisher release. Browser and Pi behavior are unchanged.
|
|
10
|
+
|
|
3
11
|
## 0.1.0
|
|
4
12
|
|
|
5
13
|
Initial Linux/Chromium release: explicit single-tab sharing, native messaging bridge, Pi browser tools with action approvals, isolated integration tests, and GitHub/npm release automation.
|
package/README.md
CHANGED
|
@@ -2,29 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
Connect [Pi](https://pi.dev) to **one explicitly shared tab in your everyday browser**, with your existing login. No cookie copying, cloud relay, or remote-debugging port.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
[npm](https://www.npmjs.com/package/@kvidzibo/pi-browser-connect) · [Pi package catalog](https://pi.dev/packages)
|
|
6
6
|
|
|
7
7
|
## Requirements
|
|
8
8
|
|
|
9
9
|
Linux, Node **22.19+**, Pi **1.5.2+**, and desktop Chrome/Chromium **125+**. Not Firefox, Windows, macOS, incognito, or sandbox-packaged browsers (Snap/Flatpak).
|
|
10
10
|
|
|
11
|
-
## Install
|
|
12
|
-
|
|
13
|
-
Keep this checkout at a stable path: the native launcher points to it.
|
|
11
|
+
## Install
|
|
14
12
|
|
|
15
13
|
```bash
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
pi install "$PWD"
|
|
20
|
-
node native-host/install.mjs path
|
|
14
|
+
npm install --global @kvidzibo/pi-browser-connect
|
|
15
|
+
pi install "$(npm root -g)/@kvidzibo/pi-browser-connect"
|
|
16
|
+
pi-browser-connect path
|
|
21
17
|
```
|
|
22
18
|
|
|
23
19
|
1. Open `chrome://extensions`, enable **Developer mode**, and **Load unpacked** the `browser-extension` directory printed above.
|
|
24
20
|
2. Register the native host for your browser:
|
|
25
21
|
|
|
26
22
|
```bash
|
|
27
|
-
|
|
23
|
+
pi-browser-connect setup chromium lmiednaanfkhmeldhmbgimndmmilcibe
|
|
28
24
|
# Use "chrome" instead of "chromium" for Google Chrome.
|
|
29
25
|
```
|
|
30
26
|
|
|
@@ -35,16 +31,21 @@ node native-host/install.mjs path
|
|
|
35
31
|
|
|
36
32
|
Only the browser popup can grant access. Installation never enables sharing automatically.
|
|
37
33
|
|
|
38
|
-
After
|
|
34
|
+
This package is not a Chrome Web Store listing. After an update, reload the browser extension and Pi; rerun setup if Node or the package moves.
|
|
35
|
+
|
|
36
|
+
### Install from source
|
|
37
|
+
|
|
38
|
+
Keep the checkout at a stable path: the native launcher points to it.
|
|
39
39
|
|
|
40
40
|
```bash
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
pi
|
|
41
|
+
git clone https://github.com/kvidzibo/pi-browser-connect.git
|
|
42
|
+
cd pi-browser-connect
|
|
43
|
+
npm ci --ignore-scripts
|
|
44
|
+
pi install "$PWD"
|
|
45
|
+
node native-host/install.mjs path
|
|
45
46
|
```
|
|
46
47
|
|
|
47
|
-
|
|
48
|
+
Follow the browser setup and sharing steps above, using `node native-host/install.mjs setup` instead of `pi-browser-connect setup`.
|
|
48
49
|
|
|
49
50
|
## Use
|
|
50
51
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="128" height="128" viewBox="0 0 128 128">
|
|
2
|
+
<rect width="128" height="128" rx="28" fill="#142337"/>
|
|
3
|
+
<g fill="none" stroke="#F5F2E9" stroke-width="6" stroke-linecap="round" stroke-linejoin="round">
|
|
4
|
+
<rect x="24" y="27" width="80" height="72" rx="10"/>
|
|
5
|
+
<path d="M25 46h78"/>
|
|
6
|
+
<path d="M46 64h35M56 64v20q0 8-7 10M72 64v22q0 9 9 7"/>
|
|
7
|
+
</g>
|
|
8
|
+
<circle cx="36" cy="37" r="3" fill="#F5F2E9"/>
|
|
9
|
+
<circle cx="100" cy="99" r="14" fill="#142337"/>
|
|
10
|
+
<circle cx="100" cy="99" r="10" fill="#6EE7B7"/>
|
|
11
|
+
</svg>
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"manifest_version": 3,
|
|
3
3
|
"name": "Pi Browser Connect",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.2",
|
|
5
5
|
"description": "Share one browser tab with a local Pi agent. Disconnect at any time.",
|
|
6
6
|
"minimum_chrome_version": "125",
|
|
7
7
|
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAv6336I74ZGrlSAFvlAzjx+RneX5WotTKGJCs5gkw77ukZPIkl1GByojgAL+BNKMVvFs7Cw+Q7RUIY0hzqPsKjy8XG0Lt+MDm0k0tL4SiMtItrOlkwMg8M6oqWPfq/NXnu/FIWkQAvrRaodNphLglm1aO5bcElNZZGSa4gy1kr1SdG9XD5/KQQ9BHgSh7ubuwpxsvzpxX3pzT9hZpaq4Q9ckyP0hJ2H93Dn6ppUgImHcQsjupveJFCBSEweUQ6LI/FF9cL93ZrEedbiFYCtSERiEP++pYX96txgvU8CbQiq0kTE0Gz3cc7vLlbALW0WWKKzk/MDg6KXdjD4FctmzsUwIDAQAB",
|
|
8
|
+
"icons": {
|
|
9
|
+
"16": "icons/icon-16.png",
|
|
10
|
+
"32": "icons/icon-32.png",
|
|
11
|
+
"48": "icons/icon-48.png",
|
|
12
|
+
"128": "icons/icon-128.png"
|
|
13
|
+
},
|
|
8
14
|
"permissions": [
|
|
9
15
|
"activeTab",
|
|
10
16
|
"debugger",
|
|
@@ -18,6 +24,10 @@
|
|
|
18
24
|
"_execute_action": { "suggested_key": { "default": "Ctrl+Shift+Y" } }
|
|
19
25
|
},
|
|
20
26
|
"action": {
|
|
27
|
+
"default_icon": {
|
|
28
|
+
"16": "icons/icon-16.png",
|
|
29
|
+
"32": "icons/icon-32.png"
|
|
30
|
+
},
|
|
21
31
|
"default_popup": "popup.html",
|
|
22
32
|
"default_title": "Pi Browser Connect"
|
|
23
33
|
}
|
package/docs/publishing.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
This follows the existing kvidzibo Pi packages: versioned npm publication from `main`, GitHub OIDC trusted publishing, no long-lived npm token.
|
|
4
4
|
|
|
5
|
+
## Bootstrap status
|
|
6
|
+
|
|
7
|
+
Version `0.1.0` is published on npm. Trusted-publisher verification is pending: `0.1.1` is the first planned GitHub Actions publication with provenance.
|
|
8
|
+
|
|
5
9
|
## One-time bootstrap
|
|
6
10
|
|
|
7
11
|
The package must first exist on npm. From the reviewed release checkout:
|
|
@@ -37,4 +41,4 @@ Only an npm `E404` permits a new publication; auth/network errors fail the workf
|
|
|
37
41
|
|
|
38
42
|
The ZIP is for **Load unpacked** after extraction, not automatic Chrome Web Store distribution. Browser-store publishing would need a separate developer account and explicit approval.
|
|
39
43
|
|
|
40
|
-
|
|
44
|
+
After the first workflow publication, verify the publish job succeeded and the npm version has `dist.attestations` before marking bootstrap complete.
|