adam-community 1.0.17__tar.gz → 1.0.18__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.
- {adam_community-1.0.17 → adam_community-1.0.18}/PKG-INFO +1 -1
- adam_community-1.0.18/adam_community/__version__.py +1 -0
- {adam_community-1.0.17 → adam_community-1.0.18}/adam_community/cli/build.py +2 -2
- {adam_community-1.0.17 → adam_community-1.0.18}/adam_community/cli/init.py +12 -0
- adam_community-1.0.18/adam_community/cli/templates/initial_assistant_message_en.md.j2 +21 -0
- adam_community-1.0.18/adam_community/cli/templates/initial_system_prompt_en.md.j2 +22 -0
- adam_community-1.0.18/adam_community/cli/templates/long_description_en.md.j2 +61 -0
- {adam_community-1.0.17 → adam_community-1.0.18}/adam_community.egg-info/PKG-INFO +1 -1
- {adam_community-1.0.17 → adam_community-1.0.18}/adam_community.egg-info/SOURCES.txt +3 -0
- adam_community-1.0.17/adam_community/__version__.py +0 -1
- {adam_community-1.0.17 → adam_community-1.0.18}/README.md +0 -0
- {adam_community-1.0.17 → adam_community-1.0.18}/adam_community/__init__.py +0 -0
- {adam_community-1.0.17 → adam_community-1.0.18}/adam_community/cli/__init__.py +0 -0
- {adam_community-1.0.17 → adam_community-1.0.18}/adam_community/cli/cli.py +0 -0
- {adam_community-1.0.17 → adam_community-1.0.18}/adam_community/cli/parser.py +0 -0
- {adam_community-1.0.17 → adam_community-1.0.18}/adam_community/cli/templates/Makefile.j2 +0 -0
- {adam_community-1.0.17 → adam_community-1.0.18}/adam_community/cli/templates/README_agent.md.j2 +0 -0
- {adam_community-1.0.17 → adam_community-1.0.18}/adam_community/cli/templates/README_kit.md.j2 +0 -0
- {adam_community-1.0.17 → adam_community-1.0.18}/adam_community/cli/templates/__init__.py +0 -0
- {adam_community-1.0.17 → adam_community-1.0.18}/adam_community/cli/templates/agent_python.py.j2 +0 -0
- {adam_community-1.0.17 → adam_community-1.0.18}/adam_community/cli/templates/configure.json.j2 +0 -0
- {adam_community-1.0.17 → adam_community-1.0.18}/adam_community/cli/templates/initial_assistant_message.md.j2 +0 -0
- {adam_community-1.0.17 → adam_community-1.0.18}/adam_community/cli/templates/initial_system_prompt.md.j2 +0 -0
- {adam_community-1.0.17 → adam_community-1.0.18}/adam_community/cli/templates/input.json.j2 +0 -0
- {adam_community-1.0.17 → adam_community-1.0.18}/adam_community/cli/templates/kit_python.py.j2 +0 -0
- {adam_community-1.0.17 → adam_community-1.0.18}/adam_community/cli/templates/long_description.md.j2 +0 -0
- {adam_community-1.0.17 → adam_community-1.0.18}/adam_community/cli/templates/rag_python.py.j2 +0 -0
- {adam_community-1.0.17 → adam_community-1.0.18}/adam_community/cli/updater.py +0 -0
- {adam_community-1.0.17 → adam_community-1.0.18}/adam_community/tool.py +0 -0
- {adam_community-1.0.17 → adam_community-1.0.18}/adam_community/util.py +0 -0
- {adam_community-1.0.17 → adam_community-1.0.18}/adam_community.egg-info/dependency_links.txt +0 -0
- {adam_community-1.0.17 → adam_community-1.0.18}/adam_community.egg-info/entry_points.txt +0 -0
- {adam_community-1.0.17 → adam_community-1.0.18}/adam_community.egg-info/requires.txt +0 -0
- {adam_community-1.0.17 → adam_community-1.0.18}/adam_community.egg-info/top_level.txt +0 -0
- {adam_community-1.0.17 → adam_community-1.0.18}/setup.cfg +0 -0
- {adam_community-1.0.17 → adam_community-1.0.18}/setup.py +0 -0
- {adam_community-1.0.17 → adam_community-1.0.18}/test/test_util_tool.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.0.18"
|
|
@@ -260,9 +260,9 @@ def create_zip_package(directory: Path) -> str:
|
|
|
260
260
|
|
|
261
261
|
# 根据类型添加不同的文件
|
|
262
262
|
if config_type == "kit":
|
|
263
|
-
other_files = ["long_description.md", "input.json"]
|
|
263
|
+
other_files = ["long_description.md", "long_description_en.md", "input.json"]
|
|
264
264
|
else:
|
|
265
|
-
other_files = ["initial_assistant_message.md", "initial_system_prompt.md", "long_description.md"]
|
|
265
|
+
other_files = ["initial_assistant_message.md", "initial_assistant_message_en.md", "initial_system_prompt.md", "initial_system_prompt_en.md", "long_description.md", "long_description_en.md"]
|
|
266
266
|
|
|
267
267
|
for file in other_files:
|
|
268
268
|
file_path = directory / "config" / file
|
|
@@ -79,6 +79,10 @@ def init(name: str, display_name: str, description: str, version: str, author: s
|
|
|
79
79
|
render_and_save(env, 'long_description.md.j2', config_path / "long_description.md", template_vars)
|
|
80
80
|
click.echo(f"生成描述文件: config/long_description.md")
|
|
81
81
|
|
|
82
|
+
# 生成描述文件 (英文版本)
|
|
83
|
+
render_and_save(env, 'long_description_en.md.j2', config_path / "long_description_en.md", template_vars)
|
|
84
|
+
click.echo(f"生成描述文件 (英文): config/long_description_en.md")
|
|
85
|
+
|
|
82
86
|
if type == 'kit':
|
|
83
87
|
generate_kit_files(env, project_path, config_path, template_vars)
|
|
84
88
|
else: # agent
|
|
@@ -143,10 +147,18 @@ def generate_agent_files(env: Environment, project_path: Path, config_path: Path
|
|
|
143
147
|
render_and_save(env, 'initial_system_prompt.md.j2', config_path / "initial_system_prompt.md", template_vars)
|
|
144
148
|
click.echo(f"生成系统提示文件: config/initial_system_prompt.md")
|
|
145
149
|
|
|
150
|
+
# 生成 initial_system_prompt_en.md (英文版本)
|
|
151
|
+
render_and_save(env, 'initial_system_prompt_en.md.j2', config_path / "initial_system_prompt_en.md", template_vars)
|
|
152
|
+
click.echo(f"生成系统提示文件 (英文): config/initial_system_prompt_en.md")
|
|
153
|
+
|
|
146
154
|
# 生成 initial_assistant_message.md
|
|
147
155
|
render_and_save(env, 'initial_assistant_message.md.j2', config_path / "initial_assistant_message.md", template_vars)
|
|
148
156
|
click.echo(f"生成助手消息文件: config/initial_assistant_message.md")
|
|
149
157
|
|
|
158
|
+
# 生成 initial_assistant_message_en.md (英文版本)
|
|
159
|
+
render_and_save(env, 'initial_assistant_message_en.md.j2', config_path / "initial_assistant_message_en.md", template_vars)
|
|
160
|
+
click.echo(f"生成助手消息文件 (英文): config/initial_assistant_message_en.md")
|
|
161
|
+
|
|
150
162
|
# 生成主要的Python实现文件
|
|
151
163
|
python_filename = f"{template_vars['name'].replace('-', '_')}.py"
|
|
152
164
|
render_and_save(env, 'agent_python.py.j2', project_path / python_filename, template_vars)
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
## Welcome to use {{ display_name }} tool!
|
|
2
|
+
|
|
3
|
+
I am your professional {{ display_name }} assistant and can help you complete the following tasks:
|
|
4
|
+
|
|
5
|
+
### 🔧 Main Features
|
|
6
|
+
- Feature 1: Basic processing functionality
|
|
7
|
+
- Feature 2: Advanced analysis functionality
|
|
8
|
+
- Feature 3: Result export functionality
|
|
9
|
+
|
|
10
|
+
### 🚀 Quick Start
|
|
11
|
+
1. Describe your requirements
|
|
12
|
+
2. Provide necessary input data
|
|
13
|
+
3. I will execute the corresponding operations for you
|
|
14
|
+
4. Get detailed analysis results
|
|
15
|
+
|
|
16
|
+
### 💡 Usage Suggestions
|
|
17
|
+
- Please describe your requirements in detail
|
|
18
|
+
- If you have files to process, please upload relevant files
|
|
19
|
+
- I will provide you with detailed operation steps and result analysis
|
|
20
|
+
|
|
21
|
+
Now, please tell me what you would like me to do for you?
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Your Information
|
|
2
|
+
You are a professional {{ display_name }} expert with extensive experience and deep expertise. Your task is to assist users in completing various related tasks using the {{ display_name }} tool.
|
|
3
|
+
|
|
4
|
+
# Your Task Scope
|
|
5
|
+
1. Understand user needs and questions
|
|
6
|
+
2. Select appropriate tools and methods
|
|
7
|
+
3. Execute relevant operations and generate results
|
|
8
|
+
4. Provide detailed analysis and recommendations
|
|
9
|
+
5. Generate standardized report documents
|
|
10
|
+
|
|
11
|
+
# Workflow
|
|
12
|
+
1. Carefully analyze user requirements
|
|
13
|
+
2. Develop processing steps and plans
|
|
14
|
+
3. Execute corresponding tool calls
|
|
15
|
+
4. Analyze processing results
|
|
16
|
+
5. Generate detailed reports
|
|
17
|
+
|
|
18
|
+
# Important Notes
|
|
19
|
+
- Always maintain professionalism and accuracy
|
|
20
|
+
- Fully verify results
|
|
21
|
+
- Report anomalies and issues promptly
|
|
22
|
+
- Provide clear explanations
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
<!-- Overview/Features/Metrics These three headings are fixed, you can leave them empty, please start your content from the second-level heading -->
|
|
2
|
+
|
|
3
|
+
<!-- Must be retained -->
|
|
4
|
+
# Overview
|
|
5
|
+
|
|
6
|
+
## {{ display_name }}
|
|
7
|
+
{{ description }}
|
|
8
|
+
|
|
9
|
+
This is a tool developed based on Adam Tool Protocol (ATP), providing complete functionality and user interface.
|
|
10
|
+
|
|
11
|
+
## Main Features
|
|
12
|
+
- Feature 1: Describe main functionality
|
|
13
|
+
- Feature 2: Describe auxiliary functionality
|
|
14
|
+
- Feature 3: Describe extended functionality
|
|
15
|
+
|
|
16
|
+
<!-- Suggested to retain -->
|
|
17
|
+
# Features
|
|
18
|
+
|
|
19
|
+
## Core Features
|
|
20
|
+
|
|
21
|
+
### Usability
|
|
22
|
+
- Simple and intuitive operation interface
|
|
23
|
+
- Detailed operation documentation
|
|
24
|
+
- Complete error handling mechanism
|
|
25
|
+
|
|
26
|
+
### Reliability
|
|
27
|
+
- Stable algorithm implementation
|
|
28
|
+
- Complete test coverage
|
|
29
|
+
- Detailed logging
|
|
30
|
+
|
|
31
|
+
### Extensibility
|
|
32
|
+
- Modular code structure
|
|
33
|
+
- Flexible configuration options
|
|
34
|
+
- Good interface design
|
|
35
|
+
|
|
36
|
+
<!-- Suggested to retain -->
|
|
37
|
+
# Metrics
|
|
38
|
+
|
|
39
|
+
## Performance Metrics
|
|
40
|
+
|
|
41
|
+
| Metric | Value | Description |
|
|
42
|
+
|--------|-------|-------------|
|
|
43
|
+
| Processing Speed | To be tested | Average processing time |
|
|
44
|
+
| Accuracy | To be tested | Processing accuracy |
|
|
45
|
+
| Stability | To be tested | System stability |
|
|
46
|
+
|
|
47
|
+
## Usage Statistics
|
|
48
|
+
|
|
49
|
+
| Category | Percentage | Details |
|
|
50
|
+
|----------|------------|---------|
|
|
51
|
+
| Academic Research | 40% | Universities and research institutes |
|
|
52
|
+
| Industrial Applications | 35% | Enterprise production environment |
|
|
53
|
+
| Personal Projects | 25% | Personal learning and research |
|
|
54
|
+
|
|
55
|
+
## System Requirements
|
|
56
|
+
|
|
57
|
+
| Component | Requirement | Description |
|
|
58
|
+
|-----------|-------------|-------------|
|
|
59
|
+
| Python Version | >= 3.8 | Runtime environment requirement |
|
|
60
|
+
| Memory | >= 2GB | Recommended configuration |
|
|
61
|
+
| Storage Space | >= 1GB | Installation space |
|
|
@@ -23,9 +23,12 @@ adam_community/cli/templates/__init__.py
|
|
|
23
23
|
adam_community/cli/templates/agent_python.py.j2
|
|
24
24
|
adam_community/cli/templates/configure.json.j2
|
|
25
25
|
adam_community/cli/templates/initial_assistant_message.md.j2
|
|
26
|
+
adam_community/cli/templates/initial_assistant_message_en.md.j2
|
|
26
27
|
adam_community/cli/templates/initial_system_prompt.md.j2
|
|
28
|
+
adam_community/cli/templates/initial_system_prompt_en.md.j2
|
|
27
29
|
adam_community/cli/templates/input.json.j2
|
|
28
30
|
adam_community/cli/templates/kit_python.py.j2
|
|
29
31
|
adam_community/cli/templates/long_description.md.j2
|
|
32
|
+
adam_community/cli/templates/long_description_en.md.j2
|
|
30
33
|
adam_community/cli/templates/rag_python.py.j2
|
|
31
34
|
test/test_util_tool.py
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.0.17"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{adam_community-1.0.17 → adam_community-1.0.18}/adam_community/cli/templates/README_agent.md.j2
RENAMED
|
File without changes
|
{adam_community-1.0.17 → adam_community-1.0.18}/adam_community/cli/templates/README_kit.md.j2
RENAMED
|
File without changes
|
|
File without changes
|
{adam_community-1.0.17 → adam_community-1.0.18}/adam_community/cli/templates/agent_python.py.j2
RENAMED
|
File without changes
|
{adam_community-1.0.17 → adam_community-1.0.18}/adam_community/cli/templates/configure.json.j2
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{adam_community-1.0.17 → adam_community-1.0.18}/adam_community/cli/templates/kit_python.py.j2
RENAMED
|
File without changes
|
{adam_community-1.0.17 → adam_community-1.0.18}/adam_community/cli/templates/long_description.md.j2
RENAMED
|
File without changes
|
{adam_community-1.0.17 → adam_community-1.0.18}/adam_community/cli/templates/rag_python.py.j2
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{adam_community-1.0.17 → adam_community-1.0.18}/adam_community.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|