replicas-engine 0.1.1593 → 0.1.1595

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.
@@ -8,12 +8,12 @@ import {
8
8
  listCodexModelsForDetails,
9
9
  restartCodexAspHost,
10
10
  restartCodexAspHostIfRunning
11
- } from "./chunk-AVPEFLZA.js";
12
- import "./chunk-GOD7OSPU.js";
13
- import "./chunk-AAWH4PTV.js";
14
- import "./chunk-HAIG265L.js";
11
+ } from "./chunk-CJZDAY66.js";
12
+ import "./chunk-2QZMXRTE.js";
13
+ import "./chunk-ZOEKFIAP.js";
14
+ import "./chunk-UDQ2CG7N.js";
15
15
  import "./chunk-UZSNFLDQ.js";
16
- import "./chunk-RI7YNGHI.js";
16
+ import "./chunk-23K2QGXR.js";
17
17
  import "./chunk-VEQXQN22.js";
18
18
  export {
19
19
  CODEX_ULTRAFAST_SERVICE_TIER,
@@ -5,7 +5,7 @@ import {
5
5
  extractCommandProtectionCommandText,
6
6
  isRecord,
7
7
  parseCodeHostPrUrl
8
- } from "./chunk-RI7YNGHI.js";
8
+ } from "./chunk-23K2QGXR.js";
9
9
 
10
10
  // src/services/published-pull-request-urls.ts
