server.fragment_targets_debug

Page actions AI-ready formats and sharing
Open LLM text
Share with AI
Ask Claude Ask ChatGPT Ask Gemini Ask Copilot

Debug JSON endpoint for the fragment target registry.

Serves a machine-readable view of the registry at /__chirp/debug/fragment-targets when debug=True. Complements the startup banner (terminal_checks._format_fragment_registry) and the fragment_target_orphancontract check…

Debug JSON endpoint for the fragment target registry.

Serves a machine-readable view of the registry at /__chirp/debug/fragment-targets when debug=True. Complements the startup banner (terminal_checks._format_fragment_registry) and the fragment_target_orphancontract check — same data, JSON shape, so scripts and devtools UIs can consume it.

server.fragment_targets_debug

Name Type Default Description
type —
qualified_name —
element_type —
description —
source_file —
line_number —
is_autodoc —
autodoc_element —
_autodoc_template —
_autodoc_url_path —
_autodoc_page_type —
title —
doc_content_hash —

Symbols on this page

render_fragment_targets_debug
function
def render_fragment_targets_debug(registry: FragmentTargetRegistry | None) -> str

Serialize the fragment target registry to a JSON string.

Parameters

Name Type Default Description
registry FragmentTargetRegistry | None —

View source · /home/runner/work/chirp/chirp/site/../src/chirp/server/fragment_targets_debug.py:1