feat(providers): add provider transfer limits

This commit is contained in:
elky
2026-07-26 15:06:56 +08:00
parent 2ef7ac79bc
commit 10d369f59c
36 changed files with 1764 additions and 119 deletions
@@ -33,6 +33,8 @@ describe('getProvidersSummary', () => {
expect(result.total).toBe(1)
expect(result.items).toHaveLength(1)
expect(result.items[0]?.kiro_simulated_cache_enabled).toBe(false)
expect(result.items[0]?.max_transfer_count).toBe(0)
expect(result.items[0]?.max_transfer_timeout_seconds).toBe(0)
})
it('supports the legacy array response without reading an undefined items field', async () => {