@bendyline/gezel-capacitor 0.0.0-stage → 1.0.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/LICENSE +21 -0
- package/Package.swift +26 -0
- package/README.md +230 -2
- package/android/build.gradle +30 -0
- package/android/src/main/AndroidManifest.xml +1 -0
- package/android/src/main/java/com/bendyline/gezel/capacitor/GezelKnowledgePlugin.java +153 -0
- package/android/src/main/java/com/bendyline/gezel/capacitor/GezelOfflineSpeechPlugin.java +216 -0
- package/android/src/main/java/com/bendyline/gezel/capacitor/GezelRuntimePlugin.java +84 -0
- package/android/src/main/java/com/bendyline/gezel/capacitor/KnowledgeFiles.java +101 -0
- package/android/src/main/java/com/bendyline/gezel/capacitor/SpeechModels.java +230 -0
- package/android/src/main/java/com/bendyline/gezel/speech/SpeechRuntime.java +38 -0
- package/dist/index.d.ts +561 -0
- package/dist/index.js +7512 -0
- package/dist/knowledge-worker.js +211 -0
- package/dist/licenses/npm/manifest.json +76 -0
- package/dist/licenses/npm/texts/1583809bf1155510d2961f94aa9bca6dc4b44b6f59fd773de33bd6c20860d781.txt +29 -0
- package/dist/licenses/npm/texts/1cd39aa4a566eba49eb206b969ef423295e79b50503df567bbdb2e8877d78892.txt +8 -0
- package/dist/licenses/npm/texts/3f1189b28e3866e0d979968d466b78f813f76827cfdca1fbb124cc0a5c8841f8.txt +21 -0
- package/dist/licenses/npm/texts/5b37224c080cdcc97c871ada971c224e9926370fe74f11b539aa1cf9f3b1aca1.txt +21 -0
- package/dist/licenses/npm/texts/c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4.txt +201 -0
- package/dist/sqlite3.wasm +0 -0
- package/embedding-manifest.json +210 -0
- package/ios/Sources/GezelCapacitor/GezelKnowledgePlugin.swift +200 -0
- package/ios/Sources/GezelCapacitor/GezelOfflineSpeechPlugin.swift +484 -0
- package/ios/Sources/GezelCapacitor/GezelRuntimePlugin.swift +102 -0
- package/kokoro-lexicon/LICENSE +202 -0
- package/kokoro-lexicon/lexicon-gb-en.txt.gz +0 -0
- package/kokoro-lexicon/lexicon-us-en.txt.gz +0 -0
- package/native/android/LICENSE-gezel.txt +21 -0
- package/native/android/PUBLIC-DISTRIBUTION.md +97 -0
- package/native/android/THIRD_PARTY_LICENSES/LICENSE-arm-optimized-routines-MIT-OR-Apache-2.0.txt +249 -0
- package/native/android/THIRD_PARTY_LICENSES/LICENSE-cpp-httplib-MIT.txt +22 -0
- package/native/android/THIRD_PARTY_LICENSES/LICENSE-fp16-MIT.txt +11 -0
- package/native/android/THIRD_PARTY_LICENSES/LICENSE-ggml-MIT.txt +21 -0
- package/native/android/THIRD_PARTY_LICENSES/LICENSE-llama-cpp-llamafile-sgemm-MIT.txt +21 -0
- package/native/android/THIRD_PARTY_LICENSES/LICENSE-llama-cpp-openvino-APACHE.txt +201 -0
- package/native/android/THIRD_PARTY_LICENSES/LICENSE-llama-cpp-pillow-MIT-CMU.txt +30 -0
- package/native/android/THIRD_PARTY_LICENSES/LICENSE-llama-cpp-rotate-bits-MIT.txt +21 -0
- package/native/android/THIRD_PARTY_LICENSES/LICENSE-llama-cpp-unicode-data-Unicode-3.0.txt +39 -0
- package/native/android/THIRD_PARTY_LICENSES/LICENSE-nlohmann-json-MIT.txt +21 -0
- package/native/android/THIRD_PARTY_LICENSES/LICENSE-nvidia-cub-BSD-3-Clause.txt +24 -0
- package/native/android/THIRD_PARTY_LICENSES/LICENSE-vulkan-headers-Apache-2.0-OR-MIT.txt +33 -0
- package/native/android/THIRD_PARTY_LICENSES/LICENSE-vulkan-loader-APACHE.txt +201 -0
- package/native/android/THIRD_PARTY_LICENSES/LICENSE-vulkan-loader-cjson-MIT.txt +32 -0
- package/native/android/THIRD_PARTY_LICENSES/LICENSE-yarn-MIT.txt +21 -0
- package/native/android/THIRD_PARTY_LICENSES/manifest.json +21 -0
- package/native/android/engine-manifest.json +88 -0
- package/native/android/maven/com/bendyline/gezel/gezel-llama/0.1.57/gezel-llama-0.1.57.aar +0 -0
- package/native/android/maven/com/bendyline/gezel/gezel-llama/0.1.57/gezel-llama-0.1.57.aar.sha256 +1 -0
- package/native/android/maven/com/bendyline/gezel/gezel-llama/0.1.57/gezel-llama-0.1.57.pom +8 -0
- package/native/android/maven/com/bendyline/gezel/gezel-llama/0.1.57/gezel-llama-0.1.57.pom.sha256 +1 -0
- package/native/android/maven/com/bendyline/gezel/gezel-runtime/0.1.57/gezel-runtime-0.1.57-sources.jar +0 -0
- package/native/android/maven/com/bendyline/gezel/gezel-runtime/0.1.57/gezel-runtime-0.1.57-sources.jar.md5 +1 -0
- package/native/android/maven/com/bendyline/gezel/gezel-runtime/0.1.57/gezel-runtime-0.1.57-sources.jar.sha1 +1 -0
- package/native/android/maven/com/bendyline/gezel/gezel-runtime/0.1.57/gezel-runtime-0.1.57-sources.jar.sha256 +1 -0
- package/native/android/maven/com/bendyline/gezel/gezel-runtime/0.1.57/gezel-runtime-0.1.57-sources.jar.sha512 +1 -0
- package/native/android/maven/com/bendyline/gezel/gezel-runtime/0.1.57/gezel-runtime-0.1.57.aar +0 -0
- package/native/android/maven/com/bendyline/gezel/gezel-runtime/0.1.57/gezel-runtime-0.1.57.aar.md5 +1 -0
- package/native/android/maven/com/bendyline/gezel/gezel-runtime/0.1.57/gezel-runtime-0.1.57.aar.sha1 +1 -0
- package/native/android/maven/com/bendyline/gezel/gezel-runtime/0.1.57/gezel-runtime-0.1.57.aar.sha256 +1 -0
- package/native/android/maven/com/bendyline/gezel/gezel-runtime/0.1.57/gezel-runtime-0.1.57.aar.sha512 +1 -0
- package/native/android/maven/com/bendyline/gezel/gezel-runtime/0.1.57/gezel-runtime-0.1.57.module +118 -0
- package/native/android/maven/com/bendyline/gezel/gezel-runtime/0.1.57/gezel-runtime-0.1.57.module.md5 +1 -0
- package/native/android/maven/com/bendyline/gezel/gezel-runtime/0.1.57/gezel-runtime-0.1.57.module.sha1 +1 -0
- package/native/android/maven/com/bendyline/gezel/gezel-runtime/0.1.57/gezel-runtime-0.1.57.module.sha256 +1 -0
- package/native/android/maven/com/bendyline/gezel/gezel-runtime/0.1.57/gezel-runtime-0.1.57.module.sha512 +1 -0
- package/native/android/maven/com/bendyline/gezel/gezel-runtime/0.1.57/gezel-runtime-0.1.57.pom +51 -0
- package/native/android/maven/com/bendyline/gezel/gezel-runtime/0.1.57/gezel-runtime-0.1.57.pom.md5 +1 -0
- package/native/android/maven/com/bendyline/gezel/gezel-runtime/0.1.57/gezel-runtime-0.1.57.pom.sha1 +1 -0
- package/native/android/maven/com/bendyline/gezel/gezel-runtime/0.1.57/gezel-runtime-0.1.57.pom.sha256 +1 -0
- package/native/android/maven/com/bendyline/gezel/gezel-runtime/0.1.57/gezel-runtime-0.1.57.pom.sha512 +1 -0
- package/native/android/maven/com/bendyline/gezel/gezel-runtime/maven-metadata.xml +13 -0
- package/native/android/maven/com/bendyline/gezel/gezel-runtime/maven-metadata.xml.md5 +1 -0
- package/native/android/maven/com/bendyline/gezel/gezel-runtime/maven-metadata.xml.sha1 +1 -0
- package/native/android/maven/com/bendyline/gezel/gezel-runtime/maven-metadata.xml.sha256 +1 -0
- package/native/android/maven/com/bendyline/gezel/gezel-runtime/maven-metadata.xml.sha512 +1 -0
- package/native/android/sdk-manifest.json +98 -0
- package/native/ios/GezelLlama.xcframework/Info.plist +47 -0
- package/native/ios/GezelLlama.xcframework/ios-arm64/Headers/gezel_llama.h +290 -0
- package/native/ios/GezelLlama.xcframework/ios-arm64/Headers/module.modulemap +9 -0
- package/native/ios/GezelLlama.xcframework/ios-arm64/libGezelLlama.a +0 -0
- package/native/ios/GezelLlama.xcframework/ios-arm64-simulator/Headers/gezel_llama.h +290 -0
- package/native/ios/GezelLlama.xcframework/ios-arm64-simulator/Headers/module.modulemap +9 -0
- package/native/ios/GezelLlama.xcframework/ios-arm64-simulator/libGezelLlama.a +0 -0
- package/native/ios/LICENSE-gezel.txt +21 -0
- package/native/ios/LICENSE-ggml.txt +21 -0
- package/native/ios/LICENSE-llama-cpp.txt +21 -0
- package/native/ios/PUBLIC-DISTRIBUTION.md +97 -0
- package/native/ios/Package.swift +17 -0
- package/native/ios/Sources/GezelModelStorage/MobileModelStore.swift +286 -0
- package/native/ios/Sources/GezelModelStorage/ModelDownloadHTTP.swift +55 -0
- package/native/ios/Sources/GezelModelStorage/ModelDownloadSource.swift +46 -0
- package/native/ios/Sources/GezelModelStorage/ModelDownloads.swift +289 -0
- package/native/ios/Sources/GezelModelStorage/PrivacyInfo.xcprivacy +32 -0
- package/native/ios/Sources/GezelRuntime/AppleFoundationProvider.swift +292 -0
- package/native/ios/Sources/GezelRuntime/AppleNativeTools.swift +152 -0
- package/native/ios/Sources/GezelRuntime/GezelNativeRuntime.swift +1349 -0
- package/native/ios/Sources/GezelRuntime/NativeCall.swift +35 -0
- package/native/ios/Sources/GezelRuntime/PrivacyInfo.xcprivacy +31 -0
- package/native/ios/THIRD_PARTY_LICENSES/LICENSE-arm-optimized-routines-MIT-OR-Apache-2.0.txt +249 -0
- package/native/ios/THIRD_PARTY_LICENSES/LICENSE-cpp-httplib-MIT.txt +22 -0
- package/native/ios/THIRD_PARTY_LICENSES/LICENSE-fp16-MIT.txt +11 -0
- package/native/ios/THIRD_PARTY_LICENSES/LICENSE-ggml-MIT.txt +21 -0
- package/native/ios/THIRD_PARTY_LICENSES/LICENSE-llama-cpp-llamafile-sgemm-MIT.txt +21 -0
- package/native/ios/THIRD_PARTY_LICENSES/LICENSE-llama-cpp-openvino-APACHE.txt +201 -0
- package/native/ios/THIRD_PARTY_LICENSES/LICENSE-llama-cpp-pillow-MIT-CMU.txt +30 -0
- package/native/ios/THIRD_PARTY_LICENSES/LICENSE-llama-cpp-rotate-bits-MIT.txt +21 -0
- package/native/ios/THIRD_PARTY_LICENSES/LICENSE-llama-cpp-unicode-data-Unicode-3.0.txt +39 -0
- package/native/ios/THIRD_PARTY_LICENSES/LICENSE-nlohmann-json-MIT.txt +21 -0
- package/native/ios/THIRD_PARTY_LICENSES/LICENSE-nvidia-cub-BSD-3-Clause.txt +24 -0
- package/native/ios/THIRD_PARTY_LICENSES/LICENSE-vulkan-headers-Apache-2.0-OR-MIT.txt +33 -0
- package/native/ios/THIRD_PARTY_LICENSES/LICENSE-vulkan-loader-APACHE.txt +201 -0
- package/native/ios/THIRD_PARTY_LICENSES/LICENSE-vulkan-loader-cjson-MIT.txt +32 -0
- package/native/ios/THIRD_PARTY_LICENSES/LICENSE-yarn-MIT.txt +21 -0
- package/native/ios/THIRD_PARTY_LICENSES/manifest.json +21 -0
- package/native/ios/engine-manifest.json +102 -0
- package/native/ios/sdk-manifest.json +89 -0
- package/package.json +94 -3
- package/scripts/embedding-package.d.mts +23 -0
- package/scripts/embedding-package.mjs +185 -0
- package/scripts/stage-native.mjs +168 -0
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Bendyline
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
# Public mobile SDK distribution
|
|
2
|
+
|
|
3
|
+
Reviewed 2026-10-04 against the sources linked below. These packages are reusable
|
|
4
|
+
libraries for Gezel and other developers' apps. Publishing the SDK does not
|
|
5
|
+
publish a consuming app's source, store listing, provisioning profile, or keys.
|
|
6
|
+
It does publish Gezel's included Swift/Java runtime sources and native libraries.
|
|
7
|
+
|
|
8
|
+
## Contents and integration
|
|
9
|
+
|
|
10
|
+
`gezel-mobile-<version>-ios.tar.gz` contains a local Swift package: the shared
|
|
11
|
+
Apple Foundation Models adapter, model storage, and a static llama.cpp
|
|
12
|
+
XCFramework with device and simulator slices. Extract it and add the folder as
|
|
13
|
+
a package dependency in Xcode. Keep both Swift targets' privacy resource bundles.
|
|
14
|
+
Apple's framework and model weights are supplied by the OS, not redistributed
|
|
15
|
+
in this package. Availability still depends on device, OS and Apple Intelligence
|
|
16
|
+
readiness.
|
|
17
|
+
|
|
18
|
+
`gezel-mobile-<version>-android.tar.gz` contains a folder Maven repository.
|
|
19
|
+
Add its `maven/` folder as a repository and depend on
|
|
20
|
+
`com.bendyline.gezel:gezel-runtime:<version>`. Retain the POM and Gradle module
|
|
21
|
+
metadata: they resolve `gezel-llama` from the same repository and ML Kit / Kotlin
|
|
22
|
+
dependencies from Google's Maven repository and Maven Central. This includes
|
|
23
|
+
the `android-mlkit` adapter, not Gemini Nano weights or a repackaged Google SDK.
|
|
24
|
+
The published native engine currently targets arm64-v8a.
|
|
25
|
+
|
|
26
|
+
These packages exclude Gezel's web app, Capacitor, speech packs, test models,
|
|
27
|
+
APKs, AABs and Xcode app archives. They contain a file inventory, source commit,
|
|
28
|
+
engine provenance and license notices. Native release `SHA256SUMS` and build
|
|
29
|
+
attestations cover them alongside the desktop archives. Verify those against
|
|
30
|
+
the trusted release before using the SDK; its internal inventory alone is not
|
|
31
|
+
an authenticity guarantee.
|
|
32
|
+
|
|
33
|
+
## Signing and store submissions
|
|
34
|
+
|
|
35
|
+
The mobile SDKs are **unsigned libraries**. No signing secrets are passed to
|
|
36
|
+
the mobile workflow. Desktop Developer ID / Authenticode signing remains a
|
|
37
|
+
separate operation on desktop executables. Each consuming developer builds and
|
|
38
|
+
signs their own app using their own team, bundle ID and store credentials.
|
|
39
|
+
Android libraries use AARs; app signing applies to the resulting app package.
|
|
40
|
+
See [Android library distribution](https://developer.android.com/studio/projects/android-library)
|
|
41
|
+
and [Android app signing](https://developer.android.com/studio/publish/app-signing).
|
|
42
|
+
|
|
43
|
+
Apple explicitly supports public binary framework distribution through Swift
|
|
44
|
+
packages. An SDK producer signature, when used, establishes origin and update
|
|
45
|
+
continuity; it does not require sharing the producer's private key or using
|
|
46
|
+
that identity to sign the consuming app. See
|
|
47
|
+
[Apple's binary package distribution guide](https://developer.apple.com/documentation/xcode/distributing-binary-frameworks-as-swift-packages)
|
|
48
|
+
and [SDK signature requirements](https://developer.apple.com/support/third-party-SDK-requirements/).
|
|
49
|
+
|
|
50
|
+
Gezel and llama.cpp are not on Apple's current required-signature SDK list.
|
|
51
|
+
Capacitor is listed, but is a separate dependency and is not bundled here.
|
|
52
|
+
Consumers must preserve its applicable privacy/signature requirements; adding
|
|
53
|
+
or repackaging another listed SDK requires revisiting the release policy.
|
|
54
|
+
|
|
55
|
+
Both Swift targets include `PrivacyInfo.xcprivacy`. The runtime declares local
|
|
56
|
+
model-file metadata and elapsed-time measurement (including the linked llama
|
|
57
|
+
engine). Model storage declares metadata for sandbox/user-selected files and
|
|
58
|
+
free-space checks before imports/downloads. No tracking or collected data is
|
|
59
|
+
declared by these iOS libraries. The embedding app remains responsible for its
|
|
60
|
+
own behavior, other SDKs, privacy labels and final archive validation. See
|
|
61
|
+
[required-reason API declarations](https://developer.apple.com/documentation/bundleresources/describing-use-of-required-reason-api)
|
|
62
|
+
and [approved reasons](https://developer.apple.com/documentation/bundleresources/app-privacy-configuration/nsprivacyaccessedapitypes/nsprivacyaccessedapitypereasons).
|
|
63
|
+
|
|
64
|
+
## License and provider terms
|
|
65
|
+
|
|
66
|
+
Gezel, llama.cpp and ggml use MIT licenses, whose notices are included. MIT
|
|
67
|
+
permits public redistribution and use within proprietary apps while preserving
|
|
68
|
+
its notices. `THIRD_PARTY_LICENSES/` preserves the shared, commit-bound llama.cpp
|
|
69
|
+
notice inventory, including JSON, Unicode and optimized math dependencies.
|
|
70
|
+
That conservative inventory also names optional desktop backends; it does not
|
|
71
|
+
mean those backends are included in mobile builds. Android engine AARs carry the NDK and toolchain notices for
|
|
72
|
+
their bundled runtime libraries. An app's own source need not become public
|
|
73
|
+
because it uses these SDKs. Model weights have separate licenses and are not
|
|
74
|
+
included. The repository LICENSE and the package's LICENSE/NOTICE files are the
|
|
75
|
+
authoritative grants; this guide does not replace them. Preserve these notices
|
|
76
|
+
in the consuming app's third-party acknowledgements, including the texts outside
|
|
77
|
+
the Swift package resources / Android AARs.
|
|
78
|
+
|
|
79
|
+
Using ML Kit requires compliance with Google's API and ML Kit terms. The current
|
|
80
|
+
[GenAI additional terms](https://developers.google.com/ml-kit/genai-terms)
|
|
81
|
+
restrict clients directed at or likely accessed by people under 18, restrict
|
|
82
|
+
competing model/API products and model extraction, and prohibit production use
|
|
83
|
+
of services designated Preview/Experimental or similarly. Review the exact
|
|
84
|
+
Prompt API designation and intended app before a production release; a beta
|
|
85
|
+
dependency version alone is not a store approval. Safety and permitted-use
|
|
86
|
+
restrictions also apply. A general-audience app must resolve the age restriction
|
|
87
|
+
before enabling this adapter in production.
|
|
88
|
+
|
|
89
|
+
ML Kit processes inputs on-device but sends performance/utilization metrics to
|
|
90
|
+
Google; consumers must inform their users as required. Retain the dependency's
|
|
91
|
+
licenses and account for this behavior in the app's disclosures. See
|
|
92
|
+
[ML Kit Terms & Privacy](https://developers.google.com/ml-kit/terms).
|
|
93
|
+
|
|
94
|
+
Public SDK hosting is compatible with proprietary store apps; it is not blanket
|
|
95
|
+
App Store / Play approval or an exemption from provider terms. The coordinated
|
|
96
|
+
native workflow creates a draft. Store signing, device/provider qualification,
|
|
97
|
+
app submission and publication remain separate release decisions.
|
package/native/android/THIRD_PARTY_LICENSES/LICENSE-arm-optimized-routines-MIT-OR-Apache-2.0.txt
ADDED
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
MIT OR Apache-2.0 WITH LLVM-exception
|
|
2
|
+
=====================================
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
MIT License
|
|
6
|
+
-----------
|
|
7
|
+
|
|
8
|
+
Copyright (c) 1999-2022, Arm Limited.
|
|
9
|
+
|
|
10
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
11
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
12
|
+
in the Software without restriction, including without limitation the rights
|
|
13
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
14
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
15
|
+
furnished to do so, subject to the following conditions:
|
|
16
|
+
|
|
17
|
+
The above copyright notice and this permission notice shall be included in all
|
|
18
|
+
copies or substantial portions of the Software.
|
|
19
|
+
|
|
20
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
21
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
22
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
23
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
24
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
25
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
26
|
+
SOFTWARE.
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
Apache-2.0 WITH LLVM-exception
|
|
30
|
+
------------------------------
|
|
31
|
+
|
|
32
|
+
Apache License
|
|
33
|
+
Version 2.0, January 2004
|
|
34
|
+
http://www.apache.org/licenses/
|
|
35
|
+
|
|
36
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
37
|
+
|
|
38
|
+
1. Definitions.
|
|
39
|
+
|
|
40
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
41
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
42
|
+
|
|
43
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
44
|
+
the copyright owner that is granting the License.
|
|
45
|
+
|
|
46
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
47
|
+
other entities that control, are controlled by, or are under common
|
|
48
|
+
control with that entity. For the purposes of this definition,
|
|
49
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
50
|
+
direction or management of such entity, whether by contract or
|
|
51
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
52
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
53
|
+
|
|
54
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
55
|
+
exercising permissions granted by this License.
|
|
56
|
+
|
|
57
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
58
|
+
including but not limited to software source code, documentation
|
|
59
|
+
source, and configuration files.
|
|
60
|
+
|
|
61
|
+
"Object" form shall mean any form resulting from mechanical
|
|
62
|
+
transformation or translation of a Source form, including but
|
|
63
|
+
not limited to compiled object code, generated documentation,
|
|
64
|
+
and conversions to other media types.
|
|
65
|
+
|
|
66
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
67
|
+
Object form, made available under the License, as indicated by a
|
|
68
|
+
copyright notice that is included in or attached to the work
|
|
69
|
+
(an example is provided in the Appendix below).
|
|
70
|
+
|
|
71
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
72
|
+
form, that is based on (or derived from) the Work and for which the
|
|
73
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
74
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
75
|
+
of this License, Derivative Works shall not include works that remain
|
|
76
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
77
|
+
the Work and Derivative Works thereof.
|
|
78
|
+
|
|
79
|
+
"Contribution" shall mean any work of authorship, including
|
|
80
|
+
the original version of the Work and any modifications or additions
|
|
81
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
82
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
83
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
84
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
85
|
+
means any form of electronic, verbal, or written communication sent
|
|
86
|
+
to the Licensor or its representatives, including but not limited to
|
|
87
|
+
communication on electronic mailing lists, source code control systems,
|
|
88
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
89
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
90
|
+
excluding communication that is conspicuously marked or otherwise
|
|
91
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
92
|
+
|
|
93
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
94
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
95
|
+
subsequently incorporated within the Work.
|
|
96
|
+
|
|
97
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
98
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
99
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
100
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
101
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
102
|
+
Work and such Derivative Works in Source or Object form.
|
|
103
|
+
|
|
104
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
105
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
106
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
107
|
+
(except as stated in this section) patent license to make, have made,
|
|
108
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
109
|
+
where such license applies only to those patent claims licensable
|
|
110
|
+
by such Contributor that are necessarily infringed by their
|
|
111
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
112
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
113
|
+
institute patent litigation against any entity (including a
|
|
114
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
115
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
116
|
+
or contributory patent infringement, then any patent licenses
|
|
117
|
+
granted to You under this License for that Work shall terminate
|
|
118
|
+
as of the date such litigation is filed.
|
|
119
|
+
|
|
120
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
121
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
122
|
+
modifications, and in Source or Object form, provided that You
|
|
123
|
+
meet the following conditions:
|
|
124
|
+
|
|
125
|
+
(a) You must give any other recipients of the Work or
|
|
126
|
+
Derivative Works a copy of this License; and
|
|
127
|
+
|
|
128
|
+
(b) You must cause any modified files to carry prominent notices
|
|
129
|
+
stating that You changed the files; and
|
|
130
|
+
|
|
131
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
132
|
+
that You distribute, all copyright, patent, trademark, and
|
|
133
|
+
attribution notices from the Source form of the Work,
|
|
134
|
+
excluding those notices that do not pertain to any part of
|
|
135
|
+
the Derivative Works; and
|
|
136
|
+
|
|
137
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
138
|
+
distribution, then any Derivative Works that You distribute must
|
|
139
|
+
include a readable copy of the attribution notices contained
|
|
140
|
+
within such NOTICE file, excluding those notices that do not
|
|
141
|
+
pertain to any part of the Derivative Works, in at least one
|
|
142
|
+
of the following places: within a NOTICE text file distributed
|
|
143
|
+
as part of the Derivative Works; within the Source form or
|
|
144
|
+
documentation, if provided along with the Derivative Works; or,
|
|
145
|
+
within a display generated by the Derivative Works, if and
|
|
146
|
+
wherever such third-party notices normally appear. The contents
|
|
147
|
+
of the NOTICE file are for informational purposes only and
|
|
148
|
+
do not modify the License. You may add Your own attribution
|
|
149
|
+
notices within Derivative Works that You distribute, alongside
|
|
150
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
151
|
+
that such additional attribution notices cannot be construed
|
|
152
|
+
as modifying the License.
|
|
153
|
+
|
|
154
|
+
You may add Your own copyright statement to Your modifications and
|
|
155
|
+
may provide additional or different license terms and conditions
|
|
156
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
157
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
158
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
159
|
+
the conditions stated in this License.
|
|
160
|
+
|
|
161
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
162
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
163
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
164
|
+
this License, without any additional terms or conditions.
|
|
165
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
166
|
+
the terms of any separate license agreement you may have executed
|
|
167
|
+
with Licensor regarding such Contributions.
|
|
168
|
+
|
|
169
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
170
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
171
|
+
except as required for reasonable and customary use in describing the
|
|
172
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
173
|
+
|
|
174
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
175
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
176
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
177
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
178
|
+
implied, including, without limitation, any warranties or conditions
|
|
179
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
180
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
181
|
+
appropriateness of using or redistributing the Work and assume any
|
|
182
|
+
risks associated with Your exercise of permissions under this License.
|
|
183
|
+
|
|
184
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
185
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
186
|
+
unless required by applicable law (such as deliberate and grossly
|
|
187
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
188
|
+
liable to You for damages, including any direct, indirect, special,
|
|
189
|
+
incidental, or consequential damages of any character arising as a
|
|
190
|
+
result of this License or out of the use or inability to use the
|
|
191
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
192
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
193
|
+
other commercial damages or losses), even if such Contributor
|
|
194
|
+
has been advised of the possibility of such damages.
|
|
195
|
+
|
|
196
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
197
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
198
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
199
|
+
or other liability obligations and/or rights consistent with this
|
|
200
|
+
License. However, in accepting such obligations, You may act only
|
|
201
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
202
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
203
|
+
defend, and hold each Contributor harmless for any liability
|
|
204
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
205
|
+
of your accepting any such warranty or additional liability.
|
|
206
|
+
|
|
207
|
+
END OF TERMS AND CONDITIONS
|
|
208
|
+
|
|
209
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
210
|
+
|
|
211
|
+
To apply the Apache License to your work, attach the following
|
|
212
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
213
|
+
replaced with your own identifying information. (Don't include
|
|
214
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
215
|
+
comment syntax for the file format. We also recommend that a
|
|
216
|
+
file or class name and description of purpose be included on the
|
|
217
|
+
same "printed page" as the copyright notice for easier
|
|
218
|
+
identification within third-party archives.
|
|
219
|
+
|
|
220
|
+
Copyright [yyyy] [name of copyright owner]
|
|
221
|
+
|
|
222
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
223
|
+
you may not use this file except in compliance with the License.
|
|
224
|
+
You may obtain a copy of the License at
|
|
225
|
+
|
|
226
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
227
|
+
|
|
228
|
+
Unless required by applicable law or agreed to in writing, software
|
|
229
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
230
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
231
|
+
See the License for the specific language governing permissions and
|
|
232
|
+
limitations under the License.
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
--- LLVM Exceptions to the Apache 2.0 License ----
|
|
236
|
+
|
|
237
|
+
As an exception, if, as a result of your compiling your source code, portions
|
|
238
|
+
of this Software are embedded into an Object form of such source code, you
|
|
239
|
+
may redistribute such embedded portions in such Object form without complying
|
|
240
|
+
with the conditions of Sections 4(a), 4(b) and 4(d) of the License.
|
|
241
|
+
|
|
242
|
+
In addition, if you combine or link compiled forms of this Software with
|
|
243
|
+
software that is licensed under the GPLv2 ("Combined Software") and if a
|
|
244
|
+
court of competent jurisdiction determines that the patent provision (Section
|
|
245
|
+
3), the indemnity provision (Section 9) or other Section of the License
|
|
246
|
+
conflicts with the conditions of the GPLv2, you may retroactively and
|
|
247
|
+
prospectively choose to deem waived or otherwise exclude such Section(s) of
|
|
248
|
+
the License, but only in their entirety and only with respect to the Combined
|
|
249
|
+
Software.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2017 yhirose
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
22
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2017 Facebook Inc.
|
|
4
|
+
Copyright (c) 2017 Georgia Institute of Technology
|
|
5
|
+
Copyright 2019 Google LLC
|
|
6
|
+
|
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
8
|
+
|
|
9
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
10
|
+
|
|
11
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023-2026 The ggml authors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
Copyright 2024 Mozilla Foundation
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
4
|
+
a copy of this software and associated documentation files (the
|
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
9
|
+
the following conditions:
|
|
10
|
+
|
|
11
|
+
The above copyright notice and this permission notice shall be
|
|
12
|
+
included in all copies or substantial portions of the Software.
|
|
13
|
+
|
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
|
|
18
|
+
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
|
19
|
+
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
20
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|