Merge branch 'worktree/ci-native-windows-20260808' into worktree/ci-native-windows-coverage-20260808
This commit is contained in:
@@ -196,11 +196,15 @@ function stubAgent(cwd?: string, seed: SessionEvent[] = []): Agent {
|
||||
}
|
||||
|
||||
function stubToolExecution(
|
||||
input: Omit<ToolExecution, 'token'> & { token?: ToolExecutionToken },
|
||||
input: Omit<ToolExecution, 'token' | 'rootCallId'> & {
|
||||
token?: ToolExecutionToken
|
||||
rootCallId?: ToolExecution['rootCallId']
|
||||
},
|
||||
): ToolExecution {
|
||||
return {
|
||||
token: input.token ?? Symbol('workspace-context-test-execution') as ToolExecutionToken,
|
||||
...input,
|
||||
rootCallId: input.rootCallId ?? input.callId,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user