Kit Langton
617c9841ef
test: add reproducer for Npm.which-forever hang in Pyright spawn
...
Adds a second reproducer covering the 'forever' branch of issue #22872 :
when Pyright.spawn calls Npm.which('pyright') and the npm registry is
unreachable (sandboxed container), arborist.reify blocks indefinitely
with no timeout.
Changes:
- Adds optional Info.spawnEffect alongside the existing async Info.spawn.
spawnEffect returns an Effect that can yield from Npm.Service, making
npm lookups injectable for tests.
- Migrates Pyright to use spawnEffect, pulling the venv probing logic
into a reusable pyrightVenvInitialization helper. The legacy async
spawn stays for backwards compatibility.
- Threads Npm.Service through LSP.layer so getClients captures a stable
reference and uses it for any server that provides spawnEffect.
- Adds test/tool/write-lsp-spawn-hang.test.ts — mocks Npm.Service.which
with Effect.never and asserts the write tool still returns in < 10s.
Fails today (hangs forever); the fix must bound the touchFile tail
so the tool cannot wait on a wedged LSP spawn.
The two reproducers now cover both hang branches:
- write-lsp-hang.test.ts: 45s LSPClient.create initialize timeout
- write-lsp-spawn-hang.test.ts: unbounded Npm.which arborist.reify
2026-04-16 17:03:19 -04:00
opencode-agent[bot]
225a769411
chore: generate
2026-04-16 03:42:25 +00:00
Kit Langton
509bc11f81
feat: unwrap lsp namespaces to flat exports + barrel ( #22748 )
2026-04-15 23:30:52 -04:00
Kit Langton
343a564183
feat: unwrap 11 util namespaces to flat exports + barrel ( #22739 )
2026-04-15 23:15:58 -04:00
Kit Langton
665a843086
feat: unwrap Archive namespace to flat exports + barrel ( #22722 )
2026-04-16 02:52:34 +00:00
Kit Langton
f7d4665e40
fix: resolve oxlint warnings — suppress false positives, remove unused imports ( #22687 )
2026-04-15 21:33:54 -04:00
Dax
be9432a893
shared package ( #22626 )
2026-04-15 14:26:20 +00:00
Aiden Cline
ce19c051be
fix: ts lsp ( #21827 )
2026-04-10 00:15:45 -05:00
Cho HyeonJong
9c1c061b84
fix(lsp): remove CMakeLists.txt and Makefile from clangd root markers ( #21466 )
2026-04-08 23:10:06 -05:00
Derek Barrera
01f0319192
fix(lsp): MEMORY LEAK: ensure typescript server uses native project config ( #19953 )
2026-04-06 09:50:36 -04:00
Dax
c9326fc199
refactor: replace BunProc with Npm module using @npmcli/arborist ( #18308 )
...
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: Brendan Allan <git@brendonovich.dev >
Co-authored-by: Aiden Cline <aidenpcline@gmail.com >
2026-04-01 21:01:37 +00:00
Luke Parker
54ed87d53c
fix(windows): use cross-spawn for shim-backed commands ( #18010 )
2026-03-19 08:49:16 +10:00
opencode-agent[bot]
7ec398d855
chore: generate
2026-03-11 03:34:02 +00:00
Luke Parker
4ab35d2c5c
fix(electron): hide Windows background consoles ( #16842 )
...
Co-authored-by: Brendan Allan <git@brendonovich.dev >
2026-03-11 13:33:06 +10:00
Dax
2f2856e20a
refactor(opencode): replace Bun shell in core flows ( #16286 )
2026-03-09 15:19:50 -04:00
Stephen Collings
8b9710e56c
fix: Multiple jdtls LSPs eating memory in java monorepos ( #12123 )
2026-03-09 16:09:43 +00:00
Dax
74effa8eec
refactor(opencode): replace Bun.which with npm which ( #15012 )
2026-03-06 05:18:29 +00:00
Dax
814c1d398c
refactor: migrate Bun.spawn to Process utility with timeout and cleanup ( #14448 )
2026-02-24 23:04:15 -05:00
Dax
02a9495063
Remove use of Bun.file ( #14215 )
2026-02-19 11:32:32 -05:00
Dax Raad
568eccb4c6
Revert: all refactor commits migrating from Bun.file() to Filesystem module
2026-02-18 19:41:14 -05:00
Eduardo Bellido Bellido
87c16374aa
fix(lsp): use HashiCorp releases API for installing terraform-ls ( #14200 )
2026-02-18 16:11:57 -06:00
Dax
d366a1430f
refactor: migrate src/lsp/server.ts from Bun.file()/Bun.write() to Filesystem module ( #14138 )
2026-02-18 21:41:07 +00:00
Alexander Abramov
38572b8175
feat: add Julia language server support ( #14129 )
...
Co-authored-by: Alexander Abramov <abramov231@gmail.com >
2026-02-18 11:02:29 -06:00
Alex
60e616ec81
feat: Add .slnx to C#/F# LSP root detection ( #11928 )
2026-02-03 11:46:04 -06:00
Patrick Schiel
10433cb45b
fix(windows): fix jdtls download on Windows ( #9195 )
2026-01-18 00:30:45 -06:00
madflow
a593ed4c9b
fix: disable telemetry in the php lsp server ( #7649 )
2026-01-10 08:44:12 -06:00
GitHub Action
a35c278424
chore: generate
2026-01-06 17:29:44 +00:00
Guofang.Tang
8265621d48
fix: prevent jdtls path checks from throwing ( #7052 )
2026-01-06 11:29:06 -06:00
GitHub Action
527553ada2
chore: generate
2026-01-03 07:16:11 +00:00
Gabriel Patzleiner
da6df3d432
fix(kotlin-ls): improve root detection for Gradle multi-project builds ( #6717 )
2026-01-03 01:14:01 -06:00
GitHub Action
681a257df6
chore: generate
2026-01-02 22:46:22 +00:00
Troy Gaines
586207adb4
feat: Add kotlin lsp integration ( #6601 )
2026-01-02 16:45:44 -06:00
ravshansbox
94453eb1bd
Add prisma language server ( #6462 )
2025-12-30 13:13:36 -06:00
Frainer Encarnación
337681dbbf
fix(lsp): ESLint LSP server fails to auto-install on Windows ( #6366 )
2025-12-29 11:02:46 -06:00
Donghyun Shin
f59d274d0f
fix(lsp): make JDTLS use the correct config directory on Windows ( #6121 )
2025-12-25 21:17:54 -06:00
Marco
d9f0f58277
feat: haskell lsp support ( #6141 )
2025-12-25 21:04:43 -06:00
ja
cd8ecf9722
feat(lsp): add Tinymist LSP support for Typst ( #5933 )
2025-12-22 14:31:47 -06:00
Tim Kleinschmidt
750a936ae1
support clojure projects with built-in lsp ( #5975 )
2025-12-22 14:20:15 -06:00
Luo Chen
ac4b8d62e3
feat: add nixd as lsp for nix language ( #5929 )
2025-12-22 00:30:08 -06:00
Dax Raad
c333ffa38b
core: fix LSP server binary installation and shell command execution
...
- Ensure proper file permissions are set for installed LSP binaries on non-Windows platforms
- Add error handling for shell command execution in prompt system to prevent crashes
2025-12-21 18:33:37 -05:00
Eric Shirley
14146428dd
lsp: add oxlint server ( #5570 )
2025-12-19 00:17:20 -06:00
GitHub Action
67cfd7f06b
chore: format code
2025-12-18 19:38:25 +00:00
OpeOginni
ab9ac7c87a
feat: add experimental support for Ty language server ( #5575 )
2025-12-18 13:37:48 -06:00
Aiden Cline
89a4f1c1ae
tweak: add .catch for extractZip calls
2025-12-15 17:41:28 -06:00
Luke Parker
0d1c6e0ca9
fix(win32): Missing LSP can now unzip on windows ( #5594 )
2025-12-15 17:29:30 -06:00
Luke Parker
efac8cebb3
fix(win32): correct ElixirLS extension typo ( #5590 )
2025-12-15 16:47:27 -06:00
Luke Parker
48b2bde6e5
fix(win32): use path.delimiter for PATH separator in LSP server lookups ( #5589 )
2025-12-15 16:39:42 -06:00
Nalin Singh
6830590183
feat: add F# language server support ( #5549 )
2025-12-15 10:52:16 -06:00
Lawrence Sarpong
e6a0a005d6
Add Gleam LSP and formatter ( #5514 )
2025-12-14 10:51:08 -06:00
GitHub Action
199bd8a9a2
chore: format code
2025-12-13 17:30:48 +00:00