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 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.readFileSync(filePath);
1841
+ const imageBuffer = await fs5.promises.readFile(filePath);
1842
1842
  return {
1843
1843
  content: [{
1844
1844
  type: "image",
@@ -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.readFileSync(filePath);
1550
+ const imageBuffer = await fs4.promises.readFile(filePath);
1551
1551
  return {
1552
1552
  content: [{
1553
1553
  type: "image",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "junis",
3
- "version": "0.3.6",
3
+ "version": "0.3.7",
4
4
  "description": "One-line device control for AI agents",
5
5
  "type": "module",
6
6
  "bin": {