You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2d6d83a
Browse filesBrowse the repository at this point in the historyBrowse files
fix: incremental-update correctness and MCP tool robustness
- validate_single_diagram: return "" (not an error string) when validation
is skipped via MERMAID_VALIDATE=0 or unavailable, so valid diagrams are
not reported as syntax errors; latch on the 15s timeout so a broken
Node.js setup doesn't block every subsequent diagram
- _detect_via_git: exclude output_dir/.codewiki paths from committed and
staged/unstaged diffs too (previously only untracked), via a shared
_normalize helper; fall back to mtime detection when the stored baseline
commit is unreachable (shallow clone/rebase/gc) instead of silently
reporting "up to date"
- close_session: record the commit analyzed by analyze_repo as the
incremental baseline (new SessionState.analyzed_commit) instead of HEAD
at close time, and skip the metadata.json baseline update entirely when
the session wrote no docs (new SessionState.docs_written)
- _legacy_generate_docs: pass commit_id to DocumentationGenerator so
metadata.json from the legacy MCP path supports --update
- edit_doc_file: save undo history only after validation, immediately
before a successful write, so failed edits no longer pollute the undo
stack
- _safe_filename: cap the sanitized component ID at 180 chars (hash suffix
keeps names unique) to stay under NAME_MAX for deep component paths
- read_code_components: tolerate Node.source_code being None
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
0 commit comments