vibe-package-manager 1.0.0__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.
- vibe_package_manager-1.0.0/CHANGELOG.md +68 -0
- vibe_package_manager-1.0.0/CODE_OF_CONDUCT.md +49 -0
- vibe_package_manager-1.0.0/CONTRIBUTING.md +226 -0
- vibe_package_manager-1.0.0/LICENSE +21 -0
- vibe_package_manager-1.0.0/MANIFEST.in +24 -0
- vibe_package_manager-1.0.0/PKG-INFO +506 -0
- vibe_package_manager-1.0.0/QUICKSTART.md +261 -0
- vibe_package_manager-1.0.0/README.md +466 -0
- vibe_package_manager-1.0.0/SECURITY.md +114 -0
- vibe_package_manager-1.0.0/examples/code-improver/SKILL.md +21 -0
- vibe_package_manager-1.0.0/examples/code-reviewer/code-reviewer.md +32 -0
- vibe_package_manager-1.0.0/pyproject.toml +85 -0
- vibe_package_manager-1.0.0/requirements.txt +5 -0
- vibe_package_manager-1.0.0/setup.cfg +4 -0
- vibe_package_manager-1.0.0/setup.py +55 -0
- vibe_package_manager-1.0.0/src/vibe_package_manager.egg-info/PKG-INFO +506 -0
- vibe_package_manager-1.0.0/src/vibe_package_manager.egg-info/SOURCES.txt +30 -0
- vibe_package_manager-1.0.0/src/vibe_package_manager.egg-info/dependency_links.txt +1 -0
- vibe_package_manager-1.0.0/src/vibe_package_manager.egg-info/entry_points.txt +2 -0
- vibe_package_manager-1.0.0/src/vibe_package_manager.egg-info/requires.txt +8 -0
- vibe_package_manager-1.0.0/src/vibe_package_manager.egg-info/top_level.txt +1 -0
- vibe_package_manager-1.0.0/src/vibe_pm/__init__.py +6 -0
- vibe_package_manager-1.0.0/src/vibe_pm/cli.py +395 -0
- vibe_package_manager-1.0.0/src/vibe_pm/config_parser.py +222 -0
- vibe_package_manager-1.0.0/src/vibe_pm/mcp_installer.py +182 -0
- vibe_package_manager-1.0.0/src/vibe_pm/skill_sync.py +472 -0
- vibe_package_manager-1.0.0/src/vibe_pm/subagent_sync.py +585 -0
- vibe_package_manager-1.0.0/src/vibe_pm/version_utils.py +208 -0
- vibe_package_manager-1.0.0/tests/__init__.py +1 -0
- vibe_package_manager-1.0.0/tests/test_version_utils.py +157 -0
- vibe_package_manager-1.0.0/vibe_package.example.json +52 -0
- vibe_package_manager-1.0.0/vibe_package.schema.json +101 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- Initial release of Vibe Package Manager
|
|
12
|
+
- SKILL synchronization from Git repositories
|
|
13
|
+
- SubAgent synchronization from Git repositories
|
|
14
|
+
- MCP installation via commands
|
|
15
|
+
- Version compatibility checking with caret (^) notation support
|
|
16
|
+
- Configuration file validation
|
|
17
|
+
- Multi-agent support (Claude, iFlow)
|
|
18
|
+
- Comprehensive documentation
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
- **Version Management**: Track and manage versions of SKILLs and SubAgents
|
|
22
|
+
- **Dependency Resolution**: Support for semantic versioning with caret (^) notation
|
|
23
|
+
- **Multi-Agent Support**: Sync to multiple agents from a single configuration
|
|
24
|
+
- **Git Integration**: Clone and sync packages from Git repositories
|
|
25
|
+
- **MCP Installation**: Execute installation commands for MCP servers
|
|
26
|
+
- **Validation**: Validate configuration files and check version compatibility
|
|
27
|
+
|
|
28
|
+
### Documentation
|
|
29
|
+
- README.md with complete usage guide
|
|
30
|
+
- QUICKSTART.md for getting started quickly
|
|
31
|
+
- Example SKILL and SubAgent files
|
|
32
|
+
- JSON Schema for configuration validation
|
|
33
|
+
- Comprehensive open source guidelines
|
|
34
|
+
|
|
35
|
+
## [1.0.0] - 2026-03-19
|
|
36
|
+
|
|
37
|
+
### Added
|
|
38
|
+
- Initial public release
|
|
39
|
+
- Core package management functionality
|
|
40
|
+
- CLI interface with sync and validate commands
|
|
41
|
+
- Support for SKILL, SubAgent, and MCP dependencies
|
|
42
|
+
- Git repository cloning and synchronization
|
|
43
|
+
- Version compatibility validation
|
|
44
|
+
- Configuration file validation
|
|
45
|
+
- Comprehensive error handling and reporting
|
|
46
|
+
|
|
47
|
+
### Documentation
|
|
48
|
+
- Complete README with usage examples
|
|
49
|
+
- Quick start guide
|
|
50
|
+
- Open source contribution guidelines
|
|
51
|
+
- Code of conduct
|
|
52
|
+
- Security policy
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
## Version Format
|
|
57
|
+
|
|
58
|
+
- **[Unreleased]**: Changes planned for the next release
|
|
59
|
+
- **[X.Y.Z]**: Released versions
|
|
60
|
+
|
|
61
|
+
## Change Types
|
|
62
|
+
|
|
63
|
+
- **Added**: New features
|
|
64
|
+
- **Changed**: Changes in existing functionality
|
|
65
|
+
- **Deprecated**: Soon-to-be removed features
|
|
66
|
+
- **Removed**: Removed features
|
|
67
|
+
- **Fixed**: Bug fixes
|
|
68
|
+
- **Security**: Security vulnerability fixes
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
|
2
|
+
|
|
3
|
+
## 我们的承诺
|
|
4
|
+
|
|
5
|
+
为了营造一个开放和友好的环境,我们作为贡献者和维护者承诺:无论年龄、体型、残疾、民族、性别认同和表达、经验水平、教育程度、社会经济地位、国籍、个人形象、种族、宗教或性认同和性取向如何,都欢迎参与我们项目的每个人。
|
|
6
|
+
|
|
7
|
+
## 我们的标准
|
|
8
|
+
|
|
9
|
+
积极行为包括:
|
|
10
|
+
|
|
11
|
+
- 使用欢迎和包容的语言
|
|
12
|
+
- 尊重不同的观点和经验
|
|
13
|
+
- 优雅地接受建设性批评
|
|
14
|
+
- 关注对社区最有利的事情
|
|
15
|
+
- 对其他社区成员表示同理心
|
|
16
|
+
|
|
17
|
+
不可接受的行为包括:
|
|
18
|
+
|
|
19
|
+
- 使用性化的语言或图像,以及不受欢迎的性关注或性骚扰
|
|
20
|
+
- 恶意评论、侮辱/贬损评论、个人或政治攻击
|
|
21
|
+
- 公开或私下的骚扰
|
|
22
|
+
- 未经明确许可发布他人的私人信息,例如物理地址或电子邮件地址
|
|
23
|
+
- 在专业场合可能被合理认为不适当的其他行为
|
|
24
|
+
|
|
25
|
+
## 我们的责任
|
|
26
|
+
|
|
27
|
+
项目维护者有责任阐明可接受行为的标准,并应对任何不可接受的行为采取适当和公平的纠正措施。
|
|
28
|
+
|
|
29
|
+
项目维护者有权并有权删除、编辑或拒绝不符合本行为准则的评论、提交、代码、wiki 编辑、问题和其他贡献,并有权暂时或永久禁止任何他们认为行为不当、威胁、冒犯或有害的贡献者。
|
|
30
|
+
|
|
31
|
+
## 适用范围
|
|
32
|
+
|
|
33
|
+
本行为准则适用于所有项目空间,当个人代表项目或其社区时也适用于公共空间。代表项目或社区的示例包括使用官方项目电子邮件地址、通过官方社交媒体账户发布或在在线或离线活动中担任指定代表。项目维护者可以进一步阐明和澄清项目代表性。
|
|
34
|
+
|
|
35
|
+
## 执行
|
|
36
|
+
|
|
37
|
+
可以通过项目团队发送邮件至 [maintainer@example.com] 来报告滥用、骚扰或其他不可接受的行为。所有投诉都将被审查和调查,并将产生被认为必要且适合情况的回应。项目团队有义务对事件的报告者保密。具体执行政策的更多细节可能会单独发布。
|
|
38
|
+
|
|
39
|
+
不真诚地遵守或执行行为准则的项目维护者可能面临项目领导层确定的临时或永久后果。
|
|
40
|
+
|
|
41
|
+
## 归属
|
|
42
|
+
|
|
43
|
+
本行为准则改编自 [贡献者公约][homepage],版本 1.4,
|
|
44
|
+
可在 https://www.contributor-covenant.org/version/1/4/code-of-conduct.html 查看
|
|
45
|
+
|
|
46
|
+
[homepage]: https://www.contributor-covenant.org
|
|
47
|
+
|
|
48
|
+
有关本行为准则的常见问题的答案,请参阅
|
|
49
|
+
https://www.contributor-covenant.org/faq
|
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
# Contributing to Vibe Package Manager
|
|
2
|
+
|
|
3
|
+
感谢您对 Vibe Package Manager 项目的关注!我们欢迎所有形式的贡献。
|
|
4
|
+
|
|
5
|
+
## 如何贡献
|
|
6
|
+
|
|
7
|
+
### 报告 Bug
|
|
8
|
+
|
|
9
|
+
如果您发现了 Bug,请:
|
|
10
|
+
|
|
11
|
+
1. 检查 [Issues](https://github.com/YOUR_USERNAME/vibe_package_manager/issues) 确认问题尚未被报告
|
|
12
|
+
2. 创建新的 Issue,使用 Bug 报告模板
|
|
13
|
+
3. 提供详细信息:
|
|
14
|
+
- Bug 描述
|
|
15
|
+
- 复现步骤
|
|
16
|
+
- 预期行为
|
|
17
|
+
- 实际行为
|
|
18
|
+
- 环境信息(操作系统、Python 版本等)
|
|
19
|
+
- 相关日志或截图
|
|
20
|
+
|
|
21
|
+
### 提出功能建议
|
|
22
|
+
|
|
23
|
+
如果您有功能建议,请:
|
|
24
|
+
|
|
25
|
+
1. 检查 [Issues](https://github.com/YOUR_USERNAME/vibe_package_manager/issues) 确认建议尚未被提出
|
|
26
|
+
2. 创建新的 Issue,使用功能建议模板
|
|
27
|
+
3. 提供详细信息:
|
|
28
|
+
- 功能描述
|
|
29
|
+
- 使用场景
|
|
30
|
+
- 预期效果
|
|
31
|
+
- 可能的实现方案
|
|
32
|
+
|
|
33
|
+
### 提交代码
|
|
34
|
+
|
|
35
|
+
#### 开发环境设置
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
# 1. Fork 并克隆仓库
|
|
39
|
+
git clone https://github.com/YOUR_USERNAME/vibe_package_manager.git
|
|
40
|
+
cd vibe_package_manager
|
|
41
|
+
|
|
42
|
+
# 2. 创建虚拟环境
|
|
43
|
+
python -m venv venv
|
|
44
|
+
|
|
45
|
+
# Windows
|
|
46
|
+
venv\Scripts\activate
|
|
47
|
+
|
|
48
|
+
# Linux/Mac
|
|
49
|
+
source venv/bin/activate
|
|
50
|
+
|
|
51
|
+
# 3. 安装依赖
|
|
52
|
+
pip install -r requirements.txt
|
|
53
|
+
pip install pytest pytest-cov black flake8 mypy
|
|
54
|
+
|
|
55
|
+
# 4. 运行测试
|
|
56
|
+
pytest
|
|
57
|
+
|
|
58
|
+
# 5. 代码格式化
|
|
59
|
+
black src/ main.py
|
|
60
|
+
|
|
61
|
+
# 6. 代码检查
|
|
62
|
+
flake8 src/ main.py
|
|
63
|
+
|
|
64
|
+
# 7. 类型检查
|
|
65
|
+
mypy src/
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
#### 开发流程
|
|
69
|
+
|
|
70
|
+
1. **创建功能分支**
|
|
71
|
+
```bash
|
|
72
|
+
git checkout -b feature/your-feature-name
|
|
73
|
+
# 或
|
|
74
|
+
git checkout -b fix/your-bug-fix
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
2. **进行更改**
|
|
78
|
+
- 遵循现有代码风格
|
|
79
|
+
- 添加必要的测试
|
|
80
|
+
- 更新相关文档
|
|
81
|
+
|
|
82
|
+
3. **提交更改**
|
|
83
|
+
```bash
|
|
84
|
+
git add .
|
|
85
|
+
git commit -m "feat: add new feature"
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
提交信息遵循 [约定式提交](https://www.conventionalcommits.org/) 规范:
|
|
89
|
+
- `feat:` 新功能
|
|
90
|
+
- `fix:` Bug 修复
|
|
91
|
+
- `docs:` 文档更新
|
|
92
|
+
- `style:` 代码格式调整
|
|
93
|
+
- `refactor:` 代码重构
|
|
94
|
+
- `test:` 测试相关
|
|
95
|
+
- `chore:` 构建/工具链相关
|
|
96
|
+
|
|
97
|
+
4. **推送到你的 Fork**
|
|
98
|
+
```bash
|
|
99
|
+
git push origin feature/your-feature-name
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
5. **创建 Pull Request**
|
|
103
|
+
- 在 GitHub 上创建 PR
|
|
104
|
+
- 填写 PR 模板
|
|
105
|
+
- 等待代码审查
|
|
106
|
+
|
|
107
|
+
#### 代码规范
|
|
108
|
+
|
|
109
|
+
- **Python 代码风格**:遵循 [PEP 8](https://www.python.org/dev/peps/pep-0008/)
|
|
110
|
+
- **类型提示**:为公共函数添加类型提示
|
|
111
|
+
- **文档字符串**:为公共函数编写文档字符串(遵循 Google 风格)
|
|
112
|
+
- **测试覆盖率**:确保新功能有相应的测试
|
|
113
|
+
- **提交信息**:使用约定式提交格式
|
|
114
|
+
|
|
115
|
+
#### 代码审查
|
|
116
|
+
|
|
117
|
+
所有 Pull Request 都需要经过代码审查。审查者会检查:
|
|
118
|
+
|
|
119
|
+
- 代码质量和风格
|
|
120
|
+
- 测试覆盖率
|
|
121
|
+
- 文档完整性
|
|
122
|
+
- 向后兼容性
|
|
123
|
+
- 安全性问题
|
|
124
|
+
|
|
125
|
+
请保持耐心,积极响应审查意见。
|
|
126
|
+
|
|
127
|
+
### 改进文档
|
|
128
|
+
|
|
129
|
+
文档改进也是重要的贡献!您可以:
|
|
130
|
+
|
|
131
|
+
- 修正错误或不清晰的内容
|
|
132
|
+
- 添加使用示例
|
|
133
|
+
- 翻译文档到其他语言
|
|
134
|
+
- 改进文档结构
|
|
135
|
+
|
|
136
|
+
## 行为准则
|
|
137
|
+
|
|
138
|
+
### 我们的承诺
|
|
139
|
+
|
|
140
|
+
为了营造一个开放和友好的环境,我们承诺:
|
|
141
|
+
|
|
142
|
+
- **尊重**:尊重不同的观点和经验
|
|
143
|
+
- **包容**:欢迎并包容所有参与者
|
|
144
|
+
- **友善**:以友善和建设性的方式交流
|
|
145
|
+
- **协作**:优先考虑社区的最佳利益
|
|
146
|
+
|
|
147
|
+
### 不被接受的行为
|
|
148
|
+
|
|
149
|
+
- 使用性化的语言或图像
|
|
150
|
+
- 人身攻击或侮辱性评论
|
|
151
|
+
- 公开或私下的骚扰
|
|
152
|
+
- 未经许可发布他人的私人信息
|
|
153
|
+
- 其他不专业或不恰当的行为
|
|
154
|
+
|
|
155
|
+
### 报告不当行为
|
|
156
|
+
|
|
157
|
+
如果遇到不当行为,请通过以下方式联系维护者:
|
|
158
|
+
- 提交 Issue
|
|
159
|
+
- 发送邮件至项目维护者
|
|
160
|
+
|
|
161
|
+
## 开发指南
|
|
162
|
+
|
|
163
|
+
### 项目结构
|
|
164
|
+
|
|
165
|
+
```
|
|
166
|
+
vibe_package_manager/
|
|
167
|
+
├── main.py # 主程序入口
|
|
168
|
+
├── src/ # 源代码
|
|
169
|
+
│ ├── config_parser.py # 配置解析
|
|
170
|
+
│ ├── version_utils.py # 版本工具
|
|
171
|
+
│ ├── skill_sync.py # SKILL 同步
|
|
172
|
+
│ ├── subagent_sync.py # SubAgent 同步
|
|
173
|
+
│ └── mcp_installer.py # MCP 安装
|
|
174
|
+
├── tests/ # 测试文件
|
|
175
|
+
├── examples/ # 示例文件
|
|
176
|
+
└── docs/ # 文档
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
### 添加新功能
|
|
180
|
+
|
|
181
|
+
1. 在 `src/` 中添加新模块
|
|
182
|
+
2. 编写相应的测试(在 `tests/` 中)
|
|
183
|
+
3. 更新文档
|
|
184
|
+
4. 提交 Pull Request
|
|
185
|
+
|
|
186
|
+
### 修复 Bug
|
|
187
|
+
|
|
188
|
+
1. 找到 Bug 的位置
|
|
189
|
+
2. 编写测试用例复现 Bug
|
|
190
|
+
3. 修复 Bug
|
|
191
|
+
4. 确保所有测试通过
|
|
192
|
+
5. 更新相关文档
|
|
193
|
+
6. 提交 Pull Request
|
|
194
|
+
|
|
195
|
+
## 发布流程
|
|
196
|
+
|
|
197
|
+
### 版本号规范
|
|
198
|
+
|
|
199
|
+
遵循 [语义化版本 2.0.0](https://semver.org/lang/zh-CN/):
|
|
200
|
+
|
|
201
|
+
- **主版本号**:不兼容的 API 修改
|
|
202
|
+
- **次版本号**:向下兼容的功能性新增
|
|
203
|
+
- **修订号**:向下兼容的问题修正
|
|
204
|
+
|
|
205
|
+
### 发布步骤
|
|
206
|
+
|
|
207
|
+
1. 更新版本号(在 `src/__init__.py` 中)
|
|
208
|
+
2. 更新 CHANGELOG.md
|
|
209
|
+
3. 创建 Git 标签
|
|
210
|
+
4. 创建 GitHub Release
|
|
211
|
+
5. 发布到 PyPI(如适用)
|
|
212
|
+
|
|
213
|
+
## 获取帮助
|
|
214
|
+
|
|
215
|
+
如果您在贡献过程中遇到问题:
|
|
216
|
+
|
|
217
|
+
- 查看 [README.md](README.md)
|
|
218
|
+
- 查看 [QUICKSTART.md](QUICKSTART.md)
|
|
219
|
+
- 提交 Issue
|
|
220
|
+
- 参与 [Discussions](https://github.com/YOUR_USERNAME/vibe_package_manager/discussions)
|
|
221
|
+
|
|
222
|
+
## 致谢
|
|
223
|
+
|
|
224
|
+
感谢所有为本项目做出贡献的开发者!
|
|
225
|
+
|
|
226
|
+
您的贡献让 Vibe Package Manager 变得更好!
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Vibe Package Manager Team
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
include README.md
|
|
2
|
+
include LICENSE
|
|
3
|
+
include CHANGELOG.md
|
|
4
|
+
include CONTRIBUTING.md
|
|
5
|
+
include CODE_OF_CONDUCT.md
|
|
6
|
+
include SECURITY.md
|
|
7
|
+
include QUICKSTART.md
|
|
8
|
+
include requirements.txt
|
|
9
|
+
include pyproject.toml
|
|
10
|
+
include vibe_package.schema.json
|
|
11
|
+
include vibe_package.example.json
|
|
12
|
+
|
|
13
|
+
recursive-include examples *.md
|
|
14
|
+
recursive-include src *.py
|
|
15
|
+
recursive-include tests *.py
|
|
16
|
+
|
|
17
|
+
exclude .gitignore
|
|
18
|
+
exclude .github/*
|
|
19
|
+
recursive-exclude .github *
|
|
20
|
+
exclude __pycache__
|
|
21
|
+
exclude *.pyc
|
|
22
|
+
exclude *.pyo
|
|
23
|
+
exclude .DS_Store
|
|
24
|
+
exclude Thumbs.db
|