gabriel / muse public
__init__.py python
17 lines 730 B
Raw
sha256:a317886dc0496c4af7b285b3e41c86c4c34ea2e79afc63b8829aadb1ada7903f chore: bump version to 0.2.0rc15 to match musehub#113 fix release Sonnet 4.6 patch 63 days ago
1 """Code domain plugin — semantic version control for source code.
2
3 Treats code as a structured, semantic system rather than text files.
4 The unit of change is a *symbol* (function, class, method, variable) —
5 not a line. Two commits that reformat a file without changing semantics
6 produce identical symbol content IDs and therefore no delta.
7
8 Language support
9 ----------------
10 - Python (*.py, *.pyi): Full AST-based symbol extraction via stdlib ``ast``.
11 - All other files: file-level tracking with raw-bytes identity.
12
13 Extending the language support
14 -------------------------------
15 Implement :class:`~muse.plugins.code.ast_parser.LanguageAdapter` and
16 register the instance in :data:`~muse.plugins.code.ast_parser.ADAPTERS`.
17 """
File History 2 commits
sha256:a317886dc0496c4af7b285b3e41c86c4c34ea2e79afc63b8829aadb1ada7903f chore: bump version to 0.2.0rc15 to match musehub#113 fix release Sonnet 4.6 patch 63 days ago
sha256:f3b726b50f0aee3622bba751e0a67aa7ae4cf75a798477dbce581940b6a9cf70 feat: migrate invariants cache to .muse/cache/invariants.ms… Sonnet 4.6 patch 130 days ago