Merge branch 'worktree-agent-a16cd7d38c66c90bd'
This commit is contained in:
@@ -94,4 +94,15 @@ void main() {
|
||||
'“/close” is not available yet, so nothing was sent to the agent.',
|
||||
);
|
||||
});
|
||||
|
||||
test('the /new notice says the replaced session was stopped', () {
|
||||
// The server releases the old harness session before it answers, so the
|
||||
// notice must not suggest it is still running or resumable.
|
||||
expect(
|
||||
chatNewSessionNotice,
|
||||
'New session started. The agent no longer sees the earlier '
|
||||
'conversation; the previous session was stopped.',
|
||||
);
|
||||
expect(chatNewSessionNotice, isNot(contains('resume')));
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user