@duvoai/cli 1.44.0 → 1.44.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/dist/bin/duvo.js CHANGED
@@ -8125,9 +8125,13 @@ var INTEGRATION_SLUGS = [
8125
8125
  "granola",
8126
8126
  "apify",
8127
8127
  "bamboohr",
8128
- "edi"
8128
+ "edi",
8129
+ "maersk"
8129
8130
  ];
8130
8131
  var IntegrationSlugSchema = z32.enum(INTEGRATION_SLUGS);
8132
+ var IntegrationSlugResponseSchema = extensibleEnum(INTEGRATION_SLUGS, {
8133
+ description: "Integration catalog slug. New slugs are added over time."
8134
+ });
8131
8135
  function isIntegrationSlug(value) {
8132
8136
  return INTEGRATION_SLUGS.includes(value);
8133
8137
  }
@@ -8151,7 +8155,8 @@ var SERVER_RESOLVED_MCP_URL_SLUGS = /* @__PURE__ */ new Set([
8151
8155
  "duvo-computer-use-rdp",
8152
8156
  "saps4hana",
8153
8157
  "intercom",
8154
- "github"
8158
+ "github",
8159
+ "maersk"
8155
8160
  ]);
8156
8161
  function isServerResolvedMcpUrlSlug(value) {
8157
8162
  return isIntegrationSlug(value) && SERVER_RESOLVED_MCP_URL_SLUGS.has(value);
@@ -8398,16 +8403,16 @@ var aopSuggestionPayloadSchema = z33.object({
8398
8403
  apply: aopApplyStateSchema.optional()
8399
8404
  });
8400
8405
  var connectionAddPayloadSchema = z33.object({
8401
- toSlug: IntegrationSlugSchema,
8406
+ toSlug: IntegrationSlugResponseSchema,
8402
8407
  toIntegrationId: z33.guid()
8403
8408
  });
8404
8409
  var connectionReplacePayloadSchema = z33.object({
8405
- fromSlug: IntegrationSlugSchema,
8406
- toSlug: IntegrationSlugSchema,
8410
+ fromSlug: IntegrationSlugResponseSchema,
8411
+ toSlug: IntegrationSlugResponseSchema,
8407
8412
  toIntegrationId: z33.guid()
8408
8413
  });
8409
8414
  var connectionRemovePayloadSchema = z33.object({
8410
- slug: IntegrationSlugSchema
8415
+ slug: IntegrationSlugResponseSchema
8411
8416
  });
8412
8417
  var suggestionPayloadSchema = z33.union([
8413
8418
  aopSuggestionPayloadSchema,
@@ -8602,6 +8607,7 @@ var listArtifactConnectionsResponseSchema = z37.object({
8602
8607
  var attachArtifactConnectionBodySchema = z37.object({
8603
8608
  connection_id: z37.guid()
8604
8609
  });
8610
+ var MAX_ARTIFACT_MESSAGE_CHARS = 15e3;
8605
8611
  var artifactStatusSchema = z38.enum([
8606
8612
  "not_started",
8607
8613
  "pending",
@@ -8751,7 +8757,7 @@ var restoreArtifactRevisionResponseSchema = z38.object({
8751
8757
  });
8752
8758
  var createArtifactVisibilitySchema = z38.enum(["private", "team"]);
8753
8759
  var createArtifactBodySchema = z38.object({
8754
- message: z38.string().min(1).max(1e4),
8760
+ message: z38.string().min(1).max(MAX_ARTIFACT_MESSAGE_CHARS),
8755
8761
  // Connections the user picked in the composer before the Pulse existed.
8756
8762
  // Attached server-side before the first generation turn dispatches, so the
8757
8763
  // first dashboard can already use their data. Best-effort: an unattachable id
@@ -8774,12 +8780,12 @@ var createArtifactResponseSchema = z38.object({
8774
8780
  user_message: artifactMessageSchema
8775
8781
  });
8776
8782
  var createOrgArtifactBodySchema = z38.strictObject({
8777
- message: z38.string().min(1).max(1e4)
8783
+ message: z38.string().min(1).max(MAX_ARTIFACT_MESSAGE_CHARS)
8778
8784
  });
8779
8785
  var orgArtifactListScopeSchema = z38.enum(["shared", "created"]);
8780
8786
  var duplicateArtifactResponseSchema = artifactSchema;
8781
8787
  var sendArtifactMessageBodySchema = z38.object({
8782
- message: z38.string().min(1).max(1e4),
8788
+ message: z38.string().min(1).max(MAX_ARTIFACT_MESSAGE_CHARS),
8783
8789
  // Continue from a specific version (branch). Omitted = continue from the
8784
8790
  // current head.
8785
8791
  from_revision_id: z38.guid().optional(),
@@ -12204,6 +12210,11 @@ var FEATURE_FLAG_CATALOGUE = {
12204
12210
  defaultValue: false,
12205
12211
  description: "Enables the ERP Diagnosis surface for SAP readiness diagnosis, including SAP connection cards and downloadable diagnosis reports. Off-by-default for staged rollout."
12206
12212
  },
12213
+ MAERSK_CONNECTION: {
12214
+ key: "maersk_connection",
12215
+ defaultValue: false,
12216
+ description: "Grants a team access to the Maersk ocean-carrier Connection (invoice headers, import demurrage and detention). Off-by-default: unlike Computer Use the tile is hidden entirely when off, because setup needs the customer's own Maersk developer-portal credentials and per-product approval. Flip on per team once those are in hand."
12217
+ },
12207
12218
  COMPUTER_USE: {
12208
12219
  key: "computer_use",
12209
12220
  defaultValue: false,
@@ -30496,7 +30507,7 @@ function registerPulseCreate(pulse) {
30496
30507
  "Create a Pulse dashboard from a prompt (e.g. 'open cases by queue this week'). Generation runs asynchronously \u2014 poll `duvo pulse get <id>` until status is completed."
30497
30508
  ).requiredOption(
30498
30509
  "--message <text>",
30499
- "what you want the dashboard to show (max 10000 chars)"
30510
+ `what you want the dashboard to show (max ${MAX_ARTIFACT_MESSAGE_CHARS} chars)`
30500
30511
  ).option(
30501
30512
  "--visibility <visibility>",
30502
30513
  "private (creator only, the default) or team (shared with your whole team from the first turn)"
@@ -31079,7 +31090,10 @@ __name(collectAttachment, "collectAttachment");
31079
31090
  function registerPulseSendMessage(pulse) {
31080
31091
  pulse.command("send-message <id>").description(
31081
31092
  "Send an instruction to iterate on a dashboard (e.g. 'make it a bar chart'). Only the creator can iterate; the agent regenerates asynchronously."
31082
- ).requiredOption("--message <text>", "the instruction (max 10000 chars)").option(
31093
+ ).requiredOption(
31094
+ "--message <text>",
31095
+ `the instruction (max ${MAX_ARTIFACT_MESSAGE_CHARS} chars)`
31096
+ ).option(
31083
31097
  "--attach-file <path>",
31084
31098
  "attach a local file the agent should read (e.g. an HTML dashboard to copy, or a screenshot to match). Repeatable, max 5.",
31085
31099
  collectAttachment,
@@ -36373,7 +36387,7 @@ __name(isStandaloneBinary, "isStandaloneBinary");
36373
36387
  import { createRequire } from "node:module";
36374
36388
  function getPackageMeta() {
36375
36389
  if (true) {
36376
- return { name: "@duvoai/cli", version: "1.44.0" };
36390
+ return { name: "@duvoai/cli", version: "1.44.1" };
36377
36391
  }
36378
36392
  const require2 = createRequire(import.meta.url);
36379
36393
  const raw = require2("../../package.json");