replicas-engine 0.1.22 → 0.1.23

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/index.js CHANGED
@@ -721,6 +721,7 @@ async function normalizeImages(images) {
721
721
  }
722
722
 
723
723
  // src/services/codex-manager.ts
724
+ var DEFAULT_MODEL = "gpt-5.1-codex";
724
725
  var CodexManager = class {
725
726
  codex;
726
727
  currentThreadId = null;
@@ -826,14 +827,14 @@ var CodexManager = class {
826
827
  workingDirectory: this.workingDirectory,
827
828
  skipGitRepoCheck: true,
828
829
  sandboxMode: "danger-full-access",
829
- model: model || "gpt-5.1-codex"
830
+ model: model || DEFAULT_MODEL
830
831
  });
831
832
  } else {
832
833
  this.currentThread = this.codex.startThread({
833
834
  workingDirectory: this.workingDirectory,
834
835
  skipGitRepoCheck: true,
835
836
  sandboxMode: "danger-full-access",
836
- model: model || "gpt-5.1-codex"
837
+ model: model || DEFAULT_MODEL
837
838
  });
838
839
  let combinedInstructions;
839
840
  if (this.baseSystemPrompt && customInstructions) {
@@ -852,7 +853,6 @@ ${customInstructions}`;
852
853
  this.currentThreadId = event.thread_id;
853
854
  await saveEngineState({ codexThreadId: this.currentThreadId });
854
855
  console.log(`[CodexManager] Captured and persisted thread ID: ${this.currentThreadId}`);
855
- break;
856
856
  }
857
857
  }
858
858
  if (!this.currentThreadId && this.currentThread.id) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-engine",
3
- "version": "0.1.22",
3
+ "version": "0.1.23",
4
4
  "description": "Lightweight API server for Replicas workspaces",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",