replicas-engine 0.1.933 → 0.1.935
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-V5JMSPLS.js → asp-host-TNBLV7CZ.js} +5 -4
- package/dist/src/chunk-4MN6PV5T.js +19 -0
- package/dist/src/{chunk-BXHF65NV.js → chunk-5S4DHSVO.js} +5 -13
- package/dist/src/{chunk-RVSMHQVH.js → chunk-7AHZJSWR.js} +685 -195
- package/dist/src/{chunk-5PTJWSW3.js → chunk-A753OSOP.js} +8 -6
- package/dist/src/chunk-H4VNL5V4.js +191 -0
- package/dist/src/{chunk-RAZD4N5G.js → chunk-JIWNLGNP.js} +1 -1
- package/dist/src/{chunk-3GJEQKPY.js → chunk-SJLJNLTL.js} +1 -1
- package/dist/src/command-protection-hook.js +5 -4
- package/dist/src/headless-agent.js +3 -2
- package/dist/src/index.js +341 -411
- package/dist/src/post-tool-pr-hook.js +2 -2
- package/dist/src/relay-mcp.js +1 -1
- package/package.json +1 -1
- package/dist/src/chunk-SY46VC2H.js +0 -75
|
@@ -5,11 +5,12 @@ import {
|
|
|
5
5
|
getCodexAspHost,
|
|
6
6
|
restartCodexAspHost,
|
|
7
7
|
restartCodexAspHostIfRunning
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-A753OSOP.js";
|
|
9
|
+
import "./chunk-SJLJNLTL.js";
|
|
10
|
+
import "./chunk-5S4DHSVO.js";
|
|
11
|
+
import "./chunk-4MN6PV5T.js";
|
|
11
12
|
import "./chunk-UZSNFLDQ.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-7AHZJSWR.js";
|
|
13
14
|
import "./chunk-VEQXQN22.js";
|
|
14
15
|
export {
|
|
15
16
|
getCodexAspHost,
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { createRequire as __createRequire } from 'node:module';
|
|
3
|
+
const require = __createRequire(import.meta.url);
|
|
4
|
+
import {
|
|
5
|
+
HOOK_EXEC_MAX_BUFFER_BYTES
|
|
6
|
+
} from "./chunk-7AHZJSWR.js";
|
|
7
|
+
|
|
8
|
+
// src/utils/exec.ts
|
|
9
|
+
import { exec, execFile } from "child_process";
|
|
10
|
+
import { promisify } from "util";
|
|
11
|
+
var execAsync = promisify(exec);
|
|
12
|
+
var execFileAsync = promisify(execFile);
|
|
13
|
+
var SUBPROCESS_MAX_BUFFER = HOOK_EXEC_MAX_BUFFER_BYTES;
|
|
14
|
+
|
|
15
|
+
export {
|
|
16
|
+
execAsync,
|
|
17
|
+
execFileAsync,
|
|
18
|
+
SUBPROCESS_MAX_BUFFER
|
|
19
|
+
};
|
|
@@ -2,9 +2,11 @@
|
|
|
2
2
|
import { createRequire as __createRequire } from 'node:module';
|
|
3
3
|
const require = __createRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
execFileAsync
|
|
6
|
+
} from "./chunk-4MN6PV5T.js";
|
|
7
|
+
import {
|
|
6
8
|
isVersionBelow
|
|
7
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7AHZJSWR.js";
|
|
8
10
|
|
|
9
11
|
// src/utils/codex-agent-env.ts
|
|
10
12
|
function buildCodexAgentEnv(source = process.env) {
|
|
@@ -20,13 +22,6 @@ function buildCodexAgentEnv(source = process.env) {
|
|
|
20
22
|
return env;
|
|
21
23
|
}
|
|
22
24
|
|
|
23
|
-
// src/utils/exec.ts
|
|
24
|
-
import { exec, execFile } from "child_process";
|
|
25
|
-
import { promisify } from "util";
|
|
26
|
-
var execAsync = promisify(exec);
|
|
27
|
-
var execFileAsync = promisify(execFile);
|
|
28
|
-
var SUBPROCESS_MAX_BUFFER = HOOK_EXEC_MAX_BUFFER_BYTES;
|
|
29
|
-
|
|
30
25
|
// src/managers/codex-asp/app-server-process.ts
|
|
31
26
|
import { spawn } from "child_process";
|
|
32
27
|
import { EventEmitter as EventEmitter2 } from "events";
|
|
@@ -245,7 +240,7 @@ function getCodexModelProvider(method) {
|
|
|
245
240
|
if (method === "foundry") return "azure";
|
|
246
241
|
return method === "ollama" || method === "openai-compatible" ? "replicas_openai_compatible" : "openai";
|
|
247
242
|
}
|
|
248
|
-
var ENGINE_PACKAGE_VERSION = "0.1.
|
|
243
|
+
var ENGINE_PACKAGE_VERSION = "0.1.935";
|
|
249
244
|
var INITIALIZE_METHOD = "initialize";
|
|
250
245
|
var INITIALIZED_NOTIFICATION = "initialized";
|
|
251
246
|
var ACCOUNT_LOGIN_START_METHOD = "account/login/start";
|
|
@@ -485,9 +480,6 @@ var AppServerProcess = class {
|
|
|
485
480
|
export {
|
|
486
481
|
buildCodexAgentEnv,
|
|
487
482
|
AspClient,
|
|
488
|
-
execAsync,
|
|
489
|
-
execFileAsync,
|
|
490
|
-
SUBPROCESS_MAX_BUFFER,
|
|
491
483
|
getCodexModelProvider,
|
|
492
484
|
AppServerProcess
|
|
493
485
|
};
|