replicas-engine 0.1.1701 → 0.1.1704

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,13 +8,13 @@ import {
8
8
  listCodexModelsForDetails,
9
9
  restartCodexAspHost,
10
10
  restartCodexAspHostIfRunning
11
- } from "./chunk-OCDTIHNH.js";
12
- import "./chunk-J4L2AHBJ.js";
13
- import "./chunk-GYYGQTWQ.js";
14
- import "./chunk-2IMTX5NL.js";
15
- import "./chunk-YCVC3SGY.js";
11
+ } from "./chunk-JWWV43NR.js";
12
+ import "./chunk-7VHOVDLH.js";
13
+ import "./chunk-K6M6J25C.js";
14
+ import "./chunk-BNYKMGCX.js";
15
+ import "./chunk-KUBCCD55.js";
16
16
  import "./chunk-UZSNFLDQ.js";
17
- import "./chunk-6QWSUURS.js";
17
+ import "./chunk-CKHIBKN4.js";
18
18
  import "./chunk-VEQXQN22.js";
19
19
  export {
20
20
  CODEX_ULTRAFAST_SERVICE_TIER,
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-7ZDAVYTV.js";
7
7
  import {
8
8
  AspClient
9
- } from "./chunk-2IMTX5NL.js";
9
+ } from "./chunk-BNYKMGCX.js";
10
10
  import {
11
11
  ASTER_BASE_URL,
12
12
  ASTER_PROVIDER,
@@ -18,7 +18,7 @@ import {
18
18
  isRecord,
19
19
  readOllamaAuthEnv,
20
20
  readOpenAICompatibleAuthEnv
21
- } from "./chunk-6QWSUURS.js";
21
+ } from "./chunk-CKHIBKN4.js";
22
22
 
23
23
  // src/managers/codex-asp/notification-dispatch.ts
24
24
  var TURN_STARTED_METHOD = "turn/started";
@@ -5,7 +5,7 @@ import {
5
5
  extractCommandProtectionCommandText,
6
6
  isRecord,
7
7
  parseCodeHostPrUrl
8
- } from "./chunk-6QWSUURS.js";
8
+ } from "./chunk-CKHIBKN4.js";
9
9
 
10
10
  // src/services/published-pull-request-urls.ts
11
11
  function publishedPullRequestUrls(result) {
@@ -3,7 +3,7 @@ import { createRequire as __createRequire } from 'node:module';
3
3
  const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  SUBAGENT_MCP_TOOL_NAMES
6
- } from "./chunk-6QWSUURS.js";
6
+ } from "./chunk-CKHIBKN4.js";
7
7
 
8
8
  // src/managers/subagent-mcp-config.ts
9
9
  import { existsSync } 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-YCVC3SGY.js";
6
+ } from "./chunk-KUBCCD55.js";
7
7
  import {
8
8
  isVersionBelow
9
- } from "./chunk-6QWSUURS.js";
9
+ } from "./chunk-CKHIBKN4.js";
10
10
 
11
11
  // src/utils/codex-agent-env.ts
