splinter: the page knows about the fleet now

Added in both languages: hosts and delegate_parallel with the real report block,
MCP in both directions (client and server, read vs --autonomous), and the three
small ways in - piped stdin, splinter -c for the last session in this directory,
and --interview writing the profile.

Generated, not hand-edited: gen_www.py writes both pages and make check fails if
one drifts from the source.
This commit is contained in:
Konrad committed 2026-11-08 14:57:50 +00:00
1 parent fafbf7faa8
commit b2a18d831d
3 files changed
+153

No files matched your search

+37
View File
@@ -163,6 +163,43 @@ plugin = plugins/reminder/reminder.so</pre>
<li>Not a sandbox. Plugins run in the process with your rights — the classes protect the harness from the model, not from code you chose to load.</li>
</ul>
<h2>The fleet</h2>
<p>A delegate may name a host. The whole invocation then goes through ssh, so
claude, opencode or another splinter run where the model or the network is:</p>
<pre>delegate = olivia | on olivia | tags=remote | host=172.25.206.16 |
endpoint=http://172.25.206.2:18082/v1/chat/completions | model=...</pre>
<p><code>delegate_parallel</code> sends up to eight tasks at once and reports back
who delivered what:</p>
<pre>[parallel: 2 task(s), 12018 ms wall]
## task 1 | model slow | score 5 | 12018 ms | exit 0 | 75 B | requested tag 'slow'
## task 2 | model fast | score 5 | 16 ms | exit 0 | 74 B | requested tag 'fast'
## summary
- slow: 1 task(s), 12018 ms total
- fast: 1 task(s), 16 ms total</pre>
<p>Model, duration and status per task &mdash; a slow or failing delegate is visible
in the header before anybody reads its prose.</p>
<h2>Both directions: MCP</h2>
<p>As a client splinter fetches an MCP server's tools. As a server it offers its
own:</p>
<pre><span class="u">$</span> splinter --mcp-server-listen 0.0.0.0 --mcp-listen-port 8098
splinter: MCP server on 0.0.0.0:8098 (14 tools, read only)</pre>
<p>Another agent gets <code>initialize</code>, <code>tools/list</code> and
<code>tools/call</code>. Read tools are served; mutating and destructive ones only
with <code>--autonomous</code> &mdash; a foreign agent does not run shell commands
here because it asked nicely.</p>
<h2>Pipe, folder, first talk</h2>
<pre><span class="u">$</span> cat /etc/passwd | splinter "explain the file"
<span class="u">$</span> cd ~/src/splinter &amp;&amp; splinter -c <span class="d"># the last session that happened HERE</span>
<span class="u">$</span> splinter --interview <span class="d"># once: language, style, sacred paths</span></pre>
<p>Standard input becomes context, framed and size-capped;
<code>folder_history</code> tells the model what happened in a directory instead
of letting it guess; the profile from the interview lives in
<code>~/.splinter/profile/&lt;user&gt;.md</code>.</p>
<hr>
<p id="foot">splinter — C99/POSIX, BSD-3-Clause. Manual: <code>man ./docs/splinter.1</code> &middot; Plugin ABI: <code>docs/PLUGINS.md</code> &middot; We take things apart, rebuild them and keep them. Their systems: leave them alone unless asked.</p>
+38
View File
@@ -163,6 +163,44 @@ plugin = plugins/reminder/reminder.so</pre>
<li>Kein Sandkasten. Plugins laufen im Prozess mit deinen Rechten — die Klassen schuetzen vor dem Modell, nicht vor Code, den du selbst laedst.</li>
</ul>
<h2>Die Flotte</h2>
<p>Ein Delegate darf einen Host nennen. Dann geht der ganze Aufruf ueber ssh, und
claude, opencode oder ein zweiter splinter laufen dort, wo das Modell oder das
Netz ist:</p>
<pre>delegate = olivia | auf olivia | tags=remote | host=172.25.206.16 |
endpoint=http://172.25.206.2:18082/v1/chat/completions | model=...</pre>
<p><code>delegate_parallel</code> schickt bis zu acht Aufgaben gleichzeitig los
und berichtet zurueck, wer was geliefert hat:</p>
<pre>[parallel: 2 task(s), 12018 ms wall]
## task 1 | model slow | score 5 | 12018 ms | exit 0 | 75 B | requested tag 'slow'
## task 2 | model fast | score 5 | 16 ms | exit 0 | 74 B | requested tag 'fast'
## summary
- slow: 1 task(s), 12018 ms total
- fast: 1 task(s), 16 ms total</pre>
<p>Modell, Dauer und Status pro Aufgabe &mdash; ein lahmer oder kaputter Delegate
ist in der Kopfzeile sichtbar, bevor jemand seinen Text liest.</p>
<h2>Beide Richtungen: MCP</h2>
<p>Als Client holt splinter die Werkzeuge eines MCP-Servers. Als Server stellt es
seine eigenen hin:</p>
<pre><span class="u">$</span> splinter --mcp-server-listen 0.0.0.0 --mcp-listen-port 8098
splinter: MCP server on 0.0.0.0:8098 (14 tools, read only)</pre>
<p>Ein anderer Agent bekommt <code>initialize</code>, <code>tools/list</code> und
<code>tools/call</code>. Lesende Werkzeuge werden bedient, mutierende und
destruktive nur mit <code>--autonomous</code> &mdash; ein fremder Agent fuehrt hier
keine Shell aus, weil er freundlich fragt.</p>
<h2>Pipe, Ordner, Erstgespraech</h2>
<pre><span class="u">$</span> cat /etc/passwd | splinter "erklaer die Datei"
<span class="u">$</span> cd ~/src/splinter &amp;&amp; splinter -c <span class="d"># die letzte Session, die HIER war</span>
<span class="u">$</span> splinter --interview <span class="d"># einmal: Sprache, Stil, heilige Pfade</span></pre>
<p>Standardeingabe wird zu Kontext, markiert und groessenbegrenzt;
<code>folder_history</code> erzaehlt dem Modell, was in einem Verzeichnis passiert
ist, statt es raten zu lassen; das Profil aus dem Interview liegt in
<code>~/.splinter/profile/&lt;user&gt;.md</code>.</p>
<hr>
<p id="foot">splinter — C99/POSIX, BSD-3-Clause. Manual: <code>man ./docs/splinter.1</code> &middot; Plugin-ABI: <code>docs/PLUGINS.md</code> &middot; Wir nehmen auseinander, bauen nach und behalten. Ihre Systeme: in Ruhe lassen, wenn nicht gefragt.</p>
+78
View File
@@ -362,6 +362,84 @@ SECTIONS = {
}
# Sections added after the first version: the fleet, both directions of MCP, and
# the three small ways in (pipe, folder, first talk).
SECTIONS["de"] += [
"""<h2>Die Flotte</h2>
<p>Ein Delegate darf einen Host nennen. Dann geht der ganze Aufruf ueber ssh, und
claude, opencode oder ein zweiter splinter laufen dort, wo das Modell oder das
Netz ist:</p>
<pre>delegate = olivia | auf olivia | tags=remote | host=172.25.206.16 |
endpoint=http://172.25.206.2:18082/v1/chat/completions | model=...</pre>
<p><code>delegate_parallel</code> schickt bis zu acht Aufgaben gleichzeitig los
und berichtet zurueck, wer was geliefert hat:</p>
<pre>[parallel: 2 task(s), 12018 ms wall]
## task 1 | model slow | score 5 | 12018 ms | exit 0 | 75 B | requested tag 'slow'
## task 2 | model fast | score 5 | 16 ms | exit 0 | 74 B | requested tag 'fast'
## summary
- slow: 1 task(s), 12018 ms total
- fast: 1 task(s), 16 ms total</pre>
<p>Modell, Dauer und Status pro Aufgabe &mdash; ein lahmer oder kaputter Delegate
ist in der Kopfzeile sichtbar, bevor jemand seinen Text liest.</p>""",
"""<h2>Beide Richtungen: MCP</h2>
<p>Als Client holt splinter die Werkzeuge eines MCP-Servers. Als Server stellt es
seine eigenen hin:</p>
<pre><span class="u">$</span> splinter --mcp-server-listen 0.0.0.0 --mcp-listen-port 8098
splinter: MCP server on 0.0.0.0:8098 (14 tools, read only)</pre>
<p>Ein anderer Agent bekommt <code>initialize</code>, <code>tools/list</code> und
<code>tools/call</code>. Lesende Werkzeuge werden bedient, mutierende und
destruktive nur mit <code>--autonomous</code> &mdash; ein fremder Agent fuehrt hier
keine Shell aus, weil er freundlich fragt.</p>""",
"""<h2>Pipe, Ordner, Erstgespraech</h2>
<pre><span class="u">$</span> cat /etc/passwd | splinter "erklaer die Datei"
<span class="u">$</span> cd ~/src/splinter &amp;&amp; splinter -c <span class="d"># die letzte Session, die HIER war</span>
<span class="u">$</span> splinter --interview <span class="d"># einmal: Sprache, Stil, heilige Pfade</span></pre>
<p>Standardeingabe wird zu Kontext, markiert und groessenbegrenzt;
<code>folder_history</code> erzaehlt dem Modell, was in einem Verzeichnis passiert
ist, statt es raten zu lassen; das Profil aus dem Interview liegt in
<code>~/.splinter/profile/&lt;user&gt;.md</code>.</p>""",
]
SECTIONS["en"] += [
"""<h2>The fleet</h2>
<p>A delegate may name a host. The whole invocation then goes through ssh, so
claude, opencode or another splinter run where the model or the network is:</p>
<pre>delegate = olivia | on olivia | tags=remote | host=172.25.206.16 |
endpoint=http://172.25.206.2:18082/v1/chat/completions | model=...</pre>
<p><code>delegate_parallel</code> sends up to eight tasks at once and reports back
who delivered what:</p>
<pre>[parallel: 2 task(s), 12018 ms wall]
## task 1 | model slow | score 5 | 12018 ms | exit 0 | 75 B | requested tag 'slow'
## task 2 | model fast | score 5 | 16 ms | exit 0 | 74 B | requested tag 'fast'
## summary
- slow: 1 task(s), 12018 ms total
- fast: 1 task(s), 16 ms total</pre>
<p>Model, duration and status per task &mdash; a slow or failing delegate is visible
in the header before anybody reads its prose.</p>""",
"""<h2>Both directions: MCP</h2>
<p>As a client splinter fetches an MCP server's tools. As a server it offers its
own:</p>
<pre><span class="u">$</span> splinter --mcp-server-listen 0.0.0.0 --mcp-listen-port 8098
splinter: MCP server on 0.0.0.0:8098 (14 tools, read only)</pre>
<p>Another agent gets <code>initialize</code>, <code>tools/list</code> and
<code>tools/call</code>. Read tools are served; mutating and destructive ones only
with <code>--autonomous</code> &mdash; a foreign agent does not run shell commands
here because it asked nicely.</p>""",
"""<h2>Pipe, folder, first talk</h2>
<pre><span class="u">$</span> cat /etc/passwd | splinter "explain the file"
<span class="u">$</span> cd ~/src/splinter &amp;&amp; splinter -c <span class="d"># the last session that happened HERE</span>
<span class="u">$</span> splinter --interview <span class="d"># once: language, style, sacred paths</span></pre>
<p>Standard input becomes context, framed and size-capped;
<code>folder_history</code> tells the model what happened in a directory instead
of letting it guess; the profile from the interview lives in
<code>~/.splinter/profile/&lt;user&gt;.md</code>.</p>""",
]
def render(lang):
strings = dict(T[lang])
strings["lang"] = lang