@mclean-capital/neura 1.10.2 → 2.1.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.
- package/README.md +75 -6
- package/core/server.bundled.mjs +71487 -0
- package/core/server.bundled.mjs.map +7 -0
- package/core/version.txt +1 -0
- package/dist/commands/install.d.ts +13 -1
- package/dist/commands/install.d.ts.map +1 -1
- package/dist/commands/install.js +80 -52
- package/dist/commands/install.js.map +1 -1
- package/dist/commands/update.d.ts +6 -0
- package/dist/commands/update.d.ts.map +1 -1
- package/dist/commands/update.js +125 -16
- package/dist/commands/update.js.map +1 -1
- package/dist/download.d.ts +28 -22
- package/dist/download.d.ts.map +1 -1
- package/dist/download.js +40 -113
- package/dist/download.js.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/service/detect.js +1 -1
- package/dist/service/detect.js.map +1 -1
- package/dist/service/windows.d.ts +116 -0
- package/dist/service/windows.d.ts.map +1 -1
- package/dist/service/windows.js +303 -60
- package/dist/service/windows.js.map +1 -1
- package/dist/update-check.d.ts +6 -3
- package/dist/update-check.d.ts.map +1 -1
- package/dist/update-check.js +48 -16
- package/dist/update-check.js.map +1 -1
- package/package.json +6 -2
- package/stores/backup-queries.d.ts +8 -0
- package/stores/backup-queries.d.ts.map +1 -0
- package/stores/backup-queries.js +262 -0
- package/stores/backup-queries.js.map +1 -0
- package/stores/entity-queries.d.ts +14 -0
- package/stores/entity-queries.d.ts.map +1 -0
- package/stores/entity-queries.js +156 -0
- package/stores/entity-queries.js.map +1 -0
- package/stores/index.d.ts +2 -0
- package/stores/index.d.ts.map +1 -0
- package/stores/index.js +5901 -0
- package/stores/index.js.map +7 -0
- package/stores/mappers.d.ts +59 -0
- package/stores/mappers.d.ts.map +1 -0
- package/stores/mappers.js +70 -0
- package/stores/mappers.js.map +1 -0
- package/stores/memory-queries.d.ts +31 -0
- package/stores/memory-queries.d.ts.map +1 -0
- package/stores/memory-queries.js +275 -0
- package/stores/memory-queries.js.map +1 -0
- package/stores/migrations.d.ts +4 -0
- package/stores/migrations.d.ts.map +1 -0
- package/stores/migrations.js +231 -0
- package/stores/migrations.js.map +1 -0
- package/stores/package.json +3 -0
- package/stores/pglite-store.d.ts +83 -0
- package/stores/pglite-store.d.ts.map +1 -0
- package/stores/pglite-store.js +183 -0
- package/stores/pglite-store.js.map +1 -0
- package/stores/pglite-store.test.d.ts +2 -0
- package/stores/pglite-store.test.d.ts.map +1 -0
- package/stores/pglite-store.test.js +725 -0
- package/stores/pglite-store.test.js.map +1 -0
- package/stores/search-queries.d.ts +11 -0
- package/stores/search-queries.d.ts.map +1 -0
- package/stores/search-queries.js +116 -0
- package/stores/search-queries.js.map +1 -0
- package/stores/session-queries.d.ts +8 -0
- package/stores/session-queries.d.ts.map +1 -0
- package/stores/session-queries.js +48 -0
- package/stores/session-queries.js.map +1 -0
- package/stores/work-item-queries.d.ts +17 -0
- package/stores/work-item-queries.d.ts.map +1 -0
- package/stores/work-item-queries.js +85 -0
- 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
|
-
>
|
|
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
|
|
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,84 @@ 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
|
-
|
|
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**.
|
|
18
|
+
|
|
19
|
+
### Supported platforms
|
|
20
|
+
|
|
21
|
+
| Platform | Supported |
|
|
22
|
+
| ----------------------------------- | :-------: |
|
|
23
|
+
| macOS — Apple Silicon (M1/M2/M3/M4) | Yes |
|
|
24
|
+
| macOS — Intel (x64) | **No** |
|
|
25
|
+
| Windows — x64 / arm64 | Yes |
|
|
26
|
+
| Linux — x64 / arm64 | Yes |
|
|
27
|
+
|
|
28
|
+
**Intel Macs are not supported.** Neura's wake-word detector runs on
|
|
29
|
+
`onnxruntime-node`, and upstream dropped Intel Mac (`darwin/x64`) binaries
|
|
30
|
+
starting with version 1.24. Because voice is a required feature — not an
|
|
31
|
+
optional one — `npm install -g @mclean-capital/neura` will appear to
|
|
32
|
+
succeed but core will crash at startup with
|
|
33
|
+
`Cannot find module '../bin/napi-v6/darwin/x64/onnxruntime_binding.node'`.
|
|
34
|
+
|
|
35
|
+
If you're on an Apple Silicon Mac but see the `darwin/x64` error, you've
|
|
36
|
+
installed the Intel build of Node under Rosetta. Reinstall Node as arm64:
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
nvm uninstall <version>
|
|
40
|
+
arch -arm64 nvm install <version>
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
For true Intel Macs, there's no workaround short of self-building against
|
|
44
|
+
an older onnxruntime-node — we recommend running Neura on a supported
|
|
45
|
+
machine instead.
|
|
14
46
|
|
|
15
47
|
## Quick start
|
|
16
48
|
|
|
17
49
|
```bash
|
|
18
50
|
neura install # interactive setup: API keys, auto-port, service registration
|
|
19
|
-
|
|
20
|
-
neura
|
|
21
|
-
|
|
51
|
+
# (auto-starts the core service)
|
|
52
|
+
neura listen # voice chat (mic + speaker, wake-word ready)
|
|
53
|
+
# OR:
|
|
54
|
+
neura chat # text chat from your terminal
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
After `neura install` completes, core runs as a background OS service — launchd on macOS, systemd on Linux, a Scheduled Task (or Startup folder shim as fallback) on Windows. 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.
|
|
58
|
+
|
|
59
|
+
### Windows notes
|
|
60
|
+
|
|
61
|
+
Windows doesn't have a clean "run as background service" path for a voice-first assistant. A proper Windows Service (via `sc.exe`, nssm, or WinSW) runs in **Session 0**, which is isolated from every interactive user session and cannot access the user's microphone or audio devices — a hard blocker for wake-word detection. So on Windows we use a per-user **Scheduled Task** instead, registered by `schtasks.exe` with `/SC ONLOGON /RL LIMITED`. No UAC prompt, no admin rights, no bundled binaries.
|
|
62
|
+
|
|
63
|
+
If `schtasks /Create` refuses (some corporate / GPO-locked Windows configurations require elevation even for user-level tasks), `neura install` transparently falls back to a `neura-core.cmd` launcher in `%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\`. The core still starts on next logon — `neura install` will tell you which path was taken so you know what to expect.
|
|
64
|
+
|
|
65
|
+
Trade-offs you should know about on Windows:
|
|
66
|
+
|
|
67
|
+
- **The core only runs while you're logged in.** When you log out, it stops; when you log back in, Windows starts it again. There's no pre-login boot. If you need 24/7 availability, use macOS or Linux.
|
|
68
|
+
- **Status telemetry is thinner** than a real service. `neura status` reports up/down by pid, but there's no Windows event-log integration or automatic crash-restart policy beyond "start fresh on next logon".
|
|
69
|
+
- **The Task Scheduler path is manageable from the GUI.** Open Task Scheduler and look for `neura-core` under the top-level Task Scheduler Library. If you took the Startup folder fallback, the shim is at the path above — delete the file to disable.
|
|
70
|
+
|
|
71
|
+
`neura config set` works normally on Windows. The launcher shim only exports `NEURA_HOME`, so the core re-reads `config.json` on every restart — same behavior as macOS and Linux. Changes take effect on the next `neura restart` without needing `neura install`.
|
|
72
|
+
|
|
73
|
+
## Update
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
neura update
|
|
77
|
+
# equivalent to: npm install -g @mclean-capital/neura@latest && neura restart
|
|
22
78
|
```
|
|
23
79
|
|
|
80
|
+
The `neura update` command runs `npm install -g @mclean-capital/neura@latest` and restarts the core service so the new version takes effect.
|
|
81
|
+
|
|
82
|
+
### Upgrading from v1.10.x or earlier
|
|
83
|
+
|
|
84
|
+
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:
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
npm install -g @mclean-capital/neura@latest
|
|
88
|
+
neura install # rewrites service file to point at the new bundled core path
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
After this one-time step, `neura update` works normally for all future upgrades.
|
|
92
|
+
|
|
24
93
|
## Commands
|
|
25
94
|
|
|
26
95
|
### Setup & service lifecycle
|