opencode-immune 1.0.38 → 1.0.39
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 +8 -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.39";
|
|
15
15
|
const PLUGIN_PACKAGE_NAME = "opencode-immune";
|
|
16
16
|
/**
|
|
17
17
|
* Read plugin version from package.json at runtime.
|
|
@@ -294,6 +294,13 @@ function isRetryableApiError(error) {
|
|
|
294
294
|
message.includes("timeout") ||
|
|
295
295
|
message.includes("sse read") ||
|
|
296
296
|
message.includes("stream error") ||
|
|
297
|
+
// Certificate/TLS provider failures must pass this primary retry gate
|
|
298
|
+
// before the managed-session fallback model branch can run.
|
|
299
|
+
message.includes("unknown certificate verification error") ||
|
|
300
|
+
message.includes("certificate has expired") ||
|
|
301
|
+
message.includes("certificate verification") ||
|
|
302
|
+
message.includes("tls") ||
|
|
303
|
+
message.includes("ssl") ||
|
|
297
304
|
message.includes("connection reset") ||
|
|
298
305
|
message.includes("socket hang up") ||
|
|
299
306
|
message.includes("aborted")) {
|