opencode-immune 1.0.71 → 1.0.72
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/server.js +7 -3
- package/package.json +1 -1
package/dist/plugin/server.js
CHANGED
|
@@ -3777,7 +3777,7 @@ import { fileURLToPath } from "url";
|
|
|
3777
3777
|
import { createHash } from "crypto";
|
|
3778
3778
|
import { tmpdir } from "os";
|
|
3779
3779
|
import { execFile } from "child_process";
|
|
3780
|
-
var PLUGIN_VERSION = "1.0.
|
|
3780
|
+
var PLUGIN_VERSION = "1.0.72";
|
|
3781
3781
|
var PLUGIN_PACKAGE_NAME = "opencode-immune";
|
|
3782
3782
|
var PLUGIN_DIRNAME = dirname(fileURLToPath(import.meta.url));
|
|
3783
3783
|
function getServerAuthHeaders() {
|
|
@@ -3919,11 +3919,15 @@ var CHILD_SESSION_FALLBACK_MODEL = {
|
|
|
3919
3919
|
providerID: "claudehub",
|
|
3920
3920
|
modelID: "claude-opus-4-7"
|
|
3921
3921
|
};
|
|
3922
|
+
var HIGH_CAPABILITY_FALLBACK_MODELS = [
|
|
3923
|
+
{ providerID: "codexsale", modelID: "gpt-5.5" },
|
|
3924
|
+
{ providerID: "codexsale", modelID: "gpt-5.4" }
|
|
3925
|
+
];
|
|
3922
3926
|
var AUTO_CYCLE_LOCK_TTL_MS = 30 * 60 * 1e3;
|
|
3923
3927
|
var FALLBACK_MODEL_CANDIDATES = [
|
|
3924
3928
|
CHILD_SESSION_FALLBACK_MODEL,
|
|
3925
|
-
|
|
3926
|
-
|
|
3929
|
+
...HIGH_CAPABILITY_FALLBACK_MODELS,
|
|
3930
|
+
RATE_LIMIT_FALLBACK_MODEL
|
|
3927
3931
|
];
|
|
3928
3932
|
var FALLBACK_AGENT_SUFFIX = "-provider-fallback";
|
|
3929
3933
|
function isManagedUltraworkSession(state, sessionID) {
|