opencode-see-image 0.5.6 → 0.5.7
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/index.ts +3 -7
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -449,15 +449,11 @@ async function maybeAutoUpdate(
|
|
|
449
449
|
}
|
|
450
450
|
}
|
|
451
451
|
|
|
452
|
+
log(`update applied: ${current} -> ${latest}; restart opencode to load`, "info")
|
|
452
453
|
try {
|
|
453
|
-
await client?.tui?.showToast?.({
|
|
454
|
-
body: {
|
|
455
|
-
message: `${PKG_NAME} updated to ${latest}, restart opencode to apply`,
|
|
456
|
-
variant: "success",
|
|
457
|
-
},
|
|
458
|
-
})
|
|
454
|
+
await client?.tui?.showToast?.({ body: { message: `${PKG_NAME} updated to ${latest}, restart opencode to apply`, variant: "success" } })
|
|
459
455
|
} catch {
|
|
460
|
-
|
|
456
|
+
// toast is non-critical, log already captured
|
|
461
457
|
}
|
|
462
458
|
}
|
|
463
459
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-see-image",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.7",
|
|
4
4
|
"description": "Give non-vision opencode models the ability to see images/screenshots by routing them to a vision-capable model (MiniMax M3 via opencode-go by default).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.ts",
|