pockpi 0.1.4 → 0.1.5
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 +18 -7
- package/README.md +11 -4
- package/extensions/pocket/index.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,18 +6,28 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.1.5] - 2026-11-21
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- Explain the motivation behind PockPi in the README.
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
|
|
17
|
+
- Use PockPi branding in documentation while preserving existing security state.
|
|
18
|
+
|
|
9
19
|
## [0.1.4] - 2026-11-21
|
|
10
20
|
|
|
11
21
|
### Changed
|
|
12
22
|
|
|
13
|
-
- Rename
|
|
23
|
+
- Rename the project to PockPi and publish as `pockpi` on npm.
|
|
14
24
|
- Preserve existing paired browsers and emergency-stop state.
|
|
15
25
|
|
|
16
26
|
## [0.1.3] - 2026-11-21
|
|
17
27
|
|
|
18
28
|
### Changed
|
|
19
29
|
|
|
20
|
-
- Rename
|
|
30
|
+
- Rename the project and publish the renamed package on npm.
|
|
21
31
|
- Preserve existing paired browsers and emergency-stop state during the rename.
|
|
22
32
|
|
|
23
33
|
## [0.1.2] - 2026-11-21
|
|
@@ -31,7 +41,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
|
31
41
|
|
|
32
42
|
### Added
|
|
33
43
|
|
|
34
|
-
- npm installation
|
|
44
|
+
- npm installation.
|
|
35
45
|
- A changelog included in the package.
|
|
36
46
|
|
|
37
47
|
## [0.1.0] - 2026-11-21
|
|
@@ -45,12 +55,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
|
45
55
|
- Short-lived QR pairing codes, persistent browser credentials, and individual
|
|
46
56
|
browser revocation.
|
|
47
57
|
- Controls to stop execution, disconnect Tailscale access, or perform an
|
|
48
|
-
emergency stop and disable
|
|
58
|
+
emergency stop and disable remote access.
|
|
49
59
|
- Installable Pi package, setup and security documentation, and MIT license.
|
|
50
60
|
|
|
51
|
-
[Unreleased]: https://github.com/0Tarun0709/pockpi/compare/v0.1.
|
|
52
|
-
[0.1.
|
|
61
|
+
[Unreleased]: https://github.com/0Tarun0709/pockpi/compare/v0.1.5...HEAD
|
|
62
|
+
[0.1.5]: https://github.com/0Tarun0709/pockpi/compare/480ff3f...v0.1.5
|
|
63
|
+
[0.1.4]: https://github.com/0Tarun0709/pockpi/compare/6364ed9...480ff3f
|
|
53
64
|
[0.1.3]: https://github.com/0Tarun0709/pockpi/compare/v0.1.2...6364ed9
|
|
54
65
|
[0.1.2]: https://github.com/0Tarun0709/pockpi/compare/v0.1.1...v0.1.2
|
|
55
66
|
[0.1.1]: https://github.com/0Tarun0709/pockpi/compare/v0.1.0...v0.1.1
|
|
56
|
-
[0.1.0]: https://github.com/0Tarun0709/pockpi/
|
|
67
|
+
[0.1.0]: https://github.com/0Tarun0709/pockpi/tree/v0.1.0
|
package/README.md
CHANGED
|
@@ -9,6 +9,13 @@ Access your running [Pi](https://github.com/earendil-works/pi) session from a br
|
|
|
9
9
|
|
|
10
10
|
See the [changelog](CHANGELOG.md) for release history.
|
|
11
11
|
|
|
12
|
+
## Why I built this
|
|
13
|
+
|
|
14
|
+
I wanted a way to use the agent running on my laptop from my phone. When I'm
|
|
15
|
+
away and think of something it could fix or work on, I don't want to wait until
|
|
16
|
+
I get back to start it. PockPi lets me send a prompt, check on the progress, and
|
|
17
|
+
pick up where I left off when I return.
|
|
18
|
+
|
|
12
19
|
## Install
|
|
13
20
|
|
|
14
21
|
Requires Pi and Node.js 24 or newer.
|
|
@@ -19,9 +26,9 @@ pi install npm:pockpi
|
|
|
19
26
|
|
|
20
27
|
Alternatively, install from Git with `pi install git:github.com/0Tarun0709/pockpi`.
|
|
21
28
|
|
|
22
|
-
If upgrading from
|
|
23
|
-
`pi remove
|
|
24
|
-
|
|
29
|
+
If upgrading from an earlier package, use `pi list` and remove the old package
|
|
30
|
+
with `pi remove <source>` to avoid a port conflict. Existing paired browsers and
|
|
31
|
+
emergency-stop settings are retained.
|
|
25
32
|
|
|
26
33
|
Restart Pi or run `/reload`. PockPi does not start a server until you request access.
|
|
27
34
|
|
|
@@ -53,7 +60,7 @@ Session switching and answering Pi's interactive dialogs from the browser are no
|
|
|
53
60
|
- Tailscale access uses the separate, authenticated listener on port `18789`. Only `/remote pair` enables it. Keep pairing codes and paired devices private.
|
|
54
61
|
- Both ports are reserved while PockPi is running; an access method not enabled returns HTTP 503. Only one Pi session can use them at a time.
|
|
55
62
|
- If HTTPS port 443 is already used by another service or Funnel is configured, PockPi refuses to change Serve. Check `tailscale serve status` on the laptop and avoid changing Serve settings concurrently while pairing.
|
|
56
|
-
- Browser credential hashes and the emergency lock are stored
|
|
63
|
+
- Browser credential hashes and the emergency lock are stored in Pi's agent data directory (`~/.pi/agent/`, or `PI_CODING_AGENT_DIR` if set). Device labels are browser-reported, not verified identities.
|
|
57
64
|
|
|
58
65
|
## Development
|
|
59
66
|
|
|
@@ -16,7 +16,7 @@ const QRCode: typeof import("qrcode") = require("qrcode");
|
|
|
16
16
|
const execFileAsync = promisify(execFile);
|
|
17
17
|
const port = 18789;
|
|
18
18
|
const localPort = 18790;
|
|
19
|
-
// Preserve
|
|
19
|
+
// Preserve existing security state and the emergency lock across renames.
|
|
20
20
|
const stateDir = join(process.env.PI_CODING_AGENT_DIR || join(homedir(), ".pi", "agent"), "pi-pocket");
|
|
21
21
|
const disabledFile = join(stateDir, "remote-disabled");
|
|
22
22
|
const originFile = join(stateDir, "tailscale-origin");
|