wicked-brain 0.4.10 → 0.4.11

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.4.10",
3
+ "version": "0.4.11",
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.4.10",
3
+ "version": "0.4.11",
4
4
  "type": "module",
5
5
  "description": "SQLite FTS5 search server for wicked-brain digital knowledge bases",
6
6
  "keywords": [
@@ -80,13 +80,23 @@ this resolution. Never compute `_meta/config.json` against the project's `cwd`.
80
80
 
81
81
  ### Step 1: Ask the user
82
82
 
83
- Compute the default project name from the current working directory basename
84
- (lowercase, replace non-alphanumerics with hyphens). Then ask:
83
+ **Ask in this exact order do not reverse the questions:**
85
84
 
86
- 1. "What should this project's brain be called?" Default: `{cwd_basename}`
87
- 2. "Where should it live?" Default:
88
- - macOS/Linux: `~/.wicked-brain/projects/{project_name}`
89
- - Windows: `%USERPROFILE%\.wicked-brain\projects\{project_name}`
85
+ First, compute `{cwd_basename}`: take the basename of the current working directory,
86
+ lowercase it, and replace any non-alphanumeric characters with hyphens.
87
+
88
+ Then ask **two questions, in order**:
89
+
90
+ 1. **"What should this project's brain be called?"**
91
+ - Default: `{cwd_basename}` (the current directory name, not the string "wicked-brain")
92
+ - Wait for the user's answer (or acceptance of default) before asking question 2.
93
+
94
+ 2. **"Where should it live?"**
95
+ - Default:
96
+ - macOS/Linux: `~/.wicked-brain/projects/{project_name}` (where `{project_name}` is the name from question 1)
97
+ - Windows: `%USERPROFILE%\.wicked-brain\projects\{project_name}`
98
+ - The default path MUST include the `projects/` subdirectory and the project name.
99
+ **Never default to just `~/.wicked-brain/`** — that is the parent container, not a brain.
90
100
 
91
101
  If the user supplies a path that is exactly `~/.wicked-brain` (the parent
92
102
  directory, not a project subdirectory), push back: explain the per-project