replicas-engine 0.1.502 → 0.1.503
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 +14 -6
- package/package.json +1 -1
package/dist/src/index.js
CHANGED
|
@@ -611,7 +611,7 @@ var WORKSPACE_SIZES = ["small", "large"];
|
|
|
611
611
|
var INVALID_WORKSPACE_SIZE_ERROR = `Invalid size: must be one of ${WORKSPACE_SIZES.join(", ")}`;
|
|
612
612
|
|
|
613
613
|
// ../shared/src/e2b.ts
|
|
614
|
-
var E2B_TEMPLATE_NAME = "replicas-sandbox-2026-07-25-
|
|
614
|
+
var E2B_TEMPLATE_NAME = "replicas-sandbox-2026-07-25-v5";
|
|
615
615
|
|
|
616
616
|
// ../shared/src/runtime-env.ts
|
|
617
617
|
function shellQuotePosix(value) {
|
|
@@ -2587,13 +2587,21 @@ var DEFAULT_USER_PREFERENCES = {
|
|
|
2587
2587
|
default_fast_mode: false,
|
|
2588
2588
|
agent_defaults: { ...EMPTY_AGENT_DEFAULT_SETTINGS }
|
|
2589
2589
|
};
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
)
|
|
2590
|
+
function defaultReplicasAgentAbilities() {
|
|
2591
|
+
const abilities = {};
|
|
2592
|
+
for (const key of REPLICAS_AGENT_ABILITIES) {
|
|
2593
|
+
abilities[key] = true;
|
|
2594
|
+
}
|
|
2595
|
+
if (hasAllReplicasAgentAbilities(abilities)) return abilities;
|
|
2596
|
+
throw new Error("Default Replicas agent ability flags are incomplete");
|
|
2597
|
+
}
|
|
2598
|
+
function hasAllReplicasAgentAbilities(abilities) {
|
|
2599
|
+
return REPLICAS_AGENT_ABILITIES.every((key) => typeof abilities[key] === "boolean");
|
|
2600
|
+
}
|
|
2593
2601
|
var DEFAULT_DEFAULT_SKILLS = {
|
|
2594
2602
|
replicas_agent: {
|
|
2595
2603
|
enabled: true,
|
|
2596
|
-
abilities:
|
|
2604
|
+
abilities: defaultReplicasAgentAbilities()
|
|
2597
2605
|
}
|
|
2598
2606
|
};
|
|
2599
2607
|
|
|
@@ -9947,7 +9955,7 @@ var DEFAULT_CODEX_ARGS = ["app-server", "--listen", "stdio://"];
|
|
|
9947
9955
|
var MIN_CODEX_CLI_VERSION = "0.144.6";
|
|
9948
9956
|
var CODEX_UPGRADE_TIMEOUT_MS = 12e4;
|
|
9949
9957
|
var codexCliVersionEnsured = null;
|
|
9950
|
-
var ENGINE_PACKAGE_VERSION = "0.1.
|
|
9958
|
+
var ENGINE_PACKAGE_VERSION = "0.1.503";
|
|
9951
9959
|
var INITIALIZE_METHOD = "initialize";
|
|
9952
9960
|
var INITIALIZED_NOTIFICATION = "initialized";
|
|
9953
9961
|
var ACCOUNT_LOGIN_START_METHOD = "account/login/start";
|