replicas-cli 0.2.531 → 0.2.533

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 -3
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -24336,7 +24336,7 @@ var headlessFilesystemAgentResultSchema = external_exports.object({
24336
24336
  });
24337
24337
 
24338
24338
  // ../shared/src/cli-version.ts
24339
- var CLI_VERSION = "0.2.531";
24339
+ var CLI_VERSION = "0.2.533";
24340
24340
 
24341
24341
  // ../shared/src/version.ts
24342
24342
  function compareVersions(v1, v2) {
@@ -26606,12 +26606,12 @@ function parseSseChunk(chunk) {
26606
26606
  }
26607
26607
  async function readSseStream(body, onEvent, shouldContinue = () => true) {
26608
26608
  const reader = body.getReader();
26609
- const decoder = new TextDecoder();
26609
+ const decoder2 = new TextDecoder();
26610
26610
  let buffer = "";
26611
26611
  while (shouldContinue()) {
26612
26612
  const { done, value } = await reader.read();
26613
26613
  if (done) break;
26614
- buffer += decoder.decode(value, { stream: true });
26614
+ buffer += decoder2.decode(value, { stream: true });
26615
26615
  const chunks = buffer.split("\n\n");
26616
26616
  buffer = chunks.pop() ?? "";
26617
26617
  for (const chunk of chunks) {
@@ -26623,6 +26623,9 @@ async function readSseStream(body, onEvent, shouldContinue = () => true) {
26623
26623
  }
26624
26624
  }
26625
26625
 
26626
+ // ../shared/src/chat-transcript-pages.ts
26627
+ var decoder = new TextDecoder("utf-8", { fatal: true });
26628
+
26626
26629
  // src/lib/monolith-url.ts
26627
26630
  var MONOLITH_URL = process.env.REPLICAS_MONOLITH_URL || process.env.MONOLITH_URL || "https://api.tryreplicas.com";
26628
26631
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.2.531",
3
+ "version": "0.2.533",
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": {