@codingame/monaco-vscode-walkthrough-service-override 25.1.2 → 26.0.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.
Files changed (32) hide show
  1. package/package.json +3 -2
  2. package/vscode/src/vs/workbench/contrib/welcomeAgentSessions/browser/agentSessionsWelcome.d.ts +107 -0
  3. package/vscode/src/vs/workbench/contrib/welcomeAgentSessions/browser/agentSessionsWelcome.js +748 -0
  4. package/vscode/src/vs/workbench/contrib/welcomeAgentSessions/browser/agentSessionsWelcomeInput.d.ts +33 -0
  5. package/vscode/src/vs/workbench/contrib/welcomeAgentSessions/browser/agentSessionsWelcomeInput.js +71 -0
  6. package/vscode/src/vs/workbench/contrib/welcomeAgentSessions/browser/media/agentSessionsWelcome.css +528 -0
  7. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.js +156 -126
  8. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.js +737 -481
  9. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedAccessibleView.js +35 -26
  10. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedColors.js +27 -7
  11. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedDetailsRenderer.js +204 -222
  12. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedExtensionPoint.js +189 -191
  13. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedIcons.js +6 -2
  14. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedInput.d.ts +5 -0
  15. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedInput.js +18 -4
  16. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedList.js +15 -11
  17. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService._contribution.js +20 -11
  18. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService.js +239 -179
  19. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/media/gettingStarted.css +0 -4
  20. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/startupPage.d.ts +2 -3
  21. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/startupPage.js +97 -77
  22. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.js +698 -660
  23. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/notebookProfile.js +15 -13
  24. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/theme_picker.js +21 -21
  25. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/theme_picker_small.js +20 -20
  26. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/editor/editorWalkThrough.js +26 -15
  27. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThrough.contribution.js +10 -6
  28. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThroughActions.js +4 -4
  29. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThroughInput.js +24 -16
  30. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThroughPart.js +129 -96
  31. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/common/walkThroughContentProvider.js +30 -19
  32. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/common/walkThroughUtils.js +8 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-walkthrough-service-override",
3
- "version": "25.1.2",
3
+ "version": "26.0.1",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - walkthrough service-override",
6
6
  "keywords": [],
@@ -15,7 +15,8 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-api": "25.1.2",
18
+ "@codingame/monaco-vscode-api": "26.0.1",
19
+ "@codingame/monaco-vscode-katex-common": "26.0.1",
19
20
  "marked": "14.0.0"
20
21
  },
21
22
  "main": "index.js",
