replicas-cli 0.2.542 → 0.2.544

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 +5 -5
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -24378,7 +24378,7 @@ var headlessFilesystemAgentResultSchema = external_exports.object({
24378
24378
  });
24379
24379
 
24380
24380
  // ../shared/src/cli-version.ts
24381
- var CLI_VERSION = "0.2.542";
24381
+ var CLI_VERSION = "0.2.544";
24382
24382
 
24383
24383
  // ../shared/src/version.ts
24384
24384
  function compareVersions(v1, v2) {
@@ -30967,9 +30967,9 @@ org.action(async () => {
30967
30967
  process.exit(1);
30968
30968
  }
30969
30969
  });
30970
- program.command("connect <workspace-name>").description("Connect to a workspace via SSH").action(async (workspaceName) => {
30970
+ program.command("connect <workspace-name...>").description("Connect to a workspace via SSH").action(async (workspaceName) => {
30971
30971
  try {
30972
- await connectCommand(workspaceName);
30972
+ await connectCommand(workspaceName.join(" "));
30973
30973
  } catch (error51) {
30974
30974
  if (error51 instanceof Error) {
30975
30975
  console.error(import_chalk22.default.red(`
@@ -30979,9 +30979,9 @@ program.command("connect <workspace-name>").description("Connect to a workspace
30979
30979
  process.exit(1);
30980
30980
  }
30981
30981
  });
30982
- program.command("code <workspace-name>").description("Open a workspace in VSCode/Cursor via Remote SSH").action(async (workspaceName) => {
30982
+ program.command("code <workspace-name...>").description("Open a workspace in VSCode/Cursor via Remote SSH").action(async (workspaceName) => {
30983
30983
  try {
30984
- await codeCommand(workspaceName);
30984
+ await codeCommand(workspaceName.join(" "));
30985
30985
  } catch (error51) {
30986
30986
  if (error51 instanceof Error) {
30987
30987
  console.error(import_chalk22.default.red(`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.2.542",
3
+ "version": "0.2.544",
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": {