cite-agent 1.2.10__tar.gz → 1.2.12__tar.gz

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.

Files changed (94) hide show
  1. {cite_agent-1.2.10/cite_agent.egg-info → cite_agent-1.2.12}/PKG-INFO +1 -1
  2. cite_agent-1.2.12/cite_agent/__version__.py +1 -0
  3. {cite_agent-1.2.10 → cite_agent-1.2.12}/cite_agent/cli.py +1 -1
  4. {cite_agent-1.2.10 → cite_agent-1.2.12}/cite_agent/enhanced_ai_agent.py +24 -8
  5. {cite_agent-1.2.10 → cite_agent-1.2.12/cite_agent.egg-info}/PKG-INFO +1 -1
  6. {cite_agent-1.2.10 → cite_agent-1.2.12}/setup.py +1 -1
  7. cite_agent-1.2.10/cite_agent/__version__.py +0 -1
  8. {cite_agent-1.2.10 → cite_agent-1.2.12}/LICENSE +0 -0
  9. {cite_agent-1.2.10 → cite_agent-1.2.12}/MANIFEST.in +0 -0
  10. {cite_agent-1.2.10 → cite_agent-1.2.12}/README.md +0 -0
  11. {cite_agent-1.2.10 → cite_agent-1.2.12}/cite_agent/__init__.py +0 -0
  12. {cite_agent-1.2.10 → cite_agent-1.2.12}/cite_agent/__main__.py +0 -0
  13. {cite_agent-1.2.10 → cite_agent-1.2.12}/cite_agent/account_client.py +0 -0
  14. {cite_agent-1.2.10 → cite_agent-1.2.12}/cite_agent/agent_backend_only.py +0 -0
  15. {cite_agent-1.2.10 → cite_agent-1.2.12}/cite_agent/ascii_plotting.py +0 -0
  16. {cite_agent-1.2.10 → cite_agent-1.2.12}/cite_agent/auth.py +0 -0
  17. {cite_agent-1.2.10 → cite_agent-1.2.12}/cite_agent/backend_only_client.py +0 -0
  18. {cite_agent-1.2.10 → cite_agent-1.2.12}/cite_agent/cli_conversational.py +0 -0
  19. {cite_agent-1.2.10 → cite_agent-1.2.12}/cite_agent/cli_enhanced.py +0 -0
  20. {cite_agent-1.2.10 → cite_agent-1.2.12}/cite_agent/cli_workflow.py +0 -0
  21. {cite_agent-1.2.10 → cite_agent-1.2.12}/cite_agent/dashboard.py +0 -0
  22. {cite_agent-1.2.10 → cite_agent-1.2.12}/cite_agent/rate_limiter.py +0 -0
  23. {cite_agent-1.2.10 → cite_agent-1.2.12}/cite_agent/session_manager.py +0 -0
  24. {cite_agent-1.2.10 → cite_agent-1.2.12}/cite_agent/setup_config.py +0 -0
  25. {cite_agent-1.2.10 → cite_agent-1.2.12}/cite_agent/streaming_ui.py +0 -0
  26. {cite_agent-1.2.10 → cite_agent-1.2.12}/cite_agent/telemetry.py +0 -0
  27. {cite_agent-1.2.10 → cite_agent-1.2.12}/cite_agent/ui.py +0 -0
  28. {cite_agent-1.2.10 → cite_agent-1.2.12}/cite_agent/updater.py +0 -0
  29. {cite_agent-1.2.10 → cite_agent-1.2.12}/cite_agent/web_search.py +0 -0
  30. {cite_agent-1.2.10 → cite_agent-1.2.12}/cite_agent/workflow.py +0 -0
  31. {cite_agent-1.2.10 → cite_agent-1.2.12}/cite_agent/workflow_integration.py +0 -0
  32. {cite_agent-1.2.10 → cite_agent-1.2.12}/cite_agent.egg-info/SOURCES.txt +0 -0
  33. {cite_agent-1.2.10 → cite_agent-1.2.12}/cite_agent.egg-info/dependency_links.txt +0 -0
  34. {cite_agent-1.2.10 → cite_agent-1.2.12}/cite_agent.egg-info/entry_points.txt +0 -0
  35. {cite_agent-1.2.10 → cite_agent-1.2.12}/cite_agent.egg-info/requires.txt +0 -0
  36. {cite_agent-1.2.10 → cite_agent-1.2.12}/cite_agent.egg-info/top_level.txt +0 -0
  37. {cite_agent-1.2.10 → cite_agent-1.2.12}/docs/BETA_LAUNCH_CHECKLIST.md +0 -0
  38. {cite_agent-1.2.10 → cite_agent-1.2.12}/docs/BETA_RELEASE_CHECKLIST.md +0 -0
  39. {cite_agent-1.2.10 → cite_agent-1.2.12}/docs/ENHANCED_CAPABILITIES.md +0 -0
  40. {cite_agent-1.2.10 → cite_agent-1.2.12}/docs/GROQ_RATE_LIMITS.md +0 -0
  41. {cite_agent-1.2.10 → cite_agent-1.2.12}/docs/INSTALL.md +0 -0
  42. {cite_agent-1.2.10 → cite_agent-1.2.12}/docs/PUBLISHING_PYPI.md +0 -0
  43. {cite_agent-1.2.10 → cite_agent-1.2.12}/docs/SECURE_PACKAGING_GUIDE.md +0 -0
  44. {cite_agent-1.2.10 → cite_agent-1.2.12}/docs/SECURITY_AUDIT.md +0 -0
  45. {cite_agent-1.2.10 → cite_agent-1.2.12}/docs/USER_GETTING_STARTED.md +0 -0
  46. {cite_agent-1.2.10 → cite_agent-1.2.12}/docs/playbooks/BETA_LAUNCH_PLAYBOOK.md +0 -0
  47. {cite_agent-1.2.10 → cite_agent-1.2.12}/requirements.txt +0 -0
  48. {cite_agent-1.2.10 → cite_agent-1.2.12}/setup.cfg +0 -0
  49. {cite_agent-1.2.10 → cite_agent-1.2.12}/src/__init__.py +0 -0
  50. {cite_agent-1.2.10 → cite_agent-1.2.12}/src/services/__init__.py +0 -0
  51. {cite_agent-1.2.10 → cite_agent-1.2.12}/src/services/auth_service/__init__.py +0 -0
  52. {cite_agent-1.2.10 → cite_agent-1.2.12}/src/services/auth_service/auth_manager.py +0 -0
  53. {cite_agent-1.2.10 → cite_agent-1.2.12}/src/services/graph/__init__.py +0 -0
  54. {cite_agent-1.2.10 → cite_agent-1.2.12}/src/services/graph/knowledge_graph.py +0 -0
  55. {cite_agent-1.2.10 → cite_agent-1.2.12}/src/services/llm_service/__init__.py +0 -0
  56. {cite_agent-1.2.10 → cite_agent-1.2.12}/src/services/llm_service/llm_manager.py +0 -0
  57. {cite_agent-1.2.10 → cite_agent-1.2.12}/src/services/paper_service/__init__.py +0 -0
  58. {cite_agent-1.2.10 → cite_agent-1.2.12}/src/services/paper_service/openalex.py +0 -0
  59. {cite_agent-1.2.10 → cite_agent-1.2.12}/src/services/performance_service/__init__.py +0 -0
  60. {cite_agent-1.2.10 → cite_agent-1.2.12}/src/services/performance_service/rust_performance.py +0 -0
  61. {cite_agent-1.2.10 → cite_agent-1.2.12}/src/services/research_service/__init__.py +0 -0
  62. {cite_agent-1.2.10 → cite_agent-1.2.12}/src/services/research_service/chatbot.py +0 -0
  63. {cite_agent-1.2.10 → cite_agent-1.2.12}/src/services/research_service/citation_manager.py +0 -0
  64. {cite_agent-1.2.10 → cite_agent-1.2.12}/src/services/research_service/context_manager.py +0 -0
  65. {cite_agent-1.2.10 → cite_agent-1.2.12}/src/services/research_service/conversation_manager.py +0 -0
  66. {cite_agent-1.2.10 → cite_agent-1.2.12}/src/services/research_service/critical_paper_detector.py +0 -0
  67. {cite_agent-1.2.10 → cite_agent-1.2.12}/src/services/research_service/enhanced_research.py +0 -0
  68. {cite_agent-1.2.10 → cite_agent-1.2.12}/src/services/research_service/enhanced_synthesizer.py +0 -0
  69. {cite_agent-1.2.10 → cite_agent-1.2.12}/src/services/research_service/query_generator.py +0 -0
  70. {cite_agent-1.2.10 → cite_agent-1.2.12}/src/services/research_service/synthesizer.py +0 -0
  71. {cite_agent-1.2.10 → cite_agent-1.2.12}/src/services/search_service/__init__.py +0 -0
  72. {cite_agent-1.2.10 → cite_agent-1.2.12}/src/services/search_service/indexer.py +0 -0
  73. {cite_agent-1.2.10 → cite_agent-1.2.12}/src/services/search_service/search_engine.py +0 -0
  74. {cite_agent-1.2.10 → cite_agent-1.2.12}/src/services/simple_enhanced_main.py +0 -0
  75. {cite_agent-1.2.10 → cite_agent-1.2.12}/tests/beta_launch_test_suite.py +0 -0
  76. {cite_agent-1.2.10 → cite_agent-1.2.12}/tests/enhanced/test_account_client.py +0 -0
  77. {cite_agent-1.2.10 → cite_agent-1.2.12}/tests/enhanced/test_archive_agent.py +0 -0
  78. {cite_agent-1.2.10 → cite_agent-1.2.12}/tests/enhanced/test_enhanced_agent_runtime.py +0 -0
  79. {cite_agent-1.2.10 → cite_agent-1.2.12}/tests/enhanced/test_reasoning_engine.py +0 -0
  80. {cite_agent-1.2.10 → cite_agent-1.2.12}/tests/enhanced/test_setup_config.py +0 -0
  81. {cite_agent-1.2.10 → cite_agent-1.2.12}/tests/enhanced/test_tool_framework.py +0 -0
  82. {cite_agent-1.2.10 → cite_agent-1.2.12}/tests/integration_test.py +0 -0
  83. {cite_agent-1.2.10 → cite_agent-1.2.12}/tests/test_truth_seeking_comprehensive.py +0 -0
  84. {cite_agent-1.2.10 → cite_agent-1.2.12}/tests/validation/test_accuracy_system.py +0 -0
  85. {cite_agent-1.2.10 → cite_agent-1.2.12}/tests/validation/test_agent_live.py +0 -0
  86. {cite_agent-1.2.10 → cite_agent-1.2.12}/tests/validation/test_backend_local.py +0 -0
  87. {cite_agent-1.2.10 → cite_agent-1.2.12}/tests/validation/test_cerebras_comparison.py +0 -0
  88. {cite_agent-1.2.10 → cite_agent-1.2.12}/tests/validation/test_improved_prompt.py +0 -0
  89. {cite_agent-1.2.10 → cite_agent-1.2.12}/tests/validation/test_qualitative_robustness.py +0 -0
  90. {cite_agent-1.2.10 → cite_agent-1.2.12}/tests/validation/test_qualitative_system.py +0 -0
  91. {cite_agent-1.2.10 → cite_agent-1.2.12}/tests/validation/test_truth_seeking_chinese.py +0 -0
  92. {cite_agent-1.2.10 → cite_agent-1.2.12}/tests/validation/test_truth_seeking_comprehensive.py +0 -0
  93. {cite_agent-1.2.10 → cite_agent-1.2.12}/tests/validation/test_truth_seeking_real.py +0 -0
  94. {cite_agent-1.2.10 → cite_agent-1.2.12}/tools/security_audit.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cite-agent
