@github/copilot-sdk 1.0.17-preview.4 → 1.0.17-preview.6

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.
@@ -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
- * Terminal disposition of a login persistence attempt.
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
  /**
@@ -1358,6 +1362,20 @@ export type ConnectorMcpStatus =
1358
1362
  | "disabled"
1359
1363
  /** The Connector currently has no live server configuration. */
1360
1364
  | "not_configured";
1365
+ /**
1366
+ * Availability.
1367
+ *
1368
+ * This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
1369
+ * via the `definition` "ConnectorDiscoveryAvailability".
1370
+ */
1371
+ /** @experimental */
1372
+ export type ConnectorDiscoveryAvailability =
1373
+ /** Enabled. */
1374
+ "enabled"
1375
+ /** Disabled. */
1376
+ | "disabled"
1377
+ /** Unavailable. */
1378
+ | "unavailable";
1361
1379
  /**
1362
1380
  * Session account selection, or null.
1363
1381
  *
@@ -4750,7 +4768,7 @@ export type SessionsClientMetadataEntry = {
4750
4768
  * via the `definition` "SettableAuthInfo".
4751
4769
  */
4752
4770
  /** @experimental */
4753
- export type SettableAuthInfo = HMACAuthInfo | EnvAuthInfo | SettableTokenAuthInfo | CopilotApiTokenAuthInfo | UserAuthInfo | GhCliAuthInfo | ApiKeyAuthInfo;
4771
+ export type SettableAuthInfo = HMACAuthInfo | EnvAuthInfo | SettableTokenAuthInfo | CopilotApiTokenAuthInfo | UserAuthInfo | AccountAuthInfo | GhCliAuthInfo | ApiKeyAuthInfo;
4754
4772
  /**
4755
4773
  * Rust-owned settings predicates exposed across the SDK boundary. Raw feature-flag names are intentionally not part of the contract.
4756
4774
  *
@@ -6405,6 +6423,27 @@ export interface UserAuthInfo {
6405
6423
  login: string;
6406
6424
  copilotUser?: CopilotUserResponse;
6407
6425
  }
6426
+ /**
6427
+ * An interactive account whose model provider owns its credentials. It carries no GitHub credential.
6428
+ *
6429
+ * This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
6430
+ * via the `definition` "AccountAuthInfo".
6431
+ */
6432
+ /** @experimental */
6433
+ export interface AccountAuthInfo {
6434
+ /**
6435
+ * Provider-owned account authentication.
6436
+ */
6437
+ type: "account";
6438
+ /**
6439
+ * Host coordinate owned by the account's model provider.
6440
+ */
6441
+ host: string;
6442
+ /**
6443
+ * Login identifying the provider-owned account.
6444
+ */
6445
+ login: string;
6446
+ }
6408
6447
  /**
6409
6448
  * Authentication-info input variant for GitHub CLI credentials, carrying host, login, and the `gh auth token` value.
6410
6449
  *
@@ -7121,6 +7160,28 @@ export interface AuthIdentityMetadata {
7121
7160
  */
7122
7161
  login: string;
7123
7162
  }
7163
+ /**
7164
+ * A credential-free account choice after sign-in.
7165
+ *
7166
+ * This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
7167
+ * via the `definition` "AuthLoginAccount".
7168
+ */
7169
+ /** @experimental */
7170
+ export interface AuthLoginAccount {
7171
+ /**
7172
+ * Opaque identifier supplied to the next login step to select this account.
7173
+ */
7174
+ selectionId: string;
7175
+ /**
7176
+ * Host coordinate owned by the selected account's provider.
7177
+ */
7178
+ host: string;
7179
+ /**
7180
+ * Human-readable login for the account choice.
7181
+ */
7182
+ login: string;
7183
+ kind: AccountKind;
7184
+ }
7124
7185
  /**
7125
7186
  * Advance an in-flight login flow, optionally fulfilling an input-required step.
7126
7187
  *
@@ -7163,7 +7224,7 @@ export interface AuthLoginBegun {
7163
7224
  step: AuthLoginStep;
7164
7225
  }
7165
7226
  /**
7166
- * Terminal result of an interactive login flow.
7227
+ * Result of an interactive login flow. Pending consent or account selection is not terminal.
7167
7228
  *
7168
7229
  * This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
7169
7230
  * via the `definition` "AuthLoginResultDto".
@@ -7179,6 +7240,10 @@ export interface AuthLoginResultDto {
7179
7240
  * Login that was signed in, when completed.
7180
7241
  */