@@ -0,0 +1,107 @@
1
+ import { Dimension } from "@codingame/monaco-vscode-api/vscode/vs/base/browser/dom";
2
+ import { CancellationToken } from "@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation";
3
+ import { ICommandService } from "@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service";
4
+ import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
5
+ import { IContextKeyService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service";
6
+ import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
7
+ import { IProductService } from "@codingame/monaco-vscode-api/vscode/vs/platform/product/common/productService.service";
8
+ import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service";
9
+ import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service";
10
+ import { IThemeService } from "@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service";
11
+ import { EditorPane } from "@codingame/monaco-vscode-api/vscode/vs/workbench/browser/parts/editor/editorPane";
12
+ import { IEditorOpenContext, IEditorSerializer } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor";
13
+ import { IEditorGroup } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService";
14
+ import { IEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service";
15
+ import { IWorkbenchLayoutService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/layout/browser/layoutService.service";
16
+ import { IAgentSessionsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsService.service";
17
+ import { AgentSessionsWelcomeEditorOptions, AgentSessionsWelcomeInput } from "./agentSessionsWelcomeInput.js";
18
+ import { IChatService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService.service";
19
+ import { IChatWidgetService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service";
20
+ import { IChatEntitlementService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/chat/common/chatEntitlementService.service";
21
+ import { IWalkthroughsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService.service";
22
+ import { IMarkdownRendererService } from "@codingame/monaco-vscode-api/vscode/vs/platform/markdown/browser/markdownRenderer.service";
23
+ import { IWorkspaceContextService } from "@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service";
24
+ import { IWorkspacesService } from "@codingame/monaco-vscode-api/vscode/vs/platform/workspaces/common/workspaces.service";
25
+ import { IHostService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/host/browser/host.service";
26
+ import { IWorkspaceTrustManagementService } from "@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspaceTrust.service";
27
+ import { IViewDescriptorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service";
28
+ import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
29
+ export declare class AgentSessionsWelcomePage extends EditorPane {
30
+ private readonly storageService;
31
+ private readonly instantiationService;
32
+ private readonly layoutService;
33
+ private readonly commandService;
34
+ private readonly editorService;
35
+ private readonly agentSessionsService;
36
+ private readonly configurationService;
37
+ private readonly productService;
38
+ private readonly walkthroughsService;
39
+ private readonly chatService;
40
+ private readonly chatEntitlementService;
41
+ private readonly markdownRendererService;
42
+ private readonly workspaceContextService;
43
+ private readonly workspacesService;
44
+ private readonly hostService;
45
+ private readonly workspaceTrustManagementService;
46
+ private readonly viewDescriptorService;
47
+ private readonly chatWidgetService;
48
+ private readonly logService;
49
+ static readonly ID = "agentSessionsWelcomePage";
50
+ static readonly COMMAND_ID = "workbench.action.openAgentSessionsWelcome";
51
+ private container;
52
+ private contentContainer;
53
+ private scrollableElement;
54
+ private chatWidget;
55
+ private chatModelRef;
56
+ private sessionsControl;
57
+ private sessionsControlContainer;
58
+ private sessionsLoadingContainer;
59
+ private readonly sessionsControlDisposables;
60
+ private readonly contentDisposables;
61
+ private contextService;
62
+ private walkthroughs;
63
+ private _selectedSessionProvider;
64
+ private _selectedWorkspace;
65
+ private _recentWorkspaces;
66
+ private _isEmptyWorkspace;
67
+ private _workspaceKind;
68
+ private _storedInput;
69
+ private _openedAt;
70
+ private _closedBy;
71
+ constructor(group: IEditorGroup, telemetryService: ITelemetryService, themeService: IThemeService, storageService: IStorageService, instantiationService: IInstantiationService, contextKeyService: IContextKeyService, layoutService: IWorkbenchLayoutService, commandService: ICommandService, editorService: IEditorService, agentSessionsService: IAgentSessionsService, configurationService: IConfigurationService, productService: IProductService, walkthroughsService: IWalkthroughsService, chatService: IChatService, chatEntitlementService: IChatEntitlementService, markdownRendererService: IMarkdownRendererService, workspaceContextService: IWorkspaceContextService, workspacesService: IWorkspacesService, hostService: IHostService, workspaceTrustManagementService: IWorkspaceTrustManagementService, viewDescriptorService: IViewDescriptorService, chatWidgetService: IChatWidgetService, logService: ILogService);
72
+ protected createEditor(parent: HTMLElement): void;
73
+ setInput(input: AgentSessionsWelcomeInput, options: AgentSessionsWelcomeEditorOptions | undefined, context: IEditorOpenContext, token: CancellationToken): Promise<void>;
74
+ private buildContent;
75
+ private buildStartEntries;
76
+ private buildChatWidget;
77
+ private getWorkspaceLabel;
78
+ private getWorkspaceUri;
79
+ private handleWorkspaceSubmission;
80
+ /**
81
+ * Reads and applies prefill data from storage (used when transferring chat input from another workspace).
82
+ * This is called after the chat widget is created to populate it with any pending prefill data.
83
+ */
84
+ private applyPrefillData;
85
+ private buildSessionsOrPrompts;
86
+ private buildLoadingSkeleton;
87
+ private hideLoadingSkeleton;
88
+ private buildSessionsGrid;
89
+ private buildWalkthroughs;
90
+ private static readonly PRIVACY_NOTICE_DISMISSED_KEY;
91
+ private buildPrivacyNotice;
92
+ private buildFooter;
93
+ private lastDimension;
94
+ layout(dimension: Dimension): void;
95
+ private layoutChatWidget;
96
+ private layoutSessionsControl;
97
+ focus(): void;
98
+ private revealMaximizedChat;
99
+ private openSessionInChat;
100
+ private closeEditorAndMaximizeAuxiliaryBar;
101
+ dispose(): void;
102
+ }
103
+ export declare class AgentSessionsWelcomeInputSerializer implements IEditorSerializer {
104
+ canSerialize(editorInput: AgentSessionsWelcomeInput): boolean;
105
+ serialize(editorInput: AgentSessionsWelcomeInput): string;
106
+ deserialize(instantiationService: IInstantiationService, serializedEditorInput: string): AgentSessionsWelcomeInput;
107
+ }