3
- Version: 1.2.10
3
+ Version: 1.2.12
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
@@ -0,0 +1 @@
1
+ __version__ = "1.2.12"
@@ -747,7 +747,7 @@ Examples:
747
747
 
748
748
  # Handle version
749
749
  if args.version:
750
- print("Cite Agent v1.2.10")
750
+ print("Cite Agent v1.2.11")
751
751
  print("AI Research Assistant with real data integration")
752
752
  return
753
753
 
@@ -2768,17 +2768,19 @@ class EnhancedNocturnalAgent:
2768
2768
 
2769
2769
  # Generic search if no pronoun or pronoun not resolved
2770
2770
  if not pronoun_resolved:
2771
- # Common words to ignore
2771
+ # Common words to ignore (add prepositions and articles)
2772
2772
  ignore_words = {
2773
2773
  'looking', 'find', 'folder', 'directory', 'called', 'something',
2774
2774
  'forgot', 'name', 'think', 'can', 'you', 'look', 'for', 'somewhere',
2775
2775
  'computer', 'downloads', 'the', 'this', 'that', 'class', 'investment',
2776
- 'check', 'what', 'into'
2776
+ 'check', 'what', 'into', 'in', 'on', 'at', 'to', 'from', 'with',
2777
+ 'and', 'or', 'is', 'it', 'my', 'me', 'there', 'here'
2777
2778
  }
