@tinycloud/cli 1.3.0-beta.41 → 1.3.0-beta.43
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/courier-entry.js +5519 -1073
- package/dist/courier-entry.js.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/legacy-entry.js +94 -12
- package/dist/legacy-entry.js.map +1 -1
- package/package.json +3 -3
- package/skills/courier/SKILL.md +94 -8
- package/skills/tc-cli/REFERENCE.md +2 -0
package/dist/index.js
CHANGED
|
@@ -416,6 +416,7 @@ import { join } from "path";
|
|
|
416
416
|
import { ProfileDeletedError, ProfileLockTimeoutError, ProfileSymlinkError } from "@tinycloud/operations/state";
|
|
417
417
|
import { isSafeRecovery } from "@tinycloud/operations/recovery";
|
|
418
418
|
import { CLI_NAME as CLI_NAME3 } from "@tinycloud/operations/cli-name";
|
|
419
|
+
import { isRevokedGrantRefusal, REVOKED_GRANT_MESSAGE } from "@tinycloud/operations/revoked-grant";
|
|
419
420
|
import {
|
|
420
421
|
buildSecretRequestUrl,
|
|
421
422
|
isSafeRequestAccessRecovery,
|
|
@@ -644,7 +645,7 @@ function buildNetworkHint() {
|
|
|
644
645
|
lines.push(`Or override per-command with --host or TC_HOST.`);
|
|
645
646
|
return lines.join("\n");
|
|
646
647
|
}
|
|
647
|
-
var activeProfileName, CLIError, SETUP_KEYS;
|
|
648
|
+
var activeProfileName, GRANT_REVOKED_EXIT_CODE, CLIError, SETUP_KEYS;
|
|
648
649
|
var init_errors = __esm({
|
|
649
650
|
"src/output/errors.ts"() {
|
|
650
651
|
"use strict";
|
|
@@ -653,6 +654,7 @@ var init_errors = __esm({
|
|
|
653
654
|
init_formatter();
|
|
654
655
|
init_storage();
|
|
655
656
|
init_warnings();
|
|
657
|
+
GRANT_REVOKED_EXIT_CODE = ExitCode.PERMISSION_DENIED;
|
|
656
658
|
CLIError = class extends Error {
|
|
657
659
|
constructor(code4, message, exitCode = ExitCode.ERROR, metadata) {
|
|
658
660
|
super(message);
|