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 { IntervalTimer } from '../../../../base/common/async.js';
import { Disposable, IDisposable, toDisposable } from '../../../../base/common/lifecycle.js';
import { IObservable, ISettableObservable, observableValue } from '../../../../base/common/observable.js';
import { generateUuid } from '../../../../base/common/uuid.js';
import { ILogService } from '../../../../platform/log/common/log.js';
import { IStorageService, StorageScope, StorageTarget } from '../../../../platform/storage/common/storage.js';
const LEADER_KEY
instanceId
heartbeatAt
nonce
heartbeatIntervalMs
staleAfterMs
now
instanceId
_isLeader ISettableObservable
isLeader IObservable
_instanceId
_heartbeatIntervalMs
_staleAfterMs
_timer
storageService IStorageService
logService ILogService
options IAutomationLeaderElectionOptions
_instanceId optionsinstanceId
_heartbeatIntervalMs optionsheartbeatIntervalMs
_staleAfterMs optionsstaleAfterMs
_now optionsnow Datenow
_isLeader
isLeader _isLeader
_timer _heartbeatIntervalMs
_instanceId
now
current
claimable
current
currentinstanceId _instanceId
currentinstanceId
now currentheartbeatAt _staleAfterMs
claimable
_isLeader
logService
_isLeader
nonce
writeOk instanceId _instanceId heartbeatAt now nonce
writeOk
_isLeader
verify
verifyinstanceId _instanceId verifynonce nonce
_isLeader
logService
_isLeader
_isLeader
logService
_isLeader
ILeaderRecord
raw
raw storageService StorageScope
err
logService err
raw
parsed raw ILeaderRecord
parsedinstanceId parsedheartbeatAt
instanceId parsedinstanceId heartbeatAt parsedheartbeatAt nonce parsednonce parsednonce
record ILeaderRecord
storageService record StorageScope StorageTarget
err
logService err
current
currentinstanceId _instanceId
instanceId heartbeatAt nonce
isLeader IObservable
instanceId