mirror of
https://github.com/Dasemu/Synapse.git
synced 2026-11-26 15:26:17 +00:00
fix(mcp): harden stdio opens, commits and user-supplied ranges
- Check per call that synapse.db exists and is on this binary's schema, so the stdio server never migrates or re-stamps the app's live database. - Keep the transaction open (rolled back on drop) when COMMIT fails. - Reject dates outside years 1000-9999 and oversized cursors (overflow). - core: export SCHEMA_VERSION. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0253cd4180
commit
4195374c23
5 files changed
+115
-4
No files matched your search
@@ -20,6 +20,7 @@ pub mod types;
|
||||
|
||||
pub use error::{Error, Result};
|
||||
pub use model::*;
|
||||
pub use schema::VERSION as SCHEMA_VERSION;
|
||||
pub use store::Graph;
|
||||
pub use structure::{
|
||||
HubConversion, HubInfo, HubPreview, Structure, is_legacy_page, namespace_parent,
|
||||
|
||||
Reference in new issue
Block a user