cite-agent 1.2.6__py3-none-any.whl → 1.2.8__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of cite-agent might be problematic. Click here for more details.

cite_agent/__main__.py ADDED
@@ -0,0 +1,11 @@
1
+ #!/usr/bin/env python3
2
+ """
3
+ Entry point for python -m cite_agent
4
+ Allows running: python3 -m cite_agent
5
+ """
6
+
7
+ from cite_agent.cli import main
8
+
9
+ if __name__ == "__main__":
10
+ main()
11
+
cite_agent/__version__.py CHANGED
@@ -1 +1 @@
1
- __version__ = "1.2.6"
1
+ __version__ = "1.2.8"
cite_agent/cli.py CHANGED
@@ -91,7 +91,6 @@ class NocturnalCLI:
91
91
 
92
92
  if not config.check_setup():
93
93
  # Check if we have env vars or session file (non-interactive mode)
94
- import os
95
94
  from pathlib import Path
96
95
  session_file = Path.home() / ".nocturnal_archive" / "session.json"
97
96
  has_env_creds = os.getenv("NOCTURNAL_ACCOUNT_EMAIL") and os.getenv("NOCTURNAL_ACCOUNT_PASSWORD")
@@ -748,7 +747,7 @@ Examples:
748
747
 
749
748
  # Handle version
750
749
  if args.version:
751
- print("Cite Agent v1.2.6")
750
+ print("Cite Agent v1.2.8")
752
751
  print("AI Research Assistant with real data integration")
753
752
  return
754
753
 
@@ -186,12 +186,10 @@ class SessionManager:
186
186
  env_local = Path.home() / ".nocturnal_archive" / ".env.local"
187
187
  if env_local.exists():
188
188
  load_dotenv(env_local)
189
- import os
190
189
  debug = os.getenv("NOCTURNAL_DEBUG", "").lower() == "1"
191
190
  if debug:
192
191
  print(f"🔍 Loaded .env.local: USE_LOCAL_KEYS={os.getenv('USE_LOCAL_KEYS')}")
193
192
  except Exception as e:
194
- import os
195
193
  debug = os.getenv("NOCTURNAL_DEBUG", "").lower() == "1"
196
194
  if debug:
