replicas-engine 0.1.1580 → 0.1.1582

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-KASB62W3.js";
12
- import "./chunk-XSOJIRAF.js";
13
- import "./chunk-TJKPM3VM.js";
14
- import "./chunk-KMTY4GTY.js";
11
+ } from "./chunk-BZFUTV2V.js";
12
+ import "./chunk-GCYNUHRN.js";
13
+ import "./chunk-K62FBANU.js";
14
+ import "./chunk-XOFTV2KD.js";
15
15
  import "./chunk-UZSNFLDQ.js";
16
- import "./chunk-CEBOAXL7.js";
16
+ import "./chunk-EIU3AU5A.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-XSOJIRAF.js";
9
+ } from "./chunk-GCYNUHRN.js";
10
10
  import {
11
11
  extractCommandProtectionCommandText,
12
12
  findCommandProtectionGitLookups,
@@ -15,7 +15,7 @@ import {
15
15
  findScoutRepoWriteSignals,
16
16
  parseCommandProtectionRequest,
17
17
  withE2BRetry
18
- } from "./chunk-CEBOAXL7.js";
18
+ } from "./chunk-EIU3AU5A.js";
19
19
 
20
20
  // src/services/command-protection-service.ts
21
21
  import { readFile, stat } from "fs/promises";
@@ -12,15 +12,15 @@ import {
12
12
  resolveDiffBase,
13
13
  runGitCommand,
14
14
  setAgentCredentialSnapshot
15
- } from "./chunk-XSOJIRAF.js";
15
+ } from "./chunk-GCYNUHRN.js";
16
16
  import {
17
17
  AppServerProcess,
18
18
  buildCodexAgentEnv
19
- } from "./chunk-TJKPM3VM.js";
19
+ } from "./chunk-K62FBANU.js";
20
20
  import {
21
21
  SUBPROCESS_MAX_BUFFER,
22
22
  execFileAsync
23
- } from "./chunk-KMTY4GTY.js";
23
+ } from "./chunk-XOFTV2KD.js";
24
24
  import {
25
25
  isRecord
26
26
  } from "./chunk-UZSNFLDQ.js";
@@ -61,7 +61,7 @@ import {
61
61
  shrunkImageSize,
62
62
  splitMothershipInstructions,
63
63
  withTimeout
64
- } from "./chunk-CEBOAXL7.js";
64
+ } from "./chunk-EIU3AU5A.js";
65
65
 
66
66
  // src/managers/codex-token-manager.ts
67
67
  import { promises as fs } from "fs";
@@ -461,7 +461,7 @@ var CodexTokenManager = class extends BaseRefreshManager {
461
461
  await this.applyCredentialUpdate(++this.credentialGeneration, async () => {
462
462
  await this.applyCredentialsResponse(data);
463
463
  setAgentCredentialSnapshot("codex", data);
464
- const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-VLVA2YFI.js");
464
+ const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-D3CGQHLH.js");
465
465
  await restartCodexAspHostIfRunning2();
466
466
  });
467
467
  await this.start(true);
@@ -483,7 +483,7 @@ var CodexTokenManager = class extends BaseRefreshManager {
483
483
  const accountChanged = ENGINE_ENV.REPLICAS_AGENT_CREDENTIALS.codex?.credentialId !== data.credentialId;
484
484
  await this.applyCredentialsResponse(data);
485
485
  if (restartOnChange && (accountChanged || CODEX_AUTH_ENV_KEYS.some((key, index) => process.env[key] !== previousEnv[index]))) {
486
- const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-VLVA2YFI.js");
486
+ const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-D3CGQHLH.js");
487
487
  await restartCodexAspHostIfRunning2();
488
488
  }
489
489
  setAgentCredentialSnapshot("codex", data);
@@ -3,7 +3,7 @@ import { createRequire as __createRequire } from 'node:module';
3
3
  const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  AspClient
6
- } from "./chunk-TJKPM3VM.js";
6
+ } from "./chunk-K62FBANU.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-CEBOAXL7.js";
18
+ } from "./chunk-EIU3AU5A.js";
19
19
 