7181
7242
  login?: string;
7243
+ /**
7244
+ * Available accounts when sign-in is awaiting account selection, ordered with Microsoft 365 first.
7245
+ */
7246
+ accounts?: AuthLoginAccount[];
7182
7247
  }
7183
7248
  /**
7184
7249
  * Cancel an in-flight login flow.
@@ -9408,6 +9473,146 @@ export interface ConnectorDisconnectResult {
9408
9473
  disconnected: boolean;
9409
9474
  status: ConnectorStatus;
9410
9475
  }
9476
+ /**
9477
+ * Eligible account.
9478
+ *
9479
+ * This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
9480
+ * via the `definition` "ConnectorDiscoveryAccount".
9481
+ */
9482
+ /** @experimental */
9483
+ export interface ConnectorDiscoveryAccount {
9484
+ /**
9485
+ * Opaque account ID.
9486
+ */
9487
+ accountId: string;
9488
+ authInfo: ConnectorDiscoveryAuthInfo;
9489
+ }
9490
+ /**
9491
+ * Account metadata.
9492
+ *
9493
+ * This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
9494
+ * via the `definition` "ConnectorDiscoveryAuthInfo".
9495
+ */
9496
+ /** @experimental */
9497
+ export interface ConnectorDiscoveryAuthInfo {
9498
+ type: AuthInfoType;
9499
+ /**
9500
+ * Host.
9501
+ */
9502
+ host: string;
9503
+ /**
9504
+ * Login.
9505
+ */
9506
+ login: string;
9507
+ }
9508
+ /**
9509
+ * Eligible accounts.
9510
+ *
9511
+ * This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
9512
+ * via the `definition` "ConnectorDiscoveryAccountList".
9513
+ */
9514
+ /** @experimental */
9515
+ export interface ConnectorDiscoveryAccountList {
9516
+ availability: ConnectorDiscoveryAvailability;
9517
+ /**
9518
+ * Eligible accounts.
9519
+ */
9520
+ accounts: ConnectorDiscoveryAccount[];
9521
+ }
9522
+ /**
9523
+ * Selected account.
9524
+ *
9525
+ * This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
9526
+ * via the `definition` "ConnectorDiscoveryAccountRequest".
9527
+ */
9528
+ /** @experimental */
9529
+ export interface ConnectorDiscoveryAccountRequest {
9530
+ /**
9531
+ * Opaque account ID.
9532
+ */
9533
+ accountId: string;
9534
+ }
9535
+ /**
9536
+ * Feature availability.
9537
+ *
9538
+ * This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
9539
+ * via the `definition` "ConnectorDiscoveryCapabilities".
9540
+ */
9541
+ /** @experimental */
9542
+ export interface ConnectorDiscoveryCapabilities {
9543
+ /**
9544
+ * API version.
9545
+ */
9546
+ apiVersion: number;
9547
+ availability: ConnectorDiscoveryAvailability;
9548
+ /**
9549
+ * Whether accounts are selected by opaque ID.
9550
+ */
9551
+ opaqueAccountSelection: boolean;
9552
+ /**
9553
+ * Whether results are cached.
9554
+ */
9555
+ conditionalCache: boolean;
9556
+ }
9557
+ /**
9558
+ * Entry.
9559
+ *
9560
+ * This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
9561
+ * via the `definition` "ConnectorDiscoveryCatalogEntry".
9562
+ */
9563
+ /** @experimental */
9564
+ export interface ConnectorDiscoveryCatalogEntry {
9565
+ /**
9566
+ * Name.
9567
+ */
9568
+ name: string;
9569
+ /**
9570
+ * Display name.
9571
+ */
9572
+ displayName: string;
9573
+ /**
9574
+ * Description.
9575
+ */
9576
+ description?: string;
9577
+ /**
9578
+ * Logo.
9579
+ */
9580
+ logo?: string;
9581
+ /**
9582
+ * Tier.
9583
+ */
9584
+ tier?: string;
9585
+ /**
9586
+ * Release tag.
9587
+ */
9588
+ releaseTag?: string;
9589
+ status: ConnectorCatalogStatus;
9590
+ }
9591
+ /**
9592
+ * Entries for the selected account.
9593
+ *
9594
+ * This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
9595
+ * via the `definition` "ConnectorDiscoveryCatalogResult".
9596
+ */
9597
+ /** @experimental */
9598
+ export interface ConnectorDiscoveryCatalogResult {
9599
+ /**
9600
+ * Opaque account ID.
9601
+ */
9602
+ accountId: string;
9603
+ /**
9604
+ * Revision.
9605
+ */
9606
+ revision: number;
9607
+ /**
9608
+ * Refresh time in Unix epoch milliseconds.
9609
+ */
9610
+ refreshedAtMs: number;
9611
+ /**
9612
+ * Entries.
9613
+ */
9614
+ connectors: ConnectorDiscoveryCatalogEntry[];
9615
+ }
9411
9616
  /**
9412
9617
  * Requests authoritative Connector-to-MCP reconciliation for the pinned account.
9413
9618
  *
@@ -11070,6 +11275,27 @@ export interface FolderTrustCheckResult {
11070
11275
  */
