commit 91f90254102eb161f5c3dd39c30e4fbf5a9265db
parent 2e9e378b14bf9b6e5fc6d2ad935585d930f1d21a
Author: Henry Unite <unitehenry@gmail.com>
Date: Sun, 25 Oct 2026 00:35:22 +0000
refactor: extract PLUGIN_ID constant
- Extract "openpod" into const PLUGIN_ID
- Use it in Plugin.define({ id: PLUGIN_ID })
- Consistent with COMMAND_NAME / COMMAND_DESCRIPTION in command/index.ts
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/index.ts b/index.ts
@@ -6,8 +6,10 @@ import { registerShell } from "./shell";
import { registerController } from "./controller";
import { init } from "./context";
+const PLUGIN_ID = "openpod";
+
export default Plugin.define({
- id: "openpod",
+ id: PLUGIN_ID,
async setup(ctx) {
const openpod = await init();