@dxos/cli 0.1.53-main.f6a7856 → 0.1.53-next.5db05ba
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 +38 -10
- package/dist/src/commands/agent/agent.test.js +17 -6
- package/dist/src/commands/agent/agent.test.js.map +1 -1
- package/dist/src/commands/agent/list.d.ts.map +1 -1
- package/dist/src/commands/agent/list.js +12 -2
- package/dist/src/commands/agent/list.js.map +1 -1
- package/dist/src/commands/agent/restart.d.ts +10 -0
- package/dist/src/commands/agent/restart.d.ts.map +1 -1
- package/dist/src/commands/agent/restart.js +5 -0
- package/dist/src/commands/agent/restart.js.map +1 -1
- package/dist/src/commands/agent/start.d.ts.map +1 -1
- package/dist/src/commands/agent/start.js +20 -21
- package/dist/src/commands/agent/start.js.map +1 -1
- package/dist/src/commands/agent/stop.d.ts.map +1 -1
- package/dist/src/commands/agent/stop.js +8 -3
- package/dist/src/commands/agent/stop.js.map +1 -1
- package/dist/src/commands/function/dev-server.d.ts.map +1 -1
- package/dist/src/commands/function/dev-server.js +2 -2
- package/dist/src/commands/function/dev-server.js.map +1 -1
- package/dist/src/util/telemetryrc.json +1 -1
- package/oclif.manifest.json +8 -3
- package/package.json +21 -21
package/README.md
CHANGED
|
@@ -4,10 +4,43 @@ DXOS command line interface.
|
|
|
4
4
|
|
|
5
5
|
<!-- toc -->
|
|
6
6
|
* [DX CLI](#dx-cli)
|
|
7
|
+
* [Instalation](#instalation)
|
|
8
|
+
* [Running an Agent](#running-an-agent)
|
|
7
9
|
* [Development](#development)
|
|
8
10
|
* [Usage](#usage)
|
|
9
11
|
<!-- tocstop -->
|
|
10
12
|
|
|
13
|
+
# Instalation
|
|
14
|
+
```terminal
|
|
15
|
+
npm install -g @dxos/cli@main
|
|
16
|
+
```
|
|
17
|
+
---
|
|
18
|
+
# Running an Agent
|
|
19
|
+
Agent is a name for DXOS Client which is run by CLI in the background in the daemonized process.
|
|
20
|
+
## Starting agent
|
|
21
|
+
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.
|
|
22
|
+
```terminal
|
|
23
|
+
dx agent start
|
|
24
|
+
```
|
|
25
|
+
see: [dx agent start](#dx-agent-start)
|
|
26
|
+
|
|
27
|
+
## Adding Agent to your Composer Identity
|
|
28
|
+
1. Go to [Composer](https://composer.dev.dxos.org). And create a device invitation.
|
|
29
|
+

|
|
30
|
+

|
|
31
|
+
|
|
32
|
+
1. Run halo join command in your terminal.
|
|
33
|
+

|
|
34
|
+
|
|
35
|
+
1. Proceed with invitation
|
|
36
|
+
|
|
37
|
+
## Troubleshooting
|
|
38
|
+
1. Make sure you are running the latest version of the shared worker in the browser. Go to the shared workers tab chrome://inspect/#workers, kill `dxos-vault` worker, then reload the Composer tab.
|
|
39
|
+
2. Restart your agent with [```dx agent restart```](#dx-agent-restart). Also useful command[ ```dx agent stop --all```](#dx-agent-stop)
|
|
40
|
+
#### Danger Zone
|
|
41
|
+
3. Reset Storage. Warning: Agent will lose its storage, and config file will be deleted [```dx reset --force```](#dx-reset)
|
|
42
|
+
---
|
|
43
|
+
|
|
11
44
|
|
|
12
45
|
# Development
|
|
13
46
|
|
|
@@ -31,11 +64,6 @@ Or source the following script to set the `dx` alias from any directory in the r
|
|
|
31
64
|
dx config --json
|
|
32
65
|
```
|
|
33
66
|
|
|
34
|
-
## Resetting the CLI
|
|
35
|
-
|
|
36
|
-
```bash
|
|
37
|
-
```
|
|
38
|
-
|
|
39
67
|
## Reporting errors
|
|
40
68
|
|
|
41
69
|
Run the following command to create a gist of the debug stats.
|
|
@@ -52,7 +80,7 @@ $ npm install -g @dxos/cli
|
|
|
52
80
|
$ dx COMMAND
|
|
53
81
|
running command...
|
|
54
82
|
$ dx (--version)
|
|
55
|
-
@dxos/cli/0.1.53-
|
|
83
|
+
@dxos/cli/0.1.53-next.5db05ba linux-x64 node-v18.17.0
|
|
56
84
|
$ dx --help [COMMAND]
|
|
57
85
|
USAGE
|
|
58
86
|
$ dx COMMAND
|
|
@@ -139,19 +167,19 @@ Restart agent daemon.
|
|
|
139
167
|
|
|
140
168
|
```
|
|
141
169
|
USAGE
|
|
142
|
-
$ dx agent restart [--json] [--dry-run] [-v] [--config <value> --profile <value>] [--no-agent] [--timeout
|
|
170
|
+
$ dx agent restart [--json] [--dry-run] [-v] [--config <value> --profile <value>] [--no-agent] [--timeout
|
|
171
|
+
<value>] [--force]
|
|
143
172
|
|
|
144
173
|
FLAGS
|
|
145
174
|
-v, --verbose Verbose output
|
|
146
175
|
--config=path [default: /home/runner/.config/dx/profile/default.yml] Config file.
|
|
147
176
|
--dry-run Dry run.
|
|
177
|
+
--force Force restart.
|
|
178
|
+
--json Output as JSON.
|
|
148
179
|
--no-agent Auto-start agent.
|
|
149
180
|
--profile=<value> [default: default] User profile.
|
|
150
181
|
--timeout=<value> [default: 30] Timeout in seconds.
|
|
151
182
|
|
|
152
|
-
GLOBAL FLAGS
|
|
153
|
-
--json Format output as json.
|
|
154
|
-
|
|
155
183
|
DESCRIPTION
|
|
156
184
|
Restart agent daemon.
|
|
157
185
|
```
|
|
@@ -19,7 +19,7 @@ const util_1 = require("../../util");
|
|
|
19
19
|
const TEST_FOLDER = '/tmp/dxos/testing/cli';
|
|
20
20
|
const HOST_CONFIG_PATH = (0, node_path_1.join)(TEST_FOLDER, 'config-host.yml');
|
|
21
21
|
const GUEST_CONFIG_PATH = (0, node_path_1.join)(TEST_FOLDER, 'config-guest.yml');
|
|
22
|
-
(
|
|
22
|
+
beforeEach(async () => {
|
|
23
23
|
// Create config files.
|
|
24
24
|
[
|
|
25
25
|
[HOST_CONFIG_PATH, (0, node_path_1.join)(TEST_FOLDER, 'host')],
|
|
@@ -59,7 +59,7 @@ const util_1 = require("../../util");
|
|
|
59
59
|
}));
|
|
60
60
|
});
|
|
61
61
|
});
|
|
62
|
-
(
|
|
62
|
+
afterEach(async () => {
|
|
63
63
|
// Cleanup.
|
|
64
64
|
(0, node_fs_1.rmSync)(TEST_FOLDER, { recursive: true, force: true });
|
|
65
65
|
});
|
|
@@ -98,6 +98,17 @@ const util_1 = require("../../util");
|
|
|
98
98
|
})
|
|
99
99
|
.timeout(120000)
|
|
100
100
|
.tag('flaky');
|
|
101
|
+
(0, test_1.test)('stop command', async () => {
|
|
102
|
+
const profile1 = 'test-profile-1';
|
|
103
|
+
const profile2 = 'test-profile-2';
|
|
104
|
+
await (0, util_1.runCommand)(`agent start --profile=${profile1} --config=${HOST_CONFIG_PATH}`, __dirname);
|
|
105
|
+
await (0, util_1.runCommand)(`create halo FIRST --profile=${profile1} --config=${HOST_CONFIG_PATH}`, __dirname);
|
|
106
|
+
await (0, util_1.runCommand)(`agent start --profile=${profile2} --config=${HOST_CONFIG_PATH}`, __dirname);
|
|
107
|
+
await (0, util_1.runCommand)(`create halo SECOND --profile=${profile2} --config=${HOST_CONFIG_PATH}`, __dirname);
|
|
108
|
+
await (0, util_1.runCommand)('agent stop --all --force', __dirname);
|
|
109
|
+
const listAfterStop = await (0, util_1.runCommand)('agent list --json', __dirname);
|
|
110
|
+
(0, chai_1.expect)(JSON.parse(listAfterStop)).to.equal([]);
|
|
111
|
+
}).tag('flaky');
|
|
101
112
|
});
|
|
102
113
|
const performHaloCLIInvitation = async ({ host, guest }) => {
|
|
103
114
|
const invitation = new async_1.Trigger();
|
|
@@ -114,11 +125,11 @@ const performHaloCLIInvitation = async ({ host, guest }) => {
|
|
|
114
125
|
.split('\n')
|
|
115
126
|
.forEach((line) => {
|
|
116
127
|
if (line.includes('Invitation')) {
|
|
117
|
-
(0, log_1.log)('Invitation:', line.split(': ')[1], { file: "packages/devtools/cli/src/commands/agent/agent.test.ts", line:
|
|
128
|
+
(0, log_1.log)('Invitation:', line.split(': ')[1], { file: "packages/devtools/cli/src/commands/agent/agent.test.ts", line: 150, scope: this, bugcheck: "If you see this message then it means that the source code preprocessor for @dxos/log is broken. It probably has misinterpreted an unrelated call for a logger invocation.", callSite: (fn, args) => fn(...args) });
|
|
118
129
|
invitation.wake(line.split(': ')[1]);
|
|
119
130
|
}
|
|
120
131
|
if (line.includes('Secret')) {
|
|
121
|
-
(0, log_1.log)('Secret:', line.split(': ')[1], { file: "packages/devtools/cli/src/commands/agent/agent.test.ts", line:
|
|
132
|
+
(0, log_1.log)('Secret:', line.split(': ')[1], { file: "packages/devtools/cli/src/commands/agent/agent.test.ts", line: 154, scope: this, bugcheck: "If you see this message then it means that the source code preprocessor for @dxos/log is broken. It probably has misinterpreted an unrelated call for a logger invocation.", callSite: (fn, args) => fn(...args) });
|
|
122
133
|
secret.wake(line.split(': ')[1]);
|
|
123
134
|
}
|
|
124
135
|
// });
|
|
@@ -149,11 +160,11 @@ const performHaloCLIInvitation = async ({ host, guest }) => {
|
|
|
149
160
|
.split('\n')
|
|
150
161
|
.forEach((line) => {
|
|
151
162
|
if (line.includes('Invitation')) {
|
|
152
|
-
(0, log_1.log)('Ready for invitation', {}, { file: "packages/devtools/cli/src/commands/agent/agent.test.ts", line:
|
|
163
|
+
(0, log_1.log)('Ready for invitation', {}, { file: "packages/devtools/cli/src/commands/agent/agent.test.ts", line: 188, scope: this, bugcheck: "If you see this message then it means that the source code preprocessor for @dxos/log is broken. It probably has misinterpreted an unrelated call for a logger invocation.", callSite: (fn, args) => fn(...args) });
|
|
153
164
|
guestReadyForInvitation.wake();
|
|
154
165
|
}
|
|
155
166
|
if (line.includes('Invitation code')) {
|
|
156
|
-
(0, log_1.log)('Ready for secret', {}, { file: "packages/devtools/cli/src/commands/agent/agent.test.ts", line:
|
|
167
|
+
(0, log_1.log)('Ready for secret', {}, { file: "packages/devtools/cli/src/commands/agent/agent.test.ts", line: 192, scope: this, bugcheck: "If you see this message then it means that the source code preprocessor for @dxos/log is broken. It probably has misinterpreted an unrelated call for a logger invocation.", callSite: (fn, args) => fn(...args) });
|
|
157
168
|
guestReadyForSecret.wake();
|
|
158
169
|
}
|
|
159
170
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent.test.js","sourceRoot":"","sources":["../../../../src/commands/agent/agent.test.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;AAEF,+BAA8B;AAC9B,sDAA2B;AAC3B,2DAA2C;AAC3C,qCAA2D;AAC3D,yCAA0C;AAE1C,uCAAoD;AACpD,mCAAgC;AAChC,
|
|
1
|
+
{"version":3,"file":"agent.test.js","sourceRoot":"","sources":["../../../../src/commands/agent/agent.test.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;AAEF,+BAA8B;AAC9B,sDAA2B;AAC3B,2DAA2C;AAC3C,qCAA2D;AAC3D,yCAA0C;AAE1C,uCAAoD;AACpD,mCAAgC;AAChC,qCAA4C;AAE5C,qCAAkD;AAElD,IAAA,eAAQ,EAAC,OAAO,EAAE,GAAG,EAAE;IACrB,MAAM,WAAW,GAAG,uBAAuB,CAAC;IAC5C,MAAM,gBAAgB,GAAG,IAAA,gBAAI,EAAC,WAAW,EAAE,iBAAiB,CAAC,CAAC;IAC9D,MAAM,iBAAiB,GAAG,IAAA,gBAAI,EAAC,WAAW,EAAE,kBAAkB,CAAC,CAAC;IAEhE,UAAU,CAAC,KAAK,IAAI,EAAE;QACpB,uBAAuB;QACvB;YACE,CAAC,gBAAgB,EAAE,IAAA,gBAAI,EAAC,WAAW,EAAE,MAAM,CAAC,CAAC;YAC7C,CAAC,iBAAiB,EAAE,IAAA,gBAAI,EAAC,WAAW,EAAE,OAAO,CAAC,CAAC;SAChD,CAAC,OAAO,CAAC,CAAC,CAAC,UAAU,EAAE,WAAW,CAAC,EAAE,EAAE;YACtC,IAAA,mBAAS,EAAC,IAAA,mBAAO,EAAC,UAAU,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;YACpD,IAAA,uBAAa,EACX,UAAU,EACV,iBAAI,CAAC,IAAI,CAAC;gBACR,OAAO,EAAE,CAA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AM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAEtD,MAAM,IAAA,oBAAY,EAAC,UAAU,CAAC,IAAI,EAAE,EAAE,KAAM,CAAC,CAAC;IAC9C,WAAW,CAAC,IAAI,EAAE,CAAC;IACnB,YAAY,CAAC,IAAI,EAAE,CAAC;AACtB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/commands/agent/list.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,eAAO,MAAM,WAAW,YAAa,GAAG,EAAE,
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/commands/agent/list.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,eAAO,MAAM,WAAW,YAAa,GAAG,EAAE,qBAoCzC,CAAC;AAEF,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,WAAW,CAAC,OAAO,IAAI,CAAC;IACxD,OAAgB,cAAc,UAAQ;IACtC,OAAgB,WAAW,SAAkB;IAEvC,GAAG,IAAI,OAAO,CAAC,GAAG,CAAC;CAS1B"}
|
|
@@ -18,12 +18,20 @@ const printAgents = (daemons, flags = {}) => {
|
|
|
18
18
|
running: {
|
|
19
19
|
header: 'running',
|
|
20
20
|
},
|
|
21
|
+
lockAcquired: {
|
|
22
|
+
header: 'lockAcquired',
|
|
23
|
+
},
|
|
21
24
|
restarts: {
|
|
22
25
|
header: 'restarts',
|
|
23
26
|
},
|
|
24
27
|
uptime: {
|
|
25
28
|
header: 'uptime',
|
|
26
|
-
get: (row) =>
|
|
29
|
+
get: (row) => {
|
|
30
|
+
if (!row.running) {
|
|
31
|
+
return 'stopped';
|
|
32
|
+
}
|
|
33
|
+
return (0, date_fns_1.formatDistance)(new Date(), new Date(row.started));
|
|
34
|
+
},
|
|
27
35
|
},
|
|
28
36
|
logFile: {
|
|
29
37
|
header: 'logFile',
|
|
@@ -37,7 +45,9 @@ class List extends base_command_1.BaseCommand {
|
|
|
37
45
|
async run() {
|
|
38
46
|
return await this.execWithDaemon(async (daemon) => {
|
|
39
47
|
const result = await daemon.list();
|
|
40
|
-
(
|
|
48
|
+
if (!this.flags.json) {
|
|
49
|
+
(0, exports.printAgents)(result);
|
|
50
|
+
}
|
|
41
51
|
return result;
|
|
42
52
|
});
|
|
43
53
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../../src/commands/agent/list.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;AAEF,sCAAiC;AACjC,uCAA0C;AAE1C,qDAAiD;AAE1C,MAAM,WAAW,GAAG,CAAC,OAAc,EAAE,KAAK,GAAG,EAAE,EAAE,EAAE;IACxD,SAAE,CAAC,KAAK,CACN,OAAO,EACP;QACE,OAAO,EAAE;YACP,MAAM,EAAE,SAAS;SAClB;QACD,GAAG,EAAE;YACH,MAAM,EAAE,SAAS;SAClB;QACD,OAAO,EAAE;YACP,MAAM,EAAE,SAAS;SAClB;QACD,QAAQ,EAAE;YACR,MAAM,EAAE,UAAU;SACnB;QACD,MAAM,EAAE;YACN,MAAM,EAAE,QAAQ;YAChB,GAAG,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,IAAA,yBAAc,EAAC,IAAI,IAAI,EAAE,EAAE,IAAI,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../../src/commands/agent/list.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;AAEF,sCAAiC;AACjC,uCAA0C;AAE1C,qDAAiD;AAE1C,MAAM,WAAW,GAAG,CAAC,OAAc,EAAE,KAAK,GAAG,EAAE,EAAE,EAAE;IACxD,SAAE,CAAC,KAAK,CACN,OAAO,EACP;QACE,OAAO,EAAE;YACP,MAAM,EAAE,SAAS;SAClB;QACD,GAAG,EAAE;YACH,MAAM,EAAE,SAAS;SAClB;QACD,OAAO,EAAE;YACP,MAAM,EAAE,SAAS;SAClB;QACD,YAAY,EAAE;YACZ,MAAM,EAAE,cAAc;SACvB;QACD,QAAQ,EAAE;YACR,MAAM,EAAE,UAAU;SACnB;QACD,MAAM,EAAE;YACN,MAAM,EAAE,QAAQ;YAChB,GAAG,EAAE,CAAC,GAAG,EAAE,EAAE;gBACX,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE;oBAChB,OAAO,SAAS,CAAC;iBAClB;gBACD,OAAO,IAAA,yBAAc,EAAC,IAAI,IAAI,EAAE,EAAE,IAAI,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC;YAC3D,CAAC;SACF;QACD,OAAO,EAAE;YACP,MAAM,EAAE,SAAS;SAClB;KACF,EACD;QACE,GAAG,KAAK;KACT,CACF,CAAC;AACJ,CAAC,CAAC;AApCW,QAAA,WAAW,eAoCtB;AAEF,MAAqB,IAAK,SAAQ,0BAAwB;IAIxD,KAAK,CAAC,GAAG;QACP,OAAO,MAAM,IAAI,CAAC,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE;YAChD,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,IAAI,EAAE,CAAC;YACnC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE;gBACpB,IAAA,mBAAW,EAAC,MAAM,CAAC,CAAC;aACrB;YACD,OAAO,MAAM,CAAC;QAChB,CAAC,CAAC,CAAC;IACL,CAAC;;AAXe,mBAAc,GAAG,IAAI,CAAC;AACtB,gBAAW,GAAG,cAAc,CAAC;kBAF1B,IAAI"}
|
|
@@ -2,6 +2,16 @@ import { BaseCommand } from '../../base-command';
|
|
|
2
2
|
export default class Restart extends BaseCommand<typeof Restart> {
|
|
3
3
|
static enableJsonFlag: boolean;
|
|
4
4
|
static description: string;
|
|
5
|
+
static flags: {
|
|
6
|
+
force: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
7
|
+
json: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
8
|
+
'dry-run': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
9
|
+
verbose: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
10
|
+
profile: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
11
|
+
config: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
12
|
+
'no-agent': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
13
|
+
timeout: import("@oclif/core/lib/interfaces").OptionFlag<number, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
14
|
+
};
|
|
5
15
|
run(): Promise<any>;
|
|
6
16
|
}
|
|
7
17
|
//# sourceMappingURL=restart.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"restart.d.ts","sourceRoot":"","sources":["../../../../src/commands/agent/restart.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"restart.d.ts","sourceRoot":"","sources":["../../../../src/commands/agent/restart.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,MAAM,CAAC,OAAO,OAAO,OAAQ,SAAQ,WAAW,CAAC,OAAO,OAAO,CAAC;IAC9D,OAAgB,cAAc,UAAQ;IACtC,OAAgB,WAAW,SAA2B;IAEtD,OAAgB,KAAK;;;;;;;;;MAGnB;IAEI,GAAG,IAAI,OAAO,CAAC,GAAG,CAAC;CAQ1B"}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
// Copyright 2023 DXOS.org
|
|
4
4
|
//
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const core_1 = require("@oclif/core");
|
|
6
7
|
const base_command_1 = require("../../base-command");
|
|
7
8
|
class Restart extends base_command_1.BaseCommand {
|
|
8
9
|
async run() {
|
|
@@ -16,5 +17,9 @@ class Restart extends base_command_1.BaseCommand {
|
|
|
16
17
|
}
|
|
17
18
|
Restart.enableJsonFlag = true;
|
|
18
19
|
Restart.description = 'Restart agent daemon.';
|
|
20
|
+
Restart.flags = {
|
|
21
|
+
...base_command_1.BaseCommand.flags,
|
|
22
|
+
force: core_1.Flags.boolean({ description: 'Force restart.' }),
|
|
23
|
+
};
|
|
19
24
|
exports.default = Restart;
|
|
20
25
|
//# sourceMappingURL=restart.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"restart.js","sourceRoot":"","sources":["../../../../src/commands/agent/restart.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;AAEF,qDAAiD;AAEjD,MAAqB,OAAQ,SAAQ,0BAA2B;
|
|
1
|
+
{"version":3,"file":"restart.js","sourceRoot":"","sources":["../../../../src/commands/agent/restart.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;AAEF,sCAAoC;AAEpC,qDAAiD;AAEjD,MAAqB,OAAQ,SAAQ,0BAA2B;IAS9D,KAAK,CAAC,GAAG;QACP,OAAO,MAAM,IAAI,CAAC,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE;YAChD,MAAM,OAAO,GAAG,MAAM,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;YACxF,IAAI,OAAO,EAAE;gBACX,IAAI,CAAC,GAAG,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;aAClC;QACH,CAAC,CAAC,CAAC;IACL,CAAC;;AAfe,sBAAc,GAAG,IAAI,CAAC;AACtB,mBAAW,GAAG,uBAAuB,CAAC;AAEtC,aAAK,GAAG;IACtB,GAAG,0BAAW,CAAC,KAAK;IACpB,KAAK,EAAE,YAAK,CAAC,OAAO,CAAC,EAAE,WAAW,EAAE,gBAAgB,EAAE,CAAC;CACxD,CAAC;kBAPiB,OAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"start.d.ts","sourceRoot":"","sources":["../../../../src/commands/agent/start.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,WAAW,CAAC,OAAO,KAAK,CAAC;IAC1D,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAiB;IACtC,OAAgB,cAAc,UAAQ;IACtC,OAAgB,WAAW,SAAuB;IAElD,OAAgB,KAAK;;;;;;;;;;;;MAmBnB;IAEI,GAAG,IAAI,OAAO,CAAC,GAAG,CAAC;YASX,gBAAgB;
|
|
1
|
+
{"version":3,"file":"start.d.ts","sourceRoot":"","sources":["../../../../src/commands/agent/start.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,WAAW,CAAC,OAAO,KAAK,CAAC;IAC1D,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAiB;IACtC,OAAgB,cAAc,UAAQ;IACtC,OAAgB,WAAW,SAAuB;IAElD,OAAgB,KAAK;;;;;;;;;;;;MAmBnB;IAEI,GAAG,IAAI,OAAO,CAAC,GAAG,CAAC;YASX,gBAAgB;YA+ChB,YAAY;IAc1B,OAAO,CAAC,cAAc;CAevB"}
|
|
@@ -60,28 +60,27 @@ class Start extends base_command_1.BaseCommand {
|
|
|
60
60
|
const { path } = (0, agent_1.parseAddress)(socket);
|
|
61
61
|
(0, node_fs_1.rmSync)(path, { force: true });
|
|
62
62
|
}
|
|
63
|
-
const
|
|
63
|
+
const agent = new agent_1.Agent({
|
|
64
|
+
config: this.clientConfig,
|
|
64
65
|
profile: this.flags.profile,
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
}));
|
|
84
|
-
}
|
|
66
|
+
protocol: {
|
|
67
|
+
socket,
|
|
68
|
+
webSocket: this.flags['web-socket'],
|
|
69
|
+
},
|
|
70
|
+
plugins: [
|
|
71
|
+
// Epoch monitoring.
|
|
72
|
+
// TODO(burdon): Config.
|
|
73
|
+
this.flags.monitor && new agent_1.EpochMonitor(),
|
|
74
|
+
// ECHO API.
|
|
75
|
+
// TODO(burdon): Config.
|
|
76
|
+
this.flags['echo-proxy'] && new agent_1.EchoProxyServer({ port: this.flags['echo-proxy'] }),
|
|
77
|
+
// Functions.
|
|
78
|
+
((_b = (_a = this.clientConfig.values.runtime) === null || _a === void 0 ? void 0 : _a.agent) === null || _b === void 0 ? void 0 : _b.functions) &&
|
|
79
|
+
new agent_1.FunctionsPlugin({
|
|
80
|
+
port: (_e = (_d = (_c = this.clientConfig.values.runtime) === null || _c === void 0 ? void 0 : _c.agent) === null || _d === void 0 ? void 0 : _d.functions) === null || _e === void 0 ? void 0 : _e.port,
|
|
81
|
+
}),
|
|
82
|
+
],
|
|
83
|
+
});
|
|
85
84
|
await agent.start();
|
|
86
85
|
this.log('Agent started... (ctrl-c to exit)');
|
|
87
86
|
process.on('SIGINT', async () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"start.js","sourceRoot":"","sources":["../../../../src/commands/agent/start.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEF,sCAAoC;AACpC,kDAA0B;AAC1B,qCAAiC;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;KAChB,CAAC;IACF,IAAI,EAAE,YAAK,CAAC,OAAO,CAAC;QAClB,WAAW,EAAE,uBAAuB;QACpC,SAAS,EAAE,MAAM;KAClB,CAAC;IACF,OAAO,EAAE,YAAK,CAAC,OAAO,CAAC;QACrB,WAAW,EAAE,uBAAuB;KACrC,CAAC;CACH,AAnBoB,CAmBnB;kBAxBiB,KAAK"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stop.d.ts","sourceRoot":"","sources":["../../../../src/commands/agent/stop.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"stop.d.ts","sourceRoot":"","sources":["../../../../src/commands/agent/stop.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,WAAW,CAAC,OAAO,IAAI,CAAC;IACxD,OAAgB,cAAc,UAAQ;IACtC,OAAgB,WAAW,SAAwB;IAEnD,OAAgB,KAAK;;;;;;;;;;MAInB;IAEI,GAAG,IAAI,OAAO,CAAC,GAAG,CAAC;CAoB1B"}
|
|
@@ -2,13 +2,20 @@
|
|
|
2
2
|
//
|
|
3
3
|
// Copyright 2023 DXOS.org
|
|
4
4
|
//
|
|
5
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
6
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
7
|
+
};
|
|
5
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
9
|
const core_1 = require("@oclif/core");
|
|
10
|
+
const chalk_1 = __importDefault(require("chalk"));
|
|
7
11
|
const base_command_1 = require("../../base-command");
|
|
8
12
|
class Stop extends base_command_1.BaseCommand {
|
|
9
13
|
async run() {
|
|
10
14
|
return await this.execWithDaemon(async (daemon) => {
|
|
11
15
|
const stop = async (profile) => {
|
|
16
|
+
if (this.flags.force) {
|
|
17
|
+
this.log((0, chalk_1.default) `Force stopping agent {yellow ${profile}}`);
|
|
18
|
+
}
|
|
12
19
|
const process = await daemon.stop(profile, { force: this.flags.force });
|
|
13
20
|
if (process) {
|
|
14
21
|
this.log('Agent stopped');
|
|
@@ -16,9 +23,7 @@ class Stop extends base_command_1.BaseCommand {
|
|
|
16
23
|
};
|
|
17
24
|
if (this.flags.all) {
|
|
18
25
|
const processes = await daemon.list();
|
|
19
|
-
await Promise.all(processes.map(
|
|
20
|
-
await stop(profile);
|
|
21
|
-
}));
|
|
26
|
+
await Promise.all(processes.map((process) => stop(process.profile)));
|
|
22
27
|
}
|
|
23
28
|
else {
|
|
24
29
|
await stop(this.flags.profile);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stop.js","sourceRoot":"","sources":["../../../../src/commands/agent/stop.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE
|
|
1
|
+
{"version":3,"file":"stop.js","sourceRoot":"","sources":["../../../../src/commands/agent/stop.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;AAEF,sCAAoC;AACpC,kDAA0B;AAE1B,qDAAiD;AAEjD,MAAqB,IAAK,SAAQ,0BAAwB;IAUxD,KAAK,CAAC,GAAG;QACP,OAAO,MAAM,IAAI,CAAC,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE;YAChD,MAAM,IAAI,GAAG,KAAK,EAAE,OAAe,EAAE,EAAE;gBACrC,IAAI,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE;oBACpB,IAAI,CAAC,GAAG,CAAC,IAAA,eAAK,EAAA,gCAAgC,OAAO,GAAG,CAAC,CAAC;iBAC3D;gBACD,MAAM,OAAO,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC;gBACxE,IAAI,OAAO,EAAE;oBACX,IAAI,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;iBAC3B;YACH,CAAC,CAAC;YAEF,IAAI,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE;gBAClB,MAAM,SAAS,GAAG,MAAM,MAAM,CAAC,IAAI,EAAE,CAAC;gBACtC,MAAM,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,OAAQ,CAAC,CAAC,CAAC,CAAC;aACvE;iBAAM;gBACL,MAAM,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;aAChC;QACH,CAAC,CAAC,CAAC;IACL,CAAC;;AA5Be,mBAAc,GAAG,IAAI,CAAC;AACtB,gBAAW,GAAG,oBAAoB,CAAC;AAEnC,UAAK,GAAG;IACtB,GAAG,0BAAW,CAAC,KAAK;IACpB,GAAG,EAAE,YAAK,CAAC,OAAO,CAAC,EAAE,WAAW,EAAE,kBAAkB,EAAE,CAAC;IACvD,KAAK,EAAE,YAAK,CAAC,OAAO,CAAC,EAAE,WAAW,EAAE,aAAa,EAAE,CAAC;CACrD,CAAC;kBARiB,IAAI"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dev-server.d.ts","sourceRoot":"","sources":["../../../../src/commands/function/dev-server.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,MAAM,CAAC,OAAO,OAAO,GAAI,SAAQ,WAAW,CAAC,OAAO,GAAG,CAAC;IACtD,OAAgB,cAAc,UAAQ;IACtC,OAAgB,WAAW,SAAyB;IACpD,OAAgB,OAAO,WAAoB;IAC3C,OAAgB,QAAQ;;;QAKtB;IAEF,OAAgB,KAAK;;;;;;;;;;MAInB;IAEI,GAAG,IAAI,OAAO,CAAC,GAAG,CAAC;
|
|
1
|
+
{"version":3,"file":"dev-server.d.ts","sourceRoot":"","sources":["../../../../src/commands/function/dev-server.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,MAAM,CAAC,OAAO,OAAO,GAAI,SAAQ,WAAW,CAAC,OAAO,GAAG,CAAC;IACtD,OAAgB,cAAc,UAAQ;IACtC,OAAgB,WAAW,SAAyB;IACpD,OAAgB,OAAO,WAAoB;IAC3C,OAAgB,QAAQ;;;QAKtB;IAEF,OAAgB,KAAK;;;;;;;;;;MAInB;IAEI,GAAG,IAAI,OAAO,CAAC,GAAG,CAAC;CA2C1B"}
|
|
@@ -37,14 +37,14 @@ class Dev extends base_command_1.BaseCommand {
|
|
|
37
37
|
const endpoint = `http://localhost:${(_f = (_e = (_d = config.values.runtime) === null || _d === void 0 ? void 0 : _d.agent) === null || _e === void 0 ? void 0 : _e.functions) === null || _f === void 0 ? void 0 : _f.port}`;
|
|
38
38
|
const triggers = new functions_1.TriggerManager(client, functionsManifest.triggers, { runtime: 'dev', endpoint });
|
|
39
39
|
await triggers.start();
|
|
40
|
-
this.log(`
|
|
40
|
+
this.log(`Function dev-server: ${server.endpoint} (ctrl-c to exit)`);
|
|
41
41
|
process.on('SIGINT', async () => {
|
|
42
42
|
await triggers.start();
|
|
43
43
|
await server.stop();
|
|
44
44
|
process.exit();
|
|
45
45
|
});
|
|
46
46
|
if (this.flags.verbose) {
|
|
47
|
-
this.log((0, chalk_1.default) `{green
|
|
47
|
+
this.log((0, chalk_1.default) `{green Function endpoints: ${endpoint}\n${server.functions.map((name) => `- ${name}`).join('\n')}}`);
|
|
48
48
|
}
|
|
49
49
|
// Wait until exit (via SIGINT).
|
|
50
50
|
await new Promise(() => { });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dev-server.js","sourceRoot":"","sources":["../../../../src/commands/function/dev-server.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;AAEF,sCAAoC;AACpC,kDAA0B;AAC1B,qCAA+B;AAC/B,8DAAiC;AACjC,+CAA4C;AAC5C,yCAAiC;AAEjC,yCAA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,GAAE,CAAC,CAAC,CAAC;QAC9B,CAAC,CAAC,CAAC;IACL,CAAC;;AA1De,kBAAc,GAAG,IAAI,CAAC;AACtB,eAAW,GAAG,qBAAqB,CAAC;AACpC,WAAO,GAAG,CAAC,cAAc,CAAC,CAAC;AAC3B,YAAQ,GAAG;IACzB;QACE,WAAW,EAAE,8BAA8B;QAC3C,OAAO,EAAE,sDAAsD;KAChE;CACF,CAAC;AAEc,SAAK,GAAG;IACtB,GAAG,0BAAW,CAAC,KAAK;IACpB,OAAO,EAAE,YAAK,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,EAAE,OAAO,EAAE,CAAC,kBAAkB,CAAC,EAAE,CAAC;IACxF,QAAQ,EAAE,YAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,eAAe,EAAE,CAAC;CACrD,CAAC;kBAfiB,GAAG"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"DX_ENVIRONMENT": "staging",
|
|
3
|
-
"DX_RELEASE": "@dxos/cli@0.1.53-
|
|
3
|
+
"DX_RELEASE": "@dxos/cli@0.1.53-next.5db05ba",
|
|
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.1.53-
|
|
2
|
+
"version": "0.1.53-next.5db05ba",
|
|
3
3
|
"commands": {
|
|
4
4
|
"agent:list": {
|
|
5
5
|
"id": "agent:list",
|
|
@@ -82,8 +82,7 @@
|
|
|
82
82
|
"json": {
|
|
83
83
|
"name": "json",
|
|
84
84
|
"type": "boolean",
|
|
85
|
-
"description": "
|
|
86
|
-
"helpGroup": "GLOBAL",
|
|
85
|
+
"description": "Output as JSON.",
|
|
87
86
|
"allowNo": false
|
|
88
87
|
},
|
|
89
88
|
"dry-run": {
|
|
@@ -135,6 +134,12 @@
|
|
|
135
134
|
"aliases": [
|
|
136
135
|
"t"
|
|
137
136
|
]
|
|
137
|
+
},
|
|
138
|
+
"force": {
|
|
139
|
+
"name": "force",
|
|
140
|
+
"type": "boolean",
|
|
141
|
+
"description": "Force restart.",
|
|
142
|
+
"allowNo": false
|
|
138
143
|
}
|
|
139
144
|
},
|
|
140
145
|
"args": {}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/cli",
|
|
3
|
-
"version": "0.1.53-
|
|
3
|
+
"version": "0.1.53-next.5db05ba",
|
|
4
4
|
"description": "DXOS CLI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dxos",
|
|
@@ -47,26 +47,26 @@
|
|
|
47
47
|
"tiny-invariant": "^1.3.1",
|
|
48
48
|
"uuid": "^8.3.2",
|
|
49
49
|
"ws": "^7.4.4",
|
|
50
|
-
"@dxos/agent": "0.1.53-
|
|
51
|
-
"@dxos/async": "0.1.53-
|
|
52
|
-
"@dxos/bare-template": "0.1.53-
|
|
53
|
-
"@dxos/client": "0.1.53-
|
|
54
|
-
"@dxos/client-protocol": "0.1.53-
|
|
55
|
-
"@dxos/codec-protobuf": "0.1.53-
|
|
56
|
-
"@dxos/config": "0.1.53-
|
|
57
|
-
"@dxos/context": "0.1.53-
|
|
58
|
-
"@dxos/debug": "0.1.53-
|
|
59
|
-
"@dxos/functions": "0.1.53-
|
|
60
|
-
"@dxos/hello-template": "0.1.53-
|
|
61
|
-
"@dxos/log": "0.1.53-
|
|
62
|
-
"@dxos/plate": "0.1.53-
|
|
63
|
-
"@dxos/protocols": "0.1.53-
|
|
64
|
-
"@dxos/
|
|
65
|
-
"@dxos/
|
|
66
|
-
"@dxos/tasks-template": "0.1.53-
|
|
67
|
-
"@dxos/telemetry": "0.1.53-
|
|
68
|
-
"@dxos/util": "0.1.53-
|
|
69
|
-
"@dxos/websocket-rpc": "0.1.53-
|
|
50
|
+
"@dxos/agent": "0.1.53-next.5db05ba",
|
|
51
|
+
"@dxos/async": "0.1.53-next.5db05ba",
|
|
52
|
+
"@dxos/bare-template": "0.1.53-next.5db05ba",
|
|
53
|
+
"@dxos/client": "0.1.53-next.5db05ba",
|
|
54
|
+
"@dxos/client-protocol": "0.1.53-next.5db05ba",
|
|
55
|
+
"@dxos/codec-protobuf": "0.1.53-next.5db05ba",
|
|
56
|
+
"@dxos/config": "0.1.53-next.5db05ba",
|
|
57
|
+
"@dxos/context": "0.1.53-next.5db05ba",
|
|
58
|
+
"@dxos/debug": "0.1.53-next.5db05ba",
|
|
59
|
+
"@dxos/functions": "0.1.53-next.5db05ba",
|
|
60
|
+
"@dxos/hello-template": "0.1.53-next.5db05ba",
|
|
61
|
+
"@dxos/log": "0.1.53-next.5db05ba",
|
|
62
|
+
"@dxos/plate": "0.1.53-next.5db05ba",
|
|
63
|
+
"@dxos/protocols": "0.1.53-next.5db05ba",
|
|
64
|
+
"@dxos/sentry": "0.1.53-next.5db05ba",
|
|
65
|
+
"@dxos/rpc": "0.1.53-next.5db05ba",
|
|
66
|
+
"@dxos/tasks-template": "0.1.53-next.5db05ba",
|
|
67
|
+
"@dxos/telemetry": "0.1.53-next.5db05ba",
|
|
68
|
+
"@dxos/util": "0.1.53-next.5db05ba",
|
|
69
|
+
"@dxos/websocket-rpc": "0.1.53-next.5db05ba"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@oclif/test": "^2.3.31",
|