remote-pi 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/README.md CHANGED
@@ -4,6 +4,8 @@
4
4
  > superpowers: agents that talk to each other on the same machine, and a mobile
5
5
  > app that drives Pi from your phone.
6
6
 
7
+ **Homepage:** <https://remote-pi.jacobmoura.work>
8
+
7
9
  `/remote-pi` is a single slash command that wires both at once. Run it; the
8
10
  first time it asks a couple of questions and you are done.
9
11
 
@@ -14,7 +16,7 @@ first time it asks a couple of questions and you are done.
14
16
  Install the extension (one-time):
15
17
 
16
18
  ```bash
17
- pi install npm:@jacobmoura7/remote-pi
19
+ pi install npm:remote-pi
18
20
  ```
19
21
 
20
22
  Then in any Pi terminal:
@@ -96,7 +98,7 @@ App downloads:
96
98
  - **App Store** — *coming soon*
97
99
 
98
100
  Until the public releases land, follow
99
- [the repo](https://github.com/jacobmoura7/remote-pi) for build/beta info.
101
+ [the repo](https://github.com/jacobaraujo7/remote_pi) for build/beta info.
100
102
 
101
103
  ---
102
104
 
@@ -105,7 +107,7 @@ Until the public releases land, follow
105
107
  Requirements: Node 20+, Pi (the host coding agent).
106
108
 
107
109
  ```bash
108
- pi install npm:@jacobmoura7/remote-pi
110
+ pi install npm:remote-pi
109
111
  ```
110
112
 
111
113
  The extension self-registers the `/remote-pi` slash command and deploys an
@@ -191,7 +193,7 @@ You have two options:
191
193
 
192
194
  ### Option A — Use the community relay
193
195
 
194
- `wss://relay.remote-pi.dev` (default). Zero setup. Good for trying things
196
+ `wss://relay-rp1.jacobmoura.work` (default). Zero setup. Good for trying things
195
197
  out or for casual use.
196
198
 
197
199
  Caveats:
@@ -210,7 +212,7 @@ keypair authentication, layering a VPN on top means **only your devices** can
210
212
  even reach the WebSocket port — defense in depth.
211
213
 
212
214
  Quick Docker outline (see the
213
- [relay README](https://github.com/jacobmoura7/remote-pi/blob/main/relay/README.md#self-hosted-relay-recommended-for-privacy)
215
+ [relay README](https://github.com/jacobaraujo7/remote_pi/blob/main/relay/README.md#self-hosted-relay-recommended-for-privacy)
214
216
  for the full setup, environment variables, and reverse-proxy guidance):
215
217
 
216
218
  ```bash
@@ -218,7 +220,7 @@ docker run -d \
218
220
  --name remote-pi-relay \
219
221
  -p 3000:3000 \
220
222
  --restart unless-stopped \
221
- ghcr.io/jacobmoura7/remote-pi-relay:latest
223
+ ghcr.io/jacobaraujo7/remote-pi-relay:latest
222
224
  ```
223
225
 
224
226
  Bind the container to your VPN interface, terminate TLS in a reverse proxy,
@@ -237,7 +239,7 @@ order (highest precedence first):
237
239
 
238
240
  1. `REMOTE_PI_RELAY` environment variable (CI / one-off overrides)
239
241
  2. `~/.pi/remote/config.json`
240
- 3. The built-in default (`wss://relay.remote-pi.dev`)
242
+ 3. The built-in default (`wss://relay-rp1.jacobmoura.work`)
241
243
 
242
244
  Verify the active URL and its source with:
243
245
 
@@ -372,10 +374,11 @@ other terminal first.
372
374
 
373
375
  ## Links
374
376
 
375
- - Source: <https://github.com/jacobmoura7/remote-pi>
377
+ - Homepage: <https://remote-pi.jacobmoura.work>
378
+ - Source: <https://github.com/jacobaraujo7/remote_pi>
376
379
  - Pi coding agent: <https://github.com/earendil-works/pi>
377
- - Relay (self-hosting guide): <https://github.com/jacobmoura7/remote-pi/blob/main/relay/README.md>
378
- - Issues / bugs: <https://github.com/jacobmoura7/remote-pi/issues>
380
+ - Relay (self-hosting guide): <https://github.com/jacobaraujo7/remote_pi/blob/main/relay/README.md>
381
+ - Issues / bugs: <https://github.com/jacobaraujo7/remote_pi/issues>
379
382
 
380
383
  ---
381
384
 
package/dist/config.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare const kDefaultRelayUrl = "wss://relay.remote-pi.dev";
1
+ export declare const kDefaultRelayUrl = "wss://relay-rp1.jacobmoura.work";
2
2
  export type RemotePiConfig = {
3
3
  relay?: string;
4
4
  };
package/dist/config.js CHANGED
@@ -3,7 +3,7 @@ import path from "node:path";
3
3
  import os from "node:os";
4
4
  const CONFIG_DIR = path.join(os.homedir(), ".pi", "remote");
5
5
  const CONFIG_FILE = path.join(CONFIG_DIR, "config.json");
6
- export const kDefaultRelayUrl = "wss://relay.remote-pi.dev";
6
+ export const kDefaultRelayUrl = "wss://relay-rp1.jacobmoura.work";
7
7
  export function loadConfig() {
8
8
  try {
9
9
  const raw = fs.readFileSync(CONFIG_FILE, "utf8");
@@ -1 +1 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,MAAM,SAAS,CAAC;AAEzB,MAAM,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;AAC5D,MAAM,WAAW,GAAG,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,aAAa,CAAC,CAAC;AAEzD,MAAM,CAAC,MAAM,gBAAgB,GAAG,2BAA2B,CAAC;AAI5D,MAAM,UAAU,UAAU;IACxB,IAAI,CAAC;QACH,MAAM,GAAG,GAAG,EAAE,CAAC,YAAY,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;QACjD,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAY,CAAC;QAC1C,IAAI,CAAC,MAAM,IAAI,OAAO,MAAM,KAAK,QAAQ;YAAE,OAAO,EAAE,CAAC;QACrD,OAAO,MAAwB,CAAC;IAClC,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,EAAE,CAAC;IACZ,CAAC;AACH,CAAC;AAED,MAAM,UAAU,UAAU,CAAC,KAA8B;IACvD,EAAE,CAAC,SAAS,CAAC,UAAU,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IAC9C,MAAM,OAAO,GAAG,UAAU,EAAE,CAAC;IAC7B,MAAM,IAAI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AM,GAAG,GAAG,UAAU,EAAE,CAAC;IACzB,IAAI,GAAG,CAAC,KAAK,IAAI,GAAG,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC;QAAE,OAAO,EAAE,GAAG,EAAE,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;IACnF,OAAO,EAAE,GAAG,EAAE,gBAAgB,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC;AACtD,CAAC;AAED,MAAM,UAAU,eAAe,CAAC,GAAW;IACzC,IAAI,CAAC,GAAG,IAAI,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;QAAE,OAAO,KAAK,CAAC;IAClF,IAAI,CAAC;QAAC,IAAI,GAAG,CAAC,GAAG,CAAC,CAAC;QAAC,OAAO,IAAI,CAAC;IAAC,CAAC;IAAC,MAAM,CAAC;QAAC,OAAO,KAAK,CAAC;IAAC,CAAC;AAC5D,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remote-pi",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Mobile remote control and local agent mesh for the Pi coding agent. Pair your phone via QR over a relay, watch tool calls in real time, run multi-Pi sessions over a local Unix Domain Socket broker, and let agents talk to each other through structured request/reply.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -10,7 +10,6 @@
10
10
  "typecheck": "tsc --noEmit",
11
11
  "dev": "tsx src/index.ts",
12
12
  "test": "vitest run",
13
- "pi": "tsc && REMOTE_PI_RELAY=ws://192.168.31.240:3000 pi --no-extensions -e $(pwd)/dist/index.js",
14
13
  "prepublishOnly": "pnpm typecheck && pnpm test && pnpm build"
15
14
  },
16
15
  "keywords": [
@@ -29,18 +28,20 @@
29
28
  "websocket"
30
29
  ],
31
30
  "pi": {
32
- "extensions": ["./dist"]
31
+ "extensions": [
32
+ "./dist"
33
+ ]
33
34
  },
34
- "author": "Jacob Moura <jacobmoura7@github>",
35
+ "author": "Jacob Moura <jacobmoura7@gmail.com>",
35
36
  "license": "MIT",
36
37
  "repository": {
37
38
  "type": "git",
38
- "url": "git+https://github.com/jacobmoura7/remote-pi.git",
39
+ "url": "git+https://github.com/jacobaraujo7/remote_pi.git",
39
40
  "directory": "pi-extension"
40
41
  },
41
- "homepage": "https://github.com/jacobmoura7/remote-pi#readme",
42
+ "homepage": "https://remote-pi.jacobmoura.work",
42
43
  "bugs": {
43
- "url": "https://github.com/jacobmoura7/remote-pi/issues"
44
+ "url": "https://github.com/jacobaraujo7/remote_pi/issues"
44
45
  },
45
46
  "files": [
46
47
  "dist",