@github/copilot-sdk-linuxmusl-x64 1.0.13 → 1.0.14-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/builtin/discover-resources/SKILL.md +2 -0
- package/builtin-skills/discover-resources/SKILL.md +2 -0
- package/package.json +1 -1
- package/prebuilds/linuxmusl-x64/copilot-runtime +0 -0
- package/prebuilds/linuxmusl-x64/runtime.node +0 -0
- package/schemas/api.schema.json +1315 -52
- package/schemas/session-events.schema.json +1118 -141
- package/sdk/index.js +289 -315
- package/tgrep/bin/linux-x64/tgrep +0 -0
- package/tgrep/bin/linuxmusl-x64/tgrep +0 -0
package/schemas/api.schema.json
CHANGED
|
@@ -400,7 +400,7 @@
|
|
|
400
400
|
"description": "Enables installed plugins for new sessions.",
|
|
401
401
|
"params": {
|
|
402
402
|
"$ref": "#/definitions/PluginsEnableRequest",
|
|
403
|
-
"description": "Plugin names (or specs) to enable."
|
|
403
|
+
"description": "Plugin names (or specs) to enable, plus the optional working directory the repository-controlled guard is evaluated against."
|
|
404
404
|
},
|
|
405
405
|
"result": {
|
|
406
406
|
"type": "null"
|
|
@@ -412,7 +412,7 @@
|
|
|
412
412
|
"description": "Disables installed plugins for new sessions.",
|
|
413
413
|
"params": {
|
|
414
414
|
"$ref": "#/definitions/PluginsDisableRequest",
|
|
415
|
-
"description": "Plugin names (or specs) to disable."
|
|
415
|
+
"description": "Plugin names (or specs) to disable, plus the optional working directory the repository-controlled guard is evaluated against."
|
|
416
416
|
},
|
|
417
417
|
"result": {
|
|
418
418
|
"type": "null"
|
|
@@ -808,9 +808,22 @@
|
|
|
808
808
|
"stability": "experimental",
|
|
809
809
|
"visibility": "internal"
|
|
810
810
|
},
|
|
811
|
+
"getClientMetadata": {
|
|
812
|
+
"rpcMethod": "sessions.getClientMetadata",
|
|
813
|
+
"description": "Reads client-owned metadata for multiple persisted local sessions without opening them. Results preserve request order and report missing, corrupt, unsupported, or temporarily unavailable sessions independently.",
|
|
814
|
+
"params": {
|
|
815
|
+
"$ref": "#/definitions/SessionsGetClientMetadataRequest",
|
|
816
|
+
"description": "Bounded batch request for client-owned metadata from persisted local sessions."
|
|
817
|
+
},
|
|
818
|
+
"result": {
|
|
819
|
+
"$ref": "#/definitions/SessionsGetClientMetadataResult",
|
|
820
|
+
"description": "Ordered client metadata outcomes for the requested local sessions."
|
|
821
|
+
},
|
|
822
|
+
"stability": "experimental"
|
|
823
|
+
},
|
|
811
824
|
"readPersistedEvents": {
|
|
812
825
|
"rpcMethod": "sessions.readPersistedEvents",
|
|
813
|
-
"description": "Reads a page of durable events directly from a local session's persisted journal without creating, resuming, or activating the session. The
|
|
826
|
+
"description": "Reads a page of durable events directly from a local session's persisted journal without creating, resuming, or activating the session. The first read pins the currently opened journal generation and its byte-length boundary; opaque cursor continuations remain on that generation across runtime-owned compaction, truncation, and rewrite operations, which replace the live path atomically, and events appended after the boundary are excluded. For cold hydration, await the first successful page before activation and establish lossless live-event buffering before resume; merge subsequent live events by ID, preserving persisted order and letting live payloads win. Continuations are process-local, single-use capabilities bound to the originating session and storage context and must be paged sequentially; concurrent or repeated use of the same cursor expires that duplicate read rather than reading the generation twice. A complete snapshot has cursorStatus 'ok' and hasMore false. Snapshots expire after five idle minutes, with at most eight retained per process and idle-only eviction under pressure; completion and cancelled-worker exit release their handles. No transcript copy is created, but retained handles may keep replaced files' disk blocks alive until release. Pages have a soft 1 MiB serialized event-array budget including resolved binary assets; one oversized event is returned alone to guarantee progress. Working memory also includes a record/lookahead and asset resolution; resolving the first binary reference may scan the full pinned generation to build a bounded offset index. If the snapshot expires, is evicted, is cancelled before a continuation is established, or becomes unreadable after an observable unsupported in-place shortening, the continuation returns cursorStatus 'expired' with an empty terminal page and never falls back to a different generation. A missing or initially unreadable journal is an RPC error. Persisted history excludes ephemeral events and may omit payloads that are reconstructed only for an active session; use the active session event stream for post-resume live events.",
|
|
814
827
|
"params": {
|
|
815
828
|
"$ref": "#/definitions/SessionsReadPersistedEventsRequest",
|
|
816
829
|
"description": "Pagination options for reading an inactive or active local session's persisted event journal."
|
|
@@ -1376,6 +1389,40 @@
|
|
|
1376
1389
|
"description": "Managed sandbox enforcement state for a session."
|
|
1377
1390
|
},
|
|
1378
1391
|
"stability": "experimental"
|
|
1392
|
+
},
|
|
1393
|
+
"disableForSession": {
|
|
1394
|
+
"rpcMethod": "session.sandbox.disableForSession",
|
|
1395
|
+
"description": "Disables sandboxing for the remainder of the current session and approves the referenced pending sandbox-bypass permission request. The request is rejected unless the exact request is still pending and the effective sandbox policy permits bypass.",
|
|
1396
|
+
"params": {
|
|
1397
|
+
"type": "object",
|
|
1398
|
+
"properties": {
|
|
1399
|
+
"sessionId": {
|
|
1400
|
+
"type": "string",
|
|
1401
|
+
"description": "Target session identifier"
|
|
1402
|
+
},
|
|
1403
|
+
"requestId": {
|
|
1404
|
+
"type": "string",
|
|
1405
|
+
"description": "Identifier of the exact pending sandbox-bypass permission request that authorized the session opt-out."
|
|
1406
|
+
},
|
|
1407
|
+
"decisionContext": {
|
|
1408
|
+
"$ref": "#/definitions/PermissionDecisionContext",
|
|
1409
|
+
"description": "Optional attribution for the permission decision."
|
|
1410
|
+
}
|
|
1411
|
+
},
|
|
1412
|
+
"required": [
|
|
1413
|
+
"sessionId",
|
|
1414
|
+
"requestId"
|
|
1415
|
+
],
|
|
1416
|
+
"additionalProperties": false,
|
|
1417
|
+
"description": "Request to disable sandboxing for the current session while resolving an active sandbox-bypass permission prompt.",
|
|
1418
|
+
"title": "SandboxDisableForSessionRequest",
|
|
1419
|
+
"stability": "experimental"
|
|
1420
|
+
},
|
|
1421
|
+
"result": {
|
|
1422
|
+
"$ref": "#/definitions/SandboxDisableForSessionResult",
|
|
1423
|
+
"description": "Result of attempting to disable sandboxing for the current session."
|
|
1424
|
+
},
|
|
1425
|
+
"stability": "experimental"
|
|
1379
1426
|
}
|
|
1380
1427
|
},
|
|
1381
1428
|
"sendSystemNotification": {
|
|
@@ -2441,6 +2488,76 @@
|
|
|
2441
2488
|
},
|
|
2442
2489
|
"stability": "experimental"
|
|
2443
2490
|
},
|
|
2491
|
+
"pause": {
|
|
2492
|
+
"rpcMethod": "session.factory.pause",
|
|
2493
|
+
"description": "Pauses a running factory and returns its settled run envelope.",
|
|
2494
|
+
"params": {
|
|
2495
|
+
"type": "object",
|
|
2496
|
+
"properties": {
|
|
2497
|
+
"sessionId": {
|
|
2498
|
+
"type": "string",
|
|
2499
|
+
"description": "Target session identifier"
|
|
2500
|
+
},
|
|
2501
|
+
"runId": {
|
|
2502
|
+
"type": "string",
|
|
2503
|
+
"description": "Factory run identifier."
|
|
2504
|
+
}
|
|
2505
|
+
},
|
|
2506
|
+
"required": [
|
|
2507
|
+
"sessionId",
|
|
2508
|
+
"runId"
|
|
2509
|
+
],
|
|
2510
|
+
"additionalProperties": false,
|
|
2511
|
+
"description": "Parameters for pausing a running factory.",
|
|
2512
|
+
"title": "FactoryPauseRequest",
|
|
2513
|
+
"stability": "experimental"
|
|
2514
|
+
},
|
|
2515
|
+
"result": {
|
|
2516
|
+
"$ref": "#/definitions/FactoryRunResult",
|
|
2517
|
+
"description": "Complete current or terminal factory run envelope."
|
|
2518
|
+
},
|
|
2519
|
+
"stability": "experimental"
|
|
2520
|
+
},
|
|
2521
|
+
"pauseAtCheckpoint": {
|
|
2522
|
+
"rpcMethod": "session.factory.pauseAtCheckpoint",
|
|
2523
|
+
"description": "Atomically pauses an owned factory attempt at a durable checkpoint.",
|
|
2524
|
+
"params": {
|
|
2525
|
+
"type": "object",
|
|
2526
|
+
"properties": {
|
|
2527
|
+
"sessionId": {
|
|
2528
|
+
"type": "string",
|
|
2529
|
+
"description": "Target session identifier"
|
|
2530
|
+
},
|
|
2531
|
+
"runId": {
|
|
2532
|
+
"type": "string",
|
|
2533
|
+
"description": "Factory run identifier."
|
|
2534
|
+
},
|
|
2535
|
+
"executionToken": {
|
|
2536
|
+
"type": "string",
|
|
2537
|
+
"description": "Opaque token identifying the execution attempt that reached the checkpoint."
|
|
2538
|
+
},
|
|
2539
|
+
"key": {
|
|
2540
|
+
"type": "string",
|
|
2541
|
+
"description": "Stable author-defined checkpoint key."
|
|
2542
|
+
}
|
|
2543
|
+
},
|
|
2544
|
+
"required": [
|
|
2545
|
+
"sessionId",
|
|
2546
|
+
"runId",
|
|
2547
|
+
"executionToken",
|
|
2548
|
+
"key"
|
|
2549
|
+
],
|
|
2550
|
+
"additionalProperties": false,
|
|
2551
|
+
"description": "Parameters for an owned durable pause checkpoint.",
|
|
2552
|
+
"title": "FactoryPauseCheckpointRequest",
|
|
2553
|
+
"stability": "experimental"
|
|
2554
|
+
},
|
|
2555
|
+
"result": {
|
|
2556
|
+
"$ref": "#/definitions/FactoryPauseCheckpointResult"
|
|
2557
|
+
},
|
|
2558
|
+
"stability": "experimental",
|
|
2559
|
+
"visibility": "internal"
|
|
2560
|
+
},
|
|
2444
2561
|
"log": {
|
|
2445
2562
|
"rpcMethod": "session.factory.log",
|
|
2446
2563
|
"description": "Records a batch of ordered factory progress lines.",
|
|
@@ -2660,7 +2777,7 @@
|
|
|
2660
2777
|
"anyOf": [
|
|
2661
2778
|
{
|
|
2662
2779
|
"$ref": "#/definitions/AutoTier",
|
|
2663
|
-
"description": "Routing preference used when the session model is `auto`."
|
|
2780
|
+
"description": "Routing preference used when the session model is `auto`. `fast` is an integrator-only latency preset and is not a first-party GitHub Copilot product preference."
|
|
2664
2781
|
},
|
|
2665
2782
|
{
|
|
2666
2783
|
"type": "null"
|
|
@@ -2750,7 +2867,7 @@
|
|
|
2750
2867
|
"anyOf": [
|
|
2751
2868
|
{
|
|
2752
2869
|
"$ref": "#/definitions/AutoTier",
|
|
2753
|
-
"description": "Routing preference used when the session model is `auto`."
|
|
2870
|
+
"description": "Routing preference used when the session model is `auto`. `fast` is an integrator-only latency preset and is not a first-party GitHub Copilot product preference."
|
|
2754
2871
|
},
|
|
2755
2872
|
{
|
|
2756
2873
|
"type": "null"
|
|
@@ -2812,6 +2929,10 @@
|
|
|
2812
2929
|
"type": "string",
|
|
2813
2930
|
"description": "Context tier selected by repository settings, when configured."
|
|
2814
2931
|
},
|
|
2932
|
+
"repoAutoTier": {
|
|
2933
|
+
"type": "string",
|
|
2934
|
+
"description": "Auto routing preference selected by repository settings, when configured. Applied only when the overlay selects the Auto model; beside a concrete model it stays dormant."
|
|
2935
|
+
},
|
|
2815
2936
|
"cliModel": {
|
|
2816
2937
|
"type": "string",
|
|
2817
2938
|
"description": "Model explicitly selected by the CLI, when provided."
|
|
@@ -2836,6 +2957,46 @@
|
|
|
2836
2957
|
"stability": "experimental",
|
|
2837
2958
|
"visibility": "internal"
|
|
2838
2959
|
},
|
|
2960
|
+
"setAllowedModels": {
|
|
2961
|
+
"rpcMethod": "session.model.setAllowedModels",
|
|
2962
|
+
"description": "Replaces or clears the host-supplied model allowlist for a running session.",
|
|
2963
|
+
"params": {
|
|
2964
|
+
"type": "object",
|
|
2965
|
+
"properties": {
|
|
2966
|
+
"sessionId": {
|
|
2967
|
+
"type": "string",
|
|
2968
|
+
"description": "Target session identifier"
|
|
2969
|
+
},
|
|
2970
|
+
"allowedModels": {
|
|
2971
|
+
"anyOf": [
|
|
2972
|
+
{
|
|
2973
|
+
"type": "array",
|
|
2974
|
+
"items": {
|
|
2975
|
+
"type": "string"
|
|
2976
|
+
}
|
|
2977
|
+
},
|
|
2978
|
+
{
|
|
2979
|
+
"type": "null"
|
|
2980
|
+
}
|
|
2981
|
+
],
|
|
2982
|
+
"minItems": 1,
|
|
2983
|
+
"description": "Exact model IDs to permit, or null to clear the host restriction."
|
|
2984
|
+
}
|
|
2985
|
+
},
|
|
2986
|
+
"required": [
|
|
2987
|
+
"sessionId"
|
|
2988
|
+
],
|
|
2989
|
+
"additionalProperties": false,
|
|
2990
|
+
"description": "Host-supplied exact model selection IDs to allow for this running session. CAPI IDs are intersected with repository `.github/allowed_models.txt` policy; provider-qualified IDs remain exempt from repository-only policy but are restricted by this host list. Omit or pass null to clear the host restriction; an explicit empty or disjoint list is rejected. Validation and pre-selection fallback failures preserve the previous restriction. Failures after a fallback selection commits retain the new restriction and selected model; callers should inspect current session state after such an error.",
|
|
2991
|
+
"title": "ModelSetAllowedModelsRequest",
|
|
2992
|
+
"stability": "experimental"
|
|
2993
|
+
},
|
|
2994
|
+
"result": {
|
|
2995
|
+
"$ref": "#/definitions/ModelSetAllowedModelsResult",
|
|
2996
|
+
"description": "The applied host allowlist and effective session model policy after intersection."
|
|
2997
|
+
},
|
|
2998
|
+
"stability": "experimental"
|
|
2999
|
+
},
|
|
2839
3000
|
"setReasoningEffort": {
|
|
2840
3001
|
"rpcMethod": "session.model.setReasoningEffort",
|
|
2841
3002
|
"description": "Updates the session's reasoning effort without changing the selected model.",
|
|
@@ -2941,6 +3102,10 @@
|
|
|
2941
3102
|
"$ref": "#/definitions/SessionMode",
|
|
2942
3103
|
"description": "The session mode the agent is operating in"
|
|
2943
3104
|
},
|
|
3105
|
+
"expectedMode": {
|
|
3106
|
+
"$ref": "#/definitions/SessionMode",
|
|
3107
|
+
"description": "Mode the session must currently be in for the change to apply. When set and the session is in a different mode the request is a no-op and reports status 'unchanged'."
|
|
3108
|
+
},
|
|
2944
3109
|
"inheritPlanBaseFromSessionId": {
|
|
2945
3110
|
"type": "string",
|
|
2946
3111
|
"description": "Session whose plan-mode base state should be inherited."
|
|
@@ -3788,13 +3953,30 @@
|
|
|
3788
3953
|
"prompt": {
|
|
3789
3954
|
"type": "string",
|
|
3790
3955
|
"description": "Optional user prompt to combine with fleet instructions"
|
|
3956
|
+
},
|
|
3957
|
+
"attachments": {
|
|
3958
|
+
"type": "array",
|
|
3959
|
+
"items": {
|
|
3960
|
+
"$ref": "#/definitions/Attachment",
|
|
3961
|
+
"description": "A user message attachment — a file, directory, code selection, blob, GitHub-anchored pointer, or extension-supplied context payload"
|
|
3962
|
+
},
|
|
3963
|
+
"description": "Optional attachments (files, directories, selections, blobs, GitHub references) to include with the fleet request"
|
|
3964
|
+
},
|
|
3965
|
+
"billable": {
|
|
3966
|
+
"type": "boolean",
|
|
3967
|
+
"description": "If false, this request will not trigger a Premium Request Unit charge. User requests default to billable.",
|
|
3968
|
+
"visibility": "internal"
|
|
3969
|
+
},
|
|
3970
|
+
"wait": {
|
|
3971
|
+
"type": "boolean",
|
|
3972
|
+
"description": "If true, await completion of the agentic loop for this fleet request before returning. Defaults to false."
|
|
3791
3973
|
}
|
|
3792
3974
|
},
|
|
3793
3975
|
"required": [
|
|
3794
3976
|
"sessionId"
|
|
3795
3977
|
],
|
|
3796
3978
|
"additionalProperties": false,
|
|
3797
|
-
"description": "
|
|
3979
|
+
"description": "Parameters for starting fleet orchestration: an optional user prompt combined with the fleet instructions, plus the send options forwarded to the resulting turn.",
|
|
3798
3980
|
"title": "FleetStartRequest",
|
|
3799
3981
|
"stability": "experimental"
|
|
3800
3982
|
},
|
|
@@ -6587,7 +6769,7 @@
|
|
|
6587
6769
|
},
|
|
6588
6770
|
"updateSubagentSettings": {
|
|
6589
6771
|
"rpcMethod": "session.tools.updateSubagentSettings",
|
|
6590
|
-
"description": "
|
|
6772
|
+
"description": "Sets the current session's live subagent settings override, which takes precedence over persisted user settings until cleared. Persisted user settings remain the source of truth for future sessions.",
|
|
6591
6773
|
"params": {
|
|
6592
6774
|
"type": "object",
|
|
6593
6775
|
"properties": {
|
|
@@ -8056,6 +8238,74 @@
|
|
|
8056
8238
|
},
|
|
8057
8239
|
"stability": "experimental"
|
|
8058
8240
|
},
|
|
8241
|
+
"getClientMetadata": {
|
|
8242
|
+
"rpcMethod": "session.metadata.getClientMetadata",
|
|
8243
|
+
"description": "Returns the client-owned string metadata persisted with this local session. The metadata is not included in model context, events, telemetry, snapshots, or remote exports.",
|
|
8244
|
+
"params": {
|
|
8245
|
+
"type": "object",
|
|
8246
|
+
"properties": {
|
|
8247
|
+
"sessionId": {
|
|
8248
|
+
"type": "string",
|
|
8249
|
+
"description": "Target session identifier"
|
|
8250
|
+
}
|
|
8251
|
+
},
|
|
8252
|
+
"required": [
|
|
8253
|
+
"sessionId"
|
|
8254
|
+
],
|
|
8255
|
+
"additionalProperties": false,
|
|
8256
|
+
"description": "Identifies the target session."
|
|
8257
|
+
},
|
|
8258
|
+
"result": {
|
|
8259
|
+
"$ref": "#/definitions/ClientMetadata",
|
|
8260
|
+
"description": "Client-owned, case-sensitive string metadata persisted with a local session. Clients should namespace keys by owner. Keys must be non-empty and at most 256 UTF-8 bytes; keys under `copilot/` and `github/` are reserved. Values may contain at most 16 KiB of UTF-8 data. A bag may contain at most 128 entries and its serialized sidecar may contain at most 64 KiB. The runtime stores but never interprets these values."
|
|
8261
|
+
},
|
|
8262
|
+
"stability": "experimental"
|
|
8263
|
+
},
|
|
8264
|
+
"updateClientMetadata": {
|
|
8265
|
+
"rpcMethod": "session.metadata.updateClientMetadata",
|
|
8266
|
+
"description": "Atomically patches the client-owned string metadata persisted with this local session and returns the committed bag.",
|
|
8267
|
+
"params": {
|
|
8268
|
+
"type": "object",
|
|
8269
|
+
"properties": {
|
|
8270
|
+
"sessionId": {
|
|
8271
|
+
"type": "string",
|
|
8272
|
+
"description": "Target session identifier"
|
|
8273
|
+
},
|
|
8274
|
+
"clear": {
|
|
8275
|
+
"type": "boolean",
|
|
8276
|
+
"description": "Remove every existing client metadata entry before applying remove and set. Defaults to false."
|
|
8277
|
+
},
|
|
8278
|
+
"remove": {
|
|
8279
|
+
"type": "array",
|
|
8280
|
+
"items": {
|
|
8281
|
+
"type": "string"
|
|
8282
|
+
},
|
|
8283
|
+
"maxItems": 128,
|
|
8284
|
+
"description": "Case-sensitive keys to remove. Missing keys are ignored. Each key must be non-empty, at most 256 UTF-8 bytes, and outside the reserved `copilot/` and `github/` namespaces."
|
|
8285
|
+
},
|
|
8286
|
+
"set": {
|
|
8287
|
+
"type": "object",
|
|
8288
|
+
"additionalProperties": {
|
|
8289
|
+
"type": "string"
|
|
8290
|
+
},
|
|
8291
|
+
"description": "String entries to add or replace. Set wins when a key also appears in remove. Each key must be non-empty, at most 256 UTF-8 bytes, and outside the reserved `copilot/` and `github/` namespaces. Each value may contain at most 16 KiB of UTF-8 data.",
|
|
8292
|
+
"maxProperties": 128
|
|
8293
|
+
}
|
|
8294
|
+
},
|
|
8295
|
+
"required": [
|
|
8296
|
+
"sessionId"
|
|
8297
|
+
],
|
|
8298
|
+
"additionalProperties": false,
|
|
8299
|
+
"description": "Atomic patch for client-owned session metadata. Operations apply in clear, remove, then set order. The resulting bag must satisfy the ClientMetadata entry and serialized-size limits. Local storage coordinates concurrent runtime processes; custom SessionFs providers must serialize writers that access the same session from multiple processes.",
|
|
8300
|
+
"title": "MetadataUpdateClientMetadataRequest",
|
|
8301
|
+
"stability": "experimental"
|
|
8302
|
+
},
|
|
8303
|
+
"result": {
|
|
8304
|
+
"$ref": "#/definitions/ClientMetadata",
|
|
8305
|
+
"description": "Client-owned, case-sensitive string metadata persisted with a local session. Clients should namespace keys by owner. Keys must be non-empty and at most 256 UTF-8 bytes; keys under `copilot/` and `github/` are reserved. Values may contain at most 16 KiB of UTF-8 data. A bag may contain at most 128 entries and its serialized sidecar may contain at most 64 KiB. The runtime stores but never interprets these values."
|
|
8306
|
+
},
|
|
8307
|
+
"stability": "experimental"
|
|
8308
|
+
},
|
|
8059
8309
|
"isProcessing": {
|
|
8060
8310
|
"rpcMethod": "session.metadata.isProcessing",
|
|
8061
8311
|
"description": "Reports whether the local session is currently processing user/agent messages.",
|
|
@@ -10138,11 +10388,16 @@
|
|
|
10138
10388
|
"runId": {
|
|
10139
10389
|
"type": "string",
|
|
10140
10390
|
"description": "Factory run identifier."
|
|
10391
|
+
},
|
|
10392
|
+
"executionToken": {
|
|
10393
|
+
"type": "string",
|
|
10394
|
+
"description": "Opaque token identifying the execution attempt to abort."
|
|
10141
10395
|
}
|
|
10142
10396
|
},
|
|
10143
10397
|
"required": [
|
|
10144
10398
|
"sessionId",
|
|
10145
|
-
"runId"
|
|
10399
|
+
"runId",
|
|
10400
|
+
"executionToken"
|
|
10146
10401
|
],
|
|
10147
10402
|
"additionalProperties": false,
|
|
10148
10403
|
"description": "Parameters for cooperatively aborting a factory body.",
|
|
@@ -10284,7 +10539,7 @@
|
|
|
10284
10539
|
},
|
|
10285
10540
|
"appendFile": {
|
|
10286
10541
|
"rpcMethod": "sessionFs.appendFile",
|
|
10287
|
-
"description": "Appends content to a file in the client-provided session filesystem.",
|
|
10542
|
+
"description": "Appends content to a file in the client-provided session filesystem, creating parent directories as needed.",
|
|
10288
10543
|
"params": {
|
|
10289
10544
|
"type": "object",
|
|
10290
10545
|
"properties": {
|
|
@@ -10312,7 +10567,7 @@
|
|
|
10312
10567
|
"content"
|
|
10313
10568
|
],
|
|
10314
10569
|
"additionalProperties": false,
|
|
10315
|
-
"description": "File path, content to append, and optional mode for the client-provided session filesystem.",
|
|
10570
|
+
"description": "File path, content to append, and optional mode for the client-provided session filesystem. Implementations create parent directories as needed.",
|
|
10316
10571
|
"title": "SessionFsAppendFileRequest",
|
|
10317
10572
|
"stability": "experimental"
|
|
10318
10573
|
},
|
|
@@ -11331,6 +11586,10 @@
|
|
|
11331
11586
|
"type": "boolean",
|
|
11332
11587
|
"description": "Whether the agent can be selected directly by the user. Agents marked `false` are subagent-only."
|
|
11333
11588
|
},
|
|
11589
|
+
"disableModelInvocation": {
|
|
11590
|
+
"type": "boolean",
|
|
11591
|
+
"description": "Whether model-driven invocation is disabled for this agent."
|
|
11592
|
+
},
|
|
11334
11593
|
"tools": {
|
|
11335
11594
|
"type": "array",
|
|
11336
11595
|
"items": {
|
|
@@ -13041,14 +13300,16 @@
|
|
|
13041
13300
|
"enum": [
|
|
13042
13301
|
"efficiency",
|
|
13043
13302
|
"balance",
|
|
13044
|
-
"intelligence"
|
|
13303
|
+
"intelligence",
|
|
13304
|
+
"fast"
|
|
13045
13305
|
],
|
|
13046
|
-
"description": "Routing preference used when the session model is `auto`.",
|
|
13306
|
+
"description": "Routing preference used when the session model is `auto`. `fast` is an integrator-only latency preset and is not a first-party GitHub Copilot product preference.",
|
|
13047
13307
|
"title": "AutoTier",
|
|
13048
13308
|
"x-enumDescriptions": {
|
|
13049
13309
|
"efficiency": "Optimize for efficiency.",
|
|
13050
13310
|
"balance": "Balance efficiency and intelligence.",
|
|
13051
|
-
"intelligence": "Optimize for intelligence."
|
|
13311
|
+
"intelligence": "Optimize for intelligence.",
|
|
13312
|
+
"fast": "Integrator-only preset that optimizes for latency."
|
|
13052
13313
|
}
|
|
13053
13314
|
},
|
|
13054
13315
|
"BuiltInModelCatalog": {
|
|
@@ -13661,7 +13922,7 @@
|
|
|
13661
13922
|
"properties": {
|
|
13662
13923
|
"autoTier": {
|
|
13663
13924
|
"$ref": "#/definitions/AutoTier",
|
|
13664
|
-
"description": "Routing preference for sessions whose model is `auto`. On create or cold resume, this establishes the preference sent as `tier` on CAPI `/auto` requests; when omitted on cold resume, the runtime restores the last committed preference. On resident resume, a different value requests a safe switch after resume succeeds and cannot change an in-flight turn. Successful switches are persisted for later cold resume. When no preference is supplied or restored, CAPI default routing is used."
|
|
13925
|
+
"description": "Routing preference for sessions whose model is `auto`. On create or cold resume, this establishes the preference sent as `tier` on CAPI `/auto` requests; when omitted on cold resume, the runtime restores the last committed preference. On resident resume, a different value requests a safe switch after resume succeeds and cannot change an in-flight turn. Successful switches are persisted for later cold resume. When no preference is supplied or restored, CAPI default routing is used. `fast` is an integrator-only latency preset, not a first-party GitHub Copilot product preference."
|
|
13665
13926
|
},
|
|
13666
13927
|
"enableWebSocketResponses": {
|
|
13667
13928
|
"type": "boolean",
|
|
@@ -13764,6 +14025,10 @@
|
|
|
13764
14025
|
"provenance": {
|
|
13765
14026
|
"$ref": "#/definitions/CatalogAiSkillCandidateProvenance",
|
|
13766
14027
|
"description": "Where the catalog reference was observed, without the card itself or any content digest."
|
|
14028
|
+
},
|
|
14029
|
+
"trust": {
|
|
14030
|
+
"$ref": "#/definitions/CatalogTrustSnapshot",
|
|
14031
|
+
"description": "Versioned trust metadata observed from the catalog authority. Optional for protocol-3 compatibility with runtimes that predate trust snapshots. A trust-capable runtime emits an explicit snapshot even when the authority omitted or malformed its trust field."
|
|
13767
14032
|
}
|
|
13768
14033
|
},
|
|
13769
14034
|
"required": [
|
|
@@ -13935,7 +14200,8 @@
|
|
|
13935
14200
|
"legacy-mcp-server-card",
|
|
13936
14201
|
"ai-skill-discovery",
|
|
13937
14202
|
"mcp-install-planning",
|
|
13938
|
-
"multiple-transport-choice"
|
|
14203
|
+
"multiple-transport-choice",
|
|
14204
|
+
"trust-snapshot"
|
|
13939
14205
|
],
|
|
13940
14206
|
"description": "A wire feature a caller can require of the catalog surface, negotiated per request. A grant means the runtime understands the feature's contract, not that the deployment has enabled the operation; typed unavailable results report availability separately.",
|
|
13941
14207
|
"title": "CatalogCapability",
|
|
@@ -13944,7 +14210,8 @@
|
|
|
13944
14210
|
"legacy-mcp-server-card": "Understands the legacy `application/mcp-server+json` media type.",
|
|
13945
14211
|
"ai-skill-discovery": "Understands `application/ai-skill` candidates as discovery-only and typed non-installable.",
|
|
13946
14212
|
"mcp-install-planning": "Understands side-effect-free MCP install-plan requests, results, and plan handles; `planning-unavailable` separately reports that planning is not enabled.",
|
|
13947
|
-
"multiple-transport-choice": "Understands plans that enumerate every eligible transport rather than a single preferred one."
|
|
14213
|
+
"multiple-transport-choice": "Understands plans that enumerate every eligible transport rather than a single preferred one.",
|
|
14214
|
+
"trust-snapshot": "Understands versioned candidate trust snapshots. Protocol-3 callers must require this capability before the runtime adds the optional snapshot field."
|
|
13948
14215
|
}
|
|
13949
14216
|
},
|
|
13950
14217
|
"CatalogCapabilityId": {
|
|
@@ -14236,6 +14503,10 @@
|
|
|
14236
14503
|
"provenance": {
|
|
14237
14504
|
"$ref": "#/definitions/CatalogMcpServerCandidateProvenance",
|
|
14238
14505
|
"description": "Where the catalog reference was observed, without the card itself or any content digest."
|
|
14506
|
+
},
|
|
14507
|
+
"trust": {
|
|
14508
|
+
"$ref": "#/definitions/CatalogTrustSnapshot",
|
|
14509
|
+
"description": "Versioned trust metadata observed from the catalog authority. Optional for protocol-3 compatibility with runtimes that predate trust snapshots. A trust-capable runtime emits an explicit snapshot even when the authority omitted or malformed its trust field."
|
|
14239
14510
|
}
|
|
14240
14511
|
},
|
|
14241
14512
|
"required": [
|
|
@@ -14356,10 +14627,12 @@
|
|
|
14356
14627
|
"supportedCapabilities": {
|
|
14357
14628
|
"type": "array",
|
|
14358
14629
|
"items": {
|
|
14359
|
-
"$ref": "#/definitions/
|
|
14360
|
-
"description": "
|
|
14630
|
+
"$ref": "#/definitions/CatalogCapabilityId",
|
|
14631
|
+
"description": "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."
|
|
14361
14632
|
},
|
|
14362
|
-
"
|
|
14633
|
+
"maxItems": 32,
|
|
14634
|
+
"uniqueItems": true,
|
|
14635
|
+
"description": "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."
|
|
14363
14636
|
},
|
|
14364
14637
|
"unsupportedCapabilities": {
|
|
14365
14638
|
"type": "array",
|
|
@@ -14677,6 +14950,414 @@
|
|
|
14677
14950
|
"description": "A completed catalog search: inert candidate summaries, each carrying a single-use handle.",
|
|
14678
14951
|
"title": "CatalogSearchSucceeded"
|
|
14679
14952
|
},
|
|
14953
|
+
"CatalogTrustEligibility": {
|
|
14954
|
+
"type": "string",
|
|
14955
|
+
"enum": [
|
|
14956
|
+
"default",
|
|
14957
|
+
"expanded",
|
|
14958
|
+
"hidden",
|
|
14959
|
+
"unknown"
|
|
14960
|
+
],
|
|
14961
|
+
"description": "Authority-computed exposure eligibility, kept separate from tier. The current tier-only Agent Finder response maps to `unknown`, never to a locally inferred eligibility.",
|
|
14962
|
+
"title": "CatalogTrustEligibility",
|
|
14963
|
+
"x-enumDescriptions": {
|
|
14964
|
+
"default": "Eligible for default catalogue exposure.",
|
|
14965
|
+
"expanded": "Eligible only when expanded or community results are requested.",
|
|
14966
|
+
"hidden": "Not eligible for normal catalogue exposure.",
|
|
14967
|
+
"unknown": "The authority did not supply an eligibility decision."
|
|
14968
|
+
}
|
|
14969
|
+
},
|
|
14970
|
+
"CatalogTrustProvenance": {
|
|
14971
|
+
"type": "object",
|
|
14972
|
+
"properties": {
|
|
14973
|
+
"source": {
|
|
14974
|
+
"$ref": "#/definitions/CatalogTrustSource",
|
|
14975
|
+
"description": "Bounded authority that supplied the trust field."
|
|
14976
|
+
},
|
|
14977
|
+
"observedAt": {
|
|
14978
|
+
"type": "string",
|
|
14979
|
+
"minLength": 20,
|
|
14980
|
+
"maxLength": 64,
|
|
14981
|
+
"format": "date-time",
|
|
14982
|
+
"description": "ISO 8601 timestamp with a timezone offset at which the runtime observed the search result carrying this trust field."
|
|
14983
|
+
}
|
|
14984
|
+
},
|
|
14985
|
+
"required": [
|
|
14986
|
+
"source",
|
|
14987
|
+
"observedAt"
|
|
14988
|
+
],
|
|
14989
|
+
"additionalProperties": false,
|
|
14990
|
+
"description": "Where and when the runtime observed the trust metadata. Observation time is not the authority's evaluation time and must not be used to infer staleness.",
|
|
14991
|
+
"title": "CatalogTrustProvenance"
|
|
14992
|
+
},
|
|
14993
|
+
"CatalogTrustSnapshot": {
|
|
14994
|
+
"anyOf": [
|
|
14995
|
+
{
|
|
14996
|
+
"$ref": "#/definitions/CatalogTrustSnapshotCurrent",
|
|
14997
|
+
"description": "A recognised current Agent Finder T1 or T2 trust tier."
|
|
14998
|
+
},
|
|
14999
|
+
{
|
|
15000
|
+
"$ref": "#/definitions/CatalogTrustSnapshotAbsent",
|
|
15001
|
+
"description": "Discriminator: the authority omitted trust metadata."
|
|
15002
|
+
},
|
|
15003
|
+
{
|
|
15004
|
+
"$ref": "#/definitions/CatalogTrustSnapshotStale",
|
|
15005
|
+
"description": "Discriminator: the authority explicitly marked the assessment stale."
|
|
15006
|
+
},
|
|
15007
|
+
{
|
|
15008
|
+
"$ref": "#/definitions/CatalogTrustSnapshotDowngraded",
|
|
15009
|
+
"description": "Discriminator: the authority explicitly reported a downgraded assessment."
|
|
15010
|
+
},
|
|
15011
|
+
{
|
|
15012
|
+
"$ref": "#/definitions/CatalogTrustSnapshotRevoked",
|
|
15013
|
+
"description": "Discriminator: the authority explicitly revoked the assessment."
|
|
15014
|
+
},
|
|
15015
|
+
{
|
|
15016
|
+
"$ref": "#/definitions/CatalogTrustSnapshotUnsupported",
|
|
15017
|
+
"description": "Discriminator: the authority supplied a bounded trust value this runtime does not understand."
|
|
15018
|
+
},
|
|
15019
|
+
{
|
|
15020
|
+
"$ref": "#/definitions/CatalogTrustSnapshotMalformed",
|
|
15021
|
+
"description": "Discriminator: the trust field was empty, unbounded, or had the wrong JSON type."
|
|
15022
|
+
}
|
|
15023
|
+
],
|
|
15024
|
+
"description": "A versioned, bounded trust observation carried unchanged with a catalog candidate and its private handle context. Current observations require a recognised T1/T2 tier; every non-current state structurally forbids a tier. Eligibility remains `unknown` while Agent Finder supplies no exposure decision, and states absent from its current wire are never inferred from age, relevance, popularity, or a tier transition.",
|
|
15025
|
+
"title": "CatalogTrustSnapshot"
|
|
15026
|
+
},
|
|
15027
|
+
"CatalogTrustSnapshotAbsent": {
|
|
15028
|
+
"type": "object",
|
|
15029
|
+
"properties": {
|
|
15030
|
+
"schemaVersion": {
|
|
15031
|
+
"$ref": "#/definitions/CatalogTrustSnapshotSchemaVersion",
|
|
15032
|
+
"description": "Schema version of this runtime-owned snapshot envelope."
|
|
15033
|
+
},
|
|
15034
|
+
"status": {
|
|
15035
|
+
"$ref": "#/definitions/CatalogTrustSnapshotAbsentStatus",
|
|
15036
|
+
"const": "absent",
|
|
15037
|
+
"description": "Discriminator: the authority omitted trust metadata."
|
|
15038
|
+
},
|
|
15039
|
+
"eligibility": {
|
|
15040
|
+
"$ref": "#/definitions/CatalogTrustEligibility",
|
|
15041
|
+
"description": "Service-computed exposure eligibility. `unknown` is required while Agent Finder returns no explicit eligibility field."
|
|
15042
|
+
},
|
|
15043
|
+
"provenance": {
|
|
15044
|
+
"$ref": "#/definitions/CatalogTrustProvenance",
|
|
15045
|
+
"description": "Bounded source and observation time for this snapshot. This is distinct from evidence used by the authority to calculate trust."
|
|
15046
|
+
}
|
|
15047
|
+
},
|
|
15048
|
+
"required": [
|
|
15049
|
+
"schemaVersion",
|
|
15050
|
+
"status",
|
|
15051
|
+
"eligibility",
|
|
15052
|
+
"provenance"
|
|
15053
|
+
],
|
|
15054
|
+
"additionalProperties": false,
|
|
15055
|
+
"description": "Discriminator: the authority omitted trust metadata.",
|
|
15056
|
+
"title": "CatalogTrustSnapshotAbsent"
|
|
15057
|
+
},
|
|
15058
|
+
"CatalogTrustSnapshotAbsentStatus": {
|
|
15059
|
+
"type": "string",
|
|
15060
|
+
"enum": [
|
|
15061
|
+
"absent"
|
|
15062
|
+
],
|
|
15063
|
+
"description": "The authority omitted trust metadata.",
|
|
15064
|
+
"title": "CatalogTrustSnapshotAbsentStatus",
|
|
15065
|
+
"x-enumDescriptions": {
|
|
15066
|
+
"absent": "The authority omitted trust metadata."
|
|
15067
|
+
}
|
|
15068
|
+
},
|
|
15069
|
+
"CatalogTrustSnapshotCurrent": {
|
|
15070
|
+
"type": "object",
|
|
15071
|
+
"properties": {
|
|
15072
|
+
"schemaVersion": {
|
|
15073
|
+
"$ref": "#/definitions/CatalogTrustSnapshotSchemaVersion",
|
|
15074
|
+
"description": "Schema version of this runtime-owned snapshot envelope."
|
|
15075
|
+
},
|
|
15076
|
+
"status": {
|
|
15077
|
+
"$ref": "#/definitions/CatalogTrustSnapshotCurrentStatus",
|
|
15078
|
+
"const": "current",
|
|
15079
|
+
"description": "Discriminator: a recognised current trust tier was observed."
|
|
15080
|
+
},
|
|
15081
|
+
"tier": {
|
|
15082
|
+
"$ref": "#/definitions/CatalogTrustTier",
|
|
15083
|
+
"description": "Service-computed T1 or T2 trust tier."
|
|
15084
|
+
},
|
|
15085
|
+
"eligibility": {
|
|
15086
|
+
"$ref": "#/definitions/CatalogTrustEligibility",
|
|
15087
|
+
"description": "Service-computed exposure eligibility. `unknown` is required while Agent Finder returns no explicit eligibility field."
|
|
15088
|
+
},
|
|
15089
|
+
"provenance": {
|
|
15090
|
+
"$ref": "#/definitions/CatalogTrustProvenance",
|
|
15091
|
+
"description": "Bounded source and observation time for this snapshot. This is distinct from evidence used by the authority to calculate trust."
|
|
15092
|
+
}
|
|
15093
|
+
},
|
|
15094
|
+
"required": [
|
|
15095
|
+
"schemaVersion",
|
|
15096
|
+
"status",
|
|
15097
|
+
"tier",
|
|
15098
|
+
"eligibility",
|
|
15099
|
+
"provenance"
|
|
15100
|
+
],
|
|
15101
|
+
"additionalProperties": false,
|
|
15102
|
+
"description": "A recognised current Agent Finder T1 or T2 trust tier.",
|
|
15103
|
+
"title": "CatalogTrustSnapshotCurrent"
|
|
15104
|
+
},
|
|
15105
|
+
"CatalogTrustSnapshotCurrentStatus": {
|
|
15106
|
+
"type": "string",
|
|
15107
|
+
"enum": [
|
|
15108
|
+
"current"
|
|
15109
|
+
],
|
|
15110
|
+
"description": "A recognised T1 or T2 service tier was observed.",
|
|
15111
|
+
"title": "CatalogTrustSnapshotCurrentStatus",
|
|
15112
|
+
"x-enumDescriptions": {
|
|
15113
|
+
"current": "A recognised T1 or T2 service tier was observed."
|
|
15114
|
+
}
|
|
15115
|
+
},
|
|
15116
|
+
"CatalogTrustSnapshotDowngraded": {
|
|
15117
|
+
"type": "object",
|
|
15118
|
+
"properties": {
|
|
15119
|
+
"schemaVersion": {
|
|
15120
|
+
"$ref": "#/definitions/CatalogTrustSnapshotSchemaVersion",
|
|
15121
|
+
"description": "Schema version of this runtime-owned snapshot envelope."
|
|
15122
|
+
},
|
|
15123
|
+
"status": {
|
|
15124
|
+
"$ref": "#/definitions/CatalogTrustSnapshotDowngradedStatus",
|
|
15125
|
+
"const": "downgraded",
|
|
15126
|
+
"description": "Discriminator: the authority explicitly reported a downgraded assessment."
|
|
15127
|
+
},
|
|
15128
|
+
"eligibility": {
|
|
15129
|
+
"$ref": "#/definitions/CatalogTrustEligibility",
|
|
15130
|
+
"description": "Service-computed exposure eligibility. `unknown` is required while Agent Finder returns no explicit eligibility field."
|
|
15131
|
+
},
|
|
15132
|
+
"provenance": {
|
|
15133
|
+
"$ref": "#/definitions/CatalogTrustProvenance",
|
|
15134
|
+
"description": "Bounded source and observation time for this snapshot. This is distinct from evidence used by the authority to calculate trust."
|
|
15135
|
+
}
|
|
15136
|
+
},
|
|
15137
|
+
"required": [
|
|
15138
|
+
"schemaVersion",
|
|
15139
|
+
"status",
|
|
15140
|
+
"eligibility",
|
|
15141
|
+
"provenance"
|
|
15142
|
+
],
|
|
15143
|
+
"additionalProperties": false,
|
|
15144
|
+
"description": "Discriminator: the authority explicitly reported a downgraded assessment.",
|
|
15145
|
+
"title": "CatalogTrustSnapshotDowngraded"
|
|
15146
|
+
},
|
|
15147
|
+
"CatalogTrustSnapshotDowngradedStatus": {
|
|
15148
|
+
"type": "string",
|
|
15149
|
+
"enum": [
|
|
15150
|
+
"downgraded"
|
|
15151
|
+
],
|
|
15152
|
+
"description": "The authority explicitly reported a downgraded assessment.",
|
|
15153
|
+
"title": "CatalogTrustSnapshotDowngradedStatus",
|
|
15154
|
+
"x-enumDescriptions": {
|
|
15155
|
+
"downgraded": "The authority explicitly reported a downgraded assessment."
|
|
15156
|
+
}
|
|
15157
|
+
},
|
|
15158
|
+
"CatalogTrustSnapshotMalformed": {
|
|
15159
|
+
"type": "object",
|
|
15160
|
+
"properties": {
|
|
15161
|
+
"schemaVersion": {
|
|
15162
|
+
"$ref": "#/definitions/CatalogTrustSnapshotSchemaVersion",
|
|
15163
|
+
"description": "Schema version of this runtime-owned snapshot envelope."
|
|
15164
|
+
},
|
|
15165
|
+
"status": {
|
|
15166
|
+
"$ref": "#/definitions/CatalogTrustSnapshotMalformedStatus",
|
|
15167
|
+
"const": "malformed",
|
|
15168
|
+
"description": "Discriminator: the trust field was empty, unbounded, or had the wrong JSON type."
|
|
15169
|
+
},
|
|
15170
|
+
"eligibility": {
|
|
15171
|
+
"$ref": "#/definitions/CatalogTrustEligibility",
|
|
15172
|
+
"description": "Service-computed exposure eligibility. `unknown` is required while Agent Finder returns no explicit eligibility field."
|
|
15173
|
+
},
|
|
15174
|
+
"provenance": {
|
|
15175
|
+
"$ref": "#/definitions/CatalogTrustProvenance",
|
|
15176
|
+
"description": "Bounded source and observation time for this snapshot. This is distinct from evidence used by the authority to calculate trust."
|
|
15177
|
+
}
|
|
15178
|
+
},
|
|
15179
|
+
"required": [
|
|
15180
|
+
"schemaVersion",
|
|
15181
|
+
"status",
|
|
15182
|
+
"eligibility",
|
|
15183
|
+
"provenance"
|
|
15184
|
+
],
|
|
15185
|
+
"additionalProperties": false,
|
|
15186
|
+
"description": "Discriminator: the trust field was empty, unbounded, or had the wrong JSON type.",
|
|
15187
|
+
"title": "CatalogTrustSnapshotMalformed"
|
|
15188
|
+
},
|
|
15189
|
+
"CatalogTrustSnapshotMalformedStatus": {
|
|
15190
|
+
"type": "string",
|
|
15191
|
+
"enum": [
|
|
15192
|
+
"malformed"
|
|
15193
|
+
],
|
|
15194
|
+
"description": "The trust field was empty, unbounded, or had the wrong JSON type.",
|
|
15195
|
+
"title": "CatalogTrustSnapshotMalformedStatus",
|
|
15196
|
+
"x-enumDescriptions": {
|
|
15197
|
+
"malformed": "The trust field was empty, unbounded, or had the wrong JSON type."
|
|
15198
|
+
}
|
|
15199
|
+
},
|
|
15200
|
+
"CatalogTrustSnapshotRevoked": {
|
|
15201
|
+
"type": "object",
|
|
15202
|
+
"properties": {
|
|
15203
|
+
"schemaVersion": {
|
|
15204
|
+
"$ref": "#/definitions/CatalogTrustSnapshotSchemaVersion",
|
|
15205
|
+
"description": "Schema version of this runtime-owned snapshot envelope."
|
|
15206
|
+
},
|
|
15207
|
+
"status": {
|
|
15208
|
+
"$ref": "#/definitions/CatalogTrustSnapshotRevokedStatus",
|
|
15209
|
+
"const": "revoked",
|
|
15210
|
+
"description": "Discriminator: the authority explicitly revoked the assessment."
|
|
15211
|
+
},
|
|
15212
|
+
"eligibility": {
|
|
15213
|
+
"$ref": "#/definitions/CatalogTrustEligibility",
|
|
15214
|
+
"description": "Service-computed exposure eligibility. `unknown` is required while Agent Finder returns no explicit eligibility field."
|
|
15215
|
+
},
|
|
15216
|
+
"provenance": {
|
|
15217
|
+
"$ref": "#/definitions/CatalogTrustProvenance",
|
|
15218
|
+
"description": "Bounded source and observation time for this snapshot. This is distinct from evidence used by the authority to calculate trust."
|
|
15219
|
+
}
|
|
15220
|
+
},
|
|
15221
|
+
"required": [
|
|
15222
|
+
"schemaVersion",
|
|
15223
|
+
"status",
|
|
15224
|
+
"eligibility",
|
|
15225
|
+
"provenance"
|
|
15226
|
+
],
|
|
15227
|
+
"additionalProperties": false,
|
|
15228
|
+
"description": "Discriminator: the authority explicitly revoked the assessment.",
|
|
15229
|
+
"title": "CatalogTrustSnapshotRevoked"
|
|
15230
|
+
},
|
|
15231
|
+
"CatalogTrustSnapshotRevokedStatus": {
|
|
15232
|
+
"type": "string",
|
|
15233
|
+
"enum": [
|
|
15234
|
+
"revoked"
|
|
15235
|
+
],
|
|
15236
|
+
"description": "The authority explicitly revoked its assessment.",
|
|
15237
|
+
"title": "CatalogTrustSnapshotRevokedStatus",
|
|
15238
|
+
"x-enumDescriptions": {
|
|
15239
|
+
"revoked": "The authority explicitly revoked its assessment."
|
|
15240
|
+
}
|
|
15241
|
+
},
|
|
15242
|
+
"CatalogTrustSnapshotSchemaVersion": {
|
|
15243
|
+
"type": "string",
|
|
15244
|
+
"enum": [
|
|
15245
|
+
"v1"
|
|
15246
|
+
],
|
|
15247
|
+
"description": "Schema version of the catalogue trust snapshot envelope",
|
|
15248
|
+
"title": "CatalogTrustSnapshotSchemaVersion",
|
|
15249
|
+
"x-enumDescriptions": {
|
|
15250
|
+
"v1": "Initial envelope carrying one bounded service tier or one explicit unavailable state."
|
|
15251
|
+
}
|
|
15252
|
+
},
|
|
15253
|
+
"CatalogTrustSnapshotStale": {
|
|
15254
|
+
"type": "object",
|
|
15255
|
+
"properties": {
|
|
15256
|
+
"schemaVersion": {
|
|
15257
|
+
"$ref": "#/definitions/CatalogTrustSnapshotSchemaVersion",
|
|
15258
|
+
"description": "Schema version of this runtime-owned snapshot envelope."
|
|
15259
|
+
},
|
|
15260
|
+
"status": {
|
|
15261
|
+
"$ref": "#/definitions/CatalogTrustSnapshotStaleStatus",
|
|
15262
|
+
"const": "stale",
|
|
15263
|
+
"description": "Discriminator: the authority explicitly marked the assessment stale."
|
|
15264
|
+
},
|
|
15265
|
+
"eligibility": {
|
|
15266
|
+
"$ref": "#/definitions/CatalogTrustEligibility",
|
|
15267
|
+
"description": "Service-computed exposure eligibility. `unknown` is required while Agent Finder returns no explicit eligibility field."
|
|
15268
|
+
},
|
|
15269
|
+
"provenance": {
|
|
15270
|
+
"$ref": "#/definitions/CatalogTrustProvenance",
|
|
15271
|
+
"description": "Bounded source and observation time for this snapshot. This is distinct from evidence used by the authority to calculate trust."
|
|
15272
|
+
}
|
|
15273
|
+
},
|
|
15274
|
+
"required": [
|
|
15275
|
+
"schemaVersion",
|
|
15276
|
+
"status",
|
|
15277
|
+
"eligibility",
|
|
15278
|
+
"provenance"
|
|
15279
|
+
],
|
|
15280
|
+
"additionalProperties": false,
|
|
15281
|
+
"description": "Discriminator: the authority explicitly marked the assessment stale.",
|
|
15282
|
+
"title": "CatalogTrustSnapshotStale"
|
|
15283
|
+
},
|
|
15284
|
+
"CatalogTrustSnapshotStaleStatus": {
|
|
15285
|
+
"type": "string",
|
|
15286
|
+
"enum": [
|
|
15287
|
+
"stale"
|
|
15288
|
+
],
|
|
15289
|
+
"description": "The authority explicitly marked its assessment stale.",
|
|
15290
|
+
"title": "CatalogTrustSnapshotStaleStatus",
|
|
15291
|
+
"x-enumDescriptions": {
|
|
15292
|
+
"stale": "The authority explicitly marked its assessment stale."
|
|
15293
|
+
}
|
|
15294
|
+
},
|
|
15295
|
+
"CatalogTrustSnapshotUnsupported": {
|
|
15296
|
+
"type": "object",
|
|
15297
|
+
"properties": {
|
|
15298
|
+
"schemaVersion": {
|
|
15299
|
+
"$ref": "#/definitions/CatalogTrustSnapshotSchemaVersion",
|
|
15300
|
+
"description": "Schema version of this runtime-owned snapshot envelope."
|
|
15301
|
+
},
|
|
15302
|
+
"status": {
|
|
15303
|
+
"$ref": "#/definitions/CatalogTrustSnapshotUnsupportedStatus",
|
|
15304
|
+
"const": "unsupported",
|
|
15305
|
+
"description": "Discriminator: the authority supplied a bounded trust value this runtime does not understand."
|
|
15306
|
+
},
|
|
15307
|
+
"eligibility": {
|
|
15308
|
+
"$ref": "#/definitions/CatalogTrustEligibility",
|
|
15309
|
+
"description": "Service-computed exposure eligibility. `unknown` is required while Agent Finder returns no explicit eligibility field."
|
|
15310
|
+
},
|
|
15311
|
+
"provenance": {
|
|
15312
|
+
"$ref": "#/definitions/CatalogTrustProvenance",
|
|
15313
|
+
"description": "Bounded source and observation time for this snapshot. This is distinct from evidence used by the authority to calculate trust."
|
|
15314
|
+
}
|
|
15315
|
+
},
|
|
15316
|
+
"required": [
|
|
15317
|
+
"schemaVersion",
|
|
15318
|
+
"status",
|
|
15319
|
+
"eligibility",
|
|
15320
|
+
"provenance"
|
|
15321
|
+
],
|
|
15322
|
+
"additionalProperties": false,
|
|
15323
|
+
"description": "Discriminator: the authority supplied a bounded trust value this runtime does not understand.",
|
|
15324
|
+
"title": "CatalogTrustSnapshotUnsupported"
|
|
15325
|
+
},
|
|
15326
|
+
"CatalogTrustSnapshotUnsupportedStatus": {
|
|
15327
|
+
"type": "string",
|
|
15328
|
+
"enum": [
|
|
15329
|
+
"unsupported"
|
|
15330
|
+
],
|
|
15331
|
+
"description": "The authority supplied a bounded trust value this runtime does not understand.",
|
|
15332
|
+
"title": "CatalogTrustSnapshotUnsupportedStatus",
|
|
15333
|
+
"x-enumDescriptions": {
|
|
15334
|
+
"unsupported": "The authority supplied a bounded trust value this runtime does not understand."
|
|
15335
|
+
}
|
|
15336
|
+
},
|
|
15337
|
+
"CatalogTrustSource": {
|
|
15338
|
+
"type": "string",
|
|
15339
|
+
"enum": [
|
|
15340
|
+
"agent-finder"
|
|
15341
|
+
],
|
|
15342
|
+
"description": "Bounded authority that supplied a catalogue trust observation",
|
|
15343
|
+
"title": "CatalogTrustSource",
|
|
15344
|
+
"x-enumDescriptions": {
|
|
15345
|
+
"agent-finder": "GitHub Agent Finder supplied the trust field on its search result."
|
|
15346
|
+
}
|
|
15347
|
+
},
|
|
15348
|
+
"CatalogTrustTier": {
|
|
15349
|
+
"type": "string",
|
|
15350
|
+
"enum": [
|
|
15351
|
+
"T1",
|
|
15352
|
+
"T2"
|
|
15353
|
+
],
|
|
15354
|
+
"description": "Service-computed trust tier currently emitted by Agent Finder. It is independent of search score, popularity, and client-side ranking.",
|
|
15355
|
+
"title": "CatalogTrustTier",
|
|
15356
|
+
"x-enumDescriptions": {
|
|
15357
|
+
"T1": "Tier one as assigned by the catalogue authority.",
|
|
15358
|
+
"T2": "Tier two as assigned by the catalogue authority."
|
|
15359
|
+
}
|
|
15360
|
+
},
|
|
14680
15361
|
"CatalogUnavailableError": {
|
|
14681
15362
|
"type": "object",
|
|
14682
15363
|
"properties": {
|
|
@@ -14851,6 +15532,15 @@
|
|
|
14851
15532
|
"description": "The request asked for a candidate kind this runtime does not serve.",
|
|
14852
15533
|
"title": "CatalogUnsupportedKindError"
|
|
14853
15534
|
},
|
|
15535
|
+
"ClientMetadata": {
|
|
15536
|
+
"type": "object",
|
|
15537
|
+
"additionalProperties": {
|
|
15538
|
+
"type": "string"
|
|
15539
|
+
},
|
|
15540
|
+
"description": "Client-owned, case-sensitive string metadata persisted with a local session. Clients should namespace keys by owner. Keys must be non-empty and at most 256 UTF-8 bytes; keys under `copilot/` and `github/` are reserved. Values may contain at most 16 KiB of UTF-8 data. A bag may contain at most 128 entries and its serialized sidecar may contain at most 64 KiB. The runtime stores but never interprets these values.",
|
|
15541
|
+
"title": "ClientMetadata",
|
|
15542
|
+
"maxProperties": 128
|
|
15543
|
+
},
|
|
14854
15544
|
"ClientTaskCancelReason": {
|
|
14855
15545
|
"type": "string",
|
|
14856
15546
|
"enum": [
|
|
@@ -15629,6 +16319,10 @@
|
|
|
15629
16319
|
{
|
|
15630
16320
|
"type": "object",
|
|
15631
16321
|
"properties": {
|
|
16322
|
+
"id": {
|
|
16323
|
+
"type": "number",
|
|
16324
|
+
"description": "Numeric database ID of the organization."
|
|
16325
|
+
},
|
|
15632
16326
|
"login": {
|
|
15633
16327
|
"anyOf": [
|
|
15634
16328
|
{
|
|
@@ -15680,7 +16374,7 @@
|
|
|
15680
16374
|
"type": "null"
|
|
15681
16375
|
}
|
|
15682
16376
|
],
|
|
15683
|
-
"description": "Organizations the user belongs to, each with an optional login and display name."
|
|
16377
|
+
"description": "Organizations the user belongs to, each with an optional ID, login, and display name."
|
|
15684
16378
|
},
|
|
15685
16379
|
"codex_agent_enabled": {
|
|
15686
16380
|
"type": "boolean",
|
|
@@ -16055,7 +16749,7 @@
|
|
|
16055
16749
|
"anyOf": [
|
|
16056
16750
|
{
|
|
16057
16751
|
"$ref": "#/definitions/AutoTier",
|
|
16058
|
-
"description": "Routing preference used when the session model is `auto`."
|
|
16752
|
+
"description": "Routing preference used when the session model is `auto`. `fast` is an integrator-only latency preset and is not a first-party GitHub Copilot product preference."
|
|
16059
16753
|
},
|
|
16060
16754
|
{
|
|
16061
16755
|
"type": "null"
|
|
@@ -16067,7 +16761,7 @@
|
|
|
16067
16761
|
"anyOf": [
|
|
16068
16762
|
{
|
|
16069
16763
|
"$ref": "#/definitions/AutoTier",
|
|
16070
|
-
"description": "Routing preference used when the session model is `auto`."
|
|
16764
|
+
"description": "Routing preference used when the session model is `auto`. `fast` is an integrator-only latency preset and is not a first-party GitHub Copilot product preference."
|
|
16071
16765
|
},
|
|
16072
16766
|
{
|
|
16073
16767
|
"type": "null"
|
|
@@ -16675,6 +17369,10 @@
|
|
|
16675
17369
|
"type": "string",
|
|
16676
17370
|
"description": "Plugin version that provided this server, when source is plugin."
|
|
16677
17371
|
},
|
|
17372
|
+
"effectiveSource": {
|
|
17373
|
+
"$ref": "#/definitions/McpSourceRef",
|
|
17374
|
+
"description": "Canonical identity and location of the effective server declaration."
|
|
17375
|
+
},
|
|
16678
17376
|
"enabled": {
|
|
16679
17377
|
"type": "boolean",
|
|
16680
17378
|
"description": "Whether the server is enabled (not in the disabled list)"
|
|
@@ -16949,11 +17647,11 @@
|
|
|
16949
17647
|
"ok",
|
|
16950
17648
|
"expired"
|
|
16951
17649
|
],
|
|
16952
|
-
"description": "Cursor status: 'ok' means the
|
|
17650
|
+
"description": "Cursor status: 'ok' means the read succeeded against the requested history; 'expired' means the requested continuation is unavailable. Recovery is endpoint-specific: session.eventLog.read returns a boundary window of remaining active history that may overlap prior pages, while sessions.readPersistedEvents returns an empty terminal page and never switches journal generations. An expired persisted read is not successful completion; a complete persisted snapshot requires cursorStatus 'ok' and hasMore false.",
|
|
16953
17651
|
"title": "EventsCursorStatus",
|
|
16954
17652
|
"x-enumDescriptions": {
|
|
16955
|
-
"ok": "The
|
|
16956
|
-
"expired": "The
|
|
17653
|
+
"ok": "The read succeeded against the requested history.",
|
|
17654
|
+
"expired": "The requested continuation is unavailable; see the endpoint's recovery semantics."
|
|
16957
17655
|
}
|
|
16958
17656
|
},
|
|
16959
17657
|
"EventsReadDirection": {
|
|
@@ -16985,11 +17683,11 @@
|
|
|
16985
17683
|
},
|
|
16986
17684
|
"hasMore": {
|
|
16987
17685
|
"type": "boolean",
|
|
16988
|
-
"description": "True when more events are available in the read's direction. For a
|
|
17686
|
+
"description": "True when more events are available in the read's direction. For a backward read, true means older persisted events remain before the returned window. A persisted-event page may contain fewer than `max` events because of its byte budget while still reporting hasMore true; continue according to this flag rather than the event count."
|
|
16989
17687
|
},
|
|
16990
17688
|
"cursorStatus": {
|
|
16991
17689
|
"$ref": "#/definitions/EventsCursorStatus",
|
|
16992
|
-
"description": "Cursor status: 'ok' means the cursor was applied successfully
|
|
17690
|
+
"description": "Cursor status: 'ok' means the cursor was applied successfully. For session.eventLog.read, 'expired' means the cursor referred to an event that no longer exists in active history and the read fell back to a boundary of the remaining history: the beginning for a forward read or the newest window for a backward read. That fallback may overlap already rendered events, so active-session consumers should reset, rebase, or deduplicate before continuing. sessions.readPersistedEvents has stricter snapshot semantics: 'expired' returns an empty terminal page and never switches to a replacement journal generation. Other persisted-read I/O failures are RPC errors with diagnostics, not cursor expiry."
|
|
16993
17691
|
}
|
|
16994
17692
|
},
|
|
16995
17693
|
"required": [
|
|
@@ -17697,10 +18395,15 @@
|
|
|
17697
18395
|
"runId": {
|
|
17698
18396
|
"type": "string",
|
|
17699
18397
|
"description": "Factory run identifier."
|
|
18398
|
+
},
|
|
18399
|
+
"executionToken": {
|
|
18400
|
+
"type": "string",
|
|
18401
|
+
"description": "Opaque token identifying the execution attempt to abort."
|
|
17700
18402
|
}
|
|
17701
18403
|
},
|
|
17702
18404
|
"required": [
|
|
17703
|
-
"runId"
|
|
18405
|
+
"runId",
|
|
18406
|
+
"executionToken"
|
|
17704
18407
|
],
|
|
17705
18408
|
"additionalProperties": false,
|
|
17706
18409
|
"description": "Parameters for cooperatively aborting a factory body.",
|
|
@@ -17731,15 +18434,15 @@
|
|
|
17731
18434
|
},
|
|
17732
18435
|
"reasoningEffort": {
|
|
17733
18436
|
"type": "string",
|
|
17734
|
-
"description": "Optional reasoning effort for the subagent.
|
|
18437
|
+
"description": "Optional reasoning effort override for the subagent."
|
|
17735
18438
|
},
|
|
17736
18439
|
"contextTier": {
|
|
17737
18440
|
"$ref": "#/definitions/ContextTier",
|
|
17738
|
-
"description": "Optional context tier for the subagent.
|
|
18441
|
+
"description": "Optional context tier override for the subagent."
|
|
17739
18442
|
},
|
|
17740
18443
|
"agent": {
|
|
17741
18444
|
"type": "string",
|
|
17742
|
-
"description": "Optional custom agent name
|
|
18445
|
+
"description": "Optional built-in or custom agent name whose definition configures the subagent."
|
|
17743
18446
|
}
|
|
17744
18447
|
},
|
|
17745
18448
|
"additionalProperties": false,
|
|
@@ -18280,6 +18983,111 @@
|
|
|
18280
18983
|
"title": "FactoryLogRequest",
|
|
18281
18984
|
"stability": "experimental"
|
|
18282
18985
|
},
|
|
18986
|
+
"FactoryPauseCheckpointAction": {
|
|
18987
|
+
"type": "string",
|
|
18988
|
+
"enum": [
|
|
18989
|
+
"continue",
|
|
18990
|
+
"pause"
|
|
18991
|
+
],
|
|
18992
|
+
"description": "Action the runtime selected for a durable factory pause checkpoint.",
|
|
18993
|
+
"title": "FactoryPauseCheckpointAction",
|
|
18994
|
+
"x-enumDescriptions": {
|
|
18995
|
+
"continue": "The checkpoint was committed by a prior paused attempt, so execution may continue.",
|
|
18996
|
+
"pause": "This attempt claimed the checkpoint and must cooperatively stop."
|
|
18997
|
+
}
|
|
18998
|
+
},
|
|
18999
|
+
"FactoryPauseCheckpointRequest": {
|
|
19000
|
+
"type": "object",
|
|
19001
|
+
"properties": {
|
|
19002
|
+
"runId": {
|
|
19003
|
+
"type": "string",
|
|
19004
|
+
"description": "Factory run identifier."
|
|
19005
|
+
},
|
|
19006
|
+
"executionToken": {
|
|
19007
|
+
"type": "string",
|
|
19008
|
+
"description": "Opaque token identifying the execution attempt that reached the checkpoint."
|
|
19009
|
+
},
|
|
19010
|
+
"key": {
|
|
19011
|
+
"type": "string",
|
|
19012
|
+
"description": "Stable author-defined checkpoint key."
|
|
19013
|
+
}
|
|
19014
|
+
},
|
|
19015
|
+
"required": [
|
|
19016
|
+
"runId",
|
|
19017
|
+
"executionToken",
|
|
19018
|
+
"key"
|
|
19019
|
+
],
|
|
19020
|
+
"additionalProperties": false,
|
|
19021
|
+
"description": "Parameters for an owned durable pause checkpoint.",
|
|
19022
|
+
"title": "FactoryPauseCheckpointRequest",
|
|
19023
|
+
"stability": "experimental"
|
|
19024
|
+
},
|
|
19025
|
+
"FactoryPauseCheckpointResult": {
|
|
19026
|
+
"type": "object",
|
|
19027
|
+
"properties": {
|
|
19028
|
+
"action": {
|
|
19029
|
+
"$ref": "#/definitions/FactoryPauseCheckpointAction",
|
|
19030
|
+
"description": "Whether this execution attempt must pause or may continue."
|
|
19031
|
+
}
|
|
19032
|
+
},
|
|
19033
|
+
"required": [
|
|
19034
|
+
"action"
|
|
19035
|
+
],
|
|
19036
|
+
"additionalProperties": false
|
|
19037
|
+
},
|
|
19038
|
+
"FactoryPauseInfo": {
|
|
19039
|
+
"anyOf": [
|
|
19040
|
+
{
|
|
19041
|
+
"type": "object",
|
|
19042
|
+
"properties": {
|
|
19043
|
+
"type": {
|
|
19044
|
+
"type": "string",
|
|
19045
|
+
"const": "user",
|
|
19046
|
+
"description": "Factory pause initiator discriminator."
|
|
19047
|
+
}
|
|
19048
|
+
},
|
|
19049
|
+
"required": [
|
|
19050
|
+
"type"
|
|
19051
|
+
]
|
|
19052
|
+
},
|
|
19053
|
+
{
|
|
19054
|
+
"type": "object",
|
|
19055
|
+
"properties": {
|
|
19056
|
+
"key": {
|
|
19057
|
+
"type": "string",
|
|
19058
|
+
"description": "Stable author-defined checkpoint key that initiated the pause."
|
|
19059
|
+
},
|
|
19060
|
+
"type": {
|
|
19061
|
+
"type": "string",
|
|
19062
|
+
"const": "checkpoint",
|
|
19063
|
+
"description": "Factory pause initiator discriminator."
|
|
19064
|
+
}
|
|
19065
|
+
},
|
|
19066
|
+
"required": [
|
|
19067
|
+
"type",
|
|
19068
|
+
"key"
|
|
19069
|
+
]
|
|
19070
|
+
}
|
|
19071
|
+
],
|
|
19072
|
+
"description": "Durable metadata describing who initiated a factory pause.",
|
|
19073
|
+
"title": "FactoryPauseInfo"
|
|
19074
|
+
},
|
|
19075
|
+
"FactoryPauseRequest": {
|
|
19076
|
+
"type": "object",
|
|
19077
|
+
"properties": {
|
|
19078
|
+
"runId": {
|
|
19079
|
+
"type": "string",
|
|
19080
|
+
"description": "Factory run identifier."
|
|
19081
|
+
}
|
|
19082
|
+
},
|
|
19083
|
+
"required": [
|
|
19084
|
+
"runId"
|
|
19085
|
+
],
|
|
19086
|
+
"additionalProperties": false,
|
|
19087
|
+
"description": "Parameters for pausing a running factory.",
|
|
19088
|
+
"title": "FactoryPauseRequest",
|
|
19089
|
+
"stability": "experimental"
|
|
19090
|
+
},
|
|
18283
19091
|
"FactoryPhaseObservation": {
|
|
18284
19092
|
"type": "object",
|
|
18285
19093
|
"properties": {
|
|
@@ -18667,6 +19475,10 @@
|
|
|
18667
19475
|
],
|
|
18668
19476
|
"description": "Terminal run outcome, or null while nonterminal."
|
|
18669
19477
|
},
|
|
19478
|
+
"canResume": {
|
|
19479
|
+
"type": "boolean",
|
|
19480
|
+
"description": "Whether the durable run state currently passes runtime resume eligibility checks."
|
|
19481
|
+
},
|
|
18670
19482
|
"phases": {
|
|
18671
19483
|
"type": "array",
|
|
18672
19484
|
"items": {
|
|
@@ -18708,6 +19520,7 @@
|
|
|
18708
19520
|
"observedAt",
|
|
18709
19521
|
"activeSegmentStartedAt",
|
|
18710
19522
|
"terminal",
|
|
19523
|
+
"canResume",
|
|
18711
19524
|
"phases",
|
|
18712
19525
|
"agents",
|
|
18713
19526
|
"progress"
|
|
@@ -18731,6 +19544,10 @@
|
|
|
18731
19544
|
"exclusiveMinimum": 0,
|
|
18732
19545
|
"description": "Approved effective ceiling that was reached."
|
|
18733
19546
|
},
|
|
19547
|
+
"suggestedValue": {
|
|
19548
|
+
"type": "number",
|
|
19549
|
+
"description": "Suggested larger ceiling when the runtime can derive one safely."
|
|
19550
|
+
},
|
|
18734
19551
|
"runId": {
|
|
18735
19552
|
"type": "string",
|
|
18736
19553
|
"description": "Factory run identifier."
|
|
@@ -18870,25 +19687,37 @@
|
|
|
18870
19687
|
"type": "object",
|
|
18871
19688
|
"properties": {
|
|
18872
19689
|
"maxConcurrentSubagents": {
|
|
18873
|
-
"type":
|
|
19690
|
+
"type": [
|
|
19691
|
+
"integer",
|
|
19692
|
+
"null"
|
|
19693
|
+
],
|
|
18874
19694
|
"minimum": 0,
|
|
18875
19695
|
"exclusiveMinimum": 0,
|
|
18876
19696
|
"description": "Maximum number of factory subagents that may run concurrently."
|
|
18877
19697
|
},
|
|
18878
19698
|
"maxTotalSubagents": {
|
|
18879
|
-
"type":
|
|
19699
|
+
"type": [
|
|
19700
|
+
"integer",
|
|
19701
|
+
"null"
|
|
19702
|
+
],
|
|
18880
19703
|
"minimum": 0,
|
|
18881
19704
|
"exclusiveMinimum": 0,
|
|
18882
19705
|
"description": "Maximum total number of factory subagents that may be admitted."
|
|
18883
19706
|
},
|
|
18884
19707
|
"timeoutSeconds": {
|
|
18885
|
-
"type":
|
|
19708
|
+
"type": [
|
|
19709
|
+
"number",
|
|
19710
|
+
"null"
|
|
19711
|
+
],
|
|
18886
19712
|
"exclusiveMinimum": 0,
|
|
18887
19713
|
"maximum": 2147483.647,
|
|
18888
19714
|
"description": "Maximum accumulated active-execution time in seconds. Active execution includes the entire extension body, subprocess waits, queued-agent waits, and sleeps; time between resumed attempts is not counted."
|
|
18889
19715
|
},
|
|
18890
19716
|
"maxAiCredits": {
|
|
18891
|
-
"type":
|
|
19717
|
+
"type": [
|
|
19718
|
+
"number",
|
|
19719
|
+
"null"
|
|
19720
|
+
],
|
|
18892
19721
|
"exclusiveMinimum": 0,
|
|
18893
19722
|
"description": "Maximum AI credits consumed by factory subagents and their descendants. The post-paid ceiling is soft: parallel turns can settle beyond it before the run stops."
|
|
18894
19723
|
}
|
|
@@ -18959,6 +19788,10 @@
|
|
|
18959
19788
|
"snapshot": {
|
|
18960
19789
|
"description": "Partial journal and progress snapshot for a halted, cancelled, or errored run.",
|
|
18961
19790
|
"x-opaque-json": true
|
|
19791
|
+
},
|
|
19792
|
+
"pauseInfo": {
|
|
19793
|
+
"$ref": "#/definitions/FactoryPauseInfo",
|
|
19794
|
+
"description": "Structured pause initiator metadata for a paused attempt."
|
|
18962
19795
|
}
|
|
18963
19796
|
},
|
|
18964
19797
|
"required": [
|
|
@@ -18976,6 +19809,7 @@
|
|
|
18976
19809
|
"running",
|
|
18977
19810
|
"completed",
|
|
18978
19811
|
"halted",
|
|
19812
|
+
"paused",
|
|
18979
19813
|
"cancelled",
|
|
18980
19814
|
"error"
|
|
18981
19815
|
],
|
|
@@ -18986,6 +19820,7 @@
|
|
|
18986
19820
|
"running": "The run is executing.",
|
|
18987
19821
|
"completed": "The run completed successfully.",
|
|
18988
19822
|
"halted": "The run was interrupted while resource budget remained.",
|
|
19823
|
+
"paused": "The current attempt stopped intentionally and the run may be resumed.",
|
|
18989
19824
|
"cancelled": "The run was cancelled before completion.",
|
|
18990
19825
|
"error": "The factory body failed or reached a cumulative resource ceiling."
|
|
18991
19826
|
}
|
|
@@ -19104,6 +19939,10 @@
|
|
|
19104
19939
|
}
|
|
19105
19940
|
],
|
|
19106
19941
|
"description": "Terminal run outcome, or null while nonterminal."
|
|
19942
|
+
},
|
|
19943
|
+
"canResume": {
|
|
19944
|
+
"type": "boolean",
|
|
19945
|
+
"description": "Whether the durable run state currently passes runtime resume eligibility checks."
|
|
19107
19946
|
}
|
|
19108
19947
|
},
|
|
19109
19948
|
"required": [
|
|
@@ -19125,7 +19964,8 @@
|
|
|
19125
19964
|
"approved",
|
|
19126
19965
|
"observedAt",
|
|
19127
19966
|
"activeSegmentStartedAt",
|
|
19128
|
-
"terminal"
|
|
19967
|
+
"terminal",
|
|
19968
|
+
"canResume"
|
|
19129
19969
|
],
|
|
19130
19970
|
"additionalProperties": false,
|
|
19131
19971
|
"description": "Durable factory run summary with read-time live overlays.",
|
|
@@ -19150,8 +19990,23 @@
|
|
|
19150
19990
|
"resultPreview": {
|
|
19151
19991
|
"type": "string",
|
|
19152
19992
|
"description": "Prompt-safe preview of the completed result."
|
|
19993
|
+
},
|
|
19994
|
+
"pauseInfo": {
|
|
19995
|
+
"anyOf": [
|
|
19996
|
+
{
|
|
19997
|
+
"$ref": "#/definitions/FactoryPauseInfo",
|
|
19998
|
+
"description": "Durable metadata describing who initiated a factory pause."
|
|
19999
|
+
},
|
|
20000
|
+
{
|
|
20001
|
+
"type": "null"
|
|
20002
|
+
}
|
|
20003
|
+
],
|
|
20004
|
+
"description": "Pause initiator metadata, or null when the run did not pause."
|
|
19153
20005
|
}
|
|
19154
20006
|
},
|
|
20007
|
+
"required": [
|
|
20008
|
+
"pauseInfo"
|
|
20009
|
+
],
|
|
19155
20010
|
"additionalProperties": false,
|
|
19156
20011
|
"description": "Prompt-safe terminal factory outcome.",
|
|
19157
20012
|
"title": "FactoryRunTerminal",
|
|
@@ -19254,10 +20109,27 @@
|
|
|
19254
20109
|
"prompt": {
|
|
19255
20110
|
"type": "string",
|
|
19256
20111
|
"description": "Optional user prompt to combine with fleet instructions"
|
|
20112
|
+
},
|
|
20113
|
+
"attachments": {
|
|
20114
|
+
"type": "array",
|
|
20115
|
+
"items": {
|
|
20116
|
+
"$ref": "#/definitions/Attachment",
|
|
20117
|
+
"description": "A user message attachment — a file, directory, code selection, blob, GitHub-anchored pointer, or extension-supplied context payload"
|
|
20118
|
+
},
|
|
20119
|
+
"description": "Optional attachments (files, directories, selections, blobs, GitHub references) to include with the fleet request"
|
|
20120
|
+
},
|
|
20121
|
+
"billable": {
|
|
20122
|
+
"type": "boolean",
|
|
20123
|
+
"description": "If false, this request will not trigger a Premium Request Unit charge. User requests default to billable.",
|
|
20124
|
+
"visibility": "internal"
|
|
20125
|
+
},
|
|
20126
|
+
"wait": {
|
|
20127
|
+
"type": "boolean",
|
|
20128
|
+
"description": "If true, await completion of the agentic loop for this fleet request before returning. Defaults to false."
|
|
19257
20129
|
}
|
|
19258
20130
|
},
|
|
19259
20131
|
"additionalProperties": false,
|
|
19260
|
-
"description": "
|
|
20132
|
+
"description": "Parameters for starting fleet orchestration: an optional user prompt combined with the fleet instructions, plus the send options forwarded to the resulting turn.",
|
|
19261
20133
|
"title": "FleetStartRequest",
|
|
19262
20134
|
"stability": "experimental"
|
|
19263
20135
|
},
|
|
@@ -22161,6 +23033,10 @@
|
|
|
22161
23033
|
"workingDirectory": {
|
|
22162
23034
|
"type": "string",
|
|
22163
23035
|
"description": "Working directory used as context for discovery (e.g., plugin resolution)"
|
|
23036
|
+
},
|
|
23037
|
+
"includeEffectiveSource": {
|
|
23038
|
+
"type": "boolean",
|
|
23039
|
+
"description": "Whether to include canonical effectiveSource metadata for each discovered server. Callers must opt in so protocol-3 clients retain the legacy closed response shape."
|
|
22164
23040
|
}
|
|
22165
23041
|
},
|
|
22166
23042
|
"additionalProperties": false,
|
|
@@ -25139,6 +26015,88 @@
|
|
|
25139
26015
|
"description": "Env-value mode recorded on the session after the update.",
|
|
25140
26016
|
"title": "McpSetEnvValueModeResult"
|
|
25141
26017
|
},
|
|
26018
|
+
"McpSourceFile": {
|
|
26019
|
+
"type": "object",
|
|
26020
|
+
"properties": {
|
|
26021
|
+
"uri": {
|
|
26022
|
+
"type": "string",
|
|
26023
|
+
"format": "uri",
|
|
26024
|
+
"description": "Canonical file URI for the configuration document"
|
|
26025
|
+
},
|
|
26026
|
+
"jsonPointer": {
|
|
26027
|
+
"type": "string",
|
|
26028
|
+
"description": "RFC 6901 JSON Pointer to the server declaration, when known"
|
|
26029
|
+
}
|
|
26030
|
+
},
|
|
26031
|
+
"required": [
|
|
26032
|
+
"uri"
|
|
26033
|
+
],
|
|
26034
|
+
"additionalProperties": false,
|
|
26035
|
+
"description": "Concrete configuration file containing an MCP server declaration.",
|
|
26036
|
+
"title": "McpSourceFile"
|
|
26037
|
+
},
|
|
26038
|
+
"McpSourcePlugin": {
|
|
26039
|
+
"type": "object",
|
|
26040
|
+
"properties": {
|
|
26041
|
+
"id": {
|
|
26042
|
+
"type": "string",
|
|
26043
|
+
"minLength": 1,
|
|
26044
|
+
"description": "Canonical plugin identity"
|
|
26045
|
+
},
|
|
26046
|
+
"name": {
|
|
26047
|
+
"type": "string",
|
|
26048
|
+
"minLength": 1,
|
|
26049
|
+
"description": "Human-readable plugin name, when available"
|
|
26050
|
+
},
|
|
26051
|
+
"version": {
|
|
26052
|
+
"type": "string",
|
|
26053
|
+
"minLength": 1,
|
|
26054
|
+
"description": "Plugin version, when available"
|
|
26055
|
+
}
|
|
26056
|
+
},
|
|
26057
|
+
"required": [
|
|
26058
|
+
"id"
|
|
26059
|
+
],
|
|
26060
|
+
"additionalProperties": false,
|
|
26061
|
+
"description": "Plugin identity associated with an MCP server declaration.",
|
|
26062
|
+
"title": "McpSourcePlugin"
|
|
26063
|
+
},
|
|
26064
|
+
"McpSourceRef": {
|
|
26065
|
+
"type": "object",
|
|
26066
|
+
"properties": {
|
|
26067
|
+
"kind": {
|
|
26068
|
+
"type": "string",
|
|
26069
|
+
"minLength": 1,
|
|
26070
|
+
"description": "Open source-kind identifier. Known values include user, workspace, invocation, plugin, builtin, and device-registry."
|
|
26071
|
+
},
|
|
26072
|
+
"id": {
|
|
26073
|
+
"type": "string",
|
|
26074
|
+
"minLength": 1,
|
|
26075
|
+
"description": "Opaque stable identity for the configuration source. Clients must not parse this value."
|
|
26076
|
+
},
|
|
26077
|
+
"editability": {
|
|
26078
|
+
"type": "string",
|
|
26079
|
+
"minLength": 1,
|
|
26080
|
+
"description": "Open semantic editability identifier. Known values are editable and read-only."
|
|
26081
|
+
},
|
|
26082
|
+
"file": {
|
|
26083
|
+
"$ref": "#/definitions/McpSourceFile",
|
|
26084
|
+
"description": "Configuration file location, when the declaration is file-backed."
|
|
26085
|
+
},
|
|
26086
|
+
"plugin": {
|
|
26087
|
+
"$ref": "#/definitions/McpSourcePlugin",
|
|
26088
|
+
"description": "Plugin identity, when the declaration is plugin-provided."
|
|
26089
|
+
}
|
|
26090
|
+
},
|
|
26091
|
+
"required": [
|
|
26092
|
+
"kind",
|
|
26093
|
+
"id",
|
|
26094
|
+
"editability"
|
|
26095
|
+
],
|
|
26096
|
+
"additionalProperties": false,
|
|
26097
|
+
"description": "Canonical identity and location of the effective MCP server declaration. The declaration is uniquely addressed by this source id together with the discovered server name.",
|
|
26098
|
+
"title": "McpSourceRef"
|
|
26099
|
+
},
|
|
25142
26100
|
"McpStartServerRequest": {
|
|
25143
26101
|
"type": "object",
|
|
25144
26102
|
"properties": {
|
|
@@ -25598,6 +26556,35 @@
|
|
|
25598
26556
|
"cli": "Remote task originated from a CLI remote-session invocation."
|
|
25599
26557
|
}
|
|
25600
26558
|
},
|
|
26559
|
+
"MetadataUpdateClientMetadataRequest": {
|
|
26560
|
+
"type": "object",
|
|
26561
|
+
"properties": {
|
|
26562
|
+
"clear": {
|
|
26563
|
+
"type": "boolean",
|
|
26564
|
+
"description": "Remove every existing client metadata entry before applying remove and set. Defaults to false."
|
|
26565
|
+
},
|
|
26566
|
+
"remove": {
|
|
26567
|
+
"type": "array",
|
|
26568
|
+
"items": {
|
|
26569
|
+
"type": "string"
|
|
26570
|
+
},
|
|
26571
|
+
"maxItems": 128,
|
|
26572
|
+
"description": "Case-sensitive keys to remove. Missing keys are ignored. Each key must be non-empty, at most 256 UTF-8 bytes, and outside the reserved `copilot/` and `github/` namespaces."
|
|
26573
|
+
},
|
|
26574
|
+
"set": {
|
|
26575
|
+
"type": "object",
|
|
26576
|
+
"additionalProperties": {
|
|
26577
|
+
"type": "string"
|
|
26578
|
+
},
|
|
26579
|
+
"description": "String entries to add or replace. Set wins when a key also appears in remove. Each key must be non-empty, at most 256 UTF-8 bytes, and outside the reserved `copilot/` and `github/` namespaces. Each value may contain at most 16 KiB of UTF-8 data.",
|
|
26580
|
+
"maxProperties": 128
|
|
26581
|
+
}
|
|
26582
|
+
},
|
|
26583
|
+
"additionalProperties": false,
|
|
26584
|
+
"description": "Atomic patch for client-owned session metadata. Operations apply in clear, remove, then set order. The resulting bag must satisfy the ClientMetadata entry and serialized-size limits. Local storage coordinates concurrent runtime processes; custom SessionFs providers must serialize writers that access the same session from multiple processes.",
|
|
26585
|
+
"title": "MetadataUpdateClientMetadataRequest",
|
|
26586
|
+
"stability": "experimental"
|
|
26587
|
+
},
|
|
25601
26588
|
"Model": {
|
|
25602
26589
|
"type": "object",
|
|
25603
26590
|
"properties": {
|
|
@@ -25711,6 +26698,10 @@
|
|
|
25711
26698
|
"type": "string",
|
|
25712
26699
|
"description": "Context tier selected by repository settings, when configured."
|
|
25713
26700
|
},
|
|
26701
|
+
"repoAutoTier": {
|
|
26702
|
+
"type": "string",
|
|
26703
|
+
"description": "Auto routing preference selected by repository settings, when configured. Applied only when the overlay selects the Auto model; beside a concrete model it stays dormant."
|
|
26704
|
+
},
|
|
25714
26705
|
"cliModel": {
|
|
25715
26706
|
"type": "string",
|
|
25716
26707
|
"description": "Model explicitly selected by the CLI, when provided."
|
|
@@ -26269,6 +27260,60 @@
|
|
|
26269
27260
|
"unconfigured": "No explicit policy is configured for the model."
|
|
26270
27261
|
}
|
|
26271
27262
|
},
|
|
27263
|
+
"ModelSetAllowedModelsRequest": {
|
|
27264
|
+
"type": "object",
|
|
27265
|
+
"properties": {
|
|
27266
|
+
"allowedModels": {
|
|
27267
|
+
"anyOf": [
|
|
27268
|
+
{
|
|
27269
|
+
"type": "array",
|
|
27270
|
+
"items": {
|
|
27271
|
+
"type": "string"
|
|
27272
|
+
}
|
|
27273
|
+
},
|
|
27274
|
+
{
|
|
27275
|
+
"type": "null"
|
|
27276
|
+
}
|
|
27277
|
+
],
|
|
27278
|
+
"minItems": 1,
|
|
27279
|
+
"description": "Exact model IDs to permit, or null to clear the host restriction."
|
|
27280
|
+
}
|
|
27281
|
+
},
|
|
27282
|
+
"additionalProperties": false,
|
|
27283
|
+
"description": "Host-supplied exact model selection IDs to allow for this running session. CAPI IDs are intersected with repository `.github/allowed_models.txt` policy; provider-qualified IDs remain exempt from repository-only policy but are restricted by this host list. Omit or pass null to clear the host restriction; an explicit empty or disjoint list is rejected. Validation and pre-selection fallback failures preserve the previous restriction. Failures after a fallback selection commits retain the new restriction and selected model; callers should inspect current session state after such an error.",
|
|
27284
|
+
"title": "ModelSetAllowedModelsRequest",
|
|
27285
|
+
"stability": "experimental"
|
|
27286
|
+
},
|
|
27287
|
+
"ModelSetAllowedModelsResult": {
|
|
27288
|
+
"type": "object",
|
|
27289
|
+
"properties": {
|
|
27290
|
+
"allowedModels": {
|
|
27291
|
+
"type": "array",
|
|
27292
|
+
"items": {
|
|
27293
|
+
"type": "string"
|
|
27294
|
+
},
|
|
27295
|
+
"description": "Normalized host allowlist. Omitted when the host restriction was cleared, or when a relay client does not return the host policy."
|
|
27296
|
+
},
|
|
27297
|
+
"effectiveAllowedModels": {
|
|
27298
|
+
"type": "array",
|
|
27299
|
+
"items": {
|
|
27300
|
+
"type": "string"
|
|
27301
|
+
},
|
|
27302
|
+
"description": "Effective exact IDs or repository policy patterns after applying the host restriction. Omitted by relay clients that do not return the host policy."
|
|
27303
|
+
},
|
|
27304
|
+
"fallbackModel": {
|
|
27305
|
+
"type": "string",
|
|
27306
|
+
"description": "Effective deterministic fallback model, when the policy defines one."
|
|
27307
|
+
},
|
|
27308
|
+
"modelId": {
|
|
27309
|
+
"type": "string",
|
|
27310
|
+
"description": "Selected session model after reconciling a now-disallowed concrete selection."
|
|
27311
|
+
}
|
|
27312
|
+
},
|
|
27313
|
+
"additionalProperties": false,
|
|
27314
|
+
"description": "The applied host allowlist and effective session model policy after intersection.",
|
|
27315
|
+
"title": "ModelSetAllowedModelsResult"
|
|
27316
|
+
},
|
|
26272
27317
|
"ModelSetReasoningEffortRequest": {
|
|
26273
27318
|
"type": "object",
|
|
26274
27319
|
"properties": {
|
|
@@ -26330,7 +27375,7 @@
|
|
|
26330
27375
|
"anyOf": [
|
|
26331
27376
|
{
|
|
26332
27377
|
"$ref": "#/definitions/AutoTier",
|
|
26333
|
-
"description": "Routing preference used when the session model is `auto`."
|
|
27378
|
+
"description": "Routing preference used when the session model is `auto`. `fast` is an integrator-only latency preset and is not a first-party GitHub Copilot product preference."
|
|
26334
27379
|
},
|
|
26335
27380
|
{
|
|
26336
27381
|
"type": "null"
|
|
@@ -26366,7 +27411,7 @@
|
|
|
26366
27411
|
"anyOf": [
|
|
26367
27412
|
{
|
|
26368
27413
|
"$ref": "#/definitions/AutoTier",
|
|
26369
|
-
"description": "Routing preference used when the session model is `auto`."
|
|
27414
|
+
"description": "Routing preference used when the session model is `auto`. `fast` is an integrator-only latency preset and is not a first-party GitHub Copilot product preference."
|
|
26370
27415
|
},
|
|
26371
27416
|
{
|
|
26372
27417
|
"type": "null"
|
|
@@ -26378,7 +27423,7 @@
|
|
|
26378
27423
|
"anyOf": [
|
|
26379
27424
|
{
|
|
26380
27425
|
"$ref": "#/definitions/AutoTier",
|
|
26381
|
-
"description": "Routing preference used when the session model is `auto`."
|
|
27426
|
+
"description": "Routing preference used when the session model is `auto`. `fast` is an integrator-only latency preset and is not a first-party GitHub Copilot product preference."
|
|
26382
27427
|
},
|
|
26383
27428
|
{
|
|
26384
27429
|
"type": "null"
|
|
@@ -26390,7 +27435,7 @@
|
|
|
26390
27435
|
"anyOf": [
|
|
26391
27436
|
{
|
|
26392
27437
|
"$ref": "#/definitions/AutoTier",
|
|
26393
|
-
"description": "Routing preference used when the session model is `auto`."
|
|
27438
|
+
"description": "Routing preference used when the session model is `auto`. `fast` is an integrator-only latency preset and is not a first-party GitHub Copilot product preference."
|
|
26394
27439
|
},
|
|
26395
27440
|
{
|
|
26396
27441
|
"type": "null"
|
|
@@ -26455,7 +27500,7 @@
|
|
|
26455
27500
|
"anyOf": [
|
|
26456
27501
|
{
|
|
26457
27502
|
"$ref": "#/definitions/AutoTier",
|
|
26458
|
-
"description": "Routing preference used when the session model is `auto`."
|
|
27503
|
+
"description": "Routing preference used when the session model is `auto`. `fast` is an integrator-only latency preset and is not a first-party GitHub Copilot product preference."
|
|
26459
27504
|
},
|
|
26460
27505
|
{
|
|
26461
27506
|
"type": "null"
|
|
@@ -26591,6 +27636,10 @@
|
|
|
26591
27636
|
"$ref": "#/definitions/SessionMode",
|
|
26592
27637
|
"description": "The session mode the agent is operating in"
|
|
26593
27638
|
},
|
|
27639
|
+
"expectedMode": {
|
|
27640
|
+
"$ref": "#/definitions/SessionMode",
|
|
27641
|
+
"description": "Mode the session must currently be in for the change to apply. When set and the session is in a different mode the request is a no-op and reports status 'unchanged'."
|
|
27642
|
+
},
|
|
26594
27643
|
"inheritPlanBaseFromSessionId": {
|
|
26595
27644
|
"type": "string",
|
|
26596
27645
|
"description": "Session whose plan-mode base state should be inherited."
|
|
@@ -26651,6 +27700,10 @@
|
|
|
26651
27700
|
"type": "boolean",
|
|
26652
27701
|
"description": "Whether applying the mode changed the active model."
|
|
26653
27702
|
},
|
|
27703
|
+
"modeApplied": {
|
|
27704
|
+
"type": "boolean",
|
|
27705
|
+
"description": "Whether the requested mode was applied to the session. False only when an 'expectedMode' precondition did not hold, in which case any model change reported alongside it was still applied."
|
|
27706
|
+
},
|
|
26654
27707
|
"confirmation": {
|
|
26655
27708
|
"$ref": "#/definitions/ModelSwitchConfirmation",
|
|
26656
27709
|
"description": "Compaction confirmation required before the mode change can complete."
|
|
@@ -28095,7 +29148,8 @@
|
|
|
28095
29148
|
"assisted_approval",
|
|
28096
29149
|
"human_response",
|
|
28097
29150
|
"host_policy",
|
|
28098
|
-
"unattended_fallback"
|
|
29151
|
+
"unattended_fallback",
|
|
29152
|
+
"authorization_carry_forward"
|
|
28099
29153
|
],
|
|
28100
29154
|
"description": "Controlled reason or actor responsible for a permission response.",
|
|
28101
29155
|
"title": "PermissionDecisionSource",
|
|
@@ -28103,7 +29157,8 @@
|
|
|
28103
29157
|
"assisted_approval": "The response followed the assisted-approval judge recommendation.",
|
|
28104
29158
|
"human_response": "A human supplied the response through an interactive prompt.",
|
|
28105
29159
|
"host_policy": "The host applied a standing policy or override rather than a judge recommendation or human decision.",
|
|
28106
|
-
"unattended_fallback": "The host denied the request because no interactive user response was available."
|
|
29160
|
+
"unattended_fallback": "The host denied the request because no interactive user response was available.",
|
|
29161
|
+
"authorization_carry_forward": "A live authorization record from an earlier human decision in this session contained the proposal, so it ran without another prompt. This is not a new human decision and never mints authority of its own."
|
|
28107
29162
|
}
|
|
28108
29163
|
},
|
|
28109
29164
|
"PermissionDecisionSurface": {
|
|
@@ -29691,13 +30746,17 @@
|
|
|
29691
30746
|
"type": "string"
|
|
29692
30747
|
},
|
|
29693
30748
|
"description": "Plugin names or \"plugin@marketplace\" specs to disable. Unknown names are ignored. Non-marketplace direct installs cannot be disabled via this API; uninstall them instead. Plugin-owned MCP servers are stopped in active sessions immediately; other plugin contributions remain available until each session reloads plugins."
|
|
30749
|
+
},
|
|
30750
|
+
"workingDirectory": {
|
|
30751
|
+
"type": "string",
|
|
30752
|
+
"description": "Working directory whose repository `enabledPlugins` overlay decides whether this mutation is repository-controlled. Hosts that serve sessions across several repositories (the SDK server) should pass the session's directory; otherwise the guard is evaluated against the server process's own working directory, which may belong to a different repository. Defaults to the server's current working directory."
|
|
29694
30753
|
}
|
|
29695
30754
|
},
|
|
29696
30755
|
"required": [
|
|
29697
30756
|
"names"
|
|
29698
30757
|
],
|
|
29699
30758
|
"additionalProperties": false,
|
|
29700
|
-
"description": "Plugin names (or specs) to disable.",
|
|
30759
|
+
"description": "Plugin names (or specs) to disable, plus the optional working directory the repository-controlled guard is evaluated against.",
|
|
29701
30760
|
"title": "PluginsDisableRequest"
|
|
29702
30761
|
},
|
|
29703
30762
|
"PluginsEnableRequest": {
|
|
@@ -29709,13 +30768,17 @@
|
|
|
29709
30768
|
"type": "string"
|
|
29710
30769
|
},
|
|
29711
30770
|
"description": "Plugin names or \"plugin@marketplace\" specs to enable. Unknown names are ignored. Non-marketplace direct installs are always enabled and cannot be toggled via this API."
|
|
30771
|
+
},
|
|
30772
|
+
"workingDirectory": {
|
|
30773
|
+
"type": "string",
|
|
30774
|
+
"description": "Working directory whose repository `enabledPlugins` overlay decides whether this mutation is repository-controlled. Hosts that serve sessions across several repositories (the SDK server) should pass the session's directory; otherwise the guard is evaluated against the server process's own working directory, which may belong to a different repository. Defaults to the server's current working directory."
|
|
29712
30775
|
}
|
|
29713
30776
|
},
|
|
29714
30777
|
"required": [
|
|
29715
30778
|
"names"
|
|
29716
30779
|
],
|
|
29717
30780
|
"additionalProperties": false,
|
|
29718
|
-
"description": "Plugin names (or specs) to enable.",
|
|
30781
|
+
"description": "Plugin names (or specs) to enable, plus the optional working directory the repository-controlled guard is evaluated against.",
|
|
29719
30782
|
"title": "PluginsEnableRequest"
|
|
29720
30783
|
},
|
|
29721
30784
|
"PluginsInstallRequest": {
|
|
@@ -32615,6 +33678,46 @@
|
|
|
32615
33678
|
"description": "macOS seatbelt-specific options.",
|
|
32616
33679
|
"title": "SandboxConfigUserPolicySeatbelt"
|
|
32617
33680
|
},
|
|
33681
|
+
"SandboxDisableForSessionRequest": {
|
|
33682
|
+
"type": "object",
|
|
33683
|
+
"properties": {
|
|
33684
|
+
"requestId": {
|
|
33685
|
+
"type": "string",
|
|
33686
|
+
"description": "Identifier of the exact pending sandbox-bypass permission request that authorized the session opt-out."
|
|
33687
|
+
},
|
|
33688
|
+
"decisionContext": {
|
|
33689
|
+
"$ref": "#/definitions/PermissionDecisionContext",
|
|
33690
|
+
"description": "Optional attribution for the permission decision."
|
|
33691
|
+
}
|
|
33692
|
+
},
|
|
33693
|
+
"required": [
|
|
33694
|
+
"requestId"
|
|
33695
|
+
],
|
|
33696
|
+
"additionalProperties": false,
|
|
33697
|
+
"description": "Request to disable sandboxing for the current session while resolving an active sandbox-bypass permission prompt.",
|
|
33698
|
+
"title": "SandboxDisableForSessionRequest",
|
|
33699
|
+
"stability": "experimental"
|
|
33700
|
+
},
|
|
33701
|
+
"SandboxDisableForSessionResult": {
|
|
33702
|
+
"type": "object",
|
|
33703
|
+
"properties": {
|
|
33704
|
+
"success": {
|
|
33705
|
+
"type": "boolean",
|
|
33706
|
+
"description": "Whether this call resolved the pending request and applied the session opt-out."
|
|
33707
|
+
},
|
|
33708
|
+
"enabled": {
|
|
33709
|
+
"type": "boolean",
|
|
33710
|
+
"description": "The authoritative sandbox enabled state after the operation."
|
|
33711
|
+
}
|
|
33712
|
+
},
|
|
33713
|
+
"required": [
|
|
33714
|
+
"success",
|
|
33715
|
+
"enabled"
|
|
33716
|
+
],
|
|
33717
|
+
"additionalProperties": false,
|
|
33718
|
+
"description": "Result of attempting to disable sandboxing for the current session.",
|
|
33719
|
+
"title": "SandboxDisableForSessionResult"
|
|
33720
|
+
},
|
|
32618
33721
|
"SandboxEnforcementStatus": {
|
|
32619
33722
|
"type": "object",
|
|
32620
33723
|
"properties": {
|
|
@@ -33887,7 +34990,7 @@
|
|
|
33887
34990
|
"content"
|
|
33888
34991
|
],
|
|
33889
34992
|
"additionalProperties": false,
|
|
33890
|
-
"description": "File path, content to append, and optional mode for the client-provided session filesystem.",
|
|
34993
|
+
"description": "File path, content to append, and optional mode for the client-provided session filesystem. Implementations create parent directories as needed.",
|
|
33891
34994
|
"title": "SessionFsAppendFileRequest",
|
|
33892
34995
|
"stability": "experimental"
|
|
33893
34996
|
},
|
|
@@ -35498,6 +36601,10 @@
|
|
|
35498
36601
|
"type": "boolean",
|
|
35499
36602
|
"description": "Whether to skip custom instruction sources."
|
|
35500
36603
|
},
|
|
36604
|
+
"refreshCustomInstructions": {
|
|
36605
|
+
"type": "boolean",
|
|
36606
|
+
"description": "Whether to invalidate cached custom-instruction discovery before constructing the session. Use when instruction files may have changed earlier in the same runtime process."
|
|
36607
|
+
},
|
|
35501
36608
|
"disabledInstructionSources": {
|
|
35502
36609
|
"type": "array",
|
|
35503
36610
|
"items": {
|
|
@@ -35902,6 +37009,122 @@
|
|
|
35902
37009
|
"description": "Session IDs from the input set that are currently in use by another process.",
|
|
35903
37010
|
"title": "SessionsCheckInUseResult"
|
|
35904
37011
|
},
|
|
37012
|
+
"SessionsClientMetadataEntry": {
|
|
37013
|
+
"anyOf": [
|
|
37014
|
+
{
|
|
37015
|
+
"type": "object",
|
|
37016
|
+
"properties": {
|
|
37017
|
+
"sessionId": {
|
|
37018
|
+
"type": "string",
|
|
37019
|
+
"description": "Requested session ID."
|
|
37020
|
+
},
|
|
37021
|
+
"metadata": {
|
|
37022
|
+
"$ref": "#/definitions/ClientMetadata",
|
|
37023
|
+
"description": "Validated client metadata, possibly empty or projected to requested keys."
|
|
37024
|
+
},
|
|
37025
|
+
"status": {
|
|
37026
|
+
"type": "string",
|
|
37027
|
+
"const": "ok",
|
|
37028
|
+
"description": "Client metadata outcome discriminator."
|
|
37029
|
+
}
|
|
37030
|
+
},
|
|
37031
|
+
"required": [
|
|
37032
|
+
"status",
|
|
37033
|
+
"sessionId",
|
|
37034
|
+
"metadata"
|
|
37035
|
+
],
|
|
37036
|
+
"additionalProperties": false
|
|
37037
|
+
},
|
|
37038
|
+
{
|
|
37039
|
+
"type": "object",
|
|
37040
|
+
"properties": {
|
|
37041
|
+
"sessionId": {
|
|
37042
|
+
"type": "string",
|
|
37043
|
+
"description": "Requested session ID."
|
|
37044
|
+
},
|
|
37045
|
+
"status": {
|
|
37046
|
+
"type": "string",
|
|
37047
|
+
"const": "notFound",
|
|
37048
|
+
"description": "Client metadata outcome discriminator."
|
|
37049
|
+
}
|
|
37050
|
+
},
|
|
37051
|
+
"required": [
|
|
37052
|
+
"status",
|
|
37053
|
+
"sessionId"
|
|
37054
|
+
],
|
|
37055
|
+
"additionalProperties": false
|
|
37056
|
+
},
|
|
37057
|
+
{
|
|
37058
|
+
"type": "object",
|
|
37059
|
+
"properties": {
|
|
37060
|
+
"sessionId": {
|
|
37061
|
+
"type": "string",
|
|
37062
|
+
"description": "Requested session ID."
|
|
37063
|
+
},
|
|
37064
|
+
"status": {
|
|
37065
|
+
"type": "string",
|
|
37066
|
+
"const": "corrupt",
|
|
37067
|
+
"description": "Client metadata outcome discriminator."
|
|
37068
|
+
}
|
|
37069
|
+
},
|
|
37070
|
+
"required": [
|
|
37071
|
+
"status",
|
|
37072
|
+
"sessionId"
|
|
37073
|
+
],
|
|
37074
|
+
"additionalProperties": false
|
|
37075
|
+
},
|
|
37076
|
+
{
|
|
37077
|
+
"type": "object",
|
|
37078
|
+
"properties": {
|
|
37079
|
+
"sessionId": {
|
|
37080
|
+
"type": "string",
|
|
37081
|
+
"description": "Requested session ID."
|
|
37082
|
+
},
|
|
37083
|
+
"status": {
|
|
37084
|
+
"type": "string",
|
|
37085
|
+
"const": "unsupportedVersion",
|
|
37086
|
+
"description": "Client metadata outcome discriminator."
|
|
37087
|
+
}
|
|
37088
|
+
},
|
|
37089
|
+
"required": [
|
|
37090
|
+
"status",
|
|
37091
|
+
"sessionId"
|
|
37092
|
+
],
|
|
37093
|
+
"additionalProperties": false
|
|
37094
|
+
},
|
|
37095
|
+
{
|
|
37096
|
+
"type": "object",
|
|
37097
|
+
"properties": {
|
|
37098
|
+
"sessionId": {
|
|
37099
|
+
"type": "string",
|
|
37100
|
+
"description": "Requested session ID."
|
|
37101
|
+
},
|
|
37102
|
+
"code": {
|
|
37103
|
+
"type": "string",
|
|
37104
|
+
"description": "Filesystem or provider error code. Clients should not assume every provider uses operating-system error codes."
|
|
37105
|
+
},
|
|
37106
|
+
"message": {
|
|
37107
|
+
"type": "string",
|
|
37108
|
+
"description": "Human-readable diagnostic message. Not stable for programmatic matching."
|
|
37109
|
+
},
|
|
37110
|
+
"status": {
|
|
37111
|
+
"type": "string",
|
|
37112
|
+
"const": "unavailable",
|
|
37113
|
+
"description": "Client metadata outcome discriminator."
|
|
37114
|
+
}
|
|
37115
|
+
},
|
|
37116
|
+
"required": [
|
|
37117
|
+
"status",
|
|
37118
|
+
"sessionId",
|
|
37119
|
+
"code",
|
|
37120
|
+
"message"
|
|
37121
|
+
],
|
|
37122
|
+
"additionalProperties": false
|
|
37123
|
+
}
|
|
37124
|
+
],
|
|
37125
|
+
"description": "Client metadata outcome for one requested local session.",
|
|
37126
|
+
"title": "SessionsClientMetadataEntry"
|
|
37127
|
+
},
|
|
35905
37128
|
"SessionsCloseRequest": {
|
|
35906
37129
|
"type": "object",
|
|
35907
37130
|
"properties": {
|
|
@@ -36430,6 +37653,42 @@
|
|
|
36430
37653
|
"description": "Dynamic-context board entry count, when available.",
|
|
36431
37654
|
"title": "SessionsGetBoardEntryCountResult"
|
|
36432
37655
|
},
|
|
37656
|
+
"SessionsGetClientMetadataRequest": {
|
|
37657
|
+
"type": "object",
|
|
37658
|
+
"properties": {
|
|
37659
|
+
"sessionIds": {
|
|
37660
|
+
"type": "array",
|
|
37661
|
+
"items": {
|
|
37662
|
+
"type": "string"
|
|
37663
|
+
},
|
|
37664
|
+
"maxItems": 1000,
|
|
37665
|
+
"description": "Session IDs to inspect. Results preserve this order."
|
|
37666
|
+
},
|
|
37667
|
+
"keys": {
|
|
37668
|
+
"type": "array",
|
|
37669
|
+
"items": {
|
|
37670
|
+
"type": "string"
|
|
37671
|
+
},
|
|
37672
|
+
"maxItems": 128,
|
|
37673
|
+
"description": "Case-sensitive keys to project from each valid bag. Each key must be non-empty, at most 256 UTF-8 bytes, and outside the reserved `copilot/` and `github/` namespaces. Omit to return every entry."
|
|
37674
|
+
}
|
|
37675
|
+
},
|
|
37676
|
+
"required": [
|
|
37677
|
+
"sessionIds"
|
|
37678
|
+
],
|
|
37679
|
+
"additionalProperties": false,
|
|
37680
|
+
"description": "Bounded batch request for client-owned metadata from persisted local sessions.",
|
|
37681
|
+
"title": "SessionsGetClientMetadataRequest"
|
|
37682
|
+
},
|
|
37683
|
+
"SessionsGetClientMetadataResult": {
|
|
37684
|
+
"type": "array",
|
|
37685
|
+
"items": {
|
|
37686
|
+
"$ref": "#/definitions/SessionsClientMetadataEntry",
|
|
37687
|
+
"description": "Client metadata outcome for one requested local session."
|
|
37688
|
+
},
|
|
37689
|
+
"description": "Ordered client metadata outcomes for the requested local sessions.",
|
|
37690
|
+
"title": "SessionsGetClientMetadataResult"
|
|
37691
|
+
},
|
|
36433
37692
|
"SessionsGetEventFilePathRequest": {
|
|
36434
37693
|
"type": "object",
|
|
36435
37694
|
"properties": {
|
|
@@ -36991,17 +38250,17 @@
|
|
|
36991
38250
|
},
|
|
36992
38251
|
"cursor": {
|
|
36993
38252
|
"type": "string",
|
|
36994
|
-
"description": "Opaque cursor returned by
|
|
38253
|
+
"description": "Opaque, process-local, single-use cursor returned by the previous persisted-event read. Omit on the first call and issue continuations sequentially; reusing the same cursor returns an expired terminal page."
|
|
36995
38254
|
},
|
|
36996
38255
|
"max": {
|
|
36997
38256
|
"type": "integer",
|
|
36998
38257
|
"exclusiveMinimum": 0,
|
|
36999
38258
|
"maximum": 1000,
|
|
37000
|
-
"description": "Maximum number of events to return in this batch (1–1000, default 200)."
|
|
38259
|
+
"description": "Maximum number of events to return in this batch (1–1000, default 200). Pages may contain fewer events to keep the serialized event array within a soft 1 MiB budget including resolved binary assets; one oversized event is returned alone to guarantee progress."
|
|
37001
38260
|
},
|
|
37002
38261
|
"direction": {
|
|
37003
38262
|
"$ref": "#/definitions/EventsReadDirection",
|
|
37004
|
-
"description": "Direction to page through persisted history. Forward starts at the beginning; backward starts with the newest events. Events in each page remain chronological."
|
|
38263
|
+
"description": "Direction to page through persisted history. Forward starts at the beginning; backward starts with the newest events. Events in each page remain chronological. This selects the initial read only; a continuation always uses the direction bound into its cursor."
|
|
37005
38264
|
}
|
|
37006
38265
|
},
|
|
37007
38266
|
"required": [
|
|
@@ -38886,7 +40145,7 @@
|
|
|
38886
40145
|
"type": "object",
|
|
38887
40146
|
"additionalProperties": {
|
|
38888
40147
|
"$ref": "#/definitions/SubagentSettingsEntry",
|
|
38889
|
-
"description": "Subagent model, reasoning effort,
|
|
40148
|
+
"description": "Subagent model, reasoning effort, context tier, and auto-invocation settings"
|
|
38890
40149
|
},
|
|
38891
40150
|
"description": "Per-agent settings keyed by subagent agent_type"
|
|
38892
40151
|
},
|
|
@@ -38938,10 +40197,14 @@
|
|
|
38938
40197
|
"contextTier": {
|
|
38939
40198
|
"$ref": "#/definitions/SubagentSettingsEntryContextTier",
|
|
38940
40199
|
"description": "Context tier override for matching subagents"
|
|
40200
|
+
},
|
|
40201
|
+
"autoInvoke": {
|
|
40202
|
+
"type": "boolean",
|
|
40203
|
+
"description": "Whether this agent's runtime-defined proactive invocation prompting is enabled, if supported. Currently consumed by the built-in rubber-duck agent."
|
|
38941
40204
|
}
|
|
38942
40205
|
},
|
|
38943
40206
|
"additionalProperties": false,
|
|
38944
|
-
"description": "Subagent model, reasoning effort,
|
|
40207
|
+
"description": "Subagent model, reasoning effort, context tier, and auto-invocation settings",
|
|
38945
40208
|
"title": "SubagentSettingsEntry"
|
|
38946
40209
|
},
|
|
38947
40210
|
"SubagentSettingsEntryContextTier": {
|