replicas-engine 0.1.1474 → 0.1.1476

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.
@@ -4,7 +4,7 @@ const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  SUBPROCESS_MAX_BUFFER,
6
6
  execFileAsync
7
- } from "./chunk-TM225THB.js";
7
+ } from "./chunk-52KYESTT.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-XXET6BAY.js";
24
+ } from "./chunk-TFMR22CJ.js";
25
25
 
26
26
  // src/runtime-env-loader.ts
27
27
  import { readFileSync } from "fs";
@@ -5,7 +5,7 @@ import {
5
5
  extractCommandProtectionCommandText,
6
6
  isRecord,
7
7
  parseCodeHostPrUrl
8
- } from "./chunk-XXET6BAY.js";
8
+ } from "./chunk-TFMR22CJ.js";
9
9
 
10
10
  // src/services/published-pull-request-urls.ts
11
11
  function publishedPullRequestUrls(result) {
@@ -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-KY7AA7NJ.js";
7
- import "./chunk-DGKAJKVP.js";
8
- import "./chunk-TM225THB.js";
6
+ } from "./chunk-QNET2OSR.js";
7
+ import "./chunk-WNWHZFW7.js";
8
+ import "./chunk-52KYESTT.js";
9
9
  import {
10
10
  isRecord
11
11
  } from "./chunk-UZSNFLDQ.js";
12
- import "./chunk-XXET6BAY.js";
12
+ import "./chunk-TFMR22CJ.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-QASHZ22U.js";
17
+ } from "./chunk-F7T4AMIU.js";
18
18
  import {
19
19
  AppServerProcess,
20
20
  buildCodexAgentEnv
21
- } from "./chunk-GZZW6TAF.js";
22
- import "./chunk-TM225THB.js";
21
+ } from "./chunk-OOT2QJJY.js";
22
+ import "./chunk-52KYESTT.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-XXET6BAY.js";
32
+ } from "./chunk-TFMR22CJ.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-KY7AA7NJ.js";
30
+ } from "./chunk-QNET2OSR.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-QASHZ22U.js";
68
+ } from "./chunk-F7T4AMIU.js";
69
69
  import {
70
70
  publishedPullRequestUrls
71
- } from "./chunk-USERDXZV.js";
71
+ } from "./chunk-ZSQYVTJM.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-J3L7XM72.js";
146
+ } from "./chunk-BANFDG4S.js";
147
147
  import {
148
148
  ENGINE_ENV,
149
149
  UNQUOTED_PATHS_CONFIG,
@@ -154,15 +154,15 @@ import {
154
154
  resolveDiffBase,
155
155
  setAgentCredentialSnapshot,
156
156
  setLinearSessionId
157
- } from "./chunk-DGKAJKVP.js";
157
+ } from "./chunk-WNWHZFW7.js";
158
158
  import {
159
159
  getCodexModelProvider
160
- } from "./chunk-GZZW6TAF.js";
160
+ } from "./chunk-OOT2QJJY.js";
161
161
  import {
162
162
  SUBPROCESS_MAX_BUFFER,
163
163
  execAsync,
164
164
  execFileAsync
165
- } from "./chunk-TM225THB.js";
165
+ } from "./chunk-52KYESTT.js";
166
166
  import {
167
167
  isRecord as isRecord2
168
168
  } from "./chunk-UZSNFLDQ.js";
@@ -439,7 +439,7 @@ import {
439
439
  workspaceTokenRequestSchema,
440
440
  workspaceTokenResponseSchema,
441
441
  wrapInTag
442
- } from "./chunk-XXET6BAY.js";
442
+ } from "./chunk-TFMR22CJ.js";
443
443
  import {
444
444
  cloneMcpConfig,
445
445
  ensureCompatibilityImports,
@@ -14425,7 +14425,7 @@ var ClaudeManager = class _ClaudeManager extends CodingAgentManager {
14425
14425
  async buildSharedQueryOptions() {
14426
14426
  const env = buildClaudeAgentEnv({
14427
14427
  // Claude Code nudges a turn that ends without text to write some, unless it called one of these tools; a Mothership handles ship events and board answers with only these.
14428
- CLAUDE_CODE_TERMINAL_MCP_TOOLS: [REPLICAS_MCP_TOOLS.updateBoard, REPLICAS_MCP_TOOLS.spawnSubagent, REPLICAS_MCP_TOOLS.messageSubagent].map((tool) => `mcp__${REPLICAS_MCP_SERVER_NAME}__${tool}`).join(","),
14428
+ CLAUDE_CODE_TERMINAL_MCP_TOOLS: [REPLICAS_MCP_TOOLS.updateBoard, REPLICAS_MCP_TOOLS.sendToChat, REPLICAS_MCP_TOOLS.spawnSubagent, REPLICAS_MCP_TOOLS.messageSubagent].map((tool) => `mcp__${REPLICAS_MCP_SERVER_NAME}__${tool}`).join(","),
14429
14429
  ...this.subagentMcpParentChatId() && { CLAUDE_CODE_STREAM_CLOSE_TIMEOUT: "900000" },
14430
14430
  ...this.originChatId && { REPLICAS_CHAT_ID: this.originChatId }
14431
14431
  });
@@ -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-USERDXZV.js";
6
+ } from "./chunk-ZSQYVTJM.js";
7
7
  import {
8
8
  isRecord
9
9
  } from "./chunk-UZSNFLDQ.js";
10
10
  import {
11
11
  shouldRefreshPullRequests
12
- } from "./chunk-XXET6BAY.js";
12
+ } from "./chunk-TFMR22CJ.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-XXET6BAY.js";
14
+ } from "./chunk-TFMR22CJ.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.1474",
3
+ "version": "0.1.1476",
4
4
  "description": "Lightweight API server for Replicas workspaces",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",