replicas-cli 0.3.72 → 0.3.73

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.
Files changed (2) hide show
  1. package/dist/index.cjs +6 -7
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -28593,7 +28593,7 @@ var headlessAgentRequestSchema = external_exports.object({
28593
28593
  });
28594
28594
 
28595
28595
  // ../shared/src/cli-version.ts
28596
- var CLI_VERSION = "0.3.72";
28596
+ var CLI_VERSION = "0.3.73";
28597
28597
 
28598
28598
  // ../shared/src/version.ts
28599
28599
  function compareVersions(v1, v2) {
@@ -31364,10 +31364,9 @@ function printEnvironment(env) {
31364
31364
  if (env.description) {
31365
31365
  console.log(import_chalk19.default.gray(` Description: ${env.description}`));
31366
31366
  }
31367
- if (env.repository_id) {
31368
- console.log(import_chalk19.default.gray(` Repository: ${env.repository_id}`));
31369
- } else if (env.repository_set_id) {
31370
- console.log(import_chalk19.default.gray(` Repository Set: ${env.repository_set_id}`));
31367
+ const repositoryIds = env.repository_ids ?? [];
31368
+ if (repositoryIds.length > 0) {
31369
+ console.log(import_chalk19.default.gray(` Repositories: ${repositoryIds.join(", ")}`));
31371
31370
  }
31372
31371
  if (env.variable_count !== void 0) {
31373
31372
  console.log(import_chalk19.default.gray(` Variables: ${env.variable_count}, Files: ${env.file_count ?? 0}, Skills: ${env.skill_count ?? 0}, MCPs: ${env.mcp_count ?? 0}`));
@@ -32088,7 +32087,7 @@ async function replicaCreateCommand(name, options) {
32088
32087
  choices: environments.map((env) => ({
32089
32088
  title: env.name,
32090
32089
  value: env.id,
32091
- description: env.is_global ? "global" : env.repository_set_id ? "repository set" : env.repository_id ? "repository" : "unbound"
32090
+ description: env.is_global ? "global" : `${env.repository_ids?.length ?? 0} repositories`
32092
32091
  }))
32093
32092
  });
32094
32093
  const answer = response2.environment;
@@ -33393,7 +33392,7 @@ async function automationCreateCommand(name, options) {
33393
33392
  choices: selectableEnvs.map((env) => ({
33394
33393
  title: env.name,
33395
33394
  value: env.id,
33396
- description: env.description || (env.repository_id ? "repo-bound" : env.repository_set_id ? "set-bound" : "unbound")
33395
+ description: env.description || `${env.repository_ids?.length ?? 0} repositories`
33397
33396
  }))
33398
33397
  });
33399
33398
  if (!envResponse2.env) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.3.72",
3
+ "version": "0.3.73",
4
4
  "description": "CLI for managing Replicas workspaces - SSH into cloud dev environments with automatic port forwarding",
5
5
  "main": "dist/index.cjs",
6
6
  "bin": {