junis 0.3.6 → 0.3.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/dist/cli/index.js +1 -1
- package/dist/server/mcp.js +1 -1
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -1838,7 +1838,7 @@ var DesktopTools = class {
|
|
|
1838
1838
|
const files = data?.files;
|
|
1839
1839
|
const filePath = files?.[0]?.path;
|
|
1840
1840
|
if (filePath) {
|
|
1841
|
-
const imageBuffer = fs5.
|
|
1841
|
+
const imageBuffer = await fs5.promises.readFile(filePath);
|
|
1842
1842
|
return {
|
|
1843
1843
|
content: [{
|
|
1844
1844
|
type: "image",
|
package/dist/server/mcp.js
CHANGED
|
@@ -1547,7 +1547,7 @@ var DesktopTools = class {
|
|
|
1547
1547
|
const files = data?.files;
|
|
1548
1548
|
const filePath = files?.[0]?.path;
|
|
1549
1549
|
if (filePath) {
|
|
1550
|
-
const imageBuffer = fs4.
|
|
1550
|
+
const imageBuffer = await fs4.promises.readFile(filePath);
|
|
1551
1551
|
return {
|
|
1552
1552
|
content: [{
|
|
1553
1553
|
type: "image",
|