replicas-engine 0.1.1376 → 0.1.1378

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
  listRunningCodexModels,
9
9
  restartCodexAspHost,
10
10
  restartCodexAspHostIfRunning
11
- } from "./chunk-JLGYNMHK.js";
12
- import "./chunk-YEQ75JHE.js";
13
- import "./chunk-5N24BWVI.js";
14
- import "./chunk-LOIQ33CL.js";
11
+ } from "./chunk-52SQF6EQ.js";
12
+ import "./chunk-ES2NJJON.js";
13
+ import "./chunk-YSW4W77H.js";
14
+ import "./chunk-7KJDOTQG.js";
15
15
  import "./chunk-UZSNFLDQ.js";
16
- import "./chunk-GASRMVJQ.js";
16
+ import "./chunk-RO776DOH.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-GASRMVJQ.js";
8
+ } from "./chunk-RO776DOH.js";
9
9
 
10
10
  // src/services/published-pull-request-urls.ts
11
11
  function publishedPullRequestUrls(result) {
@@ -10,15 +10,15 @@ import {
10
10
  resolveDiffBase,
11
11
  runGitCommand,
12
12
  setAgentCredentialSnapshot
13
- } from "./chunk-YEQ75JHE.js";
13
+ } from "./chunk-ES2NJJON.js";
14
14
  import {
15
15
  AppServerProcess,
16
16
  buildCodexAgentEnv
17
- } from "./chunk-5N24BWVI.js";
17
+ } from "./chunk-YSW4W77H.js";
18
18
  import {
19
19
  SUBPROCESS_MAX_BUFFER,
20
20
  execFileAsync
21
- } from "./chunk-LOIQ33CL.js";
21
+ } from "./chunk-7KJDOTQG.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-GASRMVJQ.js";
59
+ } from "./chunk-RO776DOH.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-US5A4R2W.js");
322
+ const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-5TTRUSDX.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-US5A4R2W.js");
344
+ const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-5TTRUSDX.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-GASRMVJQ.js";
6
+ } from "./chunk-RO776DOH.js";
7
7
 
8
8
  // src/utils/exec.ts
9
9
  import { exec, execFile } from "child_process";
@@ -4,7 +4,7 @@ const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  SUBPROCESS_MAX_BUFFER,
6
6
  execFileAsync
7
- } from "./chunk-LOIQ33CL.js";
7
+ } from "./chunk-7KJDOTQG.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-GASRMVJQ.js";
24
+ } from "./chunk-RO776DOH.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 z32 = void 0;
1119
+ let z33 = 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
- z32 = offsetZ;
1126
+ z33 = offsetZ;
1127
1127
  this.dt = dt;
1128
1128
  } else {
1129
- z32 = "UTC";
1129
+ z33 = "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
- z32 = dt.zone.name;
1139
+ z33 = dt.zone.name;
1140
1140
  } else {
1141
- z32 = "UTC";
1141
+ z33 = "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 || z32;
1150
+ intlOpts.timeZone = intlOpts.timeZone || z33;
1151
1151
  this.dtf = getCachedDTF(intl, intlOpts);
1152
1152
  }
