replicas-cli 0.2.209 → 0.2.210

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.mjs +6 -5
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -8932,7 +8932,7 @@ var HOOK_EXEC_MAX_BUFFER_BYTES = 10 * 1024 * 1024;
8932
8932
  var REPLICAS_CONFIG_FILENAMES = ["replicas.json", "replicas.yaml", "replicas.yml"];
8933
8933
 
8934
8934
  // ../shared/src/cli-version.ts
8935
- var CLI_VERSION = "0.2.209";
8935
+ var CLI_VERSION = "0.2.210";
8936
8936
 
8937
8937
  // ../shared/src/engine/environment.ts
8938
8938
  var DESKTOP_NOVNC_PORT = 6080;
@@ -13466,7 +13466,9 @@ function useCreateWorkspace() {
13466
13466
  };
13467
13467
  }
13468
13468
  );
13469
- void waitForWorkspaceActive(workspace.id);
13469
+ waitForWorkspaceActive(workspace.id).catch((error) => {
13470
+ console.error("Workspace failed to become active:", error);
13471
+ });
13470
13472
  },
13471
13473
  onSettled: () => {
13472
13474
  auth.queryClient.invalidateQueries({ queryKey: ["workspaces", orgId] });
@@ -13487,10 +13489,9 @@ function useWaitForWorkspaceActive() {
13487
13489
  ),
13488
13490
  staleTime: Infinity
13489
13491
  });
13490
- auth.queryClient.invalidateQueries({ queryKey: ["workspaces", orgId] });
13491
13492
  return result.workspace;
13492
- } catch {
13493
- return null;
13493
+ } finally {
13494
+ auth.queryClient.invalidateQueries({ queryKey: ["workspaces", orgId] });
13494
13495
  }
13495
13496
  }, [auth, orgFetch, orgId]);
13496
13497
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.2.209",
3
+ "version": "0.2.210",
4
4
  "description": "CLI for managing Replicas workspaces - SSH into cloud dev environments with automatic port forwarding",
5
5
  "main": "dist/index.mjs",
6
6
  "bin": {