pinomad 0.3.0 → 0.4.0

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/dist/pinomad.js CHANGED
@@ -1,32 +1,37 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  packagedVersion
4
- } from "./chunk-3tf23vjq.js";
4
+ } from "./chunk-fgx2sh7d.js";
5
5
  import {
6
6
  __require
7
7
  } from "./chunk-df32avw6.js";
8
8
 
9
9
  // apps/cli/src/pinomad.ts
10
10
  var COMMANDS = {
11
- host: () => import("./chunk-tfqc1djy.js"),
12
- relay: () => import("./chunk-4dj2vb8t.js"),
13
- service: () => import("./chunk-kxws8b83.js"),
14
- upgrade: () => import("./chunk-n60kkf1m.js"),
15
- link: () => import("./chunk-3qn8gbjb.js"),
16
- pair: () => import("./chunk-syf0z68f.js"),
17
- "relay-id": () => import("./chunk-7fqn69ys.js")
11
+ host: () => import("./chunk-z5pmcscx.js"),
12
+ relay: () => import("./chunk-vw5yb5pd.js"),
13
+ service: () => import("./chunk-prhvksh3.js"),
14
+ upgrade: () => import("./chunk-17p6bfvy.js"),
15
+ link: () => import("./chunk-n73t5xzw.js"),
16
+ pair: () => import("./chunk-d4y99pfy.js"),
17
+ "relay-id": () => import("./chunk-xrvmnymc.js"),
18
+ join: () => import("./chunk-b3f0ced1.js"),
19
+ leave: () => import("./chunk-xhwkx9bd.js")
18
20
  };
19
21
  var USAGE = `pinomad — PiNomad host, relay, and utilities
20
22
 
21
23
  usage: pinomad <command> [args…]
22
24
 
23
25
  host [host args…] run the host in the foreground
24
- relay --public-origin O --allow-host H… run the relay
26
+ relay --public-origin O [--allow-host H…] [--data-dir D] [--trust-proxy] run the server
27
+ relay passwd [--data-dir D] [--user U] change the account password (stdin)
25
28
  service install|uninstall|status|restart|logs user-level host service
26
29
  upgrade [--force] [address flags] upgrade the package and restart the service
27
30
  link [--data-dir D|--url U …] print the browser link
28
31
  pair [--data-dir D|--url U …] print a pairing QR
29
32
  relay-id [--data-dir D] print this host's relay id (for --allow-host)
33
+ join <origin> <token> [--data-dir D] join this host to a server account
34
+ leave [--data-dir D] leave the server account
30
35
  --version, -v print the version
31
36
  `;
32
37
  async function main(argv) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinomad",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "PiNomad — self-hosted coding agent: host, relay, and web client in one package",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",