replicas-engine 0.1.746 → 0.1.748

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.
@@ -3,11 +3,11 @@ import {
3
3
  getCodexAspHost,
4
4
  restartCodexAspHost,
5
5
  restartCodexAspHostIfRunning
6
- } from "./chunk-OEW4EEUM.js";
7
- import "./chunk-ITEQAMIZ.js";
8
- import "./chunk-HNVRRGQU.js";
6
+ } from "./chunk-UDQRDVUD.js";
7
+ import "./chunk-K7NZNYQL.js";
8
+ import "./chunk-PASXXBP2.js";
9
9
  import "./chunk-2RB7SIP3.js";
10
- import "./chunk-HMIVYASC.js";
10
+ import "./chunk-CGCN6HGZ.js";
11
11
  import "./chunk-5KSXSK7Y.js";
12
12
  export {
13
13
  getCodexAspHost,
@@ -1639,7 +1639,6 @@ var WEB_APP_PATHS = {
1639
1639
  automations: `${HOME_PATH}/automations`,
1640
1640
  environment: `${HOME_PATH}/environment`,
1641
1641
  analytics: `${HOME_PATH}/analytics`,
1642
- memory: `${HOME_PATH}/memory`,
1643
1642
  dashboard: DASHBOARD_PATH,
1644
1643
  agents: `${DASHBOARD_PATH}/agents`,
1645
1644
  integrations: `${DASHBOARD_PATH}/integrations`,
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  mayCreatePullRequest
4
- } from "./chunk-HMIVYASC.js";
4
+ } from "./chunk-CGCN6HGZ.js";
5
5
 
6
6
  // src/services/post-tool-pr-notifier.ts
7
7
  async function notifyPostToolUse(toolName, toolInput) {
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  monolithRequest
4
- } from "./chunk-ITEQAMIZ.js";
4
+ } from "./chunk-K7NZNYQL.js";
5
5
  import {
6
6
  extractCommandProtectionCommandText,
7
7
  findGitCommitSignals,
8
8
  findPrMergeSignals
9
- } from "./chunk-HMIVYASC.js";
9
+ } from "./chunk-CGCN6HGZ.js";
10
10
 
11
11
  // src/services/command-protection-service.ts
12
12
  var DEFAULT_COMMAND_PROTECTION_BLOCK_MESSAGE = "Blocked by Replicas command protection.";
@@ -12,7 +12,7 @@ import {
12
12
  isValidAgentProvider,
13
13
  parsePosixEnvFile,
14
14
  readReplicasRuntimeEnv
15
- } from "./chunk-HMIVYASC.js";
15
+ } from "./chunk-CGCN6HGZ.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-HMIVYASC.js";
5
+ } from "./chunk-CGCN6HGZ.js";
6
6
 
7
7
  // src/utils/codex-agent-env.ts
8
8
  function buildCodexAgentEnv(source = process.env) {
@@ -239,7 +239,7 @@ var DEFAULT_CODEX_ARGS = [
239
239
  var MIN_CODEX_CLI_VERSION = "0.153.3";
240
240
  var CODEX_UPGRADE_TIMEOUT_MS = 12e4;
241
241
  var codexCliVersionEnsured = null;
242
- var ENGINE_PACKAGE_VERSION = "0.1.746";
242
+ var ENGINE_PACKAGE_VERSION = "0.1.748";
243
243
  var INITIALIZE_METHOD = "initialize";
244
244
  var INITIALIZED_NOTIFICATION = "initialized";
245
245
  var ACCOUNT_LOGIN_START_METHOD = "account/login/start";
@@ -3,18 +3,18 @@ import {
3
3
  ENGINE_ENV,
4
4
  monolithRequest,
5
5
  setAgentCredentialSnapshot
6
- } from "./chunk-ITEQAMIZ.js";
6
+ } from "./chunk-K7NZNYQL.js";
7
7
  import {
8
8
  AppServerProcess,
9
9
  buildCodexAgentEnv
10
- } from "./chunk-HNVRRGQU.js";
10
+ } from "./chunk-PASXXBP2.js";
11
11
  import {
12
12
  CODEX_AUTH_ENV_KEYS,
13
13
  CODEX_AUTH_ENV_KEYS_BY_METHOD,
14
14
  codexAuthEnvFromResponse,
15
15
  createErrorResult,
16
16
  createSuccessResult
17
- } from "./chunk-HMIVYASC.js";
17
+ } from "./chunk-CGCN6HGZ.js";
18
18
 
19
19
  // src/managers/codex-token-manager.ts
20
20
  import { promises as fs } from "fs";
@@ -230,7 +230,7 @@ var CodexTokenManager = class extends BaseRefreshManager {
230
230
  const data = await response.json();
231
231
  await this.applyCredentialsResponse(data);
232
232
  if (restartOnChange && CODEX_AUTH_ENV_KEYS.some((key, index) => process.env[key] !== previousEnv[index])) {
233
- const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-6HRB6NJ5.js");
233
+ const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-FED7CRXG.js");
234
234
  await restartCodexAspHostIfRunning2();
235
235
  }
236
236
  if (data.scope) {
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  evaluateCommandProtection
4
- } from "./chunk-52VN7BOE.js";
5
- import "./chunk-ITEQAMIZ.js";
4
+ } from "./chunk-DJF4SPBS.js";
5
+ import "./chunk-K7NZNYQL.js";
6
6
  import {
7
7
  isRecord
8
8
  } from "./chunk-2RB7SIP3.js";
9
- import "./chunk-HMIVYASC.js";
9
+ import "./chunk-CGCN6HGZ.js";
10
10
  import "./chunk-5KSXSK7Y.js";
