bdy 1.17.26-dev → 1.17.27-dev
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/distTs/package.json
CHANGED
|
@@ -75,7 +75,7 @@ const installService = async (options) => {
|
|
|
75
75
|
const { token, host } = await input_1.default.tunnelToken(addToken);
|
|
76
76
|
const port = input_1.default.port(options.port);
|
|
77
77
|
const target = !!options.target;
|
|
78
|
-
const tunneling = !!options.
|
|
78
|
+
const tunneling = !!options.tunnels;
|
|
79
79
|
const proxy = !!options.proxy;
|
|
80
80
|
let agent;
|
|
81
81
|
if (id) {
|
|
@@ -155,7 +155,7 @@ const installApp = async (options) => {
|
|
|
155
155
|
const tags = prepareTags(options.tag);
|
|
156
156
|
try {
|
|
157
157
|
output_1.default.normal(texts_1.TXT_AGENT_STANDALONE_AGENT_REGISTERING, false);
|
|
158
|
-
const agent = await buddy_1.default.register(true, !!options.target, !!options.
|
|
158
|
+
const agent = await buddy_1.default.register(true, !!options.target, !!options.tunnels, !!options.proxy, host, token, tags, (region) => {
|
|
159
159
|
cfg_1.default.setRegionIfNotSet(region);
|
|
160
160
|
});
|
|
161
161
|
logger_1.default.info(texts_1.TXT_AGENT_STANDALONE_AGENT_REGISTERED);
|
|
@@ -214,7 +214,7 @@ commandAgentInstall.option('-a,--app', texts_1.OPTION_APP);
|
|
|
214
214
|
commandAgentInstall.option('--pass <password>', texts_1.OPTION_PASS);
|
|
215
215
|
commandAgentInstall.option('--target', texts_1.OPTION_AGENT_TARGET);
|
|
216
216
|
commandAgentInstall.option('--proxy', texts_1.OPTION_AGENT_PROXY);
|
|
217
|
-
commandAgentInstall.option('--
|
|
217
|
+
commandAgentInstall.option('--no-tunnels', texts_1.OPTION_AGENT_TUNNELING);
|
|
218
218
|
commandAgentInstall.option('--tag <tag...>', texts_1.OPTION_AGENT_TAG);
|
|
219
219
|
commandAgentInstall.option('-d, --debug', texts_1.OPTION_AGENT_DEBUG);
|
|
220
220
|
commandAgentInstall.action(async (options) => {
|
package/distTs/src/texts.js
CHANGED
|
@@ -379,7 +379,7 @@ exports.OPTION_APP = 'Starts bdy agent as standalone process';
|
|
|
379
379
|
exports.OPTION_PASS = 'Password of the user. Only set for Windows';
|
|
380
380
|
exports.OPTION_AGENT_TARGET = 'Makes the agent available as a target';
|
|
381
381
|
exports.OPTION_AGENT_PROXY = 'Makes the agent available as a proxy';
|
|
382
|
-
exports.OPTION_AGENT_TUNNELING = '
|
|
382
|
+
exports.OPTION_AGENT_TUNNELING = 'Stop all tunnels from working in agent';
|
|
383
383
|
exports.OPTION_AGENT_TAG = 'Tag agent. Can be passed multiple times';
|
|
384
384
|
exports.OPTION_AGENT_PORT = 'Agent API port';
|
|
385
385
|
exports.OPTION_AGENT_DEBUG = 'Turns on debug mode';
|