12
12
  function buildCodexAgentEnv(source = process.env) {
@@ -244,7 +244,7 @@ function getCodexModelProvider(method) {
244
244
  if (method === "foundry") return "azure";
245
245
  return method === "ollama" || method === "openai-compatible" ? "replicas_openai_compatible" : "openai";
246
246
  }
247
- var ENGINE_PACKAGE_VERSION = "0.1.1701";
247
+ var ENGINE_PACKAGE_VERSION = "0.1.1704";
248
248
  var INITIALIZE_METHOD = "initialize";
249
249
  var INITIALIZED_NOTIFICATION = "initialized";
250
250
  var ACCOUNT_LOGIN_START_METHOD = "account/login/start";
@@ -13515,7 +13515,7 @@ var computeTransferPathSchema = z23.object({
13515
13515
  // ../shared/src/default-skills/replicas-agent/abilities/gpu.ts
13516
13516
  var COMPUTE_SANDBOX_WORKDIR = COMPUTE_SANDBOX_WORKDIRS.gpu;
13517
13517
  var SECTION6 = `### GPU sandboxes
13518
- Run GPU workloads (training, inference, CUDA builds, rendering) on cloud GPU sandboxes with \`replicas gpu\`. The workspace itself has no GPU.
13518
+ Run GPU workloads (training, inference, CUDA builds, rendering) on cloud GPU sandboxes with \`replicas gpu\`. The workspace itself has no GPU, but GPU sandboxes are available when a task needs one.
13519
13519
 
13520
13520
  **Reference:** \`references/GPU.md\`
13521
13521
 
@@ -13553,6 +13553,41 @@ replicas gpu delete
13553
13553
  - \`--port 8000\` on create exposes a container port as a public HTTPS URL (shown by \`list\`).
13554
13554
  - \`--env KEY=value\` passes secrets such as \`HF_TOKEN\`; never bake them into files you push.
13555
13555
 
13556
+ ## GPU-accelerated browser
13557
+
13558
+ The workspace's browser renders WebGL in software. Chrome in a GPU sandbox also uses software rendering unless it gets the flags below. If you need a page rendered on a real GPU, push a production build and serve it inside the sandbox. The sandbox carries no Replicas login, so it can only open a preview URL (\`references/PREVIEWS.md\`) created without \`--authenticated\`, which anyone with the link can open: ask the user before making a private app public that way, and never recreate an existing authenticated preview without the flag. Then run Playwright in a GPU sandbox:
13559
+
13560
+ \`\`\`bash
13561
+ mkdir -p /tmp/gpu-browser && cd /tmp/gpu-browser
13562
+ cat > fps.mjs <<'EOF'
13563
+ import { chromium } from 'playwright';
13564
+ import { mkdirSync } from 'node:fs';
13565
+ // Without these flags Chrome falls back to SwiftShader, a software renderer.
13566
+ const browser = await chromium.launch({ args: ['--use-angle=vulkan', '--enable-features=Vulkan', '--ignore-gpu-blocklist'] });
13567
+ const page = await browser.newPage({ viewport: { width: 1280, height: 720 } });
13568
+ await page.goto(process.argv[2], { waitUntil: 'networkidle' });
13569
+ const result = await page.evaluate(async () => {
13570
+ const gl = document.createElement('canvas').getContext('webgl');
13571
+ const info = gl?.getExtension('WEBGL_debug_renderer_info');
13572
+ const renderer = info ? gl.getParameter(info.UNMASKED_RENDERER_WEBGL) : 'no WebGL';
13573
+ const frames = [];
13574
+ await new Promise((done) => {
13575
+ const tick = (t) => { frames.push(t); frames.at(-1) - frames[0] < 5000 ? requestAnimationFrame(tick) : done(); };
13576
+ requestAnimationFrame(tick);
13577
+ });
13578
+ const gaps = frames.slice(1).map((t, i) => t - frames[i]).sort((a, b) => a - b);
13579
+ return { renderer, fps: Math.round((frames.length - 1) / 5), p95FrameMs: Math.round(gaps[Math.floor(gaps.length * 0.95)]) };
13580
+ });
13581
+ console.log(JSON.stringify(result));
13582
+ mkdirSync('outputs', { recursive: true });
13583
+ await page.screenshot({ path: 'outputs/frame.png' });
13584
+ await browser.close();
13585
+ EOF
13586
+ replicas gpu run --image mcr.microsoft.com/playwright:v1.49.0-noble --pull outputs -- "npm i playwright@1.49.0 >/dev/null && node fps.mjs https://<preview-url>/<page>"
13587
+ \`\`\`
13588
+
13589
+ Check that \`renderer\` names the NVIDIA GPU; one naming SwiftShader means the page ran in software. \`fps\` counts the browser's frame callbacks, which is the most the page can draw; a game that skips frames draws fewer, so read its own frame counter (or count calls to its render function) when it has one. Add the interactions the page needs (clicks, waits for a scene to load) before measuring, and keep the Playwright package version matching the image tag.
13590
+
13556
13591
  ## Choosing hardware and images
13557
13592
 
13558
13593
  - GPUs, picked with \`--gpu\`: ${GPU_TYPES.join(", ")} (default ${DEFAULT_GPU_TYPE}). Add a count for multi-GPU, e.g. \`H100:4\` (max ${COMPUTE_SANDBOX_LIMITS.maxGpuCount}). Pick the smallest GPU that fits: T4/L4 for small models and smoke tests, A100/H100 for real training.
@@ -13569,7 +13604,7 @@ replicas gpu delete
13569
13604
  var GPU_ABILITY = {
13570
13605
  label: "GPU sandboxes",
13571
13606
  description: "Run training, inference, and other GPU workloads on cloud GPUs with `replicas gpu`.",
13572
- bullet: "- Running GPU workloads (training, inference, CUDA, rendering) on cloud GPU sandboxes with `replicas gpu`",
13607
+ bullet: "- Running GPU workloads (training, inference, CUDA, rendering) on cloud GPU sandboxes with `replicas gpu` (this workspace has no GPU of its own)",
13573
13608
  section: SECTION6,
13574
13609
  referenceFile: { name: "GPU.md", content: REFERENCE6 }
13575
13610
  };
@@ -15118,7 +15153,7 @@ replicas automation edit <id> \\
15118
15153
  --name "..." \\
15119
15154
  --description "..." \\
15120
15155
  --prompt "..." \\
15121
- --size small|large|ultra \\
15156
+ --size small|large|ultra|auto \\
15122
15157
  --enabled true|false \\
15123
15158
  --environment <env-name-or-id> \\
15124
15159
  --trigger-cron "0 4 * * *" # replaces existing triggers
@@ -15918,6 +15953,7 @@ var HOSTED_COMPOSIO_PLUGIN_DEFINITIONS = [
15918
15953
  ["googleslides", "googleslides", "OAUTH2", true, "productivity", "Google Slides"],
15919
15954
  ["googlemeet", "googlemeet", "OAUTH2", true, "productivity", "Google Meet"],
15920
15955
  ["circleback", "circleback_mcp", "DCR_OAUTH", false, "productivity", "Circleback"],
15956
+ ["fireflies", "fireflies", "API_KEY", false, "productivity", "Fireflies"],
15921
15957
  ["granola", "granola_mcp", "DCR_OAUTH", false, "productivity", "Granola"],
15922
15958
  ["mercury", "mercury_mcp", "DCR_OAUTH", false, "business", "Mercury"],
15923
15959
  ["googletasks", "googletasks", "OAUTH2", true, "productivity", "Google Tasks"],
@@ -16229,7 +16265,7 @@ var automationUpdateToolInputSchema = automationToolInputSchema.partial().extend
16229
16265
  agent_provider: z28.enum(ENGINE_AGENT_PROVIDERS).nullable().optional(),
16230
16266
  model: z28.string().nullable().optional(),
16231
16267
  thinking_level: z28.enum(VALID_THINKING_LEVELS).nullable().optional(),
16232
- workspace_size: z28.enum(WORKSPACE_SIZES).optional(),
16268
+ workspace_size: z28.enum(WORKSPACE_SIZE_OPTIONS).optional(),
16233
16269
  credential_user_id: z28.string().nullable().optional().describe(`${credentialUserIdDescription} Null switches back to the organization's.`),
16234
16270
  background: automationBackgroundSchema,
16235
16271
  scope: z28.literal("org").optional().describe("`org` moves a personal automation to the organization so teammates can see and edit it. It cannot be moved back.")
@@ -16487,7 +16523,8 @@ var MANAGER_TICKET_REPLY_NUDGE = `The user is still waiting for your answer on y
16487
16523
 
16488
16524
  // ../shared/src/message-origin.ts
16489
16525
  var UUID = UUID_RE.source.slice(1, -1);
16490
- var WORKSPACE_SENDER = new RegExp(String.raw`^\s*<${REPLICAS_INSTRUCTIONS_TAG}>\nFrom the workspace ("(?:[^"\\\n]|\\.)*") \((${UUID})\)\.\n</${REPLICAS_INSTRUCTIONS_TAG}>`);
16526
+ var WORKSPACE_SENDER_LINE = String.raw`<${REPLICAS_INSTRUCTIONS_TAG}>\nFrom the workspace ("(?:[^"\\\n]|\\.)*") \((${UUID})\)\.\n</${REPLICAS_INSTRUCTIONS_TAG}>`;
16527
+ var WORKSPACE_SENDER = new RegExp(String.raw`^\s*${WORKSPACE_SENDER_LINE}`);
16491
16528
  var BOARD_ANSWER = new RegExp(String.raw`^\s*(?:<${REPLICAS_INSTRUCTIONS_TAG}>\nFrom [^\n]*\n</${REPLICAS_INSTRUCTIONS_TAG}>\s*)?<${REPLICAS_INSTRUCTIONS_TAG}>\n${BOARD_ANSWER_NOTE.replace(/\./g, "\\.")}\n</${REPLICAS_INSTRUCTIONS_TAG}>`);
16492
16529
  var AUTOMATION_RUN_PREFIX = "Automation run: ";
16493
16530
  var AUTOMATION_RUN = new RegExp(String.raw`^\s*(?:<${REPLICAS_INSTRUCTIONS_TAG}>\n[^\n]*\n</${REPLICAS_INSTRUCTIONS_TAG}>\s*)*?<${REPLICAS_INSTRUCTIONS_TAG}>\n${AUTOMATION_RUN_PREFIX}(\{[^\n]*\})\n</${REPLICAS_INSTRUCTIONS_TAG}>`);
@@ -21663,7 +21700,7 @@ async function withRetry(label, fn, options) {
21663
21700
  }
21664
21701
 
21665
21702
  // ../shared/src/tensorlake.ts
21666
- var TENSORLAKE_IMAGE_NAME = "replicas-sandbox-2026-11-20-v59";
21703
+ var TENSORLAKE_IMAGE_NAME = "replicas-sandbox-2026-11-21-v2";
21667
21704
  var TENSORLAKE_DISK_MB = 100 * 1024;
21668
21705
 
21669
21706
  // ../shared/src/egress.ts
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-7ZDAVYTV.js";
7
7
  import {
8
8
  engineScriptProcess
9
- } from "./chunk-J4L2AHBJ.js";
9
+ } from "./chunk-7VHOVDLH.js";
10
10
  import {
11
11
  isRecord
12
12
  } from "./chunk-UZSNFLDQ.js";
@@ -3,7 +3,7 @@ import { createRequire as __createRequire } from 'node:module';
3
3
  const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  subagentCodexMcpConfig
6
- } from "./chunk-J4L2AHBJ.js";
6
+ } from "./chunk-7VHOVDLH.js";
7
7
  import {
8
8
  ENGINE_ENV,
9
9
  UNQUOTED_PATHS_CONFIG,
@@ -15,15 +15,15 @@ import {
15
15
  resolveDiffBase,
16
16
  runGitCommand,
17
17
  setAgentCredentialSnapshot
18
- } from "./chunk-GYYGQTWQ.js";
18
+ } from "./chunk-K6M6J25C.js";
19
19
  import {
20
20
  AppServerProcess,
21
21
  buildCodexAgentEnv
22
- } from "./chunk-2IMTX5NL.js";
22
+ } from "./chunk-BNYKMGCX.js";
23
23
  import {
24
24
  SUBPROCESS_MAX_BUFFER,
25
25
  execFileAsync
26
- } from "./chunk-YCVC3SGY.js";
26
+ } from "./chunk-KUBCCD55.js";
27
27
  import {
28
28
  isRecord
29
29
  } from "./chunk-UZSNFLDQ.js";
