Skip to content

Commit e18f4df

Browse files
committed
fix: share error
1 parent 62c251c commit e18f4df

File tree

1 file changed

+17
-0
lines changed
  • apps/agent-tars/src/renderer/mock

1 file changed

+17
-0
lines changed

apps/agent-tars/src/renderer/mock/ipc.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,23 @@ export const createClient = () => ({
111111
runAgent: async () => {
112112
return 'Hello from mock agent';
113113
},
114+
115+
updateFileSystemSettings: async () => {
116+
return true;
117+
},
118+
119+
getSettings: async () => {
120+
return {
121+
model: {},
122+
fileSystem: {
123+
availableDirectories: ['/mock/path/to/allowed/directories'],
124+
},
125+
search: {},
126+
};
127+
},
128+
getAllowedDirectories: async () => {
129+
return ['/mock/path/to/allowed/directories'];
130+
},
114131
});
115132

116133
declare global {

0 commit comments

Comments
 (0)