wicked-brain 0.9.0 → 0.9.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wicked-brain",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "type": "module",
5
5
  "description": "Digital brain as skills for AI coding CLIs — no vector DB, no embeddings, no infrastructure",
6
6
  "keywords": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wicked-brain-server",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "type": "module",
5
5
  "description": "SQLite FTS5 search server for wicked-brain digital knowledge bases",
6
6
  "keywords": [
@@ -88,11 +88,20 @@ Digital brain: {brain_id} | {total} indexed items | {chunks} chunks, {wiki} wiki
88
88
 
89
89
  - **Search/explore**: use `wicked-brain:search` — replaces Grep, Glob, and Agent(Explore) for any open-ended search
90
90
  - **Answer questions**: use `wicked-brain:query` — replaces Agent(Explore) for conceptual questions
91
+ - **Wiki catalog**: use `wicked-brain:read` at depth 0/1 to browse wiki articles progressively
91
92
  - **Surface context**: call `wicked-brain:agent` (context) at the start of any new topic
92
93
  - **Capture learnings**: call `wicked-brain:agent` (session-teardown) at session end
93
94
  - **Store a decision/pattern/gotcha**: call `wicked-brain:memory` (store mode)
94
95
  - **Available agents**: consolidate, context, session-teardown, onboard (via `wicked-brain:agent`)
95
96
 
97
+ ### Search result source types
98
+
99
+ Brain search/query results include `source_type` and `path` fields:
100
+
101
+ - **`wiki`** — Synthesized knowledge. Read deeper with `wicked-brain:read {path} depth=2`.
102
+ - **`chunk`** — Raw indexed content. The search excerpt is usually sufficient.
103
+ - **`memory`** — Experiential learnings. Compact; excerpt is usually enough.
104
+
96
105
  ### Rules (follow strictly)
97
106
 
98
107
  - **ALWAYS check the brain BEFORE using Grep, Glob, Read, or Agent(Explore)** — for any find, search, explore, explain, or "what is/how does" request
@@ -103,6 +112,7 @@ Digital brain: {brain_id} | {total} indexed items | {chunks} chunks, {wiki} wiki
103
112
  - Do NOT read brain files directly — always go through skills and agents
104
113
  - Always pass `session_id` with search/query calls for access tracking
105
114
  - Capture non-obvious decisions, patterns, and gotchas with `wicked-brain:memory`
115
+ - When search results include `source_type: wiki`, follow up with `wicked-brain:read` at depth 1-2
106
116
  ```
107
117
 
108
118
  ### Step 4: Emit bus event