jarvis-ai-assistant 0.1.11__py3-none-any.whl → 0.1.12__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 jarvis-ai-assistant might be problematic. Click here for more details.

jarvis/__init__.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """Jarvis AI Assistant"""
2
2
 
3
- __version__ = "0.1.11"
3
+ __version__ = "0.1.12"
Binary file
Binary file
jarvis/agent.py CHANGED
@@ -105,6 +105,13 @@ class Agent:
105
105
 
106
106
  {tools_prompt}
107
107
 
108
+ 关键规则:
109
+ ‼️ 禁止创建虚假对话
110
+ ‼️ 禁止假设用户回应
111
+ ‼️ 禁止在没有实际用户输入时继续
112
+ ‼️ 只回应用户实际说的内容
113
+ ‼️ 每个动作后停止并等待
114
+
108
115
  ReAct 框架:
109
116
  1. 思考
110
117
  - 分析当前情况
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: jarvis-ai-assistant
3
- Version: 0.1.11
3
+ Version: 0.1.12
4
4
  Summary: Jarvis: An AI assistant that uses tools to interact with the system
5
5
  Home-page: https://github.com/skyfireitdiy/Jarvis
6
6
  Author: skyfire
@@ -36,7 +36,7 @@ Dynamic: requires-python
36
36
  <img src="docs/images/jarvis-logo.png" alt="Jarvis Logo" width="200"/>
37
37
  </p>
38
38
 
