Skip to content

Fix the bottom "Ask AI" composer dropping the typed instruction when…#299

Merged
inkeep-oss-sync[bot] merged 1 commit into
mainfrom
copybara/sync
Jun 26, 2026
Merged

Fix the bottom "Ask AI" composer dropping the typed instruction when…#299
inkeep-oss-sync[bot] merged 1 commit into
mainfrom
copybara/sync

Conversation

@inkeep-oss-sync

Copy link
Copy Markdown
Contributor

Fix the bottom "Ask AI" composer dropping the typed instruction when launching a Terminal CLI. A composer dispatch carries its instruction (and @-mentions / selection) in input.compose, but the docked-terminal launcher only checked the top-level input.instruction the toolbar popover uses — so every composer-typed message fell through to the bare "load OK, then stop" prompt and the agent never saw what the user asked. The terminal launcher now routes compose-scope dispatches through the same prompt assembler as the deep-link handoff, so the instruction threads through to the launched CLI exactly as it does to a Claude/Codex/Cursor deep link.

…unch (#2156)

The bottom Ask AI composer carries its typed instruction in input.compose,
but composeTerminalLaunchPrompt only checked the top-level input.instruction
used by the toolbar popover. Composer dispatches to a Terminal CLI therefore
fell through to the bare load-and-stop prompt and silently dropped the user's
message, so the launched CLI never saw what the user asked.

Route compose-scope inputs through selectScopedPrompt (which already threads
input.compose through assembleHandoffPrompt) so the instruction reaches the
launched CLI exactly as it does the deep-link handoff. Adds a regression test
pinning the compose-scope launch to selectScopedPrompt.

GitOrigin-RevId: 45cb9ec04a0e878d0667096b1de89298ec488f48

@inkeep-internal-ci inkeep-internal-ci Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Automated approval from agents-private public-mirror-sync (run: https://github.com/inkeep/agents-private/actions/runs/28210573453). Source of truth is the monorepo; direct edits on inkeep/open-knowledge are overwritten on next sync.

@inkeep-oss-sync
inkeep-oss-sync Bot merged commit e0f23b6 into main Jun 26, 2026
1 check passed
@inkeep-oss-sync
inkeep-oss-sync Bot deleted the copybara/sync branch June 26, 2026 01:10
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