@@ -63,7 +63,7 @@ import {
63
63
  shrunkImageSize,
64
64
  splitManagerInstructions,
65
65
  withTimeout
66
- } from "./chunk-6QWSUURS.js";
66
+ } from "./chunk-CKHIBKN4.js";
67
67
 
68
68
  // src/managers/codex-token-manager.ts
69
69
  import { promises as fs } from "fs";
@@ -463,7 +463,7 @@ var CodexTokenManager = class extends BaseRefreshManager {
463
463
  await this.applyCredentialUpdate(++this.credentialGeneration, async () => {
464
464
  await this.applyCredentialsResponse(data);
465
465
  setAgentCredentialSnapshot("codex", data);
466
- const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-KKLTHCWI.js");
466
+ const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-L6QSN73Q.js");
467
467
  await restartCodexAspHostIfRunning2();
468
468
  });
469
469
  await this.start(true);
@@ -485,7 +485,7 @@ var CodexTokenManager = class extends BaseRefreshManager {
485
485
  const accountChanged = ENGINE_ENV.REPLICAS_AGENT_CREDENTIALS.codex?.credentialId !== data.credentialId;
486
486
  await this.applyCredentialsResponse(data);
487
487
  if (restartOnChange && (accountChanged || CODEX_AUTH_ENV_KEYS.some((key, index) => process.env[key] !== previousEnv[index]))) {
488
- const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-KKLTHCWI.js");
488
+ const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-L6QSN73Q.js");
489
489
  await restartCodexAspHostIfRunning2();
490
490
  }
491
491
  setAgentCredentialSnapshot("codex", data);
@@ -4,7 +4,7 @@ const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  SUBPROCESS_MAX_BUFFER,
6
6
  execFileAsync
7
- } from "./chunk-YCVC3SGY.js";
7
+ } from "./chunk-KUBCCD55.js";
8
8
  import {
9
9
  isRecord
10
10
  } from "./chunk-UZSNFLDQ.js";
