flowmind 1.4.6 โ 1.4.8
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/CHANGELOG.md +16 -0
- package/CONTRIBUTING.md +236 -0
- package/README.md +41 -857
- package/README_CN.md +41 -1108
- package/demo/01-skills.sh +9 -0
- package/demo/02-log-audit.sh +9 -0
- package/demo/03-learn-format.sh +9 -0
- package/demo/04-show-learning.sh +8 -0
- package/demo/05-log-audit-json.sh +9 -0
- package/demo/DEMO.md +263 -0
- package/demo/DEMO_CN.md +263 -0
- package/demo/common.sh +25 -0
- package/demo/flowmind-demo.gif +0 -0
- package/demo/flowmind-demo.tape +38 -0
- package/demo/quickstart-demo.sh +35 -0
- package/demo/setup-vhs-demo.sh +35 -0
- package/docs/guide.md +151 -0
- package/docs/guide.zh-CN.md +151 -0
- package/docs/integration-guide.md +424 -0
- package/package.json +18 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.4.8] - 2026-06-30
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
- Simplified the npm homepage README into a short entry page focused on positioning, quick start, and next-step links
|
|
7
|
+
- Moved the longer product explanation into dedicated guide documents for English and Chinese readers
|
|
8
|
+
- Added packaged detailed guide documents so linked deep-dive docs resolve from the published npm package
|
|
9
|
+
|
|
10
|
+
## [1.4.7] - 2026-06-30
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
- npm package now ships the demo assets and integration guide referenced by the README
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
- Release packaging now excludes local promotion copy so community post drafts do not get published to npm
|
|
17
|
+
- Demo setup now reads the package version dynamically instead of keeping a stale hardcoded value
|
|
18
|
+
|
|
3
19
|
## [1.4.6] - 2026-06-30
|
|
4
20
|
|
|
5
21
|
### Added
|
package/CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
# Contributing to FlowMind
|
|
2
|
+
|
|
3
|
+
Thank you for your interest in contributing to FlowMind! ๐
|
|
4
|
+
|
|
5
|
+
## ๐ค Ways to Contribute
|
|
6
|
+
|
|
7
|
+
- ๐ **Report bugs** - Help us identify issues
|
|
8
|
+
- ๐ก **Suggest features** - Share your ideas
|
|
9
|
+
- ๐ **Improve docs** - Make documentation better
|
|
10
|
+
- ๐ ๏ธ **Add skills** - Create new capabilities
|
|
11
|
+
- ๐ **Translations** - Help localize
|
|
12
|
+
- ๐งช **Write tests** - Improve quality
|
|
13
|
+
|
|
14
|
+
## ๐ Getting Started
|
|
15
|
+
|
|
16
|
+
### 1. Fork & Clone
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
git clone https://github.com/your-username/flowmind.git
|
|
20
|
+
cd flowmind
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
### 2. Install Dependencies
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
npm install
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### 3. Create Branch
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
git checkout -b feature/your-feature-name
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### 4. Make Changes
|
|
36
|
+
|
|
37
|
+
Make your changes, following our coding standards.
|
|
38
|
+
|
|
39
|
+
### 5. Test
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
npm test
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### 6. Submit PR
|
|
46
|
+
|
|
47
|
+
Push your changes and create a pull request.
|
|
48
|
+
|
|
49
|
+
## ๐ Coding Standards
|
|
50
|
+
|
|
51
|
+
### Code Style
|
|
52
|
+
|
|
53
|
+
- Use ESLint for JavaScript
|
|
54
|
+
- Follow Prettier formatting
|
|
55
|
+
- Write meaningful commit messages
|
|
56
|
+
|
|
57
|
+
### Commit Messages
|
|
58
|
+
|
|
59
|
+
```
|
|
60
|
+
<type>(<scope>): <description>
|
|
61
|
+
|
|
62
|
+
[optional body]
|
|
63
|
+
|
|
64
|
+
[optional footer]
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
Types:
|
|
68
|
+
- `feat`: New feature
|
|
69
|
+
- `fix`: Bug fix
|
|
70
|
+
- `docs`: Documentation
|
|
71
|
+
- `style`: Formatting
|
|
72
|
+
- `refactor`: Code refactoring
|
|
73
|
+
- `test`: Adding tests
|
|
74
|
+
- `chore`: Maintenance
|
|
75
|
+
|
|
76
|
+
### Testing
|
|
77
|
+
|
|
78
|
+
- Write unit tests for new features
|
|
79
|
+
- Ensure all tests pass
|
|
80
|
+
- Aim for >80% coverage
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
npm test
|
|
84
|
+
npm run test:coverage
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
## ๐ ๏ธ Creating Skills
|
|
88
|
+
|
|
89
|
+
### Skill Structure
|
|
90
|
+
|
|
91
|
+
```
|
|
92
|
+
skills/
|
|
93
|
+
โโโ your-skill/
|
|
94
|
+
โโโ SKILL.md # Skill definition
|
|
95
|
+
โโโ index.js # Implementation
|
|
96
|
+
โโโ tests/ # Tests
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
### Skill Definition (SKILL.md)
|
|
100
|
+
|
|
101
|
+
```markdown
|
|
102
|
+
---
|
|
103
|
+
name: your-skill
|
|
104
|
+
description: What this skill does
|
|
105
|
+
metadata:
|
|
106
|
+
version: "1.0.0"
|
|
107
|
+
author: your-name
|
|
108
|
+
category: your-category
|
|
109
|
+
---
|
|
110
|
+
|
|
111
|
+
# Your Skill
|
|
112
|
+
|
|
113
|
+
## Trigger Conditions
|
|
114
|
+
When should this skill activate?
|
|
115
|
+
|
|
116
|
+
## Features
|
|
117
|
+
What does this skill do?
|
|
118
|
+
|
|
119
|
+
## Examples
|
|
120
|
+
How to use this skill?
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
### Skill Implementation (index.js)
|
|
124
|
+
|
|
125
|
+
```javascript
|
|
126
|
+
module.exports = {
|
|
127
|
+
name: 'your-skill',
|
|
128
|
+
version: '1.0.0',
|
|
129
|
+
|
|
130
|
+
canHandle(input, context) {
|
|
131
|
+
// Return true if this skill should handle the input
|
|
132
|
+
return input.includes('your-trigger');
|
|
133
|
+
},
|
|
134
|
+
|
|
135
|
+
async execute(input, context) {
|
|
136
|
+
// Implement skill logic
|
|
137
|
+
return {
|
|
138
|
+
success: true,
|
|
139
|
+
data: { /* results */ }
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
};
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
## ๐ Documentation
|
|
146
|
+
|
|
147
|
+
### Writing Guidelines
|
|
148
|
+
|
|
149
|
+
- Use clear, concise language
|
|
150
|
+
- Include code examples
|
|
151
|
+
- Add diagrams where helpful
|
|
152
|
+
- Keep documentation up-to-date
|
|
153
|
+
|
|
154
|
+
### Documentation Structure
|
|
155
|
+
|
|
156
|
+
```
|
|
157
|
+
docs/
|
|
158
|
+
โโโ getting-started.md
|
|
159
|
+
โโโ configuration.md
|
|
160
|
+
โโโ skills.md
|
|
161
|
+
โโโ learning.md
|
|
162
|
+
โโโ architecture.md
|
|
163
|
+
โโโ api-reference.md
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
## ๐งช Testing Guidelines
|
|
167
|
+
|
|
168
|
+
### Unit Tests
|
|
169
|
+
|
|
170
|
+
```javascript
|
|
171
|
+
describe('YourFeature', () => {
|
|
172
|
+
it('should do something', async () => {
|
|
173
|
+
const input = {};
|
|
174
|
+
const result = await yourFunction(input);
|
|
175
|
+
expect(result).toBeDefined();
|
|
176
|
+
});
|
|
177
|
+
});
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
### Integration Tests
|
|
181
|
+
|
|
182
|
+
```javascript
|
|
183
|
+
describe('Skill Integration', () => {
|
|
184
|
+
it('should work with learning system', async () => {
|
|
185
|
+
// Test skill + learning integration
|
|
186
|
+
});
|
|
187
|
+
});
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
## ๐ Release Process
|
|
191
|
+
|
|
192
|
+
1. Update version in package.json
|
|
193
|
+
2. Update CHANGELOG.md
|
|
194
|
+
3. Create release branch
|
|
195
|
+
4. Run full test suite
|
|
196
|
+
5. Create GitHub release
|
|
197
|
+
6. Publish to npm
|
|
198
|
+
|
|
199
|
+
## ๐ PR Checklist
|
|
200
|
+
|
|
201
|
+
Before submitting:
|
|
202
|
+
|
|
203
|
+
- [ ] Code follows style guidelines
|
|
204
|
+
- [ ] Tests are written and passing
|
|
205
|
+
- [ ] Documentation is updated
|
|
206
|
+
- [ ] Commit messages are clear
|
|
207
|
+
- [ ] No breaking changes (or documented)
|
|
208
|
+
|
|
209
|
+
## ๐ท๏ธ Issue Labels
|
|
210
|
+
|
|
211
|
+
- `bug`: Something isn't working
|
|
212
|
+
- `enhancement`: New feature or request
|
|
213
|
+
- `documentation`: Documentation improvements
|
|
214
|
+
- `good first issue`: Good for newcomers
|
|
215
|
+
- `help wanted`: Extra attention needed
|
|
216
|
+
|
|
217
|
+
## ๐ Getting Help
|
|
218
|
+
|
|
219
|
+
- **GitHub Discussions**: Questions and discussions
|
|
220
|
+
- **GitHub Issues**: Bug reports and features
|
|
221
|
+
- **Discord**: Community chat
|
|
222
|
+
|
|
223
|
+
## ๐ Recognition
|
|
224
|
+
|
|
225
|
+
Contributors will be:
|
|
226
|
+
- Listed in CONTRIBUTORS.md
|
|
227
|
+
- Mentioned in release notes
|
|
228
|
+
- Invited to maintainer team (significant contributions)
|
|
229
|
+
|
|
230
|
+
## ๐ License
|
|
231
|
+
|
|
232
|
+
By contributing, you agree your contributions will be licensed under MIT License.
|
|
233
|
+
|
|
234
|
+
---
|
|
235
|
+
|
|
236
|
+
Thank you for contributing to FlowMind! ๐
|