@wave-ai-os/wave-cli 0.1.81 → 0.1.82

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 CHANGED
@@ -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 without requiring an Agent or execution identifier").option("--page <page>").option("--per <per>").action(async (opts, cmd) => {
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
@@ -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 without requiring an Agent or execution identifier").option("--page <page>").option("--per <per>").action(async (opts, cmd) => {
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
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wave-ai-os/wave-cli",
3
- "version": "0.1.81",
3
+ "version": "0.1.82",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "wave": "dist/index.js"