@skj1724/oh-my-opencode 3.19.9 → 3.19.11
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/dist/cli/index.js +1 -1
- package/dist/index.js +17 -0
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -8467,7 +8467,7 @@ var import_picocolors2 = __toESM(require_picocolors(), 1);
|
|
|
8467
8467
|
// package.json
|
|
8468
8468
|
var package_default = {
|
|
8469
8469
|
name: "@skj1724/oh-my-opencode",
|
|
8470
|
-
version: "3.19.
|
|
8470
|
+
version: "3.19.11",
|
|
8471
8471
|
description: "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
|
|
8472
8472
|
main: "dist/index.js",
|
|
8473
8473
|
types: "dist/index.d.ts",
|
package/dist/index.js
CHANGED
|
@@ -24911,6 +24911,15 @@ function classifyProviderError(error) {
|
|
|
24911
24911
|
};
|
|
24912
24912
|
}
|
|
24913
24913
|
if (statusCode === 429) {
|
|
24914
|
+
if (isGenericQuotaMessage(message)) {
|
|
24915
|
+
return {
|
|
24916
|
+
category: "quota",
|
|
24917
|
+
retryable: false,
|
|
24918
|
+
shouldFallback: true,
|
|
24919
|
+
statusCode,
|
|
24920
|
+
reason: `Quota exceeded: ${message.substring(0, 100)}`
|
|
24921
|
+
};
|
|
24922
|
+
}
|
|
24914
24923
|
return {
|
|
24915
24924
|
category: "rate_limit",
|
|
24916
24925
|
retryable: true,
|
|
@@ -25025,6 +25034,14 @@ function createRuntimeFallbackHook(ctx, options) {
|
|
|
25025
25034
|
return false;
|
|
25026
25035
|
}
|
|
25027
25036
|
const classification = classifyProviderError(error);
|
|
25037
|
+
log("[runtime-fallback] DEBUG error classified", {
|
|
25038
|
+
category: classification.category,
|
|
25039
|
+
shouldFallback: classification.shouldFallback,
|
|
25040
|
+
errorType: typeof error,
|
|
25041
|
+
errorKeys: error && typeof error === "object" ? Object.keys(error) : [],
|
|
25042
|
+
messageSnippet: classification.reason?.substring(0, 100),
|
|
25043
|
+
sessionID
|
|
25044
|
+
});
|
|
25028
25045
|
if (classification.category === "context_overflow") {
|
|
25029
25046
|
return false;
|
|
25030
25047
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skj1724/oh-my-opencode",
|
|
3
|
-
"version": "3.19.
|
|
3
|
+
"version": "3.19.11",
|
|
4
4
|
"description": "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|