replicas-cli 0.3.270 → 0.3.272

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 -3
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -15853,7 +15853,7 @@ function isWorkspaceSize(value) {
15853
15853
  function trimLogTailCommand(file2, maxBytes, keepBytes) {
15854
15854
  return `size=$(stat -c %s ${file2} 2>/dev/null || echo 0); [ "$size" -gt ${maxBytes} ] && { fallocate --collapse-range --offset 0 --length $(( (size - ${keepBytes}) / 4096 * 4096 )) ${file2} 2>/dev/null || truncate -s 0 ${file2}; }`;
15855
15855
  }
15856
- var SANDBOX_LIFECYCLE, SANDBOX_PATHS, WORKSPACE_SIZES, DEFAULT_WORKSPACE_SIZE, INVALID_WORKSPACE_SIZE_ERROR;
15856
+ var SANDBOX_LIFECYCLE, SANDBOX_PATHS, WORKSPACE_SIZES, DEFAULT_WORKSPACE_SIZE, AUTO_WORKSPACE_SIZE, WORKSPACE_SIZE_OPTIONS, INVALID_WORKSPACE_SIZE_ERROR;
15857
15857
  var init_sandbox = __esm({
15858
15858
  "../shared/src/sandbox.ts"() {
15859
15859
  "use strict";
@@ -15873,6 +15873,8 @@ var init_sandbox = __esm({
15873
15873
  };
15874
15874
  WORKSPACE_SIZES = ["small", "large", "ultra"];
15875
15875
  DEFAULT_WORKSPACE_SIZE = "small";
15876
+ AUTO_WORKSPACE_SIZE = "auto";
15877
+ WORKSPACE_SIZE_OPTIONS = [...WORKSPACE_SIZES, AUTO_WORKSPACE_SIZE];
15876
15878
  INVALID_WORKSPACE_SIZE_ERROR = `Invalid size: must be one of ${WORKSPACE_SIZES.join(", ")}`;
15877
15879
  }
15878
15880
  });
@@ -20558,7 +20560,7 @@ var init_mothership_events = __esm({
20558
20560
  init_prompts();
20559
20561
  init_message_origin();
20560
20562
  init_urls();
20561
- MOTHERSHIP_EVENT_KINDS = ["finished", "ready", "needs_attention", "merged", "closed", "archived"];
20563
+ MOTHERSHIP_EVENT_KINDS = ["finished", "ready", "needs_attention", "approved", "merged", "closed", "archived"];
20562
20564
  MOTHERSHIP_EVENT_TYPE = "multitask-event";
20563
20565
  mothershipEventSchema = external_exports.object({
20564
20566
  id: external_exports.string(),
@@ -31628,7 +31630,7 @@ var CLI_VERSION;
31628
31630
  var init_cli_version = __esm({
31629
31631
  "../shared/src/cli-version.ts"() {
31630
31632
  "use strict";
31631
- CLI_VERSION = "0.3.270";
31633
+ CLI_VERSION = "0.3.272";
31632
31634
  }
31633
31635
  });
31634
31636
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.3.270",
3
+ "version": "0.3.272",
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": {