refactor: update plugin handlers and shared utils

Minor updates to config handler, plugin detector, index entry, and builtin command templates.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
justsisyphus
2026-01-22 22:48:36 +09:00
parent dda502a697
commit ff92a4caa2
5 changed files with 36 additions and 10 deletions
+1 -1
View File
@@ -288,7 +288,7 @@ const OhMyOpenCodePlugin: Plugin = async (ctx) => {
: null;
const configHandler = createConfigHandler({
ctx,
ctx: { directory: ctx.directory, client: ctx.client },
pluginConfig,
modelCacheState,
});