planner: v0.2, state in plan_task_*.json via libmcp, atomic replace, refused states.
tmux: v0.3, in-process capture-pane diff, no watcher helper, tmux_ask/read/capture.
tests: test_tmux added, test_delegate_cli no longer hangs without a tty.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
a2a_send posts SendMessage with a text part and, when a path is given, a file
part: base64 bytes, a name (the path's last component) and a media type
guessed from the name, at most 8 MiB -- the same cap the server enforces on
the way in. The answer is text; a file the other side sends back is saved by
collect_parts and named by path, which the tool returns.
sp_b64_encode is the missing direction of the base64 helper, with vectors of
its own in test_b64: empty input, one and two trailing bytes, a NUL.
test_a2a: a real PNG is attached, the request carries name, mimeType and the
base64 bytes, and the other side names it in the answer; a missing path is an
error, not a silent empty message.
The client half had GetTask and CancelTask; a subscription is the one that
shows what a task is doing. The tool posts SubscribeToTask and reads the SSE
stream into one observation: each statusUpdate's state and message, each
artifactUpdate's text, and a whole task if the server sends it that way, in
the order the events arrived. A plain JSON-RPC answer -- usually the
TaskNotFound error -- is read too, so a refused subscription says -32001
instead of 'no events'.
The fake agent answers SubscribeToTask with a status update plus an artifact;
test_a2a drives the tool through the script transport and checks the happy
path and the unknown id.
sendPhoto and sendDocument are one upload path now: send_upload() takes the
method and the form field, so  leaves the chat as a
document with the alt text as caption, in the order of the answer. The photo
branch still checks the bytes (PNG/JPEG/GIF/WebP, 10 MiB), so a text file
cannot ride in as a photo; documents are capped at 50 MiB and have to be a
readable regular file. A missing or unreadable path stays a reference in the
chat.
test_gateway: a local PNG is a photo, a text file is a document, and neither
leaves the markdown in the chat.
 and  are sent with sendPhoto as a
multipart upload (-F photo=@path), in the order of the answer, the alt text as
caption -- the same path a URL takes, except that the bytes come from this
machine.
Only a regular file that really is a PNG, JPEG, GIF or WebP up to 10 MiB is
uploaded, so the chat cannot be turned into a way to post arbitrary files.
Anything else (missing, unreadable, not an image, too big) falls back to
sending the reference as text.
tg_curl is split into tg_run(args) + tg_curl(json), so the upload passes -F
without duplicating the pipe, timeout and waitpid handling.
test_gateway: a local PNG goes out as a photo with its caption; a text file
named in the alt text is not uploaded and stays a reference.
 is sent with sendPhoto (Telegram fetches the URL), the
alt text as caption, in the order the answer was written: text, photo, text.
An image inside a fenced block, an inline code span or a table row is left
alone -- lifting it out of a table would break the table.
When Telegram refuses the photo (unreachable URL, wrong type), the link goes
out as text instead: a broken image must not swallow the answer.
test_gateway: the photo call with its caption, the text before and after it,
no markdown image in the chat, and an image inside code staying text.
/new (and /reset) opens a new session file in the same directory, drops the
conversation back to the system prompt and, in the gateway, resets the
interview/connect state so a half-finished flow does not survive the reset.
The old session file stays: it is the record of what was said. In the TUI the
history pane is cleared, because it shows the old conversation. The directory
is read before the static session struct is cleared, or the second /new would
start from an empty path.
/connect exists in the TUI now: the same four questions, one answer per line,
the same validation and presets, and connect.nodir when the run has no config
file to write to (--no-config).
conv.c grows sp_conv_reset(), which frees every message and puts the system
prompt back.
test_gateway checks /new (message and a new session file); test_ui checks
/new in the pane and the /connect guard with --no-config.
The last refused method. This server answers one request at a time, so while
a subscription is open the task cannot make progress: a live feed would be a
promise it could not keep. It sends one statusUpdate with the state and its
message (the answer, or the INPUT_REQUIRED question) and ends the stream; an
unknown id is TaskNotFound. The header no longer claims streaming is not
served, either.
test_a2a_server checks the replay for a stored task and the -32001 for an
unknown id.
/model writes its choice to <config>.d/90-model.conf, so the next start uses
it; picking main deletes the file and the configuration speaks again. With a
plugin transport nothing is written, because that program picks the model.
/model probe asks every endpoint /v1/models and offers what it really serves
as buttons; the callback carries an index, because a GGUF path does not fit
in Telegram's 64 bytes. The TUI gets the same command: the list, or
/model <id|name>, with the same persistence.
/connect runs one tiny turn against the provider it just saved (30 s) and
says whether endpoint, model and key answer. The message with the buttons
goes out before the wait starts, so the save is visible immediately.
A2A no longer refuses binary parts: file{bytes} and raw with a non-text media
type are written to the session's inbox (0600, 8 MiB cap) and the prompt says
[file <name> at <path> (mime, n bytes)], so a text model can hand the file to
a tool. The client saves what a remote agent sends the same way
(SPLINTER_A2A_INBOX). SubscribeToTask stays refused: the task store has no
live events, and a one-shot replay would pretend to be a subscription.
Markdown gains <https://...> autolinks and images (as links, since Telegram
has no inline image without sendPhoto).
/model offers the models the configuration names -- the main endpoint,
every delegate with a model, every exit -- as inline buttons and points the
agent's transport at the one that is pressed. /model <name> keeps the
endpoint and takes another model from it. A provider whose key variable is
not exported is marked in the menu. The choice is not written: it lasts for
the session, a restart goes back to the config.
/connect asks for name, endpoint, model and key variable, validates each
answer, and writes the delegate line to <config>.d/20-connect.conf before
anything is used, so the same run has the provider and the next start loads
it. and [?2031h]10;?]11;?[>0q[?25l[s[6nP+q4d73\[?1016$p[?2027$p[?2031$p[?1004$p[?2004$p[?2026$p[?u]99;i=opentui-notifications:p=?;\]1337;Capabilities\]7501;?\[H]66;w=1; \[6n[H]66;s=2; \[6n[u[s[?1049h[?25l[>4;1m[?2004h[?1000h[?1002h[?1003h[?1006h[14t]7501;state=idle:app=opencode\[?2026h[?25l[1;1H[38;2;255;255;255m[48;2;17;28;24m [2;1H[38;2;255;255;255m[48;2;17;28;24m [3;1H[38;2;255;255;255m[48;2;17;28;24m [4;1H[38;2;255;255;255m[48;2;17;28;24m [5;1H[38;2;255;255;255m[48;2;17;28;24m [6;1H[38;2;255;255;255m[48;2;17;28;24m [7;1H[38;2;255;255;255m[48;2;17;28;24m [8;1H[38;2;255;255;255m[48;2;17;28;24m [9;1H[38;2;255;255;255m[48;2;17;28;24m [10;1H[38;2;255;255;255m[48;2;17;28;24m [11;1H[38;2;255;255;255m[48;2;17;28;24m [12;1H[38;2;255;255;255m[48;2;17;28;24m [13;1H[38;2;255;255;255m[48;2;17;28;24m [14;1H[38;2;255;255;255m[48;2;17;28;24m [15;1H[38;2;255;255;255m[48;2;17;28;24m [16;1H[38;2;255;255;255m[48;2;17;28;24m [17;1H[38;2;255;255;255m[48;2;17;28;24m [18;1H[38;2;255;255;255m[48;2;17;28;24m [19;1H[38;2;255;255;255m[48;2;17;28;24m [20;1H[38;2;255;255;255m[48;2;17;28;24m [21;1H[38;2;255;255;255m[48;2;17;28;24m [22;1H[38;2;255;255;255m[48;2;17;28;24m [23;1H[38;2;255;255;255m[48;2;17;28;24m [24;1H[38;2;255;255;255m[48;2;17;28;24m [0m]22;default\[?2026l]0;OpenCode[?2026h[?25l[7;22H[38;2;83;104;91m[48;2;17;28;24m [0m[7;42H[38;2;193;196;151m[48;2;17;28;24m[1m ▄[7;56H [0m[8;22H[38;2;83;104;91m[48;2;17;28;24m█[8;23H▀[8;24H▀[8;25H█[8;26H █[8;28H▀[8;29H▀[8;30H█[8;31H █[8;33H▀[8;34H▀[8;35H█[8;36H █[8;38H▀[8;39H▀[8;40H▄[8;41H[0m[8;42H[38;2;193;196;151m[48;2;17;28;24m[1m█[8;43H▀[8;44H▀[8;45H▀[8;46H █[8;48H▀[8;49H▀[8;50H█[8;51H █[8;53H▀[8;54H▀[8;55H█[8;56H █[8;58H▀[8;59H▀[8;60H█[8;61H[0m[9;22H[38;2;83;104;91m[48;2;17;28;24m█[9;23H[0m[9;23H[38;2;83;104;91m[48;2;34;47;41m [0m[9;25H[38;2;83;104;91m[48;2;17;28;24m█[9;26H █[9;28H[0m[9;28H[38;2;83;104;91m[48;2;34;47;41m [0m[9;30H[38;2;83;104;91m[48;2;17;28;24m█[9;31H █[9;33H[0m[9;33H[38;2;83;104;91m[48;2;34;47;41m▀[9;34H▀[9;35H▀[9;36H[0m[9;36H[38;2;83;104;91m[48;2;17;28;24m █[9;38H[0m[9;38H[38;2;83;104;91m[48;2;34;47;41m [0m[9;40H[38;2;83;104;91m[48;2;17;28;24m█[9;41H[0m[9;42H[38;2;193;196;151m[48;2;17;28;24m[1m█[9;43H[0m[9;43H[38;2;193;196;151m[48;2;61;70;56m[1m [0m[9;46H[38;2;193;196;151m[48;2;17;28;24m[1m █[9;48H[0m[9;48H[38;2;193;196;151m[48;2;61;70;56m[1m [0m[9;50H[38;2;193;196;151m[48;2;17;28;24m[1m█[9;51H █[9;53H[0m[9;53H[38;2;193;196;151m[48;2;61;70;56m[1m [0m[9;55H[38;2;193;196;151m[48;2;17;28;24m[1m█[9;56H █[9;58H[0m[9;58H[38;2;193;196;151m[48;2;61;70;56m[1m▀[9;59H▀[9;60H▀[9;61H[0m[10;22H[38;2;83;104;91m[48;2;17;28;24m▀[10;23H▀[10;24H▀[10;25H▀[10;26H █[10;28H▀[10;29H▀[10;30H▀[10;31H ▀[10;33H▀[10;34H▀[10;35H▀[10;36H ▀[10;38H[0m[10;38H[38;2;34;47;41m[48;2;17;28;24m▀[10;39H▀[10;40H[0m[10;40H[38;2;83;104;91m[48;2;17;28;24m▀[10;41H[0m[10;42H[38;2;193;196;151m[48;2;17;28;24m[1m▀[10;43H▀[10;44H▀[10;45H▀[10;46H ▀[10;48H▀[10;49H▀[10;50H▀[10;51H ▀[10;53H▀[10;54H▀[10;55H▀[10;56H ▀[10;58H▀[10;59H▀[10;60H▀[10;61H[0m[13;4H[38;2;61;74;68m[48;2;17;28;24m┃[0m[13;5H[38;2;255;255;255m[48;2;35;55;43m [0m[14;4H[38;2;61;74;68m[48;2;17;28;24m┃[0m[14;5H[38;2;255;255;255m[48;2;35;55;43m [0m[14;7H[38;2;83;104;91m[48;2;35;55;43mAsk anything…[14;20H "What is the tech stack of this project?"[0m[14;62H[38;2;255;255;255m[48;2;35;55;43m [0m[15;4H[38;2;61;74;68m[48;2;17;28;24m┃[0m[15;5H[38;2;255;255;255m[48;2;35;55;43m [0m[16;4H[38;2;61;74;68m[48;2;17;28;24m┃[0m[16;5H[38;2;255;255;255m[48;2;35;55;43m [0m[17;4H[38;2;61;74;68m[48;2;17;28;24m╹[0m[17;5H[38;2;35;55;43m[48;2;17;28;24m▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀[0m[18;4H[38;2;83;104;91m[48;2;17;28;24m~/src/splinter:main[0m[18;46H[38;2;193;196;151m[48;2;17;28;24mshift+tab [0m[18;56H[38;2;83;104;91m[48;2;17;28;24magents[0m[18;64H[38;2;193;196;151m[48;2;17;28;24mctrl+p [0m[18;71H[38;2;83;104;91m[48;2;17;28;24mcommands[0m[23;74H[38;2;83;104;91m[48;2;17;28;24m2.2.6[0m[0m]12;#c1c497[1 q[14;7H[?25h[?2026l[?2026h[?25l[13;4H[38;2;67;74;68m[48;2;17;28;24m┃[0m[14;4H[38;2;67;74;68m[48;2;17;28;24m┃[0m[15;4H[38;2;67;74;68m[48;2;17;28;24m┃[0m[16;4H[38;2;67;74;68m[48;2;17;28;24m┃[0m[16;7H[38;2;41;56;44m[48;2;35;55;43mBuild[0m[16;13H[38;2;36;56;44m[48;2;35;55;43m·[16;14H[0m[16;15H[38;2;39;59;46m[48;2;35;55;43mDeepSeek V4.1 Flash 1017[0m[16;40H[38;2;36;56;44m[48;2;35;55;43mOllama Cloud[0m[17;4H[38;2;67;74;68m[48;2;17;28;24m╹[0m[0m[14;7H[?25h[?2026l[?2026h[?25l[13;4H[38;2;82;75;68m[48;2;17;28;24m┃[0m[14;4H[38;2;82;75;68m[48;2;17;28;24m┃[0m[15;4H[38;2;82;75;68m[48;2;17;28;24m┃[0m[16;4H[38;2;82;75;68m[48;2;17;28;24m┃[0m[16;7H[38;2;58;58;46m[48;2;35;55;43mBuild[0m[16;13H[38;2;40;60;48m[48;2;35;55;43m·[16;14H[0m[16;15H[38;2;52;70;54m[48;2;35;55;43mDeepSeek V4.1 Flash 1017[0m[16;40H[38;2;40;60;48m[48;2;35;55;43mOllama Cloud[0m[17;4H[38;2;82;75;68m[48;2;17;28;24m╹[0m[0m[14;7H[?25h[?2026l[?2026h[?25l[13;4H[38;2;104;76;68m[48;2;17;28;24m┃[0m[14;4H[38;2;104;76;68m[48;2;17;28;24m┃[0m[15;4H[38;2;104;76;68m[48;2;17;28;24m┃[0m[16;4H[38;2;104;76;68m[48;2;17;28;24m┃[0m[16;7H[38;2;83;61;49m[48;2;35;55;43mBuild[0m[16;13H[38;2;46;66;54m[48;2;35;55;43m·[16;14H[0m[16;15H[38;2;70;86;67m[48;2;35;55;43mDeepSeek V4.1 Flash 1017[0m[16;40H[38;2;46;66;54m[48;2;35;55;43mOllama Cloud[0m[17;4H[38;2;104;76;68m[48;2;17;28;24m╹[0m[0m[14;7H[?25h[?2026l[?2026h[?25l[13;4H[38;2;130;77;68m[48;2;17;28;24m┃[0m[14;4H[38;2;130;77;68m[48;2;17;28;24m┃[0m[15;4H[38;2;130;77;68m[48;2;17;28;24m┃[0m[16;4H[38;2;130;77;68m[48;2;17;28;24m┃[0m[16;7H[38;2;114;65;52m[48;2;35;55;43mBuild[0m[16;13H[38;2;52;72;60m[48;2;35;55;43m·[16;14H[0m[16;15H[38;2;91;105;82m[48;2;35;55;43mDeepSeek V4.1 Flash 1017[0m[16;40H[38;2;52;72;60m[48;2;35;55;43mOllama Cloud[0m[17;4H[38;2;130;77;68m[48;2;17;28;24m╹[0m[0m[14;7H[?25h[?2026l[?2026h[?25l[13;4H[38;2;159;79;69m[48;2;17;28;24m┃[0m[14;4H[38;2;159;79;69m[48;2;17;28;24m┃[0m[15;4H[38;2;159;79;69m[48;2;17;28;24m┃[0m[16;4H[38;2;159;79;69m[48;2;17;28;24m┃[0m[16;7H[38;2;146;69;56m[48;2;35;55;43mBuild[0m[16;13H[38;2;59;80;67m[48;2;35;55;43m·[16;14H[0m[16;15H[38;2;115;126;98m[48;2;35;55;43mDeepSeek V4.1 Flash 1017[0m[16;40H[38;2;59;80;67m[48;2;35;55;43mOllama Cloud[0m[17;4H[38;2;159;79;69m[48;2;17;28;24m╹[0m[0m[14;7H[?25h[?2026l[?2026h[?25l[13;4H[38;2;199;80;69m[48;2;17;28;24m┃[0m[14;4H[38;2;199;80;69m[48;2;17;28;24m┃[0m[15;4H[38;2;199;80;69m[48;2;17;28;24m┃[0m[16;4H[38;2;199;80;69m[48;2;17;28;24m┃[0m[16;7H[38;2;191;75;61m[48;2;35;55;43mBuild[0m[16;13H[38;2;69;90;77m[48;2;35;55;43m·[16;14H[0m[16;15H[38;2;147;155;120m[48;2;35;55;43mDeepSeek V4.1 Flash 1017[0m[16;40H[38;2;69;90;77m[48;2;35;55;43mOllama Cloud[0m[17;4H[38;2;199;80;69m[48;2;17;28;24m╹[0m[0m[14;7H[?25h[?2026l[?2026h[?25l[13;4H[38;2;224;82;69m[48;2;17;28;24m┃[0m[14;4H[38;2;224;82;69m[48;2;17;28;24m┃[0m[15;4H[38;2;224;82;69m[48;2;17;28;24m┃[0m[16;4H[38;2;224;82;69m[48;2;17;28;24m┃[0m[16;7H[38;2;220;78;65m[48;2;35;55;43mBuild[0m[16;13H[38;2;75;96;83m[48;2;35;55;43m·[16;14H[0m[16;15H[38;2;168;173;134m[48;2;35;55;43mDeepSeek V4.1 Flash 1017[0m[16;40H[38;2;75;96;83m[48;2;35;55;43mOllama Cloud[0m[17;4H[38;2;224;82;69m[48;2;17;28;24m╹[0m[0m[14;7H[?25h[?2026l[?2026h[?25l[13;4H[38;2;243;82;69m[48;2;17;28;24m┃[0m[14;4H[38;2;243;82;69m[48;2;17;28;24m┃[0m[15;4H[38;2;243;82;69m[48;2;17;28;24m┃[0m[16;4H[38;2;243;82;69m[48;2;17;28;24m┃[0m[16;7H[38;2;241;81;67m[48;2;35;55;43mBuild[0m[16;13H[38;2;80;101;88m[48;2;35;55;43m·[16;14H[0m[16;15H[38;2;183;187;144m[48;2;35;55;43mDeepSeek V4.1 Flash 1017[0m[16;40H[38;2;80;101;88m[48;2;35;55;43mOllama Cloud[0m[17;4H[38;2;243;82;69m[48;2;17;28;24m╹[0m[0m[14;7H[?25h[?2026l[?2026h[?25l[13;4H[38;2;254;83;69m[48;2;17;28;24m┃[0m[14;4H[38;2;254;83;69m[48;2;17;28;24m┃[0m[15;4H[38;2;254;83;69m[48;2;17;28;24m┃[0m[16;4H[38;2;254;83;69m[48;2;17;28;24m┃[0m[16;7H[38;2;254;83;69m[48;2;35;55;43mBuild[0m[16;13H[38;2;83;104;91m[48;2;35;55;43m·[16;14H[0m[16;15H[38;2;192;195;151m[48;2;35;55;43mDeepSeek V4.1 Flash 1017[0m[16;40H[38;2;83;104;91m[48;2;35;55;43mOllama Cloud[0m[17;4H[38;2;254;83;69m[48;2;17;28;24m╹[0m[0m[14;7H[?25h[?2026l[?2026h[?25l[13;4H[38;2;255;83;69m[48;2;17;28;24m┃[0m[14;4H[38;2;255;83;69m[48;2;17;28;24m┃[0m[15;4H[38;2;255;83;69m[48;2;17;28;24m┃[0m[16;4H[38;2;255;83;69m[48;2;17;28;24m┃[0m[16;7H[38;2;255;83;69m[48;2;35;55;43mBuild[0m[16;15H[38;2;193;196;151m[48;2;35;55;43mDeepSeek V4.1 Flash 1017[0m[17;4H[38;2;255;83;69m[48;2;17;28;24m╹[0m[0m[14;7H[?25h[?2026l]7501;state=clear\[?25h[0m]22;\[>4;0m[?1003l[?1002l[?1000l[?1006l[?2004l[?1049l[?2031l]0;]12;default]112[0 q[?25h[?25h stand for their usual endpoints. The drop-in
goes next to the file that was actually read (sp_config_loaded_path), not
next to a path guessed from the environment, so --config works.
providers.c holds the list, the validation, the transport switch and the
provider identity main.c used to compute inline. test_providers covers the
list, the refusals, replacement of a line and a reload of what was written;
test_gateway presses the model button, proves the next turn goes to the new
endpoint (the test one is dead) and runs /connect to the written file.
A chat that shows **fett**, |---| and <b> lost the answer's shape. tgmd.c
turns bold, italic, strike, inline code, fenced blocks, links, headings,
bullets and quotes into the tags parse_mode=HTML accepts and escapes
everything else, so a '<' stays text and snake_case_name stays a name.
Tables keep the shape the terminal chat gives them: aligned columns in
<pre>.
Telegram's 4096 cap is met by splitting the rendered HTML at tag and
entity boundaries, closing open tags at the end of a piece and reopening
them at the start of the next. A piece the API refuses to parse is resent
stripped, because losing the shape is better than losing the answer.
SPLINTER_TG_MARKDOWN=0 keeps the old plain-text path.
test_tgmd pins the renderer and the chunker; test_gateway asserts the bot
sends parse_mode=HTML with <b>/<code> and a table in <pre>.
sp_agent_run can stop before a mutating tool when an approval callback
returns 2; the assistant call is in the conversation, no observation is.
sp_agent_resume(decision) runs the pending calls, adds the observations
and continues the model loop. Normal callers are unchanged: the ack, UI
and gateway paths still return 0/1.
The A2A server pauses as TASK_STATE_INPUT_REQUIRED, keeps the task and
its context, and resumes on SendMessage with the same taskId and
yes/no. CancelTask cancels a paused task. SendStreamingMessage has no
resume point and denies mutating tools instead.
test_pause covers allow/deny in the agent; test_a2a_input covers the
whole HTTP flow (yes, no, cancel). Full make check green (33 C tests).
A text/plain url part is fetched from loopback or a host in
SPLINTER_A2A_URL_ALLOW (1 MiB, no redirects); binary and other media
types stay refused. The four push-config methods create/get/list/delete
in-memory configs per task.
~/.local/lib is a real directory now: libsplinter.so plus a node_modules
symlink to ../npm/node_modules. The npm tree is not leftover -- it is
the mcp-local-memory MCP server and the Python user dirs -- so npm
root -g, the module and the installed splinter are verified working;
nothing was deleted.
Full make check green.
The plugin registers a2a_get_task (read) and a2a_cancel_task
(destructive) for a local model that uses A2A as a tool source; both
share the endpoint or card and return the raw task/error JSON.
The server's GetTask result was wrapped as {"task": ...}; the spec's
result is the Task itself. Fixed, and the test checks the shape.
The website's tool-count regex missed digits, so a2a_get_task and
a2a_cancel_task were not counted; [a-z0-9_]+ now reports 25.
test_a2a drives both tools through the mock transport and checks the
session observations. Full make check green.
A taskPushNotificationConfig in SendMessage/SendStreamingMessage posts
the completed Task (one StreamResponse) to its URL after the response.
Loopback is allowed; other hosts need SPLINTER_A2A_PUSH_ALLOW (comma
separated, '*' for all), so a client cannot turn the server into an SSRF
probe. The config token goes as X-A2A-Notification-Token, the
authentication as Authorization. The card says pushNotifications:true;
the standalone CRUD methods answer UnsupportedOperation (-32004).
test_a2a_server starts a fake webhook on loopback and checks the task,
the bearer credential and the token; a non-allowlisted host is refused
with -32003 before the turn. Full make check green.
The server accepts text, a string in data, and a text/plain raw part
(base64) via the new sp_b64_decode; a url part (not fetched) or a binary
part is refused with ContentTypeNotSupported (-32005). The client reads
text, string data and text/plain raw, ignoring parts it cannot render.
The agent card now says streaming:true and pushNotifications:false.
test_b64 covers the decoder; test_a2a reads raw/data from the fake
agent; test_a2a_server accepts a raw part and refuses a url. test_ui
waits for the turn label to disappear after Ctrl-C before typing again.
Full make check green.
test_ack used one fixed /var/tmp path; a leftover or a second run could
delete a request under another. It now mkdtemps a private directory (and
one for the world-writable case) and waits 10 s instead of 5.
test_gateway and test_ui check that the fake Bot API really started
(readiness plus kill -0) and print its log instead of racing a dead
server; the gateway waits 60 s for a turn under load. test_ui lets the
input process the typed keys before Ctrl-L instead of assuming one
delivery order.
Full make check green.
check_usage demanded a transport before the ack/interview paths ran, so
'--no-config --interview' failed with 'no transport' even though neither
path runs a model. Exempt the ack and interview modes.
tests/test_interview.sh pipes six answers through the real binary,
checks the English catalogue prompts, the skipped marker and the written
profile. README notes that the questions follow the locale.
No German question texts in interview.c: the question table holds
catalogue keys, the prompt/hint/save API uses sp_t, and the intro,
profile header, skipped marker, written line and errors are translated
too. The profile section keys stay stable English schema names. The
CLI and the Telegram /interview read the same entries, so the default
English process asks English questions.
reply.empty replaces the hardcoded '(leer)' in the gateway. de/en/pt
entries added; check_i18n passes with 97 keys.
The same questions as splinter --interview, one message per answer;
/skip skips one and /cancel stops. The answers go through the shared
profile writer (sp_interview_save), so the file is the same as the
terminal path. The menu registers /interview next to start and help.
interview.c grows count/prompt/hint/save; the CLI uses the same API, so
the questions live in one place. The README said seven questions, the
array has six; fixed.
test_gateway.sh answers all six questions through the fake Bot API and
checks the written profile.
A program in ~/.splinter/commands now replies in the Telegram chat with
its output; the TUI keeps feeding the same output to the model as
context. A slash command that is neither a plugin command nor a program
answers with 'unknown command' plus the live command list instead of
being sent to the model.
test_gateway.sh runs /hello and /nosuch and checks that neither starts a
model turn. README, PLUGINS.md, TODO and the site follow.
setMyCommands is built at startup from /start, /help, every command a
loaded plugin registers and every program in ~/.splinter/commands whose
name is a valid Telegram command. /start and /help list the same live
set in the chat; a name Telegram cannot take (a dot, upper case, over 32
characters) stays usable in the chat but cannot appear in the menu.
The live bot now shows start, help, goal, recap and the local uptime
script; loading another plugin adds its command without editing the
gateway. test_gateway.sh loads focus and a command script and checks
that both reach the menu.
The gateway registers /start, /help, /goal, /recap and /tasks with
setMyCommands, so Telegram's menu button lists them; /start and /help
answer with the short help text. Descriptions come from the catalogue.
An approval is sent with an inline keyboard now. A callback_query from
an allowed user resolves the ack, answers the button, removes the
keyboard and confirms in the chat; the text form ok <id> / no <id> still
works. tests/fake_telegram.py logs the menu and the markup and drives a
stranger callback (ignored) plus the real one; test_gateway.sh checks
both.
The real round trip is proven: request 548769685 was answered in
Telegram and the write ran. The installed ~/.splinter/bin/tg-ask was a
stale copy without the token path and was replaced by tools/tg-ask.sh.
fake_telegram.py also keeps the markdown-table branch that test_ui.sh
needs.
The diagnostic path for a delegate that fails: the observation carries
the child's exit status, its own error text and the job line, with no
model turn and no transport. On 2026-11-10
'--delegate claude0 -p "sage nur: beta"' answers beta, so the old
exit 2 is not reproducible; TODO moves it to done and keeps the command
as the way to check again.
The A2A server also uses the spec's codes for what it refuses now:
CancelTask -32002 (TaskNotCancelable), push configuration -32003,
SubscribeToTask -32004.
test_delegate_cli.sh covers the run, an unknown id and a missing task;
test_a2a_server.sh covers the cancel and push errors. README, man page,
TODO and the site follow.
The widget tick calls load_tasks() every five seconds; a tool updating a
task at the same moment had its array reset under it, which made
test_planner fail intermittently (about one run in six). A recursive
mutex now covers the three tools, the /tasks command and the tick; the
reload and the save happen under the same lock.
Found by running test_planner repeatedly after a full check failed once;
20 consecutive runs pass now.
The server keeps up to 16 conversations, keyed by contextId and evicted
LRU-style. A message with a known id continues it; without one the server
generates an id and returns it in the task, so callers that send no
context at all do not share a history. The session log still records
every turn.
test_a2a_context.sh uses a fake OpenAI endpoint that answers with the
number of user messages it received: fresh=1, same context=2, another
context=1, and continuing with the generated id reaches 2. README,
PLUGINS.md, TODO, ROADMAP and the site follow.
The server can list the stored tasks now, optionally filtered by
contextId, with the pagination fields the spec requires. The test checks
the stored task and an empty list for another context. Docs and the site
name the method.
SendStreamingMessage on the A2A server answers with SSE now: an initial
task event in WORKING, one artifactUpdate per streamed chunk (a
non-streaming transport sends its whole answer as one chunk), then a
completed statusUpdate. An error becomes an error event; the task is
still stored for GetTask.
test_a2a_server.sh runs the client half against the server half through
the agent card, blocking and streaming, besides the direct curl checks.
README, PLUGINS.md, TODO, ROADMAP and the site follow.
src/a2aserver.c is a minimal HTTP/1.1 + JSON-RPC endpoint:
--a2a-server-listen and --a2a-listen-port. SendMessage runs one turn in
its own conversation (system prompt plus the caller's text) and returns a
completed Task; GetTask returns it from the in-memory store;
GET /.well-known/agent-card.json serves a card with the JSONRPC interface.
Beyond loopback SPLINTER_A2A_SERVER_TOKEN is required and checked as an
Authorization: Bearer header. One request at a time, one connection at a
time, no TLS.
Streaming, CancelTask/SubscribeToTask, file/structured parts, push
notifications and continuation of an interrupted task are refused with a
JSON-RPC error instead of half-answered.
test_a2a_server.sh covers the card, SendMessage, GetTask, the streaming
refusal and the token. README, PLUGINS.md, the man page and the site
follow.
SPLINTER_A2A_CARD names the card; the first send picks the JSONRPC entry
from supportedInterfaces, falls back to the older single url field, and
keeps the discovered URL for the session. SPLINTER_A2A_URL still wins
when both are set. The card fetch uses the same secret handling as a
send: the bearer token goes through curl's stdin.
The fake agent serves both card shapes, and test_a2a.sh covers discovery
with and without supportedInterfaces.
The A2A transport implements send_stream now: SSE events are read as
StreamResponse (task, message, statusUpdate, artifactUpdate), artifact and
message text goes to the screen as it arrives, intermediate status notes
are ignored, and a completed status message is the answer only when no
artifact or direct message text came. Failed/canceled/rejected and
input/auth-required states fail the turn instead of becoming an answer.
One-shot mode already streamed whenever a transport offered it, so the
plain send path was unreachable from the CLI. --no-stream asks for it.
test_a2a.sh covers both SendMessage and SendStreamingMessage; the new
test_a2a_ui.sh drives the UI streaming path through tmux.
README, PLUGINS.md, the man page and the site follow.
plugins/a2a sends one SendMessage over JSON-RPC 2.0 with a text part and
reads either a direct Message or a Task in TASK_STATE_COMPLETED (status
message plus artifact text). Task and context ids are kept for the session;
a terminal task loses its id but keeps the context. Bearer token, timeout
and SPLINTER_A2A_FULL are supported.
Text only. Streaming, file/structured parts, push notifications,
GetTask/CancelTask and agent-card discovery are named as not built, so
nobody assumes otherwise.
tests/fake_a2a.py and tests/test_a2a.sh pin the wire shape, both result
forms, the bearer token and a JSON-RPC error. The site now counts the new
plugin (16) and names the transport; README, PLUGINS.md and ROADMAP follow.
TODO also records the live claude check: both configured accounts are at
their limit, exit 1 with the child's text, claude0 benched and claude1
queued; exit 2 remains unreproduced.
test_jobs drives delegate_submit, jobs, result, due and retry against a fake
ssh, writes a due waiting_poll job and lets sp_delegate_tick retry it, and
loads the scheduler plugin to check its idle widget. The test found a real
bug: tool_delegate_retry parsed id and force into the same sp_buf, and
json_str appends, so force=1 turned job-1 into job-11. force now has its own
buffer.
Markdown tables are drawn as columns now (src/md.c, test_md, and a case in
test_ui.sh that checks the screen). The site counts lines, tools, tests,
plugins and palettes from the tree instead of naming them; the binary-size
figure is gone because it aged with every build.
The delegate panel cycle has a test (host + tasks plugin, widget says
delegate:panel exit 0), and the turn loop is driven with lcm at 8 KiB and
32 KiB budgets, so compaction is measured rather than claimed.
swarm, provstate and planner get smoke tests. TODO.md is rewritten against
the tree: the step limit was the old default (8 -> 150), skills and memory
were already built, and the open points are claude exit 2, a real Telegram
approval, A2A, the npm leftovers and the scheduler/job tests.
cli_fallback = claude1, claude0 names cli delegates whose cmd and env=
take over when cli_cmd answers with its limit. The main command is
benched as "cli", a fallback under its own id, on the same bench the
delegation uses (sp_limit_parse, sp_cooldown_until, sp_cooldown_set are
now exported from libsplinter). The session key stays, so claude
resumes the same conversation under the next account. With everyone
benched the turn fails with the first reset, as WAIT_QUOTA ready_at=.
A fallback's env= goes through a 0600 file the shell sources, not a
command line. A delegate's child is benched under the delegate's id
(SPLINTER_CLI_ID), never as "cli".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A parallel child that answers with its limit benches its delegate, like
the single call, and its task is spawned again in the same slot on the
next delegate that fits - the request's tags plus the benched one's -
while the other tasks keep running. A fallback already at its
max_parallel among the running jobs is not taken. The task header says
what happened.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The cli transport keys the program's own session on SPLINTER_CLI_SESSION
(the splinter session id, plus ':<delegate>' for a delegate child):
claude gets a derived UUID, --session-id first and --resume after, with
one retry when claude disagrees; opencode gets --session ses_<derived>;
other programs can use {session} and {uuid}. Consecutive calls continue
one conversation and hit the provider cache (measured: 17.6k read, 80
written on the second call).
A delegate whose answer is a limit (429, rate/usage/weekly limit, quota)
is benched until the reset it names - claude's "resets 3am
(Europe/Lisbon)" is read through date(1) - in ~/.splinter/cooldown/<id>,
and the task goes to the next delegate that fits. choose() skips benched
delegates, also when one is asked for by name.
run_child now carries the tail of the child's output in its error and
treats a signal as failure; "exited 1" alone hid every limit.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
env=NAME=VALUE on a delegate line (repeatable) is set in the child right
before exec and beats what the parent exported, so two delegates can run
the same cli with two accounts. Remotely it goes in front as
`env 'NAME=VALUE'`, quoted like the rest. cli_env = NAME=VALUE does the
same for the main cli transport. A bad name is an error with the line.
Also in this commit, the work in progress from the tree: swarm and
provider state, the provider/scheduler/planner/tmux plugins, the ui test,
whose tmux session name is now per run so parallel runs do not collide.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Telegram gateway
- A tool call of the gateway's own turn that needed consent was either denied
(a daemon has no approval stream) or, with ack channels set, waited for an
"ok <id>" that only the blocked gateway could have read. It now asks in the
chat the turn came from, keeps reading while it waits, resolves answers
(also other processes' and 'splinter --ack'), ignores strangers and tells
everything else to wait. The update offset is shared, so nothing is handled
twice. New cfg flag approve_is_channel: such an approve is asked directly.
- send_message wrote its error through err, and half the callers pass NULL: the
first refused message (too long, bad UTF-8) crashed the gateway. It also
missed '"ok": true' by substring; the reply is parsed now.
- tests/test_gateway.sh drives the real daemon against a fake Bot API and a
fake model (tests/fake_telegram.py), with "ok" and with "no". In make check;
.gitignore no longer hides tests/test_*.sh.
Approvals
- A channel was told "Zustimmung <id>" and nothing else: a phone said yes to a
number. The message now names the tool and its arguments (cut at 300 bytes)
and how to answer, and goes to the channel as "$1", never parsed by sh.
Smaller
- ring: an exit that already streamed text is not retried on the next one
(the operator saw a second answer after half of the first); the header now
says what moves the ring - limits and providers that are down.
- cli: the program's stderr went over the curses screen and the error quoted
stdout. stderr goes to a file and into the error; temp paths are quoted;
the BODY_CAP no-op is gone. (That is the "kaputt" make check used to print.)
- memory: memory_key_env became an env var curl never reads, so no request had
a key. It is "Authorization: Token <key>" now, on curl's stdin. Tested.
- docs/CONFIG.md: the real default path, and the seven keys it did not know
(telegram_allow, memory_url, memory_key_env, skills_dir, env_delegates,
exit, delegate) with the line formats, checked against the parser.
- The no-token message named a config key that does not exist.
Left as it is, on purpose: 'read' stays unrestricted (decision); the fsync per
session line stays (durability over latency).
make check: 26 test binaries and the gateway script, green, also under
ASan/UBSan.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each change has a test that fails against the code before it.
Also note: 8900d7f ("telegram: refuse to start without a token") swept in
work of this round that its message does not describe - an OLLAMA_KEY no longer
overwrites the key of the operator's last exit (config.c), parallel delegates
are killed and reaped after a timeout (delegate.c), lcm/cps never leave a tool
result without its call, cps keeps working past 256 messages, Telegram ids are
parsed as 64 bit, and 'run' also hides SPLINTER_OLLAMA_KEY_* and
SPLINTER_MCP_TOKEN.
MCP client (plugins/mcp)
- fgets into char[16384] split every longer reply into unparseable pieces; a
big tools/list or file read never arrived. A reply sharing one write with a
notification sat in stdio's buffer, invisible to poll(). Lines are now
buffered on the fd (up to 16 MiB). An error is the top-level "error" member,
not the text "error" anywhere in the line. test_mcpclient.
kids
- Rules were matched against the raw JSON, so "run ls*" never matched. They
now see the command, path or url. A 'run' command that can chain, substitute
or redirect is never whitelisted. The glob is linear instead of exponential.
test_kids, which also covers the approval-command quoting and the domain
checks from the first round.
Plugin life (src/plugin.c, ABI 2)
- An init() that failed kept what it had registered (tools, gate, widget
threads); it is now rolled back. shutdown() was never called; the host calls
it, newest plugin first, after the widget threads have stopped.
- A widget slot is filled before it is counted, and the count is read under the
lock, so tick threads never see a half-made slot.
- SP_PLUGIN_ABI is 2: struct sp_gate grew block_turn while the ABI stayed 1.
test_lifecycle, with tests/plugin_lifecycle.so.
UI
- Ctrl-C and Ctrl-D cancel under the lock and wake a turn waiting for approval
(it waited forever); Ctrl-D cancelled nothing before the join.
- A steer the turn already took is not sent again as the next message.
- KEY_RESIZE re-cuts the windows; Ctrl-L repaints instead of sending the
half-typed line; key codes above 255 are not typed into the input.
- Markdown attributes went to stdscr while the text went to ui_hist: bold and
code never showed. They now build on the line's role colour.
Checked in tmux: UTF-8 input, resize to 70x20, Ctrl-L, Ctrl-D, bold.
Telegram
- Replies are split on UTF-8 boundaries; a cut umlaut made Telegram refuse the
chunk and the rest of the answer was lost.
Build
- Seven plugins linked with an undefined $(PLUGIN_LDFLAGS): no rpath, no LIBS.
All eleven now carry $ORIGIN/../..; objects depend on the interface headers.
Seen, not changed: sp_session_append fsyncs every line; under disk load an
answer appears up to 15 s late. Not a deadlock, and the same before this round.
make check: 26 test binaries, green, also under ASan/UBSan.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The gateway entry point accepted an empty token and then polled with it; the
guard belongs there so a daemon that cannot listen says so instead of looking
alive.
Honest limit of this change: it is NOT the explanation for the running daemon.
That one had a token (resolved from the token file) and failed with 'curl: (35)
Recv failure: Connection reset by peer' thousands of times, and with the env
variable removed it now fails with 'curl failed (-1)' and stops - a different
error, not the missing token. The guard only catches the case where neither the
environment nor the file provide one.
What this commit does prove: with a config that has endpoint, model and
telegram_allow, the daemon starts, reports 'gateway listening (allow: 8300935)',
and stops on the failing poll instead of looping. What it does not prove: that a
valid token makes it work - that needs a real message.
A review found the tool classes - the core of the harness - bypassable in
several places where model output was pasted into a shell or trusted as an id.
Each fix below has a test that reproduces the original failure.
No shell for model data
- webfetch put the URL between '...' and ran it through popen: a quote in the
URL ran any command, from a tool that needed no consent. curl is now exec'd
with an argv, http(s) only, HTML stripped in C, stderr off the curses screen.
- webfetch is mutate: with read free, "read a key, fetch evil/?k=..." left the
machine without anybody being asked. websearch stays read (fixed host).
- kids: the parent-approval command got the model's arguments inside '...'
via system(); they are now "$1". The domain check reads the URL with the
same parser as the tool (duplicate keys) and refuses user@host URLs.
- delegate: the two copies of the child argv are one (exec_delegate). The ssh
path exec'd splinter with "ssh" as argv[0]; it now runs ssh and quotes every
word for the remote shell. A single delegate to a host now really runs there.
Approvals (ack)
- The id was the pid: a late yes stayed on disk and approved the next request
unseen. Ids are random, requests 0600 with O_EXCL, deleted when answered or
expired; an answer is refused after expiry; the first answer wins (link(2)).
- An ack dir owned by someone else or writable by others is refused.
- --ack accepted every word but "no" as yes ("nein" approved). Now strict.
- The terminal thread blocked in fgets after a phone answer; it is stoppable.
Secrets
- API key and Telegram token were in curl's argv, readable via ps. src/curl.c
passes URL and auth headers as a -K config on stdin (transport, telegram,
tg-ask.sh; its dead eval fallback is gone).
- 'run' and task_start no longer inherit splinter's keys ("run env"). 'run' got
its own process group, stdin /dev/null and SPLINTER_RUN_TIMEOUT (300 s).
MCP server
- Beyond 127.x it refuses to start without SPLINTER_MCP_TOKEN; connections
must begin with "AUTH <token>". SIGPIPE ignored, idle connections closed.
Crashes
- task_kill sent kill(-0) - SIGTERM to splinter's own process group - because
popen gave no pid. Tasks now have a pid and a process group; integer ids work.
- ui: a 3- or 4-byte UTF-8 character overflowed char[2] on every redraw
(now sp_ui_ascii_char, tested); the scroll offset was taken from one buffer
and applied to another, reading past its end.
Repo
- The test binaries are no longer tracked (.gitignore already said so).
make check: 23 test binaries, green, also under ASan/UBSan.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ten entries, written so the next session starts from evidence instead of memory:
the turn loop hitting its step limit, the unproven delegate task entry, the
unexplained claude exit 2, the untested telegram approval chain, markdown tables,
the never-measured 8k window, skills and memory, A2A, the stray node_modules in
~/.local/lib, and the website counting its own numbers by hand.
~/.local/bin/splinter was a shell script that sourced ~/.hermes/.env - another
program's secrets file, which has no business being read here. It is now what
'make install PREFIX=$HOME/.local' puts there: an ELF binary with an rpath of
$ORIGIN/../lib, so it finds libsplinter.so next to itself.
No wrapper, no LD_LIBRARY_PATH, no environment file. Keys come from the
environment the user exports; a delegate names the variable, never the value.
Verified from /tmp with the wrapper and ~/.splinter/env gone:
~/.local/bin/splinter -p 'sage nur: install-ok' -> install-ok
ldd | grep 'not found' -> 0
Also in this round: environment delegates are opt-in (env_delegates), the claude
entry is named after itself instead of its array position, and the docs say how
to install without root.
Decision, and the reason: the claude entry built from CLAUDE_CODE_OAUTH_TOKEN
does not work (the child exits 2 although the same 'claude -p' answers fine from
a shell), it duplicates the explicit claudecli delegate, and it appeared the
moment the wrapper started loading ~/.hermes/.env. An entry nobody wrote down,
that does not work, and competes for work is worse than no entry.
So env_delegates defaults to off:
env_delegates = 1 # then CLAUDE_CODE_OAUTH_TOKEN(_N) become delegates
Ollama keys are unaffected - they feed the exit ring, which is what they were for.
Also: the id counts claude delegates instead of the array position ('claude', not
'claude-5'), and its tags are its own (claude,cli,big,review) at prio 5, so it can
never take a planning task by accident.
delegate_list -> kontron, ocgo, ollama, claudecli, occli
env_delegates = 1 -> ... occli, claude
test_config pins both: 3 with the flag off, 4 with it on, and the id is 'claude'.
'claude-5' was not a stray line in a drop-in: it is the delegate built from
CLAUDE_CODE_OAUTH_TOKEN, which appeared when the wrapper started loading
~/.hermes/.env. The name was wrong:
snprintf(id, ..., "claude-%zu", c->ndelegates - 1);
'ndelegates - 1' is the position in the whole delegate array, so the first claude
delegate was called claude-5 the moment five lines were configured, and would be
called something else tomorrow. It counts claude delegates now: 'claude', then
'claude-1', 'claude-2'.
Its description also says where it comes from, so the list answers 'why is this
here' without a trip through the source.
kontron, ocgo, ollama, claudecli, occli, claude
The rogue thinking had one cause: the running line in the one-row input window
was drawn with user text appended, so it wrapped. A one-line curses window that
wraps scrolls the whole screen - the chat above moved, and every redraw put the
thinking somewhere else. The status text is truncated to the width now, the typed
text only draws if it fits, scrollok is off on both one-row windows, and the line
is cleared to the end.
Also: a UTF-8 character is one unit. Handing sp_ui_ascii a single byte of a
two-byte sequence produced 'Z??hler' where 'Zaehler' belonged; the transliteration
gets the whole character now and the offset advances with it.
Chat is append-only text: thinking, tool calls, answer and diffs are entries that
grow in place, drawn in order, scrolled by PgUp/PgDn.
New: delegate_list - id, tags, kind, prio, model, endpoint and what it is good
for; probe=1 asks every endpoint which models it really serves, so 'the config
says so' and 'the server answers' stay two different columns.
**bold** *italic* `code` # heading ``` fence
The markers are removed before anything is measured: a line measured with its
asterisks wraps in a different place than the one that is drawn, so height and
drawing now use the same stripped string. Each kept character carries an
attribute, which keeps a bold word bold across a wrap.
Fence blocks lose their marker lines and are drawn dim - an answer full of C
should look like code, not like three backticks around code.
Measured: zero '**' and zero '```' in a rendered answer, the list intact, the C
block readable.
One bug found by looking at the result: '_' was treated as an italic marker, so
the model name came out as Qwen3.6-35B-A3B-UD-Q8KX - a different model as far as
a reader is concerned. Only the asterisk marks italics now; underscores belong to
names.
[19:20:25] <lotherk> was ist ein semaphor? ein satz
[19:20:35] * Qwen3.6-35B-A3B-UD-Q8_K_XL is thinking: The user is asking in German
[19:20:38] <Qwen3.6-35B-A3B-UD-Q8_K_XL> Ein Semaphore ist eine Datenstruktur
The name comes from the environment and the configuration, not from a role label:
'<you>' was a literal, 'thinking is thinking' was a label talking about itself.
PgDn moved the scroll counter and never repainted - the screen agreed with
nothing. PgUp/PgDn now scroll ten lines, Shift+Up/Down one, and both repaint.
A tool's stderr went to the terminal and landed in the middle of the curses
screen. It is captured into the answer now ('{ cmd\n} 2>&1'), where the model can
read it and the UI stays intact.
Delegates for this machine (drop-in, keys by name only):
kontron 5 local 35B ocgo 10 opencode-go deepseek-v4.1-flash
ollama 8 cloud same model claudecli 9 claude -p
occli 9 opencode run --model big-pickle
A cli delegate no longer needs endpoint and model: claude and opencode bring
their own. The wrapper loads ~/.hermes/.env so keys are read, never copied.