39
- [![PyPI version](https://badge.fury.io/py/jarvis-ai.svg)](https://badge.fury.io/py/jarvis-ai)
39
+ [![PyPI version](https://badge.fury.io/py/jarvis-ai-assistant.svg)](https://badge.fury.io/py/jarvis-ai-assistant)
40
40
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
41
41
  [![Python 3.8+](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/)
42
42
 
@@ -54,20 +54,23 @@ Dynamic: requires-python
54
54
 
55
55
  ## 🌟 Features
56
56
 
57
- 🤖 **Multiple AI Models**
58
- - Ollama integration (llama3.2, qwen2.5:14b)
59
- - DuckDuckGo AI search capabilities
57
+ 🤖 **AI Integration**
58
+ - Kimi AI integration with streaming responses
59
+ - Context-aware conversations
60
+ - File understanding capabilities
60
61
 
61
62
  🛠️ **Rich Tool Integration**
62
- - RAG (Retrieval-Augmented Generation)
63
- - File operations & Shell commands
64
- - Web search & content extraction
65
- - Python code execution with dependency management
63
+ - Shell command execution
64
+ - File operations (read/write/append)
65
+ - Task automation
66
+ - Predefined task support
66
67
 
67
68
  🔄 **Interactive Experience**
68
69
  - Natural language understanding
69
70
  - Context-aware responses
70
71
  - User-friendly interface
72
+ - Multi-line input support
73
+ - Colored output with progress indicators
71
74
 
72
75
  ## 🚀 Installation
73
76
 
@@ -81,25 +84,21 @@ pip install jarvis-ai-assistant
81
84
  # Quick Start
82
85
  jarvis
83
86
 
84
- # Using Specific Model
85
- jarvis --platform ollama --model qwen2.5:14b
87
+ # Process files
88
+ jarvis -f file1.txt file2.py
86
89
 
87
- # Custom Ollama API
88
- jarvis --platform ollama --model llama3.2 --api-base http://localhost:11434
90
+ # Using predefined tasks
91
+ # Create .jarvis file in your working directory:
92
+ analyze_code: Analyze the code in the current directory
93
+ fix_bugs: Help me find and fix bugs in the code
89
94
  ```
90
95
 
91
96
  ## 🧰 Tools
92
97
 
93
98
  | Tool | Description | Example |
94
99
  |------|-------------|---------|
95
- | 🔍 Search | Web search using DuckDuckGo | Search latest tech news |
96
- | 📚 RAG | Document querying with embeddings | Query your documentation |
97
- | 🐍 Python | Execute Python code | Run data analysis |
98
100
  | 🖥️ Shell | Execute system commands | Manage files and processes |
99
101
  | 📂 Files | Read/write operations | Handle configuration files |
100
- | 🌐 Web | Extract webpage content | Gather information |
101
- | 👤 User | Interactive input/confirmation | Get user preferences |
102
-
103
102
 
104
103
  ## 🤝 Contributing
105
104
 
@@ -115,6 +114,14 @@ Contributions are welcome! Please feel free to submit a Pull Request.
115
114
 
116
115
  This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
117
116
 
117
+ ## ⚙️ Environment Setup
118
+
119
+ Create a `.jarvis_env` file in your home directory with:
120
+
121
+ ```bash
122
+ KIMI_API_KEY=your_kimi_api_key_here
123
+ ```
124
+
118
125
  ---
119
126
 
120
127
  <div align="center">
@@ -1,9 +1,9 @@
1
- jarvis/__init__.py,sha256=_aIzFZNgMY8TxeqpWoDZOcvaSQ7uK4SxZvtdW_HPIHw,50
2
- jarvis/agent.py,sha256=AJCRmjrvlK19K-yj5zNwrFvVDbZ3mWEnzwHwxKCXTL8,8462
1
+ jarvis/__init__.py,sha256=famvLolv2Q7BJtAyM81Gi64oXQv1nh1rjb1kJ_f5hKc,50
2
+ jarvis/agent.py,sha256=xo5YdY8UbgE3AJaitT1dXoNoVm769LrWyFzEXxVCG7A,8672
3
3
  jarvis/main.py,sha256=_1hE0MZ1OsIJpmlipUwtqFszh9rm7VmQcnnWr80o3p4,4176
4
4
  jarvis/utils.py,sha256=3hLtv-HcBL8Ngw69cowhARuIFrjcQ6yRP3Y1o9CvtsI,5992
5
- jarvis/__pycache__/__init__.cpython-313.pyc,sha256=QtWKLHgbSECIa7pnYFe-pSmrHEzJUhP4Aorar8bxZqA,209
6
- jarvis/__pycache__/agent.cpython-313.pyc,sha256=sLDZttVT9sOC6WKgs_SWhrEzfsN9vzlMhknMJkEqkVY,9746
5
+ jarvis/__pycache__/__init__.cpython-313.pyc,sha256=GspJR-EdT1vU33bJjBm_IcUrNBtFKVEhKoHJnyIYY5s,209
6
+ jarvis/__pycache__/agent.cpython-313.pyc,sha256=DP0zgyKjGuwc62rH_vpoy_hXmGMI3zoHPlXZYu0qqp4,9956
7
7
  jarvis/__pycache__/main.cpython-313.pyc,sha256=o80rvS95KbpeL4MSEoMC0rt0Y91-asDHbHPJU8M8kxo,5933
8
8
  jarvis/__pycache__/models.cpython-313.pyc,sha256=uWuRIjGrY4YDB3dGW5PGDLWaS03et8g11O725TjY_eU,5960
9
9
  jarvis/__pycache__/tools.cpython-313.pyc,sha256=lAD4LrnnWzNZQmHXGfZ_2l7oskOpr2_2OC-gdFhxQY8,33933
@@ -14,7 +14,7 @@ jarvis/models/base.py,sha256=GgVl5N0qDqn-yqRcX_PX3wHjogouE6GPFAWktG40cXg,403
14
14
  jarvis/models/kimi.py,sha256=J_0QB6XY61tY-Oeu2cexWto58QbMU_liYj1f6PKbNRw,9763
15
15
  jarvis/models/__pycache__/__init__.cpython-313.pyc,sha256=jAwySX4diR7EWM_alK75tiIb_J8bVfs4Bh_U3bdjDLo,534
16
16
  jarvis/models/__pycache__/base.cpython-313.pyc,sha256=4I9KZlXHvTB7vENA9YWK4Fx0sns_KvIOtWqzE9y_-Co,1094
17
- jarvis/models/__pycache__/kimi.cpython-313.pyc,sha256=doDXu1nPClQOVqnDFGGBl2p_3AMDuDaiFAgdsP-G1NM,12524
17
+ jarvis/models/__pycache__/kimi.cpython-313.pyc,sha256=ks1WiR1d8NTu-0B4s9zIyifWUvijBN4qI6AFD0Jtgk0,12524
18
18
  jarvis/tools/__init__.py,sha256=000SvX1Z0yzKtuVR9NS45r41DHUVpE6EiSEzzE99uR0,196
19
19
  jarvis/tools/base.py,sha256=qm73kMOkqAWHjUisUWFye-x69LJuZdwm0U3Tct-mmMc,3890
20
20
  jarvis/tools/file_ops.py,sha256=zTksx45NZm3iz9itN5iQGZ8DoxnSeTHdrnF08_ix7PU,3770
@@ -32,8 +32,8 @@ jarvis/tools/__pycache__/user_confirmation.cpython-313.pyc,sha256=wK3Ev10lHSUSRv
32
32
  jarvis/tools/__pycache__/user_input.cpython-313.pyc,sha256=JjTFOhObKsKF4Pn8KBRuKfV1_Ssj083fjU7Mfc_5z7c,2531
33
33
  jarvis/tools/__pycache__/user_interaction.cpython-313.pyc,sha256=RuVZ-pmiPBDywY3efgXSfohMAciC1avMGPmBK5qlnew,3305
34
34
  jarvis/tools/__pycache__/webpage.cpython-313.pyc,sha256=BjzSfnNzsKCrLETCcWjt32lNDLzwnjqcVGg4JfWd9OM,3008
35
- jarvis_ai_assistant-0.1.11.dist-info/METADATA,sha256=PLBiD-OM5rCBVi3MWF93SXePf6piXNW0OI8I_D2tUP8,3585
36
- jarvis_ai_assistant-0.1.11.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
37
- jarvis_ai_assistant-0.1.11.dist-info/entry_points.txt,sha256=iKu7OMfew9dtfGhW71gIMTg4wvafuPqKb4wyQOnMAGU,44
38
- jarvis_ai_assistant-0.1.11.dist-info/top_level.txt,sha256=1BOxyWfzOP_ZXj8rVTDnNCJ92bBGB0rwq8N1PCpoMIs,7
39
- jarvis_ai_assistant-0.1.11.dist-info/RECORD,,
35
+ jarvis_ai_assistant-0.1.12.dist-info/METADATA,sha256=BDwc5sbj9q6qHxq5KDMKdZCod0_PrMX-6H9YHWd0Pkg,3507
36
+ jarvis_ai_assistant-0.1.12.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
37
+ jarvis_ai_assistant-0.1.12.dist-info/entry_points.txt,sha256=iKu7OMfew9dtfGhW71gIMTg4wvafuPqKb4wyQOnMAGU,44
38
+ jarvis_ai_assistant-0.1.12.dist-info/top_level.txt,sha256=1BOxyWfzOP_ZXj8rVTDnNCJ92bBGB0rwq8N1PCpoMIs,7
39
+ jarvis_ai_assistant-0.1.12.dist-info/RECORD,,