#[non_exhaustive]pub struct FooterLink {
pub kind: Option<String>,
pub pattern: Option<String>,
pub url: Option<String>,
pub label: Option<String>,
pub extra: Extra,
}Expand description
An entry of footerLinksRegexes.
Render extra clickable badges in the footer below the input box when a regex matches turn output: tool results, including file contents and fetched pages, and Claude’s own responses. Use it to turn IDs printed by project CLIs, such as review tools and issue trackers, into session links.
Docs: footerLinksRegexes.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.kind: Option<String>Config variant; “regex” matches turn output and builds a URL from named capture groups.
- Values: string
- Default: unset
Docs: type.
pattern: Option<String>§url: Option<String>Link target; {name} placeholders are filled from named regex capture groups.
- Values: string
- Default: unset
Docs: url.
label: Option<String>Badge text; {name} placeholders filled from named capture groups, defaults to the full match.
- Values: string
- Default: unset
Docs: label.
extra: ExtraKeys Claude Code accepts here that this crate doesn’t model (newer or undocumented ones), kept as written so the document round-trips.