@@ -21,7 +21,7 @@ import {
21
21
  provisionedDeviceSchema,
22
22
  readReplicasRuntimeEnv,
23
23
  serializePosixEnvFile
24
- } from "./chunk-6QWSUURS.js";
24
+ } from "./chunk-CKHIBKN4.js";
25
25
 
26
26
  // src/runtime-env-loader.ts
27
27
  import { readFileSync } from "fs";
@@ -3,7 +3,7 @@ import { createRequire as __createRequire } from 'node:module';
3
3
  const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  HOOK_EXEC_MAX_BUFFER_BYTES
6
- } from "./chunk-6QWSUURS.js";
6
+ } from "./chunk-CKHIBKN4.js";
7
7
 
8
8
  // src/utils/exec.ts
9
9
  import { exec, execFile } from "child_process";
@@ -5,7 +5,7 @@ import {
5
5
  ENGINE_ENV,
6
6
  monolithRequest,
7
7
  runGitCommand
8
- } from "./chunk-GYYGQTWQ.js";
8
+ } from "./chunk-K6M6J25C.js";
9
9
  import {
10
10
  COMMAND_PROTECTION_MAX_MESSAGE_FILE_BYTES,
11
11
  COMMAND_PROTECTION_REPO_GIT_ARGS,
@@ -18,7 +18,7 @@ import {
18
18
  parseCommandProtectionRequest,
19
19
  toCommandProtectionRepoState,
20
20
  withRetry
21
- } from "./chunk-6QWSUURS.js";
21
+ } from "./chunk-CKHIBKN4.js";
22
22
 
23
23
  // src/services/command-protection-service.ts
24
24
  import { readFile, stat } from "fs/promises";
@@ -4,15 +4,15 @@ const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  getManagedPiMcpServers,
6
6
  managedMcpServerProcess
7
- } from "./chunk-H6VDYEWY.js";
7
+ } from "./chunk-FGS7HE5B.js";
8
8
  import "./chunk-7ZDAVYTV.js";
9
- import "./chunk-J4L2AHBJ.js";
9
+ import "./chunk-7VHOVDLH.js";
10
10
  import {
11
11
  isRecord
12
12
  } from "./chunk-UZSNFLDQ.js";
13
13
  import {
14
14
  rankToolsByQuery
15
- } from "./chunk-6QWSUURS.js";
15
+ } from "./chunk-CKHIBKN4.js";
16
16
  import "./chunk-VEQXQN22.js";
17
17
 
18
18
  // src/codemode-mcp.ts
@@ -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-CA5TVIS7.js";
7
- import "./chunk-GYYGQTWQ.js";
8
- import "./chunk-YCVC3SGY.js";
6
+ } from "./chunk-SBRYQ3ZY.js";
7
+ import "./chunk-K6M6J25C.js";
8
+ import "./chunk-KUBCCD55.js";
9
9
  import {
10
10
  isRecord
11
11
  } from "./chunk-UZSNFLDQ.js";
12
- import "./chunk-6QWSUURS.js";
12
+ import "./chunk-CKHIBKN4.js";
13
13
  import "./chunk-VEQXQN22.js";
14
14
 
15
15
  // src/command-protection-hook.ts
