Commit log

a7341d3 Merge branch 'main' into charm-1074-review-amazon-nova

Andrey Nering created

3a9d95d fix(ui): use plain letters for lsp status (#2121)

Click to expand commit body
* fix(ui): use plain letters for lsp status

symbols might be wrongly interpreted by some terminals, so this might be a good idea

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

* chore(ui): use consts for LSP symbols

* fix: missing icon usage

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: Christian Rocha <christian@rocha.is>

Carlos Alexandro Becker and Christian Rocha created

2caa6a4 feat: add bedrock thinking/reasoning support

Click to expand commit body
- Add thinking toggle visibility for Bedrock models in commands dialog.
- Update coordinator to use `reasoning_effort` (medium) for Bedrock thinking
- Enables `/think` command for Bedrock models that support reasoning

Micah Walter created

d6590aa v0.39.3

Andrey Nering created

f22a6f9 fix(ui): list: ensure the offset line does not go negative when scrolling up

Click to expand commit body
When scrolling up in the list, the offset line could become negative if
there was a gap between items. This change ensures that the offset line
is clamped to zero in such cases, preventing potential rendering issues.

This also adds a check to avoid unnecessary scrolling when already at
the bottom of the list. The calculation of item height has been
simplified by using strings.Count directly.

Ayman Bagabas created

9316a7a v0.39.2

Andrey Nering created

f0c9985 revert: the width changes in #2127 (#2135)

Click to expand commit body
This reverts commit fd437468b74e250f4d197b29c7857ce1ebbb406e.

Kujtim Hoxha created

d29d0e2 fix: realtime session file changes (#2134)

Kujtim Hoxha created

8adfe70 fix: hyper provider cancel (#2133)

Kujtim Hoxha created

9013bb0 refactor: remove old tui (#2008)

Kujtim Hoxha created

fd43746 fix(ui): consistent box sizing (#2127)

Click to expand commit body
* fix(ui): width

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

* fix: simplify

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

---------

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

Carlos Alexandro Becker created

dd78d5d chore(legal): @nickgrim has signed the CLA

Charm created

afed74c fix(ui): api key dialog typo (#2131)

Nick Grimshaw created

2d0a0e2 fix(ui): fix bug preventing pasting text on windows (#2126)

Click to expand commit body
Fixes #2118

Andrey Nering created

b28f4ce fix(ui): completions popup gets too narrow on single item (#2125)

Click to expand commit body
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

Carlos Alexandro Becker created

d558340 chore(legal): @inquam has signed the CLA

Charm created

874c1ca chore: update ui/agents.md (#2122)

Click to expand commit body
* chore: update ui/agents.md

it should always do io inside a tea.cmd

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

* Apply suggestion from @caarlos0

---------

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

Carlos Alexandro Becker created

142c854 fix: change hyper url (#2120)

Click to expand commit body
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

Carlos Alexandro Becker created

e008795 v0.39.1

Carlos Alexandro Becker created

247d89e ci: use OIDC for npm login (#2094)

Click to expand commit body
needs https://github.com/charmbracelet/meta/pull/274

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

Carlos Alexandro Becker created

15a729c fix(ui): only scroll to selected item if item collapsed

Ayman Bagabas created

3bda767 fix(ui): ensure we anchor the chat view to the bottom when toggling (#2117)

Click to expand commit body
an item at the bottom of the chat

When toggling an item in the chat, if that item is at the bottom of the
chat, we want to ensure that we stay anchored to the bottom. This
prevents a gap from appearing at the bottom of the chat when toggling an
item that is currently selected and at the bottom.

Ayman Bagabas created

f53402d fix(ui): context percentage updates (#2115)

Click to expand commit body
* fix(ui): context percentage updates

When the agent is performing tasks, the context percentage in the header
was not updating correctly. This commit fixes the issue by ensuring that
the header always draws the context details.

* fix(ui): always turn off compact mode when going to landing state

Ayman Bagabas created

112fea8 fix(ui): cursor mispositioned when pasting large blocks of text in textarea (#2113)

Ayman Bagabas created

6ff14c1 chore(legal): @zhiquanchi has signed the CLA

Charm created

fd35a87 fix(ui): padding in the view (#2107)

Click to expand commit body
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

Carlos Alexandro Becker created

8d6384e v0.39.0

Andrey Nering created

3c8be69 fix: fix pasting files on some terminal emulators (#2106)

Click to expand commit body
* Check `WT_SESSION` instead of `GOOS` for Windows Terminal.
* Be more strict on Windows Terminal: do not allow chars outside quotes
  (prevents false positives).
* Some terminals just paste the literal paths (Rio as separate events,
  Kitty separated by a line break). If it contains valid path(s) for
  existing file(s), just use that.
* Workaround Rio on Windows that adds NULL chars to the string.

Andrey Nering created

02ec682 chore: auto-update files

Charm created

d0ed2c5 feat(ui): transparent mode (#2087)

Click to expand commit body
optional transparent mode.

this is enabled by default on apple terminal as it doesn't reset
properly.

refs #1140
refs #1137

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

Carlos Alexandro Becker created

bf1c65e feat: release new ui refactor (#2105)

Andrey Nering created

7c5d6ca chore(styles): make rename style definitions match UI language

Christian Rocha created

d4b9b35 chore(style): add specific style for session rename placeholder

Christian Rocha created

0979bd3 fix(styles): increase text contrast in active session deletion item

Christian Rocha created

ea8c39f feat: add configurable timeout for LSP initialization (#2075)

Click to expand commit body
* feat: add configurable timeout for LSP initialization

Add a timeout field to LSPConfig to allow users to customize
the initialization timeout for LSP servers. This is particularly
useful for slow-starting servers like kotlin-language-server that
may require more than the default 30 seconds to initialize.

Fixes #1865

* refactor: simplify timeout logic with cmp.Or

Simplified the timeout handling by using Go's cmp.Or() function instead
of manual conditional checks, reducing code from 5 lines to 1 line while
maintaining the same functionality.

huaiyuWangh created

e6a4896 fix(ui): ensure `%d Queued` text is visible (#2096)

Andrey Nering created

0cbaacd fix(ui): scroll to expanded item (#2088)

Click to expand commit body
Scroll the chat view to ensure that an expanded message item is fully
visible after toggling its expanded state. This improves user experience
by keeping the context of the expanded content in view.

Ayman Bagabas created

b7e814a chore(legal): @acmacalister has signed the CLA

Charm created

56769bb fix(ui): fix permissions dialog rendering on small windows (#2093)

Click to expand commit body
* Ensure the viewport content is at least 3 cells tall, to always be able
  to render at least 1 line of content + 1 top and 1 bottom margin.
* Render in fullscreen as soon as we don't have enough space to render
  buttons without wrapping.

Andrey Nering created

019a9a1 v0.38.1

Andrey Nering created

b7e07a5 fix: address potential panic on initialization (#2092)

Click to expand commit body
Easily reproducible for a new setup (onboarding).

Andrey Nering created

3cc4467 v0.38.0

Andrey Nering created

4a03cba fix(lsp): improve lsp tools (#2089)

Click to expand commit body
With auto discovery, the user configured lsps might be empty, but we
might still configure some LSPs. We need to check the proper places, as
well as refresh the tool list if LSPs are actually started.

This is an alternative implementation to #2079

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

Carlos Alexandro Becker created

00bbf45 feat: add support for vercel provider (#2090)

Kujtim Hoxha created

47f5f42 fix: ensure all tools work when behind a http proxy (#2065)

Click to expand commit body
Replace custom `http.Transport` with cloned `DefaultTransport` to inherit
proxy configuration from environment variables (`HTTP_PROXY`, `HTTPS_PROXY`,
`NO_PROXY`). Affects `fetch`, `web_fetch`, `web_search`, `sourcegraph`, `download`,
and `agentic_fetch` tools.

Fixes enterprise environment compatibility where proxy configuration
is required for external HTTP requests.

BitToby created

552fa17 fix: ensure the commands and models dialogs render with borders (#2068)

Andrey Nering created

7d9405f chore(deps): bump the all group with 2 updates (#2084)

Click to expand commit body
Bumps the all group with 2 updates: [github/codeql-action](https://github.com/github/codeql-action) and [anchore/scan-action](https://github.com/anchore/scan-action).


Updates `github/codeql-action` from 4.31.11 to 4.32.0
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/19b2f06db2b6f5108140aeb04014ef02b648f789...b20883b0cd1f46c72ae0ba6d1090936928f9fa30)

Updates `anchore/scan-action` from 7.3.0 to 7.3.1
- [Release notes](https://github.com/anchore/scan-action/releases)
- [Changelog](https://github.com/anchore/scan-action/blob/main/RELEASE.md)
- [Commits](https://github.com/anchore/scan-action/compare/0d444ed77d83ee2ba7f5ced0d90d640a1281d762...8d2fce09422cd6037e577f4130e9b925e9a37175)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.32.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: anchore/scan-action
  dependency-version: 7.3.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

dependabot[bot] and dependabot[bot] created

ad1db46 chore(deps): bump the all group with 2 updates (#2085)

Click to expand commit body
Bumps the all group with 2 updates: [github.com/clipperhouse/displaywidth](https://github.com/clipperhouse/displaywidth) and [github.com/clipperhouse/uax29/v2](https://github.com/clipperhouse/uax29).


Updates `github.com/clipperhouse/displaywidth` from 0.7.0 to 0.9.0
- [Release notes](https://github.com/clipperhouse/displaywidth/releases)
- [Changelog](https://github.com/clipperhouse/displaywidth/blob/main/CHANGELOG.md)
- [Commits](https://github.com/clipperhouse/displaywidth/compare/v0.7.0...v0.9.0)

Updates `github.com/clipperhouse/uax29/v2` from 2.3.1 to 2.5.0
- [Release notes](https://github.com/clipperhouse/uax29/releases)
- [Commits](https://github.com/clipperhouse/uax29/compare/v2.3.1...v2.5.0)

---
updated-dependencies:
- dependency-name: github.com/clipperhouse/displaywidth
  dependency-version: 0.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: github.com/clipperhouse/uax29/v2
  dependency-version: 2.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

dependabot[bot] and dependabot[bot] created

46068b8 fix(lsp): improve auto discovery (#2086)

Click to expand commit body
- ignore .git for autodiscovery
- ignore LSPs with only .git as root marker

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

Carlos Alexandro Becker created

66556b5 chore: handle hyper config correctly (#2027)

Kujtim Hoxha created