@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 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) | **No** |
24
+ | macOS — Intel (x64) | Yes |
25
25
  | Windows — x64 / arm64 | Yes |
26
26
  | Linux — x64 / arm64 | Yes |
27
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.
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.
@@ -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;