ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Статус ключа: правила слияния трёх источников правды.
*
* 1. Ядро API Keys (команда apiKeys.exportStatuses) — живость, классификация HTTP,
* cooldown после лимита, медиана первого токена, признаки «медленный».
* 2. Командный банк (auraTeam.getState) — ключи команды с их ping и признаком «выключен».
* 3. Локальные сбои текущего запуска оркестратора (401/403/429/сеть) и ручное
* исключение ключа из панели.
*
* Модуль не импортирует vscode — проверяется node-тестами (test/key-status.test.mjs).
*--------------------------------------------------------------------------------------------*/
export type KeyStatus = 'ok' | 'cooldown' | 'dead' | 'slow' | 'excluded' | 'unknown';
/** Словарь ядра (auraApiModel.AuraHealthStatus) — держим точной копией. */
export type AuraHealthStatus = 'ok' | 'unauthorized' | 'forbidden' | 'ratelimited' | 'notfound' | 'down' | 'unknown';
/** Форма строки команды apiKeys.exportStatuses (без секретов). */
export interface CoreKeyStatus {
health AuraHealthStatus
ok
checking
cooldownUntil
pingMs
error
excludedHighPing
excludedReason
latencyMs
authenticityPct
securityPct
lastChecked
ok
pingMs
disabledAt
lastCheckedAt
excludedManually
cooldownUntil
dead
lastError
now
modelUsable
runtime KeyRuntimeState
core CoreKeyStatus
team TeamKeyStatus
status KeyStatus
cooldownUntil
pingMs
lastError
health AuraHealthStatus
latencyMs
authenticityPct
securityPct
lastChecked
checking
excludedReason
input KeyStatusInput ResolvedKeyState
now runtime core team input
runtimeCooldown runtimecooldownUntil runtimecooldownUntil now runtimecooldownUntil
resolved ResolvedKeyState
status
cooldownUntil runtimeCooldown
pingMs corepingMs teampingMs
lastError
health corehealth
latencyMs corelatencyMs
authenticityPct coreauthenticityPct
securityPct coresecurityPct
lastChecked corelastChecked
checking corechecking
excludedReason coreexcludedReason
runtimeexcludedManually
resolved status cooldownUntil lastError
resolvedcooldownUntil
resolved status lastError runtimelastError
runtimedead
resolved status cooldownUntil lastError runtimelastError
coreexcludedHighPing coreexcludedReason
resolved status lastError coreerror
byHealth core now
byHealth
resolved byHealth
corehealth coreok inputmodelUsable
resolved status lastError coreerror
team teamdisabledAt teamok
resolved status cooldownUntil lastError coreerror
resolved status lastError coreerror
core CoreKeyStatus now PickResolvedKeyState
health corehealth
health health health
health health health
status cooldownUntil lastError coreerror
window health
until corecooldownUntil corecooldownUntil now corecooldownUntil now window
status cooldownUntil until lastError coreerror
error now KeyRuntimeState
message error errormessage error
message
dead lastError message
message
cooldownUntil now lastError message
cooldownUntil now lastError message