ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это 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 type * as vscode from 'vscode';
import { URI } from '../../../util/vs/base/common/uri';
import { ChatResponseFileTreePart } from '../../../vscodeTypes';
/**
* Converts a markdown-style file tree into a ChatResponseFileTreePart.
* @param fileStructure Markdown-style file tree
* @param generatePreviewURI Factory that converts a filename to a preview URI
*/
export function convertFileTreeToChatResponseFileTree(
fileStructure: string,
generatePreviewURI: (filename: string) => URI,
): { chatResponseTree: ChatResponseFileTreePart projectName
lines fileStructure
fileTree vscodeChatResponseFileTree
baseUri
root vscodeChatResponseFileTree name children
fileTree root
line lines
depth line
index line
name index lineindex line
fileNode vscodeChatResponseFileTree name
depth
name
baseUri name
rootname name
depth fileTreedepth
depth
fileTreedepth children
fileTreedepth children fileNode
fileTreedepth childrenfileNode
fileTreedepth fileNode
baseUri
filteredTree rootchildren
rootchildren filteredTreea b achildren bchildren
chatResponseTree root baseUri
projectName rootname
tree vscodeChatResponseFileTree
queue treenode node path nodename
result
queuelength
node path queue
nodechildren nodechildrenlength
child nodechildren
queue node child path
resultpath
result
inputString
depth inputString length
depth inputString length
depth inputString length
depth inputString length
depth inputString length
depth
filterList
fileTree vscodeChatResponseFileTree vscodeChatResponseFileTree
filteredTree vscodeChatResponseFileTree
node fileTree
node nodename
nodechildren
nodechildren nodechildren
filteredTreenode
filteredTree
node vscodeChatResponseFileTree
filterListnodename
name
name name name
name name