replicas-engine 0.1.643 → 0.1.645
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.
|
@@ -1219,6 +1219,7 @@ var PLANS = {
|
|
|
1219
1219
|
"Unlimited automations",
|
|
1220
1220
|
"Warm pools and warm hooks",
|
|
1221
1221
|
"Higher API rate limits",
|
|
1222
|
+
"Access to a static egress IP",
|
|
1222
1223
|
"Auto-upgraded sandbox resources (4 vCPU, 32 GB disk, 16 GB memory)",
|
|
1223
1224
|
"Shared Slack support channel"
|
|
1224
1225
|
]
|
|
@@ -1297,12 +1298,13 @@ var EGRESS_PATHS = {
|
|
|
1297
1298
|
/**
|
|
1298
1299
|
* Under /run, which is tmpfs. The key therefore never touches disk and cannot
|
|
1299
1300
|
* be carried into a filesystem snapshot or a paused sandbox's disk image. It
|
|
1300
|
-
* does not survive a reboot either
|
|
1301
|
-
*
|
|
1302
|
-
*
|
|
1301
|
+
* does not survive a reboot either. A full-memory resume can reuse it only
|
|
1302
|
+
* while the root-owned revision still matches the current profile and the
|
|
1303
|
+
* running service and route are healthy.
|
|
1303
1304
|
*/
|
|
1304
1305
|
CONFIG_DIR: "/run/replicas-egress",
|
|
1305
1306
|
CONFIG_FILE: "/run/replicas-egress/config.json",
|
|
1307
|
+
REVISION_FILE: "/run/replicas-egress/revision",
|
|
1306
1308
|
/** Persistent: this records the workspace's original resolver so the tunnel can put it back, and must outlive a reboot. */
|
|
1307
1309
|
RESOLV_BACKUP: "/var/lib/replicas-egress-resolv.conf.orig",
|
|
1308
1310
|
UNIT_FILE: `/etc/systemd/system/${EGRESS_TUNNEL_SERVICE}`,
|
|
@@ -1345,6 +1347,35 @@ function isGitHubUrl(url) {
|
|
|
1345
1347
|
}
|
|
1346
1348
|
|
|
1347
1349
|
// ../shared/src/urls.ts
|
|
1350
|
+
var HOME_PATH = "/home";
|
|
1351
|
+
var DASHBOARD_PATH = "/dashboard";
|
|
1352
|
+
var WEB_APP_PATHS = {
|
|
1353
|
+
home: HOME_PATH,
|
|
1354
|
+
onboarding: `${HOME_PATH}/onboarding`,
|
|
1355
|
+
workspaces: `${HOME_PATH}/workspace`,
|
|
1356
|
+
automations: `${HOME_PATH}/automations`,
|
|
1357
|
+
environment: `${HOME_PATH}/environment`,
|
|
1358
|
+
analytics: `${HOME_PATH}/analytics`,
|
|
1359
|
+
dashboard: DASHBOARD_PATH,
|
|
1360
|
+
agents: `${DASHBOARD_PATH}/agents`,
|
|
1361
|
+
integrations: `${DASHBOARD_PATH}/integrations`,
|
|
1362
|
+
integrationsGithub: `${DASHBOARD_PATH}/integrations/github`,
|
|
1363
|
+
integrationsGitlab: `${DASHBOARD_PATH}/integrations/gitlab`,
|
|
1364
|
+
settings: `${DASHBOARD_PATH}/settings`,
|
|
1365
|
+
billing: `${DASHBOARD_PATH}/billing`,
|
|
1366
|
+
members: `${DASHBOARD_PATH}/members`,
|
|
1367
|
+
"audit-logs": `${DASHBOARD_PATH}/audit-logs`,
|
|
1368
|
+
accountAgents: `${DASHBOARD_PATH}/account/agents`,
|
|
1369
|
+
accountProfile: `${DASHBOARD_PATH}/account/profile`,
|
|
1370
|
+
accountIntegrations: `${DASHBOARD_PATH}/account/integrations`,
|
|
1371
|
+
accountApiKeys: `${DASHBOARD_PATH}/account/api-keys`,
|
|
1372
|
+
accountPreferences: `${DASHBOARD_PATH}/account/preferences`,
|
|
1373
|
+
fullscreenWorkspaces: "/workspaces"
|
|
1374
|
+
};
|
|
1375
|
+
var LEGACY_WEB_APP_PATHS = {
|
|
1376
|
+
app: "/app",
|
|
1377
|
+
dashboardWorkspaces: `${DASHBOARD_PATH}/workspaces`
|
|
1378
|
+
};
|
|
1348
1379
|
var PR_URL_REGEX = /github\.com\/([^/]+)\/([^/]+)\/pull\/(\d+)/;
|
|
1349
1380
|
function parsePrUrl(url) {
|
|
1350
1381
|
const match = url.match(PR_URL_REGEX);
|
|
@@ -5888,7 +5919,7 @@ var DEFAULT_CODEX_ARGS = [
|
|
|
5888
5919
|
var MIN_CODEX_CLI_VERSION = "0.144.6";
|
|
5889
5920
|
var CODEX_UPGRADE_TIMEOUT_MS = 12e4;
|
|
5890
5921
|
var codexCliVersionEnsured = null;
|
|
5891
|
-
var ENGINE_PACKAGE_VERSION = "0.1.
|
|
5922
|
+
var ENGINE_PACKAGE_VERSION = "0.1.645";
|
|
5892
5923
|
var INITIALIZE_METHOD = "initialize";
|
|
5893
5924
|
var INITIALIZED_NOTIFICATION = "initialized";
|
|
5894
5925
|
var ACCOUNT_LOGIN_START_METHOD = "account/login/start";
|
package/dist/src/index.js
CHANGED