@@ -14,13 +14,13 @@ import {
14
14
  recoverCompletedTurn,
15
15
  spawnMuseMsp,
16
16
  startMuseSession
17
- } from "./chunk-TKG7H4KQ.js";
17
+ } from "./chunk-2QTDDRDN.js";
18
18
  import "./chunk-7ZDAVYTV.js";
19
19
  import {
20
20
  AppServerProcess,
21
21
  buildCodexAgentEnv
22
- } from "./chunk-2IMTX5NL.js";
23
- import "./chunk-YCVC3SGY.js";
22
+ } from "./chunk-BNYKMGCX.js";
23
+ import "./chunk-KUBCCD55.js";
24
24
  import {
25
25
  AGENT,
26
26
  OPENCODE_GO_PROVIDER,
@@ -30,7 +30,7 @@ import {
30
30
  headlessAgentUsagePath,
31
31
  isRecord,
32
32
  withTimeout
33
- } from "./chunk-6QWSUURS.js";
33
+ } from "./chunk-CKHIBKN4.js";
34
34
  import "./chunk-VEQXQN22.js";
35
35
 
36
36
  // src/headless-agent.ts
package/dist/src/index.js CHANGED
@@ -90,12 +90,12 @@ import {
90
90
  import {
91
91
  getManagedPiMcpServers,
92
92
  managedMcpServerProcess
93
- } from "./chunk-H6VDYEWY.js";
93
+ } from "./chunk-FGS7HE5B.js";
94
94
  import {
95
95
  evaluateCommandProtection,
96
96
  extractToolCommand,
97
97
  reportCommandProtectionBlock
98
- } from "./chunk-CA5TVIS7.js";
98
+ } from "./chunk-SBRYQ3ZY.js";
99
99
  import {
100
100
  ACCOUNT_RATE_LIMITS_UPDATED_METHOD,
101
101
  AGENT_MESSAGE_DELTA_METHOD,
@@ -129,7 +129,7 @@ import {
129
129
  spawnMuseMsp,
130
130
  startMuseSession,
131
131
  uuidV7
132
- } from "./chunk-TKG7H4KQ.js";
132
+ } from "./chunk-2QTDDRDN.js";
133
133
  import {
134
134
  MUSE_AUTH_PATH,
135
135
  OPENCODE_AUTH_PATH,
@@ -137,7 +137,7 @@ import {
137
137
  } from "./chunk-7ZDAVYTV.js";
138
138
  import {
139
139
  publishedPullRequestUrls
140
- } from "./chunk-IWBMAFEM.js";
140
+ } from "./chunk-4BZJQGMQ.js";
141
141
  import {
142
142
  ACCOUNT_RATE_LIMITS_READ_METHOD,
143
143
  AsyncLock,
@@ -215,12 +215,12 @@ import {
215
215
  transcriptSecrets,
216
216
  upsertCredentialFileLines,
217
217
  writeSecureCredentialFile
218
- } from "./chunk-OCDTIHNH.js";
218
+ } from "./chunk-JWWV43NR.js";
219
219
  import {
220
220
  SUBAGENT_MCP_TOOL_TIMEOUT_MS,
221
221
  engineScriptProcess,
222
222
  subagentMcpProcessConfig
223
- } from "./chunk-J4L2AHBJ.js";
223
+ } from "./chunk-7VHOVDLH.js";
224
224
  import {
225
225
  ENGINE_ENV,
226
226
  UNQUOTED_PATHS_CONFIG,
@@ -231,18 +231,18 @@ import {
231
231
  resolveDiffBase,
232
232
  setAgentCredentialSnapshot,
233
233
  setLinearSessionId
234
- } from "./chunk-GYYGQTWQ.js";
234
+ } from "./chunk-K6M6J25C.js";
235
235
  import {
236
236
  AspRequestTimeoutError,
237
237
  AspResponseError,
238
238
  buildCodexAgentEnv,
239
239
  getCodexModelProvider
240
- } from "./chunk-2IMTX5NL.js";
240
+ } from "./chunk-BNYKMGCX.js";
241
241
  import {
242
242
  SUBPROCESS_MAX_BUFFER,
243
243
  execAsync,
244
244
  execFileAsync
245
- } from "./chunk-YCVC3SGY.js";
245
+ } from "./chunk-KUBCCD55.js";
246
246
  import {
247
247
  isRecord
248
248
  } from "./chunk-UZSNFLDQ.js";
@@ -543,7 +543,7 @@ import {
543
543
  workspaceTokenRequestSchema,
544
544
  workspaceTokenResponseSchema,
545
545
  wrapInTag
546
- } from "./chunk-6QWSUURS.js";
546
+ } from "./chunk-CKHIBKN4.js";
547
547
  import {
548
548
  __commonJS,
549
549
  __export,
@@ -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-IWBMAFEM.js";
6
+ } from "./chunk-4BZJQGMQ.js";
7
7
  import {
8
8
  isRecord
9
9
  } from "./chunk-UZSNFLDQ.js";
10
10
  import {
11
11
  shouldRefreshPullRequests
12
- } from "./chunk-6QWSUURS.js";
12
+ } from "./chunk-CKHIBKN4.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-6QWSUURS.js";
14
+ } from "./chunk-CKHIBKN4.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.1701",
3
+ "version": "0.1.1704",
4
4
  "description": "Lightweight API server for Replicas workspaces",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",
