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 { Event } from '../../../base/common/event.js';
import { upcast } from '../../../base/common/types.js';
import { createDecorator } from '../../instantiation/common/instantiation.js';
export interface IUpdate {
version: string; // Build commit ID
productVersion?: string; // Product version like 1.2.3
timestamp?: number;
url?: string;
sha256hash?: string;
}
/**
* Updates are run as a state machine:
*
* Uninitialized
* ↓
* Idle
* ↓ ↑
* Checking for Updates → Available for Download
* ↓ ↓
* ← Overwriting
* Downloading ↑
* → Ready
* ↓ ↑
* Downloaded → Updating
*
* Available: There is an update available for download (linux, darwin on metered connection).
* Ready: Code will be updated as soon as it restarts (win32, darwin).
* Downloaded: There is an update ready to be installed in the background (win32).
* Overwriting: A newer update is being downloaded to replace the pending update (darwin).
* Cancelling: Updates are being disabled at runtime; in-flight/pending work is being torn down before Disabled.
*/
StateType
Uninitialized
Idle
Disabled
CheckingForUpdates
AvailableForDownload
Downloading
Downloaded
Updating
Ready
Overwriting
Cancelling
Restarting
UpdateType
Setup
Archive
Snap
DisablementReason
NotBuilt
DisabledByEnvironment
ManuallyDisabled
Policy
MissingConfiguration
InvalidConfiguration
RunningAsAdmin
type StateTypeUninitialized
type StateTypeDisabled reason DisablementReason
type StateTypeIdle updateType UpdateType error notAvailable
type StateTypeCheckingForUpdates explicit
type StateTypeAvailableForDownload update IUpdate canInstall
type StateTypeDownloading update IUpdate explicit overwrite downloadedBytes totalBytes startTime
type StateTypeDownloaded update IUpdate explicit overwrite
type StateTypeUpdating update IUpdate currentProgress maxProgress explicit
type StateTypeReady update IUpdate explicit overwrite
type StateTypeOverwriting update IUpdate explicit
type StateTypeCancelling
type StateTypeRestarting update IUpdate
Uninitialized Disabled Idle CheckingForUpdates AvailableForDownload Downloading Downloaded Updating Ready Overwriting Cancelling Restarting
State
Uninitialized type StateTypeUninitialized
Disabled reason DisablementReason Disabled type StateTypeDisabled reason
Idle updateType UpdateType error notAvailable Idle type StateTypeIdle updateType error notAvailable
CheckingForUpdates explicit CheckingForUpdates type StateTypeCheckingForUpdates explicit
AvailableForDownload update IUpdate canInstall AvailableForDownload type StateTypeAvailableForDownload update canInstall
Downloading update IUpdate explicit overwrite downloadedBytes totalBytes startTime Downloading type StateTypeDownloading update explicit overwrite downloadedBytes totalBytes startTime
Downloaded update IUpdate explicit overwrite Downloaded type StateTypeDownloaded update explicit overwrite
Updating update IUpdate explicit currentProgress maxProgress Updating type StateTypeUpdating update explicit currentProgress maxProgress
Ready update IUpdate explicit overwrite Ready type StateTypeReady update explicit overwrite
Overwriting update IUpdate explicit Overwriting type StateTypeOverwriting update explicit
Cancelling type StateTypeCancelling
Restarting update IUpdate Restarting type StateTypeRestarting update
NodeEventEmitter
url
applyUpdate
IUpdateService
_serviceBrand
onStateChange EventState
state State
explicit
explicit
packagePath
internalOrg