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 { isFalsyOrEmpty } from '../../../../../base/common/arrays.js';
import { CancellationTokenSource } from '../../../../../base/common/cancellation.js';
import { Event } from '../../../../../base/common/event.js';
import { Iterable } from '../../../../../base/common/iterator.js';
import { Disposable, DisposableStore, toDisposable } from '../../../../../base/common/lifecycle.js';
import { observableFromEvent, observableSignalFromEvent, autorun, transaction } from '../../../../../base/common/observable.js';
import { basename, joinPath
isFalsyOrWhitespace
ThemeIcon
assertType isObject
localize localize2
Action2 MenuId
IFileService
ServicesAccessor
ILogService
IQuickInputService IQuickPickItem
IWorkbenchContribution
IExtensionService
ILifecycleService LifecyclePhase
IUserDataProfileService
ILanguageModelToolsService IToolData IToolSet isToolSet ToolAndToolSetEnablementMap ToolDataSource
IRawToolSetContribution
IEditorService
Codicon getAllCodicons
isValidBasename
ITextFileService
parse
IJSONSchema
JSONContributionRegistry
Registry
ContextKeyExpr
ChatViewId IChatWidgetService
ChatContextKeys
toolEnumValues
toolEnumDescriptions
toolSetSchemaId
toolSetsSchema IJSONSchema
id toolSetSchemaId
allowComments
allowTrailingCommas
defaultSnippets
label
body
type
description
additionalProperties
type
required
additionalProperties
properties
tools
description
type
minItems
items
type
toolEnumValues
enumDescriptions toolEnumDescriptions
icon
description
type
icon iconid
markdownEnumDescriptions icon
description
description
type
reg RegistryJSONContributionRegistryExtensionsJSONContribution
suffix
uri
uriRawToolSetsShapesuffix
data logService ILogService
data
map
name value Objectdata RawToolSetsShape
name
logService
valuetools
logService
mapname
name
tools valuetools
description valuedescription
icon valueicon
map
entries ReadonlyMap ExcludeIRawToolSetContribution
entries Map ExcludeIRawToolSetContribution
entries Object entries
extensionService IExtensionService
lifecycleService ILifecycleService
_languageModelToolsService ILanguageModelToolsService
_userDataProfileService IUserDataProfileService
_fileService IFileService
_logService ILogService
extensionServicewhenInstalledExtensionsRegistered
lifecycleServiceLifecyclePhaseRestored
toolsObs _languageModelToolsServiceonDidChangeTools _languageModelToolsService
store _store
_storer
tools toolsObsr
toolSets _languageModelToolsServicetoolSetsr
name
sourceLabel
sourceOrdinal
description
data ToolDesc
tool tools
toolcanBeReferencedInPrompt
data
name _languageModelToolsServicetool
sourceLabel ToolDataSourcetoolsourcelabel
sourceOrdinal ToolDataSourcetoolsourceordinal
description tooluserDescription toolmodelDescription
toolSet toolSets
data
name _languageModelToolsServicetoolSet
sourceLabel ToolDataSourcetoolSetsourcelabel
sourceOrdinal ToolDataSourcetoolSetsourceordinal
description toolSetdescription
toolEnumValueslength
toolEnumDescriptionslength
dataa b
asourceOrdinal bsourceOrdinal
asourceOrdinal bsourceOrdinal
asourceLabel bsourceLabel
asourceLabelbsourceLabel
anamebname
item data
toolEnumValuesitemname
toolEnumDescriptions itemsourceLabel itemname itemdescription
store
regtoolSetSchemaId toolSetsSchema store
promptFolder _userDataProfileServiceonDidChangeCurrentProfile _userDataProfileServicecurrentProfilepromptsHome
toolsSig _languageModelToolsServiceonDidChangeTools
fileEventSig Event_fileServiceonDidFilesChange e epromptFolder
store _store
folder
_fileServicefolderchildren
err
_store r
store
toolsSigr
fileEventSigr
uri promptFolderr
cts
store cts
entries uri
ctstokenisCancellationRequested
entry entries
entryisFile RawToolSetsShapeentryresource
store_fileServiceentryresource
data RawToolSetsShape
content _fileServiceentryresource ctstoken
rawObj contentvalue
data RawToolSetsShaperawObj _logService
err
_logService err
ctstokenisCancellationRequested
name value dataentries
tools IToolData
toolSets IToolSet
valuetoolsname
toolOrToolSet _languageModelToolsServicename
toolOrToolSet
toolSetstoolOrToolSet
toolOrToolSet
toolstoolOrToolSet
tool _languageModelToolsServicename
tool
toolstool
toolSet _languageModelToolsServicename
toolSet
toolSetstoolSet
toolslength toolSetslength
toolset _languageModelToolsService
type file entryresource label entryresource
name
icon valueicon ThemeIconvalueicon
description valuedescription
deprecated
tx
storetoolset
toolstool storetoolsettool tx
toolSetstoolSet storetoolsettoolSet tx
selection ToolAndToolSetEnablementMap
arg ToolAndToolSetEnablementMap
arg
selection arg IConfigureToolSetsOptionsselection
selection
selection
selection ToolAndToolSetEnablementMap toolsService ILanguageModelToolsService
enabledToolSets IToolSet
enabledTools IToolData
item enabled selection
enabled
item
Iterableitem tool selectiontool
enabledToolSetsitem
enabledToolsitem
coveredToolIds
toolSet enabledToolSets
tool toolSet
coveredToolIdstoolid
references
seen
referenceName
seenreferenceName
seenreferenceName
referencesreferenceName
toolSet enabledToolSets
toolsServicetoolSet
tool enabledTools
coveredToolIdstoolid
referenceName toolsServicetool
toolsServicereferenceName tool
referenceName
references
toolSetName toolReferences
serializedReferences toolReferencesreference
serializedReferences
rawContents toolSetName contents isEmpty
parsed rawContents
parsed
record parsed Record
Objectrecord toolSetName
recordtoolSetName
contents record isEmpty Objectrecordlength
id ConfigureToolSets
title
shortTitle
category
f1
precondition ContextKeyExprChatContextKeysenabled ChatContextKeysToolstoolsCount
menu
id MenuIdViewTitle
when ContextKeyExprChatContextKeysenabled ContextKeyExpr ChatViewId
order
group
override accessor ServicesAccessor options IConfigureToolSetsOptions
toolsService accessorILanguageModelToolsService
quickInputService accessorIQuickInputService
editorService accessorIEditorService
userDataProfileService accessorIUserDataProfileService
fileService accessorIFileService
textFileService accessorITextFileService
chatWidgetService accessorIChatWidgetService
picks IQuickPickItem toolset IToolSet kind
currentSelection options
chatWidgetServicelastFocusedWidgetinputselectedToolsModelentriesMap
ToolAndToolSetEnablementMap
selectedReferences currentSelection toolsService
selectedReferenceslength
picks
label
kind
alwaysShow
iconClass ThemeIconCodiconplus
picks
label
kind
alwaysShow
iconClass ThemeIconCodiconplus
toolSet toolsServicetoolSets
toolSetsourcetype
picks
label toolSetreferenceName
kind
toolset toolSet
tooltip toolSetdescription
iconClass ThemeIcontoolSeticon
pick quickInputServicepicks
canPickMany
placeHolder
pick
resource
picktoolset
name quickInputService
placeHolder
input
input
input
input
pickkind
candidate userDataProfileServicecurrentProfilepromptsHome
fileServicecandidate
name
resource userDataProfileServicecurrentProfilepromptsHome
pickkind
toolSetName quickInputService
placeHolder
input
input
toolSetName toolSetName
textFileServiceresource toolSetName selectedReferences
fileServiceresource
textFileServiceresource
picktoolsetsourcetype
resource picktoolsetsourcefile
editorService resource options pinned