Commit log

4afdd29 fix: receiver

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

Carlos Alexandro Becker created

b96e71d Merge branch 'main' into config-merge

Carlos Alexandro Becker created

7f3d7c7 refactor: use csync.Map for regex caches (#2187)

Click to expand commit body
* refactor: use csync.Map for regex caches

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

* fix: lint

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

* ci: golangci-lint 2.9

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

0ed5806 ci: golangci-lint 2.9 (#2193)

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

Carlos Alexandro Becker created

d1032ba fix: respect disable_default_providers (#2177)

Click to expand commit body
* fix: respect disable_default_providers

closes #1949

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

* fix: use x/slice

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

* fix: fail if no providers

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

* test: fix

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

47ca98d fix(config): correct Task agent ID in SetupAgents (#2101)

M1xA created

22ed1e5 fix: clear regex cache on new session to prevent unbounded growth (#2161)

M1xA created

d6643a6 fix(lsp): files outside cwd (#2180)

Click to expand commit body
closes #1401

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

Carlos Alexandro Becker created

48157c6 fix(sqlite): increase busy timeout (#2181)

Click to expand commit body
Also refactor so we have the same pragmas on both drivers.

I couldn't reproduce OP's issue, but they're likely trying to use many
Crush instances at the same time, which may cause this.

The timeout was 5s only, so it was kind of easy to hit under load, I
presume. Upping it to 30s should improve that. AFAIK there's no much
else we can do.

See https://www.sqlite.org/rescode.html#busy

Closes #2129

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

Carlos Alexandro Becker created

09cea77 chore: auto-update files

Charm created

82b7aec chore: add `omitempty` back as `omitzero`

Andrey Nering created

7a83144 chore: update `AGENTS.md`, mention `x/ansi` package

Andrey Nering created

d329ad5 chore(taskfile): add `run:onboarding` to test onboarding flow

Andrey Nering created

5e23ecd chore: run `modernize`

Andrey Nering created

29800c4 chore(taskfile): add `modernize` task

Andrey Nering created

9e4f8e0 chore(taskfile): add `run:catwalk` task to run with local catwalk

Andrey Nering created

f962087 chore(taskfile): avoid compiling when not needed

Andrey Nering created

db0ce0b chore: update fantasy (#2186)

Andrey Nering created

1f42acf docs(readme): mention subscriptions (#2184)

Click to expand commit body
Co-authored-by: Christian Rocha <christian@rocha.is>

Andrey Nering and Christian Rocha created

fca69ad chore(legal): @portertech has signed the CLA

Charm created

d391ea8 fix(mcp): cancel context on MCP session close to prevent leak (#2157)

Click to expand commit body
* fix(mcp): cancel context on MCP session close to prevent leak

* refactor: rename unexported mcpSession to exported ClientSession

M1xA created

8c9eb47 docs: update LICENSE copyright

Christian Rocha created

4de4c06 v0.41.0

Andrey Nering created

1615de5 feat: add ability to re-authenticate / edit api key

Andrey Nering created

340ce20 fix(ui): fix help wrapping on dialogs

Andrey Nering created

7d00857 perf: track and start lsp on command (#2176)

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

Carlos Alexandro Becker created

ae9f3f2 v0.40.0

Andrey Nering created

63e0098 fix: improving shutdown (#2175)

Click to expand commit body
* test: use t.Context() and synctest

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

* fix: passing down context to all shutdown funcs

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

* perf(lsp): kill all clients on shutdown

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

* fix: exit posthog earlier

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

* test: fix dirs test

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

* test: fix projects test

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

* test: fix race

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

* Update internal/lsp/manager.go

Co-authored-by: Andrey Nering <andreynering@users.noreply.github.com>

* fix: cleanup

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

* test: race

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>

Carlos Alexandro Becker and Andrey Nering created

722093b fix(ui): prevent nil pointer in completions size update (#2162)

kslamph created

3b3a3d7 fix: prevent goroutine orphaning in mcp.Close() and shell.KillAll() (#2159)

M1xA created

16ac973 chore(deps): bump the all group with 3 updates (#2174)

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


Updates `github.com/clipperhouse/displaywidth` from 0.9.0 to 0.10.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.9.0...v0.10.0)

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

Updates `github.com/posthog/posthog-go` from 1.9.1 to 1.10.0
- [Release notes](https://github.com/posthog/posthog-go/releases)
- [Changelog](https://github.com/PostHog/posthog-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/posthog/posthog-go/compare/v1.9.1...v1.10.0)

---
updated-dependencies:
- dependency-name: github.com/clipperhouse/displaywidth
  dependency-version: 0.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: github.com/clipperhouse/uax29/v2
  dependency-version: 2.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: github.com/posthog/posthog-go
  dependency-version: 1.10.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

6b4249d chore(deps): bump the all group with 2 updates (#2173)

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.32.0 to 4.32.2
- [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/b20883b0cd1f46c72ae0ba6d1090936928f9fa30...45cbd0c69e560cd9e7cd7f8c32362050c9b7ded2)

Updates `anchore/scan-action` from 7.3.1 to 7.3.2
- [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/8d2fce09422cd6037e577f4130e9b925e9a37175...7037fa011853d5a11690026fb85feee79f4c946c)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.32.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: anchore/scan-action
  dependency-version: 7.3.2
  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

074917b refactor(lsp): use same handle file in client and manager (#2168)

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

Carlos Alexandro Becker created

04d05e1 chore: bump bubbletea and ultraviolet dependencies

Ayman Bagabas created

fb9eb92 fix(ui): clear image cache when FilePicker closes to prevent unbounded memory growth (#2158)

Click to expand commit body
* fix(ui): clear image cache when FilePicker closes to prevent unbounded memory growth

* fix(ui): only reset image cache on FilePicker close, not on new session

* fix(ui): reset image cache after Dialog close

* fix(ui): rename image.Reset to image.ResetCache for clarity

M1xA created

c3d4ece fix(ui): `highlighter` now modifies the cell directly. (#2171)

Avisek Ray created

6dbdd46 chore(legal): @mishudark has signed the CLA

Charm created

6a8b0d9 chore(legal): @biisal has signed the CLA

Charm created

e9b59c4 fix: thinking sidebar (#2151)

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

Carlos Alexandro Becker created

c0d2a3f ci: fix pure go build

Andrey Nering created

dc890f3 fix: build linux/386 (#2153)

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

Carlos Alexandro Becker created

e54c5ae docs(readme): add mention to minimax

Andrey Nering created

54a6978 fix: make it possible to add api key for minimax

Click to expand commit body
It has not good endpoint to validate the API key, so for now we're
skipping it.

Andrey Nering created

59887a3 refactor: cleanup the code a bit

Andrey Nering created

afb5be9 chore: update `charm.land/catwalk` with minimax support

Click to expand commit body
https://github.com/charmbracelet/catwalk/pull/98

Andrey Nering created

f285804 refactor: remove empty slice declarations (#2150)

Andrey Nering created

02f66a2 feat(lsp): start LSPs on demand, improve auto-start (#2103)

Click to expand commit body
* feat(lsp): start LSPs on demand, improve auto-start

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

* refactor: simplify

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

* chore: fmt

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

* feat: handle new session/load session

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

* refactor: manager holds client list reference

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

* fix: do io in cmd

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

* fix: better manager

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

* fix: nil

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

* fix: err

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

* fix: properly handle restart

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

* fix: add stopped state

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

* fix: root markers

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

* fix: load for read files as well

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

* chore(go.mod): move indirect dependency to the right block

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Co-authored-by: Andrey Nering <andreynering@users.noreply.github.com>

Carlos Alexandro Becker and Andrey Nering created

0491b67 perf: timer leak in setupSubscriber (#2147)

Click to expand commit body
* fix: fix timer leak in setupSubscriber causing resource exhaustion under high load

* fix: synctest

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

* test: improvements

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

* refactor: tests

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: AnyCPU <AnyCPU@users.noreply.github.com>

Carlos Alexandro Becker and AnyCPU created

fc9db05 feat: add clipboard image paste support (ctrl+v) (#2148)

Click to expand commit body
* feat: add clipboard image paste support (ctrl+v)

Port of #1151 to the new UI.

Assisted-by: Claude Opus 4.6 via Crush <crush@charm.land>

* fix: simplify

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

* fix: go mod tidy

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

775cf3a fix(mcp): race condition, logs (#2145)

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

Carlos Alexandro Becker created