cumora 0.1.41 → 0.1.42
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.js +1 -3
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -275,8 +275,7 @@ async function doPair(code, serverUrl) {
|
|
|
275
275
|
{ method: "POST", body: JSON.stringify({ code, hostName: await detectHostName(), engines }) }
|
|
276
276
|
);
|
|
277
277
|
await saveConfig({ serverUrl, computerId: paired.computerId, deviceToken: paired.deviceToken });
|
|
278
|
-
console.log(`[computer] paired as ${paired.computerId} (engines: ${engines.join(", ") || "none"})`);
|
|
279
|
-
console.log(`[computer] run \`npx cumora agent computer\` to start hosting your agents.`);
|
|
278
|
+
console.log(`[computer] paired as ${paired.computerId} (engines: ${engines.join(", ") || "none"}) \u2014 starting\u2026`);
|
|
280
279
|
}
|
|
281
280
|
var AgentRunner = class {
|
|
282
281
|
constructor(cfg, agent, engine) {
|
|
@@ -488,7 +487,6 @@ async function runComputerDaemon(argv) {
|
|
|
488
487
|
const serverUrl = (args.server || DEFAULT_SERVER).replace(/\/+$/, "");
|
|
489
488
|
if (args.pair) {
|
|
490
489
|
await doPair(args.pair, serverUrl);
|
|
491
|
-
return;
|
|
492
490
|
}
|
|
493
491
|
await doRun(args.server ? serverUrl : void 0);
|
|
494
492
|
}
|