SurfSense/surfsense_backend/app/agents/researcher
Claude 4f279b06c3
Add Home Assistant connector for smart home data indexing
## New Files
- connectors/home_assistant_connector.py: API client for Home Assistant REST API
- tasks/connector_indexers/home_assistant_indexer.py: Data indexer for HA items
- routes/home_assistant_add_connector_route.py: Authentication route for token setup

## Modified Files
- db.py: Add HOME_ASSISTANT_CONNECTOR to DocumentType and SearchSourceConnectorType enums
- connector_service.py: Add search_home_assistant() method
- nodes.py: Add HOME_ASSISTANT_CONNECTOR to search_single_connector
- utils.py: Add connector metadata (emoji, result name, friendly name)
- routes/__init__.py: Register Home Assistant route
- search_source_connectors_routes.py: Add indexing endpoint and run function
- celery_tasks/connector_tasks.py: Add Celery task for background indexing
- connector_indexers/__init__.py: Export index_home_assistant_data

## Features
- Index automations, scripts, scenes, and logbook events
- Long-Lived Access Token authentication (simple setup)
- Markdown formatting for indexed content
- Incremental indexing based on last_indexed_at
- Full integration with existing search infrastructure
2025-11-18 23:58:57 +00:00
..
qna_agent chore: update configuration for rerankers 2025-10-29 23:23:08 -07:00
__init__.py Fixed current agent citation issues and added sub_section_writer agent for upcoming SurfSense research agent 2025-04-13 20:47:23 -07:00
configuration.py feat: added top_k in chat Interface. 2025-11-06 13:25:05 -08:00
graph.py feat(removed): sub_section_writer 2025-10-27 20:30:10 -07:00
nodes.py Add Home Assistant connector for smart home data indexing 2025-11-18 23:58:57 +00:00
prompts.py feat(removed): sub_section_writer 2025-10-27 20:30:10 -07:00
state.py feat(removed): sub_section_writer 2025-10-27 20:30:10 -07:00
utils.py Add Home Assistant connector for smart home data indexing 2025-11-18 23:58:57 +00:00