@vm0/cli 3.2.2 → 3.3.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 +8 -4
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -12678,13 +12678,17 @@ var buildCommand = new Command().name("build").description("Create or update age
|
|
|
12678
12678
|
process.exit(1);
|
|
12679
12679
|
}
|
|
12680
12680
|
console.log(chalk2.blue("Uploading compose..."));
|
|
12681
|
-
const response = await apiClient.createOrUpdateCompose({
|
|
12681
|
+
const response = await apiClient.createOrUpdateCompose({
|
|
12682
|
+
content: config2
|
|
12683
|
+
});
|
|
12684
|
+
const shortVersionId = response.versionId.slice(0, 8);
|
|
12682
12685
|
if (response.action === "created") {
|
|
12683
12686
|
console.log(chalk2.green(`\u2713 Compose created: ${response.name}`));
|
|
12684
12687
|
} else {
|
|
12685
|
-
console.log(chalk2.green(`\u2713 Compose
|
|
12688
|
+
console.log(chalk2.green(`\u2713 Compose version exists: ${response.name}`));
|
|
12686
12689
|
}
|
|
12687
12690
|
console.log(chalk2.gray(` Compose ID: ${response.composeId}`));
|
|
12691
|
+
console.log(chalk2.gray(` Version: ${shortVersionId}`));
|
|
12688
12692
|
console.log();
|
|
12689
12693
|
console.log(" Run your agent:");
|
|
12690
12694
|
console.log(
|
|
@@ -12828,7 +12832,7 @@ var ClaudeEventParser = class {
|
|
|
12828
12832
|
// Use client receive time for consistent elapsed calculation
|
|
12829
12833
|
data: {
|
|
12830
12834
|
runId: event.runId,
|
|
12831
|
-
|
|
12835
|
+
agentComposeVersionId: event.agentComposeVersionId,
|
|
12832
12836
|
agentName: event.agentName,
|
|
12833
12837
|
prompt: event.prompt,
|
|
12834
12838
|
templateVars: event.templateVars,
|
|
@@ -14136,7 +14140,7 @@ var artifactCommand = new Command10().name("artifact").description("Manage cloud
|
|
|
14136
14140
|
|
|
14137
14141
|
// src/index.ts
|
|
14138
14142
|
var program = new Command11();
|
|
14139
|
-
program.name("vm0").description("VM0 CLI - A modern build tool").version("3.
|
|
14143
|
+
program.name("vm0").description("VM0 CLI - A modern build tool").version("3.3.0");
|
|
14140
14144
|
program.command("hello").description("Say hello from the App").action(() => {
|
|
14141
14145
|
console.log(chalk11.blue("Welcome to the VM0 CLI!"));
|
|
14142
14146
|
console.log(chalk11.green(`Core says: ${FOO}`));
|