feat: collect dagpipe wiki, refresh lib and mcp artifacts

Enables dagpipe wiki on the docs hub alongside lib and mcp, removes stale nested lib pages, and picks up regenerated GSDFC docstrings in the MCP bundle.
This commit is contained in:
2026-09-16 15:43:14 +05:30
parent a51082fe77
commit 7aadae1736
82 changed files with 27200 additions and 16274 deletions

View File

@@ -728,6 +728,36 @@
</span>
</a>
<nav class="md-nav" aria-label="ProgressMessage">
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#dagpipe.engine.ProgressMessage-functions" class="md-nav__link">
<span class="md-ellipsis">
Functions
</span>
</a>
<nav class="md-nav" aria-label="Functions">
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#dagpipe.engine.ProgressMessage.as_dict" class="md-nav__link">
<span class="md-ellipsis">
as_dict
</span>
</a>
</li>
</ul>
</nav>
</li>
</ul>
</nav>
</li>
<li class="md-nav__item">
@@ -1029,6 +1059,36 @@
</span>
</a>
<nav class="md-nav" aria-label="ProgressMessage">
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#dagpipe.engine.ProgressMessage-functions" class="md-nav__link">
<span class="md-ellipsis">
Functions
</span>
</a>
<nav class="md-nav" aria-label="Functions">
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#dagpipe.engine.ProgressMessage.as_dict" class="md-nav__link">
<span class="md-ellipsis">
as_dict
</span>
</a>
</li>
</ul>
</nav>
</li>
</ul>
</nav>
</li>
<li class="md-nav__item">
@@ -1174,6 +1234,77 @@ It orchestrates execution order, branching, and state propagation.</p>
- Thread-safe for concurrent execution.
</code></pre></div></td></tr></table></div>
</details>
<p>Create an engine from a node sequence or a graph.</p>
<p><span class="doc-section-title">Parameters:</span></p>
<table>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
</thead>
<tbody>
<tr class="doc-section-item">
<td><code>nodes_or_graph</code></td>
<td>
<code><span title="collections.abc.Sequence">Sequence</span>[<a class="autorefs autorefs-internal" title="dagpipe.node.Node" href="../dagpipe/node/#dagpipe.node.Node">Node</a>] | <a class="autorefs autorefs-internal" title="dagpipe.graph.Graph" href="../dagpipe/graph/#dagpipe.graph.Graph">Graph</a></code>
</td>
<td>
<div class="doc-md-description">
<p>Either an ordered sequence of <code>Node</code> instances (linear mode) or
a <code>Graph</code> defining the execution topology (graph mode).</p>
</div>
</td>
<td>
<em>required</em>
</td>
</tr>
<tr class="doc-section-item">
<td><code>on_step</code></td>
<td>
<code><span title="dagpipe.engine.StepHook">StepHook</span> | None</code>
</td>
<td>
<div class="doc-md-description">
<p>Default per-step callback <code>(step, status, message)</code> used when a
step run does not supply its own hook.</p>
</div>
</td>
<td>
<code>None</code>
</td>
</tr>
</tbody>
</table>
<p><span class="doc-section-title">Raises:</span></p>
<table>
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr class="doc-section-item">
<td>
<code>TypeError</code>
</td>
<td>
<div class="doc-md-description">
<p>If a sequence element is not a <code>Node</code>, or if
<code>nodes_or_graph</code> is neither a <code>Sequence[Node]</code> nor a <code>Graph</code>.</p>
</div>
</td>
</tr>
</tbody>
</table>
@@ -1752,6 +1883,246 @@ orchestrator. Use <code>run_steps_async</code> for async nodes.</p>
callers can surface counts/lines/errors without coupling the engine to pydantic.</p>
<p><span class="doc-section-title">Attributes:</span></p>
<table>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr class="doc-section-item">
<td><code><span title="dagpipe.engine.ProgressMessage.lines">lines</span></code></td>
<td>
<code>int | None</code>
</td>
<td>
<div class="doc-md-description">
<p>Optional count of processed lines.</p>
</div>
</td>
</tr>
<tr class="doc-section-item">
<td><code><span title="dagpipe.engine.ProgressMessage.blocks">blocks</span></code></td>
<td>
<code>int | None</code>
</td>
<td>
<div class="doc-md-description">
<p>Optional count of processed blocks.</p>
</div>
</td>
</tr>
<tr class="doc-section-item">
<td><code><span title="dagpipe.engine.ProgressMessage.count">count</span></code></td>
<td>
<code>int | None</code>
</td>
<td>
<div class="doc-md-description">
<p>Optional generic item count.</p>
</div>
</td>
</tr>
<tr class="doc-section-item">
<td><code><span title="dagpipe.engine.ProgressMessage.unit">unit</span></code></td>
<td>
<code>str | None</code>
</td>
<td>
<div class="doc-md-description">
<p>Optional unit for the count (e.g., 'pages').</p>
</div>
</td>
</tr>
<tr class="doc-section-item">
<td><code><span title="dagpipe.engine.ProgressMessage.raw_ocr_line">raw_ocr_line</span></code></td>
<td>
<code>str | None</code>
</td>
<td>
<div class="doc-md-description">
<p>Optional raw OCR line payload.</p>
</div>
</td>
</tr>
<tr class="doc-section-item">
<td><code><span title="dagpipe.engine.ProgressMessage.error">error</span></code></td>
<td>
<code>str | None</code>
</td>
<td>
<div class="doc-md-description">
<p>Optional error description.</p>
</div>
</td>
</tr>
<tr class="doc-section-item">
<td><code><span title="dagpipe.engine.ProgressMessage.step">step</span></code></td>
<td>
<code>str</code>
</td>
<td>
<div class="doc-md-description">
<p>Identifier of the step that emitted the message.</p>
</div>
</td>
</tr>
<tr class="doc-section-item">
<td><code><span title="dagpipe.engine.ProgressMessage.status">status</span></code></td>
<td>
<code>str</code>
</td>
<td>
<div class="doc-md-description">
<p>Status label associated with the step.</p>
</div>
</td>
</tr>
</tbody>
</table>
<details class="notes" open>
<summary>Notes</summary>
<p><strong>Guarantees:</strong></p>
<div class="language-text highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal">1</span>
<span class="normal">2</span></pre></div></td><td class="code"><div><pre><span></span><code>- Immutable after construction (attributes are never reassigned).
- Independent of pydantic; safe to construct in the engine core.
</code></pre></div></td></tr></table></div>
</details>
<p>Create a progress message.</p>
<p><span class="doc-section-title">Parameters:</span></p>
<table>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
</thead>
<tbody>
<tr class="doc-section-item">
<td><code>lines</code></td>
<td>
<code>int | None</code>
</td>
<td>
<div class="doc-md-description">
<p>Optional count of processed lines.</p>
</div>
</td>
<td>
<code>None</code>
</td>
</tr>
<tr class="doc-section-item">
<td><code>blocks</code></td>
<td>
<code>int | None</code>
</td>
<td>
<div class="doc-md-description">
<p>Optional count of processed blocks.</p>
</div>
</td>
<td>
<code>None</code>
</td>
</tr>
<tr class="doc-section-item">
<td><code>count</code></td>
<td>
<code>int | None</code>
</td>
<td>
<div class="doc-md-description">
<p>Optional generic item count.</p>
</div>
</td>
<td>
<code>None</code>
</td>
</tr>
<tr class="doc-section-item">
<td><code>unit</code></td>
<td>
<code>str | None</code>
</td>
<td>
<div class="doc-md-description">
<p>Optional unit for the count (e.g., 'pages').</p>
</div>
</td>
<td>
<code>None</code>
</td>
</tr>
<tr class="doc-section-item">
<td><code>raw_ocr_line</code></td>
<td>
<code>str | None</code>
</td>
<td>
<div class="doc-md-description">
<p>Optional raw OCR line payload.</p>
</div>
</td>
<td>
<code>None</code>
</td>
</tr>
<tr class="doc-section-item">
<td><code>error</code></td>
<td>
<code>str | None</code>
</td>
<td>
<div class="doc-md-description">
<p>Optional error description.</p>
</div>
</td>
<td>
<code>None</code>
</td>
</tr>
<tr class="doc-section-item">
<td><code>step</code></td>
<td>
<code>str</code>
</td>
<td>
<div class="doc-md-description">
<p>Identifier of the step that emitted the message.</p>
</div>
</td>
<td>
<code>&#39;&#39;</code>
</td>
</tr>
<tr class="doc-section-item">
<td><code>status</code></td>
<td>
<code>str</code>
</td>
<td>
<div class="doc-md-description">
<p>Status label associated with the step.</p>
</div>
</td>
<td>
<code>&#39;&#39;</code>
</td>
</tr>
</tbody>
</table>
<div class="doc doc-children">
@@ -1762,7 +2133,50 @@ callers can surface counts/lines/errors without coupling the engine to pydantic.
<h5 id="dagpipe.engine.ProgressMessage-functions">Functions</h5>
<div class="doc doc-object doc-function">
<h6 id="dagpipe.engine.ProgressMessage.as_dict" class="doc doc-heading">
<code class="doc-symbol doc-symbol-heading doc-symbol-method"></code> <span class="doc doc-object-name doc-function-name">as_dict</span>
</h6>
<div class="language-python doc-signature highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-0-1">1</a></span></pre></div></td><td class="code"><div><pre><span></span><code><span id="__span-0-1"><a id="__codelineno-0-1" name="__codelineno-0-1"></a><span class="nf">as_dict</span><span class="p">()</span> <span class="o">-&gt;</span> <span class="nb">dict</span><span class="p">[</span><span class="nb">str</span><span class="p">,</span> <span class="n">Any</span><span class="p">]</span>
</span></code></pre></div></td></tr></table></div>
<div class="doc doc-contents ">
<p>Return the message as a plain dictionary.</p>
<p><span class="doc-section-title">Returns:</span></p>
<table>
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr class="doc-section-item">
<td>
<code>dict[str, <span title="typing.Any">Any</span>]</code>
</td>
<td>
<div class="doc-md-description">
<p>dict[str, Any]:
All attribute values keyed by their attribute name.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>