@oussema_mili/test-pkg-123 1.1.45 → 1.1.46
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/cli-commands.js +2 -2
- package/daemon/agentRunner.js +0 -2
- package/package.json +1 -1
package/cli-commands.js
CHANGED
|
@@ -493,7 +493,7 @@ function setupCLICommands(program, startServerFunction) {
|
|
|
493
493
|
} else {
|
|
494
494
|
console.log(chalk.yellow("Status: Not Running"));
|
|
495
495
|
console.log(chalk.gray("\nTo start the agent, run:"));
|
|
496
|
-
console.log(chalk.cyan(" fenwave service start"));
|
|
496
|
+
console.log(chalk.cyan(" fenwave service start or fenwave service run"));
|
|
497
497
|
}
|
|
498
498
|
|
|
499
499
|
console.log("");
|
|
@@ -768,7 +768,7 @@ function setupCLICommands(program, startServerFunction) {
|
|
|
768
768
|
} else {
|
|
769
769
|
console.log(chalk.yellow("Agent: Not Running"));
|
|
770
770
|
console.log(
|
|
771
|
-
chalk.gray(' Run "fenwave service start" to start the agent'),
|
|
771
|
+
chalk.gray(' Run "fenwave service start" or "fenwave service run" to start the agent'),
|
|
772
772
|
);
|
|
773
773
|
}
|
|
774
774
|
|
package/daemon/agentRunner.js
CHANGED
|
@@ -428,14 +428,12 @@ export async function runAgent(options = {}) {
|
|
|
428
428
|
};
|
|
429
429
|
|
|
430
430
|
// Now that WebSocket is bound, start container (so it cannot take the WS port)
|
|
431
|
-
log('Starting container (after WebSocket bind)...');
|
|
432
431
|
let actualContainerPort = preferredContainerPort;
|
|
433
432
|
try {
|
|
434
433
|
actualContainerPort = await containerManager.startContainer({
|
|
435
434
|
wsPort: actualPort,
|
|
436
435
|
containerPort: preferredContainerPort,
|
|
437
436
|
});
|
|
438
|
-
log(`Container started successfully on port ${actualContainerPort}`);
|
|
439
437
|
} catch (containerError) {
|
|
440
438
|
log(`Failed to start container: ${containerError.message}`, 'warn');
|
|
441
439
|
log('Continuing without container...');
|