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 { Disposable } from '../../../../../base/common/lifecycle.js';
import { Emitter, Event } from '../../../../../base/common/event.js';
import { generateUuid } from '../../../../../base/common/uuid.js';
import { mainWindow } from '../../../../../base/browser/window.js';
import { Language } from '../../../../../base/common/platform.js';
import { IConfigurationService } from '../../../../../platform/configuration/common/configuration.js';
import { ILogService } from '../../../../../platform/log/common/log.js';
import IProductService
IVoiceClientService
IVoicePriorTimelineEntry
IVoicePttStartOptions
IVoiceSessionContext
IVoiceTranscription
IVoiceAudioResponse
IVoiceToolCall
IVoiceSpeechStarted
IVoiceSessionInit
IVoiceFeedbackPayload
IVoiceTurnConfig
IVoiceTurnAutoEnded
IVoiceTurnAutoEndReason
IVoiceConnectionIssue
IVoiceFatalDisconnect
IVoiceBargeIn
IVoiceNarrationAck
IVoiceNarrationSignal
IVoiceDispatchResult
IVoiceCheckpointNarrationMetadata
VoiceConfirmationType
VoiceNarrationKind
isVoiceCheckpointId
normalizeAgentsVoiceId
isTerminalCloseCode voiceCloseCodeInfo
InstantiationType registerSingleton
value
value value
value
result value
result resultlength result
value supportedBases ReadonlySet
candidate value
candidate IntlgetCanonicalLocales
canonical Intlcandidate
supportedBasescanonical canonical
browserLanguage displayLanguage
displayLanguage
browserLanguage
value IVoiceTranscription
value value value
value
value Numbervalue value value
_serviceBrand
_ws WebSocket
_reconnectAttempts
_reconnectStartedAt
_reconnectTimer ReturnType setTimeout
_isConnected
_isResuming
_sessionStartedOnSocket
_window Window globalThis
_lastSessionId
_pingTimer ReturnTypeWindow
_pongTimer ReturnType setTimeout
_contextSendTimer ReturnType setTimeout
_pendingContext IVoiceSessionContext
_lastSentById
_invalidatedSessionIds
_onTranscription
onTranscription EventIVoiceTranscription _onTranscriptionevent
_onAudioResponse
onAudioResponse EventIVoiceAudioResponse _onAudioResponseevent
_onBargeIn
onBargeIn EventIVoiceBargeIn _onBargeInevent
_onNarrationAck
onNarrationAck EventIVoiceNarrationAck _onNarrationAckevent
_onNarrationUnblocked
onNarrationUnblocked EventIVoiceNarrationSignal _onNarrationUnblockedevent
_onNarrationInterrupted
onNarrationInterrupted EventIVoiceNarrationSignal _onNarrationInterruptedevent
_onToolCall
onToolCall EventIVoiceToolCall _onToolCallevent
_onSpeechStarted
onSpeechStarted EventIVoiceSpeechStarted _onSpeechStartedevent
_onSessionInit
onSessionInit EventIVoiceSessionInit _onSessionInitevent
_onError
onError Event _onErrorevent
_onDidChangeConnectionState
onDidChangeConnectionState Event _onDidChangeConnectionStateevent
_onFatalDisconnect
onFatalDisconnect EventIVoiceFatalDisconnect _onFatalDisconnectevent
_onConnectionIssue
onConnectionIssue EventIVoiceConnectionIssue _onConnectionIssueevent
_onTurnAutoEnded
onTurnAutoEnded EventIVoiceTurnAutoEnded _onTurnAutoEndedevent
_isConnected
_isResuming
_reconnectTimer
_lastSessionId
_authToken
_configurationService IConfigurationService
_logService ILogService
_productService IProductService
_configurationServicee
e
e
e
e
e
_configurationService
_wsreadyState WebSocket
_ws type voice
configured _configurationService
configured configured
language configured
language
language
_logService
_windownavigatorlanguage Language
_wsreadyState WebSocket _sessionStartedOnSocket
_ws type language
key
inspected _configurationServicekey
inspecteduserValue
inspecteduserLocalValue
inspecteduserRemoteValue
inspectedworkspaceValue
inspectedworkspaceFolderValue
inspectedapplicationValue
IVoiceTurnConfig
cfg _configurationService
handsFree cfg
silenceRaw cfg
silenceEnabled silenceRaw silenceRaw
handsFree
silenceEnabled
silence_ms silenceEnabled MathsilenceRaw
phrasesRaw cfg
stop_phrases phrasesRaw
phrasesRawp pp plength
phrasesEnabled stop_phraseslength
handsFree
phrasesEnabled
auto_end_mode IVoiceTurnConfig
silenceEnabled phrasesEnabled
silenceEnabled
phrasesEnabled
auto_end_mode silence_ms stop_phrases phrasesEnabled stop_phrases vad_gate_asr
_wsreadyState WebSocket
_ws type turn_config
configured _configurationService
url configured configured
url _productServicevoiceWsUrl
window Window globalThis authToken
_window window
_authToken authToken
win _window
win
baseUrl
baseUrl
_logService
_onFatalDisconnect code reason kind clientSide
url _authToken
baseUrl
ws url
_ws ws
_sessionStartedOnSocket
ws
_isResuming _lastSessionId
_sessionStartedOnSocket
_lastSessionId
ws evt MessageEvent
msg
type
session_id
text
audio
is_first_chunk
is_final
coding_session_id
transcript
detail
name
call_id
args Record
status
committed
reason
turn_id
revision
narration_id
request_id
checkpoint_id
sequence
narration_kind
playback_id
interrupted_turn_id
disposition
retryable
msg evtdata
msgtype
_lastSessionId msgsession_id
_isResuming
_onSessionInit sessionId msgsession_id
_lastSessionId msgsession_id
_isResuming
_onSessionInit sessionId msgsession_id
_onSpeechStarted turnId msgturn_id
_onBargeIn
turnId msgturn_id
interruptedTurnId msginterrupted_turn_id
disposition msgdisposition
msgdisposition
msgdisposition
msgdisposition
_onNarrationAck
narrationId msgnarration_id
codingSessionId msgcoding_session_id
disposition
reason msgreason
_onNarrationUnblocked
narrationId msgnarration_id
codingSessionId msgcoding_session_id
_onNarrationInterrupted
narrationId msgnarration_id
codingSessionId msgcoding_session_id
msgretryable retryable msgretryable
msgreason reason msgreason
status msgstatus msgstatus
turnId msgturn_id msgturn_id
revision msgrevision msgrevision
status msgturn_id turnId msgrevision turnId revision
_onTranscription
text msgtext
status
committed msgcommitted
turnId
revision
requestId msgrequest_id
checkpointId msgcheckpoint_id msgcheckpoint_id
sequence msgsequence Numbermsgsequence msgsequence msgsequence
narrationKind msgnarration_kind msgnarration_kind msgnarration_kind msgnarration_kind VoiceNarrationKind
playbackId msgplayback_id
narrationKind
_logService
_onAudioResponse
audio msgaudio
isFirstChunk msgis_first_chunk msgis_first_chunk
isFinal msgis_final
codingSessionId msgcoding_session_id
transcript msgtranscript
turnId msgturn_id
responseId msgnarration_id msgturn_id
requestId requestId
checkpointId checkpointId
sequence sequence
narrationKind narrationKind
playbackId playbackId
_onToolCall
callId msgcall_id
name msgname
args msgargs
reason IVoiceTurnAutoEndReason msgreason
_onTurnAutoEnded reason turnId msgturn_id
_onErrormsgdetail
ws
_onError
ws evt CloseEvent
_logService
_ws ws
evtcode
kind evtcodekind
_logService
_onFatalDisconnect code evtcode reason evtreason kind
_reconnectStartedAt
_reconnectStartedAt Date
elapsed Date _reconnectStartedAt
elapsed
_logService
_onFatalDisconnect code evtcode reason evtreason kind
_reconnectAttempts
_ws
delay _reconnectAttempts
_logService
_reconnectTimer
_reconnectTimer
delay
_onConnectionIssue code evtcode reason evtreason
_logService
_ws _wsreadyState WebSocket
_ws
_reconnectTimer
_reconnectTimer
_reconnectTimer
_contextSendTimer
_contextSendTimer
_contextSendTimer
_pendingContext
_ws
_sessionStartedOnSocket
_window
_lastSessionId
_isResuming
_lastSentById
_invalidatedSessionIds
_reconnectAttempts
_reconnectStartedAt
win _window mainWindow
_pingTimer win
_wsreadyState WebSocket
_ws type
_pongTimer
_logService
_ws
_pingTimer
_window mainWindow_pingTimer
_pingTimer
_pongTimer
_pongTimer
_pongTimer
connected
_isConnected connected
_isConnected connected
_onDidChangeConnectionStateconnected
turnId options IVoicePttStartOptions
_wsreadyState WebSocket
_ws type turn_id turnId has_active_session optionshasActiveSession optionspassive passive
audio
_wsreadyState WebSocket
_ws type audio
_wsreadyState WebSocket
_ws type
turnId metrics Record
_wsreadyState WebSocket
_ws type turn_id turnId metrics
context IVoiceSessionContext
_isConnected
_pendingContext context
_contextSendTimer
_contextSendTimer
_contextSendTimer
_contextSendTimer
pending _pendingContext
_pendingContext
pending _wsreadyState WebSocket
pending
_contextSendTimer
_contextSendTimer
_contextSendTimer
pending _pendingContext
_pendingContext
pending _wsreadyState WebSocket
pending
sessionId
_invalidatedSessionIdssessionId
context IVoiceSessionContext
currentIds contextsessionss sid
removes _lastSentByIdid currentIdsid
upserts Record
session contextsessions
current session Record
prev _lastSentByIdsessionid
prev
upsertscurrent
patch Record id sessionid
hasChanges
_invalidatedSessionIdssessionid
key Objectcurrent
key
patchkey currentkey
hasChanges
key Objectprev
key Objectprototypecurrent key currentkey
patchkey
hasChanges
key Objectcurrent
key
currentkey prevkey
patchkey currentkey
hasChanges
key Objectprev
key
Objectprototypecurrent key currentkey
patchkey
hasChanges
Objectprototypepatch
Objectprototypepatch
patchagent_state_detail
Objectprototypepatch
patchlast_response_summary
hasChanges Objectpatchk k
hasChanges
upsertspatch
upsertslength removeslength
session contextsessions
obj Record
k v Objectsession Record
v objk v
_lastSentByIdsessionid obj
_invalidatedSessionIdssessionid
id removes
_lastSentByIdid
_invalidatedSessionIdsid
_ws
type
mode
upserts
removes
_logService
context IVoiceSessionContext
_lastSentById
_invalidatedSessionIds
session contextsessions
obj Record
k v Objectsession Record
v objk v
_lastSentByIdsessionid obj
callId result IVoiceDispatchResult
_wsreadyState WebSocket
_ws type call_id callId result
codingSessionId narrationId playbackId
_wsreadyState WebSocket _sessionStartedOnSocket
_ws
type
coding_session_id codingSessionId
narration_id narrationId
playback_id playbackId
codingSessionId kind VoiceNarrationKind text narrationId checkpoint IVoiceCheckpointNarrationMetadata confirmationType VoiceConfirmationType pending pendingId
_wsreadyState WebSocket _sessionStartedOnSocket
id narrationId
_ws
type
coding_session_id codingSessionId
kind
text
narration_id id
checkpoint
request_id checkpointrequestId
checkpoint_id checkpointcheckpointId
sequence checkpointsequence
kind confirmationType confirmation_type confirmationType
pending pending_id pendingpendingId
_logService
checkpoint
_logService
id
sessionId newState _label detail lastResponseSummary
_wsreadyState WebSocket
payload Record type session_id sessionId new_state newState
detail payloaddetail detail
lastResponseSummary payloadlast_response_summary lastResponseSummary
_wspayload
context IVoiceSessionContext machineId priorTimeline IVoicePriorTimelineEntry turnConfigOverride IVoiceTurnConfig voiceInstructions
_wsreadyState WebSocket
sessionContext context display_locale
sessionContext
payload Record type session_context sessionContext machine_id machineId turn_config turnConfigOverride voice auto_narrate
priorTimeline priorTimelinelength
payloadprior_timeline priorTimeline
voiceInstructions
payloadvoice_instructions voiceInstructions
_wspayload
_sessionStartedOnSocket
context IVoiceSessionContext machineId voiceInstructions
_wsreadyState WebSocket _lastSessionId
sessionContext context display_locale
sessionContext
payload Record type session_id _lastSessionId session_context sessionContext machine_id machineId turn_config voice auto_narrate
voiceInstructions
payloadvoice_instructions voiceInstructions
_wspayload
_sessionStartedOnSocket
payload IVoiceFeedbackPayload ok error
httpUrl
headers Record
_authToken
headers
response httpUrl
method
headers
body
feedback_text payloadfeedbackText
machine_id payloadmachineId
user_id payloaduserId
session_id payloadsessionId
submission_id payloadsubmissionId
transcript_history payloadtranscriptHistoryt
role trole
text ttext
timestamp ttimestamp
client_session_state payloadclientSessionState
client_environment payloadclientEnvironment
timestamp payloadtimestamp
responseok
text response
ok error
ok
err
ok error err
override
value
value value
value
value
valuestableStringify
keys Objectvalue Record
keysk k value Record k
IVoiceClientService VoiceClientService InstantiationTypeDelayed