11
11
  function publishedPullRequestUrls(result) {
@@ -1116,17 +1116,17 @@ var require_luxon = __commonJS({
1116
1116
  constructor(dt, intl, opts) {
1117
1117
  this.opts = opts;
1118
1118
  this.originalZone = void 0;
1119
- let z42 = void 0;
1119
+ let z43 = void 0;
1120
1120
  if (this.opts.timeZone) {
1121
1121
  this.dt = dt;
1122
1122
  } else if (dt.zone.type === "fixed") {
1123
1123
  const gmtOffset = -1 * (dt.offset / 60);
1124
1124
  const offsetZ = gmtOffset >= 0 ? `Etc/GMT+${gmtOffset}` : `Etc/GMT${gmtOffset}`;
1125
1125
  if (dt.offset !== 0 && IANAZone.create(offsetZ).valid) {
1126
- z42 = offsetZ;
1126
+ z43 = offsetZ;
1127
1127
  this.dt = dt;
1128
1128
  } else {
1129
- z42 = "UTC";
1129
+ z43 = "UTC";
1130
1130
  this.dt = dt.offset === 0 ? dt : dt.setZone("UTC").plus({
1131
1131
  minutes: dt.offset
1132
1132
  });
@@ -1136,9 +1136,9 @@ var require_luxon = __commonJS({
1136
1136
  this.dt = dt;
1137
1137
  } else if (dt.zone.type === "iana") {
1138
1138
  this.dt = dt;
1139
- z42 = dt.zone.name;
1139
+ z43 = dt.zone.name;
1140
1140
  } else {
1141
- z42 = "UTC";
1141
+ z43 = "UTC";
1142
1142
  this.dt = dt.setZone("UTC").plus({
1143
1143
  minutes: dt.offset
1144
1144
  });
@@ -1147,7 +1147,7 @@ var require_luxon = __commonJS({
1147
1147
  const intlOpts = {
1148
1148
  ...this.opts
1149
1149
  };
1150
- intlOpts.timeZone = intlOpts.timeZone || z42;
1150
+ intlOpts.timeZone = intlOpts.timeZone || z43;
1151
1151
  this.dtf = getCachedDTF(intl, intlOpts);
1152
1152
  }
1153
1153
  format() {
@@ -20436,7 +20436,7 @@ var VOICE_WAVEFORM = {
20436
20436
  };
20437
20437
 
20438
20438
  // ../shared/src/e2b.ts
20439
- var E2B_TEMPLATE_NAME = "replicas-sandbox-2026-11-16-v8";
20439
+ var E2B_TEMPLATE_NAME = "replicas-sandbox-2026-11-16-v10";
20440
20440
 
20441
20441
  // ../shared/src/e2b-retry.ts
20442
20442
  var DEFAULT_BACKOFFS_MS = [2e3, 5e3];
@@ -21921,6 +21921,10 @@ var webAuthRedeemResponseSchema = z36.object({
21921
21921
  session: z36.object({ access_token: z36.string(), refresh_token: z36.string(), user: z36.object({ id: z36.string(), email: z36.string() }) }).nullable()
21922
21922
  });
21923
21923
 
21924
+ // ../shared/src/routes/themes.ts
21925
+ import { z as z37 } from "zod";
21926
+ var updateThemeRequestSchema = z37.object({ theme: z37.string(), palette: z37.string(), accent: z37.string(), code: z37.string() }).partial();
21927
+
21924
21928
  // ../shared/src/routes/client-state.ts
21925
21929
  var MAX_CLIENT_STATE_REQUEST_BYTES = 5 * 1024 * 1024;
21926
21930
  var MAX_CLIENT_STATE_BYTES_PER_USER = 10 * 1024 * 1024;
@@ -21943,104 +21947,105 @@ var promptHistoryClientStateKey = orgUserClientStateKey(PROMPT_HISTORY_CLIENT_ST
21943
21947
  var workspaceSearchOpensClientStateKey = orgUserClientStateKey(WORKSPACE_SEARCH_OPENS_CLIENT_STATE_KEY_PREFIX);
21944
21948
 
21945
21949
  // ../shared/src/routes/workspace-events.ts
21946
- import { z as z38 } from "zod";
21950
+ import { z as z39 } from "zod";
21947
21951
 
21948
21952
  // ../shared/src/routes/presence.ts
21949
- import { z as z37 } from "zod";
21950
- var presenceStatusSchema = z37.enum(["online", "typing"]);
21951
- var presenceLocationSchema = z37.object({
21952
- workspaceId: z37.string().optional()
21953
+ import { z as z38 } from "zod";
21954
+ var presenceStatusSchema = z38.enum(["online", "typing"]);
21955
+ var presenceLocationSchema = z38.object({
21956
+ workspaceId: z38.string().optional()
21953
21957
  });
21954
- var presenceEntrySchema = z37.object({
21955
- userId: z37.string(),
21958
+ var presenceEntrySchema = z38.object({
21959
+ userId: z38.string(),
21956
21960
  status: presenceStatusSchema,
21957
21961
  location: presenceLocationSchema,
21958
- ts: z37.string()
21962
+ ts: z38.string()
21959
21963
  });
21960
- var updatePresenceRequestSchema = z37.object({
21964
+ var updatePresenceRequestSchema = z38.object({
21961
21965
  status: presenceStatusSchema,
21962
21966
  location: presenceLocationSchema.optional()
21963
21967
  });
21964
21968
 
21965
21969
  // ../shared/src/routes/workspace-events.ts
21966
- var workspaceTurnCompletionSchema = z38.object({
21967
- workspaceName: z38.string(),
21968
- completedAt: z38.string(),
21969
- processing: z38.boolean().optional(),
21970
- pullRequestFeedback: z38.boolean().optional(),
21971
- attention: z38.object({ reason: z38.enum(CHAT_ATTENTION_REASONS), userId: z38.string() }).optional()
21970
+ var workspaceTurnCompletionSchema = z39.object({
21971
+ workspaceName: z39.string(),
21972
+ completedAt: z39.string(),
21973
+ processing: z39.boolean().optional(),
21974
+ pullRequestFeedback: z39.boolean().optional(),
21975
+ attention: z39.object({ reason: z39.enum(CHAT_ATTENTION_REASONS), userId: z39.string() }).optional()
21972
21976
  });
21973
- var workspaceEventSchemaByType = z38.discriminatedUnion("type", [
21974
- z38.object({
21975
- type: z38.literal("workspace.changed"),
21976
- workspaceId: z38.string(),
21977
- accessChangedFor: z38.string().optional(),
21978
- accessChangedForOrg: z38.literal(true).optional(),
21979
- workspace: z38.object({ status: z38.enum(WORKSPACE_STATUSES), last_activity_at: z38.string().nullable() }).optional(),
21980
- name: z38.string().optional(),
21977
+ var workspaceEventSchemaByType = z39.discriminatedUnion("type", [
21978
+ z39.object({
21979
+ type: z39.literal("workspace.changed"),
21980
+ workspaceId: z39.string(),
21981
+ accessChangedFor: z39.string().optional(),
21982
+ accessChangedForOrg: z39.literal(true).optional(),
21983
+ workspace: z39.object({ status: z39.enum(WORKSPACE_STATUSES), last_activity_at: z39.string().nullable() }).optional(),
21984
+ name: z39.string().optional(),
21981
21985
  completion: workspaceTurnCompletionSchema.optional(),
21982
- ts: z38.string()
21986
+ ts: z39.string()
21983
21987
  }),
21984
- z38.object({
21985
- type: z38.literal("workspace.chat.changed"),
21986
- workspaceId: z38.string(),
21987
- chatId: z38.string(),
21988
- ts: z38.string()
21988
+ z39.object({
21989
+ type: z39.literal("workspace.chat.changed"),
21990
+ workspaceId: z39.string(),
21991
+ chatId: z39.string(),
21992
+ ts: z39.string()
21989
21993
  }),
21990
- z38.object({
21991
- type: z38.literal("workspace.chat.advanced"),
21992
- workspaceId: z38.string(),
21993
- chatId: z38.string(),
21994
- afterCursor: z38.string().optional(),
21995
- processing: z38.boolean(),
21996
- ts: z38.string()
21994
+ z39.object({
21995
+ type: z39.literal("workspace.chat.advanced"),
21996
+ workspaceId: z39.string(),
21997
+ chatId: z39.string(),
21998
+ afterCursor: z39.string().optional(),
21999
+ processing: z39.boolean(),
22000
+ ts: z39.string()
21997
22001
  }),
21998
- z38.object({
21999
- type: z38.literal("mobile-testing.changed"),
22000
- workspaceId: z38.string(),
22001
- ts: z38.string()
22002
+ z39.object({
22003
+ type: z39.literal("mobile-testing.changed"),
22004
+ workspaceId: z39.string(),
22005
+ ts: z39.string()
22002
22006
  }),
22003
- z38.object({
22004
- type: z38.literal("variable-request.changed"),
22005
- workspaceId: z38.string(),
22006
- ts: z38.string()
22007
+ z39.object({
22008
+ type: z39.literal("variable-request.changed"),
22009
+ workspaceId: z39.string(),
22010
+ ts: z39.string()
22007
22011
  }),
22008
- z38.object({
22009
- type: z38.literal("local-control-request.changed"),
22010
- workspaceId: z38.string(),
22011
- ts: z38.string()
22012
+ z39.object({
22013
+ type: z39.literal("local-control-request.changed"),
22014
+ workspaceId: z39.string(),
22015
+ ts: z39.string()
22012
22016
  }),
22013
- z38.object({
22014
- type: z38.literal("pull-request.changed"),
22015
- prUrl: z38.string(),
22016
- ts: z38.string()
22017
+ z39.object({
22018
+ type: z39.literal("pull-request.changed"),
22019
+ prUrl: z39.string(),
22020
+ ts: z39.string()
22017
22021
  }),
22018
- z38.object({
22019
- type: z38.literal("mothership.subagent.changed"),
22020
- workspaceId: z38.string(),
22021
- subagent: z38.object({ id: z38.string(), name: z38.string(), prUrl: z38.string().nullable() }),
22022
- ts: z38.string()
22022
+ z39.object({
22023
+ type: z39.literal("mothership.subagent.changed"),
22024
+ workspaceId: z39.string(),
22025
+ subagent: z39.object({ id: z39.string(), name: z39.string(), prUrl: z39.string().nullable() }),
22026
+ ts: z39.string()
22023
22027
  }),
22024
- z38.object({ type: z38.literal("mothership.board.changed"), workspaceId: z38.string(), ts: z38.string() }),
22025
- z38.object({ type: z38.literal("needs-you.changed"), workspaceId: z38.string().nullable(), userId: z38.string().optional(), ts: z38.string() }),
22026
- z38.object({
22027
- type: z38.literal("workspace.shared"),
22028
- workspaceId: z38.string(),
22029
- workspaceName: z38.string(),
22030
- sharedWithUserId: z38.string(),
22031
- sharedByName: z38.string(),
22032
- ts: z38.string()
22033
- })
22028
+ z39.object({ type: z39.literal("mothership.board.changed"), workspaceId: z39.string(), ts: z39.string() }),
22029
+ z39.object({ type: z39.literal("needs-you.changed"), workspaceId: z39.string().nullable(), userId: z39.string().optional(), ts: z39.string() }),
22030
+ z39.object({
22031
+ type: z39.literal("workspace.shared"),
22032
+ workspaceId: z39.string(),
22033
+ workspaceName: z39.string(),
22034
+ sharedWithUserId: z39.string(),
22035
+ sharedByName: z39.string(),
22036
+ ts: z39.string()
22037
+ }),
22038
+ z39.object({ type: z39.literal("client-state.changed"), userId: z39.string(), keys: z39.array(z39.string()), ts: z39.string() })
22034
22039
  ]);
22035
- var workspaceChangedEventSchema = z38.union([
22040
+ var workspaceChangedEventSchema = z39.union([
22036
22041
  workspaceEventSchemaByType,
22037
- z38.object({ type: z38.literal("presence.changed"), userId: z38.string(), entry: presenceEntrySchema.nullable(), ts: z38.string() }),
22038
- z38.object({ type: z38.literal("presence.changed"), ts: z38.string() })
22042
+ z39.object({ type: z39.literal("presence.changed"), userId: z39.string(), entry: presenceEntrySchema.nullable(), ts: z39.string() }),
22043
+ z39.object({ type: z39.literal("presence.changed"), ts: z39.string() })
22039
22044
  ]);
22040
22045
 
22041
22046
  // ../shared/src/routes/review-messages.ts
22042
- import { z as z39 } from "zod";
22043
- var sendPullRequestReviewMessageRequestSchema = z39.object({
22047
+ import { z as z40 } from "zod";
22048
+ var sendPullRequestReviewMessageRequestSchema = z40.object({
22044
22049
  ...sendChatMessageRequestSchema.pick({
22045
22050
  message: true,
22046
22051
  messageId: true,
@@ -22053,8 +22058,8 @@ var sendPullRequestReviewMessageRequestSchema = z39.object({
22053
22058
  ultrafastMode: true
22054
22059
  }).shape,
22055
22060
  /** Starts a new chat instead of continuing the PR's review chat. The provider only applies to a new chat. */
22056
- newChat: z39.boolean().optional(),
22057
- provider: z39.enum(VALID_AGENT_PROVIDERS).optional()
22061
+ newChat: z40.boolean().optional(),
22062
+ provider: z40.enum(VALID_AGENT_PROVIDERS).optional()
22058
22063
  });
22059
22064
 
22060
22065
  // ../shared/src/audit-log.ts
@@ -22717,40 +22722,40 @@ function isSkillRegistryManifest(value) {
22717
22722
  }
22718
22723
 
22719
22724
  // ../shared/src/routes/variable-requests.ts
22720
- import { z as z40 } from "zod";
22725
+ import { z as z41 } from "zod";
22721
22726
  var VARIABLE_REQUEST_WAIT = { defaultMs: 10 * 6e4, maxMs: 30 * 6e4, pollMs: 3e3, waiterStaleMs: 15e3 };
22722
22727
  var VARIABLE_REQUEST_DESTINATIONS = ["environment", "workspace"];
22723
- var requestedVariableSchema = z40.object({
22724
- key: z40.string().regex(VARIABLE_KEY_RE, "must be a valid environment variable name").max(ENVIRONMENT_SETUP_LIMITS.variableKeyChars),
22725
- required: z40.boolean(),
22726
- replace: z40.boolean().optional()
22728
+ var requestedVariableSchema = z41.object({
22729
+ key: z41.string().regex(VARIABLE_KEY_RE, "must be a valid environment variable name").max(ENVIRONMENT_SETUP_LIMITS.variableKeyChars),
22730
+ required: z41.boolean(),
22731
+ replace: z41.boolean().optional()
22727
22732
  });
22728
- var requestedVariablesSchema = z40.array(requestedVariableSchema).min(1, "must not be empty").max(ENVIRONMENT_SETUP_LIMITS.variables).refine((variables) => new Set(variables.map((variable) => variable.key)).size === variables.length, "must have unique keys");
22729
- var createVariableRequestSchema = z40.object({
22733
+ var requestedVariablesSchema = z41.array(requestedVariableSchema).min(1, "must not be empty").max(ENVIRONMENT_SETUP_LIMITS.variables).refine((variables) => new Set(variables.map((variable) => variable.key)).size === variables.length, "must have unique keys");
22734
+ var createVariableRequestSchema = z41.object({
22730
22735
  variables: requestedVariablesSchema,
22731
- reason: z40.string().trim().max(500).nullish().transform((value) => value || null),
22732
- wait: z40.boolean().default(true)
22736
+ reason: z41.string().trim().max(500).nullish().transform((value) => value || null),
22737
+ wait: z41.boolean().default(true)
22733
22738
  });
22734
- var respondVariableRequestSchema = z40.discriminatedUnion("action", [
22735
- z40.object({
22736
- action: z40.literal("provide"),
22737
- destination: z40.enum(VARIABLE_REQUEST_DESTINATIONS),
22739
+ var respondVariableRequestSchema = z41.discriminatedUnion("action", [
22740
+ z41.object({
22741
+ action: z41.literal("provide"),
22742
+ destination: z41.enum(VARIABLE_REQUEST_DESTINATIONS),
22738
22743
  /** Defaults to the workspace's environment, so older clients keep saving there. */
22739
- environment_ids: z40.array(z40.string().uuid()).optional(),
22740
- overwrite: z40.boolean().optional(),
22741
- values: z40.record(z40.string().regex(VARIABLE_KEY_RE), z40.string())
22744
+ environment_ids: z41.array(z41.string().uuid()).optional(),
22745
+ overwrite: z41.boolean().optional(),
22746
+ values: z41.record(z41.string().regex(VARIABLE_KEY_RE), z41.string())
22742
22747
  }),
22743
- z40.object({ action: z40.literal("skip") })
22748
+ z41.object({ action: z41.literal("skip") })
22744
22749
  ]);
22745
22750
 
22746
22751
  // ../shared/src/routes/local-control-requests.ts
22747
- import { z as z41 } from "zod";
22748
- var createLocalControlRequestSchema = z41.object({
22749
- reason: z41.string().trim().max(500).optional().transform((value) => value || null),
22750
- wait: z41.boolean().default(true)
22752
+ import { z as z42 } from "zod";
22753
+ var createLocalControlRequestSchema = z42.object({
22754
+ reason: z42.string().trim().max(500).optional().transform((value) => value || null),
22755
+ wait: z42.boolean().default(true)
22751
22756
  });
22752
- var respondLocalControlRequestSchema = z41.object({ action: z41.enum(["allow", "dismiss"]) });
22753
- var setLocalControlSchema = z41.object({ enabled: z41.boolean() });
22757
+ var respondLocalControlRequestSchema = z42.object({ action: z42.enum(["allow", "dismiss"]) });
22758
+ var setLocalControlSchema = z42.object({ enabled: z42.boolean() });
22754
22759
 
22755
22760
  export {
22756
22761
  ENGINE_SEND_MESSAGE_FAILED_ERROR,
@@ -4,7 +4,7 @@ const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  SUBPROCESS_MAX_BUFFER,
6
6
  execFileAsync
7
- } from "./chunk-HAIG265L.js";
7
+ } from "./chunk-UDQ2CG7N.js";
8
8
  import {
9
9
  isRecord as isRecord2
10
10
  } from "./chunk-UZSNFLDQ.js";
@@ -21,7 +21,7 @@ import {
21
21
  provisionedDeviceSchema,
22
22
  readReplicasRuntimeEnv,
23
23
  serializePosixEnvFile
24
- } from "./chunk-RI7YNGHI.js";
24
+ } from "./chunk-23K2QGXR.js";
25
25
 
26
26
  // src/runtime-env-loader.ts
27
27
  import { readFileSync } from "fs";
@@ -12,15 +12,15 @@ import {
12
12
  resolveDiffBase,
13
13
  runGitCommand,
14
14
  setAgentCredentialSnapshot
15
- } from "./chunk-GOD7OSPU.js";
15
+ } from "./chunk-2QZMXRTE.js";
16
16
  import {
17
17
  AppServerProcess,
18
18
  buildCodexAgentEnv
19
- } from "./chunk-AAWH4PTV.js";
19
+ } from "./chunk-ZOEKFIAP.js";
20
20
  import {
21
21
  SUBPROCESS_MAX_BUFFER,
22
22
  execFileAsync
23
- } from "./chunk-HAIG265L.js";
23
+ } from "./chunk-UDQ2CG7N.js";
24
24
  import {
25
25
  isRecord
26
26
  } from "./chunk-UZSNFLDQ.js";
@@ -61,7 +61,7 @@ import {
61
61
  shrunkImageSize,
62
62
  splitMothershipInstructions,
63
63
  withTimeout
64
- } from "./chunk-RI7YNGHI.js";
64
+ } from "./chunk-23K2QGXR.js";
65
65
 
66
66
  // src/managers/codex-token-manager.ts
67
67
  import { promises as fs } from "fs";
@@ -461,7 +461,7 @@ var CodexTokenManager = class extends BaseRefreshManager {
461
461
  await this.applyCredentialUpdate(++this.credentialGeneration, async () => {
462
462
  await this.applyCredentialsResponse(data);
463
463
  setAgentCredentialSnapshot("codex", data);
464
- const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-RAU6GO5L.js");
464
+ const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-XCRQ55EU.js");
465
465
  await restartCodexAspHostIfRunning2();
466
466
  });
467
467
  await this.start(true);
@@ -483,7 +483,7 @@ var CodexTokenManager = class extends BaseRefreshManager {
483
483
  const accountChanged = ENGINE_ENV.REPLICAS_AGENT_CREDENTIALS.codex?.credentialId !== data.credentialId;
484
484
  await this.applyCredentialsResponse(data);
485
485
  if (restartOnChange && (accountChanged || CODEX_AUTH_ENV_KEYS.some((key, index) => process.env[key] !== previousEnv[index]))) {
486
- const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-RAU6GO5L.js");
486
+ const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-XCRQ55EU.js");
487
487
  await restartCodexAspHostIfRunning2();
488
488
  }
489
489
  setAgentCredentialSnapshot("codex", data);
@@ -3,7 +3,7 @@ import { createRequire as __createRequire } from 'node:module';
3
3
  const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  AspClient
6
- } from "./chunk-AAWH4PTV.js";
6
+ } from "./chunk-ZOEKFIAP.js";
7
7
  import {
8
8
  ASTER_BASE_URL,
9
9
  ASTER_PROVIDER,
@@ -15,7 +15,7 @@ import {
15
15
  isRecord,
16
16
  readOllamaAuthEnv,
17
17
  readOpenAICompatibleAuthEnv
18
- } from "./chunk-RI7YNGHI.js";
18
+ } from "./chunk-23K2QGXR.js";
19
19
 
20
20
  // src/managers/codex-asp/notification-dispatch.ts
21
21
  var TURN_STARTED_METHOD = "turn/started";
@@ -3,7 +3,7 @@ import { createRequire as __createRequire } from 'node:module';
3
3
  const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  HOOK_EXEC_MAX_BUFFER_BYTES
6
- } from "./chunk-RI7YNGHI.js";
6
+ } from "./chunk-23K2QGXR.js";
7
7
 
8
8
  // src/utils/exec.ts
9
9
  import { exec, execFile } from "child_process";
@@ -6,7 +6,7 @@ import {
6
6
  getOriginDefaultBranch,
7
7
  monolithRequest,
8
8
  runGitCommand
9
- } from "./chunk-GOD7OSPU.js";
9
+ } from "./chunk-2QZMXRTE.js";
10
10
  import {
11
11
  extractCommandProtectionCommandText,
12
12
  findCommandProtectionGitLookups,
@@ -15,7 +15,7 @@ import {
15
15
  findScoutRepoWriteSignals,
16
16
  parseCommandProtectionRequest,
17
17
  withE2BRetry
18
- } from "./chunk-RI7YNGHI.js";
18
+ } from "./chunk-23K2QGXR.js";
19
19
 
20
20
  // src/services/command-protection-service.ts
21
21
  import { readFile, stat } from "fs/promises";
@@ -3,10 +3,10 @@ import { createRequire as __createRequire } from 'node:module';
3
3
  const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  execFileAsync
6
- } from "./chunk-HAIG265L.js";
6
+ } from "./chunk-UDQ2CG7N.js";
7
7
  import {
8
8
  isVersionBelow
9
- } from "./chunk-RI7YNGHI.js";
9
+ } from "./chunk-23K2QGXR.js";
10
10
 
11
11
  // src/utils/codex-agent-env.ts
12
12
  function buildCodexAgentEnv(source = process.env) {
@@ -240,7 +240,7 @@ function getCodexModelProvider(method) {
240
240
  if (method === "foundry") return "azure";
241
241
  return method === "ollama" || method === "openai-compatible" ? "replicas_openai_compatible" : "openai";
242
242
  }
243
- var ENGINE_PACKAGE_VERSION = "0.1.1593";
243
+ var ENGINE_PACKAGE_VERSION = "0.1.1595";
244
244
  var INITIALIZE_METHOD = "initialize";
245
245
  var INITIALIZED_NOTIFICATION = "initialized";
246
246
  var ACCOUNT_LOGIN_START_METHOD = "account/login/start";
@@ -3,13 +3,13 @@ import { createRequire as __createRequire } from 'node:module';
3
3
  const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  evaluateCommandProtection
6
- } from "./chunk-U7NHWLIU.js";
7
- import "./chunk-GOD7OSPU.js";
8
- import "./chunk-HAIG265L.js";
6
+ } from "./chunk-WJS7QOY3.js";
7
+ import "./chunk-2QZMXRTE.js";
8
+ import "./chunk-UDQ2CG7N.js";
9
9
  import {
10
10
  isRecord
11
11
  } from "./chunk-UZSNFLDQ.js";
12
- import "./chunk-RI7YNGHI.js";
12
+ import "./chunk-23K2QGXR.js";
13
13
  import "./chunk-VEQXQN22.js";
14
14
 
15
15
  // src/command-protection-hook.ts
@@ -14,12 +14,12 @@ import {
14
14
  recoverCompletedTurn,
15
15
  spawnMuseMsp,
16
16
  startMuseSession
17
- } from "./chunk-VWU5LE25.js";
17
+ } from "./chunk-TWNPD345.js";
18
18
  import {
19
19
  AppServerProcess,
20
20
  buildCodexAgentEnv
21
- } from "./chunk-AAWH4PTV.js";
22
- import "./chunk-HAIG265L.js";
21
+ } from "./chunk-ZOEKFIAP.js";
22
+ import "./chunk-UDQ2CG7N.js";
23
23
  import {
24
24
  AGENT,
25
25
  OPENCODE_GO_PROVIDER,
@@ -29,7 +29,7 @@ import {
29
29
  headlessAgentUsagePath,
30
30
  isRecord,
31
31
  withTimeout
32
- } from "./chunk-RI7YNGHI.js";
32
+ } from "./chunk-23K2QGXR.js";
33
33
  import "./chunk-VEQXQN22.js";
34
34
 
35
35
  // src/headless-agent.ts
package/dist/src/index.js CHANGED
@@ -27,7 +27,7 @@ import {
27
27
  evaluateCommandProtection,
28
28
  extractToolCommand,
29
29
  reportCommandProtectionBlock
30
- } from "./chunk-U7NHWLIU.js";
30
+ } from "./chunk-WJS7QOY3.js";
31
31
  import {
32
32
  ACCOUNT_RATE_LIMITS_UPDATED_METHOD,
33
33
  AGENT_MESSAGE_DELTA_METHOD,
@@ -65,10 +65,10 @@ import {
65
65
  spawnMuseMsp,
66
66
  startMuseSession,
67
67
  uuidV7
68
- } from "./chunk-VWU5LE25.js";
68
+ } from "./chunk-TWNPD345.js";
69
69
  import {
70
70
  publishedPullRequestUrls
71
- } from "./chunk-AQQTMJGX.js";
71
+ } from "./chunk-22CA5MW6.js";
72
72
  import {
73
73
  ACCOUNT_RATE_LIMITS_READ_METHOD,
74
74
  AsyncLock,
@@ -147,7 +147,7 @@ import {
147
147
  transcriptSecrets,
148
148
  upsertCredentialFileLines,
149
149
  writeSecureCredentialFile
150
- } from "./chunk-AVPEFLZA.js";
150
+ } from "./chunk-CJZDAY66.js";
151
151
  import {
152
152
  ENGINE_ENV,
153
153
  UNQUOTED_PATHS_CONFIG,
@@ -158,16 +158,16 @@ import {
158
158
  resolveDiffBase,
159
159
  setAgentCredentialSnapshot,
160
160
  setLinearSessionId
161
- } from "./chunk-GOD7OSPU.js";
161
+ } from "./chunk-2QZMXRTE.js";
162
162
  import {
163
163
  buildCodexAgentEnv,
164
164
  getCodexModelProvider
165
- } from "./chunk-AAWH4PTV.js";
165
+ } from "./chunk-ZOEKFIAP.js";
166
166
  import {
167
167
  SUBPROCESS_MAX_BUFFER,
168
168
  execAsync,
169
169
  execFileAsync
170
- } from "./chunk-HAIG265L.js";
170
+ } from "./chunk-UDQ2CG7N.js";
171
171
  import {
172
172
  isRecord as isRecord2
173
173
  } from "./chunk-UZSNFLDQ.js";
@@ -463,7 +463,7 @@ import {
463
463
  workspaceTokenRequestSchema,
464
464
  workspaceTokenResponseSchema,
465
465
  wrapInTag
466
- } from "./chunk-RI7YNGHI.js";
466
+ } from "./chunk-23K2QGXR.js";
467
467
  import {
468
468
  cloneMcpConfig,
469
469
  ensureCompatibilityImports,
@@ -3,13 +3,13 @@ import { createRequire as __createRequire } from 'node:module';
3
3
  const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  publishedPullRequestUrls
6
- } from "./chunk-AQQTMJGX.js";
6
+ } from "./chunk-22CA5MW6.js";
7
7
  import {
8
8
  isRecord
9
9
  } from "./chunk-UZSNFLDQ.js";
10
10
  import {
11
11
  shouldRefreshPullRequests
12
- } from "./chunk-RI7YNGHI.js";
12
+ } from "./chunk-23K2QGXR.js";
13
13
  import "./chunk-VEQXQN22.js";
14
14
 
15
15
  // src/services/post-tool-pr-notifier.ts
@@ -11,7 +11,7 @@ import {
11
11
  spawnSubagentRequestSchema,
12
12
  subagentResponseSchema,
13
13
  waitSubagentRequestSchema
14
- } from "./chunk-RI7YNGHI.js";
14
+ } from "./chunk-23K2QGXR.js";
15
15
  import "./chunk-VEQXQN22.js";
16
16
 
17
17
  // src/subagent-mcp.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-engine",
3
- "version": "0.1.1593",
3
+ "version": "0.1.1595",
4
4
  "description": "Lightweight API server for Replicas workspaces",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",