Repository navigation
v2026.11.02-1
·
4024 commits
to main
since this release
senpi 2026.11.02-1
The main change: Claude subscription sign-in works again when the Claude CLI prints formatted output.
2026.11.01-1 was not published; its changes ship here.
Claude subscription sign-in hotfix
- A Claude sign-in that succeeded could still be rolled back as
unexpected_exitwhen the Claude CLI wrapped its output in terminal formatting. senpi now strips OSC 8 hyperlinks and other terminal escape sequences before reading the result, and passes on a sign-in URL only when it's anhttpslink on a Claude sign-in host (#5357, fixes #5360). Thanks to @trac3r00 for the fix, and to @Bearmancer and @copycatcode for the OSC 8 approach and the report.
Performance
- Compaction weights CJK text when it picks a cut point, so
keepRecentTokenskeeps about the configured amount for CJK-heavy sessions. Before, those sessions kept roughly 3x the configured tokens (#5203, by @surlymochan, fixes #4617). - MCP tools keep one stable order in direct mode, whichever server connects first, and the resource utility tools stay ahead of the per-server tools. The tool list no longer changes between runs just because of connect timing (#5290, #5317).
- Claude subscription cold-seed history stays byte-identical when a turn with images ends, so the cached prefix survives the next turn (#5276).
Windows private pipes
- Windows accepts a proven private pipe pair under Bun 1.4.4, the Bun the desktop app ships with. Any other Bun or platform still refuses it (#5125).
- Valid inherited private pipes on Windows were refused because the runtime reported a FIFO in its mode bits while
isFIFO()said otherwise. senpi now reads the mode bits (#5142).
New
- Sign in with ChatGPT accounts get their own model catalog, read from the account's model list and refreshed when the active account changes (#5078).
- RPC
login_api_keytakes a Kimi Code region and stores the key the same way the CLI's/logindoes (#5122). evalfills in an omitted run language when only one kernel is enabled, or when the code clearly reads as JavaScript or Python (#5157).- SDK: the tool registry, extension runner, tool child runtime, extension UI and extension events can now be built and served without a session. New exports include
bootstrapRuntime(),buildToolRegistry(),createToolChildRuntime(),ExtensionRuntimeContext,bindInvocationSignals()andEXTENSION_EVENT_PLACEMENT. In a runtime with no session,tool_search, MCP servers and permission checks attach at the first tool call; before, such a runtime let every call through unchecked. Sessions behave as before (#5222, #5224, #5225, #5226, #5230, #5235, #5237, #5240, #5242, #5247, #5250). - Nested tool calls carry the assistant message of the model-issued call they descend from (#5240).
- An opt-in receipt for model-issued tool calls, written only through an explicitly configured
Agent.onExecutionPipelinesink, plus an unprepared scoped ToolHost seam in the agent package (#5030). @code-yeongyu/senpi-clientships a transaction-bound compact materializer and a conformance kit at./materializer-test-kit(#4889).- Groundwork for compact RPC session recovery landed behind a flag: bounded recovery manifests, catalogs and pages, transfers, event leases, admissions, per-session generations, an internal method-class table and record validators. Nothing changes on the wire unless the flag is on (#4551, #4555, #4558, #4568, #4581, #4586, #4598, #4633, #4643, #4668, #4680, #4793, #4815, #4843, #4868, #4888, #4935, #4949, #4957, #5000).
Fixes
- Accounts: with two or more logins for one provider, an account whose sign-in was refused or whose token was revoked is blocked and the request moves to a sibling account before any output, instead of failing (#5010).
- Accounts: a block survives a token refresh, and a new login clears the slot it replaced (#5043).
- Accounts: the provider's structured limit code decides the limit before the error's wording does (#5040).
/account,/gpt-account,/claude-accountand/cursor-accountsay why an account is blocked and until when, and/claude-accountno longer lists a disabled account as available (#5006).- ChatGPT: signing out revokes the session on the server before clearing local tokens, and plan usage errors are classified from their structured codes (#5025, #5077).
- A bare fallback selector expands only to the model vendor's own providers (#5050).
- Claude subscription retries keep the response ID and token usage of the same attempt, so a successful retry isn't counted twice (#4060).
- A run replaced by the next one (an auto-retry after a provider error, an auto-compaction or a queued continuation) has its consumed deliveries settled, so a session no longer reports
waiting_backgroundforever with nothing running (#4435, by @IvoryKir). Restoring a session also settles consumed work left by runs that already ended (#5258). tool_searchno longer runs a tool hook and shows its status on every tool call of a session (#5324).- A tool name with a stray word prefix (
trophy_eval) resolves to the one matching tool (eval), and never when the prefix is a destructive verb (#5316). - A nested tool dispatch from a runtime without a session no longer throws in the permission check (#5245).
- codemode: a Ruby or Julia kernel that can't start fails with the spawn error right away (#5181, fixes #3500); a stopped JavaScript cell drops
fscallbacks that were still in flight (#5183); the Windows Python kernel starts again (#5052). - RPC: the host bounds a worker's secret frames and open secret inputs (#5197); an invalid socket secret is repaired under a per-secret lock (#4371);
host ensurerefuses an endpoint that isn't a socket (#5283). - RPC: a compact cut resets the arguments of every open tool call (#5304), and compact admission IDs are capped by live attempts, not over the socket's lifetime (#5284).
- The JSONL session importer accepts a file whose real entry id looks like its positional key (#5287, fixes #5214).