11071
11276
  trusted: boolean;
11072
11277
  }
11278
+ /**
11279
+ * Owner, name, and host of a GitHub repository, as resolved from a git remote URL.
11280
+ *
11281
+ * This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
11282
+ * via the `definition` "GitHubRepositoryIdentity".
11283
+ */
11284
+ /** @experimental */
11285
+ export interface GitHubRepositoryIdentity {
11286
+ /**
11287
+ * Repository owner login (user or organization).
11288
+ */
11289
+ owner: string;
11290
+ /**
11291
+ * Repository name, without the owner prefix or the `.git` suffix.
11292
+ */
11293
+ name: string;
11294
+ /**
11295
+ * Host the remote points at, for example `github.com` or a GitHub Enterprise hostname.
11296
+ */
11297
+ host: string;
11298
+ }
11073
11299
  /**
11074
11300
  * Client environment metadata describing the process that produced a telemetry event.
11075
11301
  *
@@ -14268,6 +14494,64 @@ export interface McpConfigUpdateRequest {
14268
14494
  name: string;
14269
14495
  config: McpSerializableServerConfig;
14270
14496
  }
14497
+ /**
14498
+ * Effective MCP configuration entry. Configuration enablement is distinct from the optional live observation.
14499
+ *
14500
+ * This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
14501
+ * via the `definition` "McpConfiguredServer".
14502
+ */
14503
+ /** @experimental */
14504
+ export interface McpConfiguredServer {
14505
+ /**
14506
+ * Server name (config key)
14507
+ */
14508
+ name: string;
14509
+ /**
14510
+ * Whether this configured server is enabled after session configuration and policy filtering.
14511
+ */
14512
+ enabled: boolean;
14513
+ source?: McpServerSource;
14514
+ /**
14515
+ * Plugin name that provided this server, when source is plugin.
14516
+ */
14517
+ sourcePlugin?: string;
14518
+ /**
14519
+ * Plugin version that provided this server, when source is plugin.
14520
+ */
14521
+ sourcePluginVersion?: string;
14522
+ /**
14523
+ * Human-readable display name supplied by configuration.
14524
+ */
14525
+ displayName?: string;
14526
+ live?: McpConfiguredServerState;
14527
+ }
14528
+ /**
14529
+ * Observational state for a matching already materialized MCP server.
14530
+ *
14531
+ * This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
14532
+ * via the `definition` "McpConfiguredServerState".
14533
+ */
14534
+ /** @experimental */
14535
+ export interface McpConfiguredServerState {
14536
+ status: McpServerStatus;
14537
+ /**
14538
+ * Observed connection error, when the materialized server failed.
14539
+ */
14540
+ error?: string;
14541
+ }
14542
+ /**
14543
+ * Effective MCP configuration with optional live observations from matching already materialized servers.
14544
+ *
14545
+ * This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
14546
+ * via the `definition` "McpConfiguredServerList".
14547
+ */
14548
+ /** @experimental */
14549
+ export interface McpConfiguredServerList {
14550
+ /**
14551
+ * Effective configured MCP servers.
14552
+ */
14553
+ servers: McpConfiguredServer[];
14554
+ }
14271
14555
  /**
14272
14556
  * Result of configuring GitHub MCP.
14273
14557
  *
@@ -22045,6 +22329,23 @@ export interface SessionBulkDeleteResult {
22045
22329
  [k: string]: number | undefined;
22046
22330
  };
22047
22331
  }
22332
+ /**
22333
+ * The IDE a host is connected to, as reported to the session.
22334
+ *
22335
+ * This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
22336
+ * via the `definition` "SessionConnectedIdeInfo".
22337
+ */
22338
+ /** @experimental */
22339
+ export interface SessionConnectedIdeInfo {
22340
+ /**
22341
+ * Display name of the connected IDE, for example `VS Code`.
22342
+ */
22343
+ ideName: string;
22344
+ /**
22345
+ * Absolute path of the workspace folder the IDE has open.
22346
+ */
22347
+ workspaceFolder: string;
22348
+ }
22048
22349
  /**
22049
22350
  * The enriched metadata records, with summary and context fields backfilled where available. Sessions confirmed empty and unnamed are omitted.
22050
22351
  *
@@ -22887,6 +23188,19 @@ export interface SessionManagedPermissions {
22887
23188
  export interface SessionManagedSettings {
22888
23189
  permissions?: SessionManagedPermissions;
22889
23190
  }
23191
+ /**
23192
+ * Records which IDE the host is connected to, or clears it.
23193
+ *
23194
+ * This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
23195
+ * via the `definition` "SessionMcpSetConnectedIdeInfoParams".
23196
+ */
23197
+ /** @experimental */
23198
+ export interface SessionMcpSetConnectedIdeInfoParams {
23199
+ /**
23200
+ * The connected IDE. Null or omitted clears the recorded IDE, which is how a host reports that it is disconnected.
23201
+ */
23202
+ ide?: SessionConnectedIdeInfo | null;
23203
+ }
22890
23204
  /**
22891
23205
  * Point-in-time snapshot of slow-changing session identifier and state fields
22892
23206
  *
@@ -23721,6 +24035,90 @@ export interface SessionsCloseRequest {
23721
24035
  /** @experimental */
