Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 36 additions & 36 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
"dependencies": {
"@anthropic-ai/sdk": "^0.82.0",
"@devcontainers/cli": "0.88.0",
"@github/copilot-sdk": "1.0.17-preview.5",
"@github/copilot-sdk": "1.0.17-preview.8",
"@microsoft/1ds-core-js": "^3.2.13",
"@microsoft/1ds-post-js": "^3.2.13",
"@microsoft/dev-tunnels-connections": "^1.3.41",
Expand Down Expand Up @@ -248,8 +248,8 @@
"istanbul-lib-report": "^3.0.0",
"istanbul-lib-source-maps": "^4.0.1",
"istanbul-reports": "^3.1.5",
"json-schema-to-typescript": "16.0.0",
"js-yaml": "^4.2.0",
"json-schema-to-typescript": "16.0.0",
"lazy.js": "^0.4.2",
"merge-options": "^1.0.1",
"mime": "^1.4.1",
Expand Down Expand Up @@ -326,5 +326,5 @@
"@vscode/windows-ca-certs@0.3.4": true,
"@vscode/windows-process-tree@0.8.0": true
},
"copilotRuntimeVersion": "1.0.92-5"
"copilotRuntimeVersion": "1.0.93-2"
}
72 changes: 36 additions & 36 deletions remote/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions remote/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"dependencies": {
"@devcontainers/cli": "0.88.0",
"@github/copilot-sdk": "1.0.17-preview.5",
"@github/copilot-sdk": "1.0.17-preview.8",
"@microsoft/1ds-core-js": "^3.2.13",
"@microsoft/1ds-post-js": "^3.2.13",
"@microsoft/mxc-sdk": "0.9.0",
Expand Down Expand Up @@ -79,5 +79,5 @@
"@vscode/windows-ca-certs@0.3.4": true,
"@vscode/windows-process-tree@0.8.0": true
},
"copilotRuntimeVersion": "1.0.92-5"
"copilotRuntimeVersion": "1.0.93-2"
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ export type McpServerSource =
| 'workspace' // Defined in workspace-level configuration.
| 'plugin' // Contributed by a plugin.
| 'builtin' // Bundled with the provider.
| 'managed'; // Supplied by a trusted host-managed catalog.
| 'managed' // Supplied by a trusted host-managed catalog.
| 'account'; // Contributed by a signed-in account.

/** Reads the runtime-reported configuration source, independently of the server's lifecycle state. */
export function readMcpServerSource(customization: McpServerCustomization | undefined): McpServerSource | undefined {
Expand All @@ -27,6 +28,7 @@ export function readMcpServerSource(customization: McpServerCustomization | unde
case 'plugin':
case 'builtin':
case 'managed':
case 'account':
return source;
default:
return undefined;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,15 +151,15 @@ suite('Agent host _meta readers', () => {

assert.deepStrictEqual({
sources: [
...(['user', 'workspace', 'plugin', 'builtin', 'managed'] as const).map(source => readMcpServerSource(server(withMcpServerSourceMeta(undefined, source)))),
...(['user', 'workspace', 'plugin', 'builtin', 'managed', 'account'] as const).map(source => readMcpServerSource(server(withMcpServerSourceMeta(undefined, source)))),
...[undefined, 'unknown', 1, {}, ['user']].map(source => readMcpServerSource(server({ 'agentHost.mcpServerSource': source }))),
readMcpServerSource(server(undefined)),
],
displayNames: [' Mail ', '', 'x'.repeat(513), 1].map(displayName => readMcpServerDisplayName(server({ 'vscode.mcpServerDisplayName': displayName }))),
merged,
unchanged: withMcpServerSourceMeta(opaque, undefined) === opaque,
}, {
sources: ['user', 'workspace', 'plugin', 'builtin', 'managed', undefined, undefined, undefined, undefined, undefined, undefined],
sources: ['user', 'workspace', 'plugin', 'builtin', 'managed', 'account', undefined, undefined, undefined, undefined, undefined, undefined],
displayNames: ['Mail', undefined, undefined, undefined],
merged: { 'test.opaque': 'kept', 'agentHost.mcpServerSource': 'user', 'vscode.mcpServerDisplayName': 'Mail' },
unchanged: true,
Expand Down
Loading