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.
@@ -15,7 +15,7 @@ export declare const DEFAULT_CLAUDE_CODE_MODEL: "anthropic/claude-sonnet-4.6";
15
15
  * e.g., "anthropic/claude-sonnet-4.6" -> "claude-sonnet-4.6"
16
16
  */
17
17
  export declare function stripModelNamespace(model: string): string;
18
- export declare const CODEX_MODELS: readonly ["openai/gpt-5.5", "openai/gpt-5.4", "openai/gpt-5.3-codex", "openai/gpt-5.3-codex-spark", "openai/gpt-5.2-codex", "openai/gpt-5.2", "openai/gpt-5.2-chat", "openai/gpt-5.2-pro", "openai/gpt-5.1", "openai/gpt-5.1-codex-mini", "anthropic/claude-opus-4.7"];
18
+ export declare const CODEX_MODELS: readonly ["openai/gpt-5.5", "openai/gpt-5.4", "openai/gpt-5.3-codex", "openai/gpt-5.2-codex", "openai/gpt-5.2", "openai/gpt-5.2-chat", "openai/gpt-5.2-pro", "openai/gpt-5.1", "openai/gpt-5.1-codex-mini", "anthropic/claude-opus-4.7"];
19
19
  export declare const DEFAULT_CODEX_MODEL: "openai/gpt-5.5";
20
20
  export declare const KIMI_MODELS: readonly ["novitaai/kimi-k2.5", "novitaai/kimi-k2-thinking", "novitaai/kimi-k2.5-fw"];
21
21
  export declare const DEFAULT_KIMI_MODEL: "novitaai/kimi-k2.5";
@@ -29,7 +29,6 @@ export const CODEX_MODELS = [
29
29
  "openai/gpt-5.5",
30
30
  "openai/gpt-5.4",
31
31
  "openai/gpt-5.3-codex",
32
- "openai/gpt-5.3-codex-spark",
33
32
  "openai/gpt-5.2-codex",
34
33
  "openai/gpt-5.2",
35
34
  "openai/gpt-5.2-chat",
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/cli/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,2BAA2B;IAC3B,6BAA6B;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E,CAAC,WAAW,EAAE,CAAC;AAC1B,CAAC;AAED,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,gBAAgB;IAChB,gBAAgB;IAChB,sBAAsB;IACtB,sBAAsB;IACtB,gBAAgB;IAChB,qBAAqB;IACrB,oBAAoB;IACpB,gBAAgB;IAChB,2BAA2B;IAC3B,2BAA2B;CACnB,CAAC;AACX,MAAM,CAAC,MAAM,mBAAmB,GAAG,YAAY,CAAC,CAAC,CAAC,CAAC;AAEnD,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,oBAAoB;IACpB,2BAA2B;IAC3B,uBAAuB;CACf,CAAC;AACX,MAAM,CAAC,MAAM,kBAAkB,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC;AAEjD,MAAM,CAAC,MAAM,YAAY,GAAG,eAAe,CAAC;AAC5C,MAAM,CAAC,MAAM,mBAAmB,GAAG,sBAAsB,CAAC;AAE1D,MAAM,CAAC,MAAM,iBAAiB,GAAG,QAAQ,CAAC;AAC1C,MAAM,CAAC,MAAM,aAAa,GAAG,KAAK,CAAC;AACnC,MAAM,CAAC,MAAM,YAAY,GAAG,iDAAiD,CAAC"}
package/dist/index.js CHANGED
@@ -980,6 +980,9 @@ async function resolveBaseChain({
980
980
  throw error2;
981
981
  }
982
982
  if (visited.has(discoveredBase.filePath)) {
983
+ if (optional) {
984
+ return void 0;
985
+ }
983
986
  throw new Error(
984
987
  `Circular extends detected.
985
988
  Visited files:
@@ -2295,7 +2298,7 @@ async function writeScope(fs19, filePath, scope, values) {
2295
2298
  }
2296
2299
  async function readMergedDocument(fs19, globalPath, projectPath) {
2297
2300
  const globalDocument = await readStoredDocument(fs19, globalPath);
2298
- if (!projectPath) {
2301
+ if (!projectPath || projectPath === globalPath) {
2299
2302
  return globalDocument.data;
2300
2303
  }
2301
2304
  const projectDocument = await readStoredDocument(fs19, projectPath);
@@ -3139,7 +3142,6 @@ var init_constants = __esm({
3139
3142
  "openai/gpt-5.5",
3140
3143
  "openai/gpt-5.4",
3141
3144
  "openai/gpt-5.3-codex",
3142
- "openai/gpt-5.3-codex-spark",
3143
3145
  "openai/gpt-5.2-codex",
3144
3146
  "openai/gpt-5.2",
3145
3147
  "openai/gpt-5.2-chat",
@@ -56823,7 +56825,7 @@ var init_package2 = __esm({
56823
56825
  "package.json"() {
56824
56826
  package_default2 = {
56825
56827
  name: "poe-code",
56826
- version: "3.0.198",
56828
+ version: "3.0.200",
56827
56829
  description: "CLI tool to configure Poe API for developer workflows.",
56828
56830
  type: "module",
56829
56831
  main: "./dist/index.js",