spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

claude-code / mods / sec-default / tests / fixtures / prompt-row.ts
GitHub Actions (publish-mods)chore: Update mods/ 3deb873 · 13 days ago History
15 lines · 370 BRaw
1import type { Args } from 'claude-code'
2
3/**
4 * A prompt the person typed as the row a conversation is about to keep of it.
5 */
6export const PROMPT_ROW: Args<'session.append'> = {
7 message: {
8 type: 'user',
9 role: 'user',
10 content: [{ type: 'text', text: 'what a person typed' }],
11 },
12 door: 'prompt',
13 origin: { kind: 'composer' },
14 uuid: 'row-prompt',
15}