Files
openclaw/src/plugin-sdk/provider-transport-runtime.ts
Peter Steinberger b4e27f8b3d refactor: move provider transports into packages/ai behind a typed host port (#111669)
* refactor(ai): invert plugin coupling behind the transport host port

* fix(ai): queue custom transport registrations until the host is configured

* refactor(ai): remove relocated transport sources from src/agents

* fix(ai): source core stream types from canonical packages and fix tarball fixtures

* fix(ai): invert plugin transport host wiring

* fix(ai): harden managed transport projection

* test(ai): register synchronous stream in transport mock

* fix(ai): lazily install transport runtime host

* fix(ai): preserve completion compat detection
2026-07-20 23:26:00 -07:00

22 lines
812 B
TypeScript

/**
* Runtime SDK subpath for provider transport helpers and stream primitives.
*/
export { buildGuardedModelFetch } from "../agents/provider-transport-fetch.js";
export { buildOpenAICompletionsParams } from "../agents/openai-transport-stream.js";
export { stripSystemPromptCacheBoundary } from "@openclaw/ai/internal/shared";
export { transformTransportMessages } from "../agents/transport-message-transform.js";
export {
describeToolResultMediaPlaceholder,
extractToolResultText,
} from "@openclaw/ai/internal/shared";
export {
coerceTransportToolCallArguments,
createEmptyTransportUsage,
createWritableTransportEventStream,
failTransportStream,
finalizeTransportStream,
mergeTransportHeaders,
sanitizeTransportPayloadText,
type WritableTransportStream,
} from "@openclaw/ai/transports";