feat(acp): model switching and extension management#824
Merged
Conversation
Implement set_session_config_option for runtime model switching with provider allowlist validation and ProviderFactory closure-based creation. Add ext_method handler for MCP extension management (_agent/mcp/add, _agent/mcp/remove, _agent/mcp/list) via McpManager integration. Closes #785
bug-ops
added a commit
that referenced
this pull request
Feb 24, 2026
* feat(acp): model switching and extension management Implement set_session_config_option for runtime model switching with provider allowlist validation and ProviderFactory closure-based creation. Add ext_method handler for MCP extension management (_agent/mcp/add, _agent/mcp/remove, _agent/mcp/list) via McpManager integration. Closes #785 * docs: update changelog, readmes, docs for model switching and ext_method
bug-ops
added a commit
that referenced
this pull request
Feb 24, 2026
* chore: pin tempfile to 3.26, add SPDX header script * release: prepare v0.12.0 * ci: add CLA check for external contributors * ci: fix CLA check — store signatures in dedicated branch * chore: add SPDX license headers (MIT OR Apache-2.0) to all .rs files * docs: add CLA section to CONTRIBUTING.md * feat(core): tool-pair summarization with visibility integration (#823) * feat(core): background tool-pair summarization with visibility integration Summarize oldest tool call/response pairs when visible count exceeds tool_call_cutoff (default 6). Hides originals via agent_visible=false, inserts LLM-generated summary. XML-delimited prompt prevents injection. Validates tool_call_cutoff >= 1 in config. * docs, tests: M31 documentation, READMEs, and missing test coverage Add tool-pair summarization to CHANGELOG, docs (context.md, configuration.md), and READMEs (root, zeph-core). Add 4 missing tests: config validation (cutoff=0 rejected, cutoff=1 accepted), XML delimiter prompt validation, empty messages edge case. * feat(acp): model switching and extension management (#824) * feat(acp): model switching and extension management Implement set_session_config_option for runtime model switching with provider allowlist validation and ProviderFactory closure-based creation. Add ext_method handler for MCP extension management (_agent/mcp/add, _agent/mcp/remove, _agent/mcp/list) via McpManager integration. Closes #785 * docs: update changelog, readmes, docs for model switching and ext_method * chore: add SPDX header to custom.rs * chore: add SPDX headers to new transport module files
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
set_session_config_optionfor runtime model switching with provider allowlist validation andProviderFactoryclosure-based provider creationext_methodhandler for MCP extension management (_agent/mcp/add,_agent/mcp/remove,_agent/mcp/list) viaMcpManagerintegrationprovider_overridewithArc<RwLock>and poison recovery in agent loop for per-session provider switchingTest plan
available_models--features fullCloses #785