@dhruv2mars/offdex 0.0.6 → 0.0.7

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.
Files changed (3) hide show
  1. package/README.md +2 -1
  2. package/bin/offdex.js +38 -24
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -25,9 +25,10 @@ Supported targets:
25
25
  Common usage:
26
26
 
27
27
  ```bash
28
+ offdex
29
+ offdex help
28
30
  offdex start --host 0.0.0.0 --port 42420
29
31
  offdex start --control-plane-url https://control.offdex.app
30
32
  offdex status
31
33
  offdex stop
32
- offdex --help
33
34
  ```
package/bin/offdex.js CHANGED
@@ -14,45 +14,59 @@ import {
14
14
 
15
15
  const args = process.argv.slice(2);
16
16
  const ONBOARDING_TEXT = `Offdex
17
- Codex from your phone.
17
+ Codex mobile app.
18
+
19
+ Use Codex from your phone while the real Codex session keeps running on this Mac.
18
20
 
19
21
  Get started:
20
- 1. Run offdex start
21
- 2. Open Offdex on your phone
22
- 3. Scan the QR from this terminal
23
-
24
- Useful commands:
25
- offdex start Start the Mac bridge
26
- offdex status Check if Offdex is running
27
- offdex stop Stop the local bridge
28
- offdex --help Show all options
22
+ 1. Run: offdex start
23
+ 2. Open Offdex on your phone.
24
+ 3. Scan the QR from this terminal.
25
+ 4. Send a prompt and watch Codex reply live.
26
+
27
+ Core commands:
28
+ offdex help Commands, docs, GitHub, feedback.
29
+ offdex start Start the bridge and show the QR.
30
+ offdex status Show bridge, Codex, and client status.
31
+ offdex stop Stop the local bridge.
32
+
33
+ Docs: https://offdexapp.vercel.app
29
34
  `;
30
- const HELP_TEXT = `Offdex CLI
35
+ const HELP_TEXT = `Offdex help
36
+ Codex mobile app.
31
37
 
32
- Usage:
38
+ Commands:
33
39
  offdex
40
+ Open the Offdex home screen.
41
+
42
+ offdex help
43
+ Show commands, docs, and support links.
44
+
34
45
  offdex start [options]
46
+ Start the bridge and show the pairing QR.
47
+
35
48
  offdex status [options]
36
- offdex stop [options]
37
- offdex --help
49
+ Show bridge, Codex, client, and remote status.
38
50
 
39
- Commands:
40
- start Start the Mac bridge and show the pairing QR
41
- status Check the local bridge
42
- stop Stop the local bridge started by Offdex
51
+ offdex stop [options]
52
+ Stop the local bridge started by Offdex.
43
53
 
44
- Options:
45
- --host <host> Bridge host. Default: 0.0.0.0
46
- --port <port> Bridge port. Default: 42420
47
- --mode <codex|demo> Bridge runtime mode. Default: codex
48
- --control-plane-url <url> Managed remote control plane URL
49
- -h, --help Show help
54
+ Start options:
55
+ --host <host> Default: 0.0.0.0
56
+ --port <port> Default: 42420
57
+ --mode <codex|demo> Default: codex
58
+ --control-plane-url <url> Enable managed remote pairing.
50
59
 
51
60
  Environment fallbacks:
52
61
  OFFDEX_BRIDGE_HOST
53
62
  OFFDEX_BRIDGE_PORT
54
63
  OFFDEX_BRIDGE_MODE
55
64
  OFFDEX_CONTROL_PLANE_URL
65
+
66
+ Links:
67
+ Docs: https://offdexapp.vercel.app
68
+ GitHub: https://github.com/Dhruv2mars/offdex
69
+ Feedback: https://github.com/Dhruv2mars/offdex/issues
56
70
  `;
57
71
  const installedBin = resolveInstalledBin(process.env, process.platform);
58
72
  const packageVersion = readPackageVersion();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhruv2mars/offdex",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "Codex mobile bridge CLI for Offdex",
5
5
  "type": "module",
6
6
  "bin": {