conductor-remote 1.24.1 → 1.24.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/bin/cli.js CHANGED
@@ -60,6 +60,7 @@ function usage() {
60
60
  ' conductor-remote [start] run the relay (default)',
61
61
  ' conductor-remote service <subcommand> manage the login LaunchAgent',
62
62
  ' install | uninstall | restart | status',
63
+ ' conductor-remote logs [-n N] [--no-follow] tail the running relay’s logs (follows by default)',
63
64
  ' conductor-remote nosleep [duration] keep this Mac awake (incl. lid-closed) until',
64
65
  ' Ctrl-C or the duration (e.g. 1h, 90m); needs sudo',
65
66
  ' conductor-remote --version print the installed version',
@@ -68,6 +69,7 @@ function usage() {
68
69
  ' --expose public|tailnet reachability: public Funnel (default) or tailnet-only [EXPOSE]',
69
70
  ' --port <n> listen port (default 8787) [RELAY_PORT]',
70
71
  ' --host <addr> bind address (default 127.0.0.1) [RELAY_HOST]',
72
+ ' --hostname <name> pin the Tailscale device name so the phone URL never drifts [RELAY_HOSTNAME]',
71
73
  ' --token <secret> pin the shared secret (default: generated + persisted) [RELAY_TOKEN]',
72
74
  ' --write-strategy <s> applescript (default) | sidecar [WRITE_STRATEGY]',
73
75
  ' --auto-update <mode> auto (default) | check | off [AUTO_UPDATE]',
@@ -94,6 +96,11 @@ switch (cmd) {
94
96
  process.argv = [process.argv[0], process.argv[1], ...rest]
95
97
  await import(resolveEntry('../dist-node/scripts/nosleep.js', '../scripts/nosleep.ts'))
96
98
  break
99
+ case 'logs':
100
+ // `logs` is a service.ts subcommand; re-shape argv so its argv[2] is `logs` (mirrors the `service` case).
101
+ process.argv = [process.argv[0], process.argv[1], 'logs', ...rest]
102
+ await import(resolveEntry('../dist-node/scripts/service.js', '../scripts/service.ts'))
103
+ break
97
104
  case '-v':
98
105
  case '--version':
99
106
  case 'version':