grok-build-upstream-mirror/crates/codegen/xai-grok-pager/docs/tutorial/02-first-prompt.md

25 lines
1 KiB
Markdown
Raw Normal View History

Synced from monorepo Synced from monorepo Changes: - Workspace server: report `/ready` as failed with dwell on hub connect failure - Refresh OIDC token for the Grok agent in the shell - ACP terminal output recorder - Cross-platform provider auth commands in the shell - Default `/resume` to Grok sessions with a hint for hidden external sessions - Resume sessions by title with `--resume` - Limit app-builder archive size - Data-driven tag labels for slash commands - Doctor fixes for tmux - Custom provider gateways and subprocess environment policy in the shell - `/tutorial` — opt-in onboarding tour of Grok Build - Soft and required CLI version checks in the shell - Privacy banner env overrides survive live settings updates - Add remote flag to override the image-edit model - Return profile fields from auth info even when the access token is expired - Add edit control on queued prompt rows - Keep fail-closed policy when clearing orphans with no team - Setting to disable the Ctrl+Space/F8 voice shortcut - Pass `--raw` to pw-record so Linux dictation works on older PipeWire - Validate git URLs when adding marketplace entries - Stop shipping stale tool-doc parameter and tool names - Re-point dashboard attach after `/fork` only when the parent was attached - Surface Grok Computer media-generation results as file-path chunks - Clear web background-task tray on kill and keep the task description - Show privacy upsell banner in agent view until acted on - Add tools-server client callback surface - Protect persistent global hook sources Source-Revision: 95d84f443eddcbed6cbfd6eed22e2eafe6b3939d
2026-07-23 17:12:33 +00:00
# Your First Prompt
Grok Build is a conversation with an agent that can read your code, run
commands, and edit files — right here in your terminal.
Type what you want and press `Enter`. Grok streams its work into the
**scrollback** above the prompt: responses, shell commands, file edits.
## Keep typing while Grok works
While a turn is running, `Enter` **queues** your next message instead of
interrupting. Change your mind? Press `Enter` on the empty prompt to stop
the current turn and send the queued message right away.
## You are always in control
- **`Esc`** — cancel a running turn immediately (your draft is kept).
- **`Esc Esc`** while idle — clear the prompt; with an empty prompt, open
the rewind picker instead. Cleared something by accident? `Ctrl+Z` undoes.
- **`Ctrl+Q`** — quit (`Ctrl+D` in VS Code-family terminals), press twice.
The **shortcuts bar** at the bottom always shows the keys relevant to what
you're doing right now — when in doubt, look down.
*Go deeper: `/docs Getting Started`*