@proagentstore/cli 0.1.10 → 0.1.11

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 +2 -9
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1022,18 +1022,11 @@ var upCommand = new Command7("up").description("Start the browser runner for all
1022
1022
  Connecting runner to: ${target.name || target.id.slice(0, 8)}...`);
1023
1023
  const { spawn: spawn3 } = await import("child_process");
1024
1024
  const cliPath = process.argv[1];
1025
- const args = [
1026
- cliPath,
1027
- "runner",
1028
- "connect",
1029
- target.id,
1030
- "--pags-token",
1031
- session.token
1032
- ];
1025
+ const args = [cliPath, "runner", "connect", target.id];
1033
1026
  if (opts.headless) args.push("--headless");
1034
1027
  const child = spawn3(process.execPath, args, {
1035
1028
  stdio: "inherit",
1036
- env: process.env
1029
+ env: { ...process.env, PAGS_TOKEN: session.token }
1037
1030
  });
1038
1031
  child.on("exit", (code) => {
1039
1032
  process.exit(code || 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proagentstore/cli",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "CLI for creating, publishing, and running ProAgentStore agents",
5
5
  "license": "MIT",
6
6
  "type": "module",