Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ describe('the permission verdict on a paired host', () => {
await expect(
readStructuredChatHostPermissionVerdict({ kind: 'local' }, 'claude', 'ask')
).resolves.toEqual({ kind: 'allowed' })
await expect(readStructuredChatHostPermissionVerdict(PAIRED, 'grok', 'ask')).resolves.toEqual({
await expect(readStructuredChatHostPermissionVerdict(PAIRED, 'aider', 'ask')).resolves.toEqual({
kind: 'allowed'
})
expect(mocks.supportsCapability).not.toHaveBeenCalled()
Expand Down
4 changes: 2 additions & 2 deletions src/shared/agent-chat-permission-host-support.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ describe('what a host predating per-chat modes runs', () => {
})

it('names no mode for an agent without chat modes', () => {
expect(legacyHostChatPermissionMode('grok', {})).toBeNull()
expect(legacyHostChatPermissionMode('aider', {})).toBeNull()
})
})

Expand Down Expand Up @@ -93,7 +93,7 @@ describe('the verdict on a chat start or turn', () => {
).toBe('allowed')
expect(
chatPermissionHostVerdict({
agent: 'grok',
agent: 'aider',
hostAppliesModes: false,
legacyMode: null,
requested: 'ask'
Expand Down
Loading