@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.
Files changed (2) hide show
  1. package/dist/index.js +9 -12
  2. 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(JSON.stringify(result, null, 2));
866
- if (!opts.skipProbe) {
867
- const status = await requestPags(
868
- "GET",
869
- `/v1/instances/${apiPathSegment(instanceId)}/runtime/status`,
870
- opts
871
- );
872
- writeLine(JSON.stringify(status, null, 2));
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());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proagentstore/cli",
3
- "version": "0.1.11",
3
+ "version": "0.1.13",
4
4
  "description": "CLI for creating, publishing, and running ProAgentStore agents",
5
5
  "license": "MIT",
6
6
  "type": "module",