@opennous/cli 0.10.0 → 0.10.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/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @opennous/cli changelog
2
2
 
3
+ ## 0.10.1
4
+
5
+ ### Changed — new default vault folder structure
6
+
7
+ `nous link` now scaffolds the vault with **inbox · projects · decisions · accounts ·
8
+ people · resources · archive**. `accounts/` and `people/` are where Nous files the raw
9
+ of each touch (email, meeting) by resolved account/person. Backward-compatible: the
10
+ legacy folders (thoughts/briefs/content/company) are still walked, watched, and searched,
11
+ so any files already in them keep syncing — only the folders created on a fresh link
12
+ changed.
13
+
3
14
  ## 0.10.0
4
15
 
5
16
  ### Added — `nous vault`: on-device retrieval over your linked local vault
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opennous/cli",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "Nous CLI — set up Nous, connect it to your coding agent, and read the Context API from your terminal",
5
5
  "type": "module",
6
6
  "bin": {
package/src/index.js CHANGED
@@ -1123,7 +1123,10 @@ program
1123
1123
  // run it once and leave it watching, or pass --once for a single reconcile.
1124
1124
  // ---------------------------------------------------------------------------
1125
1125
 
1126
- const VAULT_FOLDERS = ["inbox", "thoughts", "decisions", "projects", "briefs", "content", "company"];
1126
+ // Default vault structure (2026-08-21). New folders scaffold with these 7. The legacy
1127
+ // folders are still walked/watched/searched so existing files keep syncing.
1128
+ const DEFAULT_FOLDERS = ["inbox", "projects", "decisions", "accounts", "people", "resources", "archive"];
1129
+ const VAULT_FOLDERS = [...DEFAULT_FOLDERS, "thoughts", "briefs", "content", "company"];
1127
1130
 
1128
1131
  // A resilient API caller for the daemon — unlike apiClient(), a failed poll or push
1129
1132
  // must NOT exit the process; the loop should keep running and retry on the next tick.
@@ -1200,7 +1203,7 @@ program
1200
1203
  const root = resolve(dir);
1201
1204
  // Scaffold the folder so the desk has the same shape as the vault.
1202
1205
  if (!existsSync(root)) mkdirSync(root, { recursive: true });
1203
- for (const f of VAULT_FOLDERS) { const d = join(root, f); if (!existsSync(d)) mkdirSync(d, { recursive: true }); }
1206
+ for (const f of DEFAULT_FOLDERS) { const d = join(root, f); if (!existsSync(d)) mkdirSync(d, { recursive: true }); }
1204
1207
 
1205
1208
  const label = hostname() || "my machine";
1206
1209
  const linked = await call("POST", "/v2/personal/local/link", { body: { label } });