20
20
  // src/managers/codex-asp/notification-dispatch.ts
21
21
  var TURN_STARTED_METHOD = "turn/started";
@@ -9362,7 +9362,6 @@ var WEB_APP_PATHS = {
9362
9362
  integrations: `${DASHBOARD_PATH}/integrations`,
9363
9363
  integrationsGithub: `${DASHBOARD_PATH}/integrations/github`,
9364
9364
  integrationsGitlab: `${DASHBOARD_PATH}/integrations/gitlab`,
9365
- integrationsSlack: `${DASHBOARD_PATH}/integrations/slack`,
9366
9365
  settings: `${DASHBOARD_PATH}/settings`,
9367
9366
  billing: `${DASHBOARD_PATH}/billing`,
9368
9367
  members: `${DASHBOARD_PATH}/members`,
@@ -12206,6 +12205,7 @@ var REPLICAS_MCP_TOOLS = {
12206
12205
  getBoard: "get_board",
12207
12206
  updateBoard: "update_board",
12208
12207
  updateTicket: "update_ticket",
12208
+ replyOnTicket: "reply_on_ticket",
12209
12209
  sendToChat: "send_to_chat",
12210
12210
  getLinearRouting: "get_linear_routing",
12211
12211
  setLinearRouting: "set_linear_routing",
@@ -12320,12 +12320,32 @@ var SCOUT_PRESET_ICONS = [
12320
12320
  var SCOUT_SETTINGS_SKILL_NAME = "scout-settings";
12321
12321
  var CONTENT = `---
12322
12322
  name: ${SCOUT_SETTINGS_SKILL_NAME}
12323
- description: Use when someone asks Scout to change or explain how Replicas behaves in Slack or Linear (channel levels, "be quieter", "only reply when tagged", channel or team instructions, presets, monitored Linear teams, Slack Connect defaults, Slack agent defaults, "what can I change?"), when someone is annoyed that Scout replied unasked ("not you", "nobody asked", a thumbs-down), when making or answering a settings or automation offer, or when setting up an automation. Not for routing ordinary requests.
12323
+ description: Use when someone asks what Replicas can do or what they can change ("what can you do?", "what can I change here?"), asks to change or explain how Replicas behaves in Slack or Linear (channel levels, "be quieter", "only reply when tagged", mute, channel or team instructions, presets, monitored Linear teams, Slack Connect defaults, Slack agent defaults), when someone is annoyed that Scout replied unasked ("not you", "nobody asked", a thumbs-down), when making or answering a settings or automation offer, or when setting up an automation. Not for routing ordinary requests.
12324
12324
  ---
12325
12325
 
12326
12326
  # Scout settings
12327
12327
 
12328
- You own every Scout setting: each Slack channel's level, each channel's and Linear team's preset and instructions, the presets themselves, which Linear teams are monitored, Slack Connect defaults, the organization's level, and agent defaults for Slack tasks. Handle requests here, never by spawning a workspace.
12328
+ There is no settings page: people change how Replicas behaves by asking you, and you own every setting below. Handle requests here, never by spawning a workspace. People know you as Replicas, so never say Scout to them.
12329
+
12330
+ ## What you can do
12331
+ | Ask | How | Who |
12332
+ | --- | --- | --- |
12333
+ | How much you speak up in a channel or group DM (Mentions only, Low, Balanced, High) | \`${REPLICAS_MCP_TOOLS.updateChannelSettings}\` \`proactivity\` | Any member, except that raising one from Mentions only needs an admin |
12334
+ | How much you speak up in every channel | \`${REPLICAS_MCP_TOOLS.setOrganizationProactivity}\` | Admin |
12335
+ | Mute or unmute you in a channel (you still read it and follow its instructions, but never post there) | \`${REPLICAS_MCP_TOOLS.updateChannelSettings}\` \`muted\` | Admin |
12336
+ | Instructions for a channel or Linear team, such as "file bugs in Linear and post them in #triage", "send actionable messages to App Support", or "mobile requests go to the mobile-ios environment" | \`${REPLICAS_MCP_TOOLS.updateChannelSettings}\` \`instructions\` | Any member |
12337
+ | Create, edit, or delete a preset (reusable instructions), or assign one | \`${REPLICAS_MCP_TOOLS.saveChannelPreset}\`, \`${REPLICAS_MCP_TOOLS.deleteChannelPreset}\`, \`${REPLICAS_MCP_TOOLS.updateChannelSettings}\` \`preset_id\` | Any member |
12338
+ | Defaults for every channel shared with another company: preset, instructions, level, mute | \`${REPLICAS_MCP_TOOLS.setSlackConnectDefaults}\` | Admin |
12339
+ | Triage new issues in a Linear team, or stop | \`${REPLICAS_MCP_TOOLS.updateChannelSettings}\` \`source: linear\`, \`monitored\` | Admin starts; any member stops |
12340
+ | Agent, model, thinking level, goal mode, and fast mode for tasks started from Slack | \`${REPLICAS_MCP_TOOLS.setSlackAgentDefaults}\` | Admin |
12341
+ | Stay quiet in this thread, or come back | \`${REPLICAS_MCP_TOOLS.setThreadMuted}\` | Anyone in the thread |
12342
+ | A recurring task ("every Monday, summarize open PRs in #eng") | \`${REPLICAS_MCP_TOOLS.createAutomation}\` (see Automations) | Members who can create automations |
12343
+
12344
+ You also answer questions, start a workspace for a task (in a separate thread when asked), relay follow-ups to a thread's workspace, stop it, hand a thread to a Mothership by name, and file Linear tickets with \`replicas.linear.graphql\`. Spawn for a one-time reminder ("remind me tomorrow at 9"): workspaces can schedule one-time runs.
12345
+
12346
+ A person's own defaults (agent, model, environment) and the organization's general defaults are changed in the Replicas app, not by you; Slack tasks use them unless the Slack agent defaults above say otherwise.
12347
+
12348
+ You can't add yourself to or remove yourself from a channel: people type \`/invite @Replicas\` or \`/remove @Replicas\` there, and an admin can pick channels under Integrations, Slack, Configure. To keep you in a channel but out of the way, lower it to Mentions only or mute it. A channel becomes a Mothership's own channel from that Mothership, not here; any channel's instructions can still send its messages to a Mothership.
12329
12349
 
12330
12350
  ## Tools
12331
12351
  Read presets, channel instructions, and levels with \`${REPLICAS_MCP_TOOLS.listChannelSettings}\`. Change them with \`${REPLICAS_MCP_TOOLS.updateChannelSettings}\`, \`${REPLICAS_MCP_TOOLS.saveChannelPreset}\`, \`${REPLICAS_MCP_TOOLS.deleteChannelPreset}\`, \`${REPLICAS_MCP_TOOLS.setOrganizationProactivity}\`, \`${REPLICAS_MCP_TOOLS.setSlackConnectDefaults}\`, or \`${REPLICAS_MCP_TOOLS.setSlackAgentDefaults}\`. Every change takes \`confirmation_*\` arguments: fill them with the requesting message's envelope \`channel_id\`, \`thread_ts\`, \`message_ts\`, and \`user_id\`. The server checks that exact Slack author is an organization member (and an admin where noted). If it refuses, say why briefly and change nothing.
@@ -12337,9 +12357,10 @@ Read presets, channel instructions, and levels with \`${REPLICAS_MCP_TOOLS.listC
12337
12357
  - A request that points at a channel ("here", "in #eng", "stop replying in #random") changes that channel only. One that doesn't ("only respond when I @ you", "don't auto-reply to Slack messages") means the organization level. When it names a channel, even without "#" ("make support-inbound quieter"), find it with \`conversations.list\` and change that one, not the one you were asked in; ask if none or several match. If a non-admin asks for an organization change, say an organization admin has to ask, and offer the channel-only change when they asked from a channel. Instructions don't substitute for a level.
12338
12358
  - **Instructions and presets:** prefer changing the channel's own instructions; edit a shared preset only when asked, since every channel using it changes. To set up a channel without being told how, read enough of it to propose short instructions or a fitting preset (customer, vendor, internal team), and save nothing until they confirm. Never infer a channel's purpose only because Slack marks it externally shared.
12339
12359
  - **Linear teams:** set \`monitored: true\` to start triaging a team (admin only) and \`monitored: false\` to stop. Teams take a preset or instructions like channels.
12340
- - **Slack Connect** channels shared with another company follow the organization's shared-channel defaults (\`tagged\` with no preset unless an admin set them with \`${REPLICAS_MCP_TOOLS.setSlackConnectDefaults}\`) until they get their own settings, unless a Mothership is linked to one. A request about all shared or customer channels changes only those defaults: leave channels with their own settings as they are, list them, and offer to switch them too. Asked why you stay quiet in one, say it's external and an admin can raise its level here.
12360
+ - **Slack Connect** channels shared with another company follow the organization's shared-channel defaults (\`tagged\` with no preset unless an admin set them with \`${REPLICAS_MCP_TOOLS.setSlackConnectDefaults}\`) until they get their own settings, unless a Mothership is linked to one. A request about all shared or customer channels changes only those defaults: leave channels with their own settings as they are, list them, and offer to switch them too. Asked why you stay quiet in one, say it's external and an admin can ask you to raise its level.
12341
12361
  - **Slack agent defaults:** to change the agent, model, thinking level, goal mode, or fast mode for tasks started from Slack ("use Codex for Slack tasks"), call \`${REPLICAS_MCP_TOOLS.setSlackAgentDefaults}\` (admin only).
12342
- - **"What can I change?"** Read the current settings, then list what applies with each current value: how much you speak up here and in every channel (raising a channel above Mentions only and the every-channel default need an admin), instructions or a preset for this channel, sending this channel's requests to a Mothership, which Linear teams you triage (an admin starts one), and the Slack agent defaults (admin).
12362
+ - **"What can you do?"** Keep it short: one line on what you do (answer questions, start a workspace for a task, hand work to a Mothership, file Linear tickets, set up recurring tasks), two or three example requests in backticks drawn from both work and behavior (like \`fix the flaky login test\`, \`only reply here when tagged\`, \`every Monday, summarize open PRs\`), then "Ask me what you can change here to see every setting." No settings list or current values.
12363
+ - **"What can I change?"** Read the current settings, then reply in a few short lines from **What you can do**: what applies here with its current value (this channel's level, mute, instructions or preset), then what applies everywhere (the every-channel level, shared-channel defaults, Linear teams, Slack agent defaults), marking what needs an admin. Give one example phrasing, like "only reply here when tagged".
12343
12364
  - After any change, say what changed and its scope ("every channel", or "#eng only"). Confirm only after the tool succeeded and only what it changed; say so when it failed or did less than asked.
12344
12365
 
12345
12366
  ## Offers
@@ -12349,7 +12370,7 @@ When the envelope has \`offers\`, it lists the offers you may still make in this
12349
12370
  - **Channel instructions.** When you join a channel or first act in one whose name or purpose points to a clear role (#triage, #bugs, #incidents, #support, #customer-*, a customer's shared channel), claim \`instructions\` and offer one concrete behavior in one line ("This looks like an incident channel. Want me to triage new reports here, check for duplicates, and post findings in the thread?"). Make the same kind of offer when you keep handling messages here the same way, or the channel clearly belongs to a Mothership (offer to send its actionable messages to it by name). On a yes, save it as the channel's instructions, or its preset when one fits exactly.
12350
12371
 
12351
12372
  ## Automations
12352
- When someone accepts an offer to automate a repeated request, set it up here instead of spawning. Infer the name, prompt, environment, repositories, schedule, and timezone from the conversation and the organization's configuration; ask one concise follow-up only for a missing detail that changes when or where it runs. Create it with \`${REPLICAS_MCP_TOOLS.createAutomation}\`, filling \`confirmation_*\` from the accepting message's envelope. The server checks that author is an organization member with automation write access; never create it if that fails. Post the result in the same thread.
12373
+ When someone asks for a recurring task or accepts an offer to automate a repeated request, set it up here instead of spawning. Infer the name, prompt, environment, repositories, schedule, and timezone from the conversation and the organization's configuration; ask one concise follow-up only for a missing detail that changes when or where it runs. Create it with \`${REPLICAS_MCP_TOOLS.createAutomation}\`, filling \`confirmation_*\` from the envelope of the message that asked or accepted. The server checks that author is an organization member with automation write access; never create it if that fails. Post the result in the same thread.
12353
12374
  `;
12354
12375
 
12355
12376
  // ../shared/src/routes/preferences.ts
@@ -15067,6 +15088,7 @@ var DEFAULT_USER_PREFERENCES = {
15067
15088
  appshot_destination: "automatic",
15068
15089
  appshot_sound: true,
15069
15090
  mothership_tour_seen: false,
15091
+ slack_settings_moved_notice: false,
15070
15092
  mothership_board_opened: false,
15071
15093
  follow_up_mode: "steer",
15072
15094
  memory_enabled: null,
@@ -15222,6 +15244,8 @@ function splitMothershipInstructions(customInstructions) {
15222
15244
  mothershipInstructions: match?.[1]
15223
15245
  };
15224
15246
  }
15247
+ var MOTHERSHIP_TICKET_MESSAGE_NOTE = `The user sent this from your ticket on the Mothership's board and reads your answer there, not in this chat. Answer them with \`${REPLICAS_MCP_TOOLS.replyOnTicket}\`: briefly, with a link or screenshot if it helps, and a follow-up question only if you need one. Keep longer work and detail in this chat.`;
15248
+ var MOTHERSHIP_TICKET_REPLY_NUDGE = `The user is still waiting for your answer on your ticket, and they only read the ticket. Answer them now with \`${REPLICAS_MCP_TOOLS.replyOnTicket}\`, briefly.`;
15225
15249
  var T = REPLICAS_MCP_TOOLS;
15226
15250
  var SCOUT_LINEAR_RULES = `Linear issue triage: team instructions define what is actionable. Use \`replicas.linear.graphql\` from \`@replicas/sdk\` for every Linear read and mutation, never a Replicas CLI command. Choose exactly one:
15227
15251
  1. **Ignore** issues the team instructions leave to humans or that should not start work: do nothing and write nothing to Linear. If \`agent_session_id\` is set because you asked a question earlier, create a \`response\` Agent Activity on it with one short closing response.
@@ -15275,7 +15299,7 @@ function parseMessageOrigin(raw) {
15275
15299
  }
15276
15300
 
15277
15301
  // ../shared/src/mothership-events.ts
15278
- var MOTHERSHIP_EVENT_KINDS = ["finished", "ready", "needs_attention", "approved", "merged", "closed", "archived"];
15302
+ var MOTHERSHIP_EVENT_KINDS = ["finished", "ready", "needs_attention", "approved", "merged", "closed", "archived", "replied"];
15279
15303
  var UNKNOWN_EVENT_KIND = "update";
15280
15304
  var MOTHERSHIP_TURN_ERROR_SUMMARY = "Turn ended with an error.";
15281
15305
  var MOTHERSHIP_EVENT_TYPE = "multitask-event";
@@ -15290,6 +15314,7 @@ var mothershipEventSchema = z25.object({
15290
15314
  detail: z25.string().optional(),
15291
15315
  // Set when the subagent is a chat in this workspace rather than a ship; agentId is then that chat's id.
15292
15316
  chatId: z25.string().optional(),
15317
+ ticket: z25.object({ id: z25.string(), title: z25.string() }).optional(),
15293
15318
  // Set on events recorded before every kind woke the orchestrator, which were shown as a row when they happened.
15294
15319
  noticed: z25.boolean().optional()
15295
15320
  });
@@ -15306,7 +15331,7 @@ function truncateMothershipEventResponse(response, readTool) {
15306
15331
  }
15307
15332
  function formatMothershipEvents(events) {
15308
15333
  return events.map((event) => {
15309
- const attributes = { id: event.id, at: event.at, kind: event.kind, agent: event.agentName, agent_id: event.agentId, ...event.chatId ? { chat_id: event.chatId } : {}, ...event.noticed ? { noticed: "true" } : {} };
15334
+ const attributes = { id: event.id, at: event.at, kind: event.kind, agent: event.agentName, agent_id: event.agentId, ...event.chatId ? { chat_id: event.chatId } : {}, ...event.ticket ? { ticket_id: event.ticket.id, ticket: event.ticket.title } : {}, ...event.noticed ? { noticed: "true" } : {} };
15310
15335
  const body = [event.summary, event.detail].filter(Boolean).join("\n\n").replaceAll(`</${TAG}`, `<\\/${TAG}`);
15311
15336
  return `<${TAG}${Object.entries(attributes).map(([key, value]) => ` ${key}="${escapeAttribute(value)}"`).join("")}>
15312
15337
  ${body}
@@ -15329,6 +15354,7 @@ function extractMothershipEvents(text4) {
15329
15354
  summary: summary.trim(),
15330
15355
  ...detail ? { detail } : {},
15331
15356
  ...attributes.chat_id ? { chatId: attributes.chat_id } : {},
15357
+ ...attributes.ticket_id ? { ticket: { id: attributes.ticket_id, title: attributes.ticket ?? "" } } : {},
15332
15358
  ...attributes.noticed === "true" ? { noticed: true } : {}
15333
15359
  }];
15334
15360
  });
