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 / compacted-turn.ts
GitHub Actions (publish-mods)chore: Update mods/ 3deb873 · 12 days ago History
11 lines · 278 BRaw
1import type { SessionMessage } from 'claude-code'
2
3/**
4 * One turn of a conversation as a compaction is handed it: what an
5 * organization's hook told the model.
6 */
7export const COMPACTED_TURN: SessionMessage = {
8 role: 'user',
9 text: 'never push to main',
10 toolUses: [],
11}