@github/copilot-sdk-win32-x64 1.0.15-preview.0 → 1.0.15-preview.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/copilot-sdk/cliVersion.d.ts +1 -1
- package/copilot-sdk/client.d.ts +2 -0
- package/copilot-sdk/docs/extensions.md +1 -0
- package/copilot-sdk/docs/workflows.md +257 -0
- package/copilot-sdk/extension.d.ts +22 -8
- package/copilot-sdk/extension.js +1845 -230
- package/copilot-sdk/generated/rpc.d.ts +3141 -302
- package/copilot-sdk/generated/session-events.d.ts +756 -31
- package/copilot-sdk/index.d.ts +3 -1
- package/copilot-sdk/index.js +1839 -228
- package/copilot-sdk/schema.d.ts +4 -0
- package/copilot-sdk/session.d.ts +26 -3
- package/copilot-sdk/types.d.ts +37 -5
- package/copilot-sdk/workflow.d.ts +364 -0
- package/package.json +1 -1
- package/plugins/computer-use/CopilotComputerUse.exe +0 -0
- package/plugins/computer-use/computer-use-mcp.exe +0 -0
- package/plugins/computer-use/{.mcp.json → mcp.json} +2 -1
- package/plugins/computer-use/plugin.json +6 -0
- package/prebuilds/win32-x64/OneAuthInterop.dll +0 -0
- package/prebuilds/win32-x64/copilot-runtime.exe +0 -0
- package/prebuilds/win32-x64/msal-node-runtime.node +0 -0
- package/prebuilds/win32-x64/msalruntime.dll +0 -0
- package/prebuilds/win32-x64/runtime.node +2 -2
- package/preloads/extension_bootstrap.mjs +3 -4
- package/ripgrep/bin/win32-x64/rg.exe +0 -0
- package/schemas/api.schema.json +1117 -55
- package/schemas/session-events.schema.json +125 -1
- package/sdk/index.js +272 -283
- package/tgrep/bin/win32-x64/tgrep.exe +0 -0
- package/plugins/computer-use/.plugin/plugin.json +0 -6
|
@@ -12048,6 +12048,91 @@
|
|
|
12048
12048
|
"sdk": "An SDK or RPC caller selected the model."
|
|
12049
12049
|
}
|
|
12050
12050
|
},
|
|
12051
|
+
"ModelDeselectedData": {
|
|
12052
|
+
"type": "object",
|
|
12053
|
+
"properties": {
|
|
12054
|
+
"previousModel": {
|
|
12055
|
+
"type": "string",
|
|
12056
|
+
"description": "Model that was selected before the host withdrew it."
|
|
12057
|
+
},
|
|
12058
|
+
"reason": {
|
|
12059
|
+
"$ref": "#/definitions/ModelDeselectedReason",
|
|
12060
|
+
"description": "Low-cardinality reason the selection was cleared."
|
|
12061
|
+
}
|
|
12062
|
+
},
|
|
12063
|
+
"required": [
|
|
12064
|
+
"previousModel",
|
|
12065
|
+
"reason"
|
|
12066
|
+
],
|
|
12067
|
+
"additionalProperties": false,
|
|
12068
|
+
"description": "The model the user had explicitly selected is no longer available, because the host that published it withdrew it, so the session no longer has an explicit selection. The next turn resolves a default as though the user had never chosen a model. Clients should stop presenting the previous model as selected. This event is durable because resume rebuilds the selected model from the event log; without it a resumed session would restore a model its provider no longer serves. Reasoning effort, verbosity, and other session-level preferences are deliberately unchanged, because they belong to the session rather than to the model.",
|
|
12069
|
+
"title": "ModelDeselectedData"
|
|
12070
|
+
},
|
|
12071
|
+
"ModelDeselectedEvent": {
|
|
12072
|
+
"type": "object",
|
|
12073
|
+
"properties": {
|
|
12074
|
+
"id": {
|
|
12075
|
+
"type": "string",
|
|
12076
|
+
"format": "uuid",
|
|
12077
|
+
"description": "Unique event identifier (UUID v4), generated when the event is emitted"
|
|
12078
|
+
},
|
|
12079
|
+
"timestamp": {
|
|
12080
|
+
"type": "string",
|
|
12081
|
+
"format": "date-time",
|
|
12082
|
+
"description": "ISO 8601 timestamp when the event was created"
|
|
12083
|
+
},
|
|
12084
|
+
"parentId": {
|
|
12085
|
+
"anyOf": [
|
|
12086
|
+
{
|
|
12087
|
+
"type": "string",
|
|
12088
|
+
"format": "uuid"
|
|
12089
|
+
},
|
|
12090
|
+
{
|
|
12091
|
+
"type": "null"
|
|
12092
|
+
}
|
|
12093
|
+
],
|
|
12094
|
+
"description": "ID of the chronologically preceding event in the session, forming a linked chain. Null for the first event."
|
|
12095
|
+
},
|
|
12096
|
+
"ephemeral": {
|
|
12097
|
+
"type": "boolean",
|
|
12098
|
+
"description": "When true, the event is transient and not persisted to the session event log on disk"
|
|
12099
|
+
},
|
|
12100
|
+
"agentId": {
|
|
12101
|
+
"type": "string",
|
|
12102
|
+
"description": "Sub-agent instance identifier. Absent for events from the root/main agent and session-level events."
|
|
12103
|
+
},
|
|
12104
|
+
"type": {
|
|
12105
|
+
"type": "string",
|
|
12106
|
+
"const": "session.model_deselected",
|
|
12107
|
+
"description": "Type discriminator. Always \"session.model_deselected\"."
|
|
12108
|
+
},
|
|
12109
|
+
"data": {
|
|
12110
|
+
"$ref": "#/definitions/ModelDeselectedData",
|
|
12111
|
+
"description": "The model the user had explicitly selected is no longer available, because the host that published it withdrew it, so the session no longer has an explicit selection. The next turn resolves a default as though the user had never chosen a model. Clients should stop presenting the previous model as selected. This event is durable because resume rebuilds the selected model from the event log; without it a resumed session would restore a model its provider no longer serves. Reasoning effort, verbosity, and other session-level preferences are deliberately unchanged, because they belong to the session rather than to the model."
|
|
12112
|
+
}
|
|
12113
|
+
},
|
|
12114
|
+
"required": [
|
|
12115
|
+
"id",
|
|
12116
|
+
"timestamp",
|
|
12117
|
+
"parentId",
|
|
12118
|
+
"type",
|
|
12119
|
+
"data"
|
|
12120
|
+
],
|
|
12121
|
+
"additionalProperties": false,
|
|
12122
|
+
"description": "Session event \"session.model_deselected\". The model the user had explicitly selected is no longer available, because the host that published it withdrew it, so the session no longer has an explicit selection. The next turn resolves a default as though the user had never chosen a model. Clients should stop presenting the previous model as selected. This event is durable because resume rebuilds the selected model from the event log; without it a resumed session would restore a model its provider no longer serves. Reasoning effort, verbosity, and other session-level preferences are deliberately unchanged, because they belong to the session rather than to the model.",
|
|
12123
|
+
"title": "ModelDeselectedEvent"
|
|
12124
|
+
},
|
|
12125
|
+
"ModelDeselectedReason": {
|
|
12126
|
+
"type": "string",
|
|
12127
|
+
"enum": [
|
|
12128
|
+
"provider_withdrawn"
|
|
12129
|
+
],
|
|
12130
|
+
"description": "Why the session no longer has an explicitly selected model.",
|
|
12131
|
+
"title": "ModelDeselectedReason",
|
|
12132
|
+
"x-enumDescriptions": {
|
|
12133
|
+
"provider_withdrawn": "A host-managed provider snapshot no longer publishes the selected model."
|
|
12134
|
+
}
|
|
12135
|
+
},
|
|
12051
12136
|
"ModeNoticeDeliveredData": {
|
|
12052
12137
|
"type": "object",
|
|
12053
12138
|
"properties": {
|
|
@@ -17396,6 +17481,10 @@
|
|
|
17396
17481
|
"$ref": "#/definitions/ModelChangeEvent",
|
|
17397
17482
|
"description": "Session event \"session.model_change\". Model change details including previous and new model identifiers"
|
|
17398
17483
|
},
|
|
17484
|
+
{
|
|
17485
|
+
"$ref": "#/definitions/ModelDeselectedEvent",
|
|
17486
|
+
"description": "Session event \"session.model_deselected\". The model the user had explicitly selected is no longer available, because the host that published it withdrew it, so the session no longer has an explicit selection. The next turn resolves a default as though the user had never chosen a model. Clients should stop presenting the previous model as selected. This event is durable because resume rebuilds the selected model from the event log; without it a resumed session would restore a model its provider no longer serves. Reasoning effort, verbosity, and other session-level preferences are deliberately unchanged, because they belong to the session rather than to the model."
|
|
17487
|
+
},
|
|
17399
17488
|
{
|
|
17400
17489
|
"$ref": "#/definitions/AutoTierRecommendationEvent",
|
|
17401
17490
|
"description": "Session event \"session.auto_tier_recommendation\". Live-only Auto preference recommendation from Copilot API after a successful Auto model call."
|
|
@@ -20080,6 +20169,29 @@
|
|
|
20080
20169
|
"unset": "Neither the task call, the per-sub-agent settings entry, nor a custom agent definition supplied a model."
|
|
20081
20170
|
}
|
|
20082
20171
|
},
|
|
20172
|
+
"SystemMessageContentBlock": {
|
|
20173
|
+
"type": "object",
|
|
20174
|
+
"properties": {
|
|
20175
|
+
"content": {
|
|
20176
|
+
"type": "string",
|
|
20177
|
+
"description": "Text content for this system-message block."
|
|
20178
|
+
},
|
|
20179
|
+
"isStatic": {
|
|
20180
|
+
"type": "boolean",
|
|
20181
|
+
"description": "Diagnostic classification indicating whether the block is stable across equivalent sessions."
|
|
20182
|
+
},
|
|
20183
|
+
"cacheBreakpoint": {
|
|
20184
|
+
"type": "boolean",
|
|
20185
|
+
"description": "Explicit prompt-cache intent. True places a breakpoint after this block, false suppresses one, and absence preserves the provider's legacy default."
|
|
20186
|
+
}
|
|
20187
|
+
},
|
|
20188
|
+
"required": [
|
|
20189
|
+
"content"
|
|
20190
|
+
],
|
|
20191
|
+
"additionalProperties": false,
|
|
20192
|
+
"description": "One persisted structured system-message block and its cache intent",
|
|
20193
|
+
"title": "SystemMessageContentBlock"
|
|
20194
|
+
},
|
|
20083
20195
|
"SystemMessageData": {
|
|
20084
20196
|
"type": "object",
|
|
20085
20197
|
"properties": {
|
|
@@ -20087,6 +20199,14 @@
|
|
|
20087
20199
|
"type": "string",
|
|
20088
20200
|
"description": "The system or developer prompt text sent as model input"
|
|
20089
20201
|
},
|
|
20202
|
+
"contentBlocks": {
|
|
20203
|
+
"type": "array",
|
|
20204
|
+
"items": {
|
|
20205
|
+
"$ref": "#/definitions/SystemMessageContentBlock",
|
|
20206
|
+
"description": "One persisted structured system-message block and its cache intent"
|
|
20207
|
+
},
|
|
20208
|
+
"description": "Optional ordered structured blocks corresponding to content, retained for prompt-cache layout restoration."
|
|
20209
|
+
},
|
|
20090
20210
|
"interactionId": {
|
|
20091
20211
|
"type": "string",
|
|
20092
20212
|
"description": "Logical interaction identifier for the model run receiving this prompt"
|
|
@@ -20171,7 +20291,7 @@
|
|
|
20171
20291
|
"properties": {
|
|
20172
20292
|
"promptVersion": {
|
|
20173
20293
|
"type": "string",
|
|
20174
|
-
"description": "Version identifier of the prompt template used"
|
|
20294
|
+
"description": "Version identifier of the prompt template or structured prompt layout used"
|
|
20175
20295
|
},
|
|
20176
20296
|
"variables": {
|
|
20177
20297
|
"type": "object",
|
|
@@ -21881,6 +22001,10 @@
|
|
|
21881
22001
|
"type": "string",
|
|
21882
22002
|
"description": "Name of the tool being executed"
|
|
21883
22003
|
},
|
|
22004
|
+
"toolTitle": {
|
|
22005
|
+
"type": "string",
|
|
22006
|
+
"description": "Human-readable display title for the tool, when the selected tool descriptor has a non-empty title."
|
|
22007
|
+
},
|
|
21884
22008
|
"arguments": {
|
|
21885
22009
|
"description": "Arguments passed to the tool",
|
|
21886
22010
|
"x-opaque-json": true
|