chore(deps): update dependency can1357/oh-my-pi to v16 #72
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/can1357-oh-my-pi-16.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
15.13.3→16.0.0Release Notes
can1357/oh-my-pi (can1357/oh-my-pi)
v16.0.0Compare Source
@oh-my-pi/pi-agent-core
Breaking Changes
toolCallSyntax/exampleSyntaxtodialect/exampleDialect.PI_OWNED_TOOLStoPI_DIALECT.Added
onTurnEndhook support (setOnTurnEnd/onTurnEnd) to run awaited per-turn bookkeeping with current messages before the next model request and skip callback execution for aborted or error turnsChanged
toolCallSyntaxoption todialectin AgentOptions and AgentLoopConfigToolCallSyntaxtype toDialecttype across agent loop and compaction modules@oh-my-pi/pi-ai
Breaking Changes
@oh-my-pi/pi-ai/grammarto@oh-my-pi/pi-ai/dialect.ToolCallSyntaxtoDialect, renamed theGrammarinterface toDialectDefinition, and renamedGrammar.syntaxtoDialectDefinition.dialect.DialectDefinition.renderThinkingandDialectDefinition.renderTranscriptso dialect implementations serialize complete native chat transcripts, not just tool call/result blocks.Added
renderTranscriptmethod to dialect definitions for serializing complete native chat transcriptsrenderThinkingmethod to dialect definitions for rendering thinking/reasoning blockscreateInbandScannerfactory function to instantiate dialect-specific scannersgetDialectDefinitionfunction to retrieve dialect implementations by namerenderToolCatalogandrenderInbandToolPromptfunctions for tool catalog renderingrenderToolInventoryfunction to generate human-readable per-tool documentation with examplesrenderToolExamplesfunction to render tool usage examples in the model's native dialectencodeInbandToolHistoryfunction to encode tool call history in dialect-specific formatwrapInbandToolStreamfunction to process streaming responses with in-band tool call parsingThinkingInbandScannerfor parsing thinking/reasoning blocks across dialectsOwnedStreamclass for managing dialect-aware streaming with tool call eventsgemini(a```thinkingfence mirroring```tool_code),gemma(its native<|channel>thought…<channel|>reasoning channel),kimi(<think>…</think>), andpi(<thinking>…</thinking>). Each scanner now parses reasoning into thinking events instead of leaking chain-of-thought into the visible reply, and every dialect'srenderThinkingis a real channel that round-trips back through its scanner (no passthrough renderers).Changed
@oh-my-pi/pi-ai/grammarto@oh-my-pi/pi-ai/dialectin package exportsstream-markup-healing.tsto use new dialect module pathrenderToolInventoryto demote a tool description's own markdown headers by one level when it contains a top-level#header, so they nest under the wrapping# Tool: <name>heading instead of reading as sibling sections. Descriptions that already start at##and headers inside fenced code blocks are left untouched.Fixed
parseThinking: false, leaving private reasoning markers in visible text when parsing is disabled<thinking>blocks no longer leak into visible replies<think>blocks are preserved when structured tool calls are present, not duplicated when explicit reasoning is present, and closed on stream flush.Removed
src/grammar/factory.ts(replaced bysrc/dialect/factory.ts)src/grammar/rendering.ts(functionality moved tosrc/dialect/rendering.ts)src/grammar/xml.ts(replaced bysrc/dialect/xml.ts)@oh-my-pi/pi-catalog
Breaking Changes
ToolCallSyntax/FALLBACK_TOOL_SYNTAX/preferredToolSyntaxtoDialect/FALLBACK_DIALECT/preferredDialect.@oh-my-pi/pi-coding-agent
Breaking Changes
ToolCallFormat/resolveToolCallSyntaxtoDialectFormat/resolveDialect, and the agent option fromtoolCallSyntaxtodialect./dumptranscript output to render messages with the selected model's native dialect turn and thinking envelopes instead of markdown role headings.Added
advisor.syncBacklogsetting (off,1,3,5) to pause turn completion until advisor review backlog drops below the threshold, with a maximum 30-second wait/advisor on,/advisor off,/advisor status, and/advisor dump [raw]slash-command subcommands to manage the advisor at runtimeadvisor.enabledandadvisor.subagentssettings to enable the advisor and extend it to spawned task/eval subagents++in success color) to the status line when an advisor is active/dump [raw]flag to toggle between compact and legacy uncompact transcript output formats/advisor on,/advisor off, and/advisor statusslash-command subcommands to enable or disable the advisor at runtime and view advisor status metricsadvisorrole and enableadvisor.enabledto have it silently review each primary turn and inject severity-tagged advice notes via theadvisetool. Anitrides the non-interrupting aside queue (batched into one card at the next step boundary), while aconcernorblockerinterrupts the running agent through the steering channel — aborting in-flight tools, or resuming the agent when it has already yielded — so high-severity advice is acted on immediately. Advice renders in the primary transcript as a distinctAdvisorcard, and the advisor gets hard-isolated read-onlyread/search/findaccess — bound to its ownToolSessionso its reads never touch the primary's snapshot/seen-lines caches — to investigate the workspace before weighing in. The status line shows a++badge (in the success color, kept distinct from the model name) after the model name while an advisor is active, and/advisor dumpcopies the advisor's own transcript to the clipboard. Advisors are created only for the top-level session by default; enableadvisor.subagentsto extend them to spawned task/eval subagents.·‥…‥) shown in place of a hidden thinking block while the model is actively reasoning, so streaming progress is visible even withhideThinkingBlockenabled.Changed
adviseper update and to prefer silence when the agent is on track/dumpdefault output to compact markdown format; use/dump rawfor the legacy uncompact format/dumpand/advisor dumpto default to compact transcript output and accept an optionalrawflag for the legacy uncompact formatFixed
startup.quietleaving MCP and LSP startup status events visible during launch (#2639).Advisorgroup in themodelsettings tab so advisor settings render correctly in the settings panel./d/projectand WSL-style/mnt/d/projectnormalize to native drive paths consistently across the bash tool cwd validation and brush filesystem builtins (#2634).What's Changed
Full Changelog: https://github.com/can1357/oh-my-pi/compare/v15.13.3...v16.0.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate.