Commit graph

10 commits

Author SHA1 Message Date
zerone0x
b091f5184d
fix: preserve leading dot in ls tool path resolution (#10515)
The `resolveLsToolDirPath` function incorrectly stripped leading dots
from paths like `.continue/rules`, converting them to `continue/rules`
which doesn't exist. This broke the ls tool for any hidden directory.

Remove the faulty condition that matched paths starting with "." but
not "./" and stripped their first character. The path resolver handles
these paths correctly without preprocessing.

Fixes #10466

Co-authored-by: Claude <noreply@anthropic.com>
2026-03-10 00:08:14 -07:00
Volodymyr Bychkovyak
c078d772eb fix issue with lsTool listing fs root instead of current folder 2026-01-06 22:53:36 -06:00
Patrick Erichsen
ad2fd48124 Merge main branch and resolve conflicts
- Combined resolveInputPath approach with new ContinueError system
- Updated error handling to use ContinueError with appropriate error reasons
- Maintained improved error messages from pe/read-file-errs branch
2025-10-16 16:00:29 -07:00
Patrick Erichsen
4903f3ab94 add tool call policy evaluation 2025-10-16 15:56:31 -07:00
Patrick Erichsen
77a8db7f63 use specific ConitnueError for tool calls 2025-10-14 14:55:00 -07:00
Dallin Romney
1c5df69a3f
fix: grep escaped chars and empty results (#7323)
* fix: grep search escape and better truncation warnings

* fix: grep search tweaks

* fix: grep no results

* Fix: url test
2025-08-25 07:20:26 -07:00
chezsmithy
f9c734f251 fix: 🐛 Fix lsTool Exclusions 2025-08-20 23:17:50 -07:00
Dallin Romney
28b02c1636 move to warning context item paradigm and update tests for ls tool 2025-07-03 15:03:28 -07:00
Dallin Romney
2b1997e02f limit ls tool output and add tests 2025-07-03 15:03:21 -07:00
Dallin Romney
f58469ffc9 lstool 2025-04-02 13:48:50 -07:00