@livx.cc/agentx 0.96.14 → 0.96.15
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/dist/cli.js +60 -2
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js.map +1 -1
- package/dist/native/mic-aec.swift +12 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1132,6 +1132,9 @@ interface AudioSource {
|
|
|
1132
1132
|
readonly aec: boolean;
|
|
1133
1133
|
start(onChunk: (pcm: Uint8Array) => void): void | Promise<void>;
|
|
1134
1134
|
stop(): void;
|
|
1135
|
+
/** Unrecoverable source failure (e.g. mic permission denied → engine produces no audio AND, in the
|
|
1136
|
+
* duplex AEC engine, no playback). The host should tear voice down rather than spin reconnects. */
|
|
1137
|
+
onFatal?: (message: string) => void;
|
|
1135
1138
|
}
|
|
1136
1139
|
/** An audio playback sink for s16le mono 44.1kHz PCM.
|
|
1137
1140
|
* Node: per-turn ffplay. Web: AudioContext/worklet ring buffer. */
|