replicas-engine 0.1.1127 → 0.1.1130
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.
- package/dist/src/{asp-host-USYCOCRU.js → asp-host-UR4UESES.js} +5 -5
- package/dist/src/{chunk-HM4C7GVP.js → chunk-362PL33N.js} +1 -1
- package/dist/src/{chunk-YEANCHJ4.js → chunk-4PWJ2NCD.js} +6 -6
- package/dist/src/{chunk-MJVGI3EH.js → chunk-DI3X5PS4.js} +1 -1
- package/dist/src/{chunk-FVIVI2RG.js → chunk-GPREFPDZ.js} +2 -2
- package/dist/src/{chunk-3JJKZDV6.js → chunk-QJ5TZO6X.js} +3 -3
- package/dist/src/{chunk-3U5TSXZA.js → chunk-WW2KM3SN.js} +2 -2
- package/dist/src/{chunk-MZGHDOAB.js → chunk-YA7ID5UU.js} +5 -0
- package/dist/src/{chunk-Z73B5U2G.js → chunk-ZQGWEKVP.js} +5 -3
- package/dist/src/command-protection-hook.js +4 -4
- package/dist/src/headless-agent.js +4 -4
- package/dist/src/index.js +74 -54
- package/dist/src/post-tool-pr-hook.js +2 -2
- package/dist/src/subagent-mcp.js +1 -1
- package/package.json +1 -1
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
listRunningCodexModels,
|
|
9
9
|
restartCodexAspHost,
|
|
10
10
|
restartCodexAspHostIfRunning
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-4PWJ2NCD.js";
|
|
12
|
+
import "./chunk-ZQGWEKVP.js";
|
|
13
|
+
import "./chunk-QJ5TZO6X.js";
|
|
14
|
+
import "./chunk-DI3X5PS4.js";
|
|
15
15
|
import "./chunk-UZSNFLDQ.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-YA7ID5UU.js";
|
|
17
17
|
import "./chunk-VEQXQN22.js";
|
|
18
18
|
export {
|
|
19
19
|
CODEX_ULTRAFAST_SERVICE_TIER,
|
|
@@ -10,15 +10,15 @@ import {
|
|
|
10
10
|
resolveDiffBase,
|
|
11
11
|
runGitCommand,
|
|
12
12
|
setAgentCredentialSnapshot
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ZQGWEKVP.js";
|
|
14
14
|
import {
|
|
15
15
|
AppServerProcess,
|
|
16
16
|
buildCodexAgentEnv
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-QJ5TZO6X.js";
|
|
18
18
|
import {
|
|
19
19
|
SUBPROCESS_MAX_BUFFER,
|
|
20
20
|
execFileAsync
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-DI3X5PS4.js";
|
|
22
22
|
import {
|
|
23
23
|
isRecord
|
|
24
24
|
} from "./chunk-UZSNFLDQ.js";
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
resolveOpenAICompatibleModelsUrl,
|
|
56
56
|
splitMothershipInstructions,
|
|
57
57
|
withTimeout
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-YA7ID5UU.js";
|
|
59
59
|
|
|
60
60
|
// src/managers/codex-token-manager.ts
|
|
61
61
|
import { promises as fs } from "fs";
|
|
@@ -291,7 +291,7 @@ var CodexTokenManager = class extends BaseRefreshManager {
|
|
|
291
291
|
await this.applyCredentialUpdate(++this.credentialGeneration, async () => {
|
|
292
292
|
await this.applyCredentialsResponse(data);
|
|
293
293
|
setAgentCredentialSnapshot("codex", data);
|
|
294
|
-
const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-
|
|
294
|
+
const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-UR4UESES.js");
|
|
295
295
|
await restartCodexAspHostIfRunning2();
|
|
296
296
|
});
|
|
297
297
|
await this.start(true);
|
|
@@ -312,7 +312,7 @@ var CodexTokenManager = class extends BaseRefreshManager {
|
|
|
312
312
|
const accountChanged = ENGINE_ENV.REPLICAS_AGENT_CREDENTIALS.codex?.credentialId !== data.credentialId;
|
|
313
313
|
await this.applyCredentialsResponse(data);
|
|
314
314
|
if (restartOnChange && (accountChanged || CODEX_AUTH_ENV_KEYS.some((key, index) => process.env[key] !== previousEnv[index]))) {
|
|
315
|
-
const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-
|
|
315
|
+
const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-UR4UESES.js");
|
|
316
316
|
await restartCodexAspHostIfRunning2();
|
|
317
317
|
}
|
|
318
318
|
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-
|
|
6
|
+
} from "./chunk-YA7ID5UU.js";
|
|
7
7
|
|
|
8
8
|
// src/utils/exec.ts
|
|
9
9
|
import { exec, execFile } from "child_process";
|
|
@@ -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-
|
|
6
|
+
} from "./chunk-QJ5TZO6X.js";
|
|
7
7
|
import {
|
|
8
8
|
ASTER_BASE_URL,
|
|
9
9
|
ASTER_PROVIDER,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
codexReasoningEffortForThinkingLevel,
|
|
12
12
|
isRecord,
|
|
13
13
|
readOllamaAuthEnv
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-YA7ID5UU.js";
|
|
15
15
|
|
|
16
16
|
// src/managers/codex-asp/notification-dispatch.ts
|
|
17
17
|
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-
|
|
6
|
+
} from "./chunk-DI3X5PS4.js";
|
|
7
7
|
import {
|
|
8
8
|
isVersionBelow
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YA7ID5UU.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.
|
|
243
|
+
var ENGINE_PACKAGE_VERSION = "0.1.1130";
|
|
244
244
|
var INITIALIZE_METHOD = "initialize";
|
|
245
245
|
var INITIALIZED_NOTIFICATION = "initialized";
|
|
246
246
|
var ACCOUNT_LOGIN_START_METHOD = "account/login/start";
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
getOriginDefaultBranch,
|
|
6
6
|
monolithRequest,
|
|
7
7
|
runGitCommand
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ZQGWEKVP.js";
|
|
9
9
|
import {
|
|
10
10
|
extractCommandProtectionCommandText,
|
|
11
11
|
findCommandProtectionGitLookups,
|
|
12
12
|
findGitCommitSignals,
|
|
13
13
|
findPrMergeSignals,
|
|
14
14
|
parseCommandProtectionRequest
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YA7ID5UU.js";
|
|
16
16
|
|
|
17
17
|
// src/services/command-protection-service.ts
|
|
18
18
|
import { readFile, stat } from "fs/promises";
|
|
@@ -9369,6 +9369,10 @@ function scoreRepoFileMatch(query, filePath) {
|
|
|
9369
9369
|
var WEBHOOK_PROVIDERS = ["linear", "github", "gitlab", "slack", "e2b", "stripe", "sentry"];
|
|
9370
9370
|
var WEBHOOK_PROVIDER_SET = new Set(WEBHOOK_PROVIDERS);
|
|
9371
9371
|
|
|
9372
|
+
// ../shared/src/routes/environment-hook-runs.ts
|
|
9373
|
+
var ENVIRONMENT_HOOK_RUN_LOG_LIMIT = 5 * 1024 * 1024;
|
|
9374
|
+
var ENVIRONMENT_HOOK_RUN_TAIL_LIMIT = 8 * 1024;
|
|
9375
|
+
|
|
9372
9376
|
// ../shared/src/onboarding-emails.ts
|
|
9373
9377
|
var EMAIL_KEYS = [
|
|
9374
9378
|
"welcome",
|
|
@@ -9842,6 +9846,7 @@ export {
|
|
|
9842
9846
|
MAX_REPO_FILE_CONTENT_BYTES,
|
|
9843
9847
|
searchRepoFileIndex,
|
|
9844
9848
|
isExcludedRepoFilePath,
|
|
9849
|
+
ENVIRONMENT_HOOK_RUN_LOG_LIMIT,
|
|
9845
9850
|
readJsonlPage,
|
|
9846
9851
|
readJsonlAppended,
|
|
9847
9852
|
normalizeChatTranscriptMetadata,
|
|
@@ -4,7 +4,7 @@ const require = __createRequire(import.meta.url);
|
|
|
4
4
|
import {
|
|
5
5
|
SUBPROCESS_MAX_BUFFER,
|
|
6
6
|
execFileAsync
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DI3X5PS4.js";
|
|
8
8
|
import {
|
|
9
9
|
isRecord as isRecord2
|
|
10
10
|
} from "./chunk-UZSNFLDQ.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
isValidAgentProvider,
|
|
19
19
|
parsePosixEnvFile,
|
|
20
20
|
readReplicasRuntimeEnv
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-YA7ID5UU.js";
|
|
22
22
|
|
|
23
23
|
// src/runtime-env-loader.ts
|
|
24
24
|
import { readFileSync } from "fs";
|
|
@@ -315,7 +315,7 @@ var MonolithService = class {
|
|
|
315
315
|
}
|
|
316
316
|
async sendEvent(event, signal) {
|
|
317
317
|
if (!ENGINE_ENV.REPLICAS_WORKSPACE_ID) {
|
|
318
|
-
return;
|
|
318
|
+
return true;
|
|
319
319
|
}
|
|
320
320
|
try {
|
|
321
321
|
const response = await monolithRequest("/v1/engine/webhook", { body: event, signal });
|
|
@@ -323,8 +323,10 @@ var MonolithService = class {
|
|
|
323
323
|
const errorText = await response.text();
|
|
324
324
|
console.error(`[MonolithService] Failed to send event: ${response.status} ${errorText}`);
|
|
325
325
|
}
|
|
326
|
+
return response.ok;
|
|
326
327
|
} catch (error) {
|
|
327
328
|
console.error("[MonolithService] Failed to send event:", error);
|
|
329
|
+
return false;
|
|
328
330
|
}
|
|
329
331
|
}
|
|
330
332
|
};
|
|
@@ -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-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-WW2KM3SN.js";
|
|
7
|
+
import "./chunk-ZQGWEKVP.js";
|
|
8
|
+
import "./chunk-DI3X5PS4.js";
|
|
9
9
|
import {
|
|
10
10
|
isRecord
|
|
11
11
|
} from "./chunk-UZSNFLDQ.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-YA7ID5UU.js";
|
|
13
13
|
import "./chunk-VEQXQN22.js";
|
|
14
14
|
|
|
15
15
|
// src/command-protection-hook.ts
|
|
@@ -13,12 +13,12 @@ import {
|
|
|
13
13
|
recoverCompletedTurn,
|
|
14
14
|
spawnMuseMsp,
|
|
15
15
|
startMuseSession
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-GPREFPDZ.js";
|
|
17
17
|
import {
|
|
18
18
|
AppServerProcess,
|
|
19
19
|
buildCodexAgentEnv
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-QJ5TZO6X.js";
|
|
21
|
+
import "./chunk-DI3X5PS4.js";
|
|
22
22
|
import {
|
|
23
23
|
AGENT,
|
|
24
24
|
OPENCODE_GO_PROVIDER,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
headlessAgentUsagePath,
|
|
29
29
|
isRecord,
|
|
30
30
|
withTimeout
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-YA7ID5UU.js";
|
|
32
32
|
import "./chunk-VEQXQN22.js";
|
|
33
33
|
|
|
34
34
|
// 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-
|
|
30
|
+
} from "./chunk-WW2KM3SN.js";
|
|
31
31
|
import {
|
|
32
32
|
ACCOUNT_RATE_LIMITS_UPDATED_METHOD,
|
|
33
33
|
AGENT_MESSAGE_DELTA_METHOD,
|
|
@@ -64,10 +64,10 @@ import {
|
|
|
64
64
|
spawnMuseMsp,
|
|
65
65
|
startMuseSession,
|
|
66
66
|
uuidV7
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-GPREFPDZ.js";
|
|
68
68
|
import {
|
|
69
69
|
publishedPullRequestUrls
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-362PL33N.js";
|
|
71
71
|
import {
|
|
72
72
|
ACCOUNT_RATE_LIMITS_READ_METHOD,
|
|
73
73
|
AsyncLock,
|
|
@@ -130,7 +130,7 @@ import {
|
|
|
130
130
|
timestampFromSeconds,
|
|
131
131
|
upsertCredentialFileLines,
|
|
132
132
|
writeSecureCredentialFile
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-4PWJ2NCD.js";
|
|
134
134
|
import {
|
|
135
135
|
ENGINE_ENV,
|
|
136
136
|
monolithRequest,
|
|
@@ -139,15 +139,15 @@ import {
|
|
|
139
139
|
reloadEngineEnv,
|
|
140
140
|
resolveDiffBase,
|
|
141
141
|
setAgentCredentialSnapshot
|
|
142
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-ZQGWEKVP.js";
|
|
143
143
|
import {
|
|
144
144
|
getCodexModelProvider
|
|
145
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-QJ5TZO6X.js";
|
|
146
146
|
import {
|
|
147
147
|
SUBPROCESS_MAX_BUFFER,
|
|
148
148
|
execAsync,
|
|
149
149
|
execFileAsync
|
|
150
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-DI3X5PS4.js";
|
|
151
151
|
import {
|
|
152
152
|
isRecord as isRecord2
|
|
153
153
|
} from "./chunk-UZSNFLDQ.js";
|
|
@@ -199,6 +199,7 @@ import {
|
|
|
199
199
|
ENGINE_HEALTH_WAIT_QUERY_PARAM,
|
|
200
200
|
ENGINE_SEND_MESSAGE_FAILED_ERROR,
|
|
201
201
|
ENGINE_SLEEP_PATH,
|
|
202
|
+
ENVIRONMENT_HOOK_RUN_LOG_LIMIT,
|
|
202
203
|
GITHUB_CREDENTIAL_REFRESH_PATH,
|
|
203
204
|
GITLAB_CREDENTIAL_REFRESH_PATH,
|
|
204
205
|
HISTORY_INDEX_FILENAME,
|
|
@@ -373,7 +374,7 @@ import {
|
|
|
373
374
|
workspaceTokenRequestSchema,
|
|
374
375
|
workspaceTokenResponseSchema,
|
|
375
376
|
wrapInTag
|
|
376
|
-
} from "./chunk-
|
|
377
|
+
} from "./chunk-YA7ID5UU.js";
|
|
377
378
|
import {
|
|
378
379
|
cloneMcpConfig,
|
|
379
380
|
ensureCompatibilityImports,
|
|
@@ -8614,7 +8615,7 @@ var require_dist2 = __commonJS({
|
|
|
8614
8615
|
// src/index.ts
|
|
8615
8616
|
import { serve } from "@hono/node-server";
|
|
8616
8617
|
import { Hono as Hono2 } from "hono";
|
|
8617
|
-
import { randomUUID as
|
|
8618
|
+
import { randomUUID as randomUUID12 } from "crypto";
|
|
8618
8619
|
import { connect } from "net";
|
|
8619
8620
|
import { WebSocketServer } from "ws";
|
|
8620
8621
|
|
|
@@ -9441,6 +9442,8 @@ import { existsSync as existsSync3 } from "fs";
|
|
|
9441
9442
|
import { join as join5 } from "path";
|
|
9442
9443
|
import { homedir as homedir5 } from "os";
|
|
9443
9444
|
import { spawn } from "child_process";
|
|
9445
|
+
import { randomUUID } from "crypto";
|
|
9446
|
+
import { setTimeout as delay } from "timers/promises";
|
|
9444
9447
|
|
|
9445
9448
|
// src/services/environment-details-service.ts
|
|
9446
9449
|
import { mkdir as mkdir2, readFile as readFile2 } from "fs/promises";
|
|
@@ -9827,6 +9830,8 @@ var StartHookLogsService = class {
|
|
|
9827
9830
|
var startHookLogsService = new StartHookLogsService();
|
|
9828
9831
|
|
|
9829
9832
|
// src/services/replicas-config-service.ts
|
|
9833
|
+
var START_HOOK_REPORT_ATTEMPTS = 6;
|
|
9834
|
+
var START_HOOK_REPORT_RETRY_MS = 2e3;
|
|
9830
9835
|
var START_HOOKS_LOG = join5(homedir5(), ".replicas", "startHooks.log");
|
|
9831
9836
|
var START_HOOKS_RUNNING_PROMPT = `IMPORTANT - Start Hooks Running:
|
|
9832
9837
|
Start hooks are shell commands/scripts set by repository owners that run on workspace startup.
|
|
@@ -9866,11 +9871,25 @@ var ReplicasConfigService = class {
|
|
|
9866
9871
|
this.hooksFailed = false;
|
|
9867
9872
|
return;
|
|
9868
9873
|
}
|
|
9869
|
-
|
|
9874
|
+
const runId = randomUUID();
|
|
9875
|
+
const report = async (payload, attempts = 1) => {
|
|
9876
|
+
for (let attempt = 1; attempt <= attempts; attempt += 1) {
|
|
9877
|
+
if (await monolithService.sendEvent({ type: "start_hooks", payload: { runId, ...payload } })) return;
|
|
9878
|
+
if (attempt < attempts) await delay(START_HOOK_REPORT_RETRY_MS * 2 ** (attempt - 1));
|
|
9879
|
+
}
|
|
9880
|
+
};
|
|
9881
|
+
void this.executeStartHooks({ onStart: () => void report({ status: "running" }) }).then((result) => report({
|
|
9882
|
+
status: result.exitCode === 0 && !result.timedOut ? "succeeded" : "failed",
|
|
9883
|
+
exitCode: result.exitCode,
|
|
9884
|
+
timedOut: result.timedOut,
|
|
9885
|
+
output: result.output.slice(-ENVIRONMENT_HOOK_RUN_LOG_LIMIT),
|
|
9886
|
+
outputChars: result.output.length
|
|
9887
|
+
}, START_HOOK_REPORT_ATTEMPTS), (error) => {
|
|
9870
9888
|
const errorMessage = error instanceof Error ? error.message : String(error);
|
|
9871
9889
|
this.hooksFailed = true;
|
|
9872
9890
|
this.hooksRunning = false;
|
|
9873
9891
|
console.error("[ReplicasConfig] Start hooks execution failed:", errorMessage);
|
|
9892
|
+
return report({ status: "failed", exitCode: 1, output: errorMessage }, START_HOOK_REPORT_ATTEMPTS);
|
|
9874
9893
|
});
|
|
9875
9894
|
}
|
|
9876
9895
|
/** Otherwise a rerun starts a second copy of every server the owner's previous run left running. */
|
|
@@ -10064,6 +10083,7 @@ var ReplicasConfigService = class {
|
|
|
10064
10083
|
this.hooksRunning = true;
|
|
10065
10084
|
this.hooksCompleted = false;
|
|
10066
10085
|
this.hooksFailed = false;
|
|
10086
|
+
params.onStart?.();
|
|
10067
10087
|
try {
|
|
10068
10088
|
await mkdir4(join5(homedir5(), ".replicas"), { recursive: true });
|
|
10069
10089
|
await writeFile3(
|
|
@@ -10263,7 +10283,7 @@ var replicasConfigService = new ReplicasConfigService();
|
|
|
10263
10283
|
import { mkdir as mkdir5 } from "fs/promises";
|
|
10264
10284
|
import { homedir as homedir6 } from "os";
|
|
10265
10285
|
import { join as join6 } from "path";
|
|
10266
|
-
import { randomUUID } from "crypto";
|
|
10286
|
+
import { randomUUID as randomUUID2 } from "crypto";
|
|
10267
10287
|
var ENGINE_DIR = join6(homedir6(), ".replicas", "engine");
|
|
10268
10288
|
var EVENTS_FILE = join6(ENGINE_DIR, "events.jsonl");
|
|
10269
10289
|
var EventService = class {
|
|
@@ -10274,7 +10294,7 @@ var EventService = class {
|
|
|
10274
10294
|
this.writer.open(EVENTS_FILE);
|
|
10275
10295
|
}
|
|
10276
10296
|
subscribe(subscriber) {
|
|
10277
|
-
const id =
|
|
10297
|
+
const id = randomUUID2();
|
|
10278
10298
|
this.subscribers.set(id, subscriber);
|
|
10279
10299
|
return () => {
|
|
10280
10300
|
this.subscribers.delete(id);
|
|
@@ -10298,7 +10318,7 @@ var eventService = new EventService();
|
|
|
10298
10318
|
// src/services/preview-service.ts
|
|
10299
10319
|
import { mkdir as mkdir6, readFile as readFile5 } from "fs/promises";
|
|
10300
10320
|
import { existsSync as existsSync4 } from "fs";
|
|
10301
|
-
import { randomUUID as
|
|
10321
|
+
import { randomUUID as randomUUID3 } from "crypto";
|
|
10302
10322
|
import { homedir as homedir7 } from "os";
|
|
10303
10323
|
import { dirname, join as join7 } from "path";
|
|
10304
10324
|
var PREVIEW_PORTS_FILE = join7(homedir7(), ".replicas", "preview-ports.json");
|
|
@@ -10337,7 +10357,7 @@ var PreviewService = class {
|
|
|
10337
10357
|
data.previews.push(preview);
|
|
10338
10358
|
await writePreviewsFile(data);
|
|
10339
10359
|
eventService.publish({
|
|
10340
|
-
id:
|
|
10360
|
+
id: randomUUID3(),
|
|
10341
10361
|
ts: (/* @__PURE__ */ new Date()).toISOString(),
|
|
10342
10362
|
type: "preview.changed",
|
|
10343
10363
|
payload: { previews: data.previews }
|
|
@@ -10357,7 +10377,7 @@ var PreviewService = class {
|
|
|
10357
10377
|
}
|
|
10358
10378
|
await writePreviewsFile(data);
|
|
10359
10379
|
eventService.publish({
|
|
10360
|
-
id:
|
|
10380
|
+
id: randomUUID3(),
|
|
10361
10381
|
ts: (/* @__PURE__ */ new Date()).toISOString(),
|
|
10362
10382
|
type: "preview.changed",
|
|
10363
10383
|
payload: { previews: data.previews }
|
|
@@ -10417,7 +10437,7 @@ async function registerDesktopPreview(signal) {
|
|
|
10417
10437
|
// src/services/chat/chat-service.ts
|
|
10418
10438
|
import { appendFile as appendFile5, copyFile as copyFile2, mkdir as mkdir17, readFile as readFile16, rename as rename3, rm as rm4, stat as stat6 } from "fs/promises";
|
|
10419
10439
|
import { join as join29 } from "path";
|
|
10420
|
-
import { randomUUID as
|
|
10440
|
+
import { randomUUID as randomUUID10 } from "crypto";
|
|
10421
10441
|
|
|
10422
10442
|
// ../shared/src/workspace-chat.ts
|
|
10423
10443
|
var WORKSPACE_CHATS_QUERY_SCHEMA_VERSION = 12;
|
|
@@ -10595,7 +10615,7 @@ function insertChronologically(existing, additions) {
|
|
|
10595
10615
|
import {
|
|
10596
10616
|
query
|
|
10597
10617
|
} from "@anthropic-ai/claude-agent-sdk";
|
|
10598
|
-
import { randomUUID as
|
|
10618
|
+
import { randomUUID as randomUUID4 } from "crypto";
|
|
10599
10619
|
import { dirname as dirname3, join as join10 } from "path";
|
|
10600
10620
|
import { mkdir as mkdir7, readdir as readdir3, readFile as readFile7 } from "fs/promises";
|
|
10601
10621
|
import { homedir as homedir8 } from "os";
|
|
@@ -12830,7 +12850,7 @@ var ClaudeManager = class _ClaudeManager extends CodingAgentManager {
|
|
|
12830
12850
|
if (!handler) {
|
|
12831
12851
|
return { behavior: "allow" };
|
|
12832
12852
|
}
|
|
12833
|
-
const requestId =
|
|
12853
|
+
const requestId = randomUUID4();
|
|
12834
12854
|
const toolUseId = options.toolUseID;
|
|
12835
12855
|
const { options: requestOptions, questions: requestQuestions } = handler.getRequest(input);
|
|
12836
12856
|
const result = await new Promise((resolve7) => {
|
|
@@ -13218,7 +13238,7 @@ var ClaudeManager = class _ClaudeManager extends CodingAgentManager {
|
|
|
13218
13238
|
}
|
|
13219
13239
|
return {
|
|
13220
13240
|
type: "user",
|
|
13221
|
-
uuid:
|
|
13241
|
+
uuid: randomUUID4(),
|
|
13222
13242
|
message: {
|
|
13223
13243
|
role: "user",
|
|
13224
13244
|
content
|
|
@@ -13560,7 +13580,7 @@ var ClaudeManager = class _ClaudeManager extends CodingAgentManager {
|
|
|
13560
13580
|
this.backgroundRecoveryAttempted = true;
|
|
13561
13581
|
this.activePromptStream?.push({
|
|
13562
13582
|
type: "user",
|
|
13563
|
-
uuid:
|
|
13583
|
+
uuid: randomUUID4(),
|
|
13564
13584
|
isSynthetic: true,
|
|
13565
13585
|
session_id: this.sessionId ?? "",
|
|
13566
13586
|
parent_tool_use_id: null,
|
|
@@ -13617,7 +13637,7 @@ var ClaudeManager = class _ClaudeManager extends CodingAgentManager {
|
|
|
13617
13637
|
type: "system",
|
|
13618
13638
|
subtype: "task_updated",
|
|
13619
13639
|
task_id: taskId,
|
|
13620
|
-
uuid:
|
|
13640
|
+
uuid: randomUUID4(),
|
|
13621
13641
|
session_id: this.sessionId ?? "",
|
|
13622
13642
|
patch: { status: error ? "failed" : "killed", ...error ? { error } : {} }
|
|
13623
13643
|
});
|
|
@@ -38552,7 +38572,7 @@ var StreamableHTTPClientTransport = class {
|
|
|
38552
38572
|
options.onRequestStreamEnd?.();
|
|
38553
38573
|
return;
|
|
38554
38574
|
}
|
|
38555
|
-
const
|
|
38575
|
+
const delay2 = this._getNextReconnectionDelay(attemptCount);
|
|
38556
38576
|
const reconnect = () => {
|
|
38557
38577
|
this._cancelReconnection = void 0;
|
|
38558
38578
|
if (this._abortController?.signal.aborted || options.requestSignal?.aborted) return;
|
|
@@ -38567,10 +38587,10 @@ var StreamableHTTPClientTransport = class {
|
|
|
38567
38587
|
});
|
|
38568
38588
|
};
|
|
38569
38589
|
if (this._reconnectionScheduler) {
|
|
38570
|
-
const cancel = this._reconnectionScheduler(reconnect,
|
|
38590
|
+
const cancel = this._reconnectionScheduler(reconnect, delay2, attemptCount);
|
|
38571
38591
|
this._cancelReconnection = typeof cancel === "function" ? cancel : void 0;
|
|
38572
38592
|
} else {
|
|
38573
|
-
const handle = setTimeout(reconnect,
|
|
38593
|
+
const handle = setTimeout(reconnect, delay2);
|
|
38574
38594
|
this._cancelReconnection = () => clearTimeout(handle);
|
|
38575
38595
|
}
|
|
38576
38596
|
}
|
|
@@ -43593,7 +43613,7 @@ function traceTransportKind(definition, transport) {
|
|
|
43593
43613
|
|
|
43594
43614
|
// ../node_modules/.bun/pi-mcp-adapter@2.32.1+04b0d7b0bc944965/node_modules/pi-mcp-adapter/request-headers-command.ts
|
|
43595
43615
|
import { spawn as spawn3, spawnSync as spawnSync2 } from "child_process";
|
|
43596
|
-
import { randomUUID as
|
|
43616
|
+
import { randomUUID as randomUUID5 } from "crypto";
|
|
43597
43617
|
var DEFAULT_TIMEOUT_MS = 1e4;
|
|
43598
43618
|
var MAX_OUTPUT_BYTES = 64 * 1024;
|
|
43599
43619
|
var USE_PROCESS_GROUP = process.platform !== "win32";
|
|
@@ -43741,7 +43761,7 @@ async function invokeRequestHeadersCommand(config, envelope, signal) {
|
|
|
43741
43761
|
return new Promise((resolve7, reject) => {
|
|
43742
43762
|
let stdout = Buffer.alloc(0);
|
|
43743
43763
|
let settled = false;
|
|
43744
|
-
const cleanupToken =
|
|
43764
|
+
const cleanupToken = randomUUID5();
|
|
43745
43765
|
const child = spawn3(resolved.command, resolved.args, {
|
|
43746
43766
|
env: { ...resolved.env, [CLEANUP_TOKEN_ENV]: cleanupToken },
|
|
43747
43767
|
stdio: ["pipe", "pipe", "ignore"],
|
|
@@ -45447,13 +45467,13 @@ var McpLifecycleManager = class {
|
|
|
45447
45467
|
if (this.keepAliveServers.get(name) !== definition) return false;
|
|
45448
45468
|
const previous = this.retryStates.get(name);
|
|
45449
45469
|
const attempts = (previous?.attempts ?? 0) + 1;
|
|
45450
|
-
const
|
|
45470
|
+
const delay2 = Math.min(
|
|
45451
45471
|
KEEP_ALIVE_RETRY_BASE_MS * 2 ** Math.min(attempts - 1, 10),
|
|
45452
45472
|
KEEP_ALIVE_RETRY_MAX_MS
|
|
45453
45473
|
);
|
|
45454
45474
|
this.retryStates.set(name, {
|
|
45455
45475
|
attempts,
|
|
45456
|
-
nextAttemptAt: Date.now() +
|
|
45476
|
+
nextAttemptAt: Date.now() + delay2,
|
|
45457
45477
|
connection,
|
|
45458
45478
|
status: connection?.status,
|
|
45459
45479
|
warningReported: previous?.warningReported ?? false
|
|
@@ -47806,14 +47826,14 @@ function formatSize(bytes) {
|
|
|
47806
47826
|
|
|
47807
47827
|
// ../node_modules/.bun/pi-mcp-adapter@2.32.1+04b0d7b0bc944965/node_modules/pi-mcp-adapter/ui-session.ts
|
|
47808
47828
|
import { execFile as execFile6 } from "child_process";
|
|
47809
|
-
import { randomUUID as
|
|
47829
|
+
import { randomUUID as randomUUID8 } from "crypto";
|
|
47810
47830
|
import net from "net";
|
|
47811
47831
|
|
|
47812
47832
|
// ../node_modules/.bun/pi-mcp-adapter@2.32.1+04b0d7b0bc944965/node_modules/pi-mcp-adapter/ui-server.ts
|
|
47813
47833
|
import http2 from "http";
|
|
47814
47834
|
import fs7 from "fs/promises";
|
|
47815
47835
|
import path6 from "path";
|
|
47816
|
-
import { randomUUID as
|
|
47836
|
+
import { randomUUID as randomUUID7 } from "crypto";
|
|
47817
47837
|
|
|
47818
47838
|
// ../node_modules/.bun/pi-mcp-adapter@2.32.1+04b0d7b0bc944965/node_modules/pi-mcp-adapter/host-html-template.ts
|
|
47819
47839
|
var DEFAULT_APP_BRIDGE_MODULE_URL = "/app-bridge.bundle.js";
|
|
@@ -48475,7 +48495,7 @@ function safeInlineJSON2(value) {
|
|
|
48475
48495
|
}
|
|
48476
48496
|
|
|
48477
48497
|
// ../node_modules/.bun/pi-mcp-adapter@2.32.1+04b0d7b0bc944965/node_modules/pi-mcp-adapter/tool-approval.ts
|
|
48478
|
-
import { createHash as createHash4, randomUUID as
|
|
48498
|
+
import { createHash as createHash4, randomUUID as randomUUID6 } from "crypto";
|
|
48479
48499
|
function stableStringify(value) {
|
|
48480
48500
|
if (value === null || value === void 0 || typeof value !== "object") {
|
|
48481
48501
|
const serialized = JSON.stringify(value);
|
|
@@ -48541,7 +48561,7 @@ async function requestBrokerApproval(state, serverName, toolMeta, args, origin,
|
|
|
48541
48561
|
let acceptingClaim = true;
|
|
48542
48562
|
let handler;
|
|
48543
48563
|
const request = {
|
|
48544
|
-
requestId:
|
|
48564
|
+
requestId: randomUUID6(),
|
|
48545
48565
|
serverName,
|
|
48546
48566
|
originalToolName: toolMeta.originalName,
|
|
48547
48567
|
prefixedToolName: toolMeta.name,
|
|
@@ -48620,8 +48640,8 @@ var MOSHI_DISCOVERY_PORT_START = 8377;
|
|
|
48620
48640
|
var MOSHI_DISCOVERY_PORT_END = 8396;
|
|
48621
48641
|
var nextMoshiDiscoveryPort = MOSHI_DISCOVERY_PORT_START;
|
|
48622
48642
|
async function startUiServer(options) {
|
|
48623
|
-
const sessionToken = options.sessionToken ??
|
|
48624
|
-
const uiResourceToken =
|
|
48643
|
+
const sessionToken = options.sessionToken ?? randomUUID7();
|
|
48644
|
+
const uiResourceToken = randomUUID7();
|
|
48625
48645
|
const log = logger.child({
|
|
48626
48646
|
component: "UiServer",
|
|
48627
48647
|
server: options.serverName,
|
|
@@ -49580,8 +49600,8 @@ async function maybeStartUiSession(state, request) {
|
|
|
49580
49600
|
if (state.uiServer && state.uiServer.serverName === request.serverName && state.uiServer.toolName === request.toolName) {
|
|
49581
49601
|
const existingHandle = state.uiServer;
|
|
49582
49602
|
const streamMode2 = request.streamMode;
|
|
49583
|
-
const streamId2 = streamMode2 ?
|
|
49584
|
-
const streamToken2 = streamMode2 ?
|
|
49603
|
+
const streamId2 = streamMode2 ? randomUUID8() : void 0;
|
|
49604
|
+
const streamToken2 = streamMode2 ? randomUUID8() : void 0;
|
|
49585
49605
|
let active2 = true;
|
|
49586
49606
|
let nextStreamSequence2 = 0;
|
|
49587
49607
|
const cleanupStreamListener = () => {
|
|
@@ -49657,8 +49677,8 @@ async function maybeStartUiSession(state, request) {
|
|
|
49657
49677
|
activeGlimpseWindow = null;
|
|
49658
49678
|
}
|
|
49659
49679
|
const streamMode = request.streamMode;
|
|
49660
|
-
const streamId = streamMode ?
|
|
49661
|
-
const streamToken = streamMode ?
|
|
49680
|
+
const streamId = streamMode ? randomUUID8() : void 0;
|
|
49681
|
+
const streamToken = streamMode ? randomUUID8() : void 0;
|
|
49662
49682
|
const hostContext = streamMode && streamId ? {
|
|
49663
49683
|
[UI_STREAM_HOST_CONTEXT_KEY]: {
|
|
49664
49684
|
mode: streamMode,
|
|
@@ -49670,7 +49690,7 @@ async function maybeStartUiSession(state, request) {
|
|
|
49670
49690
|
let active = true;
|
|
49671
49691
|
let nextStreamSequence = 0;
|
|
49672
49692
|
let handle;
|
|
49673
|
-
const resourceListenerToken =
|
|
49693
|
+
const resourceListenerToken = randomUUID8();
|
|
49674
49694
|
const cleanupListeners = () => {
|
|
49675
49695
|
if (streamToken) {
|
|
49676
49696
|
state.manager.removeUiStreamListener(streamToken);
|
|
@@ -57573,7 +57593,7 @@ var PiManager = class extends CodingAgentManager {
|
|
|
57573
57593
|
};
|
|
57574
57594
|
|
|
57575
57595
|
// src/analytics/agent/activity/agent-chat-activity-tracker-service.ts
|
|
57576
|
-
import { randomUUID as
|
|
57596
|
+
import { randomUUID as randomUUID9 } from "crypto";
|
|
57577
57597
|
|
|
57578
57598
|
// src/analytics/analytics-upload.ts
|
|
57579
57599
|
async function uploadAnalytics(endpoint, body) {
|
|
@@ -57835,7 +57855,7 @@ var AgentChatTurnActivityTracker = class {
|
|
|
57835
57855
|
this.pendingMessages.delete(messageId);
|
|
57836
57856
|
const context = {
|
|
57837
57857
|
chatId,
|
|
57838
|
-
turnId:
|
|
57858
|
+
turnId: randomUUID9(),
|
|
57839
57859
|
provider,
|
|
57840
57860
|
model: attributes.model ?? getDefaultAgentModel(provider),
|
|
57841
57861
|
senderUserId: attributes.senderUserId,
|
|
@@ -59465,7 +59485,7 @@ var ChatService = class {
|
|
|
59465
59485
|
}
|
|
59466
59486
|
const source = request.forkSourceChatId ? this.requireChat(request.forkSourceChatId) : void 0;
|
|
59467
59487
|
const persisted = {
|
|
59468
|
-
id: request.id ??
|
|
59488
|
+
id: request.id ?? randomUUID10(),
|
|
59469
59489
|
provider: request.provider,
|
|
59470
59490
|
title,
|
|
59471
59491
|
createdAt: now,
|
|
@@ -60396,7 +60416,7 @@ var ChatService = class {
|
|
|
60396
60416
|
}
|
|
60397
60417
|
return {
|
|
60398
60418
|
persisted,
|
|
60399
|
-
historyVersion:
|
|
60419
|
+
historyVersion: randomUUID10(),
|
|
60400
60420
|
provider,
|
|
60401
60421
|
pendingMessageIds: [],
|
|
60402
60422
|
acceptedUserEvents: /* @__PURE__ */ new Map(),
|
|
@@ -60748,7 +60768,7 @@ var ChatService = class {
|
|
|
60748
60768
|
}
|
|
60749
60769
|
async publish(input) {
|
|
60750
60770
|
const event = {
|
|
60751
|
-
id:
|
|
60771
|
+
id: randomUUID10(),
|
|
60752
60772
|
ts: (/* @__PURE__ */ new Date()).toISOString(),
|
|
60753
60773
|
...input
|
|
60754
60774
|
};
|
|
@@ -61700,7 +61720,7 @@ ${combinedScript}` : combinedScript;
|
|
|
61700
61720
|
}
|
|
61701
61721
|
|
|
61702
61722
|
// src/services/terminal-service.ts
|
|
61703
|
-
import { randomUUID as
|
|
61723
|
+
import { randomUUID as randomUUID11 } from "crypto";
|
|
61704
61724
|
import { existsSync as existsSync17 } from "fs";
|
|
61705
61725
|
import { spawn as spawn6 } from "node-pty";
|
|
61706
61726
|
import { z as z3 } from "zod";
|
|
@@ -61728,7 +61748,7 @@ var TerminalService = class {
|
|
|
61728
61748
|
code: "limit"
|
|
61729
61749
|
});
|
|
61730
61750
|
}
|
|
61731
|
-
const id =
|
|
61751
|
+
const id = randomUUID11();
|
|
61732
61752
|
const shell = process.env.SHELL && existsSync17(process.env.SHELL) ? process.env.SHELL : "/bin/bash";
|
|
61733
61753
|
const pty = spawn6(shell, ["-l"], {
|
|
61734
61754
|
name: "xterm-256color",
|
|
@@ -63322,7 +63342,7 @@ function startStatusBroadcaster() {
|
|
|
63322
63342
|
if (serialized !== previousRepoStatus) {
|
|
63323
63343
|
previousRepoStatus = serialized;
|
|
63324
63344
|
eventService.publish({
|
|
63325
|
-
id:
|
|
63345
|
+
id: randomUUID12(),
|
|
63326
63346
|
ts: (/* @__PURE__ */ new Date()).toISOString(),
|
|
63327
63347
|
type: "repo.status.changed",
|
|
63328
63348
|
payload: { repos }
|
|
@@ -63343,7 +63363,7 @@ function startStatusBroadcaster() {
|
|
|
63343
63363
|
if (engineStatusJson !== previousEngineStatus) {
|
|
63344
63364
|
previousEngineStatus = engineStatusJson;
|
|
63345
63365
|
eventService.publish({
|
|
63346
|
-
id:
|
|
63366
|
+
id: randomUUID12(),
|
|
63347
63367
|
ts: (/* @__PURE__ */ new Date()).toISOString(),
|
|
63348
63368
|
type: "engine.status.changed",
|
|
63349
63369
|
payload: { status: engineStatus }
|
|
@@ -63362,7 +63382,7 @@ function startStatusBroadcaster() {
|
|
|
63362
63382
|
previousHookStatus = hookSnapshot;
|
|
63363
63383
|
if (!lastHooksRunning && hooksRunning) {
|
|
63364
63384
|
eventService.publish({
|
|
63365
|
-
id:
|
|
63385
|
+
id: randomUUID12(),
|
|
63366
63386
|
ts: (/* @__PURE__ */ new Date()).toISOString(),
|
|
63367
63387
|
type: "hooks.started",
|
|
63368
63388
|
payload: { running: true, completed: false }
|
|
@@ -63371,7 +63391,7 @@ function startStatusBroadcaster() {
|
|
|
63371
63391
|
}
|
|
63372
63392
|
if (hooksRunning) {
|
|
63373
63393
|
eventService.publish({
|
|
63374
|
-
id:
|
|
63394
|
+
id: randomUUID12(),
|
|
63375
63395
|
ts: (/* @__PURE__ */ new Date()).toISOString(),
|
|
63376
63396
|
type: "hooks.progress",
|
|
63377
63397
|
payload: { running: true, completed: false }
|
|
@@ -63380,7 +63400,7 @@ function startStatusBroadcaster() {
|
|
|
63380
63400
|
}
|
|
63381
63401
|
if (lastHooksRunning && !hooksRunning && hooksCompleted && !hooksFailed) {
|
|
63382
63402
|
eventService.publish({
|
|
63383
|
-
id:
|
|
63403
|
+
id: randomUUID12(),
|
|
63384
63404
|
ts: (/* @__PURE__ */ new Date()).toISOString(),
|
|
63385
63405
|
type: "hooks.completed",
|
|
63386
63406
|
payload: { running: false, completed: true }
|
|
@@ -63389,7 +63409,7 @@ function startStatusBroadcaster() {
|
|
|
63389
63409
|
}
|
|
63390
63410
|
if (lastHooksRunning && !hooksRunning && hooksFailed) {
|
|
63391
63411
|
eventService.publish({
|
|
63392
|
-
id:
|
|
63412
|
+
id: randomUUID12(),
|
|
63393
63413
|
ts: (/* @__PURE__ */ new Date()).toISOString(),
|
|
63394
63414
|
type: "hooks.failed",
|
|
63395
63415
|
payload: { running: false, completed: hooksCompleted }
|
|
@@ -63397,7 +63417,7 @@ function startStatusBroadcaster() {
|
|
|
63397
63417
|
});
|
|
63398
63418
|
}
|
|
63399
63419
|
eventService.publish({
|
|
63400
|
-
id:
|
|
63420
|
+
id: randomUUID12(),
|
|
63401
63421
|
ts: (/* @__PURE__ */ new Date()).toISOString(),
|
|
63402
63422
|
type: "hooks.status",
|
|
63403
63423
|
payload: {
|
|
@@ -63493,7 +63513,7 @@ async function startBackgroundServices(signal) {
|
|
|
63493
63513
|
{ type: "engine.ready", payload: { version: "v1" } }
|
|
63494
63514
|
]) {
|
|
63495
63515
|
if (signal.aborted) return;
|
|
63496
|
-
await eventService.publish({ id:
|
|
63516
|
+
await eventService.publish({ id: randomUUID12(), ts: (/* @__PURE__ */ new Date()).toISOString(), ...event });
|
|
63497
63517
|
}
|
|
63498
63518
|
if (!signal.aborted) startStatusBroadcaster();
|
|
63499
63519
|
}
|
|
@@ -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-
|
|
6
|
+
} from "./chunk-362PL33N.js";
|
|
7
7
|
import {
|
|
8
8
|
isRecord
|
|
9
9
|
} from "./chunk-UZSNFLDQ.js";
|
|
10
10
|
import {
|
|
11
11
|
shouldRefreshPullRequests
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-YA7ID5UU.js";
|
|
13
13
|
import "./chunk-VEQXQN22.js";
|
|
14
14
|
|
|
15
15
|
// src/services/post-tool-pr-notifier.ts
|
package/dist/src/subagent-mcp.js
CHANGED