@vm0/cli 1.8.1 → 1.9.0
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/index.js +5 -5
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -13024,7 +13024,7 @@ function collectVars(value, previous) {
|
|
|
13024
13024
|
function isUUID(str) {
|
|
13025
13025
|
return /^[0-9a-f-]{36}$/i.test(str);
|
|
13026
13026
|
}
|
|
13027
|
-
var DEFAULT_TIMEOUT_SECONDS =
|
|
13027
|
+
var DEFAULT_TIMEOUT_SECONDS = 120;
|
|
13028
13028
|
async function pollEvents(runId, timeoutSeconds) {
|
|
13029
13029
|
let nextSequence = -1;
|
|
13030
13030
|
let complete = false;
|
|
@@ -13075,7 +13075,7 @@ var runCmd = new Command2().name("run").description("Execute an agent").argument
|
|
|
13075
13075
|
"Artifact version hash (defaults to latest)"
|
|
13076
13076
|
).option(
|
|
13077
13077
|
"-t, --timeout <seconds>",
|
|
13078
|
-
"Polling timeout in seconds (default:
|
|
13078
|
+
"Polling timeout in seconds (default: 120)",
|
|
13079
13079
|
String(DEFAULT_TIMEOUT_SECONDS)
|
|
13080
13080
|
).action(
|
|
13081
13081
|
async (identifier, prompt, options) => {
|
|
@@ -13166,7 +13166,7 @@ var runCmd = new Command2().name("run").description("Execute an agent").argument
|
|
|
13166
13166
|
);
|
|
13167
13167
|
runCmd.command("resume").description("Resume an agent run from a checkpoint (uses all snapshot data)").argument("<checkpointId>", "Checkpoint ID to resume from").argument("<prompt>", "Prompt for the resumed agent").option(
|
|
13168
13168
|
"-t, --timeout <seconds>",
|
|
13169
|
-
"Polling timeout in seconds (default:
|
|
13169
|
+
"Polling timeout in seconds (default: 120)",
|
|
13170
13170
|
String(DEFAULT_TIMEOUT_SECONDS)
|
|
13171
13171
|
).action(
|
|
13172
13172
|
async (checkpointId, prompt, options) => {
|
|
@@ -13219,7 +13219,7 @@ runCmd.command("continue").description(
|
|
|
13219
13219
|
"Continue an agent run from a session (uses latest artifact version)"
|
|
13220
13220
|
).argument("<agentSessionId>", "Agent session ID to continue from").argument("<prompt>", "Prompt for the continued agent").option(
|
|
13221
13221
|
"-t, --timeout <seconds>",
|
|
13222
|
-
"Polling timeout in seconds (default:
|
|
13222
|
+
"Polling timeout in seconds (default: 120)",
|
|
13223
13223
|
String(DEFAULT_TIMEOUT_SECONDS)
|
|
13224
13224
|
).action(
|
|
13225
13225
|
async (agentSessionId, prompt, options) => {
|
|
@@ -13900,7 +13900,7 @@ var artifactCommand = new Command10().name("artifact").description("Manage cloud
|
|
|
13900
13900
|
|
|
13901
13901
|
// src/index.ts
|
|
13902
13902
|
var program = new Command11();
|
|
13903
|
-
program.name("vm0").description("VM0 CLI - A modern build tool").version("
|
|
13903
|
+
program.name("vm0").description("VM0 CLI - A modern build tool").version("1.9.0");
|
|
13904
13904
|
program.command("hello").description("Say hello from the App").action(() => {
|
|
13905
13905
|
console.log(chalk11.blue("Welcome to the VM0 CLI!"));
|
|
13906
13906
|
console.log(chalk11.green(`Core says: ${FOO}`));
|