jarvis-ai-assistant 0.1.11__tar.gz → 0.1.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 jarvis-ai-assistant might be problematic. Click here for more details.

Files changed (47) hide show
  1. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/PKG-INFO +26 -19
  2. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/README.md +25 -18
  3. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/pyproject.toml +1 -1
  4. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/setup.py +1 -1
  5. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/src/jarvis/__init__.py +1 -1
  6. jarvis_ai_assistant-0.1.12/src/jarvis/__pycache__/__init__.cpython-313.pyc +0 -0
  7. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/src/jarvis/__pycache__/agent.cpython-313.pyc +0 -0
  8. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/src/jarvis/agent.py +7 -0
  9. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/src/jarvis/models/__pycache__/kimi.cpython-313.pyc +0 -0
  10. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/src/jarvis_ai_assistant.egg-info/PKG-INFO +26 -19
  11. jarvis_ai_assistant-0.1.11/src/jarvis/__pycache__/__init__.cpython-313.pyc +0 -0
  12. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/MANIFEST.in +0 -0
  13. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/setup.cfg +0 -0
  14. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/src/jarvis/__pycache__/main.cpython-313.pyc +0 -0
  15. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/src/jarvis/__pycache__/models.cpython-313.pyc +0 -0
  16. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/src/jarvis/__pycache__/tools.cpython-313.pyc +0 -0
  17. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/src/jarvis/__pycache__/utils.cpython-313.pyc +0 -0
  18. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/src/jarvis/__pycache__/zte_llm.cpython-313.pyc +0 -0
  19. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/src/jarvis/main.py +0 -0
  20. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/src/jarvis/models/__init__.py +0 -0
  21. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/src/jarvis/models/__pycache__/__init__.cpython-313.pyc +0 -0
  22. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/src/jarvis/models/__pycache__/base.cpython-313.pyc +0 -0
  23. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/src/jarvis/models/base.py +0 -0
  24. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/src/jarvis/models/kimi.py +0 -0
  25. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/src/jarvis/tools/__init__.py +0 -0
  26. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/src/jarvis/tools/__pycache__/__init__.cpython-313.pyc +0 -0
  27. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/src/jarvis/tools/__pycache__/base.cpython-313.pyc +0 -0
  28. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/src/jarvis/tools/__pycache__/bing_search.cpython-313.pyc +0 -0
  29. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/src/jarvis/tools/__pycache__/file_ops.cpython-313.pyc +0 -0
  30. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/src/jarvis/tools/__pycache__/python_script.cpython-313.pyc +0 -0
  31. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/src/jarvis/tools/__pycache__/rag.cpython-313.pyc +0 -0
  32. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/src/jarvis/tools/__pycache__/search.cpython-313.pyc +0 -0
  33. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/src/jarvis/tools/__pycache__/shell.cpython-313.pyc +0 -0
  34. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/src/jarvis/tools/__pycache__/sub_agent.cpython-313.pyc +0 -0
  35. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/src/jarvis/tools/__pycache__/user_confirmation.cpython-313.pyc +0 -0
  36. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/src/jarvis/tools/__pycache__/user_input.cpython-313.pyc +0 -0
  37. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/src/jarvis/tools/__pycache__/user_interaction.cpython-313.pyc +0 -0
  38. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/src/jarvis/tools/__pycache__/webpage.cpython-313.pyc +0 -0
  39. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/src/jarvis/tools/base.py +0 -0
  40. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/src/jarvis/tools/file_ops.py +0 -0
  41. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/src/jarvis/tools/shell.py +0 -0
  42. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/src/jarvis/utils.py +0 -0
  43. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/src/jarvis_ai_assistant.egg-info/SOURCES.txt +0 -0
  44. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/src/jarvis_ai_assistant.egg-info/dependency_links.txt +0 -0
  45. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/src/jarvis_ai_assistant.egg-info/entry_points.txt +0 -0
  46. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/src/jarvis_ai_assistant.egg-info/requires.txt +0 -0
  47. {jarvis_ai_assistant-0.1.11 → jarvis_ai_assistant-0.1.12}/src/jarvis_ai_assistant.egg-info/top_level.txt +0 -0
@@ -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">
@@ -6,7 +6,7 @@
6
6
  <img src="docs/images/jarvis-logo.png" alt="Jarvis Logo" width="200"/>
