Skip to content

fix(cli): improve location formatting and message starting (#59)#133

Closed
S1M0N38 wants to merge 1 commit intofolke:mainfrom
S1M0N38:improve-cli-format
Closed

fix(cli): improve location formatting and message starting (#59)#133
S1M0N38 wants to merge 1 commit intofolke:mainfrom
S1M0N38:improve-cli-format

Conversation

@S1M0N38
Copy link
Copy Markdown
Contributor

@S1M0N38 S1M0N38 commented Oct 17, 2025

Description

This PR introduces two quality-of-life improvements for sending messages to the CLI. While these changes are partly a matter of preference, here are the key reasons behind them:

  • Most chat and AI-CLI interfaces display file references inline.
  • The AI CLI documentation demonstrates inline usage.
  • Adding a space before the @ ensures a clear separation between the message and the file reference, guaranteeing that the read action is properly triggered (e.g., [first part of the message ...] @path).
  • Including a space after the filename when sending a file or buffer ensures the filename is clearly separated from the rest of the message, preventing it from being mixed with the text content.

Related Issue(s)

#59

@folke folke closed this in e743ac7 Oct 24, 2025
folke pushed a commit that referenced this pull request Mar 20, 2026
🤖 I have created a release *beep* *boop*
---


##
[2.2.0](v2.1.0...v2.2.0)
(2026-03-20)


### Features

* **agents:** add pi agent
([#247](#247))
([7e9da9b](7e9da9b))
* **nes:** set `nes.diff.show = "cursor"` to only show nes diffs at the
cursor. Closes [#266](#266)
([b1568d3](b1568d3))
* **terminal:** add files/buffers inline with spaces from picker. Closes
[#133](#133)
([e743ac7](e743ac7))
* **terminal:** make re-entering terminal/normal mode more sensible
([9eb6530](9eb6530))


### Bug Fixes

* **codex:** update deprecated search option
([#166](#166))
([88cb6dd](88cb6dd))
* **config:** remove web search option from codex command
([#257](#257))
([f8b4f58](f8b4f58))
* **config:** update codex search option
([#167](#167))
([c302dba](c302dba))
* **nes:** correct inline diff artifact when appending to end of line
([#250](#250))
([f95ba54](f95ba54))
* **nes:** never process cancelled (or out of order) requests
([f8eac10](f8eac10))
* **opencode:** Use alt+p instead of ctrl+p. Fixes
[#175](#175)
([a6fe80f](a6fe80f))
* **terminal:** ready check should not fail if cli window is closed.
Fixes [#252](#252)
([6b69c42](6b69c42))
* **treesitter:** dont use treesitter stringbuffers
([317ada1](317ada1))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
msurovcak pushed a commit to msurovcak/sidekick.nvim that referenced this pull request Apr 14, 2026
🤖 I have created a release *beep* *boop*
---


##
[2.2.0](folke/sidekick.nvim@v2.1.0...v2.2.0)
(2026-03-20)


### Features

* **agents:** add pi agent
([folke#247](folke#247))
([7e9da9b](folke@7e9da9b))
* **nes:** set `nes.diff.show = "cursor"` to only show nes diffs at the
cursor. Closes [folke#266](folke#266)
([b1568d3](folke@b1568d3))
* **terminal:** add files/buffers inline with spaces from picker. Closes
[folke#133](folke#133)
([e743ac7](folke@e743ac7))
* **terminal:** make re-entering terminal/normal mode more sensible
([9eb6530](folke@9eb6530))


### Bug Fixes

* **codex:** update deprecated search option
([folke#166](folke#166))
([88cb6dd](folke@88cb6dd))
* **config:** remove web search option from codex command
([folke#257](folke#257))
([f8b4f58](folke@f8b4f58))
* **config:** update codex search option
([folke#167](folke#167))
([c302dba](folke@c302dba))
* **nes:** correct inline diff artifact when appending to end of line
([folke#250](folke#250))
([f95ba54](folke@f95ba54))
* **nes:** never process cancelled (or out of order) requests
([f8eac10](folke@f8eac10))
* **opencode:** Use alt+p instead of ctrl+p. Fixes
[folke#175](folke#175)
([a6fe80f](folke@a6fe80f))
* **terminal:** ready check should not fail if cli window is closed.
Fixes [folke#252](folke#252)
([6b69c42](folke@6b69c42))
* **treesitter:** dont use treesitter stringbuffers
([317ada1](folke@317ada1))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant