c067b0fc06
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)
19 lines
427 B
TypeScript
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"
|