@github/copilot-sdk 1.0.22 → 1.0.23-preview.1
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 +22 -6
- package/dist/cjs/cliVersion.js +1 -1
- package/dist/cjs/client.js +2 -1
- package/dist/cjs/copilotRequestHandler.js +17 -9
- package/dist/cjs/generated/rpc.js +96 -29
- package/dist/cjs/host.js +11 -1
- package/dist/cjs/session.js +8 -6
- package/dist/cliVersion.d.ts +1 -1
- package/dist/cliVersion.js +1 -1
- package/dist/client.js +2 -1
- package/dist/copilotRequestHandler.d.ts +8 -2
- package/dist/copilotRequestHandler.js +17 -9
- package/dist/generated/rpc.d.ts +1163 -342
- package/dist/generated/rpc.js +96 -29
- package/dist/generated/session-events.d.ts +104 -0
- package/dist/host.d.ts +8 -1
- package/dist/host.js +11 -1
- package/dist/session.js +8 -6
- package/dist/types.d.ts +28 -6
- package/docs/agent-author.md +2 -0
- package/package.json +17 -12
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
|
*
|
|
@@ -962,10 +989,10 @@ export type CatalogCapability =
|
|
|
962
989
|
| "mcp-configured-remote-installation"
|
|
963
990
|
/** Understands verified Agent Finder Skill install, uninstall, recovery and installation-scoped enablement APIs. Advertised only by runtimes with the Skill installation engine linked; acquisition may still be refused as feature-disabled per selected session. */
|
|
964
991
|
| "skill-confirmed-installation"
|
|
965
|
-
/** Understands `installability` and the
|
|
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
|
-
/**
|
|
968
|
-
| "
|
|
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";
|
|
969
996
|
/**
|
|
970
997
|
* 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
998
|
*
|
|
@@ -1166,6 +1193,240 @@ export type McpPlanPolicySource =
|
|
|
1166
1193
|
| "registry-policy"
|
|
1167
1194
|
/** Local trust settings evaluated the server. */
|
|
1168
1195
|
| "local-trust";
|
|
1196
|
+
/**
|
|
1197
|
+
* Bounded refusal categories for planning from a materialisation reference.
|
|
1198
|
+
*
|
|
1199
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
1200
|
+
* via the `definition` "CatalogReferenceInstallationFailureReason".
|
|
1201
|
+
*/
|
|
1202
|
+
/** @experimental */
|
|
1203
|
+
export type CatalogReferenceInstallationFailureReason =
|
|
1204
|
+
/** The selected session does not have the installation feature flag for the referenced kind enabled. */
|
|
1205
|
+
"feature-disabled"
|
|
1206
|
+
/** The request is unsupported or malformed. */
|
|
1207
|
+
| "invalid-request"
|
|
1208
|
+
/** The bounded operation limit was reached. */
|
|
1209
|
+
| "operation-limit"
|
|
1210
|
+
/** Installation storage or admission is busy. */
|
|
1211
|
+
| "busy"
|
|
1212
|
+
/** The original host cannot receive human confirmation. */
|
|
1213
|
+
| "confirmation-unavailable"
|
|
1214
|
+
/** Existing authenticated session and host authority is unavailable. */
|
|
1215
|
+
| "policy-context-unavailable"
|
|
1216
|
+
/** Managed policy forbids installing this resource. */
|
|
1217
|
+
| "policy-blocked"
|
|
1218
|
+
/** The materialisation reference is malformed or uses an unsupported schema version. */
|
|
1219
|
+
| "invalid-reference"
|
|
1220
|
+
/** The materialisation descriptor could not be retrieved safely. */
|
|
1221
|
+
| "descriptor-unavailable"
|
|
1222
|
+
/** Agent Finder has no materialisation for the referenced resource revision (HTTP 404). */
|
|
1223
|
+
| "descriptor-not-found"
|
|
1224
|
+
/** Agent Finder withdrew the referenced resource revision (HTTP 410). */
|
|
1225
|
+
| "descriptor-withdrawn"
|
|
1226
|
+
/** The materialisation descriptor failed validation. */
|
|
1227
|
+
| "descriptor-invalid"
|
|
1228
|
+
/** The retrieved descriptor does not match the referenced descriptor or bundle digest. */
|
|
1229
|
+
| "digest-mismatch"
|
|
1230
|
+
/** The referenced resource is a kind this runtime cannot install, or one whose installation capability the caller did not require. */
|
|
1231
|
+
| "unsupported-resource"
|
|
1232
|
+
/** The resource's entrypoint could not be retrieved or verified. */
|
|
1233
|
+
| "entrypoint-unavailable"
|
|
1234
|
+
/** The Skill entrypoint is not a valid Skill. */
|
|
1235
|
+
| "invalid-skill"
|
|
1236
|
+
/** The plugin manifest is not a valid plugin manifest, or the bundle has another manifest that would take precedence over the reviewed one. */
|
|
1237
|
+
| "invalid-plugin"
|
|
1238
|
+
/** The entrypoint exceeds the bounded complete review size. */
|
|
1239
|
+
| "review-too-large"
|
|
1240
|
+
/** A resource with the same identity or install location already exists. */
|
|
1241
|
+
| "already-installed"
|
|
1242
|
+
/** A storage operation failed; nothing was installed. */
|
|
1243
|
+
| "write-failed";
|
|
1244
|
+
/**
|
|
1245
|
+
* Planning outcome for a materialisation reference. A plan names its kind, so the caller applies it with that kind's apply method.
|
|
1246
|
+
*
|
|
1247
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
1248
|
+
* via the `definition` "CatalogReferenceInstallationOutcome".
|
|
1249
|
+
*/
|
|
1250
|
+
/** @experimental */
|
|
1251
|
+
export type CatalogReferenceInstallationOutcome = {
|
|
1252
|
+
plan: SkillInstallPlan;
|
|
1253
|
+
/**
|
|
1254
|
+
* Reference planning outcome discriminator naming the planned kind.
|
|
1255
|
+
*/
|
|
1256
|
+
kind: "skill-install-planned";
|
|
1257
|
+
} | {
|
|
1258
|
+
plan: PluginInstallPlan;
|
|
1259
|
+
/**
|
|
1260
|
+
* Reference planning outcome discriminator naming the planned kind.
|
|
1261
|
+
*/
|
|
1262
|
+
kind: "plugin-install-planned";
|
|
1263
|
+
} | {
|
|
1264
|
+
reason: CatalogReferenceInstallationFailureReason;
|
|
1265
|
+
/**
|
|
1266
|
+
* Reference planning outcome discriminator naming the planned kind.
|
|
1267
|
+
*/
|
|
1268
|
+
kind: "refused";
|
|
1269
|
+
};
|
|
1270
|
+
/**
|
|
1271
|
+
* Safe verified Skill review fields. No raw credential, candidate handle or plan handle.
|
|
1272
|
+
*
|
|
1273
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
1274
|
+
* via the `definition` "SkillInstallationReview".
|
|
1275
|
+
*/
|
|
1276
|
+
/** @experimental */
|
|
1277
|
+
export type SkillInstallationReview = {
|
|
1278
|
+
/**
|
|
1279
|
+
* Skill invocation name from SKILL.md.
|
|
1280
|
+
*/
|
|
1281
|
+
name: string;
|
|
1282
|
+
/**
|
|
1283
|
+
* Skill description from SKILL.md when present.
|
|
1284
|
+
*/
|
|
1285
|
+
description?: string;
|
|
1286
|
+
catalogue: InstallationCatalogueIdentity;
|
|
1287
|
+
source: SkillInstallationSource;
|
|
1288
|
+
target: SkillInstallationLocation;
|
|
1289
|
+
/**
|
|
1290
|
+
* Installing never grants immediate use; the Skill is written disabled.
|
|
1291
|
+
*/
|
|
1292
|
+
installsDisabled: boolean;
|
|
1293
|
+
/**
|
|
1294
|
+
* Reviewed files and digests.
|
|
1295
|
+
*/
|
|
1296
|
+
files: SkillInstallationFileReview[];
|
|
1297
|
+
/**
|
|
1298
|
+
* Total reviewed payload size in bytes.
|
|
1299
|
+
*/
|
|
1300
|
+
totalBytes: number;
|
|
1301
|
+
/**
|
|
1302
|
+
* Relative path of the verified Skill entrypoint.
|
|
1303
|
+
*/
|
|
1304
|
+
entrypointPath: string;
|
|
1305
|
+
/**
|
|
1306
|
+
* Complete verified SKILL.md content. Planning refuses with review-too-large
|
|
1307
|
+
* when this exceeds 262144 UTF-8 bytes; it is never truncated.
|
|
1308
|
+
*/
|
|
1309
|
+
entrypointContent: string;
|
|
1310
|
+
/**
|
|
1311
|
+
* Exact reviewed Skill installation action.
|
|
1312
|
+
*/
|
|
1313
|
+
action: "install";
|
|
1314
|
+
} | {
|
|
1315
|
+
installation: SkillInstallationSummary;
|
|
1316
|
+
/**
|
|
1317
|
+
* Whether current files differ from the receipt. Apply refuses drift.
|
|
1318
|
+
*/
|
|
1319
|
+
filesModified: boolean;
|
|
1320
|
+
/**
|
|
1321
|
+
* Files recorded by the installation receipt.
|
|
1322
|
+
*/
|
|
1323
|
+
files: SkillInstallationFileReview[];
|
|
1324
|
+
/**
|
|
1325
|
+
* Total receipt-owned payload size in bytes.
|
|
1326
|
+
*/
|
|
1327
|
+
totalBytes: number;
|
|
1328
|
+
catalogue: InstallationCatalogueIdentity;
|
|
1329
|
+
/**
|
|
1330
|
+
* Exact reviewed Skill installation action.
|
|
1331
|
+
*/
|
|
1332
|
+
action: "uninstall";
|
|
1333
|
+
};
|
|
1334
|
+
/** @experimental */
|
|
1335
|
+
export type SkillInstallationScope = "personal";
|
|
1336
|
+
/**
|
|
1337
|
+
* Bound-session observation after reconciling persisted enablement.
|
|
1338
|
+
*
|
|
1339
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
1340
|
+
* via the `definition` "SkillInstallationSessionState".
|
|
1341
|
+
*/
|
|
1342
|
+
/** @experimental */
|
|
1343
|
+
export type SkillInstallationSessionState =
|
|
1344
|
+
/** The selected session has loaded this Skill and it is enabled. */
|
|
1345
|
+
"loaded-enabled"
|
|
1346
|
+
/** The selected session has loaded this Skill or settings and it is disabled. */
|
|
1347
|
+
| "loaded-disabled"
|
|
1348
|
+
/** The selected session has not loaded Skills after the latest change. */
|
|
1349
|
+
| "not-loaded"
|
|
1350
|
+
/** The selected session could not be inspected. */
|
|
1351
|
+
| "unknown";
|
|
1352
|
+
/**
|
|
1353
|
+
* Owned Skill state observed from files and receipts.
|
|
1354
|
+
*
|
|
1355
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
1356
|
+
* via the `definition` "SkillInstallationOwnershipState".
|
|
1357
|
+
*/
|
|
1358
|
+
/** @experimental */
|
|
1359
|
+
export type SkillInstallationOwnershipState =
|
|
1360
|
+
/** Owned files and receipt evidence match. */
|
|
1361
|
+
"intact"
|
|
1362
|
+
/** Owned files no longer match the receipt. */
|
|
1363
|
+
| "modified"
|
|
1364
|
+
/** Ownership evidence requires recovery before mutation. */
|
|
1365
|
+
| "recovery-required";
|
|
1366
|
+
/**
|
|
1367
|
+
* Safe verified Agent Plugin review fields. No raw credential, candidate handle or plan handle.
|
|
1368
|
+
*
|
|
1369
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
1370
|
+
* via the `definition` "PluginInstallationReview".
|
|
1371
|
+
*/
|
|
1372
|
+
/** @experimental */
|
|
1373
|
+
export type PluginInstallationReview = {
|
|
1374
|
+
/**
|
|
1375
|
+
* Installed plugin name, derived from the verified manifest exactly as a direct install derives it.
|
|
1376
|
+
*/
|
|
1377
|
+
name: string;
|
|
1378
|
+
/**
|
|
1379
|
+
* Manifest description when present.
|
|
1380
|
+
*/
|
|
1381
|
+
description?: string;
|
|
1382
|
+
/**
|
|
1383
|
+
* Manifest version when present.
|
|
1384
|
+
*/
|
|
1385
|
+
version?: string;
|
|
1386
|
+
catalogue: InstallationCatalogueIdentity;
|
|
1387
|
+
source: PluginInstallationSource;
|
|
1388
|
+
target: PluginInstallationLocation;
|
|
1389
|
+
/**
|
|
1390
|
+
* Installing never grants immediate use; the plugin is registered disabled.
|
|
1391
|
+
*/
|
|
1392
|
+
installsDisabled: boolean;
|
|
1393
|
+
/**
|
|
1394
|
+
* Reviewed files and digests.
|
|
1395
|
+
*/
|
|
1396
|
+
files: PluginInstallationFileReview[];
|
|
1397
|
+
/**
|
|
1398
|
+
* Total reviewed payload size in bytes.
|
|
1399
|
+
*/
|
|
1400
|
+
totalBytes: number;
|
|
1401
|
+
/**
|
|
1402
|
+
* Relative path of the verified plugin manifest.
|
|
1403
|
+
*/
|
|
1404
|
+
manifestPath: string;
|
|
1405
|
+
/**
|
|
1406
|
+
* Complete verified manifest content. Planning refuses with review-too-large
|
|
1407
|
+
* when this exceeds 262144 UTF-8 bytes; it is never truncated.
|
|
1408
|
+
*/
|
|
1409
|
+
manifestContent: string;
|
|
1410
|
+
/**
|
|
1411
|
+
* Exact reviewed Agent Plugin installation action.
|
|
1412
|
+
*/
|
|
1413
|
+
action: "install";
|
|
1414
|
+
};
|
|
1415
|
+
/**
|
|
1416
|
+
* Planning result for a materialisation reference with the honoured contract, or a typed refusal.
|
|
1417
|
+
*
|
|
1418
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
1419
|
+
* via the `definition` "CatalogReferenceInstallationResult".
|
|
1420
|
+
*/
|
|
1421
|
+
/** @experimental */
|
|
1422
|
+
export type CatalogReferenceInstallationResult = {
|
|
1423
|
+
/**
|
|
1424
|
+
* Discriminator: handled planning outcome.
|
|
1425
|
+
*/
|
|
1426
|
+
kind: "outcome";
|
|
1427
|
+
outcome: CatalogReferenceInstallationOutcome;
|
|
1428
|
+
negotiated: CatalogNegotiatedContract;
|
|
1429
|
+
} | CatalogNegotiationRefusedError | CatalogInvalidRequestError;
|
|
1169
1430
|
/**
|
|
1170
1431
|
* Relationship of the backend-reported count to the complete query result set.
|
|
1171
1432
|
*
|
|
@@ -2199,6 +2460,30 @@ export type HostExitReason =
|
|
|
2199
2460
|
| "ownerDisconnected"
|
|
2200
2461
|
/** The runtime is shutting down. */
|
|
2201
2462
|
| "runtimeShutdown";
|
|
2463
|
+
/**
|
|
2464
|
+
* A supported image-service operation.
|
|
2465
|
+
*
|
|
2466
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
2467
|
+
* via the `definition` "ImageToolModelOperation".
|
|
2468
|
+
*/
|
|
2469
|
+
/** @experimental */
|
|
2470
|
+
export type ImageToolModelOperation =
|
|
2471
|
+
/** Generate an image from a text prompt. */
|
|
2472
|
+
"generate"
|
|
2473
|
+
/** Generate or edit an image using explicitly selected image inputs. */
|
|
2474
|
+
| "edit";
|
|
2475
|
+
/**
|
|
2476
|
+
* Account availability of the runtime image model. Discovery errors are returned as errors, not converted to unavailable.
|
|
2477
|
+
*
|
|
2478
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
2479
|
+
* via the `definition` "ImageToolModelAvailability".
|
|
2480
|
+
*/
|
|
2481
|
+
/** @experimental */
|
|
2482
|
+
export type ImageToolModelAvailability =
|
|
2483
|
+
/** The account has access to a supported image operation. */
|
|
2484
|
+
"available"
|
|
2485
|
+
/** The runtime default is not available to this account; enabling the tool cannot grant access. */
|
|
2486
|
+
| "unavailable";
|
|
2202
2487
|
/**
|
|
2203
2488
|
* Only resource kinds with an implemented installation engine have a review variant.
|
|
2204
2489
|
*
|
|
@@ -2218,6 +2503,12 @@ export type InstallationReview = {
|
|
|
2218
2503
|
* Reviewed resource discriminator.
|
|
2219
2504
|
*/
|
|
2220
2505
|
resource: "skill";
|
|
2506
|
+
} | {
|
|
2507
|
+
review: PluginInstallationReview;
|
|
2508
|
+
/**
|
|
2509
|
+
* Reviewed resource discriminator.
|
|
2510
|
+
*/
|
|
2511
|
+
resource: "plugin";
|
|
2221
2512
|
};
|
|
2222
2513
|
/**
|
|
2223
2514
|
* Safe MCP review fields. No raw card, retrieval URL, plan handle or secret value.
|
|
@@ -2443,102 +2734,6 @@ export type McpInstallationSecretStorage =
|
|
|
2443
2734
|
"keychain"
|
|
2444
2735
|
/** The explicitly selected private file backend. */
|
|
2445
2736
|
| "private-file";
|
|
2446
|
-
/**
|
|
2447
|
-
* Safe verified Skill review fields. No raw credential, candidate handle or plan handle.
|
|
2448
|
-
*
|
|
2449
|
-
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
2450
|
-
* via the `definition` "SkillInstallationReview".
|
|
2451
|
-
*/
|
|
2452
|
-
/** @experimental */
|
|
2453
|
-
export type SkillInstallationReview = {
|
|
2454
|
-
/**
|
|
2455
|
-
* Skill invocation name from SKILL.md.
|
|
2456
|
-
*/
|
|
2457
|
-
name: string;
|
|
2458
|
-
/**
|
|
2459
|
-
* Skill description from SKILL.md when present.
|
|
2460
|
-
*/
|
|
2461
|
-
description?: string;
|
|
2462
|
-
catalogue: InstallationCatalogueIdentity;
|
|
2463
|
-
source: SkillInstallationSource;
|
|
2464
|
-
target: SkillInstallationLocation;
|
|
2465
|
-
/**
|
|
2466
|
-
* Installing never grants immediate use; the Skill is written disabled.
|
|
2467
|
-
*/
|
|
2468
|
-
installsDisabled: boolean;
|
|
2469
|
-
/**
|
|
2470
|
-
* Reviewed files and digests.
|
|
2471
|
-
*/
|
|
2472
|
-
files: SkillInstallationFileReview[];
|
|
2473
|
-
/**
|
|
2474
|
-
* Total reviewed payload size in bytes.
|
|
2475
|
-
*/
|
|
2476
|
-
totalBytes: number;
|
|
2477
|
-
/**
|
|
2478
|
-
* Relative path of the verified Skill entrypoint.
|
|
2479
|
-
*/
|
|
2480
|
-
entrypointPath: string;
|
|
2481
|
-
/**
|
|
2482
|
-
* Complete verified SKILL.md content. Planning refuses with review-too-large
|
|
2483
|
-
* when this exceeds 262144 UTF-8 bytes; it is never truncated.
|
|
2484
|
-
*/
|
|
2485
|
-
entrypointContent: string;
|
|
2486
|
-
/**
|
|
2487
|
-
* Exact reviewed Skill installation action.
|
|
2488
|
-
*/
|
|
2489
|
-
action: "install";
|
|
2490
|
-
} | {
|
|
2491
|
-
installation: SkillInstallationSummary;
|
|
2492
|
-
/**
|
|
2493
|
-
* Whether current files differ from the receipt. Apply refuses drift.
|
|
2494
|
-
*/
|
|
2495
|
-
filesModified: boolean;
|
|
2496
|
-
/**
|
|
2497
|
-
* Files recorded by the installation receipt.
|
|
2498
|
-
*/
|
|
2499
|
-
files: SkillInstallationFileReview[];
|
|
2500
|
-
/**
|
|
2501
|
-
* Total receipt-owned payload size in bytes.
|
|
2502
|
-
*/
|
|
2503
|
-
totalBytes: number;
|
|
2504
|
-
catalogue: InstallationCatalogueIdentity;
|
|
2505
|
-
/**
|
|
2506
|
-
* Exact reviewed Skill installation action.
|
|
2507
|
-
*/
|
|
2508
|
-
action: "uninstall";
|
|
2509
|
-
};
|
|
2510
|
-
/** @experimental */
|
|
2511
|
-
export type SkillInstallationScope = "personal";
|
|
2512
|
-
/**
|
|
2513
|
-
* Bound-session observation after reconciling persisted enablement.
|
|
2514
|
-
*
|
|
2515
|
-
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
2516
|
-
* via the `definition` "SkillInstallationSessionState".
|
|
2517
|
-
*/
|
|
2518
|
-
/** @experimental */
|
|
2519
|
-
export type SkillInstallationSessionState =
|
|
2520
|
-
/** The selected session has loaded this Skill and it is enabled. */
|
|
2521
|
-
"loaded-enabled"
|
|
2522
|
-
/** The selected session has loaded this Skill or settings and it is disabled. */
|
|
2523
|
-
| "loaded-disabled"
|
|
2524
|
-
/** The selected session has not loaded Skills after the latest change. */
|
|
2525
|
-
| "not-loaded"
|
|
2526
|
-
/** The selected session could not be inspected. */
|
|
2527
|
-
| "unknown";
|
|
2528
|
-
/**
|
|
2529
|
-
* Owned Skill state observed from files and receipts.
|
|
2530
|
-
*
|
|
2531
|
-
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
2532
|
-
* via the `definition` "SkillInstallationOwnershipState".
|
|
2533
|
-
*/
|
|
2534
|
-
/** @experimental */
|
|
2535
|
-
export type SkillInstallationOwnershipState =
|
|
2536
|
-
/** Owned files and receipt evidence match. */
|
|
2537
|
-
"intact"
|
|
2538
|
-
/** Owned files no longer match the receipt. */
|
|
2539
|
-
| "modified"
|
|
2540
|
-
/** Ownership evidence requires recovery before mutation. */
|
|
2541
|
-
| "recovery-required";
|
|
2542
2737
|
/**
|
|
2543
2738
|
* Explicit user decisions, never inferred from a permission grant or model response.
|
|
2544
2739
|
*
|
|
@@ -3413,6 +3608,14 @@ export type McpOauthProbeResult = {
|
|
|
3413
3608
|
*/
|
|
3414
3609
|
status: "failed";
|
|
3415
3610
|
};
|
|
3611
|
+
/**
|
|
3612
|
+
* MCP server configuration (stdio, remote HTTP/SSE, or in-process)
|
|
3613
|
+
*
|
|
3614
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
3615
|
+
* via the `definition` "McpServerConfig".
|
|
3616
|
+
*/
|
|
3617
|
+
/** @experimental */
|
|
3618
|
+
export type McpServerConfig = McpServerConfigStdio | McpServerConfigHttp;
|
|
3416
3619
|
/**
|
|
3417
3620
|
* What an install plan is computed from: a candidate handle from a previous search, or a card supplied directly.
|
|
3418
3621
|
*
|
|
@@ -3481,14 +3684,6 @@ export type McpPromptRole =
|
|
|
3481
3684
|
"user"
|
|
3482
3685
|
/** A message from the assistant. */
|
|
3483
3686
|
| "assistant";
|
|
3484
|
-
/**
|
|
3485
|
-
* MCP server configuration (stdio, remote HTTP/SSE, or in-process)
|
|
3486
|
-
*
|
|
3487
|
-
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
3488
|
-
* via the `definition` "McpServerConfig".
|
|
3489
|
-
*/
|
|
3490
|
-
/** @experimental */
|
|
3491
|
-
export type McpServerConfig = (McpServerConfigStdio | McpServerConfigHttp) | undefined;
|
|
3492
3687
|
/**
|
|
3493
3688
|
* Outcome of the sampling inference. 'success' produced a response; 'failure' encountered an error (including agent-side rejection by content filter or criteria); 'cancelled' the caller cancelled this execution via cancelSamplingExecution.
|
|
3494
3689
|
*
|
|
@@ -3974,6 +4169,18 @@ export type ModelSwitchAutoTierStatus =
|
|
|
3974
4169
|
"unchanged"
|
|
3975
4170
|
/** The request was accepted but has not committed. A later user turn using the `auto` model must mint and validate the replacement before it becomes effective. */
|
|
3976
4171
|
| "pending";
|
|
4172
|
+
/**
|
|
4173
|
+
* Unit the catalog publishes a model's token prices in. The numeric fields of ModelBillingTokenPrices carry no unit of their own, so a client that renders a price needs this to scale it.
|
|
4174
|
+
*
|
|
4175
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
4176
|
+
* via the `definition` "TokenPriceUnit".
|
|
4177
|
+
*/
|
|
4178
|
+
/** @experimental */
|
|
4179
|
+
export type TokenPriceUnit =
|
|
4180
|
+
/** Prices are already quoted in AI Credits and need no conversion. */
|
|
4181
|
+
"ai_credits"
|
|
4182
|
+
/** Prices are quoted in nano-AIU; divide by 1,000,000,000 to get AI Credits. */
|
|
4183
|
+
| "nano_aiu";
|
|
3977
4184
|
/**
|
|
3978
4185
|
* Allowed values for the `OptionsUpdateAdditionalContentExclusionPolicyScope` enumeration.
|
|
3979
4186
|
*
|
|
@@ -4176,6 +4383,162 @@ export type PermissionsSetApproveAllSource =
|
|
|
4176
4383
|
| "user_setting"
|
|
4177
4384
|
/** Allow-all was enabled through an RPC caller. */
|
|
4178
4385
|
| "rpc";
|
|
4386
|
+
/**
|
|
4387
|
+
* Bounded refusal categories for verified Agent Plugin installation.
|
|
4388
|
+
*
|
|
4389
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
4390
|
+
* via the `definition` "PluginInstallationFailureReason".
|
|
4391
|
+
*/
|
|
4392
|
+
/** @experimental */
|
|
4393
|
+
export type PluginInstallationFailureReason =
|
|
4394
|
+
/** The selected session does not have the Agent Finder plugin installation feature flag enabled. */
|
|
4395
|
+
"feature-disabled"
|
|
4396
|
+
/** The request is unsupported or malformed. */
|
|
4397
|
+
| "invalid-request"
|
|
4398
|
+
/** The original host cannot receive human confirmation. */
|
|
4399
|
+
| "confirmation-unavailable"
|
|
4400
|
+
/** The confirmation response is malformed or mismatched. */
|
|
4401
|
+
| "confirmation-invalid"
|
|
4402
|
+
/** Existing authenticated session and host authority is unavailable. */
|
|
4403
|
+
| "policy-context-unavailable"
|
|
4404
|
+
/** The original authority or policy changed. */
|
|
4405
|
+
| "policy-changed"
|
|
4406
|
+
/** Managed policy only allows plugins from known marketplaces, which excludes direct installs. */
|
|
4407
|
+
| "policy-blocked"
|
|
4408
|
+
/** The original plan deadline elapsed. */
|
|
4409
|
+
| "plan-expired"
|
|
4410
|
+
/** The one-use plan was already consumed. */
|
|
4411
|
+
| "plan-replayed"
|
|
4412
|
+
/** The handle belongs to a different runtime, session or connection. */
|
|
4413
|
+
| "foreign-runtime"
|
|
4414
|
+
/** The handle is not the expected handle kind. */
|
|
4415
|
+
| "wrong-kind"
|
|
4416
|
+
/** The handle was minted for a different search result or authority. */
|
|
4417
|
+
| "search-mismatch"
|
|
4418
|
+
/** The handle or operation expired. */
|
|
4419
|
+
| "expired"
|
|
4420
|
+
/** The candidate handle does not belong to an Agent Plugin with a complete materialisation reference. */
|
|
4421
|
+
| "invalid-candidate"
|
|
4422
|
+
/** The materialisation descriptor could not be retrieved safely. */
|
|
4423
|
+
| "descriptor-unavailable"
|
|
4424
|
+
/** Agent Finder has no materialisation for the referenced resource revision (HTTP 404). */
|
|
4425
|
+
| "descriptor-not-found"
|
|
4426
|
+
/** Agent Finder withdrew the referenced resource revision (HTTP 410). */
|
|
4427
|
+
| "descriptor-withdrawn"
|
|
4428
|
+
/** The materialisation descriptor failed validation. */
|
|
4429
|
+
| "descriptor-invalid"
|
|
4430
|
+
/** The retrieved descriptor does not match the referenced descriptor or bundle digest. */
|
|
4431
|
+
| "digest-mismatch"
|
|
4432
|
+
/** The candidate's materialisation is not an Agent Plugin. */
|
|
4433
|
+
| "unsupported-resource"
|
|
4434
|
+
/** The plugin manifest could not be retrieved or verified. */
|
|
4435
|
+
| "entrypoint-unavailable"
|
|
4436
|
+
/** The plugin manifest is not a valid plugin manifest, or the bundle has another manifest that would take precedence over the reviewed one. */
|
|
4437
|
+
| "invalid-plugin"
|
|
4438
|
+
/** The plugin manifest exceeds the bounded complete review size. */
|
|
4439
|
+
| "review-too-large"
|
|
4440
|
+
/** The reviewed plugin files could not be acquired. */
|
|
4441
|
+
| "payload-unavailable"
|
|
4442
|
+
/** The acquired files no longer match the reviewed descriptor. */
|
|
4443
|
+
| "payload-mismatch"
|
|
4444
|
+
/** Plugin installation storage or admission is busy. */
|
|
4445
|
+
| "busy"
|
|
4446
|
+
/** A plugin with the same name or install location already exists. */
|
|
4447
|
+
| "already-installed"
|
|
4448
|
+
/** A storage operation failed; nothing was registered. */
|
|
4449
|
+
| "write-failed";
|
|
4450
|
+
/**
|
|
4451
|
+
* Management outcome for verified Agent Plugin installation planning.
|
|
4452
|
+
*
|
|
4453
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
4454
|
+
* via the `definition` "PluginInstallationManagementOutcome".
|
|
4455
|
+
*/
|
|
4456
|
+
/** @experimental */
|
|
4457
|
+
export type PluginInstallationManagementOutcome = {
|
|
4458
|
+
plan: PluginInstallPlan;
|
|
4459
|
+
/**
|
|
4460
|
+
* Agent Plugin installation management outcome discriminator.
|
|
4461
|
+
*/
|
|
4462
|
+
kind: "install-planned";
|
|
4463
|
+
} | {
|
|
4464
|
+
reason: PluginInstallationFailureReason;
|
|
4465
|
+
/**
|
|
4466
|
+
* Agent Plugin installation management outcome discriminator.
|
|
4467
|
+
*/
|
|
4468
|
+
kind: "refused";
|
|
4469
|
+
};
|
|
4470
|
+
/**
|
|
4471
|
+
* Agent Plugin installation planning result with the honoured contract, or a typed refusal.
|
|
4472
|
+
*
|
|
4473
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
4474
|
+
* via the `definition` "PluginInstallationManagementResult".
|
|
4475
|
+
*/
|
|
4476
|
+
/** @experimental */
|
|
4477
|
+
export type PluginInstallationManagementResult = {
|
|
4478
|
+
/**
|
|
4479
|
+
* Discriminator: handled management outcome.
|
|
4480
|
+
*/
|
|
4481
|
+
kind: "outcome";
|
|
4482
|
+
outcome: PluginInstallationManagementOutcome;
|
|
4483
|
+
negotiated: CatalogNegotiatedContract;
|
|
4484
|
+
} | CatalogNegotiationRefusedError | CatalogInvalidRequestError;
|
|
4485
|
+
/**
|
|
4486
|
+
* Terminal verified Agent Plugin installation result.
|
|
4487
|
+
*
|
|
4488
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
4489
|
+
* via the `definition` "PluginInstallationOutcome".
|
|
4490
|
+
*/
|
|
4491
|
+
/** @experimental */
|
|
4492
|
+
export type PluginInstallationOutcome = {
|
|
4493
|
+
installation: PluginInstallationSummary;
|
|
4494
|
+
/**
|
|
4495
|
+
* Terminal Agent Plugin installation outcome discriminator.
|
|
4496
|
+
*/
|
|
4497
|
+
kind: "installed";
|
|
4498
|
+
} | {
|
|
4499
|
+
/**
|
|
4500
|
+
* Original operation identity.
|
|
4501
|
+
*/
|
|
4502
|
+
operationId: string;
|
|
4503
|
+
/**
|
|
4504
|
+
* Terminal Agent Plugin installation outcome discriminator.
|
|
4505
|
+
*/
|
|
4506
|
+
kind: "declined";
|
|
4507
|
+
} | {
|
|
4508
|
+
/**
|
|
4509
|
+
* Original operation identity.
|
|
4510
|
+
*/
|
|
4511
|
+
operationId: string;
|
|
4512
|
+
/**
|
|
4513
|
+
* Terminal Agent Plugin installation outcome discriminator.
|
|
4514
|
+
*/
|
|
4515
|
+
kind: "cancelled";
|
|
4516
|
+
} | {
|
|
4517
|
+
reason: PluginInstallationFailureReason;
|
|
4518
|
+
/**
|
|
4519
|
+
* Present once an operation has been allocated.
|
|
4520
|
+
*/
|
|
4521
|
+
operationId?: string;
|
|
4522
|
+
/**
|
|
4523
|
+
* Terminal Agent Plugin installation outcome discriminator.
|
|
4524
|
+
*/
|
|
4525
|
+
kind: "refused";
|
|
4526
|
+
};
|
|
4527
|
+
/**
|
|
4528
|
+
* Agent Plugin installation result with the honoured contract, or a typed request/negotiation refusal.
|
|
4529
|
+
*
|
|
4530
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
4531
|
+
* via the `definition` "PluginInstallationResult".
|
|
4532
|
+
*/
|
|
4533
|
+
/** @experimental */
|
|
4534
|
+
export type PluginInstallationResult = {
|
|
4535
|
+
/**
|
|
4536
|
+
* Discriminator: handled operation outcome.
|
|
4537
|
+
*/
|
|
4538
|
+
kind: "outcome";
|
|
4539
|
+
outcome: PluginInstallationOutcome;
|
|
4540
|
+
negotiated: CatalogNegotiatedContract;
|
|
4541
|
+
} | CatalogNegotiationRefusedError | CatalogInvalidRequestError;
|
|
4179
4542
|
/**
|
|
4180
4543
|
* Where completed plugin content was staged before atomic promotion.
|
|
4181
4544
|
*
|
|
@@ -4434,9 +4797,9 @@ export type SandboxProxyCaState =
|
|
|
4434
4797
|
*/
|
|
4435
4798
|
/** @experimental */
|
|
4436
4799
|
export type SandboxSessionChange =
|
|
4437
|
-
/** The sandbox is off for the rest of this session; nothing was persisted and a new session starts from managed policy. */
|
|
4800
|
+
/** The sandbox is off for the rest of this session; nothing was persisted and a new session starts from saved and managed policy. */
|
|
4438
4801
|
"disabled"
|
|
4439
|
-
/**
|
|
4802
|
+
/** The sandbox is enabled for this session; nothing was persisted. */
|
|
4440
4803
|
| "restored";
|
|
4441
4804
|
/**
|
|
4442
4805
|
* Current authentication information, or null when no authentication is active.
|
|
@@ -5109,17 +5472,7 @@ export type SkillInstallationFailureReason =
|
|
|
5109
5472
|
/** Installed Skill files no longer match ownership evidence. */
|
|
5110
5473
|
| "configuration-modified"
|
|
5111
5474
|
/** A storage operation failed; inspect durable state before retrying. */
|
|
5112
|
-
| "write-failed"
|
|
5113
|
-
/** The materialisation reference is malformed or uses an unsupported schema version. Returned only to callers that require skill-reference-installation. */
|
|
5114
|
-
| "invalid-reference"
|
|
5115
|
-
/** Agent Finder has no materialisation for the referenced resource revision (HTTP 404). Returned only to callers that require skill-reference-installation. */
|
|
5116
|
-
| "descriptor-not-found"
|
|
5117
|
-
/** Agent Finder withdrew the referenced resource revision (HTTP 410). Returned only to callers that require skill-reference-installation. */
|
|
5118
|
-
| "descriptor-withdrawn"
|
|
5119
|
-
/** The retrieved descriptor does not match the referenced descriptor or bundle digest. Returned only to callers that require skill-reference-installation. */
|
|
5120
|
-
| "digest-mismatch"
|
|
5121
|
-
/** The referenced resource is not a Skill. Returned only to callers that require skill-reference-installation. */
|
|
5122
|
-
| "unsupported-resource";
|
|
5475
|
+
| "write-failed";
|
|
5123
5476
|
/**
|
|
5124
5477
|
* Management outcome for verified Skill inventory, planning and removal.
|
|
5125
5478
|
*
|
|
@@ -7429,6 +7782,27 @@ export interface ProviderDescriptor {
|
|
|
7429
7782
|
*/
|
|
7430
7783
|
available: boolean;
|
|
7431
7784
|
}
|
|
7785
|
+
/**
|
|
7786
|
+
* A cached base identity a provider can reuse for login without asking the user to choose an account again.
|
|
7787
|
+
*
|
|
7788
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
7789
|
+
* via the `definition` "AuthLoginIdentity".
|
|
7790
|
+
*/
|
|
7791
|
+
/** @experimental */
|
|
7792
|
+
export interface AuthLoginIdentity {
|
|
7793
|
+
/**
|
|
7794
|
+
* Opaque provider-owned identity id. Pass it back to accounts.login.begin; consumers must not parse it.
|
|
7795
|
+
*/
|
|
7796
|
+
accountId: string;
|
|
7797
|
+
/**
|
|
7798
|
+
* Human-readable sign-in label owned by the runtime.
|
|
7799
|
+
*/
|
|
7800
|
+
label: string;
|
|
7801
|
+
/**
|
|
7802
|
+
* Whether this base identity owns the session's active derived account.
|
|
7803
|
+
*/
|
|
7804
|
+
active: boolean;
|
|
7805
|
+
}
|
|
7432
7806
|
/**
|
|
7433
7807
|
* Credential-free identity metadata.
|
|
7434
7808
|
*
|
|
@@ -7487,7 +7861,7 @@ export interface AuthLoginAdvanceRequest {
|
|
|
7487
7861
|
input?: string;
|
|
7488
7862
|
}
|
|
7489
7863
|
/**
|
|
7490
|
-
* Begin an interactive login flow for a provider kind
|
|
7864
|
+
* Begin an interactive login flow for a provider kind, optionally reusing a cached base identity or explicitly requesting provider account selection.
|
|
7491
7865
|
*
|
|
7492
7866
|
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
7493
7867
|
* via the `definition` "AuthLoginBeginRequest".
|
|
@@ -7495,6 +7869,11 @@ export interface AuthLoginAdvanceRequest {
|
|
|
7495
7869
|
/** @experimental */
|
|
7496
7870
|
export interface AuthLoginBeginRequest {
|
|
7497
7871
|
kind: LoginProviderKind;
|
|
7872
|
+
mode?: AuthLoginMode;
|
|
7873
|
+
/**
|
|
7874
|
+
* Opaque cached base identity id returned by accounts.enumerate loginAccounts. Valid only with default mode; consumers must not parse it.
|
|
7875
|
+
*/
|
|
7876
|
+
accountId?: string;
|
|
7498
7877
|
}
|
|
7499
7878
|
/**
|
|
7500
7879
|
* A started login flow: its opaque id and first step.
|
|
@@ -8272,7 +8651,7 @@ export interface CardDigest {
|
|
|
8272
8651
|
value: CardDigestValue;
|
|
8273
8652
|
}
|
|
8274
8653
|
/**
|
|
8275
|
-
* An inert Agent Plugin catalog result. Its canonical catalog identity, declared version, repository source claim, and explicit compatibility tags are safe to correlate, while its descriptor, URL, raw data, and installed-plugin state remain runtime-private.
|
|
8654
|
+
* An inert Agent Plugin catalog result. Its canonical catalog identity, declared version, repository source claim, and explicit compatibility tags are safe to correlate, while its descriptor, URL, raw data, materialisation reference, and installed-plugin state remain runtime-private. A handle is minted only under agent-plugin-confirmed-installation, for a candidate with a complete materialisation reference.
|
|
8276
8655
|
*
|
|
8277
8656
|
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
8278
8657
|
* via the `definition` "CatalogAgentPluginCandidate".
|
|
@@ -8306,7 +8685,35 @@ export interface CatalogAgentPluginCandidate {
|
|
|
8306
8685
|
} & []) | [CatalogAgentPluginCompatibilityTag] | [CatalogAgentPluginCompatibilityTag, CatalogAgentPluginCompatibilityTag] | [CatalogAgentPluginCompatibilityTag, CatalogAgentPluginCompatibilityTag, CatalogAgentPluginCompatibilityTag];
|
|
8307
8686
|
installability?: CatalogAgentPluginInstallability;
|
|
8308
8687
|
installPlan?: CatalogAgentPluginInstallPlan;
|
|
8688
|
+
/**
|
|
8689
|
+
* Opaque, runtime-instance scoped, TTL-bound, single-use handle for planning this plugin's installation through plugins.planInstall. Present only when the caller requires the agent-plugin-confirmed-installation capability and the candidate carries a complete Agent Finder materialisation reference, which stays runtime-private. Never logged.
|
|
8690
|
+
*/
|
|
8691
|
+
handle?: string;
|
|
8692
|
+
/**
|
|
8693
|
+
* ISO 8601 timestamp after which the handle is stale and will be rejected. Present exactly when handle is present.
|
|
8694
|
+
*/
|
|
8695
|
+
handleExpiresAt?: string;
|
|
8309
8696
|
provenance: CatalogAgentPluginCandidateProvenance;
|
|
8697
|
+
/**
|
|
8698
|
+
* How many times the resource has been installed, as reported by the feed. Omitted when the feed reports no count or an invalid one.
|
|
8699
|
+
*/
|
|
8700
|
+
installCount?: number;
|
|
8701
|
+
/**
|
|
8702
|
+
* HTTPS URL of the resource's icon on raw.githubusercontent.com, as reported by the feed. Untrusted external content: load it without credentials. Omitted when absent or outside the feed's icon host policy.
|
|
8703
|
+
*/
|
|
8704
|
+
iconUrl?: string;
|
|
8705
|
+
/**
|
|
8706
|
+
* Identifiers of the connectors the resource works with, as reported by the feed, without repeats. Inert untrusted text. Omitted when the feed reports none.
|
|
8707
|
+
*
|
|
8708
|
+
* @maxItems 64
|
|
8709
|
+
*/
|
|
8710
|
+
connectorIds?: string[];
|
|
8711
|
+
/**
|
|
8712
|
+
* Category slugs reported by the feed, such as `build` or `review`, without repeats. Values are passed through, so clients must tolerate slugs they do not recognise. Inert untrusted text. Omitted when the feed reports none.
|
|
8713
|
+
*
|
|
8714
|
+
* @maxItems 64
|
|
8715
|
+
*/
|
|
8716
|
+
categories?: string[];
|
|
8310
8717
|
trust?: CatalogTrustSnapshot;
|
|
8311
8718
|
}
|
|
8312
8719
|
/**
|
|
@@ -8576,6 +8983,26 @@ export interface CatalogAiSkillCandidate {
|
|
|
8576
8983
|
publisher?: string;
|
|
8577
8984
|
source: CatalogCandidateSource;
|
|
8578
8985
|
provenance: CatalogAiSkillCandidateProvenance;
|
|
8986
|
+
/**
|
|
8987
|
+
* How many times the resource has been installed, as reported by the feed. Omitted when the feed reports no count or an invalid one.
|
|
8988
|
+
*/
|
|
8989
|
+
installCount?: number;
|
|
8990
|
+
/**
|
|
8991
|
+
* HTTPS URL of the resource's icon on raw.githubusercontent.com, as reported by the feed. Untrusted external content: load it without credentials. Omitted when absent or outside the feed's icon host policy.
|
|
8992
|
+
*/
|
|
8993
|
+
iconUrl?: string;
|
|
8994
|
+
/**
|
|
8995
|
+
* Identifiers of the connectors the resource works with, as reported by the feed, without repeats. Inert untrusted text. Omitted when the feed reports none.
|
|
8996
|
+
*
|
|
8997
|
+
* @maxItems 64
|
|
8998
|
+
*/
|
|
8999
|
+
connectorIds?: string[];
|
|
9000
|
+
/**
|
|
9001
|
+
* Category slugs reported by the feed, such as `build` or `review`, without repeats. Values are passed through, so clients must tolerate slugs they do not recognise. Inert untrusted text. Omitted when the feed reports none.
|
|
9002
|
+
*
|
|
9003
|
+
* @maxItems 64
|
|
9004
|
+
*/
|
|
9005
|
+
categories?: string[];
|
|
8579
9006
|
trust?: CatalogTrustSnapshot;
|
|
8580
9007
|
}
|
|
8581
9008
|
/**
|
|
@@ -8677,6 +9104,26 @@ export interface CatalogMcpServerCandidate {
|
|
|
8677
9104
|
publisher?: string;
|
|
8678
9105
|
source: CatalogCandidateSource;
|
|
8679
9106
|
provenance: CatalogMcpServerCandidateProvenance;
|
|
9107
|
+
/**
|
|
9108
|
+
* How many times the resource has been installed, as reported by the feed. Omitted when the feed reports no count or an invalid one.
|
|
9109
|
+
*/
|
|
9110
|
+
installCount?: number;
|
|
9111
|
+
/**
|
|
9112
|
+
* HTTPS URL of the resource's icon on raw.githubusercontent.com, as reported by the feed. Untrusted external content: load it without credentials. Omitted when absent or outside the feed's icon host policy.
|
|
9113
|
+
*/
|
|
9114
|
+
iconUrl?: string;
|
|
9115
|
+
/**
|
|
9116
|
+
* Identifiers of the connectors the resource works with, as reported by the feed, without repeats. Inert untrusted text. Omitted when the feed reports none.
|
|
9117
|
+
*
|
|
9118
|
+
* @maxItems 64
|
|
9119
|
+
*/
|
|
9120
|
+
connectorIds?: string[];
|
|
9121
|
+
/**
|
|
9122
|
+
* Category slugs reported by the feed, such as `build` or `review`, without repeats. Values are passed through, so clients must tolerate slugs they do not recognise. Inert untrusted text. Omitted when the feed reports none.
|
|
9123
|
+
*
|
|
9124
|
+
* @maxItems 64
|
|
9125
|
+
*/
|
|
9126
|
+
categories?: string[];
|
|
8680
9127
|
trust?: CatalogTrustSnapshot;
|
|
8681
9128
|
}
|
|
8682
9129
|
/**
|
|
@@ -8922,6 +9369,21 @@ export interface CatalogNotInstallableError {
|
|
|
8922
9369
|
*/
|
|
8923
9370
|
message: string;
|
|
8924
9371
|
}
|
|
9372
|
+
/**
|
|
9373
|
+
* Side-effect-free planning of whatever resource a materialisation reference pins, rather than a search candidate.
|
|
9374
|
+
*
|
|
9375
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
9376
|
+
* via the `definition` "CatalogPlanInstallFromReferenceRequest".
|
|
9377
|
+
*/
|
|
9378
|
+
/** @experimental */
|
|
9379
|
+
export interface CatalogPlanInstallFromReferenceRequest {
|
|
9380
|
+
contract: CatalogClientContract;
|
|
9381
|
+
reference: CatalogMaterializationReference;
|
|
9382
|
+
/**
|
|
9383
|
+
* Existing local session attached to this connection.
|
|
9384
|
+
*/
|
|
9385
|
+
policySessionId: string;
|
|
9386
|
+
}
|
|
8925
9387
|
/**
|
|
8926
9388
|
* Registry or enterprise policy refused the operation.
|
|
8927
9389
|
*
|
|
@@ -8940,6 +9402,301 @@ export interface CatalogPolicyRejectedError {
|
|
|
8940
9402
|
*/
|
|
8941
9403
|
message: string;
|
|
8942
9404
|
}
|
|
9405
|
+
/**
|
|
9406
|
+
* A computed Skill install plan. Nothing has been applied.
|
|
9407
|
+
*
|
|
9408
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
9409
|
+
* via the `definition` "SkillInstallPlan".
|
|
9410
|
+
*/
|
|
9411
|
+
/** @experimental */
|
|
9412
|
+
export interface SkillInstallPlan {
|
|
9413
|
+
/**
|
|
9414
|
+
* One-use plan handle, bound to the original candidate authority.
|
|
9415
|
+
*/
|
|
9416
|
+
planHandle: string;
|
|
9417
|
+
/**
|
|
9418
|
+
* Original operation identifier returned before confirmation.
|
|
9419
|
+
*/
|
|
9420
|
+
operationId: string;
|
|
9421
|
+
/**
|
|
9422
|
+
* Original wall-clock expiry as an ISO 8601 timestamp.
|
|
9423
|
+
*/
|
|
9424
|
+
expiresAt: string;
|
|
9425
|
+
review: SkillInstallationReview;
|
|
9426
|
+
}
|
|
9427
|
+
/**
|
|
9428
|
+
* Catalogue identity retained from a bound candidate or plan at installation time.
|
|
9429
|
+
*
|
|
9430
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
9431
|
+
* via the `definition` "InstallationCatalogueIdentity".
|
|
9432
|
+
*/
|
|
9433
|
+
/** @experimental */
|
|
9434
|
+
export interface InstallationCatalogueIdentity {
|
|
9435
|
+
/**
|
|
9436
|
+
* Authority resource identifier when supplied by the catalogue.
|
|
9437
|
+
*/
|
|
9438
|
+
resourceId?: string;
|
|
9439
|
+
/**
|
|
9440
|
+
* Catalogue item URL when supplied by the authority.
|
|
9441
|
+
*/
|
|
9442
|
+
itemUrl?: string;
|
|
9443
|
+
/**
|
|
9444
|
+
* Human display name retained from the catalogue candidate.
|
|
9445
|
+
*/
|
|
9446
|
+
displayName: string;
|
|
9447
|
+
/**
|
|
9448
|
+
* Catalogue description retained at install planning time.
|
|
9449
|
+
*/
|
|
9450
|
+
description?: string;
|
|
9451
|
+
/**
|
|
9452
|
+
* Catalogue publisher retained at install planning time.
|
|
9453
|
+
*/
|
|
9454
|
+
publisher?: string;
|
|
9455
|
+
/**
|
|
9456
|
+
* Catalogue version retained at install planning time.
|
|
9457
|
+
*/
|
|
9458
|
+
version?: string;
|
|
9459
|
+
/**
|
|
9460
|
+
* Catalogue authority/source string that supplied the candidate.
|
|
9461
|
+
*/
|
|
9462
|
+
source: string;
|
|
9463
|
+
trustAtInstall?: CatalogTrustSnapshot;
|
|
9464
|
+
}
|
|
9465
|
+
/**
|
|
9466
|
+
* Source identity retained from Agent Finder and the pinned GitHub descriptor.
|
|
9467
|
+
*
|
|
9468
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
9469
|
+
* via the `definition` "SkillInstallationSource".
|
|
9470
|
+
*/
|
|
9471
|
+
/** @experimental */
|
|
9472
|
+
export interface SkillInstallationSource {
|
|
9473
|
+
/**
|
|
9474
|
+
* Agent Finder resource identifier.
|
|
9475
|
+
*/
|
|
9476
|
+
resourceId: string;
|
|
9477
|
+
/**
|
|
9478
|
+
* Agent Finder materialisation revision identifier.
|
|
9479
|
+
*/
|
|
9480
|
+
catalogRevisionId: string;
|
|
9481
|
+
/**
|
|
9482
|
+
* GitHub repository database identifier.
|
|
9483
|
+
*/
|
|
9484
|
+
repositoryId: string;
|
|
9485
|
+
/**
|
|
9486
|
+
* Repository full name, for example owner/name.
|
|
9487
|
+
*/
|
|
9488
|
+
repository: string;
|
|
9489
|
+
/**
|
|
9490
|
+
* Pinned Git commit revision.
|
|
9491
|
+
*/
|
|
9492
|
+
revision: string;
|
|
9493
|
+
/**
|
|
9494
|
+
* Root path within the pinned repository.
|
|
9495
|
+
*/
|
|
9496
|
+
root: string;
|
|
9497
|
+
/**
|
|
9498
|
+
* Digest of the canonical materialisation descriptor.
|
|
9499
|
+
*/
|
|
9500
|
+
descriptorDigest: string;
|
|
9501
|
+
/**
|
|
9502
|
+
* Digest of the descriptor's bundle manifest.
|
|
9503
|
+
*/
|
|
9504
|
+
bundleDigest: string;
|
|
9505
|
+
}
|
|
9506
|
+
/**
|
|
9507
|
+
* A user-facing personal Skill installation location without absolute host paths.
|
|
9508
|
+
*
|
|
9509
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
9510
|
+
* via the `definition` "SkillInstallationLocation".
|
|
9511
|
+
*/
|
|
9512
|
+
/** @experimental */
|
|
9513
|
+
export interface SkillInstallationLocation {
|
|
9514
|
+
scope: SkillInstallationScope;
|
|
9515
|
+
/**
|
|
9516
|
+
* Path relative to the Copilot home.
|
|
9517
|
+
*/
|
|
9518
|
+
relativePath: string;
|
|
9519
|
+
/**
|
|
9520
|
+
* Safe display label, for example ~/.copilot/skills/run-checks.
|
|
9521
|
+
*/
|
|
9522
|
+
displayLabel: string;
|
|
9523
|
+
/**
|
|
9524
|
+
* Diagnostics-only absolute host path. Hosts must not display it by default.
|
|
9525
|
+
*/
|
|
9526
|
+
diagnosticsAbsolutePath?: string;
|
|
9527
|
+
}
|
|
9528
|
+
/**
|
|
9529
|
+
* One reviewed Skill file.
|
|
9530
|
+
*
|
|
9531
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
9532
|
+
* via the `definition` "SkillInstallationFileReview".
|
|
9533
|
+
*/
|
|
9534
|
+
/** @experimental */
|
|
9535
|
+
export interface SkillInstallationFileReview {
|
|
9536
|
+
/**
|
|
9537
|
+
* Relative file path within the Skill root.
|
|
9538
|
+
*/
|
|
9539
|
+
path: string;
|
|
9540
|
+
/**
|
|
9541
|
+
* Exact reviewed file size in bytes.
|
|
9542
|
+
*/
|
|
9543
|
+
sizeBytes: number;
|
|
9544
|
+
/**
|
|
9545
|
+
* Declared media type for the file.
|
|
9546
|
+
*/
|
|
9547
|
+
mediaType: string;
|
|
9548
|
+
/**
|
|
9549
|
+
* Whether the file is installed with executable permissions.
|
|
9550
|
+
*/
|
|
9551
|
+
executable: boolean;
|
|
9552
|
+
/**
|
|
9553
|
+
* SHA-256 digest of the exact file bytes.
|
|
9554
|
+
*/
|
|
9555
|
+
digest: string;
|
|
9556
|
+
}
|
|
9557
|
+
/**
|
|
9558
|
+
* Durable verified Skill ownership summary.
|
|
9559
|
+
*
|
|
9560
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
9561
|
+
* via the `definition` "SkillInstallationSummary".
|
|
9562
|
+
*/
|
|
9563
|
+
/** @experimental */
|
|
9564
|
+
export interface SkillInstallationSummary {
|
|
9565
|
+
/**
|
|
9566
|
+
* Exact durable installation receipt identity.
|
|
9567
|
+
*/
|
|
9568
|
+
installationId: string;
|
|
9569
|
+
/**
|
|
9570
|
+
* Operation that installed this Skill.
|
|
9571
|
+
*/
|
|
9572
|
+
operationId: string;
|
|
9573
|
+
/**
|
|
9574
|
+
* Skill invocation name.
|
|
9575
|
+
*/
|
|
9576
|
+
name: string;
|
|
9577
|
+
target: SkillInstallationLocation;
|
|
9578
|
+
/**
|
|
9579
|
+
* Persisted enablement requested for this installation.
|
|
9580
|
+
*/
|
|
9581
|
+
configuredEnabled: boolean;
|
|
9582
|
+
sessionState: SkillInstallationSessionState;
|
|
9583
|
+
source: SkillInstallationSource;
|
|
9584
|
+
catalogue: InstallationCatalogueIdentity;
|
|
9585
|
+
/**
|
|
9586
|
+
* ISO 8601 wall-clock installation time.
|
|
9587
|
+
*/
|
|
9588
|
+
installedAt: string;
|
|
9589
|
+
ownershipState: SkillInstallationOwnershipState;
|
|
9590
|
+
}
|
|
9591
|
+
/**
|
|
9592
|
+
* A computed Agent Plugin install plan. Nothing has been applied.
|
|
9593
|
+
*
|
|
9594
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
9595
|
+
* via the `definition` "PluginInstallPlan".
|
|
9596
|
+
*/
|
|
9597
|
+
/** @experimental */
|
|
9598
|
+
export interface PluginInstallPlan {
|
|
9599
|
+
/**
|
|
9600
|
+
* One-use plan handle, bound to the original authority.
|
|
9601
|
+
*/
|
|
9602
|
+
planHandle: string;
|
|
9603
|
+
/**
|
|
9604
|
+
* Original operation identifier returned before confirmation.
|
|
9605
|
+
*/
|
|
9606
|
+
operationId: string;
|
|
9607
|
+
/**
|
|
9608
|
+
* Original wall-clock expiry as an ISO 8601 timestamp.
|
|
9609
|
+
*/
|
|
9610
|
+
expiresAt: string;
|
|
9611
|
+
review: PluginInstallationReview;
|
|
9612
|
+
}
|
|
9613
|
+
/**
|
|
9614
|
+
* Source identity retained from Agent Finder and the pinned GitHub descriptor.
|
|
9615
|
+
*
|
|
9616
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
9617
|
+
* via the `definition` "PluginInstallationSource".
|
|
9618
|
+
*/
|
|
9619
|
+
/** @experimental */
|
|
9620
|
+
export interface PluginInstallationSource {
|
|
9621
|
+
/**
|
|
9622
|
+
* Agent Finder resource identifier.
|
|
9623
|
+
*/
|
|
9624
|
+
resourceId: string;
|
|
9625
|
+
/**
|
|
9626
|
+
* Agent Finder materialisation revision identifier.
|
|
9627
|
+
*/
|
|
9628
|
+
catalogRevisionId: string;
|
|
9629
|
+
/**
|
|
9630
|
+
* GitHub repository database identifier.
|
|
9631
|
+
*/
|
|
9632
|
+
repositoryId: string;
|
|
9633
|
+
/**
|
|
9634
|
+
* Repository full name, for example owner/name.
|
|
9635
|
+
*/
|
|
9636
|
+
repository: string;
|
|
9637
|
+
/**
|
|
9638
|
+
* Pinned Git commit revision.
|
|
9639
|
+
*/
|
|
9640
|
+
revision: string;
|
|
9641
|
+
/**
|
|
9642
|
+
* Plugin root within the pinned repository. Empty for the repository root.
|
|
9643
|
+
*/
|
|
9644
|
+
root: string;
|
|
9645
|
+
/**
|
|
9646
|
+
* Digest of the canonical materialisation descriptor.
|
|
9647
|
+
*/
|
|
9648
|
+
descriptorDigest: string;
|
|
9649
|
+
/**
|
|
9650
|
+
* Digest of the descriptor's bundle manifest.
|
|
9651
|
+
*/
|
|
9652
|
+
bundleDigest: string;
|
|
9653
|
+
}
|
|
9654
|
+
/**
|
|
9655
|
+
* Where a plugin is installed, without an absolute host path.
|
|
9656
|
+
*
|
|
9657
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
9658
|
+
* via the `definition` "PluginInstallationLocation".
|
|
9659
|
+
*/
|
|
9660
|
+
/** @experimental */
|
|
9661
|
+
export interface PluginInstallationLocation {
|
|
9662
|
+
/**
|
|
9663
|
+
* Path relative to the Copilot home, under installed-plugins/_direct like any direct plugin install.
|
|
9664
|
+
*/
|
|
9665
|
+
relativePath: string;
|
|
9666
|
+
/**
|
|
9667
|
+
* Safe display label, for example ~/.copilot/installed-plugins/_direct/owner--repo--plugins-work-hub.
|
|
9668
|
+
*/
|
|
9669
|
+
displayLabel: string;
|
|
9670
|
+
}
|
|
9671
|
+
/**
|
|
9672
|
+
* One reviewed plugin file.
|
|
9673
|
+
*
|
|
9674
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
9675
|
+
* via the `definition` "PluginInstallationFileReview".
|
|
9676
|
+
*/
|
|
9677
|
+
/** @experimental */
|
|
9678
|
+
export interface PluginInstallationFileReview {
|
|
9679
|
+
/**
|
|
9680
|
+
* Relative file path within the plugin root.
|
|
9681
|
+
*/
|
|
9682
|
+
path: string;
|
|
9683
|
+
/**
|
|
9684
|
+
* Exact reviewed file size in bytes.
|
|
9685
|
+
*/
|
|
9686
|
+
sizeBytes: number;
|
|
9687
|
+
/**
|
|
9688
|
+
* Declared media type for the file.
|
|
9689
|
+
*/
|
|
9690
|
+
mediaType: string;
|
|
9691
|
+
/**
|
|
9692
|
+
* Whether the file is installed with executable permissions.
|
|
9693
|
+
*/
|
|
9694
|
+
executable: boolean;
|
|
9695
|
+
/**
|
|
9696
|
+
* SHA-256 digest of the exact file bytes.
|
|
9697
|
+
*/
|
|
9698
|
+
digest: string;
|
|
9699
|
+
}
|
|
8943
9700
|
/**
|
|
8944
9701
|
* 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.
|
|
8945
9702
|
*
|
|
@@ -12946,42 +13703,103 @@ export interface HostStartResult {
|
|
|
12946
13703
|
pid?: number;
|
|
12947
13704
|
}
|
|
12948
13705
|
/**
|
|
12949
|
-
*
|
|
13706
|
+
* Withdraws an application publication without deleting its underlying local session.
|
|
12950
13707
|
*
|
|
12951
13708
|
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
12952
|
-
* via the `definition` "
|
|
13709
|
+
* via the `definition` "HostUnpublishSessionRequest".
|
|
12953
13710
|
*/
|
|
12954
13711
|
/** @experimental */
|
|
12955
|
-
export interface
|
|
13712
|
+
export interface HostUnpublishSessionRequest {
|
|
12956
13713
|
/**
|
|
12957
|
-
*
|
|
13714
|
+
* Listener UUID returned by host.start; the caller must own the live listener.
|
|
12958
13715
|
*/
|
|
12959
|
-
|
|
13716
|
+
hostId: string;
|
|
12960
13717
|
/**
|
|
12961
|
-
*
|
|
13718
|
+
* Canonical session ID in the durable catalog, whether resident or dormant.
|
|
12962
13719
|
*/
|
|
12963
|
-
|
|
13720
|
+
sessionId: string;
|
|
13721
|
+
}
|
|
13722
|
+
/**
|
|
13723
|
+
* Publication withdrawal outcome; local history, worktrees and ongoing work are preserved.
|
|
13724
|
+
*
|
|
13725
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
13726
|
+
* via the `definition` "HostUnpublishSessionResult".
|
|
13727
|
+
*/
|
|
13728
|
+
/** @experimental */
|
|
13729
|
+
export interface HostUnpublishSessionResult {
|
|
12964
13730
|
/**
|
|
12965
|
-
*
|
|
13731
|
+
* True when a publication was removed; false when it was already absent.
|
|
12966
13732
|
*/
|
|
12967
|
-
|
|
13733
|
+
unpublished: boolean;
|
|
13734
|
+
}
|
|
13735
|
+
/**
|
|
13736
|
+
* Removes a durable application publication and revokes its AHP attachments.
|
|
13737
|
+
*
|
|
13738
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
13739
|
+
* via the `definition` "HostUnregisterSessionRequest".
|
|
13740
|
+
*/
|
|
13741
|
+
/** @experimental */
|
|
13742
|
+
export interface HostUnregisterSessionRequest {
|
|
12968
13743
|
/**
|
|
12969
|
-
*
|
|
13744
|
+
* Canonical ID of the application publication to withdraw.
|
|
12970
13745
|
*/
|
|
12971
|
-
|
|
13746
|
+
sessionId: string;
|
|
13747
|
+
}
|
|
13748
|
+
/**
|
|
13749
|
+
* 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.
|
|
13750
|
+
*
|
|
13751
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
13752
|
+
* via the `definition` "ImageToolModel".
|
|
13753
|
+
*/
|
|
13754
|
+
/** @experimental */
|
|
13755
|
+
export interface ImageToolModel {
|
|
12972
13756
|
/**
|
|
12973
|
-
*
|
|
13757
|
+
* Image model identifier selected by the runtime.
|
|
12974
13758
|
*/
|
|
12975
|
-
|
|
13759
|
+
id: string;
|
|
12976
13760
|
/**
|
|
12977
|
-
*
|
|
13761
|
+
* Human-readable model name, supplied by the runtime when unavailable from the catalog.
|
|
12978
13762
|
*/
|
|
12979
|
-
|
|
13763
|
+
name: string;
|
|
12980
13764
|
/**
|
|
12981
|
-
*
|
|
13765
|
+
* Image operations supported by the model's available versioned endpoints.
|
|
12982
13766
|
*/
|
|
12983
|
-
|
|
12984
|
-
|
|
13767
|
+
supportedOperations: ImageToolModelOperation[];
|
|
13768
|
+
/**
|
|
13769
|
+
* Whether this is the model the runtime currently uses for its native image tool.
|
|
13770
|
+
*/
|
|
13771
|
+
isDefault: boolean;
|
|
13772
|
+
availability: ImageToolModelAvailability;
|
|
13773
|
+
pricing?: ImageToolModelPricing;
|
|
13774
|
+
}
|
|
13775
|
+
/**
|
|
13776
|
+
* 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.
|
|
13777
|
+
*
|
|
13778
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
13779
|
+
* via the `definition` "ImageToolModelPricing".
|
|
13780
|
+
*/
|
|
13781
|
+
/** @experimental */
|
|
13782
|
+
export interface ImageToolModelPricing {
|
|
13783
|
+
/**
|
|
13784
|
+
* Number of tokens per billing batch.
|
|
13785
|
+
*/
|
|
13786
|
+
batchSize: number;
|
|
13787
|
+
/**
|
|
13788
|
+
* AI credits per batch of text-input tokens, including a reported zero.
|
|
13789
|
+
*/
|
|
13790
|
+
textInputPrice?: number;
|
|
13791
|
+
/**
|
|
13792
|
+
* AI credits per batch of text-output tokens, not generated image tokens.
|
|
13793
|
+
*/
|
|
13794
|
+
textOutputPrice?: number;
|
|
13795
|
+
/**
|
|
13796
|
+
* Distinct AI credits per batch of image-input tokens, when reported, including zero.
|
|
13797
|
+
*/
|
|
13798
|
+
imageInputPrice?: number;
|
|
13799
|
+
/**
|
|
13800
|
+
* Distinct AI credits per batch of image-output tokens, when reported, including zero.
|
|
13801
|
+
*/
|
|
13802
|
+
imageOutputPrice?: number;
|
|
12985
13803
|
}
|
|
12986
13804
|
/**
|
|
12987
13805
|
* One connection-owned, expiring request for a trusted host's explicit user decision.
|
|
@@ -13310,132 +14128,6 @@ export interface McpInstallationRemoteConfiguration {
|
|
|
13310
14128
|
*/
|
|
13311
14129
|
tools: string[];
|
|
13312
14130
|
}
|
|
13313
|
-
/**
|
|
13314
|
-
* Source identity retained from Agent Finder and the pinned GitHub descriptor.
|
|
13315
|
-
*
|
|
13316
|
-
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
13317
|
-
* via the `definition` "SkillInstallationSource".
|
|
13318
|
-
*/
|
|
13319
|
-
/** @experimental */
|
|
13320
|
-
export interface SkillInstallationSource {
|
|
13321
|
-
/**
|
|
13322
|
-
* Agent Finder resource identifier.
|
|
13323
|
-
*/
|
|
13324
|
-
resourceId: string;
|
|
13325
|
-
/**
|
|
13326
|
-
* Agent Finder materialisation revision identifier.
|
|
13327
|
-
*/
|
|
13328
|
-
catalogRevisionId: string;
|
|
13329
|
-
/**
|
|
13330
|
-
* GitHub repository database identifier.
|
|
13331
|
-
*/
|
|
13332
|
-
repositoryId: string;
|
|
13333
|
-
/**
|
|
13334
|
-
* Repository full name, for example owner/name.
|
|
13335
|
-
*/
|
|
13336
|
-
repository: string;
|
|
13337
|
-
/**
|
|
13338
|
-
* Pinned Git commit revision.
|
|
13339
|
-
*/
|
|
13340
|
-
revision: string;
|
|
13341
|
-
/**
|
|
13342
|
-
* Root path within the pinned repository.
|
|
13343
|
-
*/
|
|
13344
|
-
root: string;
|
|
13345
|
-
/**
|
|
13346
|
-
* Digest of the canonical materialisation descriptor.
|
|
13347
|
-
*/
|
|
13348
|
-
descriptorDigest: string;
|
|
13349
|
-
/**
|
|
13350
|
-
* Digest of the descriptor's bundle manifest.
|
|
13351
|
-
*/
|
|
13352
|
-
bundleDigest: string;
|
|
13353
|
-
}
|
|
13354
|
-
/**
|
|
13355
|
-
* A user-facing personal Skill installation location without absolute host paths.
|
|
13356
|
-
*
|
|
13357
|
-
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
13358
|
-
* via the `definition` "SkillInstallationLocation".
|
|
13359
|
-
*/
|
|
13360
|
-
/** @experimental */
|
|
13361
|
-
export interface SkillInstallationLocation {
|
|
13362
|
-
scope: SkillInstallationScope;
|
|
13363
|
-
/**
|
|
13364
|
-
* Path relative to the Copilot home.
|
|
13365
|
-
*/
|
|
13366
|
-
relativePath: string;
|
|
13367
|
-
/**
|
|
13368
|
-
* Safe display label, for example ~/.copilot/skills/run-checks.
|
|
13369
|
-
*/
|
|
13370
|
-
displayLabel: string;
|
|
13371
|
-
/**
|
|
13372
|
-
* Diagnostics-only absolute host path. Hosts must not display it by default.
|
|
13373
|
-
*/
|
|
13374
|
-
diagnosticsAbsolutePath?: string;
|
|
13375
|
-
}
|
|
13376
|
-
/**
|
|
13377
|
-
* One reviewed Skill file.
|
|
13378
|
-
*
|
|
13379
|
-
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
13380
|
-
* via the `definition` "SkillInstallationFileReview".
|
|
13381
|
-
*/
|
|
13382
|
-
/** @experimental */
|
|
13383
|
-
export interface SkillInstallationFileReview {
|
|
13384
|
-
/**
|
|
13385
|
-
* Relative file path within the Skill root.
|
|
13386
|
-
*/
|
|
13387
|
-
path: string;
|
|
13388
|
-
/**
|
|
13389
|
-
* Exact reviewed file size in bytes.
|
|
13390
|
-
*/
|
|
13391
|
-
sizeBytes: number;
|
|
13392
|
-
/**
|
|
13393
|
-
* Declared media type for the file.
|
|
13394
|
-
*/
|
|
13395
|
-
mediaType: string;
|
|
13396
|
-
/**
|
|
13397
|
-
* Whether the file is installed with executable permissions.
|
|
13398
|
-
*/
|
|
13399
|
-
executable: boolean;
|
|
13400
|
-
/**
|
|
13401
|
-
* SHA-256 digest of the exact file bytes.
|
|
13402
|
-
*/
|
|
13403
|
-
digest: string;
|
|
13404
|
-
}
|
|
13405
|
-
/**
|
|
13406
|
-
* Durable verified Skill ownership summary.
|
|
13407
|
-
*
|
|
13408
|
-
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
13409
|
-
* via the `definition` "SkillInstallationSummary".
|
|
13410
|
-
*/
|
|
13411
|
-
/** @experimental */
|
|
13412
|
-
export interface SkillInstallationSummary {
|
|
13413
|
-
/**
|
|
13414
|
-
* Exact durable installation receipt identity.
|
|
13415
|
-
*/
|
|
13416
|
-
installationId: string;
|
|
13417
|
-
/**
|
|
13418
|
-
* Operation that installed this Skill.
|
|
13419
|
-
*/
|
|
13420
|
-
operationId: string;
|
|
13421
|
-
/**
|
|
13422
|
-
* Skill invocation name.
|
|
13423
|
-
*/
|
|
13424
|
-
name: string;
|
|
13425
|
-
target: SkillInstallationLocation;
|
|
13426
|
-
/**
|
|
13427
|
-
* Persisted enablement requested for this installation.
|
|
13428
|
-
*/
|
|
13429
|
-
configuredEnabled: boolean;
|
|
13430
|
-
sessionState: SkillInstallationSessionState;
|
|
13431
|
-
source: SkillInstallationSource;
|
|
13432
|
-
catalogue: InstallationCatalogueIdentity;
|
|
13433
|
-
/**
|
|
13434
|
-
* ISO 8601 wall-clock installation time.
|
|
13435
|
-
*/
|
|
13436
|
-
installedAt: string;
|
|
13437
|
-
ownershipState: SkillInstallationOwnershipState;
|
|
13438
|
-
}
|
|
13439
14131
|
/**
|
|
13440
14132
|
* A response is meaningful only on the connection and request that issued its challenge.
|
|
13441
14133
|
*
|
|
@@ -17227,16 +17919,16 @@ export interface ModelBilling {
|
|
|
17227
17919
|
/** @experimental */
|
|
17228
17920
|
export interface ModelBillingTokenPrices {
|
|
17229
17921
|
/**
|
|
17230
|
-
*
|
|
17922
|
+
* Cost per billing batch of input tokens. The unit is reported by models.listTokenPriceUnits.
|
|
17231
17923
|
*/
|
|
17232
17924
|
inputPrice?: number;
|
|
17233
17925
|
/**
|
|
17234
|
-
*
|
|
17926
|
+
* Cost per billing batch of output tokens. The unit is reported by models.listTokenPriceUnits.
|
|
17235
17927
|
*/
|
|
17236
17928
|
outputPrice?: number;
|
|
17237
17929
|
/**
|
|
17238
17930
|
* @deprecated
|
|
17239
|
-
* Use cacheReadPrice
|
|
17931
|
+
* Use cacheReadPrice when available. Cost per billing batch of cached tokens in the unit reported by models.listTokenPriceUnits.
|
|
17240
17932
|
*/
|
|
17241
17933
|
cachePrice?: number;
|
|
17242
17934
|
/**
|
|
@@ -17572,6 +18264,11 @@ export interface ModelList {
|
|
|
17572
18264
|
* List of available models with full metadata
|
|
17573
18265
|
*/
|
|
17574
18266
|
models: Model[];
|
|
18267
|
+
auto?: AutoTierMetadata;
|
|
18268
|
+
/**
|
|
18269
|
+
* 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.
|
|
18270
|
+
*/
|
|
18271
|
+
imageModels?: ImageToolModel[];
|
|
17575
18272
|
}
|
|
17576
18273
|
/** @experimental */
|
|
17577
18274
|
export interface ModelPickerPersistenceRequest {
|
|
@@ -18255,6 +18952,33 @@ export interface ModelSwitchToResult {
|
|
|
18255
18952
|
deprecationWarnings?: string[];
|
|
18256
18953
|
modelState?: CurrentModel;
|
|
18257
18954
|
}
|
|
18955
|
+
/**
|
|
18956
|
+
* The unit one model's published token prices are quoted in.
|
|
18957
|
+
*
|
|
18958
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
18959
|
+
* via the `definition` "ModelTokenPriceUnit".
|
|
18960
|
+
*/
|
|
18961
|
+
/** @experimental */
|
|
18962
|
+
export interface ModelTokenPriceUnit {
|
|
18963
|
+
/**
|
|
18964
|
+
* Model ID the unit applies to, matching the id of a models.list entry.
|
|
18965
|
+
*/
|
|
18966
|
+
modelId: string;
|
|
18967
|
+
unit: TokenPriceUnit;
|
|
18968
|
+
}
|
|
18969
|
+
/**
|
|
18970
|
+
* Price units for every catalog model that publishes token prices.
|
|
18971
|
+
*
|
|
18972
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
18973
|
+
* via the `definition` "ModelTokenPriceUnitList".
|
|
18974
|
+
*/
|
|
18975
|
+
/** @experimental */
|
|
18976
|
+
export interface ModelTokenPriceUnitList {
|
|
18977
|
+
/**
|
|
18978
|
+
* One entry per model that publishes token prices, in catalog order. A model with no published prices is omitted.
|
|
18979
|
+
*/
|
|
18980
|
+
units: ModelTokenPriceUnit[];
|
|
18981
|
+
}
|
|
18258
18982
|
/**
|
|
18259
18983
|
* Agent interaction mode to apply to the session.
|
|
18260
18984
|
*
|
|
@@ -20290,6 +21014,52 @@ export interface Plugin {
|
|
|
20290
21014
|
*/
|
|
20291
21015
|
installed?: boolean;
|
|
20292
21016
|
}
|
|
21017
|
+
/**
|
|
21018
|
+
* Applies exactly one retained verified Agent Plugin installation plan.
|
|
21019
|
+
*
|
|
21020
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
21021
|
+
* via the `definition` "PluginApplyInstallRequest".
|
|
21022
|
+
*/
|
|
21023
|
+
/** @experimental */
|
|
21024
|
+
export interface PluginApplyInstallRequest {
|
|
21025
|
+
contract: CatalogClientContract;
|
|
21026
|
+
/**
|
|
21027
|
+
* Opaque original plan, consumed once.
|
|
21028
|
+
*/
|
|
21029
|
+
planHandle: string;
|
|
21030
|
+
/**
|
|
21031
|
+
* Same existing selected session as planning.
|
|
21032
|
+
*/
|
|
21033
|
+
policySessionId: string;
|
|
21034
|
+
}
|
|
21035
|
+
/**
|
|
21036
|
+
* A plugin registered from a verified materialisation.
|
|
21037
|
+
*
|
|
21038
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
21039
|
+
* via the `definition` "PluginInstallationSummary".
|
|
21040
|
+
*/
|
|
21041
|
+
/** @experimental */
|
|
21042
|
+
export interface PluginInstallationSummary {
|
|
21043
|
+
/**
|
|
21044
|
+
* Installed plugin name, as plugins.list, plugins.enable and plugins.uninstall identify it.
|
|
21045
|
+
*/
|
|
21046
|
+
name: string;
|
|
21047
|
+
/**
|
|
21048
|
+
* Operation that installed the plugin.
|
|
21049
|
+
*/
|
|
21050
|
+
operationId: string;
|
|
21051
|
+
target: PluginInstallationLocation;
|
|
21052
|
+
/**
|
|
21053
|
+
* Whether the plugin is enabled for new sessions. Always false after installation.
|
|
21054
|
+
*/
|
|
21055
|
+
enabled: boolean;
|
|
21056
|
+
source: PluginInstallationSource;
|
|
21057
|
+
catalogue: InstallationCatalogueIdentity;
|
|
21058
|
+
/**
|
|
21059
|
+
* ISO 8601 wall-clock installation time.
|
|
21060
|
+
*/
|
|
21061
|
+
installedAt: string;
|
|
21062
|
+
}
|
|
20293
21063
|
/**
|
|
20294
21064
|
* Result of installing a plugin.
|
|
20295
21065
|
*
|
|
@@ -20339,6 +21109,24 @@ export interface PluginListResult {
|
|
|
20339
21109
|
*/
|
|
20340
21110
|
plugins: InstalledPluginInfo[];
|
|
20341
21111
|
}
|
|
21112
|
+
/**
|
|
21113
|
+
* Side-effect-free planning of one Agent Plugin search candidate through its Agent Finder materialisation.
|
|
21114
|
+
*
|
|
21115
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
21116
|
+
* via the `definition` "PluginPlanInstallRequest".
|
|
21117
|
+
*/
|
|
21118
|
+
/** @experimental */
|
|
21119
|
+
export interface PluginPlanInstallRequest {
|
|
21120
|
+
contract: CatalogClientContract;
|
|
21121
|
+
/**
|
|
21122
|
+
* Fresh single-use Agent Plugin candidate handle returned by a bound catalogue search.
|
|
21123
|
+
*/
|
|
21124
|
+
candidateHandle: string;
|
|
21125
|
+
/**
|
|
21126
|
+
* Existing local session attached to this connection.
|
|
21127
|
+
*/
|
|
21128
|
+
policySessionId: string;
|
|
21129
|
+
}
|
|
20342
21130
|
/**
|
|
20343
21131
|
* Trusted built-in plugin directories to use for this runtime process.
|
|
20344
21132
|
*
|
|
@@ -20606,6 +21394,19 @@ export interface ProtocolExternalToolDefinition {
|
|
|
20606
21394
|
[k: string]: JsonValue | undefined;
|
|
20607
21395
|
};
|
|
20608
21396
|
}
|
|
21397
|
+
/**
|
|
21398
|
+
* Opt into native CAPI image generation.
|
|
21399
|
+
*
|
|
21400
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
21401
|
+
* via the `definition` "ProtocolImageGenerationOptions".
|
|
21402
|
+
*/
|
|
21403
|
+
/** @experimental */
|
|
21404
|
+
export interface ProtocolImageGenerationOptions {
|
|
21405
|
+
/**
|
|
21406
|
+
* Disabled by default for SDK sessions. CAPI model access and permissions still apply.
|
|
21407
|
+
*/
|
|
21408
|
+
enabled?: boolean;
|
|
21409
|
+
}
|
|
20609
21410
|
/**
|
|
20610
21411
|
* BYOK providers and/or models to add to the session's registry at runtime. Both fields are optional; provide providers, models, or both.
|
|
20611
21412
|
*
|
|
@@ -26188,6 +26989,7 @@ export interface SessionTelemetryEngagement {
|
|
|
26188
26989
|
*/
|
|
26189
26990
|
/** @experimental */
|
|
26190
26991
|
export interface SessionUpdateOptionsParams {
|
|
26992
|
+
imageGeneration?: ProtocolImageGenerationOptions;
|
|
26191
26993
|
/**
|
|
26192
26994
|
* The model ID to use for assistant turns.
|
|
26193
26995
|
*/
|
|
@@ -26657,28 +27459,6 @@ export interface SkillDiscoveryPathList {
|
|
|
26657
27459
|
*/
|
|
26658
27460
|
paths: SkillDiscoveryPath[];
|
|
26659
27461
|
}
|
|
26660
|
-
/**
|
|
26661
|
-
* A computed Skill install plan. Nothing has been applied.
|
|
26662
|
-
*
|
|
26663
|
-
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
26664
|
-
* via the `definition` "SkillInstallPlan".
|
|
26665
|
-
*/
|
|
26666
|
-
/** @experimental */
|
|
26667
|
-
export interface SkillInstallPlan {
|
|
26668
|
-
/**
|
|
26669
|
-
* One-use plan handle, bound to the original candidate authority.
|
|
26670
|
-
*/
|
|
26671
|
-
planHandle: string;
|
|
26672
|
-
/**
|
|
26673
|
-
* Original operation identifier returned before confirmation.
|
|
26674
|
-
*/
|
|
26675
|
-
operationId: string;
|
|
26676
|
-
/**
|
|
26677
|
-
* Original wall-clock expiry as an ISO 8601 timestamp.
|
|
26678
|
-
*/
|
|
26679
|
-
expiresAt: string;
|
|
26680
|
-
review: SkillInstallationReview;
|
|
26681
|
-
}
|
|
26682
27462
|
/**
|
|
26683
27463
|
* A computed Skill uninstall plan. Nothing has been removed.
|
|
26684
27464
|
*
|
|
@@ -26743,21 +27523,6 @@ export interface SkillList {
|
|
|
26743
27523
|
*/
|
|
26744
27524
|
skills: Skill[];
|
|
26745
27525
|
}
|
|
26746
|
-
/**
|
|
26747
|
-
* Side-effect-free planning of one Skill from a materialisation reference rather than a search candidate.
|
|
26748
|
-
*
|
|
26749
|
-
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
26750
|
-
* via the `definition` "SkillPlanInstallFromReferenceRequest".
|
|
26751
|
-
*/
|
|
26752
|
-
/** @experimental */
|
|
26753
|
-
export interface SkillPlanInstallFromReferenceRequest {
|
|
26754
|
-
contract: CatalogClientContract;
|
|
26755
|
-
reference: CatalogMaterializationReference;
|
|
26756
|
-
/**
|
|
26757
|
-
* Existing local session attached to this connection.
|
|
26758
|
-
*/
|
|
26759
|
-
policySessionId: string;
|
|
26760
|
-
}
|
|
26761
27526
|
/**
|
|
26762
27527
|
* Side-effect-free planning of one verified Agent Finder Skill candidate.
|
|
26763
27528
|
*
|
|
@@ -31248,6 +32013,17 @@ export interface HostGetConfigurationResult {
|
|
|
31248
32013
|
export interface HostReadyResult {
|
|
31249
32014
|
}
|
|
31250
32015
|
/** @experimental */
|
|
32016
|
+
export interface ModelsListTokenPriceUnitsRequest {
|
|
32017
|
+
/**
|
|
32018
|
+
* Opaque account identifier returned by `account.getAllUsers`. When omitted, the current account is used.
|
|
32019
|
+
*/
|
|
32020
|
+
selectionId?: string;
|
|
32021
|
+
/**
|
|
32022
|
+
* GitHub token accepted for compatibility with existing SDK clients. When provided, resolves this token instead of using the current account.
|
|
32023
|
+
*/
|
|
32024
|
+
gitHubToken?: string;
|
|
32025
|
+
}
|
|
32026
|
+
/** @experimental */
|
|
31251
32027
|
export interface SessionWorkflowPauseAtCheckpointResult {
|
|
31252
32028
|
action: WorkflowPauseCheckpointAction;
|
|
31253
32029
|
}
|
|
@@ -31605,6 +32381,19 @@ export interface SessionFsSqliteExistsRequest {
|
|
|
31605
32381
|
*/
|
|
31606
32382
|
sessionId: string;
|
|
31607
32383
|
}
|
|
32384
|
+
/**
|
|
32385
|
+
* Publication withdrawal outcome; local history, worktrees and ongoing work are preserved.
|
|
32386
|
+
*
|
|
32387
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
32388
|
+
* via the `definition` "HostUnregisterSessionResult".
|
|
32389
|
+
*/
|
|
32390
|
+
/** @experimental */
|
|
32391
|
+
export interface HostUnregisterSessionResult {
|
|
32392
|
+
/**
|
|
32393
|
+
* True when a publication was removed; false when it was already absent.
|
|
32394
|
+
*/
|
|
32395
|
+
unpublished: boolean;
|
|
32396
|
+
}
|
|
31608
32397
|
/**
|
|
31609
32398
|
* The existing runtime identity and its resource on the listener.
|
|
31610
32399
|
*
|
|
@@ -31934,6 +32723,14 @@ export declare function createServerRpc(connection: MessageConnection): {
|
|
|
31934
32723
|
* @returns The existing runtime identity and its resource on the listener.
|
|
31935
32724
|
*/
|
|
31936
32725
|
publishSession: (params: HostPublishSessionRequest) => Promise<HostPublishSessionResult>;
|
|
32726
|
+
/**
|
|
32727
|
+
* Withdraws a live or dormant application publication from an owned live host and revokes AHP attachments without deleting local session history, worktrees, or ongoing work. Returns false when already absent; rejects nonapplication publications.
|
|
32728
|
+
*
|
|
32729
|
+
* @param params Withdraws an application publication without deleting its underlying local session.
|
|
32730
|
+
*
|
|
32731
|
+
* @returns Publication withdrawal outcome; local history, worktrees and ongoing work are preserved.
|
|
32732
|
+
*/
|
|
32733
|
+
unpublishSession: (params: HostUnpublishSessionRequest) => Promise<HostUnpublishSessionResult>;
|
|
31937
32734
|
/**
|
|
31938
32735
|
* Reads the complete advertised live and dormant session catalog of an existing host owned by this connection. Does not start hosting, subscribe to sessions, or guarantee resumability.
|
|
31939
32736
|
*
|
|
@@ -31996,6 +32793,14 @@ export declare function createServerRpc(connection: MessageConnection): {
|
|
|
31996
32793
|
* @returns The running runtime's complete catalog of well-known built-in model IDs, including supported models and additional IDs with built-in metadata.
|
|
31997
32794
|
*/
|
|
31998
32795
|
getBuiltInCatalog: () => Promise<BuiltInModelCatalog>;
|
|
32796
|
+
/**
|
|
32797
|
+
* Reports the unit of each model's published token prices: AI Credits or nano-AIU. Pair these units with models.list prices by model ID and use identical account-selection options for both calls. When options are omitted, the current account and its model providers are used.
|
|
32798
|
+
*
|
|
32799
|
+
* @param params Optional opaque account selection or compatibility GitHub token used to list models.
|
|
32800
|
+
*
|
|
32801
|
+
* @returns Price units for every catalog model that publishes token prices.
|
|
32802
|
+
*/
|
|
32803
|
+
listTokenPriceUnits: (params?: ModelsListTokenPriceUnitsRequest) => Promise<ModelTokenPriceUnitList>;
|
|
31999
32804
|
};
|
|
32000
32805
|
/** @experimental */
|
|
32001
32806
|
contentExclusion: {
|
|
@@ -32248,14 +33053,6 @@ export declare function createServerRpc(connection: MessageConnection): {
|
|
|
32248
33053
|
* @returns Skill installation management result with the honoured contract, or a typed refusal.
|
|
32249
33054
|
*/
|
|
32250
33055
|
planInstall: (params: SkillPlanInstallRequest) => Promise<SkillInstallationManagementResult>;
|
|
32251
|
-
/**
|
|
32252
|
-
* Plans installation of the Skill pinned by an Agent Finder materialisation reference without writing files. The runtime retrieves the descriptor only from its fixed Agent Finder authority and applies the same verification as skills.planInstall; the review shows only verified data. Apply the returned plan with skills.applyInstall.
|
|
32253
|
-
*
|
|
32254
|
-
* @param params Side-effect-free planning of one Skill from a materialisation reference rather than a search candidate.
|
|
32255
|
-
*
|
|
32256
|
-
* @returns Skill installation management result with the honoured contract, or a typed refusal.
|
|
32257
|
-
*/
|
|
32258
|
-
planInstallFromReference: (params: SkillPlanInstallFromReferenceRequest) => Promise<SkillInstallationManagementResult>;
|
|
32259
33056
|
/**
|
|
32260
33057
|
* Consumes one verified Skill installation plan, requests explicit human consent through installations.confirm on the original connection, then revalidates and installs the Skill disabled.
|
|
32261
33058
|
*
|
|
@@ -32355,33 +33152,24 @@ export declare function createServerRpc(connection: MessageConnection): {
|
|
|
32355
33152
|
*/
|
|
32356
33153
|
getDiscoveryPaths: (params: SkillsGetDiscoveryPathsRequest) => Promise<SkillDiscoveryPathList>;
|
|
32357
33154
|
};
|
|
32358
|
-
/**
|
|
32359
|
-
* Registers the calling SDK client as the per-entrypoint extension launch provider. Call before creating any sessions. When omitted, the runtime uses its built-in extension launcher.
|
|
32360
|
-
*
|
|
32361
|
-
* @experimental
|
|
32362
|
-
*/
|
|
32363
|
-
registerExtensionLaunchProvider: () => Promise<void>;
|
|
32364
33155
|
/** @experimental */
|
|
32365
|
-
|
|
33156
|
+
plugins: {
|
|
32366
33157
|
/**
|
|
32367
|
-
*
|
|
33158
|
+
* Plans installation of an Agent Plugin search candidate from its verified Agent Finder materialisation without writing files. Only candidates that carry a handle can be planned. The review shows only verified data, and installing leaves the plugin disabled until it is enabled through plugins.enable.
|
|
32368
33159
|
*
|
|
32369
|
-
* @param params
|
|
33160
|
+
* @param params Side-effect-free planning of one Agent Plugin search candidate through its Agent Finder materialisation.
|
|
32370
33161
|
*
|
|
32371
|
-
* @returns
|
|
33162
|
+
* @returns Agent Plugin installation planning result with the honoured contract, or a typed refusal.
|
|
32372
33163
|
*/
|
|
32373
|
-
|
|
33164
|
+
planInstall: (params: PluginPlanInstallRequest) => Promise<PluginInstallationManagementResult>;
|
|
32374
33165
|
/**
|
|
32375
|
-
*
|
|
33166
|
+
* Consumes one verified Agent Plugin installation plan, requests explicit human consent through installations.confirm on the original connection, then reacquires and verifies every file and registers the plugin, disabled, exactly as a direct plugin install. The installed plugin is listed, enabled and uninstalled through the existing plugins methods.
|
|
32376
33167
|
*
|
|
32377
|
-
* @param params
|
|
33168
|
+
* @param params Applies exactly one retained verified Agent Plugin installation plan.
|
|
32378
33169
|
*
|
|
32379
|
-
* @returns
|
|
33170
|
+
* @returns Agent Plugin installation result with the honoured contract, or a typed request/negotiation refusal.
|
|
32380
33171
|
*/
|
|
32381
|
-
|
|
32382
|
-
};
|
|
32383
|
-
/** @experimental */
|
|
32384
|
-
plugins: {
|
|
33172
|
+
applyInstall: (params: PluginApplyInstallRequest) => Promise<PluginInstallationResult>;
|
|
32385
33173
|
/**
|
|
32386
33174
|
* Lists plugins installed in user/global state.
|
|
32387
33175
|
*
|
|
@@ -32479,6 +33267,39 @@ export declare function createServerRpc(connection: MessageConnection): {
|
|
|
32479
33267
|
refresh: (params: PluginsMarketplacesRefreshRequest) => Promise<MarketplaceRefreshResult>;
|
|
32480
33268
|
};
|
|
32481
33269
|
};
|
|
33270
|
+
/**
|
|
33271
|
+
* Registers the calling SDK client as the per-entrypoint extension launch provider. Call before creating any sessions. When omitted, the runtime uses its built-in extension launcher.
|
|
33272
|
+
*
|
|
33273
|
+
* @experimental
|
|
33274
|
+
*/
|
|
33275
|
+
registerExtensionLaunchProvider: () => Promise<void>;
|
|
33276
|
+
/** @experimental */
|
|
33277
|
+
catalog: {
|
|
33278
|
+
/**
|
|
33279
|
+
* Requests a bounded catalog search. This host-implemented server method is available through SDK/TUI hosts; standalone and C-ABI runtimes whose host does not implement server-method dispatch return JSON-RPC MethodNotFound. A runtime with search available returns inert candidate summaries, each with an opaque single-use handle scoped to this runtime instance; a runtime without it returns the typed search-unavailable result. Public authorities may be searched anonymously, while an authority that requires credentials yields the typed authentication-required result. All returned text, URLs, and package metadata are untrusted external data and can never trigger instructions, tools, or installation. Read-only: nothing is installed, configured, or persisted.
|
|
33280
|
+
*
|
|
33281
|
+
* @param params A bounded catalog search. Both the query length and the result count are capped by the schema so a caller cannot request an unbounded scan.
|
|
33282
|
+
*
|
|
33283
|
+
* @returns Outcome of a catalog.search call: either bounded inert candidates, or one typed refusal. Never a partial success.
|
|
33284
|
+
*/
|
|
33285
|
+
search: (params: CatalogSearchRequest) => Promise<CatalogSearchResult>;
|
|
33286
|
+
/**
|
|
33287
|
+
* 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
|
+
*
|
|
33289
|
+
* @param params Terminates one retained catalog selection group through an opaque reference previously returned by the model-safe search projection.
|
|
33290
|
+
*
|
|
33291
|
+
* @returns Typed outcome of catalog.select. Only the selected host result carries a fresh candidate handle; the model-facing projection removes both that handle and searchId.
|
|
33292
|
+
*/
|
|
33293
|
+
select: (params: CatalogSelectionRequest) => Promise<CatalogSelectionResult>;
|
|
33294
|
+
/**
|
|
33295
|
+
* Plans installing the resource an Agent Finder materialisation reference pins, without writing files and whatever its kind. The runtime retrieves the descriptor once, only from its fixed Agent Finder authority, verifies it, and plans by its resolution policy: a Skill (`agent-skill@1.0.0`) when the caller requires skill-confirmed-installation, an Agent Plugin (`plugin@1.0.0`) when it requires agent-plugin-confirmed-installation. Any other kind is refused as unsupported-resource. The outcome names the kind; apply a Skill plan with skills.applyInstall and an Agent Plugin plan with plugins.applyInstall. The review shows only verified data.
|
|
33296
|
+
*
|
|
33297
|
+
* @param params Side-effect-free planning of whatever resource a materialisation reference pins, rather than a search candidate.
|
|
33298
|
+
*
|
|
33299
|
+
* @returns Planning result for a materialisation reference with the honoured contract, or a typed refusal.
|
|
33300
|
+
*/
|
|
33301
|
+
planInstallFromReference: (params: CatalogPlanInstallFromReferenceRequest) => Promise<CatalogReferenceInstallationResult>;
|
|
33302
|
+
};
|
|
32482
33303
|
/** @experimental */
|
|
32483
33304
|
agents: {
|
|
32484
33305
|
/**
|
|
@@ -32979,7 +33800,7 @@ export declare function createSessionRpc(connection: MessageConnection, sessionI
|
|
|
32979
33800
|
/**
|
|
32980
33801
|
* Begin an interactive login flow for a provider kind (dispatch is kind-only) and return its opaque flow id and first step.
|
|
32981
33802
|
*
|
|
32982
|
-
* @param params Begin an interactive login flow for a provider kind
|
|
33803
|
+
* @param params Begin an interactive login flow for a provider kind, optionally reusing a cached base identity or explicitly requesting provider account selection.
|
|
32983
33804
|
*
|
|
32984
33805
|
* @returns A started login flow: its opaque id and first step.
|
|
32985
33806
|
*/
|