diff options
| author | Dax Raad <[email protected]> | 2025-05-26 22:08:50 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-05-26 22:08:50 -0400 |
| commit | 2e938d9da1589e1e00b9739c5e6c8dc72dda872a (patch) | |
| tree | 40b58ba37c7566311a67cf1fb6daa103eef9545a /js/src/tool/diagnostics.ts | |
| parent | b840a4075956f00d0c46c82b19da24d984dddd07 (diff) | |
| download | opencode-2e938d9da1589e1e00b9739c5e6c8dc72dda872a.tar.gz opencode-2e938d9da1589e1e00b9739c5e6c8dc72dda872a.zip | |
Standardize API parameters to camelCase and improve LSP client reliability
- 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 <[email protected]>
Diffstat (limited to 'js/src/tool/diagnostics.ts')
| -rw-r--r-- | js/src/tool/diagnostics.ts | 4 |
1 files changed, 1 insertions, 3 deletions
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"; - |