23722
24036
  export interface SessionsCloseResult {
23723
24037
  }
24038
+ /**
24039
+ * Identity, state location and starting context for a workspace record.
24040
+ *
24041
+ * This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
24042
+ * via the `definition` "SessionsCreateWorkspaceRequest".
24043
+ */
24044
+ /** @experimental */
24045
+ export interface SessionsCreateWorkspaceRequest {
24046
+ /**
24047
+ * Session ID the workspace record belongs to
24048
+ */
24049
+ sessionId: string;
24050
+ /**
24051
+ * Directory the session's state is written under when no session filesystem provider is configured. Ignored when a provider is configured; the provider's session state path is used instead.
24052
+ */
24053
+ sessionStatePath: string;
24054
+ /**
24055
+ * `windows` (any letter case) selects Windows path rules. Any other value selects POSIX path rules.
24056
+ */
24057
+ convention: string;
24058
+ context?: SessionWorkingDirectoryContextWithClient;
24059
+ /**
24060
+ * User-supplied display name for the workspace
24061
+ */
24062
+ name?: string;
24063
+ }
24064
+ /**
24065
+ * A working-directory context together with the client that produced it.
24066
+ *
24067
+ * This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
24068
+ * via the `definition` "SessionWorkingDirectoryContextWithClient".
24069
+ */
24070
+ /** @experimental */
24071
+ export interface SessionWorkingDirectoryContextWithClient {
24072
+ /**
24073
+ * Current working directory path
24074
+ */
24075
+ cwd: string;
24076
+ /**
24077
+ * Root directory of the git repository
24078
+ */
24079
+ gitRoot?: string;
24080
+ /**
24081
+ * Repository identifier derived from the git remote URL
24082
+ */
24083
+ repository?: string;
24084
+ /**
24085
+ * Hosting platform type of the repository
24086
+ */
24087
+ hostType?: string;
24088
+ /**
24089
+ * Current git branch name
24090
+ */
24091
+ branch?: string;
24092
+ /**
24093
+ * Raw host string from the git remote URL
24094
+ */
24095
+ repositoryHost?: string;
24096
+ /**
24097
+ * Head commit of the current git branch
24098
+ */
24099
+ headCommit?: string;
24100
+ /**
24101
+ * Merge-base commit SHA
24102
+ */
24103
+ baseCommit?: string;
24104
+ /**
24105
+ * Name of the client that created the session
24106
+ */
24107
+ clientName?: string;
24108
+ }
24109
+ /**
24110
+ * The workspace record that was written.
24111
+ *
24112
+ * This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
24113
+ * via the `definition` "SessionsCreateWorkspaceResult".
24114
+ */
24115
+ /** @experimental */
24116
+ export interface SessionsCreateWorkspaceResult {
24117
+ /**
24118
+ * The created workspace record, as JSON
24119
+ */
24120
+ workspaceJson: string;
24121
+ }
23724
24122
  /**
23725
24123
  * Session ID to delete from disk.
23726
24124
  *
@@ -24348,6 +24746,36 @@ export interface SessionsLoadDeferredRepoHooksRequest {
24348
24746
  */
