thinkbank 0.1.0a1__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.
- thinkbank-0.1.0a1/CHANGELOG.md +245 -0
- thinkbank-0.1.0a1/CONTRIBUTING.md +525 -0
- thinkbank-0.1.0a1/MANIFEST.in +24 -0
- thinkbank-0.1.0a1/PKG-INFO +565 -0
- thinkbank-0.1.0a1/README.md +524 -0
- thinkbank-0.1.0a1/pyproject.toml +124 -0
- thinkbank-0.1.0a1/requirements-dev.txt +34 -0
- thinkbank-0.1.0a1/requirements.txt +16 -0
- thinkbank-0.1.0a1/setup.cfg +4 -0
- thinkbank-0.1.0a1/thinkbank/__init__.py +26 -0
- thinkbank-0.1.0a1/thinkbank/cli/__init__.py +8 -0
- thinkbank-0.1.0a1/thinkbank/cli/__main__.py +7 -0
- thinkbank-0.1.0a1/thinkbank/cli/commands.py +325 -0
- thinkbank-0.1.0a1/thinkbank/cli/server_manager.py +363 -0
- thinkbank-0.1.0a1/thinkbank/core/__init__.py +144 -0
- thinkbank-0.1.0a1/thinkbank/core/ai_knowledge_taxonomy.py +809 -0
- thinkbank-0.1.0a1/thinkbank/core/exporter.py +265 -0
- thinkbank-0.1.0a1/thinkbank/core/file_utils.py +252 -0
- thinkbank-0.1.0a1/thinkbank/core/importer.py +364 -0
- thinkbank-0.1.0a1/thinkbank/core/knowledge_manager.py +403 -0
- thinkbank-0.1.0a1/thinkbank/core/templates.py +265 -0
- thinkbank-0.1.0a1/thinkbank/core/value_assessor.py +409 -0
- thinkbank-0.1.0a1/thinkbank/core/worthiness_filter.py +575 -0
- thinkbank-0.1.0a1/thinkbank/server/__init__.py +7 -0
- thinkbank-0.1.0a1/thinkbank/server/app.py +422 -0
- thinkbank-0.1.0a1/thinkbank.egg-info/PKG-INFO +565 -0
- thinkbank-0.1.0a1/thinkbank.egg-info/SOURCES.txt +29 -0
- thinkbank-0.1.0a1/thinkbank.egg-info/dependency_links.txt +1 -0
- thinkbank-0.1.0a1/thinkbank.egg-info/entry_points.txt +2 -0
- thinkbank-0.1.0a1/thinkbank.egg-info/requires.txt +18 -0
- thinkbank-0.1.0a1/thinkbank.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to ThinkBank 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
|
+
---
|
|
9
|
+
|
|
10
|
+
## [1.0.0] - 2026-02-05
|
|
11
|
+
|
|
12
|
+
### Changed - Rebrand
|
|
13
|
+
|
|
14
|
+
**π¦ ThinkBank - Major Rebrand from Evergrow**
|
|
15
|
+
|
|
16
|
+
- **New Name:** Evergrow β ThinkBank
|
|
17
|
+
- **New Icon:** π± (seedling) β π¦ (bank)
|
|
18
|
+
- **New Tagline:** "Bank your thoughts, compound your intelligence"
|
|
19
|
+
- **New Chinese Name:** ζζ³ιΆθ‘ - η₯θ―ε¨ζ€ε€ε©ε’ιΏ
|
|
20
|
+
- **Package Rename:** `evergrow` β `thinkbank`
|
|
21
|
+
- **All imports updated:** `from evergrow.core` β `from thinkbank.core`
|
|
22
|
+
- **CLI command:** `evergrow` β `thinkbank`
|
|
23
|
+
|
|
24
|
+
**Rationale:**
|
|
25
|
+
- Directly conveys compound interest concept (knowledge bank)
|
|
26
|
+
- Clear product positioning and stronger brand identity
|
|
27
|
+
- Better uniqueness in the market
|
|
28
|
+
- More intuitive metaphor (deposit knowledge, earn compound returns)
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## [1.0.0] - 2026-02-05 (Initial Release)
|
|
33
|
+
|
|
34
|
+
### Added - Core Features
|
|
35
|
+
|
|
36
|
+
#### Knowledge Management System
|
|
37
|
+
- **KnowledgeManager** - Complete CRUD operations for knowledge items
|
|
38
|
+
- **6 Knowledge Types** - Skills, Rules, Patterns, Domain, User, Lessons
|
|
39
|
+
- **File-based storage** - YAML frontmatter + Markdown content
|
|
40
|
+
- **Auto-generated IDs** - Timestamp-based unique identifiers
|
|
41
|
+
- **Tag system** - Flexible categorization and filtering
|
|
42
|
+
|
|
43
|
+
#### AI Self-Aware Worthiness Filtering
|
|
44
|
+
- **WorthinessFilter** - AI decides what knowledge is worth storing
|
|
45
|
+
- **3 Decision Types** - STORE, SKIP, ASK_USER
|
|
46
|
+
- **Confidence scoring** - 0.0-1.0 confidence for each decision
|
|
47
|
+
- **Detailed reasoning** - AI explains why decision was made
|
|
48
|
+
- **Conversation context support** - Considers conversation history
|
|
49
|
+
- **10 AI Blind Spot categories** - Focus on gaps in training data
|
|
50
|
+
- **10 AI Common Sense categories** - Capture domain-specific knowledge
|
|
51
|
+
|
|
52
|
+
#### Value Assessment System
|
|
53
|
+
- **ValueAssessor** - 5-factor scoring system
|
|
54
|
+
- **Reusability** - How often knowledge will be useful (0.0-1.0)
|
|
55
|
+
- **Specificity** - How concrete and actionable (0.0-1.0)
|
|
56
|
+
- **AI Blind Spot** - How much it fills a knowledge gap (0.0-1.0)
|
|
57
|
+
- **Impact** - Conversation quality improvement (0.0-1.0)
|
|
58
|
+
- **Decay** - How long knowledge stays relevant (0.0-1.0)
|
|
59
|
+
- **Weighted scoring** - Configurable factor weights
|
|
60
|
+
- **Score interpretation** - High/Medium/Low value classification
|
|
61
|
+
|
|
62
|
+
#### Import/Export System
|
|
63
|
+
- **Knowledge Pack format (.khb)** - Compressed JSON/YAML bundles
|
|
64
|
+
- **Export filtering** - By type, score, tags, date range
|
|
65
|
+
- **Export preview** - See what will be exported before exporting
|
|
66
|
+
- **Import with conflict resolution** - Skip, overwrite, merge, rename, ask
|
|
67
|
+
- **Dry-run mode** - Preview imports without applying
|
|
68
|
+
- **Metadata tracking** - Author, version, creation date
|
|
69
|
+
- **Batch operations** - Import/export multiple items efficiently
|
|
70
|
+
|
|
71
|
+
#### AI Knowledge Taxonomy
|
|
72
|
+
- **AIBlindSpotsTaxonomy** - 10 categories of AI knowledge gaps
|
|
73
|
+
- User preferences
|
|
74
|
+
- Project context
|
|
75
|
+
- Codebase specifics
|
|
76
|
+
- Error patterns
|
|
77
|
+
- Workflow optimization
|
|
78
|
+
- Domain terminology
|
|
79
|
+
- Organizational policies
|
|
80
|
+
- Integration details
|
|
81
|
+
- Performance tuning
|
|
82
|
+
- Security practices
|
|
83
|
+
- **AICommonSenseTaxonomy** - 10 categories of domain knowledge
|
|
84
|
+
- Technical concepts
|
|
85
|
+
- Business logic
|
|
86
|
+
- Best practices
|
|
87
|
+
- Anti-patterns
|
|
88
|
+
- Tools & utilities
|
|
89
|
+
- Debugging techniques
|
|
90
|
+
- Architecture patterns
|
|
91
|
+
- Data structures
|
|
92
|
+
- Algorithms
|
|
93
|
+
- Communication patterns
|
|
94
|
+
|
|
95
|
+
#### CLI Interface
|
|
96
|
+
- **thinkbank hub** - Start on-demand web UI
|
|
97
|
+
- **thinkbank stop** - Stop web UI
|
|
98
|
+
- **thinkbank status** - Check server status
|
|
99
|
+
- **thinkbank export** - Export knowledge packs
|
|
100
|
+
- **thinkbank import** - Import knowledge packs
|
|
101
|
+
- **thinkbank list** - List knowledge items with filtering
|
|
102
|
+
- **thinkbank search** - Full-text search across knowledge base
|
|
103
|
+
- **Rich output** - Beautiful CLI formatting with emojis
|
|
104
|
+
|
|
105
|
+
#### Web UI (On-Demand)
|
|
106
|
+
- **FastAPI backend** - High-performance REST API
|
|
107
|
+
- **Auto-timeout** - Stops after 30 minutes idle
|
|
108
|
+
- **Health monitoring** - /health endpoint with uptime tracking
|
|
109
|
+
- **Browser auto-open** - Convenience feature for quick access
|
|
110
|
+
- **Process management** - PID tracking, graceful shutdown
|
|
111
|
+
- **Resource efficient** - Only runs when needed
|
|
112
|
+
|
|
113
|
+
#### Python API
|
|
114
|
+
- **Simple imports** - `from thinkbank.core import KnowledgeManager`
|
|
115
|
+
- **Type hints** - Full typing support for IDE autocomplete
|
|
116
|
+
- **Comprehensive docstrings** - Clear documentation for all functions
|
|
117
|
+
- **Error handling** - Proper exceptions and error messages
|
|
118
|
+
- **Flexible configuration** - Support for custom paths and settings
|
|
119
|
+
|
|
120
|
+
### Features
|
|
121
|
+
|
|
122
|
+
#### Token Efficiency
|
|
123
|
+
- **Minimal overhead** - <500 tokens per operation
|
|
124
|
+
- **Structured storage** - YAML frontmatter for efficient parsing
|
|
125
|
+
- **Selective loading** - Load only what's needed
|
|
126
|
+
- **Caching support** - Ready for future caching layer
|
|
127
|
+
|
|
128
|
+
#### Conversation Quality Improvement (CQI)
|
|
129
|
+
- **Impact scoring** - Measure how knowledge improves conversations
|
|
130
|
+
- **Before/after metrics** - Track conversation quality over time
|
|
131
|
+
- **Worthiness correlation** - High-worth knowledge = high CQI impact
|
|
132
|
+
|
|
133
|
+
#### Extensibility
|
|
134
|
+
- **Plugin architecture** - Ready for extensions
|
|
135
|
+
- **Custom templates** - Add new knowledge types
|
|
136
|
+
- **Configurable weights** - Adjust scoring to your needs
|
|
137
|
+
- **Taxonomy expansion** - Add new categories as needed
|
|
138
|
+
|
|
139
|
+
### Documentation
|
|
140
|
+
- **README.md** - Comprehensive introduction with examples
|
|
141
|
+
- **QUICKSTART.md** - Get started in 5 minutes (in docs/)
|
|
142
|
+
- **API.md** - Complete API reference (in docs/)
|
|
143
|
+
- **PHILOSOPHY.md** - Design rationale and principles (in docs/)
|
|
144
|
+
- **INTEGRATION.md** - Squad integration guide (in docs/)
|
|
145
|
+
- **CONTRIBUTING.md** - Contribution guidelines
|
|
146
|
+
- **CHANGELOG.md** - This file
|
|
147
|
+
|
|
148
|
+
### Developer Experience
|
|
149
|
+
- **Black formatting** - Consistent code style
|
|
150
|
+
- **Pytest suite** - Comprehensive test coverage
|
|
151
|
+
- **Type checking** - MyPy support
|
|
152
|
+
- **Import sorting** - isort configuration
|
|
153
|
+
- **Git-friendly** - .gitignore with sensible defaults
|
|
154
|
+
|
|
155
|
+
### Packaging
|
|
156
|
+
- **setup.py** - Traditional setuptools packaging
|
|
157
|
+
- **pyproject.toml** - Modern Python packaging
|
|
158
|
+
- **requirements.txt** - Runtime dependencies
|
|
159
|
+
- **requirements-dev.txt** - Development dependencies
|
|
160
|
+
- **MANIFEST.in** - Package manifest for non-Python files
|
|
161
|
+
- **PyPI-ready** - Can be published with `twine upload`
|
|
162
|
+
|
|
163
|
+
### License
|
|
164
|
+
- **MIT License** - Most permissive open-source license
|
|
165
|
+
- **Commercial-friendly** - Use in proprietary projects
|
|
166
|
+
- **Attribution only** - No copyleft requirements
|
|
167
|
+
|
|
168
|
+
---
|
|
169
|
+
|
|
170
|
+
## [Unreleased]
|
|
171
|
+
|
|
172
|
+
### Planned for v1.1.0
|
|
173
|
+
- Vector search for semantic similarity
|
|
174
|
+
- Knowledge evolution tracking (version history)
|
|
175
|
+
- Web UI improvements (edit, bulk operations)
|
|
176
|
+
- Performance optimizations
|
|
177
|
+
- Additional export formats (Markdown, CSV)
|
|
178
|
+
|
|
179
|
+
### Planned for v2.0.0
|
|
180
|
+
- Machine learning for worthiness prediction
|
|
181
|
+
- Automatic knowledge synthesis
|
|
182
|
+
- Proactive knowledge suggestions
|
|
183
|
+
- Multi-user collaboration features
|
|
184
|
+
- Cloud sync support
|
|
185
|
+
|
|
186
|
+
---
|
|
187
|
+
|
|
188
|
+
## Version History
|
|
189
|
+
|
|
190
|
+
- **v1.0.0** (2026-02-05) - Initial release
|
|
191
|
+
- Core features complete
|
|
192
|
+
- Production-ready
|
|
193
|
+
- MIT license
|
|
194
|
+
- Independent repository created
|
|
195
|
+
|
|
196
|
+
---
|
|
197
|
+
|
|
198
|
+
## Migration Notes
|
|
199
|
+
|
|
200
|
+
### From ai-knowledge-plugin to ThinkBank
|
|
201
|
+
|
|
202
|
+
If you're migrating from the old `ai-knowledge-plugin`:
|
|
203
|
+
|
|
204
|
+
1. Update imports:
|
|
205
|
+
```python
|
|
206
|
+
# Old:
|
|
207
|
+
from ai_knowledge_plugin.core import KnowledgeManager
|
|
208
|
+
|
|
209
|
+
# New:
|
|
210
|
+
from thinkbank.core import KnowledgeManager
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
2. Knowledge files remain compatible (no changes needed)
|
|
214
|
+
|
|
215
|
+
3. Configuration path unchanged: `~/.thinkbank/knowledge/`
|
|
216
|
+
|
|
217
|
+
4. CLI command changed:
|
|
218
|
+
```bash
|
|
219
|
+
# Old:
|
|
220
|
+
knowledge hub
|
|
221
|
+
|
|
222
|
+
# New:
|
|
223
|
+
thinkbank hub
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
---
|
|
227
|
+
|
|
228
|
+
## Contributing
|
|
229
|
+
|
|
230
|
+
See [CONTRIBUTING.md](CONTRIBUTING.md) for how to contribute to this project.
|
|
231
|
+
|
|
232
|
+
---
|
|
233
|
+
|
|
234
|
+
## Links
|
|
235
|
+
|
|
236
|
+
- **Homepage:** https://github.com/dwHou/ThinkBank
|
|
237
|
+
- **Issues:** https://github.com/dwHou/ThinkBank/issues
|
|
238
|
+
- **PyPI:** https://pypi.org/project/thinkbank/ (coming soon)
|
|
239
|
+
- **Documentation:** https://github.com/dwHou/ThinkBank/blob/main/README.md
|
|
240
|
+
|
|
241
|
+
---
|
|
242
|
+
|
|
243
|
+
<p align="center">
|
|
244
|
+
<sub>Built with β€οΈ for the AI community</sub>
|
|
245
|
+
</p>
|