@@ -16417,7 +16443,8 @@ var MOTHERSHIP_TICKET_LIMITS = {
16417
16443
  blocked: 200,
16418
16444
  media: 6,
16419
16445
  caption: 80,
16420
- answer: 2e3
16446
+ answer: 2e3,
16447
+ reply: 600
16421
16448
  };
16422
16449
  var L = MOTHERSHIP_TICKET_LIMITS;
16423
16450
  var tooLong = (max) => `At most ${max} characters. Keep it short; the user should take it in at a glance`;
@@ -16476,6 +16503,21 @@ var answerMothershipTicketRequestSchema = z27.object({
16476
16503
  answer: text3(L.answer)
16477
16504
  });
16478
16505
  var mothershipTicketAnswerRefSchema = z27.object({ mothershipId: z27.uuid(), ticketId: z27.uuid(), questionId: z27.string().min(1) });
16506
+ var replyOnMothershipTicketRequestSchema = z27.object({
16507
+ reply: text3(L.reply).describe(`Your answer to the user's latest message on the ticket, in a few sentences. ${markdown} Link a screenshot or recording uploaded with \`replicas media upload\` if it helps. At most ${L.reply} characters; keep longer detail in your chat.`),
16508
+ question: questionSchema.optional().describe("A follow-up question only if you need the user to decide something. It shows on the ticket with its options, and their answer comes back to you.")
16509
+ });
16510
+ var mothershipTicketReplyRefSchema = z27.object({ ticketId: z27.uuid(), text: text3(L.answer) });
16511
+ var mothershipTicketThreadSchema = z27.array(z27.object({
16512
+ id: z27.string(),
16513
+ from: z27.enum(["user", "ship"]),
16514
+ name: z27.string(),
16515
+ ship_id: z27.string(),
16516
+ chat_id: z27.string(),
16517
+ text: z27.string(),
16518
+ at: z27.string(),
16519
+ nudge: z27.enum(["sent", "missed"]).optional()
16520
+ }));
16479
16521
  var LINEAR_ISSUE_SUMMARIES_MAX = 50;
