tools.cloud_rag module

Cloud Bucket RAG: index files from S3/GCP/OCI into user-scoped ChromaDB stores.

Each store is named cloud_usr_{user_id}_{label} so ownership is encoded in the name. Auto-search respects owner identity and explicit channel sharing (Redis set at stargazer:v3:cloud_rag:shared:{store}).

The cloud_rag_index_bucket handler is designed to be long-running; the TaskManager will background it after 10 s and return a task_id that the LLM can poll with check_task.