@adecore/agents 0.31.8 → 0.31.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chat/acp-backend.d.ts +1 -0
- package/dist/chat/acp-backend.js +7 -3
- package/dist/chat/acp-protocol.d.ts +10 -2
- package/dist/chat/acp-protocol.js +81 -18
- package/dist/chat/chat-session.js +11 -0
- package/dist/chat/fixtures/copilot-1.0.101-denied.json +1050 -0
- package/dist/chat/fixtures/copilot-1.0.101-turn.json +1 -0
- package/dist/chat/fixtures/grok-1.0.62-denied.json +630 -0
- package/dist/chat/fixtures/grok-1.0.62-usage.json +475 -0
- package/dist/providers/acp-agent-state.js +14 -1
- package/dist/testing/fake-acp-capture.d.ts +2 -1
- package/dist/testing/fake-acp-capture.js +29 -9
- package/dist/usage/scanner.d.ts +6 -0
- package/dist/usage/scanner.js +101 -74
- package/package.json +3 -3
- package/src/chat/acp-backend.ts +10 -3
- package/src/chat/acp-protocol.ts +90 -21
- package/src/chat/chat-session.ts +11 -0
- package/src/chat/fixtures/copilot-1.0.101-denied.json +1050 -0
- package/src/chat/fixtures/copilot-1.0.101-turn.json +1 -0
- package/src/chat/fixtures/grok-1.0.62-denied.json +630 -0
- package/src/chat/fixtures/grok-1.0.62-usage.json +475 -0
- package/src/providers/acp-agent-state.ts +15 -1
- package/src/testing/fake-acp-capture.ts +34 -11
- package/src/usage/scanner.ts +117 -81
|
@@ -0,0 +1,1050 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "GitHub Copilot CLI 1.0.101, `copilot --acp --stdio`",
|
|
3
|
+
"source": "Recorded from the real CLI on 2026-10-21 in an empty folder: initialize, session/new and one session/prompt asking for probe.txt, whose permission request was answered with reject_once. The command list is cut, the session id and the folder replaced; every other field is as the CLI sent it.",
|
|
4
|
+
"sessionId": "copilot-session-1",
|
|
5
|
+
"initialize": {
|
|
6
|
+
"protocolVersion": 1,
|
|
7
|
+
"agentCapabilities": {
|
|
8
|
+
"auth": {
|
|
9
|
+
"logout": {}
|
|
10
|
+
},
|
|
11
|
+
"loadSession": true,
|
|
12
|
+
"mcpCapabilities": {
|
|
13
|
+
"http": true,
|
|
14
|
+
"sse": true
|
|
15
|
+
},
|
|
16
|
+
"promptCapabilities": {
|
|
17
|
+
"image": true,
|
|
18
|
+
"audio": false,
|
|
19
|
+
"embeddedContext": true
|
|
20
|
+
},
|
|
21
|
+
"sessionCapabilities": {
|
|
22
|
+
"close": {},
|
|
23
|
+
"list": {}
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"agentInfo": {
|
|
27
|
+
"name": "Copilot",
|
|
28
|
+
"title": "Copilot",
|
|
29
|
+
"version": "1.0.101"
|
|
30
|
+
},
|
|
31
|
+
"authMethods": [
|
|
32
|
+
{
|
|
33
|
+
"id": "copilot-login",
|
|
34
|
+
"name": "Log in with Copilot CLI",
|
|
35
|
+
"description": "Run `copilot login` in the terminal",
|
|
36
|
+
"_meta": {
|
|
37
|
+
"terminal-auth": {
|
|
38
|
+
"command": "/opt/homebrew/lib/node_modules/@github/copilot/node_modules/@github/copilot-darwin-arm64/copilot",
|
|
39
|
+
"args": [
|
|
40
|
+
"login"
|
|
41
|
+
],
|
|
42
|
+
"label": "Copilot Login"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
"sessionNew": {
|
|
49
|
+
"models": {
|
|
50
|
+
"availableModels": [
|
|
51
|
+
{
|
|
52
|
+
"modelId": "auto",
|
|
53
|
+
"name": "Auto",
|
|
54
|
+
"description": "Let Copilot pick the best model"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"modelId": "claude-sonnet-4.6",
|
|
58
|
+
"name": "Claude Sonnet 4.6",
|
|
59
|
+
"description": "Claude Sonnet 4.6",
|
|
60
|
+
"_meta": {
|
|
61
|
+
"copilotUsage": "9x",
|
|
62
|
+
"copilotEnablement": "enabled"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"modelId": "claude-haiku-4.5",
|
|
67
|
+
"name": "Claude Haiku 4.5",
|
|
68
|
+
"description": "Claude Haiku 4.5",
|
|
69
|
+
"_meta": {
|
|
70
|
+
"copilotUsage": "0.33x",
|
|
71
|
+
"copilotEnablement": "enabled"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"modelId": "gpt-5.3-codex",
|
|
76
|
+
"name": "GPT-5.3-Codex",
|
|
77
|
+
"description": "GPT-5.3-Codex",
|
|
78
|
+
"_meta": {
|
|
79
|
+
"copilotUsage": "6x",
|
|
80
|
+
"copilotEnablement": "enabled"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"modelId": "mai-code-1.1-flash",
|
|
85
|
+
"name": "MAI-Code-1.1-Flash",
|
|
86
|
+
"description": "MAI-Code-1.1-Flash",
|
|
87
|
+
"_meta": {
|
|
88
|
+
"copilotUsage": "0.25x",
|
|
89
|
+
"copilotEnablement": "enabled"
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
"currentModelId": "claude-sonnet-4.6"
|
|
94
|
+
},
|
|
95
|
+
"configOptions": [
|
|
96
|
+
{
|
|
97
|
+
"type": "select",
|
|
98
|
+
"id": "mode",
|
|
99
|
+
"name": "Mode",
|
|
100
|
+
"category": "mode",
|
|
101
|
+
"description": "Controls how Copilot responds: a conversational agent, planning multi-step work, or autonomous autopilot.",
|
|
102
|
+
"currentValue": "https://agentclientprotocol.com/protocol/session-modes#agent",
|
|
103
|
+
"options": [
|
|
104
|
+
{
|
|
105
|
+
"value": "https://agentclientprotocol.com/protocol/session-modes#agent",
|
|
106
|
+
"name": "Agent",
|
|
107
|
+
"description": "Default agent mode for conversational interactions"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"value": "https://agentclientprotocol.com/protocol/session-modes#plan",
|
|
111
|
+
"name": "Plan",
|
|
112
|
+
"description": "Plan mode for creating and executing multi-step plans"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"value": "https://agentclientprotocol.com/protocol/session-modes#autopilot",
|
|
116
|
+
"name": "Autopilot",
|
|
117
|
+
"description": "Autonomous mode that enables allow-all and runs until task completion without user interaction (experimental)"
|
|
118
|
+
}
|
|
119
|
+
]
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"type": "select",
|
|
123
|
+
"id": "model",
|
|
124
|
+
"name": "Model",
|
|
125
|
+
"category": "model",
|
|
126
|
+
"description": "The AI model Copilot uses to generate responses.",
|
|
127
|
+
"currentValue": "claude-sonnet-4.6",
|
|
128
|
+
"options": [
|
|
129
|
+
{
|
|
130
|
+
"value": "auto",
|
|
131
|
+
"name": "Auto",
|
|
132
|
+
"description": "Let Copilot pick the best model",
|
|
133
|
+
"_meta": null
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"value": "claude-sonnet-4.6",
|
|
137
|
+
"name": "Claude Sonnet 4.6",
|
|
138
|
+
"description": "Claude Sonnet 4.6",
|
|
139
|
+
"_meta": {
|
|
140
|
+
"copilotUsage": "9x",
|
|
141
|
+
"copilotEnablement": "enabled"
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"value": "claude-haiku-4.5",
|
|
146
|
+
"name": "Claude Haiku 4.5",
|
|
147
|
+
"description": "Claude Haiku 4.5",
|
|
148
|
+
"_meta": {
|
|
149
|
+
"copilotUsage": "0.33x",
|
|
150
|
+
"copilotEnablement": "enabled"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"value": "gpt-5.3-codex",
|
|
155
|
+
"name": "GPT-5.3-Codex",
|
|
156
|
+
"description": "GPT-5.3-Codex",
|
|
157
|
+
"_meta": {
|
|
158
|
+
"copilotUsage": "6x",
|
|
159
|
+
"copilotEnablement": "enabled"
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"value": "mai-code-1.1-flash",
|
|
164
|
+
"name": "MAI-Code-1.1-Flash",
|
|
165
|
+
"description": "MAI-Code-1.1-Flash",
|
|
166
|
+
"_meta": {
|
|
167
|
+
"copilotUsage": "0.25x",
|
|
168
|
+
"copilotEnablement": "enabled"
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
]
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"type": "select",
|
|
175
|
+
"id": "reasoning_effort",
|
|
176
|
+
"name": "Reasoning Effort",
|
|
177
|
+
"category": "thought_level",
|
|
178
|
+
"description": "How much reasoning the model performs before responding. Higher effort can improve quality at the cost of speed.",
|
|
179
|
+
"currentValue": "medium",
|
|
180
|
+
"options": [
|
|
181
|
+
{
|
|
182
|
+
"value": "low",
|
|
183
|
+
"name": "low",
|
|
184
|
+
"description": "Minimal reasoning before responding."
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"value": "medium",
|
|
188
|
+
"name": "medium",
|
|
189
|
+
"description": "Balanced reasoning and speed."
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"value": "high",
|
|
193
|
+
"name": "high",
|
|
194
|
+
"description": "More thorough reasoning; slower responses."
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"value": "max",
|
|
198
|
+
"name": "max",
|
|
199
|
+
"description": "Maximum reasoning; slowest but most thorough."
|
|
200
|
+
}
|
|
201
|
+
]
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"type": "select",
|
|
205
|
+
"id": "allow_all",
|
|
206
|
+
"name": "Allow All",
|
|
207
|
+
"category": "permissions",
|
|
208
|
+
"description": "Controls whether Copilot prompts for approval before using tools, accessing paths, or fetching URLs.",
|
|
209
|
+
"currentValue": "off",
|
|
210
|
+
"options": [
|
|
211
|
+
{
|
|
212
|
+
"value": "on",
|
|
213
|
+
"name": "On",
|
|
214
|
+
"description": "Automatically approve all tool, path, and URL requests"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"value": "off",
|
|
218
|
+
"name": "Off",
|
|
219
|
+
"description": "Require approval for tool, path, and URL requests"
|
|
220
|
+
}
|
|
221
|
+
]
|
|
222
|
+
}
|
|
223
|
+
],
|
|
224
|
+
"modes": {
|
|
225
|
+
"availableModes": [
|
|
226
|
+
{
|
|
227
|
+
"id": "https://agentclientprotocol.com/protocol/session-modes#agent",
|
|
228
|
+
"name": "Agent",
|
|
229
|
+
"description": "Default agent mode for conversational interactions"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"id": "https://agentclientprotocol.com/protocol/session-modes#plan",
|
|
233
|
+
"name": "Plan",
|
|
234
|
+
"description": "Plan mode for creating and executing multi-step plans"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"id": "https://agentclientprotocol.com/protocol/session-modes#autopilot",
|
|
238
|
+
"name": "Autopilot",
|
|
239
|
+
"description": "Autonomous mode that enables allow-all and runs until task completion without user interaction (experimental)"
|
|
240
|
+
}
|
|
241
|
+
],
|
|
242
|
+
"currentModeId": "https://agentclientprotocol.com/protocol/session-modes#agent"
|
|
243
|
+
},
|
|
244
|
+
"sessionId": "copilot-session-1"
|
|
245
|
+
},
|
|
246
|
+
"commands": [
|
|
247
|
+
{
|
|
248
|
+
"name": "add-dir",
|
|
249
|
+
"description": "Allow file access to a directory and load its .github skills and agents as trusted configuration",
|
|
250
|
+
"input": {
|
|
251
|
+
"hint": "directory"
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"name": "allow-all",
|
|
256
|
+
"description": "Enable all permissions",
|
|
257
|
+
"input": {
|
|
258
|
+
"hint": "[on|off|show]"
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"name": "permissions",
|
|
263
|
+
"description": "Switch between permission modes",
|
|
264
|
+
"input": {
|
|
265
|
+
"hint": "[default|allow-all|show]"
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
],
|
|
269
|
+
"setConfigOption": {
|
|
270
|
+
"configOptions": [
|
|
271
|
+
{
|
|
272
|
+
"type": "select",
|
|
273
|
+
"id": "mode",
|
|
274
|
+
"name": "Mode",
|
|
275
|
+
"category": "mode",
|
|
276
|
+
"description": "Controls how Copilot responds: a conversational agent, planning multi-step work, or autonomous autopilot.",
|
|
277
|
+
"currentValue": "https://agentclientprotocol.com/protocol/session-modes#agent",
|
|
278
|
+
"options": [
|
|
279
|
+
{
|
|
280
|
+
"value": "https://agentclientprotocol.com/protocol/session-modes#agent",
|
|
281
|
+
"name": "Agent",
|
|
282
|
+
"description": "Default agent mode for conversational interactions"
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"value": "https://agentclientprotocol.com/protocol/session-modes#plan",
|
|
286
|
+
"name": "Plan",
|
|
287
|
+
"description": "Plan mode for creating and executing multi-step plans"
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"value": "https://agentclientprotocol.com/protocol/session-modes#autopilot",
|
|
291
|
+
"name": "Autopilot",
|
|
292
|
+
"description": "Autonomous mode that enables allow-all and runs until task completion without user interaction (experimental)"
|
|
293
|
+
}
|
|
294
|
+
]
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"type": "select",
|
|
298
|
+
"id": "model",
|
|
299
|
+
"name": "Model",
|
|
300
|
+
"category": "model",
|
|
301
|
+
"description": "The AI model Copilot uses to generate responses.",
|
|
302
|
+
"currentValue": "claude-sonnet-4.6",
|
|
303
|
+
"options": [
|
|
304
|
+
{
|
|
305
|
+
"value": "auto",
|
|
306
|
+
"name": "Auto",
|
|
307
|
+
"description": "Let Copilot pick the best model",
|
|
308
|
+
"_meta": null
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"value": "claude-sonnet-4.6",
|
|
312
|
+
"name": "Claude Sonnet 4.6",
|
|
313
|
+
"description": "Claude Sonnet 4.6",
|
|
314
|
+
"_meta": {
|
|
315
|
+
"copilotUsage": "9x",
|
|
316
|
+
"copilotEnablement": "enabled"
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"value": "claude-haiku-4.5",
|
|
321
|
+
"name": "Claude Haiku 4.5",
|
|
322
|
+
"description": "Claude Haiku 4.5",
|
|
323
|
+
"_meta": {
|
|
324
|
+
"copilotUsage": "0.33x",
|
|
325
|
+
"copilotEnablement": "enabled"
|
|
326
|
+
}
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"value": "gpt-5.3-codex",
|
|
330
|
+
"name": "GPT-5.3-Codex",
|
|
331
|
+
"description": "GPT-5.3-Codex",
|
|
332
|
+
"_meta": {
|
|
333
|
+
"copilotUsage": "6x",
|
|
334
|
+
"copilotEnablement": "enabled"
|
|
335
|
+
}
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"value": "mai-code-1.1-flash",
|
|
339
|
+
"name": "MAI-Code-1.1-Flash",
|
|
340
|
+
"description": "MAI-Code-1.1-Flash",
|
|
341
|
+
"_meta": {
|
|
342
|
+
"copilotUsage": "0.25x",
|
|
343
|
+
"copilotEnablement": "enabled"
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
]
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"type": "select",
|
|
350
|
+
"id": "reasoning_effort",
|
|
351
|
+
"name": "Reasoning Effort",
|
|
352
|
+
"category": "thought_level",
|
|
353
|
+
"description": "How much reasoning the model performs before responding. Higher effort can improve quality at the cost of speed.",
|
|
354
|
+
"currentValue": "medium",
|
|
355
|
+
"options": [
|
|
356
|
+
{
|
|
357
|
+
"value": "low",
|
|
358
|
+
"name": "low",
|
|
359
|
+
"description": "Minimal reasoning before responding."
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"value": "medium",
|
|
363
|
+
"name": "medium",
|
|
364
|
+
"description": "Balanced reasoning and speed."
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"value": "high",
|
|
368
|
+
"name": "high",
|
|
369
|
+
"description": "More thorough reasoning; slower responses."
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"value": "max",
|
|
373
|
+
"name": "max",
|
|
374
|
+
"description": "Maximum reasoning; slowest but most thorough."
|
|
375
|
+
}
|
|
376
|
+
]
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"type": "select",
|
|
380
|
+
"id": "allow_all",
|
|
381
|
+
"name": "Allow All",
|
|
382
|
+
"category": "permissions",
|
|
383
|
+
"description": "Controls whether Copilot prompts for approval before using tools, accessing paths, or fetching URLs.",
|
|
384
|
+
"currentValue": "off",
|
|
385
|
+
"options": [
|
|
386
|
+
{
|
|
387
|
+
"value": "on",
|
|
388
|
+
"name": "On",
|
|
389
|
+
"description": "Automatically approve all tool, path, and URL requests"
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"value": "off",
|
|
393
|
+
"name": "Off",
|
|
394
|
+
"description": "Require approval for tool, path, and URL requests"
|
|
395
|
+
}
|
|
396
|
+
]
|
|
397
|
+
}
|
|
398
|
+
]
|
|
399
|
+
},
|
|
400
|
+
"promptUpdates": [
|
|
401
|
+
{
|
|
402
|
+
"sessionUpdate": "session_info_update",
|
|
403
|
+
"title": "First say in one short sentence that you will create probe.txt. Then create the file probe.txt in the current folder containing the word hi. If that is not possible, say so in one sentence and stop.",
|
|
404
|
+
"updatedAt": "2026-10-21T14:54:13.197Z"
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"sessionUpdate": "config_option_update",
|
|
408
|
+
"configOptions": [
|
|
409
|
+
{
|
|
410
|
+
"type": "select",
|
|
411
|
+
"id": "mode",
|
|
412
|
+
"name": "Mode",
|
|
413
|
+
"category": "mode",
|
|
414
|
+
"description": "Controls how Copilot responds: a conversational agent, planning multi-step work, or autonomous autopilot.",
|
|
415
|
+
"currentValue": "https://agentclientprotocol.com/protocol/session-modes#agent",
|
|
416
|
+
"options": [
|
|
417
|
+
{
|
|
418
|
+
"value": "https://agentclientprotocol.com/protocol/session-modes#agent",
|
|
419
|
+
"name": "Agent",
|
|
420
|
+
"description": "Default agent mode for conversational interactions"
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"value": "https://agentclientprotocol.com/protocol/session-modes#plan",
|
|
424
|
+
"name": "Plan",
|
|
425
|
+
"description": "Plan mode for creating and executing multi-step plans"
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
"value": "https://agentclientprotocol.com/protocol/session-modes#autopilot",
|
|
429
|
+
"name": "Autopilot",
|
|
430
|
+
"description": "Autonomous mode that enables allow-all and runs until task completion without user interaction (experimental)"
|
|
431
|
+
}
|
|
432
|
+
]
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
"type": "select",
|
|
436
|
+
"id": "model",
|
|
437
|
+
"name": "Model",
|
|
438
|
+
"category": "model",
|
|
439
|
+
"description": "The AI model Copilot uses to generate responses.",
|
|
440
|
+
"currentValue": "claude-haiku-4.5",
|
|
441
|
+
"options": [
|
|
442
|
+
{
|
|
443
|
+
"value": "auto",
|
|
444
|
+
"name": "Auto",
|
|
445
|
+
"description": "Let Copilot pick the best model",
|
|
446
|
+
"_meta": null
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
"value": "claude-sonnet-4.6",
|
|
450
|
+
"name": "Claude Sonnet 4.6",
|
|
451
|
+
"description": "Claude Sonnet 4.6",
|
|
452
|
+
"_meta": {
|
|
453
|
+
"copilotUsage": "9x",
|
|
454
|
+
"copilotEnablement": "enabled"
|
|
455
|
+
}
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"value": "claude-haiku-4.5",
|
|
459
|
+
"name": "Claude Haiku 4.5",
|
|
460
|
+
"description": "Claude Haiku 4.5",
|
|
461
|
+
"_meta": {
|
|
462
|
+
"copilotUsage": "0.33x",
|
|
463
|
+
"copilotEnablement": "enabled"
|
|
464
|
+
}
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
"value": "gpt-5.3-codex",
|
|
468
|
+
"name": "GPT-5.3-Codex",
|
|
469
|
+
"description": "GPT-5.3-Codex",
|
|
470
|
+
"_meta": {
|
|
471
|
+
"copilotUsage": "6x",
|
|
472
|
+
"copilotEnablement": "enabled"
|
|
473
|
+
}
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
"value": "mai-code-1.1-flash",
|
|
477
|
+
"name": "MAI-Code-1.1-Flash",
|
|
478
|
+
"description": "MAI-Code-1.1-Flash",
|
|
479
|
+
"_meta": {
|
|
480
|
+
"copilotUsage": "0.25x",
|
|
481
|
+
"copilotEnablement": "enabled"
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
]
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
"type": "select",
|
|
488
|
+
"id": "allow_all",
|
|
489
|
+
"name": "Allow All",
|
|
490
|
+
"category": "permissions",
|
|
491
|
+
"description": "Controls whether Copilot prompts for approval before using tools, accessing paths, or fetching URLs.",
|
|
492
|
+
"currentValue": "off",
|
|
493
|
+
"options": [
|
|
494
|
+
{
|
|
495
|
+
"value": "on",
|
|
496
|
+
"name": "On",
|
|
497
|
+
"description": "Automatically approve all tool, path, and URL requests"
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
"value": "off",
|
|
501
|
+
"name": "Off",
|
|
502
|
+
"description": "Require approval for tool, path, and URL requests"
|
|
503
|
+
}
|
|
504
|
+
]
|
|
505
|
+
}
|
|
506
|
+
]
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
"sessionUpdate": "usage_update",
|
|
510
|
+
"used": 19822,
|
|
511
|
+
"size": 128000
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
515
|
+
"content": {
|
|
516
|
+
"type": "text",
|
|
517
|
+
"text": "The user wants me"
|
|
518
|
+
}
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
522
|
+
"content": {
|
|
523
|
+
"type": "text",
|
|
524
|
+
"text": " to:\n1"
|
|
525
|
+
}
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
529
|
+
"content": {
|
|
530
|
+
"type": "text",
|
|
531
|
+
"text": ". Say"
|
|
532
|
+
}
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
536
|
+
"content": {
|
|
537
|
+
"type": "text",
|
|
538
|
+
"text": " in one short sentence"
|
|
539
|
+
}
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
543
|
+
"content": {
|
|
544
|
+
"type": "text",
|
|
545
|
+
"text": " that I will create"
|
|
546
|
+
}
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
550
|
+
"content": {
|
|
551
|
+
"type": "text",
|
|
552
|
+
"text": " probe.txt"
|
|
553
|
+
}
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
557
|
+
"content": {
|
|
558
|
+
"type": "text",
|
|
559
|
+
"text": "\n2. Create the"
|
|
560
|
+
}
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
564
|
+
"content": {
|
|
565
|
+
"type": "text",
|
|
566
|
+
"text": " file probe.txt"
|
|
567
|
+
}
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
571
|
+
"content": {
|
|
572
|
+
"type": "text",
|
|
573
|
+
"text": " in the current folder"
|
|
574
|
+
}
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
578
|
+
"content": {
|
|
579
|
+
"type": "text",
|
|
580
|
+
"text": " containing the word \""
|
|
581
|
+
}
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
585
|
+
"content": {
|
|
586
|
+
"type": "text",
|
|
587
|
+
"text": "hi\"\n3"
|
|
588
|
+
}
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
592
|
+
"content": {
|
|
593
|
+
"type": "text",
|
|
594
|
+
"text": ". If not"
|
|
595
|
+
}
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
599
|
+
"content": {
|
|
600
|
+
"type": "text",
|
|
601
|
+
"text": " possible, say so"
|
|
602
|
+
}
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
606
|
+
"content": {
|
|
607
|
+
"type": "text",
|
|
608
|
+
"text": " in one sentence and"
|
|
609
|
+
}
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
613
|
+
"content": {
|
|
614
|
+
"type": "text",
|
|
615
|
+
"text": " stop\n\nThe"
|
|
616
|
+
}
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
620
|
+
"content": {
|
|
621
|
+
"type": "text",
|
|
622
|
+
"text": " current working"
|
|
623
|
+
}
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
627
|
+
"content": {
|
|
628
|
+
"type": "text",
|
|
629
|
+
"text": " directory is /tmp"
|
|
630
|
+
}
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
634
|
+
"content": {
|
|
635
|
+
"type": "text",
|
|
636
|
+
"text": "/a"
|
|
637
|
+
}
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
641
|
+
"content": {
|
|
642
|
+
"type": "text",
|
|
643
|
+
"text": "cp"
|
|
644
|
+
}
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
648
|
+
"content": {
|
|
649
|
+
"type": "text",
|
|
650
|
+
"text": "-"
|
|
651
|
+
}
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
655
|
+
"content": {
|
|
656
|
+
"type": "text",
|
|
657
|
+
"text": "cop"
|
|
658
|
+
}
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
662
|
+
"content": {
|
|
663
|
+
"type": "text",
|
|
664
|
+
"text": "ilot."
|
|
665
|
+
}
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
669
|
+
"content": {
|
|
670
|
+
"type": "text",
|
|
671
|
+
"text": "Ee"
|
|
672
|
+
}
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
676
|
+
"content": {
|
|
677
|
+
"type": "text",
|
|
678
|
+
"text": "0"
|
|
679
|
+
}
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
683
|
+
"content": {
|
|
684
|
+
"type": "text",
|
|
685
|
+
"text": "O"
|
|
686
|
+
}
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
690
|
+
"content": {
|
|
691
|
+
"type": "text",
|
|
692
|
+
"text": "\n\nI need to use"
|
|
693
|
+
}
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
697
|
+
"content": {
|
|
698
|
+
"type": "text",
|
|
699
|
+
"text": " the `create`"
|
|
700
|
+
}
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
704
|
+
"content": {
|
|
705
|
+
"type": "text",
|
|
706
|
+
"text": " tool"
|
|
707
|
+
}
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
711
|
+
"content": {
|
|
712
|
+
"type": "text",
|
|
713
|
+
"text": " to create a file"
|
|
714
|
+
}
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
718
|
+
"content": {
|
|
719
|
+
"type": "text",
|
|
720
|
+
"text": "."
|
|
721
|
+
}
|
|
722
|
+
},
|
|
723
|
+
{
|
|
724
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
725
|
+
"content": {
|
|
726
|
+
"type": "text",
|
|
727
|
+
"text": " The create"
|
|
728
|
+
}
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
732
|
+
"content": {
|
|
733
|
+
"type": "text",
|
|
734
|
+
"text": " tool requires:"
|
|
735
|
+
}
|
|
736
|
+
},
|
|
737
|
+
{
|
|
738
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
739
|
+
"content": {
|
|
740
|
+
"type": "text",
|
|
741
|
+
"text": "\n- path: Full"
|
|
742
|
+
}
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
746
|
+
"content": {
|
|
747
|
+
"type": "text",
|
|
748
|
+
"text": " absolute"
|
|
749
|
+
}
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
753
|
+
"content": {
|
|
754
|
+
"type": "text",
|
|
755
|
+
"text": " path to file"
|
|
756
|
+
}
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
760
|
+
"content": {
|
|
761
|
+
"type": "text",
|
|
762
|
+
"text": " to create."
|
|
763
|
+
}
|
|
764
|
+
},
|
|
765
|
+
{
|
|
766
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
767
|
+
"content": {
|
|
768
|
+
"type": "text",
|
|
769
|
+
"text": " File"
|
|
770
|
+
}
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
774
|
+
"content": {
|
|
775
|
+
"type": "text",
|
|
776
|
+
"text": " MUST not"
|
|
777
|
+
}
|
|
778
|
+
},
|
|
779
|
+
{
|
|
780
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
781
|
+
"content": {
|
|
782
|
+
"type": "text",
|
|
783
|
+
"text": " exist before"
|
|
784
|
+
}
|
|
785
|
+
},
|
|
786
|
+
{
|
|
787
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
788
|
+
"content": {
|
|
789
|
+
"type": "text",
|
|
790
|
+
"text": " creating"
|
|
791
|
+
}
|
|
792
|
+
},
|
|
793
|
+
{
|
|
794
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
795
|
+
"content": {
|
|
796
|
+
"type": "text",
|
|
797
|
+
"text": "."
|
|
798
|
+
}
|
|
799
|
+
},
|
|
800
|
+
{
|
|
801
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
802
|
+
"content": {
|
|
803
|
+
"type": "text",
|
|
804
|
+
"text": "\n- file_"
|
|
805
|
+
}
|
|
806
|
+
},
|
|
807
|
+
{
|
|
808
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
809
|
+
"content": {
|
|
810
|
+
"type": "text",
|
|
811
|
+
"text": "text"
|
|
812
|
+
}
|
|
813
|
+
},
|
|
814
|
+
{
|
|
815
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
816
|
+
"content": {
|
|
817
|
+
"type": "text",
|
|
818
|
+
"text": ": The"
|
|
819
|
+
}
|
|
820
|
+
},
|
|
821
|
+
{
|
|
822
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
823
|
+
"content": {
|
|
824
|
+
"type": "text",
|
|
825
|
+
"text": " content of"
|
|
826
|
+
}
|
|
827
|
+
},
|
|
828
|
+
{
|
|
829
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
830
|
+
"content": {
|
|
831
|
+
"type": "text",
|
|
832
|
+
"text": " the file to be"
|
|
833
|
+
}
|
|
834
|
+
},
|
|
835
|
+
{
|
|
836
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
837
|
+
"content": {
|
|
838
|
+
"type": "text",
|
|
839
|
+
"text": " created.\n\nSo"
|
|
840
|
+
}
|
|
841
|
+
},
|
|
842
|
+
{
|
|
843
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
844
|
+
"content": {
|
|
845
|
+
"type": "text",
|
|
846
|
+
"text": " I should"
|
|
847
|
+
}
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
851
|
+
"content": {
|
|
852
|
+
"type": "text",
|
|
853
|
+
"text": " create /"
|
|
854
|
+
}
|
|
855
|
+
},
|
|
856
|
+
{
|
|
857
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
858
|
+
"content": {
|
|
859
|
+
"type": "text",
|
|
860
|
+
"text": "tmp/acp"
|
|
861
|
+
}
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
865
|
+
"content": {
|
|
866
|
+
"type": "text",
|
|
867
|
+
"text": "-copilot"
|
|
868
|
+
}
|
|
869
|
+
},
|
|
870
|
+
{
|
|
871
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
872
|
+
"content": {
|
|
873
|
+
"type": "text",
|
|
874
|
+
"text": ".Ee0"
|
|
875
|
+
}
|
|
876
|
+
},
|
|
877
|
+
{
|
|
878
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
879
|
+
"content": {
|
|
880
|
+
"type": "text",
|
|
881
|
+
"text": "O/probe."
|
|
882
|
+
}
|
|
883
|
+
},
|
|
884
|
+
{
|
|
885
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
886
|
+
"content": {
|
|
887
|
+
"type": "text",
|
|
888
|
+
"text": "txt with content \""
|
|
889
|
+
}
|
|
890
|
+
},
|
|
891
|
+
{
|
|
892
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
893
|
+
"content": {
|
|
894
|
+
"type": "text",
|
|
895
|
+
"text": "hi\".\n\nLet"
|
|
896
|
+
}
|
|
897
|
+
},
|
|
898
|
+
{
|
|
899
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
900
|
+
"content": {
|
|
901
|
+
"type": "text",
|
|
902
|
+
"text": " me first"
|
|
903
|
+
}
|
|
904
|
+
},
|
|
905
|
+
{
|
|
906
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
907
|
+
"content": {
|
|
908
|
+
"type": "text",
|
|
909
|
+
"text": " say the sentence,"
|
|
910
|
+
}
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
914
|
+
"content": {
|
|
915
|
+
"type": "text",
|
|
916
|
+
"text": " then make"
|
|
917
|
+
}
|
|
918
|
+
},
|
|
919
|
+
{
|
|
920
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
921
|
+
"content": {
|
|
922
|
+
"type": "text",
|
|
923
|
+
"text": " the tool"
|
|
924
|
+
}
|
|
925
|
+
},
|
|
926
|
+
{
|
|
927
|
+
"sessionUpdate": "agent_thought_chunk",
|
|
928
|
+
"content": {
|
|
929
|
+
"type": "text",
|
|
930
|
+
"text": " call."
|
|
931
|
+
}
|
|
932
|
+
},
|
|
933
|
+
{
|
|
934
|
+
"sessionUpdate": "agent_message_chunk",
|
|
935
|
+
"content": {
|
|
936
|
+
"type": "text",
|
|
937
|
+
"text": "I"
|
|
938
|
+
}
|
|
939
|
+
},
|
|
940
|
+
{
|
|
941
|
+
"sessionUpdate": "agent_message_chunk",
|
|
942
|
+
"content": {
|
|
943
|
+
"type": "text",
|
|
944
|
+
"text": " will create probe."
|
|
945
|
+
}
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
"sessionUpdate": "agent_message_chunk",
|
|
949
|
+
"content": {
|
|
950
|
+
"type": "text",
|
|
951
|
+
"text": "txt in the current"
|
|
952
|
+
}
|
|
953
|
+
},
|
|
954
|
+
{
|
|
955
|
+
"sessionUpdate": "agent_message_chunk",
|
|
956
|
+
"content": {
|
|
957
|
+
"type": "text",
|
|
958
|
+
"text": " folder."
|
|
959
|
+
}
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
"sessionUpdate": "tool_call",
|
|
963
|
+
"toolCallId": "toolu_01GHHk4KWN6rbDyLge1bmvzf",
|
|
964
|
+
"title": "Creating /work/probe.txt",
|
|
965
|
+
"kind": "edit",
|
|
966
|
+
"status": "pending",
|
|
967
|
+
"rawInput": {
|
|
968
|
+
"path": "/work/probe.txt",
|
|
969
|
+
"file_text": "hi"
|
|
970
|
+
},
|
|
971
|
+
"locations": [
|
|
972
|
+
{
|
|
973
|
+
"path": "/work/probe.txt"
|
|
974
|
+
}
|
|
975
|
+
],
|
|
976
|
+
"content": [
|
|
977
|
+
{
|
|
978
|
+
"type": "diff",
|
|
979
|
+
"path": "/work/probe.txt",
|
|
980
|
+
"oldText": "",
|
|
981
|
+
"newText": "hi"
|
|
982
|
+
}
|
|
983
|
+
]
|
|
984
|
+
},
|
|
985
|
+
{
|
|
986
|
+
"permission": {
|
|
987
|
+
"sessionId": "copilot-session-1",
|
|
988
|
+
"toolCall": {
|
|
989
|
+
"toolCallId": "toolu_01GHHk4KWN6rbDyLge1bmvzf",
|
|
990
|
+
"title": "Create file",
|
|
991
|
+
"kind": "edit",
|
|
992
|
+
"status": "pending",
|
|
993
|
+
"rawInput": {
|
|
994
|
+
"fileName": "/work/probe.txt",
|
|
995
|
+
"diff": "\ndiff --git a/work/probe.txt b/work/probe.txt\ncreate file mode 100644\nindex 0000000..0000000\n--- a/dev/null\n+++ b/work/probe.txt\n@@ -1,0 +1,1 @@\n+hi\n"
|
|
996
|
+
},
|
|
997
|
+
"locations": [
|
|
998
|
+
{
|
|
999
|
+
"path": "/work/probe.txt"
|
|
1000
|
+
}
|
|
1001
|
+
]
|
|
1002
|
+
},
|
|
1003
|
+
"options": [
|
|
1004
|
+
{
|
|
1005
|
+
"optionId": "allow_once",
|
|
1006
|
+
"kind": "allow_once",
|
|
1007
|
+
"name": "Allow once"
|
|
1008
|
+
},
|
|
1009
|
+
{
|
|
1010
|
+
"optionId": "allow_always",
|
|
1011
|
+
"kind": "allow_always",
|
|
1012
|
+
"name": "Always allow"
|
|
1013
|
+
},
|
|
1014
|
+
{
|
|
1015
|
+
"optionId": "reject_once",
|
|
1016
|
+
"kind": "reject_once",
|
|
1017
|
+
"name": "Deny"
|
|
1018
|
+
}
|
|
1019
|
+
]
|
|
1020
|
+
}
|
|
1021
|
+
},
|
|
1022
|
+
{
|
|
1023
|
+
"sessionUpdate": "tool_call_update",
|
|
1024
|
+
"toolCallId": "toolu_01GHHk4KWN6rbDyLge1bmvzf",
|
|
1025
|
+
"status": "failed",
|
|
1026
|
+
"rawOutput": {
|
|
1027
|
+
"message": "The user rejected this tool call.",
|
|
1028
|
+
"code": "rejected"
|
|
1029
|
+
}
|
|
1030
|
+
},
|
|
1031
|
+
{
|
|
1032
|
+
"sessionUpdate": "agent_message_chunk",
|
|
1033
|
+
"content": {
|
|
1034
|
+
"type": "text",
|
|
1035
|
+
"text": "Info: Operation cancelled by user"
|
|
1036
|
+
}
|
|
1037
|
+
}
|
|
1038
|
+
],
|
|
1039
|
+
"promptResponse": {
|
|
1040
|
+
"stopReason": "end_turn",
|
|
1041
|
+
"usage": {
|
|
1042
|
+
"inputTokens": 22983,
|
|
1043
|
+
"outputTokens": 278,
|
|
1044
|
+
"totalTokens": 23261,
|
|
1045
|
+
"thoughtTokens": 176,
|
|
1046
|
+
"cachedReadTokens": 8167,
|
|
1047
|
+
"cachedWriteTokens": 14806
|
|
1048
|
+
}
|
|
1049
|
+
}
|
|
1050
|
+
}
|