Personal AI, On Personal Devices
Python
feat: extend deep-research-setup with token source detection and interactive connect
Jon Saad-Falcone788d1a41663
diff --git a/docs/superpowers/plans/2026-03-26-outlook-and-token-sources.md b/docs/superpowers/plans/2026-03-26-outlook-and-token-sources.mdnew file mode 100644index 00000000..c630afb1--- /dev/null+++ b/docs/superpowers/plans/2026-03-26-outlook-and-token-sources.md@@ -0,0 +1,724 @@+# Outlook Connector + Token Source Integration Implementation Plan++> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.++**Goal:** Generalize Gmail IMAP to support Outlook, and extend `jarvis deep-research-setup` to detect, connect, and ingest token-based sources (Slack, Notion, Granola, Gmail IMAP, Outlook) alongside local sources.++**Architecture:** Add `imap_host` parameter to `GmailIMAPConnector`, create a thin `OutlookConnector` subclass, then extend the CLI command with `detect_token_sources()` and an interactive connect prompt that saves credentials and ingests all sources in one flow.++**Tech Stack:** Python 3.10+, imaplib, Click, Rich, SQLite/FTS5, pytest++---++### Task 1: Generalize GmailIMAPConnector with `imap_host` parameter++**Files:**+- Modify: `src/openjarvis/connectors/gmail_imap.py`+- Modify: `tests/connectors/test_gmail_imap.py`++- [ ] **Step 1: Read the current test file to understand existing test patterns**++```bash+cat tests/connectors/test_gmail_imap.py+```++- [ ] **Step 2: Add `imap_host` parameter to `GmailIMAPConnector.__init__`**++In `src/openjarvis/connectors/gmail_imap.py`, add a class attribute and constructor parameter:++```python+# Add class attribute after line 84 (after display_name):+_default_imap_host = "imap.gmail.com"++# Change __init__ signature to add imap_host:+def __init__(+ self,+ email_address: str = "",+ app_password: str = "",+ credentials_path: str = "",+ *,+ imap_host: str = "",+ max_messages: int = 500,+) -> None:+ self._email = email_address+ self._password = app_password+ self._credentials_path = credentials_path or _DEFAULT_CREDENTIALS_PATH+ self._imap_host = imap_host or self._default_imap_host+ self._max_messages = max_messages+ self._items_synced = 0+ self._items_total = 0+```++- [ ] **Step 3: Update `sync()` to use `self._imap_host`**++In `src/openjarvis/connectors/gmail_imap.py`, line 147, change:++```python+# Before:+imap = imaplib.IMAP4_SSL("imap.gmail.com")++# After:+imap = imaplib.IMAP4_SSL(self._imap_host)+```++- [ ] **Step 4: Run existing tests to verify nothing breaks**++```bash+uv run pytest tests/connectors/test_gmail_imap.py -v --tb=short+```++Expected: All existing tests PASS (they mock IMAP so the host doesn't matter).++- [ ] **Step 5: Commit**++```bash+git add src/openjarvis/connectors/gmail_imap.py+git commit -m "feat: add imap_host parameter to GmailIMAPConnector"+```++---++### Task 2: Create Outlook connector++**Files:**+- Create: `src/openjarvis/connectors/outlook.py`+- Create: `tests/connectors/test_outlook.py`++- [ ] **Step 1: Write the test file**++Create `tests/connectors/test_outlook.py`:++```python+"""Tests for OutlookConnector — thin subclass of GmailIMAPConnector."""++from __future__ import annotations++from pathlib import Path++import pytest++from openjarvis.core.registry import ConnectorRegistry+++def test_outlook_registered() -> None:+ """OutlookConnector is discoverable via ConnectorRegistry."""+ from openjarvis.connectors.outlook import OutlookConnector++ ConnectorRegistry.register_value("outlook", OutlookConnector)+ assert ConnectorRegistry.contains("outlook")+ cls = ConnectorRegistry.get("outlook")+ assert cls.connector_id == "outlook"+ assert cls.display_name == "Outlook / Microsoft 365"+++def test_outlook_uses_correct_imap_host() -> None:+ """OutlookConnector defaults to outlook.office365.com."""+ from openjarvis.connectors.outlook import OutlookConnector++ conn = OutlookConnector()+ assert conn._imap_host == "outlook.office365.com"+++def test_outlook_auth_url() -> None:+ """auth_url() points to Microsoft security page."""+ from openjarvis.connectors.outlook import OutlookConnector++ conn = OutlookConnector()+ assert "microsoft.com" in conn.auth_url()+++def test_outlook_handle_callback(tmp_path: Path) -> None:+ """handle_callback saves email:password credentials."""+ from openjarvis.connectors.outlook import OutlookConnector+ from openjarvis.connectors.oauth import load_tokens++ creds_path = str(tmp_path / "outlook.json")+ conn = OutlookConnector(credentials_path=creds_path)+ conn.handle_callback("[email protected]:mypassword123")++ tokens = load_tokens(creds_path)+ assert tokens is not None+ assert tokens["email"] == "[email protected]"+ assert tokens["password"] == "mypassword123"+++def test_outlook_is_connected(tmp_path: Path) -> None:+ """is_connected returns True when credentials file has email+password."""+ from openjarvis.connectors.outlook import OutlookConnector++ creds_path = str(tmp_path / "outlook.json")+ conn = OutlookConnector(credentials_path=creds_path)+ assert conn.is_connected() is False++ conn.handle_callback("[email protected]:pass")+ assert conn.is_connected() is True+++def test_outlook_sync_source_is_outlook(tmp_path: Path) -> None:+ """Documents yielded by sync() have source='outlook' and doc_id prefix 'outlook:'."""+ from unittest.mock import MagicMock, patch+ from openjarvis.connectors.outlook import OutlookConnector++ creds_path = str(tmp_path / "outlook.json")+ conn = OutlookConnector(credentials_path=creds_path)+ conn.handle_callback("[email protected]:pass")++ # Mock IMAP to return one email+ mock_imap = MagicMock()+ mock_imap.login.return_value = ("OK", [])+ mock_imap.select.return_value = ("OK", [])+ mock_imap.search.return_value = ("OK", [b"1"])++ raw_email = (+ b"From: [email protected]\r\n"+ b"To: [email protected]\r\n"+ b"Subject: Test Email\r\n"+ b"Date: Mon, 01 Jan 2024 00:00:00 +0000\r\n"+ b"Message-ID: <[email protected]>\r\n"+ b"\r\n"+ b"Hello from Outlook test"+ )+ mock_imap.fetch.return_value = ("OK", [(b"1", raw_email)])+ mock_imap.logout.return_value = ("OK", [])++ with patch("openjarvis.connectors.gmail_imap.imaplib") as mock_imaplib:+ mock_imaplib.IMAP4_SSL.return_value = mock_imap+ mock_imaplib.IMAP4 = type(mock_imap)+ docs = list(conn.sync())++ assert len(docs) == 1+ assert docs[0].source == "outlook"+ assert docs[0].doc_id.startswith("outlook:")+ assert docs[0].title == "Test Email"+```++- [ ] **Step 2: Run tests to verify they fail**++```bash+uv run pytest tests/connectors/test_outlook.py -v --tb=short+```++Expected: FAIL — `ModuleNotFoundError: No module named 'openjarvis.connectors.outlook'`++- [ ] **Step 3: Create the Outlook connector**++Create `src/openjarvis/connectors/outlook.py`:++```python+"""Outlook / Microsoft 365 connector — reads email via IMAP with app password.++Thin subclass of GmailIMAPConnector that defaults to the Outlook IMAP host+and relabels documents with source='outlook'.++Setup: enable 2FA on your Microsoft account, then generate an app password+at https://account.microsoft.com/security+"""++from __future__ import annotations++from typing import Iterator, Optional++from datetime import datetime++from openjarvis.connectors._stubs import Document+from openjarvis.connectors.gmail_imap import GmailIMAPConnector+from openjarvis.core.config import DEFAULT_CONFIG_DIR+from openjarvis.core.registry import ConnectorRegistry++_DEFAULT_CREDENTIALS_PATH = str(+ DEFAULT_CONFIG_DIR / "connectors" / "outlook.json"+)++[email protected]("outlook")+class OutlookConnector(GmailIMAPConnector):+ """Outlook connector using IMAP + app password.++ Inherits all IMAP logic from :class:`GmailIMAPConnector` and overrides+ the IMAP host, credential path, auth URL, and document source labels.+ """++ connector_id = "outlook"+ display_name = "Outlook / Microsoft 365"+ _default_imap_host = "outlook.office365.com"++ def __init__(+ self,+ email_address: str = "",+ app_password: str = "",+ credentials_path: str = "",+ *,+ max_messages: int = 500,+ ) -> None:+ super().__init__(+ email_address,+ app_password,+ credentials_path or _DEFAULT_CREDENTIALS_PATH,+ max_messages=max_messages,+ )++ def auth_url(self) -> str:+ """Return the Microsoft account security page for app passwords."""+ return "https://account.microsoft.com/security"++ def sync(+ self,+ *,+ since: Optional[datetime] = None,+ cursor: Optional[str] = None,+ ) -> Iterator[Document]:+ """Sync emails and relabel with source='outlook'."""+ for doc in super().sync(since=since, cursor=cursor):+ doc.source = "outlook"+ doc.doc_id = doc.doc_id.replace("gmail:", "outlook:", 1)+ yield doc+```++- [ ] **Step 4: Run tests to verify they pass**++```bash+uv run pytest tests/connectors/test_outlook.py -v --tb=short+```++Expected: All 6 tests PASS.++- [ ] **Step 5: Commit**++```bash+git add src/openjarvis/connectors/outlook.py tests/connectors/test_outlook.py+git commit -m "feat: add Outlook connector as IMAP subclass"+```++---++### Task 3: Extend deep-research-setup with token source detection and interactive connect++**Files:**+- Modify: `src/openjarvis/cli/deep_research_setup_cmd.py`+- Modify: `tests/cli/test_deep_research_setup.py`++- [ ] **Step 1: Write tests for token source detection**++Append to `tests/cli/test_deep_research_setup.py`:++```python+def test_detect_token_sources_finds_connected(tmp_path: Path) -> None:+ """detect_token_sources finds sources with valid credential files."""+ from openjarvis.cli.deep_research_setup_cmd import detect_token_sources++ connectors_dir = tmp_path / "connectors"+ connectors_dir.mkdir()+ (connectors_dir / "slack.json").write_text('{"token": "xoxb-test"}')+ (connectors_dir / "notion.json").write_text('{"token": "ntn_test"}')++ sources = detect_token_sources(connectors_dir=connectors_dir)+ ids = [s["connector_id"] for s in sources]+ assert "slack" in ids+ assert "notion" in ids+++def test_detect_token_sources_skips_empty(tmp_path: Path) -> None:+ """detect_token_sources skips files with empty or invalid JSON."""+ from openjarvis.cli.deep_research_setup_cmd import detect_token_sources++ connectors_dir = tmp_path / "connectors"+ connectors_dir.mkdir()+ (connectors_dir / "slack.json").write_text("{}")+ (connectors_dir / "notion.json").write_text("invalid json")++ sources = detect_token_sources(connectors_dir=connectors_dir)+ assert len(sources) == 0+++def test_detect_token_sources_empty_dir(tmp_path: Path) -> None:+ """detect_token_sources returns empty list when no credential files exist."""+ from openjarvis.cli.deep_research_setup_cmd import detect_token_sources++ connectors_dir = tmp_path / "connectors"+ connectors_dir.mkdir()++ sources = detect_token_sources(connectors_dir=connectors_dir)+ assert len(sources) == 0+```++- [ ] **Step 2: Run tests to verify they fail**++```bash+uv run pytest tests/cli/test_deep_research_setup.py::test_detect_token_sources_finds_connected -v --tb=short+```++Expected: FAIL — `ImportError: cannot import name 'detect_token_sources'`++- [ ] **Step 3: Add `detect_token_sources` and `_TOKEN_SOURCES` to deep_research_setup_cmd.py**++Add after the `detect_local_sources` function (around line 80):++```python+# ---------------------------------------------------------------------------+# Token-based source detection+# ---------------------------------------------------------------------------++_TOKEN_SOURCES = [+ {+ "connector_id": "gmail_imap",+ "display_name": "Gmail (IMAP)",+ "creds_file": "gmail_imap.json",+ "prompt_label": "email:app_password",+ },+ {+ "connector_id": "outlook",+ "display_name": "Outlook / Microsoft 365",+ "creds_file": "outlook.json",+ "prompt_label": "email:app_password",+ },+ {+ "connector_id": "slack",+ "display_name": "Slack",+ "creds_file": "slack.json",+ "prompt_label": "Bot token (xoxb-... or xoxe-...)",+ },+ {+ "connector_id": "notion",+ "display_name": "Notion",+ "creds_file": "notion.json",+ "prompt_label": "Integration token (ntn_...)",+ },+ {+ "connector_id": "granola",+ "display_name": "Granola",+ "creds_file": "granola.json",+ "prompt_label": "API key (grn_...)",+ },+]+++def detect_token_sources(+ *,+ connectors_dir: Optional[Path] = None,+) -> List[Dict[str, Any]]:+ """Return token-based sources that already have valid credentials.++ Scans ``~/.openjarvis/connectors/`` for known credential files.+ """+ cdir = connectors_dir or (DEFAULT_CONFIG_DIR / "connectors")+ sources: List[Dict[str, Any]] = []++ for ts in _TOKEN_SOURCES:+ creds_file = cdir / ts["creds_file"]+ if not creds_file.exists():+ continue+ try:+ data = json.loads(creds_file.read_text(encoding="utf-8"))+ except (json.JSONDecodeError, OSError):+ continue+ # Must have at least one non-empty value+ if not data or not any(v for v in data.values() if v):+ continue+ sources.append({+ "connector_id": ts["connector_id"],+ "display_name": ts["display_name"],+ "config": {},+ })++ return sources+```++Also add `import json` at the top of the file (add to existing imports section).++- [ ] **Step 4: Run token detection tests**++```bash+uv run pytest tests/cli/test_deep_research_setup.py -v --tb=short+```++Expected: All 7 tests PASS (4 old + 3 new).++- [ ] **Step 5: Add `_prompt_connect_sources` function and update `_instantiate_connector`**++Add the interactive connect function after `detect_token_sources`:++```python+def _prompt_connect_sources(console: Console) -> List[Dict[str, Any]]:+ """Interactively prompt the user to connect token-based sources."""+ connected: List[Dict[str, Any]] = []+ cdir = DEFAULT_CONFIG_DIR / "connectors"+ cdir.mkdir(parents=True, exist_ok=True)++ while True:+ # Show unconnected sources+ unconnected = [+ ts for ts in _TOKEN_SOURCES+ if not (cdir / ts["creds_file"]).exists()+ ]+ if not unconnected:+ console.print("[dim]All token sources already connected.[/dim]")+ break++ if not click.confirm("Connect additional sources?", default=False):+ break++ names = [ts["connector_id"] for ts in unconnected]+ labels = [f"{ts['display_name']} ({ts['connector_id']})" for ts in unconnected]+ console.print("Available:")+ for label in labels:+ console.print(f" {label}")++ choice = click.prompt(+ "Which source?",+ type=click.Choice(names, case_sensitive=False),+ )++ ts = next(t for t in unconnected if t["connector_id"] == choice)+ token = click.prompt(f"Paste your {ts['prompt_label']}")++ # Save credentials via connector's handle_callback+ connector = _instantiate_connector(choice, {})+ connector.handle_callback(token.strip())+ console.print(f" [green]{ts['display_name']}: connected![/green]")++ connected.append({+ "connector_id": choice,+ "display_name": ts["display_name"],+ "config": {},+ })++ return connected+```++Update `_instantiate_connector` to handle all connector types:++```python+def _instantiate_connector(connector_id: str, config: Dict[str, Any]) -> Any:+ """Lazily import and instantiate a connector by ID."""+ if connector_id == "apple_notes":+ from openjarvis.connectors.apple_notes import AppleNotesConnector+ return AppleNotesConnector(db_path=config.get("db_path", ""))+ elif connector_id == "imessage":+ from openjarvis.connectors.imessage import IMessageConnector+ return IMessageConnector(db_path=config.get("db_path", ""))+ elif connector_id == "obsidian":+ from openjarvis.connectors.obsidian import ObsidianConnector+ return ObsidianConnector(vault_path=config.get("vault_path", ""))+ elif connector_id == "gmail_imap":+ from openjarvis.connectors.gmail_imap import GmailIMAPConnector+ return GmailIMAPConnector()+ elif connector_id == "outlook":+ from openjarvis.connectors.outlook import OutlookConnector+ return OutlookConnector()+ elif connector_id == "slack":+ from openjarvis.connectors.slack_connector import SlackConnector+ return SlackConnector()+ elif connector_id == "notion":+ from openjarvis.connectors.notion import NotionConnector+ return NotionConnector()+ elif connector_id == "granola":+ from openjarvis.connectors.granola import GranolaConnector+ return GranolaConnector()+ else:+ msg = f"Unknown connector: {connector_id}"+ raise ValueError(msg)+```++- [ ] **Step 6: Update the `deep_research_setup` Click command to use token sources**++Replace the body of the `deep_research_setup` function with:++```python[email protected]("deep-research-setup")+ "--obsidian-vault",+ type=click.Path(exists=True, file_okay=False),+ default=None,+ help="Path to an Obsidian vault directory.",+)[email protected]("--skip-chat", is_flag=True, help="Ingest only, don't launch chat.")+def deep_research_setup(obsidian_vault: Optional[str], skip_chat: bool) -> None:+ """Auto-detect local data sources, ingest, and launch Deep Research chat."""+ console = Console()+ console.print("\n[bold]Deep Research Setup[/bold]\n")++ # 1. Detect local sources+ vault_path = Path(obsidian_vault) if obsidian_vault else None+ local_sources = detect_local_sources(obsidian_vault_path=vault_path)++ # 2. Detect already-connected token sources+ token_sources = detect_token_sources()++ all_sources = local_sources + token_sources++ # 3. Show what we found+ if all_sources:+ table = Table(title="Detected Sources")+ table.add_column("Source", style="bold")+ table.add_column("Type", style="dim")+ table.add_column("Status", style="green")+ for src in local_sources:+ table.add_row(src["display_name"], "local", "ready")+ for src in token_sources:+ table.add_row(src["display_name"], "token", "connected")+ console.print(table)+ console.print()++ # 4. Offer to connect new token sources+ newly_connected = _prompt_connect_sources(console)+ all_sources.extend(newly_connected)++ if not all_sources:+ console.print(+ "[yellow]No data sources detected or connected.[/yellow]\n"+ "On macOS, ensure Full Disk Access is granted in "+ "System Settings > Privacy & Security."+ )+ sys.exit(1)++ # 5. Confirm and ingest+ if not click.confirm("Ingest these sources?", default=True):+ sys.exit(0)++ db_path = DEFAULT_CONFIG_DIR / "knowledge.db"+ db_path.parent.mkdir(parents=True, exist_ok=True)+ store = KnowledgeStore(str(db_path))++ console.print("\n[bold]Ingesting...[/bold]")+ for src in all_sources:+ try:+ connector = _instantiate_connector(+ src["connector_id"], src["config"],+ )+ pipeline = IngestionPipeline(store)+ engine = SyncEngine(pipeline)+ chunks = engine.sync(connector)+ console.print(+ f" {src['display_name']}: [green]{chunks} chunks[/green]"+ )+ except Exception as exc: # noqa: BLE001+ console.print(+ f" {src['display_name']}: [red]error: {exc}[/red]"+ )++ total = store.count()+ console.print(+ f"\n[bold green]Done![/bold green] {total} total chunks in {db_path}\n"+ )++ # 6. Chat+ if skip_chat:+ return++ _launch_chat(store, console)+```++- [ ] **Step 7: Run all tests**++```bash+uv run pytest tests/cli/test_deep_research_setup.py tests/connectors/test_outlook.py -v --tb=short+```++Expected: All tests PASS.++- [ ] **Step 8: Lint**++```bash+uv run ruff check src/openjarvis/cli/deep_research_setup_cmd.py src/openjarvis/connectors/outlook.py src/openjarvis/connectors/gmail_imap.py+```++Expected: No errors.++- [ ] **Step 9: Commit**++```bash+git add src/openjarvis/cli/deep_research_setup_cmd.py tests/cli/test_deep_research_setup.py+git commit -m "feat: extend deep-research-setup with token source detection and interactive connect"+```++---++### Task 4: Live test — connect all sources and ingest++**Files:** None (manual testing)++- [ ] **Step 1: Connect Slack**++```bash+uv run jarvis connect slack+```++Paste: your Slack bot token (`xoxb-...` or `xoxe-...`)++- [ ] **Step 2: Connect Notion**++```bash+uv run jarvis connect notion+```++Paste: your Notion integration token (`ntn_...`)++- [ ] **Step 3: Connect Granola**++```bash+uv run jarvis connect granola+```++Paste: your Granola API key (`grn_...`)++- [ ] **Step 4: Connect Gmail IMAP**++```bash+uv run jarvis connect gmail_imap+```++Paste: `[email protected]:qpde kebj evhy zljc`++(Replace `[email protected]` with your actual Gmail address.)++- [ ] **Step 5: Run deep-research-setup and verify all sources ingest**++```bash+uv run jarvis deep-research-setup --skip-chat+```++Expected output:+```+Deep Research Setup++ Detected Sources+┌───────────────────────┬───────┬───────────┐+│ Source │ Type │ Status │+├───────────────────────┼───────┼───────────┤+│ Apple Notes │ local │ ready │+│ iMessage │ local │ ready │+│ Gmail (IMAP) │ token │ connected │+│ Slack │ token │ connected │+│ Notion │ token │ connected │+│ Granola │ token │ connected │+└───────────────────────┴───────┴───────────┘++Ingest these sources? [Y/n]: Y++Ingesting...+ Apple Notes: ~100 chunks+ iMessage: ~52000 chunks+ Gmail (IMAP): N chunks+ Slack: N chunks+ Notion: N chunks+ Granola: N chunks++Done! N total chunks in ~/.openjarvis/knowledge.db+```++- [ ] **Step 6: Test the research agent with cross-source queries**++```bash+uv run jarvis deep-research-setup+```++At the `research>` prompt, try:+1. A query that should span emails + messages+2. A query about meeting notes (Granola data)+3. A query about a Notion page++- [ ] **Step 7: Push**++```bash+git push origin feat/deep-research-setup+```diff --git a/frontend/tsconfig.tsbuildinfo b/frontend/tsconfig.tsbuildinfoindex 475306ac..3dfe098e 100644--- a/frontend/tsconfig.tsbuildinfo+++ b/frontend/tsconfig.tsbuildinfo@@ -1 +1 @@-{"root":["./src/app.tsx","./src/main.tsx","./src/vite-env.d.ts","./src/components/commandpalette.tsx","./src/components/errorboundary.tsx","./src/components/layout.tsx","./src/components/optinmodal.tsx","./src/components/setupscreen.tsx","./src/components/systempulse.tsx","./src/components/chat/chatarea.tsx","./src/components/chat/inputarea.tsx","./src/components/chat/messagebubble.tsx","./src/components/chat/micbutton.tsx","./src/components/chat/streamingdots.tsx","./src/components/chat/systempanel.tsx","./src/components/chat/toolcallcard.tsx","./src/components/chat/xrayfooter.tsx","./src/components/dashboard/costcomparison.tsx","./src/components/dashboard/energydashboard.tsx","./src/components/dashboard/tracedebugger.tsx","./src/components/sidebar/conversationlist.tsx","./src/components/sidebar/sidebar.tsx","./src/components/ui/button.tsx","./src/components/ui/dialog.tsx","./src/components/ui/input.tsx","./src/components/ui/select.tsx","./src/components/ui/sonner.tsx","./src/components/ui/tooltip.tsx","./src/hooks/usespeech.ts","./src/lib/api.ts","./src/lib/profanity.ts","./src/lib/sse.ts","./src/lib/store.ts","./src/lib/utils.ts","./src/pages/agentspage.tsx","./src/pages/chatpage.tsx","./src/pages/dashboardpage.tsx","./src/pages/getstartedpage.tsx","./src/pages/logspage.tsx","./src/pages/settingspage.tsx","./src/types/index.ts"],"version":"5.7.3"}\ No newline at end of file+{"root":["./src/app.tsx","./src/main.tsx","./src/vite-env.d.ts","./src/components/commandpalette.tsx","./src/components/errorboundary.tsx","./src/components/layout.tsx","./src/components/optinmodal.tsx","./src/components/setupscreen.tsx","./src/components/systempulse.tsx","./src/components/chat/chatarea.tsx","./src/components/chat/inputarea.tsx","./src/components/chat/messagebubble.tsx","./src/components/chat/micbutton.tsx","./src/components/chat/streamingdots.tsx","./src/components/chat/systempanel.tsx","./src/components/chat/toolcallcard.tsx","./src/components/chat/xrayfooter.tsx","./src/components/dashboard/costcomparison.tsx","./src/components/dashboard/energydashboard.tsx","./src/components/dashboard/tracedebugger.tsx","./src/components/sidebar/conversationlist.tsx","./src/components/sidebar/sidebar.tsx","./src/components/setup/ingestdashboard.tsx","./src/components/setup/readyscreen.tsx","./src/components/setup/setupwizard.tsx","./src/components/setup/sourceconnectflow.tsx","./src/components/setup/sourcepicker.tsx","./src/components/ui/button.tsx","./src/components/ui/dialog.tsx","./src/components/ui/input.tsx","./src/components/ui/select.tsx","./src/components/ui/sonner.tsx","./src/components/ui/tooltip.tsx","./src/hooks/usespeech.ts","./src/lib/api.ts","./src/lib/connectors-api.ts","./src/lib/deep-link.ts","./src/lib/profanity.ts","./src/lib/sse.ts","./src/lib/store.ts","./src/lib/utils.ts","./src/pages/agentspage.tsx","./src/pages/chatpage.tsx","./src/pages/dashboardpage.tsx","./src/pages/getstartedpage.tsx","./src/pages/logspage.tsx","./src/pages/settingspage.tsx","./src/types/connectors.ts","./src/types/index.ts"],"version":"5.7.3"}\ No newline at end of filediff --git a/src/openjarvis/cli/deep_research_setup_cmd.py b/src/openjarvis/cli/deep_research_setup_cmd.pyindex 68d1b0bf..99964f11 100644--- a/src/openjarvis/cli/deep_research_setup_cmd.py+++ b/src/openjarvis/cli/deep_research_setup_cmd.py@@ -7,6 +7,7 @@ interactive Deep Research chat session with Qwen3.5 via Ollama.from __future__ import annotations+import jsonimport sysfrom pathlib import Pathfrom typing import Any, Dict, List, Optional@@ -80,6 +81,119 @@ def detect_local_sources(return sources+# ---------------------------------------------------------------------------+# Token-based source detection+# ---------------------------------------------------------------------------++_TOKEN_SOURCES = [+ {+ "connector_id": "gmail_imap",+ "display_name": "Gmail (IMAP)",+ "creds_file": "gmail_imap.json",+ "prompt_label": "email:app_password",+ },+ {+ "connector_id": "outlook",+ "display_name": "Outlook / Microsoft 365",+ "creds_file": "outlook.json",+ "prompt_label": "email:app_password",+ },+ {+ "connector_id": "slack",+ "display_name": "Slack",+ "creds_file": "slack.json",+ "prompt_label": "Bot token (xoxb-... or xoxe-...)",+ },+ {+ "connector_id": "notion",+ "display_name": "Notion",+ "creds_file": "notion.json",+ "prompt_label": "Integration token (ntn_...)",+ },+ {+ "connector_id": "granola",+ "display_name": "Granola",+ "creds_file": "granola.json",+ "prompt_label": "API key (grn_...)",+ },+]+++def detect_token_sources(+ *,+ connectors_dir: Optional[Path] = None,+) -> List[Dict[str, Any]]:+ """Return token-based sources that already have valid credentials."""+ cdir = connectors_dir or (DEFAULT_CONFIG_DIR / "connectors")+ sources: List[Dict[str, Any]] = []++ for ts in _TOKEN_SOURCES:+ creds_file = cdir / ts["creds_file"]+ if not creds_file.exists():+ continue+ try:+ data = json.loads(creds_file.read_text(encoding="utf-8"))+ except (json.JSONDecodeError, OSError):+ continue+ if not data or not any(v for v in data.values() if v):+ continue+ sources.append({+ "connector_id": ts["connector_id"],+ "display_name": ts["display_name"],+ "config": {},+ })++ return sources+++def _prompt_connect_sources(console: Console) -> List[Dict[str, Any]]:+ """Interactively prompt the user to connect token-based sources."""+ connected: List[Dict[str, Any]] = []+ cdir = DEFAULT_CONFIG_DIR / "connectors"+ cdir.mkdir(parents=True, exist_ok=True)++ while True:+ unconnected = [+ ts for ts in _TOKEN_SOURCES+ if not (cdir / ts["creds_file"]).exists()+ ]+ if not unconnected:+ console.print("[dim]All token sources already connected.[/dim]")+ break++ if not click.confirm("Connect additional sources?", default=False):+ break++ names = [ts["connector_id"] for ts in unconnected]+ labels = [+ f"{ts['display_name']} ({ts['connector_id']})"+ for ts in unconnected+ ]+ console.print("Available:")+ for label in labels:+ console.print(f" {label}")++ choice = click.prompt(+ "Which source?",+ type=click.Choice(names, case_sensitive=False),+ )++ ts = next(t for t in unconnected if t["connector_id"] == choice)+ token = click.prompt(f"Paste your {ts['prompt_label']}")++ connector = _instantiate_connector(choice, {})+ connector.handle_callback(token.strip())+ console.print(f" [green]{ts['display_name']}: connected![/green]")++ connected.append({+ "connector_id": choice,+ "display_name": ts["display_name"],+ "config": {},+ })++ return connected++# ---------------------------------------------------------------------------# Ingestion# ---------------------------------------------------------------------------@@ -96,6 +210,21 @@ def _instantiate_connector(connector_id: str, config: Dict[str, Any]) -> Any:elif connector_id == "obsidian":from openjarvis.connectors.obsidian import ObsidianConnectorreturn ObsidianConnector(vault_path=config.get("vault_path", ""))+ elif connector_id == "gmail_imap":+ from openjarvis.connectors.gmail_imap import GmailIMAPConnector+ return GmailIMAPConnector()+ elif connector_id == "outlook":+ from openjarvis.connectors.outlook import OutlookConnector+ return OutlookConnector()+ elif connector_id == "slack":+ from openjarvis.connectors.slack_connector import SlackConnector+ return SlackConnector()+ elif connector_id == "notion":+ from openjarvis.connectors.notion import NotionConnector+ return NotionConnector()+ elif connector_id == "granola":+ from openjarvis.connectors.granola import GranolaConnector+ return GranolaConnector()else:msg = f"Unknown connector: {connector_id}"raise ValueError(msg)@@ -220,49 +349,71 @@ def deep_research_setup(obsidian_vault: Optional[str], skip_chat: bool) -> None:console = Console()console.print("\n[bold]Deep Research Setup[/bold]\n")- # 1. Detect+ # 1. Detect local sourcesvault_path = Path(obsidian_vault) if obsidian_vault else None- sources = detect_local_sources(obsidian_vault_path=vault_path)-- if not sources:+ local_sources = detect_local_sources(obsidian_vault_path=vault_path)++ # 2. Detect already-connected token sources+ token_sources = detect_token_sources()++ all_sources = local_sources + token_sources++ # 3. Show what we found+ if all_sources:+ table = Table(title="Detected Sources")+ table.add_column("Source", style="bold")+ table.add_column("Type", style="dim")+ table.add_column("Status", style="green")+ for src in local_sources:+ table.add_row(src["display_name"], "local", "ready")+ for src in token_sources:+ table.add_row(src["display_name"], "token", "connected")+ console.print(table)+ console.print()++ # 4. Offer to connect new token sources+ newly_connected = _prompt_connect_sources(console)+ all_sources.extend(newly_connected)++ if not all_sources:console.print(- "[yellow]No local data sources detected.[/yellow]\n"+ "[yellow]No data sources detected or connected.[/yellow]\n""On macOS, ensure Full Disk Access is granted in ""System Settings > Privacy & Security.")sys.exit(1)- # 2. Confirm- table = Table(title="Detected Sources")- table.add_column("Source", style="bold")- table.add_column("Status", style="green")- for src in sources:- table.add_row(src["display_name"], "ready")- console.print(table)- console.print()-+ # 5. Confirm and ingestif not click.confirm("Ingest these sources?", default=True):sys.exit(0)- # 3. Ingestdb_path = DEFAULT_CONFIG_DIR / "knowledge.db"db_path.parent.mkdir(parents=True, exist_ok=True)store = KnowledgeStore(str(db_path))console.print("\n[bold]Ingesting...[/bold]")- for src in sources:- connector = _instantiate_connector(src["connector_id"], src["config"])- pipeline = IngestionPipeline(store)- engine = SyncEngine(pipeline)- chunks = engine.sync(connector)- console.print(f" {src['display_name']}: [green]{chunks} chunks[/green]")+ for src in all_sources:+ try:+ connector = _instantiate_connector(+ src["connector_id"], src["config"],+ )+ pipeline = IngestionPipeline(store)+ engine = SyncEngine(pipeline)+ chunks = engine.sync(connector)+ console.print(+ f" {src['display_name']}: [green]{chunks} chunks[/green]"+ )+ except Exception as exc: # noqa: BLE001+ console.print(+ f" {src['display_name']}: [red]error: {exc}[/red]"+ )total = store.count()console.print(f"\n[bold green]Done![/bold green] {total} total chunks in {db_path}\n")- # 4. Chat+ # 6. Chatif skip_chat:returndiff --git a/tests/cli/test_deep_research_setup.py b/tests/cli/test_deep_research_setup.pyindex d4d88b9d..7fb9f990 100644--- a/tests/cli/test_deep_research_setup.py+++ b/tests/cli/test_deep_research_setup.py@@ -138,3 +138,42 @@ def test_ingest_sources(tmp_path: Path) -> None:assert total > 0assert store.count() > 0store.close()+++def test_detect_token_sources_finds_connected(tmp_path: Path) -> None:+ """detect_token_sources finds sources with valid credential files."""+ from openjarvis.cli.deep_research_setup_cmd import detect_token_sources++ connectors_dir = tmp_path / "connectors"+ connectors_dir.mkdir()+ (connectors_dir / "slack.json").write_text('{"token": "xoxb-test"}')+ (connectors_dir / "notion.json").write_text('{"token": "ntn_test"}')++ sources = detect_token_sources(connectors_dir=connectors_dir)+ ids = [s["connector_id"] for s in sources]+ assert "slack" in ids+ assert "notion" in ids+++def test_detect_token_sources_skips_empty(tmp_path: Path) -> None:+ """detect_token_sources skips files with empty or invalid JSON."""+ from openjarvis.cli.deep_research_setup_cmd import detect_token_sources++ connectors_dir = tmp_path / "connectors"+ connectors_dir.mkdir()+ (connectors_dir / "slack.json").write_text("{}")+ (connectors_dir / "notion.json").write_text("invalid json")++ sources = detect_token_sources(connectors_dir=connectors_dir)+ assert len(sources) == 0+++def test_detect_token_sources_empty_dir(tmp_path: Path) -> None:+ """detect_token_sources returns empty list when no credential files exist."""+ from openjarvis.cli.deep_research_setup_cmd import detect_token_sources++ connectors_dir = tmp_path / "connectors"+ connectors_dir.mkdir()++ sources = detect_token_sources(connectors_dir=connectors_dir)+ assert len(sources) == 0diff --git a/uv.lock b/uv.lockindex da90bd67..ae25b8b3 100644--- a/uv.lock+++ b/uv.lock@@ -893,6 +893,15 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/ae/3a/dbeec9d1ee0844c679f6bb5d6ad4e9f198b1224f4e7a32825f47f6192b0c/cffi-2.0.0-cp314-cp314t-win_arm64.whl", hash = "sha256:0a1527a803f0a659de1af2e1fd700213caba79377e27e4693648c2923da066f9", size = 184195, upload-time = "2025-09-08T23:23:43.004Z" },]+[[package]]+name = "cfgv"+version = "3.5.0"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/4e/b5/721b8799b04bf9afe054a3899c6cf4e880fcf8563cc71c15610242490a0c/cfgv-3.5.0.tar.gz", hash = "sha256:d5b1034354820651caa73ede66a6294d6e95c1b00acc5e9b098e917404669132", size = 7334, upload-time = "2025-11-19T20:55:51.612Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/db/3c/33bac158f8ab7f89b2e59426d5fe2e4f63f7ed25df84c036890172b412b5/cfgv-3.5.0-py2.py3-none-any.whl", hash = "sha256:a8dc6b26ad22ff227d2634a65cb388215ce6cc96bbcc5cfde7641ae87e8dacc0", size = 7445, upload-time = "2025-11-19T20:55:50.744Z" },+]+[[package]]name = "charset-normalizer"version = "3.4.4"@@ -1632,6 +1641,15 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/3f/27/4570e78fc0bf5ea0ca45eb1de3818a23787af9b390c0b0a0033a1b8236f9/diskcache-5.6.3-py3-none-any.whl", hash = "sha256:5e31b2d5fbad117cc363ebaf6b689474db18a1f6438bc82358b024abd4c2ca19", size = 45550, upload-time = "2023-08-31T06:11:58.822Z" },]+[[package]]+name = "distlib"+version = "0.4.0"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/96/8e/709914eb2b5749865801041647dc7f4e6d00b549cfe88b65ca192995f07c/distlib-0.4.0.tar.gz", hash = "sha256:feec40075be03a04501a973d81f633735b4b69f98b05450592310c0f401a4e0d", size = 614605, upload-time = "2025-07-17T16:52:00.465Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/33/6b/e0547afaf41bf2c42e52430072fa5658766e3d65bd4b03a563d1b6336f57/distlib-0.4.0-py2.py3-none-any.whl", hash = "sha256:9659f7d87e46584a30b5780e43ac7a2143098441670ff0a49d5f9034c54a6c16", size = 469047, upload-time = "2025-07-17T16:51:58.613Z" },+]+[[package]]name = "distro"version = "1.9.0"@@ -2467,6 +2485,7 @@ wheels = [name = "griffelib"version = "2.0.0"source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/ad/06/eccbd311c9e2b3ca45dbc063b93134c57a1ccc7607c5e545264ad092c4a9/griffelib-2.0.0.tar.gz", hash = "sha256:e504d637a089f5cab9b5daf18f7645970509bf4f53eda8d79ed71cce8bd97934", size = 166312, upload-time = "2026-03-23T21:06:55.954Z" }wheels = [{ url = "https://files.pythonhosted.org/packages/4d/51/c936033e16d12b627ea334aaaaf42229c37620d0f15593456ab69ab48161/griffelib-2.0.0-py3-none-any.whl", hash = "sha256:01284878c966508b6d6f1dbff9b6fa607bc062d8261c5c7253cb285b06422a7f", size = 142004, upload-time = "2026-02-09T19:09:40.561Z" },]@@ -2695,6 +2714,15 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/a8/af/48ac8483240de756d2438c380746e7130d1c6f75802ef22f3c6d49982787/huggingface_hub-0.36.2-py3-none-any.whl", hash = "sha256:48f0c8eac16145dfce371e9d2d7772854a4f591bcb56c9cf548accf531d54270", size = 566395, upload-time = "2026-02-06T09:24:11.133Z" },]+[[package]]+name = "identify"+version = "2.6.18"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/46/c4/7fb4db12296cdb11893d61c92048fe617ee853f8523b9b296ac03b43757e/identify-2.6.18.tar.gz", hash = "sha256:873ac56a5e3fd63e7438a7ecbc4d91aca692eb3fefa4534db2b7913f3fc352fd", size = 99580, upload-time = "2026-03-15T18:39:50.319Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/46/33/92ef41c6fad0233e41d3d84ba8e8ad18d1780f1e5d99b3c683e6d7f98b63/identify-2.6.18-py2.py3-none-any.whl", hash = "sha256:8db9d3c8ea9079db92cafb0ebf97abdc09d52e97f4dcf773a2e694048b7cd737", size = 99394, upload-time = "2026-03-15T18:39:48.915Z" },+]+[[package]]name = "idna"version = "3.11"@@ -4237,6 +4265,15 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/df/93/a7b983643d1253bb223234b5b226e69de6cda02b76cdca7770f684b795f5/ninja-1.13.0-py3-none-win_arm64.whl", hash = "sha256:3c0b40b1f0bba764644385319028650087b4c1b18cdfa6f45cb39a3669b81aa9", size = 290806, upload-time = "2025-08-11T15:10:18.018Z" },]+[[package]]+name = "nodeenv"+version = "1.10.0"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/24/bf/d1bda4f6168e0b2e9e5958945e01910052158313224ada5ce1fb2e1113b8/nodeenv-1.10.0.tar.gz", hash = "sha256:996c191ad80897d076bdfba80a41994c2b47c68e224c542b48feba42ba00f8bb", size = 55611, upload-time = "2025-12-20T14:08:54.006Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/88/b2/d0896bdcdc8d28a7fc5717c305f1a861c26e18c05047949fb371034d98bd/nodeenv-1.10.0-py2.py3-none-any.whl", hash = "sha256:5bb13e3eed2923615535339b3c620e76779af4cb4c6a90deccc9e36b274d3827", size = 23438, upload-time = "2025-12-20T14:08:52.782Z" },+]+[[package]]name = "numba"version = "0.61.2"@@ -4734,6 +4771,7 @@ dashboard = []dev = [{ name = "maturin" },+ { name = "pre-commit" },{ name = "pytest" },{ name = "pytest-asyncio" },{ name = "pytest-cov" },@@ -4772,6 +4810,9 @@ inference-cloud = [{ name = "anthropic" },{ name = "openai" },]+inference-gemma = [+ { name = "pygemma" },+]inference-google = [{ name = "google-genai" },]@@ -4895,7 +4936,9 @@ requires-dist = [{ name = "pdfplumber", marker = "extra == 'pdf'", specifier = ">=0.10" },{ name = "playwright", marker = "extra == 'browser'", specifier = ">=1.40" },{ name = "praw", marker = "extra == 'channel-reddit'", specifier = ">=7.0" },+ { name = "pre-commit", marker = "extra == 'dev'", specifier = ">=3.0" },{ name = "pydantic", marker = "extra == 'server'", specifier = ">=2.0" },+ { name = "pygemma", marker = "extra == 'inference-gemma'", specifier = ">=0.1.3" },{ name = "pymessenger", marker = "extra == 'channel-messenger'", specifier = ">=0.0.7" },{ name = "pynostr", marker = "extra == 'channel-nostr'", specifier = ">=0.6" },{ name = "pynvml", marker = "extra == 'energy-all'", specifier = ">=12.0" },@@ -4930,7 +4973,7 @@ requires-dist = [{ name = "zeus-ml", extras = ["apple"], marker = "extra == 'energy-apple'" },{ name = "zulip", marker = "extra == 'channel-zulip'", specifier = ">=0.9" },]-provides-extras = ["dev", "inference-mlx", "inference-vllm", "inference-cloud", "inference-google", "inference-litellm", "tools-search", "memory-faiss", "memory-colbert", "memory-pdf", "memory-bm25", "server", "openhands", "gpu-metrics", "energy-amd", "energy-apple", "energy-all", "orchestrator-training", "learning-dspy", "learning-gepa", "channel-telegram", "channel-discord", "channel-slack", "channel-line", "channel-viber", "channel-messenger", "channel-reddit", "channel-mastodon", "channel-xmpp", "channel-rocketchat", "channel-zulip", "channel-twitch", "channel-nostr", "browser", "media", "pdf", "scheduler", "security-signing", "sandbox-wasm", "sandbox-docker", "dashboard", "speech", "speech-deepgram", "eval-wandb", "eval-sheets", "docs"]+provides-extras = ["dev", "inference-mlx", "inference-vllm", "inference-cloud", "inference-google", "inference-litellm", "inference-gemma", "tools-search", "memory-faiss", "memory-colbert", "memory-pdf", "memory-bm25", "server", "openhands", "gpu-metrics", "energy-amd", "energy-apple", "energy-all", "orchestrator-training", "learning-dspy", "learning-gepa", "channel-telegram", "channel-discord", "channel-slack", "channel-line", "channel-viber", "channel-messenger", "channel-reddit", "channel-mastodon", "channel-xmpp", "channel-rocketchat", "channel-zulip", "channel-twitch", "channel-nostr", "browser", "media", "pdf", "scheduler", "security-signing", "sandbox-wasm", "sandbox-docker", "dashboard", "speech", "speech-deepgram", "eval-wandb", "eval-sheets", "docs"][package.metadata.requires-dev]dev = [{ name = "maturin", specifier = ">=1.12.6" }]@@ -5601,6 +5644,22 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/96/5c/8af904314e42d5401afcfaff69940dc448e974f80f7aa39b241a4fbf0cf1/prawcore-2.4.0-py3-none-any.whl", hash = "sha256:29af5da58d85704b439ad3c820873ad541f4535e00bb98c66f0fbcc8c603065a", size = 17203, upload-time = "2023-10-01T23:30:47.651Z" },]+[[package]]+name = "pre-commit"+version = "4.5.1"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "cfgv" },+ { name = "identify" },+ { name = "nodeenv" },+ { name = "pyyaml" },+ { name = "virtualenv" },+]+sdist = { url = "https://files.pythonhosted.org/packages/40/f1/6d86a29246dfd2e9b6237f0b5823717f60cad94d47ddc26afa916d21f525/pre_commit-4.5.1.tar.gz", hash = "sha256:eb545fcff725875197837263e977ea257a402056661f09dae08e4b149b030a61", size = 198232, upload-time = "2025-12-16T21:14:33.552Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/5d/19/fd3ef348460c80af7bb4669ea7926651d1f95c23ff2df18b9d24bab4f3fa/pre_commit-4.5.1-py2.py3-none-any.whl", hash = "sha256:3b3afd891e97337708c1674210f8eba659b52a38ea5f822ff142d10786221f77", size = 226437, upload-time = "2025-12-16T21:14:32.409Z" },+]+[[package]]name = "primp"version = "1.1.3"@@ -6386,6 +6445,16 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/a0/c4/b4d4827c93ef43c01f599ef31453ccc1c132b353284fc6c87d535c233129/pyee-13.0.1-py3-none-any.whl", hash = "sha256:af2f8fede4171ef667dfded53f96e2ed0d6e6bd7ee3bb46437f77e3b57689228", size = 15659, upload-time = "2026-02-14T21:12:26.263Z" },]+[[package]]+name = "pygemma"+version = "0.1.3.post3"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/ed/23/ec5446b040c35be02431dffcc04f808b2cb8007af03d811b76a4fd3d08a0/pygemma-0.1.3.post3.tar.gz", hash = "sha256:2456accacd5643514ef28b43931261f86ece5e61e1da4fe51e3e0ce7ec0ac109", size = 3997, upload-time = "2024-03-19T02:09:42.599Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/08/51/426d2e3b3b1253bacb281357d698815c432456ad0827d49cc09e456ac3e1/pygemma-0.1.3.post3-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:d1a61added2ea6765130b55e12e2fc305afbddb77b2cb88e257fcec91c766464", size = 1650822, upload-time = "2024-03-19T02:09:40.274Z" },+ { url = "https://files.pythonhosted.org/packages/72/4a/4bd0aafd5e9073c9a4c3926f56bcc681290cc0811479638290fc7e189b7e/pygemma-0.1.3.post3-cp311-cp311-manylinux1_x86_64.whl", hash = "sha256:5a54175b7ecf76b3fcd6df061f7cc7d3eab90c1f0e00b6884ca9948852e3dd04", size = 1848325, upload-time = "2024-03-19T11:14:02.634Z" },+]+[[package]]name = "pygments"version = "2.19.2"@@ -6559,6 +6628,19 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/ec/57/56b9bcc3c9c6a792fcbaf139543cee77261f3651ca9da0c93f5c1221264b/python_dateutil-2.9.0.post0-py2.py3-none-any.whl", hash = "sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427", size = 229892, upload-time = "2024-03-01T18:36:18.57Z" },]+[[package]]+name = "python-discovery"+version = "1.2.0"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "filelock" },+ { name = "platformdirs" },+]+sdist = { url = "https://files.pythonhosted.org/packages/9c/90/bcce6b46823c9bec1757c964dc37ed332579be512e17a30e9698095dcae4/python_discovery-1.2.0.tar.gz", hash = "sha256:7d33e350704818b09e3da2bd419d37e21e7c30db6e0977bb438916e06b41b5b1", size = 58055, upload-time = "2026-03-19T01:43:08.248Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/c2/3c/2005227cb951df502412de2fa781f800663cccbef8d90ec6f1b371ac2c0d/python_discovery-1.2.0-py3-none-any.whl", hash = "sha256:1e108f1bbe2ed0ef089823d28805d5ad32be8e734b86a5f212bf89b71c266e4a", size = 31524, upload-time = "2026-03-19T01:43:07.045Z" },+]+[[package]]name = "python-dotenv"version = "1.2.1"@@ -8932,6 +9014,22 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/5d/c1/f01846f10c8383b197a67b4cdfea6eea476aab678ed9f6f5d9ccc8c8dddf/viberbot-1.0.12-py3-none-any.whl", hash = "sha256:ca43fea2945d650c2ef2cbd777f3c546c795bf945278f6620ceda42f4101d801", size = 26164, upload-time = "2021-01-27T13:45:43.726Z" },]+[[package]]+name = "virtualenv"+version = "21.2.0"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "distlib" },+ { name = "filelock" },+ { name = "platformdirs" },+ { name = "python-discovery" },+ { name = "typing-extensions", marker = "python_full_version < '3.11'" },+]+sdist = { url = "https://files.pythonhosted.org/packages/aa/92/58199fe10049f9703c2666e809c4f686c54ef0a68b0f6afccf518c0b1eb9/virtualenv-21.2.0.tar.gz", hash = "sha256:1720dc3a62ef5b443092e3f499228599045d7fea4c79199770499df8becf9098", size = 5840618, upload-time = "2026-03-09T17:24:38.013Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/c6/59/7d02447a55b2e55755011a647479041bc92a82e143f96a8195cb33bd0a1c/virtualenv-21.2.0-py3-none-any.whl", hash = "sha256:1bd755b504931164a5a496d217c014d098426cddc79363ad66ac78125f9d908f", size = 5825084, upload-time = "2026-03-09T17:24:35.378Z" },+]+[[package]]name = "vllm"version = "0.17.1"