devez-vibe 1.5.21 → 1.5.22
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/bin/dvz.exe +0 -0
- package/bridge/claude-agent-sdk-bridge.mjs +11 -3
- package/package.json +1 -1
package/bin/dvz.exe
CHANGED
|
Binary file
|
|
@@ -149,7 +149,13 @@ function modelCapabilities(models, model) {
|
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
function opus48Capabilities(models, existing = {}) {
|
|
152
|
-
|
|
152
|
+
// The CLI now exposes the Opus alias as `opus[1m]` (and only `default`
|
|
153
|
+
// resolves to it), so an exact `value === "opus"` match finds nothing and the
|
|
154
|
+
// synthesized Opus 4.8 row loses supportsAutoMode/supportsFastMode. Match the
|
|
155
|
+
// Opus family instead, falling back to `default`.
|
|
156
|
+
const opus = models.find((model) => String(model.value || "").toLowerCase().startsWith("opus"))
|
|
157
|
+
|| models.find((model) => model.value === "default")
|
|
158
|
+
|| {};
|
|
153
159
|
const opusEfforts = Array.isArray(opus.supportedEffortLevels)
|
|
154
160
|
? opus.supportedEffortLevels
|
|
155
161
|
: [];
|
|
@@ -2874,11 +2880,12 @@ async function runSelfTest() {
|
|
|
2874
2880
|
}
|
|
2875
2881
|
const catalogModels = [
|
|
2876
2882
|
{
|
|
2877
|
-
value: "opus",
|
|
2878
|
-
resolvedModel: "claude-opus-5",
|
|
2883
|
+
value: "opus[1m]",
|
|
2884
|
+
resolvedModel: "claude-opus-5[1m]",
|
|
2879
2885
|
displayName: "Opus 5",
|
|
2880
2886
|
supportsEffort: true,
|
|
2881
2887
|
supportedEffortLevels: ["high", "max"],
|
|
2888
|
+
supportsAutoMode: true,
|
|
2882
2889
|
},
|
|
2883
2890
|
{ value: "sonnet", resolvedModel: "claude-sonnet-5", displayName: "Sonnet 5" },
|
|
2884
2891
|
{
|
|
@@ -2893,6 +2900,7 @@ async function runSelfTest() {
|
|
|
2893
2900
|
if (catalog[0]?.displayName !== "Opus 5"
|
|
2894
2901
|
|| catalog[1]?.displayName !== "Opus 4.8"
|
|
2895
2902
|
|| catalog[1]?.model !== "claude:claude-opus-4-8"
|
|
2903
|
+
|| catalog[1]?.supportsAutoMode !== true
|
|
2896
2904
|
|| catalog[1]?.supportedReasoningEfforts?.[1]?.reasoningEffort !== "max"
|
|
2897
2905
|
|| supportedEffort(
|
|
2898
2906
|
modelCapabilities(catalogModels, "claude:claude-opus-4-8"),
|