* Fix isCustomTeamDefaultValue type guard to check all required properties
The type guard was only checking for 'defaultValue' and 'teamDefaultValue'
properties, allowing objects missing 'owner' and 'expirationDate' to pass
the check. This caused runtime errors when accessing expirationDate on
incomplete objects.
Now checks for all four required properties of CustomTeamDefaultValue<T>.
* chat-lib: update package to match main package.json
* exp: add a filter for team members
* fix test
* fix formatting
* lint-staged: fix: do not lint if there're no files to lint
otherwise, all files in workspace are linted which just causes headache for the committer
* fix test
* First Cut of Validating token endpoint payload
To help us get to the bottom of https://github.com/microsoft/vscode/issues/283560
* Include required properties fallback
* fix chat lib tests
* Fix other tests
* fetcherService: change `FetchOptions#json` to be `unknown` instead of `any` and document it
* completionsFetchService: don't use `any`
* completionsFetchService: less logic within service
try reducing logic such that the service's easier to evolve
* completionsFetchService: refactor: cleanup
* address comments
* fix ci
* Include inline completions in @vscode/chat-lib
* Follow type imports, * exports without "as", and jsxImportSource pragmas for dependency extraction
* update @vscode/chat-lib test configuration
* update chat lib extraction with new path and add context setup for lib
* initial stubs for inline completions test
* round trip test for getInlineCompletions
* remove unused path mappings
* fix type import
* send only original event names for chat-lib telemetry
* fix wasm loading in chat-lib
* have locateFile default to the current dir if the expected parent directory cannot be found
* update to use service injection with completions in chat-lib
* update citation and ExP handling for completions in chat-lib
* hook up enhanced telemetry for chat-lib
* add missing tsx package
* update post-install script to work with pre-built and unbuilt versions of chat-lib and add missing completions dependencies
* remove unneeded try/catch block
* correct typo
* generate package-lock from correct npm version
---------
Co-authored-by: Christof Marti <chrmarti@microsoft.com>
* Extract chat lib
* Extract chat lib
* Add test
* Get test working
* Simulate response
* Fix type issue
* Package
* Cleanup
* Tuck away workspace service
* Include package.json
* Ensure shim is used
* Include tiktoken files in package
* Update @vscode/copilot-api
* Ignore chat-lib