@codingame/monaco-vscode-walkthrough-service-override 36.2.7 → 37.2.0
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/package.json +2 -3
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.js +24 -24
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.js +42 -42
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedAccessibleView.js +3 -3
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedColors.js +7 -7
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedExtensionPoint.js +37 -37
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedIcons.js +2 -2
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService._contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService.js +2 -2
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/startupPage.js +3 -3
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.js +151 -151
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/notebookProfile.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/notebookProfile.js +3 -3
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/theme_picker.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/theme_picker.js +5 -5
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/theme_picker_small.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/theme_picker_small.js +4 -4
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/editor/editorWalkThrough.js +3 -3
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThrough.contribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThroughPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/common/walkThroughUtils.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsBanner.d.ts +0 -30
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsBanner.js +0 -38
- package/vscode/src/vs/workbench/contrib/welcomeAgentSessions/browser/agentSessionsWelcome.d.ts +0 -105
- package/vscode/src/vs/workbench/contrib/welcomeAgentSessions/browser/agentSessionsWelcome.js +0 -744
- package/vscode/src/vs/workbench/contrib/welcomeAgentSessions/browser/agentSessionsWelcomeInput.d.ts +0 -33
- package/vscode/src/vs/workbench/contrib/welcomeAgentSessions/browser/agentSessionsWelcomeInput.js +0 -71
- package/vscode/src/vs/workbench/contrib/welcomeAgentSessions/browser/media/agentSessionsWelcome.css +0 -553
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedInput.d.ts +0 -44
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedInput.js +0 -96
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/media/gettingStarted.css +0 -1140
package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/notebookProfile.js
CHANGED
|
@@ -12,15 +12,15 @@ var notebookProfileContent = () => `
|
|
|
12
12
|
<checklist>
|
|
13
13
|
<checkbox on-checked="${createSetProfileCommandUri("default")}" checked-on="config.notebook.cellFocusIndicator == 'border' && config.notebook.insertToolbarLocation == 'both' && config.notebook.globalToolbar == false && config.notebook.compactView == true && config.notebook.showCellStatusBar == 'visible'">
|
|
14
14
|
<img width="${imageSize}" src="./notebookThemes/default.png"/>
|
|
15
|
-
${escape(( localize(
|
|
15
|
+
${escape(( localize(19022, "Default")))}
|
|
16
16
|
</checkbox>
|
|
17
17
|
<checkbox on-checked="${createSetProfileCommandUri("jupyter")}" checked-on="config.notebook.cellFocusIndicator == 'gutter' && config.notebook.insertToolbarLocation == 'notebookToolbar' && config.notebook.globalToolbar == true && config.notebook.compactView == true && config.notebook.showCellStatusBar == 'visible'">
|
|
18
18
|
<img width="${imageSize}" src="./notebookThemes/jupyter.png"/>
|
|
19
|
-
${escape(( localize(
|
|
19
|
+
${escape(( localize(19023, "Jupyter")))}
|
|
20
20
|
</checkbox>
|
|
21
21
|
<checkbox on-checked="${createSetProfileCommandUri("colab")}" checked-on="config.notebook.cellFocusIndicator == 'border' && config.notebook.insertToolbarLocation == 'betweenCells' && config.notebook.globalToolbar == false && config.notebook.compactView == false && config.notebook.showCellStatusBar == 'hidden'">
|
|
22
22
|
<img width="${imageSize}" src="./notebookThemes/colab.png"/>
|
|
23
|
-
${escape(( localize(
|
|
23
|
+
${escape(( localize(19024, "Colab")))}
|
|
24
24
|
</checkbox>
|
|
25
25
|
</checklist>
|
|
26
26
|
</vertically-centered>
|
|
@@ -8,26 +8,26 @@ var themePickerContent = () => `
|
|
|
8
8
|
<div class="theme-picker-row">
|
|
9
9
|
<checkbox when-checked="setTheme:${ThemeSettingDefaults.COLOR_THEME_DARK}" checked-on="config.workbench.colorTheme == '${ThemeSettingDefaults.COLOR_THEME_DARK}'">
|
|
10
10
|
<img width="200" src="./dark.png"/>
|
|
11
|
-
${escape(( localize(
|
|
11
|
+
${escape(( localize(19025, "Dark Modern")))}
|
|
12
12
|
</checkbox>
|
|
13
13
|
<checkbox when-checked="setTheme:${ThemeSettingDefaults.COLOR_THEME_LIGHT}" checked-on="config.workbench.colorTheme == '${ThemeSettingDefaults.COLOR_THEME_LIGHT}'">
|
|
14
14
|
<img width="200" src="./light.png"/>
|
|
15
|
-
${escape(( localize(
|
|
15
|
+
${escape(( localize(19026, "Light Modern")))}
|
|
16
16
|
</checkbox>
|
|
17
17
|
</div>
|
|
18
18
|
<div class="theme-picker-row">
|
|
19
19
|
<checkbox when-checked="setTheme:${ThemeSettingDefaults.COLOR_THEME_HC_DARK}" checked-on="config.workbench.colorTheme == '${ThemeSettingDefaults.COLOR_THEME_HC_DARK}'">
|
|
20
20
|
<img width="200" src="./dark-hc.png"/>
|
|
21
|
-
${escape(( localize(
|
|
21
|
+
${escape(( localize(19027, "Dark High Contrast")))}
|
|
22
22
|
</checkbox>
|
|
23
23
|
<checkbox when-checked="setTheme:${ThemeSettingDefaults.COLOR_THEME_HC_LIGHT}" checked-on="config.workbench.colorTheme == '${ThemeSettingDefaults.COLOR_THEME_HC_LIGHT}'">
|
|
24
24
|
<img width="200" src="./light-hc.png"/>
|
|
25
|
-
${escape(( localize(
|
|
25
|
+
${escape(( localize(19028, "Light High Contrast")))}
|
|
26
26
|
</checkbox>
|
|
27
27
|
</div>
|
|
28
28
|
</checklist>
|
|
29
29
|
<checkbox class="theme-picker-link" when-checked="command:workbench.action.selectTheme" checked-on="false">
|
|
30
|
-
${escape(( localize(
|
|
30
|
+
${escape(( localize(19029, "See More Themes...")))}
|
|
31
31
|
</checkbox>
|
|
32
32
|
`;
|
|
33
33
|
|
package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/theme_picker_small.js
CHANGED
|
@@ -8,21 +8,21 @@ var themePickerSmallContent = () => `
|
|
|
8
8
|
<div class="theme-picker-row">
|
|
9
9
|
<checkbox when-checked="setTheme:${ThemeSettingDefaults.COLOR_THEME_DARK}" checked-on="config.workbench.colorTheme == '${ThemeSettingDefaults.COLOR_THEME_DARK}'">
|
|
10
10
|
<img width="150" src="./dark.png"/>
|
|
11
|
-
${escape(( localize(
|
|
11
|
+
${escape(( localize(19030, "Dark Modern")))}
|
|
12
12
|
</checkbox>
|
|
13
13
|
<checkbox when-checked="setTheme:${ThemeSettingDefaults.COLOR_THEME_LIGHT}" checked-on="config.workbench.colorTheme == '${ThemeSettingDefaults.COLOR_THEME_LIGHT}'">
|
|
14
14
|
<img width="150" src="./light.png"/>
|
|
15
|
-
${escape(( localize(
|
|
15
|
+
${escape(( localize(19031, "Light Modern")))}
|
|
16
16
|
</checkbox>
|
|
17
17
|
</div>
|
|
18
18
|
<div class="theme-picker-row">
|
|
19
19
|
<checkbox when-checked="setTheme:${ThemeSettingDefaults.COLOR_THEME_HC_DARK}" checked-on="config.workbench.colorTheme == '${ThemeSettingDefaults.COLOR_THEME_HC_DARK}'">
|
|
20
20
|
<img width="150" src="./dark-hc.png"/>
|
|
21
|
-
${escape(( localize(
|
|
21
|
+
${escape(( localize(19032, "Dark High Contrast")))}
|
|
22
22
|
</checkbox>
|
|
23
23
|
<checkbox when-checked="setTheme:${ThemeSettingDefaults.COLOR_THEME_HC_LIGHT}" checked-on="config.workbench.colorTheme == '${ThemeSettingDefaults.COLOR_THEME_HC_LIGHT}'">
|
|
24
24
|
<img width="150" src="./light-hc.png"/>
|
|
25
|
-
${escape(( localize(
|
|
25
|
+
${escape(( localize(19033, "Light High Contrast")))}
|
|
26
26
|
</checkbox>
|
|
27
27
|
</div>
|
|
28
28
|
</checklist>
|
package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/editor/editorWalkThrough.js
CHANGED
|
@@ -16,7 +16,7 @@ walkThroughContentRegistry.registerProvider(
|
|
|
16
16
|
const typeId = "workbench.editors.walkThroughInput";
|
|
17
17
|
const inputOptions = {
|
|
18
18
|
typeId,
|
|
19
|
-
name: ( localize(
|
|
19
|
+
name: ( localize(19119, "Editor Playground")),
|
|
20
20
|
resource: ( FileAccess.asBrowserUri(
|
|
21
21
|
"vs/workbench/contrib/welcomeWalkthrough/browser/editor/vs_code_editor_walkthrough.md"
|
|
22
22
|
)).with({
|
|
@@ -32,7 +32,7 @@ class EditorWalkThroughAction extends Action2 {
|
|
|
32
32
|
this.ID = "workbench.action.showInteractivePlayground";
|
|
33
33
|
}
|
|
34
34
|
static {
|
|
35
|
-
this.LABEL = ( localize2(
|
|
35
|
+
this.LABEL = ( localize2(19120, "Interactive Editor Playground"));
|
|
36
36
|
}
|
|
37
37
|
constructor() {
|
|
38
38
|
super({
|
|
@@ -41,7 +41,7 @@ class EditorWalkThroughAction extends Action2 {
|
|
|
41
41
|
category: Categories.Help,
|
|
42
42
|
f1: true,
|
|
43
43
|
metadata: {
|
|
44
|
-
description: ( localize2(
|
|
44
|
+
description: ( localize2(19121, "Opens an interactive playground for learning about the editor."))
|
|
45
45
|
}
|
|
46
46
|
});
|
|
47
47
|
}
|
package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThrough.contribution.js
CHANGED
|
@@ -14,7 +14,7 @@ import { EditorPaneDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/wor
|
|
|
14
14
|
import { KeybindingsRegistry } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybindingsRegistry';
|
|
15
15
|
|
|
16
16
|
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(
|
|
17
|
-
EditorPaneDescriptor.create(WalkThroughPart, WalkThroughPart.ID, ( localize(
|
|
17
|
+
EditorPaneDescriptor.create(WalkThroughPart, WalkThroughPart.ID, ( localize(19122, "Playground"))),
|
|
18
18
|
[( new SyncDescriptor(WalkThroughInput))]
|
|
19
19
|
);
|
|
20
20
|
registerAction2(EditorWalkThroughAction);
|
|
@@ -30,7 +30,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarHelpMenu, {
|
|
|
30
30
|
group: "1_welcome",
|
|
31
31
|
command: {
|
|
32
32
|
id: "workbench.action.showInteractivePlayground",
|
|
33
|
-
title: ( localize(
|
|
33
|
+
title: ( localize(19123, "Editor Playgrou&&nd"))
|
|
34
34
|
},
|
|
35
35
|
order: 3
|
|
36
36
|
});
|
|
@@ -38,7 +38,7 @@ import { IExtensionService } from '@codingame/monaco-vscode-api/vscode/vs/workbe
|
|
|
38
38
|
var WalkThroughPart_1;
|
|
39
39
|
registerCss(walkThroughPart);
|
|
40
40
|
const WALK_THROUGH_FOCUS = ( new RawContextKey("interactivePlaygroundFocus", false));
|
|
41
|
-
const UNBOUND_COMMAND = ( localize(
|
|
41
|
+
const UNBOUND_COMMAND = ( localize(19124, "unbound"));
|
|
42
42
|
const WALK_THROUGH_EDITOR_VIEW_STATE_PREFERENCE_KEY = "walkThroughEditorViewState";
|
|
43
43
|
let WalkThroughPart = class WalkThroughPart extends EditorPane {
|
|
44
44
|
static {
|
|
@@ -179,7 +179,7 @@ let WalkThroughPart = class WalkThroughPart extends EditorPane {
|
|
|
179
179
|
}
|
|
180
180
|
open(uri) {
|
|
181
181
|
if (uri.scheme === "command" && uri.path === "git.clone" && !CommandsRegistry.getCommand("git.clone")) {
|
|
182
|
-
this.notificationService.info(( localize(
|
|
182
|
+
this.notificationService.info(( localize(19125, "It looks like Git is not installed on your system.")));
|
|
183
183
|
return;
|
|
184
184
|
}
|
|
185
185
|
this.openerService.open(this.addFrom(uri), {
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { DisposableStore } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
2
|
-
import { ICommandService } from "@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service";
|
|
3
|
-
import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service";
|
|
4
|
-
import { IChatEntitlementService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/chat/common/chatEntitlementService.service";
|
|
5
|
-
export interface IAgentsBannerResult {
|
|
6
|
-
readonly element: HTMLElement;
|
|
7
|
-
readonly disposables: DisposableStore;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Returns whether the agents banner can be shown.
|
|
11
|
-
* The banner requires the open agents window command
|
|
12
|
-
* to be registered (desktop builds only) and is limited to Insiders quality.
|
|
13
|
-
* It is also hidden when AI features are disabled.
|
|
14
|
-
*/
|
|
15
|
-
export declare function canShowAgentsBanner(chatEntitlementService: IChatEntitlementService): boolean;
|
|
16
|
-
export interface IAgentsBannerOptions {
|
|
17
|
-
/** Dot-separated CSS classes for the banner container (e.g. 'my-banner' or 'foo.bar'). */
|
|
18
|
-
readonly cssClass: string;
|
|
19
|
-
/** Identifies where the banner is displayed (e.g. 'welcomePage', 'agentSessionsWelcome'). */
|
|
20
|
-
readonly source: string;
|
|
21
|
-
/** Override the default button label. */
|
|
22
|
-
readonly label?: string;
|
|
23
|
-
/** Optional callback invoked when the banner button is clicked. */
|
|
24
|
-
readonly onButtonClick?: () => void;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Creates a banner that promotes the Agents app.
|
|
28
|
-
* The banner contains a button that opens the Agents window.
|
|
29
|
-
*/
|
|
30
|
-
export declare function createAgentsBanner(options: IAgentsBannerOptions, commandService: ICommandService, telemetryService: ITelemetryService): IAgentsBannerResult;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
import { $, addDisposableListener } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
|
|
3
|
-
import { DisposableStore } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
4
|
-
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
5
|
-
import { CommandsRegistry } from '@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands';
|
|
6
|
-
import { OPEN_WORKSPACE_IN_AGENTS_WINDOW_COMMAND_ID } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants';
|
|
7
|
-
|
|
8
|
-
function canShowAgentsBanner(chatEntitlementService) {
|
|
9
|
-
const sentiment = chatEntitlementService.sentiment;
|
|
10
|
-
if (sentiment.hidden || sentiment.disabled) {
|
|
11
|
-
return false;
|
|
12
|
-
}
|
|
13
|
-
return !!CommandsRegistry.getCommand(OPEN_WORKSPACE_IN_AGENTS_WINDOW_COMMAND_ID);
|
|
14
|
-
}
|
|
15
|
-
function createAgentsBanner(options, commandService, telemetryService) {
|
|
16
|
-
const disposables = ( new DisposableStore());
|
|
17
|
-
const label = options.label ?? ( localize(5591, "Try out the new Agents window"));
|
|
18
|
-
const button = $("button.agents-banner-button", {
|
|
19
|
-
title: label
|
|
20
|
-
}, $(".codicon.codicon-agent.icon-widget"), $("span.category-title", {}, label));
|
|
21
|
-
disposables.add(addDisposableListener(button, "click", () => {
|
|
22
|
-
options.onButtonClick?.();
|
|
23
|
-
telemetryService.publicLog2("agentsBanner.clicked", {
|
|
24
|
-
source: options.source,
|
|
25
|
-
action: "openAgentsWindow"
|
|
26
|
-
});
|
|
27
|
-
commandService.executeCommand(OPEN_WORKSPACE_IN_AGENTS_WINDOW_COMMAND_ID, {
|
|
28
|
-
forceNewWindow: true
|
|
29
|
-
});
|
|
30
|
-
}));
|
|
31
|
-
const element = $(`.${options.cssClass}`, {}, button);
|
|
32
|
-
return {
|
|
33
|
-
element,
|
|
34
|
-
disposables
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export { canShowAgentsBanner, createAgentsBanner };
|
package/vscode/src/vs/workbench/contrib/welcomeAgentSessions/browser/agentSessionsWelcome.d.ts
DELETED
|
@@ -1,105 +0,0 @@
|
|
|
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 readonly sessionsControlDisposables;
|
|
59
|
-
private readonly contentDisposables;
|
|
60
|
-
private contextService;
|
|
61
|
-
private walkthroughs;
|
|
62
|
-
private _selectedSessionProvider;
|
|
63
|
-
private _selectedWorkspace;
|
|
64
|
-
private _recentTrustedWorkspaces;
|
|
65
|
-
private _isEmptyWorkspace;
|
|
66
|
-
private _workspaceKind;
|
|
67
|
-
private _openedAt;
|
|
68
|
-
private _closedBy?;
|
|
69
|
-
private _storedInput;
|
|
70
|
-
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);
|
|
71
|
-
protected createEditor(parent: HTMLElement): void;
|
|
72
|
-
setInput(input: AgentSessionsWelcomeInput, options: AgentSessionsWelcomeEditorOptions | undefined, context: IEditorOpenContext, token: CancellationToken): Promise<void>;
|
|
73
|
-
clearInput(): 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 buildSessionsGrid;
|
|
87
|
-
private buildWalkthroughs;
|
|
88
|
-
private static readonly PRIVACY_NOTICE_DISMISSED_KEY;
|
|
89
|
-
private buildPrivacyNotice;
|
|
90
|
-
private buildFooter;
|
|
91
|
-
private lastDimension;
|
|
92
|
-
layout(dimension: Dimension): void;
|
|
93
|
-
private layoutChatWidget;
|
|
94
|
-
private layoutSessionsControl;
|
|
95
|
-
focus(): void;
|
|
96
|
-
private revealMaximizedChat;
|
|
97
|
-
private openSessionInChat;
|
|
98
|
-
private closeEditorAndMaximizeAuxiliaryBar;
|
|
99
|
-
private getRecentlyOpenedWorkspaces;
|
|
100
|
-
}
|
|
101
|
-
export declare class AgentSessionsWelcomeInputSerializer implements IEditorSerializer {
|
|
102
|
-
canSerialize(editorInput: AgentSessionsWelcomeInput): boolean;
|
|
103
|
-
serialize(editorInput: AgentSessionsWelcomeInput): string;
|
|
104
|
-
deserialize(instantiationService: IInstantiationService, serializedEditorInput: string): AgentSessionsWelcomeInput;
|
|
105
|
-
}
|