Skip to content

Conversation

@ignaciocervino
Copy link
Contributor

Summary

  • Persist per-thread prompt history to localStorage with a 200-item cap.
  • Load history on thread/workspace switch and restore it after app restart.
  • Migrate “default” history to the first real thread id so new threads keep history.

Simple Feature Explanation

  • The up/down arrow history now survives app restarts and is remembered per thread.
  • When you open a thread, you can recall its past prompts with ArrowUp/ArrowDown.

Limitations

  • Per thread (and per workspace on Home), not global across all agents.
  • Only saves text prompts that were sent/queued; attachments aren’t tracked.
  • Max 200 entries per key; older entries are dropped.
  • Navigation only works when the composer is empty and no attachments; disabled if autocomplete is open or modifier keys are held.
Screen.Recording.2026-01-27.at.01.42.44.mov

@Dimillian
Copy link
Owner

@codex review

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d01eab0bfa

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@Dimillian
Copy link
Owner

FYI: moving the history to be tied to workspace, so those can be reused across threads

@Dimillian Dimillian merged commit ae6e187 into Dimillian:main Jan 27, 2026
5 checks passed
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