@zeyue0329/xiaoma-cli 1.0.1 → 1.0.2

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.
package/README.md CHANGED
@@ -1,8 +1,8 @@
1
- # XiaoMa-Web 智能体协作指南
1
+ # XiaoMa-Cli 智能体协作指南
2
2
 
3
3
  ## 项目概述
4
4
 
5
- XiaoMa-Web 是一个通用的 AI 智能体框架,专为敏捷驱动开发而设计。该框架包含 10 个专业智能体 ,通过两阶段开发流程实现从项目构思到代码实现的完整软件开发生命周期。
5
+ XiaoMa-Cli 是一个通用的 AI 智能体框架,专为敏捷驱动开发而设计。该框架包含 10 个专业智能体 ,通过两阶段开发流程实现从项目构思到代码实现的完整软件开发生命周期。
6
6
 
7
7
  ## 智能体生态系统架构
8
8
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeyue0329/xiaoma-cli",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "XiaoMa Cli: Universal AI Agent Framework",
5
5
  "main": "tools/cli.js",
6
6
  "bin": {
@@ -1,12 +1,12 @@
1
1
  {
2
- "name": "bmad-method",
3
- "version": "4.32.0",
2
+ "name": "@zeyue0329/xiaoma-cli-installer",
3
+ "version": "1.0.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
- "name": "bmad-method",
9
- "version": "4.32.0",
8
+ "name": "@zeyue0329/xiaoma-cli-installer",
9
+ "version": "1.0.1",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "chalk": "^5.4.1",
@@ -17,8 +17,8 @@
17
17
  "ora": "^8.2.0"
18
18
  },
19
19
  "bin": {
20
- "bmad": "bin/bmad.js",
21
- "bmad-method": "bin/bmad.js"
20
+ "xiaoma-cli-installer": "bin/xiaoma.js",
21
+ "xiaoma-installer": "bin/xiaoma.js"
22
22
  },
23
23
  "engines": {
24
24
  "node": ">=20.0.0"
@@ -214,9 +214,9 @@
214
214
  }
215
215
  },
216
216
  "node_modules/@inquirer/prompts": {
217
- "version": "7.7.1",
218
- "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-7.7.1.tgz",
219
- "integrity": "sha512-XDxPrEWeWUBy8scAXzXuFY45r/q49R0g72bUzgQXZ1DY/xEFX+ESDMkTQolcb5jRBzaNJX2W8XQl6krMNDTjaA==",
217
+ "version": "7.8.0",
218
+ "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-7.8.0.tgz",
219
+ "integrity": "sha512-JHwGbQ6wjf1dxxnalDYpZwZxUEosT+6CPGD9Zh4sm9WXdtUp9XODCQD3NjSTmu+0OAyxWXNOqf0spjIymJa2Tw==",
220
220
  "license": "MIT",
221
221
  "dependencies": {
222
222
  "@inquirer/checkbox": "^4.2.0",
@@ -227,7 +227,7 @@
227
227
  "@inquirer/number": "^3.0.17",
228
228
  "@inquirer/password": "^4.0.17",
229
229
  "@inquirer/rawlist": "^4.1.5",
230
- "@inquirer/search": "^3.0.17",
230
+ "@inquirer/search": "^3.1.0",
231
231
  "@inquirer/select": "^4.3.1"
232
232
  },
233
233
  "engines": {
@@ -265,9 +265,9 @@
265
265
  }
266
266
  },
