replicas-engine 0.1.957 → 0.1.959
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-65SEKM3Q.js → asp-host-INCEKBYG.js} +5 -5
- package/dist/src/{chunk-42BR2ZBE.js → chunk-4HNUOSLS.js} +4 -5
- package/dist/src/{chunk-CYNWRZYJ.js → chunk-CANEL3IU.js} +1 -1
- package/dist/src/{chunk-FK3P6B55.js → chunk-QXISBAH5.js} +144 -270
- package/dist/src/{chunk-SI6WBUIS.js → chunk-SZTW4OGR.js} +3 -3
- package/dist/src/{chunk-4TRSKDZK.js → chunk-TFD6QK6J.js} +6 -6
- package/dist/src/{chunk-FLDA7BX3.js → chunk-UPCC4BX5.js} +0 -34
- package/dist/src/{chunk-RQXIJ3IG.js → chunk-X76Z5POI.js} +3 -3
- package/dist/src/{chunk-4HVJFYXK.js → chunk-XFGXRH7Q.js} +1 -1
- package/dist/src/command-protection-hook.js +4 -4
- package/dist/src/headless-agent.js +10 -105
- package/dist/src/index.js +622 -436
- package/dist/src/post-tool-pr-hook.js +2 -2
- package/dist/src/{relay-mcp.js → subagent-mcp.js} +38 -39
- package/package.json +2 -2
- package/dist/src/chunk-YUMGTIR3.js +0 -45
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
getCodexAspHost,
|
|
6
6
|
restartCodexAspHost,
|
|
7
7
|
restartCodexAspHostIfRunning
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-TFD6QK6J.js";
|
|
9
|
+
import "./chunk-4HNUOSLS.js";
|
|
10
|
+
import "./chunk-X76Z5POI.js";
|
|
11
|
+
import "./chunk-CANEL3IU.js";
|
|
12
12
|
import "./chunk-UZSNFLDQ.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-QXISBAH5.js";
|
|
14
14
|
import "./chunk-VEQXQN22.js";
|
|
15
15
|
export {
|
|
16
16
|
getCodexAspHost,
|
|
@@ -12,10 +12,9 @@ import {
|
|
|
12
12
|
fallbackPlanResponseSchema,
|
|
13
13
|
isRecord,
|
|
14
14
|
isValidAgentProvider,
|
|
15
|
-
isValidRelayBaseProvider,
|
|
16
15
|
parsePosixEnvFile,
|
|
17
16
|
readReplicasRuntimeEnv
|
|
18
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-QXISBAH5.js";
|
|
19
18
|
|
|
20
19
|
// src/runtime-env-loader.ts
|
|
21
20
|
import { readFileSync } from "fs";
|
|
@@ -189,14 +188,14 @@ async function monolithRequest(path, init = {}) {
|
|
|
189
188
|
});
|
|
190
189
|
}
|
|
191
190
|
var MonolithService = class {
|
|
192
|
-
async
|
|
191
|
+
async getSubagentMcpConfig() {
|
|
193
192
|
try {
|
|
194
|
-
const response = await monolithRequest("/v1/engine/
|
|
193
|
+
const response = await monolithRequest("/v1/engine/subagent-mcp", { method: "GET", signal: AbortSignal.timeout(1e4) });
|
|
195
194
|
if (!response.ok) {
|
|
196
195
|
return null;
|
|
197
196
|
}
|
|
198
197
|
const body = await response.json();
|
|
199
|
-
return isRecord(body) && Array.isArray(body.providers) && body.providers.every((provider) => typeof provider === "string" && isValidAgentProvider(provider))
|
|
198
|
+
return isRecord(body) && typeof body.enabled === "boolean" && Array.isArray(body.providers) && body.providers.every((provider) => typeof provider === "string" && isValidAgentProvider(provider)) ? { enabled: body.enabled, providers: body.providers } : null;
|
|
200
199
|
} catch {
|
|
201
200
|
return null;
|
|
202
201
|
}
|
|
@@ -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-QXISBAH5.js";
|
|
7
7
|
|
|
8
8
|
// src/utils/exec.ts
|
|
9
9
|
import { exec, execFile } from "child_process";
|