replicas-engine 0.1.1134 → 0.1.1136

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.
@@ -8,9 +8,9 @@ import {
8
8
  listRunningCodexModels,
9
9
  restartCodexAspHost,
10
10
  restartCodexAspHostIfRunning
11
- } from "./chunk-3VA2LHCU.js";
11
+ } from "./chunk-5L67NCMF.js";
12
12
  import "./chunk-DQAC2NPC.js";
13
- import "./chunk-7CN57E6D.js";
13
+ import "./chunk-Z2YGPO54.js";
14
14
  import "./chunk-FBVBQJIW.js";
15
15
  import "./chunk-UZSNFLDQ.js";
16
16
  import "./chunk-WR6M3Z4N.js";
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  AppServerProcess,
16
16
  buildCodexAgentEnv
17
- } from "./chunk-7CN57E6D.js";
17
+ } from "./chunk-Z2YGPO54.js";
18
18
  import {
19
19
  SUBPROCESS_MAX_BUFFER,
20
20
  execFileAsync
@@ -291,7 +291,7 @@ var CodexTokenManager = class extends BaseRefreshManager {
291
291
  await this.applyCredentialUpdate(++this.credentialGeneration, async () => {
292
292
  await this.applyCredentialsResponse(data);
293
293
  setAgentCredentialSnapshot("codex", data);
294
- const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-S7BIIAWW.js");
294
+ const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-WW4HWJGI.js");
295
295
  await restartCodexAspHostIfRunning2();
296
296
  });
297
297
  await this.start(true);
@@ -312,7 +312,7 @@ var CodexTokenManager = class extends BaseRefreshManager {
312
312
  const accountChanged = ENGINE_ENV.REPLICAS_AGENT_CREDENTIALS.codex?.credentialId !== data.credentialId;
313
313
  await this.applyCredentialsResponse(data);
314
314
  if (restartOnChange && (accountChanged || CODEX_AUTH_ENV_KEYS.some((key, index) => process.env[key] !== previousEnv[index]))) {
315
- const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-S7BIIAWW.js");
315
+ const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-WW4HWJGI.js");
316
316
  await restartCodexAspHostIfRunning2();
317
317
  }
318
318
  setAgentCredentialSnapshot("codex", data);
@@ -3,7 +3,7 @@ import { createRequire as __createRequire } from 'node:module';
3
3
  const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  AspClient
6
- } from "./chunk-7CN57E6D.js";
6
+ } from "./chunk-Z2YGPO54.js";
7
7
  import {
8
8
  ASTER_BASE_URL,
9
9
  ASTER_PROVIDER,
@@ -240,7 +240,7 @@ function getCodexModelProvider(method) {
240
240
  if (method === "foundry") return "azure";
241
241
  return method === "ollama" || method === "openai-compatible" ? "replicas_openai_compatible" : "openai";
242
242
  }
243
- var ENGINE_PACKAGE_VERSION = "0.1.1134";
243
+ var ENGINE_PACKAGE_VERSION = "0.1.1136";
244
244
  var INITIALIZE_METHOD = "initialize";
245
245
  var INITIALIZED_NOTIFICATION = "initialized";
246
246
  var ACCOUNT_LOGIN_START_METHOD = "account/login/start";
@@ -13,11 +13,11 @@ import {
13
13
  recoverCompletedTurn,
14
14
  spawnMuseMsp,
15
15
  startMuseSession
16
- } from "./chunk-HMFANNVD.js";
16
+ } from "./chunk-OP3NSWB6.js";
17
17
  import {
18
18
  AppServerProcess,
19
19
  buildCodexAgentEnv
20
- } from "./chunk-7CN57E6D.js";
20
+ } from "./chunk-Z2YGPO54.js";
21
21
  import "./chunk-FBVBQJIW.js";
22
22
  import {
23
23
  AGENT,
package/dist/src/index.js CHANGED
@@ -64,7 +64,7 @@ import {
64
64
  spawnMuseMsp,
65
65
  startMuseSession,
66
66
  uuidV7
67
- } from "./chunk-HMFANNVD.js";
67
+ } from "./chunk-OP3NSWB6.js";
68
68
  import {
69
69
  publishedPullRequestUrls
70
70
  } from "./chunk-FDEJF43L.js";
@@ -130,7 +130,7 @@ import {
130
130
  timestampFromSeconds,
131
131
  upsertCredentialFileLines,
132
132
  writeSecureCredentialFile
133
- } from "./chunk-3VA2LHCU.js";
133
+ } from "./chunk-5L67NCMF.js";
134
134
  import {
135
135
  ENGINE_ENV,
136
136
  monolithRequest,
@@ -142,7 +142,7 @@ import {
142
142
  } from "./chunk-DQAC2NPC.js";
143
143
  import {
144
144
  getCodexModelProvider
145
- } from "./chunk-7CN57E6D.js";
145
+ } from "./chunk-Z2YGPO54.js";
146
146
  import {
147
147
  SUBPROCESS_MAX_BUFFER,
148
148
  execAsync,
@@ -61578,7 +61578,7 @@ async function runWarmHooksStreaming(params) {
61578
61578
  };
61579
61579
  params = { ...params, onEvent };
61580
61580
  const outputBlocks = [];
61581
- const globalHook = (params.globalWarmHook ?? params.organizationWarmHook)?.trim();
61581
+ const globalHook = params.globalWarmHook?.trim();
61582
61582
  const environmentHook = params.environmentWarmHook?.trim();
61583
61583
  if (globalHook) {
61584
61584
  const globalResult = await executeHookScriptStreaming({
@@ -62682,7 +62682,6 @@ data: ${JSON.stringify("Terminal session not found")}
62682
62682
  const result = await runWarmHooks({
62683
62683
  globalWarmHook: body.globalWarmHook,
62684
62684
  environmentWarmHook: body.environmentWarmHook,
62685
- organizationWarmHook: body.organizationWarmHook,
62686
62685
  timeoutMs: body.timeoutMs
62687
62686
  });
62688
62687
  return c.json({
@@ -62704,7 +62703,6 @@ data: ${JSON.stringify("Terminal session not found")}
62704
62703
  (send) => runWarmHooksStreaming({
62705
62704
  globalWarmHook: body.globalWarmHook,
62706
62705
  environmentWarmHook: body.environmentWarmHook,
62707
- organizationWarmHook: body.organizationWarmHook,
62708
62706
  timeoutMs: body.timeoutMs,
62709
62707
  onEvent: (event) => {
62710
62708
  send(event);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-engine",
3
- "version": "0.1.1134",
3
+ "version": "0.1.1136",
4
4
  "description": "Lightweight API server for Replicas workspaces",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",