197
195
  print(f"⚠️ Failed to load .env.local: {e}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cite-agent
3
- Version: 1.2.6
3
+ Version: 1.2.8
4
4
  Summary: Terminal AI assistant for academic research with citation verification
5
5
  Home-page: https://github.com/Spectating101/cite-agent
6
6
  Author: Cite-Agent Team
@@ -37,7 +37,7 @@ Dynamic: summary
37
37
 
38
38
  # Cite-Agent: AI Research Assistant
39
39
 
40
- [![Version](https://img.shields.io/badge/version-1.2.0-blue.svg)](https://pypi.org/project/cite-agent/)
40
+ [![Version](https://img.shields.io/badge/version-1.2.6-blue.svg)](https://pypi.org/project/cite-agent/)
41
41
  [![Python](https://img.shields.io/badge/python-3.8+-green.svg)](https://python.org)
42
42
  [![License](https://img.shields.io/badge/license-MIT-orange.svg)](LICENSE)
43
43
 
@@ -81,10 +81,34 @@ Dynamic: summary
81
81
 
82
82
  ### Installation
83
83
 
84
+ **Option 1: pipx (Recommended - handles PATH automatically)**
84
85
  ```bash
85
- pip install cite-agent
86
+ # Install pipx if you don't have it
87
+ pip install --user pipx
88
+ python3 -m pipx ensurepath
89
+
90
+ # Install cite-agent
91
+ pipx install cite-agent
92
+
93
+ # Ready to use (no PATH setup needed)
94
+ cite-agent --version
95
+ ```
96
+
97
+ **Option 2: pip (requires PATH setup)**
98
+ ```bash
99
+ # Install
100
+ pip install --user cite-agent
101
+
102
+ # Add to PATH (one-time setup)
103
+ echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
104
+ source ~/.bashrc
105
+
106
+ # Ready to use
107
+ cite-agent --version
86
108
  ```
87
109
 
110
+ **If cite-agent command not found:** Run `python3 -m cite_agent.cli` instead.
111
+
88
112
  ### Basic Usage
89
113
 
90
114
  ```bash
@@ -1,18 +1,19 @@
1
1
  cite_agent/__init__.py,sha256=wAXV2v8nNOmIAd0rh8196ItBl9hHWBVOBl5Re4VB77I,1645
2
- cite_agent/__version__.py,sha256=vMQK58X8_YZGKzRm0ThvPAKFtpfyejGmUnDrY9RQ13w,22
2
+ cite_agent/__main__.py,sha256=6x3lltwG-iZHeQbN12rwvdkPDfd2Rmdk71tOOaC89Mw,179
3
+ cite_agent/__version__.py,sha256=CfVXm0wwlKPW0khOcwhWw61TpgtZiLijCePsAIOK3aU,22
3
4
  cite_agent/account_client.py,sha256=yLuzhIJoIZuXHXGbaVMzDxRATQwcy-wiaLnUrDuwUhI,5725
4
5
  cite_agent/agent_backend_only.py,sha256=H4DH4hmKhT0T3rQLAb2xnnJVjxl3pOZaljL9r6JndFY,6314
5
6
  cite_agent/ascii_plotting.py,sha256=lk8BaECs6fmjtp4iH12G09-frlRehAN7HLhHt2crers,8570
6
7
  cite_agent/auth.py,sha256=YtoGXKwcLkZQbop37iYYL9BzRWBRPlt_D9p71VGViS4,9833
7
8
  cite_agent/backend_only_client.py,sha256=WqLF8x7aXTro2Q3ehqKMsdCg53s6fNk9Hy86bGxqmmw,2561
8
- cite_agent/cli.py,sha256=8USn40f21455KG5SkWf9axLGzrbhqm609eICd_7JsN8,32247
9
+ cite_agent/cli.py,sha256=zOeUA48UsSobeptEyuVh-5uzH6U1Dn1ie32TEnOCAcA,32225
9
10
  cite_agent/cli_conversational.py,sha256=RAmgRNRyB8gQ8QLvWU-Tt23j2lmA34rQNT5F3_7SOq0,11141
10
11
  cite_agent/cli_enhanced.py,sha256=EAaSw9qtiYRWUXF6_05T19GCXlz9cCSz6n41ASnXIPc,7407
11
12
  cite_agent/cli_workflow.py,sha256=4oS_jW9D8ylovXbEFdsyLQONt4o0xxR4Xatfcc4tnBs,11641
12
13
  cite_agent/dashboard.py,sha256=VGV5XQU1PnqvTsxfKMcue3j2ri_nvm9Be6O5aVays_w,10502
13
14
  cite_agent/enhanced_ai_agent.py,sha256=eqIsrfRPpmvTorGVO3CC5yuWrN-s5f0Je3bDsO7ho4M,155210
14
15
  cite_agent/rate_limiter.py,sha256=-0fXx8Tl4zVB4O28n9ojU2weRo-FBF1cJo9Z5jC2LxQ,10908
15
- cite_agent/session_manager.py,sha256=FXj4Odn7Y6JI9cAEsftZX75JWqsujpJ42WKLVmOoZIQ,8860
16
+ cite_agent/session_manager.py,sha256=ATGVWjWfoWHa1kL8EHMXKNxOFDyan4NqV_GEg48D7ug,8812
16
17
  cite_agent/setup_config.py,sha256=kNZNr5cZmCXr43rGWNenNJXZ1Kfz7PrdLXpAqxM7WgM,16404
17
18
  cite_agent/streaming_ui.py,sha256=N6TWOo7GVQ_Ynfw73JCfrdGcLIU-PwbS3GbsHQHegmg,7810
18
19
  cite_agent/telemetry.py,sha256=55kXdHvI24ZsEkbFtihcjIfJt2oiSXcEpLzTxQ3KCdQ,2916
@@ -21,7 +22,7 @@ cite_agent/updater.py,sha256=28Kgs6cKEB-3d-Eri411hYHv6CgywMHV0718XFw0PqI,8479
21
22
  cite_agent/web_search.py,sha256=FZCuNO7MAITiOIbpPbJyt2bzbXPzQla-9amJpnMpW_4,6520
22
23
  cite_agent/workflow.py,sha256=a0YC0Mzz4or1C5t2gZcuJBQ0uMOZrooaI8eLu2kkI0k,15086
23
24
  cite_agent/workflow_integration.py,sha256=A9ua0DN5pRtuU0cAwrUTGvqt2SXKhEHQbrHx16EGnDM,10910
24
- cite_agent-1.2.6.dist-info/licenses/LICENSE,sha256=XJkyO4IymhSUniN1ENY6lLrL2729gn_rbRlFK6_Hi9M,1074
25
+ cite_agent-1.2.8.dist-info/licenses/LICENSE,sha256=XJkyO4IymhSUniN1ENY6lLrL2729gn_rbRlFK6_Hi9M,1074
25
26
  src/__init__.py,sha256=0eEpjRfjRjOTilP66y-AbGNslBsVYr_clE-bZUzsX7s,40
26
27
  src/services/__init__.py,sha256=pTGLCH_84mz4nGtYMwQES5w-LzoSulUtx_uuNM6r-LA,4257
27
28
  src/services/simple_enhanced_main.py,sha256=IJoOplCqcVUg3GvN_BRyAhpGrLm_WEPy2jmHcNCY6R0,9257
@@ -48,8 +49,8 @@ src/services/research_service/synthesizer.py,sha256=lCcu37PWhWVNphHKaJJDIC-JQ5OI
48
49
  src/services/search_service/__init__.py,sha256=UZFXdd7r6wietQ2kESXEyGffdfBbpghquecQde7auF4,137
49
50
  src/services/search_service/indexer.py,sha256=u3-uwdAfmahWWsdebDF9i8XIyp7YtUMIHzlmBLBnPPM,7252
50
51
  src/services/search_service/search_engine.py,sha256=S9HqQ_mk-8W4d4MUOgBbEGQGV29-eSuceSFvVb4Xk-k,12500
51
- cite_agent-1.2.6.dist-info/METADATA,sha256=hxl9ydPf4V5rIKM3HMNzpzAFEVzstRa5l1r6sH6CKJc,11684
52
- cite_agent-1.2.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
53
- cite_agent-1.2.6.dist-info/entry_points.txt,sha256=bJ0u28nFIxQKH1PWQ2ak4PV-FAjhoxTC7YADEdDenFw,83
54
- cite_agent-1.2.6.dist-info/top_level.txt,sha256=TgOFqJTIy8vDZuOoYA2QgagkqZtfhM5Acvt_IsWzAKo,15
55
- cite_agent-1.2.6.dist-info/RECORD,,
52
+ cite_agent-1.2.8.dist-info/METADATA,sha256=v9H75wNoTXry6xPc2Zsl-DwP8s_yKnlk_E4SdIZA0rc,12231
53
+ cite_agent-1.2.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
54
+ cite_agent-1.2.8.dist-info/entry_points.txt,sha256=bJ0u28nFIxQKH1PWQ2ak4PV-FAjhoxTC7YADEdDenFw,83
55
+ cite_agent-1.2.8.dist-info/top_level.txt,sha256=TgOFqJTIy8vDZuOoYA2QgagkqZtfhM5Acvt_IsWzAKo,15
56
+ cite_agent-1.2.8.dist-info/RECORD,,