Files
splinter/libsplinter.so
T
Konrad e4f25b481f splinter: sessions belong to a directory, and splinter as an MCP server
Every session records the directory it was started in (<id>.meta, cwd=). With
that, '-c' means the last session that happened *here*:

  cd ~/src/splinter && splinter -c

A session from another tree is never silently loaded; if nothing happened in this
directory yet, it says so and exits. Verified in three directories - two report
no session, the one with history resumes.

folder_history gives the model the folder's memory instead of a guess: sessions
started there, newest first, with turn count and the last question.

--mcp-server-listen IP --mcp-listen-port N serves the registry over MCP
(newline-delimited JSON-RPC on TCP): initialize, tools/list, tools/call. Read
tools are served; mutating and destructive ones are refused unless the server was
started with --autonomous - a remote agent does not run shell commands here
because it asked nicely.

Proven with a real client on 127.0.0.1:8097: handshake answers splinter 0.1.0,
tools/list reports 14 tools, tools/call list returns the directory, tools/call run
is refused with the authorization message.
2026-11-08 14:35:29 +00:00

153 KiB
Executable File