replicas-cli 0.2.208 → 0.2.209
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/index.mjs +14 -26
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -7598,25 +7598,13 @@ var SANDBOX_LIFECYCLE = {
|
|
|
7598
7598
|
AUTO_DELETE_MINUTES: -1,
|
|
7599
7599
|
SSH_TOKEN_EXPIRATION_MINUTES: 3 * 60
|
|
7600
7600
|
};
|
|
7601
|
-
|
|
7602
|
-
|
|
7603
|
-
|
|
7604
|
-
|
|
7605
|
-
|
|
7606
|
-
|
|
7607
|
-
|
|
7608
|
-
};
|
|
7609
|
-
}
|
|
7610
|
-
var DAYTONA_PATHS = buildPaths("/home/ubuntu");
|
|
7611
|
-
var E2B_PATHS = buildPaths("/home/user");
|
|
7612
|
-
function getSandboxPaths(providerId) {
|
|
7613
|
-
switch (providerId) {
|
|
7614
|
-
case "daytona":
|
|
7615
|
-
return DAYTONA_PATHS;
|
|
7616
|
-
case "e2b":
|
|
7617
|
-
return E2B_PATHS;
|
|
7618
|
-
}
|
|
7619
|
-
}
|
|
7601
|
+
var SANDBOX_PATHS = {
|
|
7602
|
+
HOME_DIR: "/home/user",
|
|
7603
|
+
WORKSPACES_DIR: "/home/user/workspaces",
|
|
7604
|
+
REPLICAS_DIR: "/home/user/.replicas",
|
|
7605
|
+
REPLICAS_FILES_DIR: "/home/user/.replicas/files",
|
|
7606
|
+
REPLICAS_RUNTIME_ENV_FILE: "/home/user/.replicas/runtime-env.sh"
|
|
7607
|
+
};
|
|
7620
7608
|
var WORKSPACE_SIZES = ["small", "large"];
|
|
7621
7609
|
var INVALID_WORKSPACE_SIZE_ERROR = `Invalid size: must be one of ${WORKSPACE_SIZES.join(", ")}`;
|
|
7622
7610
|
|
|
@@ -8943,6 +8931,9 @@ var HOOK_EXEC_MAX_BUFFER_BYTES = 10 * 1024 * 1024;
|
|
|
8943
8931
|
// ../shared/src/replicas-config.ts
|
|
8944
8932
|
var REPLICAS_CONFIG_FILENAMES = ["replicas.json", "replicas.yaml", "replicas.yml"];
|
|
8945
8933
|
|
|
8934
|
+
// ../shared/src/cli-version.ts
|
|
8935
|
+
var CLI_VERSION = "0.2.209";
|
|
8936
|
+
|
|
8946
8937
|
// ../shared/src/engine/environment.ts
|
|
8947
8938
|
var DESKTOP_NOVNC_PORT = 6080;
|
|
8948
8939
|
function getDesktopViewerUrl(publicUrl) {
|
|
@@ -8968,6 +8959,7 @@ function getInitialChatId(chats, preferredProvider = "claude") {
|
|
|
8968
8959
|
}
|
|
8969
8960
|
var CLAUDE_OPUS_1M_MODEL = "opus[1m]";
|
|
8970
8961
|
var LEGACY_CLAUDE_OPUS_1M_MODEL = "opus-1m";
|
|
8962
|
+
var DEFAULT_CODEX_MODEL = "gpt-5.5";
|
|
8971
8963
|
function normalizeClaudeModel(model) {
|
|
8972
8964
|
if (model === LEGACY_CLAUDE_OPUS_1M_MODEL) {
|
|
8973
8965
|
return CLAUDE_OPUS_1M_MODEL;
|
|
@@ -8976,7 +8968,7 @@ function normalizeClaudeModel(model) {
|
|
|
8976
8968
|
}
|
|
8977
8969
|
var AGENT_MODELS = {
|
|
8978
8970
|
claude: [CLAUDE_OPUS_1M_MODEL, "sonnet", "haiku"],
|
|
8979
|
-
codex: [
|
|
8971
|
+
codex: [DEFAULT_CODEX_MODEL, "gpt-5.4", "gpt-5.4-mini", "gpt-5.3-codex", "gpt-5.3-codex-spark", "gpt-5.2-codex", "gpt-5.2", "gpt-5.1-codex-max", "gpt-5.1-codex", "gpt-5.1", "gpt-5-codex", "gpt-5"],
|
|
8980
8972
|
relay: [CLAUDE_OPUS_1M_MODEL, "sonnet"]
|
|
8981
8973
|
};
|
|
8982
8974
|
var MODEL_LABELS = {
|
|
@@ -8985,7 +8977,7 @@ var MODEL_LABELS = {
|
|
|
8985
8977
|
[CLAUDE_OPUS_1M_MODEL]: "Opus 4.8 (1M)",
|
|
8986
8978
|
[LEGACY_CLAUDE_OPUS_1M_MODEL]: "Opus 4.8 (1M)",
|
|
8987
8979
|
haiku: "Haiku 4.5",
|
|
8988
|
-
|
|
8980
|
+
[DEFAULT_CODEX_MODEL]: "GPT-5.5",
|
|
8989
8981
|
"gpt-5.4": "GPT-5.4",
|
|
8990
8982
|
"gpt-5.4-mini": "GPT-5.4 Mini",
|
|
8991
8983
|
"gpt-5.3-codex": "GPT-5.3 Codex",
|
|
@@ -11022,7 +11014,7 @@ async function codeCommand(workspaceName) {
|
|
|
11022
11014
|
proxyCommand: sshProxyCommand
|
|
11023
11015
|
});
|
|
11024
11016
|
console.log(chalk6.green(`\u2713 SSH config entry created: ${hostAlias}`));
|
|
11025
|
-
const paths =
|
|
11017
|
+
const paths = SANDBOX_PATHS;
|
|
11026
11018
|
const remotePath = repoName ? `${paths.WORKSPACES_DIR}/${repoName}` : paths.HOME_DIR;
|
|
11027
11019
|
const ideCommand = getIdeCommand();
|
|
11028
11020
|
const fullCommand = `${ideCommand} --remote ssh-remote+${hostAlias} ${remotePath}`;
|
|
@@ -16923,7 +16915,6 @@ Repository start hooks (${response.repositories.length}):
|
|
|
16923
16915
|
}
|
|
16924
16916
|
|
|
16925
16917
|
// src/index.ts
|
|
16926
|
-
var CLI_VERSION = "0.2.208";
|
|
16927
16918
|
function parseBooleanOption(value) {
|
|
16928
16919
|
if (value === "true") return true;
|
|
16929
16920
|
if (value === "false") return false;
|
|
@@ -17630,6 +17621,3 @@ var versionCheckPromise = checkForUpdates(CLI_VERSION);
|
|
|
17630
17621
|
program.parse();
|
|
17631
17622
|
versionCheckPromise.catch(() => {
|
|
17632
17623
|
});
|
|
17633
|
-
export {
|
|
17634
|
-
CLI_VERSION
|
|
17635
|
-
};
|