Skip to content

Commit a84da8d

Browse files
feat(Wind): Regenerate service and command catalogs
Synchronize the Wind UI service layer with upstream VS Code changes by regenerating all interface definitions and catalog artifacts in `Source/Effect/Generated`. Key modifications: - Updated `CommandCatalogVersion` to "2026-05-14" and adjusted `CommandCatalogTotal` from 547 to 546 following the removal of `workbench.action.chat.openCopilotStatus`. - Refreshed `ServiceCatalog` and upstream interface definitions for `IAgentHostUntitledProvisionalSessionService`, `IBrowserViewCDPService`, `IBrowserViewMainService`, and `IBrowserViewWorkbenchService`. - Corrected `SourceLine` references across all modified interfaces to match the current upstream VS Code source positions. These changes ensure the Wind service layer accurately reflects the latest upstream interface contracts and registry state.
1 parent 4303c11 commit a84da8d

6 files changed

Lines changed: 19 additions & 26 deletions

File tree

Source/Effect/Generated/CommandCatalog.ts

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export interface CommandCatalogEntry {
2525

2626
export const CommandCatalogVersion = "2026-05-14" as const;
2727

28-
export const CommandCatalogTotal = 547 as const;
28+
export const CommandCatalogTotal = 546 as const;
2929

3030
export const CommandCatalog: ReadonlyArray<CommandCatalogEntry> = [
3131
{
@@ -60,7 +60,7 @@ export const CommandCatalog: ReadonlyArray<CommandCatalogEntry> = [
6060
CommandIdentifier: "_chat.notifyQuestionCarouselAnswer",
6161
Kind: "CommandsRegistry",
6262
SourcePath: "vs/workbench/contrib/chat/browser/chat.contribution.ts",
63-
SourceLine: 198,
63+
SourceLine: 199,
6464
HasKeybinding: false,
6565
},
6666
{
@@ -3311,13 +3311,6 @@ export const CommandCatalog: ReadonlyArray<CommandCatalogEntry> = [
33113311
SourceLine: 52,
33123312
HasKeybinding: true,
33133313
},
3314-
{
3315-
CommandIdentifier: "workbench.action.chat.openCopilotStatus",
3316-
Kind: "CommandsRegistry",
3317-
SourcePath: "vs/workbench/contrib/chat/browser/chatStatus/chatStatusEntry.ts",
3318-
SourceLine: 61,
3319-
HasKeybinding: false,
3320-
},
33213314
{
33223315
CommandIdentifier: "workbench.action.chat.openInSidebar",
33233316
Kind: "MenuRegistry",

Source/Effect/Generated/IAgentHostUntitledProvisionalSessionService/IAgentHostUntitledProvisionalSessionServiceUpstream.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
/**
2-
* Generated by Wind/Codegen from vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostUntitledProvisionalSessionService.ts:63.
2+
* Generated by Wind/Codegen from vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostUntitledProvisionalSessionService.ts:67.
33
* Decorator tag: "agentHostUntitledProvisionalSessionService".
44
* DO NOT EDIT BY HAND. Re-run codegen to refresh.
55
*/
66

77
import type { InterfaceMemberRecord } from "../../Codegen/Type/InterfaceMemberRecord.js";
88
export const IAgentHostUntitledProvisionalSessionServiceTag = "agentHostUntitledProvisionalSessionService" as const;
99
export const IAgentHostUntitledProvisionalSessionServiceSourcePath = "vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostUntitledProvisionalSessionService.ts" as const;
10-
export const IAgentHostUntitledProvisionalSessionServiceSourceLine = 63 as const;
10+
export const IAgentHostUntitledProvisionalSessionServiceSourceLine = 67 as const;
1111
// Decorator doc:
1212
// /**
1313
// * LM editing map for untitled agent-host chat sessions.
@@ -143,6 +143,6 @@ export const IAgentHostUntitledProvisionalSessionServiceMembers: ReadonlyArray<I
143143
TypeText: "undefined",
144144
Parameters: [],
145145
DocComment: "LM editing map for untitled agent-host chat sessions.\nThis service exists so session-config chip choices made before first Send\nreach the backend `SessionState.config.values`. Do not simplify this into a\ndirect picker-only cache: the agent reads config through the backend state\nwhen a provisional session materializes.\nResource identities:\n- chat UI resource: `agent-host-PROVIDER:/untitled-<uuid>` before first Send.\n- backend resource: `PROVIDER:/untitled-<uuid>` for the provisional state.\n- real chat resource: `agent-host-PROVIDER:/<uuid>` after\n`chatServiceImpl.acceptInput` calls `createNewChatSessionItem`.\n- real backend resource: `PROVIDER:/<uuid>` after `tryRebind`.\nRequired flow:\n1. `AgentHostChatInputPicker` calls `getOrCreate(untitled, provider, cwd)`.\nThis creates a backend provisional session so `SessionConfigChanged`\nactions have a reducer-owned `SessionState` to update.\n2. On first Send, `AgentHostSessionListController.newChatSessionItem`\nreceives both `request.untitledResource` and the newly generated real\nresource. It must call `tryRebind` before the handler invokes the agent.\n3. `tryRebind` snapshots `state.config.values` from the untitled backend\nprovisional, creates a new provisional for the real backend resource with\nthat config, swaps `_entries`, fires `onDidChange` for both resources,\nthen best-effort disposes the untitled backend provisional.\n4. `AgentHostSessionHandler._invokeAgent` calls `get(realResource)`. When a\nrebound provisional exists, it takes a refcounted subscription on that\nbackend state up front so the rest of the handler observes the preserved\n`state.config.values` instead of a freshly created empty session. The\neager-state branch then skips `_createAndSubscribe`; the agent\nmaterializes the provisional and reads the preserved config values.\nInvariants to preserve:\n- `_entries` is keyed by chat UI resources and stores backend resources.\n- `getOrCreate` is serialized per chat UI resource; chip instances may race.\n- `tryRebind` is best-effort. Failure must degrade to the handler's normal\ncreate path rather than blocking Send.\n- Abandoned untitled chats must dispose their backend provisional state when\n`IChatService.onDidDisposeSession` reports the chat UI resource.\n- Callers own provider and working-directory consistency. Derive them from\nthe chat resource/session type and active workspace in the same way on\ncreate and rebind.",
146-
SourceLine: 73,
146+
SourceLine: 77,
147147
}
148148
] as const;

Source/Effect/Generated/IBrowserViewCDPService/IBrowserViewCDPServiceUpstream.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
/**
2-
* Generated by Wind/Codegen from vs/workbench/contrib/browserView/common/browserView.ts:153.
2+
* Generated by Wind/Codegen from vs/workbench/contrib/browserView/common/browserView.ts:160.
33
* Decorator tag: "browserViewCDPService".
44
* DO NOT EDIT BY HAND. Re-run codegen to refresh.
55
*/
66

77
import type { InterfaceMemberRecord } from "../../Codegen/Type/InterfaceMemberRecord.js";
88
export const IBrowserViewCDPServiceTag = "browserViewCDPService" as const;
99
export const IBrowserViewCDPServiceSourcePath = "vs/workbench/contrib/browserView/common/browserView.ts" as const;
10-
export const IBrowserViewCDPServiceSourceLine = 153 as const;
10+
export const IBrowserViewCDPServiceSourceLine = 160 as const;
1111
// Decorator doc:
1212
// /**
1313
// * Tools are available and the page is shared with the agent.
@@ -32,6 +32,6 @@ export const IBrowserViewCDPServiceMembers: ReadonlyArray<InterfaceMemberRecord>
3232
TypeText: "undefined",
3333
Parameters: [],
3434
DocComment: "Tools are available and the page is shared with the agent.",
35-
SourceLine: 160,
35+
SourceLine: 167,
3636
}
3737
] as const;

Source/Effect/Generated/IBrowserViewMainService/IBrowserViewMainServiceUpstream.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
/**
2-
* Generated by Wind/Codegen from vs/platform/browserView/electron-main/browserViewMainService.ts:24.
2+
* Generated by Wind/Codegen from vs/platform/browserView/electron-main/browserViewMainService.ts:25.
33
* Decorator tag: "browserViewMainService".
44
* DO NOT EDIT BY HAND. Re-run codegen to refresh.
55
*/
66

77
import type { InterfaceMemberRecord } from "../../Codegen/Type/InterfaceMemberRecord.js";
88
export const IBrowserViewMainServiceTag = "browserViewMainService" as const;
99
export const IBrowserViewMainServiceSourcePath = "vs/platform/browserView/electron-main/browserViewMainService.ts" as const;
10-
export const IBrowserViewMainServiceSourceLine = 24 as const;
10+
export const IBrowserViewMainServiceSourceLine = 25 as const;
1111
export interface IBrowserViewMainServiceUpstream {
1212
readonly _serviceBrand: undefined;
1313
tryGetBrowserView(id: string): BrowserView | undefined;
@@ -21,7 +21,7 @@ export const IBrowserViewMainServiceMembers: ReadonlyArray<InterfaceMemberRecord
2121
TypeText: "undefined",
2222
Parameters: [],
2323
DocComment: null,
24-
SourceLine: 27,
24+
SourceLine: 28,
2525
},
2626
{
2727
Kind: "Method",
@@ -31,6 +31,6 @@ export const IBrowserViewMainServiceMembers: ReadonlyArray<InterfaceMemberRecord
3131
TypeText: "BrowserView | undefined",
3232
Parameters: [{ Name: "id", TypeText: "string", Optional: false }],
3333
DocComment: null,
34-
SourceLine: 29,
34+
SourceLine: 30,
3535
}
3636
] as const;

