@tinycloud/cli 1.2.0-beta.3 → 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.
- package/README.md +26 -3
- package/dist/courier-entry.d.ts +3 -0
- package/dist/courier-entry.js +2096 -0
- package/dist/courier-entry.js.map +1 -0
- package/dist/index.js +52 -28
- package/dist/index.js.map +1 -1
- package/dist/legacy-entry.js +8 -0
- package/dist/legacy-entry.js.map +1 -1
- package/package.json +7 -5
- package/skills/courier/SKILL.md +164 -0
- package/skills/courier/release.json +16 -0
- package/skills/tc-cli/INSTALL.md +8 -6
- package/skills/tc-cli/REFERENCE.md +4 -0
- package/skills/tc-cli/SKILL.md +1 -1
package/dist/legacy-entry.js
CHANGED
|
@@ -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);
|