@proagentstore/cli 0.4.18 → 0.4.19

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 +10 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1244,11 +1244,20 @@ var upCommand = new Command7("up").description("Start the browser runner for all
1244
1244
  process.exit(1);
1245
1245
  }
1246
1246
  const data = await res.json();
1247
- let instances = (data.instances || []).filter((i) => i.status === "active");
1247
+ const active = (data.instances || []).filter((i) => i.status === "active");
1248
+ let instances = active;
1248
1249
  if (opts.instance) {
1249
1250
  instances = instances.filter((i) => i.id === opts.instance || i.slug === opts.instance);
1251
+ } else {
1252
+ instances = instances.filter((i) => i.capabilities?.runtime != null);
1250
1253
  }
1251
1254
  if (instances.length === 0) {
1255
+ if (!opts.instance && active.length > 0) {
1256
+ printStep("None of your agents need a local runner", "ok");
1257
+ writeLine(" They run in the cloud (chat, knowledge, connectors) \u2014 nothing to connect here.");
1258
+ writeLine(" Only coding (Coder) and browser agents (e.g. Job Application Assistant) use `pags up`.");
1259
+ process.exit(0);
1260
+ }
1252
1261
  printStep("No active instances found", "fail");
1253
1262
  writeLine(" Subscribe to an agent at https://proagentstore.online");
1254
1263
  process.exit(1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proagentstore/cli",
3
- "version": "0.4.18",
3
+ "version": "0.4.19",
4
4
  "description": "CLI for creating, publishing, and running ProAgentStore agents",
5
5
  "license": "MIT",
6
6
  "type": "module",