fix(team): satisfy MCP HTTP lint gates
This commit is contained in:
parent
3ceef1fb82
commit
2cae0a080a
2 changed files with 3 additions and 3 deletions
|
|
@ -82,8 +82,8 @@ export function resolveStartOptions(
|
|||
transportType: HTTP_TRANSPORT,
|
||||
httpStream: {
|
||||
host:
|
||||
getArgValue(argv, '--host')?.trim() ||
|
||||
env.AGENT_TEAMS_MCP_HTTP_HOST?.trim() ||
|
||||
getArgValue(argv, '--host')?.trim() ??
|
||||
env.AGENT_TEAMS_MCP_HTTP_HOST?.trim() ??
|
||||
DEFAULT_HTTP_HOST,
|
||||
port: parsePort(getArgValue(argv, '--port') ?? env.AGENT_TEAMS_MCP_HTTP_PORT),
|
||||
endpoint: normalizeEndpoint(getArgValue(argv, '--endpoint') ?? env.AGENT_TEAMS_MCP_HTTP_ENDPOINT),
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { spawnCli, killProcessTree } from '@main/utils/childProcess';
|
||||
import { killProcessTree, spawnCli } from '@main/utils/childProcess';
|
||||
import { getClaudeBasePath } from '@main/utils/pathDecoder';
|
||||
import { createLogger } from '@shared/utils/logger';
|
||||
import { type ChildProcess } from 'child_process';
|
||||
|
|
|
|||
Loading…
Reference in a new issue