From 2e938d9da1589e1e00b9739c5e6c8dc72dda872a Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Mon, 26 May 2025 22:08:50 -0400 Subject: Standardize API parameters to camelCase and improve LSP client reliability MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Convert tool parameters from snake_case to camelCase for consistency - Add file existence check in LSP client before opening files - Fix version increment timing in LSP textDocument operations - Optimize session token tracking using onStepFinish callback - Add debugging logs for diagnostics troubleshooting 🤖 Generated with opencode Co-Authored-By: opencode --- js/src/tool/diagnostics.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'js/src/tool/diagnostics.ts') diff --git a/js/src/tool/diagnostics.ts b/js/src/tool/diagnostics.ts index 3d5565621..efd4b880f 100644 --- a/js/src/tool/diagnostics.ts +++ b/js/src/tool/diagnostics.ts @@ -40,6 +40,7 @@ TIPS: : path.join(app.root, args.path); await LSP.file(normalized); const diagnostics = await LSP.diagnostics(); + console.log(diagnostics, "diagnostics"); const file = diagnostics[normalized]; return { metadata: { @@ -51,6 +52,3 @@ TIPS: }; }, }); - -const x: number = "asd"; - -- cgit v1.2.3