@github/copilot-sdk 1.0.22 → 1.0.23-preview.0
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 +13 -1
- 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 +95 -28
- package/dist/cjs/host.js +11 -1
- 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 +1102 -432
- package/dist/generated/rpc.js +95 -28
- package/dist/generated/session-events.d.ts +6 -0
- package/dist/host.d.ts +8 -1
- package/dist/host.js +11 -1
- package/dist/types.d.ts +8 -0
- package/docs/agent-author.md +2 -0
- package/package.json +13 -12
package/dist/generated/rpc.d.ts
CHANGED
|
@@ -962,10 +962,10 @@ export type CatalogCapability =
|
|
|
962
962
|
| "mcp-configured-remote-installation"
|
|
963
963
|
/** 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
964
|
| "skill-confirmed-installation"
|
|
965
|
-
/** Understands `installability` and the
|
|
965
|
+
/** 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
966
|
| "agent-plugin-confirmed-installation"
|
|
967
|
-
/**
|
|
968
|
-
| "
|
|
967
|
+
/** Understands catalog.planInstallFromReference, which plans installing whatever resource an Agent Finder materialisation reference pins. It plans only kinds whose installation capability the caller also requires: skill-confirmed-installation for Skills, agent-plugin-confirmed-installation for Agent Plugins. Advertised only by runtimes with the Skill installation engine linked. */
|
|
968
|
+
| "catalog-reference-installation";
|
|
969
969
|
/**
|
|
970
970
|
* 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
971
|
*
|
|
@@ -1166,6 +1166,240 @@ export type McpPlanPolicySource =
|
|
|
1166
1166
|
| "registry-policy"
|
|
1167
1167
|
/** Local trust settings evaluated the server. */
|
|
1168
1168
|
| "local-trust";
|
|
1169
|
+
/**
|
|
1170
|
+
* Bounded refusal categories for planning from a materialisation reference.
|
|
1171
|
+
*
|
|
1172
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
1173
|
+
* via the `definition` "CatalogReferenceInstallationFailureReason".
|
|
1174
|
+
*/
|
|
1175
|
+
/** @experimental */
|
|
1176
|
+
export type CatalogReferenceInstallationFailureReason =
|
|
1177
|
+
/** The selected session does not have the installation feature flag for the referenced kind enabled. */
|
|
1178
|
+
"feature-disabled"
|
|
1179
|
+
/** The request is unsupported or malformed. */
|
|
1180
|
+
| "invalid-request"
|
|
1181
|
+
/** The bounded operation limit was reached. */
|
|
1182
|
+
| "operation-limit"
|
|
1183
|
+
/** Installation storage or admission is busy. */
|
|
1184
|
+
| "busy"
|
|
1185
|
+
/** The original host cannot receive human confirmation. */
|
|
1186
|
+
| "confirmation-unavailable"
|
|
1187
|
+
/** Existing authenticated session and host authority is unavailable. */
|
|
1188
|
+
| "policy-context-unavailable"
|
|
1189
|
+
/** Managed policy forbids installing this resource. */
|
|
1190
|
+
| "policy-blocked"
|
|
1191
|
+
/** The materialisation reference is malformed or uses an unsupported schema version. */
|
|
1192
|
+
| "invalid-reference"
|
|
1193
|
+
/** The materialisation descriptor could not be retrieved safely. */
|
|
1194
|
+
| "descriptor-unavailable"
|
|
1195
|
+
/** Agent Finder has no materialisation for the referenced resource revision (HTTP 404). */
|
|
1196
|
+
| "descriptor-not-found"
|
|
1197
|
+
/** Agent Finder withdrew the referenced resource revision (HTTP 410). */
|
|
1198
|
+
| "descriptor-withdrawn"
|
|
1199
|
+
/** The materialisation descriptor failed validation. */
|
|
1200
|
+
| "descriptor-invalid"
|
|
1201
|
+
/** The retrieved descriptor does not match the referenced descriptor or bundle digest. */
|
|
1202
|
+
| "digest-mismatch"
|
|
1203
|
+
/** The referenced resource is a kind this runtime cannot install, or one whose installation capability the caller did not require. */
|
|
1204
|
+
| "unsupported-resource"
|
|
1205
|
+
/** The resource's entrypoint could not be retrieved or verified. */
|
|
1206
|
+
| "entrypoint-unavailable"
|
|
1207
|
+
/** The Skill entrypoint is not a valid Skill. */
|
|
1208
|
+
| "invalid-skill"
|
|
1209
|
+
/** The plugin manifest is not a valid plugin manifest, or the bundle has another manifest that would take precedence over the reviewed one. */
|
|
1210
|
+
| "invalid-plugin"
|
|
1211
|
+
/** The entrypoint exceeds the bounded complete review size. */
|
|
1212
|
+
| "review-too-large"
|
|
1213
|
+
/** A resource with the same identity or install location already exists. */
|
|
1214
|
+
| "already-installed"
|
|
1215
|
+
/** A storage operation failed; nothing was installed. */
|
|
1216
|
+
| "write-failed";
|
|
1217
|
+
/**
|
|
1218
|
+
* Planning outcome for a materialisation reference. A plan names its kind, so the caller applies it with that kind's apply method.
|
|
1219
|
+
*
|
|
1220
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
1221
|
+
* via the `definition` "CatalogReferenceInstallationOutcome".
|
|
1222
|
+
*/
|
|
1223
|
+
/** @experimental */
|
|
1224
|
+
export type CatalogReferenceInstallationOutcome = {
|
|
1225
|
+
plan: SkillInstallPlan;
|
|
1226
|
+
/**
|
|
1227
|
+
* Reference planning outcome discriminator naming the planned kind.
|
|
1228
|
+
*/
|
|
1229
|
+
kind: "skill-install-planned";
|
|
1230
|
+
} | {
|
|
1231
|
+
plan: PluginInstallPlan;
|
|
1232
|
+
/**
|
|
1233
|
+
* Reference planning outcome discriminator naming the planned kind.
|
|
1234
|
+
*/
|
|
1235
|
+
kind: "plugin-install-planned";
|
|
1236
|
+
} | {
|
|
1237
|
+
reason: CatalogReferenceInstallationFailureReason;
|
|
1238
|
+
/**
|
|
1239
|
+
* Reference planning outcome discriminator naming the planned kind.
|
|
1240
|
+
*/
|
|
1241
|
+
kind: "refused";
|
|
1242
|
+
};
|
|
1243
|
+
/**
|
|
1244
|
+
* Safe verified Skill review fields. No raw credential, candidate handle or plan handle.
|
|
1245
|
+
*
|
|
1246
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
1247
|
+
* via the `definition` "SkillInstallationReview".
|
|
1248
|
+
*/
|
|
1249
|
+
/** @experimental */
|
|
1250
|
+
export type SkillInstallationReview = {
|
|
1251
|
+
/**
|
|
1252
|
+
* Skill invocation name from SKILL.md.
|
|
1253
|
+
*/
|
|
1254
|
+
name: string;
|
|
1255
|
+
/**
|
|
1256
|
+
* Skill description from SKILL.md when present.
|
|
1257
|
+
*/
|
|
1258
|
+
description?: string;
|
|
1259
|
+
catalogue: InstallationCatalogueIdentity;
|
|
1260
|
+
source: SkillInstallationSource;
|
|
1261
|
+
target: SkillInstallationLocation;
|
|
1262
|
+
/**
|
|
1263
|
+
* Installing never grants immediate use; the Skill is written disabled.
|
|
1264
|
+
*/
|
|
1265
|
+
installsDisabled: boolean;
|
|
1266
|
+
/**
|
|
1267
|
+
* Reviewed files and digests.
|
|
1268
|
+
*/
|
|
1269
|
+
files: SkillInstallationFileReview[];
|
|
1270
|
+
/**
|
|
1271
|
+
* Total reviewed payload size in bytes.
|
|
1272
|
+
*/
|
|
1273
|
+
totalBytes: number;
|
|
1274
|
+
/**
|
|
1275
|
+
* Relative path of the verified Skill entrypoint.
|
|
1276
|
+
*/
|
|
1277
|
+
entrypointPath: string;
|
|
1278
|
+
/**
|
|
1279
|
+
* Complete verified SKILL.md content. Planning refuses with review-too-large
|
|
1280
|
+
* when this exceeds 262144 UTF-8 bytes; it is never truncated.
|
|
1281
|
+
*/
|
|
1282
|
+
entrypointContent: string;
|
|
1283
|
+
/**
|
|
1284
|
+
* Exact reviewed Skill installation action.
|
|
1285
|
+
*/
|
|
1286
|
+
action: "install";
|
|
1287
|
+
} | {
|
|
1288
|
+
installation: SkillInstallationSummary;
|
|
1289
|
+
/**
|
|
1290
|
+
* Whether current files differ from the receipt. Apply refuses drift.
|
|
1291
|
+
*/
|
|
1292
|
+
filesModified: boolean;
|
|
1293
|
+
/**
|
|
1294
|
+
* Files recorded by the installation receipt.
|
|
1295
|
+
*/
|
|
1296
|
+
files: SkillInstallationFileReview[];
|
|
1297
|
+
/**
|
|
1298
|
+
* Total receipt-owned payload size in bytes.
|
|
1299
|
+
*/
|
|
1300
|
+
totalBytes: number;
|
|
1301
|
+
catalogue: InstallationCatalogueIdentity;
|
|
1302
|
+
/**
|
|
1303
|
+
* Exact reviewed Skill installation action.
|
|
1304
|
+
*/
|
|
1305
|
+
action: "uninstall";
|
|
1306
|
+
};
|
|
1307
|
+
/** @experimental */
|
|
1308
|
+
export type SkillInstallationScope = "personal";
|
|
1309
|
+
/**
|
|
1310
|
+
* Bound-session observation after reconciling persisted enablement.
|
|
1311
|
+
*
|
|
1312
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
1313
|
+
* via the `definition` "SkillInstallationSessionState".
|
|
1314
|
+
*/
|
|
1315
|
+
/** @experimental */
|
|
1316
|
+
export type SkillInstallationSessionState =
|
|
1317
|
+
/** The selected session has loaded this Skill and it is enabled. */
|
|
1318
|
+
"loaded-enabled"
|
|
1319
|
+
/** The selected session has loaded this Skill or settings and it is disabled. */
|
|
1320
|
+
| "loaded-disabled"
|
|
1321
|
+
/** The selected session has not loaded Skills after the latest change. */
|
|
1322
|
+
| "not-loaded"
|
|
1323
|
+
/** The selected session could not be inspected. */
|
|
1324
|
+
| "unknown";
|
|
1325
|
+
/**
|
|
1326
|
+
* Owned Skill state observed from files and receipts.
|
|
1327
|
+
*
|
|
1328
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
1329
|
+
* via the `definition` "SkillInstallationOwnershipState".
|
|
1330
|
+
*/
|
|
1331
|
+
/** @experimental */
|
|
1332
|
+
export type SkillInstallationOwnershipState =
|
|
1333
|
+
/** Owned files and receipt evidence match. */
|
|
1334
|
+
"intact"
|
|
1335
|
+
/** Owned files no longer match the receipt. */
|
|
1336
|
+
| "modified"
|
|
1337
|
+
/** Ownership evidence requires recovery before mutation. */
|
|
1338
|
+
| "recovery-required";
|
|
1339
|
+
/**
|
|
1340
|
+
* Safe verified Agent Plugin review fields. No raw credential, candidate handle or plan handle.
|
|
1341
|
+
*
|
|
1342
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
1343
|
+
* via the `definition` "PluginInstallationReview".
|
|
1344
|
+
*/
|
|
1345
|
+
/** @experimental */
|
|
1346
|
+
export type PluginInstallationReview = {
|
|
1347
|
+
/**
|
|
1348
|
+
* Installed plugin name, derived from the verified manifest exactly as a direct install derives it.
|
|
1349
|
+
*/
|
|
1350
|
+
name: string;
|
|
1351
|
+
/**
|
|
1352
|
+
* Manifest description when present.
|
|
1353
|
+
*/
|
|
1354
|
+
description?: string;
|
|
1355
|
+
/**
|
|
1356
|
+
* Manifest version when present.
|
|
1357
|
+
*/
|
|
1358
|
+
version?: string;
|
|
1359
|
+
catalogue: InstallationCatalogueIdentity;
|
|
1360
|
+
source: PluginInstallationSource;
|
|
1361
|
+
target: PluginInstallationLocation;
|
|
1362
|
+
/**
|
|
1363
|
+
* Installing never grants immediate use; the plugin is registered disabled.
|
|
1364
|
+
*/
|
|
1365
|
+
installsDisabled: boolean;
|
|
1366
|
+
/**
|
|
1367
|
+
* Reviewed files and digests.
|
|
1368
|
+
*/
|
|
1369
|
+
files: PluginInstallationFileReview[];
|
|
1370
|
+
/**
|
|
1371
|
+
* Total reviewed payload size in bytes.
|
|
1372
|
+
*/
|
|
1373
|
+
totalBytes: number;
|
|
1374
|
+
/**
|
|
1375
|
+
* Relative path of the verified plugin manifest.
|
|
1376
|
+
*/
|
|
1377
|
+
manifestPath: string;
|
|
1378
|
+
/**
|
|
1379
|
+
* Complete verified manifest content. Planning refuses with review-too-large
|
|
1380
|
+
* when this exceeds 262144 UTF-8 bytes; it is never truncated.
|
|
1381
|
+
*/
|
|
1382
|
+
manifestContent: string;
|
|
1383
|
+
/**
|
|
1384
|
+
* Exact reviewed Agent Plugin installation action.
|
|
1385
|
+
*/
|
|
1386
|
+
action: "install";
|
|
1387
|
+
};
|
|
1388
|
+
/**
|
|
1389
|
+
* Planning result for a materialisation reference with the honoured contract, or a typed refusal.
|
|
1390
|
+
*
|
|
1391
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
1392
|
+
* via the `definition` "CatalogReferenceInstallationResult".
|
|
1393
|
+
*/
|
|
1394
|
+
/** @experimental */
|
|
1395
|
+
export type CatalogReferenceInstallationResult = {
|
|
1396
|
+
/**
|
|
1397
|
+
* Discriminator: handled planning outcome.
|
|
1398
|
+
*/
|
|
1399
|
+
kind: "outcome";
|
|
1400
|
+
outcome: CatalogReferenceInstallationOutcome;
|
|
1401
|
+
negotiated: CatalogNegotiatedContract;
|
|
1402
|
+
} | CatalogNegotiationRefusedError | CatalogInvalidRequestError;
|
|
1169
1403
|
/**
|
|
1170
1404
|
* Relationship of the backend-reported count to the complete query result set.
|
|
1171
1405
|
*
|
|
@@ -2218,6 +2452,12 @@ export type InstallationReview = {
|
|
|
2218
2452
|
* Reviewed resource discriminator.
|
|
2219
2453
|
*/
|
|
2220
2454
|
resource: "skill";
|
|
2455
|
+
} | {
|
|
2456
|
+
review: PluginInstallationReview;
|
|
2457
|
+
/**
|
|
2458
|
+
* Reviewed resource discriminator.
|
|
2459
|
+
*/
|
|
2460
|
+
resource: "plugin";
|
|
2221
2461
|
};
|
|
2222
2462
|
/**
|
|
2223
2463
|
* Safe MCP review fields. No raw card, retrieval URL, plan handle or secret value.
|
|
@@ -2444,106 +2684,10 @@ export type McpInstallationSecretStorage =
|
|
|
2444
2684
|
/** The explicitly selected private file backend. */
|
|
2445
2685
|
| "private-file";
|
|
2446
2686
|
/**
|
|
2447
|
-
*
|
|
2687
|
+
* Explicit user decisions, never inferred from a permission grant or model response.
|
|
2448
2688
|
*
|
|
2449
2689
|
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
2450
|
-
* via the `definition` "
|
|
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
|
-
/**
|
|
2543
|
-
* Explicit user decisions, never inferred from a permission grant or model response.
|
|
2544
|
-
*
|
|
2545
|
-
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
2546
|
-
* via the `definition` "InstallationDecision".
|
|
2690
|
+
* via the `definition` "InstallationDecision".
|
|
2547
2691
|
*/
|
|
2548
2692
|
/** @experimental */
|
|
2549
2693
|
export type InstallationDecision =
|
|
@@ -3413,6 +3557,14 @@ export type McpOauthProbeResult = {
|
|
|
3413
3557
|
*/
|
|
3414
3558
|
status: "failed";
|
|
3415
3559
|
};
|
|
3560
|
+
/**
|
|
3561
|
+
* MCP server configuration (stdio, remote HTTP/SSE, or in-process)
|
|
3562
|
+
*
|
|
3563
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
3564
|
+
* via the `definition` "McpServerConfig".
|
|
3565
|
+
*/
|
|
3566
|
+
/** @experimental */
|
|
3567
|
+
export type McpServerConfig = McpServerConfigStdio | McpServerConfigHttp;
|
|
3416
3568
|
/**
|
|
3417
3569
|
* What an install plan is computed from: a candidate handle from a previous search, or a card supplied directly.
|
|
3418
3570
|
*
|
|
@@ -3481,14 +3633,6 @@ export type McpPromptRole =
|
|
|
3481
3633
|
"user"
|
|
3482
3634
|
/** A message from the assistant. */
|
|
3483
3635
|
| "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
3636
|
/**
|
|
3493
3637
|
* 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
3638
|
*
|
|
@@ -3974,6 +4118,18 @@ export type ModelSwitchAutoTierStatus =
|
|
|
3974
4118
|
"unchanged"
|
|
3975
4119
|
/** 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
4120
|
| "pending";
|
|
4121
|
+
/**
|
|
4122
|
+
* 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.
|
|
4123
|
+
*
|
|
4124
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
4125
|
+
* via the `definition` "TokenPriceUnit".
|
|
4126
|
+
*/
|
|
4127
|
+
/** @experimental */
|
|
4128
|
+
export type TokenPriceUnit =
|
|
4129
|
+
/** Prices are already quoted in AI Credits and need no conversion. */
|
|
4130
|
+
"ai_credits"
|
|
4131
|
+
/** Prices are quoted in nano-AIU; divide by 1,000,000,000 to get AI Credits. */
|
|
4132
|
+
| "nano_aiu";
|
|
3977
4133
|
/**
|
|
3978
4134
|
* Allowed values for the `OptionsUpdateAdditionalContentExclusionPolicyScope` enumeration.
|
|
3979
4135
|
*
|
|
@@ -4176,6 +4332,162 @@ export type PermissionsSetApproveAllSource =
|
|
|
4176
4332
|
| "user_setting"
|
|
4177
4333
|
/** Allow-all was enabled through an RPC caller. */
|
|
4178
4334
|
| "rpc";
|
|
4335
|
+
/**
|
|
4336
|
+
* Bounded refusal categories for verified Agent Plugin installation.
|
|
4337
|
+
*
|
|
4338
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
4339
|
+
* via the `definition` "PluginInstallationFailureReason".
|
|
4340
|
+
*/
|
|
4341
|
+
/** @experimental */
|
|
4342
|
+
export type PluginInstallationFailureReason =
|
|
4343
|
+
/** The selected session does not have the Agent Finder plugin installation feature flag enabled. */
|
|
4344
|
+
"feature-disabled"
|
|
4345
|
+
/** The request is unsupported or malformed. */
|
|
4346
|
+
| "invalid-request"
|
|
4347
|
+
/** The original host cannot receive human confirmation. */
|
|
4348
|
+
| "confirmation-unavailable"
|
|
4349
|
+
/** The confirmation response is malformed or mismatched. */
|
|
4350
|
+
| "confirmation-invalid"
|
|
4351
|
+
/** Existing authenticated session and host authority is unavailable. */
|
|
4352
|
+
| "policy-context-unavailable"
|
|
4353
|
+
/** The original authority or policy changed. */
|
|
4354
|
+
| "policy-changed"
|
|
4355
|
+
/** Managed policy only allows plugins from known marketplaces, which excludes direct installs. */
|
|
4356
|
+
| "policy-blocked"
|
|
4357
|
+
/** The original plan deadline elapsed. */
|
|
4358
|
+
| "plan-expired"
|
|
4359
|
+
/** The one-use plan was already consumed. */
|
|
4360
|
+
| "plan-replayed"
|
|
4361
|
+
/** The handle belongs to a different runtime, session or connection. */
|
|
4362
|
+
| "foreign-runtime"
|
|
4363
|
+
/** The handle is not the expected handle kind. */
|
|
4364
|
+
| "wrong-kind"
|
|
4365
|
+
/** The handle was minted for a different search result or authority. */
|
|
4366
|
+
| "search-mismatch"
|
|
4367
|
+
/** The handle or operation expired. */
|
|
4368
|
+
| "expired"
|
|
4369
|
+
/** The candidate handle does not belong to an Agent Plugin with a complete materialisation reference. */
|
|
4370
|
+
| "invalid-candidate"
|
|
4371
|
+
/** The materialisation descriptor could not be retrieved safely. */
|
|
4372
|
+
| "descriptor-unavailable"
|
|
4373
|
+
/** Agent Finder has no materialisation for the referenced resource revision (HTTP 404). */
|
|
4374
|
+
| "descriptor-not-found"
|
|
4375
|
+
/** Agent Finder withdrew the referenced resource revision (HTTP 410). */
|
|
4376
|
+
| "descriptor-withdrawn"
|
|
4377
|
+
/** The materialisation descriptor failed validation. */
|
|
4378
|
+
| "descriptor-invalid"
|
|
4379
|
+
/** The retrieved descriptor does not match the referenced descriptor or bundle digest. */
|
|
4380
|
+
| "digest-mismatch"
|
|
4381
|
+
/** The candidate's materialisation is not an Agent Plugin. */
|
|
4382
|
+
| "unsupported-resource"
|
|
4383
|
+
/** The plugin manifest could not be retrieved or verified. */
|
|
4384
|
+
| "entrypoint-unavailable"
|
|
4385
|
+
/** The plugin manifest is not a valid plugin manifest, or the bundle has another manifest that would take precedence over the reviewed one. */
|
|
4386
|
+
| "invalid-plugin"
|
|
4387
|
+
/** The plugin manifest exceeds the bounded complete review size. */
|
|
4388
|
+
| "review-too-large"
|
|
4389
|
+
/** The reviewed plugin files could not be acquired. */
|
|
4390
|
+
| "payload-unavailable"
|
|
4391
|
+
/** The acquired files no longer match the reviewed descriptor. */
|
|
4392
|
+
| "payload-mismatch"
|
|
4393
|
+
/** Plugin installation storage or admission is busy. */
|
|
4394
|
+
| "busy"
|
|
4395
|
+
/** A plugin with the same name or install location already exists. */
|
|
4396
|
+
| "already-installed"
|
|
4397
|
+
/** A storage operation failed; nothing was registered. */
|
|
4398
|
+
| "write-failed";
|
|
4399
|
+
/**
|
|
4400
|
+
* Management outcome for verified Agent Plugin installation planning.
|
|
4401
|
+
*
|
|
4402
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
4403
|
+
* via the `definition` "PluginInstallationManagementOutcome".
|
|
4404
|
+
*/
|
|
4405
|
+
/** @experimental */
|
|
4406
|
+
export type PluginInstallationManagementOutcome = {
|
|
4407
|
+
plan: PluginInstallPlan;
|
|
4408
|
+
/**
|
|
4409
|
+
* Agent Plugin installation management outcome discriminator.
|
|
4410
|
+
*/
|
|
4411
|
+
kind: "install-planned";
|
|
4412
|
+
} | {
|
|
4413
|
+
reason: PluginInstallationFailureReason;
|
|
4414
|
+
/**
|
|
4415
|
+
* Agent Plugin installation management outcome discriminator.
|
|
4416
|
+
*/
|
|
4417
|
+
kind: "refused";
|
|
4418
|
+
};
|
|
4419
|
+
/**
|
|
4420
|
+
* Agent Plugin installation planning result with the honoured contract, or a typed refusal.
|
|
4421
|
+
*
|
|
4422
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
4423
|
+
* via the `definition` "PluginInstallationManagementResult".
|
|
4424
|
+
*/
|
|
4425
|
+
/** @experimental */
|
|
4426
|
+
export type PluginInstallationManagementResult = {
|
|
4427
|
+
/**
|
|
4428
|
+
* Discriminator: handled management outcome.
|
|
4429
|
+
*/
|
|
4430
|
+
kind: "outcome";
|
|
4431
|
+
outcome: PluginInstallationManagementOutcome;
|
|
4432
|
+
negotiated: CatalogNegotiatedContract;
|
|
4433
|
+
} | CatalogNegotiationRefusedError | CatalogInvalidRequestError;
|
|
4434
|
+
/**
|
|
4435
|
+
* Terminal verified Agent Plugin installation result.
|
|
4436
|
+
*
|
|
4437
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
4438
|
+
* via the `definition` "PluginInstallationOutcome".
|
|
4439
|
+
*/
|
|
4440
|
+
/** @experimental */
|
|
4441
|
+
export type PluginInstallationOutcome = {
|
|
4442
|
+
installation: PluginInstallationSummary;
|
|
4443
|
+
/**
|
|
4444
|
+
* Terminal Agent Plugin installation outcome discriminator.
|
|
4445
|
+
*/
|
|
4446
|
+
kind: "installed";
|
|
4447
|
+
} | {
|
|
4448
|
+
/**
|
|
4449
|
+
* Original operation identity.
|
|
4450
|
+
*/
|
|
4451
|
+
operationId: string;
|
|
4452
|
+
/**
|
|
4453
|
+
* Terminal Agent Plugin installation outcome discriminator.
|
|
4454
|
+
*/
|
|
4455
|
+
kind: "declined";
|
|
4456
|
+
} | {
|
|
4457
|
+
/**
|
|
4458
|
+
* Original operation identity.
|
|
4459
|
+
*/
|
|
4460
|
+
operationId: string;
|
|
4461
|
+
/**
|
|
4462
|
+
* Terminal Agent Plugin installation outcome discriminator.
|
|
4463
|
+
*/
|
|
4464
|
+
kind: "cancelled";
|
|
4465
|
+
} | {
|
|
4466
|
+
reason: PluginInstallationFailureReason;
|
|
4467
|
+
/**
|
|
4468
|
+
* Present once an operation has been allocated.
|
|
4469
|
+
*/
|
|
4470
|
+
operationId?: string;
|
|
4471
|
+
/**
|
|
4472
|
+
* Terminal Agent Plugin installation outcome discriminator.
|
|
4473
|
+
*/
|
|
4474
|
+
kind: "refused";
|
|
4475
|
+
};
|
|
4476
|
+
/**
|
|
4477
|
+
* Agent Plugin installation result with the honoured contract, or a typed request/negotiation refusal.
|
|
4478
|
+
*
|
|
4479
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
4480
|
+
* via the `definition` "PluginInstallationResult".
|
|
4481
|
+
*/
|
|
4482
|
+
/** @experimental */
|
|
4483
|
+
export type PluginInstallationResult = {
|
|
4484
|
+
/**
|
|
4485
|
+
* Discriminator: handled operation outcome.
|
|
4486
|
+
*/
|
|
4487
|
+
kind: "outcome";
|
|
4488
|
+
outcome: PluginInstallationOutcome;
|
|
4489
|
+
negotiated: CatalogNegotiatedContract;
|
|
4490
|
+
} | CatalogNegotiationRefusedError | CatalogInvalidRequestError;
|
|
4179
4491
|
/**
|
|
4180
4492
|
* Where completed plugin content was staged before atomic promotion.
|
|
4181
4493
|
*
|
|
@@ -4434,9 +4746,9 @@ export type SandboxProxyCaState =
|
|
|
4434
4746
|
*/
|
|
4435
4747
|
/** @experimental */
|
|
4436
4748
|
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. */
|
|
4749
|
+
/** The sandbox is off for the rest of this session; nothing was persisted and a new session starts from saved and managed policy. */
|
|
4438
4750
|
"disabled"
|
|
4439
|
-
/**
|
|
4751
|
+
/** The sandbox is enabled for this session; nothing was persisted. */
|
|
4440
4752
|
| "restored";
|
|
4441
4753
|
/**
|
|
4442
4754
|
* Current authentication information, or null when no authentication is active.
|
|
@@ -5109,17 +5421,7 @@ export type SkillInstallationFailureReason =
|
|
|
5109
5421
|
/** Installed Skill files no longer match ownership evidence. */
|
|
5110
5422
|
| "configuration-modified"
|
|
5111
5423
|
/** 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";
|
|
5424
|
+
| "write-failed";
|
|
5123
5425
|
/**
|
|
5124
5426
|
* Management outcome for verified Skill inventory, planning and removal.
|
|
5125
5427
|
*
|
|
@@ -8272,7 +8574,7 @@ export interface CardDigest {
|
|
|
8272
8574
|
value: CardDigestValue;
|
|
8273
8575
|
}
|
|
8274
8576
|
/**
|
|
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.
|
|
8577
|
+
* 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
8578
|
*
|
|
8277
8579
|
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
8278
8580
|
* via the `definition` "CatalogAgentPluginCandidate".
|
|
@@ -8306,7 +8608,35 @@ export interface CatalogAgentPluginCandidate {
|
|
|
8306
8608
|
} & []) | [CatalogAgentPluginCompatibilityTag] | [CatalogAgentPluginCompatibilityTag, CatalogAgentPluginCompatibilityTag] | [CatalogAgentPluginCompatibilityTag, CatalogAgentPluginCompatibilityTag, CatalogAgentPluginCompatibilityTag];
|
|
8307
8609
|
installability?: CatalogAgentPluginInstallability;
|
|
8308
8610
|
installPlan?: CatalogAgentPluginInstallPlan;
|
|
8611
|
+
/**
|
|
8612
|
+
* 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.
|
|
8613
|
+
*/
|
|
8614
|
+
handle?: string;
|
|
8615
|
+
/**
|
|
8616
|
+
* ISO 8601 timestamp after which the handle is stale and will be rejected. Present exactly when handle is present.
|
|
8617
|
+
*/
|
|
8618
|
+
handleExpiresAt?: string;
|
|
8309
8619
|
provenance: CatalogAgentPluginCandidateProvenance;
|
|
8620
|
+
/**
|
|
8621
|
+
* How many times the resource has been installed, as reported by the feed. Omitted when the feed reports no count or an invalid one.
|
|
8622
|
+
*/
|
|
8623
|
+
installCount?: number;
|
|
8624
|
+
/**
|
|
8625
|
+
* 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.
|
|
8626
|
+
*/
|
|
8627
|
+
iconUrl?: string;
|
|
8628
|
+
/**
|
|
8629
|
+
* Identifiers of the connectors the resource works with, as reported by the feed, without repeats. Inert untrusted text. Omitted when the feed reports none.
|
|
8630
|
+
*
|
|
8631
|
+
* @maxItems 64
|
|
8632
|
+
*/
|
|
8633
|
+
connectorIds?: string[];
|
|
8634
|
+
/**
|
|
8635
|
+
* 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.
|
|
8636
|
+
*
|
|
8637
|
+
* @maxItems 64
|
|
8638
|
+
*/
|
|
8639
|
+
categories?: string[];
|
|
8310
8640
|
trust?: CatalogTrustSnapshot;
|
|
8311
8641
|
}
|
|
8312
8642
|
/**
|
|
@@ -8576,6 +8906,26 @@ export interface CatalogAiSkillCandidate {
|
|
|
8576
8906
|
publisher?: string;
|
|
8577
8907
|
source: CatalogCandidateSource;
|
|
8578
8908
|
provenance: CatalogAiSkillCandidateProvenance;
|
|
8909
|
+
/**
|
|
8910
|
+
* How many times the resource has been installed, as reported by the feed. Omitted when the feed reports no count or an invalid one.
|
|
8911
|
+
*/
|
|
8912
|
+
installCount?: number;
|
|
8913
|
+
/**
|
|
8914
|
+
* 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.
|
|
8915
|
+
*/
|
|
8916
|
+
iconUrl?: string;
|
|
8917
|
+
/**
|
|
8918
|
+
* Identifiers of the connectors the resource works with, as reported by the feed, without repeats. Inert untrusted text. Omitted when the feed reports none.
|
|
8919
|
+
*
|
|
8920
|
+
* @maxItems 64
|
|
8921
|
+
*/
|
|
8922
|
+
connectorIds?: string[];
|
|
8923
|
+
/**
|
|
8924
|
+
* 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.
|
|
8925
|
+
*
|
|
8926
|
+
* @maxItems 64
|
|
8927
|
+
*/
|
|
8928
|
+
categories?: string[];
|
|
8579
8929
|
trust?: CatalogTrustSnapshot;
|
|
8580
8930
|
}
|
|
8581
8931
|
/**
|
|
@@ -8677,6 +9027,26 @@ export interface CatalogMcpServerCandidate {
|
|
|
8677
9027
|
publisher?: string;
|
|
8678
9028
|
source: CatalogCandidateSource;
|
|
8679
9029
|
provenance: CatalogMcpServerCandidateProvenance;
|
|
9030
|
+
/**
|
|
9031
|
+
* How many times the resource has been installed, as reported by the feed. Omitted when the feed reports no count or an invalid one.
|
|
9032
|
+
*/
|
|
9033
|
+
installCount?: number;
|
|
9034
|
+
/**
|
|
9035
|
+
* 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.
|
|
9036
|
+
*/
|
|
9037
|
+
iconUrl?: string;
|
|
9038
|
+
/**
|
|
9039
|
+
* Identifiers of the connectors the resource works with, as reported by the feed, without repeats. Inert untrusted text. Omitted when the feed reports none.
|
|
9040
|
+
*
|
|
9041
|
+
* @maxItems 64
|
|
9042
|
+
*/
|
|
9043
|
+
connectorIds?: string[];
|
|
9044
|
+
/**
|
|
9045
|
+
* 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.
|
|
9046
|
+
*
|
|
9047
|
+
* @maxItems 64
|
|
9048
|
+
*/
|
|
9049
|
+
categories?: string[];
|
|
8680
9050
|
trust?: CatalogTrustSnapshot;
|
|
8681
9051
|
}
|
|
8682
9052
|
/**
|
|
@@ -8824,121 +9194,431 @@ export interface CatalogMaterializationReference {
|
|
|
8824
9194
|
bundleDigest: string;
|
|
8825
9195
|
}
|
|
8826
9196
|
/**
|
|
8827
|
-
* The protocol version and capability set the runtime actually honoured for a successful catalog operation.
|
|
9197
|
+
* The protocol version and capability set the runtime actually honoured for a successful catalog operation.
|
|
9198
|
+
*
|
|
9199
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
9200
|
+
* via the `definition` "CatalogNegotiatedContract".
|
|
9201
|
+
*/
|
|
9202
|
+
/** @experimental */
|
|
9203
|
+
export interface CatalogNegotiatedContract {
|
|
9204
|
+
/**
|
|
9205
|
+
* Protocol version of the runtime that served the request.
|
|
9206
|
+
*/
|
|
9207
|
+
runtimeProtocolVersion: number;
|
|
9208
|
+
/**
|
|
9209
|
+
* Wire features the runtime understood for this operation. Includes the five original catalog capabilities and only explicitly requested supported additions, in supported order without duplicates. Capabilities that introduce new success-union variants or operations are therefore included only when explicitly required, preserving older protocol-v3 clients. Always a superset of the caller's required features, because any shortfall is a refusal instead. Operation availability remains a separate typed result.
|
|
9210
|
+
*/
|
|
9211
|
+
grantedCapabilities: CatalogCapability[];
|
|
9212
|
+
}
|
|
9213
|
+
/**
|
|
9214
|
+
* The caller's protocol version or required capabilities cannot be honoured. Returned instead of a partial or ambiguous success.
|
|
9215
|
+
*
|
|
9216
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
9217
|
+
* via the `definition` "CatalogNegotiationRefusedError".
|
|
9218
|
+
*/
|
|
9219
|
+
/** @experimental */
|
|
9220
|
+
export interface CatalogNegotiationRefusedError {
|
|
9221
|
+
/**
|
|
9222
|
+
* Discriminator: capability or protocol-version negotiation failed
|
|
9223
|
+
*/
|
|
9224
|
+
kind: "negotiation-refused";
|
|
9225
|
+
reason: CatalogNegotiationRefusedReason;
|
|
9226
|
+
/**
|
|
9227
|
+
* Protocol version of the runtime that refused the request.
|
|
9228
|
+
*/
|
|
9229
|
+
runtimeProtocolVersion: number;
|
|
9230
|
+
/**
|
|
9231
|
+
* Lowest caller protocol version this runtime will serve.
|
|
9232
|
+
*/
|
|
9233
|
+
minimumSupportedProtocolVersion: number;
|
|
9234
|
+
/**
|
|
9235
|
+
* Capabilities this runtime can safely advertise to this caller. The complete five-capability protocol-3 legacy set is always present; every capability added after that baseline appears only when the caller required it, so an older closed-enum decoder can still consume a refusal. This list does not imply that every deployment has enabled every operation.
|
|
9236
|
+
*
|
|
9237
|
+
* @maxItems 32
|
|
9238
|
+
*/
|
|
9239
|
+
supportedCapabilities: CatalogCapabilityId[];
|
|
9240
|
+
/**
|
|
9241
|
+
* The subset of the caller's bounded extensible capability identifiers this runtime cannot honour.
|
|
9242
|
+
*
|
|
9243
|
+
* @maxItems 32
|
|
9244
|
+
*/
|
|
9245
|
+
unsupportedCapabilities: CatalogCapabilityId[];
|
|
9246
|
+
/**
|
|
9247
|
+
* Human-readable explanation, safe to surface. Never contains a query, URL, handle, or secret.
|
|
9248
|
+
*/
|
|
9249
|
+
message: string;
|
|
9250
|
+
}
|
|
9251
|
+
/**
|
|
9252
|
+
* The runtime could not reach the catalog authority or retrieve a card. Covers being offline as well as transport-level failure.
|
|
9253
|
+
*
|
|
9254
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
9255
|
+
* via the `definition` "CatalogNetworkFailureError".
|
|
9256
|
+
*/
|
|
9257
|
+
/** @experimental */
|
|
9258
|
+
export interface CatalogNetworkFailureError {
|
|
9259
|
+
/**
|
|
9260
|
+
* Discriminator: the network operation failed
|
|
9261
|
+
*/
|
|
9262
|
+
kind: "network-failure";
|
|
9263
|
+
reason: CatalogNetworkFailureReason;
|
|
9264
|
+
/**
|
|
9265
|
+
* HTTP status code, when the failure was a rejected response.
|
|
9266
|
+
*/
|
|
9267
|
+
statusCode?: number;
|
|
9268
|
+
/**
|
|
9269
|
+
* Bounded cooldown in seconds before another catalog request should be attempted, when the authority supplied a numeric Retry-After value or the runtime applied its documented fallback.
|
|
9270
|
+
*/
|
|
9271
|
+
retryAfterSeconds?: number;
|
|
9272
|
+
/**
|
|
9273
|
+
* Human-readable explanation, safe to surface. Never contains a query, URL, handle, or secret.
|
|
9274
|
+
*/
|
|
9275
|
+
message: string;
|
|
9276
|
+
}
|
|
9277
|
+
/**
|
|
9278
|
+
* The candidate is discoverable but cannot be installed. `application/ai-skill` resolves here, because it stays searchable while remaining typed non-installable.
|
|
9279
|
+
*
|
|
9280
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
9281
|
+
* via the `definition` "CatalogNotInstallableError".
|
|
9282
|
+
*/
|
|
9283
|
+
/** @experimental */
|
|
9284
|
+
export interface CatalogNotInstallableError {
|
|
9285
|
+
/**
|
|
9286
|
+
* Discriminator: the candidate cannot be installed
|
|
9287
|
+
*/
|
|
9288
|
+
kind: "not-installable";
|
|
9289
|
+
reason: CatalogNotInstallableReason;
|
|
9290
|
+
/**
|
|
9291
|
+
* Human-readable explanation, safe to surface. Never contains a query, URL, handle, or secret.
|
|
9292
|
+
*/
|
|
9293
|
+
message: string;
|
|
9294
|
+
}
|
|
9295
|
+
/**
|
|
9296
|
+
* Side-effect-free planning of whatever resource a materialisation reference pins, rather than a search candidate.
|
|
9297
|
+
*
|
|
9298
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
9299
|
+
* via the `definition` "CatalogPlanInstallFromReferenceRequest".
|
|
9300
|
+
*/
|
|
9301
|
+
/** @experimental */
|
|
9302
|
+
export interface CatalogPlanInstallFromReferenceRequest {
|
|
9303
|
+
contract: CatalogClientContract;
|
|
9304
|
+
reference: CatalogMaterializationReference;
|
|
9305
|
+
/**
|
|
9306
|
+
* Existing local session attached to this connection.
|
|
9307
|
+
*/
|
|
9308
|
+
policySessionId: string;
|
|
9309
|
+
}
|
|
9310
|
+
/**
|
|
9311
|
+
* Registry or enterprise policy refused the operation.
|
|
9312
|
+
*
|
|
9313
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
9314
|
+
* via the `definition` "CatalogPolicyRejectedError".
|
|
9315
|
+
*/
|
|
9316
|
+
/** @experimental */
|
|
9317
|
+
export interface CatalogPolicyRejectedError {
|
|
9318
|
+
/**
|
|
9319
|
+
* Discriminator: policy refused the operation
|
|
9320
|
+
*/
|
|
9321
|
+
kind: "policy-rejected";
|
|
9322
|
+
source: McpPlanPolicySource;
|
|
9323
|
+
/**
|
|
9324
|
+
* Human-readable explanation, safe to surface. Never contains a query, URL, handle, or secret.
|
|
9325
|
+
*/
|
|
9326
|
+
message: string;
|
|
9327
|
+
}
|
|
9328
|
+
/**
|
|
9329
|
+
* A computed Skill install plan. Nothing has been applied.
|
|
9330
|
+
*
|
|
9331
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
9332
|
+
* via the `definition` "SkillInstallPlan".
|
|
9333
|
+
*/
|
|
9334
|
+
/** @experimental */
|
|
9335
|
+
export interface SkillInstallPlan {
|
|
9336
|
+
/**
|
|
9337
|
+
* One-use plan handle, bound to the original candidate authority.
|
|
9338
|
+
*/
|
|
9339
|
+
planHandle: string;
|
|
9340
|
+
/**
|
|
9341
|
+
* Original operation identifier returned before confirmation.
|
|
9342
|
+
*/
|
|
9343
|
+
operationId: string;
|
|
9344
|
+
/**
|
|
9345
|
+
* Original wall-clock expiry as an ISO 8601 timestamp.
|
|
9346
|
+
*/
|
|
9347
|
+
expiresAt: string;
|
|
9348
|
+
review: SkillInstallationReview;
|
|
9349
|
+
}
|
|
9350
|
+
/**
|
|
9351
|
+
* Catalogue identity retained from a bound candidate or plan at installation time.
|
|
9352
|
+
*
|
|
9353
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
9354
|
+
* via the `definition` "InstallationCatalogueIdentity".
|
|
9355
|
+
*/
|
|
9356
|
+
/** @experimental */
|
|
9357
|
+
export interface InstallationCatalogueIdentity {
|
|
9358
|
+
/**
|
|
9359
|
+
* Authority resource identifier when supplied by the catalogue.
|
|
9360
|
+
*/
|
|
9361
|
+
resourceId?: string;
|
|
9362
|
+
/**
|
|
9363
|
+
* Catalogue item URL when supplied by the authority.
|
|
9364
|
+
*/
|
|
9365
|
+
itemUrl?: string;
|
|
9366
|
+
/**
|
|
9367
|
+
* Human display name retained from the catalogue candidate.
|
|
9368
|
+
*/
|
|
9369
|
+
displayName: string;
|
|
9370
|
+
/**
|
|
9371
|
+
* Catalogue description retained at install planning time.
|
|
9372
|
+
*/
|
|
9373
|
+
description?: string;
|
|
9374
|
+
/**
|
|
9375
|
+
* Catalogue publisher retained at install planning time.
|
|
9376
|
+
*/
|
|
9377
|
+
publisher?: string;
|
|
9378
|
+
/**
|
|
9379
|
+
* Catalogue version retained at install planning time.
|
|
9380
|
+
*/
|
|
9381
|
+
version?: string;
|
|
9382
|
+
/**
|
|
9383
|
+
* Catalogue authority/source string that supplied the candidate.
|
|
9384
|
+
*/
|
|
9385
|
+
source: string;
|
|
9386
|
+
trustAtInstall?: CatalogTrustSnapshot;
|
|
9387
|
+
}
|
|
9388
|
+
/**
|
|
9389
|
+
* Source identity retained from Agent Finder and the pinned GitHub descriptor.
|
|
9390
|
+
*
|
|
9391
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
9392
|
+
* via the `definition` "SkillInstallationSource".
|
|
9393
|
+
*/
|
|
9394
|
+
/** @experimental */
|
|
9395
|
+
export interface SkillInstallationSource {
|
|
9396
|
+
/**
|
|
9397
|
+
* Agent Finder resource identifier.
|
|
9398
|
+
*/
|
|
9399
|
+
resourceId: string;
|
|
9400
|
+
/**
|
|
9401
|
+
* Agent Finder materialisation revision identifier.
|
|
9402
|
+
*/
|
|
9403
|
+
catalogRevisionId: string;
|
|
9404
|
+
/**
|
|
9405
|
+
* GitHub repository database identifier.
|
|
9406
|
+
*/
|
|
9407
|
+
repositoryId: string;
|
|
9408
|
+
/**
|
|
9409
|
+
* Repository full name, for example owner/name.
|
|
9410
|
+
*/
|
|
9411
|
+
repository: string;
|
|
9412
|
+
/**
|
|
9413
|
+
* Pinned Git commit revision.
|
|
9414
|
+
*/
|
|
9415
|
+
revision: string;
|
|
9416
|
+
/**
|
|
9417
|
+
* Root path within the pinned repository.
|
|
9418
|
+
*/
|
|
9419
|
+
root: string;
|
|
9420
|
+
/**
|
|
9421
|
+
* Digest of the canonical materialisation descriptor.
|
|
9422
|
+
*/
|
|
9423
|
+
descriptorDigest: string;
|
|
9424
|
+
/**
|
|
9425
|
+
* Digest of the descriptor's bundle manifest.
|
|
9426
|
+
*/
|
|
9427
|
+
bundleDigest: string;
|
|
9428
|
+
}
|
|
9429
|
+
/**
|
|
9430
|
+
* A user-facing personal Skill installation location without absolute host paths.
|
|
9431
|
+
*
|
|
9432
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
9433
|
+
* via the `definition` "SkillInstallationLocation".
|
|
9434
|
+
*/
|
|
9435
|
+
/** @experimental */
|
|
9436
|
+
export interface SkillInstallationLocation {
|
|
9437
|
+
scope: SkillInstallationScope;
|
|
9438
|
+
/**
|
|
9439
|
+
* Path relative to the Copilot home.
|
|
9440
|
+
*/
|
|
9441
|
+
relativePath: string;
|
|
9442
|
+
/**
|
|
9443
|
+
* Safe display label, for example ~/.copilot/skills/run-checks.
|
|
9444
|
+
*/
|
|
9445
|
+
displayLabel: string;
|
|
9446
|
+
/**
|
|
9447
|
+
* Diagnostics-only absolute host path. Hosts must not display it by default.
|
|
9448
|
+
*/
|
|
9449
|
+
diagnosticsAbsolutePath?: string;
|
|
9450
|
+
}
|
|
9451
|
+
/**
|
|
9452
|
+
* One reviewed Skill file.
|
|
9453
|
+
*
|
|
9454
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
9455
|
+
* via the `definition` "SkillInstallationFileReview".
|
|
9456
|
+
*/
|
|
9457
|
+
/** @experimental */
|
|
9458
|
+
export interface SkillInstallationFileReview {
|
|
9459
|
+
/**
|
|
9460
|
+
* Relative file path within the Skill root.
|
|
9461
|
+
*/
|
|
9462
|
+
path: string;
|
|
9463
|
+
/**
|
|
9464
|
+
* Exact reviewed file size in bytes.
|
|
9465
|
+
*/
|
|
9466
|
+
sizeBytes: number;
|
|
9467
|
+
/**
|
|
9468
|
+
* Declared media type for the file.
|
|
9469
|
+
*/
|
|
9470
|
+
mediaType: string;
|
|
9471
|
+
/**
|
|
9472
|
+
* Whether the file is installed with executable permissions.
|
|
9473
|
+
*/
|
|
9474
|
+
executable: boolean;
|
|
9475
|
+
/**
|
|
9476
|
+
* SHA-256 digest of the exact file bytes.
|
|
9477
|
+
*/
|
|
9478
|
+
digest: string;
|
|
9479
|
+
}
|
|
9480
|
+
/**
|
|
9481
|
+
* Durable verified Skill ownership summary.
|
|
9482
|
+
*
|
|
9483
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
9484
|
+
* via the `definition` "SkillInstallationSummary".
|
|
9485
|
+
*/
|
|
9486
|
+
/** @experimental */
|
|
9487
|
+
export interface SkillInstallationSummary {
|
|
9488
|
+
/**
|
|
9489
|
+
* Exact durable installation receipt identity.
|
|
9490
|
+
*/
|
|
9491
|
+
installationId: string;
|
|
9492
|
+
/**
|
|
9493
|
+
* Operation that installed this Skill.
|
|
9494
|
+
*/
|
|
9495
|
+
operationId: string;
|
|
9496
|
+
/**
|
|
9497
|
+
* Skill invocation name.
|
|
9498
|
+
*/
|
|
9499
|
+
name: string;
|
|
9500
|
+
target: SkillInstallationLocation;
|
|
9501
|
+
/**
|
|
9502
|
+
* Persisted enablement requested for this installation.
|
|
9503
|
+
*/
|
|
9504
|
+
configuredEnabled: boolean;
|
|
9505
|
+
sessionState: SkillInstallationSessionState;
|
|
9506
|
+
source: SkillInstallationSource;
|
|
9507
|
+
catalogue: InstallationCatalogueIdentity;
|
|
9508
|
+
/**
|
|
9509
|
+
* ISO 8601 wall-clock installation time.
|
|
9510
|
+
*/
|
|
9511
|
+
installedAt: string;
|
|
9512
|
+
ownershipState: SkillInstallationOwnershipState;
|
|
9513
|
+
}
|
|
9514
|
+
/**
|
|
9515
|
+
* A computed Agent Plugin install plan. Nothing has been applied.
|
|
8828
9516
|
*
|
|
8829
9517
|
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
8830
|
-
* via the `definition` "
|
|
9518
|
+
* via the `definition` "PluginInstallPlan".
|
|
8831
9519
|
*/
|
|
8832
9520
|
/** @experimental */
|
|
8833
|
-
export interface
|
|
9521
|
+
export interface PluginInstallPlan {
|
|
8834
9522
|
/**
|
|
8835
|
-
*
|
|
9523
|
+
* One-use plan handle, bound to the original authority.
|
|
8836
9524
|
*/
|
|
8837
|
-
|
|
9525
|
+
planHandle: string;
|
|
8838
9526
|
/**
|
|
8839
|
-
*
|
|
9527
|
+
* Original operation identifier returned before confirmation.
|
|
8840
9528
|
*/
|
|
8841
|
-
|
|
9529
|
+
operationId: string;
|
|
9530
|
+
/**
|
|
9531
|
+
* Original wall-clock expiry as an ISO 8601 timestamp.
|
|
9532
|
+
*/
|
|
9533
|
+
expiresAt: string;
|
|
9534
|
+
review: PluginInstallationReview;
|
|
8842
9535
|
}
|
|
8843
9536
|
/**
|
|
8844
|
-
*
|
|
9537
|
+
* Source identity retained from Agent Finder and the pinned GitHub descriptor.
|
|
8845
9538
|
*
|
|
8846
9539
|
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
8847
|
-
* via the `definition` "
|
|
9540
|
+
* via the `definition` "PluginInstallationSource".
|
|
8848
9541
|
*/
|
|
8849
9542
|
/** @experimental */
|
|
8850
|
-
export interface
|
|
8851
|
-
/**
|
|
8852
|
-
* Discriminator: capability or protocol-version negotiation failed
|
|
8853
|
-
*/
|
|
8854
|
-
kind: "negotiation-refused";
|
|
8855
|
-
reason: CatalogNegotiationRefusedReason;
|
|
8856
|
-
/**
|
|
8857
|
-
* Protocol version of the runtime that refused the request.
|
|
8858
|
-
*/
|
|
8859
|
-
runtimeProtocolVersion: number;
|
|
9543
|
+
export interface PluginInstallationSource {
|
|
8860
9544
|
/**
|
|
8861
|
-
*
|
|
9545
|
+
* Agent Finder resource identifier.
|
|
8862
9546
|
*/
|
|
8863
|
-
|
|
9547
|
+
resourceId: string;
|
|
8864
9548
|
/**
|
|
8865
|
-
*
|
|
8866
|
-
*
|
|
8867
|
-
* @maxItems 32
|
|
9549
|
+
* Agent Finder materialisation revision identifier.
|
|
8868
9550
|
*/
|
|
8869
|
-
|
|
9551
|
+
catalogRevisionId: string;
|
|
8870
9552
|
/**
|
|
8871
|
-
*
|
|
8872
|
-
*
|
|
8873
|
-
* @maxItems 32
|
|
9553
|
+
* GitHub repository database identifier.
|
|
8874
9554
|
*/
|
|
8875
|
-
|
|
9555
|
+
repositoryId: string;
|
|
8876
9556
|
/**
|
|
8877
|
-
*
|
|
9557
|
+
* Repository full name, for example owner/name.
|
|
8878
9558
|
*/
|
|
8879
|
-
|
|
8880
|
-
}
|
|
8881
|
-
/**
|
|
8882
|
-
* The runtime could not reach the catalog authority or retrieve a card. Covers being offline as well as transport-level failure.
|
|
8883
|
-
*
|
|
8884
|
-
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
8885
|
-
* via the `definition` "CatalogNetworkFailureError".
|
|
8886
|
-
*/
|
|
8887
|
-
/** @experimental */
|
|
8888
|
-
export interface CatalogNetworkFailureError {
|
|
9559
|
+
repository: string;
|
|
8889
9560
|
/**
|
|
8890
|
-
*
|
|
9561
|
+
* Pinned Git commit revision.
|
|
8891
9562
|
*/
|
|
8892
|
-
|
|
8893
|
-
reason: CatalogNetworkFailureReason;
|
|
9563
|
+
revision: string;
|
|
8894
9564
|
/**
|
|
8895
|
-
*
|
|
9565
|
+
* Plugin root within the pinned repository. Empty for the repository root.
|
|
8896
9566
|
*/
|
|
8897
|
-
|
|
9567
|
+
root: string;
|
|
8898
9568
|
/**
|
|
8899
|
-
*
|
|
9569
|
+
* Digest of the canonical materialisation descriptor.
|
|
8900
9570
|
*/
|
|
8901
|
-
|
|
9571
|
+
descriptorDigest: string;
|
|
8902
9572
|
/**
|
|
8903
|
-
*
|
|
9573
|
+
* Digest of the descriptor's bundle manifest.
|
|
8904
9574
|
*/
|
|
8905
|
-
|
|
9575
|
+
bundleDigest: string;
|
|
8906
9576
|
}
|
|
8907
9577
|
/**
|
|
8908
|
-
*
|
|
9578
|
+
* Where a plugin is installed, without an absolute host path.
|
|
8909
9579
|
*
|
|
8910
9580
|
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
8911
|
-
* via the `definition` "
|
|
9581
|
+
* via the `definition` "PluginInstallationLocation".
|
|
8912
9582
|
*/
|
|
8913
9583
|
/** @experimental */
|
|
8914
|
-
export interface
|
|
9584
|
+
export interface PluginInstallationLocation {
|
|
8915
9585
|
/**
|
|
8916
|
-
*
|
|
9586
|
+
* Path relative to the Copilot home, under installed-plugins/_direct like any direct plugin install.
|
|
8917
9587
|
*/
|
|
8918
|
-
|
|
8919
|
-
reason: CatalogNotInstallableReason;
|
|
9588
|
+
relativePath: string;
|
|
8920
9589
|
/**
|
|
8921
|
-
*
|
|
9590
|
+
* Safe display label, for example ~/.copilot/installed-plugins/_direct/owner--repo--plugins-work-hub.
|
|
8922
9591
|
*/
|
|
8923
|
-
|
|
9592
|
+
displayLabel: string;
|
|
8924
9593
|
}
|
|
8925
9594
|
/**
|
|
8926
|
-
*
|
|
9595
|
+
* One reviewed plugin file.
|
|
8927
9596
|
*
|
|
8928
9597
|
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
8929
|
-
* via the `definition` "
|
|
9598
|
+
* via the `definition` "PluginInstallationFileReview".
|
|
8930
9599
|
*/
|
|
8931
9600
|
/** @experimental */
|
|
8932
|
-
export interface
|
|
9601
|
+
export interface PluginInstallationFileReview {
|
|
8933
9602
|
/**
|
|
8934
|
-
*
|
|
9603
|
+
* Relative file path within the plugin root.
|
|
8935
9604
|
*/
|
|
8936
|
-
|
|
8937
|
-
source: McpPlanPolicySource;
|
|
9605
|
+
path: string;
|
|
8938
9606
|
/**
|
|
8939
|
-
*
|
|
9607
|
+
* Exact reviewed file size in bytes.
|
|
8940
9608
|
*/
|
|
8941
|
-
|
|
9609
|
+
sizeBytes: number;
|
|
9610
|
+
/**
|
|
9611
|
+
* Declared media type for the file.
|
|
9612
|
+
*/
|
|
9613
|
+
mediaType: string;
|
|
9614
|
+
/**
|
|
9615
|
+
* Whether the file is installed with executable permissions.
|
|
9616
|
+
*/
|
|
9617
|
+
executable: boolean;
|
|
9618
|
+
/**
|
|
9619
|
+
* SHA-256 digest of the exact file bytes.
|
|
9620
|
+
*/
|
|
9621
|
+
digest: string;
|
|
8942
9622
|
}
|
|
8943
9623
|
/**
|
|
8944
9624
|
* 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.
|
|
@@ -12946,42 +13626,47 @@ export interface HostStartResult {
|
|
|
12946
13626
|
pid?: number;
|
|
12947
13627
|
}
|
|
12948
13628
|
/**
|
|
12949
|
-
*
|
|
13629
|
+
* Withdraws an application publication without deleting its underlying local session.
|
|
12950
13630
|
*
|
|
12951
13631
|
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
12952
|
-
* via the `definition` "
|
|
13632
|
+
* via the `definition` "HostUnpublishSessionRequest".
|
|
12953
13633
|
*/
|
|
12954
13634
|
/** @experimental */
|
|
12955
|
-
export interface
|
|
12956
|
-
/**
|
|
12957
|
-
* Authority resource identifier when supplied by the catalogue.
|
|
12958
|
-
*/
|
|
12959
|
-
resourceId?: string;
|
|
12960
|
-
/**
|
|
12961
|
-
* Catalogue item URL when supplied by the authority.
|
|
12962
|
-
*/
|
|
12963
|
-
itemUrl?: string;
|
|
12964
|
-
/**
|
|
12965
|
-
* Human display name retained from the catalogue candidate.
|
|
12966
|
-
*/
|
|
12967
|
-
displayName: string;
|
|
13635
|
+
export interface HostUnpublishSessionRequest {
|
|
12968
13636
|
/**
|
|
12969
|
-
*
|
|
13637
|
+
* Listener UUID returned by host.start; the caller must own the live listener.
|
|
12970
13638
|
*/
|
|
12971
|
-
|
|
13639
|
+
hostId: string;
|
|
12972
13640
|
/**
|
|
12973
|
-
*
|
|
13641
|
+
* Canonical session ID in the durable catalog, whether resident or dormant.
|
|
12974
13642
|
*/
|
|
12975
|
-
|
|
13643
|
+
sessionId: string;
|
|
13644
|
+
}
|
|
13645
|
+
/**
|
|
13646
|
+
* Publication withdrawal outcome; local history, worktrees and ongoing work are preserved.
|
|
13647
|
+
*
|
|
13648
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
13649
|
+
* via the `definition` "HostUnpublishSessionResult".
|
|
13650
|
+
*/
|
|
13651
|
+
/** @experimental */
|
|
13652
|
+
export interface HostUnpublishSessionResult {
|
|
12976
13653
|
/**
|
|
12977
|
-
*
|
|
13654
|
+
* True when a publication was removed; false when it was already absent.
|
|
12978
13655
|
*/
|
|
12979
|
-
|
|
13656
|
+
unpublished: boolean;
|
|
13657
|
+
}
|
|
13658
|
+
/**
|
|
13659
|
+
* Removes a durable application publication and revokes its AHP attachments.
|
|
13660
|
+
*
|
|
13661
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
13662
|
+
* via the `definition` "HostUnregisterSessionRequest".
|
|
13663
|
+
*/
|
|
13664
|
+
/** @experimental */
|
|
13665
|
+
export interface HostUnregisterSessionRequest {
|
|
12980
13666
|
/**
|
|
12981
|
-
*
|
|
13667
|
+
* Canonical ID of the application publication to withdraw.
|
|
12982
13668
|
*/
|
|
12983
|
-
|
|
12984
|
-
trustAtInstall?: CatalogTrustSnapshot;
|
|
13669
|
+
sessionId: string;
|
|
12985
13670
|
}
|
|
12986
13671
|
/**
|
|
12987
13672
|
* One connection-owned, expiring request for a trusted host's explicit user decision.
|
|
@@ -13256,185 +13941,59 @@ export interface McpPlanConfigurationChange {
|
|
|
13256
13941
|
*/
|
|
13257
13942
|
configKey: string;
|
|
13258
13943
|
/**
|
|
13259
|
-
* Names of the configuration fields the change would set, without their values.
|
|
13260
|
-
*/
|
|
13261
|
-
changedFields: string[];
|
|
13262
|
-
/**
|
|
13263
|
-
* Secret placeholders the written configuration would reference. The constrained placeholder type cannot carry a literal secret value.
|
|
13264
|
-
*/
|
|
13265
|
-
secretReferences: McpPlanSecretReference[];
|
|
13266
|
-
}
|
|
13267
|
-
/**
|
|
13268
|
-
* One Registry string-valued configuration entry for the selected transport.
|
|
13269
|
-
*
|
|
13270
|
-
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
13271
|
-
* via the `definition` "McpInstallationInput".
|
|
13272
|
-
*/
|
|
13273
|
-
/** @experimental */
|
|
13274
|
-
export interface McpInstallationInput {
|
|
13275
|
-
category: McpPlanValueCategory;
|
|
13276
|
-
/**
|
|
13277
|
-
* Exact key declared by the selected choice.
|
|
13278
|
-
*/
|
|
13279
|
-
key: string;
|
|
13280
|
-
/**
|
|
13281
|
-
* Explicit non-secret value. Secret placeholders use a separate input channel.
|
|
13282
|
-
*/
|
|
13283
|
-
value: string;
|
|
13284
|
-
}
|
|
13285
|
-
/**
|
|
13286
|
-
* Final remote configuration, not a template. The producer refuses external-value
|
|
13287
|
-
* expansion before presenting this review. Receipt-owned secrets appear only as
|
|
13288
|
-
* `${installation-secret:<id>}` references whose `<id>` matches a reviewed
|
|
13289
|
-
* `${secret:<id>}` placeholder; values are never included.
|
|
13290
|
-
*
|
|
13291
|
-
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
13292
|
-
* via the `definition` "McpInstallationRemoteConfiguration".
|
|
13293
|
-
*/
|
|
13294
|
-
/** @experimental */
|
|
13295
|
-
export interface McpInstallationRemoteConfiguration {
|
|
13296
|
-
transport: McpPlanRemoteTransport;
|
|
13297
|
-
/**
|
|
13298
|
-
* Exact resolved endpoint, without templates or secret placeholders.
|
|
13299
|
-
*/
|
|
13300
|
-
url: string;
|
|
13301
|
-
/**
|
|
13302
|
-
* Configured headers, excluding separately authorised OAuth tokens. Values may
|
|
13303
|
-
* contain owned secret references, never secret values.
|
|
13304
|
-
*/
|
|
13305
|
-
headers: {
|
|
13306
|
-
[k: string]: string | undefined;
|
|
13307
|
-
};
|
|
13308
|
-
/**
|
|
13309
|
-
* Configured tool selection, not permission to invoke those tools.
|
|
13310
|
-
*/
|
|
13311
|
-
tools: string[];
|
|
13312
|
-
}
|
|
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.
|
|
13944
|
+
* Names of the configuration fields the change would set, without their values.
|
|
13369
13945
|
*/
|
|
13370
|
-
|
|
13946
|
+
changedFields: string[];
|
|
13371
13947
|
/**
|
|
13372
|
-
*
|
|
13948
|
+
* Secret placeholders the written configuration would reference. The constrained placeholder type cannot carry a literal secret value.
|
|
13373
13949
|
*/
|
|
13374
|
-
|
|
13950
|
+
secretReferences: McpPlanSecretReference[];
|
|
13375
13951
|
}
|
|
13376
13952
|
/**
|
|
13377
|
-
* One
|
|
13953
|
+
* One Registry string-valued configuration entry for the selected transport.
|
|
13378
13954
|
*
|
|
13379
13955
|
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
13380
|
-
* via the `definition` "
|
|
13956
|
+
* via the `definition` "McpInstallationInput".
|
|
13381
13957
|
*/
|
|
13382
13958
|
/** @experimental */
|
|
13383
|
-
export interface
|
|
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;
|
|
13959
|
+
export interface McpInstallationInput {
|
|
13960
|
+
category: McpPlanValueCategory;
|
|
13396
13961
|
/**
|
|
13397
|
-
*
|
|
13962
|
+
* Exact key declared by the selected choice.
|
|
13398
13963
|
*/
|
|
13399
|
-
|
|
13964
|
+
key: string;
|
|
13400
13965
|
/**
|
|
13401
|
-
*
|
|
13966
|
+
* Explicit non-secret value. Secret placeholders use a separate input channel.
|
|
13402
13967
|
*/
|
|
13403
|
-
|
|
13968
|
+
value: string;
|
|
13404
13969
|
}
|
|
13405
13970
|
/**
|
|
13406
|
-
*
|
|
13971
|
+
* Final remote configuration, not a template. The producer refuses external-value
|
|
13972
|
+
* expansion before presenting this review. Receipt-owned secrets appear only as
|
|
13973
|
+
* `${installation-secret:<id>}` references whose `<id>` matches a reviewed
|
|
13974
|
+
* `${secret:<id>}` placeholder; values are never included.
|
|
13407
13975
|
*
|
|
13408
13976
|
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
13409
|
-
* via the `definition` "
|
|
13977
|
+
* via the `definition` "McpInstallationRemoteConfiguration".
|
|
13410
13978
|
*/
|
|
13411
13979
|
/** @experimental */
|
|
13412
|
-
export interface
|
|
13413
|
-
|
|
13414
|
-
* Exact durable installation receipt identity.
|
|
13415
|
-
*/
|
|
13416
|
-
installationId: string;
|
|
13417
|
-
/**
|
|
13418
|
-
* Operation that installed this Skill.
|
|
13419
|
-
*/
|
|
13420
|
-
operationId: string;
|
|
13980
|
+
export interface McpInstallationRemoteConfiguration {
|
|
13981
|
+
transport: McpPlanRemoteTransport;
|
|
13421
13982
|
/**
|
|
13422
|
-
*
|
|
13983
|
+
* Exact resolved endpoint, without templates or secret placeholders.
|
|
13423
13984
|
*/
|
|
13424
|
-
|
|
13425
|
-
target: SkillInstallationLocation;
|
|
13985
|
+
url: string;
|
|
13426
13986
|
/**
|
|
13427
|
-
*
|
|
13987
|
+
* Configured headers, excluding separately authorised OAuth tokens. Values may
|
|
13988
|
+
* contain owned secret references, never secret values.
|
|
13428
13989
|
*/
|
|
13429
|
-
|
|
13430
|
-
|
|
13431
|
-
|
|
13432
|
-
catalogue: InstallationCatalogueIdentity;
|
|
13990
|
+
headers: {
|
|
13991
|
+
[k: string]: string | undefined;
|
|
13992
|
+
};
|
|
13433
13993
|
/**
|
|
13434
|
-
*
|
|
13994
|
+
* Configured tool selection, not permission to invoke those tools.
|
|
13435
13995
|
*/
|
|
13436
|
-
|
|
13437
|
-
ownershipState: SkillInstallationOwnershipState;
|
|
13996
|
+
tools: string[];
|
|
13438
13997
|
}
|
|
13439
13998
|
/**
|
|
13440
13999
|
* A response is meaningful only on the connection and request that issued its challenge.
|
|
@@ -17227,16 +17786,16 @@ export interface ModelBilling {
|
|
|
17227
17786
|
/** @experimental */
|
|
17228
17787
|
export interface ModelBillingTokenPrices {
|
|
17229
17788
|
/**
|
|
17230
|
-
*
|
|
17789
|
+
* Cost per billing batch of input tokens. The unit is reported by models.listTokenPriceUnits.
|
|
17231
17790
|
*/
|
|
17232
17791
|
inputPrice?: number;
|
|
17233
17792
|
/**
|
|
17234
|
-
*
|
|
17793
|
+
* Cost per billing batch of output tokens. The unit is reported by models.listTokenPriceUnits.
|
|
17235
17794
|
*/
|
|
17236
17795
|
outputPrice?: number;
|
|
17237
17796
|
/**
|
|
17238
17797
|
* @deprecated
|
|
17239
|
-
* Use cacheReadPrice
|
|
17798
|
+
* Use cacheReadPrice when available. Cost per billing batch of cached tokens in the unit reported by models.listTokenPriceUnits.
|
|
17240
17799
|
*/
|
|
17241
17800
|
cachePrice?: number;
|
|
17242
17801
|
/**
|
|
@@ -17572,6 +18131,7 @@ export interface ModelList {
|
|
|
17572
18131
|
* List of available models with full metadata
|
|
17573
18132
|
*/
|
|
17574
18133
|
models: Model[];
|
|
18134
|
+
auto?: AutoTierMetadata;
|
|
17575
18135
|
}
|
|
17576
18136
|
/** @experimental */
|
|
17577
18137
|
export interface ModelPickerPersistenceRequest {
|
|
@@ -18255,6 +18815,33 @@ export interface ModelSwitchToResult {
|
|
|
18255
18815
|
deprecationWarnings?: string[];
|
|
18256
18816
|
modelState?: CurrentModel;
|
|
18257
18817
|
}
|
|
18818
|
+
/**
|
|
18819
|
+
* The unit one model's published token prices are quoted in.
|
|
18820
|
+
*
|
|
18821
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
18822
|
+
* via the `definition` "ModelTokenPriceUnit".
|
|
18823
|
+
*/
|
|
18824
|
+
/** @experimental */
|
|
18825
|
+
export interface ModelTokenPriceUnit {
|
|
18826
|
+
/**
|
|
18827
|
+
* Model ID the unit applies to, matching the id of a models.list entry.
|
|
18828
|
+
*/
|
|
18829
|
+
modelId: string;
|
|
18830
|
+
unit: TokenPriceUnit;
|
|
18831
|
+
}
|
|
18832
|
+
/**
|
|
18833
|
+
* Price units for every catalog model that publishes token prices.
|
|
18834
|
+
*
|
|
18835
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
18836
|
+
* via the `definition` "ModelTokenPriceUnitList".
|
|
18837
|
+
*/
|
|
18838
|
+
/** @experimental */
|
|
18839
|
+
export interface ModelTokenPriceUnitList {
|
|
18840
|
+
/**
|
|
18841
|
+
* One entry per model that publishes token prices, in catalog order. A model with no published prices is omitted.
|
|
18842
|
+
*/
|
|
18843
|
+
units: ModelTokenPriceUnit[];
|
|
18844
|
+
}
|
|
18258
18845
|
/**
|
|
18259
18846
|
* Agent interaction mode to apply to the session.
|
|
18260
18847
|
*
|
|
@@ -20290,6 +20877,52 @@ export interface Plugin {
|
|
|
20290
20877
|
*/
|
|
20291
20878
|
installed?: boolean;
|
|
20292
20879
|
}
|
|
20880
|
+
/**
|
|
20881
|
+
* Applies exactly one retained verified Agent Plugin installation plan.
|
|
20882
|
+
*
|
|
20883
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
20884
|
+
* via the `definition` "PluginApplyInstallRequest".
|
|
20885
|
+
*/
|
|
20886
|
+
/** @experimental */
|
|
20887
|
+
export interface PluginApplyInstallRequest {
|
|
20888
|
+
contract: CatalogClientContract;
|
|
20889
|
+
/**
|
|
20890
|
+
* Opaque original plan, consumed once.
|
|
20891
|
+
*/
|
|
20892
|
+
planHandle: string;
|
|
20893
|
+
/**
|
|
20894
|
+
* Same existing selected session as planning.
|
|
20895
|
+
*/
|
|
20896
|
+
policySessionId: string;
|
|
20897
|
+
}
|
|
20898
|
+
/**
|
|
20899
|
+
* A plugin registered from a verified materialisation.
|
|
20900
|
+
*
|
|
20901
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
20902
|
+
* via the `definition` "PluginInstallationSummary".
|
|
20903
|
+
*/
|
|
20904
|
+
/** @experimental */
|
|
20905
|
+
export interface PluginInstallationSummary {
|
|
20906
|
+
/**
|
|
20907
|
+
* Installed plugin name, as plugins.list, plugins.enable and plugins.uninstall identify it.
|
|
20908
|
+
*/
|
|
20909
|
+
name: string;
|
|
20910
|
+
/**
|
|
20911
|
+
* Operation that installed the plugin.
|
|
20912
|
+
*/
|
|
20913
|
+
operationId: string;
|
|
20914
|
+
target: PluginInstallationLocation;
|
|
20915
|
+
/**
|
|
20916
|
+
* Whether the plugin is enabled for new sessions. Always false after installation.
|
|
20917
|
+
*/
|
|
20918
|
+
enabled: boolean;
|
|
20919
|
+
source: PluginInstallationSource;
|
|
20920
|
+
catalogue: InstallationCatalogueIdentity;
|
|
20921
|
+
/**
|
|
20922
|
+
* ISO 8601 wall-clock installation time.
|
|
20923
|
+
*/
|
|
20924
|
+
installedAt: string;
|
|
20925
|
+
}
|
|
20293
20926
|
/**
|
|
20294
20927
|
* Result of installing a plugin.
|
|
20295
20928
|
*
|
|
@@ -20339,6 +20972,24 @@ export interface PluginListResult {
|
|
|
20339
20972
|
*/
|
|
20340
20973
|
plugins: InstalledPluginInfo[];
|
|
20341
20974
|
}
|
|
20975
|
+
/**
|
|
20976
|
+
* Side-effect-free planning of one Agent Plugin search candidate through its Agent Finder materialisation.
|
|
20977
|
+
*
|
|
20978
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
20979
|
+
* via the `definition` "PluginPlanInstallRequest".
|
|
20980
|
+
*/
|
|
20981
|
+
/** @experimental */
|
|
20982
|
+
export interface PluginPlanInstallRequest {
|
|
20983
|
+
contract: CatalogClientContract;
|
|
20984
|
+
/**
|
|
20985
|
+
* Fresh single-use Agent Plugin candidate handle returned by a bound catalogue search.
|
|
20986
|
+
*/
|
|
20987
|
+
candidateHandle: string;
|
|
20988
|
+
/**
|
|
20989
|
+
* Existing local session attached to this connection.
|
|
20990
|
+
*/
|
|
20991
|
+
policySessionId: string;
|
|
20992
|
+
}
|
|
20342
20993
|
/**
|
|
20343
20994
|
* Trusted built-in plugin directories to use for this runtime process.
|
|
20344
20995
|
*
|
|
@@ -26657,28 +27308,6 @@ export interface SkillDiscoveryPathList {
|
|
|
26657
27308
|
*/
|
|
26658
27309
|
paths: SkillDiscoveryPath[];
|
|
26659
27310
|
}
|
|
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
27311
|
/**
|
|
26683
27312
|
* A computed Skill uninstall plan. Nothing has been removed.
|
|
26684
27313
|
*
|
|
@@ -26743,21 +27372,6 @@ export interface SkillList {
|
|
|
26743
27372
|
*/
|
|
26744
27373
|
skills: Skill[];
|
|
26745
27374
|
}
|
|
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
27375
|
/**
|
|
26762
27376
|
* Side-effect-free planning of one verified Agent Finder Skill candidate.
|
|
26763
27377
|
*
|
|
@@ -31248,6 +31862,17 @@ export interface HostGetConfigurationResult {
|
|
|
31248
31862
|
export interface HostReadyResult {
|
|
31249
31863
|
}
|
|
31250
31864
|
/** @experimental */
|
|
31865
|
+
export interface ModelsListTokenPriceUnitsRequest {
|
|
31866
|
+
/**
|
|
31867
|
+
* Opaque account identifier returned by `account.getAllUsers`. When omitted, the current account is used.
|
|
31868
|
+
*/
|
|
31869
|
+
selectionId?: string;
|
|
31870
|
+
/**
|
|
31871
|
+
* GitHub token accepted for compatibility with existing SDK clients. When provided, resolves this token instead of using the current account.
|
|
31872
|
+
*/
|
|
31873
|
+
gitHubToken?: string;
|
|
31874
|
+
}
|
|
31875
|
+
/** @experimental */
|
|
31251
31876
|
export interface SessionWorkflowPauseAtCheckpointResult {
|
|
31252
31877
|
action: WorkflowPauseCheckpointAction;
|
|
31253
31878
|
}
|
|
@@ -31605,6 +32230,19 @@ export interface SessionFsSqliteExistsRequest {
|
|
|
31605
32230
|
*/
|
|
31606
32231
|
sessionId: string;
|
|
31607
32232
|
}
|
|
32233
|
+
/**
|
|
32234
|
+
* Publication withdrawal outcome; local history, worktrees and ongoing work are preserved.
|
|
32235
|
+
*
|
|
32236
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
32237
|
+
* via the `definition` "HostUnregisterSessionResult".
|
|
32238
|
+
*/
|
|
32239
|
+
/** @experimental */
|
|
32240
|
+
export interface HostUnregisterSessionResult {
|
|
32241
|
+
/**
|
|
32242
|
+
* True when a publication was removed; false when it was already absent.
|
|
32243
|
+
*/
|
|
32244
|
+
unpublished: boolean;
|
|
32245
|
+
}
|
|
31608
32246
|
/**
|
|
31609
32247
|
* The existing runtime identity and its resource on the listener.
|
|
31610
32248
|
*
|
|
@@ -31934,6 +32572,14 @@ export declare function createServerRpc(connection: MessageConnection): {
|
|
|
31934
32572
|
* @returns The existing runtime identity and its resource on the listener.
|
|
31935
32573
|
*/
|
|
31936
32574
|
publishSession: (params: HostPublishSessionRequest) => Promise<HostPublishSessionResult>;
|
|
32575
|
+
/**
|
|
32576
|
+
* 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.
|
|
32577
|
+
*
|
|
32578
|
+
* @param params Withdraws an application publication without deleting its underlying local session.
|
|
32579
|
+
*
|
|
32580
|
+
* @returns Publication withdrawal outcome; local history, worktrees and ongoing work are preserved.
|
|
32581
|
+
*/
|
|
32582
|
+
unpublishSession: (params: HostUnpublishSessionRequest) => Promise<HostUnpublishSessionResult>;
|
|
31937
32583
|
/**
|
|
31938
32584
|
* 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
32585
|
*
|
|
@@ -31996,6 +32642,14 @@ export declare function createServerRpc(connection: MessageConnection): {
|
|
|
31996
32642
|
* @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
32643
|
*/
|
|
31998
32644
|
getBuiltInCatalog: () => Promise<BuiltInModelCatalog>;
|
|
32645
|
+
/**
|
|
32646
|
+
* 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.
|
|
32647
|
+
*
|
|
32648
|
+
* @param params Optional opaque account selection or compatibility GitHub token used to list models.
|
|
32649
|
+
*
|
|
32650
|
+
* @returns Price units for every catalog model that publishes token prices.
|
|
32651
|
+
*/
|
|
32652
|
+
listTokenPriceUnits: (params?: ModelsListTokenPriceUnitsRequest) => Promise<ModelTokenPriceUnitList>;
|
|
31999
32653
|
};
|
|
32000
32654
|
/** @experimental */
|
|
32001
32655
|
contentExclusion: {
|
|
@@ -32248,14 +32902,6 @@ export declare function createServerRpc(connection: MessageConnection): {
|
|
|
32248
32902
|
* @returns Skill installation management result with the honoured contract, or a typed refusal.
|
|
32249
32903
|
*/
|
|
32250
32904
|
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
32905
|
/**
|
|
32260
32906
|
* 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
32907
|
*
|
|
@@ -32355,33 +33001,24 @@ export declare function createServerRpc(connection: MessageConnection): {
|
|
|
32355
33001
|
*/
|
|
32356
33002
|
getDiscoveryPaths: (params: SkillsGetDiscoveryPathsRequest) => Promise<SkillDiscoveryPathList>;
|
|
32357
33003
|
};
|
|
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
33004
|
/** @experimental */
|
|
32365
|
-
|
|
33005
|
+
plugins: {
|
|
32366
33006
|
/**
|
|
32367
|
-
*
|
|
33007
|
+
* 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
33008
|
*
|
|
32369
|
-
* @param params
|
|
33009
|
+
* @param params Side-effect-free planning of one Agent Plugin search candidate through its Agent Finder materialisation.
|
|
32370
33010
|
*
|
|
32371
|
-
* @returns
|
|
33011
|
+
* @returns Agent Plugin installation planning result with the honoured contract, or a typed refusal.
|
|
32372
33012
|
*/
|
|
32373
|
-
|
|
33013
|
+
planInstall: (params: PluginPlanInstallRequest) => Promise<PluginInstallationManagementResult>;
|
|
32374
33014
|
/**
|
|
32375
|
-
*
|
|
33015
|
+
* 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
33016
|
*
|
|
32377
|
-
* @param params
|
|
33017
|
+
* @param params Applies exactly one retained verified Agent Plugin installation plan.
|
|
32378
33018
|
*
|
|
32379
|
-
* @returns
|
|
33019
|
+
* @returns Agent Plugin installation result with the honoured contract, or a typed request/negotiation refusal.
|
|
32380
33020
|
*/
|
|
32381
|
-
|
|
32382
|
-
};
|
|
32383
|
-
/** @experimental */
|
|
32384
|
-
plugins: {
|
|
33021
|
+
applyInstall: (params: PluginApplyInstallRequest) => Promise<PluginInstallationResult>;
|
|
32385
33022
|
/**
|
|
32386
33023
|
* Lists plugins installed in user/global state.
|
|
32387
33024
|
*
|
|
@@ -32479,6 +33116,39 @@ export declare function createServerRpc(connection: MessageConnection): {
|
|
|
32479
33116
|
refresh: (params: PluginsMarketplacesRefreshRequest) => Promise<MarketplaceRefreshResult>;
|
|
32480
33117
|
};
|
|
32481
33118
|
};
|
|
33119
|
+
/**
|
|
33120
|
+
* 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.
|
|
33121
|
+
*
|
|
33122
|
+
* @experimental
|
|
33123
|
+
*/
|
|
33124
|
+
registerExtensionLaunchProvider: () => Promise<void>;
|
|
33125
|
+
/** @experimental */
|
|
33126
|
+
catalog: {
|
|
33127
|
+
/**
|
|
33128
|
+
* 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.
|
|
33129
|
+
*
|
|
33130
|
+
* @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.
|
|
33131
|
+
*
|
|
33132
|
+
* @returns Outcome of a catalog.search call: either bounded inert candidates, or one typed refusal. Never a partial success.
|
|
33133
|
+
*/
|
|
33134
|
+
search: (params: CatalogSearchRequest) => Promise<CatalogSearchResult>;
|
|
33135
|
+
/**
|
|
33136
|
+
* Terminates one retained catalog selection group. A selected outcome returns the native host a fresh single-use candidate handle plus the original searchId for a later explicit mcp.planInstall call; non-selected outcomes release the group without producing a planning input. Candidate state, cards, URLs, credentials and private identifiers remain inside the runtime. The model-facing catalog_select tool projects the result separately and never exposes the candidate handle or searchId.
|
|
33137
|
+
*
|
|
33138
|
+
* @param params Terminates one retained catalog selection group through an opaque reference previously returned by the model-safe search projection.
|
|
33139
|
+
*
|
|
33140
|
+
* @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.
|
|
33141
|
+
*/
|
|
33142
|
+
select: (params: CatalogSelectionRequest) => Promise<CatalogSelectionResult>;
|
|
33143
|
+
/**
|
|
33144
|
+
* 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.
|
|
33145
|
+
*
|
|
33146
|
+
* @param params Side-effect-free planning of whatever resource a materialisation reference pins, rather than a search candidate.
|
|
33147
|
+
*
|
|
33148
|
+
* @returns Planning result for a materialisation reference with the honoured contract, or a typed refusal.
|
|
33149
|
+
*/
|
|
33150
|
+
planInstallFromReference: (params: CatalogPlanInstallFromReferenceRequest) => Promise<CatalogReferenceInstallationResult>;
|
|
33151
|
+
};
|
|
32482
33152
|
/** @experimental */
|
|
32483
33153
|
agents: {
|
|
32484
33154
|
/**
|