2778
2779
 
2779
- # Extract potential target names (prefer short alphanumeric codes)
2780
+ # Extract potential target names
2781
+ # Filter: must be 3+ chars (avoid "in", "to") AND not in ignore list
2780
2782
  all_words = re.findall(r'\b([a-zA-Z0-9_-]+)\b', request.question)
2781
- potential_names = [w for w in all_words if len(w) >= 2 and w.lower() not in ignore_words]
2783
+ potential_names = [w for w in all_words if len(w) >= 3 and w.lower() not in ignore_words]
2782
2784
 
2783
2785
  # Detect location hints
2784
2786
  search_path = "~" # Default to home
@@ -2795,10 +2797,18 @@ class EnhancedNocturnalAgent:
2795
2797
  continue
2796
2798
  searched_terms.append(name)
2797
2799
 
2798
- # Search with increasing depth if needed
2799
- find_output = self.execute_command(f"find {search_path} -maxdepth 4 -type d -iname '*{name}*' 2>/dev/null | head -20")
2800
- if find_output.strip():
2801
- search_results.append(f"Searched for '*{name}*' in {search_path}:\n{find_output}")
2800
+ # Search with increasing depth if needed
2801
+ find_cmd = f"find {search_path} -maxdepth 4 -type d -iname '*{name}*' 2>/dev/null | head -20"
2802
+ find_output = self.execute_command(find_cmd)
2803
+
2804
+ # DEBUG: Log exact output
2805
+ debug_mode = os.getenv("NOCTURNAL_DEBUG", "").lower() == "1"
2806
+ if debug_mode:
2807
+ print(f"🔍 FIND EXECUTED: {find_cmd}")
2808
+ print(f"🔍 FIND OUTPUT: {repr(find_output)}")
2809
+
2810
+ if find_output.strip():
2811
+ search_results.append(f"Searched for '*{name}*' in {search_path}:\n{find_output}")
2802
2812
 
