MoonshotAI / MoonshotAI/kimi-cli
Shell mode command history should be visible to Agent mode
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 11.4k
- Forks
- 1.3k
- Avg merge
- 9h 47m
- Merged PRs (30d)
- 2
Description
What feature would you like to see?
Problem
Shell mode (Ctrl-X) and Agent mode are completely isolated. Commands executed in Shell mode are invisible to Agent mode, forcing users to manually copy-paste outputs.
Use Case
On headless servers, users often run quick diagnostics in Shell mode (e.g., ls, git status, cat logs) then switch to Agent mode for AI assistance. Without shared context, the AI starts blank.
Proposed Solution
Automatically ingest recent Shell mode commands + outputs into Agent mode context when switching back, or provide a /history command to reference them.
Workaround
Currently: manually copy-paste shell output into the chat.
Additional information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by locating the Shell mode to Agent mode transition and the code that stores or builds Agent context; done means recent Shell commands and outputs are available after switching, or a /history command provides them without manual copy-paste.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- ai, cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100