Ziheng Zhang
7f1aa3b0f6
fix(cli): handle spaces in @file mentions ( #234 )
...
* fix(cli): handle spaces in @file mentions
The @file parser truncated at the first space, so dragging or pasting a
filename like `@PREPING_ Building Agent.pdf` only matched `@PREPING_`
and warned "file not found". Now supports `@"..."` / `@'...'` quoted
form for explicit paths, plus a greedy expansion fallback that walks
across whitespace until an existing file resolves (bounded by newlines,
the next `@`, and a 20-token cap). Autocomplete also returns quoted
mentions for any candidate containing a space.
* style: apply ruff format to file_mentions
2026-05-18 12:05:21 +01:00
..
2026-01-29 17:39:50 +00:00
2026-05-08 22:52:24 +01:00
2026-03-19 17:04:02 +01:00
2026-04-22 18:22:33 +02:00
2026-04-22 18:22:33 +02:00
2026-05-08 22:52:24 +01:00
2026-05-07 22:16:36 +01:00
2026-05-08 22:52:24 +01:00
2026-05-07 16:03:02 +01:00
2026-05-07 16:03:02 +01:00
2026-03-19 18:38:57 +00:00
2026-04-25 16:12:49 +01:00
2026-03-19 17:04:05 +01:00
2026-04-25 16:12:49 +01:00
2026-04-30 18:06:22 +01:00
2026-05-07 12:11:06 +01:00
2026-04-09 12:47:48 +02:00
2026-04-30 18:06:22 +01:00
2026-04-24 16:10:25 +01:00
2026-04-21 21:26:40 +01:00
2026-03-19 17:04:02 +01:00
2026-04-30 18:06:22 +01:00
2026-03-19 17:04:02 +01:00
2026-04-12 17:47:37 +01:00
2026-04-09 12:47:48 +02:00
2026-05-08 22:52:24 +01:00
2026-05-08 22:52:24 +01:00
2026-03-25 15:41:06 +00:00
2026-04-27 18:28:57 +01:00
2026-04-24 10:38:44 +01:00
2026-04-24 10:38:44 +01:00
2026-03-19 17:04:02 +01:00
2026-03-19 17:04:05 +01:00
2026-03-18 16:59:50 +01:00
2026-04-15 14:05:47 +01:00
2026-04-24 10:38:44 +01:00
2026-04-24 10:38:44 +01:00
2026-03-22 14:45:28 +00:00
2026-05-18 12:05:21 +01:00
2026-04-12 17:47:37 +01:00
2026-04-24 10:38:44 +01:00
2026-05-05 12:45:50 +01:00
2026-05-13 10:23:32 +01:00
2026-05-05 12:45:50 +01:00
2026-04-22 18:22:33 +02:00
2026-04-24 10:38:44 +01:00
2026-03-19 17:04:02 +01:00
2026-04-15 14:30:26 +02:00
2026-04-25 00:37:48 +01:00
2026-05-07 15:35:26 +02:00
2026-05-08 22:52:24 +01:00
2026-04-24 10:38:44 +01:00
2026-04-25 00:37:48 +01:00
2026-05-05 12:45:50 +01:00
2026-04-18 15:01:22 +01:00
2026-04-24 10:38:44 +01:00
2026-04-26 11:08:08 +01:00
2026-05-11 10:44:20 +01:00
2026-04-24 10:38:44 +01:00
2026-04-21 21:26:40 +01:00
2026-04-24 10:38:44 +01:00
2026-03-15 21:12:51 +00:00
2026-04-30 18:06:22 +01:00
2026-04-29 02:06:25 +01:00
2026-05-01 13:23:59 +02:00
2026-03-19 17:04:02 +01:00
2026-04-12 17:47:37 +01:00
2026-04-25 16:12:49 +01:00
2026-05-02 00:59:30 +01:00
2026-04-19 23:15:20 +01:00
2026-04-12 17:47:37 +01:00
2026-05-13 14:15:39 +01:00
2026-02-03 22:24:32 +00:00
2026-04-16 15:33:45 +01:00
2026-03-20 10:59:30 +01:00
2026-04-15 14:05:47 +01:00
2026-04-12 17:47:37 +01:00
2026-03-19 17:04:02 +01:00
2026-03-24 18:13:42 +00:00
2026-04-24 10:38:44 +01:00
2026-03-19 17:04:02 +01:00
2026-04-24 11:36:33 +01:00
2026-03-11 00:03:18 +00:00
2026-04-30 18:06:22 +01:00
2026-04-25 16:12:49 +01:00
2026-03-19 17:04:02 +01:00
2026-03-20 19:57:35 +00:00
2026-03-19 17:04:05 +01:00