mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-12 09:41:11 +00:00
16 lines
681 B
TypeScript
16 lines
681 B
TypeScript
import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
|
|
import { createCodexAppServerAgentHarness } from "./harness.js";
|
|
import { buildCodexProvider } from "./provider.js";
|
|
import { createCodexCommand } from "./src/commands.js";
|
|
|
|
export default definePluginEntry({
|
|
id: "codex",
|
|
name: "Codex",
|
|
description: "Codex app-server harness and Codex-managed GPT model catalog.",
|
|
register(api) {
|
|
api.registerAgentHarness(createCodexAppServerAgentHarness({ pluginConfig: api.pluginConfig }));
|
|
api.registerProvider(buildCodexProvider({ pluginConfig: api.pluginConfig }));
|
|
api.registerCommand(createCodexCommand({ pluginConfig: api.pluginConfig }));
|
|
},
|
|
});
|