From 2ad7e193fdf52ec8b1e03bfe6e536dcad3a9e79a Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Fri, 5 Dec 2025 09:57:50 +0900 Subject: [PATCH] fix(comment-checker): support args.path for OpenCode Write/Edit tools --- src/hooks/comment-checker/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/comment-checker/index.ts b/src/hooks/comment-checker/index.ts index c40c444..5182a9c 100644 --- a/src/hooks/comment-checker/index.ts +++ b/src/hooks/comment-checker/index.ts @@ -28,7 +28,7 @@ export function createCommentCheckerHooks() { return } - const filePath = (output.args.filePath ?? output.args.file_path) as string | undefined + const filePath = (output.args.filePath ?? output.args.file_path ?? output.args.path) as string | undefined const content = output.args.content as string | undefined if (!filePath) {