Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.openclaw.ai/llms.txt

Use this file to discover all available pages before exploring further.

The plugin SDK is exposed as a set of narrow subpaths under openclaw/plugin-sdk/. This page catalogs the commonly used subpaths grouped by purpose. The generated full list of 200+ subpaths lives in scripts/lib/plugin-sdk-entrypoints.json; reserved bundled-plugin helper subpaths appear there but are implementation detail unless a doc page explicitly promotes them. Maintainers can audit active reserved helper subpaths with pnpm plugins:boundary-report:summary; unused reserved helper exports fail the CI report instead of staying in the public SDK as dormant compatibility debt. For the plugin authoring guide, see Plugin SDK overview.

Plugin entry

SubpathKey exports
plugin-sdk/plugin-entrydefinePluginEntry
plugin-sdk/coredefineChannelPluginEntry, createChatChannelPlugin, createChannelPluginBase, defineSetupPluginEntry, buildChannelConfigSchema, buildJsonChannelConfigSchema
plugin-sdk/config-schemaOpenClawSchema
plugin-sdk/provider-entrydefineSingleProviderPluginEntry
plugin-sdk/testingBroad compatibility barrel for legacy plugin tests; prefer focused test subpaths for new extension tests
plugin-sdk/plugin-test-apiMinimal OpenClawPluginApi mock builder for direct plugin registration unit tests
plugin-sdk/agent-runtime-test-contractsNative agent-runtime adapter contract fixtures for auth profiles, delivery suppression, fallback classification, tool hooks, prompt overlays, schemas, and transcript repair
plugin-sdk/channel-test-helpersChannel account lifecycle, directory, send-config, runtime mock, hook, bundled channel entry, envelope timestamp, pairing reply, and generic channel contract test helpers
plugin-sdk/channel-target-testingShared channel target-resolution error-case test suite
plugin-sdk/plugin-test-contractsPlugin registration, package manifest, public artifact, runtime API, import side-effect, and direct import contract helpers
plugin-sdk/plugin-test-runtimePlugin runtime, registry, provider-registration, setup-wizard, and runtime task-flow fixtures for tests
plugin-sdk/provider-test-contractsProvider runtime, auth, discovery, onboard, catalog, media capability, replay policy, realtime STT live-audio, web-search/fetch, and wizard contract helpers
plugin-sdk/provider-http-test-mocksOpt-in Vitest HTTP/auth mocks for provider tests that exercise plugin-sdk/provider-http
plugin-sdk/test-envTest environment, fetch/network, disposable HTTP server, incoming request, live-test, temporary filesystem, and time-control fixtures
plugin-sdk/test-fixturesGeneric CLI, sandbox, skill, agent-message, system-event, module reload, bundled plugin path, terminal, chunking, auth-token, and typed-case test fixtures
plugin-sdk/test-node-mocksFocused Node builtin mock helpers for use inside Vitest vi.mock("node:*") factories
plugin-sdk/migrationMigration provider item helpers such as createMigrationItem, reason constants, item status markers, redaction helpers, and summarizeMigrationItems
plugin-sdk/migration-runtimeRuntime migration helpers such as copyMigrationFileItem, withCachedMigrationConfigRuntime, and writeMigrationReport
SubpathKey exports
plugin-sdk/channel-coredefineChannelPluginEntry, defineSetupPluginEntry, createChatChannelPlugin, createChannelPluginBase
plugin-sdk/config-schemaRoot openclaw.json Zod schema export (OpenClawSchema)
plugin-sdk/json-schema-runtimeCached JSON Schema validation helper for plugin-owned schemas
plugin-sdk/channel-setupcreateOptionalChannelSetupSurface, createOptionalChannelSetupAdapter, createOptionalChannelSetupWizard, plus DEFAULT_ACCOUNT_ID, createTopLevelChannelDmPolicy, setSetupChannelEnabled, splitSetupEntries
plugin-sdk/setupShared setup wizard helpers, allowlist prompts, setup status builders
plugin-sdk/setup-runtimecreatePatchedAccountSetupAdapter, createEnvPatchedAccountSetupAdapter, createSetupInputPresenceValidator, noteChannelLookupFailure, noteChannelLookupSummary, promptResolvedAllowFrom, splitSetupEntries, createAllowlistSetupWizardProxy, createDelegatedSetupWizardProxy
plugin-sdk/setup-adapter-runtimecreateEnvPatchedAccountSetupAdapter
plugin-sdk/setup-toolsformatCliCommand, detectBinary, extractArchive, resolveBrewExecutable, formatDocsLink, CONFIG_DIR
plugin-sdk/account-coreMulti-account config/action-gate helpers, default-account fallback helpers
plugin-sdk/account-idDEFAULT_ACCOUNT_ID, account-id normalization helpers
plugin-sdk/account-resolutionAccount lookup + default-fallback helpers
plugin-sdk/account-helpersNarrow account-list/account-action helpers
plugin-sdk/channel-pairingcreateChannelPairingController
plugin-sdk/channel-reply-pipelineLegacy reply pipeline helpers. New channel reply pipeline code should use createChannelMessageReplyPipeline and resolveChannelMessageSourceReplyDeliveryMode from plugin-sdk/channel-message.
plugin-sdk/channel-config-helperscreateHybridChannelConfigAdapter, resolveChannelDmAccess, resolveChannelDmAllowFrom, resolveChannelDmPolicy, normalizeChannelDmPolicy, normalizeLegacyDmAliases
plugin-sdk/channel-config-schemaShared channel config schema primitives plus Zod and direct JSON/TypeBox builders
plugin-sdk/bundled-channel-config-schemaBundled OpenClaw channel config schemas for maintained bundled plugins only
plugin-sdk/channel-config-schema-legacyDeprecated compatibility alias for bundled-channel config schemas
plugin-sdk/telegram-command-configTelegram custom-command normalization/validation helpers with bundled-contract fallback
plugin-sdk/command-gatingNarrow command authorization gate helpers
plugin-sdk/channel-policyresolveChannelGroupRequireMention
plugin-sdk/channel-lifecyclecreateAccountStatusSink, createChannelRunQueue, and legacy draft stream lifecycle helpers. New preview finalization code should use plugin-sdk/channel-message.
plugin-sdk/channel-messageCheap message lifecycle contract helpers such as defineChannelMessageAdapter, createChannelMessageAdapterFromOutbound, createReplyPrefixContext, resolveChannelMessageSourceReplyDeliveryMode, compatibility facades, durable-final capability derivation, capability proof helpers for send/receipt/side-effect capabilities, MessageReceiveContext, receive ack policy proofs, defineFinalizableLivePreviewAdapter, deliverWithFinalizableLivePreviewAdapter, live-preview and live-finalizer capability proofs, durable recovery state, RenderedMessageBatch, message receipt types, and receipt id helpers. See Channel message API. Legacy createChannelTurnReplyPipeline remains only for compatibility dispatchers.
plugin-sdk/channel-message-runtimeRuntime delivery helpers that may load outbound delivery, including deliverInboundReplyWithMessageSendContext, sendDurableMessageBatch, withDurableMessageSendContext, dispatchChannelMessageReplyWithBase, and recordChannelMessageReplyDispatch. Use from monitor/send runtime modules, not hot plugin bootstrap files.
plugin-sdk/inbound-envelopeShared inbound route + envelope builder helpers
plugin-sdk/inbound-reply-dispatchLegacy shared inbound record-and-dispatch helpers, visible/final dispatch predicates, and deprecated deliverDurableInboundReplyPayload compatibility for prepared channel dispatchers. New channel receive/dispatch code should import runtime lifecycle helpers from plugin-sdk/channel-message-runtime.
plugin-sdk/messaging-targetsTarget parsing/matching helpers
plugin-sdk/outbound-mediaShared outbound media loading helpers
plugin-sdk/outbound-send-depsLightweight outbound send dependency lookup for channel adapters
plugin-sdk/outbound-runtimeOutbound delivery, identity, send delegate, session, formatting, and payload planning helpers
plugin-sdk/poll-runtimeNarrow poll normalization helpers
plugin-sdk/thread-bindings-runtimeThread-binding lifecycle and adapter helpers
plugin-sdk/agent-media-payloadLegacy agent media payload builder
plugin-sdk/conversation-runtimeConversation/thread binding, pairing, and configured-binding helpers
plugin-sdk/runtime-config-snapshotRuntime config snapshot helper
plugin-sdk/runtime-group-policyRuntime group-policy resolution helpers
plugin-sdk/channel-statusShared channel status snapshot/summary helpers
plugin-sdk/channel-config-primitivesNarrow channel config-schema primitives
plugin-sdk/channel-config-writesChannel config-write authorization helpers
plugin-sdk/channel-plugin-commonShared channel plugin prelude exports
plugin-sdk/allowlist-config-editAllowlist config edit/read helpers
plugin-sdk/group-accessShared group-access decision helpers
plugin-sdk/direct-dmShared direct-DM auth/guard helpers
plugin-sdk/discordDeprecated Discord compatibility facade for published @openclaw/discord@2026.3.13 and tracked owner compatibility; new plugins should use generic channel SDK subpaths
plugin-sdk/telegram-accountDeprecated Telegram account-resolution compatibility facade for tracked owner compatibility; new plugins should use injected runtime helpers or generic channel SDK subpaths
plugin-sdk/zalouserDeprecated Zalo Personal compatibility facade for published Lark/Zalo packages that still import sender command authorization; new plugins should use plugin-sdk/command-auth
plugin-sdk/interactive-runtimeSemantic message presentation, delivery, and legacy interactive reply helpers. See Message Presentation
plugin-sdk/channel-inboundCompatibility barrel for inbound debounce, mention matching, mention-policy helpers, and envelope helpers
plugin-sdk/channel-inbound-debounceNarrow inbound debounce helpers
plugin-sdk/channel-mention-gatingNarrow mention-policy, mention marker, and mention text helpers without the broader inbound runtime surface
plugin-sdk/channel-envelopeNarrow inbound envelope formatting helpers
plugin-sdk/channel-locationChannel location context and formatting helpers
plugin-sdk/channel-loggingChannel logging helpers for inbound drops and typing/ack failures
plugin-sdk/channel-send-resultReply result types
plugin-sdk/channel-actionsChannel message-action helpers, plus deprecated native schema helpers kept for plugin compatibility
plugin-sdk/channel-routeShared route normalization, parser-driven target resolution, thread-id stringification, dedupe/compact route keys, parsed-target types, and route/target comparison helpers
plugin-sdk/channel-targetsTarget parsing helpers; route comparison callers should use plugin-sdk/channel-route
plugin-sdk/channel-contractChannel contract types
plugin-sdk/channel-feedbackFeedback/reaction wiring
plugin-sdk/channel-secret-runtimeNarrow secret-contract helpers such as collectSimpleChannelFieldAssignments, getChannelSurface, pushAssignment, and secret target types
SubpathKey exports
plugin-sdk/provider-entrydefineSingleProviderPluginEntry
plugin-sdk/lmstudioSupported LM Studio provider facade for setup, catalog discovery, and runtime model preparation
plugin-sdk/lmstudio-runtimeSupported LM Studio runtime facade for local server defaults, model discovery, request headers, and loaded-model helpers
plugin-sdk/provider-setupCurated local/self-hosted provider setup helpers
plugin-sdk/self-hosted-provider-setupFocused OpenAI-compatible self-hosted provider setup helpers
plugin-sdk/cli-backendCLI backend defaults + watchdog constants
plugin-sdk/provider-auth-runtimeRuntime API-key resolution helpers for provider plugins
plugin-sdk/provider-auth-api-keyAPI-key onboarding/profile-write helpers such as upsertApiKeyProfile
plugin-sdk/provider-auth-resultStandard OAuth auth-result builder
plugin-sdk/provider-auth-loginShared interactive login helpers for provider plugins
plugin-sdk/provider-env-varsProvider auth env-var lookup helpers
plugin-sdk/provider-authcreateProviderApiKeyAuthMethod, ensureApiKeyFromOptionEnvOrPrompt, upsertAuthProfile, upsertApiKeyProfile, writeOAuthCredentials, deprecated resolveOpenClawAgentDir compatibility export
plugin-sdk/provider-model-sharedProviderReplayFamily, buildProviderReplayFamilyHooks, normalizeModelCompat, shared replay-policy builders, provider-endpoint helpers, and model-id normalization helpers such as normalizeNativeXaiModelId
plugin-sdk/provider-catalog-runtimeProvider catalog augmentation runtime hook and plugin-provider registry seams for contract tests
plugin-sdk/provider-catalog-sharedfindCatalogTemplate, buildSingleProviderApiKeyCatalog, buildManifestModelProviderConfig, supportsNativeStreamingUsageCompat, applyProviderNativeStreamingUsageCompat
plugin-sdk/provider-httpGeneric provider HTTP/endpoint capability helpers, provider HTTP errors, and audio transcription multipart form helpers
plugin-sdk/provider-web-fetch-contractNarrow web-fetch config/selection contract helpers such as enablePluginInConfig and WebFetchProviderPlugin
plugin-sdk/provider-web-fetchWeb-fetch provider registration/cache helpers
plugin-sdk/provider-web-search-config-contractNarrow web-search config/credential helpers for providers that do not need plugin-enable wiring
plugin-sdk/provider-web-search-contractNarrow web-search config/credential contract helpers such as createWebSearchProviderContractFields, enablePluginInConfig, resolveProviderWebSearchPluginConfig, and scoped credential setters/getters
plugin-sdk/provider-web-searchWeb-search provider registration/cache/runtime helpers
plugin-sdk/provider-toolsProviderToolCompatFamily, buildProviderToolCompatFamilyHooks, Gemini schema cleanup + diagnostics, and xAI compat helpers such as resolveXaiModelCompatPatch / applyXaiModelCompat
plugin-sdk/provider-usagefetchClaudeUsage and similar
plugin-sdk/provider-streamProviderStreamFamily, buildProviderStreamFamilyHooks, composeProviderStreamWrappers, stream wrapper types, and shared Anthropic/Bedrock/DeepSeek V4/Google/Kilocode/Moonshot/OpenAI/OpenRouter/Z.A.I/MiniMax/Copilot wrapper helpers
plugin-sdk/provider-transport-runtimeNative provider transport helpers such as guarded fetch, transport message transforms, and writable transport event streams
plugin-sdk/provider-onboardOnboarding config patch helpers
plugin-sdk/global-singletonProcess-local singleton/map/cache helpers
plugin-sdk/group-activationNarrow group activation mode and command parsing helpers
SubpathKey exports
plugin-sdk/command-authresolveControlCommandGate, command registry helpers including dynamic argument menu formatting, sender-authorization helpers
plugin-sdk/command-statusCommand/help message builders such as buildCommandsMessagePaginated and buildHelpMessage
plugin-sdk/approval-auth-runtimeApprover resolution and same-chat action-auth helpers
plugin-sdk/approval-client-runtimeNative exec approval profile/filter helpers
plugin-sdk/approval-delivery-runtimeNative approval capability/delivery adapters
plugin-sdk/approval-gateway-runtimeShared approval gateway-resolution helper
plugin-sdk/approval-handler-adapter-runtimeLightweight native approval adapter loading helpers for hot channel entrypoints
plugin-sdk/approval-handler-runtimeBroader approval handler runtime helpers; prefer the narrower adapter/gateway seams when they are enough
plugin-sdk/approval-native-runtimeNative approval target + account-binding helpers
plugin-sdk/approval-reply-runtimeExec/plugin approval reply payload helpers
plugin-sdk/approval-runtimeExec/plugin approval payload helpers, native approval routing/runtime helpers, and structured approval display helpers such as formatApprovalDisplayPath
plugin-sdk/reply-dedupeNarrow inbound reply dedupe reset helpers
plugin-sdk/channel-contract-testingNarrow channel contract test helpers without the broad testing barrel
plugin-sdk/command-auth-nativeNative command auth, dynamic argument menu formatting, and native session-target helpers
plugin-sdk/command-detectionShared command detection helpers
plugin-sdk/command-primitives-runtimeLightweight command text predicates for hot channel paths
plugin-sdk/command-surfaceCommand-body normalization and command-surface helpers
plugin-sdk/allow-fromformatAllowFromLowercase
plugin-sdk/channel-secret-runtimeNarrow secret-contract collection helpers for channel/plugin secret surfaces
plugin-sdk/secret-ref-runtimeNarrow coerceSecretRef and SecretRef typing helpers for secret-contract/config parsing
plugin-sdk/security-runtimeShared trust, DM gating, root-bounded file/path helpers including create-only writes, sync/async atomic file replacement, sibling temp writes, cross-device move fallback, private file-store helpers, symlink-parent guards, external-content, sensitive text redaction, constant-time secret comparison, and secret-collection helpers
plugin-sdk/ssrf-policyHost allowlist and private-network SSRF policy helpers
plugin-sdk/ssrf-dispatcherNarrow pinned-dispatcher helpers without the broad infra runtime surface
plugin-sdk/ssrf-runtimePinned-dispatcher, SSRF-guarded fetch, SSRF error, and SSRF policy helpers
plugin-sdk/secret-inputSecret input parsing helpers
plugin-sdk/webhook-ingressWebhook request/target helpers and raw websocket/body coercion
plugin-sdk/webhook-request-guardsRequest body size/timeout helpers
SubpathKey exports
plugin-sdk/runtimeBroad runtime/logging/backup/plugin-install helpers
plugin-sdk/runtime-envNarrow runtime env, logger, timeout, retry, and backoff helpers
plugin-sdk/browser-configSupported browser config facade for normalized profile/defaults, CDP URL parsing, and browser-control auth helpers
plugin-sdk/channel-runtime-contextGeneric channel runtime-context registration and lookup helpers
plugin-sdk/matrixDeprecated Matrix compatibility facade for older third-party channel packages; new plugins should import plugin-sdk/run-command directly
plugin-sdk/mattermostDeprecated Mattermost compatibility facade for older third-party channel packages; new plugins should import generic SDK subpaths directly
plugin-sdk/runtime-storecreatePluginRuntimeStore
plugin-sdk/plugin-runtimeShared plugin command/hook/http/interactive helpers
plugin-sdk/hook-runtimeShared webhook/internal hook pipeline helpers
plugin-sdk/lazy-runtimeLazy runtime import/binding helpers such as createLazyRuntimeModule, createLazyRuntimeMethod, and createLazyRuntimeSurface
plugin-sdk/process-runtimeProcess exec helpers
plugin-sdk/cli-runtimeCLI formatting, wait, version, argument-invocation, and lazy command-group helpers
plugin-sdk/gateway-runtimeGateway client, event-loop-ready client start helper, gateway CLI RPC, gateway protocol errors, and channel-status patch helpers
plugin-sdk/config-typesType-only config surface for plugin config shapes such as OpenClawConfig and channel/provider config types
plugin-sdk/plugin-config-runtimeRuntime plugin-config lookup helpers such as requireRuntimeConfig, resolvePluginConfigObject, and resolveLivePluginConfigObject
plugin-sdk/config-mutationTransactional config mutation helpers such as mutateConfigFile, replaceConfigFile, and logConfigUpdated
plugin-sdk/runtime-config-snapshotCurrent process config snapshot helpers such as getRuntimeConfig, getRuntimeConfigSnapshot, and test snapshot setters
plugin-sdk/telegram-command-configTelegram command-name/description normalization and duplicate/conflict checks, even when the bundled Telegram contract surface is unavailable
plugin-sdk/text-autolink-runtimeFile-reference autolink detection without the broad text-runtime barrel
plugin-sdk/approval-runtimeExec/plugin approval helpers, approval-capability builders, auth/profile helpers, native routing/runtime helpers, and structured approval display path formatting
plugin-sdk/reply-runtimeShared inbound/reply runtime helpers, chunking, dispatch, heartbeat, reply planner
plugin-sdk/reply-dispatch-runtimeNarrow reply dispatch/finalize and conversation-label helpers
plugin-sdk/reply-historyShared short-window reply-history helpers and markers such as buildHistoryContext, HISTORY_CONTEXT_MARKER, recordPendingHistoryEntry, and clearHistoryEntriesIfEnabled
plugin-sdk/reply-referencecreateReplyReferencePlanner
plugin-sdk/reply-chunkingNarrow text/markdown chunking helpers
plugin-sdk/session-store-runtimeSession store path, session-key, updated-at, and store mutation helpers
plugin-sdk/cron-store-runtimeCron store path/load/save helpers
plugin-sdk/state-pathsState/OAuth dir path helpers
plugin-sdk/routingRoute/session-key/account binding helpers such as resolveAgentRoute, buildAgentSessionKey, and resolveDefaultAgentBoundAccountId
plugin-sdk/status-helpersShared channel/account status summary helpers, runtime-state defaults, and issue metadata helpers
plugin-sdk/target-resolver-runtimeShared target resolver helpers
plugin-sdk/string-normalization-runtimeSlug/string normalization helpers
plugin-sdk/request-urlExtract string URLs from fetch/request-like inputs
plugin-sdk/run-commandTimed command runner with normalized stdout/stderr results
plugin-sdk/param-readersCommon tool/CLI param readers
plugin-sdk/tool-payloadExtract normalized payloads from tool result objects
plugin-sdk/tool-sendExtract canonical send target fields from tool args
plugin-sdk/temp-pathShared temp-download path helpers and private secure temp workspaces
plugin-sdk/logging-coreSubsystem logger and redaction helpers
plugin-sdk/markdown-table-runtimeMarkdown table mode and conversion helpers
plugin-sdk/model-session-runtimeModel/session override helpers such as applyModelOverrideToSessionEntry and resolveAgentMaxConcurrent
plugin-sdk/talk-config-runtimeTalk provider config resolution helpers
plugin-sdk/json-storeSmall JSON state read/write helpers
plugin-sdk/file-lockRe-entrant file-lock helpers
plugin-sdk/persistent-dedupeDisk-backed dedupe cache helpers
plugin-sdk/acp-runtimeACP runtime/session and reply-dispatch helpers
plugin-sdk/acp-runtime-backendLightweight ACP backend registration and reply-dispatch helpers for startup-loaded plugins
plugin-sdk/acp-binding-resolve-runtimeRead-only ACP binding resolution without lifecycle startup imports
plugin-sdk/agent-config-primitivesNarrow agent runtime config-schema primitives
plugin-sdk/boolean-paramLoose boolean param reader
plugin-sdk/dangerous-name-runtimeDangerous-name matching resolution helpers
plugin-sdk/device-bootstrapDevice bootstrap and pairing token helpers
plugin-sdk/extension-sharedShared passive-channel, status, and ambient proxy helper primitives
plugin-sdk/models-provider-runtime/models command/provider reply helpers
plugin-sdk/skill-commands-runtimeSkill command listing helpers
plugin-sdk/native-command-registryNative command registry/build/serialize helpers
plugin-sdk/agent-harnessExperimental trusted-plugin surface for low-level agent harnesses: harness types, active-run steer/abort helpers, OpenClaw tool bridge helpers, runtime-plan tool policy helpers, terminal outcome classification, tool progress formatting/detail helpers, and attempt result utilities
plugin-sdk/provider-zai-endpointZ.AI endpoint detection helpers
plugin-sdk/async-lock-runtimeProcess-local async lock helper for small runtime state files
plugin-sdk/channel-activity-runtimeChannel activity telemetry helper
plugin-sdk/concurrency-runtimeBounded async task concurrency helper
plugin-sdk/dedupe-runtimeIn-memory dedupe cache helpers
plugin-sdk/delivery-queue-runtimeOutbound pending-delivery drain helper
plugin-sdk/file-access-runtimeSafe local-file and media-source path helpers
plugin-sdk/heartbeat-runtimeHeartbeat event and visibility helpers
plugin-sdk/number-runtimeNumeric coercion helper
plugin-sdk/secure-random-runtimeSecure token/UUID helpers
plugin-sdk/system-event-runtimeSystem event queue helpers
plugin-sdk/transport-ready-runtimeTransport readiness wait helper
plugin-sdk/infra-runtimeDeprecated compatibility shim; use the focused runtime subpaths above
plugin-sdk/collection-runtimeSmall bounded cache helpers
plugin-sdk/diagnostic-runtimeDiagnostic flag, event, and trace-context helpers
plugin-sdk/error-runtimeError graph, formatting, shared error classification helpers, isApprovalNotFoundError
plugin-sdk/fetch-runtimeWrapped fetch, proxy, EnvHttpProxyAgent option, and pinned lookup helpers
plugin-sdk/runtime-fetchDispatcher-aware runtime fetch without proxy/guarded-fetch imports
plugin-sdk/response-limit-runtimeBounded response-body reader without the broad media runtime surface
plugin-sdk/session-binding-runtimeCurrent conversation binding state without configured binding routing or pairing stores
plugin-sdk/session-store-runtimeSession-store helpers without broad config writes/maintenance imports
plugin-sdk/context-visibility-runtimeContext visibility resolution and supplemental context filtering without broad config/security imports
plugin-sdk/string-coerce-runtimeNarrow primitive record/string coercion and normalization helpers without markdown/logging imports
plugin-sdk/host-runtimeHostname and SCP host normalization helpers
plugin-sdk/retry-runtimeRetry config and retry runner helpers
plugin-sdk/agent-runtimeAgent dir/identity/workspace helpers, including resolveAgentDir, resolveDefaultAgentDir, and deprecated resolveOpenClawAgentDir compatibility export
plugin-sdk/directory-runtimeConfig-backed directory query/dedup
plugin-sdk/keyed-async-queueKeyedAsyncQueue
SubpathKey exports
plugin-sdk/media-runtimeShared media fetch/transform/store helpers, ffprobe-backed video dimension probing, and media payload builders
plugin-sdk/media-mimeNarrow MIME normalization, file-extension mapping, MIME detection, and media-kind helpers
plugin-sdk/media-storeNarrow media store helpers such as saveMediaBuffer
plugin-sdk/media-generation-runtimeShared media-generation failover helpers, candidate selection, and missing-model messaging
plugin-sdk/media-understandingMedia understanding provider types plus provider-facing image/audio helper exports
plugin-sdk/text-runtimeShared text/markdown/logging helpers such as assistant-visible-text stripping, markdown render/chunking/table helpers, redaction helpers, directive-tag helpers, and safe-text utilities
plugin-sdk/text-chunkingOutbound text chunking helper
plugin-sdk/speechSpeech provider types plus provider-facing directive, registry, validation, OpenAI-compatible TTS builder, and speech helper exports
plugin-sdk/speech-coreShared speech provider types, registry, directive, normalization, and speech helper exports
plugin-sdk/realtime-transcriptionRealtime transcription provider types, registry helpers, and shared WebSocket session helper
plugin-sdk/realtime-voiceRealtime voice provider types and registry helpers
plugin-sdk/image-generationImage generation provider types plus image asset/data URL helpers and the OpenAI-compatible image provider builder
plugin-sdk/image-generation-coreShared image-generation types, failover, auth, and registry helpers
plugin-sdk/music-generationMusic generation provider/request/result types
plugin-sdk/music-generation-coreShared music-generation types, failover helpers, provider lookup, and model-ref parsing
plugin-sdk/video-generationVideo generation provider/request/result types
plugin-sdk/video-generation-coreShared video-generation types, failover helpers, provider lookup, and model-ref parsing
plugin-sdk/webhook-targetsWebhook target registry and route-install helpers
plugin-sdk/webhook-pathWebhook path normalization helpers
plugin-sdk/web-mediaShared remote/local media loading helpers
plugin-sdk/zodRe-exported zod for plugin SDK consumers
plugin-sdk/testingBroad compatibility barrel for legacy plugin tests. New extension tests should import focused SDK subpaths such as plugin-sdk/agent-runtime-test-contracts, plugin-sdk/plugin-test-runtime, plugin-sdk/channel-test-helpers, plugin-sdk/test-env, or plugin-sdk/test-fixtures instead
plugin-sdk/plugin-test-apiMinimal createTestPluginApi helper for direct plugin registration unit tests without importing repo test helper bridges
plugin-sdk/agent-runtime-test-contractsNative agent-runtime adapter contract fixtures for auth, delivery, fallback, tool-hook, prompt-overlay, schema, and transcript projection tests
plugin-sdk/channel-test-helpersChannel-oriented test helpers for generic actions/setup/status contracts, directory assertions, account startup lifecycle, send-config threading, runtime mocks, status issues, outbound delivery, and hook registration
plugin-sdk/channel-target-testingShared target-resolution error-case suite for channel tests
plugin-sdk/plugin-test-contractsPlugin package, registration, public artifact, direct import, runtime API, and import side-effect contract helpers
plugin-sdk/provider-test-contractsProvider runtime, auth, discovery, onboard, catalog, wizard, media capability, replay policy, realtime STT live-audio, web-search/fetch, and stream contract helpers
plugin-sdk/provider-http-test-mocksOpt-in Vitest HTTP/auth mocks for provider tests that exercise plugin-sdk/provider-http
plugin-sdk/test-fixturesGeneric CLI runtime capture, sandbox context, skill writer, agent-message, system-event, module reload, bundled plugin path, terminal-text, chunking, auth-token, and typed-case fixtures
plugin-sdk/test-node-mocksFocused Node builtin mock helpers for use inside Vitest vi.mock("node:*") factories
SubpathKey exports
plugin-sdk/memory-coreBundled memory-core helper surface for manager/config/file/CLI helpers
plugin-sdk/memory-core-engine-runtimeMemory index/search runtime facade
plugin-sdk/memory-core-host-engine-foundationMemory host foundation engine exports
plugin-sdk/memory-core-host-engine-embeddingsMemory host embedding contracts, registry access, local provider, and generic batch/remote helpers
plugin-sdk/memory-core-host-engine-qmdMemory host QMD engine exports
plugin-sdk/memory-core-host-engine-storageMemory host storage engine exports
plugin-sdk/memory-core-host-multimodalMemory host multimodal helpers
plugin-sdk/memory-core-host-queryMemory host query helpers
plugin-sdk/memory-core-host-secretMemory host secret helpers
plugin-sdk/memory-core-host-eventsMemory host event journal helpers
plugin-sdk/memory-core-host-statusMemory host status helpers
plugin-sdk/memory-core-host-runtime-cliMemory host CLI runtime helpers
plugin-sdk/memory-core-host-runtime-coreMemory host core runtime helpers
plugin-sdk/memory-core-host-runtime-filesMemory host file/runtime helpers
plugin-sdk/memory-host-coreVendor-neutral alias for memory host core runtime helpers
plugin-sdk/memory-host-eventsVendor-neutral alias for memory host event journal helpers
plugin-sdk/memory-host-filesVendor-neutral alias for memory host file/runtime helpers
plugin-sdk/memory-host-markdownShared managed-markdown helpers for memory-adjacent plugins
plugin-sdk/memory-host-searchActive memory runtime facade for search-manager access
plugin-sdk/memory-host-statusVendor-neutral alias for memory host status helpers
There are currently no reserved bundled-helper SDK subpaths. Owner-specific helpers live inside the owning plugin package, while reusable host contracts use generic SDK subpaths such as plugin-sdk/gateway-runtime, plugin-sdk/security-runtime, and plugin-sdk/plugin-config-runtime.