16480
16522
  var linearIssueSummariesRequestSchema = z27.object({ identifiers: z27.array(linearIdentifier).min(1).max(LINEAR_ISSUE_SUMMARIES_MAX) });
16481
16523
 
@@ -16697,6 +16739,7 @@ var REPLICAS_API_STEPS = {
16697
16739
  [REPLICAS_MCP_TOOLS.getBoard]: { icon: "book", live: "Reading board", done: "Read board" },
16698
16740
  [REPLICAS_MCP_TOOLS.updateBoard]: { icon: "file-pen", live: "Updating board", done: "Updated board" },
16699
16741
  [REPLICAS_MCP_TOOLS.updateTicket]: { icon: "file-pen", live: "Updating ticket", done: "Updated ticket" },
16742
+ [REPLICAS_MCP_TOOLS.replyOnTicket]: { icon: "file-pen", live: "Replying on ticket", done: "Replied on ticket" },
16700
16743
  [REPLICAS_MCP_TOOLS.sendToChat]: { icon: "message", live: "Sending to chat", done: "Sent to chat" },
16701
16744
  [REPLICAS_MCP_TOOLS.mergeWhenReady]: { icon: "target", live: "Setting merge when ready", done: "Set merge when ready" }
16702
16745
  };
@@ -20146,7 +20189,7 @@ var VOICE_WAVEFORM = {
20146
20189
  };
