Follow Discord
Sweep 02 Oct 2026 · 18:55Z Build v2.1.288 509 read Stable v2.1.285 Latest v2.1.288 Next v2.1.288 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

4 pages for asuser.

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

sessions Claude Developer Platform · in the page managed-agents/sessions …er.message" { continue } for _, contentBlock := range event.AsUserMessage().Content { if contentBlock.Type == "text" { fmt.Printf("Seeded event: %s\n", contentBlock.AsText().Text)… Plugin commands reference Claude Code CLI · in the page plugins/cli-reference …for each `notes` entry. Requires Claude Code v2.1.268 or later | | `hasUserConfig` | boolean | Present and `true` when the plugin loaded and its manifest declares [`userConfig` options](/docs/en/plug… Use the mods API Claude Code CLI · in the page plugins/mods/api …nder. To send it as the user's own words, without that sentence, add `asUser: true`. The call waits until the session is idle and then starts a new turn. It resolves when that turn starts, so don't `a… Mods reference Claude Code CLI · in the page plugins/mods/reference …` after a sentence that names your mod as the sender. `submit({ text, asUser: true })` sends the text as the user's own words, without that sentence. | | `$.turn` | `abort` | | [`$.session`](/docs/en/…
Feedback