@kenkaiiii/gg-ai 5.96.2 → 5.97.0

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/README.md CHANGED
@@ -78,7 +78,7 @@ gg-ai makes one model call. To run the tools and send results back until the mod
78
78
 
79
79
  | Provider | Built-in models | Notes |
80
80
  | ------------- | --------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
81
- | `anthropic` | Claude Fable 5.1, Opus 5.5, Sonnet 5.5, Haiku 5.5 | Extended thinking, prompt caching, server-side compaction |
81
+ | `anthropic` | Claude Fable 5.2, Opus 5.5, Sonnet 5.5, Haiku 5.5 | Extended thinking, prompt caching, server-side compaction |
82
82
  | `openai` | GPT-6 Astra, GPT-6.1 Sol, GPT-6.1 Terra, GPT-6 Luna | Responses API. API key, or a ChatGPT plan token plus `accountId` (Sign in with ChatGPT) |
83
83
  | `gemini` | Gemini 3.1 Pro (Preview), 3.8 / 3.5 Flash, 3.5 / 3.1 Flash Lite | Google AI Studio key on the public Gemini API. Native video input |
84
84
  | `xai` | Grok 4.7 | API key |
package/dist/index.cjs CHANGED
@@ -91,7 +91,7 @@ module.exports = __toCommonJS(index_exports);
91
91
  // src/fast-mode.ts
92
92
  var FAST_MODE_SUFFIX = "-fast";
93
93
  var FAST_MODE_BASE_MODELS = {
94
- anthropic: ["claude-opus-5-5"],
94
+ anthropic: ["claude-fable-5-2", "claude-opus-5-5"],
95
95
  openai: ["gpt-6-astra", "gpt-6.1-sol", "gpt-6.1-terra", "gpt-6-luna"]
96
96
  };
97
97
  function resolveFastModeModel(provider, model) {
@@ -102,7 +102,7 @@ function resolveFastModeModel(provider, model) {
102
102
  var FAST_MODE_REJECTION_HEADER = "anthropic-ratelimit-unified-overage-disabled-reason";
103
103
  var FAST_MODE_REJECTION_PREFIX = "Fast mode unavailable";
104
104
  var USAGE_PAGE = "claude.ai/settings/usage";
105
- var STANDARD_SPEED_FALLBACK = "or switch to Claude Opus 5.5 (standard speed), which uses your plan";
105
+ var STANDARD_SPEED_FALLBACK = "or switch to the same model without Fast (standard speed), which uses your plan";
106
106
  function describeFastModeRejection(reason) {
107
107
  const code = reason?.trim() || "unknown";
108
108
  const of = (headline, guidance, kind) => ({ reason: code, headline, guidance, kind });
@@ -316,7 +316,7 @@ function formatError(err) {
316
316
  provider: err.provider,
317
317
  statusCode: err.statusCode,
318
318
  ...err.requestId ? { requestId: err.requestId } : {},
319
- guidance: "Request access via your Anthropic account team (see platform.claude.com/docs/en/about-claude/models/overview), or switch to Claude Fable 5.1 via the model selector \u2014 same underlying model, generally available."
319
+ guidance: "Request access via your Anthropic account team (see platform.claude.com/docs/en/about-claude/models/overview), or switch to Claude Fable 5.2 via the model selector \u2014 same underlying model, generally available."
320
320
  };
321
321
  }
322
322
  const fastRejection = err.provider === "anthropic" ? parseFastModeRejection(err.message) : void 0;