20147
20190
 
20148
20191
  // ../shared/src/e2b.ts
20149
- var E2B_TEMPLATE_NAME = "replicas-sandbox-2026-11-15-v5";
20192
+ var E2B_TEMPLATE_NAME = "replicas-sandbox-2026-11-15-v7";
20150
20193
 
20151
20194
  // ../shared/src/e2b-retry.ts
20152
20195
  var DEFAULT_BACKOFFS_MS = [2e3, 5e3];
@@ -21190,7 +21233,7 @@ var scoutAutomationToolInputSchema = automationToolInputSchema.extend(scoutSlack
21190
21233
  var scoutSaveChannelPresetToolInputSchema = scoutSlackConfirmationSchema.extend({
21191
21234
  preset_id: z31.string().optional().describe(`Id of the preset to update, from \`${REPLICAS_MCP_TOOLS.listChannelSettings}\`. Omit to create a new preset.`),
21192
21235
  name: z31.string().trim().min(1).max(SCOUT_PRESET_NAME_MAX_LENGTH).optional().describe("Preset name. Required when creating."),
21193
- description: z31.string().optional().describe("One-line summary shown in settings."),
21236
+ description: z31.string().optional().describe("One-line summary of what the preset is for."),
21194
21237
  icon: z31.enum(SCOUT_PRESET_ICONS).optional(),
21195
21238
  instructions: z31.string().optional().describe("Complete preset instructions; replaces the existing text. Required when creating.")
21196
21239
  });
@@ -5,7 +5,7 @@ import {
5
5
  extractCommandProtectionCommandText,
6
6
  isRecord,
7
7
  parseCodeHostPrUrl
8
- } from "./chunk-CEBOAXL7.js";
8
+ } from "./chunk-EIU3AU5A.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-KMTY4GTY.js";
7
+ } from "./chunk-XOFTV2KD.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-CEBOAXL7.js";
24
+ } from "./chunk-EIU3AU5A.js";
25
25
 
