- import { Invoice } from './types';
- import { toCsv } from './csv';
- import { renderPdf } from './pdf';
- export function exportInvoices(
- invoices: Invoice[],
- format: 'csv' | 'pdf',
- ) {
- if (format === 'csv') {
- return toCsv(invoices, COLUMNS);
- }
- return renderPdf(invoices, { size: 'A4' });
- }
- export const COLUMNS = ['id', 'customer', 'total'];
Every coding agent, one glance away.
Agent Flock puts a Mac-style notch at the top of your Windows screen that shows what every Claude Code and Codex agent is doing, and tells you the moment one needs you. Even after you close the terminal that started it.
The black notch at the top of this page is a live demo with scripted agents. Click it, then click an agent to bring its window forward.
PS C:\dev\auth-service> claude
> Fix the token refresh race in auth/refresh.ts
Read auth/refresh.ts
Edit auth/refresh.ts +14 −6
Bash command
npm test -- refresh
Do you want to proceed?
› Yes
No
Bash npm test -- refresh
PASS test/refresh.test.ts (42 tests)
Fixed the refresh race. 42 tests pass.
PS C:\dev\api> $env:AGENTFLOCK_NAME = "worker-3"; claude
Running npm test · 2 subagents
PASS src/users/users.test.ts
PASS src/orders/orders.test.ts
PASS src/billing/tax.test.ts
RUNS src/billing/invoice.test.ts