fleet-memory/hindsight-cli
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
..
src feat: accept pdf, images and office files (#390) 2026-02-17 18:15:03 +01:00
tests fix: /version endpoint return wrong version (#224) 2026-01-29 08:40:01 +01:00
.gitignore rename to hindsight (#2) 2025-11-25 19:28:26 +01:00
build.sh rename to hindsight (#2) 2025-11-25 19:28:26 +01:00
Cargo.toml feat: accept pdf, images and office files (#390) 2026-02-17 18:15:03 +01:00
smoke-test.sh feat: revisit mental models, directives and reflections (#179) 2026-01-22 17:13:16 +01:00