overlord-cli 0.2608011442.0 → 0.2608031525.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/dist/index.js CHANGED
@@ -22439,6 +22439,7 @@ Execution targets:
22439
22439
 
22440
22440
  Missions:
22441
22441
  ${primaryCommand} create "<objective>" [--objectives-json '[...]'] [--json]
22442
+ ${primaryCommand} inbox create --title "<title>" --objective "<objective>" [--json]
22442
22443
  ${primaryCommand} prompt "<objective>" [--json]
22443
22444
  ${primaryCommand} attach <missionId> [agent] [--json]
22444
22445
  ${primaryCommand} missions list [--status <csv>] [--project-id <id>] [--json]
@@ -22523,6 +22524,7 @@ var KNOWN_COMMANDS = /* @__PURE__ */ new Set([
22523
22524
  "missions",
22524
22525
  "requests",
22525
22526
  "inputs",
22527
+ "inbox",
22526
22528
  "mission",
22527
22529
  "changes",
22528
22530
  "execution",
@@ -22612,6 +22614,29 @@ async function dispatchCommand({
22612
22614
  }
22613
22615
  return;
22614
22616
  }
22617
+ case "inbox": {
22618
+ const [subcommand, ...rest] = args;
22619
+ if (subcommand !== "create") {
22620
+ throw new CliError({
22621
+ message: "Usage: ovld inbox create --title <title> --objective <objective>"
22622
+ });
22623
+ }
22624
+ const { openCliRuntime: openCliRuntime2 } = await Promise.resolve().then(() => (init_runtime(), runtime_exports));
22625
+ const { runProtocolCommand: runProtocolCommand2 } = await Promise.resolve().then(() => (init_commands(), commands_exports));
22626
+ const runtime = openCliRuntime2();
22627
+ try {
22628
+ await runProtocolCommand2({
22629
+ runtime,
22630
+ subcommand: "create",
22631
+ args: ["--inbox", ...rest],
22632
+ stdin,
22633
+ primaryCommand
22634
+ });
22635
+ } finally {
22636
+ runtime.close();
22637
+ }
22638
+ return;
22639
+ }
22615
22640
  default: {
22616
22641
  if (!KNOWN_COMMANDS.has(command)) {
22617
22642
  throw new CliError({