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 { Emitter, Event } from '../../../base/common/event.js';
import { Disposable } from '../../../base/common/lifecycle.js';
import { IStorageService, StorageScope, StorageTarget } from '../../storage/common/storage.js';
import {
computeHostKeyStoreKey,
ISSHHostKeyTrustService,
type ISSHTrustedHost,
type ISSHTrustedHostKey,
} from '../common/sshHostKeyTrust.js';
/** Storage key for the JSON map of trusted SSH host keys. */
export const SSH_HOST_KEY_TRUST_STORAGE_KEY = 'sshRemoteAgentHost.trustedHostKeys';
/**
* Parse one persisted host key entry, returning `undefined` when any field is
* missing or the wrong shape. Trust data must never be reconstructed from
* partial input — a half-read entry could otherwise match a key it shouldn't.
*/
value ISSHTrustedHostKey
value value
keyType fingerprint addedAt alias value Record
keyType keyType
fingerprint fingerprint
addedAt NumberaddedAt
keyType
fingerprint
addedAt
alias alias alias
raw Map ISSHTrustedHostKey
hosts
raw
hosts
parsed
parsed raw
hosts
parsed parsed parsed
hosts
storeKey value Objectparsed Record
storeKey value
keys ISSHTrustedHostKey
entry value
key entry
key
keyskey
keyslength
hostsstoreKey keys
hosts
storeKey host port
separator storeKey
separator
host storeKey separator
port storeKeyseparator
host Numberport port port
host port
_serviceBrand
_onDidChangeTrustedHosts
onDidChangeTrustedHosts Event _onDidChangeTrustedHostsevent
_storageService IStorageService
host port ISSHTrustedHostKey
host port
host port key ISSHTrustedHostKey
storeKey host port
hosts
existing hostsstoreKey
keys existingk kkeyType keykeyType
keyskey
hostsstoreKey keys
hosts
_onDidChangeTrustedHostsstoreKey
host port
storeKey host port
hosts
hostsstoreKey
hosts
_onDidChangeTrustedHostsstoreKey
ISSHTrustedHost
result ISSHTrustedHost
storeKey keys
parsed storeKey
parsed
result host parsedhost port parsedport keys
result
Map ISSHTrustedHostKey
_storageService StorageScope
hosts Map ISSHTrustedHostKey
hostssize
_storageService StorageScope
_storageService
Objecthosts
StorageScope
StorageTarget