replicas-engine 0.1.102 → 0.1.104

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.
Files changed (2) hide show
  1. package/dist/src/index.js +10 -2
  2. package/package.json +1 -1
package/dist/src/index.js CHANGED
@@ -309,6 +309,12 @@ var CodexTokenManager = class extends BaseRefreshManager {
309
309
  constructor() {
310
310
  super("CodexTokenManager");
311
311
  }
312
+ getSkipReason() {
313
+ if (ENGINE_ENV.OPENAI_API_KEY) {
314
+ return "OPENAI_API_KEY is set";
315
+ }
316
+ return null;
317
+ }
312
318
  async doRefresh(config) {
313
319
  console.log("[CodexTokenManager] Refreshing Codex credentials...");
314
320
  const response = await fetch(`${config.monolithUrl}/v1/engine/codex/refresh-credentials`, {
@@ -1091,7 +1097,7 @@ function parseReplicasConfigString(content, filename) {
1091
1097
  }
1092
1098
 
1093
1099
  // ../shared/src/engine/environment.ts
1094
- var DAYTONA_SNAPSHOT_ID = "13-04-2026-docker-daemon";
1100
+ var DAYTONA_SNAPSHOT_ID = "13-04-2026-islington-v4";
1095
1101
 
1096
1102
  // ../shared/src/engine/types.ts
1097
1103
  var DEFAULT_CHAT_TITLES = {
@@ -2684,7 +2690,9 @@ var CodexManager = class extends CodingAgentManager {
2684
2690
  activeAbortController = null;
2685
2691
  constructor(options) {
2686
2692
  super(options);
2687
- this.codex = new Codex();
2693
+ this.codex = new Codex(
2694
+ ENGINE_ENV.OPENAI_API_KEY ? { apiKey: ENGINE_ENV.OPENAI_API_KEY } : void 0
2695
+ );
2688
2696
  this.tempImageDir = join10(homedir8(), ".replicas", "codex", "temp-images");
2689
2697
  this.initializeManager(this.processMessageInternal.bind(this));
2690
2698
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-engine",
3
- "version": "0.1.102",
3
+ "version": "0.1.104",
4
4
  "description": "Lightweight API server for Replicas workspaces",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",