replicas-engine 0.1.200 → 0.1.201
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.
- package/dist/src/index.js +12 -1
- package/package.json +1 -1
package/dist/src/index.js
CHANGED
|
@@ -207,6 +207,17 @@ var SANDBOX_LIFECYCLE = {
|
|
|
207
207
|
AUTO_DELETE_MINUTES: -1,
|
|
208
208
|
SSH_TOKEN_EXPIRATION_MINUTES: 3 * 60
|
|
209
209
|
};
|
|
210
|
+
function buildPaths(homeDir) {
|
|
211
|
+
return {
|
|
212
|
+
HOME_DIR: homeDir,
|
|
213
|
+
WORKSPACES_DIR: `${homeDir}/workspaces`,
|
|
214
|
+
REPLICAS_DIR: `${homeDir}/.replicas`,
|
|
215
|
+
REPLICAS_FILES_DIR: `${homeDir}/.replicas/files`,
|
|
216
|
+
REPLICAS_RUNTIME_ENV_FILE: `${homeDir}/.replicas/runtime-env.sh`
|
|
217
|
+
};
|
|
218
|
+
}
|
|
219
|
+
var DAYTONA_PATHS = buildPaths("/home/ubuntu");
|
|
220
|
+
var E2B_PATHS = buildPaths("/home/user");
|
|
210
221
|
|
|
211
222
|
// ../shared/src/runtime-env.ts
|
|
212
223
|
function parsePosixEnvFile(content) {
|
|
@@ -385,7 +396,7 @@ function parseReplicasConfigString(content, filename) {
|
|
|
385
396
|
}
|
|
386
397
|
|
|
387
398
|
// ../shared/src/engine/environment.ts
|
|
388
|
-
var DAYTONA_SNAPSHOT_ID = "22-05-2026-royal-york-
|
|
399
|
+
var DAYTONA_SNAPSHOT_ID = "22-05-2026-royal-york-v8";
|
|
389
400
|
|
|
390
401
|
// ../shared/src/engine/types.ts
|
|
391
402
|
var DEFAULT_CHAT_TITLES = {
|