Versions in this module Expand all Collapse all v0 v0.260806.1 Aug 6, 2026 Changes in this version + func CleanBetaMessages(messages []anthropic.BetaMessageParam) []anthropic.BetaMessageParam + func CleanBetaSystemMessages(blocks []anthropic.BetaTextBlockParam) []anthropic.BetaTextBlockParam + func CleanMessages(messages []anthropic.MessageParam) []anthropic.MessageParam + func CleanSystemMessages(blocks []anthropic.TextBlockParam) []anthropic.TextBlockParam + func NormalizeSteganographyText(text string) string + func StripClaudeCodeSystemPreamble(text string) string + type CleanHeaderTransform struct + func NewCleanHeaderTransform() *CleanHeaderTransform + func (t *CleanHeaderTransform) Apply(ctx *protocoltransform.TransformContext) error + func (t *CleanHeaderTransform) Name() string + type MCPToolInjectionTransform struct + func NewMCPToolInjectionTransform(rt *runtime.Runtime) *MCPToolInjectionTransform + func (t *MCPToolInjectionTransform) Apply(ctx *protocoltransform.TransformContext) error + func (t *MCPToolInjectionTransform) Name() string + type MCPToolStripGuardTransform struct + func NewMCPToolStripGuardTransform(rt *runtime.Runtime, stripEnabled bool) *MCPToolStripGuardTransform + func (t *MCPToolStripGuardTransform) Apply(ctx *protocoltransform.TransformContext) error + func (t *MCPToolStripGuardTransform) Name() string + type MaxTokensTransform struct + DefaultMaxTokens int + MaxAllowed int + func NewMaxTokensTransform(defaultMaxTokens, maxAllowed int) *MaxTokensTransform + func (t *MaxTokensTransform) Apply(ctx *protocoltransform.TransformContext) error + func (t *MaxTokensTransform) Name() string + type NativeWebSearchStripTransform struct + func NewNativeWebSearchStripTransform(rt *runtime.Runtime) *NativeWebSearchStripTransform + func (t *NativeWebSearchStripTransform) Apply(ctx *protocoltransform.TransformContext) error + func (t *NativeWebSearchStripTransform) Name() string + type ThinkingCompactTransform struct + func NewThinkingCompactTransform(keepLastNRounds int) *ThinkingCompactTransform + func (t *ThinkingCompactTransform) Apply(ctx *protocoltransform.TransformContext) error + func (t *ThinkingCompactTransform) Name() string