Skip to content
This repository was archived by the owner on May 20, 2026. It is now read-only.

Commit b674b42

Browse files
committed
main merge
2 parents fa139f1 + 543e624 commit b674b42

135 files changed

Lines changed: 4695 additions & 11547 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.vscode/launch.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,13 @@
7878
{
7979
"type": "node",
8080
"request": "launch",
81-
"name": "Launch Copilot Extension - Watch Mode - Sessions OSS",
81+
"name": "Launch Copilot Extension - Watch Mode - Agents OSS",
8282
"runtimeExecutable": "${workspaceFolder}/../vscode/scripts/code.sh",
8383
"windows": {
8484
"runtimeExecutable": "${workspaceFolder}/../vscode/scripts/code.bat",
8585
},
8686
"runtimeArgs": [
87-
"--sessions"
87+
"--agents"
8888
],
8989
"attachSimplePort": 5870,
9090
"args": [

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# GitHub Copilot Chat in VS Code - Changelog
2+
3+
You can find the latest AI-related updates for GitHub Copilot in VS Code in the weekly [VS Code release notes](https://code.visualstudio.com/updates).
4+
5+
For more frequent updates, check the [Commit log](https://github.com/Microsoft/vscode/commits/main) and [vscode-copilot-chat commit log](https://github.com/microsoft/vscode-copilot-chat/commits/main) on GitHub.
6+
7+
---
8+
9+
# Past updates
10+
111
## 0.41 (2026-03-25)
212

313
GitHub Copilot updates for [VS Code 1.113](https://code.visualstudio.com/updates/v1_113):

assets/prompts/skills/troubleshoot/SKILL.md

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ Use direct debug log files written by Copilot Chat:
2828
debug-logs/<sessionId>/
2929
main.jsonl — always start here; primary conversation log
3030
models.json — (optional) snapshot of available models at session start
31+
system_prompt_0.json — (optional) full system prompt sent to the model (untruncated)
32+
system_prompt_1.json — (optional) written when the model changes mid-session
33+
tools_0.json — (optional) tool definitions sent to the model
34+
tools_1.json — (optional) written when the model changes mid-session
3135
runSubagent-<agentName>-<uuid>.jsonl — (optional) subagent's tool calls & LLM requests
3236
searchSubagent-<uuid>.jsonl — (optional) search subagent work
3337
title-<uuid>.jsonl — (optional, UI-only) title generation
@@ -37,6 +41,8 @@ debug-logs/<sessionId>/
3741

3842
Always read `main.jsonl` first — it has the full conversation flow. Child files only appear when those operations occurred. `main.jsonl` contains `child_session_ref` entries that link to each child file by name. Title, categorization, and summarize files are UI housekeeping and rarely relevant to troubleshooting. When investigating model availability or selection issues, read `models.json` — it contains the full list of models (with capabilities, billing, and limits) that were available when the session started.
3943

44+
When investigating what the model was told (system prompt, instructions), read the `system_prompt_*.json` file referenced by a `system_prompt_ref` entry in `main.jsonl`. The file contains the full untruncated system prompt as `{ "content": "..." }`. When investigating which tools were available, read the `tools_*.json` file similarly. If the model changed mid-session, multiple numbered files exist — each `llm_request` entry has a `systemPromptFile` attr indicating which file was active for that request.
45+
4046
Each line is a JSON object. Common fields: `ts` (epoch ms), `dur` (duration ms), `sid` (session ID), `type`, `name`, `spanId`, `parentSpanId`, `status` (`ok`|`error`), `attrs` (type-specific details).
4147

4248
### Event Type Reference with Examples
@@ -58,15 +64,15 @@ Key attrs: `args` (JSON string of tool input), `result` (tool output or error te
5864

5965
#### llm_request — model round-trip
6066
```jsonl
61-
{"ts":1773200231010,"dur":3001,"sid":"62f52dec","type":"llm_request","name":"chat:gpt-4o","spanId":"000000000000000c","parentSpanId":"0000000000000003","status":"ok","attrs":{"model":"gpt-4o","inputTokens":15025,"outputTokens":126,"ttft":1987}}
67+
{"ts":1773200231010,"dur":3001,"sid":"62f52dec","type":"llm_request","name":"chat:gpt-4o","spanId":"000000000000000c","parentSpanId":"0000000000000003","status":"ok","attrs":{"model":"gpt-4o","inputTokens":15025,"outputTokens":126,"ttft":1987,"maxTokens":32000,"systemPromptFile":"system_prompt_0.json","userRequest":"echo hello","inputMessages":"[{...}]"}}
6268
```
63-
Key attrs: `model`, `inputTokens`, `outputTokens`, `ttft` (time to first token in ms), `error` (when failed).
69+
Key attrs: `model`, `inputTokens`, `outputTokens`, `ttft` (time to first token in ms), `maxTokens`, `temperature`, `topP`, `systemPromptFile` (references a file in the session directory), `userRequest` (the full user message content, untruncated), `inputMessages` (full messages array as JSON, pre-truncated at 64KB), `error` (when failed).
6470

6571
#### agent_response — model output (text + tool calls)
6672
```jsonl
67-
{"ts":1773200234011,"dur":0,"sid":"62f52dec","type":"agent_response","name":"agent_response","spanId":"agent-msg-000000000000000c","parentSpanId":"0000000000000003","status":"ok","attrs":{"response":"[{\"role\":\"assistant\",\"parts\":[{\"type\":\"text\",\"content\":\"Running your command now.\"},{\"type\":\"tool_call\",\"name\":\"run_in_terminal\",\"arguments\":\"{...}\"}]}]"}}
73+
{"ts":1773200234011,"dur":0,"sid":"62f52dec","type":"agent_response","name":"agent_response","spanId":"agent-msg-000000000000000c","parentSpanId":"0000000000000003","status":"ok","attrs":{"response":"[{\"role\":\"assistant\",...}]","reasoning":"The user wants me to run a command."}}
6874
```
69-
Key attrs: `response` (JSON-encoded array of message parts; may be truncated).
75+
Key attrs: `response` (JSON-encoded array of message parts; may be truncated), `reasoning` (optional — the model's chain-of-thought/thinking text when thinking mode is active; may be truncated).
7076

7177
#### user_message — user input
7278
```jsonl
@@ -85,6 +91,23 @@ Key attrs: `agentName`, `description` (optional), `error` (when failed).
8591
{"ts":1773200260000,"dur":0,"sid":"62f52dec","type":"generic","name":"some-event","spanId":"abc123","status":"ok","attrs":{"details":"Additional context","category":"some-category"}}
8692
```
8793

94+
Special generic entries:
95+
- `system_prompt_ref` — references a `system_prompt_*.json` file in the session directory. `attrs.file` is the filename, `attrs.model` is the model it was written for. Read this file to see the full system prompt.
96+
- `tools_ref` — references a `tools_*.json` file. `attrs.file` is the filename, `attrs.model` is the model.
97+
98+
#### session_start — session metadata (appears once at session start)
99+
```jsonl
100+
{"ts":1773200251300,"dur":0,"sid":"62f52dec","type":"session_start","name":"session_start","spanId":"session-start-62f52dec","status":"ok","attrs":{"copilotVersion":"0.43.2026033104","vscodeVersion":"1.99.0"}}
101+
```
102+
Key attrs: `copilotVersion`, `vscodeVersion`. Useful for identifying which build produced the logs.
103+
104+
#### turn_start / turn_end — tool-calling loop iteration boundaries
105+
```jsonl
106+
{"ts":1773200251400,"dur":0,"sid":"62f52dec","type":"turn_start","name":"turn_start:0","spanId":"turn-start-X-0","status":"ok","attrs":{"turnId":"0"}}
107+
{"ts":1773200255000,"dur":0,"sid":"62f52dec","type":"turn_end","name":"turn_end:0","spanId":"turn-end-X-0","status":"ok","attrs":{"turnId":"0"}}
108+
```
109+
Key attrs: `turnId` (iteration number within a single user request's tool-calling loop). Use these to identify which iteration events belong to and to count total loop iterations.
110+
88111
### Reading the event hierarchy
89112

90113
Events form a tree via `spanId`/`parentSpanId`. A typical chain:

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)