267
267
  "node_modules/@inquirer/search": {
268
- "version": "3.0.17",
269
- "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-3.0.17.tgz",
270
- "integrity": "sha512-CuBU4BAGFqRYors4TNCYzy9X3DpKtgIW4Boi0WNkm4Ei1hvY9acxKdBdyqzqBCEe4YxSdaQQsasJlFlUJNgojw==",
268
+ "version": "3.1.0",
269
+ "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-3.1.0.tgz",
270
+ "integrity": "sha512-PMk1+O/WBcYJDq2H7foV0aAZSmDdkzZB9Mw2v/DmONRJopwA/128cS9M/TXWLKKdEQKZnKwBzqu2G4x/2Nqx8Q==",
271
271
  "license": "MIT",
272
272
  "dependencies": {
273
273
  "@inquirer/core": "^10.1.15",
@@ -377,9 +377,9 @@
377
377
  "license": "Python-2.0"
378
378
  },
379
379
  "node_modules/chalk": {
380
- "version": "5.4.1",
381
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.4.1.tgz",
382
- "integrity": "sha512-zgVZuo2WcZgfUEmsn6eO3kINexW8RAE4maiQ8QNs8CtpPCSyMiYsULR3HQYkm3w8FIA3SberyMJMSldGsW+U3w==",
380
+ "version": "5.5.0",
381
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.5.0.tgz",
382
+ "integrity": "sha512-1tm8DTaJhPBG3bIkVeZt1iZM9GfSX2lzOeDVZH9R9ffRHpmHvxZ/QhgQH/aDTkswQVt+YHdXAdS/In/30OjCbg==",
383
383
  "license": "MIT",
384
384
  "engines": {
385
385
  "node": "^12.17.0 || ^14.13 || >=16.0.0"
@@ -478,9 +478,9 @@
478
478
  }
479
479
  },
480
480
  "node_modules/fs-extra": {
481
- "version": "11.3.0",
482
- "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.0.tgz",
483
- "integrity": "sha512-Z4XaCL6dUDHfP/jT25jJKMmtxvuwbkrD1vNSMFlo9lNLY2c5FHYSQgHPRZUjAB26TpDEoW9HCOgplrdbaPV/ew==",
481
+ "version": "11.3.1",
482
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.1.tgz",
483
+ "integrity": "sha512-eXvGGwZ5CL17ZSwHWd3bbgk7UUpF6IFHtP57NYYakPvHOs8GDgDe5KJI36jIJzDkJ6eJjuzRA8eBQb6SkKue0g==",
484
484
  "license": "MIT",
485
485
  "dependencies": {
486
486
  "graceful-fs": "^4.2.0",
@@ -522,13 +522,13 @@
522
522
  }
523
523
  },
524
524
  "node_modules/inquirer": {
525
- "version": "12.8.2",
526
- "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-12.8.2.tgz",
527
- "integrity": "sha512-oBDL9f4+cDambZVJdfJu2M5JQfvaug9lbo6fKDlFV40i8t3FGA1Db67ov5Hp5DInG4zmXhHWTSnlXBntnJ7GMA==",
525
+ "version": "12.9.0",
526
+ "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-12.9.0.tgz",
527
+ "integrity": "sha512-LlFVmvWVCun7uEgPB3vups9NzBrjJn48kRNtFGw3xU1H5UXExTEz/oF1JGLaB0fvlkUB+W6JfgLcSEaSdH7RPA==",
528
528
  "license": "MIT",
529
529
  "dependencies": {
530
530
  "@inquirer/core": "^10.1.15",
531
- "@inquirer/prompts": "^7.7.1",
531
+ "@inquirer/prompts": "^7.8.0",
532
532
  "@inquirer/type": "^3.0.8",
533
533
  "ansi-escapes": "^4.3.2",
534
534
  "mute-stream": "^2.0.0",
@@ -1,17 +1,17 @@
1
1
  {
2
- "name": "bmad-method",
3
- "version": "4.35.0",
4
- "description": "XiaoMa Web installer - AI-powered Agile development framework",
2
+ "name": "@zeyue0329/xiaoma-cli-installer",
3
+ "version": "1.0.1",
4
+ "description": "XiaoMa Cli installer - AI-powered Agile development framework",
5
5
  "main": "lib/installer.js",
6
6
  "bin": {
7
- "bmad": "./bin/bmad.js",
8
- "bmad-method": "./bin/bmad.js"
7
+ "xiaoma-installer": "./bin/xiaoma.js",
8
+ "xiaoma-cli-installer": "./bin/xiaoma.js"
9
9
  },
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1"
12
12
  },
13
13
  "keywords": [
14
- "bmad",
14
+ "xiaoma",
15
15
  "agile",
16
16
  "ai",
17
17
  "development",
package/CONTRIBUTING.md DELETED
@@ -1,209 +0,0 @@
1
- # Contributing to this project
2
-
3
- Thank you for considering contributing to this project! This document outlines the process for contributing and some guidelines to follow.
4
-
5
- 🆕 **New to GitHub or pull requests?** Check out our [beginner-friendly Pull Request Guide](docs/how-to-contribute-with-pull-requests.md) first!
6
-
7
- 📋 **Before contributing**, please read our [Guiding Principles](docs/GUIDING-PRINCIPLES.md) to understand the XiaoMa Method's core philosophy and architectural decisions.
8
-
9
- Also note, we use the discussions feature in GitHub to have a community to discuss potential ideas, uses, additions and enhancements.
10
-
11
- 💬 **Discord Community**: Join our [Discord server](https://discord.gg/gk8jAdXWmj) for real-time discussions:
12
-
13
- - **#general-dev** - Technical discussions, feature ideas, and development questions
14
- - **#bugs-issues** - Bug reports and issue discussions
15
-
16
- ## Code of Conduct
17
-
18
- By participating in this project, you agree to abide by our Code of Conduct. Please read it before participating.
19
-
20
- ## How to Contribute
21
-
22
- ### Reporting Bugs
23
-
24
- 1. **Check existing issues** first to avoid duplicates
25
- 2. **Use the bug report template** when creating a new issue - it will guide you through providing:
26
- - Clear bug description
27
- - Steps to reproduce
28
- - Expected vs actual behavior
29
- - Model/IDE/XiaoMa version details
30
- - Screenshots or links if applicable
31
- 3. **Consider discussing in Discord** (#bugs-issues channel) for quick help
32
- 4. **Indicate if you're working on a fix** to avoid duplicate efforts
33
-
34
- ### Suggesting Features
35
-
36
- 1. **Discuss first in Discord** (#general-dev channel) - the feature request template asks if you've done this
37
- 2. **Check existing issues and discussions** to avoid duplicates
38
- 3. **Use the feature request template** when creating an issue - it will guide you through:
39
- - Confirming Discord discussion
40
- - Describing the problem it solves
41
- - Explaining your solution
42
- - Listing alternatives considered
43
- 4. **Be specific** about why this feature would benefit the XiaoMa community
44
-
45
- ### Pull Request Process
46
-
47
- ⚠️ **Before starting work:**
48
-
49
- 1. **For bugs**: Check if an issue exists (create one using the bug template if not)
50
- 2. **For features**: Ensure you've discussed in Discord (#general-dev) AND created a feature request issue
51
- 3. **For large changes**: Always open an issue first to discuss alignment
52
-
53
- Please only propose small granular commits! If its large or significant, please discuss in the discussions tab and open up an issue first. I do not want you to waste your time on a potentially very large PR to have it rejected because it is not aligned or deviates from other planned changes. Communicate and lets work together to build and improve this great community project!
54
-
55
- **Important**: All contributions must align with our [Guiding Principles](docs/GUIDING-PRINCIPLES.md). Key points:
56
-
57
- - Keep dev agents lean - they need context for coding, not documentation
58
- - Web/planning agents can be larger with more complex tasks
59
- - Everything is natural language (markdown) - no code in core framework
60
- - Use expansion packs for domain-specific features
61
-
62
- #### Which Branch for Your PR?
63
-
64
- **Submit to `next` branch** (most contributions):
65
-
66
- - ✨ New features or agents
67
- - 🎨 Enhancements to existing features
68
- - 📚 Documentation updates
69
- - ♻️ Code refactoring
70
- - ⚡ Performance improvements
71
- - 🧪 New tests
72
- - 🎁 New expansion packs
73
-
74
- **Submit to `main` branch** (critical only):
75
-
76
- - 🚨 Critical bug fixes that break basic functionality
77
- - 🔒 Security patches
78
- - 📚 Fixing dangerously incorrect documentation
79
- - 🐛 Bugs preventing installation or basic usage
80
-
81
- **When in doubt, submit to `next`**. We'd rather test changes thoroughly before they hit stable.
82
-
83
- #### PR Size Guidelines
84
-
85
- - **Ideal PR size**: 200-400 lines of code changes
86
- - **Maximum PR size**: 800 lines (excluding generated files)
87
- - **One feature/fix per PR**: Each PR should address a single issue or add one feature
88
- - **If your change is larger**: Break it into multiple smaller PRs that can be reviewed independently
89
- - **Related changes**: Even related changes should be separate PRs if they deliver independent value
90
-
91
- #### Breaking Down Large PRs
92
-
93
- If your change exceeds 800 lines, use this checklist to split it:
94
-
95
- - [ ] Can I separate the refactoring from the feature implementation?
96
- - [ ] Can I introduce the new API/interface in one PR and implementation in another?
97
- - [ ] Can I split by file or module?
98
- - [ ] Can I create a base PR with shared utilities first?
99
- - [ ] Can I separate test additions from implementation?
100
- - [ ] Even if changes are related, can they deliver value independently?
101
- - [ ] Can these changes be merged in any order without breaking things?
102
-
103
- Example breakdown:
104
-
105
- 1. PR #1: Add utility functions and types (100 lines)
106
- 2. PR #2: Refactor existing code to use utilities (200 lines)
107
- 3. PR #3: Implement new feature using refactored code (300 lines)
108
- 4. PR #4: Add comprehensive tests (200 lines)
109
-
110
- **Note**: PRs #1 and #4 could be submitted simultaneously since they deliver independent value and don't depend on each other's merge order.
111
-
112
- #### Pull Request Steps
113
-
114
- 1. Fork the repository
115
- 2. Create a new branch (`git checkout -b feature/your-feature-name`)
116
- 3. Make your changes
117
- 4. Run any tests or linting to ensure quality
118
- 5. Commit your changes with clear, descriptive messages following our commit message convention
119
- 6. Push to your branch (`git push origin feature/your-feature-name`)
120
- 7. Open a Pull Request against the main branch
121
-
122
- ## Issue Templates
123
-
124
- We use GitHub issue templates to ensure all necessary information is provided:
125
-
126
- - **Bug Reports**: Automatically guides you through providing reproduction steps, environment details, and expected behavior
127
- - **Feature Requests**: Requires Discord discussion confirmation and asks for problem/solution descriptions
128
-
129
- Using these templates helps maintainers understand and address your contribution faster.
130
-
131
- ## Pull Request Description Guidelines
132
-
133
- Keep PR descriptions short and to the point following this template:
134
-
135
- ### PR Description Template
136
-
137
- Keep your PR description concise and focused. Use this template:
138
-
139
- ```markdown
140
- ## What
141
-
142
- [1-2 sentences describing WHAT changed]
143
-
144
- ## Why
145
-
146
- [1-2 sentences explaining WHY this change is needed]
147
- Fixes #[issue number] (if applicable)
148
-
149
- ## How
150
-
151
- [2-3 bullets listing HOW you implemented it]
152
-
153
- -
154
- -
155
- -
156
-
157
- ## Testing
158
-
159
- [1-2 sentences on how you tested this]
160
- ```
161
-
162
- **Maximum PR description length: 200 words** (excluding code examples if needed)
163
-
164
- ### Good vs Bad PR Descriptions
165
-
166
- ❌ **Bad Example:**
167
-
168
- > This revolutionary PR introduces a paradigm-shifting enhancement to the system's architecture by implementing a state-of-the-art solution that leverages cutting-edge methodologies to optimize performance metrics and deliver unprecedented value to stakeholders through innovative approaches...
169
-
170
- ✅ **Good Example:**
171
-
172
- > **What:** Added validation for agent dependency resolution
173
- > **Why:** Build was failing silently when agents had circular dependencies
174
- > **How:**
175
- >
176
- > - Added cycle detection in dependency-resolver.js
177
- > - Throws clear error with dependency chain
178
- > **Testing:** Tested with circular deps between 3 agents
179
-
180
- ## Commit Message Convention
181
-
182
- Use conventional commits format:
183
-
184
- - `feat:` New feature
185
- - `fix:` Bug fix
186
- - `docs:` Documentation only
187
- - `refactor:` Code change that neither fixes a bug nor adds a feature
188
- - `test:` Adding missing tests
189
- - `chore:` Changes to build process or auxiliary tools
190
-
191
- Keep commit messages under 72 characters.
192
-
193
- ### Atomic Commits
194
-
195
- Each commit should represent one logical change:
196
-
197
- - **Do:** One bug fix per commit
198
- - **Do:** One feature addition per commit
199
- - **Don't:** Mix refactoring with bug fixes
200
- - **Don't:** Combine unrelated changes
201
-
202
- ## Code Style
203
-
204
- - Follow the existing code style and conventions
205
- - Write clear comments for complex logic
206
-
207
- ## License
208
-
209
- By contributing to this project, you agree that your contributions will be licensed under the same license as the project.