|
2074 | 2074 | } |
2075 | 2075 | ] |
2076 | 2076 | }, |
| 2077 | + { |
| 2078 | + "name": "reasoningRun", |
| 2079 | + "signature": "reasoningRun(index: number): object", |
| 2080 | + "description": "Aggregate the reasoning RUN starting at `index`: joins each step's\nreasoning, sums durations, counts steps, and computes the streaming flag\nand the merged label when N > 1 (\"Thought for {total} · {N} steps\", or\njust \"{N} steps\" when no step reported timing).", |
| 2081 | + "params": [ |
| 2082 | + { |
| 2083 | + "name": "index", |
| 2084 | + "type": "number", |
| 2085 | + "description": "", |
| 2086 | + "optional": false |
| 2087 | + } |
| 2088 | + ] |
| 2089 | + }, |
| 2090 | + { |
| 2091 | + "name": "reasoningRunStart", |
| 2092 | + "signature": "reasoningRunStart(index: number): boolean", |
| 2093 | + "description": "True when message[index] starts a reasoning RUN — a maximal sequence of\nconsecutive assistant reasoning steps separated only by (hidden) tool\nmessages. The merged reasoning pill renders once, here.", |
| 2094 | + "params": [ |
| 2095 | + { |
| 2096 | + "name": "index", |
| 2097 | + "type": "number", |
| 2098 | + "description": "", |
| 2099 | + "optional": false |
| 2100 | + } |
| 2101 | + ] |
| 2102 | + }, |
2077 | 2103 | { |
2078 | 2104 | "name": "submitMessage", |
2079 | 2105 | "signature": "submitMessage(text: string): void", |
|
4975 | 5001 | ], |
4976 | 5002 | "methods": [] |
4977 | 5003 | }, |
| 5004 | + { |
| 5005 | + "name": "MarkdownHtmlComponent", |
| 5006 | + "kind": "class", |
| 5007 | + "description": "Renders a `html-block` / `html-inline` markdown node as **escaped text** —\nthe raw HTML is shown literally (Angular interpolation auto-escapes it),\nnever injected as live markup. This preserves the pre-0.4 behavior where\nraw HTML was plain text, and keeps the chat XSS-safe: model-emitted\n`<script>`, `<iframe>`, etc. are displayed as text and never executed.", |
| 5008 | + "params": [], |
| 5009 | + "examples": [], |
| 5010 | + "properties": [ |
| 5011 | + { |
| 5012 | + "name": "node", |
| 5013 | + "type": "InputSignal<MarkdownHtmlBlockNode | MarkdownHtmlInlineNode>", |
| 5014 | + "description": "", |
| 5015 | + "optional": false |
| 5016 | + }, |
| 5017 | + { |
| 5018 | + "name": "raw", |
| 5019 | + "type": "Signal<string>", |
| 5020 | + "description": "", |
| 5021 | + "optional": false |
| 5022 | + } |
| 5023 | + ], |
| 5024 | + "methods": [] |
| 5025 | + }, |
4978 | 5026 | { |
4979 | 5027 | "name": "MarkdownImageComponent", |
4980 | 5028 | "kind": "class", |
|
5061 | 5109 | ], |
5062 | 5110 | "methods": [] |
5063 | 5111 | }, |
| 5112 | + { |
| 5113 | + "name": "MarkdownMathComponent", |
| 5114 | + "kind": "class", |
| 5115 | + "description": "Renders a `math-inline` / `math-display` markdown node as KaTeX. KaTeX is\nlazy-loaded (see katex-loader); until it resolves, or if the LaTeX is\ninvalid, the raw `$…$` source is shown — never blank, never a crash.", |
| 5116 | + "params": [], |
| 5117 | + "examples": [], |
| 5118 | + "properties": [ |
| 5119 | + { |
| 5120 | + "name": "display", |
| 5121 | + "type": "Signal<boolean>", |
| 5122 | + "description": "", |
| 5123 | + "optional": false |
| 5124 | + }, |
| 5125 | + { |
| 5126 | + "name": "html", |
| 5127 | + "type": "Signal<SafeHtml | null>", |
| 5128 | + "description": "", |
| 5129 | + "optional": false |
| 5130 | + }, |
| 5131 | + { |
| 5132 | + "name": "node", |
| 5133 | + "type": "InputSignal<MathNode>", |
| 5134 | + "description": "", |
| 5135 | + "optional": false |
| 5136 | + }, |
| 5137 | + { |
| 5138 | + "name": "raw", |
| 5139 | + "type": "Signal<string>", |
| 5140 | + "description": "", |
| 5141 | + "optional": false |
| 5142 | + } |
| 5143 | + ], |
| 5144 | + "methods": [] |
| 5145 | + }, |
5064 | 5146 | { |
5065 | 5147 | "name": "MarkdownParagraphComponent", |
5066 | 5148 | "kind": "class", |
|
0 commit comments