Commit Graph
5 Commits
Author SHA1 Message Date
Qin Haojie d47f2106ee refactor: remove unused and deprecated APIs (#3272)
Delete dead compatibility paths and test-only helpers so unsupported APIs do not remain as accidental contracts.
2026-07-16 10:49:56 +08:00
MaojiaShengandopenviking ce998873f9 lisence: change the main lisence to AGPL-3.0 (#1085)
* lisence: change the main lisence from Apache-2.0 to AGPL-v3

* lisence: change the main lisence from Apache-2.0 to AGPL-v3

* lisence: change the main lisence from Apache-2.0 to AGPL-v3

---------

Co-authored-by: openviking <openviking@example.com>
2026-03-30 14:37:42 +08:00
MaojiaShengandopenviking dc7bc956f3 feat: update media parsers (#196)
* fix: make rust CLI (ov) commands match python CLI (openviking) exactly - add top-level wait/status/health commands

* fix: ov cli plays same as py cli (ls, tree)

* Refactor media parsers to subdirectory structure with validation

* Enhance CLI robustness: validate add-resource path exists and detect unquoted spaces

* Fix unescaped spaces in paths by replacing \  with space

* Sanitize URI components to replace spaces and special chars with underscores

* feat: auto organize audio and image and video files

* Update media parsers to use original filenames and folder names with extensions

* Optimize MediaParser section for readability

* feat: vlm optimization for image

* feat: vlm optimization for image

* feat: vlm optimization for image

* refactor: move media content understanding to SemanticProcessor

- Add parse/parsers/media/utils.py with media helpers
- Refactor ImageParser.parse(), AudioParser.parse(), VideoParser.parse() to remove content understanding, keep only metadata extraction
- Update SemanticProcessor._generate_single_file_summary() to handle media types and call media utils for summary generation
- Update TreeBuilder._get_base_uri() to use media utils
- Update ResourceNode.get_abstract() and get_overview() to check meta for abstract/overview
- Add debug logs and error handling

* refactor: split _generate_single_file_summary to add _generate_text_summary

- Add _generate_text_summary function for text file processing
- Update media utils functions to accept llm_sem and use it to limit concurrent calls
- Update _generate_single_file_summary to call _generate_text_summary and media utils functions
- Fix import ordering
- Fix issue where _generate_file_summaries was creating a new semaphore, now each _generate_single_file_summary handles its own

* feat: vlm optimization for image

* feat: vlm optimization for image

---------

Co-authored-by: openviking <openviking@example.com>
2026-02-20 15:42:19 +08:00
kkkwjx a30cb2e7b9 Lint code (#25)
* feat: pre-commit-config

* style: ruff code
2026-02-02 18:56:15 +08:00
qin-ctx f98dc0ed1c first commit 2026-01-29 20:29:19 +08:00