@titan-design/brain 0.4.0 → 0.6.1

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
@@ -54,6 +54,7 @@ See [PM Quick Start](docs/pm-module/quickstart.md) for the full 5-minute guide.
54
54
  | `brain add <file>` | Add a note from file or stdin |
55
55
  | `brain quick "text"` | Zero-friction capture to inbox |
56
56
  | `brain inbox` | View/manage inbox items |
57
+ | `brain import <paths>` | Smart import with three-tier extraction (`--dry-run`, `--tier`) |
57
58
  | `brain ingest` | Bulk-import files to inbox |
58
59
  | `brain feed` | Manage RSS feed subscriptions |
59
60
  | `brain extract` | Extract memories from notes (Ollama) |
@@ -107,6 +108,7 @@ src/
107
108
  context.ts — Module context factory
108
109
  loader.ts — Module discovery and loading
109
110
  validation.ts — Frontmatter schema validation
111
+ knowledge/ — Knowledge module (core note types)
110
112
  pm/ — Project management module
111
113
  commands/ — 15 command groups (incl. check)
112
114
  data/ — CRUD operations and queries
@@ -149,7 +151,7 @@ Brain indexes markdown files with YAML frontmatter into a SQLite database. It co
149
151
  ## Testing
150
152
 
151
153
  ```bash
152
- npm test # 1,095 tests (Vitest)
154
+ npm test # ~2,350 tests (Vitest)
153
155
  npm run typecheck # TypeScript checking
154
156
  npm run lint # ESLint
155
157
  npm run build # Production build (tsup)
@@ -0,0 +1,14 @@
1
+ import {
2
+ LocalEmbedder,
3
+ OllamaEmbedder,
4
+ RemoteEmbedder,
5
+ createEmbedder,
6
+ getEmbedderInfo
7
+ } from "./chunk-BDNH2E2O.js";
8
+ export {
9
+ LocalEmbedder,
10
+ OllamaEmbedder,
11
+ RemoteEmbedder,
12
+ createEmbedder,
13
+ getEmbedderInfo
14
+ };
@@ -0,0 +1,11 @@
1
+ import {
2
+ withBrain,
3
+ withDb
4
+ } from "./chunk-HNC656YT.js";
5
+ import "./chunk-BDNH2E2O.js";
6
+ import "./chunk-AJKFX2TM.js";
7
+ import "./chunk-PO3GJPIC.js";
8
+ export {
9
+ withBrain,
10
+ withDb
11
+ };