replicas-engine 0.1.730 → 0.1.731
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/{chunk-PQQHZDUF.js → chunk-3MZHSDWO.js} +1 -1
- package/dist/src/{chunk-KZJGIFHH.js → chunk-6P3FBKKS.js} +3 -1
- package/dist/src/{chunk-62W7ACSQ.js → chunk-FOMGATAT.js} +1 -1
- package/dist/src/{chunk-S5QKJP3F.js → chunk-RUIFVQCV.js} +2 -2
- package/dist/src/command-protection-hook.js +2 -2
- package/dist/src/deepseek-command-protection-plugin.js +3 -3
- package/dist/src/headless-agent.js +2 -2
- package/dist/src/index.js +3 -3
- package/dist/src/post-tool-pr-hook.js +2 -2
- package/package.json +1 -1
|
@@ -6244,7 +6244,8 @@ function messageForItem(item) {
|
|
|
6244
6244
|
type: "reasoning",
|
|
6245
6245
|
content: item.text,
|
|
6246
6246
|
status: normalizeCodexAspTranscriptStatus(item.status),
|
|
6247
|
-
timestamp: item.timestamp
|
|
6247
|
+
timestamp: item.timestamp,
|
|
6248
|
+
...item.sourceTimestamp ? { sourceTimestamp: item.sourceTimestamp } : {}
|
|
6248
6249
|
};
|
|
6249
6250
|
}
|
|
6250
6251
|
if (item.type === "commandExecution") {
|
|
@@ -6472,6 +6473,7 @@ function parseCodexAspTranscript(transcript) {
|
|
|
6472
6473
|
id: entry.turn.id,
|
|
6473
6474
|
text: reasoning.map(({ text }) => text.trim()).join("\n\n"),
|
|
6474
6475
|
timestamp: entry.turn.startedAt,
|
|
6476
|
+
...reasoning[0] ? { sourceTimestamp: reasoning[0].timestamp } : {},
|
|
6475
6477
|
status: reasoning.at(-1)?.status ?? "completed",
|
|
6476
6478
|
sequence: entry.item.sequence
|
|
6477
6479
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
HOOK_EXEC_MAX_BUFFER_BYTES,
|
|
4
4
|
isVersionBelow
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-6P3FBKKS.js";
|
|
6
6
|
|
|
7
7
|
// src/utils/presigned-upload.ts
|
|
8
8
|
import { createReadStream } from "fs";
|
|
@@ -272,7 +272,7 @@ var DEFAULT_CODEX_ARGS = [
|
|
|
272
272
|
var MIN_CODEX_CLI_VERSION = "0.144.6";
|
|
273
273
|
var CODEX_UPGRADE_TIMEOUT_MS = 12e4;
|
|
274
274
|
var codexCliVersionEnsured = null;
|
|
275
|
-
var ENGINE_PACKAGE_VERSION = "0.1.
|
|
275
|
+
var ENGINE_PACKAGE_VERSION = "0.1.731";
|
|
276
276
|
var INITIALIZE_METHOD = "initialize";
|
|
277
277
|
var INITIALIZED_NOTIFICATION = "initialized";
|
|
278
278
|
var ACCOUNT_LOGIN_START_METHOD = "account/login/start";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
evaluateCommandProtection
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-FOMGATAT.js";
|
|
5
5
|
import {
|
|
6
6
|
isRecord
|
|
7
7
|
} from "./chunk-2RB7SIP3.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-6P3FBKKS.js";
|
|
9
9
|
|
|
10
10
|
// src/command-protection-hook.ts
|
|
11
11
|
var provider = process.argv[2];
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
evaluateCommandProtection
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-FOMGATAT.js";
|
|
5
5
|
import {
|
|
6
6
|
notifyPostToolUse
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-3MZHSDWO.js";
|
|
8
8
|
import "./chunk-2RB7SIP3.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-6P3FBKKS.js";
|
|
10
10
|
|
|
11
11
|
// src/deepseek-command-protection-plugin.ts
|
|
12
12
|
function replicasCommandProtection(context) {
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
buildCodexAgentEnv,
|
|
5
5
|
putPresignedFile,
|
|
6
6
|
recoverCompletedTurn
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-RUIFVQCV.js";
|
|
8
8
|
import {
|
|
9
9
|
AGENT,
|
|
10
10
|
getMemoryOutputSafetyViolation,
|
|
11
11
|
headlessAgentRequestSchema
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-6P3FBKKS.js";
|
|
13
13
|
|
|
14
14
|
// src/headless-agent.ts
|
|
15
15
|
import { createHash } from "crypto";
|
package/dist/src/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
monolithService,
|
|
9
9
|
reportCommandProtectionBlock,
|
|
10
10
|
setAgentCredentialSnapshot
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-FOMGATAT.js";
|
|
12
12
|
import {
|
|
13
13
|
ACCOUNT_RATE_LIMITS_UPDATED_METHOD,
|
|
14
14
|
AGENT_MESSAGE_DELTA_METHOD,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
execFileAsync,
|
|
37
37
|
putPresignedFile,
|
|
38
38
|
recoverCompletedTurn
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-RUIFVQCV.js";
|
|
40
40
|
import {
|
|
41
41
|
isRecord as isRecord2
|
|
42
42
|
} from "./chunk-2RB7SIP3.js";
|
|
@@ -220,7 +220,7 @@ import {
|
|
|
220
220
|
shellQuotePosix,
|
|
221
221
|
stripAgentDiagnosticErrors,
|
|
222
222
|
withTimeout
|
|
223
|
-
} from "./chunk-
|
|
223
|
+
} from "./chunk-6P3FBKKS.js";
|
|
224
224
|
|
|
225
225
|
// src/index.ts
|
|
226
226
|
import { serve } from "@hono/node-server";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
notifyPostToolUse
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3MZHSDWO.js";
|
|
5
5
|
import {
|
|
6
6
|
isRecord
|
|
7
7
|
} from "./chunk-2RB7SIP3.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-6P3FBKKS.js";
|
|
9
9
|
|
|
10
10
|
// src/post-tool-pr-hook.ts
|
|
11
11
|
async function main() {
|