@soulcraft/brainy 3.19.0 → 3.20.0
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 +2 -0
- package/bin/brainy-minimal.js +82 -0
- package/bin/brainy.js +9 -2335
- package/dist/api/DataAPI.d.ts +1 -1
- package/dist/augmentations/cacheAugmentation.d.ts +1 -1
- package/dist/augmentations/metricsAugmentation.d.ts +20 -20
- package/dist/brainy.d.ts +1 -1
- package/dist/brainyData.js +1 -2
- package/dist/cli/catalog.js +8 -12
- package/dist/cli/commands/conversation.d.ts +22 -0
- package/dist/cli/commands/conversation.js +528 -0
- package/dist/cli/commands/core.d.ts +14 -2
- package/dist/cli/commands/core.js +195 -35
- package/dist/cli/commands/data.d.ts +29 -0
- package/dist/cli/commands/data.js +139 -0
- package/dist/cli/commands/neural.d.ts +14 -0
- package/dist/cli/commands/neural.js +18 -8
- package/dist/cli/commands/types.d.ts +30 -0
- package/dist/cli/commands/types.js +194 -0
- package/dist/cli/commands/utility.js +39 -98
- package/dist/cli/commands/vfs.d.ts +73 -0
- package/dist/cli/commands/vfs.js +372 -0
- package/dist/cli/index.js +244 -7
- package/dist/cli/interactive.d.ts +8 -3
- package/dist/cli/interactive.js +35 -11
- package/dist/hnsw/hnswIndexOptimized.d.ts +1 -1
- package/dist/mcp/brainyMCPBroadcast.d.ts +2 -2
- package/dist/mcp/brainyMCPBroadcast.js +1 -1
- package/dist/mcp/brainyMCPClient.js +8 -4
- package/dist/neural/types.d.ts +2 -2
- package/dist/streaming/pipeline.d.ts +1 -1
- package/dist/universal/fs.d.ts +24 -66
- package/package.json +5 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [3.19.1](https://github.com/soulcraftlabs/brainy/compare/v3.19.0...v3.19.1) (2025-09-29)
|
|
6
|
+
|
|
5
7
|
## [3.19.0](https://github.com/soulcraftlabs/brainy/compare/v3.18.0...v3.19.0) (2025-09-29)
|
|
6
8
|
|
|
7
9
|
## [3.17.0](https://github.com/soulcraftlabs/brainy/compare/v3.16.0...v3.17.0) (2025-09-27)
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Brainy CLI - Minimal Version (Conversation Commands Only)
|
|
5
|
+
*
|
|
6
|
+
* This is a temporary minimal CLI that only includes working conversation commands
|
|
7
|
+
* Full CLI will be restored in version 3.20.0
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
import { Command } from 'commander'
|
|
11
|
+
import { readFileSync } from 'fs'
|
|
12
|
+
import { dirname, join } from 'path'
|
|
13
|
+
import { fileURLToPath } from 'url'
|
|
14
|
+
|
|
15
|
+
const __dirname = dirname(fileURLToPath(import.meta.url))
|
|
16
|
+
const packageJson = JSON.parse(readFileSync(join(__dirname, '..', 'package.json'), 'utf8'))
|
|
17
|
+
|
|
18
|
+
const program = new Command()
|
|
19
|
+
|
|
20
|
+
program
|
|
21
|
+
.name('brainy')
|
|
22
|
+
.description('🧠 Brainy - Infinite Agent Memory')
|
|
23
|
+
.version(packageJson.version)
|
|
24
|
+
|
|
25
|
+
// Dynamically load conversation command
|
|
26
|
+
const conversationCommand = await import('../dist/cli/commands/conversation.js').then(m => m.default)
|
|
27
|
+
|
|
28
|
+
program
|
|
29
|
+
.command('conversation')
|
|
30
|
+
.alias('conv')
|
|
31
|
+
.description('💬 Infinite agent memory and context management')
|
|
32
|
+
.addCommand(
|
|
33
|
+
new Command('setup')
|
|
34
|
+
.description('Set up MCP server for Claude Code integration')
|
|
35
|
+
.action(async () => {
|
|
36
|
+
await conversationCommand.handler({ action: 'setup', _: [] })
|
|
37
|
+
})
|
|
38
|
+
)
|
|
39
|
+
.addCommand(
|
|
40
|
+
new Command('remove')
|
|
41
|
+
.description('Remove MCP server and clean up')
|
|
42
|
+
.action(async () => {
|
|
43
|
+
await conversationCommand.handler({ action: 'remove', _: [] })
|
|
44
|
+
})
|
|
45
|
+
)
|
|
46
|
+
.addCommand(
|
|
47
|
+
new Command('search')
|
|
48
|
+
.description('Search messages across conversations')
|
|
49
|
+
.requiredOption('-q, --query <query>', 'Search query')
|
|
50
|
+
.option('-c, --conversation-id <id>', 'Filter by conversation')
|
|
51
|
+
.option('-r, --role <role>', 'Filter by role')
|
|
52
|
+
.option('-l, --limit <number>', 'Maximum results', '10')
|
|
53
|
+
.action(async (options) => {
|
|
54
|
+
await conversationCommand.handler({ action: 'search', ...options, _: [] })
|
|
55
|
+
})
|
|
56
|
+
)
|
|
57
|
+
.addCommand(
|
|
58
|
+
new Command('context')
|
|
59
|
+
.description('Get relevant context for a query')
|
|
60
|
+
.requiredOption('-q, --query <query>', 'Context query')
|
|
61
|
+
.option('-l, --limit <number>', 'Maximum messages', '10')
|
|
62
|
+
.action(async (options) => {
|
|
63
|
+
await conversationCommand.handler({ action: 'context', ...options, _: [] })
|
|
64
|
+
})
|
|
65
|
+
)
|
|
66
|
+
.addCommand(
|
|
67
|
+
new Command('thread')
|
|
68
|
+
.description('Get full conversation thread')
|
|
69
|
+
.requiredOption('-c, --conversation-id <id>', 'Conversation ID')
|
|
70
|
+
.action(async (options) => {
|
|
71
|
+
await conversationCommand.handler({ action: 'thread', ...options, _: [] })
|
|
72
|
+
})
|
|
73
|
+
)
|
|
74
|
+
.addCommand(
|
|
75
|
+
new Command('stats')
|
|
76
|
+
.description('Show conversation statistics')
|
|
77
|
+
.action(async () => {
|
|
78
|
+
await conversationCommand.handler({ action: 'stats', _: [] })
|
|
79
|
+
})
|
|
80
|
+
)
|
|
81
|
+
|
|
82
|
+
program.parse(process.argv)
|