opencode-immune 1.0.36 → 1.0.37
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/plugin.js +3 -1
- package/package.json +1 -1
package/dist/plugin.js
CHANGED
|
@@ -11,7 +11,7 @@ const child_process_1 = require("child_process");
|
|
|
11
11
|
// ═══════════════════════════════════════════════════════════════════════════════
|
|
12
12
|
// PLUGIN VERSION CHECK
|
|
13
13
|
// ═══════════════════════════════════════════════════════════════════════════════
|
|
14
|
-
const PLUGIN_VERSION = "1.0.
|
|
14
|
+
const PLUGIN_VERSION = "1.0.37";
|
|
15
15
|
const PLUGIN_PACKAGE_NAME = "opencode-immune";
|
|
16
16
|
/**
|
|
17
17
|
* Read plugin version from package.json at runtime.
|
|
@@ -263,6 +263,8 @@ function isRetryableApiError(error) {
|
|
|
263
263
|
const message = `${maybeError.message ?? ""} ${maybeError.data?.message ?? ""}`.toLowerCase();
|
|
264
264
|
if (message.includes("не разрешен") ||
|
|
265
265
|
message.includes("not allowed") ||
|
|
266
|
+
message.includes("internal error") ||
|
|
267
|
+
message.includes("internal server error") ||
|
|
266
268
|
message.includes("expected") ||
|
|
267
269
|
message.includes("to be a string") ||
|
|
268
270
|
message.includes("invalid_type") ||
|