poe-code 3.0.81 → 3.0.82

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,7 +1,7 @@
1
1
  /**
2
2
  * Available model identifiers
3
3
  */
4
- export declare const AVAILABLE_MODELS: readonly ["anthropic/claude-sonnet-4.6", "gpt-5.2", "gpt-5.2-chat", "gpt-5.2-pro", "gpt-4o", "Claude-3.5-Sonnet", "openai/gpt-5.3-codex"];
4
+ export declare const AVAILABLE_MODELS: readonly ["anthropic/claude-sonnet-4.6", "gpt-5.4", "gpt-5.4-chat", "gpt-5.4-pro", "gpt-4o", "Claude-3.5-Sonnet", "openai/gpt-5.3-codex"];
5
5
  export type ModelIdentifier = (typeof AVAILABLE_MODELS)[number];
6
6
  /**
7
7
  * Strategy types for model selection
@@ -33,7 +33,7 @@ export interface ModelContext {
33
33
  previousModel?: string;
34
34
  }
35
35
  /**
36
- * Mixed strategy: alternates between gpt-5.2 and the default Claude model
36
+ * Mixed strategy: alternates between gpt-5.4 and the default Claude model
37
37
  */
38
38
  export declare class MixedStrategy implements ModelStrategy {
39
39
  private currentIndex;
@@ -8,19 +8,19 @@ const CLAUDE_DEFAULT_MODEL = DEFAULT_CLAUDE_CODE_MODEL;
8
8
  */
9
9
  export const AVAILABLE_MODELS = [
10
10
  CLAUDE_DEFAULT_MODEL,
11
- "gpt-5.2",
12
- "gpt-5.2-chat",
13
- "gpt-5.2-pro",
11
+ "gpt-5.4",
12
+ "gpt-5.4-chat",
13
+ "gpt-5.4-pro",
14
14
  "gpt-4o",
15
15
  "Claude-3.5-Sonnet",
16
16
  DEFAULT_CODEX_MODEL,
17
17
  ];
18
18
  /**
19
- * Mixed strategy: alternates between gpt-5.2 and the default Claude model
19
+ * Mixed strategy: alternates between gpt-5.4 and the default Claude model
20
20
  */
21
21
  export class MixedStrategy {
22
22
  currentIndex = 0;
23
- models = ["gpt-5.2", CLAUDE_DEFAULT_MODEL];
23
+ models = ["gpt-5.4", CLAUDE_DEFAULT_MODEL];
24
24
  getNextModel() {
25
25
  const model = this.models[this.currentIndex];
26
26
  this.currentIndex = (this.currentIndex + 1) % this.models.length;
@@ -30,7 +30,7 @@ export class MixedStrategy {
30
30
  return "mixed";
31
31
  }
32
32
  getDescription() {
33
- return `Alternates between gpt-5.2 and ${CLAUDE_DEFAULT_MODEL} on each call`;
33
+ return `Alternates between gpt-5.4 and ${CLAUDE_DEFAULT_MODEL} on each call`;
34
34
  }
35
35
  reset() {
36
36
  this.currentIndex = 0;
@@ -47,10 +47,10 @@ export class SmartStrategy {
47
47
  }
48
48
  // Smart selection based on context
49
49
  if (context.messageType === "code" || context.messageType === "reasoning") {
50
- // Use gpt-5.2 for complex coding and reasoning tasks
50
+ // Use gpt-5.4 for complex coding and reasoning tasks
51
51
  if (context.complexity === "complex") {
52
- this.lastModel = "gpt-5.2";
53
- return "gpt-5.2";
52
+ this.lastModel = "gpt-5.4";
53
+ return "gpt-5.4";
54
54
  }
55
55
  // Use Claude for medium complexity code
56
56
  this.lastModel = CLAUDE_DEFAULT_MODEL;
@@ -145,7 +145,7 @@ export class ModelStrategyFactory {
145
145
  return [
146
146
  {
147
147
  type: "mixed",
148
- description: `Alternate between gpt-5.2 and ${CLAUDE_DEFAULT_MODEL}`
148
+ description: `Alternate between gpt-5.4 and ${CLAUDE_DEFAULT_MODEL}`
149
149
  },
150
150
  { type: "smart", description: "Intelligently select based on task type" },
151
151
  { type: "fixed", description: "Always use the same model" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "poe-code",
3
- "version": "3.0.81",
3
+ "version": "3.0.82",
4
4
  "description": "CLI tool to configure Poe API for developer workflows.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",