poe-code 2.0.17 → 2.0.18

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.
@@ -1,4 +1,4 @@
1
- export declare const FRONTIER_MODELS: readonly ["Claude-Sonnet-4.5", "GPT-5.1-Codex"];
1
+ export declare const FRONTIER_MODELS: readonly ["Claude-Sonnet-4.5", "gpt-5.1-codex"];
2
2
  export declare const DEFAULT_FRONTIER_MODEL = "Claude-Sonnet-4.5";
3
3
  export declare const CLAUDE_CODE_VARIANTS: {
4
4
  readonly haiku: "Claude-Haiku-4.5";
@@ -6,7 +6,7 @@ export declare const CLAUDE_CODE_VARIANTS: {
6
6
  readonly opus: "Claude-Opus-4.5";
7
7
  };
8
8
  export declare const DEFAULT_CLAUDE_CODE_MODEL: "Claude-Sonnet-4.5";
9
- export declare const CODEX_MODELS: readonly ["gpt-5.2", "gpt-5.2-chat", "gpt-5.2-pro", "GPT-5.1-Codex", "GPT-5.1", "GPT-5.1-Codex-Mini"];
9
+ export declare const CODEX_MODELS: readonly ["gpt-5.2", "gpt-5.2-chat", "gpt-5.2-pro", "gpt-5.1-codex", "gpt-5.1", "gpt-5.1-codex-mini"];
10
10
  export declare const DEFAULT_CODEX_MODEL: "gpt-5.2";
11
11
  export declare const KIMI_MODELS: readonly ["Kimi-K2-Thinking"];
12
12
  export declare const DEFAULT_KIMI_MODEL: "Kimi-K2-Thinking";
@@ -1,6 +1,6 @@
1
1
  export const FRONTIER_MODELS = [
2
2
  "Claude-Sonnet-4.5",
3
- "GPT-5.1-Codex"
3
+ "gpt-5.1-codex"
4
4
  ];
5
5
  export const DEFAULT_FRONTIER_MODEL = "Claude-Sonnet-4.5";
6
6
  export const CLAUDE_CODE_VARIANTS = {
@@ -13,9 +13,9 @@ export const CODEX_MODELS = [
13
13
  "gpt-5.2",
14
14
  "gpt-5.2-chat",
15
15
  "gpt-5.2-pro",
16
- "GPT-5.1-Codex",
17
- "GPT-5.1",
18
- "GPT-5.1-Codex-Mini"
16
+ "gpt-5.1-codex",
17
+ "gpt-5.1",
18
+ "gpt-5.1-codex-mini"
19
19
  ];
20
20
  export const DEFAULT_CODEX_MODEL = CODEX_MODELS[0];
21
21
  export const KIMI_MODELS = [
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Available model identifiers
3
3
  */
4
- export declare const AVAILABLE_MODELS: readonly ["Claude-Sonnet-4.5", "gpt-5.2", "gpt-5.2-chat", "gpt-5.2-pro", "GPT-4o", "Claude-3.5-Sonnet", "gpt-5.2"];
4
+ export declare const AVAILABLE_MODELS: readonly ["Claude-Sonnet-4.5", "gpt-5.2", "gpt-5.2-chat", "gpt-5.2-pro", "gpt-4o", "Claude-3.5-Sonnet", "gpt-5.2"];
5
5
  export type ModelIdentifier = (typeof AVAILABLE_MODELS)[number];
6
6
  /**
7
7
  * Strategy types for model selection
@@ -11,7 +11,7 @@ export const AVAILABLE_MODELS = [
11
11
  "gpt-5.2",
12
12
  "gpt-5.2-chat",
13
13
  "gpt-5.2-pro",
14
- "GPT-4o",
14
+ "gpt-4o",
15
15
  "Claude-3.5-Sonnet",
16
16
  DEFAULT_CODEX_MODEL,
17
17
  ];
@@ -61,9 +61,9 @@ export class SmartStrategy {
61
61
  return CLAUDE_DEFAULT_MODEL;
62
62
  }
63
63
  if (context.messageType === "chat") {
64
- // Use GPT-4o for general chat
65
- this.lastModel = "GPT-4o";
66
- return "GPT-4o";
64
+ // Use gpt-4o for general chat
65
+ this.lastModel = "gpt-4o";
66
+ return "gpt-4o";
67
67
  }
68
68
  // Default to Claude
69
69
  this.lastModel = CLAUDE_DEFAULT_MODEL;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "poe-code",
3
- "version": "2.0.17",
3
+ "version": "2.0.18",
4
4
  "description": "CLI tool to configure Poe API for developer workflows.",
5
5
  "type": "module",
6
6
  "scripts": {