replicas-engine 0.1.1413 → 0.1.1415

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-QRIQ2RUV.js";
12
- import "./chunk-EFLAARUN.js";
13
- import "./chunk-PJ6TT2BU.js";
14
- import "./chunk-YGWK2KYV.js";
11
+ } from "./chunk-I3Q2KD7W.js";
12
+ import "./chunk-TOY2OEEU.js";
13
+ import "./chunk-DVQSNYXN.js";
14
+ import "./chunk-XAOKF4PJ.js";
15
15
  import "./chunk-UZSNFLDQ.js";
16
- import "./chunk-26BQX5J5.js";
16
+ import "./chunk-AROVU6I6.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-26BQX5J5.js";
8
+ } from "./chunk-AROVU6I6.js";
9
9
 
10
10
  // src/services/published-pull-request-urls.ts
11
11
  function publishedPullRequestUrls(result) {
@@ -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-PJ6TT2BU.js";
6
+ } from "./chunk-DVQSNYXN.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-26BQX5J5.js";
18
+ } from "./chunk-AROVU6I6.js";
19
19
 
20
20
  // src/managers/codex-asp/notification-dispatch.ts
21
21
  var TURN_STARTED_METHOD = "turn/started";
@@ -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 z33 = void 0;
1119
+ let z34 = 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
- z33 = offsetZ;
1126
+ z34 = offsetZ;
1127
1127
  this.dt = dt;
1128
1128
  } else {
1129
- z33 = "UTC";
1129
+ z34 = "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
- z33 = dt.zone.name;
1139
+ z34 = dt.zone.name;
1140
1140
  } else {
1141
- z33 = "UTC";
1141
+ z34 = "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 || z33;
1150
+ intlOpts.timeZone = intlOpts.timeZone || z34;
1151
1151
  this.dtf = getCachedDTF(intl, intlOpts);
1152
1152
  }