@@ -1,7 +1,7 @@
1
1
  // Generated from shared/src by generate-workspace-sdk-types.mjs; do not edit.
2
2
  export declare const HOSTED_PLUGIN_AUTH_SCHEMES: readonly ["API_KEY", "BASIC", "BEARER_TOKEN", "DCR_OAUTH", "OAUTH1", "OAUTH2"];
3
3
  export type HostedPluginAuthScheme = (typeof HOSTED_PLUGIN_AUTH_SCHEMES)[number];
4
- declare const HOSTED_COMPOSIO_PLUGIN_DEFINITIONS: readonly [["notion", "notion", "OAUTH2", true, "productivity", "Notion"], ["jira", "jira", "OAUTH2", true, "productivity", "Jira"], ["confluence", "confluence", "OAUTH2", true, "productivity", "Confluence"], ["googlecalendar", "googlecalendar", "OAUTH2", true, "productivity", "Google Calendar"], ["microsoftteams", "microsoft_teams", "OAUTH2", true, "productivity", "Microsoft Teams"], ["outlook", "outlook", "OAUTH2", true, "productivity", "Outlook"], ["bitbucket", "bitbucket", "OAUTH2", true, "data", "Bitbucket"], ["datadog", "datadog", "API_KEY", false, "data", "Datadog"], ["pagerduty", "pagerduty", "OAUTH2", true, "data", "PagerDuty"], ["intercom", "intercom", "OAUTH2", true, "business", "Intercom"], ["zendesk", "zendesk", "OAUTH2", true, "business", "Zendesk"], ["hubspot", "hubspot", "OAUTH2", true, "business", "HubSpot"], ["supabase", "supabase", "OAUTH2", true, "data", "Supabase"], ["figma", "figma", "OAUTH2", true, "productivity", "Figma"], ["launchdarkly", "launch_darkly", "API_KEY", false, "data", "LaunchDarkly"], ["asana", "asana", "OAUTH2", true, "productivity", "Asana"], ["clickup", "clickup", "OAUTH2", true, "productivity", "ClickUp"], ["trello", "trello", "OAUTH1", true, "productivity", "Trello"], ["todoist", "todoist", "OAUTH2", true, "productivity", "Todoist"], ["airtable", "airtable", "OAUTH2", true, "productivity", "Airtable"], ["coda", "coda", "API_KEY", false, "productivity", "Coda"], ["miro", "miro", "OAUTH2", true, "productivity", "Miro"], ["sharepoint", "share_point", "OAUTH2", true, "productivity", "SharePoint"], ["onedrive", "one_drive", "OAUTH2", true, "productivity", "OneDrive"], ["googleslides", "googleslides", "OAUTH2", true, "productivity", "Google Slides"], ["googlemeet", "googlemeet", "OAUTH2", true, "productivity", "Google Meet"], ["circleback", "circleback_mcp", "DCR_OAUTH", false, "productivity", "Circleback"], ["granola", "granola_mcp", "DCR_OAUTH", false, "productivity", "Granola"], ["mercury", "mercury_mcp", "DCR_OAUTH", false, "business", "Mercury"], ["googletasks", "googletasks", "OAUTH2", true, "productivity", "Google Tasks"], ["dropbox", "dropbox", "OAUTH2", true, "productivity", "Dropbox"], ["box", "box", "OAUTH2", true, "productivity", "Box"], ["discord", "discord", "OAUTH2", true, "productivity", "Discord"], ["discordbot", "discordbot", "OAUTH2", true, "productivity", "Discord Bot"], ["zoom", "zoom", "OAUTH2", true, "productivity", "Zoom"], ["googlechat", "google_chat", "OAUTH2", false, "productivity", "Google Chat"], ["newrelic", "new_relic", "API_KEY", false, "data", "New Relic"], ["betterstack", "better_stack", "API_KEY", false, "data", "Better Stack"], ["incidentio", "incident_io", "API_KEY", false, "data", "incident.io"], ["grafana", "grafana", "BEARER_TOKEN", false, "data", "Grafana"], ["honeycomb", "honeycomb_mcp", "DCR_OAUTH", false, "data", "Honeycomb MCP"], ["neon", "neon_mcp", "DCR_OAUTH", false, "data", "Neon"], ["glen", "glen_mcp", "DCR_OAUTH", false, "data", "Glen"], ["bugsnag", "bugsnag", "API_KEY", false, "data", "Bugsnag"], ["circleci", "circleci", "API_KEY", false, "data", "CircleCI"], ["buildkite", "buildkite", "API_KEY", false, "data", "Buildkite"], ["dockerhub", "docker_hub", "API_KEY", false, "data", "Docker Hub"], ["digitalocean", "digital_ocean", "OAUTH2", true, "data", "DigitalOcean"], ["railway", "railway", "API_KEY", false, "data", "Railway"], ["render", "render", "API_KEY", false, "data", "Render"], ["firebase", "firebase", "API_KEY", false, "data", "Firebase"], ["cloudinary", "cloudinary", "API_KEY", false, "data", "Cloudinary"], ["configcat", "configcat", "API_KEY", false, "data", "ConfigCat"], ["contextdev", "context_dev", "API_KEY", false, "data", "Context.dev"], ["googleanalytics", "google_analytics", "OAUTH2", true, "data", "Google Analytics"], ["googlebigquery", "googlebigquery", "OAUTH2", true, "data", "Google BigQuery"], ["amplitude", "amplitude", "API_KEY", false, "data", "Amplitude"], ["mixpanel", "mixpanel", "BASIC", false, "data", "Mixpanel"], ["segment", "segment", "API_KEY", false, "data", "Segment"], ["supermemory", "supermemory", "API_KEY", false, "data", "Supermemory"], ["databricks", "databricks", "API_KEY", false, "data", "Databricks"], ["snowflake", "snowflake", "OAUTH2", false, "data", "Snowflake"], ["algolia", "algolia", "API_KEY", false, "data", "Algolia"], ["elasticsearch", "elasticsearch", "API_KEY", false, "data", "Elasticsearch"], ["salesforce", "salesforce", "OAUTH2", true, "business", "Salesforce"], ["pipedrive", "pipedrive", "API_KEY", false, "business", "Pipedrive"], ["close", "close", "API_KEY", false, "business", "Close"], ["apollo", "apollo", "API_KEY", false, "business", "Apollo"], ["gong", "gong", "OAUTH2", true, "business", "Gong"], ["freshdesk", "freshdesk", "API_KEY", false, "business", "Freshdesk"], ["helpscout", "help_scout", "OAUTH2", false, "business", "Help Scout"], ["servicenow", "servicenow", "BASIC", false, "business", "ServiceNow"], ["mailchimp", "mailchimp", "OAUTH2", true, "business", "Mailchimp"], ["customerio", "customerio", "API_KEY", false, "business", "Customer.io"], ["klaviyo", "klaviyo", "API_KEY", false, "business", "Klaviyo"], ["shopify", "shopify", "API_KEY", false, "business", "Shopify"], ["quickbooks", "quickbooks", "OAUTH2", true, "business", "QuickBooks"], ["xero", "xero", "OAUTH2", false, "business", "Xero"], ["brex", "brex", "API_KEY", false, "business", "Brex"], ["buffer", "buffer", "OAUTH2", false, "business", "Buffer"], ["canva", "canva", "OAUTH2", true, "productivity", "Canva"], ["webflow", "webflow", "API_KEY", false, "business", "Webflow"], ["firecrawl", "firecrawl", "API_KEY", false, "data", "Firecrawl"], ["browserbase", "browserbase_tool", "API_KEY", false, "data", "Browserbase"], ["exa", "exa", "API_KEY", false, "data", "Exa"], ["youtube", "youtube", "OAUTH2", true, "business", "YouTube"], ["twitter", "twitter", "OAUTH2", false, "business", "Twitter/X"], ["instagram", "instagram", "OAUTH2", true, "business", "Instagram"], ["facebook", "facebook", "OAUTH2", true, "business", "Facebook"]];
4
+ declare const HOSTED_COMPOSIO_PLUGIN_DEFINITIONS: readonly [["notion", "notion", "OAUTH2", true, "productivity", "Notion"], ["jira", "jira", "OAUTH2", true, "productivity", "Jira"], ["confluence", "confluence", "OAUTH2", true, "productivity", "Confluence"], ["googlecalendar", "googlecalendar", "OAUTH2", true, "productivity", "Google Calendar"], ["microsoftteams", "microsoft_teams", "OAUTH2", true, "productivity", "Microsoft Teams"], ["outlook", "outlook", "OAUTH2", true, "productivity", "Outlook"], ["bitbucket", "bitbucket", "OAUTH2", true, "data", "Bitbucket"], ["datadog", "datadog", "API_KEY", false, "data", "Datadog"], ["pagerduty", "pagerduty", "OAUTH2", true, "data", "PagerDuty"], ["intercom", "intercom", "OAUTH2", true, "business", "Intercom"], ["zendesk", "zendesk", "OAUTH2", true, "business", "Zendesk"], ["hubspot", "hubspot", "OAUTH2", true, "business", "HubSpot"], ["supabase", "supabase", "OAUTH2", true, "data", "Supabase"], ["figma", "figma", "OAUTH2", true, "productivity", "Figma"], ["launchdarkly", "launch_darkly", "API_KEY", false, "data", "LaunchDarkly"], ["asana", "asana", "OAUTH2", true, "productivity", "Asana"], ["clickup", "clickup", "OAUTH2", true, "productivity", "ClickUp"], ["trello", "trello", "OAUTH1", true, "productivity", "Trello"], ["todoist", "todoist", "OAUTH2", true, "productivity", "Todoist"], ["airtable", "airtable", "OAUTH2", true, "productivity", "Airtable"], ["coda", "coda", "API_KEY", false, "productivity", "Coda"], ["miro", "miro", "OAUTH2", true, "productivity", "Miro"], ["sharepoint", "share_point", "OAUTH2", true, "productivity", "SharePoint"], ["onedrive", "one_drive", "OAUTH2", true, "productivity", "OneDrive"], ["googleslides", "googleslides", "OAUTH2", true, "productivity", "Google Slides"], ["googlemeet", "googlemeet", "OAUTH2", true, "productivity", "Google Meet"], ["circleback", "circleback_mcp", "DCR_OAUTH", false, "productivity", "Circleback"], ["fireflies", "fireflies", "API_KEY", false, "productivity", "Fireflies"], ["granola", "granola_mcp", "DCR_OAUTH", false, "productivity", "Granola"], ["mercury", "mercury_mcp", "DCR_OAUTH", false, "business", "Mercury"], ["googletasks", "googletasks", "OAUTH2", true, "productivity", "Google Tasks"], ["dropbox", "dropbox", "OAUTH2", true, "productivity", "Dropbox"], ["box", "box", "OAUTH2", true, "productivity", "Box"], ["discord", "discord", "OAUTH2", true, "productivity", "Discord"], ["discordbot", "discordbot", "OAUTH2", true, "productivity", "Discord Bot"], ["zoom", "zoom", "OAUTH2", true, "productivity", "Zoom"], ["googlechat", "google_chat", "OAUTH2", false, "productivity", "Google Chat"], ["newrelic", "new_relic", "API_KEY", false, "data", "New Relic"], ["betterstack", "better_stack", "API_KEY", false, "data", "Better Stack"], ["incidentio", "incident_io", "API_KEY", false, "data", "incident.io"], ["grafana", "grafana", "BEARER_TOKEN", false, "data", "Grafana"], ["honeycomb", "honeycomb_mcp", "DCR_OAUTH", false, "data", "Honeycomb MCP"], ["neon", "neon_mcp", "DCR_OAUTH", false, "data", "Neon"], ["glen", "glen_mcp", "DCR_OAUTH", false, "data", "Glen"], ["bugsnag", "bugsnag", "API_KEY", false, "data", "Bugsnag"], ["circleci", "circleci", "API_KEY", false, "data", "CircleCI"], ["buildkite", "buildkite", "API_KEY", false, "data", "Buildkite"], ["dockerhub", "docker_hub", "API_KEY", false, "data", "Docker Hub"], ["digitalocean", "digital_ocean", "OAUTH2", true, "data", "DigitalOcean"], ["railway", "railway", "API_KEY", false, "data", "Railway"], ["render", "render", "API_KEY", false, "data", "Render"], ["firebase", "firebase", "API_KEY", false, "data", "Firebase"], ["cloudinary", "cloudinary", "API_KEY", false, "data", "Cloudinary"], ["configcat", "configcat", "API_KEY", false, "data", "ConfigCat"], ["contextdev", "context_dev", "API_KEY", false, "data", "Context.dev"], ["googleanalytics", "google_analytics", "OAUTH2", true, "data", "Google Analytics"], ["googlebigquery", "googlebigquery", "OAUTH2", true, "data", "Google BigQuery"], ["amplitude", "amplitude", "API_KEY", false, "data", "Amplitude"], ["mixpanel", "mixpanel", "BASIC", false, "data", "Mixpanel"], ["segment", "segment", "API_KEY", false, "data", "Segment"], ["supermemory", "supermemory", "API_KEY", false, "data", "Supermemory"], ["databricks", "databricks", "API_KEY", false, "data", "Databricks"], ["snowflake", "snowflake", "OAUTH2", false, "data", "Snowflake"], ["algolia", "algolia", "API_KEY", false, "data", "Algolia"], ["elasticsearch", "elasticsearch", "API_KEY", false, "data", "Elasticsearch"], ["salesforce", "salesforce", "OAUTH2", true, "business", "Salesforce"], ["pipedrive", "pipedrive", "API_KEY", false, "business", "Pipedrive"], ["close", "close", "API_KEY", false, "business", "Close"], ["apollo", "apollo", "API_KEY", false, "business", "Apollo"], ["gong", "gong", "OAUTH2", true, "business", "Gong"], ["freshdesk", "freshdesk", "API_KEY", false, "business", "Freshdesk"], ["helpscout", "help_scout", "OAUTH2", false, "business", "Help Scout"], ["servicenow", "servicenow", "BASIC", false, "business", "ServiceNow"], ["mailchimp", "mailchimp", "OAUTH2", true, "business", "Mailchimp"], ["customerio", "customerio", "API_KEY", false, "business", "Customer.io"], ["klaviyo", "klaviyo", "API_KEY", false, "business", "Klaviyo"], ["shopify", "shopify", "API_KEY", false, "business", "Shopify"], ["quickbooks", "quickbooks", "OAUTH2", true, "business", "QuickBooks"], ["xero", "xero", "OAUTH2", false, "business", "Xero"], ["brex", "brex", "API_KEY", false, "business", "Brex"], ["buffer", "buffer", "OAUTH2", false, "business", "Buffer"], ["canva", "canva", "OAUTH2", true, "productivity", "Canva"], ["webflow", "webflow", "API_KEY", false, "business", "Webflow"], ["firecrawl", "firecrawl", "API_KEY", false, "data", "Firecrawl"], ["browserbase", "browserbase_tool", "API_KEY", false, "data", "Browserbase"], ["exa", "exa", "API_KEY", false, "data", "Exa"], ["youtube", "youtube", "OAUTH2", true, "business", "YouTube"], ["twitter", "twitter", "OAUTH2", false, "business", "Twitter/X"], ["instagram", "instagram", "OAUTH2", true, "business", "Instagram"], ["facebook", "facebook", "OAUTH2", true, "business", "Facebook"]];
5
5
  export declare const PLUGIN_CATALOG: ({
6
6
  readOnlyScopes: readonly string[] | undefined;
7
7
  id: "attio";