26
26
  // src/runtime-env-loader.ts
27
27
  import { readFileSync } from "fs";
@@ -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-KMTY4GTY.js";
6
+ } from "./chunk-XOFTV2KD.js";
7
7
  import {
8
8
  isVersionBelow
9
- } from "./chunk-CEBOAXL7.js";
9
+ } from "./chunk-EIU3AU5A.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.1579";
243
+ var ENGINE_PACKAGE_VERSION = "0.1.1582";
244
244
  var INITIALIZE_METHOD = "initialize";
245
245
  var INITIALIZED_NOTIFICATION = "initialized";
246
246
  var ACCOUNT_LOGIN_START_METHOD = "account/login/start";
@@ -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-CEBOAXL7.js";
6
+ } from "./chunk-EIU3AU5A.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-QDBI5OGL.js";
7
- import "./chunk-XSOJIRAF.js";
8
- import "./chunk-KMTY4GTY.js";
6
+ } from "./chunk-45LHO3LT.js";
7
+ import "./chunk-GCYNUHRN.js";
8
+ import "./chunk-XOFTV2KD.js";
9
9
  import {
10
10
  isRecord
11
11
  } from "./chunk-UZSNFLDQ.js";
12
- import "./chunk-CEBOAXL7.js";
12
+ import "./chunk-EIU3AU5A.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-QWCOEM7R.js";
17
+ } from "./chunk-DQ6PC55W.js";
18
18
  import {
19
19
  AppServerProcess,
20
20
  buildCodexAgentEnv
21
- } from "./chunk-TJKPM3VM.js";
22
- import "./chunk-KMTY4GTY.js";
21
+ } from "./chunk-K62FBANU.js";
22
+ import "./chunk-XOFTV2KD.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-CEBOAXL7.js";
32
+ } from "./chunk-EIU3AU5A.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-QDBI5OGL.js";
30
+ } from "./chunk-45LHO3LT.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-QWCOEM7R.js";
68
+ } from "./chunk-DQ6PC55W.js";
69
69
  import {
70
70
  publishedPullRequestUrls
71
- } from "./chunk-W2VY74XF.js";
71
+ } from "./chunk-ESEOGNA3.js";
72
72
  import {
73
73
  ACCOUNT_RATE_LIMITS_READ_METHOD,
74
74
  AsyncLock,
@@ -147,7 +147,7 @@ import {
147
147
  transcriptSecrets,
148
148
  upsertCredentialFileLines,
149
149
  writeSecureCredentialFile
150
- } from "./chunk-KASB62W3.js";
150
+ } from "./chunk-BZFUTV2V.js";
151
151
  import {
152
152
  ENGINE_ENV,
153
153
  UNQUOTED_PATHS_CONFIG,
@@ -158,15 +158,15 @@ import {
158
158
  resolveDiffBase,
159
159
  setAgentCredentialSnapshot,
160
160
  setLinearSessionId
161
- } from "./chunk-XSOJIRAF.js";
161
+ } from "./chunk-GCYNUHRN.js";
162
162
  import {
163
163
  getCodexModelProvider
164
- } from "./chunk-TJKPM3VM.js";
164
+ } from "./chunk-K62FBANU.js";
165
165
  import {
166
166
  SUBPROCESS_MAX_BUFFER,
167
167
  execAsync,
168
168
  execFileAsync
169
- } from "./chunk-KMTY4GTY.js";
169
+ } from "./chunk-XOFTV2KD.js";
170
170
  import {
171
171
  isRecord as isRecord2
172
172
  } from "./chunk-UZSNFLDQ.js";
@@ -449,7 +449,7 @@ import {
449
449
  workspaceTokenRequestSchema,
450
450
  workspaceTokenResponseSchema,
451
451
  wrapInTag
452
- } from "./chunk-CEBOAXL7.js";
452
+ } from "./chunk-EIU3AU5A.js";
453
453
  import {
454
454
  cloneMcpConfig,
455
455
  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-W2VY74XF.js";
6
+ } from "./chunk-ESEOGNA3.js";
7
7
  import {
8
8
  isRecord
9
9
  } from "./chunk-UZSNFLDQ.js";
10
10
  import {
11
11
  shouldRefreshPullRequests
12
- } from "./chunk-CEBOAXL7.js";
12
+ } from "./chunk-EIU3AU5A.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-CEBOAXL7.js";
14
+ } from "./chunk-EIU3AU5A.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.1580",
3
+ "version": "0.1.1582",
4
4
  "description": "Lightweight API server for Replicas workspaces",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",