Files
oh-my-opencode/src/index.ts
T
YeonGyu-Kim c067b0fc06 refactor(plugin-entry): move createPluginModule to testing module
createPluginModule and PluginModuleDeps were exposed at package entry as
a test seam. Their export creates accidental public TS API obligations
for internal manager/tool/hook constructor types. Move to
src/testing/create-plugin-module.ts so only tests reach them.

Closes HIGH-8

Co-authored-by: api-surface (deep / gpt-5.3-codex high)
2026-05-16 00:49:03 +09:00

19 lines
427 B
TypeScript

import type { PluginModule } from "@opencode-ai/plugin"
import { createPluginModule } from "./testing/create-plugin-module"
const pluginModule: PluginModule = createPluginModule()
export default pluginModule
export type {
AgentName,
AgentOverrideConfig,
AgentOverrides,
BuiltinCommandName,
HookName,
McpName,
OhMyOpenCodeConfig,
} from "./config"
export type { ConfigLoadError } from "./shared/config-errors"