Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/src/vs/sessions/contrib/chat/common/builtinPromptsStorage.ts
13401 views
1
/*---------------------------------------------------------------------------------------------
2
* Copyright (c) Microsoft Corporation. All rights reserved.
3
* Licensed under the MIT License. See License.txt in the project root for license information.
4
*--------------------------------------------------------------------------------------------*/
5
6
import { URI } from '../../../../base/common/uri.js';
7
import { PromptsType } from '../../../../workbench/contrib/chat/common/promptSyntax/promptTypes.js';
8
import { AICustomizationPromptsStorage } from '../../../../workbench/contrib/chat/common/aiCustomizationWorkspaceService.js';
9
10
// Re-export from common for backward compatibility
11
export type { AICustomizationPromptsStorage } from '../../../../workbench/contrib/chat/common/aiCustomizationWorkspaceService.js';
12
export { BUILTIN_STORAGE } from '../../../../workbench/contrib/chat/common/aiCustomizationWorkspaceService.js';
13
14
/**
15
* Prompt path for built-in prompts bundled with the Agents app.
16
*/
17
export interface IBuiltinPromptPath {
18
readonly uri: URI;
19
readonly storage: AICustomizationPromptsStorage;
20
readonly type: PromptsType;
21
readonly name?: string;
22
readonly description?: string;
23
}
24
25