From 5000d1e37d974d9a5f013ebac0937b667dd704d4 Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Fri, 10 Apr 2026 11:15:42 +0900 Subject: [PATCH] feat(plugin-identity): add config basename constants for migration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add CONFIG_BASENAME and LEGACY_CONFIG_BASENAME constants to support migrating from oh-my-opencode.json to oh-my-openagent.json naming. 🤖 Generated with assistance of OhMyOpenCode --- src/shared/plugin-identity.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/shared/plugin-identity.ts b/src/shared/plugin-identity.ts index 4150283b2..6f7d87fae 100644 --- a/src/shared/plugin-identity.ts +++ b/src/shared/plugin-identity.ts @@ -1,5 +1,7 @@ export const PLUGIN_NAME = "oh-my-openagent" export const LEGACY_PLUGIN_NAME = "oh-my-opencode" +export const PUBLISHED_PACKAGE_NAME = LEGACY_PLUGIN_NAME +export const ACCEPTED_PACKAGE_NAMES = [PUBLISHED_PACKAGE_NAME, PLUGIN_NAME] as const export const CONFIG_BASENAME = "oh-my-openagent" export const LEGACY_CONFIG_BASENAME = "oh-my-opencode" export const LOG_FILENAME = "oh-my-opencode.log"