This release fixes permission scoping bugs in sub-sessions, adds deferred tool loading, and includes several improvements to session reliability and the settings window.
What's New
- Adds cache-safe deferred tool loading, tracking deferred tool load points in the shared runtime and translating them into native OpenAI tool-search and Anthropic tool-reference messages
- Adds embedder seams for code-built teams in
embeddedchat, allowing callers to assemble agents in code without requiring a YAMLAgentSourceor pulling the full toolset and provider registries at link time - Adds more settings in the settings window
Improvements
- Refactors the TUI confirmation dialog to accept a narrow
ConfirmationSessionStateinterface, allowing embedders to supply session state without depending on a concrete*service.SessionState
Bug Fixes
- Fixes permission scoping between parent and child sessions, preventing sub-sessions from back-propagating
ToolsApprovedandPermissionsto the parent (scope escalation bug) - Fixes tool-approval chain precedence in the permission override and dispatch pipeline
- Fixes
teamloaderto propagate the session working directory to toolsets, resolving a silent drop ofWithWorkingDirfor tools such asshellandfilesystem - Fixes
teamloaderto restorerunConfig.WorkingDirafterLoad - Fixes a race condition by locking access to session title, token, and cost fields through
Session.mu - Fixes the
runForwardinginvariant
Technical Changes
- Fixes formatting for
gofumptandgci - Updates stale YOLO tests and restores branch cloning
- Adds eval test coverage for container interruption on cancellation
- Fixes
TestForceAskOverridesYoloModehanging on CI
What's Changed
- docs: update CHANGELOG.md for v1.107.0 by @docker-read-write[bot] in #3652
- docs: update CHANGELOG.md for v1.108.0 by @docker-read-write[bot] in #3653
- test(eval): cover container interruption on cancellation by @Sayt-0 in #3649
- refactor(tui): let embedders supply the confirmation dialog's session state by @dgageot in #3654
- feat(embeddedchat): add embedder seams for code-built teams by @dgageot in #3655
- fix: correct Decide precedence and remove sub-session scope escalation by @Piyush0049 in #3542
- Add more settings in the settings window by @rumpl in #3656
- fix(teamloader): propagate session working dir to toolsets by @trungutt in #3657
- Add cache-safe deferred tool loading by @rumpl in #3658
- fix(session): lock title and usage scalar access by @Sayt-0 in #3659
Full Changelog: v1.108.0...v1.109.0