@engini/cli 0.33.0 → 0.34.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/README.md +3 -0
- package/dist/cli.js +5 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -58,6 +58,9 @@ drains every page of a step's recorded payloads unless `--top` is given (`--offs
|
|
|
58
58
|
at 300 characters; the full connector error body is in `executions data <id> <step> --type response`).
|
|
59
59
|
On a terminal the log prints as a table with each failed step's error under it; piped or with
|
|
60
60
|
`--json` it stays the plain snake_case array.
|
|
61
|
+
`executions data --type status` entries carry `duration` (active seconds of that one iteration or
|
|
62
|
+
retry attempt, set once its status is final; absent on request/response/input entries and while it
|
|
63
|
+
is still running). The step-level `duration` in `executions log` is the cumulative sum.
|
|
61
64
|
Note the difference from `triggers list`: that prints a bare JSON array, while `executions list`
|
|
62
65
|
prints one page as an object (use `--all` to drain, still as the object).
|
|
63
66
|
|
package/dist/cli.js
CHANGED
|
@@ -465,7 +465,7 @@ function saveConfig(config, path = configPath()) {
|
|
|
465
465
|
}
|
|
466
466
|
|
|
467
467
|
// src/version.ts
|
|
468
|
-
var VERSION = true ? "0.
|
|
468
|
+
var VERSION = true ? "0.34.0" : "0.0.0";
|
|
469
469
|
|
|
470
470
|
// src/http.ts
|
|
471
471
|
var USER_AGENT_PREFIX = `engini-cli/${VERSION}`;
|
|
@@ -5336,7 +5336,10 @@ function registerExecutions(program) {
|
|
|
5336
5336
|
await runCommand(command, opts, false, () => logBody(id));
|
|
5337
5337
|
});
|
|
5338
5338
|
const data = executions.command("data").description("Recorded request / response / input / status payloads of one step.").argument("[execution_id]", "Execution id").argument("[step_no]", "Step number from `executions log`").option("--type <kind>", "request | response | input | status").option("--loop-path <step:iteration>", "Loop position, repeat per nesting level, outermost first", collect4).option("--run-number <n>", "Only this run of the step").option("--retry-no <n>", "Only this retry attempt").option("--status <status>", "Only payloads recorded at this step status").option("--top <n>", "One page of at most n entries (server cap 10); default drains every page").option("--offset <n>", "With --top: skip n entries");
|
|
5339
|
-
data.addHelpText(
|
|
5339
|
+
data.addHelpText(
|
|
5340
|
+
"after",
|
|
5341
|
+
"\nExamples:\n engini executions data 4567 3 --type response --json\n engini executions data 4567 3 --type status --json\nduration: status entries only - active seconds of that iteration or retry attempt, set once its\n status is final (absent on request/response/input entries and while running). The step-level\n duration in `executions log` is the cumulative sum over iterations, attempts and runs."
|
|
5342
|
+
);
|
|
5340
5343
|
addUniversalOptions(data);
|
|
5341
5344
|
data.action(
|
|
5342
5345
|
async (id, step2, opts, command) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@engini/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.34.0",
|
|
4
4
|
"description": "Engini CLI — machine-first command line over the Engini Public API",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"test": "vitest run"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@engini/sdk": "^0.
|
|
29
|
+
"@engini/sdk": "^0.34.0",
|
|
30
30
|
"commander": "^12.1.0",
|
|
31
31
|
"smol-toml": "^1.3.0"
|
|
32
32
|
},
|