agental 0.43.0 → 0.43.2

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/cli.js +5 -2
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -7411,7 +7411,7 @@ import { parseArgs } from "node:util";
7411
7411
 
7412
7412
  // ../src/cli-build.ts
7413
7413
  var PUBLISHED = true;
7414
- var CLI_VERSION = true ? "0.43.0" : "dev";
7414
+ var CLI_VERSION = true ? "0.43.2" : "dev";
7415
7415
  var DEFAULT_API_URL = true ? "https://agental.io" : "http://127.0.0.1:8741";
7416
7416
  var PACKAGE_NAME = "agental";
7417
7417
  var USER_AGENT = `agental-cli/${CLI_VERSION}`;
@@ -7990,11 +7990,14 @@ function canDoOf(key2, full) {
7990
7990
  return everything ? `${named}everything, and any action added later` : `${named}${key2.actions.join(", ")}`;
7991
7991
  }
7992
7992
  function reachOf(key2, full) {
7993
+ if (key2.madeOnly === true) {
7994
+ return full ? "only the sandboxes it made, and their snapshots" : "only what it made";
7995
+ }
7993
7996
  if (key2.sandboxIds.length === 0 && key2.templateIds.length === 0) {
7994
7997
  return key2.seesAll ? "every account" : "all of the account";
7995
7998
  }
7996
- const sandboxes2 = key2.sandboxIds;
7997
7999
  const templates2 = key2.templateIds;
8000
+ const sandboxes2 = templates2.length > 0 ? [] : key2.sandboxIds;
7998
8001
  if (!full) {
7999
8002
  const one = (ids, noun) => ids.length === 1 ? `${noun} ${ids[0]}` : `${ids.length} ${noun}s`;
8000
8003
  return [...sandboxes2.length > 0 ? [one(sandboxes2, "sandbox")] : [], ...templates2.length > 0 ? [one(templates2, "template")] : []].join(", ");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agental",
3
- "version": "0.43.0",
3
+ "version": "0.43.2",
4
4
  "description": "The agental command: Linux sandboxes for your agents, from the terminal. npx agental@latest signs you in and installs the agent skills.",
5
5
  "license": "MIT",
6
6
  "author": "VERTIXER LTD",