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 Ajv, { ValidateFunction } from 'ajv';
import type * as vscode from 'vscode';
import { ILogService } from '../../../platform/log/common/logService';
import { IChatEndpoint } from '../../../platform/networking/common/networking';
import { LRUCache } from '../../../util/common/cache';
import { createServiceIdentifier } from '../../../util/common/services';
import { Emitter, Event } from '../../../util/vs/base/common/event';
import Disposable
IObservable ObservableMap
ToolName
ICopilotModelSpecificTool ICopilotTool
IToolsService
IValidatedToolInput IToolValidationError
inputObj
error
result IToolValidationResult result IValidatedToolInput
result
result IToolValidationResult result IToolValidationError
result
cause vscodeCancellationError
causemessage cause
toolName
_serviceBrand
onWillInvokeTool EventIOnWillInvokeToolEvent
tools ReadonlyArrayvscodeLanguageModelToolInformation
copilotTools ReadonlyMapToolName ICopilotTool
modelSpecificTools IObservable definition vscodeLanguageModelToolDefinition tool ICopilotTool
name ICopilotTool
name options vscodeLanguageModelToolInvocationOptions token vscodeCancellationToken ThenablevscodeLanguageModelToolResult2
name options vscodeLanguageModelToolInvocationOptions endpoint IChatEndpoint token vscodeCancellationToken ThenablevscodeLanguageModelToolResult2
name vscodeLanguageModelToolInformation
name vscodeLanguageModelToolInformation
name input IToolValidationResult
name
request vscodeChatRequest endpoint IChatEndpoint filter tool vscodeLanguageModelToolInformation vscodeLanguageModelToolInformation
obj jsonPointerPath parent propertyName
pathSegments jsonPointerPath
pathSegmentslength
current obj
i i pathSegmentslength i
segment pathSegmentsi
current current Objectprototypecurrent segment
current currentsegment
current current
propertyName pathSegmentspathSegmentslength
parent current propertyName
key
segments
re
lastIndex
match RegExpExecArray
match rekey
matchindex lastIndex
match
index match
Numberindex index
segmentsindex
match
segmentsmatch
lastIndex relastIndex
lastIndex keylength segmentslength
segments
obj Record Record
keys Objectobj
keyskey key
result Record Object
key keys
path key
path
current result
i i pathlength i
segment pathi
nextSegment pathi
child currentsegment
child
currentsegment nextSegment Object
child child
current currentsegment
leaf pathpathlength
currentleaf currentleaf
currentleaf objkey
result
toolName fn ValidateFunction inputObj IToolValidationResult
inputObj
inputObj
fnerrors inputObj inputObj
hasNestedJsonStrings
error fnerrors
isObjError errorkeyword errorparamstype errorparamstype errorinstancePath
isObjError
pathInfo inputObj errorinstancePath
pathInfo
parent propertyName pathInfo
value parentpropertyName
parsedValue value
parsedValue parsedValue
parentpropertyName parsedValue
hasNestedJsonStrings
hasNestedJsonStrings
toolName fn inputObj
inputObj inputObj inputObj
unflattened inputObj Record
unflattened
toolName fn unflattened
errors fnerrorse emessage
error
_serviceBrand
_onWillInvokeTool
_onWillInvokeToolevent
tools ReadonlyArrayvscodeLanguageModelToolInformation
copilotTools ReadonlyMapToolName ICopilotTool
ajv coerceTypes
didWarnAboutValidationError Set
schemaCache
_modelSpecificTools
_modelSpecificToolsobservablev v
name ICopilotTool
name options vscodeLanguageModelToolInvocationOptionsObject token vscodeCancellationToken ThenablevscodeLanguageModelToolResult2
name options vscodeLanguageModelToolInvocationOptionsObject endpoint IChatEndpoint token vscodeCancellationToken ThenablevscodeLanguageModelToolResult2
name options token
name vscodeLanguageModelToolInformation
name vscodeLanguageModelToolInformation
request vscodeChatRequest endpoint IChatEndpoint filter tool vscodeLanguageModelToolInformation vscodeLanguageModelToolInformation
logService ILogService
name input IToolValidationResult
tool toolstool toolname name
tool
error
inputObj
inputObj input
err
input
error
toolinputSchema
inputObj inputObj
fn schemaCachetoolname
fn
fn ajvtoolinputSchema
e
didWarnAboutValidationErrortoolname
didWarnAboutValidationError
didWarnAboutValidationErrortoolname
logService
inputObj
schemaCachetoolname fn
toolname fn inputObj
name
tool toolstool toolname name
tool
name
_serviceBrand
tools vscodeLanguageModelToolInformation
copilotTools
id options vscodeLanguageModelToolInvocationOptionsObject token vscodeCancellationToken vscodeLanguageModelToolResult2
content
id vscodeLanguageModelToolInformation
override name ICopilotTool
name vscodeLanguageModelToolInformation
vscodeLanguageModelToolInformation