@dhruv2mars/offdex 0.0.8 → 0.0.9
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 +2 -1
- package/bin/offdex.js +3 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -28,7 +28,8 @@ Common usage:
|
|
|
28
28
|
offdex
|
|
29
29
|
offdex help
|
|
30
30
|
offdex start --host 0.0.0.0 --port 42420
|
|
31
|
-
offdex start --control-plane-url https://control.offdex.app
|
|
32
31
|
offdex status
|
|
33
32
|
offdex stop
|
|
34
33
|
```
|
|
34
|
+
|
|
35
|
+
Remote pairing is enabled by default through the managed Offdex relay. Use `OFFDEX_CONTROL_PLANE_URL` only to override it for development.
|
package/bin/offdex.js
CHANGED
|
@@ -24,6 +24,7 @@ const muted = (text) => paint("38;2;156;163;160", text);
|
|
|
24
24
|
const bold = (text) => paint("1", text);
|
|
25
25
|
const command = (text) => paint("38;2;225;229;226", text);
|
|
26
26
|
const link = (text) => paint("38;2;203;255;229", text);
|
|
27
|
+
const controlPlaneUrl = "https://offdex-control-plane.dhruv-sharma10102005.workers.dev";
|
|
27
28
|
|
|
28
29
|
function onboardingText() {
|
|
29
30
|
return [
|
|
@@ -73,13 +74,13 @@ function helpText() {
|
|
|
73
74
|
` ${command("--host <host>")} Default: 0.0.0.0`,
|
|
74
75
|
` ${command("--port <port>")} Default: 42420`,
|
|
75
76
|
` ${command("--mode <codex|demo>")} Default: codex`,
|
|
76
|
-
` ${command("--control-plane-url <url>")}
|
|
77
|
+
` ${command("--control-plane-url <url>")} Override managed remote pairing.`,
|
|
77
78
|
"",
|
|
78
79
|
green("Environment fallbacks"),
|
|
79
80
|
` ${command("OFFDEX_BRIDGE_HOST")}`,
|
|
80
81
|
` ${command("OFFDEX_BRIDGE_PORT")}`,
|
|
81
82
|
` ${command("OFFDEX_BRIDGE_MODE")}`,
|
|
82
|
-
` ${command("OFFDEX_CONTROL_PLANE_URL")}`,
|
|
83
|
+
` ${command("OFFDEX_CONTROL_PLANE_URL")} Default: ${controlPlaneUrl}`,
|
|
83
84
|
"",
|
|
84
85
|
green("Links"),
|
|
85
86
|
` Docs: ${link("https://offdexapp.vercel.app")}`,
|