mirror of
https://github.com/davidkaya/aryx.git
synced 2026-08-06 19:58:43 +02:00
feat: add approval checkpoints backend
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -66,6 +66,16 @@ describe('run timeline formatting', () => {
|
||||
agentName: 'Writer',
|
||||
toolName: 'file_search',
|
||||
}))).toBe('Writer used file_search');
|
||||
expect(formatEventLabel(createEvent({
|
||||
kind: 'approval',
|
||||
status: 'running',
|
||||
approvalTitle: 'Approve tool access',
|
||||
}))).toBe('Approve tool access');
|
||||
expect(formatEventLabel(createEvent({
|
||||
kind: 'approval',
|
||||
status: 'completed',
|
||||
approvalTitle: 'Approve final response',
|
||||
}))).toBe('Approve final response approved');
|
||||
expect(formatEventLabel(createEvent({ kind: 'message', agentName: 'Reviewer' }))).toBe('Reviewer');
|
||||
expect(formatEventLabel(createEvent({ kind: 'run-completed' }))).toBe('Completed');
|
||||
expect(formatEventLabel(createEvent({ kind: 'run-failed' }))).toBe('Failed');
|
||||
|
||||
Reference in New Issue
Block a user