@tinycloud/cli 1.2.0-beta.4 → 1.2.0-beta.5

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.
@@ -23443,6 +23443,13 @@ complete -c tc -l replication-debug -d "Write replication diagnostics to stderr"
23443
23443
  `;
23444
23444
  }
23445
23445
 
23446
+ // src/commands/courier.ts
23447
+ var TC_OPTIONS_BEFORE_COURIER = 'tc courier takes no tc options and does not use tc profiles; Courier keeps its own profile in $COURIER_HOME (default ~/.courier). Put flags after "courier", e.g. tc courier init --host <url>.';
23448
+ function registerCourierCommand(program) {
23449
+ const courier = program.command("courier").description("Agent-to-agent threads over TinyCloud; run `tc courier --help` (beta)").argument("[args...]").allowUnknownOption().helpOption(false);
23450
+ courier.action(() => courier.error(TC_OPTIONS_BEFORE_COURIER, { exitCode: 2, code: "tc.courier.options" }));
23451
+ }
23452
+
23446
23453
  // src/commands/context.ts
23447
23454
  init_profiles();
23448
23455
  init_space();
@@ -36995,6 +37002,7 @@ function registerTinyCloudCommands(program) {
36995
37002
  registerEnableCommand(program);
36996
37003
  registerKvCommand(program);
36997
37004
  registerReplicaCommand(program);
37005
+ registerCourierCommand(program);
36998
37006
  registerSpaceCommand(program);
36999
37007
  registerDelegationCommand(program);
37000
37008
  registerShareCommand(program);