@mclean-capital/neura 1.10.1 → 2.0.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.
Files changed (68) hide show
  1. package/README.md +33 -6
  2. package/core/server.bundled.mjs +71470 -0
  3. package/core/server.bundled.mjs.map +7 -0
  4. package/core/version.txt +1 -0
  5. package/dist/commands/install.d.ts +13 -1
  6. package/dist/commands/install.d.ts.map +1 -1
  7. package/dist/commands/install.js +78 -60
  8. package/dist/commands/install.js.map +1 -1
  9. package/dist/commands/update.d.ts +6 -0
  10. package/dist/commands/update.d.ts.map +1 -1
  11. package/dist/commands/update.js +125 -16
  12. package/dist/commands/update.js.map +1 -1
  13. package/dist/download.d.ts +28 -22
  14. package/dist/download.d.ts.map +1 -1
  15. package/dist/download.js +40 -113
  16. package/dist/download.js.map +1 -1
  17. package/dist/index.js +2 -1
  18. package/dist/index.js.map +1 -1
  19. package/dist/update-check.d.ts +6 -3
  20. package/dist/update-check.d.ts.map +1 -1
  21. package/dist/update-check.js +48 -16
  22. package/dist/update-check.js.map +1 -1
  23. package/package.json +6 -2
  24. package/stores/backup-queries.d.ts +8 -0
  25. package/stores/backup-queries.d.ts.map +1 -0
  26. package/stores/backup-queries.js +262 -0
  27. package/stores/backup-queries.js.map +1 -0
  28. package/stores/entity-queries.d.ts +14 -0
  29. package/stores/entity-queries.d.ts.map +1 -0
  30. package/stores/entity-queries.js +156 -0
  31. package/stores/entity-queries.js.map +1 -0
  32. package/stores/index.d.ts +2 -0
  33. package/stores/index.d.ts.map +1 -0
  34. package/stores/index.js +5901 -0
  35. package/stores/index.js.map +7 -0
  36. package/stores/mappers.d.ts +59 -0
  37. package/stores/mappers.d.ts.map +1 -0
  38. package/stores/mappers.js +70 -0
  39. package/stores/mappers.js.map +1 -0
  40. package/stores/memory-queries.d.ts +31 -0
  41. package/stores/memory-queries.d.ts.map +1 -0
  42. package/stores/memory-queries.js +275 -0
  43. package/stores/memory-queries.js.map +1 -0
  44. package/stores/migrations.d.ts +4 -0
  45. package/stores/migrations.d.ts.map +1 -0
  46. package/stores/migrations.js +231 -0
  47. package/stores/migrations.js.map +1 -0
  48. package/stores/package.json +3 -0
  49. package/stores/pglite-store.d.ts +83 -0
  50. package/stores/pglite-store.d.ts.map +1 -0
  51. package/stores/pglite-store.js +183 -0
  52. package/stores/pglite-store.js.map +1 -0
  53. package/stores/pglite-store.test.d.ts +2 -0
  54. package/stores/pglite-store.test.d.ts.map +1 -0
  55. package/stores/pglite-store.test.js +725 -0
  56. package/stores/pglite-store.test.js.map +1 -0
  57. package/stores/search-queries.d.ts +11 -0
  58. package/stores/search-queries.d.ts.map +1 -0
  59. package/stores/search-queries.js +116 -0
  60. package/stores/search-queries.js.map +1 -0
  61. package/stores/session-queries.d.ts +8 -0
  62. package/stores/session-queries.d.ts.map +1 -0
  63. package/stores/session-queries.js +48 -0
  64. package/stores/session-queries.js.map +1 -0
  65. package/stores/work-item-queries.d.ts +17 -0
  66. package/stores/work-item-queries.d.ts.map +1 -0
  67. package/stores/work-item-queries.js +85 -0
  68. package/stores/work-item-queries.js.map +1 -0
package/README.md CHANGED
@@ -1,8 +1,10 @@
1
1
  # @mclean-capital/neura
2
2
 
3
- > Neura CLI install, manage, and talk to the Neura AI assistant from your terminal.
3
+ > **A voice-first, proactive AI operating system.** Say the wake word and talk to Neura from any device no click-to-start, no tap-to-speak.
4
4
 
5
- Neura is a proactive, autonomous AI operating system. It combines real-time voice conversation, continuous visual understanding, and autonomous worker agents. This CLI installs and manages the Neura core service, and also acts as a full client via `neura chat` and `neura listen`.
5
+ Neura is a self-hosted AI assistant that runs as a persistent background service on your machine. It's always listening for the wake word via on-device ONNX inference (zero cloud cost while passive), streams voice conversations via Grok's Eve voice when active, and continuously watches your camera or screen through a Gemini Live vision watcher. It remembers what you've talked about across sessions, manages your tasks, and proactively reminds you about deadlines.
6
+
7
+ This package is the full Neura distribution: **the CLI, the core service, and all runtime dependencies** ship together as one npm install. No separate downloads, no matching platform tarballs — one command installs everything.
6
8
 
7
9
  ## Install
8
10
 
@@ -10,17 +12,42 @@ Neura is a proactive, autonomous AI operating system. It combines real-time voic
10
12
  npm install -g @mclean-capital/neura
11
13
  ```
12
14
 
13
- Requires Node.js >= 22.
15
+ This fetches the CLI **plus** the bundled core service and its native dependencies (`onnxruntime-node` for wake-word detection, `@electric-sql/pglite` for local storage). If `onnxruntime-node` fails to install, the whole install fails loudly — voice is a required feature, not an optional one.
16
+
17
+ Requires **Node.js >= 22**.
14
18
 
15
19
  ## Quick start
16
20
 
17
21
  ```bash
18
22
  neura install # interactive setup: API keys, auto-port, service registration
19
- neura start # start the core service
20
- neura chat # text chat with Neura from your terminal
21
- neura listen # voice chat (mic + speaker)
23
+ # (auto-starts the core service)
24
+ neura listen # voice chat (mic + speaker, wake-word ready)
25
+ # OR:
26
+ neura chat # text chat from your terminal
27
+ ```
28
+
29
+ After `neura install` completes, core runs as a background OS service (launchd on macOS, systemd on Linux). Say your wake word — by default **"jarvis"** — and Neura activates a voice session. Stop talking for 5 minutes and it drops back to passive listening.
30
+
31
+ ## Update
32
+
33
+ ```bash
34
+ neura update
35
+ # equivalent to: npm install -g @mclean-capital/neura@latest && neura restart
22
36
  ```
23
37
 
38
+ The `neura update` command runs `npm install -g @mclean-capital/neura@latest` and restarts the core service so the new version takes effect.
39
+
40
+ ### Upgrading from v1.10.x or earlier
41
+
42
+ v1.11.0 moved the core service bundle from a separate GitHub release tarball into the CLI's npm package itself. Older CLIs expect the tarball layout and **cannot self-update to v1.11.0**. If you're on v1.10.x and `neura update` prints a 404 or "Download failed" error, bootstrap manually:
43
+
44
+ ```bash
45
+ npm install -g @mclean-capital/neura@latest
46
+ neura install # rewrites service file to point at the new bundled core path
47
+ ```
48
+
49
+ After this one-time step, `neura update` works normally for all future upgrades.
50
+
24
51
  ## Commands
25
52
 
26
53
  ### Setup & service lifecycle