feat(shared): add plugin identity constants for package name migration

Add centralized plugin identity constants to support migration from
oh-my-opencode to oh-my-openagent. Includes both current and legacy
names for backward compatibility.

🤖 Generated with assistance of OhMyOpenCode
This commit is contained in:
YeonGyu-Kim
2026-03-14 12:43:40 +09:00
parent a00bb8b6a7
commit b0ab34b568
3 changed files with 97 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
export const PLUGIN_NAME = "oh-my-openagent"
export const LEGACY_PLUGIN_NAME = "oh-my-opencode"
export const CONFIG_BASENAME = "oh-my-openagent"
export const LEGACY_CONFIG_BASENAME = "oh-my-opencode"
export const LOG_FILENAME = "oh-my-openagent.log"
export const CACHE_DIR_NAME = "oh-my-openagent"
export const LEGACY_CACHE_DIR_NAME = "oh-my-opencode"