MoonshotAI / MoonshotAI/kimi-code

Issue: VS Code Extension: /auto command is ignored when sent while the agent is processing

Open
#2,580 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
7.5k
Forks
1.2k
Avg merge
11h 53m
Merged PRs (30d)
350

Description

Description
In the VS Code extension, when an LLM agent is actively processing a request, it is currently impossible to effectively queue the /auto command.

Steps to reproduce

  1. Start a task that keeps the LLM agent busy (processing/thinking).
  2. While the agent is still running, open the chat.
  3. Type /auto and press Enter.
  4. The chat enters a queued state because the agent is still processing.
  5. Force-send the /auto message.

Current behavior
The /auto command is ignored. After the current processing finishes, the agent does not switch to Auto mode. The only workaround is to:

  • wait until processing completes, or
  • manually stop the current execution,

and only then send /auto again before asking the agent to continue.

Expected behavior
The /auto command should be preserved and executed once the current processing finishes. It should behave as a queued state change rather than being discarded.

This would allow users to enable Auto mode during long-running tasks without having to interrupt the agent or resend the command later.

Notes
The issue appears to be specific to commands such as /auto that modify the agent state while another request is still in progress. The command should remain pending and be applied as soon as the current execution ends.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the VS Code extension's handling of the /auto command, queued messages, and the agent's processing-completion path. Reproduce the reported sequence with a long-running task, then verify that a force-sent /auto remains pending and switches the agent to Auto mode when processing finishes.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.