12 Commits
Author SHA1 Message Date
Ayman Bagabas f3fe760043 Merge branch 'main' into server-client-2 2026-04-01 13:53:57 -04:00
Christian Rocha ffc7a9d261 fix(log): don't conflate body drain errors with HTTP errors 2026-03-24 16:21:52 -04:00
Ayman Bagabas bc383d9835 fix(server): log to stderr if it's a terminal 2026-03-22 10:53:21 +03:00
Carlos Alexandro BeckerandGitHub 23417aaec6 fix: only debug if enabled (#1279) 2025-10-21 18:39:13 -03:00
Andrey NeringandChristian Rocha ef6a32453a chore: add metrics and error tracking 2025-09-24 09:52:58 -04:00
b00ffcc671 feat: LSP implementation using x/powernap (#1011)
* feat: LSP implementation using x/powernap

Replace custom LSP client implementation with the `charmbracelet/x/powernap` library, significantly reducing codebase complexity by removing ~12,000 lines of custom LSP protocol handling code. This migration introduces:

- **Simplified client architecture**: Replace custom LSP transport, protocol, and method handling with powernap's battle-tested implementation
- **Enhanced workspace support**: Add workspace markers and inactive LSP server detection capabilities from powernap
- **Improved configuration**: Integrate powernap's default LSP server configurations and settings
- **Reduced maintenance burden**: Remove custom protocol definitions, JSON marshaling, and transport layer code
- **More features**: e.g. workspace root markers, starting LSP servers only where these files exist

The refactor maintains existing functionality while leveraging powernap's robust LSP client foundation, making the codebase more maintainable and feature-rich.

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

chore: updates

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: code review

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* revert: unwanted change

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: improve code

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: schema

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: improve merge

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: unneeded changes

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: cleanup

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: several fixes

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: cleanup

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: more cleanup

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: use csync

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: did close

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: remove unused code

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: cleanup

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: cleanup

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: clean

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: cleanup

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* test: fix

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* refactor: improve func

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: http client debug

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Co-authored-by: Andrey Nering <andreynering@users.noreply.github.com>
2025-09-17 14:07:34 -03:00
Kujtim Hoxha 0b477ea494 fix: http log 2025-08-02 17:03:04 +02:00
Carlos Alexandro BeckerandGitHub 0e52ccd26a feat: debug logs request response details (#407)
* feat: debug logs request response details

closes #399

* fix: lint

* refactor: improvements

* fix: improvements

* fix: test

* fix: centralize body parsing

* fix: compatct
2025-08-01 15:26:05 -03:00
Ayman Bagabas c2d0d64c7d refactor(log): rename log initialization function for clarity 2025-07-08 15:57:06 -04:00
Ayman Bagabas f884ff1f84 feat(log): add atomic check for initialization 2025-07-08 15:49:54 -04:00
Kujtim Hoxha dafbdb74cd chore: remove logs 2025-07-05 16:46:47 +02:00
Kujtim Hoxha 7f078a6e20 wip: integrate to existing app 2025-07-05 16:46:47 +02:00