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 { spawn } from 'child_process';
import { ensureNoDisposablesAreLeakedInTestSuite } from '../../../../../base/test/common/utils.js';
import * as assert from 'assert';
import { McpStdioStateHandler } from '../../node/mcpStdioStateHandler.js';
import { isWindows } from '../../../../../base/common/platform.js';
// Must be comfortably larger than the time it takes to spawn the helper shell
// script that signals the process tree, otherwise SIGKILL can race SIGTERM.
const GRACE_TIME = 1000;
suite('McpStdioStateHandler', () => {
store
code
child code
stdio
env processenv
child
handler store child
processId resolve
child childpid
output resolve reject
output
childstderr data
output data
childstdout data
output data
child reject
child output
test
child handler output
r childstdin
handler
result output
assertresult
isWindows
test
handler output
before Date
handler
result output
delay Date before
assertresult
assertdelay
handler output
before Date
handler
result output
delay Date before
isWindows
assertresult
assertresult
assertdelay