1153
1153
  format() {
@@ -10481,6 +10481,8 @@ var SANDBOX_PATHS = {
10481
10481
  REPLICAS_RUNTIME_ENV_FILE: "/home/user/.replicas/runtime-env.sh"
10482
10482
  };
10483
10483
  var WORKSPACE_SIZES = ["small", "large", "ultra"];
10484
+ var AUTO_WORKSPACE_SIZE = "auto";
10485
+ var WORKSPACE_SIZE_OPTIONS = [...WORKSPACE_SIZES, AUTO_WORKSPACE_SIZE];
10484
10486
  var INVALID_WORKSPACE_SIZE_ERROR = `Invalid size: must be one of ${WORKSPACE_SIZES.join(", ")}`;
10485
10487
 
10486
10488
  // ../shared/src/pricing.ts
@@ -19237,6 +19239,12 @@ function hasChatStarted(chat) {
19237
19239
  return chat.processing || Boolean(chat.awaitingInput) || Boolean(chat.goal) || Boolean(chat.lastMessageText) || chat.updatedAt > chat.createdAt;
19238
19240
  }
19239
19241
 
19242
+ // ../shared/src/routes/billing.ts
19243
+ import { z as z24 } from "zod";
19244
+ var SOURCE_LIMIT_SOURCES = ["limrun", "modal"];
19245
+ var usageLimitCentsSchema = z24.number().int().min(100).max(1e8);
19246
+ var sourceLimitsCentsSchema = z24.partialRecord(z24.enum(SOURCE_LIMIT_SOURCES), usageLimitCentsSchema);
19247
+
19240
19248
  // ../shared/src/routes/codex.ts
19241
19249
  var CODEX_AUTH_ENV_KEYS = [
19242
19250
  "REPLICAS_CODEX_OLLAMA_API_KEY",
@@ -19389,7 +19397,7 @@ var CLAUDE_AUTH_ENV_KEYS_BY_METHOD = {
19389
19397
  };
19390
19398
 
19391
19399
  // ../shared/src/routes/command-protection.ts
19392
- import { z as z24 } from "zod";
19400
+ import { z as z25 } from "zod";
19393
19401
 
19394
19402
  // ../shared/src/git-invocations.ts
19395
19403
  var COMMIT_VALUE_OPTIONS = /* @__PURE__ */ new Set(["message", "file", "trailer", "reuse-message", "reedit-message", "fixup", "squash", "template", "author", "date", "cleanup", "pathspec-from-file"]);
@@ -19480,27 +19488,27 @@ function findCheckoutTarget(args) {
19480
19488
  }
19481
19489
 
19482
19490
  // ../shared/src/routes/command-protection.ts
19483
- var commandProtectionRepoStateSchema = z24.object({
19484
- branch: z24.string().nullable(),
19485
- defaultBranch: z24.string().nullable(),
19486
- pushBranch: z24.string().nullable(),
19487
- pushConfig: z24.string().nullable(),
19488
- headMessage: z24.string().nullable(),
19489
- mergeInProgress: z24.boolean().optional()
19491
+ var commandProtectionRepoStateSchema = z25.object({
19492
+ branch: z25.string().nullable(),
19493
+ defaultBranch: z25.string().nullable(),
19494
+ pushBranch: z25.string().nullable(),
19495
+ pushConfig: z25.string().nullable(),
19496
+ headMessage: z25.string().nullable(),
19497
+ mergeInProgress: z25.boolean().optional()
19490
19498
  });
19491
- var commandProtectionEvaluateRequestSchema = z24.object({
19492
- provider: z24.enum(["claude", "codex", "cursor", "opencode", "pi"]),
19493
- source: z24.enum(["claude_pre_tool_use", "codex_approval_request", "cursor_pre_tool_use", "opencode_pre_tool_use", "pi_tool_call"]),
19494
- toolName: z24.string(),
19495
- toolInput: z24.unknown(),
19496
- command: z24.string().nullish(),
19497
- cwd: z24.string().nullish(),
19498
- toolUseId: z24.string().nullish(),
19499
+ var commandProtectionEvaluateRequestSchema = z25.object({
19500
+ provider: z25.enum(["claude", "codex", "cursor", "opencode", "pi"]),
19501
+ source: z25.enum(["claude_pre_tool_use", "codex_approval_request", "cursor_pre_tool_use", "opencode_pre_tool_use", "pi_tool_call"]),
19502
+ toolName: z25.string(),
19503
+ toolInput: z25.unknown(),
19504
+ command: z25.string().nullish(),
19505
+ cwd: z25.string().nullish(),
19506
+ toolUseId: z25.string().nullish(),
19499
19507
  // Read by the engine before the command runs, keyed by absolute path, so the
19500
19508
  // policy can see branches and commit messages the command text only references.
19501
- gitContext: z24.object({
19502
- repos: z24.record(z24.string(), commandProtectionRepoStateSchema),
19503
- messageFiles: z24.record(z24.string(), z24.string())
19509
+ gitContext: z25.object({
19510
+ repos: z25.record(z25.string(), commandProtectionRepoStateSchema),
19511
+ messageFiles: z25.record(z25.string(), z25.string())
19504
19512
  }).optional()
19505
19513
  });
19506
19514
  var COMMAND_PROTECTION_COMMAND_KEYS = ["command", "cmd", "script", "query", "endpoint", "path", "url", "mutation"];
@@ -19720,133 +19728,133 @@ function shouldRefreshPullRequests(toolName, toolInput) {
19720
19728
  }
19721
19729
 
19722
19730
  // ../shared/src/routes/linear.ts
19723
- import { z as z25 } from "zod";
19724
- var linearSessionMetadataSchema = z25.object({
19725
- via_mothership: z25.boolean().optional(),
19726
- attached: z25.boolean().optional(),
19727
- issue_id: z25.string(),
19728
- issue_identifier: z25.string(),
19729
- issue_title: z25.string(),
19730
- issue_description: z25.string(),
19731
- issue_url: z25.string(),
19732
- comment_id: z25.string(),
19733
- comment_body: z25.string(),
19734
- triggered_by_id: z25.string().optional(),
19735
- triggered_by_name: z25.string().optional(),
19736
- triggered_by_email: z25.string().optional(),
19737
- linear_workspace_id: z25.string().optional(),
19738
- creator_id: z25.string().optional(),
19739
- creator_name: z25.string().optional(),
19740
- creator_email: z25.string().optional(),
19741
- assignee_id: z25.string().optional(),
19742
- assignee_name: z25.string().optional(),
19743
- assignee_email: z25.string().optional(),
19744
- issue_state: z25.string().optional(),
19745
- parent_issue: z25.object({
19746
- id: z25.string(),
19747
- identifier: z25.string(),
19748
- title: z25.string(),
19749
- description: z25.string().nullable()
19731
+ import { z as z26 } from "zod";
19732
+ var linearSessionMetadataSchema = z26.object({
19733
+ via_mothership: z26.boolean().optional(),
19734
+ attached: z26.boolean().optional(),
19735
+ issue_id: z26.string(),
19736
+ issue_identifier: z26.string(),
19737
+ issue_title: z26.string(),
19738
+ issue_description: z26.string(),
19739
+ issue_url: z26.string(),
19740
+ comment_id: z26.string(),
19741
+ comment_body: z26.string(),
19742
+ triggered_by_id: z26.string().optional(),
19743
+ triggered_by_name: z26.string().optional(),
19744
+ triggered_by_email: z26.string().optional(),
19745
+ linear_workspace_id: z26.string().optional(),
19746
+ creator_id: z26.string().optional(),
19747
+ creator_name: z26.string().optional(),
19748
+ creator_email: z26.string().optional(),
19749
+ assignee_id: z26.string().optional(),
19750
+ assignee_name: z26.string().optional(),
19751
+ assignee_email: z26.string().optional(),
19752
+ issue_state: z26.string().optional(),
19753
+ parent_issue: z26.object({
19754
+ id: z26.string(),
19755
+ identifier: z26.string(),
19756
+ title: z26.string(),
19757
+ description: z26.string().nullable()
19750
19758
  }).optional(),
19751
- workspace: z25.object({
19752
- id: z25.string(),
19753
- coding_agent: z25.custom((value) => typeof value === "string" && isValidAgentProvider(value)),
19754
- task_description: z25.string(),
19755
- created_at: z25.string()
19759
+ workspace: z26.object({
19760
+ id: z26.string(),
19761
+ coding_agent: z26.custom((value) => typeof value === "string" && isValidAgentProvider(value)),
19762
+ task_description: z26.string(),
19763
+ created_at: z26.string()
19756
19764
  }).optional()
19757
19765
  });
19758
19766
 
19759
19767
  // ../shared/src/routes/scout.ts
19760
- import { z as z26 } from "zod";
19768
+ import { z as z27 } from "zod";
19761
19769
  var SCOUT_LINEAR_ACTIONS = ["ask", "start"];
19762
- var scoutLinearSessionIntentRequestSchema = z26.object({
19763
- comment_id: z26.string().trim().min(1).describe("Id of the Linear comment the session will be created on."),
19764
- action: z26.enum(SCOUT_LINEAR_ACTIONS).describe("`ask` when the comment is a clarifying question, `start` when it hands off the task.")
19770
+ var scoutLinearSessionIntentRequestSchema = z27.object({
19771
+ comment_id: z27.string().trim().min(1).describe("Id of the Linear comment the session will be created on."),
19772
+ action: z27.enum(SCOUT_LINEAR_ACTIONS).describe("`ask` when the comment is a clarifying question, `start` when it hands off the task.")
19765
19773
  });
19766
- var scoutLinearStartRequestSchema = z26.object({
19767
- issue_id: z26.string().describe("Linear issue id from the envelope's `issue_id`."),
19768
- agent_session_id: z26.string().describe("Existing Linear agent session id from the envelope's `agent_session_id`."),
19769
- prompt: z26.string().trim().min(1).describe("The latest request, in its author's words. The workspace already receives the issue and its comments.")
19774
+ var scoutLinearStartRequestSchema = z27.object({
19775
+ issue_id: z27.string().describe("Linear issue id from the envelope's `issue_id`."),
19776
+ agent_session_id: z27.string().describe("Existing Linear agent session id from the envelope's `agent_session_id`."),
19777
+ prompt: z27.string().trim().min(1).describe("The latest request, in its author's words. The workspace already receives the issue and its comments.")
19770
19778
  });
19771
- var slackChannelIdSchema = z26.string().describe("Slack channel id from the envelope's `channel_id`.");
19772
- var slackThreadTsSchema = z26.string().describe("Slack thread timestamp from the envelope's `thread_ts`.");
19773
- var scoutSlackSpawnRequestSchema = z26.object({
19779
+ var slackChannelIdSchema = z27.string().describe("Slack channel id from the envelope's `channel_id`.");
19780
+ var slackThreadTsSchema = z27.string().describe("Slack thread timestamp from the envelope's `thread_ts`.");
19781
+ var scoutSlackSpawnRequestSchema = z27.object({
19774
19782
  channel_id: slackChannelIdSchema,
19775
19783
  thread_ts: slackThreadTsSchema,
19776
- message_ts: z26.string().describe("Timestamp of the Slack message that asked for the work (the envelope's `message_ts`). The server verifies this message and its author."),
19777
- user_id: z26.string().describe("Slack user id of that message's author (the envelope's `user_id`). The workspace is attributed to them."),
19778
- prompt: z26.string().describe("The person's request in their own words, quoting earlier messages only when it points to them. The workspace already receives the Slack thread, so add no research, plan, or guesses."),
19779
- acknowledgement_ts: z26.string().optional().describe("`ts` of the one-line reply you posted in this thread before spawning. The server appends the workspace link to it and tells the workspace not to acknowledge again."),
19780
- environment_id: z26.string().optional().describe(`Environment id from \`${REPLICAS_MCP_TOOLS.listEnvironments}\`. Pass it only when clearly confident it fits; omit it to let routing choose. If routing cannot choose, the call fails and nothing is posted, so pick one or ask the person.`)
19784
+ message_ts: z27.string().describe("Timestamp of the Slack message that asked for the work (the envelope's `message_ts`). The server verifies this message and its author."),
19785
+ user_id: z27.string().describe("Slack user id of that message's author (the envelope's `user_id`). The workspace is attributed to them."),
19786
+ prompt: z27.string().describe("The person's request in their own words, quoting earlier messages only when it points to them. The workspace already receives the Slack thread, so add no research, plan, or guesses."),
19787
+ acknowledgement_ts: z27.string().optional().describe("`ts` of the one-line reply you posted in this thread before spawning. The server appends the workspace link to it and tells the workspace not to acknowledge again."),
19788
+ environment_id: z27.string().optional().describe(`Environment id from \`${REPLICAS_MCP_TOOLS.listEnvironments}\`. Pass it only when clearly confident it fits; omit it to let routing choose. If routing cannot choose, the call fails and nothing is posted, so pick one or ask the person.`)
19781
19789
  });
19782
19790
  var scoutSlackSpawnInNewThreadRequestSchema = scoutSlackSpawnRequestSchema.extend({
19783
- title: z26.string().trim().min(1).max(500).describe("One or two sentences stating the task, posted as the new top-level message."),
19784
- prompt: z26.string().describe("The person's request in their own words. The full source thread is attached as background, so add no summary, research, plan, or guesses."),
19785
- acknowledgement_ts: z26.string().optional().describe("`ts` of the one-line reply you posted in this thread before spawning. The server appends the new thread's link to it.")
19791
+ title: z27.string().trim().min(1).max(500).describe("One or two sentences stating the task, posted as the new top-level message."),
19792
+ prompt: z27.string().describe("The person's request in their own words. The full source thread is attached as background, so add no summary, research, plan, or guesses."),
19793
+ acknowledgement_ts: z27.string().optional().describe("`ts` of the one-line reply you posted in this thread before spawning. The server appends the new thread's link to it.")
19786
19794
  });
19787
- var scoutSlackRelayRequestSchema = z26.object({
19795
+ var scoutSlackRelayRequestSchema = z27.object({
19788
19796
  channel_id: slackChannelIdSchema,
19789
19797
  thread_ts: slackThreadTsSchema,
19790
- message: z26.string().describe("The follow-up to deliver: every fresh message that belongs to this update, in its author's words, with no research, plan, or guesses added."),
19791
- user_id: z26.string().optional().describe("Slack user id of the follow-up's author (the envelope's `user_id`), so it is attributed to them. Defaults to the thread's original requester. Required with `workspace_id`."),
19792
- queue: z26.boolean().optional().describe("Set true only when the person explicitly asked for this to happen after the current task finishes. Delivers behind the active turn instead of interrupting it."),
19793
- workspace_id: z26.string().optional().describe(`Existing workspace id, from \`${REPLICAS_MCP_TOOLS.listWorkspaces}\` or a workspace link in the thread, to bind a thread without a workspace to before relaying. The author must be able to see it. A Mothership gets the person's own Slack message and the thread instead of \`message\`. Omit to relay into the thread's own workspace.`),
19794
- message_ts: z26.string().optional().describe("Timestamp of the Slack message that led to this relay (the envelope's `message_ts`). Required with `workspace_id`; the server verifies this message and its author.")
19798
+ message: z27.string().describe("The follow-up to deliver: every fresh message that belongs to this update, in its author's words, with no research, plan, or guesses added."),
19799
+ user_id: z27.string().optional().describe("Slack user id of the follow-up's author (the envelope's `user_id`), so it is attributed to them. Defaults to the thread's original requester. Required with `workspace_id`."),
19800
+ queue: z27.boolean().optional().describe("Set true only when the person explicitly asked for this to happen after the current task finishes. Delivers behind the active turn instead of interrupting it."),
19801
+ workspace_id: z27.string().optional().describe(`Existing workspace id, from \`${REPLICAS_MCP_TOOLS.listWorkspaces}\` or a workspace link in the thread, to bind a thread without a workspace to before relaying. The author must be able to see it. A Mothership gets the person's own Slack message and the thread instead of \`message\`. Omit to relay into the thread's own workspace.`),
19802
+ message_ts: z27.string().optional().describe("Timestamp of the Slack message that led to this relay (the envelope's `message_ts`). Required with `workspace_id`; the server verifies this message and its author.")
19795
19803
  });
19796
- var scoutSlackSetThreadMutedRequestSchema = z26.object({
19804
+ var scoutSlackSetThreadMutedRequestSchema = z27.object({
19797
19805
  channel_id: slackChannelIdSchema,
19798
19806
  thread_ts: slackThreadTsSchema,
19799
- muted: z26.boolean().describe("true to mute Replicas in this thread, false to unmute it.")
19807
+ muted: z27.boolean().describe("true to mute Replicas in this thread, false to unmute it.")
19800
19808
  });
19801
- var scoutListWorkspacesRequestSchema = z26.object({
19809
+ var scoutListWorkspacesRequestSchema = z27.object({
19802
19810
  channel_id: slackChannelIdSchema,
19803
19811
  thread_ts: slackThreadTsSchema,
19804
- message_ts: z26.string().describe("The envelope's `message_ts`. The server verifies this message and its author."),
19805
- user_id: z26.string().describe("Slack user id of that message's author (the envelope's `user_id`). Only workspaces they can see are listed."),
19806
- query: z26.string().trim().min(1).optional().describe("Case-insensitive text to match against workspace and Mothership names and pull request URLs.")
19812
+ message_ts: z27.string().describe("The envelope's `message_ts`. The server verifies this message and its author."),
19813
+ user_id: z27.string().describe("Slack user id of that message's author (the envelope's `user_id`). Only workspaces they can see are listed."),
19814
+ query: z27.string().trim().min(1).optional().describe("Case-insensitive text to match against workspace and Mothership names and pull request URLs.")
19807
19815
  });
19808
- var scoutSlackConfirmationSchema = z26.object({
19809
- confirmation_channel_id: z26.string().describe("`channel_id` from the envelope of the Slack message that asked for or accepted this."),
19810
- confirmation_thread_ts: z26.string().describe("`thread_ts` from that message's envelope."),
19811
- confirmation_message_ts: z26.string().describe("`message_ts` from that message's envelope."),
19812
- confirmation_user_id: z26.string().describe("`user_id` from that message's envelope.")
19816
+ var scoutSlackConfirmationSchema = z27.object({
19817
+ confirmation_channel_id: z27.string().describe("`channel_id` from the envelope of the Slack message that asked for or accepted this."),
19818
+ confirmation_thread_ts: z27.string().describe("`thread_ts` from that message's envelope."),
19819
+ confirmation_message_ts: z27.string().describe("`message_ts` from that message's envelope."),
19820
+ confirmation_user_id: z27.string().describe("`user_id` from that message's envelope.")
19813
19821
  });
19814
19822
  var scoutAutomationToolInputSchema = automationToolInputSchema.extend(scoutSlackConfirmationSchema.shape);
19815
19823
  var scoutSaveChannelPresetToolInputSchema = scoutSlackConfirmationSchema.extend({
19816
- preset_id: z26.string().optional().describe(`Id of the preset to update, from \`${REPLICAS_MCP_TOOLS.listChannelSettings}\`. Omit to create a new preset.`),
19817
- name: z26.string().trim().min(1).max(SCOUT_PRESET_NAME_MAX_LENGTH).optional().describe("Preset name. Required when creating."),
19818
- description: z26.string().optional().describe("One-line summary shown in settings."),
19819
- icon: z26.enum(SCOUT_PRESET_ICONS).optional(),
19820
- instructions: z26.string().optional().describe("Complete preset instructions; replaces the existing text. Required when creating.")
19824
+ preset_id: z27.string().optional().describe(`Id of the preset to update, from \`${REPLICAS_MCP_TOOLS.listChannelSettings}\`. Omit to create a new preset.`),
19825
+ name: z27.string().trim().min(1).max(SCOUT_PRESET_NAME_MAX_LENGTH).optional().describe("Preset name. Required when creating."),
19826
+ description: z27.string().optional().describe("One-line summary shown in settings."),
19827
+ icon: z27.enum(SCOUT_PRESET_ICONS).optional(),
19828
+ instructions: z27.string().optional().describe("Complete preset instructions; replaces the existing text. Required when creating.")
19821
19829
  });
19822
19830
  var scoutUpdateChannelSettingsToolInputSchema = scoutSlackConfirmationSchema.extend({
19823
- source: z26.enum(SCOUT_SOURCE_TYPES).optional().describe("Defaults to `slack`."),
19824
- external_id: z26.string().describe("Slack channel id or Linear team id."),
19825
- monitored: z26.boolean().optional().describe("Linear: `true` starts monitoring the team (organization admins only), `false` stops. Slack: kept for older callers; prefer `proactivity`. `false` means `tagged`, and `true` lifts a `tagged` channel back to the organization's level. Omit to keep it."),
19826
- preset_id: z26.string().nullable().optional().describe("Preset to assign; `null` removes the preset. Omit to keep it."),
19827
- instructions: z26.string().nullable().optional().describe("Complete channel-specific instructions, applied after the preset; replaces the existing text. `null` clears them. Omit to keep them."),
19828
- proactivity: z26.enum([...SCOUT_PROACTIVITY_LEVELS, "organization"]).optional().describe("Slack only: this channel's or group DM's own level, overriding the organization's here alone. `organization` makes it follow the organization's level again. Omit to keep it. 1:1 DMs are always addressed to Replicas, so they take no level.")
19831
+ source: z27.enum(SCOUT_SOURCE_TYPES).optional().describe("Defaults to `slack`."),
19832
+ external_id: z27.string().describe("Slack channel id or Linear team id."),
19833
+ monitored: z27.boolean().optional().describe("Linear: `true` starts monitoring the team (organization admins only), `false` stops. Slack: kept for older callers; prefer `proactivity`. `false` means `tagged`, and `true` lifts a `tagged` channel back to the organization's level. Omit to keep it."),
19834
+ preset_id: z27.string().nullable().optional().describe("Preset to assign; `null` removes the preset. Omit to keep it."),
19835
+ instructions: z27.string().nullable().optional().describe("Complete channel-specific instructions, applied after the preset; replaces the existing text. `null` clears them. Omit to keep them."),
19836
+ proactivity: z27.enum([...SCOUT_PROACTIVITY_LEVELS, "organization"]).optional().describe("Slack only: this channel's or group DM's own level, overriding the organization's here alone. `organization` makes it follow the organization's level again. Omit to keep it. 1:1 DMs are always addressed to Replicas, so they take no level.")
19829
19837
  });
19830
19838
  var scoutSetOrganizationProactivityToolInputSchema = scoutSlackConfirmationSchema.extend({
19831
- proactivity: z26.enum(SCOUT_PROACTIVITY_LEVELS).describe("The level every Slack channel and group DM follows unless it has its own. Slack Connect channels without their own level stay `tagged`.")
19839
+ proactivity: z27.enum(SCOUT_PROACTIVITY_LEVELS).describe("The level every Slack channel and group DM follows unless it has its own. Slack Connect channels without their own level stay `tagged`.")
19832
19840
  });
19833
19841
  var scoutDeleteChannelPresetToolInputSchema = scoutSlackConfirmationSchema.extend({
19834
- preset_id: z26.string().describe(`Id of the preset to delete, from \`${REPLICAS_MCP_TOOLS.listChannelSettings}\`.`)
19842
+ preset_id: z27.string().describe(`Id of the preset to delete, from \`${REPLICAS_MCP_TOOLS.listChannelSettings}\`.`)
19835
19843
  });
19836
19844
  var RESET_TO_DEFAULT = "default";
19837
- var resettable = (schema, description) => z26.union([schema, z26.literal(RESET_TO_DEFAULT)]).optional().describe(`${description} \`${RESET_TO_DEFAULT}\` falls back to the organization default. Omit to keep it.`);
19845
+ var resettable = (schema, description) => z27.union([schema, z27.literal(RESET_TO_DEFAULT)]).optional().describe(`${description} \`${RESET_TO_DEFAULT}\` falls back to the organization default. Omit to keep it.`);
19838
19846
  var scoutSetSlackAgentDefaultsToolInputSchema = scoutSlackConfirmationSchema.extend({
19839
- agent_provider: resettable(z26.enum(AGENT), "Agent for Slack-triggered workspaces. Changing it without `model` resets the model to that agent's default."),
19840
- model: resettable(z26.string(), "Model id for that agent; the default is the agent's own."),
19841
- thinking_level: resettable(z26.enum(VALID_THINKING_LEVELS), "Thinking level."),
19842
- goal_mode: resettable(z26.boolean(), "Goal mode."),
19843
- fast_mode: resettable(z26.boolean(), "Fast mode.")
19847
+ agent_provider: resettable(z27.enum(AGENT), "Agent for Slack-triggered workspaces. Changing it without `model` resets the model to that agent's default."),
19848
+ model: resettable(z27.string(), "Model id for that agent; the default is the agent's own."),
19849
+ thinking_level: resettable(z27.enum(VALID_THINKING_LEVELS), "Thinking level."),
19850
+ goal_mode: resettable(z27.boolean(), "Goal mode."),
19851
+ fast_mode: resettable(z27.boolean(), "Fast mode.")
19844
19852
  });
19845
- var scoutClaimSettingsOfferToolInputSchema = z26.object({
19853
+ var scoutClaimSettingsOfferToolInputSchema = z27.object({
19846
19854
  channel_id: slackChannelIdSchema,
19847
- kind: z26.enum(SCOUT_SETTINGS_OFFERS).describe("`proactivity`: offering a lower level after frustration. `raise_proactivity`: offering a higher level after someone had to @mention you. `instructions`: offering channel instructions or a preset. `organization_proactivity`: offering to lower the workspace default; only decline it, the server claims it for you."),
19848
- user_id: z26.string().optional().describe("The envelope's `user_id`. Required for `proactivity`, so the server can say whether they are an organization admin."),
19849
- declined: z26.boolean().optional().describe("true when the person declined an offer you already made, so it is not made again.")
19855
+ kind: z27.enum(SCOUT_SETTINGS_OFFERS).describe("`proactivity`: offering a lower level after frustration. `raise_proactivity`: offering a higher level after someone had to @mention you. `instructions`: offering channel instructions or a preset. `organization_proactivity`: offering to lower the workspace default; only decline it, the server claims it for you."),
19856
+ user_id: z27.string().optional().describe("The envelope's `user_id`. Required for `proactivity`, so the server can say whether they are an organization admin."),
19857
+ declined: z27.boolean().optional().describe("true when the person declined an offer you already made, so it is not made again.")
19850
19858
  });
19851
19859
 
19852
19860
  // ../shared/src/routes/plugin-catalog.ts
@@ -20208,11 +20216,11 @@ var PLUGIN_CATALOG = [
20208
20216
  var PROFILE_AVATAR_MAX_SIZE_BYTES = 5 * 1024 * 1024;
20209
20217
 
20210
20218
  // ../shared/src/routes/web-auth.ts
20211
- import { z as z27 } from "zod";
20212
- var webAuthRedeemResponseSchema = z27.object({
20213
- path: z27.string(),
20214
- organizationId: z27.string().nullable(),
20215
- session: z27.object({ access_token: z27.string(), refresh_token: z27.string(), user: z27.object({ id: z27.string(), email: z27.string() }) }).nullable()
20219
+ import { z as z28 } from "zod";
20220
+ var webAuthRedeemResponseSchema = z28.object({
20221
+ path: z28.string(),
20222
+ organizationId: z28.string().nullable(),
20223
+ session: z28.object({ access_token: z28.string(), refresh_token: z28.string(), user: z28.object({ id: z28.string(), email: z28.string() }) }).nullable()
20216
20224
  });
20217
20225
 
20218
20226
  // ../shared/src/routes/client-state.ts
@@ -20235,81 +20243,81 @@ var promptHistoryClientStateKey = orgUserClientStateKey(PROMPT_HISTORY_CLIENT_ST
20235
20243
  var workspaceSearchOpensClientStateKey = orgUserClientStateKey(WORKSPACE_SEARCH_OPENS_CLIENT_STATE_KEY_PREFIX);
20236
20244
 
20237
20245
  // ../shared/src/routes/workspace-events.ts
20238
- import { z as z28 } from "zod";
20239
- var workspaceTurnCompletionSchema = z28.object({
20240
- workspaceName: z28.string(),
20241
- completedAt: z28.string(),
20242
- processing: z28.boolean().optional(),
20243
- pullRequestFeedback: z28.boolean().optional(),
20244
- attention: z28.object({ reason: z28.enum(CHAT_ATTENTION_REASONS), userId: z28.string() }).optional()
20246
+ import { z as z29 } from "zod";
20247
+ var workspaceTurnCompletionSchema = z29.object({
20248
+ workspaceName: z29.string(),
20249
+ completedAt: z29.string(),
20250
+ processing: z29.boolean().optional(),
20251
+ pullRequestFeedback: z29.boolean().optional(),
20252
+ attention: z29.object({ reason: z29.enum(CHAT_ATTENTION_REASONS), userId: z29.string() }).optional()
20245
20253
  });
20246
- var workspaceChangedEventSchema = z28.discriminatedUnion("type", [
20247
- z28.object({
20248
- type: z28.literal("workspace.changed"),
20249
- workspaceId: z28.string(),
20250
- workspace: z28.object({ status: z28.enum(WORKSPACE_STATUSES), last_activity_at: z28.string().nullable() }).optional(),
20254
+ var workspaceChangedEventSchema = z29.discriminatedUnion("type", [
20255
+ z29.object({
20256
+ type: z29.literal("workspace.changed"),
20257
+ workspaceId: z29.string(),
20258
+ workspace: z29.object({ status: z29.enum(WORKSPACE_STATUSES), last_activity_at: z29.string().nullable() }).optional(),
20251
20259
  completion: workspaceTurnCompletionSchema.optional(),
20252
- ts: z28.string()
20260
+ ts: z29.string()
20253
20261
  }),
20254
- z28.object({
20255
- type: z28.literal("workspace.chat.changed"),
20256
- workspaceId: z28.string(),
20257
- chatId: z28.string(),
20258
- ts: z28.string()
20262
+ z29.object({
20263
+ type: z29.literal("workspace.chat.changed"),
20264
+ workspaceId: z29.string(),
20265
+ chatId: z29.string(),
20266
+ ts: z29.string()
20259
20267
  }),
20260
- z28.object({
20261
- type: z28.literal("workspace.chat.advanced"),
20262
- workspaceId: z28.string(),
20263
- chatId: z28.string(),
20264
- afterCursor: z28.string().optional(),
20265
- processing: z28.boolean(),
20266
- ts: z28.string()
20268
+ z29.object({
20269
+ type: z29.literal("workspace.chat.advanced"),
20270
+ workspaceId: z29.string(),
20271
+ chatId: z29.string(),
20272
+ afterCursor: z29.string().optional(),
20273
+ processing: z29.boolean(),
20274
+ ts: z29.string()
20267
20275
  }),
20268
- z28.object({ type: z28.literal("presence.changed"), ts: z28.string() }),
20269
- z28.object({
20270
- type: z28.literal("mobile-testing.changed"),
20271
- workspaceId: z28.string(),
20272
- ts: z28.string()
20276
+ z29.object({ type: z29.literal("presence.changed"), ts: z29.string() }),
20277
+ z29.object({
20278
+ type: z29.literal("mobile-testing.changed"),
20279
+ workspaceId: z29.string(),
20280
+ ts: z29.string()
20273
20281
  }),
20274
- z28.object({
20275
- type: z28.literal("variable-request.changed"),
20276
- workspaceId: z28.string(),
20277
- ts: z28.string()
20282
+ z29.object({
20283
+ type: z29.literal("variable-request.changed"),
20284
+ workspaceId: z29.string(),
20285
+ ts: z29.string()
20278
20286
  }),
20279
- z28.object({
20280
- type: z28.literal("pull-request.changed"),
20281
- prUrl: z28.string(),
20282
- ts: z28.string()
20287
+ z29.object({
20288
+ type: z29.literal("pull-request.changed"),
20289
+ prUrl: z29.string(),
20290
+ ts: z29.string()
20283
20291
  }),
20284
- z28.object({
20285
- type: z28.literal("mothership.subagent.changed"),
20286
- workspaceId: z28.string(),
20287
- subagent: z28.object({ id: z28.string(), name: z28.string(), prUrl: z28.string().nullable() }),
20288
- ts: z28.string()
20292
+ z29.object({
20293
+ type: z29.literal("mothership.subagent.changed"),
20294
+ workspaceId: z29.string(),
20295
+ subagent: z29.object({ id: z29.string(), name: z29.string(), prUrl: z29.string().nullable() }),
20296
+ ts: z29.string()
20289
20297
  }),
20290
- z28.object({ type: z28.literal("needs-you.changed"), workspaceId: z28.string().nullable(), ts: z28.string() })
20298
+ z29.object({ type: z29.literal("needs-you.changed"), workspaceId: z29.string().nullable(), ts: z29.string() })
20291
20299
  ]);
20292
20300
 
20293
20301
  // ../shared/src/routes/presence.ts
20294
- import { z as z29 } from "zod";
20295
- var presenceStatusSchema = z29.enum(["online", "typing"]);
20296
- var presenceLocationSchema = z29.object({
20297
- workspaceId: z29.string().optional()
20302
+ import { z as z30 } from "zod";
20303
+ var presenceStatusSchema = z30.enum(["online", "typing"]);
20304
+ var presenceLocationSchema = z30.object({
20305
+ workspaceId: z30.string().optional()
20298
20306
  });
20299
- var presenceEntrySchema = z29.object({
20300
- userId: z29.string(),
20307
+ var presenceEntrySchema = z30.object({
20308
+ userId: z30.string(),
20301
20309
  status: presenceStatusSchema,
20302
20310
  location: presenceLocationSchema,
20303
- ts: z29.string()
20311
+ ts: z30.string()
20304
20312
  });
20305
- var updatePresenceRequestSchema = z29.object({
20313
+ var updatePresenceRequestSchema = z30.object({
20306
20314
  status: presenceStatusSchema,
20307
20315
  location: presenceLocationSchema.optional()
20308
20316
  });
20309
20317
 
20310
20318
  // ../shared/src/routes/review-messages.ts
20311
- import { z as z30 } from "zod";
20312
- var sendPullRequestReviewMessageRequestSchema = z30.object({
20319
+ import { z as z31 } from "zod";
20320
+ var sendPullRequestReviewMessageRequestSchema = z31.object({
20313
20321
  ...sendChatMessageRequestSchema.pick({
20314
20322
  message: true,
20315
20323
  messageId: true,
@@ -20322,8 +20330,8 @@ var sendPullRequestReviewMessageRequestSchema = z30.object({
20322
20330
  ultrafastMode: true
20323
20331
  }).shape,
20324
20332
  /** Starts a new chat instead of continuing the PR's review chat. The provider only applies to a new chat. */
20325
- newChat: z30.boolean().optional(),
20326
- provider: z30.enum(VALID_AGENT_PROVIDERS).optional()
20333
+ newChat: z31.boolean().optional(),
20334
+ provider: z31.enum(VALID_AGENT_PROVIDERS).optional()
20327
20335
  });
20328
20336
 
20329
20337
  // ../shared/src/audit-log.ts
@@ -20544,30 +20552,30 @@ function isSkillRegistryManifest(value) {
20544
20552
  }
20545
20553
 
20546
20554
  // ../shared/src/routes/variable-requests.ts
20547
- import { z as z31 } from "zod";
20555
+ import { z as z32 } from "zod";
20548
20556
  var VARIABLE_REQUEST_WAIT = { defaultMs: 10 * 6e4, maxMs: 30 * 6e4, pollMs: 3e3, waiterStaleMs: 15e3 };
20549
20557
  var VARIABLE_REQUEST_DESTINATIONS = ["environment", "workspace"];
20550
- var requestedVariableSchema = z31.object({
20551
- key: z31.string().regex(VARIABLE_KEY_RE, "must be a valid environment variable name").max(ENVIRONMENT_SETUP_LIMITS.variableKeyChars),
20552
- required: z31.boolean(),
20553
- replace: z31.boolean().optional()
20558
+ var requestedVariableSchema = z32.object({
20559
+ key: z32.string().regex(VARIABLE_KEY_RE, "must be a valid environment variable name").max(ENVIRONMENT_SETUP_LIMITS.variableKeyChars),
20560
+ required: z32.boolean(),
20561
+ replace: z32.boolean().optional()
20554
20562
  });
20555
- var requestedVariablesSchema = z31.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");
20556
- var createVariableRequestSchema = z31.object({
20563
+ 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");
20564
+ var createVariableRequestSchema = z32.object({
20557
20565
  variables: requestedVariablesSchema,
20558
- reason: z31.string().trim().max(500).nullish().transform((value) => value || null),
20559
- wait: z31.boolean().default(true)
20566
+ reason: z32.string().trim().max(500).nullish().transform((value) => value || null),
20567
+ wait: z32.boolean().default(true)
20560
20568
  });
20561
- var respondVariableRequestSchema = z31.discriminatedUnion("action", [
20562
- z31.object({
20563
- action: z31.literal("provide"),
20564
- destination: z31.enum(VARIABLE_REQUEST_DESTINATIONS),
20569
+ var respondVariableRequestSchema = z32.discriminatedUnion("action", [
20570
+ z32.object({
20571
+ action: z32.literal("provide"),
20572
+ destination: z32.enum(VARIABLE_REQUEST_DESTINATIONS),
20565
20573
  /** Defaults to the workspace's environment, so older clients keep saving there. */
20566
- environment_ids: z31.array(z31.string().uuid()).optional(),
20567
- overwrite: z31.boolean().optional(),
20568
- values: z31.record(z31.string().regex(VARIABLE_KEY_RE), z31.string())
20574
+ environment_ids: z32.array(z32.string().uuid()).optional(),
20575
+ overwrite: z32.boolean().optional(),
20576
+ values: z32.record(z32.string().regex(VARIABLE_KEY_RE), z32.string())
20569
20577
  }),
20570
- z31.object({ action: z31.literal("skip") })
20578
+ z32.object({ action: z32.literal("skip") })
20571
20579
  ]);
20572
20580
 
20573
20581
  export {
@@ -6,7 +6,7 @@ import {
6
6
  getOriginDefaultBranch,
7
7
  monolithRequest,
8
8
  runGitCommand
9
- } from "./chunk-YEQ75JHE.js";
9
+ } from "./chunk-ES2NJJON.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-GASRMVJQ.js";
17
+ } from "./chunk-RO776DOH.js";
18
18
 
19
19
  // src/services/command-protection-service.ts
20
20
  import { readFile, stat } from "fs/promises";
@@ -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-5N24BWVI.js";
6
+ } from "./chunk-YSW4W77H.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-GASRMVJQ.js";
18
+ } from "./chunk-RO776DOH.js";
19
19
 
20
20
  // src/managers/codex-asp/notification-dispatch.ts
21
21
  var TURN_STARTED_METHOD = "turn/started";
@@ -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-LOIQ33CL.js";
6
+ } from "./chunk-7KJDOTQG.js";
7
7
  import {
8
8
  isVersionBelow
9
- } from "./chunk-GASRMVJQ.js";
9
+ } from "./chunk-RO776DOH.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.1376";
243
+ var ENGINE_PACKAGE_VERSION = "0.1.1378";
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-6LS6U2WF.js";
7
- import "./chunk-YEQ75JHE.js";
8
- import "./chunk-LOIQ33CL.js";
6
+ } from "./chunk-U3Q7WCFF.js";
7
+ import "./chunk-ES2NJJON.js";
8
+ import "./chunk-7KJDOTQG.js";
9
9
  import {
10
10
  isRecord
11
11
  } from "./chunk-UZSNFLDQ.js";
12
- import "./chunk-GASRMVJQ.js";
12
+ import "./chunk-RO776DOH.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-YG6FKAWD.js";
17
+ } from "./chunk-USIQQ7RX.js";
18
18
  import {
19
19
  AppServerProcess,
20
20
  buildCodexAgentEnv
21
- } from "./chunk-5N24BWVI.js";
22
- import "./chunk-LOIQ33CL.js";
21
+ } from "./chunk-YSW4W77H.js";
22
+ import "./chunk-7KJDOTQG.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-GASRMVJQ.js";
32
+ } from "./chunk-RO776DOH.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-6LS6U2WF.js";
30
+ } from "./chunk-U3Q7WCFF.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-YG6FKAWD.js";
68
+ } from "./chunk-USIQQ7RX.js";
69
69
  import {
70
70
  publishedPullRequestUrls
71
- } from "./chunk-Q7AJRKNA.js";
71
+ } from "./chunk-3SHZ3Y3O.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-JLGYNMHK.js";
146
+ } from "./chunk-52SQF6EQ.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-YEQ75JHE.js";
156
+ } from "./chunk-ES2NJJON.js";
157
157
  import {
158
158
  getCodexModelProvider
159
- } from "./chunk-5N24BWVI.js";
159
+ } from "./chunk-YSW4W77H.js";
160
160
  import {
161
161
  SUBPROCESS_MAX_BUFFER,
162
162
  execAsync,
163
163
  execFileAsync
164
- } from "./chunk-LOIQ33CL.js";
164
+ } from "./chunk-7KJDOTQG.js";
165
165
  import {
166
166
  isRecord as isRecord2
167
167
  } from "./chunk-UZSNFLDQ.js";
@@ -423,7 +423,7 @@ import {
423
423
  workspaceTokenRequestSchema,
424
424
  workspaceTokenResponseSchema,
425
425
  wrapInTag
426
- } from "./chunk-GASRMVJQ.js";
426
+ } from "./chunk-RO776DOH.js";
427
427
  import {
428
428
  cloneMcpConfig,
429
429
  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-Q7AJRKNA.js";
6
+ } from "./chunk-3SHZ3Y3O.js";
7
7
  import {
8
8
  isRecord
9
9
  } from "./chunk-UZSNFLDQ.js";
10
10
  import {
11
11
  shouldRefreshPullRequests
12
- } from "./chunk-GASRMVJQ.js";
12
+ } from "./chunk-RO776DOH.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-GASRMVJQ.js";
14
+ } from "./chunk-RO776DOH.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.1376",
3
+ "version": "0.1.1378",
4
4
  "description": "Lightweight API server for Replicas workspaces",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",