replicas-engine 0.1.322 → 0.1.323
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 +8 -8
- package/package.json +1 -1
package/dist/src/index.js
CHANGED
|
@@ -287,7 +287,7 @@ var WORKSPACE_SIZES = ["small", "large"];
|
|
|
287
287
|
var INVALID_WORKSPACE_SIZE_ERROR = `Invalid size: must be one of ${WORKSPACE_SIZES.join(", ")}`;
|
|
288
288
|
|
|
289
289
|
// ../shared/src/e2b.ts
|
|
290
|
-
var E2B_TEMPLATE_NAME = "replicas-sandbox-2026-06-16-
|
|
290
|
+
var E2B_TEMPLATE_NAME = "replicas-sandbox-2026-06-16-v2";
|
|
291
291
|
|
|
292
292
|
// ../shared/src/runtime-env.ts
|
|
293
293
|
function parsePosixEnvFile(content) {
|
|
@@ -6455,7 +6455,7 @@ var ClaudeManager = class _ClaudeManager extends CodingAgentManager {
|
|
|
6455
6455
|
model,
|
|
6456
6456
|
customInstructions,
|
|
6457
6457
|
images,
|
|
6458
|
-
|
|
6458
|
+
planMode,
|
|
6459
6459
|
thinkingLevel,
|
|
6460
6460
|
enableInteractiveTools,
|
|
6461
6461
|
fastMode
|
|
@@ -6498,13 +6498,13 @@ var ClaudeManager = class _ClaudeManager extends CodingAgentManager {
|
|
|
6498
6498
|
}
|
|
6499
6499
|
const combinedInstructions = this.buildCombinedInstructions(customInstructions);
|
|
6500
6500
|
const resolvedModel = normalizeClaudeModel(model) || CLAUDE_OPUS_1M_MODEL;
|
|
6501
|
-
const resolvedPermissionMode =
|
|
6501
|
+
const resolvedPermissionMode = planMode ? "plan" : "bypassPermissions";
|
|
6502
6502
|
const signature = {
|
|
6503
6503
|
combinedInstructions,
|
|
6504
6504
|
thinkingLevel,
|
|
6505
|
-
// enableInteractiveTools only matters
|
|
6506
|
-
//
|
|
6507
|
-
//
|
|
6505
|
+
// enableInteractiveTools only matters in plan mode; the session signature
|
|
6506
|
+
// tracks the effective flag so a mode change can hot-swap via setPermissionMode
|
|
6507
|
+
// without restarting.
|
|
6508
6508
|
enableInteractiveTools: Boolean(enableInteractiveTools),
|
|
6509
6509
|
fastMode: Boolean(fastMode)
|
|
6510
6510
|
};
|
|
@@ -7149,7 +7149,7 @@ var AspClient = class {
|
|
|
7149
7149
|
// src/managers/codex-asp/app-server-process.ts
|
|
7150
7150
|
var DEFAULT_CODEX_BINARY = "codex";
|
|
7151
7151
|
var DEFAULT_CODEX_ARGS = ["app-server", "--listen", "stdio://"];
|
|
7152
|
-
var ENGINE_PACKAGE_VERSION = "0.1.
|
|
7152
|
+
var ENGINE_PACKAGE_VERSION = "0.1.323";
|
|
7153
7153
|
var INITIALIZE_METHOD = "initialize";
|
|
7154
7154
|
var INITIALIZED_NOTIFICATION = "initialized";
|
|
7155
7155
|
var ACCOUNT_LOGIN_START_METHOD = "account/login/start";
|
|
@@ -11177,7 +11177,7 @@ var sendMessageSchema = z2.object({
|
|
|
11177
11177
|
message: z2.string().min(1),
|
|
11178
11178
|
model: z2.string().optional(),
|
|
11179
11179
|
customInstructions: z2.string().optional(),
|
|
11180
|
-
|
|
11180
|
+
planMode: z2.boolean().optional(),
|
|
11181
11181
|
images: z2.array(z2.object({
|
|
11182
11182
|
type: z2.literal("image"),
|
|
11183
11183
|
source: z2.union([
|