refactor: clean plugin capability boundaries

This commit is contained in:
Peter Steinberger
2026-03-26 21:40:58 +00:00
parent d00dc5f46b
commit ce9dff1458
49 changed files with 572 additions and 342 deletions

View File

@@ -0,0 +1,12 @@
// Shared provider-facing HTTP helpers. Keep generic transport utilities here so
// capability SDKs do not depend on each other.
export {
assertOkOrThrowHttpError,
fetchWithTimeout,
fetchWithTimeoutGuarded,
normalizeBaseUrl,
postJsonRequest,
postTranscriptionRequest,
requireTranscriptionText,
} from "../media-understanding/shared.js";