@griffin-app/griffin-cli 1.0.22 → 1.0.23
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.
|
@@ -40,7 +40,7 @@ export const executeNotificationsList = withCommandErrorHandler(async (options)
|
|
|
40
40
|
const enabled = rule.enabled ? "✓" : "✗";
|
|
41
41
|
table.push([
|
|
42
42
|
rule.id.substring(0, 8) + "...",
|
|
43
|
-
rule.
|
|
43
|
+
rule.monitor.name ?? "-",
|
|
44
44
|
rule.integrationName ?? "-",
|
|
45
45
|
triggerDesc,
|
|
46
46
|
enabled,
|
|
@@ -36,7 +36,7 @@ export const executeRuns = withCommandErrorHandler(async (options) => {
|
|
|
36
36
|
? `${(run.duration_ms / 1000).toFixed(2)}s`
|
|
37
37
|
: "-";
|
|
38
38
|
const started = new Date(run.startedAt).toLocaleString();
|
|
39
|
-
table.push([statusIcon, run.
|
|
39
|
+
table.push([statusIcon, run.monitor.name || "-", duration, started]);
|
|
40
40
|
}
|
|
41
41
|
catch (error) {
|
|
42
42
|
terminal.error(`Error processing run ${run.id}: ${error.message}`);
|
|
@@ -57,7 +57,7 @@ export const executeRuns = withCommandErrorHandler(async (options) => {
|
|
|
57
57
|
terminal.warn("Runs with errors:");
|
|
58
58
|
terminal.blank();
|
|
59
59
|
for (const run of runsWithErrors) {
|
|
60
|
-
terminal.log(`${terminal.colors.red("✗")} ${terminal.colors.cyan(run.
|
|
60
|
+
terminal.log(`${terminal.colors.red("✗")} ${terminal.colors.cyan(run.monitor.name)}`);
|
|
61
61
|
if (Array.isArray(run.errors) && run.errors.length > 0) {
|
|
62
62
|
const errorsToShow = run.errors.slice(0, 3);
|
|
63
63
|
for (const error of errorsToShow) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@griffin-app/griffin-cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.23",
|
|
4
4
|
"description": "CLI tool for running and managing griffin API tests",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@griffin-app/griffin-hub-sdk": "1.0.25",
|
|
28
28
|
"@griffin-app/griffin-plan-executor": "0.1.29",
|
|
29
|
-
"@griffin-app/griffin-ts": "0.1.
|
|
29
|
+
"@griffin-app/griffin-ts": "0.1.27",
|
|
30
30
|
"better-auth": "^1.4.17",
|
|
31
31
|
"cli-table3": "^0.6.5",
|
|
32
32
|
"commander": "^12.1.0",
|