v0.0.2
π CodeTide v0.0.2 β Release Notes (2025-06-21)
π Now Available as a VSCode Extension!
CodeTide is officially live on the Visual Studio Code Marketplace!β¨ Instantly bring structural code awareness into your editor:
- Navigate code intelligently
- Retrieve context-aware snippets
- Send structured context directly to LLMs (Copilot, GPT, etc.)
- Works seamlessly alongside your favorite extensions
π Install Now: CodeTide on Marketplace
π οΈ Source Code: GitHub Repository
π New Features
-
File Change Tracking & Update Detection
Added granular file change tracking via timestamps and a_get_changed_filesmethod. The newcheck_for_updates()method enables efficient cache invalidation and dependency updates. -
Improved Serialization & Deserialization
- Custom file paths are now supported.
- Integration with
.gitignoreandstore_in_project_rootlogic. - Conditional serialization toggle added to
check_for_updates().
-
Git Integration via
pygit2
Enhanced file change tracking usingpygit2, allowing better support for Git-based projects. -
Enhanced Context Structures
- Introduced the
preloadedattribute inCodeContextStructure. - Added functionality for file ID pre-checking and relative file path resolution.
- Introduced the
-
Logging Framework Integration
Integratedlogurufor structured logging and added persistent logs directory handling.
π§ Enhancements & Refactors
-
Improved Code Organization
- Refactored
file_listto a dictionary for better timestamp management. - Overhauled
resolve_intra_file_dependenciesandresolve_inter_files_dependenciesfor flexibility.
- Refactored
-
Parser and Model Refinements
- Updated
PythonParserto better support relative imports and match count detection. - Renamed and clarified key properties like
unique_ids,stored_unique_id, anddefinition_id.
- Updated
-
Serialization System Revamp
- More accurate path extraction and defaults.
- Simplified and clarified key methods and arguments.
-
Import Logic Simplification
Streamlined handling of import statements and standardized relative import usage. -
Context Handling Improvements
- Flattened context lists for length checks.
- Ensured safe handling of empty or missing context scenarios.
-
Refined Initialization
Refactored the CodeTide initialization process for cleaner logging and variable handling.
π§ͺ Tests & CI
-
Added unit tests for:
- File reading/writing
GenericParserandPythonParser- File detection and Git-based organization
CodeBaseand related models
π Documentation & Examples
-
Updated the
README.md:- Enhanced project description and added badges.
- Included a roadmap section.
- Improved logo rendering.
-
Added example scripts demonstrating CodeTideβs parsing and context extraction capabilities.
π Bug Fixes
- Corrected path handling logic in
BaseCodeElement. - Fixed edge cases in
file_path_without_suffix. - Resolved context insertion issues when the context was empty.
- Patched default behavior when parser is
None. - Addressed inconsistencies in attribute naming and dictionary usage across modules.
β³ Coming Soon
- TypeScript Support
We're extending CodeTideβs language coverage! A newTypeScriptParseris in the works, bringing the same structural insight and symbolic parsing capabilities to TypeScript projects.
β Built on Tree-sitter, just like Python.
β Seamless integration with your existing CodeTide workflows.