@dxos/cli 0.3.2-main.14bd43d → 0.3.2-main.428886c
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 +12 -4
- package/dist/src/util/telemetryrc.json +1 -1
- package/oclif.manifest.json +2 -2
- package/package.json +21 -21
package/README.md
CHANGED
|
@@ -18,8 +18,8 @@ npm install -g @dxos/cli@main
|
|
|
18
18
|
# Running an Agent
|
|
19
19
|
Agent is a name for DXOS Client which is run by CLI in the background in the daemonized process.
|
|
20
20
|
|
|
21
|
-
##
|
|
22
|
-
1. Install DXOS CLI with steps in [Installation](#Instalation)
|
|
21
|
+
## Install agent as a `launchd` service (macOS users)
|
|
22
|
+
1. Install DXOS CLI with steps in [Installation](#Instalation) section.
|
|
23
23
|
2. Replace `??NODE_PATH??` in "./init-templates/org.dxos.agent.plist" with output of command `dirname $(which node)`
|
|
24
24
|
3. Replace `??DX_PATH??` in "./init-templates/org.dxos.agent.plist" with output of command `which dx`
|
|
25
25
|
4. Copy `./init-templates/org.dxos.agent.plist` -> `~/Library/LaunchAgents/org.dxos.agent.plist`
|
|
@@ -29,6 +29,14 @@ Agent is a name for DXOS Client which is run by CLI in the background in the dae
|
|
|
29
29
|
1. Run `launchctl unload -w ~/Library/LaunchAgents/org.dxos.agent.plist`
|
|
30
30
|
2. Remove `~/Library/LaunchAgents/org.dxos.agent.plist`
|
|
31
31
|
|
|
32
|
+
## Install agent as a `systemd` service (Linux users)
|
|
33
|
+
1. Install DXOS CLI with steps in [Installation](#Instalation) section.
|
|
34
|
+
1. Copy `./init-templates/dxos-agent.service` and `./init-templates/pre-dxos-agent.service` -> `~/.config/systemd/user/`
|
|
35
|
+
1. Run `systemctl --user daemon-reload` to make the systemd daemon aware of the service
|
|
36
|
+
1. Run `systemctl --user enable dxos-agent` to enable the service to start automatically
|
|
37
|
+
1. Optionally, run `sudo loginctl enable-linger {USERNAME}` to enable the service to start without user login (replace `{USERNAME}` with the name of the user that will run the service)
|
|
38
|
+
1. Run `systemctl --user start dxos-agent` to start the service
|
|
39
|
+
|
|
32
40
|
## Start agent with CLI (not very reliable)
|
|
33
41
|
Agent is automatically started by each command that requires Client (to avoid this behavior use `--no-agent` flag). You can use `--profile` flag (default value is `default`) to run agent in an isolated profile, and `--foreground` to run agent in attached process.
|
|
34
42
|
```terminal
|
|
@@ -92,7 +100,7 @@ $ npm install -g @dxos/cli
|
|
|
92
100
|
$ dx COMMAND
|
|
93
101
|
running command...
|
|
94
102
|
$ dx (--version)
|
|
95
|
-
@dxos/cli/0.3.2-main.
|
|
103
|
+
@dxos/cli/0.3.2-main.428886c linux-x64 node-v18.18.0
|
|
96
104
|
$ dx --help [COMMAND]
|
|
97
105
|
USAGE
|
|
98
106
|
$ dx COMMAND
|
|
@@ -1330,7 +1338,7 @@ FLAGS
|
|
|
1330
1338
|
--config=path [default: /home/runner/.config/dx/profile/default.yml] Config file.
|
|
1331
1339
|
--dry-run Dry run.
|
|
1332
1340
|
--json Output as JSON.
|
|
1333
|
-
--name=<value> [default:
|
|
1341
|
+
--name=<value> [default: sad-eighteen-dakota-fix] Tunnel name
|
|
1334
1342
|
--no-agent Run command without agent.
|
|
1335
1343
|
--no-wait Do not wait for space to be ready.
|
|
1336
1344
|
--profile=<value> [default: default] User profile.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"DX_ENVIRONMENT": "staging",
|
|
3
|
-
"DX_RELEASE": "@dxos/cli@0.3.2-main.
|
|
3
|
+
"DX_RELEASE": "@dxos/cli@0.3.2-main.428886c",
|
|
4
4
|
"SENTRY_DESTINATION": "https://2647916221e643869965e78469479aa4@o4504012000067584.ingest.sentry.io/4504012027265029",
|
|
5
5
|
"TELEMETRY_API_KEY": "B00QG6PtJJrJ0VVFe0H5a6bcUUShKyZM",
|
|
6
6
|
"IPDATA_API_KEY": "ccc5f0cd66dd34a7c31c2ddc61c2bbca2db73892a993982bb3a5f0e2"
|
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.3.2-main.
|
|
2
|
+
"version": "0.3.2-main.428886c",
|
|
3
3
|
"commands": {
|
|
4
4
|
"agent:list": {
|
|
5
5
|
"id": "agent:list",
|
|
@@ -3594,7 +3594,7 @@
|
|
|
3594
3594
|
"type": "option",
|
|
3595
3595
|
"description": "Tunnel name",
|
|
3596
3596
|
"multiple": false,
|
|
3597
|
-
"default": "
|
|
3597
|
+
"default": "sad-eighteen-dakota-fix"
|
|
3598
3598
|
}
|
|
3599
3599
|
},
|
|
3600
3600
|
"args": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/cli",
|
|
3
|
-
"version": "0.3.2-main.
|
|
3
|
+
"version": "0.3.2-main.428886c",
|
|
4
4
|
"description": "DXOS CLI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dxos",
|
|
@@ -46,26 +46,26 @@
|
|
|
46
46
|
"react": "^18.2.0",
|
|
47
47
|
"uuid": "^8.3.2",
|
|
48
48
|
"ws": "^7.4.4",
|
|
49
|
-
"@dxos/agent": "0.3.2-main.
|
|
50
|
-
"@dxos/async": "0.3.2-main.
|
|
51
|
-
"@dxos/bare-template": "0.3.2-main.
|
|
52
|
-
"@dxos/client": "0.3.2-main.
|
|
53
|
-
"@dxos/client-protocol": "0.3.2-main.
|
|
54
|
-
"@dxos/config": "0.3.2-main.
|
|
55
|
-
"@dxos/context": "0.3.2-main.
|
|
56
|
-
"@dxos/debug": "0.3.2-main.
|
|
57
|
-
"@dxos/functions": "0.3.2-main.
|
|
58
|
-
"@dxos/hello-template": "0.3.2-main.
|
|
59
|
-
"@dxos/invariant": "0.3.2-main.
|
|
60
|
-
"@dxos/log": "0.3.2-main.
|
|
61
|
-
"@dxos/plate": "0.3.2-main.
|
|
62
|
-
"@dxos/process": "0.3.2-main.
|
|
63
|
-
"@dxos/protocols": "0.3.2-main.
|
|
64
|
-
"@dxos/rpc": "0.3.2-main.
|
|
65
|
-
"@dxos/sentry": "0.3.2-main.
|
|
66
|
-
"@dxos/tasks-template": "0.3.2-main.
|
|
67
|
-
"@dxos/telemetry": "0.3.2-main.
|
|
68
|
-
"@dxos/util": "0.3.2-main.
|
|
49
|
+
"@dxos/agent": "0.3.2-main.428886c",
|
|
50
|
+
"@dxos/async": "0.3.2-main.428886c",
|
|
51
|
+
"@dxos/bare-template": "0.3.2-main.428886c",
|
|
52
|
+
"@dxos/client": "0.3.2-main.428886c",
|
|
53
|
+
"@dxos/client-protocol": "0.3.2-main.428886c",
|
|
54
|
+
"@dxos/config": "0.3.2-main.428886c",
|
|
55
|
+
"@dxos/context": "0.3.2-main.428886c",
|
|
56
|
+
"@dxos/debug": "0.3.2-main.428886c",
|
|
57
|
+
"@dxos/functions": "0.3.2-main.428886c",
|
|
58
|
+
"@dxos/hello-template": "0.3.2-main.428886c",
|
|
59
|
+
"@dxos/invariant": "0.3.2-main.428886c",
|
|
60
|
+
"@dxos/log": "0.3.2-main.428886c",
|
|
61
|
+
"@dxos/plate": "0.3.2-main.428886c",
|
|
62
|
+
"@dxos/process": "0.3.2-main.428886c",
|
|
63
|
+
"@dxos/protocols": "0.3.2-main.428886c",
|
|
64
|
+
"@dxos/rpc": "0.3.2-main.428886c",
|
|
65
|
+
"@dxos/sentry": "0.3.2-main.428886c",
|
|
66
|
+
"@dxos/tasks-template": "0.3.2-main.428886c",
|
|
67
|
+
"@dxos/telemetry": "0.3.2-main.428886c",
|
|
68
|
+
"@dxos/util": "0.3.2-main.428886c"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@oclif/test": "^2.3.31",
|