replicas-engine 0.1.1412 → 0.1.1414

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-X3AQRURV.js";
12
- import "./chunk-EFLAARUN.js";
13
- import "./chunk-I4EVZSV5.js";
14
- import "./chunk-YGWK2KYV.js";
11
+ } from "./chunk-NDXLF4B4.js";
12
+ import "./chunk-EWV4GPIG.js";
13
+ import "./chunk-WHMJJNSJ.js";
14
+ import "./chunk-Q2EEWY5C.js";
15
15
  import "./chunk-UZSNFLDQ.js";
16
- import "./chunk-26BQX5J5.js";
16
+ import "./chunk-HSDZ4HFC.js";
17
17
  import "./chunk-VEQXQN22.js";
18
18
  export {
19
19
  CODEX_ULTRAFAST_SERVICE_TIER,
@@ -6,7 +6,7 @@ import {
6
6
  getOriginDefaultBranch,
7
7
  monolithRequest,
8
8
  runGitCommand
9
- } from "./chunk-EFLAARUN.js";
9
+ } from "./chunk-EWV4GPIG.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-HSDZ4HFC.js";
18
18
 
19
19
  // src/services/command-protection-service.ts
20
20
  import { readFile, stat } from "fs/promises";
@@ -5,7 +5,7 @@ import {
5
5
  extractCommandProtectionCommandText,
6
6
  isRecord,
7
7
  parseCodeHostPrUrl
8
- } from "./chunk-26BQX5J5.js";
8
+ } from "./chunk-HSDZ4HFC.js";
9
9
 
10
10
  // src/services/published-pull-request-urls.ts
