replicas-cli 0.3.176 → 0.3.178

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 +16 -11
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -20043,6 +20043,7 @@ var init_preferences = __esm({
20043
20043
  open_prs_in_graphite: false,
20044
20044
  open_links_in_desktop_app: false,
20045
20045
  port_forwarding: false,
20046
+ spotify_controls: false,
20046
20047
  mothership_intro_seen: false,
20047
20048
  follow_up_mode: "steer",
20048
20049
  memory_enabled: null,
@@ -30858,12 +30859,22 @@ var init_dotenv = __esm({
30858
30859
  }
30859
30860
  });
30860
30861
 
30862
+ // ../shared/src/engine/environment.ts
30863
+ var ENGINE_PORT;
30864
+ var init_environment2 = __esm({
30865
+ "../shared/src/engine/environment.ts"() {
30866
+ "use strict";
30867
+ ENGINE_PORT = 3737;
30868
+ }
30869
+ });
30870
+
30861
30871
  // ../shared/src/git.ts
30862
30872
  var init_git = __esm({
30863
30873
  "../shared/src/git.ts"() {
30864
30874
  "use strict";
30865
30875
  init_url();
30866
30876
  init_runtime_env();
30877
+ init_environment2();
30867
30878
  }
30868
30879
  });
30869
30880
 
@@ -31077,7 +31088,7 @@ var CLI_VERSION;
31077
31088
  var init_cli_version = __esm({
31078
31089
  "../shared/src/cli-version.ts"() {
31079
31090
  "use strict";
31080
- CLI_VERSION = "0.3.176";
31091
+ CLI_VERSION = "0.3.178";
31081
31092
  }
31082
31093
  });
31083
31094
 
@@ -31116,13 +31127,6 @@ var init_chat_tabs = __esm({
31116
31127
  }
31117
31128
  });
31118
31129
 
31119
- // ../shared/src/engine/environment.ts
31120
- var init_environment2 = __esm({
31121
- "../shared/src/engine/environment.ts"() {
31122
- "use strict";
31123
- }
31124
- });
31125
-
31126
31130
  // ../shared/src/engine/webhook.ts
31127
31131
  var init_webhook = __esm({
31128
31132
  "../shared/src/engine/webhook.ts"() {
@@ -37464,7 +37468,7 @@ async function engineFetch(path10, options) {
37464
37468
  "Content-Type": "application/json",
37465
37469
  ...options?.headers || {}
37466
37470
  };
37467
- const response = await fetch(`http://localhost:${ENGINE_PORT}${path10}`, {
37471
+ const response = await fetch(`http://localhost:${ENGINE_PORT2}${path10}`, {
37468
37472
  ...options,
37469
37473
  headers,
37470
37474
  body: options?.body !== void 0 ? JSON.stringify(options.body) : void 0
@@ -37475,13 +37479,14 @@ async function engineFetch(path10, options) {
37475
37479
  }
37476
37480
  return response.json();
37477
37481
  }
37478
- var ENGINE_PORT, AgentRequestError;
37482
+ var ENGINE_PORT2, AgentRequestError;
37479
37483
  var init_agent_api = __esm({
37480
37484
  "src/lib/agent-api.ts"() {
37481
37485
  "use strict";
37486
+ init_src();
37482
37487
  init_config();
37483
37488
  init_monolith_url();
37484
- ENGINE_PORT = process.env.REPLICAS_ENGINE_PORT || "3737";
37489
+ ENGINE_PORT2 = process.env.REPLICAS_ENGINE_PORT || String(ENGINE_PORT);
37485
37490
  AgentRequestError = class extends Error {
37486
37491
  constructor(message2, status) {
37487
37492
  super(message2);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.3.176",
3
+ "version": "0.3.178",
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": {