@proagentstore/cli 0.1.11 → 0.1.13
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/index.js +9 -12
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -848,8 +848,6 @@ function createRunnerCommand() {
|
|
|
848
848
|
setTimeout(() => reject(new Error("timed out waiting for cloudflared tunnel URL")), 45e3).unref();
|
|
849
849
|
});
|
|
850
850
|
writeLine(`Tunnel ready: ${tunnelUrl}`);
|
|
851
|
-
await waitForLocalRunner({ url: tunnelUrl, token: runnerToken, instanceId }, 3e4);
|
|
852
|
-
writeLine("Tunnel health check passed");
|
|
853
851
|
const capabilities = await requestRunner("GET", "/capabilities", {
|
|
854
852
|
url: tunnelUrl,
|
|
855
853
|
token: runnerToken,
|
|
@@ -862,16 +860,15 @@ function createRunnerCommand() {
|
|
|
862
860
|
capabilities: Array.isArray(capabilities.capabilities) ? capabilities.capabilities.filter((item) => typeof item === "string") : [],
|
|
863
861
|
runnerVersion: clean(opts.runnerVersion) || ""
|
|
864
862
|
});
|
|
865
|
-
writeLine(
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
writeLine("Connected. Keep this process running while the agent uses your FAGS browser runtime.");
|
|
863
|
+
writeLine("Runtime registered with PAGS \u2713");
|
|
864
|
+
writeLine("");
|
|
865
|
+
writeLine("\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550");
|
|
866
|
+
writeLine(" \u2705 CONNECTED \u2014 Browser runner is live");
|
|
867
|
+
writeLine(` Instance: ${instanceId.slice(0, 8)}...`);
|
|
868
|
+
writeLine(` Tunnel: ${tunnelUrl}`);
|
|
869
|
+
writeLine(" The agent can now submit applications via browser.");
|
|
870
|
+
writeLine(" Keep this terminal open. Press Ctrl+C to disconnect.");
|
|
871
|
+
writeLine("\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550");
|
|
875
872
|
await new Promise((resolvePromise) => {
|
|
876
873
|
runner.on("exit", () => resolvePromise());
|
|
877
874
|
tunnel?.on("exit", () => resolvePromise());
|