Skip to main content

Module shared_dialog

Module shared_dialog 

Source
Expand description

Shared AI dialog capture and normalization.

ChatGPT shared pages embed a React Router stream with a devalue table that contains linear_conversation. This module decodes that table into a provider-neutral capture result and reports unsupported provider states as structured diagnostics.

Structs§

SharedDialogCapture
SharedDialogDiagnostics
SharedDialogEvidence
SharedDialogParseOptions
SharedDialogTurn

Functions§

capture_shared_dialog
Fetch and normalize a shared dialog URL.
format_shared_dialog_as_demo_memory
Format a capture as formal-ai compatible demo_memory Links Notation.
format_shared_dialog_as_html
Format a capture as simple HTML containing the Markdown representation.
format_shared_dialog_as_markdown
Format a capture as Markdown.
format_shared_dialog_as_meta_language
Format a capture as repository-local Links Notation style meta-language.
format_shared_dialog_as_text
Format a capture as plain text.
format_shared_dialog_result
Format a capture according to a CLI/API format name.
parse_shared_dialog
Parse captured HTML or a compact transcript into a normalized shared-dialog result. Unsupported inputs return a structured diagnostic instead of an error.
shared_dialog_output_extension
Return the conventional extension for a shared-dialog output format.