replicas-cli 0.3.0 → 0.3.2

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 +4 -1
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -28044,6 +28044,7 @@ var EGRESS_SHELL_CONFIG = [
28044
28044
  `EGRESS_UDP_MAX_ASSOCIATIONS=${EGRESS_UDP_MAX_ASSOCIATIONS}`
28045
28045
  ].join("\n");
28046
28046
  var EGRESS_TUNNEL_SERVICE = "replicas-egress.service";
28047
+ var EGRESS_ROUTES_SERVICE = "replicas-egress-routes.service";
28047
28048
  var EGRESS_TUNNEL_INTERFACE = "rpxtun0";
28048
28049
  var EGRESS_PATHS = {
28049
28050
  /**
@@ -28056,9 +28057,11 @@ var EGRESS_PATHS = {
28056
28057
  CONFIG_DIR: "/run/replicas-egress",
28057
28058
  CONFIG_FILE: "/run/replicas-egress/config.json",
28058
28059
  REVISION_FILE: "/run/replicas-egress/revision",
28060
+ DESTINATIONS_FILE: "/run/replicas-egress/destinations",
28059
28061
  /** Persistent: this records the workspace's original resolver so the tunnel can put it back, and must outlive a reboot. */
28060
28062
  RESOLV_BACKUP: "/var/lib/replicas-egress-resolv.conf.orig",
28061
28063
  UNIT_FILE: `/etc/systemd/system/${EGRESS_TUNNEL_SERVICE}`,
28064
+ ROUTES_UNIT_FILE: `/etc/systemd/system/${EGRESS_ROUTES_SERVICE}`,
28062
28065
  UP_SCRIPT: "/usr/local/lib/replicas-egress-up",
28063
28066
  DOWN_SCRIPT: "/usr/local/lib/replicas-egress-down"
28064
28067
  };
@@ -28242,7 +28245,7 @@ var headlessAgentRequestSchema = external_exports.object({
28242
28245
  });
28243
28246
 
28244
28247
  // ../shared/src/cli-version.ts
28245
- var CLI_VERSION = "0.3.0";
28248
+ var CLI_VERSION = "0.3.2";
28246
28249
 
28247
28250
  // ../shared/src/version.ts
28248
28251
  function compareVersions(v1, v2) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
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": {