Repository navigation
[pull] main from can1357:main - #118
Merged
Merged
Conversation
Preserved resolved thinking levels through web search and restored OAuth-first legacy Gemini migration ordering. Fixes #12989
…mped Gemini search effort
- Introduced a type-safe settings registry with layered environment variable support, enabling live reactivity and explicit configuration unsetting. - Implemented `InternalUrlRouter` for unified spec-driven resource resolution, replacing ad-hoc scheme normalization with canonical `scheme://` routing. - Hardened filesystem access by validating path containment for symlinks and write operations across all internal protocols. - Added support for paged reading of large files with structured notice metadata to improve performance and UI interaction. - Updated CLI and TUI settings interfaces to distinguish between default values and active environment variable overrides.
Bun's `fs.open*` omits `O_CLOEXEC` where libuv adds it, so every descriptor omp keeps for its lifetime reached the commands the bash tool runs: the natives brush shell `fork`/`exec`s external commands and hands them the lot, so a long-lived child kept its launching session's transcript and `__advisor.jsonl` open for append. - Added `openCloexecSync` in `@oh-my-pi/pi-utils`, which ORs the platform's `O_CLOEXEC` into the raw open flags. - Opened the session/advisor transcript writer, the rotating log sink, the RPC output spool, and the worker stderr capture through it. Fixes #13224
…ucture - Introduced a type-safe, layered configuration registry with reactive property updates, provenance tracking, and shadowing-aware environment variable overrides. - Implemented `InternalUrlRouter` to unify URL parsing, resolution, and write-tier policy enforcement across local, vault, and artifact protocols. - Added support for paged reading of large files and improved metadata signaling for UI recovery. - Refactored domain-specific settings to use the registry, enabling live reactivity in the TUI and session state without full restarts. - Hardened filesystem access across internal URL protocols with robust symlink, containment, and write-destination validation. - Added the `unset` capability to the configuration registry, allowing removal of overrides to restore project or default layer values.
…kend settlement - Implemented sequential atomic configuration saves to prevent write overlaps. - Added explicit memory backend settlement for reliable cross-project CWD transitions. - Added automatic prevention of user session overrides shadowed by environment variables. - Extended configuration approval UI to signal when saved settings are shadowed by higher-precedence layers.
- Added GPT-6 live steering support via `response.steer` over the Codex WebSocket. - Messages typed while a model streams now join that in-flight response. - Added `providers.openaiLiveSteering` configuration toggle. - Marked steered messages with an indicator in the TUI transcript.
…/ approval prompts - Added CfgApproval type with values once, session, deny, and timeout. - Modified CfgApprovalHost.approve to return a CfgApproval instead of a boolean, enabling session grants and timeout outcomes. - Implemented session-grant tracking so an "Always for this session" approval applies to subsequent cfg:// writes in the same session. - Added timeout handling that aborts unanswered cfg:// approval prompts after 10 s and throws a clear error message using a new prompt template. - Updated interactive-mode UI to present three choices (Always for this session, Allow once, Deny) and to enforce the timeout. - Added cfg-approval-timeout.md prompt template describing the timeout failure message.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )