@opencode/ai 0.0.0-dev-1160 → 0.0.0-dev-1169

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.
@@ -120,7 +120,7 @@ const RATE_LIMIT_TEXT = /rate increased too quickly|rate[-_\s]?limit|too[_\s]?ma
120
120
  // Only consulted on 429, where throttles and account caps share a status.
121
121
  // Z.ai reports balance, plan expiry, plan limits, and plan model access on 429.
122
122
  // Cerebras reports its per-minute token throttle as `token_quota_exceeded`; that is a rate limit.
123
- const QUOTA_TEXT = /insufficient[-_\s]?(?:quota|balance)|(?<!token_)quota[-_\s]?exceeded|budget exceeded|usage limit|limit exhausted|package has expired|plan does not yet include/i;
123
+ const QUOTA_TEXT = /insufficient[-_\s]?(?:quota|balance)|(?<!token_)quota[-_\s]?exceeded|budget exceeded|usage limit|(?<!rate[-_\s]?)limit exhausted|package has expired|plan does not yet include/i;
124
124
  // Policy rejections without a dedicated code, matched against the provider's own
125
125
  // explanation only. OpenAI reuses `invalid_prompt` for usage-policy rejections while
126
126
  // Bedrock Mantle reuses it for schema validation; Anthropic reports blocked output
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
- "version": "0.0.0-dev-1160",
3
+ "version": "0.0.0-dev-1169",
4
4
  "name": "@opencode/ai",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -576,7 +576,7 @@
576
576
  "devDependencies": {
577
577
  "@clack/prompts": "1.0.0-alpha.1",
578
578
  "@effect/platform-node": "4.1.0",
579
- "@opencode/http-recorder": "0.0.0-dev-1160",
579
+ "@opencode/http-recorder": "0.0.0-dev-1169",
580
580
  "@tsconfig/bun": "1.0.9",
581
581
  "@types/bun": "1.4.3",
582
582
  "@typescript/native": "npm:typescript@7.1.0-beta",
@@ -586,7 +586,7 @@
586
586
  "@aws-sdk/credential-providers": "3.1057.0",
587
587
  "@smithy/eventstream-codec": "4.2.14",
588
588
  "@smithy/util-utf8": "4.2.2",
589
- "@opencode/schema": "0.0.0-dev-1160",
589
+ "@opencode/schema": "0.0.0-dev-1169",
590
590
  "aws4fetch": "1.0.20",
591
591
  "effect": "4.1.0",
592
592
  "google-auth-library": "10.5.0"