You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`usage.jsonl`| Client-captured token/credit usage, one record per model call (`turnId`, model, input/output/cache tokens, cumulative `totalNanoAiu`). The SDK's `assistant.usage` event is ephemeral and never reaches `events.jsonl`, so this is the only per-call usage record. Present only when agent-host debug logging was on. |
48
51
|`customizations.json`| Snapshot of the skills/hooks/agents/MCP servers loaded for the session. The SDK's `session.*_loaded` events are ephemeral, so this is the only record of what was actually active. Present only when agent-host debug logging was on. |
49
52
|`ahp/*.jsonl`| AHP traffic for a client connection. `_ahpLog.dir` is `c2s` or `s2c`; `_ahpLog.ts` is the wire timestamp. Use this to see requests, responses, subscriptions, actions, notifications, and client-visible ordering. |
50
-
|`Agent Host.log`| Local Agent Host process behavior: startup, auth, sessions, provider events, tools, Git/worktrees, and host-side errors. |
53
+
|`agenthost*.log`| Local or server Agent Host process behavior: startup, auth, sessions, provider events, tools, Git/worktrees, and host-side errors. Numbered files are older rotated segments. |
51
54
|`copilot-logs/*.log`| Copilot SDK process logs that mention the selected session ID. A process log may contain other sessions too. |
|`Shared.log`| Shared-process activity. Usually secondary evidence and often noisy. |
55
+
|`vscode-logs/Window/*`|Current and rotated files from the Window log group, including renderer/client behavior, network activity, views, and other window-owned logs. |
56
+
|`vscode-logs/Shared/*`|Current and rotated files from the Shared log group. Usually secondary evidence and often noisy. |
54
57
|`Agent Host (<name>).log`| Forwarded logs from a named remote Agent Host. |
55
58
|`remote-agenthost.log`| A directly downloaded remote `agenthost.log`, when available. |
|`src/vs/sessions/contrib/sessions/browser/`| Sessions tree view counts and toolbar |
@@ -26,26 +28,25 @@ When changing harness descriptor interfaces or factory functions, verify both co
26
28
27
29
## Key Interfaces
28
30
29
-
-**`IHarnessDescriptor`** — drives all UI behavior declaratively (hidden sections, button overrides, file filters, agent gating). See spec for full field reference.
31
+
-**`IHarnessDescriptor`** — drives harness behavior declaratively (hidden sections, button overrides, item providers, agent gating). See spec for the stable ownership contract.
-**`IStorageSourceFilter`** — controls which storage sources and user roots are visible per harness/type.
32
-
-**`IExternalCustomizationItemProvider`** / **`IExternalCustomizationItem`** — internal interfaces (in `customizationHarnessService.ts`) for extension-contributed providers that supply items directly. These mirror the proposed extension API types.
33
+
-**`ICustomizationItemProvider`** / **`ICustomizationItem`** — internal interfaces (in `customizationHarnessService.ts`) for extension-contributed providers that supply items directly. These mirror the proposed extension API types.
33
34
34
35
Principle: the UI widgets read everything from the descriptor — no harness-specific conditionals in widget code.
35
36
36
37
## Extension API (`chatSessionCustomizationProvider`)
37
38
38
-
The proposed API in `src/vscode-dts/vscode.proposed.chatSessionCustomizationProvider.d.ts` lets extensions register customization providers. Changes to `IExternalCustomizationItem` or `IExternalCustomizationItemProvider` must be kept in sync across the full chain:
39
+
The proposed API in `src/vscode-dts/vscode.proposed.chatSessionCustomizationProvider.d.ts` lets extensions register customization providers. Changes to `ICustomizationItem` or `ICustomizationItemProvider` must be kept in sync across the full chain:
39
40
40
41
| Layer | File | Type |
41
42
|-------|------|------|
42
43
| Extension API |`vscode.proposed.chatSessionCustomizationProvider.d.ts`|`ChatSessionCustomizationItem`|
When adding fields to `IExternalCustomizationItem`, update all five layers. The proposed API `.d.ts` is additive-only (new optional fields are backward-compatible and do not require a version bump).
49
+
When adding fields to `ICustomizationItem`, update all five layers. The proposed API `.d.ts` is additive-only (new optional fields are backward-compatible and do not require a version bump).
0 commit comments