Skip to content

PiSharp 1.1.0.1

Latest

Choose a tag to compare

@github-actions github-actions released this 08 Oct 19:41
· 1 commit to main since this release
58bbbe6

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.json can 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 deferred exposure now
    connect in normal sessions. Their tools stay hidden until tool_search loads them.
    --tools and --exclude-tools gate tool_search as 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_search exists only when a configured server has deferred tools. Pi always
    registers it, switched off.
  • tool_search doesn'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_servers section 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