[FEATURE] Support non-blocking concurrent interaction within a single session

Resolved 💬 3 comments Opened May 18, 2026 by lidengbinNC Closed May 21, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

当前会话是串行的,任务执行期间无法插入新问题。希望能支持后台任务执行 + 会话内非阻塞提问,让用户在等待长任务时可以继续交互
比如让 Claude 跑测试,同时问一个代码逻辑问题,不用等测试跑完

Proposed Solution

  1. Background execution — When a user prefixes a prompt with /bg (or Claude detects a long-running task), the task runs in the

background. The user gets back the prompt immediately and can continue asking questions in the same session.

  1. Shared context — Background tasks and the foreground conversation share the same session context. Results from background tasks are

appended to context when they complete, not blocked on.

  1. Status bar / notification — Show running background tasks in a status line (e.g., ⧖ 2 tasks running). When a background task

finishes, surface a brief notification so the user knows to check results.

  1. Result retrieval — New command /tasks to list background tasks and their status; /tasks <id> to pull completed results into the

conversation.

Alternative Solutions

_No response_

Priority

Critical - Blocking my work

Feature Category

CLI commands and flags

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