opencode-see-image 0.8.5 → 0.8.6

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.
Files changed (2) hide show
  1. package/index.ts +1 -1
  2. package/package.json +1 -1
package/index.ts CHANGED
@@ -231,7 +231,7 @@ async function seeImageViaSDK(
231
231
  fs.writeFileSync(tmpPath, Buffer.from(b64, "base64"))
232
232
  } catch {}
233
233
 
234
- const fileUrl = `file://${tmpPath}`
234
+ const fileUrl = tmpPath
235
235
  let result: { text: string; model: string; provider: string } | undefined
236
236
 
237
237
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-see-image",
3
- "version": "0.8.5",
3
+ "version": "0.8.6",
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",