poe-code 3.0.198 → 3.0.200

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.
@@ -18036,7 +18036,6 @@ var CODEX_MODELS = [
18036
18036
  "openai/gpt-5.5",
18037
18037
  "openai/gpt-5.4",
18038
18038
  "openai/gpt-5.3-codex",
18039
- "openai/gpt-5.3-codex-spark",
18040
18039
  "openai/gpt-5.2-codex",
18041
18040
  "openai/gpt-5.2",
18042
18041
  "openai/gpt-5.2-chat",
@@ -18359,6 +18358,9 @@ async function resolveBaseChain({
18359
18358
  throw error2;
18360
18359
  }
18361
18360
  if (visited.has(discoveredBase.filePath)) {
18361
+ if (optional) {
18362
+ return void 0;
18363
+ }
18362
18364
  throw new Error(
18363
18365
  `Circular extends detected.
18364
18366
  Visited files:
@@ -19518,7 +19520,7 @@ async function writeScope(fs4, filePath, scope, values) {
19518
19520
  }
19519
19521
  async function readMergedDocument(fs4, globalPath, projectPath) {
19520
19522
  const globalDocument = await readStoredDocument(fs4, globalPath);
19521
- if (!projectPath) {
19523
+ if (!projectPath || projectPath === globalPath) {
19522
19524
  return globalDocument.data;
19523
19525
  }
19524
19526
  const projectDocument = await readStoredDocument(fs4, projectPath);