@github/copilot-sdk-win32-x64 1.0.17-preview.4 → 1.0.17-preview.5
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.
- package/copilot-sdk/extension.js +7 -1
- package/copilot-sdk/generated/rpc.d.ts +121 -6
- package/copilot-sdk/generated/session-events.d.ts +1 -1
- package/copilot-sdk/index.js +7 -1
- package/package.json +1 -1
- package/prebuilds/win32-x64/copilot-runtime.exe +0 -0
- package/prebuilds/win32-x64/dpapi.node +0 -0
- package/prebuilds/win32-x64/msal-node-runtime.node +0 -0
- package/prebuilds/win32-x64/msalruntime.dll +0 -0
- package/prebuilds/win32-x64/runtime.node +2 -2
- package/ripgrep/bin/win32-x64/rg.exe +0 -0
- package/schemas/api.schema.json +190 -6
- package/schemas/session-events.schema.json +1 -1
- package/tgrep/bin/win32-x64/tgrep.exe +0 -0
package/copilot-sdk/extension.js
CHANGED
|
@@ -5972,11 +5972,17 @@ function createSessionRpc(connection, sessionId) {
|
|
|
5972
5972
|
/** @experimental */
|
|
5973
5973
|
mcp: {
|
|
5974
5974
|
/**
|
|
5975
|
-
* Lists MCP servers
|
|
5975
|
+
* Lists materialized MCP servers and their connection status. Cache misses may start and wait for MCP servers.
|
|
5976
5976
|
*
|
|
5977
5977
|
* @returns MCP servers configured for the session, with their connection status and host-level state.
|
|
5978
5978
|
*/
|
|
5979
5979
|
list: async () => connection.sendRequest("session.mcp.list", { sessionId }),
|
|
5980
|
+
/**
|
|
5981
|
+
* Lists effective MCP configuration without starting, restarting, authenticating, or waiting for servers. An optional live observation is from an already materialized matching server; this is not a readiness guarantee.
|
|
5982
|
+
*
|
|
5983
|
+
* @returns Effective MCP configuration with optional live observations from matching already materialized servers.
|
|
5984
|
+
*/
|
|
5985
|
+
listConfigured: async () => connection.sendRequest("session.mcp.listConfigured", { sessionId }),
|
|
5980
5986
|
/**
|
|
5981
5987
|
* Lists the tools exposed by a connected MCP server on this session's host. This performs a live `tools/list` request. Tool UI metadata is returned independently of whether MCP Apps rendering is enabled for the session.
|
|
5982
5988
|
*
|
|
@@ -15,7 +15,7 @@ export type JsonValue = null | boolean | number | string | JsonValue[] | {
|
|
|
15
15
|
* via the `definition` "AuthInfo".
|
|
16
16
|
*/
|
|
17
17
|
/** @experimental */
|
|
18
|
-
export type AuthInfo = HMACAuthInfo | EnvAuthInfo | TokenAuthInfo | TokenProviderAuthInfo | CopilotApiTokenAuthInfo | UserAuthInfo | GhCliAuthInfo | ApiKeyAuthInfo;
|
|
18
|
+
export type AuthInfo = HMACAuthInfo | EnvAuthInfo | TokenAuthInfo | TokenProviderAuthInfo | CopilotApiTokenAuthInfo | UserAuthInfo | AccountAuthInfo | GhCliAuthInfo | ApiKeyAuthInfo;
|
|
19
19
|
/**
|
|
20
20
|
* The provider kind stamped on a signed-in account.
|
|
21
21
|
*
|
|
@@ -383,6 +383,8 @@ export type AuthInfoType =
|
|
|
383
383
|
| "env"
|
|
384
384
|
/** Authentication from an interactive user sign-in. */
|
|
385
385
|
| "user"
|
|
386
|
+
/** Authentication from a selected provider-owned account, without a GitHub credential. */
|
|
387
|
+
| "account"
|
|
386
388
|
/** Authentication delegated to the GitHub CLI. */
|
|
387
389
|
| "gh-cli"
|
|
388
390
|
/** Authentication from an API key credential. */
|
|
@@ -445,17 +447,19 @@ export type AuthLoginStep = {
|
|
|
445
447
|
kind: "error";
|
|
446
448
|
};
|
|
447
449
|
/**
|
|
448
|
-
*
|
|
450
|
+
* Disposition of a login attempt, including pending user decisions.
|
|
449
451
|
*
|
|
450
452
|
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
451
453
|
* via the `definition` "AuthLoginResultStatus".
|
|
452
454
|
*/
|
|
453
455
|
/** @experimental */
|
|
454
456
|
export type AuthLoginResultStatus =
|
|
455
|
-
/** The credential was persisted and the account is signed in. */
|
|
457
|
+
/** The credential was persisted and the selected account is signed in. */
|
|
456
458
|
"completed"
|
|
457
459
|
/** Persistence needs explicit consent to store the token in plaintext. */
|
|
458
460
|
| "needs-plaintext-consent"
|
|
461
|
+
/** Credentials are saved; select an account using a returned selectionId as advance input to complete sign-in. */
|
|
462
|
+
| "needs-account-selection"
|
|
459
463
|
/** The user declined plaintext persistence. */
|
|
460
464
|
| "declined";
|
|
461
465
|
/**
|
|
@@ -4750,7 +4754,7 @@ export type SessionsClientMetadataEntry = {
|
|
|
4750
4754
|
* via the `definition` "SettableAuthInfo".
|
|
4751
4755
|
*/
|
|
4752
4756
|
/** @experimental */
|
|
4753
|
-
export type SettableAuthInfo = HMACAuthInfo | EnvAuthInfo | SettableTokenAuthInfo | CopilotApiTokenAuthInfo | UserAuthInfo | GhCliAuthInfo | ApiKeyAuthInfo;
|
|
4757
|
+
export type SettableAuthInfo = HMACAuthInfo | EnvAuthInfo | SettableTokenAuthInfo | CopilotApiTokenAuthInfo | UserAuthInfo | AccountAuthInfo | GhCliAuthInfo | ApiKeyAuthInfo;
|
|
4754
4758
|
/**
|
|
4755
4759
|
* Rust-owned settings predicates exposed across the SDK boundary. Raw feature-flag names are intentionally not part of the contract.
|
|
4756
4760
|
*
|
|
@@ -6405,6 +6409,27 @@ export interface UserAuthInfo {
|
|
|
6405
6409
|
login: string;
|
|
6406
6410
|
copilotUser?: CopilotUserResponse;
|
|
6407
6411
|
}
|
|
6412
|
+
/**
|
|
6413
|
+
* An interactive account whose model provider owns its credentials. It carries no GitHub credential.
|
|
6414
|
+
*
|
|
6415
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
6416
|
+
* via the `definition` "AccountAuthInfo".
|
|
6417
|
+
*/
|
|
6418
|
+
/** @experimental */
|
|
6419
|
+
export interface AccountAuthInfo {
|
|
6420
|
+
/**
|
|
6421
|
+
* Provider-owned account authentication.
|
|
6422
|
+
*/
|
|
6423
|
+
type: "account";
|
|
6424
|
+
/**
|
|
6425
|
+
* Host coordinate owned by the account's model provider.
|
|
6426
|
+
*/
|
|
6427
|
+
host: string;
|
|
6428
|
+
/**
|
|
6429
|
+
* Login identifying the provider-owned account.
|
|
6430
|
+
*/
|
|
6431
|
+
login: string;
|
|
6432
|
+
}
|
|
6408
6433
|
/**
|
|
6409
6434
|
* Authentication-info input variant for GitHub CLI credentials, carrying host, login, and the `gh auth token` value.
|
|
6410
6435
|
*
|
|
@@ -7121,6 +7146,28 @@ export interface AuthIdentityMetadata {
|
|
|
7121
7146
|
*/
|
|
7122
7147
|
login: string;
|
|
7123
7148
|
}
|
|
7149
|
+
/**
|
|
7150
|
+
* A credential-free account choice after sign-in.
|
|
7151
|
+
*
|
|
7152
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
7153
|
+
* via the `definition` "AuthLoginAccount".
|
|
7154
|
+
*/
|
|
7155
|
+
/** @experimental */
|
|
7156
|
+
export interface AuthLoginAccount {
|
|
7157
|
+
/**
|
|
7158
|
+
* Opaque identifier supplied to the next login step to select this account.
|
|
7159
|
+
*/
|
|
7160
|
+
selectionId: string;
|
|
7161
|
+
/**
|
|
7162
|
+
* Host coordinate owned by the selected account's provider.
|
|
7163
|
+
*/
|
|
7164
|
+
host: string;
|
|
7165
|
+
/**
|
|
7166
|
+
* Human-readable login for the account choice.
|
|
7167
|
+
*/
|
|
7168
|
+
login: string;
|
|
7169
|
+
kind: AccountKind;
|
|
7170
|
+
}
|
|
7124
7171
|
/**
|
|
7125
7172
|
* Advance an in-flight login flow, optionally fulfilling an input-required step.
|
|
7126
7173
|
*
|
|
@@ -7163,7 +7210,7 @@ export interface AuthLoginBegun {
|
|
|
7163
7210
|
step: AuthLoginStep;
|
|
7164
7211
|
}
|
|
7165
7212
|
/**
|
|
7166
|
-
*
|
|
7213
|
+
* Result of an interactive login flow. Pending consent or account selection is not terminal.
|
|
7167
7214
|
*
|
|
7168
7215
|
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
7169
7216
|
* via the `definition` "AuthLoginResultDto".
|
|
@@ -7179,6 +7226,10 @@ export interface AuthLoginResultDto {
|
|
|
7179
7226
|
* Login that was signed in, when completed.
|
|
7180
7227
|
*/
|
|
7181
7228
|
login?: string;
|
|
7229
|
+
/**
|
|
7230
|
+
* Available accounts when sign-in is awaiting account selection, ordered with Microsoft 365 first.
|
|
7231
|
+
*/
|
|
7232
|
+
accounts?: AuthLoginAccount[];
|
|
7182
7233
|
}
|
|
7183
7234
|
/**
|
|
7184
7235
|
* Cancel an in-flight login flow.
|
|
@@ -14268,6 +14319,64 @@ export interface McpConfigUpdateRequest {
|
|
|
14268
14319
|
name: string;
|
|
14269
14320
|
config: McpSerializableServerConfig;
|
|
14270
14321
|
}
|
|
14322
|
+
/**
|
|
14323
|
+
* Effective MCP configuration entry. Configuration enablement is distinct from the optional live observation.
|
|
14324
|
+
*
|
|
14325
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
14326
|
+
* via the `definition` "McpConfiguredServer".
|
|
14327
|
+
*/
|
|
14328
|
+
/** @experimental */
|
|
14329
|
+
export interface McpConfiguredServer {
|
|
14330
|
+
/**
|
|
14331
|
+
* Server name (config key)
|
|
14332
|
+
*/
|
|
14333
|
+
name: string;
|
|
14334
|
+
/**
|
|
14335
|
+
* Whether this configured server is enabled after session configuration and policy filtering.
|
|
14336
|
+
*/
|
|
14337
|
+
enabled: boolean;
|
|
14338
|
+
source?: McpServerSource;
|
|
14339
|
+
/**
|
|
14340
|
+
* Plugin name that provided this server, when source is plugin.
|
|
14341
|
+
*/
|
|
14342
|
+
sourcePlugin?: string;
|
|
14343
|
+
/**
|
|
14344
|
+
* Plugin version that provided this server, when source is plugin.
|
|
14345
|
+
*/
|
|
14346
|
+
sourcePluginVersion?: string;
|
|
14347
|
+
/**
|
|
14348
|
+
* Human-readable display name supplied by configuration.
|
|
14349
|
+
*/
|
|
14350
|
+
displayName?: string;
|
|
14351
|
+
live?: McpConfiguredServerState;
|
|
14352
|
+
}
|
|
14353
|
+
/**
|
|
14354
|
+
* Observational state for a matching already materialized MCP server.
|
|
14355
|
+
*
|
|
14356
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
14357
|
+
* via the `definition` "McpConfiguredServerState".
|
|
14358
|
+
*/
|
|
14359
|
+
/** @experimental */
|
|
14360
|
+
export interface McpConfiguredServerState {
|
|
14361
|
+
status: McpServerStatus;
|
|
14362
|
+
/**
|
|
14363
|
+
* Observed connection error, when the materialized server failed.
|
|
14364
|
+
*/
|
|
14365
|
+
error?: string;
|
|
14366
|
+
}
|
|
14367
|
+
/**
|
|
14368
|
+
* Effective MCP configuration with optional live observations from matching already materialized servers.
|
|
14369
|
+
*
|
|
14370
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
14371
|
+
* via the `definition` "McpConfiguredServerList".
|
|
14372
|
+
*/
|
|
14373
|
+
/** @experimental */
|
|
14374
|
+
export interface McpConfiguredServerList {
|
|
14375
|
+
/**
|
|
14376
|
+
* Effective configured MCP servers.
|
|
14377
|
+
*/
|
|
14378
|
+
servers: McpConfiguredServer[];
|
|
14379
|
+
}
|
|
14271
14380
|
/**
|
|
14272
14381
|
* Result of configuring GitHub MCP.
|
|
14273
14382
|
*
|
|
@@ -31428,11 +31537,17 @@ export declare function createSessionRpc(connection: MessageConnection, sessionI
|
|
|
31428
31537
|
/** @experimental */
|
|
31429
31538
|
mcp: {
|
|
31430
31539
|
/**
|
|
31431
|
-
* Lists MCP servers
|
|
31540
|
+
* Lists materialized MCP servers and their connection status. Cache misses may start and wait for MCP servers.
|
|
31432
31541
|
*
|
|
31433
31542
|
* @returns MCP servers configured for the session, with their connection status and host-level state.
|
|
31434
31543
|
*/
|
|
31435
31544
|
list: () => Promise<McpServerList>;
|
|
31545
|
+
/**
|
|
31546
|
+
* Lists effective MCP configuration without starting, restarting, authenticating, or waiting for servers. An optional live observation is from an already materialized matching server; this is not a readiness guarantee.
|
|
31547
|
+
*
|
|
31548
|
+
* @returns Effective MCP configuration with optional live observations from matching already materialized servers.
|
|
31549
|
+
*/
|
|
31550
|
+
listConfigured: () => Promise<McpConfiguredServerList>;
|
|
31436
31551
|
/**
|
|
31437
31552
|
* Lists the tools exposed by a connected MCP server on this session's host. This performs a live `tools/list` request. Tool UI metadata is returned independently of whether MCP Apps rendering is enabled for the session.
|
|
31438
31553
|
*
|
|
@@ -1378,7 +1378,7 @@ export type McpServerStatus =
|
|
|
1378
1378
|
| "pending"
|
|
1379
1379
|
/** The server is configured but disabled. */
|
|
1380
1380
|
| "disabled"
|
|
1381
|
-
/** The server
|
|
1381
|
+
/** The server is not running: it may not have started yet, may have been explicitly stopped, or may be quarantined by restrictive managed policy. It can be restarted on demand when policy permits. */
|
|
1382
1382
|
| "stopped"
|
|
1383
1383
|
/** The server is not configured for this session. */
|
|
1384
1384
|
| "not_configured";
|
package/copilot-sdk/index.js
CHANGED
|
@@ -5972,11 +5972,17 @@ function createSessionRpc(connection, sessionId) {
|
|
|
5972
5972
|
/** @experimental */
|
|
5973
5973
|
mcp: {
|
|
5974
5974
|
/**
|
|
5975
|
-
* Lists MCP servers
|
|
5975
|
+
* Lists materialized MCP servers and their connection status. Cache misses may start and wait for MCP servers.
|
|
5976
5976
|
*
|
|
5977
5977
|
* @returns MCP servers configured for the session, with their connection status and host-level state.
|
|
5978
5978
|
*/
|
|
5979
5979
|
list: async () => connection.sendRequest("session.mcp.list", { sessionId }),
|
|
5980
|
+
/**
|
|
5981
|
+
* Lists effective MCP configuration without starting, restarting, authenticating, or waiting for servers. An optional live observation is from an already materialized matching server; this is not a readiness guarantee.
|
|
5982
|
+
*
|
|
5983
|
+
* @returns Effective MCP configuration with optional live observations from matching already materialized servers.
|
|
5984
|
+
*/
|
|
5985
|
+
listConfigured: async () => connection.sendRequest("session.mcp.listConfigured", { sessionId }),
|
|
5980
5986
|
/**
|
|
5981
5987
|
* Lists the tools exposed by a connected MCP server on this session's host. This performs a live `tools/list` request. Tool UI metadata is returned independently of whether MCP Apps rendering is enabled for the session.
|
|
5982
5988
|
*
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
[diffend] Oversized file quarantined before diffing.
|
|
2
2
|
name: package/prebuilds/win32-x64/runtime.node
|
|
3
|
-
size:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 107126048 bytes
|
|
4
|
+
sha256: 144ede5b5f9f80d9f748663abe5d1b9e4e088965b607e801bb53cc435d4eea42
|
|
Binary file
|
package/schemas/api.schema.json
CHANGED
|
@@ -5824,7 +5824,7 @@
|
|
|
5824
5824
|
"mcp": {
|
|
5825
5825
|
"list": {
|
|
5826
5826
|
"rpcMethod": "session.mcp.list",
|
|
5827
|
-
"description": "Lists MCP servers
|
|
5827
|
+
"description": "Lists materialized MCP servers and their connection status. Cache misses may start and wait for MCP servers.",
|
|
5828
5828
|
"params": {
|
|
5829
5829
|
"type": "object",
|
|
5830
5830
|
"properties": {
|
|
@@ -5845,6 +5845,29 @@
|
|
|
5845
5845
|
},
|
|
5846
5846
|
"stability": "experimental"
|
|
5847
5847
|
},
|
|
5848
|
+
"listConfigured": {
|
|
5849
|
+
"rpcMethod": "session.mcp.listConfigured",
|
|
5850
|
+
"description": "Lists effective MCP configuration without starting, restarting, authenticating, or waiting for servers. An optional live observation is from an already materialized matching server; this is not a readiness guarantee.",
|
|
5851
|
+
"params": {
|
|
5852
|
+
"type": "object",
|
|
5853
|
+
"properties": {
|
|
5854
|
+
"sessionId": {
|
|
5855
|
+
"type": "string",
|
|
5856
|
+
"description": "Target session identifier"
|
|
5857
|
+
}
|
|
5858
|
+
},
|
|
5859
|
+
"required": [
|
|
5860
|
+
"sessionId"
|
|
5861
|
+
],
|
|
5862
|
+
"additionalProperties": false,
|
|
5863
|
+
"description": "Identifies the target session."
|
|
5864
|
+
},
|
|
5865
|
+
"result": {
|
|
5866
|
+
"$ref": "#/definitions/McpConfiguredServerList",
|
|
5867
|
+
"description": "Effective MCP configuration with optional live observations from matching already materialized servers."
|
|
5868
|
+
},
|
|
5869
|
+
"stability": "experimental"
|
|
5870
|
+
},
|
|
5848
5871
|
"listTools": {
|
|
5849
5872
|
"rpcMethod": "session.mcp.listTools",
|
|
5850
5873
|
"description": "Lists the tools exposed by a connected MCP server on this session's host. This performs a live `tools/list` request. Tool UI metadata is returned independently of whether MCP Apps rendering is enabled for the session.",
|
|
@@ -13895,6 +13918,32 @@
|
|
|
13895
13918
|
"description": "Authenticated account entry returned by `account.getAllUsers`.",
|
|
13896
13919
|
"title": "AccountAllUsers"
|
|
13897
13920
|
},
|
|
13921
|
+
"AccountAuthInfo": {
|
|
13922
|
+
"type": "object",
|
|
13923
|
+
"properties": {
|
|
13924
|
+
"type": {
|
|
13925
|
+
"type": "string",
|
|
13926
|
+
"const": "account",
|
|
13927
|
+
"description": "Provider-owned account authentication."
|
|
13928
|
+
},
|
|
13929
|
+
"host": {
|
|
13930
|
+
"type": "string",
|
|
13931
|
+
"description": "Host coordinate owned by the account's model provider."
|
|
13932
|
+
},
|
|
13933
|
+
"login": {
|
|
13934
|
+
"type": "string",
|
|
13935
|
+
"description": "Login identifying the provider-owned account."
|
|
13936
|
+
}
|
|
13937
|
+
},
|
|
13938
|
+
"required": [
|
|
13939
|
+
"type",
|
|
13940
|
+
"host",
|
|
13941
|
+
"login"
|
|
13942
|
+
],
|
|
13943
|
+
"additionalProperties": false,
|
|
13944
|
+
"description": "An interactive account whose model provider owns its credentials. It carries no GitHub credential.",
|
|
13945
|
+
"title": "AccountAuthInfo"
|
|
13946
|
+
},
|
|
13898
13947
|
"AccountGetCurrentAuthResult": {
|
|
13899
13948
|
"type": "object",
|
|
13900
13949
|
"properties": {
|
|
@@ -15967,6 +16016,10 @@
|
|
|
15967
16016
|
"$ref": "#/definitions/UserAuthInfo",
|
|
15968
16017
|
"description": "Authentication-info variant for OAuth user auth, with host and login; the token remains in the runtime secret store."
|
|
15969
16018
|
},
|
|
16019
|
+
{
|
|
16020
|
+
"$ref": "#/definitions/AccountAuthInfo",
|
|
16021
|
+
"description": "An interactive account whose model provider owns its credentials. It carries no GitHub credential."
|
|
16022
|
+
},
|
|
15970
16023
|
{
|
|
15971
16024
|
"$ref": "#/definitions/GhCliAuthInfo",
|
|
15972
16025
|
"description": "Authentication-info input variant for GitHub CLI credentials, carrying host, login, and the `gh auth token` value."
|
|
@@ -15985,6 +16038,7 @@
|
|
|
15985
16038
|
"hmac",
|
|
15986
16039
|
"env",
|
|
15987
16040
|
"user",
|
|
16041
|
+
"account",
|
|
15988
16042
|
"gh-cli",
|
|
15989
16043
|
"api-key",
|
|
15990
16044
|
"token",
|
|
@@ -15997,6 +16051,7 @@
|
|
|
15997
16051
|
"hmac": "Authentication provided by a GitHub App HMAC credential.",
|
|
15998
16052
|
"env": "Authentication resolved from environment-provided credentials.",
|
|
15999
16053
|
"user": "Authentication from an interactive user sign-in.",
|
|
16054
|
+
"account": "Authentication from a selected provider-owned account, without a GitHub credential.",
|
|
16000
16055
|
"gh-cli": "Authentication delegated to the GitHub CLI.",
|
|
16001
16056
|
"api-key": "Authentication from an API key credential.",
|
|
16002
16057
|
"token": "Authentication from a GitHub token.",
|
|
@@ -16004,6 +16059,37 @@
|
|
|
16004
16059
|
"copilot-api-token": "Authentication from a Copilot API token."
|
|
16005
16060
|
}
|
|
16006
16061
|
},
|
|
16062
|
+
"AuthLoginAccount": {
|
|
16063
|
+
"type": "object",
|
|
16064
|
+
"properties": {
|
|
16065
|
+
"selectionId": {
|
|
16066
|
+
"type": "string",
|
|
16067
|
+
"description": "Opaque identifier supplied to the next login step to select this account."
|
|
16068
|
+
},
|
|
16069
|
+
"host": {
|
|
16070
|
+
"type": "string",
|
|
16071
|
+
"description": "Host coordinate owned by the selected account's provider."
|
|
16072
|
+
},
|
|
16073
|
+
"login": {
|
|
16074
|
+
"type": "string",
|
|
16075
|
+
"description": "Human-readable login for the account choice."
|
|
16076
|
+
},
|
|
16077
|
+
"kind": {
|
|
16078
|
+
"$ref": "#/definitions/AccountKind",
|
|
16079
|
+
"description": "Provider kind that owns this account choice."
|
|
16080
|
+
}
|
|
16081
|
+
},
|
|
16082
|
+
"required": [
|
|
16083
|
+
"selectionId",
|
|
16084
|
+
"host",
|
|
16085
|
+
"login",
|
|
16086
|
+
"kind"
|
|
16087
|
+
],
|
|
16088
|
+
"additionalProperties": false,
|
|
16089
|
+
"description": "A credential-free account choice after sign-in.",
|
|
16090
|
+
"title": "AuthLoginAccount",
|
|
16091
|
+
"stability": "experimental"
|
|
16092
|
+
},
|
|
16007
16093
|
"AuthLoginAdvanceRequest": {
|
|
16008
16094
|
"type": "object",
|
|
16009
16095
|
"properties": {
|
|
@@ -16082,7 +16168,7 @@
|
|
|
16082
16168
|
"properties": {
|
|
16083
16169
|
"status": {
|
|
16084
16170
|
"$ref": "#/definitions/AuthLoginResultStatus",
|
|
16085
|
-
"description": "
|
|
16171
|
+
"description": "Current disposition of the login, including pending user decisions."
|
|
16086
16172
|
},
|
|
16087
16173
|
"host": {
|
|
16088
16174
|
"type": "string",
|
|
@@ -16092,13 +16178,22 @@
|
|
|
16092
16178
|
"login": {
|
|
16093
16179
|
"type": "string",
|
|
16094
16180
|
"description": "Login that was signed in, when completed."
|
|
16181
|
+
},
|
|
16182
|
+
"accounts": {
|
|
16183
|
+
"type": "array",
|
|
16184
|
+
"items": {
|
|
16185
|
+
"$ref": "#/definitions/AuthLoginAccount",
|
|
16186
|
+
"description": "A credential-free account choice after sign-in."
|
|
16187
|
+
},
|
|
16188
|
+
"description": "Available accounts when sign-in is awaiting account selection, ordered with Microsoft 365 first.",
|
|
16189
|
+
"x-copilot-sdk-append-last": true
|
|
16095
16190
|
}
|
|
16096
16191
|
},
|
|
16097
16192
|
"required": [
|
|
16098
16193
|
"status"
|
|
16099
16194
|
],
|
|
16100
16195
|
"additionalProperties": false,
|
|
16101
|
-
"description": "
|
|
16196
|
+
"description": "Result of an interactive login flow. Pending consent or account selection is not terminal.",
|
|
16102
16197
|
"title": "AuthLoginResultDto",
|
|
16103
16198
|
"stability": "experimental"
|
|
16104
16199
|
},
|
|
@@ -16107,13 +16202,15 @@
|
|
|
16107
16202
|
"enum": [
|
|
16108
16203
|
"completed",
|
|
16109
16204
|
"needs-plaintext-consent",
|
|
16205
|
+
"needs-account-selection",
|
|
16110
16206
|
"declined"
|
|
16111
16207
|
],
|
|
16112
|
-
"description": "
|
|
16208
|
+
"description": "Disposition of a login attempt, including pending user decisions.",
|
|
16113
16209
|
"title": "AuthLoginResultStatus",
|
|
16114
16210
|
"x-enumDescriptions": {
|
|
16115
|
-
"completed": "The credential was persisted and the account is signed in.",
|
|
16211
|
+
"completed": "The credential was persisted and the selected account is signed in.",
|
|
16116
16212
|
"needs-plaintext-consent": "Persistence needs explicit consent to store the token in plaintext.",
|
|
16213
|
+
"needs-account-selection": "Credentials are saved; select an account using a returned selectionId as advance input to complete sign-in.",
|
|
16117
16214
|
"declined": "The user declined plaintext persistence."
|
|
16118
16215
|
},
|
|
16119
16216
|
"stability": "experimental"
|
|
@@ -16191,7 +16288,7 @@
|
|
|
16191
16288
|
"properties": {
|
|
16192
16289
|
"result": {
|
|
16193
16290
|
"$ref": "#/definitions/AuthLoginResultDto",
|
|
16194
|
-
"description": "
|
|
16291
|
+
"description": "Login result. When status is needs-plaintext-consent or needs-account-selection, advance with the user's decision to continue."
|
|
16195
16292
|
},
|
|
16196
16293
|
"kind": {
|
|
16197
16294
|
"type": "string",
|
|
@@ -27751,6 +27848,89 @@
|
|
|
27751
27848
|
"description": "MCP server name and replacement configuration to write to user configuration.",
|
|
27752
27849
|
"title": "McpConfigUpdateRequest"
|
|
27753
27850
|
},
|
|
27851
|
+
"McpConfiguredServer": {
|
|
27852
|
+
"type": "object",
|
|
27853
|
+
"properties": {
|
|
27854
|
+
"name": {
|
|
27855
|
+
"type": "string",
|
|
27856
|
+
"minLength": 1,
|
|
27857
|
+
"pattern": "^[^\\x00-\\x1f/\\x7f-\\x9f}]+(?:\\/[^\\x00-\\x1f/\\x7f-\\x9f}]+)*$",
|
|
27858
|
+
"description": "Server name (config key)"
|
|
27859
|
+
},
|
|
27860
|
+
"enabled": {
|
|
27861
|
+
"type": "boolean",
|
|
27862
|
+
"description": "Whether this configured server is enabled after session configuration and policy filtering."
|
|
27863
|
+
},
|
|
27864
|
+
"source": {
|
|
27865
|
+
"$ref": "#/definitions/McpServerSource",
|
|
27866
|
+
"description": "Configuration provenance: user, workspace, plugin, builtin, or managed."
|
|
27867
|
+
},
|
|
27868
|
+
"sourcePlugin": {
|
|
27869
|
+
"type": "string",
|
|
27870
|
+
"description": "Plugin name that provided this server, when source is plugin."
|
|
27871
|
+
},
|
|
27872
|
+
"sourcePluginVersion": {
|
|
27873
|
+
"type": "string",
|
|
27874
|
+
"description": "Plugin version that provided this server, when source is plugin."
|
|
27875
|
+
},
|
|
27876
|
+
"displayName": {
|
|
27877
|
+
"type": "string",
|
|
27878
|
+
"description": "Human-readable display name supplied by configuration."
|
|
27879
|
+
},
|
|
27880
|
+
"live": {
|
|
27881
|
+
"$ref": "#/definitions/McpConfiguredServerState",
|
|
27882
|
+
"description": "Observed state from an already materialized matching server. Omitted when no live graph has this configured server; it never determines configuration enablement."
|
|
27883
|
+
}
|
|
27884
|
+
},
|
|
27885
|
+
"required": [
|
|
27886
|
+
"name",
|
|
27887
|
+
"enabled"
|
|
27888
|
+
],
|
|
27889
|
+
"additionalProperties": false,
|
|
27890
|
+
"description": "Effective MCP configuration entry. Configuration enablement is distinct from the optional live observation.",
|
|
27891
|
+
"title": "McpConfiguredServer",
|
|
27892
|
+
"stability": "experimental"
|
|
27893
|
+
},
|
|
27894
|
+
"McpConfiguredServerList": {
|
|
27895
|
+
"type": "object",
|
|
27896
|
+
"properties": {
|
|
27897
|
+
"servers": {
|
|
27898
|
+
"type": "array",
|
|
27899
|
+
"items": {
|
|
27900
|
+
"$ref": "#/definitions/McpConfiguredServer",
|
|
27901
|
+
"description": "Effective MCP configuration entry. Configuration enablement is distinct from the optional live observation."
|
|
27902
|
+
},
|
|
27903
|
+
"description": "Effective configured MCP servers."
|
|
27904
|
+
}
|
|
27905
|
+
},
|
|
27906
|
+
"required": [
|
|
27907
|
+
"servers"
|
|
27908
|
+
],
|
|
27909
|
+
"additionalProperties": false,
|
|
27910
|
+
"description": "Effective MCP configuration with optional live observations from matching already materialized servers.",
|
|
27911
|
+
"title": "McpConfiguredServerList",
|
|
27912
|
+
"stability": "experimental"
|
|
27913
|
+
},
|
|
27914
|
+
"McpConfiguredServerState": {
|
|
27915
|
+
"type": "object",
|
|
27916
|
+
"properties": {
|
|
27917
|
+
"status": {
|
|
27918
|
+
"$ref": "#/definitions/McpServerStatus",
|
|
27919
|
+
"description": "Observed connection status. This is not a configuration or readiness guarantee."
|
|
27920
|
+
},
|
|
27921
|
+
"error": {
|
|
27922
|
+
"type": "string",
|
|
27923
|
+
"description": "Observed connection error, when the materialized server failed."
|
|
27924
|
+
}
|
|
27925
|
+
},
|
|
27926
|
+
"required": [
|
|
27927
|
+
"status"
|
|
27928
|
+
],
|
|
27929
|
+
"additionalProperties": false,
|
|
27930
|
+
"description": "Observational state for a matching already materialized MCP server.",
|
|
27931
|
+
"title": "McpConfiguredServerState",
|
|
27932
|
+
"stability": "experimental"
|
|
27933
|
+
},
|
|
27754
27934
|
"McpConfigureGitHubRequest": {
|
|
27755
27935
|
"type": "object",
|
|
27756
27936
|
"properties": {
|
|
@@ -47197,6 +47377,10 @@
|
|
|
47197
47377
|
"$ref": "#/definitions/UserAuthInfo",
|
|
47198
47378
|
"description": "Authentication-info variant for OAuth user auth, with host and login; the token remains in the runtime secret store."
|
|
47199
47379
|
},
|
|
47380
|
+
{
|
|
47381
|
+
"$ref": "#/definitions/AccountAuthInfo",
|
|
47382
|
+
"description": "An interactive account whose model provider owns its credentials. It carries no GitHub credential."
|
|
47383
|
+
},
|
|
47200
47384
|
{
|
|
47201
47385
|
"$ref": "#/definitions/GhCliAuthInfo",
|
|
47202
47386
|
"description": "Authentication-info input variant for GitHub CLI credentials, carrying host, login, and the `gh auth token` value."
|
|
@@ -11195,7 +11195,7 @@
|
|
|
11195
11195
|
"needs-auth": "The server requires authentication before it can connect.",
|
|
11196
11196
|
"pending": "The server connection is still being established.",
|
|
11197
11197
|
"disabled": "The server is configured but disabled.",
|
|
11198
|
-
"stopped": "The server
|
|
11198
|
+
"stopped": "The server is not running: it may not have started yet, may have been explicitly stopped, or may be quarantined by restrictive managed policy. It can be restarted on demand when policy permits.",
|
|
11199
11199
|
"not_configured": "The server is not configured for this session."
|
|
11200
11200
|
}
|
|
11201
11201
|
},
|
|
Binary file
|