7
7
  </p>
8
8
 
9
- [![PyPI version](https://badge.fury.io/py/jarvis-ai.svg)](https://badge.fury.io/py/jarvis-ai)
9
+ [![PyPI version](https://badge.fury.io/py/jarvis-ai-assistant.svg)](https://badge.fury.io/py/jarvis-ai-assistant)
10
10
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
11
11
  [![Python 3.8+](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/)
12
12
 
@@ -24,20 +24,23 @@
24
24
 
25
25
  ## 🌟 Features
26
26
 
27
- 🤖 **Multiple AI Models**
28
- - Ollama integration (llama3.2, qwen2.5:14b)
29
- - DuckDuckGo AI search capabilities
27
+ 🤖 **AI Integration**
28
+ - Kimi AI integration with streaming responses
29
+ - Context-aware conversations
30
+ - File understanding capabilities
30
31
 
31
32
  🛠️ **Rich Tool Integration**
32
- - RAG (Retrieval-Augmented Generation)
33
- - File operations & Shell commands
34
- - Web search & content extraction
35
- - Python code execution with dependency management
33
+ - Shell command execution
34
+ - File operations (read/write/append)
35
+ - Task automation
36
+ - Predefined task support
36
37
 
37
38
  🔄 **Interactive Experience**
38
39
  - Natural language understanding
39
40
  - Context-aware responses
40
41
  - User-friendly interface
42
+ - Multi-line input support
43
+ - Colored output with progress indicators
41
44
 
42
45
  ## 🚀 Installation
43
46
 
@@ -51,25 +54,21 @@ pip install jarvis-ai-assistant
51
54
  # Quick Start
52
55
  jarvis
53
56
 
54
- # Using Specific Model
55
- jarvis --platform ollama --model qwen2.5:14b
57
+ # Process files
58
+ jarvis -f file1.txt file2.py
56
59
 
57
- # Custom Ollama API
58
- jarvis --platform ollama --model llama3.2 --api-base http://localhost:11434
60
+ # Using predefined tasks
61
+ # Create .jarvis file in your working directory:
62
+ analyze_code: Analyze the code in the current directory
63
+ fix_bugs: Help me find and fix bugs in the code
59
64
  ```
60
65
 
61
66
  ## 🧰 Tools
62
67
 
63
68
  | Tool | Description | Example |
64
69
  |------|-------------|---------|
65
- | 🔍 Search | Web search using DuckDuckGo | Search latest tech news |
66
- | 📚 RAG | Document querying with embeddings | Query your documentation |
67
- | 🐍 Python | Execute Python code | Run data analysis |
68
70
  | 🖥️ Shell | Execute system commands | Manage files and processes |
69
71
  | 📂 Files | Read/write operations | Handle configuration files |
70
- | 🌐 Web | Extract webpage content | Gather information |
71
- | 👤 User | Interactive input/confirmation | Get user preferences |
72
-
73
72
 
74
73
  ## 🤝 Contributing
75
74
 
@@ -85,6 +84,14 @@ Contributions are welcome! Please feel free to submit a Pull Request.
85
84
 
86
85
  This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
87
86
 
87
+ ## ⚙️ Environment Setup
88
+
89
+ Create a `.jarvis_env` file in your home directory with:
90
+
91
+ ```bash
92
+ KIMI_API_KEY=your_kimi_api_key_here
93
+ ```
94
+
88
95
  ---
89
96
 
90
97
  <div align="center">
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "jarvis-ai-assistant"
7
- version = "0.1.11"
7
+ version = "0.1.12"
8
8
  description = "Jarvis: An AI assistant that uses tools to interact with the system"
9
9
  readme = "README.md"
10
10
  authors = [{ name = "Your Name", email = "your.email@example.com" }]
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="jarvis-ai-assistant",
5
- version="0.1.11",
5
+ version="0.1.12",
6
6
  author="skyfire",
7
7
  author_email="skyfireitdiy@hotmail.com",
8
8
  description="An AI assistant that uses various tools to interact with the system",
@@ -1,3 +1,3 @@
1
1
  """Jarvis AI Assistant"""
2
2
 
3
- __version__ = "0.1.11"
3
+ __version__ = "0.1.12"
@@ -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">