@barnaby.build/barnaby 0.0.243 → 0.0.244

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.
@@ -16789,7 +16789,13 @@ M.handle("agentorchestrator:savePastedImage", async (e, t, r) => {
16789
16789
  });
16790
16790
  M.handle("agentorchestrator:listWorkspaceTree", async (e, t, r) => sP(t, r));
16791
16791
  M.handle("agentorchestrator:readWorkspaceFile", async (e, t, r) => oP(t, r));
16792
- M.handle("agentorchestrator:readWorkspaceTextFile", async (e, t, r) => iP(t, r));
16792
+ M.handle("agentorchestrator:readWorkspaceTextFile", async (e, t, r) => {
16793
+ try {
16794
+ return iP(t, r);
16795
+ } catch {
16796
+ return { relativePath: r ?? "", size: 0, binary: !1, content: "", notFound: !0 };
16797
+ }
16798
+ });
16793
16799
  M.handle("agentorchestrator:writeWorkspaceFile", async (e, t, r, n) => aP(t, r, n));
16794
16800
  M.handle("agentorchestrator:openWorkspacePathInExplorer", async (e, t, r) => cP(t, r));
16795
16801
  M.handle("agentorchestrator:deleteWorkspaceFile", async (e, t, r) => lP(t, r));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@barnaby.build/barnaby",
3
3
  "productName": "Barnaby",
4
- "version": "0.0.243",
4
+ "version": "0.0.244",
5
5
  "main": "dist-electron/main/index.js",
6
6
  "bin": {
7
7
  "barnaby": "bin/barnaby.cjs"
@@ -80,7 +80,7 @@
80
80
  "@codemirror/lang-sql": "^6.10.0",
81
81
  "@codemirror/lang-xml": "^6.1.0",
82
82
  "@codemirror/lang-yaml": "^6.1.2",
83
- "@google/genai": "^1.42.0",
83
+ "@google/genai": "^1.45.0",
84
84
  "@modelcontextprotocol/sdk": "^1.27.0",
85
85
  "@types/react-syntax-highlighter": "^15.5.13",
86
86
  "@uiw/codemirror-theme-vscode": "^4.25.5",
@@ -88,7 +88,6 @@
88
88
  "@xterm/addon-fit": "^0.11.0",
89
89
  "@xterm/xterm": "^5.3.0",
90
90
  "barnaby": "^0.2.0",
91
- "electron-updater": "^6.3.9",
92
91
  "react-markdown": "^10.1.0",
93
92
  "react-resizable-panels": "^4.6.4",
94
93
  "react-syntax-highlighter": "^16.1.0",
@@ -97,6 +96,7 @@
97
96
  },
98
97
  "optionalDependencies": {
99
98
  "electron": "^40.6.0",
99
+ "electron-updater": "^6.3.9",
100
100
  "node-pty": "^1.0.0"
101
101
  },
102
102
  "devDependencies": {