replicas-cli 0.3.652 → 0.3.654
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.cjs +4 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -43370,7 +43370,7 @@ var CLI_VERSION;
|
|
|
43370
43370
|
var init_cli_version = __esm({
|
|
43371
43371
|
"../shared/src/cli-version.ts"() {
|
|
43372
43372
|
"use strict";
|
|
43373
|
-
CLI_VERSION = "0.3.
|
|
43373
|
+
CLI_VERSION = "0.3.654";
|
|
43374
43374
|
}
|
|
43375
43375
|
});
|
|
43376
43376
|
|
|
@@ -43926,7 +43926,8 @@ var init_artifacts2 = __esm({
|
|
|
43926
43926
|
kind: external_exports.array(external_exports.enum(ARTIFACT_KINDS)),
|
|
43927
43927
|
workspace_id: external_exports.string().uuid().optional(),
|
|
43928
43928
|
q: external_exports.string().trim().max(ARTIFACT_DISPLAY_NAME_MAX_LENGTH).optional(),
|
|
43929
|
-
scope: external_exports.literal("listed").optional()
|
|
43929
|
+
scope: external_exports.literal("listed").optional(),
|
|
43930
|
+
include: external_exports.literal("urls").optional()
|
|
43930
43931
|
});
|
|
43931
43932
|
listArtifactWorkspacesQuerySchema = external_exports.object({
|
|
43932
43933
|
workspace_id: external_exports.string().uuid().optional(),
|
|
@@ -55300,6 +55301,7 @@ async function whoamiCommand() {
|
|
|
55300
55301
|
throw new Error('You are not signed in. Run "replicas login" or "replicas login --api-key".');
|
|
55301
55302
|
}
|
|
55302
55303
|
const [user, active] = await Promise.all([getCurrentUser(), resolveActiveOrganization()]).catch((error62) => {
|
|
55304
|
+
if (isReplicasAuthError(error62)) throw error62;
|
|
55303
55305
|
throw new Error(`Failed to get user information: ${error62 instanceof Error ? error62.message : error62}. Try running "replicas login" again.`);
|
|
55304
55306
|
});
|
|
55305
55307
|
output2({ user, organization: active.organization, role: active.role }, () => {
|