jarvis-ai-assistant 0.1.12__tar.gz → 0.1.13__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.
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/PKG-INFO +68 -7
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/README.md +67 -6
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/pyproject.toml +1 -1
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/setup.py +1 -1
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/src/jarvis/__init__.py +1 -1
- jarvis_ai_assistant-0.1.13/src/jarvis/__pycache__/__init__.cpython-313.pyc +0 -0
- jarvis_ai_assistant-0.1.13/src/jarvis/__pycache__/main.cpython-313.pyc +0 -0
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/src/jarvis/main.py +19 -1
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/src/jarvis_ai_assistant.egg-info/PKG-INFO +68 -7
- jarvis_ai_assistant-0.1.12/src/jarvis/__pycache__/__init__.cpython-313.pyc +0 -0
- jarvis_ai_assistant-0.1.12/src/jarvis/__pycache__/main.cpython-313.pyc +0 -0
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/MANIFEST.in +0 -0
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/setup.cfg +0 -0
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/src/jarvis/__pycache__/agent.cpython-313.pyc +0 -0
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/src/jarvis/__pycache__/models.cpython-313.pyc +0 -0
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/src/jarvis/__pycache__/tools.cpython-313.pyc +0 -0
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/src/jarvis/__pycache__/utils.cpython-313.pyc +0 -0
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/src/jarvis/__pycache__/zte_llm.cpython-313.pyc +0 -0
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/src/jarvis/agent.py +0 -0
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/src/jarvis/models/__init__.py +0 -0
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/src/jarvis/models/__pycache__/__init__.cpython-313.pyc +0 -0
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/src/jarvis/models/__pycache__/base.cpython-313.pyc +0 -0
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/src/jarvis/models/__pycache__/kimi.cpython-313.pyc +0 -0
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/src/jarvis/models/base.py +0 -0
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/src/jarvis/models/kimi.py +0 -0
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/src/jarvis/tools/__init__.py +0 -0
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/src/jarvis/tools/__pycache__/__init__.cpython-313.pyc +0 -0
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/src/jarvis/tools/__pycache__/base.cpython-313.pyc +0 -0
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/src/jarvis/tools/__pycache__/bing_search.cpython-313.pyc +0 -0
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/src/jarvis/tools/__pycache__/file_ops.cpython-313.pyc +0 -0
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/src/jarvis/tools/__pycache__/python_script.cpython-313.pyc +0 -0
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/src/jarvis/tools/__pycache__/rag.cpython-313.pyc +0 -0
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/src/jarvis/tools/__pycache__/search.cpython-313.pyc +0 -0
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/src/jarvis/tools/__pycache__/shell.cpython-313.pyc +0 -0
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/src/jarvis/tools/__pycache__/sub_agent.cpython-313.pyc +0 -0
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/src/jarvis/tools/__pycache__/user_confirmation.cpython-313.pyc +0 -0
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/src/jarvis/tools/__pycache__/user_input.cpython-313.pyc +0 -0
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/src/jarvis/tools/__pycache__/user_interaction.cpython-313.pyc +0 -0
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/src/jarvis/tools/__pycache__/webpage.cpython-313.pyc +0 -0
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/src/jarvis/tools/base.py +0 -0
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/src/jarvis/tools/file_ops.py +0 -0
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/src/jarvis/tools/shell.py +0 -0
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/src/jarvis/utils.py +0 -0
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/src/jarvis_ai_assistant.egg-info/SOURCES.txt +0 -0
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/src/jarvis_ai_assistant.egg-info/dependency_links.txt +0 -0
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/src/jarvis_ai_assistant.egg-info/entry_points.txt +0 -0
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/src/jarvis_ai_assistant.egg-info/requires.txt +0 -0
- {jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/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.
|
|
3
|
+
Version: 0.1.13
|
|
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
|
|
@@ -72,6 +72,42 @@ Dynamic: requires-python
|
|
|
72
72
|
- Multi-line input support
|
|
73
73
|
- Colored output with progress indicators
|
|
74
74
|
|
|
75
|
+
|
|
76
|
+
## ⚙️ Environment Setup
|
|
77
|
+
|
|
78
|
+
Before using Jarvis, you need to set up your environment:
|
|
79
|
+
|
|
80
|
+
1. **API Key Configuration**
|
|
81
|
+
|
|
82
|
+
Create a `.jarvis_env` file in your home directory (`~/.jarvis_env`):
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
KIMI_API_KEY=your_kimi_api_key_here
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
To get your Kimi API key:
|
|
89
|
+
1. Visit [Kimi AI Platform](https://kimi.moonshot.cn) in your browser
|
|
90
|
+
2. Login to your account
|
|
91
|
+
3. Open browser Developer Tools (F12 or right-click -> Inspect)
|
|
92
|
+
4. Go to Network tab
|
|
93
|
+
5. Make any request (e.g., send a message)
|
|
94
|
+
6. Find a request to the Kimi API
|
|
95
|
+
7. Look for the `Authorization` header in the request headers
|
|
96
|
+
8. Copy the token value (remove the "Bearer " prefix)
|
|
97
|
+
9. Use this token as your `KIMI_API_KEY` in the `.jarvis_env` file
|
|
98
|
+
|
|
99
|
+
2. **Task Configuration (Optional)**
|
|
100
|
+
|
|
101
|
+
Create a `.jarvis` file in your working directory to define predefined tasks:
|
|
102
|
+
|
|
103
|
+
```yaml
|
|
104
|
+
# .jarvis
|
|
105
|
+
analyze_code: Analyze the code structure and quality in the current directory
|
|
106
|
+
fix_bugs: Help me find and fix potential bugs in the code
|
|
107
|
+
optimize: Suggest optimizations for the code
|
|
108
|
+
document: Generate documentation for the code
|
|
109
|
+
```
|
|
110
|
+
|
|
75
111
|
## 🚀 Installation
|
|
76
112
|
|
|
77
113
|
```bash
|
|
@@ -80,19 +116,44 @@ pip install jarvis-ai-assistant
|
|
|
80
116
|
|
|
81
117
|
## 💡 Usage
|
|
82
118
|
|
|
119
|
+
1. **Basic Usage**
|
|
83
120
|
```bash
|
|
84
|
-
#
|
|
121
|
+
# Start Jarvis
|
|
85
122
|
jarvis
|
|
86
123
|
|
|
87
|
-
# Process files
|
|
124
|
+
# Process specific files
|
|
88
125
|
jarvis -f file1.txt file2.py
|
|
126
|
+
```
|
|
89
127
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
128
|
+
2. **Using Predefined Tasks**
|
|
129
|
+
|
|
130
|
+
If you have a `.jarvis` file in your working directory:
|
|
131
|
+
```bash
|
|
132
|
+
# Jarvis will show available tasks on startup
|
|
133
|
+
# Select a task number or start a new conversation
|
|
94
134
|
```
|
|
95
135
|
|
|
136
|
+
3. **Interactive Features**
|
|
137
|
+
- Multi-line input support (press Enter twice to submit)
|
|
138
|
+
- File understanding and analysis
|
|
139
|
+
- Context-aware conversations
|
|
140
|
+
- Tool integration for system operations
|
|
141
|
+
|
|
142
|
+
4. **Environment Variables**
|
|
143
|
+
- `KIMI_API_KEY`: Your Kimi AI API key (required)
|
|
144
|
+
- Location: `~/.jarvis_env`
|
|
145
|
+
- Format: `KEY=value` (one per line)
|
|
146
|
+
|
|
147
|
+
5. **Task Configuration**
|
|
148
|
+
- File: `.jarvis` in working directory
|
|
149
|
+
- Format: `task_name: task_description`
|
|
150
|
+
- Purpose: Define commonly used tasks for quick access
|
|
151
|
+
- Example tasks:
|
|
152
|
+
- Code analysis
|
|
153
|
+
- Bug finding
|
|
154
|
+
- Documentation generation
|
|
155
|
+
- Performance optimization
|
|
156
|
+
|
|
96
157
|
## 🧰 Tools
|
|
97
158
|
|
|
98
159
|
| Tool | Description | Example |
|
|
@@ -42,6 +42,42 @@
|
|
|
42
42
|
- Multi-line input support
|
|
43
43
|
- Colored output with progress indicators
|
|
44
44
|
|
|
45
|
+
|
|
46
|
+
## ⚙️ Environment Setup
|
|
47
|
+
|
|
48
|
+
Before using Jarvis, you need to set up your environment:
|
|
49
|
+
|
|
50
|
+
1. **API Key Configuration**
|
|
51
|
+
|
|
52
|
+
Create a `.jarvis_env` file in your home directory (`~/.jarvis_env`):
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
KIMI_API_KEY=your_kimi_api_key_here
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
To get your Kimi API key:
|
|
59
|
+
1. Visit [Kimi AI Platform](https://kimi.moonshot.cn) in your browser
|
|
60
|
+
2. Login to your account
|
|
61
|
+
3. Open browser Developer Tools (F12 or right-click -> Inspect)
|
|
62
|
+
4. Go to Network tab
|
|
63
|
+
5. Make any request (e.g., send a message)
|
|
64
|
+
6. Find a request to the Kimi API
|
|
65
|
+
7. Look for the `Authorization` header in the request headers
|
|
66
|
+
8. Copy the token value (remove the "Bearer " prefix)
|
|
67
|
+
9. Use this token as your `KIMI_API_KEY` in the `.jarvis_env` file
|
|
68
|
+
|
|
69
|
+
2. **Task Configuration (Optional)**
|
|
70
|
+
|
|
71
|
+
Create a `.jarvis` file in your working directory to define predefined tasks:
|
|
72
|
+
|
|
73
|
+
```yaml
|
|
74
|
+
# .jarvis
|
|
75
|
+
analyze_code: Analyze the code structure and quality in the current directory
|
|
76
|
+
fix_bugs: Help me find and fix potential bugs in the code
|
|
77
|
+
optimize: Suggest optimizations for the code
|
|
78
|
+
document: Generate documentation for the code
|
|
79
|
+
```
|
|
80
|
+
|
|
45
81
|
## 🚀 Installation
|
|
46
82
|
|
|
47
83
|
```bash
|
|
@@ -50,19 +86,44 @@ pip install jarvis-ai-assistant
|
|
|
50
86
|
|
|
51
87
|
## 💡 Usage
|
|
52
88
|
|
|
89
|
+
1. **Basic Usage**
|
|
53
90
|
```bash
|
|
54
|
-
#
|
|
91
|
+
# Start Jarvis
|
|
55
92
|
jarvis
|
|
56
93
|
|
|
57
|
-
# Process files
|
|
94
|
+
# Process specific files
|
|
58
95
|
jarvis -f file1.txt file2.py
|
|
96
|
+
```
|
|
59
97
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
98
|
+
2. **Using Predefined Tasks**
|
|
99
|
+
|
|
100
|
+
If you have a `.jarvis` file in your working directory:
|
|
101
|
+
```bash
|
|
102
|
+
# Jarvis will show available tasks on startup
|
|
103
|
+
# Select a task number or start a new conversation
|
|
64
104
|
```
|
|
65
105
|
|
|
106
|
+
3. **Interactive Features**
|
|
107
|
+
- Multi-line input support (press Enter twice to submit)
|
|
108
|
+
- File understanding and analysis
|
|
109
|
+
- Context-aware conversations
|
|
110
|
+
- Tool integration for system operations
|
|
111
|
+
|
|
112
|
+
4. **Environment Variables**
|
|
113
|
+
- `KIMI_API_KEY`: Your Kimi AI API key (required)
|
|
114
|
+
- Location: `~/.jarvis_env`
|
|
115
|
+
- Format: `KEY=value` (one per line)
|
|
116
|
+
|
|
117
|
+
5. **Task Configuration**
|
|
118
|
+
- File: `.jarvis` in working directory
|
|
119
|
+
- Format: `task_name: task_description`
|
|
120
|
+
- Purpose: Define commonly used tasks for quick access
|
|
121
|
+
- Example tasks:
|
|
122
|
+
- Code analysis
|
|
123
|
+
- Bug finding
|
|
124
|
+
- Documentation generation
|
|
125
|
+
- Performance optimization
|
|
126
|
+
|
|
66
127
|
## 🧰 Tools
|
|
67
128
|
|
|
68
129
|
| Tool | Description | Example |
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "jarvis-ai-assistant"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.13"
|
|
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.
|
|
5
|
+
version="0.1.13",
|
|
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",
|
|
Binary file
|
|
@@ -82,7 +82,25 @@ def main():
|
|
|
82
82
|
try:
|
|
83
83
|
kimi_api_key = os.getenv("KIMI_API_KEY")
|
|
84
84
|
if not kimi_api_key:
|
|
85
|
-
PrettyOutput.
|
|
85
|
+
PrettyOutput.section("环境配置缺失", OutputType.ERROR)
|
|
86
|
+
PrettyOutput.print("\n需要设置 KIMI_API_KEY 才能使用 Jarvis。请按以下步骤操作:", OutputType.INFO, timestamp=False)
|
|
87
|
+
PrettyOutput.print("\n1. 获取 Kimi API Key:", OutputType.INFO, timestamp=False)
|
|
88
|
+
PrettyOutput.print(" • 访问 Kimi AI 平台: https://kimi.moonshot.cn", OutputType.INFO, timestamp=False)
|
|
89
|
+
PrettyOutput.print(" • 登录您的账号", OutputType.INFO, timestamp=False)
|
|
90
|
+
PrettyOutput.print(" • 打开浏览器开发者工具 (F12 或右键 -> 检查)", OutputType.INFO, timestamp=False)
|
|
91
|
+
PrettyOutput.print(" • 切换到 Network 标签页", OutputType.INFO, timestamp=False)
|
|
92
|
+
PrettyOutput.print(" • 发送任意消息", OutputType.INFO, timestamp=False)
|
|
93
|
+
PrettyOutput.print(" • 在请求中找到 Authorization 头部", OutputType.INFO, timestamp=False)
|
|
94
|
+
PrettyOutput.print(" • 复制 token 值(去掉 'Bearer ' 前缀)", OutputType.INFO, timestamp=False)
|
|
95
|
+
|
|
96
|
+
PrettyOutput.print("\n2. 设置环境变量:", OutputType.INFO, timestamp=False)
|
|
97
|
+
PrettyOutput.print(" 方法 1: 创建或编辑 ~/.jarvis_env 文件:", OutputType.INFO, timestamp=False)
|
|
98
|
+
PrettyOutput.print(" echo 'KIMI_API_KEY=your_key_here' > ~/.jarvis_env", OutputType.CODE, timestamp=False)
|
|
99
|
+
|
|
100
|
+
PrettyOutput.print("\n 方法 2: 直接设置环境变量:", OutputType.INFO, timestamp=False)
|
|
101
|
+
PrettyOutput.print(" export KIMI_API_KEY=your_key_here", OutputType.CODE, timestamp=False)
|
|
102
|
+
|
|
103
|
+
PrettyOutput.print("\n设置完成后重新运行 Jarvis。", OutputType.INFO, timestamp=False)
|
|
86
104
|
return 1
|
|
87
105
|
|
|
88
106
|
model = KimiModel(kimi_api_key)
|
{jarvis_ai_assistant-0.1.12 → jarvis_ai_assistant-0.1.13}/src/jarvis_ai_assistant.egg-info/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: jarvis-ai-assistant
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.13
|
|
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
|
|
@@ -72,6 +72,42 @@ Dynamic: requires-python
|
|
|
72
72
|
- Multi-line input support
|
|
73
73
|
- Colored output with progress indicators
|
|
74
74
|
|
|
75
|
+
|
|
76
|
+
## ⚙️ Environment Setup
|
|
77
|
+
|
|
78
|
+
Before using Jarvis, you need to set up your environment:
|
|
79
|
+
|
|
80
|
+
1. **API Key Configuration**
|
|
81
|
+
|
|
82
|
+
Create a `.jarvis_env` file in your home directory (`~/.jarvis_env`):
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
KIMI_API_KEY=your_kimi_api_key_here
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
To get your Kimi API key:
|
|
89
|
+
1. Visit [Kimi AI Platform](https://kimi.moonshot.cn) in your browser
|
|
90
|
+
2. Login to your account
|
|
91
|
+
3. Open browser Developer Tools (F12 or right-click -> Inspect)
|
|
92
|
+
4. Go to Network tab
|
|
93
|
+
5. Make any request (e.g., send a message)
|
|
94
|
+
6. Find a request to the Kimi API
|
|
95
|
+
7. Look for the `Authorization` header in the request headers
|
|
96
|
+
8. Copy the token value (remove the "Bearer " prefix)
|
|
97
|
+
9. Use this token as your `KIMI_API_KEY` in the `.jarvis_env` file
|
|
98
|
+
|
|
99
|
+
2. **Task Configuration (Optional)**
|
|
100
|
+
|
|
101
|
+
Create a `.jarvis` file in your working directory to define predefined tasks:
|
|
102
|
+
|
|
103
|
+
```yaml
|
|
104
|
+
# .jarvis
|
|
105
|
+
analyze_code: Analyze the code structure and quality in the current directory
|
|
106
|
+
fix_bugs: Help me find and fix potential bugs in the code
|
|
107
|
+
optimize: Suggest optimizations for the code
|
|
108
|
+
document: Generate documentation for the code
|
|
109
|
+
```
|
|
110
|
+
|
|
75
111
|
## 🚀 Installation
|
|
76
112
|
|
|
77
113
|
```bash
|
|
@@ -80,19 +116,44 @@ pip install jarvis-ai-assistant
|
|
|
80
116
|
|
|
81
117
|
## 💡 Usage
|
|
82
118
|
|
|
119
|
+
1. **Basic Usage**
|
|
83
120
|
```bash
|
|
84
|
-
#
|
|
121
|
+
# Start Jarvis
|
|
85
122
|
jarvis
|
|
86
123
|
|
|
87
|
-
# Process files
|
|
124
|
+
# Process specific files
|
|
88
125
|
jarvis -f file1.txt file2.py
|
|
126
|
+
```
|
|
89
127
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
128
|
+
2. **Using Predefined Tasks**
|
|
129
|
+
|
|
130
|
+
If you have a `.jarvis` file in your working directory:
|
|
131
|
+
```bash
|
|
132
|
+
# Jarvis will show available tasks on startup
|
|
133
|
+
# Select a task number or start a new conversation
|
|
94
134
|
```
|
|
95
135
|
|
|
136
|
+
3. **Interactive Features**
|
|
137
|
+
- Multi-line input support (press Enter twice to submit)
|
|
138
|
+
- File understanding and analysis
|
|
139
|
+
- Context-aware conversations
|
|
140
|
+
- Tool integration for system operations
|
|
141
|
+
|
|
142
|
+
4. **Environment Variables**
|
|
143
|
+
- `KIMI_API_KEY`: Your Kimi AI API key (required)
|
|
144
|
+
- Location: `~/.jarvis_env`
|
|
145
|
+
- Format: `KEY=value` (one per line)
|
|
146
|
+
|
|
147
|
+
5. **Task Configuration**
|
|
148
|
+
- File: `.jarvis` in working directory
|
|
149
|
+
- Format: `task_name: task_description`
|
|
150
|
+
- Purpose: Define commonly used tasks for quick access
|
|
151
|
+
- Example tasks:
|
|
152
|
+
- Code analysis
|
|
153
|
+
- Bug finding
|
|
154
|
+
- Documentation generation
|
|
155
|
+
- Performance optimization
|
|
156
|
+
|
|
96
157
|
## 🧰 Tools
|
|
97
158
|
|
|
98
159
|
| Tool | Description | Example |
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|