agental 0.4.0 → 0.4.1
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/cli.js +3 -3
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -46,7 +46,7 @@ import { parseArgs } from "node:util";
|
|
|
46
46
|
|
|
47
47
|
// ../src/cli-build.ts
|
|
48
48
|
var PUBLISHED = true;
|
|
49
|
-
var CLI_VERSION = true ? "0.4.
|
|
49
|
+
var CLI_VERSION = true ? "0.4.1" : "dev";
|
|
50
50
|
var DEFAULT_API_URL = true ? "https://agental.io" : "http://127.0.0.1:8741";
|
|
51
51
|
var PACKAGE_NAME = "agental";
|
|
52
52
|
var USER_AGENT = `agental-cli/${CLI_VERSION}`;
|
|
@@ -3309,7 +3309,7 @@ async function lifecycle(action, id, headers = {}, sent) {
|
|
|
3309
3309
|
`);
|
|
3310
3310
|
if (action === "start" && response.status === 202) {
|
|
3311
3311
|
const archived = Boolean(body) && typeof body === "object" && body["archived"] === true;
|
|
3312
|
-
const why = archived ? "it is archived and is being brought back, which takes as long as its disk is large" : "its machine was being archived
|
|
3312
|
+
const why = archived ? "it is archived and is being brought back, which takes as long as its disk is large" : "its machine was being archived, and is started as soon as that has ended";
|
|
3313
3313
|
process.stderr.write(
|
|
3314
3314
|
`Start was accepted. ${id} is restoring: ${why}. It is running when agental list says so. If list shows it stopped again, the start failed, and agental list --json has its error.
|
|
3315
3315
|
`
|
|
@@ -5203,7 +5203,7 @@ ssh opens a shell in a running sandbox, or runs a command there, with the ssh th
|
|
|
5203
5203
|
here. It turns SSH on for the sandbox, which opens a port of the server the sandbox is on, lets
|
|
5204
5204
|
in a key of its own, ~/.ssh/agental_ed25519, which it makes when there is none, and connects
|
|
5205
5205
|
where the API says. It accepts only the host key the API says the sandbox has. A shell whose
|
|
5206
|
-
connection is lost, as it is when the sandbox
|
|
5206
|
+
connection is lost, as it is when the sandbox stops and starts again, is opened again
|
|
5207
5207
|
where the sandbox is by then. With --tmux it is the same shell, kept in a tmux session in the
|
|
5208
5208
|
sandbox. A command is run once and not again. scp copies files the same way, with the
|
|
5209
5209
|
sandbox's side written <sandbox-id>:<path>. ssh-config prints a Host block for ~/.ssh/config,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agental",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
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",
|