Repository navigation
PiSharp 1.1.0.1
A C#-only patch on the Pi v1.1.0 baseline (commit
abe508e1b89912adde45528136c3221eb69acdd7). It ports Pi's tool_search and makes MCP
tools callable. Each change is tracked in
sync-1.1.0-applicability.json
(rows gap.tool-search and mcp.exposure-and-prompt).
Fixed
- MCP tool calls work. In 1.1.0 the CLI declared MCP tools to the model but refused
every call with "Final tool action was denied." Tools of the servers you configure in
mcp.jsoncan now be called, as in Pi: configuring a server trusts it, and there is no
separate approval step. Tools of servers that were skipped, and of an earlier session
generation after a reload, stay refused.
New
tool_search. Pi's BM25 search over deferred tools, ported with the same
tokenizer, ranking, result text and errors. Found tools are loaded for the model's next
call and recorded in the session.- Deferred MCP servers connect. Servers whose tools use
deferredexposure now
connect in normal sessions. Their tools stay hidden untiltool_searchloads them.
--toolsand--exclude-toolsgatetool_searchas in Pi; leaving it out keeps the
servers connected but prints Pi's warning that their tools can't be called.
Differences from Pi
tool_searchexists only when a configured server has deferred tools. Pi always
registers it, switched off.tool_searchdoesn't wait for servers that are still connecting, so a search early in
a one-shot prompt can find nothing.- Live sessions send a literal system prompt, so the
mcp_serverssection isn't sent
there yet. - Servers that need codemode still don't connect. Codemode is planned for 1.1.0.3.
Packages
All library packages and the PiSharp.Cli dotnet tool are published as 1.1.0.1:
dotnet tool update -g PiSharp.Cli