ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
import * as vscode from 'vscode';
import { KeyTier, OrchestratorConfig } from '../util/config';
import { defaultTierForModel, ModelSource, TierStore } from '../llm/tierStore';
import { logInfo, logWarn } from '../util/log';
import { keyIdsFromModelIds } from './modelId';
import {
AuraHealthStatus,
CoreKeyStatus,
KeyRuntimeState,
KeyStatus,
TeamKeyStatus,
resolveKeyState,
runtimeFromError,
} from './status';
export type KeySource = 'local' | 'team'
KeyStatus
id
source KeySource
name
model
baseUrl
tier KeyTier
status KeyStatus
selectable
pingMs
lastCallMs
cooldownUntil
lastError
teamPriority
activeCalls
health AuraHealthStatus
latencyMs
authenticityPct
securityPct
lastChecked
checking
excludedReason
runtime KeyRuntimeState
id
name
baseUrl
model
priority
id
label
provider
priority
core CoreKeyStatus
team TeamKeyInfo
modelUsable
Disposable
entries
sources
disposables vscodeDisposable
onDidChangeEmitter
onDidChange onDidChangeEmitterevent
config OrchestratorConfig tierStore TierStore
disposables
vscodelm
vscodeworkspacee
e
config OrchestratorConfig
config config
tierStoreconfigtierOverrides
KeyEntry
exported usableIds teamKeys coreStatuses
now Date
next
sources
matchedTeamIds
key exported
prev entrieskeyid
teamInfo key teamKeys
teamInfo
matchedTeamIdsteamInfoid
entry KeyEntry
id keyid
source teamInfo
name keyname keyid
model keymodel
baseUrl keybaseUrl
tier keyid key teamInfo
status
selectable
pingMs prevpingMs
lastCallMs prevlastCallMs
cooldownUntil prevcooldownUntil
lastError prevlastError
teamPriority teamInfopriority
activeCalls prevactiveCalls
lastChecked prevlastChecked
runtime prevruntime
source KeySources
core coreStatuseskeyid
team teamInfo
modelUsable usableIdskeyid
entry source now
nextentryid entry
sourcesentryid source
teamKey teamKeys
matchedTeamIdsteamKeyid
id
prev entriesid
entry KeyEntry
id
source
name teamKeylabel teamKeyid
model teamKeyprovider
baseUrl
tier tierStore teamKeyid teamKeypriority
status
selectable
pingMs prevpingMs
lastCallMs prevlastCallMs
cooldownUntil prevcooldownUntil
lastError prevlastError
teamPriority teamKeypriority
activeCalls
runtime prevruntime
source KeySources team teamKey modelUsable
entry source now
nextentryid entry
sourcesentryid source
entries next
sources sources
onDidChangeEmitter
statuses nextacc key
acckeystatus acckeystatus
acc
KeyEntry
entries
id KeyEntry
entriesid
tier KeyTier KeyEntry
now Date
eligible
k ktier tier kselectable
k kstatus kstatus
k kcooldownUntil kcooldownUntil now
cap configmaxAgentsPerKey
cap
underCap eligiblek kactiveCalls cap
underCaplength
underCapbyLoad
eligiblebyLoad
tier KeyTier
tierlength
keyId
entry entrieskeyId
entry
entryactiveCalls
onDidChangeEmitter
keyId
entry entrieskeyId
entry
entryactiveCalls Math entryactiveCalls
onDidChangeEmitter
keyId error
entry entrieskeyId
entry
now Date
message error errormessage error
patch message now
keyId patch excludedManually
patchdead
entry sourceskeyId Date
onDidChangeEmitter
keyId lastCallMs
entry entrieskeyId
entry
keyId dead cooldownUntil lastError
lastCallMs
entrylastCallMs lastCallMs
entry sourceskeyId Date
onDidChangeEmitter
keyId excluded
entry entrieskeyId
entry
keyId excluded
excludedManually dead cooldownUntil lastError
excludedManually dead cooldownUntil lastError
entry sourceskeyId Date
onDidChangeEmitter
keyId
entrieskeyIdstatus
disposablesd d
onDidChangeEmitter
entry KeyEntry source KeySources now
resolved
now
modelUsable sourcemodelUsable
runtime entryruntime
core sourcecore
team sourceteam
entrystatus resolvedstatus
entrycooldownUntil resolvedcooldownUntil
entrypingMs resolvedpingMs
entrylastError resolvedlastError
entryhealth resolvedhealth
entrylatencyMs resolvedlatencyMs
entryauthenticityPct resolvedauthenticityPct
entrysecurityPct resolvedsecurityPct
entrylastChecked resolvedlastChecked
entrychecking resolvedchecking
entryexcludedReason resolvedexcludedReason
keyId patch PartialKeyRuntimeState
entry entrieskeyId
entry
entryruntime entryruntime patch
ExportedKey
result vscodecommands
result result
Map CoreKeyStatus
map
result vscodecommands
item result result
item itemid
mapitemid item
map
Set
models vscodelm vendor
modelsm mid
TeamKeyInfo
state vscodecommands
statekeys statekeys
key ExportedKey teamKeys TeamKeyInfo TeamKeyInfo
teamKeyslength
name keyname
label name namelength name
teamKeyst tlabel label
teamKeyst tlabel name
teamKeyst labeltlabel
keyId key ExportedKey teamInfo TeamKeyInfo KeyTier
override configtierOverrideskeyId
override
override
source ModelSource teamInfo
stored tierStoresource keyId
stored
stored
haystack
rule configtierRules
matchOk rulematch haystackrulematch
priority teamInfopriority
rangeOk rulepriorityFrom rulepriorityTo
priority
rulepriorityFrom priority rulepriorityFrom
rulepriorityTo priority rulepriorityTo
matchOk rangeOk
ruletier
heuristic haystack
heuristic
heuristic
teamInfo
teamInfopriority
keypriority
priority KeyTier
priority
priority
priority
a KeyEntry b KeyEntry
aactiveCalls bactiveCalls
aactiveCalls bactiveCalls
ping apingMs Number bpingMs Number
ping ping aidbid