mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-04 03:00:25 +00:00
refactor: clean plugin capability boundaries
This commit is contained in:
12
src/plugin-sdk/provider-http.ts
Normal file
12
src/plugin-sdk/provider-http.ts
Normal 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";
|
||||
Reference in New Issue
Block a user