Sign In Sign Up

Optimize observeThreadGuidanceFiles return type

Make observeThreadGuidanceFiles return Omit<ResolvedGuidanceFile, 'content'>[] and remove that field from its return value, and update the tests. Note that it is omitted because this is used in places that do not need the file contents, and this saves on data transferred over the webview API.

I'll help you modify observeThreadGuidanceFiles to omit the content field and update the tests accordingly.

Updated TODOs
Updated TODOs
Updated TODOs

Now I'll modify the observeThreadGuidanceFiles function to return the type without the content field and update its implementation:

Now I need to update the implementation to map the resolved guidance files to exclude the content field:

Updated TODOs