Skip to content

src/dazzle_ui/runtime/site_renderer.py

Generated: 2026-03-30T04:38:49.156832+00:00

Commit: 615f1354a103

Language: python

Scope: dazzle_ui

Purpose

Site page renderer for DNR runtime.

Primary rendering is now handled by Jinja2 templates in templates/site/. This module retains: - Task context injection functions (used by human task workflow) - get_shared_head_html() (used by task surface pages) - get_site_js() (serves the site.js st...

Key Exports

  • get_shared_head_html
  • render_task_context_script
  • render_task_surface_page
  • get_task_header_script_tag
  • get_site_js

Dependencies

Imports

  • json
  • dazzle_ui.runtime.task_context.TaskContext
  • pathlib.Path

Event Interactions

None detected.

Invariants and Assumptions

No invariants documented.

Tests

  • tests/integration/test_runtime_e2e.py
  • tests/integration/test_runtime_pipeline.py
  • tests/unit/test_runtime_test_routes.py
  • tests/unit/test_runtime_services.py
  • tests/unit/test_runtime_mcp_tools.py

Notes

This page was automatically generated by tools/gen_reference_docs.py.