24349
24747
  sessionId: string;
24350
24748
  }
24749
+ /**
24750
+ * Where the session's state lives, as a root directory and the session ID under it.
24751
+ *
24752
+ * This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
24753
+ * via the `definition` "SessionsLoadWorkspaceRequest".
24754
+ */
24755
+ /** @experimental */
24756
+ export interface SessionsLoadWorkspaceRequest {
24757
+ /**
24758
+ * Root directory every session's state directory sits under
24759
+ */
24760
+ sessionsHome: string;
24761
+ /**
24762
+ * Session ID naming the state directory under the sessions home. Rejected when it is absolute or contains a parent component, so it cannot escape the sessions home.
24763
+ */
24764
+ sessionId: string;
24765
+ }
24766
+ /**
24767
+ * The workspace record on disk, omitted when the session has none.
24768
+ *
24769
+ * This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
24770
+ * via the `definition` "SessionsLoadWorkspaceResult".
24771
+ */
24772
+ /** @experimental */
24773
+ export interface SessionsLoadWorkspaceResult {
24774
+ /**
24775
+ * The workspace record, as JSON. Omitted when the record does not exist.
24776
+ */
24777
+ workspaceJson?: string;
24778
+ }
24351
24779
  /**
24352
24780
  * Age threshold and optional flags controlling which old sessions are pruned (or simulated when dryRun is true).
24353
24781
  *
@@ -24542,6 +24970,36 @@ export interface SessionsTransferRemoteControlRequest {
24542
24970
  */
24543
24971
  expectedFromSessionId?: string;
24544
24972
  }
