@wave-ai-os/wave-cli 0.1.81 → 0.1.83
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/dist/index.cjs +10 -2
- package/dist/index.js +10 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -7900,7 +7900,7 @@ var import_commander = require("commander");
|
|
|
7900
7900
|
var import_node_crypto3 = require("crypto");
|
|
7901
7901
|
|
|
7902
7902
|
// src/version.ts
|
|
7903
|
-
var CLI_VERSION = "0.1.
|
|
7903
|
+
var CLI_VERSION = "0.1.83";
|
|
7904
7904
|
|
|
7905
7905
|
// src/operationMetadata.ts
|
|
7906
7906
|
var DISCOVERY_OPERATION_IDS = [
|
|
@@ -15901,6 +15901,8 @@ var AUTOMATION_LIST_SELECTION = `{
|
|
|
15901
15901
|
latestExecutionSlug
|
|
15902
15902
|
latestExecutionStatus
|
|
15903
15903
|
latestExecutionAt
|
|
15904
|
+
latestExecutionErrorMessage
|
|
15905
|
+
latestOutputContentSlug
|
|
15904
15906
|
latestTraceId
|
|
15905
15907
|
}
|
|
15906
15908
|
}
|
|
@@ -16022,6 +16024,10 @@ function normalizeAutomationList(payload) {
|
|
|
16022
16024
|
slug: asRequiredString(listField(row, attributes, "latestExecutionSlug")),
|
|
16023
16025
|
status: asRequiredString(listField(row, attributes, "latestExecutionStatus")),
|
|
16024
16026
|
at: asRequiredString(listField(row, attributes, "latestExecutionAt")),
|
|
16027
|
+
result: asRequiredString(listField(row, attributes, "latestExecutionErrorMessage")),
|
|
16028
|
+
output_content_slug: asRequiredString(
|
|
16029
|
+
listField(row, attributes, "latestOutputContentSlug")
|
|
16030
|
+
),
|
|
16025
16031
|
trace_id: asRequiredString(listField(row, attributes, "latestTraceId"))
|
|
16026
16032
|
}
|
|
16027
16033
|
};
|
|
@@ -16480,7 +16486,7 @@ function registerAtlasAuthoringCommands(program) {
|
|
|
16480
16486
|
});
|
|
16481
16487
|
});
|
|
16482
16488
|
const automations = program.command("automations").description("Bounded Automation authoring operations");
|
|
16483
|
-
automations.command("list").description("List current-member Automations
|
|
16489
|
+
automations.command("list").description("List current-member Automations, optionally scoped to one Agent").option("--agent-id <agentId>").option("--page <page>").option("--per <per>").action(async (opts, cmd) => {
|
|
16484
16490
|
const context = await resolveCommandContext(cmd.optsWithGlobals());
|
|
16485
16491
|
const organizationId = resolveOrganizationId(context.organizationId);
|
|
16486
16492
|
await runGraphqlQueryCommand({
|
|
@@ -16490,11 +16496,13 @@ function registerAtlasAuthoringCommands(program) {
|
|
|
16490
16496
|
field: "agent_automations",
|
|
16491
16497
|
variables: normalizeGraphqlVariables2({
|
|
16492
16498
|
organization_id: organizationId,
|
|
16499
|
+
agent_id: opts.agentId,
|
|
16493
16500
|
page: opts.page,
|
|
16494
16501
|
per: opts.per
|
|
16495
16502
|
}),
|
|
16496
16503
|
variableTypes: {
|
|
16497
16504
|
organization_id: "ID!",
|
|
16505
|
+
agent_id: "ID",
|
|
16498
16506
|
page: "Int",
|
|
16499
16507
|
per: "Int"
|
|
16500
16508
|
},
|
package/dist/index.js
CHANGED
|
@@ -7899,7 +7899,7 @@ import { Option } from "commander";
|
|
|
7899
7899
|
import { createHash } from "crypto";
|
|
7900
7900
|
|
|
7901
7901
|
// src/version.ts
|
|
7902
|
-
var CLI_VERSION = "0.1.
|
|
7902
|
+
var CLI_VERSION = "0.1.83";
|
|
7903
7903
|
|
|
7904
7904
|
// src/operationMetadata.ts
|
|
7905
7905
|
var DISCOVERY_OPERATION_IDS = [
|
|
@@ -15900,6 +15900,8 @@ var AUTOMATION_LIST_SELECTION = `{
|
|
|
15900
15900
|
latestExecutionSlug
|
|
15901
15901
|
latestExecutionStatus
|
|
15902
15902
|
latestExecutionAt
|
|
15903
|
+
latestExecutionErrorMessage
|
|
15904
|
+
latestOutputContentSlug
|
|
15903
15905
|
latestTraceId
|
|
15904
15906
|
}
|
|
15905
15907
|
}
|
|
@@ -16021,6 +16023,10 @@ function normalizeAutomationList(payload) {
|
|
|
16021
16023
|
slug: asRequiredString(listField(row, attributes, "latestExecutionSlug")),
|
|
16022
16024
|
status: asRequiredString(listField(row, attributes, "latestExecutionStatus")),
|
|
16023
16025
|
at: asRequiredString(listField(row, attributes, "latestExecutionAt")),
|
|
16026
|
+
result: asRequiredString(listField(row, attributes, "latestExecutionErrorMessage")),
|
|
16027
|
+
output_content_slug: asRequiredString(
|
|
16028
|
+
listField(row, attributes, "latestOutputContentSlug")
|
|
16029
|
+
),
|
|
16024
16030
|
trace_id: asRequiredString(listField(row, attributes, "latestTraceId"))
|
|
16025
16031
|
}
|
|
16026
16032
|
};
|
|
@@ -16479,7 +16485,7 @@ function registerAtlasAuthoringCommands(program) {
|
|
|
16479
16485
|
});
|
|
16480
16486
|
});
|
|
16481
16487
|
const automations = program.command("automations").description("Bounded Automation authoring operations");
|
|
16482
|
-
automations.command("list").description("List current-member Automations
|
|
16488
|
+
automations.command("list").description("List current-member Automations, optionally scoped to one Agent").option("--agent-id <agentId>").option("--page <page>").option("--per <per>").action(async (opts, cmd) => {
|
|
16483
16489
|
const context = await resolveCommandContext(cmd.optsWithGlobals());
|
|
16484
16490
|
const organizationId = resolveOrganizationId(context.organizationId);
|
|
16485
16491
|
await runGraphqlQueryCommand({
|
|
@@ -16489,11 +16495,13 @@ function registerAtlasAuthoringCommands(program) {
|
|
|
16489
16495
|
field: "agent_automations",
|
|
16490
16496
|
variables: normalizeGraphqlVariables2({
|
|
16491
16497
|
organization_id: organizationId,
|
|
16498
|
+
agent_id: opts.agentId,
|
|
16492
16499
|
page: opts.page,
|
|
16493
16500
|
per: opts.per
|
|
16494
16501
|
}),
|
|
16495
16502
|
variableTypes: {
|
|
16496
16503
|
organization_id: "ID!",
|
|
16504
|
+
agent_id: "ID",
|
|
16497
16505
|
page: "Int",
|
|
16498
16506
|
per: "Int"
|
|
16499
16507
|
},
|