Spaces:
Sleeping
Sleeping
Commit History
-
Merge pull request #20 from CintraAI/chore/prepare-repo-for-pypi-packaging-baton-BATON-1749670164-320
Joe ShamonUnverified signaturePrepare package for PyPI distributionfd6979e -
Merge pull request #19 from CintraAI/feature/mcp-python-sdk-implementation-baton-BATON-1749669400-843
Joe ShamonUnverified signatureImplement Model Context Protocol in Python SDK6eec371 -
Prepare package for PyPI publishing
batonai-coding-assistant[bot]Unverified signature- Create pyproject.toml configured for setuptools with necessary metadata and dependencies. - Specify build-system with required versions of setuptools and wheel. - Define project details including name, version, description, authors, and keywords. - Add dependencies required for runtime from requirements.txt. - Include project URLs for homepage, repository, and issues on GitHub. - Setup setuptools configurations for module inclusion and data files. - Create a MANIFEST.in to ensure non-code assets are included in the package distribution. - This setup prepares the package for clean and efficient publishing to PyPI, improving accessibility for users and developers.370541d -
Implement Code Chunker MCP Server
batonai-coding-assistant[bot]Unverified signature- Create an MCP server named 'Code Chunker Server' that provides functionality to chunk code into logical segments. - Implement the `chunk_code` tool, which takes code, file extension, and token limit as inputs, processes the code using `CodeChunker`, and returns the resulting chunks as a dictionary. - Add a resource `get_supported_file_types` to return a list of supported file extensions from `CodeParser`'s language extension map. These changes enable users to efficiently chunk code based on token counts and provides a way to discover supported file types for the chunking process. The new server facilitates improved interactions with code and enhances UX for developers.dd62878
-
Merge pull request #14 from CintraAI/feature/golang-language-support-integration-baton-ADHOC-1742584842-484
Joe ShamonUnverified signatureAdd Golang language integration support1d1a01b
-
Add tests for Go, CSS, and various programming languages
- Introduced a new test suite for Go language support, validating chunking functionality for simple code, structs, interfaces, and goroutines. - Added test cases for CSS chunking, covering both media queries and simple styles. - Established a base test class for code chunking tests, allowing for consistent setup and utility methods across different language tests. - Created individual test files for JavaScript, PHP, Python, Ruby, TypeScript, and CSS, ensuring comprehensive coverage of chunking functionality across multiple languages.a50881d
-
Add Go language support for syntax highlighting
batonai-coding-assistant[bot]Unverified signature- Extend `get_language_by_extension()` to recognize `.go` files, returning 'go' for Go language. - Update `CodeParser` class to support Go: - Add 'go' to `language_extension_map`. - Modify `_install_parsers()` to clone and build the `tree-sitter-go` repository. - Include relevant syntax nodes for Go in `_get_node_types_of_interest()`: - import_declaration => 'Import' - function_declaration => 'Function' - Add more as needed. - Update `_get_nodes_for_comments()` to recognize Go comments. These changes are necessary to provide syntax highlighting capabilities for Go code in the application, improving usability for developers working with Go files.ce480bd
-
Merge pull request #10 from CintraAI/enhancement/code-parser-and-test-suite-fix
Joe ShamonUnverified signatureRefactor CodeParser and update test casesc501ccb -
Refactor CodeParser and update test cases
- Removed the `return_simple_line_numbers_with_code` function from CodeParser.py. - Improved repository path handling in CodeParser.py by removing unnecessary quotes in command strings. - Added error handling for missing PHP directory during parser build. - Updated test cases in test_code_chunker.py to reflect changes in the patching of `count_tokens` function.f78cc9c -
Merge pull request #9 from CintraAI/chore/add-CONTRIBUTING-and-gitignore
Joe ShamonUnverified signatureAdd .gitignore and CONTRIBUTING.md filesdc781f8 -
Add .gitignore and CONTRIBUTING.md files
- Created a .gitignore file to exclude Python cache files, virtual environments, and IDE/editor files. - Added a CONTRIBUTING.md file with guidelines for contributing to the project, including code of conduct, development setup, and testing guidelines.153d567 -
Merge pull request #8 from Jordi577/bugfix_whitespace_in_path
Joe ShamonUnverified signature"Fix: Handling Whitespace in Repository Paths to Prevent Git Exit Status 129"cfedaf6
-
Resolved an issue in CodeParser.py where Git returned exit status 129 due to repository paths containing whitespace.
19c34f6
-
reverted back
da09152 -
fixed file path for parsers in ts, php, and rb
a4809c2 -
added new ts ruby php to app.py
6e9546e -
Add code chunking functionality
b7b387e -
added support for ts php and ruby
a404cdb
-
Merge pull request #6 from CintraAI/enhancement/updated-header
Joe ShamonUnverified signatureAdd explanation for 'token_limit' parameter in READMEd3767f0 -
Add explanation for 'token_limit' parameter in README
An explanation about the 'token_limit' parameter in the `chunk` method of the `Chunker` class has been added to the README. This helps users understand how to control the size of each chunk of code. It also clarifies that the tokenization method and definition of a token depend on specific implementations and the type of content being processed.8ece05b -
Merge pull request #5 from CintraAI/enhancement/updated-header
Joe ShamonUnverified signatureUpdate token chunk size input in app.pya4fd9a7 -
Update token chunk size input in app.py
The code has been updated to include detailed information about the chunk size parameter. The user can now choose a chunk size target and see an explanation about how the target functions. This provides them with necessary context and improves the user interface by enhancing understanding and enforcing breakpoints for more logical code.81d8b21 -
Merge pull request #4 from CintraAI/jsham042-patch-1
Joe ShamonUnverified signatureCreate LICENSEc72577f -
Create LICENSE
Joe ShamonUnverified signaturea020ca3 -
Merge pull request #3 from CintraAI/enhancement/updated-header
Joe ShamonUnverified signatureupdated readme1be6e20 -
updated readme
66fe6d5 -
Merge pull request #2 from CintraAI/enhancement/updated-header
Joe ShamonUnverified signatureEnhancement/updated header5463b34 -
added contribute to github button
19c8428 -
updated header to add link to repo
1946062 -
changed name
f544513
-
fixed name in readme
5fb15bd -
fixed readme
95d8186 -
changed color to
67e7b62 -
changed readme to refelct app
5cf511f -
put uploader side by side
34165ae -
changed front end design
1d6fa11 -
added setuptools==69.2.0
dbc4628 -
added code
9358586 -
updated requirements
4644b40 -
Merge branch 'main' of https://github.com/CintraAI/code-chunker
6ca6c86 -
added new front end
182adbd -
Created codebase documentation file to assist with context-based code generation.
cintraai-coding-assistant[bot]Unverified signaturebc13d11 -
updated readme
a8328c1 -
updated name
ab43b4b -
updated readme with requirements from hf
4fd8707 -
Create main.yml
Joe ShamonUnverified signaturebc1b1ca -
Create app.py
Joe ShamonUnverified signature9afc52f
-
Delete LICENSE
Joe ShamonUnverified signature0c85553
-
Update README.md
Joe ShamonUnverified signature1b997c9 -
Update README.md
Joe ShamonUnverified signaturea9b76a5