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.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  mayCreatePullRequest
4
- } from "./chunk-KZJGIFHH.js";
4
+ } from "./chunk-6P3FBKKS.js";
5
5
 
6
6
  // src/services/post-tool-pr-notifier.ts
7
7
  async function notifyPostToolUse(toolName, toolInput) {
@@ -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
  }
@@ -12,7 +12,7 @@ import {
12
12
  isValidAgentProvider,
13
13
  parsePosixEnvFile,
14
14
  readReplicasRuntimeEnv
15
- } from "./chunk-KZJGIFHH.js";
15
+ } from "./chunk-6P3FBKKS.js";
16
16
 
17
17
  // src/engine-env.ts
18
18
  import { readFileSync as readFileSync2 } from "fs";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  HOOK_EXEC_MAX_BUFFER_BYTES,
4
4
  isVersionBelow
5
- } from "./chunk-KZJGIFHH.js";
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.730";
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-62W7ACSQ.js";
4
+ } from "./chunk-FOMGATAT.js";
5
5
  import {
6
6
  isRecord
7
7
  } from "./chunk-2RB7SIP3.js";
8
- import "./chunk-KZJGIFHH.js";
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-62W7ACSQ.js";
4
+ } from "./chunk-FOMGATAT.js";
5
5
  import {
6
6
  notifyPostToolUse
7
- } from "./chunk-PQQHZDUF.js";
7
+ } from "./chunk-3MZHSDWO.js";
8
8
  import "./chunk-2RB7SIP3.js";
9
- import "./chunk-KZJGIFHH.js";
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-S5QKJP3F.js";
7
+ } from "./chunk-RUIFVQCV.js";
8
8
  import {
9
9
  AGENT,
10
10
  getMemoryOutputSafetyViolation,
11
11
  headlessAgentRequestSchema
12
- } from "./chunk-KZJGIFHH.js";
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-62W7ACSQ.js";
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-S5QKJP3F.js";
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-KZJGIFHH.js";
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-PQQHZDUF.js";
4
+ } from "./chunk-3MZHSDWO.js";
5
5
  import {
6
6
  isRecord
7
7
  } from "./chunk-2RB7SIP3.js";
8
- import "./chunk-KZJGIFHH.js";
8
+ import "./chunk-6P3FBKKS.js";
9
9
 
10
10
  // src/post-tool-pr-hook.ts
11
11
  async function main() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-engine",
3
- "version": "0.1.730",
3
+ "version": "0.1.731",
4
4
  "description": "Lightweight API server for Replicas workspaces",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",