1153
1153
  format() {
@@ -9895,7 +9895,8 @@ var HIDDEN_BY_DEFAULT_MODELS = /* @__PURE__ */ new Set([
9895
9895
  ]);
9896
9896
  var withoutHiddenByDefault = (models) => models.filter((model2) => !HIDDEN_BY_DEFAULT_MODELS.has(model2));
9897
9897
  var DEFAULT_STATIC_AGENT_MODELS = {
9898
- claude: withoutHiddenByDefault(AGENT_MODELS.claude),
9898
+ // Haiku 5.5 replaces it for Claude Code; Cursor has no newer Haiku, so it keeps it.
9899
+ claude: withoutHiddenByDefault(AGENT_MODELS.claude).filter((model2) => model2 !== CLAUDE_HAIKU_4_5_MODEL),
9899
9900
  codex: withoutHiddenByDefault(AGENT_MODELS.codex)
9900
9901
  };
9901
9902
  var DEFAULT_CURSOR_MODELS = withoutHiddenByDefault(AGENT_MODELS.cursor);
@@ -14175,7 +14176,7 @@ Read issues and project data through the workspace-scoped TypeScript SDK.
14175
14176
  **Reference:** \`references/SENTRY.md\`
14176
14177
 
14177
14178
  Use this when:
14178
- - A user shares a sentry.io link
14179
+ - A user shares a Sentry link (sentry.io or a self-hosted Sentry server)
14179
14180
  - You need to inspect Sentry projects or issues
14180
14181
  - A user asks for error-monitoring context outside a webhook-triggered task`;
14181
14182
  var REFERENCE12 = `# Sentry Integration
@@ -14199,6 +14200,8 @@ const issue = await replicas.sentry.request('/organizations/acme/issues/45123456
14199
14200
  const latest = await replicas.sentry.request('/organizations/acme/issues/4512345678/events/latest/');
14200
14201
  \`\`\`
14201
14202
 
14203
+ Self-hosted Sentry links work the same way: for \`https://sentry.example.com/organizations/acme/issues/4512345678/\`, request \`/organizations/acme/issues/4512345678/\`. The gateway sends it to the organization's connected Sentry server.
14204
+
14202
14205
  A link ending in \`/events/<eventId>/\` names a specific event: \`/organizations/acme/issues/4512345678/events/<eventId>/\`. Resolve a short ID such as \`BACKEND-1A2\` with \`/organizations/acme/shortids/BACKEND-1A2/\`. The event's \`entries\` hold the stack trace and breadcrumbs.
14203
14206
 
14204
14207
  Pass only a relative Sentry API path. The Replicas gateway selects the connected organization credential and rejects writes, absolute URLs, oversized responses, and long-running requests.
@@ -14206,7 +14209,7 @@ Pass only a relative Sentry API path. The Replicas gateway selects the connected
14206
14209
  var SENTRY_ABILITY = {
14207
14210
  label: "Sentry",
14208
14211
  description: "Read Sentry projects and issues through @replicas/sdk.",
14209
- bullet: "- Interacting with Sentry (reading projects, issues, and error context, including any sentry.io link the user shares): use replicas.sentry.request from @replicas/sdk. Read references/SENTRY.md to turn an issue link into API paths.",
14212
+ bullet: "- Interacting with Sentry (reading projects, issues, and error context, including any Sentry issue link the user shares): use replicas.sentry.request from @replicas/sdk. Read references/SENTRY.md to turn an issue link into API paths.",
14210
14213
  section: SECTION12,
14211
14214
  referenceFile: { name: "SENTRY.md", content: REFERENCE12 }
14212
14215
  };
@@ -20317,15 +20320,23 @@ var PLUGIN_CATALOG = [
20317
20320
  ...HOSTED_COMPOSIO_PLUGINS
20318
20321
  ].map((plugin) => ({ ...plugin, readOnlyScopes: READ_ONLY_SCOPES[plugin.id] }));
20319
20322
 
20323
+ // ../shared/src/routes/sentry.ts
20324
+ import { z as z28 } from "zod";
20325
+ var sentrySelfHostedConnectRequestSchema = z28.object({
20326
+ baseUrl: z28.string().min(1),
20327
+ token: z28.string().trim().min(1),
20328
+ webhookSecret: z28.string().trim().optional()
20329
+ });
20330
+
20320
20331
  // ../shared/src/routes/user.ts
20321
20332
  var PROFILE_AVATAR_MAX_SIZE_BYTES = 5 * 1024 * 1024;
20322
20333
 
20323
20334
  // ../shared/src/routes/web-auth.ts
20324
- import { z as z28 } from "zod";
20325
- var webAuthRedeemResponseSchema = z28.object({
20326
- path: z28.string(),
20327
- organizationId: z28.string().nullable(),
20328
- session: z28.object({ access_token: z28.string(), refresh_token: z28.string(), user: z28.object({ id: z28.string(), email: z28.string() }) }).nullable()
20335
+ import { z as z29 } from "zod";
20336
+ var webAuthRedeemResponseSchema = z29.object({
20337
+ path: z29.string(),
20338
+ organizationId: z29.string().nullable(),
20339
+ session: z29.object({ access_token: z29.string(), refresh_token: z29.string(), user: z29.object({ id: z29.string(), email: z29.string() }) }).nullable()
20329
20340
  });
20330
20341
 
20331
20342
  // ../shared/src/routes/client-state.ts
@@ -20348,81 +20359,81 @@ var promptHistoryClientStateKey = orgUserClientStateKey(PROMPT_HISTORY_CLIENT_ST
20348
20359
  var workspaceSearchOpensClientStateKey = orgUserClientStateKey(WORKSPACE_SEARCH_OPENS_CLIENT_STATE_KEY_PREFIX);
20349
20360
 
20350
20361
  // ../shared/src/routes/workspace-events.ts
20351
- import { z as z29 } from "zod";
20352
- var workspaceTurnCompletionSchema = z29.object({
20353
- workspaceName: z29.string(),
20354
- completedAt: z29.string(),
20355
- processing: z29.boolean().optional(),
20356
- pullRequestFeedback: z29.boolean().optional(),
20357
- attention: z29.object({ reason: z29.enum(CHAT_ATTENTION_REASONS), userId: z29.string() }).optional()
20362
+ import { z as z30 } from "zod";
20363
+ var workspaceTurnCompletionSchema = z30.object({
20364
+ workspaceName: z30.string(),
20365
+ completedAt: z30.string(),
20366
+ processing: z30.boolean().optional(),
20367
+ pullRequestFeedback: z30.boolean().optional(),
20368
+ attention: z30.object({ reason: z30.enum(CHAT_ATTENTION_REASONS), userId: z30.string() }).optional()
20358
20369
  });
20359
- var workspaceChangedEventSchema = z29.discriminatedUnion("type", [
20360
- z29.object({
20361
- type: z29.literal("workspace.changed"),
20362
- workspaceId: z29.string(),
20363
- workspace: z29.object({ status: z29.enum(WORKSPACE_STATUSES), last_activity_at: z29.string().nullable() }).optional(),
20370
+ var workspaceChangedEventSchema = z30.discriminatedUnion("type", [
20371
+ z30.object({
20372
+ type: z30.literal("workspace.changed"),
20373
+ workspaceId: z30.string(),
20374
+ workspace: z30.object({ status: z30.enum(WORKSPACE_STATUSES), last_activity_at: z30.string().nullable() }).optional(),
20364
20375
  completion: workspaceTurnCompletionSchema.optional(),
20365
- ts: z29.string()
20376
+ ts: z30.string()
20366
20377
  }),
20367
- z29.object({
20368
- type: z29.literal("workspace.chat.changed"),
20369
- workspaceId: z29.string(),
20370
- chatId: z29.string(),
20371
- ts: z29.string()
20378
+ z30.object({
20379
+ type: z30.literal("workspace.chat.changed"),
20380
+ workspaceId: z30.string(),
20381
+ chatId: z30.string(),
20382
+ ts: z30.string()
20372
20383
  }),
20373
- z29.object({
20374
- type: z29.literal("workspace.chat.advanced"),
20375
- workspaceId: z29.string(),
20376
- chatId: z29.string(),
20377
- afterCursor: z29.string().optional(),
20378
- processing: z29.boolean(),
20379
- ts: z29.string()
20384
+ z30.object({
20385
+ type: z30.literal("workspace.chat.advanced"),
20386
+ workspaceId: z30.string(),
20387
+ chatId: z30.string(),
20388
+ afterCursor: z30.string().optional(),
20389
+ processing: z30.boolean(),
20390
+ ts: z30.string()
20380
20391
  }),
20381
- z29.object({ type: z29.literal("presence.changed"), ts: z29.string() }),
20382
- z29.object({
20383
- type: z29.literal("mobile-testing.changed"),
20384
- workspaceId: z29.string(),
20385
- ts: z29.string()
20392
+ z30.object({ type: z30.literal("presence.changed"), ts: z30.string() }),
20393
+ z30.object({
20394
+ type: z30.literal("mobile-testing.changed"),
20395
+ workspaceId: z30.string(),
20396
+ ts: z30.string()
20386
20397
  }),
20387
- z29.object({
20388
- type: z29.literal("variable-request.changed"),
20389
- workspaceId: z29.string(),
20390
- ts: z29.string()
20398
+ z30.object({
20399
+ type: z30.literal("variable-request.changed"),
20400
+ workspaceId: z30.string(),
20401
+ ts: z30.string()
20391
20402
  }),
20392
- z29.object({
20393
- type: z29.literal("pull-request.changed"),
20394
- prUrl: z29.string(),
20395
- ts: z29.string()
20403
+ z30.object({
20404
+ type: z30.literal("pull-request.changed"),
20405
+ prUrl: z30.string(),
20406
+ ts: z30.string()
20396
20407
  }),
20397
- z29.object({
20398
- type: z29.literal("mothership.subagent.changed"),
20399
- workspaceId: z29.string(),
20400
- subagent: z29.object({ id: z29.string(), name: z29.string(), prUrl: z29.string().nullable() }),
20401
- ts: z29.string()
20408
+ z30.object({
20409
+ type: z30.literal("mothership.subagent.changed"),
20410
+ workspaceId: z30.string(),
20411
+ subagent: z30.object({ id: z30.string(), name: z30.string(), prUrl: z30.string().nullable() }),
20412
+ ts: z30.string()
20402
20413
  }),
20403
- z29.object({ type: z29.literal("needs-you.changed"), workspaceId: z29.string().nullable(), ts: z29.string() })
20414
+ z30.object({ type: z30.literal("needs-you.changed"), workspaceId: z30.string().nullable(), ts: z30.string() })
20404
20415
  ]);
20405
20416
 
20406
20417
  // ../shared/src/routes/presence.ts
20407
- import { z as z30 } from "zod";
20408
- var presenceStatusSchema = z30.enum(["online", "typing"]);
20409
- var presenceLocationSchema = z30.object({
20410
- workspaceId: z30.string().optional()
20418
+ import { z as z31 } from "zod";
20419
+ var presenceStatusSchema = z31.enum(["online", "typing"]);
20420
+ var presenceLocationSchema = z31.object({
20421
+ workspaceId: z31.string().optional()
20411
20422
  });
20412
- var presenceEntrySchema = z30.object({
20413
- userId: z30.string(),
20423
+ var presenceEntrySchema = z31.object({
20424
+ userId: z31.string(),
20414
20425
  status: presenceStatusSchema,
20415
20426
  location: presenceLocationSchema,
20416
- ts: z30.string()
20427
+ ts: z31.string()
20417
20428
  });
20418
- var updatePresenceRequestSchema = z30.object({
20429
+ var updatePresenceRequestSchema = z31.object({
20419
20430
  status: presenceStatusSchema,
20420
20431
  location: presenceLocationSchema.optional()
20421
20432
  });
20422
20433
 
20423
20434
  // ../shared/src/routes/review-messages.ts
20424
- import { z as z31 } from "zod";
20425
- var sendPullRequestReviewMessageRequestSchema = z31.object({
20435
+ import { z as z32 } from "zod";
20436
+ var sendPullRequestReviewMessageRequestSchema = z32.object({
20426
20437
  ...sendChatMessageRequestSchema.pick({
20427
20438
  message: true,
20428
20439
  messageId: true,
@@ -20435,8 +20446,8 @@ var sendPullRequestReviewMessageRequestSchema = z31.object({
20435
20446
  ultrafastMode: true
20436
20447
  }).shape,
20437
20448
  /** Starts a new chat instead of continuing the PR's review chat. The provider only applies to a new chat. */
20438
- newChat: z31.boolean().optional(),
20439
- provider: z31.enum(VALID_AGENT_PROVIDERS).optional()
20449
+ newChat: z32.boolean().optional(),
20450
+ provider: z32.enum(VALID_AGENT_PROVIDERS).optional()
20440
20451
  });
20441
20452
 
20442
20453
  // ../shared/src/audit-log.ts
@@ -20657,30 +20668,30 @@ function isSkillRegistryManifest(value) {
20657
20668
  }
20658
20669
 
20659
20670
  // ../shared/src/routes/variable-requests.ts
20660
- import { z as z32 } from "zod";
20671
+ import { z as z33 } from "zod";
20661
20672
  var VARIABLE_REQUEST_WAIT = { defaultMs: 10 * 6e4, maxMs: 30 * 6e4, pollMs: 3e3, waiterStaleMs: 15e3 };
20662
20673
  var VARIABLE_REQUEST_DESTINATIONS = ["environment", "workspace"];
20663
- var requestedVariableSchema = z32.object({
20664
- key: z32.string().regex(VARIABLE_KEY_RE, "must be a valid environment variable name").max(ENVIRONMENT_SETUP_LIMITS.variableKeyChars),
20665
- required: z32.boolean(),
20666
- replace: z32.boolean().optional()
20674
+ var requestedVariableSchema = z33.object({
20675
+ key: z33.string().regex(VARIABLE_KEY_RE, "must be a valid environment variable name").max(ENVIRONMENT_SETUP_LIMITS.variableKeyChars),
20676
+ required: z33.boolean(),
20677
+ replace: z33.boolean().optional()
20667
20678
  });
20668
- var requestedVariablesSchema = z32.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");
20669
- var createVariableRequestSchema = z32.object({
20679
+ var requestedVariablesSchema = z33.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");
20680
+ var createVariableRequestSchema = z33.object({
20670
20681
  variables: requestedVariablesSchema,
20671
- reason: z32.string().trim().max(500).nullish().transform((value) => value || null),
20672
- wait: z32.boolean().default(true)
20682
+ reason: z33.string().trim().max(500).nullish().transform((value) => value || null),
20683
+ wait: z33.boolean().default(true)
20673
20684
  });
20674
- var respondVariableRequestSchema = z32.discriminatedUnion("action", [
20675
- z32.object({
20676
- action: z32.literal("provide"),
20677
- destination: z32.enum(VARIABLE_REQUEST_DESTINATIONS),
20685
+ var respondVariableRequestSchema = z33.discriminatedUnion("action", [
20686
+ z33.object({
20687
+ action: z33.literal("provide"),
20688
+ destination: z33.enum(VARIABLE_REQUEST_DESTINATIONS),
20678
20689
  /** Defaults to the workspace's environment, so older clients keep saving there. */
20679
- environment_ids: z32.array(z32.string().uuid()).optional(),
20680
- overwrite: z32.boolean().optional(),
20681
- values: z32.record(z32.string().regex(VARIABLE_KEY_RE), z32.string())
20690
+ environment_ids: z33.array(z33.string().uuid()).optional(),
20691
+ overwrite: z33.boolean().optional(),
20692
+ values: z33.record(z33.string().regex(VARIABLE_KEY_RE), z33.string())
20682
20693
  }),
20683
- z32.object({ action: z32.literal("skip") })
20694
+ z33.object({ action: z33.literal("skip") })
20684
20695
  ]);
20685
20696
 
20686
20697
  export {
@@ -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-YGWK2KYV.js";
6
+ } from "./chunk-XAOKF4PJ.js";
7
7
  import {
8
8
  isVersionBelow
9
- } from "./chunk-26BQX5J5.js";
9
+ } from "./chunk-AROVU6I6.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.1413";
243
+ var ENGINE_PACKAGE_VERSION = "0.1.1414";
244
244
  var INITIALIZE_METHOD = "initialize";
245
245
  var INITIALIZED_NOTIFICATION = "initialized";
246
246
  var ACCOUNT_LOGIN_START_METHOD = "account/login/start";
@@ -10,15 +10,15 @@ import {
10
10
  resolveDiffBase,
11
11
  runGitCommand,
12
12
  setAgentCredentialSnapshot
13
- } from "./chunk-EFLAARUN.js";
13
+ } from "./chunk-TOY2OEEU.js";
14
14
  import {
15
15
  AppServerProcess,
16
16
  buildCodexAgentEnv
17
- } from "./chunk-PJ6TT2BU.js";
17
+ } from "./chunk-DVQSNYXN.js";
18
18
  import {
19
19
  SUBPROCESS_MAX_BUFFER,
20
20
  execFileAsync
21
- } from "./chunk-YGWK2KYV.js";
21
+ } from "./chunk-XAOKF4PJ.js";
22
22
  import {
23
23
  isRecord
24
24
  } from "./chunk-UZSNFLDQ.js";
@@ -56,7 +56,7 @@ import {
56
56
  resolveOpenAICompatibleModelsUrl,
57
57
  splitMothershipInstructions,
58
58
  withTimeout
59
- } from "./chunk-26BQX5J5.js";
59
+ } from "./chunk-AROVU6I6.js";
60
60
 
61
61
  // src/managers/codex-token-manager.ts
62
62
  import { promises as fs } from "fs";
@@ -319,7 +319,7 @@ var CodexTokenManager = class extends BaseRefreshManager {
319
319
  await this.applyCredentialUpdate(++this.credentialGeneration, async () => {
320
320
  await this.applyCredentialsResponse(data);
321
321
  setAgentCredentialSnapshot("codex", data);
322
- const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-5TXSIWRI.js");
322
+ const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-RN2PCXSX.js");
323
323
  await restartCodexAspHostIfRunning2();
324
324
  });
325
325
  await this.start(true);
@@ -341,7 +341,7 @@ var CodexTokenManager = class extends BaseRefreshManager {
341
341
  const accountChanged = ENGINE_ENV.REPLICAS_AGENT_CREDENTIALS.codex?.credentialId !== data.credentialId;
342
342
  await this.applyCredentialsResponse(data);
343
343
  if (restartOnChange && (accountChanged || CODEX_AUTH_ENV_KEYS.some((key, index) => process.env[key] !== previousEnv[index]))) {
344
- const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-5TXSIWRI.js");
344
+ const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-RN2PCXSX.js");
345
345
  await restartCodexAspHostIfRunning2();
346
346
  }
347
347
  setAgentCredentialSnapshot("codex", data);
@@ -6,7 +6,7 @@ import {
6
6
  getOriginDefaultBranch,
7
7
  monolithRequest,
8
8
  runGitCommand
9
- } from "./chunk-EFLAARUN.js";
9
+ } from "./chunk-TOY2OEEU.js";
10
10
  import {
11
11
  extractCommandProtectionCommandText,
12
12
  findCommandProtectionGitLookups,
@@ -14,7 +14,7 @@ import {
14
14
  findPrMergeSignals,
15
15
  findScoutRepoWriteSignals,
16
16
  parseCommandProtectionRequest
17
- } from "./chunk-26BQX5J5.js";
17
+ } from "./chunk-AROVU6I6.js";
18
18
 
19
19
  // src/services/command-protection-service.ts
20
20
  import { readFile, stat } from "fs/promises";
@@ -4,7 +4,7 @@ const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  SUBPROCESS_MAX_BUFFER,
6
6
  execFileAsync
7
- } from "./chunk-YGWK2KYV.js";
7
+ } from "./chunk-XAOKF4PJ.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-26BQX5J5.js";
24
+ } from "./chunk-AROVU6I6.js";
25
25
 
26
26
  // src/runtime-env-loader.ts
27
27
  import { readFileSync } from "fs";
@@ -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-26BQX5J5.js";
6
+ } from "./chunk-AROVU6I6.js";
7
7
 
8
8
  // src/utils/exec.ts
9
9
  import { exec, execFile } from "child_process";
@@ -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-PAK4GD7C.js";
7
- import "./chunk-EFLAARUN.js";
8
- import "./chunk-YGWK2KYV.js";
6
+ } from "./chunk-NPVZY57X.js";
7
+ import "./chunk-TOY2OEEU.js";
8
+ import "./chunk-XAOKF4PJ.js";
9
9
  import {
10
10
  isRecord
11
11
  } from "./chunk-UZSNFLDQ.js";
12
- import "./chunk-26BQX5J5.js";
12
+ import "./chunk-AROVU6I6.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-JLUWYVNY.js";
17
+ } from "./chunk-64IWT37J.js";
18
18
  import {
19
19
  AppServerProcess,
20
20
  buildCodexAgentEnv
21
- } from "./chunk-PJ6TT2BU.js";
22
- import "./chunk-YGWK2KYV.js";
21
+ } from "./chunk-DVQSNYXN.js";
22
+ import "./chunk-XAOKF4PJ.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-26BQX5J5.js";
32
+ } from "./chunk-AROVU6I6.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-PAK4GD7C.js";
30
+ } from "./chunk-NPVZY57X.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-JLUWYVNY.js";
68
+ } from "./chunk-64IWT37J.js";
69
69
  import {
70
70
  publishedPullRequestUrls
71
- } from "./chunk-4HOUBTBJ.js";
71
+ } from "./chunk-3BZ56LYP.js";
72
72
  import {
73
73
  ACCOUNT_RATE_LIMITS_READ_METHOD,
74
74
  AsyncLock,
@@ -143,7 +143,7 @@ import {
143
143
  timestampFromSeconds,
144
144
  upsertCredentialFileLines,
145
145
  writeSecureCredentialFile
146
- } from "./chunk-QRIQ2RUV.js";
146
+ } from "./chunk-I3Q2KD7W.js";
147
147
  import {
148
148
  ENGINE_ENV,
149
149
  monolithRequest,
@@ -153,15 +153,15 @@ import {
153
153
  resolveDiffBase,
154
154
  setAgentCredentialSnapshot,
155
155
  setLinearSessionId
156
- } from "./chunk-EFLAARUN.js";
156
+ } from "./chunk-TOY2OEEU.js";
157
157
  import {
158
158
  getCodexModelProvider
159
- } from "./chunk-PJ6TT2BU.js";
159
+ } from "./chunk-DVQSNYXN.js";
160
160
  import {
161
161
  SUBPROCESS_MAX_BUFFER,
162
162
  execAsync,
163
163
  execFileAsync
164
- } from "./chunk-YGWK2KYV.js";
164
+ } from "./chunk-XAOKF4PJ.js";
165
165
  import {
166
166
  isRecord as isRecord2
167
167
  } from "./chunk-UZSNFLDQ.js";
@@ -429,7 +429,7 @@ import {
429
429
  workspaceTokenRequestSchema,
430
430
  workspaceTokenResponseSchema,
431
431
  wrapInTag
432
- } from "./chunk-26BQX5J5.js";
432
+ } from "./chunk-AROVU6I6.js";
433
433
  import {
434
434
  cloneMcpConfig,
435
435
  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-4HOUBTBJ.js";
6
+ } from "./chunk-3BZ56LYP.js";
7
7
  import {
8
8
  isRecord
9
9
  } from "./chunk-UZSNFLDQ.js";
10
10
  import {
11
11
  shouldRefreshPullRequests
12
- } from "./chunk-26BQX5J5.js";
12
+ } from "./chunk-AROVU6I6.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-26BQX5J5.js";
14
+ } from "./chunk-AROVU6I6.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.1413",
3
+ "version": "0.1.1415",
4
4
  "description": "Lightweight API server for Replicas workspaces",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",