chore: Release 1.0.0-rc.2 - The 9 Unified Methods 🎯

Enhanced for sustainability and user engagement:
- Added prominent sponsorship section to README
- Enhanced Brain Cloud promotion with FREE trial messaging
- Improved cloud setup flow in CLI with email capture
- Clear pricing: /individual, 9/team after free 100GB
- Added sponsor badges in README header

The 9 Unified Methods are complete and production-ready:
1. add() 2. search() 3. import() 4. addNoun() 5. addVerb()
6. update() 7. delete() 8. augment() 9. export()

Ready for wider testing and feedback from the community!
This commit is contained in:
David Snelling 2025-08-14 12:34:25 -07:00
parent 98bf98a228
commit 4a4b127ec9
3 changed files with 79 additions and 12 deletions

View file

@ -20,6 +20,22 @@
---
## 💖 **Support Brainy's Development**
<div align="center">
**Brainy is 100% open source and free forever!** Help us keep it that way:
[![Sponsor](https://img.shields.io/badge/💖_Sponsor_Brainy-Support_Development-ff69b4?style=for-the-badge)](https://github.com/sponsors/soulcraftlabs)
[![Brain Cloud](https://img.shields.io/badge/☁_Try_Brain_Cloud-Free_Trial-4A90E2?style=for-the-badge)](https://app.soulcraft.com)
[![Star](https://img.shields.io/badge/⭐_Star_on_GitHub-Show_Support-FFC107?style=for-the-badge)](https://github.com/soulcraftlabs/brainy)
**Every sponsorship helps us:** Build more features • Fix bugs faster • Keep Brainy free
</div>
---
## 🎉 **NEW: Brainy 1.0 - The Unified API**
**The Great Cleanup is complete!** Brainy 1.0 introduces the **unified API** - ONE way to do everything with just **9 core methods**:
@ -35,15 +51,15 @@ import { BrainyData, NounType, VerbType } from '@soulcraft/brainy'
const brain = new BrainyData()
await brain.init()
// 🎯 THE 9 UNIFIED METHODS:
await brain.add("Smart data addition") // 1. Smart addition
await brain.search("smart data", 10) // 2. Vector search
// 🎯 THE 9 UNIFIED METHODS - One way to do everything!
await brain.add("Smart data") // 1. Smart addition
await brain.search("query", 10) // 2. Unified search
await brain.import(["data1", "data2"]) // 3. Bulk import
await brain.addNoun("John Doe", NounType.Person) // 4. Typed entities
await brain.addVerb(id1, id2, VerbType.CreatedBy) // 5. Relationships
await brain.update(id1, "Updated data") // 6. Smart updates
await brain.addNoun("John", NounType.Person) // 4. Typed entities
await brain.addVerb(id1, id2, VerbType.Knows) // 5. Relationships
await brain.update(id, "new data") // 6. Smart updates
await brain.delete(id) // 7. Soft delete
brain.augment(myAugmentation) // 8. Add capabilities
brain.augment(myAugmentation) // 8. Extend capabilities
await brain.export({ format: 'json' }) // 9. Export data
```
@ -382,8 +398,24 @@ await neural.neuralImport('data.csv') // Automatically extracts entities & rela
**Be the First!** Create an augmentation and we'll feature it here.
[See how to build augmentations →](UNIFIED-API.md#creating-your-own-augmentation)
### ☁️ **Brain Cloud** (Optional Add-On)
🌟 **Brainy works perfectly without this!** Brain Cloud adds team features:
### ☁️ **Brain Cloud** - Power Up Your Brain! 🚀
**Try it FREE:** Get persistent memory, team sync, and enterprise connectors!
```bash
# Quick setup - 30 seconds to superpowers!
npx brainy cloud setup
# Or visit: app.soulcraft.com/signup
```
**Why Brain Cloud?**
- 🧠 **AI Memory That Never Forgets** - Conversations persist across sessions
- 🤝 **Multi-Agent Coordination** - AI agents work together seamlessly
- 💾 **Automatic Backups** - Never lose your brain's knowledge
- 🔄 **Team Sync** - Share knowledge across your organization
- 🔌 **Premium Connectors** - Notion, Slack, Salesforce, and more!
**Special Offer:** First 100GB FREE, then just $9/month for individuals, $49/team
```javascript
// Brain Cloud features are in the main package

View file

@ -1069,12 +1069,47 @@ program
// Command 8: CLOUD - Premium features connection
program
.command('cloud <action>')
.description('Connect to Brain Cloud premium features')
.description('☁️ Brain Cloud - AI Memory, Team Sync, Enterprise Connectors (FREE TRIAL!)')
.option('-i, --instance <id>', 'Brain Cloud instance ID')
.option('-e, --email <email>', 'Your email for signup')
.action(wrapAction(async (action, options) => {
console.log(colors.primary('☁️ Brain Cloud Premium Features'))
console.log(boxen(
colors.brain('☁️ BRAIN CLOUD - SUPERCHARGE YOUR BRAIN! 🚀\n\n') +
colors.success('✨ FREE TRIAL: First 100GB FREE!\n') +
colors.info('💰 Then just $9/month (individuals) or $49/month (teams)\n\n') +
colors.primary('Features:\n') +
colors.dim(' • AI Memory that persists across sessions\n') +
colors.dim(' • Multi-agent coordination\n') +
colors.dim(' • Automatic backups & sync\n') +
colors.dim(' • Premium connectors (Notion, Slack, etc.)'),
{ padding: 1, borderStyle: 'round', borderColor: 'cyan' }
))
const cloudActions = {
setup: async () => {
console.log(colors.brain('\n🚀 Quick Setup - 30 seconds to superpowers!\n'))
if (!options.email) {
const { email } = await prompts({
type: 'text',
name: 'email',
message: 'Enter your email for FREE trial:',
validate: (value) => value.includes('@') || 'Please enter a valid email'
})
options.email = email
}
console.log(colors.success(`\n✅ Setting up Brain Cloud for: ${options.email}`))
console.log(colors.info('\n📧 Check your email for activation link!'))
console.log(colors.dim('\nOr visit: https://app.soulcraft.com/activate\n'))
// TODO: Actually call Brain Cloud API when ready
console.log(colors.brain('🎉 Your Brain Cloud trial is ready!'))
console.log(colors.success('\nNext steps:'))
console.log(colors.dim(' 1. Check your email for API key'))
console.log(colors.dim(' 2. Run: brainy cloud connect --key YOUR_KEY'))
console.log(colors.dim(' 3. Start using persistent AI memory!'))
},
connect: async () => {
console.log(colors.info('🔗 Connecting to Brain Cloud...'))
// Dynamic import to avoid loading premium code unnecessarily

View file

@ -1,6 +1,6 @@
{
"name": "@soulcraft/brainy",
"version": "1.0.0-rc.1",
"version": "1.0.0-rc.2",
"description": "Multi-Dimensional AI Database - Vector similarity, graph relationships, metadata facets with HNSW indexing and OPFS storage",
"main": "dist/index.js",
"module": "dist/index.js",