Skip to content

Conversation

@galkatz373
Copy link

@galkatz373 galkatz373 commented Jan 1, 2026

Added support for frecency (frequency + recency) to the file autocomplete in the cli.

For example after I selected the new file

packages/opencode/src/cli/cmd/tui/component/prompt/frecency.tsx

and opened the file autocomplete again.

Before:

Screen.Recording.2026-01-01.at.23.57.58.mov

After

Screen.Recording.2026-01-01.at.23.55.51.mov

@galkatz373 galkatz373 marked this pull request as ready for review January 1, 2026 22:16
@rekram1-node
Copy link
Collaborator

/review

@galkatz373
Copy link
Author

@rekram1-node I replaced fs.writeFile with Bun.write, and kept fs.appendFile since bun doesn't have an equivalent. Also, changed the saved path to absolute, so it won't conflict between projects. I also limited the amount of entries in the new jsonl file to 1000 entries

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.

2 participants