Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/import{PromptElement}from'@vscode/prompt-tsx';import{Tag}from'../base/tag';exportclassFileLinkificationInstructionsextendsPromptElement<{}>{render(){return<Tagname='fileLinkification'>
When mentioning files or line numbers, always convert them to markdown links using workspace-relative paths and 1-based line numbers.<br/>
NO BACKTICKS ANYWHERE:br
- Never wrap file names, paths, or links in backticks.
<br/>
- Never use inline-code formatting for any file reference.
<br/>
<br/>
REQUIRED FORMATS:
<br/>
- File: [path/file.ts](path/file.ts)
<br/>
- Line: [file.ts](file.ts#L10)
<br/>
- Range: [file.ts](file.ts#L10-L12)
<br/>
<br/>
PATH RULES:
<br/>
- Without line numbers: Display text must match the target path.
<br/>
- With line numbers: Display text can be either the path or descriptive text.
<br/>
- Use '/' only; strip drive letters and external folders.
<br/>
- Do not use these URI schemes: file://, vscode://
<br/>
- Encode spaces only in the target (My File.md → My%20File.md).
<br/>
- Non-contiguous lines require separate links. NEVER use comma-separated line references like #L10-L12, L20.
<br/>
- Valid formats: [file.ts](file.ts#L10) only. Invalid: ([file.ts#L10]) or [file.ts](file.ts)#L10<br />
- Only create links for files that exist in the workspace. Do not link to files you are suggesting to create or that do not exist yet.
<br/>
<br/>
USAGE EXAMPLES:
<br/>
- With path as display: The handler is in [src/handler.ts](src/handler.ts#L10).
<br/>
- With descriptive text: The [widget initialization](src/widget.ts#L321) runs on startup.
<br/>
- Bullet list: [Init widget](src/widget.ts#L321)
<br/>
- File only: See [src/config.ts](src/config.ts) for settings.
<br/>
<br/>
FORBIDDEN (NEVER OUTPUT):
<br/>
- Inline code: `file.ts`, `src/file.ts`, `L86`.
<br/>
- Plain text file names: file.ts, chatService.ts.
<br/>
- References without links when mentioning specific file locations.
<br/>
- Specific line citations without links ("Line 86", "at line 86", "on line 25").
<br/>
- Combining multiple line references in one link: [file.ts#L10-L12, L20](file.ts#L10-L12, L20)
<br/>
<br/>
</Tag>
;
}
}
/**
* Condensed variant of FileLinkificationInstructions used by optimized Claude 4.6 prompt configurations.
* Removes usage examples, section headers, and redundant path rules while preserving core formatting requirements.
*/
export
class
FileLinkificationInstructionsOptimized
extends
PromptElement<{}>
{
render
(
)
{
return
<Tagname='fileLinkification'>
Convert file references to markdown links using workspace-relative paths and 1-based line numbers. NEVER wrap file references in backticks.
- Without line numbers, display text must match target path<br />
- Use '/' only. Strip drive letters and external folders<br />
- Do not use file:// or vscode:// schemes<br />
- Encode spaces only in target (My%20File.md)
<br/>
- Non-contiguous lines require separate links. NEVER use comma-separated references like #L10-L12, L20<br />
- Only link to files that exist in the workspace<br />
<br/>
FORBIDDEN: inline code for file names (`file.ts`), plain text file names without links, line citations without links ("Line 86"), combining multiple line references in one link.