* 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)
57 lines
1.2 KiB
TOML
57 lines
1.2 KiB
TOML
[package]
|
|
name = "hindsight-cli"
|
|
version = "0.4.11"
|
|
edition = "2021"
|
|
authors = ["Hindsight Team"]
|
|
description = "A beautiful CLI for Hindsight - semantic memory system"
|
|
license = "MIT"
|
|
|
|
[[bin]]
|
|
name = "hindsight"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
# Hindsight API client (generated)
|
|
hindsight-client = { path = "../hindsight-clients/rust" }
|
|
|
|
# CLI framework
|
|
clap = { version = "4.5", features = ["derive", "env"] }
|
|
|
|
# Async runtime
|
|
tokio = { version = "1", features = ["full"] }
|
|
|
|
# HTTP client (for timeout configuration and multipart file uploads)
|
|
reqwest = { version = "0.12", features = ["multipart"] }
|
|
|
|
# Serialization (for config and output formatting)
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
serde_yaml = "0.9"
|
|
|
|
# TUI libraries
|
|
ratatui = "0.29"
|
|
crossterm = "0.28"
|
|
|
|
# Colors and styling
|
|
colored = "2.1"
|
|
indicatif = "0.17"
|
|
|
|
# Error handling
|
|
anyhow = "1.0"
|
|
thiserror = "1.0"
|
|
|
|
# Utilities
|
|
chrono = "0.4"
|
|
walkdir = "2.5"
|
|
dirs = "5.0"
|
|
|
|
[dev-dependencies]
|
|
# For integration tests with blocking HTTP client
|
|
reqwest = { version = "0.12", features = ["blocking"] }
|
|
|
|
[profile.release]
|
|
opt-level = "z"
|
|
lto = true
|
|
codegen-units = 1
|
|
panic = "abort"
|
|
strip = true
|