@mclean-capital/neura 3.1.0 → 3.3.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 +8 -20
- package/core/server.bundled.mjs +2 -1
- package/core/server.bundled.mjs.map +2 -2
- package/core/version.txt +1 -1
- package/dist/audio/capture.d.ts +5 -2
- package/dist/audio/capture.d.ts.map +1 -1
- package/dist/audio/capture.js +127 -31
- package/dist/audio/capture.js.map +1 -1
- package/dist/commands/backup.js +3 -3
- package/dist/commands/backup.js.map +1 -1
- package/dist/commands/install.d.ts +0 -23
- package/dist/commands/install.d.ts.map +1 -1
- package/dist/commands/install.js +501 -177
- package/dist/commands/install.js.map +1 -1
- package/dist/commands/uninstall.js +3 -3
- package/dist/commands/uninstall.js.map +1 -1
- package/dist/providers.d.ts +66 -0
- package/dist/providers.d.ts.map +1 -0
- package/dist/providers.js +309 -0
- package/dist/providers.js.map +1 -0
- package/dist/validate-key.d.ts +13 -0
- package/dist/validate-key.d.ts.map +1 -0
- package/dist/validate-key.js +53 -0
- package/dist/validate-key.js.map +1 -0
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -21,28 +21,15 @@ Requires **Node.js >= 22**.
|
|
|
21
21
|
| Platform | Supported |
|
|
22
22
|
| ----------------------------------- | :-------: |
|
|
23
23
|
| macOS — Apple Silicon (M1/M2/M3/M4) | Yes |
|
|
24
|
-
| macOS — Intel (x64) |
|
|
24
|
+
| macOS — Intel (x64) | Yes |
|
|
25
25
|
| Windows — x64 / arm64 | Yes |
|
|
26
26
|
| Linux — x64 / arm64 | Yes |
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
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.
|
|
28
|
+
All platforms are fully supported. On Intel Macs, native binaries for
|
|
29
|
+
ONNX runtime and PortAudio (decibri) are unavailable, so Neura
|
|
30
|
+
automatically falls back to WASM-based wake-word detection and
|
|
31
|
+
`@picovoice/pvrecorder-node` for mic capture. No manual configuration
|
|
32
|
+
needed — the fallbacks are transparent.
|
|
46
33
|
|
|
47
34
|
## Quick start
|
|
48
35
|
|
|
@@ -134,7 +121,8 @@ After this one-time step, `neura update` works normally for all future upgrades.
|
|
|
134
121
|
|
|
135
122
|
`neura listen` uses optional native audio dependencies:
|
|
136
123
|
|
|
137
|
-
- **`decibri`** — microphone capture via PortAudio
|
|
124
|
+
- **`decibri`** (optional) — microphone capture via PortAudio (arm64 prebuilts)
|
|
125
|
+
- **`@picovoice/pvrecorder-node`** — microphone capture fallback (prebuilts for all platforms incl. Intel Mac)
|
|
138
126
|
- **`speaker`**, **`@picovoice/pvspeaker-node`**, or **`sox`** — speaker playback
|
|
139
127
|
|
|
140
128
|
These are marked as `optionalDependencies` so `npm install -g @mclean-capital/neura` won't fail if your platform lacks the required build tools. If audio init fails at runtime, `neura listen` will print install instructions for your platform.
|
package/core/server.bundled.mjs
CHANGED
|
@@ -71667,7 +71667,8 @@ var KNOWN_BASE_URLS = {
|
|
|
71667
71667
|
xai: "https://api.x.ai/v1",
|
|
71668
71668
|
google: "https://generativelanguage.googleapis.com/v1beta/openai",
|
|
71669
71669
|
deepinfra: "https://api.deepinfra.com/v1/openai",
|
|
71670
|
-
together: "https://api.together.xyz/v1"
|
|
71670
|
+
together: "https://api.together.xyz/v1",
|
|
71671
|
+
anthropic: "https://api.anthropic.com/v1"
|
|
71671
71672
|
};
|
|
71672
71673
|
var ProviderRegistry = class {
|
|
71673
71674
|
providers;
|