@vm0/cli 9.96.1 → 9.97.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/{chunk-IY5MFRXW.js → chunk-LSHAPITU.js} +75 -12
- package/chunk-LSHAPITU.js.map +1 -0
- package/index.js +30 -22
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/zero.js +6 -7
- package/zero.js.map +1 -1
- package/chunk-IY5MFRXW.js.map +0 -1
package/package.json
CHANGED
package/zero.js
CHANGED
|
@@ -108,7 +108,7 @@ import {
|
|
|
108
108
|
updateZeroUserPreferences,
|
|
109
109
|
upsertZeroOrgModelProvider,
|
|
110
110
|
withErrorHandler
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-LSHAPITU.js";
|
|
112
112
|
|
|
113
113
|
// src/zero.ts
|
|
114
114
|
import { Command as Command73 } from "commander";
|
|
@@ -4180,17 +4180,17 @@ Examples:
|
|
|
4180
4180
|
})
|
|
4181
4181
|
);
|
|
4182
4182
|
const header = [
|
|
4183
|
-
"RUN ID".padEnd(
|
|
4183
|
+
"RUN ID".padEnd(38),
|
|
4184
4184
|
"AGENT".padEnd(nameCol),
|
|
4185
4185
|
"STATUS".padEnd(statusCol),
|
|
4186
4186
|
"CREATED"
|
|
4187
4187
|
].join(" ");
|
|
4188
4188
|
console.log(chalk54.dim(header));
|
|
4189
4189
|
for (const entry of result.data) {
|
|
4190
|
-
const
|
|
4190
|
+
const runId = entry.id;
|
|
4191
4191
|
const name = entry.displayName || entry.agentId || "-";
|
|
4192
4192
|
const row = [
|
|
4193
|
-
|
|
4193
|
+
runId.padEnd(38),
|
|
4194
4194
|
name.padEnd(nameCol),
|
|
4195
4195
|
formatStatus(entry.status).padEnd(statusCol),
|
|
4196
4196
|
formatTime(entry.createdAt)
|
|
@@ -4222,9 +4222,8 @@ function renderEvent(event, renderer) {
|
|
|
4222
4222
|
}
|
|
4223
4223
|
}
|
|
4224
4224
|
function formatRunHeader(runId, agentName, timestamp) {
|
|
4225
|
-
const shortId = runId.slice(0, 8);
|
|
4226
4225
|
const time = new Date(timestamp).toISOString().replace(/\.\d{3}Z$/, "Z");
|
|
4227
|
-
return `\u2500\u2500 Run ${
|
|
4226
|
+
return `\u2500\u2500 Run ${runId} (${agentName}, ${time}) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500`;
|
|
4228
4227
|
}
|
|
4229
4228
|
function parseContextOptions(options) {
|
|
4230
4229
|
const contextN = options.context ? parseInt(options.context, 10) : 0;
|
|
@@ -4479,7 +4478,7 @@ function registerZeroCommands(prog, commands) {
|
|
|
4479
4478
|
var program = new Command73();
|
|
4480
4479
|
program.name("zero").description(
|
|
4481
4480
|
"Zero CLI \u2014 interact with the zero platform from inside the sandbox"
|
|
4482
|
-
).version("9.
|
|
4481
|
+
).version("9.97.1").addHelpText(
|
|
4483
4482
|
"after",
|
|
4484
4483
|
`
|
|
4485
4484
|
Examples:
|