Skip to content

feat: add Ask tool for agent-to-user questions during a turn#32

Merged
jbj338033 merged 2 commits into
mainfrom
worktree-plan
Jun 9, 2026
Merged

feat: add Ask tool for agent-to-user questions during a turn#32
jbj338033 merged 2 commits into
mainfrom
worktree-plan

Conversation

@jbj338033

Copy link
Copy Markdown
Collaborator

Summary

Adds the Ask engine-level tool that lets the agent pause mid-turn, present the user with a question and optional choices, wait for the answer, then resume. The answer is returned as a ToolResult so the LLM sees it in context. Lays the groundwork for plan-mode approval and dangerous-command confirmation flows.

Verification

  • cargo fmt --all --check — passed
  • cargo clippy --workspace --all-targets -- -D warnings — passed
  • cargo test --workspace — passed

@jbj338033 jbj338033 merged commit 7f4a774 into main Jun 9, 2026
6 checks passed
@jbj338033 jbj338033 deleted the worktree-plan branch June 9, 2026 13:17
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.

1 participant