{
  "research_library.storage_path": {
    "category": "research_library",
    "description": "Base path for storing research library documents. Each user will have their own subdirectory unless shared library is enabled.",
    "editable": true,
    "max_value": null,
    "min_value": null,
    "name": "Library Storage Path",
    "options": null,
    "step": null,
    "type": "APP",
    "ui_element": "text",
    "value": "~/Documents/LocalDeepResearch/Library",
    "visible": true,
    "env_var": "RESEARCH_LIBRARY_STORAGE_PATH"
  },
  "research_library.shared_library": {
    "category": "research_library",
    "description": "When enabled, all users share the same library directory. Documents from all users will be visible to each other.",
    "editable": true,
    "max_value": null,
    "min_value": null,
    "name": "Shared Library Mode",
    "options": null,
    "step": null,
    "type": "APP",
    "ui_element": "checkbox",
    "value": false,
    "visible": true,
    "env_var": "RESEARCH_LIBRARY_SHARED_LIBRARY"
  },
  "research_library.pdf_storage_mode": {
    "category": "research_library",
    "description": "Choose how PDFs are stored. Each user has their own encrypted database. Database mode stores PDFs encrypted within it (secure, portable, isolated per-user). Filesystem mode stores unencrypted files on disk (faster for large files). None stores only extracted text (smallest footprint).",
    "editable": true,
    "max_value": null,
    "min_value": null,
    "name": "PDF Storage Mode",
    "options": [
      {
        "value": "database",
        "label": "Database (Encrypted, Portable)"
      },
      {
        "value": "filesystem",
        "label": "Filesystem (Unencrypted, Faster)"
      },
      {
        "value": "none",
        "label": "None (Text Only)"
      }
    ],
    "step": null,
    "type": "APP",
    "ui_element": "select",
    "value": "database",
    "visible": true,
    "env_var": "RESEARCH_LIBRARY_PDF_STORAGE_MODE"
  },
  "research_library.enable_pdf_storage": {
    "category": "research_library",
    "description": "DEPRECATED: Use pdf_storage_mode instead. Kept for backward compatibility.",
    "editable": false,
    "max_value": null,
    "min_value": null,
    "name": "Enable PDF Storage (Legacy)",
    "options": null,
    "step": null,
    "type": "APP",
    "ui_element": "checkbox",
    "value": false,
    "visible": false,
    "env_var": "RESEARCH_LIBRARY_ENABLE_PDF_STORAGE"
  },
  "rag.indexing_batch_size": {
    "category": "research_library",
    "description": "Number of documents to process in parallel during RAG indexing. Higher values are faster but use more memory.",
    "editable": true,
    "max_value": 50,
    "min_value": 1,
    "name": "RAG Indexing Batch Size",
    "options": null,
    "step": 5,
    "type": "APP",
    "ui_element": "number",
    "value": 15,
    "visible": true
  },
  "research_library.max_pdf_size_mb": {
    "category": "research_library",
    "description": "Maximum allowed PDF file size in megabytes. PDFs larger than this will not be stored.",
    "editable": true,
    "max_value": 500,
    "min_value": 1,
    "name": "Maximum PDF Size (MB)",
    "options": null,
    "step": 10,
    "type": "APP",
    "ui_element": "number",
    "value": 100,
    "visible": true
  },
  "research_library.upload_pdf_storage": {
    "category": "research_library",
    "description": "Choose how user-uploaded PDFs are stored. Database mode stores PDFs encrypted in your personal database (increases database size but allows viewing/downloading later). Text Only extracts and stores only the text content (smallest footprint). Note: Filesystem storage is not available for uploads for security reasons.",
    "editable": true,
    "max_value": null,
    "min_value": null,
    "name": "Upload PDF Storage",
    "options": [
      {
        "value": "none",
        "label": "Text Only (Default)"
      },
      {
        "value": "database",
        "label": "Database (Encrypted)"
      }
    ],
    "step": null,
    "type": "APP",
    "ui_element": "select",
    "value": "none",
    "visible": true,
    "env_var": "RESEARCH_LIBRARY_UPLOAD_PDF_STORAGE"
  },
  "research_library.confirm_deletions": {
    "category": "research_library",
    "description": "Show confirmation dialogs before delete operations. Recommended to keep enabled to prevent accidental data loss.",
    "editable": true,
    "max_value": null,
    "min_value": null,
    "name": "Confirm Deletions",
    "options": null,
    "step": null,
    "type": "APP",
    "ui_element": "checkbox",
    "value": true,
    "visible": true
  }
}
