Commit graph

2972 commits

Author SHA1 Message Date
Igor Ilic
8a3e1b34b1 Merge branch 'fix-path-handling-consistency-gneeraj2001' of github.com:topoteretes/cognee into fix-path-handling-consistency-gneeraj2001 2025-09-02 11:24:44 +02:00
Igor Ilic
f36357acd8 feat: path handling has to be absolute by gneeraj2001 2025-09-02 11:22:50 +02:00
Neeraj Gopalakrishnan
3027b01701 Update cognee/tests/test_path_config.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-09-02 11:22:50 +02:00
Neeraj Gopalakrishnan
e063c49089 Update cognee/root_dir.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-09-02 11:22:50 +02:00
Neeraj Gopalakrishnan
fde28725a4 Update cognee/tests/test_path_config.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-09-02 11:22:50 +02:00
Neeraj Gopalakrishnan
c9e4e6e6f4 Update cognee/tests/test_path_config.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-09-02 11:22:50 +02:00
Neeraj Gopalakrishnan
d3dd87d90e Update cognee/tests/test_path_config.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-09-02 11:22:50 +02:00
Neeraj Gopalakrishnan
0e1e14b7c1 Update cognee/base_config.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-09-02 11:22:50 +02:00
gneeraj2001
cb6651a6e9 Fix path handling consistency
Signed-off-by: gneeraj2001 <gneeraj2001@gmail.com>
2025-09-02 11:22:50 +02:00
Igor Ilic
d8326a7e3a feat: path handling has to be absolute by gneeraj2001 2025-09-02 11:21:05 +02:00
Neeraj Gopalakrishnan
2da35deae3
Merge branch 'main' into fix-path-handling-consistency 2025-09-01 11:16:14 -07:00
Vasilije
5bb32521bf
fix: Return coding rules to MCP (#1323)
<!-- .github/pull_request_template.md -->

## Description
<!-- Provide a clear description of the changes in this PR -->

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
2025-09-01 17:16:14 +02:00
Igor Ilic
74cf56e1ce fix: Return coding rules to MCP 2025-09-01 17:13:51 +02:00
Neeraj Gopalakrishnan
de939c1547
Update cognee/tests/test_path_config.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-08-29 02:39:04 -07:00
Neeraj Gopalakrishnan
ded92862c7
Update cognee/root_dir.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-08-29 02:38:39 -07:00
Neeraj Gopalakrishnan
d385d7edba
Update cognee/tests/test_path_config.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-08-29 02:35:48 -07:00
Neeraj Gopalakrishnan
19e5980b50
Update cognee/tests/test_path_config.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-08-29 02:35:03 -07:00
Neeraj Gopalakrishnan
6e262d5eb3
Update cognee/tests/test_path_config.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-08-29 02:33:16 -07:00
Neeraj Gopalakrishnan
aa3d704adc
Update cognee/base_config.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-08-29 02:31:58 -07:00
gneeraj2001
b06fe395b3 Fix path handling consistency
Signed-off-by: gneeraj2001 <gneeraj2001@gmail.com>
2025-08-29 02:14:59 -07:00
Vasilije
f1438e33cd
chore: Update mcp version (#1304)
<!-- .github/pull_request_template.md -->

## Description
<!-- Provide a clear description of the changes in this PR -->

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
2025-08-27 16:57:17 +02:00
Igor Ilic
7c08890609 chore: Update mcp version 2025-08-27 16:53:24 +02:00
Vasilije
64ffcdec50
Feat/update notebooks pre release (#1301)
<!-- .github/pull_request_template.md -->

## Description
<!-- Provide a clear description of the changes in this PR -->

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
2025-08-27 16:40:01 +02:00
Daulet Amirkhanov
f339b27dfa refactor: update Jupyter notebooks to prevent kernel exit during GitHub Actions 2025-08-27 15:37:29 +01:00
Daulet Amirkhanov
4f6e19f8de fix: kernel killing is failing test, skip it in Github Actions 2025-08-27 15:36:26 +01:00
Vasilije
02aa8c1b75
release: 0.2.4 (#1300)
<!-- .github/pull_request_template.md -->

## Description
<!-- Provide a clear description of the changes in this PR -->

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
2025-08-27 16:35:06 +02:00
vasilije
cc5e68472b added fix to tests 2025-08-27 16:10:04 +02:00
vasilije
235015bf48 linter fix 2025-08-27 16:03:48 +02:00
Vasilije
9f27402038
Update Jupyter notebooks (#1299)
Update Jupyter notebooks: Refactored code cells and ensured consistent
environment variable handling across demos.

<!-- .github/pull_request_template.md -->

## Description
<!-- Provide a clear description of the changes in this PR -->

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
2025-08-27 16:02:36 +02:00
Daulet Amirkhanov
19b59fcd6d Update Jupyter notebooks: added execution counts, improved logging outputs, and updated Python version to 3.12.7. Removed unnecessary code cells and ensured consistent environment variable handling across demos. 2025-08-27 14:59:39 +01:00
vasilije
9df34662cc format 2025-08-27 15:51:45 +02:00
vasilije
c933290886 fixes to CLI 2025-08-27 15:49:38 +02:00
vasilije
75ea520a1f fix to cli 2025-08-27 15:23:42 +02:00
vasilije
792452b735 added fix 2025-08-27 14:39:32 +02:00
vasilije
5e6ada2a65 fix issue 2025-08-27 14:38:32 +02:00
Vasilije
328b75a13e
Merge main vol 6 (#1298)
<!-- .github/pull_request_template.md -->

## Description
Update dev branch with changes from main

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
2025-08-27 14:30:14 +02:00
Igor Ilic
6ca46f1e53 refactor: ruff format 2025-08-27 14:23:53 +02:00
Igor Ilic
d4ce0e18fd Merge branch 'main' into merge-main-vol-6 2025-08-27 14:21:25 +02:00
Vasilije
fddd34421e
feat: Extend CodeGraph pipeline for multi-language support (closes #1160) (#1233)
<!-- .github/pull_request_template.md -->

## Description

This pull request extends the CodeGraph pipeline to support
multi-language code analysis, addressing the requirements in #1160.

### What’s included:
- **Multi-language file discovery:** The pipeline now detects and
processes source files for Python, JavaScript, TypeScript, Java, C#, Go,
Rust, and C/C++ using a configurable extension mapping.
- **Configurable language support:** The pipeline and file discovery
functions accept a `supported_languages` parameter, making it easy to
add or remove language support.
- **Language field in CodeFile:** The `CodeFile` entity now includes a
`language` field, allowing downstream tasks to distinguish between
different programming languages.
- **Stub support for non-Python languages:** All supported files are
represented as `CodeFile` objects with the correct language. Python
files retain full dependency extraction; other languages are ready for
future parser integration.

### What’s not included (future work):
- Language-specific dependency extraction for non-Python languages
(e.g., using tree-sitter for JS, Java, etc.).
- Cross-language dependency detection.

This PR lays the foundation for comprehensive, multi-language code graph
analysis and makes it easy to extend support for additional languages
and dependency systems in the future.

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
2025-08-27 14:14:41 +02:00
Vasilije
62afced9a5
feat: Added custom prompt to cognify (#1278)
<!-- .github/pull_request_template.md -->

## Description
<!-- Provide a clear description of the changes in this PR -->

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
2025-08-27 14:10:21 +02:00
Vasilije
24c155b22e
fix: Resolve issue with Windows path (#1295)
<!-- .github/pull_request_template.md -->

## Description
Resolve issue with Windows path

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
2025-08-27 14:09:37 +02:00
Igor Ilic
3a3274b5f9
Update .github/workflows/test_different_operating_systems.yml
Co-authored-by: Boris <boris@topoteretes.com>
2025-08-27 07:38:05 -04:00
Igor Ilic
11934cdf7f fix: Resolve integration test issue 2025-08-27 12:51:38 +02:00
Igor Ilic
e4e1a5438e refactor: Add read permissions only for gh token 2025-08-27 12:47:23 +02:00
Igor Ilic
23ea1c1659
Potential fix for code scanning alert no. 187: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-08-27 06:42:30 -04:00
Igor Ilic
eb65a89621 fix: Resolve integration tests path issue 2025-08-27 12:41:13 +02:00
Igor Ilic
644116a2ce Merge branch 'fix-windows-path' of github.com:topoteretes/cognee into fix-windows-path 2025-08-27 12:06:19 +02:00
Igor Ilic
ecc403e49c fix: Add binary for python magic for windows os 2025-08-27 12:05:57 +02:00
Igor Ilic
23a46e54aa
Merge branch 'dev' into fix-windows-path 2025-08-27 10:11:18 +02:00
Boris
6e5acec292
refactor: make run_pipeline a high-level api for running pipelines (#1294)
<!-- .github/pull_request_template.md -->

## Description
<!-- Provide a clear description of the changes in this PR -->

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
2025-08-27 09:49:20 +02:00