fleet-memory/hindsight-cli/src
Nicolò Boschi 224b7b74c1
feat: accept pdf, images and office files (#390)
* feat: accept pdf, images and office files

* refactor: rename FileConverter to FileParser, simplify file retain API

- Rename engine/converters/ → engine/parsers/, FileConverter → FileParser,
  ConverterRegistry → FileParserRegistry, MarkitdownConverter → MarkitdownParser
- Rename env var HINDSIGHT_API_FILE_CONVERTER → HINDSIGHT_API_FILE_PARSER
- Remove async/document_tags params from FileRetainRequest (always async now)
- Add retain_files() to Python Hindsight client and retainFiles() to TypeScript client
- Add sample.pdf to doc examples for working file upload demonstrations
- Update test_file_retain.py to use new parser names and always-async behavior
- Fix Go client missing os import in api_files.go
- Simplify postgresql.py storage to minimal schema

* fix: update rust CLI tests to use is_supported_file instead of is_text_file

* fix: patch Go api_files.go to add missing 'os' import after generation

* fix: insert 'os' import after 'net/url' in api_files.go patch for correct position

* chore: regenerate OpenAPI spec and clients (converter→parser description update)
2026-02-17 18:15:03 +01:00
..
commands feat: accept pdf, images and office files (#390) 2026-02-17 18:15:03 +01:00
api.rs feat: accept pdf, images and office files (#390) 2026-02-17 18:15:03 +01:00
config.rs feat(cli): accept more file types on retain-files (#163) 2026-01-15 18:34:44 +01:00
errors.rs feat: implement hierarchical configuration (system, tenant, bank) (#329) 2026-02-12 13:14:57 +01:00
logo.ansi brandind and misc fixes 2025-12-11 12:46:48 +01:00
main.rs feat: implement hierarchical configuration (system, tenant, bank) (#329) 2026-02-12 13:14:57 +01:00
output.rs feat(cli): accept more file types on retain-files (#163) 2026-01-15 18:34:44 +01:00
ui.rs feat: revisit mental models, directives and reflections (#179) 2026-01-22 17:13:16 +01:00
utils.rs feat: extensions (#54) 2025-12-22 11:05:23 +01:00