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 type { AccountInfo } from '@anthropic-ai/claude-agent-sdk';
import assert from 'assert';
import { ensureNoDisposablesAreLeakedInTestSuite } from '../../../../base/test/common/utils.js';
import { isClaudeAccountSetUp, resolveClaudeTransportMode } from '../../node/claude/claudeTransportMode.js';
suite('claudeTransportMode', () => {
ensureNoDisposablesAreLeakedInTestSuite();
test('resolveClaudeTransportMode precedence over the full input matrix', () => {
const bools
actual Record
allowSignedOutWhenUsable bools
hasGitHubToken bools
hasExistingSetup bools
key
actualkey allowSignedOutWhenUsable hasGitHubToken hasExistingSetup
assertactual
cases name account AccountInfo expected
tokenSource apiProvider
tokenSource
tokenSource apiProvider
tokenSource apiKeySource apiProvider
apiProvider
apiProvider
apiProvider
assert
Objectcasesname account name account
Objectcasesname expected name expected