Source/Effect/Generated/IBrowserViewWorkbenchService/IBrowserViewWorkbenchServiceUpstream.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
/**
2-
* Generated by Wind/Codegen from vs/workbench/contrib/browserView/common/browserView.ts:106.
2+
* Generated by Wind/Codegen from vs/workbench/contrib/browserView/common/browserView.ts:113.
33
* Decorator tag: "browserViewWorkbenchService".
44
* DO NOT EDIT BY HAND. Re-run codegen to refresh.
55
*/
66

77
import type { InterfaceMemberRecord } from "../../Codegen/Type/InterfaceMemberRecord.js";
88
export const IBrowserViewWorkbenchServiceTag = "browserViewWorkbenchService" as const;
99
export const IBrowserViewWorkbenchServiceSourcePath = "vs/workbench/contrib/browserView/common/browserView.ts" as const;
10-
export const IBrowserViewWorkbenchServiceSourceLine = 106 as const;
10+
export const IBrowserViewWorkbenchServiceSourceLine = 113 as const;
1111
// Decorator doc:
1212
// /**
1313
// * Tools are available and the page is shared with the agent.
@@ -32,6 +32,6 @@ export const IBrowserViewWorkbenchServiceMembers: ReadonlyArray<InterfaceMemberR
3232
TypeText: "undefined",
3333
Parameters: [],
3434
DocComment: "Tools are available and the page is shared with the agent.",
35-
SourceLine: 113,
35+
SourceLine: 120,
3636
}
3737
] as const;

