@oh-my-pi-zen/pi-coding-agent 16.3.6-zen.2 → 16.3.6-zen.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -5
- package/dist/cli.js +2945 -2943
- package/dist/types/config/model-resolver.d.ts +4 -0
- package/dist/types/config/settings-schema.d.ts +38 -4
- package/dist/types/extensibility/custom-tools/types.d.ts +2 -2
- package/dist/types/extensibility/extensions/types.d.ts +1 -1
- package/dist/types/extensibility/shared-events.d.ts +2 -2
- package/dist/types/modes/components/model-selector.d.ts +2 -1
- package/dist/types/modes/components/status-line/types.d.ts +1 -0
- package/dist/types/session/agent-session.d.ts +3 -2
- package/dist/types/session/compact-modes.d.ts +2 -2
- package/dist/types/utils/update-check.d.ts +4 -0
- package/package.json +12 -12
- package/src/config/model-resolver.ts +23 -1
- package/src/config/settings-schema.ts +53 -6
- package/src/extensibility/custom-tools/types.ts +2 -2
- package/src/extensibility/extensions/types.ts +1 -1
- package/src/extensibility/shared-events.ts +2 -2
- package/src/main.ts +1 -24
- package/src/modes/components/model-selector.ts +114 -40
- package/src/modes/components/settings-defs.ts +3 -1
- package/src/modes/components/status-line/component.test.ts +56 -0
- package/src/modes/components/status-line/segments.ts +11 -0
- package/src/modes/components/status-line/types.ts +1 -1
- package/src/modes/controllers/event-controller.ts +9 -2
- package/src/modes/controllers/selector-controller.ts +48 -20
- package/src/session/agent-session.ts +127 -60
- package/src/session/compact-modes.ts +8 -2
- package/src/utils/update-check.ts +37 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,33 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [16.3.6-zen.4] - 2026-07-06
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- Added a `unicode-snapcompact` compaction strategy and `/compact unicode-snapcompact` mode that archive Unicode/CJK history through zpix-backed Snapcompact frames while leaving the legacy `snapcompact` strategy unchanged; the benchmark/experiment harness lives at [cagedbird043/cjk-visual-context-bench](https://github.com/cagedbird043/cjk-visual-context-bench).
|
|
10
|
+
- Added `snapcompact.unicodeShape` to select Unicode Snapcompact's zpix quality or density preset independently from the legacy `snapcompact.shape` setting.
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Fixed retry fallback treating relay `520` HTML error pages as model failures; these transient proxy responses now retry on the same model instead of switching providers.
|
|
15
|
+
- Fixed retry fallback failing to advance to the next model on relay `insufficient_user_*` quota errors.
|
|
16
|
+
- Fixed the status line model segment dropping the provider prefix after model metadata refreshes; provider names now remain visible unless `statusLine.segmentOptions.model.showProvider` is explicitly disabled.
|
|
17
|
+
|
|
18
|
+
## [16.3.6-zen.3] - 2026-07-04
|
|
19
|
+
|
|
20
|
+
### Added
|
|
21
|
+
|
|
22
|
+
- Added ordered model role chains: comma-separated `modelRoles.<role>` entries now act as provider fallback chains, and the model selector shows/edit them with zero-based badges like `ROLE#0`, `ROLE#1`, etc.
|
|
23
|
+
- Added `statusLine.segmentOptions.model.showProvider` so custom-provider model names can render as `provider/Model Name` in the status line.
|
|
24
|
+
- Added `anysearch` web search provider, supporting both credentials-based and anonymous MCP search fallbacks.
|
|
25
|
+
|
|
26
|
+
### Fixed
|
|
27
|
+
|
|
28
|
+
- Fixed `omitThinking` settings propagation so settings-aware streams request hidden thinking summaries when users explicitly enable the option.
|
|
29
|
+
- Fixed Zen prerelease builds checking the upstream `@oh-my-pi-zen/pi-coding-agent` stable channel and falsely reporting `16.3.6` as newer than `16.3.6-zen.N`.
|
|
30
|
+
- Fixed the model selector offering `Add ROLE fallback` for a model that is already present in that role's ordered fallback chain.
|
|
31
|
+
|
|
5
32
|
## [16.3.6] - 2026-07-04
|
|
6
33
|
|
|
7
34
|
### Changed
|
|
@@ -19,11 +46,6 @@
|
|
|
19
46
|
- Fixed turn-ending provider errors rendering with a doubled blank gap above the `Error:` block (caller and error block each added a spacer).
|
|
20
47
|
- Fixed the write tool renderer crashing when persisted runtime content is a truthy non-string value; rendering now coerces display content before Windows CR normalization. ([#4495](https://github.com/cagedbird043/oh-my-pi-zen/issues/4495))
|
|
21
48
|
- Fixed cmux-backend `browser({action:"run"})` calls crashing the entire process with an unhandled rejection when the tab was released mid-run (e.g. a sibling subagent calling `browser({action:"close", all:true})` or a session-scoped tab reap). `runInTabWithSnapshot` in `tab-supervisor.ts` creates a `Promise.withResolvers()` triple so `releaseTab` can signal in-flight runs, but the cmux branch used to await `runCmuxCode(...)` directly and never awaited the local promise. When `releaseTab` rejected that orphaned promise ("Tab ... was closed"), Bun surfaced it as an unhandled rejection and the top-level handler tore the whole session down, killing every other tab and subagent sharing it. Both backends now await the same `promise` (so `pending.reject` always has an attached handler AND the caller sees `Tab "..." was closed` immediately instead of blocking to the run's timeout), and a new `pending.closeAc` is composed into the cmux run's abort signal so `wait(...)`, in-flight cmux socket calls, and the facade proxies unwind promptly when the tab is closed rather than leaking to their own timeout ([#4499](https://github.com/cagedbird043/oh-my-pi-zen/issues/4499)).
|
|
22
|
-
- Fixed `omitThinking` settings propagation so settings-aware streams request hidden thinking summaries when users explicitly enable the option.
|
|
23
|
-
|
|
24
|
-
### Added
|
|
25
|
-
|
|
26
|
-
- Added `anysearch` web search provider, supporting both credentials-based and anonymous MCP search fallbacks.
|
|
27
49
|
|
|
28
50
|
## [16.3.5] - 2026-07-04
|
|
29
51
|
|