Skip to content

FooterLinksRegex

Base classes

Name Children Inherits
ClaudeCodeBaseModel
clawd_code_sdk.models.base
Base model for all Claude Code Pydantic models.

⋔ Inheritance diagram

graph TD
  4222966281["settings.FooterLinksRegex"]
  2604142835["base.ClaudeCodeBaseModel"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  2604142835 --> 4222966281
  3879467795 --> 2604142835
  2751680898 --> 3879467795

🛈 DocStrings

Bases: ClaudeCodeBaseModel

Source code in src/clawd_code_sdk/models/settings.py
class FooterLinksRegex(ClaudeCodeBaseModel):
    model_config = ConfigDict(
        extra="forbid",
    )
    type: Literal["regex"] = "regex"
    """
    Config variant; "regex" matches turn output and builds a URL from named capture groups
    """
    pattern: str
    """
    Regex matched against turn output
    """
    url: str
    """
    Link target; {name} placeholders are filled from named regex capture groups
    """
    label: str | None = None
    """
    Badge text; {name} placeholders filled from named capture groups, defaults to the full match
    """

label class-attribute instance-attribute

label: str | None = None

Badge text; {name} placeholders filled from named capture groups, defaults to the full match

pattern instance-attribute

pattern: str

Regex matched against turn output

type class-attribute instance-attribute

type: Literal['regex'] = 'regex'

Config variant; "regex" matches turn output and builds a URL from named capture groups

url instance-attribute

url: str

Link target; {name} placeholders are filled from named regex capture groups

:fa-brands-github: Show source on GitHub