connection token support

This commit is contained in:
Connor Peet
2026-03-17 10:01:53 -07:00
parent f48e040708
commit f2f31ca7ea
8 changed files with 106 additions and 23 deletions

View File

@@ -189,7 +189,7 @@ class TestProtocolClient {
async function startServer(): Promise<{ process: ChildProcess; port: number }> {
return new Promise((resolve, reject) => {
const serverPath = fileURLToPath(new URL('../../node/agentHostServerMain.js', import.meta.url));
const child = fork(serverPath, ['--enable-mock-agent', '--quiet', '--port', '0'], {
const child = fork(serverPath, ['--enable-mock-agent', '--quiet', '--port', '0', '--without-connection-token'], {
stdio: ['pipe', 'pipe', 'pipe', 'ipc'],
});