* AccountPolicyService
Expects product.json value 'defaultAccount.chatUrl'
* tidy up reading token
* Register 'extensionConfigurationPolicy' for relevant configuration
Also needed to move some types around to use IPolicy
* for demo set convention that accountpolicyservice looks at Copilot* policy
* register extension policy 'configurationExtensionPoint'
* rename entitlements
* implement previewFeature in IPolicy
* unused import
* add type for IPolicy.defaultValue?
* always initialize AccountPolicyService in desktop.main
* remove unused import
* make defaultAccountRequests in parallel
* initialization of defaultACcount in accountPolicy
* initialize policy in multiplexservice, only update when needed, and detect duplicates
* Apply suggestions from code review
Co-authored-by: Sandeep Somavarapu <sasomava@microsoft.com>
* consistent naming in defaultAccount
* fix type in PolicyDefinition
* formatting missed from gh code review commit
* simply insertion of extensionConfigurationPolicy
* Add preview policy
* update policy
* reload fixes
* update distro (https://github.com/microsoft/vscode-distro/pull/1105)
---------
Co-authored-by: Sandeep Somavarapu <sasomava@microsoft.com>
* mcp: support sse
Didn't seem like Claude Desktop configs have SSE support yet, but I did
the obvious of having an object with a `url`. I also added a `type`
(optional for stdio) so we can better disambiguate types of configs.
Example .vscode/mcp.json:
```
{
"servers": {
"everything": {
"type": "sse",
"url": "http://localhost:3001/sse"
}
}
}
```
Closes#243242
* update layer check
* generate configuration policy and manifests
* add darwin pipeline job
* argument for per-platform generation of policy
* adopt argument in pipeline
* formatting tweaks in generated profile (+ check in .js file)
* tidy up output plists
* copy policy definitions
* implement the remaining renderProfileValue()
* remove unnecessary platform option
* copy to .app in vscode-darwin-$PLATFORM-min-ci gulp task
* add darwinProfileUUID and darwinProfilePayloadUUID to product.json
* better way to package in gulp script
* bump distro commit (c3ec5ba485)
* Add bundles policy paths to macOS universal build 'filesToSkip'
Needs this when creating universal macOS app:
Expected all non-binary files to have identical SHAs when creating a universal build
but "Contents/Resources/app/policies/cs-cz/com.microsoft.VSCodeInsiders.plist" did not
See:
298a872f5f/src/index.ts (L163-L172)
chat: allow referencing and dragging in diagnostics
- There is a new proposal which adds `ChatReferenceDiagnostic` as a
prompt reference type
- You can now pick "Problems..." as part of the chat attachment context
- You can drag and drop files and individual diagnostics from the
Problems view into chat. Previously trying to do this would just
attach the file.