@sagentlab/navarch-runtime 0.1.135 → 0.1.136
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/dist/cli.cjs +3 -0
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.main = main;
|
|
7
7
|
const config_cjs_1 = require("./config.cjs");
|
|
8
8
|
const node_crypto_1 = require("node:crypto");
|
|
9
|
+
const node_os_1 = __importDefault(require("node:os"));
|
|
9
10
|
const node_path_1 = __importDefault(require("node:path"));
|
|
10
11
|
const machine_store_cjs_1 = require("./machine-store.cjs");
|
|
11
12
|
const api_cjs_1 = require("./api.cjs");
|
|
@@ -181,6 +182,7 @@ async function registerCommand(flags) {
|
|
|
181
182
|
owner_zone: ownerZone,
|
|
182
183
|
capabilities,
|
|
183
184
|
max_sessions: Number.isFinite(maxSessions) && maxSessions > 0 ? maxSessions : config.maxSessions,
|
|
185
|
+
hostname: node_os_1.default.hostname(),
|
|
184
186
|
});
|
|
185
187
|
await (0, machine_store_cjs_1.saveMachineIdentity)(config.configDir, {
|
|
186
188
|
machine_id: result.machine_id,
|
|
@@ -232,6 +234,7 @@ async function connectCommand(flags) {
|
|
|
232
234
|
capabilities,
|
|
233
235
|
max_sessions: Number.isFinite(maxSessions) && maxSessions > 0 ? maxSessions : config.maxSessions,
|
|
234
236
|
project_id: projectId,
|
|
237
|
+
hostname: node_os_1.default.hostname(),
|
|
235
238
|
});
|
|
236
239
|
await (0, machine_store_cjs_1.saveMachineIdentity)(config.configDir, {
|
|
237
240
|
machine_id: result.machine_id,
|
package/package.json
CHANGED