@lvce-editor/chat-tool-worker 9.0.0 → 9.1.0

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.
@@ -2015,21 +2015,16 @@ const executeListFilesTool = async (args, _options) => {
2015
2015
  }
2016
2016
  if (uri === 'file:///workspace' || uri.startsWith('file:///workspace/')) {
2017
2017
  return {
2018
- error: 'Invalid argument: uri must be a real workspace folder URI. Call getWorkspaceUri first and use the returned workspaceUri value.',
2019
- uri
2018
+ error: 'Invalid argument: uri must be a real workspace folder URI. Call getWorkspaceUri first and use the returned workspaceUri value.'
2020
2019
  };
2021
2020
  }
2022
2021
  try {
2023
2022
  const entries = await invoke$1('FileSystem.readDirWithFileTypes', uri);
2024
2023
  return {
2025
- entries: entries.map(mapEntry),
2026
- uri
2024
+ entries: entries.map(mapEntry)
2027
2025
  };
2028
2026
  } catch (error) {
2029
- return {
2030
- ...getToolErrorPayload(error),
2031
- uri
2032
- };
2027
+ return getToolErrorPayload(error);
2033
2028
  }
2034
2029
  };
2035
2030
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/chat-tool-worker",
3
- "version": "9.0.0",
3
+ "version": "9.1.0",
4
4
  "description": "Chat Tool Worker",
5
5
  "repository": {
6
6
  "type": "git",