@github/copilot-sdk 1.0.23-preview.0 → 1.0.23-preview.2
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/README.md +9 -5
- package/dist/cjs/cliVersion.js +1 -1
- package/dist/cjs/generated/rpc.js +25 -1
- package/dist/cjs/session.js +8 -6
- package/dist/cliVersion.d.ts +1 -1
- package/dist/cliVersion.js +1 -1
- package/dist/generated/rpc.d.ts +705 -94
- package/dist/generated/rpc.js +25 -1
- package/dist/generated/session-events.d.ts +110 -0
- package/dist/session.js +8 -6
- package/dist/types.d.ts +20 -6
- package/package.json +22 -14
package/dist/generated/rpc.d.ts
CHANGED
|
@@ -91,7 +91,27 @@ export type AuthEnumerateQuery = {
|
|
|
91
91
|
* Account-collection query variant discriminator.
|
|
92
92
|
*/
|
|
93
93
|
kind: "providers";
|
|
94
|
+
} | {
|
|
95
|
+
provider: LoginProviderKind;
|
|
96
|
+
/**
|
|
97
|
+
* Account-collection query variant discriminator.
|
|
98
|
+
*/
|
|
99
|
+
kind: "loginAccounts";
|
|
94
100
|
};
|
|
101
|
+
/**
|
|
102
|
+
* A provider a consumer may interactively sign in with.
|
|
103
|
+
*
|
|
104
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
105
|
+
* via the `definition` "LoginProviderKind".
|
|
106
|
+
*/
|
|
107
|
+
/** @experimental */
|
|
108
|
+
export type LoginProviderKind =
|
|
109
|
+
/** OAuth github.com sign-in via the browser (web loopback + PKCE). */
|
|
110
|
+
"githubDotCom"
|
|
111
|
+
/** A GitHub Enterprise Cloud account — a GitHub account on a non-github.com host, e.g. *.ghe.com; the host is supplied interactively through the neutral input-required step. */
|
|
112
|
+
| "proxima"
|
|
113
|
+
/** Microsoft Entra sign-in that derives a GitHub (EMU) credential. */
|
|
114
|
+
| "entra";
|
|
95
115
|
/**
|
|
96
116
|
* Selects which typed accounts datum to read.
|
|
97
117
|
*
|
|
@@ -380,21 +400,28 @@ export type AuthEnumerateValue = {
|
|
|
380
400
|
* Enumerated account-collection variant discriminator.
|
|
381
401
|
*/
|
|
382
402
|
kind: "providers";
|
|
403
|
+
} | {
|
|
404
|
+
/**
|
|
405
|
+
* Cached base identities reusable by the selected login provider, active first.
|
|
406
|
+
*/
|
|
407
|
+
items: AuthLoginIdentity[];
|
|
408
|
+
/**
|
|
409
|
+
* Enumerated account-collection variant discriminator.
|
|
410
|
+
*/
|
|
411
|
+
kind: "loginAccounts";
|
|
383
412
|
};
|
|
384
413
|
/**
|
|
385
|
-
*
|
|
414
|
+
* How an interactive provider login should choose its base identity.
|
|
386
415
|
*
|
|
387
416
|
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
388
|
-
* via the `definition` "
|
|
417
|
+
* via the `definition` "AuthLoginMode".
|
|
389
418
|
*/
|
|
390
419
|
/** @experimental */
|
|
391
|
-
export type
|
|
392
|
-
/**
|
|
393
|
-
"
|
|
394
|
-
/**
|
|
395
|
-
| "
|
|
396
|
-
/** Microsoft Entra sign-in that derives a GitHub (EMU) credential. */
|
|
397
|
-
| "entra";
|
|
420
|
+
export type AuthLoginMode =
|
|
421
|
+
/** Use normal provider behavior, optionally pinned to accountId. */
|
|
422
|
+
"default"
|
|
423
|
+
/** Explicitly ask the provider to present its account-selection UI instead of serving from a retained identity. */
|
|
424
|
+
| "selectAccount";
|
|
398
425
|
/**
|
|
399
426
|
* One step in an interactive login flow. The consumer acts on the step and calls advance to proceed. Browser-open is encoded as two distinct steps by design: `open-url` is CONSUMER-driven (the provider surfaces the authorize URL and the consumer opens it — github.com/GHEC web), while `needs-interaction` is PROVIDER-driven (the provider opens the browser or broker UI itself and does not surface a URL — Entra).
|
|
400
427
|
*
|
|
@@ -965,7 +992,9 @@ export type CatalogCapability =
|
|
|
965
992
|
/** Understands `installability`, the reviewable `installPlan` and the optional materialisation `handle` on Agent Plugin candidates, and the verified Agent Plugin installation APIs plugins.planInstall and plugins.applyInstall, and Agent Plugin plans from catalog.planInstallFromReference. Requires agent-plugin-discovery; without it, plugin candidates are unchanged. Advertised only by runtimes with the plugin installer linked; acquisition may still be refused as feature-disabled per selected session. */
|
|
966
993
|
| "agent-plugin-confirmed-installation"
|
|
967
994
|
/** Understands catalog.planInstallFromReference, which plans installing whatever resource an Agent Finder materialisation reference pins. It plans only kinds whose installation capability the caller also requires: skill-confirmed-installation for Skills, agent-plugin-confirmed-installation for Agent Plugins. Advertised only by runtimes with the Skill installation engine linked. */
|
|
968
|
-
| "catalog-reference-installation"
|
|
995
|
+
| "catalog-reference-installation"
|
|
996
|
+
/** Understands catalog.getSavedFeed and catalog.getGeneratedFeed, which retrieve a saved or generated feed with entries projected exactly like catalog.search candidates. Requires catalog-search-credential-required; add catalog-search-session-bound to bind the retrieval to a selected session. */
|
|
997
|
+
| "catalog-feeds";
|
|
969
998
|
/**
|
|
970
999
|
* Bounded extensible wire-feature identifier. Known values are described by `CatalogCapability`; newer callers may send future identifiers so an older runtime can return a typed negotiation refusal instead of failing schema validation. Capability negotiation establishes contract understanding, while each operation's result separately reports runtime availability.
|
|
971
1000
|
*
|
|
@@ -990,6 +1019,52 @@ export type CatalogContractViolationReason =
|
|
|
990
1019
|
| "duplicate-identity"
|
|
991
1020
|
/** A result declared no media type, or one this contract does not model. */
|
|
992
1021
|
| "unknown-media-type";
|
|
1022
|
+
/**
|
|
1023
|
+
* Discriminator for an available feed entry
|
|
1024
|
+
*
|
|
1025
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
1026
|
+
* via the `definition` "CatalogFeedAvailableStatus".
|
|
1027
|
+
*/
|
|
1028
|
+
/** @experimental */
|
|
1029
|
+
export type CatalogFeedAvailableStatus = "available";
|
|
1030
|
+
/**
|
|
1031
|
+
* One feed entry, in its feed position. Only available entries carry a candidate.
|
|
1032
|
+
*
|
|
1033
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
1034
|
+
* via the `definition` "CatalogFeedEntry".
|
|
1035
|
+
*/
|
|
1036
|
+
/** @experimental */
|
|
1037
|
+
export type CatalogFeedEntry = CatalogFeedAvailableEntry | CatalogFeedUnavailableEntry | CatalogFeedFilteredEntry;
|
|
1038
|
+
/**
|
|
1039
|
+
* Discriminator for an unavailable feed entry
|
|
1040
|
+
*
|
|
1041
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
1042
|
+
* via the `definition` "CatalogFeedUnavailableStatus".
|
|
1043
|
+
*/
|
|
1044
|
+
/** @experimental */
|
|
1045
|
+
export type CatalogFeedUnavailableStatus = "unavailable";
|
|
1046
|
+
/**
|
|
1047
|
+
* Why a feed entry cannot be presented
|
|
1048
|
+
*
|
|
1049
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
1050
|
+
* via the `definition` "CatalogFeedUnavailableReason".
|
|
1051
|
+
*/
|
|
1052
|
+
/** @experimental */
|
|
1053
|
+
export type CatalogFeedUnavailableReason =
|
|
1054
|
+
/** The identifier no longer resolves to a resource. */
|
|
1055
|
+
"not-found"
|
|
1056
|
+
/** The resource is of a kind this caller did not negotiate or this runtime does not support. */
|
|
1057
|
+
| "unsupported-kind"
|
|
1058
|
+
/** The resource failed the same validation catalog.search applies, or repeats an earlier entry. */
|
|
1059
|
+
| "invalid-resource";
|
|
1060
|
+
/**
|
|
1061
|
+
* Discriminator for a feed entry filtered by trust tier
|
|
1062
|
+
*
|
|
1063
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
1064
|
+
* via the `definition` "CatalogFeedFilteredStatus".
|
|
1065
|
+
*/
|
|
1066
|
+
/** @experimental */
|
|
1067
|
+
export type CatalogFeedFilteredStatus = "filtered";
|
|
993
1068
|
/**
|
|
994
1069
|
* Which kind of opaque handle was presented
|
|
995
1070
|
*
|
|
@@ -1055,7 +1130,11 @@ export type CatalogInvalidRequestField =
|
|
|
1055
1130
|
/** The opaque selection reference was missing or malformed. */
|
|
1056
1131
|
| "selectionRef"
|
|
1057
1132
|
/** The terminal selection outcome was missing or unsupported. */
|
|
1058
|
-
| "outcome"
|
|
1133
|
+
| "outcome"
|
|
1134
|
+
/** The saved feed ID, or the generated feed strategy or key, was missing or malformed. */
|
|
1135
|
+
| "feed"
|
|
1136
|
+
/** The trust tier filter was empty, repeated a tier or named an unknown tier. */
|
|
1137
|
+
| "trustTiers";
|
|
1059
1138
|
/**
|
|
1060
1139
|
* How a card failed validation
|
|
1061
1140
|
*
|
|
@@ -1204,6 +1283,12 @@ export type CatalogReferenceInstallationFailureReason =
|
|
|
1204
1283
|
| "unsupported-resource"
|
|
1205
1284
|
/** The resource's entrypoint could not be retrieved or verified. */
|
|
1206
1285
|
| "entrypoint-unavailable"
|
|
1286
|
+
/** GitHub rate limited retrieval from the pinned public source. Retry after retryAfterSeconds when present. */
|
|
1287
|
+
| "source-rate-limited"
|
|
1288
|
+
/** No GitHub sign-in or credential is available, so the caller must sign in. */
|
|
1289
|
+
| "no-credential"
|
|
1290
|
+
/** Agent Finder refused the GitHub credential (HTTP 401, or a 403 without rate-limit evidence); the caller must sign in again. */
|
|
1291
|
+
| "credential-rejected"
|
|
1207
1292
|
/** The Skill entrypoint is not a valid Skill. */
|
|
1208
1293
|
| "invalid-skill"
|
|
1209
1294
|
/** The plugin manifest is not a valid plugin manifest, or the bundle has another manifest that would take precedence over the reviewed one. */
|
|
@@ -1235,6 +1320,10 @@ export type CatalogReferenceInstallationOutcome = {
|
|
|
1235
1320
|
kind: "plugin-install-planned";
|
|
1236
1321
|
} | {
|
|
1237
1322
|
reason: CatalogReferenceInstallationFailureReason;
|
|
1323
|
+
/**
|
|
1324
|
+
* Whole seconds GitHub asked the caller to wait, present only with source-rate-limited.
|
|
1325
|
+
*/
|
|
1326
|
+
retryAfterSeconds?: number;
|
|
1238
1327
|
/**
|
|
1239
1328
|
* Reference planning outcome discriminator naming the planned kind.
|
|
1240
1329
|
*/
|
|
@@ -1380,11 +1469,28 @@ export type PluginInstallationReview = {
|
|
|
1380
1469
|
* when this exceeds 262144 UTF-8 bytes; it is never truncated.
|
|
1381
1470
|
*/
|
|
1382
1471
|
manifestContent: string;
|
|
1472
|
+
/**
|
|
1473
|
+
* MCP servers the verified files declare, exactly as an install of these files loads
|
|
1474
|
+
* them. Omitted when the plugin declares none.
|
|
1475
|
+
*/
|
|
1476
|
+
mcpServers?: PluginInstallationMcpServerReview[];
|
|
1383
1477
|
/**
|
|
1384
1478
|
* Exact reviewed Agent Plugin installation action.
|
|
1385
1479
|
*/
|
|
1386
1480
|
action: "install";
|
|
1387
1481
|
};
|
|
1482
|
+
/**
|
|
1483
|
+
* How a reviewed plugin's MCP server is reached.
|
|
1484
|
+
*
|
|
1485
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
1486
|
+
* via the `definition` "PluginInstallationMcpTransport".
|
|
1487
|
+
*/
|
|
1488
|
+
/** @experimental */
|
|
1489
|
+
export type PluginInstallationMcpTransport =
|
|
1490
|
+
/** An HTTP or SSE server reached over the network, which may ask the user to sign in. */
|
|
1491
|
+
"remote"
|
|
1492
|
+
/** A command the plugin runs on this machine. */
|
|
1493
|
+
| "local";
|
|
1388
1494
|
/**
|
|
1389
1495
|
* Planning result for a materialisation reference with the honoured contract, or a typed refusal.
|
|
1390
1496
|
*
|
|
@@ -1399,25 +1505,15 @@ export type CatalogReferenceInstallationResult = {
|
|
|
1399
1505
|
kind: "outcome";
|
|
1400
1506
|
outcome: CatalogReferenceInstallationOutcome;
|
|
1401
1507
|
negotiated: CatalogNegotiatedContract;
|
|
1402
|
-
} | CatalogNegotiationRefusedError | CatalogInvalidRequestError;
|
|
1508
|
+
} | CatalogNegotiationRefusedError | CatalogInvalidRequestError | CatalogNetworkFailureError;
|
|
1403
1509
|
/**
|
|
1404
|
-
*
|
|
1510
|
+
* Outcome of catalog.getGeneratedFeed: the feed with its entries, or one typed refusal. An entry that cannot be presented never fails the feed.
|
|
1405
1511
|
*
|
|
1406
1512
|
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
1407
|
-
* via the `definition` "
|
|
1513
|
+
* via the `definition` "CatalogResourceGeneratedFeedResult".
|
|
1408
1514
|
*/
|
|
1409
1515
|
/** @experimental */
|
|
1410
|
-
export type
|
|
1411
|
-
/** No exact/full-query or lower-bound guarantee is available. */
|
|
1412
|
-
"unknown";
|
|
1413
|
-
/**
|
|
1414
|
-
* Outcome of a catalog.search call: either bounded inert candidates, or one typed refusal. Never a partial success.
|
|
1415
|
-
*
|
|
1416
|
-
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
1417
|
-
* via the `definition` "CatalogSearchResult".
|
|
1418
|
-
*/
|
|
1419
|
-
/** @experimental */
|
|
1420
|
-
export type CatalogSearchResult = CatalogSearchSucceeded | CatalogNegotiationRefusedError | CatalogUnsupportedKindError | CatalogInvalidRequestError | CatalogAuthenticationRequiredError | CatalogPolicyRejectedError | CatalogNetworkFailureError | CatalogUnsafeRetrievalError | CatalogMalformedCardError | CatalogContractViolationError | CatalogUnavailableError;
|
|
1516
|
+
export type CatalogResourceGeneratedFeedResult = CatalogGetGeneratedFeedSucceeded | CatalogNegotiationRefusedError | CatalogInvalidRequestError | CatalogAuthenticationRequiredError | CatalogPolicyRejectedError | CatalogNetworkFailureError | CatalogUnsafeRetrievalError | CatalogMalformedCardError | CatalogUnavailableError;
|
|
1421
1517
|
/**
|
|
1422
1518
|
* Which hardened-fetch control refused a retrieval
|
|
1423
1519
|
*
|
|
@@ -1455,7 +1551,35 @@ export type CatalogUnavailableReason =
|
|
|
1455
1551
|
/** No catalog authority is configured for this runtime. */
|
|
1456
1552
|
| "authority-not-configured"
|
|
1457
1553
|
/** The surface is disabled by policy on this runtime. */
|
|
1458
|
-
| "disabled-by-policy"
|
|
1554
|
+
| "disabled-by-policy"
|
|
1555
|
+
/** The requested saved feed, or generated feed strategy or key, does not exist. */
|
|
1556
|
+
| "feed-not-found";
|
|
1557
|
+
/**
|
|
1558
|
+
* Outcome of catalog.getSavedFeed: the feed with its entries, or one typed refusal. An entry that cannot be presented never fails the feed.
|
|
1559
|
+
*
|
|
1560
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
1561
|
+
* via the `definition` "CatalogResourceSavedFeedResult".
|
|
1562
|
+
*/
|
|
1563
|
+
/** @experimental */
|
|
1564
|
+
export type CatalogResourceSavedFeedResult = CatalogGetSavedFeedSucceeded | CatalogNegotiationRefusedError | CatalogInvalidRequestError | CatalogAuthenticationRequiredError | CatalogPolicyRejectedError | CatalogNetworkFailureError | CatalogUnsafeRetrievalError | CatalogMalformedCardError | CatalogUnavailableError;
|
|
1565
|
+
/**
|
|
1566
|
+
* Relationship of the backend-reported count to the complete query result set.
|
|
1567
|
+
*
|
|
1568
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
1569
|
+
* via the `definition` "CatalogSearchTotalCountRelation".
|
|
1570
|
+
*/
|
|
1571
|
+
/** @experimental */
|
|
1572
|
+
export type CatalogSearchTotalCountRelation =
|
|
1573
|
+
/** No exact/full-query or lower-bound guarantee is available. */
|
|
1574
|
+
"unknown";
|
|
1575
|
+
/**
|
|
1576
|
+
* Outcome of a catalog.search call: either bounded inert candidates, or one typed refusal. Never a partial success.
|
|
1577
|
+
*
|
|
1578
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
1579
|
+
* via the `definition` "CatalogSearchResult".
|
|
1580
|
+
*/
|
|
1581
|
+
/** @experimental */
|
|
1582
|
+
export type CatalogSearchResult = CatalogSearchSucceeded | CatalogNegotiationRefusedError | CatalogUnsupportedKindError | CatalogInvalidRequestError | CatalogAuthenticationRequiredError | CatalogPolicyRejectedError | CatalogNetworkFailureError | CatalogUnsafeRetrievalError | CatalogMalformedCardError | CatalogContractViolationError | CatalogUnavailableError;
|
|
1459
1583
|
/**
|
|
1460
1584
|
* Terminal outcome declared for a retained catalog selection group
|
|
1461
1585
|
*
|
|
@@ -2433,6 +2557,30 @@ export type HostExitReason =
|
|
|
2433
2557
|
| "ownerDisconnected"
|
|
2434
2558
|
/** The runtime is shutting down. */
|
|
2435
2559
|
| "runtimeShutdown";
|
|
2560
|
+
/**
|
|
2561
|
+
* A supported image-service operation.
|
|
2562
|
+
*
|
|
2563
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
2564
|
+
* via the `definition` "ImageToolModelOperation".
|
|
2565
|
+
*/
|
|
2566
|
+
/** @experimental */
|
|
2567
|
+
export type ImageToolModelOperation =
|
|
2568
|
+
/** Generate an image from a text prompt. */
|
|
2569
|
+
"generate"
|
|
2570
|
+
/** Generate or edit an image using explicitly selected image inputs. */
|
|
2571
|
+
| "edit";
|
|
2572
|
+
/**
|
|
2573
|
+
* Account availability of the runtime image model. Discovery errors are returned as errors, not converted to unavailable.
|
|
2574
|
+
*
|
|
2575
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
2576
|
+
* via the `definition` "ImageToolModelAvailability".
|
|
2577
|
+
*/
|
|
2578
|
+
/** @experimental */
|
|
2579
|
+
export type ImageToolModelAvailability =
|
|
2580
|
+
/** The account has access to a supported image operation. */
|
|
2581
|
+
"available"
|
|
2582
|
+
/** The runtime default is not available to this account; enabling the tool cannot grant access. */
|
|
2583
|
+
| "unavailable";
|
|
2436
2584
|
/**
|
|
2437
2585
|
* Only resource kinds with an implemented installation engine have a review variant.
|
|
2438
2586
|
*
|
|
@@ -2801,6 +2949,22 @@ export type SessionLogLevel =
|
|
|
2801
2949
|
| "warning"
|
|
2802
2950
|
/** Error message describing a failure. */
|
|
2803
2951
|
| "error";
|
|
2952
|
+
/**
|
|
2953
|
+
* Administrator-configured Ensemble preference, independent of execution support.
|
|
2954
|
+
*
|
|
2955
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
2956
|
+
* via the `definition` "ManagedEnsembleTier".
|
|
2957
|
+
*/
|
|
2958
|
+
/** @experimental */
|
|
2959
|
+
export type ManagedEnsembleTier =
|
|
2960
|
+
/** Balance efficiency and intelligence. */
|
|
2961
|
+
"balance"
|
|
2962
|
+
/** Prefer higher intelligence. */
|
|
2963
|
+
| "high"
|
|
2964
|
+
/** Prefer maximum intelligence. */
|
|
2965
|
+
| "max"
|
|
2966
|
+
/** Leave tier selection unmanaged without falling back to legacy Auto policy. */
|
|
2967
|
+
| "unmanaged";
|
|
2804
2968
|
/** @experimental */
|
|
2805
2969
|
export type ManagedPermissionOperation = {
|
|
2806
2970
|
/**
|
|
@@ -4390,6 +4554,12 @@ export type PluginInstallationFailureReason =
|
|
|
4390
4554
|
| "payload-unavailable"
|
|
4391
4555
|
/** The acquired files no longer match the reviewed descriptor. */
|
|
4392
4556
|
| "payload-mismatch"
|
|
4557
|
+
/** GitHub rate limited retrieval from the pinned public source; nothing was installed. Retry after retryAfterSeconds when present. */
|
|
4558
|
+
| "source-rate-limited"
|
|
4559
|
+
/** No GitHub sign-in or credential is available, so the caller must sign in. */
|
|
4560
|
+
| "no-credential"
|
|
4561
|
+
/** Agent Finder refused the GitHub credential (HTTP 401, or a 403 without rate-limit evidence); the caller must sign in again. */
|
|
4562
|
+
| "credential-rejected"
|
|
4393
4563
|
/** Plugin installation storage or admission is busy. */
|
|
4394
4564
|
| "busy"
|
|
4395
4565
|
/** A plugin with the same name or install location already exists. */
|
|
@@ -4411,6 +4581,10 @@ export type PluginInstallationManagementOutcome = {
|
|
|
4411
4581
|
kind: "install-planned";
|
|
4412
4582
|
} | {
|
|
4413
4583
|
reason: PluginInstallationFailureReason;
|
|
4584
|
+
/**
|
|
4585
|
+
* Whole seconds GitHub asked the caller to wait, present only with source-rate-limited.
|
|
4586
|
+
*/
|
|
4587
|
+
retryAfterSeconds?: number;
|
|
4414
4588
|
/**
|
|
4415
4589
|
* Agent Plugin installation management outcome discriminator.
|
|
4416
4590
|
*/
|
|
@@ -4430,7 +4604,7 @@ export type PluginInstallationManagementResult = {
|
|
|
4430
4604
|
kind: "outcome";
|
|
4431
4605
|
outcome: PluginInstallationManagementOutcome;
|
|
4432
4606
|
negotiated: CatalogNegotiatedContract;
|
|
4433
|
-
} | CatalogNegotiationRefusedError | CatalogInvalidRequestError;
|
|
4607
|
+
} | CatalogNegotiationRefusedError | CatalogInvalidRequestError | CatalogNetworkFailureError;
|
|
4434
4608
|
/**
|
|
4435
4609
|
* Terminal verified Agent Plugin installation result.
|
|
4436
4610
|
*
|
|
@@ -4468,6 +4642,10 @@ export type PluginInstallationOutcome = {
|
|
|
4468
4642
|
* Present once an operation has been allocated.
|
|
4469
4643
|
*/
|
|
4470
4644
|
operationId?: string;
|
|
4645
|
+
/**
|
|
4646
|
+
* Whole seconds GitHub asked the caller to wait, present only with source-rate-limited.
|
|
4647
|
+
*/
|
|
4648
|
+
retryAfterSeconds?: number;
|
|
4471
4649
|
/**
|
|
4472
4650
|
* Terminal Agent Plugin installation outcome discriminator.
|
|
4473
4651
|
*/
|
|
@@ -4487,7 +4665,7 @@ export type PluginInstallationResult = {
|
|
|
4487
4665
|
kind: "outcome";
|
|
4488
4666
|
outcome: PluginInstallationOutcome;
|
|
4489
4667
|
negotiated: CatalogNegotiatedContract;
|
|
4490
|
-
} | CatalogNegotiationRefusedError | CatalogInvalidRequestError;
|
|
4668
|
+
} | CatalogNegotiationRefusedError | CatalogInvalidRequestError | CatalogNetworkFailureError;
|
|
4491
4669
|
/**
|
|
4492
4670
|
* Where completed plugin content was staged before atomic promotion.
|
|
4493
4671
|
*
|
|
@@ -5406,6 +5584,12 @@ export type SkillInstallationFailureReason =
|
|
|
5406
5584
|
| "payload-unavailable"
|
|
5407
5585
|
/** The acquired payload no longer matches the reviewed descriptor. */
|
|
5408
5586
|
| "payload-mismatch"
|
|
5587
|
+
/** GitHub rate limited retrieval from the pinned public source; nothing was installed. Retry after retryAfterSeconds when present. Reported only to callers that require catalog-reference-installation; others receive payload-unavailable. */
|
|
5588
|
+
| "source-rate-limited"
|
|
5589
|
+
/** No GitHub sign-in or credential is available, so the caller must sign in. Reported only to callers that require catalog-reference-installation; others receive policy-context-unavailable. */
|
|
5590
|
+
| "no-credential"
|
|
5591
|
+
/** Agent Finder refused the GitHub credential (HTTP 401, or a 403 without rate-limit evidence); the caller must sign in again. Reported only to callers that require catalog-reference-installation; others receive descriptor-unavailable. */
|
|
5592
|
+
| "credential-rejected"
|
|
5409
5593
|
/** The retained Skill source changed after planning. */
|
|
5410
5594
|
| "source-changed"
|
|
5411
5595
|
/** The selected runtime cannot inspect or control the requested lifecycle operation. */
|
|
@@ -5492,6 +5676,10 @@ export type SkillInstallationManagementOutcome = {
|
|
|
5492
5676
|
kind: "enabled-changed";
|
|
5493
5677
|
} | {
|
|
5494
5678
|
reason: SkillInstallationFailureReason;
|
|
5679
|
+
/**
|
|
5680
|
+
* Whole seconds GitHub asked the caller to wait, present only with source-rate-limited.
|
|
5681
|
+
*/
|
|
5682
|
+
retryAfterSeconds?: number;
|
|
5495
5683
|
/**
|
|
5496
5684
|
* Skill installation management outcome discriminator.
|
|
5497
5685
|
*/
|
|
@@ -5635,6 +5823,10 @@ export type SkillInstallationOutcome = {
|
|
|
5635
5823
|
* Present once an operation has been allocated.
|
|
5636
5824
|
*/
|
|
5637
5825
|
operationId?: string;
|
|
5826
|
+
/**
|
|
5827
|
+
* Whole seconds GitHub asked the caller to wait, present only with source-rate-limited.
|
|
5828
|
+
*/
|
|
5829
|
+
retryAfterSeconds?: number;
|
|
5638
5830
|
/**
|
|
5639
5831
|
* Terminal Skill installation outcome discriminator.
|
|
5640
5832
|
*/
|
|
@@ -5654,7 +5846,7 @@ export type SkillInstallationManagementResult = {
|
|
|
5654
5846
|
kind: "outcome";
|
|
5655
5847
|
outcome: SkillInstallationManagementOutcome;
|
|
5656
5848
|
negotiated: CatalogNegotiatedContract;
|
|
5657
|
-
} | CatalogNegotiationRefusedError | CatalogInvalidRequestError;
|
|
5849
|
+
} | CatalogNegotiationRefusedError | CatalogInvalidRequestError | CatalogNetworkFailureError;
|
|
5658
5850
|
/**
|
|
5659
5851
|
* Skill installation result with the honoured contract, or a typed request/negotiation refusal.
|
|
5660
5852
|
*
|
|
@@ -5669,7 +5861,7 @@ export type SkillInstallationResult = {
|
|
|
5669
5861
|
kind: "outcome";
|
|
5670
5862
|
outcome: SkillInstallationOutcome;
|
|
5671
5863
|
negotiated: CatalogNegotiatedContract;
|
|
5672
|
-
} | CatalogNegotiationRefusedError | CatalogInvalidRequestError;
|
|
5864
|
+
} | CatalogNegotiationRefusedError | CatalogInvalidRequestError | CatalogNetworkFailureError;
|
|
5673
5865
|
/**
|
|
5674
5866
|
* Result of invoking the slash command (text output, prompt to send to the agent, completion, or subcommand selection).
|
|
5675
5867
|
*
|
|
@@ -7731,6 +7923,27 @@ export interface ProviderDescriptor {
|
|
|
7731
7923
|
*/
|
|
7732
7924
|
available: boolean;
|
|
7733
7925
|
}
|
|
7926
|
+
/**
|
|
7927
|
+
* A cached base identity a provider can reuse for login without asking the user to choose an account again.
|
|
7928
|
+
*
|
|
7929
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
7930
|
+
* via the `definition` "AuthLoginIdentity".
|
|
7931
|
+
*/
|
|
7932
|
+
/** @experimental */
|
|
7933
|
+
export interface AuthLoginIdentity {
|
|
7934
|
+
/**
|
|
7935
|
+
* Opaque provider-owned identity id. Pass it back to accounts.login.begin; consumers must not parse it.
|
|
7936
|
+
*/
|
|
7937
|
+
accountId: string;
|
|
7938
|
+
/**
|
|
7939
|
+
* Human-readable sign-in label owned by the runtime.
|
|
7940
|
+
*/
|
|
7941
|
+
label: string;
|
|
7942
|
+
/**
|
|
7943
|
+
* Whether this base identity owns the session's active derived account.
|
|
7944
|
+
*/
|
|
7945
|
+
active: boolean;
|
|
7946
|
+
}
|
|
7734
7947
|
/**
|
|
7735
7948
|
* Credential-free identity metadata.
|
|
7736
7949
|
*
|
|
@@ -7789,7 +8002,7 @@ export interface AuthLoginAdvanceRequest {
|
|
|
7789
8002
|
input?: string;
|
|
7790
8003
|
}
|
|
7791
8004
|
/**
|
|
7792
|
-
* Begin an interactive login flow for a provider kind
|
|
8005
|
+
* Begin an interactive login flow for a provider kind, optionally reusing a cached base identity or explicitly requesting provider account selection.
|
|
7793
8006
|
*
|
|
7794
8007
|
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
7795
8008
|
* via the `definition` "AuthLoginBeginRequest".
|
|
@@ -7797,6 +8010,11 @@ export interface AuthLoginAdvanceRequest {
|
|
|
7797
8010
|
/** @experimental */
|
|
7798
8011
|
export interface AuthLoginBeginRequest {
|
|
7799
8012
|
kind: LoginProviderKind;
|
|
8013
|
+
mode?: AuthLoginMode;
|
|
8014
|
+
/**
|
|
8015
|
+
* Opaque cached base identity id returned by accounts.enumerate loginAccounts. Valid only with default mode; consumers must not parse it.
|
|
8016
|
+
*/
|
|
8017
|
+
accountId?: string;
|
|
7800
8018
|
}
|
|
7801
8019
|
/**
|
|
7802
8020
|
* A started login flow: its opaque id and first step.
|
|
@@ -8597,7 +8815,7 @@ export interface CatalogAgentPluginCandidate {
|
|
|
8597
8815
|
* Publisher taken verbatim from the card. Inert untrusted text.
|
|
8598
8816
|
*/
|
|
8599
8817
|
publisher?: string;
|
|
8600
|
-
source
|
|
8818
|
+
source?: CatalogPluginRepositorySource;
|
|
8601
8819
|
/**
|
|
8602
8820
|
* Explicit validated compatibility tags, in canonical order. An empty list means the source declared no recognised compatibility; clients must not infer compatibility from other fields. `canvas-only` requires both `canvas` and `github-copilot`.
|
|
8603
8821
|
*
|
|
@@ -8652,9 +8870,9 @@ export interface CatalogPluginRepositorySource {
|
|
|
8652
8870
|
*/
|
|
8653
8871
|
repository: string;
|
|
8654
8872
|
/**
|
|
8655
|
-
* Case-preserving safe relative POSIX path derived from metadata.repoPath.
|
|
8873
|
+
* Case-preserving safe relative POSIX path derived from metadata.repoPath. Absent when the catalog declared sourceSet without repoPath, meaning the plugin is at the repository root; only callers that require agent-plugin-confirmed-installation receive such a source.
|
|
8656
8874
|
*/
|
|
8657
|
-
path
|
|
8875
|
+
path?: string;
|
|
8658
8876
|
}
|
|
8659
8877
|
/**
|
|
8660
8878
|
* What installing an Agent Plugin would do, for the user to review and confirm. Provisional: the catalogue install data it is built from is not final.
|
|
@@ -8672,20 +8890,18 @@ export interface CatalogAgentPluginInstallPlan {
|
|
|
8672
8890
|
*/
|
|
8673
8891
|
sources: [CatalogAgentPluginInstallSource] | [CatalogAgentPluginInstallSource, CatalogAgentPluginInstallSource] | [CatalogAgentPluginInstallSource, CatalogAgentPluginInstallSource, CatalogAgentPluginInstallSource];
|
|
8674
8892
|
/**
|
|
8675
|
-
* The plugin's name, as named in its marketplace or manifest.
|
|
8893
|
+
* The plugin's name, as named in its marketplace or manifest. Omitted from a materialisation-only plan, whose sources are only `materialization`: the verified manifests supply the name in the plugins.planInstall review.
|
|
8676
8894
|
*/
|
|
8677
|
-
pluginName
|
|
8895
|
+
pluginName?: string;
|
|
8678
8896
|
version?: CatalogResourceVersion;
|
|
8679
8897
|
/**
|
|
8680
8898
|
* Exact full commit ID to install, in lowercase hex. Always present when the plan has a repository source; a plan with a marketplace source carries at least one of version and commit.
|
|
8681
8899
|
*/
|
|
8682
8900
|
commit?: string;
|
|
8683
8901
|
/**
|
|
8684
|
-
* Components the plugin contributes, in canonical order.
|
|
8685
|
-
*
|
|
8686
|
-
* @minItems 1
|
|
8902
|
+
* Components the plugin contributes, in canonical order. Empty only in a materialisation-only plan, where the verified manifests list them in the plugins.planInstall review.
|
|
8687
8903
|
*/
|
|
8688
|
-
components:
|
|
8904
|
+
components: CatalogAgentPluginComponent[];
|
|
8689
8905
|
/**
|
|
8690
8906
|
* Canvas IDs the plugin contributes. Non-empty exactly when components include `canvas`.
|
|
8691
8907
|
*/
|
|
@@ -9104,6 +9320,215 @@ export interface CatalogContractViolationError {
|
|
|
9104
9320
|
*/
|
|
9105
9321
|
message: string;
|
|
9106
9322
|
}
|
|
9323
|
+
/**
|
|
9324
|
+
* An entry whose resource resolves and is presented as the same candidate catalog.search would return.
|
|
9325
|
+
*
|
|
9326
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
9327
|
+
* via the `definition` "CatalogFeedAvailableEntry".
|
|
9328
|
+
*/
|
|
9329
|
+
/** @experimental */
|
|
9330
|
+
export interface CatalogFeedAvailableEntry {
|
|
9331
|
+
status: CatalogFeedAvailableStatus;
|
|
9332
|
+
/**
|
|
9333
|
+
* The entry's resource identifier as saved in the feed.
|
|
9334
|
+
*/
|
|
9335
|
+
identifier: string;
|
|
9336
|
+
candidate: CatalogCandidate;
|
|
9337
|
+
}
|
|
9338
|
+
/**
|
|
9339
|
+
* An entry that cannot be presented, kept in its position so clients decide how to render it.
|
|
9340
|
+
*
|
|
9341
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
9342
|
+
* via the `definition` "CatalogFeedUnavailableEntry".
|
|
9343
|
+
*/
|
|
9344
|
+
/** @experimental */
|
|
9345
|
+
export interface CatalogFeedUnavailableEntry {
|
|
9346
|
+
status: CatalogFeedUnavailableStatus;
|
|
9347
|
+
/**
|
|
9348
|
+
* The entry's resource identifier as saved in the feed.
|
|
9349
|
+
*/
|
|
9350
|
+
identifier: string;
|
|
9351
|
+
reason: CatalogFeedUnavailableReason;
|
|
9352
|
+
}
|
|
9353
|
+
/**
|
|
9354
|
+
* An entry whose resource resolves but is not in one of the requested trust tiers.
|
|
9355
|
+
*
|
|
9356
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
9357
|
+
* via the `definition` "CatalogFeedFilteredEntry".
|
|
9358
|
+
*/
|
|
9359
|
+
/** @experimental */
|
|
9360
|
+
export interface CatalogFeedFilteredEntry {
|
|
9361
|
+
status: CatalogFeedFilteredStatus;
|
|
9362
|
+
/**
|
|
9363
|
+
* The entry's resource identifier as saved in the feed.
|
|
9364
|
+
*/
|
|
9365
|
+
identifier: string;
|
|
9366
|
+
}
|
|
9367
|
+
/**
|
|
9368
|
+
* A generated feed's identity. It has no version; generatedAt is its only freshness signal.
|
|
9369
|
+
*
|
|
9370
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
9371
|
+
* via the `definition` "CatalogGeneratedFeedDescription".
|
|
9372
|
+
*/
|
|
9373
|
+
/** @experimental */
|
|
9374
|
+
export interface CatalogGeneratedFeedDescription {
|
|
9375
|
+
/**
|
|
9376
|
+
* Generation strategy that was requested.
|
|
9377
|
+
*/
|
|
9378
|
+
strategy: string;
|
|
9379
|
+
/**
|
|
9380
|
+
* Feed key that was requested.
|
|
9381
|
+
*/
|
|
9382
|
+
key: string;
|
|
9383
|
+
/**
|
|
9384
|
+
* When the feed was computed, as reported by the authority. Omitted when the authority reports no valid timestamp.
|
|
9385
|
+
*/
|
|
9386
|
+
generatedAt?: string;
|
|
9387
|
+
}
|
|
9388
|
+
/**
|
|
9389
|
+
* Retrieves one generated feed, computed on every request, by strategy and key, such as `telemetry` and `popular`. Requires catalog-feeds and catalog-search-credential-required; add catalog-search-session-bound with policySessionId to retain the selected session's authority for installation, exactly as for catalog.search.
|
|
9390
|
+
*
|
|
9391
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
9392
|
+
* via the `definition` "CatalogGetGeneratedFeedRequest".
|
|
9393
|
+
*/
|
|
9394
|
+
/** @experimental */
|
|
9395
|
+
export interface CatalogGetGeneratedFeedRequest {
|
|
9396
|
+
contract: CatalogClientContract;
|
|
9397
|
+
/**
|
|
9398
|
+
* Select an existing attached local session. Requires authenticated, session-bound catalogue support.
|
|
9399
|
+
* The runtime never creates, resumes or reconfigures a session to honour this selector.
|
|
9400
|
+
*/
|
|
9401
|
+
policySessionId?: string;
|
|
9402
|
+
/**
|
|
9403
|
+
* Generation strategy, such as `telemetry`.
|
|
9404
|
+
*/
|
|
9405
|
+
strategy: string;
|
|
9406
|
+
/**
|
|
9407
|
+
* Feed key within the strategy, such as `popular`.
|
|
9408
|
+
*/
|
|
9409
|
+
key: string;
|
|
9410
|
+
/**
|
|
9411
|
+
* Accept only resources currently assessed at one of these trust tiers. Entries whose resource is in another tier, or has none, are returned as filtered in their original position. Omit for an unfiltered feed.
|
|
9412
|
+
*
|
|
9413
|
+
* @minItems 1
|
|
9414
|
+
* @maxItems 2
|
|
9415
|
+
*/
|
|
9416
|
+
trustTiers?: [CatalogTrustTier] | [CatalogTrustTier, CatalogTrustTier];
|
|
9417
|
+
}
|
|
9418
|
+
/**
|
|
9419
|
+
* A retrieved generated feed. Entries keep the feed's order and are never more than 100.
|
|
9420
|
+
*
|
|
9421
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
9422
|
+
* via the `definition` "CatalogGetGeneratedFeedSucceeded".
|
|
9423
|
+
*/
|
|
9424
|
+
/** @experimental */
|
|
9425
|
+
export interface CatalogGetGeneratedFeedSucceeded {
|
|
9426
|
+
/**
|
|
9427
|
+
* Discriminator: the feed was retrieved
|
|
9428
|
+
*/
|
|
9429
|
+
kind: "succeeded";
|
|
9430
|
+
/**
|
|
9431
|
+
* Runtime-issued identifier for this retrieval, with the same meaning as a catalog.search searchId, so a plan can be tied to the feed that produced its candidate. Derived from no user, account, device or feed data.
|
|
9432
|
+
*/
|
|
9433
|
+
searchId: string;
|
|
9434
|
+
feed: CatalogGeneratedFeedDescription;
|
|
9435
|
+
/**
|
|
9436
|
+
* Feed entries in the feed's order.
|
|
9437
|
+
*
|
|
9438
|
+
* @maxItems 100
|
|
9439
|
+
*/
|
|
9440
|
+
entries: CatalogFeedEntry[];
|
|
9441
|
+
negotiated: CatalogNegotiatedContract;
|
|
9442
|
+
}
|
|
9443
|
+
/**
|
|
9444
|
+
* The protocol version and capability set the runtime actually honoured for a successful catalog operation.
|
|
9445
|
+
*
|
|
9446
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
9447
|
+
* via the `definition` "CatalogNegotiatedContract".
|
|
9448
|
+
*/
|
|
9449
|
+
/** @experimental */
|
|
9450
|
+
export interface CatalogNegotiatedContract {
|
|
9451
|
+
/**
|
|
9452
|
+
* Protocol version of the runtime that served the request.
|
|
9453
|
+
*/
|
|
9454
|
+
runtimeProtocolVersion: number;
|
|
9455
|
+
/**
|
|
9456
|
+
* Wire features the runtime understood for this operation. Includes the five original catalog capabilities and only explicitly requested supported additions, in supported order without duplicates. Capabilities that introduce new success-union variants or operations are therefore included only when explicitly required, preserving older protocol-v3 clients. Always a superset of the caller's required features, because any shortfall is a refusal instead. Operation availability remains a separate typed result.
|
|
9457
|
+
*/
|
|
9458
|
+
grantedCapabilities: CatalogCapability[];
|
|
9459
|
+
}
|
|
9460
|
+
/**
|
|
9461
|
+
* Retrieves one saved feed by its opaque ID. Requires catalog-feeds and catalog-search-credential-required; add catalog-search-session-bound with policySessionId to retain the selected session's authority for installation, exactly as for catalog.search.
|
|
9462
|
+
*
|
|
9463
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
9464
|
+
* via the `definition` "CatalogGetSavedFeedRequest".
|
|
9465
|
+
*/
|
|
9466
|
+
/** @experimental */
|
|
9467
|
+
export interface CatalogGetSavedFeedRequest {
|
|
9468
|
+
contract: CatalogClientContract;
|
|
9469
|
+
/**
|
|
9470
|
+
* Select an existing attached local session. Requires authenticated, session-bound catalogue support.
|
|
9471
|
+
* The runtime never creates, resumes or reconfigures a session to honour this selector.
|
|
9472
|
+
*/
|
|
9473
|
+
policySessionId?: string;
|
|
9474
|
+
/**
|
|
9475
|
+
* Opaque saved feed ID. Treat it as an indivisible string.
|
|
9476
|
+
*/
|
|
9477
|
+
feedId: string;
|
|
9478
|
+
/**
|
|
9479
|
+
* Accept only resources currently assessed at one of these trust tiers. Entries whose resource is in another tier, or has none, are returned as filtered in their original position. Omit for an unfiltered feed.
|
|
9480
|
+
*
|
|
9481
|
+
* @minItems 1
|
|
9482
|
+
* @maxItems 2
|
|
9483
|
+
*/
|
|
9484
|
+
trustTiers?: [CatalogTrustTier] | [CatalogTrustTier, CatalogTrustTier];
|
|
9485
|
+
}
|
|
9486
|
+
/**
|
|
9487
|
+
* A retrieved saved feed. Entries keep the feed's order and are never more than 100.
|
|
9488
|
+
*
|
|
9489
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
9490
|
+
* via the `definition` "CatalogGetSavedFeedSucceeded".
|
|
9491
|
+
*/
|
|
9492
|
+
/** @experimental */
|
|
9493
|
+
export interface CatalogGetSavedFeedSucceeded {
|
|
9494
|
+
/**
|
|
9495
|
+
* Discriminator: the feed was retrieved
|
|
9496
|
+
*/
|
|
9497
|
+
kind: "succeeded";
|
|
9498
|
+
/**
|
|
9499
|
+
* Runtime-issued identifier for this retrieval, with the same meaning as a catalog.search searchId, so a plan can be tied to the feed that produced its candidate. Derived from no user, account, device or feed data.
|
|
9500
|
+
*/
|
|
9501
|
+
searchId: string;
|
|
9502
|
+
feed: CatalogSavedFeedDescription;
|
|
9503
|
+
/**
|
|
9504
|
+
* Feed entries in the feed's order.
|
|
9505
|
+
*
|
|
9506
|
+
* @maxItems 100
|
|
9507
|
+
*/
|
|
9508
|
+
entries: CatalogFeedEntry[];
|
|
9509
|
+
negotiated: CatalogNegotiatedContract;
|
|
9510
|
+
}
|
|
9511
|
+
/**
|
|
9512
|
+
* A saved feed's identity. Its version changes only when the feed's definition is replaced, not when a referenced resource changes.
|
|
9513
|
+
*
|
|
9514
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
9515
|
+
* via the `definition` "CatalogSavedFeedDescription".
|
|
9516
|
+
*/
|
|
9517
|
+
/** @experimental */
|
|
9518
|
+
export interface CatalogSavedFeedDescription {
|
|
9519
|
+
/**
|
|
9520
|
+
* Opaque feed ID.
|
|
9521
|
+
*/
|
|
9522
|
+
id: string;
|
|
9523
|
+
/**
|
|
9524
|
+
* Feed name as saved by its creator. Inert untrusted text.
|
|
9525
|
+
*/
|
|
9526
|
+
name: string;
|
|
9527
|
+
/**
|
|
9528
|
+
* Version of the saved feed definition.
|
|
9529
|
+
*/
|
|
9530
|
+
version: number;
|
|
9531
|
+
}
|
|
9107
9532
|
/**
|
|
9108
9533
|
* A presented handle was not accepted. Handles are runtime-instance scoped, TTL-bound, and single-use, so each way of failing is reported distinctly.
|
|
9109
9534
|
*
|
|
@@ -9193,23 +9618,6 @@ export interface CatalogMaterializationReference {
|
|
|
9193
9618
|
*/
|
|
9194
9619
|
bundleDigest: string;
|
|
9195
9620
|
}
|
|
9196
|
-
/**
|
|
9197
|
-
* The protocol version and capability set the runtime actually honoured for a successful catalog operation.
|
|
9198
|
-
*
|
|
9199
|
-
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
9200
|
-
* via the `definition` "CatalogNegotiatedContract".
|
|
9201
|
-
*/
|
|
9202
|
-
/** @experimental */
|
|
9203
|
-
export interface CatalogNegotiatedContract {
|
|
9204
|
-
/**
|
|
9205
|
-
* Protocol version of the runtime that served the request.
|
|
9206
|
-
*/
|
|
9207
|
-
runtimeProtocolVersion: number;
|
|
9208
|
-
/**
|
|
9209
|
-
* Wire features the runtime understood for this operation. Includes the five original catalog capabilities and only explicitly requested supported additions, in supported order without duplicates. Capabilities that introduce new success-union variants or operations are therefore included only when explicitly required, preserving older protocol-v3 clients. Always a superset of the caller's required features, because any shortfall is a refusal instead. Operation availability remains a separate typed result.
|
|
9210
|
-
*/
|
|
9211
|
-
grantedCapabilities: CatalogCapability[];
|
|
9212
|
-
}
|
|
9213
9621
|
/**
|
|
9214
9622
|
* The caller's protocol version or required capabilities cannot be honoured. Returned instead of a partial or ambiguous success.
|
|
9215
9623
|
*
|
|
@@ -9384,6 +9792,12 @@ export interface InstallationCatalogueIdentity {
|
|
|
9384
9792
|
*/
|
|
9385
9793
|
source: string;
|
|
9386
9794
|
trustAtInstall?: CatalogTrustSnapshot;
|
|
9795
|
+
/**
|
|
9796
|
+
* HTTPS URL of the resource's icon on raw.githubusercontent.com, retained from the catalogue
|
|
9797
|
+
* candidate. Untrusted external content: load it without credentials. Omitted when the
|
|
9798
|
+
* candidate had none.
|
|
9799
|
+
*/
|
|
9800
|
+
iconUrl?: string;
|
|
9387
9801
|
}
|
|
9388
9802
|
/**
|
|
9389
9803
|
* Source identity retained from Agent Finder and the pinned GitHub descriptor.
|
|
@@ -9620,6 +10034,60 @@ export interface PluginInstallationFileReview {
|
|
|
9620
10034
|
*/
|
|
9621
10035
|
digest: string;
|
|
9622
10036
|
}
|
|
10037
|
+
/**
|
|
10038
|
+
* One MCP server a reviewed plugin declares.
|
|
10039
|
+
*
|
|
10040
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
10041
|
+
* via the `definition` "PluginInstallationMcpServerReview".
|
|
10042
|
+
*/
|
|
10043
|
+
/** @experimental */
|
|
10044
|
+
export interface PluginInstallationMcpServerReview {
|
|
10045
|
+
/**
|
|
10046
|
+
* Server name as the plugin declares it.
|
|
10047
|
+
*/
|
|
10048
|
+
name: string;
|
|
10049
|
+
transport: PluginInstallationMcpTransport;
|
|
10050
|
+
/**
|
|
10051
|
+
* Host of a remote server's URL.
|
|
10052
|
+
*/
|
|
10053
|
+
host?: string;
|
|
10054
|
+
}
|
|
10055
|
+
/**
|
|
10056
|
+
* Retrieval was refused by the runtime's hardened fetch boundary before any request left the process, or before a redirect was followed.
|
|
10057
|
+
*
|
|
10058
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
10059
|
+
* via the `definition` "CatalogUnsafeRetrievalError".
|
|
10060
|
+
*/
|
|
10061
|
+
/** @experimental */
|
|
10062
|
+
export interface CatalogUnsafeRetrievalError {
|
|
10063
|
+
/**
|
|
10064
|
+
* Discriminator: retrieval was refused as unsafe
|
|
10065
|
+
*/
|
|
10066
|
+
kind: "unsafe-retrieval";
|
|
10067
|
+
reason: CatalogUnsafeRetrievalReason;
|
|
10068
|
+
/**
|
|
10069
|
+
* Human-readable explanation, safe to surface. Never contains the refused URL, nor a query, handle, or secret.
|
|
10070
|
+
*/
|
|
10071
|
+
message: string;
|
|
10072
|
+
}
|
|
10073
|
+
/**
|
|
10074
|
+
* The operation is not available on this runtime. Distinct from a network failure: nothing was attempted.
|
|
10075
|
+
*
|
|
10076
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
10077
|
+
* via the `definition` "CatalogUnavailableError".
|
|
10078
|
+
*/
|
|
10079
|
+
/** @experimental */
|
|
10080
|
+
export interface CatalogUnavailableError {
|
|
10081
|
+
/**
|
|
10082
|
+
* Discriminator: the operation is not available
|
|
10083
|
+
*/
|
|
10084
|
+
kind: "unavailable";
|
|
10085
|
+
reason: CatalogUnavailableReason;
|
|
10086
|
+
/**
|
|
10087
|
+
* Human-readable explanation, safe to surface. Never contains a query, URL, handle, or secret.
|
|
10088
|
+
*/
|
|
10089
|
+
message: string;
|
|
10090
|
+
}
|
|
9623
10091
|
/**
|
|
9624
10092
|
* An explicit numbered-page request. SDK consumers treat the token as opaque. For bound search, the runtime unwraps an expiring owner-bound reference to the private authority token; only the runtime changes the authority token's targetPage. Legacy unbound navigation keeps its authority-issued token semantics. No snapshot stability is promised.
|
|
9625
10093
|
*
|
|
@@ -9760,42 +10228,6 @@ export interface CatalogUnsupportedKindError {
|
|
|
9760
10228
|
*/
|
|
9761
10229
|
message: string;
|
|
9762
10230
|
}
|
|
9763
|
-
/**
|
|
9764
|
-
* Retrieval was refused by the runtime's hardened fetch boundary before any request left the process, or before a redirect was followed.
|
|
9765
|
-
*
|
|
9766
|
-
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
9767
|
-
* via the `definition` "CatalogUnsafeRetrievalError".
|
|
9768
|
-
*/
|
|
9769
|
-
/** @experimental */
|
|
9770
|
-
export interface CatalogUnsafeRetrievalError {
|
|
9771
|
-
/**
|
|
9772
|
-
* Discriminator: retrieval was refused as unsafe
|
|
9773
|
-
*/
|
|
9774
|
-
kind: "unsafe-retrieval";
|
|
9775
|
-
reason: CatalogUnsafeRetrievalReason;
|
|
9776
|
-
/**
|
|
9777
|
-
* Human-readable explanation, safe to surface. Never contains the refused URL, nor a query, handle, or secret.
|
|
9778
|
-
*/
|
|
9779
|
-
message: string;
|
|
9780
|
-
}
|
|
9781
|
-
/**
|
|
9782
|
-
* The operation is not available on this runtime. Distinct from a network failure: nothing was attempted.
|
|
9783
|
-
*
|
|
9784
|
-
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
9785
|
-
* via the `definition` "CatalogUnavailableError".
|
|
9786
|
-
*/
|
|
9787
|
-
/** @experimental */
|
|
9788
|
-
export interface CatalogUnavailableError {
|
|
9789
|
-
/**
|
|
9790
|
-
* Discriminator: the operation is not available
|
|
9791
|
-
*/
|
|
9792
|
-
kind: "unavailable";
|
|
9793
|
-
reason: CatalogUnavailableReason;
|
|
9794
|
-
/**
|
|
9795
|
-
* Human-readable explanation, safe to surface. Never contains a query, URL, handle, or secret.
|
|
9796
|
-
*/
|
|
9797
|
-
message: string;
|
|
9798
|
-
}
|
|
9799
10231
|
/**
|
|
9800
10232
|
* The caller cancelled the selection interaction and the retained search state was released.
|
|
9801
10233
|
*
|
|
@@ -13668,6 +14100,62 @@ export interface HostUnregisterSessionRequest {
|
|
|
13668
14100
|
*/
|
|
13669
14101
|
sessionId: string;
|
|
13670
14102
|
}
|
|
14103
|
+
/**
|
|
14104
|
+
* The runtime-selected image model and its account availability. Availability is independent of per-session image-generation enablement and does not override session policy or permissions.
|
|
14105
|
+
*
|
|
14106
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
14107
|
+
* via the `definition` "ImageToolModel".
|
|
14108
|
+
*/
|
|
14109
|
+
/** @experimental */
|
|
14110
|
+
export interface ImageToolModel {
|
|
14111
|
+
/**
|
|
14112
|
+
* Image model identifier selected by the runtime.
|
|
14113
|
+
*/
|
|
14114
|
+
id: string;
|
|
14115
|
+
/**
|
|
14116
|
+
* Human-readable model name, supplied by the runtime when unavailable from the catalog.
|
|
14117
|
+
*/
|
|
14118
|
+
name: string;
|
|
14119
|
+
/**
|
|
14120
|
+
* Image operations supported by the model's available versioned endpoints.
|
|
14121
|
+
*/
|
|
14122
|
+
supportedOperations: ImageToolModelOperation[];
|
|
14123
|
+
/**
|
|
14124
|
+
* Whether this is the model the runtime currently uses for its native image tool.
|
|
14125
|
+
*/
|
|
14126
|
+
isDefault: boolean;
|
|
14127
|
+
availability: ImageToolModelAvailability;
|
|
14128
|
+
pricing?: ImageToolModelPricing;
|
|
14129
|
+
}
|
|
14130
|
+
/**
|
|
14131
|
+
* Default-tier text and image token prices reported for an image model, in AI credits per billing batch. Missing rates remain absent; these are not per-image quotes or actual billed usage.
|
|
14132
|
+
*
|
|
14133
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
14134
|
+
* via the `definition` "ImageToolModelPricing".
|
|
14135
|
+
*/
|
|
14136
|
+
/** @experimental */
|
|
14137
|
+
export interface ImageToolModelPricing {
|
|
14138
|
+
/**
|
|
14139
|
+
* Number of tokens per billing batch.
|
|
14140
|
+
*/
|
|
14141
|
+
batchSize: number;
|
|
14142
|
+
/**
|
|
14143
|
+
* AI credits per batch of text-input tokens, including a reported zero.
|
|
14144
|
+
*/
|
|
14145
|
+
textInputPrice?: number;
|
|
14146
|
+
/**
|
|
14147
|
+
* AI credits per batch of text-output tokens, not generated image tokens.
|
|
14148
|
+
*/
|
|
14149
|
+
textOutputPrice?: number;
|
|
14150
|
+
/**
|
|
14151
|
+
* Distinct AI credits per batch of image-input tokens, when reported, including zero.
|
|
14152
|
+
*/
|
|
14153
|
+
imageInputPrice?: number;
|
|
14154
|
+
/**
|
|
14155
|
+
* Distinct AI credits per batch of image-output tokens, when reported, including zero.
|
|
14156
|
+
*/
|
|
14157
|
+
imageOutputPrice?: number;
|
|
14158
|
+
}
|
|
13671
14159
|
/**
|
|
13672
14160
|
* One connection-owned, expiring request for a trusted host's explicit user decision.
|
|
13673
14161
|
*
|
|
@@ -14061,6 +14549,32 @@ export interface InstalledPluginInfo {
|
|
|
14061
14549
|
* Whether the managed desired plugin currently has an installed or live record. Set to false for a managed desired entry retained in the listing after installation or reconciliation failed.
|
|
14062
14550
|
*/
|
|
14063
14551
|
installed?: boolean;
|
|
14552
|
+
/**
|
|
14553
|
+
* Description from the manifest of the installed copy. Present only for a direct install pinned to one GitHub commit, such as a verified install from GitHub.
|
|
14554
|
+
*/
|
|
14555
|
+
description?: string;
|
|
14556
|
+
verifiedSource?: InstalledPluginVerifiedSource;
|
|
14557
|
+
/**
|
|
14558
|
+
* HTTPS URL of the plugin's icon on raw.githubusercontent.com, retained from the catalogue entry it was installed from. Untrusted external content: load it without credentials. Present only for a direct install pinned to one GitHub commit whose catalogue entry had an icon.
|
|
14559
|
+
*/
|
|
14560
|
+
iconUrl?: string;
|
|
14561
|
+
}
|
|
14562
|
+
/**
|
|
14563
|
+
* The GitHub repository and commit an installed plugin is pinned to.
|
|
14564
|
+
*
|
|
14565
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
14566
|
+
* via the `definition` "InstalledPluginVerifiedSource".
|
|
14567
|
+
*/
|
|
14568
|
+
/** @experimental */
|
|
14569
|
+
export interface InstalledPluginVerifiedSource {
|
|
14570
|
+
/**
|
|
14571
|
+
* GitHub repository in `owner/repo` form.
|
|
14572
|
+
*/
|
|
14573
|
+
repository: string;
|
|
14574
|
+
/**
|
|
14575
|
+
* Full 40-character hexadecimal commit SHA the plugin is pinned to.
|
|
14576
|
+
*/
|
|
14577
|
+
revision: string;
|
|
14064
14578
|
}
|
|
14065
14579
|
/**
|
|
14066
14580
|
* Canonical file or directory where custom instructions can be discovered or created, with location, kind, preference, and project path.
|
|
@@ -14759,6 +15273,7 @@ export interface ManagedSettingsValues {
|
|
|
14759
15273
|
*/
|
|
14760
15274
|
model?: string;
|
|
14761
15275
|
autoTier?: AutoTier;
|
|
15276
|
+
ensembleTier?: ManagedEnsembleTier;
|
|
14762
15277
|
/**
|
|
14763
15278
|
* Managed reasoning-effort default for the managed concrete model. The runtime clamps it to an entitled effort when model availability is known.
|
|
14764
15279
|
*/
|
|
@@ -14775,6 +15290,7 @@ export interface ManagedSettingsValues {
|
|
|
14775
15290
|
export interface ManagedSettingsMeta {
|
|
14776
15291
|
model?: ManagedSettingMeta;
|
|
14777
15292
|
autoTier?: ManagedSettingMeta;
|
|
15293
|
+
ensembleTier?: ManagedSettingMeta;
|
|
14778
15294
|
effortLevel?: ManagedSettingMeta;
|
|
14779
15295
|
contextTier?: ManagedSettingMeta;
|
|
14780
15296
|
}
|
|
@@ -18132,6 +18648,10 @@ export interface ModelList {
|
|
|
18132
18648
|
*/
|
|
18133
18649
|
models: Model[];
|
|
18134
18650
|
auto?: AutoTierMetadata;
|
|
18651
|
+
/**
|
|
18652
|
+
* The runtime's default image model, separate from conversation models, with its availability for the resolved account. The default is reported even when unavailable; clients choose whether to display it. These entries must not be selected as chat models. Absent on runtimes that do not expose this catalog.
|
|
18653
|
+
*/
|
|
18654
|
+
imageModels?: ImageToolModel[];
|
|
18135
18655
|
}
|
|
18136
18656
|
/** @experimental */
|
|
18137
18657
|
export interface ModelPickerPersistenceRequest {
|
|
@@ -21257,6 +21777,19 @@ export interface ProtocolExternalToolDefinition {
|
|
|
21257
21777
|
[k: string]: JsonValue | undefined;
|
|
21258
21778
|
};
|
|
21259
21779
|
}
|
|
21780
|
+
/**
|
|
21781
|
+
* Opt into native CAPI image generation.
|
|
21782
|
+
*
|
|
21783
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
21784
|
+
* via the `definition` "ProtocolImageGenerationOptions".
|
|
21785
|
+
*/
|
|
21786
|
+
/** @experimental */
|
|
21787
|
+
export interface ProtocolImageGenerationOptions {
|
|
21788
|
+
/**
|
|
21789
|
+
* Disabled by default for SDK sessions. CAPI model access and permissions still apply.
|
|
21790
|
+
*/
|
|
21791
|
+
enabled?: boolean;
|
|
21792
|
+
}
|
|
21260
21793
|
/**
|
|
21261
21794
|
* BYOK providers and/or models to add to the session's registry at runtime. Both fields are optional; provide providers, models, or both.
|
|
21262
21795
|
*
|
|
@@ -26839,6 +27372,7 @@ export interface SessionTelemetryEngagement {
|
|
|
26839
27372
|
*/
|
|
26840
27373
|
/** @experimental */
|
|
26841
27374
|
export interface SessionUpdateOptionsParams {
|
|
27375
|
+
imageGeneration?: ProtocolImageGenerationOptions;
|
|
26842
27376
|
/**
|
|
26843
27377
|
* The model ID to use for assistant turns.
|
|
26844
27378
|
*/
|
|
@@ -28345,6 +28879,20 @@ export interface TasksGetProgressResult {
|
|
|
28345
28879
|
*/
|
|
28346
28880
|
progress?: TaskProgress | null;
|
|
28347
28881
|
}
|
|
28882
|
+
/**
|
|
28883
|
+
* How a shell task ended, reported with the read that reaches the end of its output.
|
|
28884
|
+
*
|
|
28885
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
28886
|
+
* via the `definition` "TaskShellOutputExit".
|
|
28887
|
+
*/
|
|
28888
|
+
/** @experimental */
|
|
28889
|
+
export interface TaskShellOutputExit {
|
|
28890
|
+
status: TaskStatus;
|
|
28891
|
+
/**
|
|
28892
|
+
* Process exit code, when the runtime recorded one. Absent when the shell was stopped before reporting an exit code.
|
|
28893
|
+
*/
|
|
28894
|
+
exitCode?: number;
|
|
28895
|
+
}
|
|
28348
28896
|
/**
|
|
28349
28897
|
* The promoted task as it now exists in background mode, omitted if no promotable task was waiting.
|
|
28350
28898
|
*
|
|
@@ -28381,6 +28929,45 @@ export interface TasksPromoteToBackgroundResult {
|
|
|
28381
28929
|
*/
|
|
28382
28930
|
promoted: boolean;
|
|
28383
28931
|
}
|
|
28932
|
+
/**
|
|
28933
|
+
* Detached shell task to read output from, with an optional cursor and long-poll wait. waitMs defaults to zero (maximum 30000).
|
|
28934
|
+
*
|
|
28935
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
28936
|
+
* via the `definition` "TasksReadOutputRequest".
|
|
28937
|
+
*/
|
|
28938
|
+
/** @experimental */
|
|
28939
|
+
export interface TasksReadOutputRequest {
|
|
28940
|
+
/**
|
|
28941
|
+
* Identifier of a detached shell task, as returned by tasks.list
|
|
28942
|
+
*/
|
|
28943
|
+
id: string;
|
|
28944
|
+
/**
|
|
28945
|
+
* Opaque cursor returned by an earlier read of the same task. Omit to read from the beginning of the shell's output. If the output no longer reaches the cursor, for example because its log was removed, the request fails; read again without a cursor.
|
|
28946
|
+
*/
|
|
28947
|
+
cursor?: string;
|
|
28948
|
+
/**
|
|
28949
|
+
* Milliseconds to wait for new output, or for the shell to finish, when the cursor is already at the end of the available output. 0 (default) returns immediately. Capped at 30000ms.
|
|
28950
|
+
*/
|
|
28951
|
+
waitMs?: number;
|
|
28952
|
+
}
|
|
28953
|
+
/**
|
|
28954
|
+
* Output a detached shell task wrote after the request cursor, with the cursor for the next read.
|
|
28955
|
+
*
|
|
28956
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
28957
|
+
* via the `definition` "TasksReadOutputResult".
|
|
28958
|
+
*/
|
|
28959
|
+
/** @experimental */
|
|
28960
|
+
export interface TasksReadOutputResult {
|
|
28961
|
+
/**
|
|
28962
|
+
* Output after the request cursor, decoded as UTF-8 and redacted. At most 64 KiB per read, so a large backlog takes several reads; the text never splits a character, and text that stops before the end of the output ends at a line break when it contains one. Empty when no new output is available. Detached shells write stdout and stderr to one output, so the text does not separate them.
|
|
28963
|
+
*/
|
|
28964
|
+
text: string;
|
|
28965
|
+
/**
|
|
28966
|
+
* Opaque cursor to pass to the next read of this task. Always present, even when no output was returned.
|
|
28967
|
+
*/
|
|
28968
|
+
cursor: string;
|
|
28969
|
+
exit?: TaskShellOutputExit;
|
|
28970
|
+
}
|
|
28384
28971
|
/**
|
|
28385
28972
|
* Refresh metadata for any detached background shells the runtime knows about. Use after a long pause to pick up exit/output state for shells running outside the agent loop.
|
|
28386
28973
|
*
|
|
@@ -33132,6 +33719,22 @@ export declare function createServerRpc(connection: MessageConnection): {
|
|
|
33132
33719
|
* @returns Outcome of a catalog.search call: either bounded inert candidates, or one typed refusal. Never a partial success.
|
|
33133
33720
|
*/
|
|
33134
33721
|
search: (params: CatalogSearchRequest) => Promise<CatalogSearchResult>;
|
|
33722
|
+
/**
|
|
33723
|
+
* Retrieves one saved feed by its opaque ID, optionally filtered by trust tier. Requires catalog-feeds and catalog-search-credential-required, and uses the same authority, credential policy, optional session binding and candidate projection as catalog.search, so available entries are the same inert candidates, with the same installability, handles and display metadata, and install through the same confirmed flows. Entries keep the feed's order; an entry the runtime cannot present is returned as unavailable with a reason rather than failing the feed. No anonymous retry. Read-only: nothing is installed, configured, or persisted.
|
|
33724
|
+
*
|
|
33725
|
+
* @param params Retrieves one saved feed by its opaque ID. Requires catalog-feeds and catalog-search-credential-required; add catalog-search-session-bound with policySessionId to retain the selected session's authority for installation, exactly as for catalog.search.
|
|
33726
|
+
*
|
|
33727
|
+
* @returns Outcome of catalog.getSavedFeed: the feed with its entries, or one typed refusal. An entry that cannot be presented never fails the feed.
|
|
33728
|
+
*/
|
|
33729
|
+
getSavedFeed: (params: CatalogGetSavedFeedRequest) => Promise<CatalogResourceSavedFeedResult>;
|
|
33730
|
+
/**
|
|
33731
|
+
* Retrieves one generated feed by strategy and key, such as telemetry/popular, optionally filtered by trust tier. Requires catalog-feeds and catalog-search-credential-required, and uses the same authority, credential policy, optional session binding and candidate projection as catalog.search, so available entries are the same inert candidates, with the same installability, handles and display metadata, and install through the same confirmed flows. Entries keep the feed's order; an entry the runtime cannot present is returned as unavailable with a reason rather than failing the feed. No anonymous retry. Read-only: nothing is installed, configured, or persisted.
|
|
33732
|
+
*
|
|
33733
|
+
* @param params Retrieves one generated feed, computed on every request, by strategy and key, such as `telemetry` and `popular`. Requires catalog-feeds and catalog-search-credential-required; add catalog-search-session-bound with policySessionId to retain the selected session's authority for installation, exactly as for catalog.search.
|
|
33734
|
+
*
|
|
33735
|
+
* @returns Outcome of catalog.getGeneratedFeed: the feed with its entries, or one typed refusal. An entry that cannot be presented never fails the feed.
|
|
33736
|
+
*/
|
|
33737
|
+
getGeneratedFeed: (params: CatalogGetGeneratedFeedRequest) => Promise<CatalogResourceGeneratedFeedResult>;
|
|
33135
33738
|
/**
|
|
33136
33739
|
* Terminates one retained catalog selection group. A selected outcome returns the native host a fresh single-use candidate handle plus the original searchId for a later explicit mcp.planInstall call; non-selected outcomes release the group without producing a planning input. Candidate state, cards, URLs, credentials and private identifiers remain inside the runtime. The model-facing catalog_select tool projects the result separately and never exposes the candidate handle or searchId.
|
|
33137
33740
|
*
|
|
@@ -33649,7 +34252,7 @@ export declare function createSessionRpc(connection: MessageConnection, sessionI
|
|
|
33649
34252
|
/**
|
|
33650
34253
|
* Begin an interactive login flow for a provider kind (dispatch is kind-only) and return its opaque flow id and first step.
|
|
33651
34254
|
*
|
|
33652
|
-
* @param params Begin an interactive login flow for a provider kind
|
|
34255
|
+
* @param params Begin an interactive login flow for a provider kind, optionally reusing a cached base identity or explicitly requesting provider account selection.
|
|
33653
34256
|
*
|
|
33654
34257
|
* @returns A started login flow: its opaque id and first step.
|
|
33655
34258
|
*/
|
|
@@ -34248,6 +34851,14 @@ export declare function createSessionRpc(connection: MessageConnection, sessionI
|
|
|
34248
34851
|
* @returns Progress information for the task, or null when no task with that ID is tracked.
|
|
34249
34852
|
*/
|
|
34250
34853
|
getProgress: (params: TasksGetProgressRequest) => Promise<TasksGetProgressResult>;
|
|
34854
|
+
/**
|
|
34855
|
+
* Reads a detached shell task's output after a cursor, optionally waiting for new output or for the shell to finish.
|
|
34856
|
+
*
|
|
34857
|
+
* @param params Detached shell task to read output from, with an optional cursor and long-poll wait. waitMs defaults to zero (maximum 30000).
|
|
34858
|
+
*
|
|
34859
|
+
* @returns Output a detached shell task wrote after the request cursor, with the cursor for the next read.
|
|
34860
|
+
*/
|
|
34861
|
+
readOutput: (params: TasksReadOutputRequest) => Promise<TasksReadOutputResult>;
|
|
34251
34862
|
/**
|
|
34252
34863
|
* Returns the first sync-waiting task that can currently be promoted to background mode.
|
|
34253
34864
|
*
|