Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

535 pages for wait.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Get started with the desktop app Claude Code CLI · in the page desktop-quickstart …ermission-mode) in the row under the prompt box to see whether Claude waits for your approval: * **Auto or Accept edits**: Claude applies its file changes, and an indicator such as `+12 -1` appears s… Schedule recurring tasks in Claude Code Desktop Claude Code CLI · in the page desktop-scheduled-tasks …From here you can: * **Run now**: start the task immediately without waiting for the next scheduled time * **Status**: toggle between Active and Paused to pause or resume scheduled runs without delet… Environment variables Claude Code CLI · in the page env-vars …ity#what-your-screen-reader-hears), how many milliseconds Claude Code waits, with the cursor at the start of the line, before it writes a new or changed line. Default `50`. Set `0` to write immediatel… Error reference Claude Code CLI · in the page errors …ication](#cloud-gateway-session-expired) | | `Sign-in timed out while waiting for you to continue. Try again.` | [Authentication](#sign-in-timed-out-while-waiting-for-you-to-continue) | | `AWS credent… Speed up responses with fast mode Claude Code CLI · in the page fast-mode …t` while Claude is working, and Claude Code toggles fast mode without waiting for the turn to end. Claude Code finishes the running turn at its original speed, so the speed change takes effect from yo… Claude Code GitHub Actions Claude Code CLI · in the page github-actions …eractive mode**: when the workflow provides no `prompt` input, Claude waits for the trigger phrase, `@claude` by default, in an issue or pull request comment, in a pull request review, or in the body… Keep Claude working toward a goal Claude Code CLI · in the page goal …also prints a line naming the cause and either retries on its own or waits for you: * **Retry**: after a failure that tends to clear on its own, such as an overloaded server or a dropped connection,… Claude Code on Google Cloud's Agent Platform Claude Code CLI · in the page google-vertex-ai …t access to desired Claude models (for example, Claude Sonnet 4.6) 4. Wait for approval (may take 24-48 hours) ### 3. Configure GCP credentials Claude Code uses standard Google Cloud authentication.… Run Claude Code programmatically Claude Code CLI · in the page headless …hes its turn and stdin has closed, a `claude -p` run can stay open to wait for background work that Claude started. Unless a background command that the main conversation started is still running, Cl… Hooks reference Claude Code CLI · in the page hooks …of those run at once and the rest start as running ones finish. Each waiting hook's [`timeout`](#common-fields) starts counting when that hook starts. If you define the same handler in more than one… Automate actions with hooks Claude Code CLI · in the page hooks-guide …es a desktop notification hook, so you get alerted whenever Claude is waiting for your input instead of watching the terminal. **1. Add the hook to your settings** Open `~/.claude/settings.json` and… How Claude Code works Claude Code CLI · in the page how-claude-code-works …stop Claude immediately. The running tool call is canceled and Claude waits for your next instruction. If you have messages queued, Claude Code [sends them next](/docs/en/interactive-mode.md#queue-mes… Interactive mode Claude Code CLI · in the page interactive-mode …keeping the order you queued them in To send what you queued without waiting, press `Ctrl+Enter`. Your queued messages go out right away, with your draft queued behind them if you had typed one. Requ… Customize keyboard shortcuts Claude Code CLI · in the page keybindings …| | `chat:queueSubmit` | Ctrl+X Enter | Submit the message, marked to wait its turn: while Claude is working, Claude Code [queues it](/docs/en/interactive-mode.md#queue-messages-while-claude-works) an… Claude Code gateway compatibility guide Claude Code CLI · in the page llm-gateway-protocol …after` | Return integer seconds rather than an HTTP date. Claude Code waits at least that long before the next [automatic retry](/docs/en/errors.md#automatic-retries), and outside [`CLAUDE_CODE_RETRY_… Roll out an LLM gateway for your organization Claude Code CLI · in the page llm-gateway-rollout …ror. If the command appears to hang, check the gateway log instead of waiting; no arriving request means `ANTHROPIC_BASE_URL` doesn't point at the gateway. ### Distribute the configuration Every dev… Control MCP server access for your organization Claude Code CLI · in the page managed-mcp …this key until the server confirms the settings for the session, and waits for that confirmation before it loads MCP servers. If the confirmation fails, the session continues without the provided ser… Deploy managed settings Claude Code CLI · in the page managed-settings …moved. * **Changes that need approval**: apart from the [updates that wait for the next launch](/docs/en/server-managed-settings.md#fetch-and-caching-behavior), a server-managed change to a setting th… Connect Claude Code to tools via MCP Claude Code CLI · in the page mcp …for example when your session ends, it signals the server process and waits briefly for it to exit before forcing it to stop. If your server saves state or removes lock files at shutdown, handle the s… Connect to MCP servers Claude Code CLI · in the page mcp-quickstart …can show `✘ Failed to connect` while `npx` downloads the package, so wait a moment and run it again. Once the download finishes, the status changes to `✔ Connected`. If it still shows `✘ Failed to co… How Claude remembers your project Claude Code CLI · in the page memory …an keep using the session while it's open. Before v2.1.216, `/memory` waited for you to close the file before responding. Terminal editors such as Vim take over the terminal until you exit. When you… Claude Code on mobile Claude Code CLI · in the page mobile …ready to review from your phone, and one you start from your phone is waiting when you're back at your desk. Open a session in the app to check progress, answer Claude's questions, or steer it in a n… Model configuration Claude Code CLI · in the page model-config …sent again on your next message. What you can do while the prompt is waiting depends on the session: * With Remote Control connected or in a teammate's session, press any key at the terminal to canc… Monitoring Claude Code CLI · in the page monitoring-usage …Tool spans have two child spans of their own: one for the time spent waiting on a permission decision and one for the execution itself. When the Agent tool, or legacy Task tool, spawns a subagent, th… Enterprise network configuration Claude Code CLI · in the page network-config …change it, set `CLAUDE_STREAM_FIRST_BYTE_TIMEOUT_MS`. For the retry's wait, see [No response from API](/docs/en/errors.md#no-response-from-api). * **On the other connections**: the request ends after… Output styles Claude Code CLI · in the page output-styles …. Return {valid: boolean, error?: string}. ``` Claude then stops and waits. Write your code at the `TODO(human)` comment and tell Claude when you're done. Claude responds with one `Insight` about you… Choose a permission mode Claude Code CLI · in the page permission-modes …e conversation as a block signal. If you tell Claude "don't push" or "wait until I review before deploying", the classifier blocks matching actions even when the default rules would allow them. A boun… Configure permissions Claude Code CLI · in the page permissions …an `ask` or `deny` rule for it. In auto mode, these commands can also wait for the classifier's review; see [how the classifier evaluates actions](/docs/en/permission-modes.md#how-the-classifier-evalu… Test plugins with evals Claude Code CLI · in the page plugin-evals …'d run yourself. Pass it in CI so the job is never refused by or left waiting at the prompt. See [What a run can access](#security) | | `--mocks <mode>` | `record` | `record` answers MCP tool calls fr… Add components to a plugin Claude Code CLI · in the page plugins/components …Audit every route handler for missing auth checks', } const found = await agent('List every .ts file under src/routes/.', { schema: { type: 'object', required: ['files'], properties: { files: { typ… Plugin loading reference Claude Code CLI · in the page plugins/loading …n interactive session, after you send your first message, Claude Code waits a random delay of up to ten minutes. It then refreshes every marketplace with auto-update on and updates the plugins install… Plugin manifest reference Claude Code CLI · in the page plugins/manifest-reference …older path for the server | | `startupTimeout` | No | Milliseconds to wait for startup, a positive integer | | `shutdownTimeout` | No | Milliseconds to wait for a graceful shutdown, a positive integer… Use the mods API Claude Code CLI · in the page plugins/mods/api …on.start`](/docs/en/plugins/mods/reference#session) hook. Claude Code waits for that hook before the first prompt, so what you register is available from the first turn. ### Add a command A command… Create a mod Claude Code CLI · in the page plugins/mods/create …on.start', async ($, e, next) => { // Add the /tally command await $.command.register({ name: 'tally', description: 'Show how many tool calls Claude has made', }) // Let th… React to events with a mod Claude Code CLI · in the page plugins/mods/events …The tool runs as it would without the mod. To act after the event, `await next(e)`, do your work, and return the result. This hook logs each tool after it has run: ```javascript theme={null} on('too… Interface gallery for mods Claude Code CLI · in the page plugins/mods/gallery …ion register(on) { on('session.start', async ($, e, next) => { await $.command.register({ name: 'gallery', description: 'Open the sample pane' }) return next(e) }) on('command.run', { c… Draw in the interface with a mod Claude Code CLI · in the page plugins/mods/interface …ain after a reload on('session.start', async ($, e, next) => { await $.command.register({ name: 'hello-tabs', description: 'Open the hello-tabs pane' }) // Load the count an earlier session… Mods reference Claude Code CLI · in the page plugins/mods/reference …word ends at the cursor. `e.token` is that word. Claude Code doesn't wait for the hook: its own autocomplete rows show first. | `{ suggestions }`, a list of `{ text, label, description }` rows shown… Test a mod Claude Code CLI · in the page plugins/mods/test …) // Fire two tool calls, which the mod's tool.call hook counts await $.tool.call({ tool: 'Bash', command: 'ls' }) await $.tool.call({ tool: 'Read', file_path: 'README.md' }) // Run /tally a… Troubleshoot a mod Claude Code CLI · in the page plugins/mods/troubleshoot …nloaded it. A hook that blocks the thread, such as a loop that never awaits, is one cause. Fix the hook. ### `its session.start ran again in a fresh copy` The line starts with the mod's name and na… Manage Claude Code plugins for your organization Claude Code CLI · in the page plugins/org …ed environment, only server-managed settings reach the session, which waits for them before it installs plugins. MDM policies and managed settings files stay on the user's machine. For a self-hosted e… Troubleshoot plugins Claude Code CLI · in the page plugins/troubleshooting …ICIAL_MARKETPLACE_AUTOINSTALL` is set * After a failed attempt that's waiting to retry The `claude plugin` shell commands never register it for you. Add it, then retry the install: ```text theme={n… How Claude Code uses prompt caching Claude Code CLI · in the page prompt-caching …rebuilds. This page covers which actions those are, why some settings wait for a restart to apply, and how to check cache performance when usage looks high. ## How the cache is organized Each time y… Prompt library Claude Code CLI · in the page prompt-library …lts, start, q]); const copy = async (str, id) => { try { await navigator.clipboard.writeText(str); } catch { const ta = document.createElement('textarea'); ta.value = str;… Quickstart Claude Code CLI · in the page quickstart …xt wrap theme={null} refactor the authentication module to use async/await instead of callbacks ``` ```text wrap theme={null} write unit tests for the calculator functions ``` ```text wrap theme={nu… Continue local sessions from any device with Remote Control Claude Code CLI · in the page remote-control …command. The process stays running in your terminal in server mode, waiting for remote connections. It displays a session URL you can use to [connect from another device](#connect-from-another-devic… Automate work with scheduled tasks Claude Code CLI · in the page routines …ring a run](#permission-prompts-during-a-run) for when a run stops to wait for you. What a scheduled task can reach is determined by: * The repositories you select * The [environment's](/docs/en/clo… Configure the sandboxed Bash tool Claude Code CLI · in the page sandboxing …t isn't in your allowed domains, the command stays in the sandbox and waits for a decision. In an interactive terminal session, the decision depends on your permission mode: | Permission mode | What… Run prompts on a schedule Claude Code CLI · in the page scheduled-tasks …elay between one minute and one hour based on what it observed: short waits while a build is finishing or a PR is active, longer waits when nothing is pending. The chosen delay and the reason for it a… Self-hosted environments Claude Code CLI · in the page self-hosted-environments …erving its live sessions and retries after a second or two instead of waiting for the next scheduled poll. For example, an intercepting proxy that answers the poll with its own page produces a respons…
Feedback