24973
+ /**
24974
+ * Where the session's state lives, plus workspace-schema fields to merge into its workspace record. Stored keys outside the schema are not preserved, and a stored `fork_count` is never replaced.
24975
+ *
24976
+ * This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
24977
+ * via the `definition` "SessionsUpdateWorkspaceFieldsRequest".
24978
+ */
24979
+ /** @experimental */
24980
+ export interface SessionsUpdateWorkspaceFieldsRequest {
24981
+ /**
24982
+ * Root directory every session's state directory sits under
24983
+ */
24984
+ sessionsHome: string;
24985
+ /**
24986
+ * Session ID naming the state directory under the sessions home. Rejected when it is absolute or contains a parent component, so it cannot escape the sessions home.
24987
+ */
24988
+ sessionId: string;
24989
+ /**
24990
+ * Workspace-schema fields to merge into the record, as a JSON object. Fields the object omits keep their stored values, except stored keys outside the schema are not preserved and a stored `fork_count` is never replaced.
24991
+ */
24992
+ fieldsJson: string;
24993
+ }
24994
+ /**
24995
+ * The merge completed. The record carries the supplied workspace-schema fields, but a stored `fork_count` stays.
24996
+ *
24997
+ * This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
24998
+ * via the `definition` "SessionsUpdateWorkspaceFieldsResult".
24999
+ */
25000
+ /** @experimental */
25001
+ export interface SessionsUpdateWorkspaceFieldsResult {
25002
+ }
24545
25003
  /**
24546
25004
  * Telemetry engagement ID for the session, when available.
24547
25005
  *
@@ -25143,7 +25601,7 @@ export interface SkillPlanUninstallRequest {
25143
25601
  policySessionId: string;
25144
25602
  }
25145
25603
  /**
25146
- * Catalog-only metadata for one SDK-provided skill. The complete SKILL.md is fetched separately and lazily.
25604
+ * Authoritative catalog metadata for one SDK-provided skill. The skill's SKILL.md text is fetched separately and lazily.
25147
25605
  *
25148
25606
  * This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
25149
25607
  * via the `definition` "SkillProviderDescriptor".
@@ -30570,6 +31028,37 @@ export declare function createServerRpc(connection: MessageConnection): {
30570
31028
  */
30571
31029
  spawn: (params: AgentRegistrySpawnRequest) => Promise<AgentRegistrySpawnResult>;
30572
31030
  };
31031
+ /** @experimental */
31032
+ connectors: {
31033
+ /**
31034
+ * Returns feature availability.
31035
+ *
31036
+ * @returns Feature availability.
31037
+ */
31038
+ getCapabilities: () => Promise<ConnectorDiscoveryCapabilities>;
31039
+ /**
31040
+ * Returns eligible accounts.
31041
+ *
31042
+ * @returns Eligible accounts.
31043
+ */
31044
+ getAccounts: () => Promise<ConnectorDiscoveryAccountList>;
31045
+ /**
31046
+ * Lists entries for the selected account.
31047
+ *
31048
+ * @param params Selected account.
31049
+ *
31050
+ * @returns Entries for the selected account.
31051
+ */
31052
+ list: (params: ConnectorDiscoveryAccountRequest) => Promise<ConnectorDiscoveryCatalogResult>;
31053
+ /**
31054
+ * Refreshes entries for the selected account.
31055
+ *
31056
+ * @param params Selected account.
31057
+ *
31058
+ * @returns Entries for the selected account.
31059
+ */
31060
+ refresh: (params: ConnectorDiscoveryAccountRequest) => Promise<ConnectorDiscoveryCatalogResult>;
31061
+ };
30573
31062
  };
30574
31063
  /** Create typed session-scoped RPC methods. */
30575
31064
  export declare function createSessionRpc(connection: MessageConnection, sessionId: string): {
@@ -31428,11 +31917,17 @@ export declare function createSessionRpc(connection: MessageConnection, sessionI
31428
31917
  /** @experimental */
31429
31918
  mcp: {
31430
31919
  /**
31431
- * Lists MCP servers configured for the session, their connection status, and host-level state. The host-level state (disabled/filtered servers, failed/needs-auth/pending connections, mcp3p policy, full config) is empty/zero when no MCP host has been initialized for the session.
31920
+ * Lists materialized MCP servers and their connection status. Cache misses may start and wait for MCP servers.
31432
31921
  *
31433
31922
  * @returns MCP servers configured for the session, with their connection status and host-level state.
31434
31923
  */
31435
31924
  list: () => Promise<McpServerList>;
31925
+ /**
31926
+ * 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.
31927
+ *
31928
+ * @returns Effective MCP configuration with optional live observations from matching already materialized servers.
31929
+ */
31930
+ listConfigured: () => Promise<McpConfiguredServerList>;
31436
31931
  /**
31437
31932
  * 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
31933
  *