11
11
 
12
12
  // src/command-protection-hook.ts
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  evaluateCommandProtection
4
- } from "./chunk-52VN7BOE.js";
4
+ } from "./chunk-DJF4SPBS.js";
5
5
  import {
6
6
  notifyPostToolUse
7
- } from "./chunk-ZNKNSUIJ.js";
8
- import "./chunk-ITEQAMIZ.js";
7
+ } from "./chunk-DCWVMP7E.js";
8
+ import "./chunk-K7NZNYQL.js";
9
9
  import "./chunk-2RB7SIP3.js";
10
- import "./chunk-HMIVYASC.js";
10
+ import "./chunk-CGCN6HGZ.js";
11
11
  import "./chunk-5KSXSK7Y.js";
12
12
 
13
13
  // src/deepseek-command-protection-plugin.ts
@@ -6,12 +6,12 @@ import {
6
6
  import {
7
7
  AppServerProcess,
8
8
  buildCodexAgentEnv
9
- } from "./chunk-HNVRRGQU.js";
9
+ } from "./chunk-PASXXBP2.js";
10
10
  import {
11
11
  AGENT,
12
12
  getMemoryOutputSafetyViolation,
13
13
  headlessAgentRequestSchema
14
- } from "./chunk-HMIVYASC.js";
14
+ } from "./chunk-CGCN6HGZ.js";
15
15
  import "./chunk-5KSXSK7Y.js";
16
16
 
17
17
  // src/headless-agent.ts
package/dist/src/index.js CHANGED
@@ -25,7 +25,7 @@ import {
25
25
  evaluateCommandProtection,
26
26
  extractToolCommand,
27
27
  reportCommandProtectionBlock
28
- } from "./chunk-52VN7BOE.js";
28
+ } from "./chunk-DJF4SPBS.js";
29
29
  import {
30
30
  ACCOUNT_RATE_LIMITS_UPDATED_METHOD,
31
31
  AGENT_MESSAGE_DELTA_METHOD,
@@ -58,20 +58,20 @@ import {
58
58
  recordCredentialFallback,
59
59
  recordExhaustedCredential,
60
60
  restartCodexAspHost
61
- } from "./chunk-OEW4EEUM.js";
61
+ } from "./chunk-UDQRDVUD.js";
62
62
  import {
63
63
  ENGINE_ENV,
64
64
  IS_WARMING_MODE,
65
65
  monolithRequest,
66
66
  monolithService,
67
67
  setAgentCredentialSnapshot
68
- } from "./chunk-ITEQAMIZ.js";
68
+ } from "./chunk-K7NZNYQL.js";
69
69
  import {
70
70
  AspClient,
71
71
  SUBPROCESS_MAX_BUFFER,
72
72
  execAsync,
73
73
  execFileAsync
74
- } from "./chunk-HNVRRGQU.js";
74
+ } from "./chunk-PASXXBP2.js";
75
75
  import {
76
76
  isRecord as isRecord2
77
77
  } from "./chunk-2RB7SIP3.js";
@@ -262,7 +262,7 @@ import {
262
262
  shellQuotePosix,
263
263
  stripAgentDiagnosticErrors,
264
264
  withTimeout
265
- } from "./chunk-HMIVYASC.js";
265
+ } from "./chunk-CGCN6HGZ.js";
266
266
  import {
267
267
  cloneMcpConfig,
268
268
  ensureCompatibilityImports,
@@ -62876,7 +62876,7 @@ import { createRequire as createRequire6 } from "module";
62876
62876
  import { delimiter as delimiter2, dirname as dirname19, join as join37, relative as relative2 } from "path";
62877
62877
  import { setTimeout as setTimeout2 } from "timers/promises";
62878
62878
  import { fileURLToPath as fileURLToPath6, pathToFileURL } from "url";
62879
- import { createMessageConnection, StreamMessageReader, StreamMessageWriter } from "vscode-jsonrpc/node";
62879
+ import { createMessageConnection, StreamMessageReader, StreamMessageWriter } from "vscode-jsonrpc/node.js";
62880
62880
  var require6 = createRequire6(import.meta.url);
62881
62881
  var SERVER_TIMEOUT_MS = 1e4;
62882
62882
  var LANGUAGE_SERVERS = {
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  notifyPostToolUse
4
- } from "./chunk-ZNKNSUIJ.js";
4
+ } from "./chunk-DCWVMP7E.js";
5
5
  import {
6
6
  isRecord
7
7
  } from "./chunk-2RB7SIP3.js";
8
- import "./chunk-HMIVYASC.js";
8
+ import "./chunk-CGCN6HGZ.js";
9
9
  import "./chunk-5KSXSK7Y.js";
10
10
 
11
11
  // src/post-tool-pr-hook.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-engine",
3
- "version": "0.1.746",
3
+ "version": "0.1.748",
4
4
  "description": "Lightweight API server for Replicas workspaces",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",
@@ -22,7 +22,7 @@
22
22
  ],
23
23
  "scripts": {
24
24
  "dev": "tsx watch --conditions=development src/index.ts",
25
- "build": "bun run --cwd ../shared build && node scripts/generate-workspace-sdk-types.mjs && bun run typecheck && tsup && node scripts/smoke-headless-agent.mjs",
25
+ "build": "bun run --cwd ../shared build && node scripts/generate-workspace-sdk-types.mjs && bun run typecheck && tsup && node scripts/smoke-entrypoints.mjs",
26
26
  "typecheck": "tsc --noEmit",
27
27
  "dev-pack": "bun run build && node scripts/pack-dev-tarball.mjs",
28
28
  "start": "node dist/src/index.js",