feat: 增加记忆后端状态聚合接口 - #122
Merged
Merged
Conversation
MaxwellGengYF
added a commit
that referenced
this pull request
Aug 6, 2026
Adapt the fork line's tests/handlers to dev-020's refactored modules while keeping the fork's behavior improvements: - process_registry: pin _resolve_shell in the Popen-leak test (spawn_local now resolves the shell first per P-058). - terminal_dynamic_description: P-058 test uses dev-020's '(use read_file)' phrasing. - terminal_task_cwd: rebuild as fork's 13 tests + dev-020's test_explicit_workdir_does_not_persist (orjson + terminal_output_stream imports restored). - system_prompt: profile hint + Managed Desktop block go to post_workspace_parts (dev-020's cache layout); test expects P-057 text with native separators. - web_server: fix activate-gate indentation (handler returned None/200); add activate field already in web_models; keep #122's memory_char_limit field. Adapt fork tests: 422 pagination validation (dev-020 Query(ge=0)), drop replace_messages on compression-closed session, mock transcribe_audio(**kwargs) + import orjson. - tui_gateway: port P-056 non-string text rejection (-32602) into methods_prompt, add magic-byte validation to image.attach_bytes (4016), port fork's cron.manage success=False/ValueError->4023 classification. - release-runtime: verify loop covers bundled web providers (ddgs, exa_py, firecrawl_py, parallel_web) matching the merged pyproject cn-desktop extra. - web plugin imports: keep dev-020 absolute package-path style; update the fork's relative-import test to guard it. All related tests pass except the pre-existing MSYS pathconv failure (test_init_session_bootstrap_rewrites_backslash_snapshot_paths), which also fails on untouched dev-020.
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.
变更
custom:{provider}复用规范供应商元数据,例如custom:deepseek验证
配套 Desktop