2803
2813
  if search_results:
2804
2814
  api_results["shell_info"]["search_results"] = "\n\n".join(search_results)
@@ -2810,6 +2820,12 @@ class EnhancedNocturnalAgent:
2810
2820
  if debug_mode:
2811
2821
  print(f"🔍 Shell execution failed: {e}")
2812
2822
 
2823
+ # DEBUG: Log exactly what we're sending to backend
2824
+ debug_mode = os.getenv("NOCTURNAL_DEBUG", "").lower() == "1"
2825
+ if debug_mode and api_results.get("shell_info", {}).get("search_results"):
2826
+ print(f"🔍 SENDING TO BACKEND:")
2827
+ print(f"🔍 shell_info.search_results = {repr(api_results['shell_info']['search_results'])}")
2828
+
2813
2829
  # Call backend and UPDATE CONVERSATION HISTORY
2814
2830
  response = await self.call_backend_query(
2815
2831
  query=request.question,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cite-agent
3
- Version: 1.2.10
3
+ Version: 1.2.12
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
@@ -7,7 +7,7 @@ long_description = readme_path.read_text() if readme_path.exists() else "Termina
7
7
 
8
8
  setup(
9
9
  name="cite-agent",
10
- version="1.2.10",
10
+ version="1.2.12",
11
11
  author="Cite-Agent Team",
12
12
  author_email="contact@citeagent.dev",
13
13
  description="Terminal AI assistant for academic research with citation verification",
@@ -1 +0,0 @@
1
- __version__ = "1.2.10"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes