mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-09 02:03:56 +00:00
* feat(codex): add tool hook parity * fix(codex): stabilize tool hook parity * fix(codex): tighten transcript hook typing * fix(codex): preserve mirrored transcript idempotency * fix(codex): normalize tool hook context
40 lines
1014 B
TypeScript
40 lines
1014 B
TypeScript
import type { PluginRegistry } from "./registry-types.js";
|
|
|
|
export function createEmptyPluginRegistry(): PluginRegistry {
|
|
return {
|
|
plugins: [],
|
|
tools: [],
|
|
hooks: [],
|
|
typedHooks: [],
|
|
channels: [],
|
|
channelSetups: [],
|
|
providers: [],
|
|
cliBackends: [],
|
|
textTransforms: [],
|
|
speechProviders: [],
|
|
realtimeTranscriptionProviders: [],
|
|
realtimeVoiceProviders: [],
|
|
mediaUnderstandingProviders: [],
|
|
imageGenerationProviders: [],
|
|
videoGenerationProviders: [],
|
|
musicGenerationProviders: [],
|
|
webFetchProviders: [],
|
|
webSearchProviders: [],
|
|
embeddedExtensionFactories: [],
|
|
codexAppServerExtensionFactories: [],
|
|
memoryEmbeddingProviders: [],
|
|
agentHarnesses: [],
|
|
gatewayHandlers: {},
|
|
gatewayMethodScopes: {},
|
|
httpRoutes: [],
|
|
cliRegistrars: [],
|
|
reloads: [],
|
|
nodeHostCommands: [],
|
|
securityAuditCollectors: [],
|
|
services: [],
|
|
commands: [],
|
|
conversationBindingResolvedHandlers: [],
|
|
diagnostics: [],
|
|
};
|
|
}
|