Repository navigation
feat: refactor app-sidecar integration and modularize reasoning pipeline - #1
Merged
Merged
Conversation
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
This PR splits and lands a large refactor across the macOS app layer and the sidecar reasoning pipeline.
It introduces plugin panel and streaming tag handling improvements in the app, and modularizes sidecar reasoning/memory/web execution paths for better maintainability and control flow clarity.
Changes
App (SwiftUI/macOS)
Refactored sidecar bootstrap/process/client integration paths
Added plugin panel view-model/view host flow
Improved chat flow, workspace, persistence, and settings panel wiring
Added stream tag parsing and markdown rendering updates
Added language support metadata updates and language docs file
Sidecar (Python)
Modularized reasoning pipeline into dedicated strategy/helper modules
Split DB/model manager concerns into dedicated module packages
Added recall/web gate and execution helper layers
Added isolated MLX worker and parser/runtime cleanup
Extended memory committer/retrieval paths and related strategy routing
Tests/Scripts
Updated existing sanitize/memory/v2 tests to match refactor
Added memory committer regenerate-skip test
Added sidecar utility scripts for memory longevity and stream turn reporting
Commits
1754e67feat(app): refactor sidecar integration and plugin panel flows38a021efeat(sidecar): modularize reasoning pipeline and memory/web flowsValidation
pytest -q sidecar/tests/test_local_inference_sanitize_conversation.py sidecar/tests/test_local_inference_sanitize_runtime.py sidecar/tests/test_local_inference_sanitize_sanitize.py sidecar/tests/test_memory_service_digest.py84 passedNotes