mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-21 10:01:37 -06:00
13 lines
532 B
TypeScript
13 lines
532 B
TypeScript
// Builds Codex app-server extension factories from active plugin registries.
|
|
import { getActivePluginRegistry } from "./runtime.js";
|
|
|
|
/** Runtime id used by Codex app-server extension factories. */
|
|
export const CODEX_APP_SERVER_EXTENSION_RUNTIME_ID = "codex-app-server";
|
|
|
|
/** Lists active Codex app-server extension factories from the plugin registry. */
|
|
export function listCodexAppServerExtensionFactories() {
|
|
return (
|
|
getActivePluginRegistry()?.codexAppServerExtensionFactories?.map((entry) => entry.factory) ?? []
|
|
);
|
|
}
|