refactor(usage): shape sources as fetch functions

Keep the plugin usage API limited to stable report and presentation helpers. Source-local parsers and timeout handling preserve credential and response parity while the cases move alongside each source.
This commit is contained in:
Mohamed Boudra
2026-09-26 20:52:37 +02:00
parent 0f2f6a3b89
commit 2e53a5b9b5
40 changed files with 2628 additions and 2396 deletions
@@ -1,2 +1,4 @@
import { z } from "zod";
export const inputSchema = z.object({}).strict();
export type UsageInput = z.infer<typeof inputSchema>;