test: align merged suites with master's cancel cause and optional welcome

workspace-context's abort-tool test uses agent.cancel({kind:'user'}) (master's
AgentCancelCause shape); tui-demo forwards no welcome when none is configured.
This commit is contained in:
Turtle
2026-07-22 12:40:32 +08:00
parent 30c7e76ea5
commit dfd1eeeadb
2 changed files with 3 additions and 2 deletions

View File

@@ -1699,7 +1699,7 @@ describe('dynamic nested workspace context injection', () => {
description: 'Abort the current test step.',
parameters: {},
async execute() {
;(agent as unknown as { currentAbort?: AbortController }).currentAbort?.abort('test abort')
agent.cancel({ kind: 'user' })
return [{ type: 'text', text: 'aborted' }]
},
}))