11
11
  function publishedPullRequestUrls(result) {
@@ -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-Q2EEWY5C.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-HSDZ4HFC.js";
25
25
 
26
26
  // src/runtime-env-loader.ts
27
27
  import { readFileSync } from "fs";
@@ -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() {
@@ -14175,7 +14175,7 @@ Read issues and project data through the workspace-scoped TypeScript SDK.
14175
14175
  **Reference:** \`references/SENTRY.md\`
14176
14176
 
14177
14177
  Use this when:
14178
- - A user shares a sentry.io link
14178
+ - A user shares a Sentry link (sentry.io or a self-hosted Sentry server)
14179
14179
  - You need to inspect Sentry projects or issues
14180
14180
  - A user asks for error-monitoring context outside a webhook-triggered task`;
14181
14181
  var REFERENCE12 = `# Sentry Integration
@@ -14199,6 +14199,8 @@ const issue = await replicas.sentry.request('/organizations/acme/issues/45123456
14199
14199
  const latest = await replicas.sentry.request('/organizations/acme/issues/4512345678/events/latest/');
14200
14200
  \`\`\`
14201
14201
 
14202
+ 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.
14203
+
14202
14204
  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
14205
 
14204
14206
  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 +14208,7 @@ Pass only a relative Sentry API path. The Replicas gateway selects the connected
14206
14208
  var SENTRY_ABILITY = {
14207
14209
  label: "Sentry",
14208
14210
  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.",
14211
+ 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
14212
  section: SECTION12,
14211
14213
  referenceFile: { name: "SENTRY.md", content: REFERENCE12 }
14212
14214
  };
@@ -20317,15 +20319,23 @@ var PLUGIN_CATALOG = [
20317
20319
  ...HOSTED_COMPOSIO_PLUGINS
20318
20320
  ].map((plugin) => ({ ...plugin, readOnlyScopes: READ_ONLY_SCOPES[plugin.id] }));
20319
20321
 
20322
+ // ../shared/src/routes/sentry.ts
20323
+ import { z as z28 } from "zod";
20324
+ var sentrySelfHostedConnectRequestSchema = z28.object({
20325
+ baseUrl: z28.string().min(1),
20326
+ token: z28.string().trim().min(1),
20327
+ webhookSecret: z28.string().trim().optional()
20328
+ });
20329
+
20320
20330
  // ../shared/src/routes/user.ts
20321
20331
  var PROFILE_AVATAR_MAX_SIZE_BYTES = 5 * 1024 * 1024;
20322
20332
 
20323
20333
  // ../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()
20334
+ import { z as z29 } from "zod";
20335
+ var webAuthRedeemResponseSchema = z29.object({
20336
+ path: z29.string(),
20337
+ organizationId: z29.string().nullable(),
20338
+ session: z29.object({ access_token: z29.string(), refresh_token: z29.string(), user: z29.object({ id: z29.string(), email: z29.string() }) }).nullable()
20329
20339
  });
20330
20340
 
20331
20341
  // ../shared/src/routes/client-state.ts
@@ -20348,81 +20358,81 @@ var promptHistoryClientStateKey = orgUserClientStateKey(PROMPT_HISTORY_CLIENT_ST
20348
20358
  var workspaceSearchOpensClientStateKey = orgUserClientStateKey(WORKSPACE_SEARCH_OPENS_CLIENT_STATE_KEY_PREFIX);
20349
20359
 
20350
20360
  // ../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()
20361
+ import { z as z30 } from "zod";
20362
+ var workspaceTurnCompletionSchema = z30.object({
20363
+ workspaceName: z30.string(),
20364
+ completedAt: z30.string(),
20365
+ processing: z30.boolean().optional(),
20366
+ pullRequestFeedback: z30.boolean().optional(),
20367
+ attention: z30.object({ reason: z30.enum(CHAT_ATTENTION_REASONS), userId: z30.string() }).optional()
20358
20368
  });
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(),
20369
+ var workspaceChangedEventSchema = z30.discriminatedUnion("type", [
20370
+ z30.object({
20371
+ type: z30.literal("workspace.changed"),
20372
+ workspaceId: z30.string(),
20373
+ workspace: z30.object({ status: z30.enum(WORKSPACE_STATUSES), last_activity_at: z30.string().nullable() }).optional(),
20364
20374
  completion: workspaceTurnCompletionSchema.optional(),
20365
- ts: z29.string()
20375
+ ts: z30.string()
20366
20376
  }),
20367
- z29.object({
20368
- type: z29.literal("workspace.chat.changed"),
20369
- workspaceId: z29.string(),
20370
- chatId: z29.string(),
20371
- ts: z29.string()
20377
+ z30.object({
20378
+ type: z30.literal("workspace.chat.changed"),
20379
+ workspaceId: z30.string(),
20380
+ chatId: z30.string(),
20381
+ ts: z30.string()
20372
20382
  }),
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()
20383
+ z30.object({
20384
+ type: z30.literal("workspace.chat.advanced"),
20385
+ workspaceId: z30.string(),
20386
+ chatId: z30.string(),
20387
+ afterCursor: z30.string().optional(),
20388
+ processing: z30.boolean(),
20389
+ ts: z30.string()
20380
20390
  }),
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()
20391
+ z30.object({ type: z30.literal("presence.changed"), ts: z30.string() }),
20392
+ z30.object({
20393
+ type: z30.literal("mobile-testing.changed"),
20394
+ workspaceId: z30.string(),
20395
+ ts: z30.string()
20386
20396
  }),
20387
- z29.object({
20388
- type: z29.literal("variable-request.changed"),
20389
- workspaceId: z29.string(),
20390
- ts: z29.string()
20397
+ z30.object({
20398
+ type: z30.literal("variable-request.changed"),
20399
+ workspaceId: z30.string(),
20400
+ ts: z30.string()
20391
20401
  }),
20392
- z29.object({
20393
- type: z29.literal("pull-request.changed"),
20394
- prUrl: z29.string(),
20395
- ts: z29.string()
20402
+ z30.object({
20403
+ type: z30.literal("pull-request.changed"),
20404
+ prUrl: z30.string(),
20405
+ ts: z30.string()
20396
20406
  }),
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()
20407
+ z30.object({
20408
+ type: z30.literal("mothership.subagent.changed"),
20409
+ workspaceId: z30.string(),
20410
+ subagent: z30.object({ id: z30.string(), name: z30.string(), prUrl: z30.string().nullable() }),
20411
+ ts: z30.string()
20402
20412
  }),
20403
- z29.object({ type: z29.literal("needs-you.changed"), workspaceId: z29.string().nullable(), ts: z29.string() })
20413
+ z30.object({ type: z30.literal("needs-you.changed"), workspaceId: z30.string().nullable(), ts: z30.string() })
20404
20414
  ]);
20405
20415
 
20406
20416
  // ../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()
20417
+ import { z as z31 } from "zod";
20418
+ var presenceStatusSchema = z31.enum(["online", "typing"]);
20419
+ var presenceLocationSchema = z31.object({
20420
+ workspaceId: z31.string().optional()
20411
20421
  });
20412
- var presenceEntrySchema = z30.object({
20413
- userId: z30.string(),
20422
+ var presenceEntrySchema = z31.object({
20423
+ userId: z31.string(),
20414
20424
  status: presenceStatusSchema,
20415
20425
  location: presenceLocationSchema,
20416
- ts: z30.string()
20426
+ ts: z31.string()
20417
20427
  });
20418
- var updatePresenceRequestSchema = z30.object({
20428
+ var updatePresenceRequestSchema = z31.object({
20419
20429
  status: presenceStatusSchema,
20420
20430
  location: presenceLocationSchema.optional()
20421
20431
  });
20422
20432
 
20423
20433
  // ../shared/src/routes/review-messages.ts
20424
- import { z as z31 } from "zod";
20425
- var sendPullRequestReviewMessageRequestSchema = z31.object({
20434
+ import { z as z32 } from "zod";
20435
+ var sendPullRequestReviewMessageRequestSchema = z32.object({
20426
20436
  ...sendChatMessageRequestSchema.pick({
20427
20437
  message: true,
20428
20438
  messageId: true,
@@ -20435,8 +20445,8 @@ var sendPullRequestReviewMessageRequestSchema = z31.object({
20435
20445
  ultrafastMode: true
20436
20446
  }).shape,
20437
20447
  /** 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()
20448
+ newChat: z32.boolean().optional(),
20449
+ provider: z32.enum(VALID_AGENT_PROVIDERS).optional()
20440
20450
  });
20441
20451
 
20442
20452
  // ../shared/src/audit-log.ts
@@ -20657,30 +20667,30 @@ function isSkillRegistryManifest(value) {
20657
20667
  }
20658
20668
 
20659
20669
  // ../shared/src/routes/variable-requests.ts
20660
- import { z as z32 } from "zod";
20670
+ import { z as z33 } from "zod";
20661
20671
  var VARIABLE_REQUEST_WAIT = { defaultMs: 10 * 6e4, maxMs: 30 * 6e4, pollMs: 3e3, waiterStaleMs: 15e3 };
20662
20672
  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()
20673
+ var requestedVariableSchema = z33.object({
20674
+ key: z33.string().regex(VARIABLE_KEY_RE, "must be a valid environment variable name").max(ENVIRONMENT_SETUP_LIMITS.variableKeyChars),
20675
+ required: z33.boolean(),
20676
+ replace: z33.boolean().optional()
20667
20677
  });
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({
20678
+ 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");
20679
+ var createVariableRequestSchema = z33.object({
20670
20680
  variables: requestedVariablesSchema,
20671
- reason: z32.string().trim().max(500).nullish().transform((value) => value || null),
20672
- wait: z32.boolean().default(true)
20681
+ reason: z33.string().trim().max(500).nullish().transform((value) => value || null),
20682
+ wait: z33.boolean().default(true)
20673
20683
  });
20674
- var respondVariableRequestSchema = z32.discriminatedUnion("action", [
20675
- z32.object({
20676
- action: z32.literal("provide"),
20677
- destination: z32.enum(VARIABLE_REQUEST_DESTINATIONS),
20684
+ var respondVariableRequestSchema = z33.discriminatedUnion("action", [
20685
+ z33.object({
20686
+ action: z33.literal("provide"),
20687
+ destination: z33.enum(VARIABLE_REQUEST_DESTINATIONS),
20678
20688
  /** 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())
20689
+ environment_ids: z33.array(z33.string().uuid()).optional(),
20690
+ overwrite: z33.boolean().optional(),
20691
+ values: z33.record(z33.string().regex(VARIABLE_KEY_RE), z33.string())
20682
20692
  }),
20683
- z32.object({ action: z32.literal("skip") })
20693
+ z33.object({ action: z33.literal("skip") })
20684
20694
  ]);
20685
20695
 
20686
20696
  export {
@@ -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-I4EVZSV5.js";
6
+ } from "./chunk-WHMJJNSJ.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-HSDZ4HFC.js";
19
19
 
20
20
  // src/managers/codex-asp/notification-dispatch.ts
21
21
  var TURN_STARTED_METHOD = "turn/started";
@@ -10,15 +10,15 @@ import {
10
10
  resolveDiffBase,
11
11
  runGitCommand,
12
12
  setAgentCredentialSnapshot
13
- } from "./chunk-EFLAARUN.js";
13
+ } from "./chunk-EWV4GPIG.js";
14
14
  import {
15
15
  AppServerProcess,
16
16
  buildCodexAgentEnv
17
- } from "./chunk-I4EVZSV5.js";
17
+ } from "./chunk-WHMJJNSJ.js";
18
18
  import {
19
19
  SUBPROCESS_MAX_BUFFER,
20
20
  execFileAsync
21
- } from "./chunk-YGWK2KYV.js";
21
+ } from "./chunk-Q2EEWY5C.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-HSDZ4HFC.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-TPCGCDDG.js");
322
+ const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-2SICTQZH.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-TPCGCDDG.js");
344
+ const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-2SICTQZH.js");
345
345
  await restartCodexAspHostIfRunning2();
346
346
  }
347
347
  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
  HOOK_EXEC_MAX_BUFFER_BYTES
6
- } from "./chunk-26BQX5J5.js";
6
+ } from "./chunk-HSDZ4HFC.js";
7
7
 
8
8
  // src/utils/exec.ts
9
9
  import { exec, execFile } from "child_process";
@@ -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-Q2EEWY5C.js";
7
7
  import {
8
8
  isVersionBelow
9
- } from "./chunk-26BQX5J5.js";
9
+ } from "./chunk-HSDZ4HFC.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.1412";
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";
@@ -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-4M6ZRLEC.js";
7
+ import "./chunk-EWV4GPIG.js";
8
+ import "./chunk-Q2EEWY5C.js";
9
9
  import {
10
10
  isRecord
11
11
  } from "./chunk-UZSNFLDQ.js";
12
- import "./chunk-26BQX5J5.js";
12
+ import "./chunk-HSDZ4HFC.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-UGJ3KKY3.js";
17
+ } from "./chunk-JFE6SZJU.js";
18
18
  import {
19
19
  AppServerProcess,
20
20
  buildCodexAgentEnv
21
- } from "./chunk-I4EVZSV5.js";
22
- import "./chunk-YGWK2KYV.js";
21
+ } from "./chunk-WHMJJNSJ.js";
22
+ import "./chunk-Q2EEWY5C.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-HSDZ4HFC.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-4M6ZRLEC.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-UGJ3KKY3.js";
68
+ } from "./chunk-JFE6SZJU.js";
69
69
  import {
70
70
  publishedPullRequestUrls
71
- } from "./chunk-4HOUBTBJ.js";
71
+ } from "./chunk-6N65DNWT.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-X3AQRURV.js";
146
+ } from "./chunk-NDXLF4B4.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-EWV4GPIG.js";
157
157
  import {
158
158
  getCodexModelProvider
159
- } from "./chunk-I4EVZSV5.js";
159
+ } from "./chunk-WHMJJNSJ.js";
160
160
  import {
161
161
  SUBPROCESS_MAX_BUFFER,
162
162
  execAsync,
163
163
  execFileAsync
164
- } from "./chunk-YGWK2KYV.js";
164
+ } from "./chunk-Q2EEWY5C.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-HSDZ4HFC.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-6N65DNWT.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-HSDZ4HFC.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-HSDZ4HFC.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.1412",
3
+ "version": "0.1.1414",
4
4
  "description": "Lightweight API server for Replicas workspaces",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",