Source/Effect/Generated/ServiceCatalog.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ export const ServiceCatalog: ReadonlyArray<ServiceCatalogEntry> = [
205205
DecoratorTag: "agentHostUntitledProvisionalSessionService",
206206
InterfaceName: "IAgentHostUntitledProvisionalSessionService",
207207
SourcePath: "vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostUntitledProvisionalSessionService.ts",
208-
SourceLine: 63,
208+
SourceLine: 67,
209209
MemberCount: 1,
210210
},
211211
{
@@ -469,7 +469,7 @@ export const ServiceCatalog: ReadonlyArray<ServiceCatalogEntry> = [
469469
DecoratorTag: "browserViewCDPService",
470470
InterfaceName: "IBrowserViewCDPService",
471471
SourcePath: "vs/workbench/contrib/browserView/common/browserView.ts",
472-
SourceLine: 153,
472+
SourceLine: 160,
473473
MemberCount: 1,
474474
},
475475
{
@@ -485,15 +485,15 @@ export const ServiceCatalog: ReadonlyArray<ServiceCatalogEntry> = [
485485
DecoratorTag: "browserViewMainService",
486486
InterfaceName: "IBrowserViewMainService",
487487
SourcePath: "vs/platform/browserView/electron-main/browserViewMainService.ts",
488-
SourceLine: 24,
488+
SourceLine: 25,
489489
MemberCount: 2,
490490
},
491491
{
492492
DecoratorName: "IBrowserViewWorkbenchService",
493493
DecoratorTag: "browserViewWorkbenchService",
494494
InterfaceName: "IBrowserViewWorkbenchService",
495495
SourcePath: "vs/workbench/contrib/browserView/common/browserView.ts",
496-
SourceLine: 106,
496+
SourceLine: 113,
497497
MemberCount: 1,
498498
},
499499
{

0 commit comments

Comments
 (0)