@ailoud/providers 1.0.0-dev.1
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/LICENSE +224 -0
- package/dist/.tsbuildinfo +1 -0
- package/dist/audio/ffmpeg.d.ts +12 -0
- package/dist/audio/ffmpeg.js +81 -0
- package/dist/diarize/sherpaDiarizer.d.ts +26 -0
- package/dist/diarize/sherpaDiarizer.js +64 -0
- package/dist/index.d.ts +33 -0
- package/dist/index.js +19 -0
- package/dist/llm/anthropic.d.ts +36 -0
- package/dist/llm/anthropic.js +92 -0
- package/dist/llm/claudeCli.d.ts +32 -0
- package/dist/llm/claudeCli.js +63 -0
- package/dist/llm/llamaCpp.d.ts +38 -0
- package/dist/llm/llamaCpp.js +90 -0
- package/dist/llm/models.d.ts +23 -0
- package/dist/llm/models.js +97 -0
- package/dist/llm/openAiCompatible.d.ts +35 -0
- package/dist/llm/openAiCompatible.js +84 -0
- package/dist/process/pager.d.ts +36 -0
- package/dist/process/pager.js +69 -0
- package/dist/process/run.d.ts +35 -0
- package/dist/process/run.js +101 -0
- package/dist/provision/download.d.ts +19 -0
- package/dist/provision/download.js +80 -0
- package/dist/provision/llamaInstall.d.ts +38 -0
- package/dist/provision/llamaInstall.js +75 -0
- package/dist/provision/packageManager.d.ts +50 -0
- package/dist/provision/packageManager.js +66 -0
- package/dist/provision/sherpaInstall.d.ts +34 -0
- package/dist/provision/sherpaInstall.js +78 -0
- package/dist/provision/whisperInstall.d.ts +61 -0
- package/dist/provision/whisperInstall.js +89 -0
- package/dist/store/sqliteStore.d.ts +64 -0
- package/dist/store/sqliteStore.js +433 -0
- package/dist/stt/whisperCpp.d.ts +50 -0
- package/dist/stt/whisperCpp.js +116 -0
- package/dist/system/nodeFs.d.ts +14 -0
- package/dist/system/nodeFs.js +80 -0
- package/dist/system/systemClock.d.ts +20 -0
- package/dist/system/systemClock.js +55 -0
- package/dist/vad/whisperVad.d.ts +14 -0
- package/dist/vad/whisperVad.js +58 -0
- package/package.json +48 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2026 Lorem Dev
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
202
|
+
|
|
203
|
+
---
|
|
204
|
+
|
|
205
|
+
## Third-Party Notices
|
|
206
|
+
|
|
207
|
+
This project uses the following third-party libraries. Each library retains
|
|
208
|
+
its original copyright and is distributed under its respective license.
|
|
209
|
+
Entries in this section are maintained automatically by the `check-licenses`
|
|
210
|
+
skill. Run that skill after editing any `package.json` to keep this list
|
|
211
|
+
current and accurate.
|
|
212
|
+
|
|
213
|
+
### Software dependencies
|
|
214
|
+
|
|
215
|
+
| Package | Ecosystem | Version | License | Copyright |
|
|
216
|
+
|---|---|---|---|---|
|
|
217
|
+
| @clack/prompts | npm | 1.7.0 | MIT | Copyright (c) 2025-Present Bombshell contributors |
|
|
218
|
+
| @modelcontextprotocol/sdk | npm | 1.30.0 | MIT | Copyright (c) 2024 Anthropic, PBC |
|
|
219
|
+
| cli-table3 | npm | 0.6.5 | MIT | Copyright (c) 2014 James Talmage <james.talmage@jrtechnical.com> |
|
|
220
|
+
| string-width | npm | 8.2.2 | MIT | Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> |
|
|
221
|
+
| wrap-ansi | npm | 10.0.1 | MIT | Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> |
|
|
222
|
+
| commander | npm | 15.0.0 | MIT | Copyright (c) 2011 TJ Holowaychuk <tj@vision-media.ca> |
|
|
223
|
+
| yaml | npm | 2.9.0 | ISC | Copyright Eemeli Aro <eemeli@gmail.com> |
|
|
224
|
+
| zod | npm | 4.4.3 | MIT | Copyright (c) 2025 Colin McDonnell |
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"fileNames":["../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2023.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2023.array.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2023.intl.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2025.float16.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../core/dist/domain/model.d.ts","../../core/dist/domain/ports.d.ts","../../core/dist/db/schema.d.ts","../../core/dist/transcribe/merge.d.ts","../../core/dist/transcribe/languages.d.ts","../../core/dist/diarize/assign.d.ts","../../core/dist/domain/recordedAt.d.ts","../../core/dist/transcribe/bySpeaker.d.ts","../../core/dist/transcribe/speakers.d.ts","../../core/dist/domain/errors.d.ts","../../core/dist/domain/ulid.d.ts","../../core/dist/domain/mime.d.ts","../../core/dist/pipelines/import.d.ts","../../core/dist/pipelines/transcribe.d.ts","../../core/dist/format/subtitles.d.ts","../../core/dist/format/text.d.ts","../../core/dist/format/sample.d.ts","../../core/dist/format/duration.d.ts","../../core/dist/provision/remedy.d.ts","../../core/dist/provision/catalogue.d.ts","../../core/dist/provision/plan.d.ts","../../core/dist/search/query.d.ts","../../core/dist/summarize/chunk.d.ts","../../core/dist/summarize/templates.d.ts","../../core/dist/summarize/prompt.d.ts","../../core/dist/summarize/transcriptFile.d.ts","../../core/dist/index.d.ts","../src/store/sqliteStore.ts","../src/process/run.ts","../src/provision/packageManager.ts","../src/provision/download.ts","../src/provision/whisperInstall.ts","../src/provision/sherpaInstall.ts","../src/system/nodeFs.ts","../src/system/systemClock.ts","../src/audio/ffmpeg.ts","../src/stt/whisperCpp.ts","../src/vad/whisperVad.ts","../src/diarize/sherpaDiarizer.ts","../src/process/pager.ts","../src/llm/llamaCpp.ts","../src/llm/openAiCompatible.ts","../src/llm/anthropic.ts","../src/llm/claudeCli.ts","../src/llm/models.ts","../src/provision/llamaInstall.ts","../src/index.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/globals.typedarray.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/buffer.buffer.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/web-globals/abortcontroller.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/web-globals/blob.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/web-globals/console.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/web-globals/crypto.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/web-globals/domexception.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/web-globals/encoding.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/web-globals/events.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/utility.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/header.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/readable.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/fetch.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/formdata.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/connector.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/client-stats.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/client.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/errors.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/global-origin.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/pool-stats.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/pool.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/handlers.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/round-robin-pool.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/h2c-client.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/agent.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/dispatcher1-wrapper.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/mock-call-history.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/mock-agent.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/mock-client.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/mock-pool.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/snapshot-agent.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/mock-errors.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/socks5-proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/env-http-proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/retry-handler.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/retry-agent.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/api.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/cache-interceptor.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/interceptors.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/util.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/cookies.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/patch.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/websocket.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/eventsource.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/content-type.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/cache.d.ts","../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/index.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/web-globals/fetch.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/web-globals/importmeta.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/web-globals/messaging.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/web-globals/navigator.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/web-globals/performance.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/web-globals/storage.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/web-globals/streams.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/web-globals/timers.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/web-globals/url.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/ffi.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/inspector.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/inspector.generated.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/inspector/promises.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/path/posix.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/path/win32.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/quic.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/sea.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/sqlite.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/stream/iter.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/test.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/test/reporters.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/util/types.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/zlib/iter.d.ts","../../../node_modules/.pnpm/@types+node@26.2.0/node_modules/@types/node/index.d.ts"],"fileIdsList":[[112,174,175,177,185,190,193,195,196,197,209],[112,176,177,185,190,193,195,196,197,209],[177,185,190,193,195,196,197,209],[112,177,185,190,193,195,196,197,209,218],[112,177,178,183,185,188,190,193,195,196,197,199,209,214,227],[112,177,178,179,185,188,190,193,195,196,197,209],[112,177,180,185,190,193,195,196,197,209,228],[112,177,181,182,185,190,193,195,196,197,200,209],[112,177,182,185,190,193,195,196,197,209,214,224],[112,177,183,185,188,190,193,195,196,197,199,209],[112,176,177,184,185,190,193,195,196,197,209],[112,177,185,186,190,193,195,196,197,209],[112,177,185,187,188,190,193,195,196,197,209],[112,176,177,185,188,190,193,195,196,197,209],[112,177,185,190,193,195,196,197,209],[112,177,185,188,190,191,193,195,196,197,209,214,227],[112,177,185,188,190,191,193,195,196,197,209,214,216,218],[112,164,177,185,188,190,192,193,195,196,197,199,209,214,227],[112,177,185,188,190,192,193,195,196,197,199,209,214,224,227],[112,177,185,190,192,193,194,195,196,197,209,214,224,227],[111,112,113,114,115,116,117,118,119,120,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235],[112,177,185,188,190,193,195,196,197,209],[112,177,185,190,193,195,197,209],[112,177,185,190,193,195,196,197,198,209,227],[112,177,185,188,190,193,195,196,197,199,209,214],[112,177,185,190,193,195,196,197,200,209],[112,177,185,190,193,195,196,197,201,209],[112,177,185,188,190,193,195,196,197,204,209],[112,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234],[112,177,185,190,193,195,196,197,206,209],[112,177,185,190,193,195,196,197,207,209],[112,177,182,185,190,191,193,195,196,197,199,209,216,224],[112,177,185,188,190,193,195,196,197,209,210],[112,177,185,190,193,195,196,197,209,211,228,231],[112,177,185,188,190,193,195,196,197,209,214,216,217,218],[112,177,185,190,193,195,196,197,209,215,218],[112,177,185,188,190,193,195,196,197,209,214,216],[112,177,185,188,190,193,195,196,197,209,214,217,218],[112,177,185,190,193,195,196,197,209,218,228],[112,177,185,190,193,195,196,197,209,219],[112,174,177,185,190,193,195,196,197,209,214,221,227],[112,177,185,190,193,195,196,197,209,214,220],[112,177,185,188,190,193,195,196,197,209,222,223],[112,177,185,190,193,195,196,197,209,222,223],[112,177,182,185,190,193,195,196,197,199,209,214,224],[112,177,185,190,193,195,196,197,209,225],[112,177,185,190,193,195,196,197,199,209,226],[112,177,185,190,192,193,195,196,197,207,209,227],[112,177,185,190,193,195,196,197,209,228,229],[112,177,182,185,190,193,195,196,197,209,229],[112,177,185,190,193,195,196,197,209,214,230],[112,177,185,190,193,195,196,197,198,209,231],[112,177,185,190,193,195,196,197,209,232],[112,177,180,185,190,193,195,196,197,209],[112,177,182,185,190,193,195,196,197,209],[112,177,185,190,193,195,196,197,209,228],[112,164,177,185,190,193,195,196,197,209],[112,177,185,190,193,195,196,197,209,227],[112,177,185,190,193,195,196,197,209,233],[112,177,185,190,193,195,196,197,204,209],[112,177,185,190,193,195,196,197,209,223],[112,164,177,185,188,190,191,193,195,196,197,204,209,214,218,227,230,231,233],[112,177,185,190,193,195,196,197,209,214,234],[112,177,185,190,193,195,196,197,209,216,235],[112,127,130,133,134,177,185,190,193,195,196,197,209,227],[112,130,177,185,190,193,195,196,197,209,214,227],[112,130,134,177,185,190,193,195,196,197,209,227],[112,177,185,190,193,195,196,197,209,214],[112,124,177,185,190,193,195,196,197,209],[112,128,177,185,190,193,195,196,197,209],[112,126,127,130,177,185,190,193,195,196,197,209,227],[112,177,185,190,193,195,196,197,199,209,224],[112,177,185,190,193,195,196,197,209,236],[112,124,177,185,190,193,195,196,197,209,236],[112,126,130,177,185,190,193,195,196,197,199,209,227],[112,121,122,123,125,129,177,185,188,190,193,195,196,197,209,214,227],[112,130,177,185,190,193,195,196,197,209],[112,130,139,148,177,185,190,193,195,196,197,209],[112,122,128,177,185,190,193,195,196,197,209],[112,130,158,159,177,185,190,193,195,196,197,209],[112,122,125,130,177,185,190,193,195,196,197,209,218,227,236],[112,126,130,177,185,190,193,195,196,197,209,227],[112,121,177,185,190,193,195,196,197,209],[112,124,125,126,128,129,130,131,132,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,159,160,161,162,163,177,185,190,193,195,196,197,209],[112,130,151,154,177,185,190,193,195,196,197,209],[112,130,139,141,142,177,185,190,193,195,196,197,209],[112,128,130,141,143,177,185,190,193,195,196,197,209],[112,129,177,185,190,193,195,196,197,209],[112,122,124,130,177,185,190,193,195,196,197,209],[112,130,134,141,143,177,185,190,193,195,196,197,209],[112,134,177,185,190,193,195,196,197,209],[112,128,130,133,177,185,190,193,195,196,197,209,227],[112,122,126,130,139,177,185,190,193,195,196,197,209],[112,130,151,177,185,190,193,195,196,197,209],[112,143,177,185,190,193,195,196,197,209],[112,122,126,130,134,177,185,190,193,195,196,197,209],[112,124,130,158,177,185,190,193,195,196,197,209,218,233,236],[64,65,112,177,185,190,193,195,196,197,209],[64,112,177,185,190,193,195,196,197,209],[64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,112,177,185,190,193,195,196,197,209],[82,83,112,177,185,190,193,195,196,197,209],[64,87,112,177,185,190,193,195,196,197,209],[64,88,112,177,185,190,193,195,196,197,209],[65,67,112,177,185,190,193,195,196,197,209],[65,112,177,185,190,193,195,196,197,209],[90,92,112,177,185,190,193,195,196,197,209],[91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,112,177,185,190,193,195,196,197,209],[90,112,177,185,190,193,195,196,197,209],[90,92,112,177,185,190,191,193,195,196,197,200,201,209],[112,177,178,185,190,193,195,196,197,209],[90,112,177,178,185,190,193,195,196,197,200,209],[90,112,177,185,190,191,193,195,196,197,201,209,214,217],[90,92,94,112,177,185,190,191,193,195,196,197,201,209],[92,112,177,185,190,193,195,196,197,209],[90,92,93,94,112,177,185,190,191,193,195,196,197,201,209],[90,112,177,185,190,193,195,196,197,209,213],[90,92,112,177,185,190,191,193,195,196,197,201,209],[90,112,177,182,185,190,191,193,195,196,197,200,201,209]],"fileInfos":[{"version":"bcd24271a113971ba9eb71ff8cb01bc6b0f872a85c23fdbe5d93065b375933cd","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f88bedbeb09c6f5a6645cb24c7c55f1aa22d19ae96c8e6959cbd8b85a707bc6","impliedFormat":1},{"version":"7fe93b39b810eadd916be8db880dd7f0f7012a5cc6ffb62de8f62a2117fa6f1f","impliedFormat":1},{"version":"bb0074cc08b84a2374af33d8bf044b80851ccc9e719a5e202eacf40db2c31600","impliedFormat":1},{"version":"1a7daebe4f45fb03d9ec53d60008fbf9ac45a697fdc89e4ce218bc94b94f94d6","impliedFormat":1},{"version":"f94b133a3cb14a288803be545ac2683e0d0ff6661bcd37e31aaaec54fc382aed","impliedFormat":1},{"version":"f59d0650799f8782fd74cf73c19223730c6d1b9198671b1c5b3a38e1188b5953","impliedFormat":1},{"version":"8a15b4607d9a499e2dbeed9ec0d3c0d7372c850b2d5f1fb259e8f6d41d468a84","impliedFormat":1},{"version":"26e0fe14baee4e127f4365d1ae0b276f400562e45e19e35fd2d4c296684715e6","impliedFormat":1},{"version":"1e9332c23e9a907175e0ffc6a49e236f97b48838cc8aec9ce7e4cec21e544b65","impliedFormat":1},{"version":"eadcffda2aa84802c73938e589b9e58248d74c59cb7fcbca6474e3435ac15504","affectsGlobalScope":true,"impliedFormat":1},{"version":"105ba8ff7ba746404fe1a2e189d1d3d2e0eb29a08c18dded791af02f29fb4711","affectsGlobalScope":true,"impliedFormat":1},{"version":"00343ca5b2e3d48fa5df1db6e32ea2a59afab09590274a6cccb1dbae82e60c7c","affectsGlobalScope":true,"impliedFormat":1},{"version":"ebd9f816d4002697cb2864bea1f0b70a103124e18a8cd9645eeccc09bdf80ab4","affectsGlobalScope":true,"impliedFormat":1},{"version":"2c1afac30a01772cd2a9a298a7ce7706b5892e447bb46bdbeef720f7b5da77ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"7b0225f483e4fa685625ebe43dd584bb7973bbd84e66a6ba7bbe175ee1048b4f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c0a4b8ac6ce74679c1da2b3795296f5896e31c38e888469a8e0f99dc3305de60","affectsGlobalScope":true,"impliedFormat":1},{"version":"3084a7b5f569088e0146533a00830e206565de65cae2239509168b11434cd84f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5079c53f0f141a0698faa903e76cb41cd664e3efb01cc17a5c46ec2eb0bef42","affectsGlobalScope":true,"impliedFormat":1},{"version":"32cafbc484dea6b0ab62cf8473182bbcb23020d70845b406f80b7526f38ae862","affectsGlobalScope":true,"impliedFormat":1},{"version":"fca4cdcb6d6c5ef18a869003d02c9f0fd95df8cfaf6eb431cd3376bc034cad36","affectsGlobalScope":true,"impliedFormat":1},{"version":"b93ec88115de9a9dc1b602291b85baf825c85666bf25985cc5f698073892b467","affectsGlobalScope":true,"impliedFormat":1},{"version":"f5c06dcc3fe849fcb297c247865a161f995cc29de7aa823afdd75aaaddc1419b","affectsGlobalScope":true,"impliedFormat":1},{"version":"b77e16112127a4b169ef0b8c3a4d730edf459c5f25fe52d5e436a6919206c4d7","affectsGlobalScope":true,"impliedFormat":1},{"version":"fbffd9337146eff822c7c00acbb78b01ea7ea23987f6c961eba689349e744f8c","affectsGlobalScope":true,"impliedFormat":1},{"version":"a995c0e49b721312f74fdfb89e4ba29bd9824c770bbb4021d74d2bf560e4c6bd","affectsGlobalScope":true,"impliedFormat":1},{"version":"c7b3542146734342e440a84b213384bfa188835537ddbda50d30766f0593aff9","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce6180fa19b1cccd07ee7f7dbb9a367ac19c0ed160573e4686425060b6df7f57","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f02e2476bccb9dbe21280d6090f0df17d2f66b74711489415a8aa4df73c9675","affectsGlobalScope":true,"impliedFormat":1},{"version":"45e3ab34c1c013c8ab2dc1ba4c80c780744b13b5676800ae2e3be27ae862c40c","affectsGlobalScope":true,"impliedFormat":1},{"version":"805c86f6cca8d7702a62a844856dbaa2a3fd2abef0536e65d48732441dde5b5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"e42e397f1a5a77994f0185fd1466520691456c772d06bf843e5084ceb879a0ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"f4c2b41f90c95b1c532ecc874bd3c111865793b23aebcc1c3cbbabcd5d76ffb0","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab26191cfad5b66afa11b8bf935ef1cd88fabfcb28d30b2dfa6fad877d050332","affectsGlobalScope":true,"impliedFormat":1},{"version":"2088bc26531e38fb05eedac2951480db5309f6be3fa4a08d2221abb0f5b4200d","affectsGlobalScope":true,"impliedFormat":1},{"version":"cb9d366c425fea79716a8fb3af0d78e6b22ebbab3bd64d25063b42dc9f531c1e","affectsGlobalScope":true,"impliedFormat":1},{"version":"500934a8089c26d57ebdb688fc9757389bb6207a3c8f0674d68efa900d2abb34","affectsGlobalScope":true,"impliedFormat":1},{"version":"689da16f46e647cef0d64b0def88910e818a5877ca5379ede156ca3afb780ac3","affectsGlobalScope":true,"impliedFormat":1},{"version":"bc21cc8b6fee4f4c2440d08035b7ea3c06b3511314c8bab6bef7a92de58a2593","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ca53d13d2957003abb47922a71866ba7cb2068f8d154877c596d63c359fed25","affectsGlobalScope":true,"impliedFormat":1},{"version":"54725f8c4df3d900cb4dac84b64689ce29548da0b4e9b7c2de61d41c79293611","affectsGlobalScope":true,"impliedFormat":1},{"version":"e5594bc3076ac29e6c1ebda77939bc4c8833de72f654b6e376862c0473199323","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f3eb332c2d73e729f3364fcc0c2b375e72a121e8157d25a82d67a138c83a95c","affectsGlobalScope":true,"impliedFormat":1},{"version":"6f4427f9642ce8d500970e4e69d1397f64072ab73b97e476b4002a646ac743b1","affectsGlobalScope":true,"impliedFormat":1},{"version":"48915f327cd1dea4d7bd358d9dc7732f58f9e1626a29cc0c05c8c692419d9bb7","affectsGlobalScope":true,"impliedFormat":1},{"version":"b7bf9377723203b5a6a4b920164df22d56a43f593269ba6ae1fdc97774b68855","affectsGlobalScope":true,"impliedFormat":1},{"version":"db9709688f82c9e5f65a119c64d835f906efe5f559d08b11642d56eb85b79357","affectsGlobalScope":true,"impliedFormat":1},{"version":"4b25b8c874acd1a4cf8444c3617e037d444d19080ac9f634b405583fd10ce1f7","affectsGlobalScope":true,"impliedFormat":1},{"version":"37be57d7c90cf1f8112ee2636a068d8fd181289f82b744160ec56a7dc158a9f5","affectsGlobalScope":true,"impliedFormat":1},{"version":"a917a49ac94cd26b754ab84e113369a75d1a47a710661d7cd25e961cc797065f","affectsGlobalScope":true,"impliedFormat":1},{"version":"6d3261badeb7843d157ef3e6f5d1427d0eeb0af0cf9df84a62cfd29fd47ac86e","affectsGlobalScope":true,"impliedFormat":1},{"version":"195daca651dde22f2167ac0d0a05e215308119a3100f5e6268e8317d05a92526","affectsGlobalScope":true,"impliedFormat":1},{"version":"8b11e4285cd2bb164a4dc09248bdec69e9842517db4ca47c1ba913011e44ff2f","affectsGlobalScope":true,"impliedFormat":1},{"version":"0508571a52475e245b02bc50fa1394065a0a3d05277fbf5120c3784b85651799","affectsGlobalScope":true,"impliedFormat":1},{"version":"8f9af488f510c3015af3cc8c267a9e9d96c4dd38a1fdff0e11dc5a544711415b","affectsGlobalScope":true,"impliedFormat":1},{"version":"fc611fea8d30ea72c6bbfb599c9b4d393ce22e2f5bfef2172534781e7d138104","affectsGlobalScope":true,"impliedFormat":1},{"version":"0bd714129fca875f7d4c477a1a392200b0bcd13fb2e80928cd334b63830ea047","affectsGlobalScope":true,"impliedFormat":1},{"version":"e2c9037ae6cd2c52d80ceef0b3c5ffdb488627d71529cf4f63776daf11161c9a","affectsGlobalScope":true,"impliedFormat":1},{"version":"135d5cf4d345f59f1a9caadfafcd858d3d9cc68290db616cc85797224448cccc","affectsGlobalScope":true,"impliedFormat":1},{"version":"f128dae7c44d8f35ee42e0a437000a57c9f06cc04f8b4fb42eebf44954d53dc8","affectsGlobalScope":true,"impliedFormat":1},{"version":"1ecb8e347cb6b2a8927c09b86263663289418df375f5e68e11a0ae683776978f","affectsGlobalScope":true,"impliedFormat":1},{"version":"1ce14b81c5cc821994aa8ec1d42b220dd41b27fcc06373bce3958af7421b77d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"b3a048b3e9302ef9a34ef4ebb9aecfb28b66abb3bce577206a79fee559c230da","affectsGlobalScope":true,"impliedFormat":1},{"version":"a260d60ea08cc4f5db97fc710c4757ffd1c45e1cdd656d7ab51c38f14b689c7a","impliedFormat":99},{"version":"73b0eeceb51f5158172f3bfffd1636497a179e85d79ea3d1de4891dd97896048","impliedFormat":99},{"version":"f195f053c86f6249c8aca98b6b99386990cf3e6f58ee24166088a233e9dc876c","impliedFormat":99},{"version":"daeac57b145ced3509afdf8b703e18cd55abbad1fe3e7e119c85c89e10d7faed","impliedFormat":99},{"version":"54112bd452220694170a03f3096ac77dc7ec9562bd3b6a3c067578156ff2f93f","impliedFormat":99},{"version":"b44692ebef30bdf6fc43a3369cefdd9d6788c2b068c20bca4acbf08a9c23cf70","impliedFormat":99},{"version":"62a2236fa7a4137482d8f8ab0e361694af37f2bd814809b50ddf1df9a75e96e7","impliedFormat":99},{"version":"4e05d456eeeeac41c6fdca8b9239a3bf8b3a410c9454ea44a42f006cce930990","impliedFormat":99},{"version":"7c197273a5bed93855ae403d8d4ee5cd9437ec3d9d51bf67d19bab3d6bf9989c","impliedFormat":99},{"version":"a11f58cc20c52805835f104d2f7bc354796b737e2c86024dcb409fbdb5f7a066","impliedFormat":99},{"version":"409f1f6999e7e283eafadd1db45dc6c52dddb2b14951bdf56aa597d8931c930a","impliedFormat":99},{"version":"bd2c639c4b293fe5a22137f33b1640dca0f014fc5734d51e4220da398a4035b4","impliedFormat":99},{"version":"e351dc61acba681343de8c0a40249f29f399c2fe11928344a2baa915fb6b0cec","impliedFormat":99},{"version":"4591138ba605bf01d86d5aaf6559192b1b3f0f97eca5a1de271bb4aa65efc462","impliedFormat":99},{"version":"9812f4309a73910dde400b7840a374be9a079b758aa5eea1c06a861c4fc08904","impliedFormat":99},{"version":"13bf66c3e0116d8679e55583b59ea6e5243140af00b37cb2a310c4875a6f099e","impliedFormat":99},{"version":"66d4de05fdc71198c2e61882f75908bcbde40075dfbc291d62ec024453844783","impliedFormat":99},{"version":"14ad6a2a563801d77c6046e42160c02ca0dca9b80fce9c35b729ae34e3fb7c9a","impliedFormat":99},{"version":"edbd95902777adaf61ac044369f65dc325152c1fb76b7dc34e8175136ec98942","impliedFormat":99},{"version":"7db94f38540a55f224f4f3e4726665de7170a1d24288750f54f5ba3f1c80aaf4","impliedFormat":99},{"version":"873021939bbad5f0c3adf2ff01fe94fa1ae0783ad7e465dcd5bcb0479ae84928","impliedFormat":99},{"version":"87ab4e049be3d4d59c272ddfcf842e36955b58bfa7c2f5c07104e3577d0dd16a","impliedFormat":99},{"version":"a1be54e02bbef63bef97cd336506012642fc6eae39885a40bc0d472ade804d15","impliedFormat":99},{"version":"22a23aaa78b20830f4feda2ec86a0f6271856aa883599dae872da1a0ce6de46e","impliedFormat":99},{"version":"3a970d7d102867842af8b82cba5da2290cbdc1f14892059cf522cc685754cd69","impliedFormat":99},{"version":"f9758e827a4a4de5ccc1d5f7459a859430a01376a5ff7640fc387012fd0e89da","impliedFormat":99},{"version":"f9b56cb1c83605b84935b317677fbde3e83a4c1c0ff1f9270f61a696512d8107","impliedFormat":99},{"version":"81f339acad9e036bfd5f95c9c20a3b386d947187f007030973ba8c3af9fdfbbb","signature":"c25e3ab35e2bad9905c18beec63fee0200572ee868ba90dbcc105b8b5eb9fb5c","impliedFormat":99},{"version":"58a4aea0394437586e5317ba07e1b8abb65d3f17e3e1afc3fa8edf8539f3f657","signature":"df790d40ccd832ab3f238fa3ad38cd65178bfd74bff2d3d1b0420121aa656364","impliedFormat":99},{"version":"f7d85bf8120500e9bc989f33bf0a5abe2fbf2125ad1d0004db8b8a662db46f91","signature":"542e1f1d03008df0e4eb9a6104c2380acc6c599b6bd93f07a91b9cada6dc704a","impliedFormat":99},{"version":"2c0163df9c95a9fc6e21fdb58d92c57b4c712367c93286e29ec812e8024ade73","signature":"a687d066c698d218963cb505f3890f7a52ab88a914767616ad3f41f4d3e4301b","impliedFormat":99},{"version":"20e8640affb34b5242828b18f54c149307239c698d660b02b9a84137aebb3bfe","signature":"fe778c4ffb01e91e89420b8ad5780aa3d055ed56a2223d23d684bc3a75f716ac","impliedFormat":99},{"version":"b8465a4c9029e0cf32337f2b924f79f8a268b149885e586007a2c1e44f77a158","signature":"ebff99f12498e05860820269e358e42715a7939587641c2858af7e5ce83f6acf","impliedFormat":99},{"version":"86f6e9fff7d1eb5cc22d610e59387b4dff9c855e59de1c105d79e3c7e9d2e360","signature":"7cb67bbf1a9ebb400e245d978a0ba25bc800f3a6a3febddf0c2619b38ef0e48b","impliedFormat":99},{"version":"0bbcc162dec14dcf2d518a1b2b443fa4d8961ada84034250e13e3672193dc62a","signature":"53fb1ca7640b303a23f58e18debef41a474f7eb3b5350f62c317a7b912e4dbe3","impliedFormat":99},{"version":"2e340a098b730260308cec99124c07ffc91a69baa12c325d56cdaad29be32f36","signature":"ea459ee3ace934f867daeb9158feba568074ab0d3b8bebcb54cea5dbb0cb1def","impliedFormat":99},{"version":"0f594b70ac609ddfc974be9558aa7bdb867011eaae76550696778c1bde9f226b","signature":"b9c4b1ac7d8434dda8bc60442ad9f14eb9226abe4728937e2d25bee49e1496f6","impliedFormat":99},{"version":"4b28e54df7214bbf043ca84b6e9758bbf52abc4518de50b123e14a75c9eeeb45","signature":"da761d241bf3d37d21352c89e15a481250754a733ac7167a870f8a6c49fd9d67","impliedFormat":99},{"version":"14fc2082918568e739ea8170b227de2b7da8bc538ad9eba90f0fa264f92f3962","signature":"fe50a120264269c9f6a7009fe6ea6554bfaec75d7315f293b9a7035a93880101","impliedFormat":99},{"version":"579825c3c220a165bf9d3f367365626d33f4d2689ca24d76dea53ec8d9d1925a","signature":"19bdb7b3fff5b3430d36167f2e3880cc9fd04cc70e83a9a3f3f9a3f8092446b0","impliedFormat":99},{"version":"7004f44ff0e05866bd4944fc8c8ac83c5f1704c5317343b24400ab766f8f167d","signature":"515c2a2a6734450940e006fa97d03cf4805819544d82686f74df0d41010ebf66","impliedFormat":99},{"version":"ef3dd16eac7334dadd75fdfb842b89fa6617c7bc3b566d71019d606a0ea62441","signature":"0970eccd2be13c418fe250a8e45ae91ea0d0678258a72e113074d05575599db3","impliedFormat":99},{"version":"2d360b3b38dab5473c47fd5e84c3b1d3572ba2abfa87bf8c1bf149f7c5239eb1","signature":"46c181624cbebd65e7e4a9795f46d08954f6cba27a4a9138688b12539c219b17","impliedFormat":99},{"version":"8879adb3f6d2699ff97352022851720f1a08e716fa293f59bc7e6a9b0ec9411e","signature":"462cb8c7fd68a1fd0a7c289a26338a6a5d54f8704522b2d6e3899d9a6f5f8db9","impliedFormat":99},{"version":"28739a24f6570e579824adfd4cc3e4459ee0d0502046e2591830094792b68d05","signature":"1de3b8c9086984371b91159cb54db93b6abe5cef1e1033b978a08cc7a5bfe06c","impliedFormat":99},{"version":"f5036aa558f8531e1008f882c8bd8608c3c15b20f8ab7c358e2681282f879c91","signature":"76639921eaa871f75dd71a32ba2326eb0e3fd084bb9502e9d77f7d24d8747f1d","impliedFormat":99},{"version":"a4f4a8b2cac441e8c2a0b43c910b8d57b6c786b0e34c0703f310f63fb33f8a15","signature":"2bc70776a554971febfd594a513f646d5c80dd9a1fb8f37a79f30b0cab8a368d","impliedFormat":99},{"version":"0ccdaa19852d25ecd84eec365c3bfa16e7859cadecf6e9ca6d0dbbbee439743f","affectsGlobalScope":true,"impliedFormat":1},{"version":"cc2110f7decca6bfb9392e30421cfa1436479e4a6756e8fec6cbc22625d4f881","affectsGlobalScope":true,"impliedFormat":1},{"version":"f53a7652392cf26ebbe4e29fd0672aa87c93bd6d0241289c13fab87b9ac35c8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"e5e01375c9e124a83b52ee4b3244ed1a4d214a6cfb54ac73e164a823a4a7860a","affectsGlobalScope":true,"impliedFormat":1},{"version":"f90ae2bbce1505e67f2f6502392e318f5714bae82d2d969185c4a6cecc8af2fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"4b58e207b93a8f1c88bbf2a95ddc686ac83962b13830fe8ad3f404ffc7051fb4","affectsGlobalScope":true,"impliedFormat":1},{"version":"1fefabcb2b06736a66d2904074d56268753654805e829989a46a0161cd8412c5","affectsGlobalScope":true,"impliedFormat":1},{"version":"b00a630557d1622ad312633bdbfbdb9c6b7220d948dca9f899db30679f160074","affectsGlobalScope":true,"impliedFormat":1},{"version":"c18a99f01eb788d849ad032b31cafd49de0b19e083fe775370834c5675d7df8e","affectsGlobalScope":true,"impliedFormat":1},{"version":"5247874c2a23b9a62d178ae84f2db6a1d54e6c9a2e7e057e178cc5eea13757fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"cdcf9ea426ad970f96ac930cd176d5c69c6c24eebd9fc580e1572d6c6a88f62c","impliedFormat":1},{"version":"88809d6c1b9c78d04a133646a6feb926def05a8774c308c7c93bc32ee163d271","impliedFormat":1},{"version":"156a859e21ef3244d13afeeba4e49760a6afa035c149dda52f0c45ea8903b338","impliedFormat":1},{"version":"3ac40516c33b87f751f7507346933081a26cdb8a3e11a6b3aa07d23f803c85db","impliedFormat":1},{"version":"615754924717c0b1e293e083b83503c0a872717ad5aa60ed7f1a699eb1b4ea5c","impliedFormat":1},{"version":"14e9acf826baba0ef4b5665704084896e7bcc06f65a9ab13af7e93d27d6b7069","impliedFormat":1},{"version":"68834d631c8838c715f225509cfc3927913b9cc7a4870460b5b60c8dbdb99baf","impliedFormat":1},{"version":"829bc57ee8f287b490ab5bbc5a962fca57e432c1e38ec680ecd3ecaf12800613","impliedFormat":1},{"version":"eec76bf6b9346f3f95fa402621b889489e96930e72295b0369022f332e9b4a6a","impliedFormat":1},{"version":"3a3ff14da53d5013f3e6d8c4ad55225e3649c08786c4421ce639c00d8d589b7d","impliedFormat":1},{"version":"ea6bc8de8b59f90a7a3960005fd01988f98fd0784e14bc6922dde2e93305ec7d","impliedFormat":1},{"version":"36107995674b29284a115e21a0618c4c2751b32a8766dd4cb3ba740308b16d59","impliedFormat":1},{"version":"914a0ae30d96d71915fc519ccb4efbf2b62c0ddfb3a3fc6129151076bc01dc60","impliedFormat":1},{"version":"38004e6801340cb890afb8cb5a9fc8972297e7f88ab94026e4b0b3c61fb32f8a","impliedFormat":1},{"version":"d243db6b25788f439e7e2f03c05688e92f46764351673bb0e7b2f3631232e186","impliedFormat":1},{"version":"4d327f7d72ad0918275cea3eee49a6a8dc8114ae1d5b7f3f5d0774de75f7439a","impliedFormat":1},{"version":"149f9a9e7f04e67afa0e2a49fc0ff421035c01d6b793cfcae7d2e9f6819431e2","impliedFormat":1},{"version":"e8a9dfa4c75ef6d25df8b40eaa9c31e0a69452aaf2ced4a3f4215dbdbaa876f4","impliedFormat":1},{"version":"a70af845a2eb9dd6e2723e319e14ea7fb28b129ec1361c21509b49305448c323","impliedFormat":1},{"version":"b53dc572d4f187904207ae1166652de47aab8eeb00c254d009cb226863076b56","impliedFormat":1},{"version":"0a60a292b89ca7218b8616f78e5bbd1c96b87e048849469cccb4355e98af959a","impliedFormat":1},{"version":"0b6e25234b4eec6ed96ab138d96eb70b135690d7dd01f3dd8a8ab291c35a683a","impliedFormat":1},{"version":"9666f2f84b985b62400d2e5ab0adae9ff44de9b2a34803c2c5bd3c8325b17dc0","impliedFormat":1},{"version":"40cd35c95e9cf22cfa5bd84e96408b6fcbca55295f4ff822390abb11afbc3dca","impliedFormat":1},{"version":"b1616b8959bf557feb16369c6124a97a0e74ed6f49d1df73bb4b9ddf68acf3f3","impliedFormat":1},{"version":"f501234c5aeeeb5d7659412335227466aaacf30b952372d60afeb21c02c96348","impliedFormat":1},{"version":"40b463c6766ca1b689bfcc46d26b5e295954f32ad43e37ee6953c0a677e4ae2b","impliedFormat":1},{"version":"9ac977503f15bf13ca7c82ad9a32a782f42d43e474824e8b3bffe228fd5f2639","impliedFormat":1},{"version":"8b91ff5bb912be3ea213cbcf0075aace1f5d4ff249a0d227ed673868cb7bfabc","impliedFormat":1},{"version":"80aae6afc67faa5ac0b32b5b8bc8cc9f7fa299cff15cf09cc2e11fd28c6ae29e","impliedFormat":1},{"version":"f473cd2288991ff3221165dcf73cd5d24da30391f87e85b3dd4d0450c787a391","impliedFormat":1},{"version":"499e5b055a5aba1e1998f7311a6c441a369831c70905cc565ceac93c28083d53","impliedFormat":1},{"version":"8aee8b6d4f9f62cf3776cda1305fb18763e2aade7e13cea5bbe699112df85214","impliedFormat":1},{"version":"98498b101803bb3dde9f76a56e65c14b75db1cc8bec5f4db72be541570f74fc5","impliedFormat":1},{"version":"7cb4f431a4591b0e23002bed805dc871a874dfed6b9a3994dce68a6df73e6739","impliedFormat":1},{"version":"5d0375ca7310efb77e3ef18d068d53784faf62705e0ad04569597ae0e755c401","impliedFormat":1},{"version":"59af37caec41ecf7b2e76059c9672a49e682c1a2aa6f9d7dc78878f53aa284d6","impliedFormat":1},{"version":"addf417b9eb3f938fddf8d81e96393a165e4be0d4a8b6402292f9c634b1cb00d","impliedFormat":1},{"version":"436d7b4543b340b0f3eef4310d524242e41369b9652aa9c70428767c4dcac455","impliedFormat":1},{"version":"adf27937dba6af9f08a68c5b1d3fce0ca7d4b960c57e6d6c844e7d1a8e53adae","impliedFormat":1},{"version":"12950411eeab8563b349cb7959543d92d8d02c289ed893d78499a19becb5a8cc","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"e99963ae1e3a48ca7a7958c02f3e88bb963eb7978c28b68ae6b8c9f03309d83c","impliedFormat":1},{"version":"c3f5289820990ab66b70c7fb5b63cb674001009ff84b13de40619619a9c8175f","affectsGlobalScope":true,"impliedFormat":1},{"version":"b3275d55fac10b799c9546804126239baf020d220136163f763b55a74e50e750","affectsGlobalScope":true,"impliedFormat":1},{"version":"fa68a0a3b7cb32c00e39ee3cd31f8f15b80cac97dce51b6ee7fc14a1e8deb30b","affectsGlobalScope":true,"impliedFormat":1},{"version":"1cf059eaf468efcc649f8cf6075d3cb98e9a35a0fe9c44419ec3d2f5428d7123","affectsGlobalScope":true,"impliedFormat":1},{"version":"6c36e755bced82df7fb6ce8169265d0a7bb046ab4e2cb6d0da0cb72b22033e89","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7721c4f69f93c91360c26a0a84ee885997d748237ef78ef665b153e622b36c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"7a93de4ff8a63bafe62ba86b89af1df0ccb5e40bb85b0c67d6bbcfdcf96bf3d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"90e85f9bc549dfe2b5749b45fe734144e96cd5d04b38eae244028794e142a77e","affectsGlobalScope":true,"impliedFormat":1},{"version":"e0a5deeb610b2a50a6350bd23df6490036a1773a8a71d70f2f9549ab009e67ee","affectsGlobalScope":true,"impliedFormat":1},{"version":"594ae90cacd813fa392ff80d2e0a8eff4e41f4a136329a940e321399dd8895b4","impliedFormat":1},{"version":"d1f333ade8ff35a409b4984e1f11956fe11c61855b0c7e9b59f0313e48b40c4a","impliedFormat":1},{"version":"0224aa4b3464895d69c413a640a19ac2166778a74eb5eb3b36b021c72d42b274","impliedFormat":1},{"version":"2e6fca0024dd8a076a886d9ec031a936ea59ad878a25b944820495d92f8381dd","affectsGlobalScope":true,"impliedFormat":1},{"version":"47d917e731d06acf182baa38ac2fbd720c3555fa9160e6a40d47994515f7f0ea","impliedFormat":1},{"version":"2fbf504c4791f9d32cd766cfe6b605bcda63289b925401953a7900db9af85348","impliedFormat":1},{"version":"ed0fb633cae35948d9e144004299a4bdf1ab912667c787b7fbffcd6d8c7b92a2","impliedFormat":1},{"version":"1678b04557dca52feab73cc67610918a7f5e25bfdba3e7fa081acd625d93106d","impliedFormat":1},{"version":"aa7b2f4e5f2fced2d34405e729ee7e09903d3330fb896a8b3d44c8fbd16be04d","impliedFormat":1},{"version":"2ea729503db9793f2691162fec3dd1118cab62e96d025f8eeb376d43ec293395","impliedFormat":1},{"version":"98fc7231d6c846a8ed19bdef026ddffe5e2182cc818be74899287421ad370a87","impliedFormat":1},{"version":"e494b286c8e27c52f8c7f945aa80ff223f2a3cd4f7a2619fa8991f1459e26f07","impliedFormat":1},{"version":"f54f5f9e10bbceba7515dfad0ffc89dffdb8d749d0604594c57a725cf6d79c20","impliedFormat":1},{"version":"41d17e1ad9a002feb11c8cdd2777e5bbc0cdb1e3f595d237e4dded0b6949983b","impliedFormat":1},{"version":"8c7e618c2a91ea7f6b5cca272a295864e92c16413be8fc56a943e8c7d5320011","affectsGlobalScope":true,"impliedFormat":1},{"version":"79a85c64bf083c5f4dd7074e804d1000c0c47301b84d48417a224decd681be30","impliedFormat":1},{"version":"6d81823c5704398a68b98e3c7a459334fc0403ad5e6953f4317b5b4919e289e4","impliedFormat":1},{"version":"4f1fd541f720030367b5d7ebfea7ae5f9edc8481422993b9a363f459c5412437","impliedFormat":1},{"version":"baa9cafc61ef8b42b6e8f7a1aa1f75841ec9c9d2f59229277ed282ccb99b72c9","impliedFormat":1},{"version":"af960bc194044cd1f0c8a9857461f0e5fd88a5e33326f38a738d6ef0e1b56fbf","impliedFormat":1},{"version":"2c2bdaa1d8ead9f68628d6d9d250e46ee8e81aa4898b4769a36956ae15e060fe","impliedFormat":1},{"version":"57a0d1b3d59063d4af2d3f8aac27cfe3c20a0f5d1faf0f8598ccf0b779637939","impliedFormat":1},{"version":"5ff4433a2deae4f85ab1377e90a7554ce6b47ae51c69a84ca30a6e22fae85834","impliedFormat":1},{"version":"82b91e4e42e6c41bc7fc1b6c2dc5eba6a2ba98375eb1f210e6ff6bba2d54177e","impliedFormat":1},{"version":"97234c5303866576f913d0ccae7d58d6322d9e803c7bf1228a3fda46ab8087b2","affectsGlobalScope":true,"impliedFormat":1},{"version":"93ecf87143cac7b9d05cffc1d6bdc075b7e4fdd48ff05f1fad85043f6ae678d3","impliedFormat":1},{"version":"73eeb740dacc45adc607a4f59f90fa9dbe2717d93d82f115f45f34e18f8d644a","impliedFormat":1},{"version":"ec501101c2a96133a6c695f934c8f6642149cc728571b29cbb7b770984c1088e","impliedFormat":1},{"version":"b214ebcf76c51b115453f69729ee8aa7b7f8eccdae2a922b568a45c2d7ff52f7","impliedFormat":1},{"version":"429c9cdfa7d126255779efd7e6d9057ced2d69c81859bbab32073bad52e9ba76","impliedFormat":1},{"version":"b17f272f903d155b9ec21791b5889b638977bc1dee181efb2bc317ce006d8c9b","impliedFormat":1},{"version":"1c16d778cc142455f35a3f1a411227b9901c671756338af12a9175958500ce66","affectsGlobalScope":true,"impliedFormat":1},{"version":"230763250f20449fa7b3c9273e1967adb0023dc890d4be1553faca658ee65971","impliedFormat":1},{"version":"c3e9078b60cb329d1221f5878e88cecfa3e74460550e605a58fcfb41a66029ff","impliedFormat":1},{"version":"1940d3dcf5bc8fdaf65d4a6fe08b9c9d6e6481186baec210d6e5ed57ced8c26b","impliedFormat":1},{"version":"441b9bb09013654aa3d050e68b06464d8959b473e85868249d9d18f692acd35b","impliedFormat":1},{"version":"bc18a1991ba681f03e13285fa1d7b99b03b67ee671b7bc936254467177543890","impliedFormat":1},{"version":"55246f15e33ff1e2e9e679b25fa9790a48db55dc63d567fe25fac8b6a0efe911","impliedFormat":1},{"version":"fa94bbf532b7af8f394b95fa310980d6e20bd2d4c871c6a6cb9f70f03750a44b","impliedFormat":1},{"version":"9f979aaeb0e4ab8456942064596786aa2720c1984fea198ae0caa526f77547b1","impliedFormat":1},{"version":"5b26c4dd672d88336bb929787c9bfb55119e80ba89ec6dc923da1c063892843e","affectsGlobalScope":true,"impliedFormat":1},{"version":"7fa2214bb0d64701bc6f9ce8cde2fd2ff8c571e0b23065fa04a8a5a6beb91511","impliedFormat":1},{"version":"79e9c2d48d413b4d1f1c574d604e663231770e8883f53ba5773b32618aefd799","impliedFormat":1},{"version":"f12624a4a8d042b68914eac1b0a16571fc1c523173fcdf2517c65d191bd5a86c","impliedFormat":1},{"version":"b4769767f13a1692a66186e01c3aa186ff808d5ff72ed36eda8c37738fb2ac92","impliedFormat":1},{"version":"841983e39bd4cbb463be385e92fda11057cab368bf27100a801c492f1d86cbaa","impliedFormat":1},{"version":"9b82f9d3cd32399278813e2de0eed4b059d362fbac5222c815e2ab01879893d7","impliedFormat":1},{"version":"1ec3f3a5f04cc42df33274fbe5c0937d9a9e06f249a7a26288d7d54f0763ffd4","impliedFormat":1},{"version":"e4156ddb25aa0e3b5303d372f26957b36778f0f6bbd4326359269873295e3058","affectsGlobalScope":true,"impliedFormat":1},{"version":"cc1b433a84cae05ddc5672d4823170af78606ad21ecef60dbc4570190cbf1357","impliedFormat":1},{"version":"e47f532d6e1617833f13a5b0710c0089d402c89c2f2b54f324e5a20e418d287a","impliedFormat":1},{"version":"7f78cfb2b343838612c192cb251746e3a7c62ac7675726a47e130d9b213f6580","impliedFormat":1},{"version":"201db9cf1687fab1adf5282fcba861f382b32303dc4f67c89d59655e78a25461","impliedFormat":1},{"version":"8e2577e7262051fd3c5bd6ca2b2056d358ff8853565720f92455860824c25188","impliedFormat":1},{"version":"7ec8d7d483f7394f9da611b10d3a0e402f76ff5c991261e6ce43a15f81ca4258","impliedFormat":1},{"version":"bb9dbb4b2ad81e3e71ec5ba4314973718555b9d04ba2a17dfbf875efecb8e2c0","impliedFormat":1},{"version":"9021dc5be8f3a87af5cede29221188a6497e2092b6889e0be212ef6b6b7153e9","impliedFormat":1},{"version":"045a210189ec63c5488410b33f9fca53d77d051599d0d6506d8048551399c5f3","impliedFormat":1},{"version":"99ab6d0d660ce4d21efb52288a39fd35bb3f556980ec5463b1ae8f304a3bbc85","impliedFormat":1},{"version":"632c45ccb4cdc2c3a80c7a36a63dd7763016e59cac5e07bfb3e37e3548957028","impliedFormat":1},{"version":"c9a2daf6cd1eb854cd5b9e424247c5e306692055738c2effd35f7871d942b76e","impliedFormat":1},{"version":"afa1c49f8e559e413d57343339db857d2a8159435cf9cf7d4deb41718fff1b88","impliedFormat":1},{"version":"e50a7130339a951e6da9e968ed5521b0997a5b0479e148914087213839b5474c","impliedFormat":1}],"root":[[91,110]],"options":{"allowUnreachableCode":false,"allowUnusedLabels":false,"composite":true,"declaration":true,"esModuleInterop":true,"module":199,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"noImplicitReturns":true,"noPropertyAccessFromIndexSignature":true,"noUncheckedIndexedAccess":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"strict":true,"target":10,"tsBuildInfoFile":"./.tsbuildinfo","verbatimModuleSyntax":true},"referencedMap":[[174,1],[175,1],[176,2],[112,3],[177,4],[178,5],[179,6],[180,7],[181,8],[182,9],[183,10],[184,11],[185,12],[186,12],[187,13],[188,14],[189,15],[190,16],[191,17],[113,15],[111,15],[192,18],[193,19],[194,20],[236,21],[195,22],[196,23],[197,22],[198,24],[199,25],[200,26],[201,27],[202,27],[203,27],[204,28],[205,29],[206,30],[207,31],[208,32],[209,33],[210,33],[211,34],[212,15],[213,15],[214,35],[215,36],[216,37],[217,38],[218,39],[219,40],[220,41],[221,42],[222,43],[223,44],[224,45],[225,46],[226,47],[227,48],[228,49],[229,50],[230,51],[231,52],[232,53],[114,22],[115,15],[116,54],[117,55],[118,15],[119,56],[120,15],[165,57],[166,58],[167,59],[168,59],[169,60],[170,15],[171,4],[172,61],[173,58],[233,62],[234,63],[235,64],[62,15],[63,15],[12,15],[11,15],[2,15],[13,15],[14,15],[15,15],[16,15],[17,15],[18,15],[19,15],[20,15],[3,15],[21,15],[22,15],[4,15],[23,15],[27,15],[24,15],[25,15],[26,15],[28,15],[29,15],[30,15],[5,15],[31,15],[32,15],[33,15],[34,15],[6,15],[38,15],[35,15],[36,15],[37,15],[39,15],[7,15],[40,15],[45,15],[46,15],[41,15],[42,15],[43,15],[44,15],[8,15],[50,15],[47,15],[48,15],[49,15],[51,15],[9,15],[52,15],[53,15],[54,15],[56,15],[55,15],[57,15],[58,15],[10,15],[59,15],[60,15],[1,15],[61,15],[139,65],[153,66],[136,67],[154,68],[163,69],[127,70],[128,71],[126,72],[162,73],[157,74],[161,75],[130,76],[140,77],[150,78],[129,79],[160,80],[124,81],[125,74],[131,77],[132,15],[138,82],[135,77],[122,83],[164,84],[155,85],[143,86],[142,77],[144,87],[147,88],[141,89],[145,90],[158,73],[133,91],[134,92],[148,93],[123,68],[152,94],[151,77],[137,92],[146,95],[149,96],[156,15],[121,15],[159,97],[66,15],[69,98],[73,15],[75,15],[64,15],[65,99],[70,99],[74,15],[81,15],[80,15],[78,99],[79,99],[90,100],[76,98],[77,98],[83,15],[84,101],[82,15],[85,15],[86,99],[88,102],[87,15],[89,103],[71,104],[68,99],[67,105],[72,99],[99,106],[102,106],[110,107],[106,108],[107,106],[104,109],[108,108],[105,108],[103,110],[92,111],[94,112],[109,113],[93,114],[96,113],[95,115],[91,116],[100,117],[97,118],[98,108],[101,106]],"latestChangedDtsFile":"./index.d.ts","version":"6.0.3"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { AudioTool } from '@ailoud/core';
|
|
2
|
+
export declare class FfmpegAudioTool implements AudioTool {
|
|
3
|
+
private readonly ffmpeg;
|
|
4
|
+
private readonly ffprobe;
|
|
5
|
+
constructor(ffmpeg?: string, ffprobe?: string);
|
|
6
|
+
probe(path: string): Promise<{
|
|
7
|
+
durationMs: number;
|
|
8
|
+
recordedAt: string | null;
|
|
9
|
+
}>;
|
|
10
|
+
toWav16kMono(input: string, output: string): Promise<void>;
|
|
11
|
+
slice(input: string, output: string, startMs: number, endMs: number): Promise<void>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { FailureError, normalizeRecordedAt } from '@ailoud/core';
|
|
2
|
+
import { run } from '../process/run.js';
|
|
3
|
+
// Re-encoding audio re-reads the input and writes a new output. The time
|
|
4
|
+
// depends on audio length, which is the user's, not ours. A long recording
|
|
5
|
+
// legitimately takes minutes to encode. This bound is generous because we
|
|
6
|
+
// cannot know how much work ffmpeg has ahead of it.
|
|
7
|
+
const ENCODE_TIMEOUT_MS = 30 * 60 * 1000;
|
|
8
|
+
export class FfmpegAudioTool {
|
|
9
|
+
ffmpeg;
|
|
10
|
+
ffprobe;
|
|
11
|
+
constructor(ffmpeg = 'ffmpeg', ffprobe = 'ffprobe') {
|
|
12
|
+
this.ffmpeg = ffmpeg;
|
|
13
|
+
this.ffprobe = ffprobe;
|
|
14
|
+
}
|
|
15
|
+
async probe(path) {
|
|
16
|
+
// Reading container metadata should be fast. A tight timeout here signals
|
|
17
|
+
// a real problem like a corrupt file or network issue, which is exactly
|
|
18
|
+
// what a timeout is for.
|
|
19
|
+
const result = await run(this.ffprobe, [
|
|
20
|
+
'-v',
|
|
21
|
+
'error',
|
|
22
|
+
// creation_time comes along for free in the same read. mp4 and mov
|
|
23
|
+
// usually carry it; wav usually does not, which is why the field is
|
|
24
|
+
// nullable rather than required.
|
|
25
|
+
'-show_entries',
|
|
26
|
+
'format=duration:format_tags=creation_time',
|
|
27
|
+
'-of',
|
|
28
|
+
'json',
|
|
29
|
+
path,
|
|
30
|
+
], { timeoutMs: 60_000 });
|
|
31
|
+
if (result.code !== 0) {
|
|
32
|
+
throw new FailureError(`ffprobe could not read ${path}: ${result.stderr.trim()}`);
|
|
33
|
+
}
|
|
34
|
+
const parsed = JSON.parse(result.stdout);
|
|
35
|
+
const seconds = Number(parsed.format?.duration);
|
|
36
|
+
if (!Number.isFinite(seconds)) {
|
|
37
|
+
throw new FailureError(`ffprobe reported no duration for ${path}`);
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
durationMs: Math.round(seconds * 1000),
|
|
41
|
+
// A missing or nonsense tag is not an import failure: the recording is
|
|
42
|
+
// still perfectly usable, it just has no date of its own.
|
|
43
|
+
recordedAt: normalizeRecordedAt(parsed.format?.tags?.creation_time),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
async toWav16kMono(input, output) {
|
|
47
|
+
const result = await run(this.ffmpeg, ['-v', 'error', '-y', '-i', input, '-ac', '1', '-ar', '16000', '-c:a', 'pcm_s16le', output], { timeoutMs: ENCODE_TIMEOUT_MS });
|
|
48
|
+
if (result.code !== 0) {
|
|
49
|
+
throw new FailureError(`ffmpeg could not convert ${input}: ${result.stderr.trim()}`);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
async slice(input, output, startMs, endMs) {
|
|
53
|
+
// -ss and -t in seconds with millisecond precision. Re-encoding rather
|
|
54
|
+
// than stream-copying: a copy can only cut on a container keyframe,
|
|
55
|
+
// which would move the boundary by up to several seconds and undo the
|
|
56
|
+
// midpoint the merge step calculated.
|
|
57
|
+
const start = (startMs / 1000).toFixed(3);
|
|
58
|
+
const duration = ((endMs - startMs) / 1000).toFixed(3);
|
|
59
|
+
const result = await run(this.ffmpeg, [
|
|
60
|
+
'-v',
|
|
61
|
+
'error',
|
|
62
|
+
'-y',
|
|
63
|
+
'-ss',
|
|
64
|
+
start,
|
|
65
|
+
'-t',
|
|
66
|
+
duration,
|
|
67
|
+
'-i',
|
|
68
|
+
input,
|
|
69
|
+
'-ac',
|
|
70
|
+
'1',
|
|
71
|
+
'-ar',
|
|
72
|
+
'16000',
|
|
73
|
+
'-c:a',
|
|
74
|
+
'pcm_s16le',
|
|
75
|
+
output,
|
|
76
|
+
], { timeoutMs: ENCODE_TIMEOUT_MS });
|
|
77
|
+
if (result.code !== 0) {
|
|
78
|
+
throw new FailureError(`ffmpeg could not slice ${input}: ${result.stderr.trim()}`);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { Diarizer, SpeakerTurn } from '@ailoud/core';
|
|
2
|
+
import { run as defaultRunner } from '../process/run.js';
|
|
3
|
+
export declare function parseSpeakerTurns(output: string): SpeakerTurn[];
|
|
4
|
+
export interface SherpaDiarizerOptions {
|
|
5
|
+
readonly binary: string;
|
|
6
|
+
readonly segmentationModel: string;
|
|
7
|
+
readonly embeddingModel: string;
|
|
8
|
+
readonly threshold: number;
|
|
9
|
+
/**
|
|
10
|
+
* Threads for each of the binary's two passes. Required, with no fallback
|
|
11
|
+
* here: the binary's own default is 1, which is half the speed the design
|
|
12
|
+
* measured, and the number belongs to config (`stt.diarization.threads`,
|
|
13
|
+
* where its default and reasoning live) rather than to this adapter, which
|
|
14
|
+
* has no business deciding how much of the user's machine to take.
|
|
15
|
+
*/
|
|
16
|
+
readonly threads: number;
|
|
17
|
+
readonly runner?: typeof defaultRunner;
|
|
18
|
+
}
|
|
19
|
+
export declare class SherpaDiarizer implements Diarizer {
|
|
20
|
+
private readonly options;
|
|
21
|
+
private readonly runner;
|
|
22
|
+
constructor(options: SherpaDiarizerOptions);
|
|
23
|
+
turns(audioPath: string, options?: {
|
|
24
|
+
readonly speakers?: number;
|
|
25
|
+
}): Promise<SpeakerTurn[]>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { FailureError } from '@ailoud/core';
|
|
2
|
+
import { run as defaultRunner } from '../process/run.js';
|
|
3
|
+
// Explicit rather than inherited from the run helper's default, for the same
|
|
4
|
+
// reason whisperVad.ts spells its own out: diarization reads the recording
|
|
5
|
+
// twice (segmentation, then embeddings) but is far cheaper than
|
|
6
|
+
// transcription, so it does not want whisper-cli's six-hour ceiling, and a
|
|
7
|
+
// later change to the helper's default must not silently move this.
|
|
8
|
+
const DIARIZE_TIMEOUT_MS = 60 * 60_000;
|
|
9
|
+
/**
|
|
10
|
+
* One turn line from the diarizer's stdout, e.g.
|
|
11
|
+
* "1.583 -- 3.406 speaker_00". Both times are seconds with three decimals,
|
|
12
|
+
* so both are multiplied by a thousand to reach milliseconds.
|
|
13
|
+
*/
|
|
14
|
+
const TURN_LINE = /^\s*(\d+(?:\.\d+)?)\s*--\s*(\d+(?:\.\d+)?)\s+(speaker_\d+)\s*$/;
|
|
15
|
+
export function parseSpeakerTurns(output) {
|
|
16
|
+
const turns = [];
|
|
17
|
+
for (const line of output.split('\n')) {
|
|
18
|
+
const match = TURN_LINE.exec(line);
|
|
19
|
+
if (match?.[1] === undefined || match[2] === undefined || match[3] === undefined)
|
|
20
|
+
continue;
|
|
21
|
+
turns.push({
|
|
22
|
+
startMs: Math.round(Number(match[1]) * 1000),
|
|
23
|
+
endMs: Math.round(Number(match[2]) * 1000),
|
|
24
|
+
speaker: match[3],
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
return turns;
|
|
28
|
+
}
|
|
29
|
+
export class SherpaDiarizer {
|
|
30
|
+
options;
|
|
31
|
+
runner;
|
|
32
|
+
constructor(options) {
|
|
33
|
+
this.options = options;
|
|
34
|
+
this.runner = options.runner ?? defaultRunner;
|
|
35
|
+
}
|
|
36
|
+
async turns(audioPath, options = {}) {
|
|
37
|
+
const args = [
|
|
38
|
+
`--segmentation.pyannote-model=${this.options.segmentationModel}`,
|
|
39
|
+
`--embedding.model=${this.options.embeddingModel}`,
|
|
40
|
+
// Both passes, always passed explicitly: omitting them leaves the
|
|
41
|
+
// binary on its own single-threaded default, which is roughly half the
|
|
42
|
+
// speed every published figure for this feature was measured at.
|
|
43
|
+
`--segmentation.num-threads=${this.options.threads}`,
|
|
44
|
+
`--embedding.num-threads=${this.options.threads}`,
|
|
45
|
+
// Given a count, the tool ignores the threshold entirely. Measurements
|
|
46
|
+
// during the design spike showed an explicit count is exact where the
|
|
47
|
+
// threshold only guesses, so pass it whenever the caller supplied one.
|
|
48
|
+
...(options.speakers === undefined
|
|
49
|
+
? [`--clustering.cluster-threshold=${this.options.threshold}`]
|
|
50
|
+
: [`--clustering.num-clusters=${options.speakers}`]),
|
|
51
|
+
audioPath,
|
|
52
|
+
];
|
|
53
|
+
const result = await this.runner(this.options.binary, args, {
|
|
54
|
+
timeoutMs: DIARIZE_TIMEOUT_MS,
|
|
55
|
+
});
|
|
56
|
+
if (result.code !== 0) {
|
|
57
|
+
throw new FailureError(`speaker diarization failed: ${result.stderr.trim() || `exit ${result.code}`}`);
|
|
58
|
+
}
|
|
59
|
+
// Unlike whisperVad.ts's zero-spans case, zero turns here is not an
|
|
60
|
+
// error worth throwing on: no speech means nothing to transcribe, but no
|
|
61
|
+
// speaker attribution still leaves a usable transcript as the product.
|
|
62
|
+
return parseSpeakerTurns(result.stdout);
|
|
63
|
+
}
|
|
64
|
+
}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export { SqliteStore, openStore } from './store/sqliteStore.js';
|
|
2
|
+
export { run, runInteractive } from './process/run.js';
|
|
3
|
+
export type { RunResult, RunOptions } from './process/run.js';
|
|
4
|
+
export { detectPackageManager, ffmpegInstallCommands, formatInstallCommand, whisperInstallCommands, } from './provision/packageManager.js';
|
|
5
|
+
export type { PackageManager, InstallCommand, BinaryProbe } from './provision/packageManager.js';
|
|
6
|
+
export { downloadFile } from './provision/download.js';
|
|
7
|
+
export type { DownloadOptions } from './provision/download.js';
|
|
8
|
+
export { WHISPER_TAG, whisperTarballUrl, installWhisper } from './provision/whisperInstall.js';
|
|
9
|
+
export type { InstallWhisperOptions, InstallWhisperResult, WhisperPaths, } from './provision/whisperInstall.js';
|
|
10
|
+
export { SHERPA_VERSION, sherpaTarballUrl, installSherpa } from './provision/sherpaInstall.js';
|
|
11
|
+
export type { InstallSherpaOptions } from './provision/sherpaInstall.js';
|
|
12
|
+
export { NodeFs } from './system/nodeFs.js';
|
|
13
|
+
export { SystemClock, UlidIds } from './system/systemClock.js';
|
|
14
|
+
export { FfmpegAudioTool } from './audio/ffmpeg.js';
|
|
15
|
+
export { WhisperCppProvider, parseWhisperJson } from './stt/whisperCpp.js';
|
|
16
|
+
export type { WhisperCppOptions } from './stt/whisperCpp.js';
|
|
17
|
+
export { WhisperVadSegmenter, parseVadSegments } from './vad/whisperVad.js';
|
|
18
|
+
export type { WhisperVadOptions } from './vad/whisperVad.js';
|
|
19
|
+
export { SherpaDiarizer, parseSpeakerTurns } from './diarize/sherpaDiarizer.js';
|
|
20
|
+
export type { SherpaDiarizerOptions } from './diarize/sherpaDiarizer.js';
|
|
21
|
+
export { PAGER_LINE_THRESHOLD, page, shouldPage } from './process/pager.js';
|
|
22
|
+
export { LlamaCppSummarizer, cleanCompletion } from './llm/llamaCpp.js';
|
|
23
|
+
export type { LlamaCppOptions } from './llm/llamaCpp.js';
|
|
24
|
+
export { OpenAiCompatibleSummarizer, extractCompletion } from './llm/openAiCompatible.js';
|
|
25
|
+
export type { OpenAiCompatibleOptions } from './llm/openAiCompatible.js';
|
|
26
|
+
export { AnthropicSummarizer, extractAnthropicText } from './llm/anthropic.js';
|
|
27
|
+
export type { AnthropicOptions } from './llm/anthropic.js';
|
|
28
|
+
export { ClaudeCliSummarizer } from './llm/claudeCli.js';
|
|
29
|
+
export type { ClaudeCliOptions } from './llm/claudeCli.js';
|
|
30
|
+
export { listOpenAiModels, listAnthropicModels, isChatModel } from './llm/models.js';
|
|
31
|
+
export type { ModelOption } from './llm/models.js';
|
|
32
|
+
export { LLAMA_VERSION, installLlama, llamaTarballUrl } from './provision/llamaInstall.js';
|
|
33
|
+
export type { InstallLlamaOptions, InstallLlamaResult } from './provision/llamaInstall.js';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export { SqliteStore, openStore } from './store/sqliteStore.js';
|
|
2
|
+
export { run, runInteractive } from './process/run.js';
|
|
3
|
+
export { detectPackageManager, ffmpegInstallCommands, formatInstallCommand, whisperInstallCommands, } from './provision/packageManager.js';
|
|
4
|
+
export { downloadFile } from './provision/download.js';
|
|
5
|
+
export { WHISPER_TAG, whisperTarballUrl, installWhisper } from './provision/whisperInstall.js';
|
|
6
|
+
export { SHERPA_VERSION, sherpaTarballUrl, installSherpa } from './provision/sherpaInstall.js';
|
|
7
|
+
export { NodeFs } from './system/nodeFs.js';
|
|
8
|
+
export { SystemClock, UlidIds } from './system/systemClock.js';
|
|
9
|
+
export { FfmpegAudioTool } from './audio/ffmpeg.js';
|
|
10
|
+
export { WhisperCppProvider, parseWhisperJson } from './stt/whisperCpp.js';
|
|
11
|
+
export { WhisperVadSegmenter, parseVadSegments } from './vad/whisperVad.js';
|
|
12
|
+
export { SherpaDiarizer, parseSpeakerTurns } from './diarize/sherpaDiarizer.js';
|
|
13
|
+
export { PAGER_LINE_THRESHOLD, page, shouldPage } from './process/pager.js';
|
|
14
|
+
export { LlamaCppSummarizer, cleanCompletion } from './llm/llamaCpp.js';
|
|
15
|
+
export { OpenAiCompatibleSummarizer, extractCompletion } from './llm/openAiCompatible.js';
|
|
16
|
+
export { AnthropicSummarizer, extractAnthropicText } from './llm/anthropic.js';
|
|
17
|
+
export { ClaudeCliSummarizer } from './llm/claudeCli.js';
|
|
18
|
+
export { listOpenAiModels, listAnthropicModels, isChatModel } from './llm/models.js';
|
|
19
|
+
export { LLAMA_VERSION, installLlama, llamaTarballUrl } from './provision/llamaInstall.js';
|