@github/copilot-sdk 1.0.23-preview.1 → 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/dist/cjs/cliVersion.js +1 -1
- package/dist/cjs/generated/rpc.js +24 -0
- package/dist/cliVersion.d.ts +1 -1
- package/dist/cliVersion.js +1 -1
- package/dist/generated/rpc.d.ts +543 -83
- package/dist/generated/rpc.js +24 -0
- package/dist/generated/session-events.d.ts +12 -0
- package/package.json +21 -17
package/dist/cjs/cliVersion.js
CHANGED
|
@@ -22,7 +22,7 @@ __export(cliVersion_exports, {
|
|
|
22
22
|
COPILOT_CLI_VERSION: () => COPILOT_CLI_VERSION
|
|
23
23
|
});
|
|
24
24
|
module.exports = __toCommonJS(cliVersion_exports);
|
|
25
|
-
const COPILOT_CLI_VERSION = "1.0.99-
|
|
25
|
+
const COPILOT_CLI_VERSION = "1.0.99-2";
|
|
26
26
|
const COPILOT_CLI_USE_NPM_PACKAGE = false;
|
|
27
27
|
// Annotate the CommonJS export names for ESM import in node:
|
|
28
28
|
0 && (module.exports = {
|
|
@@ -761,6 +761,22 @@ function createServerRpc(connection) {
|
|
|
761
761
|
* @returns Outcome of a catalog.search call: either bounded inert candidates, or one typed refusal. Never a partial success.
|
|
762
762
|
*/
|
|
763
763
|
search: async (params) => connection.sendRequest("catalog.search", params),
|
|
764
|
+
/**
|
|
765
|
+
* 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.
|
|
766
|
+
*
|
|
767
|
+
* @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.
|
|
768
|
+
*
|
|
769
|
+
* @returns Outcome of catalog.getSavedFeed: the feed with its entries, or one typed refusal. An entry that cannot be presented never fails the feed.
|
|
770
|
+
*/
|
|
771
|
+
getSavedFeed: async (params) => connection.sendRequest("catalog.getSavedFeed", params),
|
|
772
|
+
/**
|
|
773
|
+
* 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.
|
|
774
|
+
*
|
|
775
|
+
* @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.
|
|
776
|
+
*
|
|
777
|
+
* @returns Outcome of catalog.getGeneratedFeed: the feed with its entries, or one typed refusal. An entry that cannot be presented never fails the feed.
|
|
778
|
+
*/
|
|
779
|
+
getGeneratedFeed: async (params) => connection.sendRequest("catalog.getGeneratedFeed", params),
|
|
764
780
|
/**
|
|
765
781
|
* 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.
|
|
766
782
|
*
|
|
@@ -2755,6 +2771,14 @@ function createSessionRpc(connection, sessionId) {
|
|
|
2755
2771
|
* @returns Progress information for the task, or null when no task with that ID is tracked.
|
|
2756
2772
|
*/
|
|
2757
2773
|
getProgress: async (params) => connection.sendRequest("session.tasks.getProgress", { ...params, sessionId }),
|
|
2774
|
+
/**
|
|
2775
|
+
* Reads a detached shell task's output after a cursor, optionally waiting for new output or for the shell to finish.
|
|
2776
|
+
*
|
|
2777
|
+
* @param params Detached shell task to read output from, with an optional cursor and long-poll wait. waitMs defaults to zero (maximum 30000).
|
|
2778
|
+
*
|
|
2779
|
+
* @returns Output a detached shell task wrote after the request cursor, with the cursor for the next read.
|
|
2780
|
+
*/
|
|
2781
|
+
readOutput: async (params) => connection.sendRequest("session.tasks.readOutput", { ...params, sessionId }),
|
|
2758
2782
|
/**
|
|
2759
2783
|
* Returns the first sync-waiting task that can currently be promoted to background mode.
|
|
2760
2784
|
*
|
package/dist/cliVersion.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const COPILOT_CLI_VERSION = "1.0.99-
|
|
1
|
+
export declare const COPILOT_CLI_VERSION = "1.0.99-2";
|
|
2
2
|
export declare const COPILOT_CLI_USE_NPM_PACKAGE = false;
|
package/dist/cliVersion.js
CHANGED
package/dist/generated/rpc.d.ts
CHANGED
|
@@ -992,7 +992,9 @@ export type CatalogCapability =
|
|
|
992
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. */
|
|
993
993
|
| "agent-plugin-confirmed-installation"
|
|
994
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. */
|
|
995
|
-
| "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";
|
|
996
998
|
/**
|
|
997
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.
|
|
998
1000
|
*
|
|
@@ -1017,6 +1019,52 @@ export type CatalogContractViolationReason =
|
|
|
1017
1019
|
| "duplicate-identity"
|
|
1018
1020
|
/** A result declared no media type, or one this contract does not model. */
|
|
1019
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";
|
|
1020
1068
|
/**
|
|
1021
1069
|
* Which kind of opaque handle was presented
|
|
1022
1070
|
*
|
|
@@ -1082,7 +1130,11 @@ export type CatalogInvalidRequestField =
|
|
|
1082
1130
|
/** The opaque selection reference was missing or malformed. */
|
|
1083
1131
|
| "selectionRef"
|
|
1084
1132
|
/** The terminal selection outcome was missing or unsupported. */
|
|
1085
|
-
| "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";
|
|
1086
1138
|
/**
|
|
1087
1139
|
* How a card failed validation
|
|
1088
1140
|
*
|
|
@@ -1231,6 +1283,12 @@ export type CatalogReferenceInstallationFailureReason =
|
|
|
1231
1283
|
| "unsupported-resource"
|
|
1232
1284
|
/** The resource's entrypoint could not be retrieved or verified. */
|
|
1233
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"
|
|
1234
1292
|
/** The Skill entrypoint is not a valid Skill. */
|
|
1235
1293
|
| "invalid-skill"
|
|
1236
1294
|
/** The plugin manifest is not a valid plugin manifest, or the bundle has another manifest that would take precedence over the reviewed one. */
|
|
@@ -1262,6 +1320,10 @@ export type CatalogReferenceInstallationOutcome = {
|
|
|
1262
1320
|
kind: "plugin-install-planned";
|
|
1263
1321
|
} | {
|
|
1264
1322
|
reason: CatalogReferenceInstallationFailureReason;
|
|
1323
|
+
/**
|
|
1324
|
+
* Whole seconds GitHub asked the caller to wait, present only with source-rate-limited.
|
|
1325
|
+
*/
|
|
1326
|
+
retryAfterSeconds?: number;
|
|
1265
1327
|
/**
|
|
1266
1328
|
* Reference planning outcome discriminator naming the planned kind.
|
|
1267
1329
|
*/
|
|
@@ -1407,11 +1469,28 @@ export type PluginInstallationReview = {
|
|
|
1407
1469
|
* when this exceeds 262144 UTF-8 bytes; it is never truncated.
|
|
1408
1470
|
*/
|
|
1409
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[];
|
|
1410
1477
|
/**
|
|
1411
1478
|
* Exact reviewed Agent Plugin installation action.
|
|
1412
1479
|
*/
|
|
1413
1480
|
action: "install";
|
|
1414
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";
|
|
1415
1494
|
/**
|
|
1416
1495
|
* Planning result for a materialisation reference with the honoured contract, or a typed refusal.
|
|
1417
1496
|
*
|
|
@@ -1426,25 +1505,15 @@ export type CatalogReferenceInstallationResult = {
|
|
|
1426
1505
|
kind: "outcome";
|
|
1427
1506
|
outcome: CatalogReferenceInstallationOutcome;
|
|
1428
1507
|
negotiated: CatalogNegotiatedContract;
|
|
1429
|
-
} | CatalogNegotiationRefusedError | CatalogInvalidRequestError;
|
|
1430
|
-
/**
|
|
1431
|
-
* Relationship of the backend-reported count to the complete query result set.
|
|
1432
|
-
*
|
|
1433
|
-
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
1434
|
-
* via the `definition` "CatalogSearchTotalCountRelation".
|
|
1435
|
-
*/
|
|
1436
|
-
/** @experimental */
|
|
1437
|
-
export type CatalogSearchTotalCountRelation =
|
|
1438
|
-
/** No exact/full-query or lower-bound guarantee is available. */
|
|
1439
|
-
"unknown";
|
|
1508
|
+
} | CatalogNegotiationRefusedError | CatalogInvalidRequestError | CatalogNetworkFailureError;
|
|
1440
1509
|
/**
|
|
1441
|
-
* Outcome of
|
|
1510
|
+
* Outcome of catalog.getGeneratedFeed: the feed with its entries, or one typed refusal. An entry that cannot be presented never fails the feed.
|
|
1442
1511
|
*
|
|
1443
1512
|
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
1444
|
-
* via the `definition` "
|
|
1513
|
+
* via the `definition` "CatalogResourceGeneratedFeedResult".
|
|
1445
1514
|
*/
|
|
1446
1515
|
/** @experimental */
|
|
1447
|
-
export type
|
|
1516
|
+
export type CatalogResourceGeneratedFeedResult = CatalogGetGeneratedFeedSucceeded | CatalogNegotiationRefusedError | CatalogInvalidRequestError | CatalogAuthenticationRequiredError | CatalogPolicyRejectedError | CatalogNetworkFailureError | CatalogUnsafeRetrievalError | CatalogMalformedCardError | CatalogUnavailableError;
|
|
1448
1517
|
/**
|
|
1449
1518
|
* Which hardened-fetch control refused a retrieval
|
|
1450
1519
|
*
|
|
@@ -1482,7 +1551,35 @@ export type CatalogUnavailableReason =
|
|
|
1482
1551
|
/** No catalog authority is configured for this runtime. */
|
|
1483
1552
|
| "authority-not-configured"
|
|
1484
1553
|
/** The surface is disabled by policy on this runtime. */
|
|
1485
|
-
| "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;
|
|
1486
1583
|
/**
|
|
1487
1584
|
* Terminal outcome declared for a retained catalog selection group
|
|
1488
1585
|
*
|
|
@@ -2852,6 +2949,22 @@ export type SessionLogLevel =
|
|
|
2852
2949
|
| "warning"
|
|
2853
2950
|
/** Error message describing a failure. */
|
|
2854
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";
|
|
2855
2968
|
/** @experimental */
|
|
2856
2969
|
export type ManagedPermissionOperation = {
|
|
2857
2970
|
/**
|
|
@@ -4441,6 +4554,12 @@ export type PluginInstallationFailureReason =
|
|
|
4441
4554
|
| "payload-unavailable"
|
|
4442
4555
|
/** The acquired files no longer match the reviewed descriptor. */
|
|
4443
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"
|
|
4444
4563
|
/** Plugin installation storage or admission is busy. */
|
|
4445
4564
|
| "busy"
|
|
4446
4565
|
/** A plugin with the same name or install location already exists. */
|
|
@@ -4462,6 +4581,10 @@ export type PluginInstallationManagementOutcome = {
|
|
|
4462
4581
|
kind: "install-planned";
|
|
4463
4582
|
} | {
|
|
4464
4583
|
reason: PluginInstallationFailureReason;
|
|
4584
|
+
/**
|
|
4585
|
+
* Whole seconds GitHub asked the caller to wait, present only with source-rate-limited.
|
|
4586
|
+
*/
|
|
4587
|
+
retryAfterSeconds?: number;
|
|
4465
4588
|
/**
|
|
4466
4589
|
* Agent Plugin installation management outcome discriminator.
|
|
4467
4590
|
*/
|
|
@@ -4481,7 +4604,7 @@ export type PluginInstallationManagementResult = {
|
|
|
4481
4604
|
kind: "outcome";
|
|
4482
4605
|
outcome: PluginInstallationManagementOutcome;
|
|
4483
4606
|
negotiated: CatalogNegotiatedContract;
|
|
4484
|
-
} | CatalogNegotiationRefusedError | CatalogInvalidRequestError;
|
|
4607
|
+
} | CatalogNegotiationRefusedError | CatalogInvalidRequestError | CatalogNetworkFailureError;
|
|
4485
4608
|
/**
|
|
4486
4609
|
* Terminal verified Agent Plugin installation result.
|
|
4487
4610
|
*
|
|
@@ -4519,6 +4642,10 @@ export type PluginInstallationOutcome = {
|
|
|
4519
4642
|
* Present once an operation has been allocated.
|
|
4520
4643
|
*/
|
|
4521
4644
|
operationId?: string;
|
|
4645
|
+
/**
|
|
4646
|
+
* Whole seconds GitHub asked the caller to wait, present only with source-rate-limited.
|
|
4647
|
+
*/
|
|
4648
|
+
retryAfterSeconds?: number;
|
|
4522
4649
|
/**
|
|
4523
4650
|
* Terminal Agent Plugin installation outcome discriminator.
|
|
4524
4651
|
*/
|
|
@@ -4538,7 +4665,7 @@ export type PluginInstallationResult = {
|
|
|
4538
4665
|
kind: "outcome";
|
|
4539
4666
|
outcome: PluginInstallationOutcome;
|
|
4540
4667
|
negotiated: CatalogNegotiatedContract;
|
|
4541
|
-
} | CatalogNegotiationRefusedError | CatalogInvalidRequestError;
|
|
4668
|
+
} | CatalogNegotiationRefusedError | CatalogInvalidRequestError | CatalogNetworkFailureError;
|
|
4542
4669
|
/**
|
|
4543
4670
|
* Where completed plugin content was staged before atomic promotion.
|
|
4544
4671
|
*
|
|
@@ -5457,6 +5584,12 @@ export type SkillInstallationFailureReason =
|
|
|
5457
5584
|
| "payload-unavailable"
|
|
5458
5585
|
/** The acquired payload no longer matches the reviewed descriptor. */
|
|
5459
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"
|
|
5460
5593
|
/** The retained Skill source changed after planning. */
|
|
5461
5594
|
| "source-changed"
|
|
5462
5595
|
/** The selected runtime cannot inspect or control the requested lifecycle operation. */
|
|
@@ -5543,6 +5676,10 @@ export type SkillInstallationManagementOutcome = {
|
|
|
5543
5676
|
kind: "enabled-changed";
|
|
5544
5677
|
} | {
|
|
5545
5678
|
reason: SkillInstallationFailureReason;
|
|
5679
|
+
/**
|
|
5680
|
+
* Whole seconds GitHub asked the caller to wait, present only with source-rate-limited.
|
|
5681
|
+
*/
|
|
5682
|
+
retryAfterSeconds?: number;
|
|
5546
5683
|
/**
|
|
5547
5684
|
* Skill installation management outcome discriminator.
|
|
5548
5685
|
*/
|
|
@@ -5686,6 +5823,10 @@ export type SkillInstallationOutcome = {
|
|
|
5686
5823
|
* Present once an operation has been allocated.
|
|
5687
5824
|
*/
|
|
5688
5825
|
operationId?: string;
|
|
5826
|
+
/**
|
|
5827
|
+
* Whole seconds GitHub asked the caller to wait, present only with source-rate-limited.
|
|
5828
|
+
*/
|
|
5829
|
+
retryAfterSeconds?: number;
|
|
5689
5830
|
/**
|
|
5690
5831
|
* Terminal Skill installation outcome discriminator.
|
|
5691
5832
|
*/
|
|
@@ -5705,7 +5846,7 @@ export type SkillInstallationManagementResult = {
|
|
|
5705
5846
|
kind: "outcome";
|
|
5706
5847
|
outcome: SkillInstallationManagementOutcome;
|
|
5707
5848
|
negotiated: CatalogNegotiatedContract;
|
|
5708
|
-
} | CatalogNegotiationRefusedError | CatalogInvalidRequestError;
|
|
5849
|
+
} | CatalogNegotiationRefusedError | CatalogInvalidRequestError | CatalogNetworkFailureError;
|
|
5709
5850
|
/**
|
|
5710
5851
|
* Skill installation result with the honoured contract, or a typed request/negotiation refusal.
|
|
5711
5852
|
*
|
|
@@ -5720,7 +5861,7 @@ export type SkillInstallationResult = {
|
|
|
5720
5861
|
kind: "outcome";
|
|
5721
5862
|
outcome: SkillInstallationOutcome;
|
|
5722
5863
|
negotiated: CatalogNegotiatedContract;
|
|
5723
|
-
} | CatalogNegotiationRefusedError | CatalogInvalidRequestError;
|
|
5864
|
+
} | CatalogNegotiationRefusedError | CatalogInvalidRequestError | CatalogNetworkFailureError;
|
|
5724
5865
|
/**
|
|
5725
5866
|
* Result of invoking the slash command (text output, prompt to send to the agent, completion, or subcommand selection).
|
|
5726
5867
|
*
|
|
@@ -8674,7 +8815,7 @@ export interface CatalogAgentPluginCandidate {
|
|
|
8674
8815
|
* Publisher taken verbatim from the card. Inert untrusted text.
|
|
8675
8816
|
*/
|
|
8676
8817
|
publisher?: string;
|
|
8677
|
-
source
|
|
8818
|
+
source?: CatalogPluginRepositorySource;
|
|
8678
8819
|
/**
|
|
8679
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`.
|
|
8680
8821
|
*
|
|
@@ -8729,9 +8870,9 @@ export interface CatalogPluginRepositorySource {
|
|
|
8729
8870
|
*/
|
|
8730
8871
|
repository: string;
|
|
8731
8872
|
/**
|
|
8732
|
-
* 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.
|
|
8733
8874
|
*/
|
|
8734
|
-
path
|
|
8875
|
+
path?: string;
|
|
8735
8876
|
}
|
|
8736
8877
|
/**
|
|
8737
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.
|
|
@@ -8749,20 +8890,18 @@ export interface CatalogAgentPluginInstallPlan {
|
|
|
8749
8890
|
*/
|
|
8750
8891
|
sources: [CatalogAgentPluginInstallSource] | [CatalogAgentPluginInstallSource, CatalogAgentPluginInstallSource] | [CatalogAgentPluginInstallSource, CatalogAgentPluginInstallSource, CatalogAgentPluginInstallSource];
|
|
8751
8892
|
/**
|
|
8752
|
-
* 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.
|
|
8753
8894
|
*/
|
|
8754
|
-
pluginName
|
|
8895
|
+
pluginName?: string;
|
|
8755
8896
|
version?: CatalogResourceVersion;
|
|
8756
8897
|
/**
|
|
8757
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.
|
|
8758
8899
|
*/
|
|
8759
8900
|
commit?: string;
|
|
8760
8901
|
/**
|
|
8761
|
-
* Components the plugin contributes, in canonical order.
|
|
8762
|
-
*
|
|
8763
|
-
* @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.
|
|
8764
8903
|
*/
|
|
8765
|
-
components:
|
|
8904
|
+
components: CatalogAgentPluginComponent[];
|
|
8766
8905
|
/**
|
|
8767
8906
|
* Canvas IDs the plugin contributes. Non-empty exactly when components include `canvas`.
|
|
8768
8907
|
*/
|
|
@@ -9181,6 +9320,215 @@ export interface CatalogContractViolationError {
|
|
|
9181
9320
|
*/
|
|
9182
9321
|
message: string;
|
|
9183
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
|
+
}
|
|
9184
9532
|
/**
|
|
9185
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.
|
|
9186
9534
|
*
|
|
@@ -9270,23 +9618,6 @@ export interface CatalogMaterializationReference {
|
|
|
9270
9618
|
*/
|
|
9271
9619
|
bundleDigest: string;
|
|
9272
9620
|
}
|
|
9273
|
-
/**
|
|
9274
|
-
* The protocol version and capability set the runtime actually honoured for a successful catalog operation.
|
|
9275
|
-
*
|
|
9276
|
-
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
9277
|
-
* via the `definition` "CatalogNegotiatedContract".
|
|
9278
|
-
*/
|
|
9279
|
-
/** @experimental */
|
|
9280
|
-
export interface CatalogNegotiatedContract {
|
|
9281
|
-
/**
|
|
9282
|
-
* Protocol version of the runtime that served the request.
|
|
9283
|
-
*/
|
|
9284
|
-
runtimeProtocolVersion: number;
|
|
9285
|
-
/**
|
|
9286
|
-
* 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.
|
|
9287
|
-
*/
|
|
9288
|
-
grantedCapabilities: CatalogCapability[];
|
|
9289
|
-
}
|
|
9290
9621
|
/**
|
|
9291
9622
|
* The caller's protocol version or required capabilities cannot be honoured. Returned instead of a partial or ambiguous success.
|
|
9292
9623
|
*
|
|
@@ -9461,6 +9792,12 @@ export interface InstallationCatalogueIdentity {
|
|
|
9461
9792
|
*/
|
|
9462
9793
|
source: string;
|
|
9463
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;
|
|
9464
9801
|
}
|
|
9465
9802
|
/**
|
|
9466
9803
|
* Source identity retained from Agent Finder and the pinned GitHub descriptor.
|
|
@@ -9697,6 +10034,60 @@ export interface PluginInstallationFileReview {
|
|
|
9697
10034
|
*/
|
|
9698
10035
|
digest: string;
|
|
9699
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
|
+
}
|
|
9700
10091
|
/**
|
|
9701
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.
|
|
9702
10093
|
*
|
|
@@ -9837,42 +10228,6 @@ export interface CatalogUnsupportedKindError {
|
|
|
9837
10228
|
*/
|
|
9838
10229
|
message: string;
|
|
9839
10230
|
}
|
|
9840
|
-
/**
|
|
9841
|
-
* Retrieval was refused by the runtime's hardened fetch boundary before any request left the process, or before a redirect was followed.
|
|
9842
|
-
*
|
|
9843
|
-
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
9844
|
-
* via the `definition` "CatalogUnsafeRetrievalError".
|
|
9845
|
-
*/
|
|
9846
|
-
/** @experimental */
|
|
9847
|
-
export interface CatalogUnsafeRetrievalError {
|
|
9848
|
-
/**
|
|
9849
|
-
* Discriminator: retrieval was refused as unsafe
|
|
9850
|
-
*/
|
|
9851
|
-
kind: "unsafe-retrieval";
|
|
9852
|
-
reason: CatalogUnsafeRetrievalReason;
|
|
9853
|
-
/**
|
|
9854
|
-
* Human-readable explanation, safe to surface. Never contains the refused URL, nor a query, handle, or secret.
|
|
9855
|
-
*/
|
|
9856
|
-
message: string;
|
|
9857
|
-
}
|
|
9858
|
-
/**
|
|
9859
|
-
* The operation is not available on this runtime. Distinct from a network failure: nothing was attempted.
|
|
9860
|
-
*
|
|
9861
|
-
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
9862
|
-
* via the `definition` "CatalogUnavailableError".
|
|
9863
|
-
*/
|
|
9864
|
-
/** @experimental */
|
|
9865
|
-
export interface CatalogUnavailableError {
|
|
9866
|
-
/**
|
|
9867
|
-
* Discriminator: the operation is not available
|
|
9868
|
-
*/
|
|
9869
|
-
kind: "unavailable";
|
|
9870
|
-
reason: CatalogUnavailableReason;
|
|
9871
|
-
/**
|
|
9872
|
-
* Human-readable explanation, safe to surface. Never contains a query, URL, handle, or secret.
|
|
9873
|
-
*/
|
|
9874
|
-
message: string;
|
|
9875
|
-
}
|
|
9876
10231
|
/**
|
|
9877
10232
|
* The caller cancelled the selection interaction and the retained search state was released.
|
|
9878
10233
|
*
|
|
@@ -14194,6 +14549,32 @@ export interface InstalledPluginInfo {
|
|
|
14194
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.
|
|
14195
14550
|
*/
|
|
14196
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;
|
|
14197
14578
|
}
|
|
14198
14579
|
/**
|
|
14199
14580
|
* Canonical file or directory where custom instructions can be discovered or created, with location, kind, preference, and project path.
|
|
@@ -14892,6 +15273,7 @@ export interface ManagedSettingsValues {
|
|
|
14892
15273
|
*/
|
|
14893
15274
|
model?: string;
|
|
14894
15275
|
autoTier?: AutoTier;
|
|
15276
|
+
ensembleTier?: ManagedEnsembleTier;
|
|
14895
15277
|
/**
|
|
14896
15278
|
* Managed reasoning-effort default for the managed concrete model. The runtime clamps it to an entitled effort when model availability is known.
|
|
14897
15279
|
*/
|
|
@@ -14908,6 +15290,7 @@ export interface ManagedSettingsValues {
|
|
|
14908
15290
|
export interface ManagedSettingsMeta {
|
|
14909
15291
|
model?: ManagedSettingMeta;
|
|
14910
15292
|
autoTier?: ManagedSettingMeta;
|
|
15293
|
+
ensembleTier?: ManagedSettingMeta;
|
|
14911
15294
|
effortLevel?: ManagedSettingMeta;
|
|
14912
15295
|
contextTier?: ManagedSettingMeta;
|
|
14913
15296
|
}
|
|
@@ -28496,6 +28879,20 @@ export interface TasksGetProgressResult {
|
|
|
28496
28879
|
*/
|
|
28497
28880
|
progress?: TaskProgress | null;
|
|
28498
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
|
+
}
|
|
28499
28896
|
/**
|
|
28500
28897
|
* The promoted task as it now exists in background mode, omitted if no promotable task was waiting.
|
|
28501
28898
|
*
|
|
@@ -28532,6 +28929,45 @@ export interface TasksPromoteToBackgroundResult {
|
|
|
28532
28929
|
*/
|
|
28533
28930
|
promoted: boolean;
|
|
28534
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
|
+
}
|
|
28535
28971
|
/**
|
|
28536
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.
|
|
28537
28973
|
*
|
|
@@ -33283,6 +33719,22 @@ export declare function createServerRpc(connection: MessageConnection): {
|
|
|
33283
33719
|
* @returns Outcome of a catalog.search call: either bounded inert candidates, or one typed refusal. Never a partial success.
|
|
33284
33720
|
*/
|
|
33285
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>;
|
|
33286
33738
|
/**
|
|
33287
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.
|
|
33288
33740
|
*
|
|
@@ -34399,6 +34851,14 @@ export declare function createSessionRpc(connection: MessageConnection, sessionI
|
|
|
34399
34851
|
* @returns Progress information for the task, or null when no task with that ID is tracked.
|
|
34400
34852
|
*/
|
|
34401
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>;
|
|
34402
34862
|
/**
|
|
34403
34863
|
* Returns the first sync-waiting task that can currently be promoted to background mode.
|
|
34404
34864
|
*
|
package/dist/generated/rpc.js
CHANGED
|
@@ -733,6 +733,22 @@ function createServerRpc(connection) {
|
|
|
733
733
|
* @returns Outcome of a catalog.search call: either bounded inert candidates, or one typed refusal. Never a partial success.
|
|
734
734
|
*/
|
|
735
735
|
search: async (params) => connection.sendRequest("catalog.search", params),
|
|
736
|
+
/**
|
|
737
|
+
* 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.
|
|
738
|
+
*
|
|
739
|
+
* @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.
|
|
740
|
+
*
|
|
741
|
+
* @returns Outcome of catalog.getSavedFeed: the feed with its entries, or one typed refusal. An entry that cannot be presented never fails the feed.
|
|
742
|
+
*/
|
|
743
|
+
getSavedFeed: async (params) => connection.sendRequest("catalog.getSavedFeed", params),
|
|
744
|
+
/**
|
|
745
|
+
* 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.
|
|
746
|
+
*
|
|
747
|
+
* @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.
|
|
748
|
+
*
|
|
749
|
+
* @returns Outcome of catalog.getGeneratedFeed: the feed with its entries, or one typed refusal. An entry that cannot be presented never fails the feed.
|
|
750
|
+
*/
|
|
751
|
+
getGeneratedFeed: async (params) => connection.sendRequest("catalog.getGeneratedFeed", params),
|
|
736
752
|
/**
|
|
737
753
|
* 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.
|
|
738
754
|
*
|
|
@@ -2727,6 +2743,14 @@ function createSessionRpc(connection, sessionId) {
|
|
|
2727
2743
|
* @returns Progress information for the task, or null when no task with that ID is tracked.
|
|
2728
2744
|
*/
|
|
2729
2745
|
getProgress: async (params) => connection.sendRequest("session.tasks.getProgress", { ...params, sessionId }),
|
|
2746
|
+
/**
|
|
2747
|
+
* Reads a detached shell task's output after a cursor, optionally waiting for new output or for the shell to finish.
|
|
2748
|
+
*
|
|
2749
|
+
* @param params Detached shell task to read output from, with an optional cursor and long-poll wait. waitMs defaults to zero (maximum 30000).
|
|
2750
|
+
*
|
|
2751
|
+
* @returns Output a detached shell task wrote after the request cursor, with the cursor for the next read.
|
|
2752
|
+
*/
|
|
2753
|
+
readOutput: async (params) => connection.sendRequest("session.tasks.readOutput", { ...params, sessionId }),
|
|
2730
2754
|
/**
|
|
2731
2755
|
* Returns the first sync-waiting task that can currently be promoted to background mode.
|
|
2732
2756
|
*
|
|
@@ -7444,6 +7444,12 @@ export interface ToolShellOutputEvent {
|
|
|
7444
7444
|
* Live, append-only shell output. Not persisted or replayed to late subscribers. Text is decoded and redacted per chunk; chunks need not contain complete lines.
|
|
7445
7445
|
*/
|
|
7446
7446
|
export interface ToolShellOutputData {
|
|
7447
|
+
/**
|
|
7448
|
+
* Experimental HydraFusion attribution of the staged phase whose tool call produced this output. Absent outside a staged phase.
|
|
7449
|
+
*
|
|
7450
|
+
* @experimental
|
|
7451
|
+
*/
|
|
7452
|
+
fusion?: FusionAttribution;
|
|
7447
7453
|
/**
|
|
7448
7454
|
* Zero-based publication sequence across all output streams for this tool call. Not a byte offset or an OS write-order guarantee.
|
|
7449
7455
|
*/
|
|
@@ -9280,6 +9286,12 @@ export interface PermissionRequestedEvent {
|
|
|
9280
9286
|
*/
|
|
9281
9287
|
export interface PermissionRequestedData {
|
|
9282
9288
|
agentMode?: SessionMode;
|
|
9289
|
+
/**
|
|
9290
|
+
* Experimental HydraFusion attribution of the staged phase whose tool call raised this request. Absent outside a staged phase.
|
|
9291
|
+
*
|
|
9292
|
+
* @experimental
|
|
9293
|
+
*/
|
|
9294
|
+
fusion?: FusionAttribution;
|
|
9283
9295
|
/**
|
|
9284
9296
|
* Delegated agent that owns permission recovery when the owner session multiplexes remote agents. Absent otherwise.
|
|
9285
9297
|
*/
|
package/package.json
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
"url": "https://github.com/github/copilot-agent-runtime.git",
|
|
6
6
|
"directory": "src/sdk/nodejs"
|
|
7
7
|
},
|
|
8
|
-
"version": "1.0.23-preview.
|
|
9
|
-
"copilotCliVersion": "1.0.99-
|
|
8
|
+
"version": "1.0.23-preview.2",
|
|
9
|
+
"copilotCliVersion": "1.0.99-2",
|
|
10
10
|
"description": "TypeScript SDK for programmatic control of GitHub Copilot CLI via JSON-RPC",
|
|
11
11
|
"main": "./dist/cjs/index.js",
|
|
12
12
|
"types": "./dist/index.d.ts",
|
|
@@ -54,6 +54,7 @@
|
|
|
54
54
|
"generate": "cd ../scripts/codegen && npm run generate",
|
|
55
55
|
"set:cli-version": "node scripts/set-cli-version.js",
|
|
56
56
|
"update:protocol-version": "tsx scripts/update-protocol-version.ts",
|
|
57
|
+
"vendor:tools": "tsx scripts/vendor-build-tools.ts",
|
|
57
58
|
"prepublishOnly": "npm run build",
|
|
58
59
|
"package": "npm run clean && npm run build && node scripts/set-version.js && npm run pack:release && npm version 0.0.0-dev --no-git-tag-version --allow-same-version"
|
|
59
60
|
},
|
|
@@ -86,21 +87,24 @@
|
|
|
86
87
|
"hpke-js": "^1.8.0",
|
|
87
88
|
"json-schema": "^0.4.0",
|
|
88
89
|
"json-schema-to-typescript": "^15.0.4",
|
|
89
|
-
"prettier": "
|
|
90
|
+
"prettier": "file:../../../third_party/build-tools/prettier-3.8.1",
|
|
90
91
|
"rimraf": "^6.1.2",
|
|
91
92
|
"semver": "^7.7.3",
|
|
92
93
|
"tar": "^7.5.22",
|
|
93
|
-
"tsx": "
|
|
94
|
+
"tsx": "file:../../../third_party/build-tools/tsx-4.22.4",
|
|
94
95
|
"typescript": "^5.0.0",
|
|
96
|
+
"vite": "file:../../../third_party/build-tools/vite-8.3.4",
|
|
95
97
|
"vitest": "^4.1.11",
|
|
96
98
|
"ws": "^8.21.0"
|
|
97
99
|
},
|
|
100
|
+
"overrides": {
|
|
101
|
+
"file-entry-cache": "$file-entry-cache",
|
|
102
|
+
"prettier": "$prettier",
|
|
103
|
+
"vite": "$vite"
|
|
104
|
+
},
|
|
98
105
|
"engines": {
|
|
99
106
|
"node": "^20.19.0 || >=22.12.0"
|
|
100
107
|
},
|
|
101
|
-
"overrides": {
|
|
102
|
-
"file-entry-cache": "$file-entry-cache"
|
|
103
|
-
},
|
|
104
108
|
"files": [
|
|
105
109
|
"dist/**/*",
|
|
106
110
|
"!dist/tsconfig.tsbuildinfo",
|
|
@@ -108,18 +112,18 @@
|
|
|
108
112
|
"README.md"
|
|
109
113
|
],
|
|
110
114
|
"copilotRuntime": {
|
|
111
|
-
"sourceSha": "
|
|
112
|
-
"version": "1.0.99-
|
|
115
|
+
"sourceSha": "c9e96f9dbdbbce59d7e045d5abc3590136576cf7",
|
|
116
|
+
"version": "1.0.99-2",
|
|
113
117
|
"visibility": "public"
|
|
114
118
|
},
|
|
115
119
|
"optionalDependencies": {
|
|
116
|
-
"@github/copilot-sdk-darwin-arm64": "1.0.23-preview.
|
|
117
|
-
"@github/copilot-sdk-darwin-x64": "1.0.23-preview.
|
|
118
|
-
"@github/copilot-sdk-linux-arm64": "1.0.23-preview.
|
|
119
|
-
"@github/copilot-sdk-linux-x64": "1.0.23-preview.
|
|
120
|
-
"@github/copilot-sdk-linuxmusl-arm64": "1.0.23-preview.
|
|
121
|
-
"@github/copilot-sdk-linuxmusl-x64": "1.0.23-preview.
|
|
122
|
-
"@github/copilot-sdk-win32-arm64": "1.0.23-preview.
|
|
123
|
-
"@github/copilot-sdk-win32-x64": "1.0.23-preview.
|
|
120
|
+
"@github/copilot-sdk-darwin-arm64": "1.0.23-preview.2",
|
|
121
|
+
"@github/copilot-sdk-darwin-x64": "1.0.23-preview.2",
|
|
122
|
+
"@github/copilot-sdk-linux-arm64": "1.0.23-preview.2",
|
|
123
|
+
"@github/copilot-sdk-linux-x64": "1.0.23-preview.2",
|
|
124
|
+
"@github/copilot-sdk-linuxmusl-arm64": "1.0.23-preview.2",
|
|
125
|
+
"@github/copilot-sdk-linuxmusl-x64": "1.0.23-preview.2",
|
|
126
|
+
"@github/copilot-sdk-win32-arm64": "1.0.23-preview.2",
|
|
127
|
+
"@github/copilot-sdk-win32-x64": "1.0.23-preview.2"
|
|
124
128
|
}
|
|
125
129
|
}
|