Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds command history to rustyline cli #461

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

jsibbison-square
Copy link
Collaborator

Allows users to use Up and Down arrows to navigate through command history in the rustyline cli in case they want to reuse something they sent before.

Copy link
Collaborator

@michaelneale michaelneale left a comment

Choose a reason for hiding this comment

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

nice

Copy link
Collaborator

@zakiali zakiali left a comment

Choose a reason for hiding this comment

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

works for me!

couple improvements that would be nice in the future:

  • global history that you can up arrow. nice for when you become ctrl-c happy and then exit out of a session accidentally.
  • session history loaded upon a resume (same use case as above, but maybe an easier approach)

@jsibbison-square jsibbison-square merged commit 0c6ffa4 into v1.0 Dec 13, 2024
3 checks passed
michaelneale added a commit that referenced this pull request Dec 13, 2024
* v1.0:
  Reduce sleeps in goose rust tests (#464)
  chore: eslint for ts  (#463)
  Adds command history to rustyline cli (#461)
  fix: no need for cancel (#462)
  chore: cargo fmt ci check (#448)
  fix: more negative examples and faster classification (#454)
  turn on user prompting (#453)
  Fix typos and run cargo fmt (#447)
  fix: ready/notification prompts (#382)
  Raise error if viewing a file greater than 2MB (#449)
  feat: Improve edit prompting (#446)
  [cli] Resumes most recent modified session if no session name provided (#444)
  add in a key for goosed and tests
jsibbison-square added a commit that referenced this pull request Dec 15, 2024
* v1.0:
  doc: basic docs and rename types (#471)
  Move resource and more types to mcp-core (#470)
  refactor: Move shared models out to mcp-core (#469)
  feat: drafting mcp  (#468)
  Reduce sleeps in goose rust tests (#464)
  chore: eslint for ts  (#463)
  Adds command history to rustyline cli (#461)
  fix: no need for cancel (#462)
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.

3 participants