@threadcrumbs/threadnauts 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.
Files changed (111) hide show
  1. package/LICENSE.md +10 -0
  2. package/NOTICES.md +683 -0
  3. package/README.md +163 -2
  4. package/bin/threadnauts.mjs +114 -0
  5. package/dist/assets/CREDITS.md +19 -0
  6. package/dist/assets/aldargon-B_VubjBf.svg +1 -0
  7. package/dist/assets/arrakesh-BW9Bb56U.svg +1 -0
  8. package/dist/assets/atoll-mfMgWjQE.svg +1 -0
  9. package/dist/assets/autumn-Cvk8t_-3.svg +1 -0
  10. package/dist/assets/bamboo-KEAHdFas.svg +1 -0
  11. package/dist/assets/basalt-g767Blh3.svg +1 -0
  12. package/dist/assets/baut.glb +0 -0
  13. package/dist/assets/beach-q2rexblq.svg +1 -0
  14. package/dist/assets/callisto-bug4x0L8.svg +1 -0
  15. package/dist/assets/cancri-BOebEtMP.svg +1 -0
  16. package/dist/assets/canyon-FF3hqLaT.svg +1 -0
  17. package/dist/assets/ceres-BeB8pWjM.svg +1 -0
  18. package/dist/assets/challenger-Bg9wWAtc.svg +1 -0
  19. package/dist/assets/crystal-bk_pmXWn.svg +1 -0
  20. package/dist/assets/dagmora-Co5gg-3x.svg +1 -0
  21. package/dist/assets/deadstar-x-dSincY.svg +1 -0
  22. package/dist/assets/desert-Bkozg-2y.svg +1 -0
  23. package/dist/assets/dragonnest-DExsIn2w.svg +1 -0
  24. package/dist/assets/draugr-ChEwvDI7.svg +1 -0
  25. package/dist/assets/enceladus-BlSNfFYi.svg +1 -0
  26. package/dist/assets/endral-DQ-u4-N6.svg +1 -0
  27. package/dist/assets/europa-Cgids_PV.svg +1 -0
  28. package/dist/assets/fjord-rGF4e-MG.svg +1 -0
  29. package/dist/assets/forest-BVWgbcSU.svg +1 -0
  30. package/dist/assets/forest.glb +0 -0
  31. package/dist/assets/frozenlake-B8282a2Z.svg +1 -0
  32. package/dist/assets/ganymede-Dg4iJbs2.svg +1 -0
  33. package/dist/assets/garden-TQmDzzU5.svg +1 -0
  34. package/dist/assets/glimmer-BIK9hzb3.svg +1 -0
  35. package/dist/assets/halley-B32BiHtn.svg +1 -0
  36. package/dist/assets/hd189733b-E4qM1zIs.svg +1 -0
  37. package/dist/assets/hollow-DKKw0GKy.svg +1 -0
  38. package/dist/assets/horth-DPuhph1g.svg +1 -0
  39. package/dist/assets/iapetus-CMxb57ov.svg +1 -0
  40. package/dist/assets/index-C-3KPMaV.css +1 -0
  41. package/dist/assets/index-xHGM7fhg.js +2381 -0
  42. package/dist/assets/io-C7TKKMjC.svg +1 -0
  43. package/dist/assets/j1407b-Dx2Qblb7.svg +1 -0
  44. package/dist/assets/jakhara-BLl7oBmq.svg +1 -0
  45. package/dist/assets/jupiter-8ezAafsg.svg +1 -0
  46. package/dist/assets/kaladorn-CkaAJJ7a.svg +1 -0
  47. package/dist/assets/kashiwa-_WrMlYhf.svg +1 -0
  48. package/dist/assets/kepler16b-CdRP9SpW.svg +1 -0
  49. package/dist/assets/kepler186f-Bosuwusi.svg +1 -0
  50. package/dist/assets/lanternnight-Bde4tTOv.svg +1 -0
  51. package/dist/assets/lighting/README.md +10 -0
  52. package/dist/assets/lighting/studio_small_09_1k.hdr +0 -0
  53. package/dist/assets/lt2230-CtZQ_E_7.svg +1 -0
  54. package/dist/assets/lt4260-BfDP2hby.svg +1 -0
  55. package/dist/assets/mars-MRN7bCwO.svg +1 -0
  56. package/dist/assets/mercury-Dxhy2buH.svg +1 -0
  57. package/dist/assets/middangard-TZnEvlji.svg +1 -0
  58. package/dist/assets/milners-Bbcl_qzx.svg +1 -0
  59. package/dist/assets/miranda-DeKynADL.svg +1 -0
  60. package/dist/assets/moon-trBMXXaP.svg +1 -0
  61. package/dist/assets/moors-h4HR2QJC.svg +1 -0
  62. package/dist/assets/muspel-CbnFgpIq.svg +1 -0
  63. package/dist/assets/nabora-C_M0gUvC.svg +1 -0
  64. package/dist/assets/nature.glb +0 -0
  65. package/dist/assets/north-CCQ_abLA.svg +1 -0
  66. package/dist/assets/ocean-xTY8Tv7N.svg +1 -0
  67. package/dist/assets/oz-ClTxqgDh.svg +1 -0
  68. package/dist/assets/pandora-vc20uhuY.svg +1 -0
  69. package/dist/assets/phobos-DKRMWpmg.svg +1 -0
  70. package/dist/assets/pluto-Bv-I3Adh.svg +1 -0
  71. package/dist/assets/proxima-CJWGm2yh.svg +1 -0
  72. package/dist/assets/qubitron-B9yy8CKB.svg +1 -0
  73. package/dist/assets/redspot-CV5z9nSH.svg +1 -0
  74. package/dist/assets/ring-CWw9HQNl.svg +1 -0
  75. package/dist/assets/sakura-BaPBQo7U.svg +1 -0
  76. package/dist/assets/saturnrings-C0bWB6Nk.svg +1 -0
  77. package/dist/assets/savanna-3fK5T_wl.svg +1 -0
  78. package/dist/assets/shared-B_T8JlmU.js +4919 -0
  79. package/dist/assets/sky-B_jCrmWW.svg +1 -0
  80. package/dist/assets/spacebase.glb +0 -0
  81. package/dist/assets/sugarvale-CNIezmWw.svg +1 -0
  82. package/dist/assets/tatawin-B4kGS6XH.svg +1 -0
  83. package/dist/assets/terra-BpxwvhON.svg +1 -0
  84. package/dist/assets/titan-DRcbXkdn.svg +1 -0
  85. package/dist/assets/titanic-D6TQMoe4.svg +1 -0
  86. package/dist/assets/trappist-DegjcuQ8.svg +1 -0
  87. package/dist/assets/triton-DXbtxCV7.svg +1 -0
  88. package/dist/assets/tundra-D7lIxFPP.svg +1 -0
  89. package/dist/assets/undersea-rehq9Wmh.svg +1 -0
  90. package/dist/assets/valley-DVlve4ea.svg +1 -0
  91. package/dist/assets/venus-OIZfT1Sa.svg +1 -0
  92. package/dist/assets/vespera-CXGN-RGx.svg +1 -0
  93. package/dist/assets/worldtree-wqKc2Sb_.svg +1 -0
  94. package/dist/assets/yavora4-D1u-Riyb.svg +1 -0
  95. package/dist/audio/README.md +25 -0
  96. package/dist/favicon.svg +5 -0
  97. package/dist/index.html +25 -0
  98. package/dist/pro-manifest.json +9 -0
  99. package/package.json +63 -4
  100. package/server/api.mjs +537 -0
  101. package/server/http-server.mjs +127 -0
  102. package/server/lib/terminal.mjs +213 -0
  103. package/server/lib/user-data.mjs +11 -0
  104. package/server/lib/win-terminal.mjs +88 -0
  105. package/server/lib/windows.mjs +95 -0
  106. package/server/lib/xdg.mjs +44 -0
  107. package/server/license.mjs +69 -0
  108. package/server/pro-content.mjs +146 -0
  109. package/server/scan.mjs +187 -0
  110. package/server/serve.mjs +7 -0
  111. package/server/threadgauge.mjs +42 -0
package/NOTICES.md ADDED
@@ -0,0 +1,683 @@
1
+ # Notices
2
+
3
+ ## Third-party
4
+
5
+ Threadnauts includes the following third-party software, each used under its own license.
6
+
7
+ ### Original source code
8
+
9
+ Portions of Threadnauts are derived from source code released under the MIT License.
10
+
11
+ ```text
12
+ MIT License
13
+
14
+ Copyright (c) 2026 Jarren Rocks
15
+
16
+ Permission is hereby granted, free of charge, to any person obtaining a copy
17
+ of this software and associated documentation files (the "Software"), to deal
18
+ in the Software without restriction, including without limitation the rights
19
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
20
+ copies of the Software, and to permit persons to whom the Software is
21
+ furnished to do so, subject to the following conditions:
22
+
23
+ The above copyright notice and this permission notice shall be included in all
24
+ copies or substantial portions of the Software.
25
+
26
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
27
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
28
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
29
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
30
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
31
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
32
+ SOFTWARE.
33
+ ```
34
+
35
+ ### three.js
36
+
37
+ Bundled into the app's client code.
38
+
39
+ ```text
40
+ The MIT License
41
+
42
+ Copyright © 2010-2026 three.js authors
43
+
44
+ Permission is hereby granted, free of charge, to any person obtaining a copy
45
+ of this software and associated documentation files (the "Software"), to deal
46
+ in the Software without restriction, including without limitation the rights
47
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
48
+ copies of the Software, and to permit persons to whom the Software is
49
+ furnished to do so, subject to the following conditions:
50
+
51
+ The above copyright notice and this permission notice shall be included in
52
+ all copies or substantial portions of the Software.
53
+
54
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
55
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
56
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
57
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
58
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
59
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
60
+ THE SOFTWARE.
61
+ ```
62
+
63
+ ### Material Design Icons (`@mdi/js`)
64
+
65
+ The status icons above each bot are Material Design Icons by Pictogrammers, distributed under the Apache License 2.0, which is reproduced below.
66
+
67
+ ```text
68
+ Pictogrammers Free License
69
+ --------------------------
70
+
71
+ This icon collection is released as free, open source, and GPL friendly by
72
+ the [Pictogrammers](http://pictogrammers.com/) icon group. You may use it
73
+ for commercial projects, open source projects, or anything really.
74
+
75
+ # Icons: Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0)
76
+ Some of the icons are redistributed under the Apache 2.0 license. All other
77
+ icons are either redistributed under their respective licenses or are
78
+ distributed under the Apache 2.0 license.
79
+
80
+ # Fonts: Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0)
81
+ All web and desktop fonts are distributed under the Apache 2.0 license. Web
82
+ and desktop fonts contain some icons that are redistributed under the Apache
83
+ 2.0 license. All other icons are either redistributed under their respective
84
+ licenses or are distributed under the Apache 2.0 license.
85
+
86
+ # Code: MIT (https://opensource.org/licenses/MIT)
87
+ The MIT license applies to all non-font and non-icon files.
88
+ ```
89
+
90
+ ### Vite
91
+
92
+ The app's client code includes Vite's module preload helper.
93
+
94
+ ```text
95
+ MIT License
96
+
97
+ Copyright (c) 2019-present, VoidZero Inc. and Vite contributors
98
+
99
+ Permission is hereby granted, free of charge, to any person obtaining a copy
100
+ of this software and associated documentation files (the "Software"), to deal
101
+ in the Software without restriction, including without limitation the rights
102
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
103
+ copies of the Software, and to permit persons to whom the Software is
104
+ furnished to do so, subject to the following conditions:
105
+
106
+ The above copyright notice and this permission notice shall be included in all
107
+ copies or substantial portions of the Software.
108
+
109
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
110
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
111
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
112
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
113
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
114
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
115
+ SOFTWARE.
116
+ ```
117
+
118
+ ### Mediabunny
119
+
120
+ The video recorder (the Record button) bundles Mediabunny 1.63.0 into the app's client code, minified but otherwise unchanged. Mediabunny is copyright (c) 2026-present, Vanilagy and contributors, and is distributed under the Mozilla Public License 2.0, reproduced below. Its source code, including the exact version bundled here, is available at https://github.com/Vanilagy/mediabunny and as version 1.63.0 of the `mediabunny` package on npm (https://www.npmjs.com/package/mediabunny/v/1.63.0).
121
+
122
+ ```text
123
+ This Source Code Form is subject to the terms of the Mozilla Public
124
+ License, v. 2.0. If a copy of the MPL was not distributed with this
125
+ file, You can obtain one at https://mozilla.org/MPL/2.0/.
126
+ ```
127
+
128
+ ```text
129
+ Mozilla Public License Version 2.0
130
+ ==================================
131
+
132
+ 1. Definitions
133
+ --------------
134
+
135
+ 1.1. "Contributor"
136
+ means each individual or legal entity that creates, contributes to
137
+ the creation of, or owns Covered Software.
138
+
139
+ 1.2. "Contributor Version"
140
+ means the combination of the Contributions of others (if any) used
141
+ by a Contributor and that particular Contributor's Contribution.
142
+
143
+ 1.3. "Contribution"
144
+ means Covered Software of a particular Contributor.
145
+
146
+ 1.4. "Covered Software"
147
+ means Source Code Form to which the initial Contributor has attached
148
+ the notice in Exhibit A, the Executable Form of such Source Code
149
+ Form, and Modifications of such Source Code Form, in each case
150
+ including portions thereof.
151
+
152
+ 1.5. "Incompatible With Secondary Licenses"
153
+ means
154
+
155
+ (a) that the initial Contributor has attached the notice described
156
+ in Exhibit B to the Covered Software; or
157
+
158
+ (b) that the Covered Software was made available under the terms of
159
+ version 1.1 or earlier of the License, but not also under the
160
+ terms of a Secondary License.
161
+
162
+ 1.6. "Executable Form"
163
+ means any form of the work other than Source Code Form.
164
+
165
+ 1.7. "Larger Work"
166
+ means a work that combines Covered Software with other material, in
167
+ a separate file or files, that is not Covered Software.
168
+
169
+ 1.8. "License"
170
+ means this document.
171
+
172
+ 1.9. "Licensable"
173
+ means having the right to grant, to the maximum extent possible,
174
+ whether at the time of the initial grant or subsequently, any and
175
+ all of the rights conveyed by this License.
176
+
177
+ 1.10. "Modifications"
178
+ means any of the following:
179
+
180
+ (a) any file in Source Code Form that results from an addition to,
181
+ deletion from, or modification of the contents of Covered
182
+ Software; or
183
+
184
+ (b) any new file in Source Code Form that contains any Covered
185
+ Software.
186
+
187
+ 1.11. "Patent Claims" of a Contributor
188
+ means any patent claim(s), including without limitation, method,
189
+ process, and apparatus claims, in any patent Licensable by such
190
+ Contributor that would be infringed, but for the grant of the
191
+ License, by the making, using, selling, offering for sale, having
192
+ made, import, or transfer of either its Contributions or its
193
+ Contributor Version.
194
+
195
+ 1.12. "Secondary License"
196
+ means either the GNU General Public License, Version 2.0, the GNU
197
+ Lesser General Public License, Version 2.1, the GNU Affero General
198
+ Public License, Version 3.0, or any later versions of those
199
+ licenses.
200
+
201
+ 1.13. "Source Code Form"
202
+ means the form of the work preferred for making modifications.
203
+
204
+ 1.14. "You" (or "Your")
205
+ means an individual or a legal entity exercising rights under this
206
+ License. For legal entities, "You" includes any entity that
207
+ controls, is controlled by, or is under common control with You. For
208
+ purposes of this definition, "control" means (a) the power, direct
209
+ or indirect, to cause the direction or management of such entity,
210
+ whether by contract or otherwise, or (b) ownership of more than
211
+ fifty percent (50%) of the outstanding shares or beneficial
212
+ ownership of such entity.
213
+
214
+ 2. License Grants and Conditions
215
+ --------------------------------
216
+
217
+ 2.1. Grants
218
+
219
+ Each Contributor hereby grants You a world-wide, royalty-free,
220
+ non-exclusive license:
221
+
222
+ (a) under intellectual property rights (other than patent or trademark)
223
+ Licensable by such Contributor to use, reproduce, make available,
224
+ modify, display, perform, distribute, and otherwise exploit its
225
+ Contributions, either on an unmodified basis, with Modifications, or
226
+ as part of a Larger Work; and
227
+
228
+ (b) under Patent Claims of such Contributor to make, use, sell, offer
229
+ for sale, have made, import, and otherwise transfer either its
230
+ Contributions or its Contributor Version.
231
+
232
+ 2.2. Effective Date
233
+
234
+ The licenses granted in Section 2.1 with respect to any Contribution
235
+ become effective for each Contribution on the date the Contributor first
236
+ distributes such Contribution.
237
+
238
+ 2.3. Limitations on Grant Scope
239
+
240
+ The licenses granted in this Section 2 are the only rights granted under
241
+ this License. No additional rights or licenses will be implied from the
242
+ distribution or licensing of Covered Software under this License.
243
+ Notwithstanding Section 2.1(b) above, no patent license is granted by a
244
+ Contributor:
245
+
246
+ (a) for any code that a Contributor has removed from Covered Software;
247
+ or
248
+
249
+ (b) for infringements caused by: (i) Your and any other third party's
250
+ modifications of Covered Software, or (ii) the combination of its
251
+ Contributions with other software (except as part of its Contributor
252
+ Version); or
253
+
254
+ (c) under Patent Claims infringed by Covered Software in the absence of
255
+ its Contributions.
256
+
257
+ This License does not grant any rights in the trademarks, service marks,
258
+ or logos of any Contributor (except as may be necessary to comply with
259
+ the notice requirements in Section 3.4).
260
+
261
+ 2.4. Subsequent Licenses
262
+
263
+ No Contributor makes additional grants as a result of Your choice to
264
+ distribute the Covered Software under a subsequent version of this
265
+ License (see Section 10.2) or under the terms of a Secondary License (if
266
+ permitted under the terms of Section 3.3).
267
+
268
+ 2.5. Representation
269
+
270
+ Each Contributor represents that the Contributor believes its
271
+ Contributions are its original creation(s) or it has sufficient rights
272
+ to grant the rights to its Contributions conveyed by this License.
273
+
274
+ 2.6. Fair Use
275
+
276
+ This License is not intended to limit any rights You have under
277
+ applicable copyright doctrines of fair use, fair dealing, or other
278
+ equivalents.
279
+
280
+ 2.7. Conditions
281
+
282
+ Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
283
+ in Section 2.1.
284
+
285
+ 3. Responsibilities
286
+ -------------------
287
+
288
+ 3.1. Distribution of Source Form
289
+
290
+ All distribution of Covered Software in Source Code Form, including any
291
+ Modifications that You create or to which You contribute, must be under
292
+ the terms of this License. You must inform recipients that the Source
293
+ Code Form of the Covered Software is governed by the terms of this
294
+ License, and how they can obtain a copy of this License. You may not
295
+ attempt to alter or restrict the recipients' rights in the Source Code
296
+ Form.
297
+
298
+ 3.2. Distribution of Executable Form
299
+
300
+ If You distribute Covered Software in Executable Form then:
301
+
302
+ (a) such Covered Software must also be made available in Source Code
303
+ Form, as described in Section 3.1, and You must inform recipients of
304
+ the Executable Form how they can obtain a copy of such Source Code
305
+ Form by reasonable means in a timely manner, at a charge no more
306
+ than the cost of distribution to the recipient; and
307
+
308
+ (b) You may distribute such Executable Form under the terms of this
309
+ License, or sublicense it under different terms, provided that the
310
+ license for the Executable Form does not attempt to limit or alter
311
+ the recipients' rights in the Source Code Form under this License.
312
+
313
+ 3.3. Distribution of a Larger Work
314
+
315
+ You may create and distribute a Larger Work under terms of Your choice,
316
+ provided that You also comply with the requirements of this License for
317
+ the Covered Software. If the Larger Work is a combination of Covered
318
+ Software with a work governed by one or more Secondary Licenses, and the
319
+ Covered Software is not Incompatible With Secondary Licenses, this
320
+ License permits You to additionally distribute such Covered Software
321
+ under the terms of such Secondary License(s), so that the recipient of
322
+ the Larger Work may, at their option, further distribute the Covered
323
+ Software under the terms of either this License or such Secondary
324
+ License(s).
325
+
326
+ 3.4. Notices
327
+
328
+ You may not remove or alter the substance of any license notices
329
+ (including copyright notices, patent notices, disclaimers of warranty,
330
+ or limitations of liability) contained within the Source Code Form of
331
+ the Covered Software, except that You may alter any license notices to
332
+ the extent required to remedy known factual inaccuracies.
333
+
334
+ 3.5. Application of Additional Terms
335
+
336
+ You may choose to offer, and to charge a fee for, warranty, support,
337
+ indemnity or liability obligations to one or more recipients of Covered
338
+ Software. However, You may do so only on Your own behalf, and not on
339
+ behalf of any Contributor. You must make it absolutely clear that any
340
+ such warranty, support, indemnity, or liability obligation is offered by
341
+ You alone, and You hereby agree to indemnify every Contributor for any
342
+ liability incurred by such Contributor as a result of warranty, support,
343
+ indemnity or liability terms You offer. You may include additional
344
+ disclaimers of warranty and limitations of liability specific to any
345
+ jurisdiction.
346
+
347
+ 4. Inability to Comply Due to Statute or Regulation
348
+ ---------------------------------------------------
349
+
350
+ If it is impossible for You to comply with any of the terms of this
351
+ License with respect to some or all of the Covered Software due to
352
+ statute, judicial order, or regulation then You must: (a) comply with
353
+ the terms of this License to the maximum extent possible; and (b)
354
+ describe the limitations and the code they affect. Such description must
355
+ be placed in a text file included with all distributions of the Covered
356
+ Software under this License. Except to the extent prohibited by statute
357
+ or regulation, such description must be sufficiently detailed for a
358
+ recipient of ordinary skill to be able to understand it.
359
+
360
+ 5. Termination
361
+ --------------
362
+
363
+ 5.1. The rights granted under this License will terminate automatically
364
+ if You fail to comply with any of its terms. However, if You become
365
+ compliant, then the rights granted under this License from a particular
366
+ Contributor are reinstated (a) provisionally, unless and until such
367
+ Contributor explicitly and finally terminates Your grants, and (b) on an
368
+ ongoing basis, if such Contributor fails to notify You of the
369
+ non-compliance by some reasonable means prior to 60 days after You have
370
+ come back into compliance. Moreover, Your grants from a particular
371
+ Contributor are reinstated on an ongoing basis if such Contributor
372
+ notifies You of the non-compliance by some reasonable means, this is the
373
+ first time You have received notice of non-compliance with this License
374
+ from such Contributor, and You become compliant prior to 30 days after
375
+ Your receipt of the notice.
376
+
377
+ 5.2. If You initiate litigation against any entity by asserting a patent
378
+ infringement claim (excluding declaratory judgment actions,
379
+ counter-claims, and cross-claims) alleging that a Contributor Version
380
+ directly or indirectly infringes any patent, then the rights granted to
381
+ You by any and all Contributors for the Covered Software under Section
382
+ 2.1 of this License shall terminate.
383
+
384
+ 5.3. In the event of termination under Sections 5.1 or 5.2 above, all
385
+ end user license agreements (excluding distributors and resellers) which
386
+ have been validly granted by You or Your distributors under this License
387
+ prior to termination shall survive termination.
388
+
389
+ ************************************************************************
390
+ * *
391
+ * 6. Disclaimer of Warranty *
392
+ * ------------------------- *
393
+ * *
394
+ * Covered Software is provided under this License on an "as is" *
395
+ * basis, without warranty of any kind, either expressed, implied, or *
396
+ * statutory, including, without limitation, warranties that the *
397
+ * Covered Software is free of defects, merchantable, fit for a *
398
+ * particular purpose or non-infringing. The entire risk as to the *
399
+ * quality and performance of the Covered Software is with You. *
400
+ * Should any Covered Software prove defective in any respect, You *
401
+ * (not any Contributor) assume the cost of any necessary servicing, *
402
+ * repair, or correction. This disclaimer of warranty constitutes an *
403
+ * essential part of this License. No use of any Covered Software is *
404
+ * authorized under this License except under this disclaimer. *
405
+ * *
406
+ ************************************************************************
407
+
408
+ ************************************************************************
409
+ * *
410
+ * 7. Limitation of Liability *
411
+ * -------------------------- *
412
+ * *
413
+ * Under no circumstances and under no legal theory, whether tort *
414
+ * (including negligence), contract, or otherwise, shall any *
415
+ * Contributor, or anyone who distributes Covered Software as *
416
+ * permitted above, be liable to You for any direct, indirect, *
417
+ * special, incidental, or consequential damages of any character *
418
+ * including, without limitation, damages for lost profits, loss of *
419
+ * goodwill, work stoppage, computer failure or malfunction, or any *
420
+ * and all other commercial damages or losses, even if such party *
421
+ * shall have been informed of the possibility of such damages. This *
422
+ * limitation of liability shall not apply to liability for death or *
423
+ * personal injury resulting from such party's negligence to the *
424
+ * extent applicable law prohibits such limitation. Some *
425
+ * jurisdictions do not allow the exclusion or limitation of *
426
+ * incidental or consequential damages, so this exclusion and *
427
+ * limitation may not apply to You. *
428
+ * *
429
+ ************************************************************************
430
+
431
+ 8. Litigation
432
+ -------------
433
+
434
+ Any litigation relating to this License may be brought only in the
435
+ courts of a jurisdiction where the defendant maintains its principal
436
+ place of business and such litigation shall be governed by laws of that
437
+ jurisdiction, without reference to its conflict-of-law provisions.
438
+ Nothing in this Section shall prevent a party's ability to bring
439
+ cross-claims or counter-claims.
440
+
441
+ 9. Miscellaneous
442
+ ----------------
443
+
444
+ This License represents the complete agreement concerning the subject
445
+ matter hereof. If any provision of this License is held to be
446
+ unenforceable, such provision shall be reformed only to the extent
447
+ necessary to make it enforceable. Any law or regulation which provides
448
+ that the language of a contract shall be construed against the drafter
449
+ shall not be used to construe this License against a Contributor.
450
+
451
+ 10. Versions of the License
452
+ ---------------------------
453
+
454
+ 10.1. New Versions
455
+
456
+ Mozilla Foundation is the license steward. Except as provided in Section
457
+ 10.3, no one other than the license steward has the right to modify or
458
+ publish new versions of this License. Each version will be given a
459
+ distinguishing version number.
460
+
461
+ 10.2. Effect of New Versions
462
+
463
+ You may distribute the Covered Software under the terms of the version
464
+ of the License under which You originally received the Covered Software,
465
+ or under the terms of any subsequent version published by the license
466
+ steward.
467
+
468
+ 10.3. Modified Versions
469
+
470
+ If you create software not governed by this License, and you want to
471
+ create a new license for such software, you may create and use a
472
+ modified version of this License if you rename the license and remove
473
+ any references to the name of the license steward (except to note that
474
+ such modified license differs from this License).
475
+
476
+ 10.4. Distributing Source Code Form that is Incompatible With Secondary
477
+ Licenses
478
+
479
+ If You choose to distribute Source Code Form that is Incompatible With
480
+ Secondary Licenses under the terms of this version of the License, the
481
+ notice described in Exhibit B of this License must be attached.
482
+
483
+ Exhibit A - Source Code Form License Notice
484
+ -------------------------------------------
485
+
486
+ This Source Code Form is subject to the terms of the Mozilla Public
487
+ License, v. 2.0. If a copy of the MPL was not distributed with this
488
+ file, You can obtain one at https://mozilla.org/MPL/2.0/.
489
+
490
+ If it is not possible or desirable to put the notice in a particular
491
+ file, then You may include the notice in a location (such as a LICENSE
492
+ file in a relevant directory) where a recipient would be likely to look
493
+ for such a notice.
494
+
495
+ You may add additional accurate notices of copyright ownership.
496
+
497
+ Exhibit B - "Incompatible With Secondary Licenses" Notice
498
+ ---------------------------------------------------------
499
+
500
+ This Source Code Form is "Incompatible With Secondary Licenses", as
501
+ defined by the Mozilla Public License, v. 2.0.
502
+ ```
503
+
504
+ ### Apache License 2.0
505
+
506
+ ```text
507
+ Apache License
508
+ Version 2.0, January 2004
509
+ http://www.apache.org/licenses/
510
+
511
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
512
+
513
+ 1. Definitions.
514
+
515
+ "License" shall mean the terms and conditions for use, reproduction,
516
+ and distribution as defined by Sections 1 through 9 of this document.
517
+
518
+ "Licensor" shall mean the copyright owner or entity authorized by
519
+ the copyright owner that is granting the License.
520
+
521
+ "Legal Entity" shall mean the union of the acting entity and all
522
+ other entities that control, are controlled by, or are under common
523
+ control with that entity. For the purposes of this definition,
524
+ "control" means (i) the power, direct or indirect, to cause the
525
+ direction or management of such entity, whether by contract or
526
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
527
+ outstanding shares, or (iii) beneficial ownership of such entity.
528
+
529
+ "You" (or "Your") shall mean an individual or Legal Entity
530
+ exercising permissions granted by this License.
531
+
532
+ "Source" form shall mean the preferred form for making modifications,
533
+ including but not limited to software source code, documentation
534
+ source, and configuration files.
535
+
536
+ "Object" form shall mean any form resulting from mechanical
537
+ transformation or translation of a Source form, including but
538
+ not limited to compiled object code, generated documentation,
539
+ and conversions to other media types.
540
+
541
+ "Work" shall mean the work of authorship, whether in Source or
542
+ Object form, made available under the License, as indicated by a
543
+ copyright notice that is included in or attached to the work
544
+ (an example is provided in the Appendix below).
545
+
546
+ "Derivative Works" shall mean any work, whether in Source or Object
547
+ form, that is based on (or derived from) the Work and for which the
548
+ editorial revisions, annotations, elaborations, or other modifications
549
+ represent, as a whole, an original work of authorship. For the purposes
550
+ of this License, Derivative Works shall not include works that remain
551
+ separable from, or merely link (or bind by name) to the interfaces of,
552
+ the Work and Derivative Works thereof.
553
+
554
+ "Contribution" shall mean any work of authorship, including
555
+ the original version of the Work and any modifications or additions
556
+ to that Work or Derivative Works thereof, that is intentionally
557
+ submitted to Licensor for inclusion in the Work by the copyright owner
558
+ or by an individual or Legal Entity authorized to submit on behalf of
559
+ the copyright owner. For the purposes of this definition, "submitted"
560
+ means any form of electronic, verbal, or written communication sent
561
+ to the Licensor or its representatives, including but not limited to
562
+ communication on electronic mailing lists, source code control systems,
563
+ and issue tracking systems that are managed by, or on behalf of, the
564
+ Licensor for the purpose of discussing and improving the Work, but
565
+ excluding communication that is conspicuously marked or otherwise
566
+ designated in writing by the copyright owner as "Not a Contribution."
567
+
568
+ "Contributor" shall mean Licensor and any individual or Legal Entity
569
+ on behalf of whom a Contribution has been received by Licensor and
570
+ subsequently incorporated within the Work.
571
+
572
+ 2. Grant of Copyright License. Subject to the terms and conditions of
573
+ this License, each Contributor hereby grants to You a perpetual,
574
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
575
+ copyright license to reproduce, prepare Derivative Works of,
576
+ publicly display, publicly perform, sublicense, and distribute the
577
+ Work and such Derivative Works in Source or Object form.
578
+
579
+ 3. Grant of Patent License. Subject to the terms and conditions of
580
+ this License, each Contributor hereby grants to You a perpetual,
581
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
582
+ (except as stated in this section) patent license to make, have made,
583
+ use, offer to sell, sell, import, and otherwise transfer the Work,
584
+ where such license applies only to those patent claims licensable
585
+ by such Contributor that are necessarily infringed by their
586
+ Contribution(s) alone or by combination of their Contribution(s)
587
+ with the Work to which such Contribution(s) was submitted. If You
588
+ institute patent litigation against any entity (including a
589
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
590
+ or a Contribution incorporated within the Work constitutes direct
591
+ or contributory patent infringement, then any patent licenses
592
+ granted to You under this License for that Work shall terminate
593
+ as of the date such litigation is filed.
594
+
595
+ 4. Redistribution. You may reproduce and distribute copies of the
596
+ Work or Derivative Works thereof in any medium, with or without
597
+ modifications, and in Source or Object form, provided that You
598
+ meet the following conditions:
599
+
600
+ (a) You must give any other recipients of the Work or
601
+ Derivative Works a copy of this License; and
602
+
603
+ (b) You must cause any modified files to carry prominent notices
604
+ stating that You changed the files; and
605
+
606
+ (c) You must retain, in the Source form of any Derivative Works
607
+ that You distribute, all copyright, patent, trademark, and
608
+ attribution notices from the Source form of the Work,
609
+ excluding those notices that do not pertain to any part of
610
+ the Derivative Works; and
611
+
612
+ (d) If the Work includes a "NOTICE" text file as part of its
613
+ distribution, then any Derivative Works that You distribute must
614
+ include a readable copy of the attribution notices contained
615
+ within such NOTICE file, excluding those notices that do not
616
+ pertain to any part of the Derivative Works, in at least one
617
+ of the following places: within a NOTICE text file distributed
618
+ as part of the Derivative Works; within the Source form or
619
+ documentation, if provided along with the Derivative Works; or,
620
+ within a display generated by the Derivative Works, if and
621
+ wherever such third-party notices normally appear. The contents
622
+ of the NOTICE file are for informational purposes only and
623
+ do not modify the License. You may add Your own attribution
624
+ notices within Derivative Works that You distribute, alongside
625
+ or as an addendum to the NOTICE text from the Work, provided
626
+ that such additional attribution notices cannot be construed
627
+ as modifying the License.
628
+
629
+ You may add Your own copyright statement to Your modifications and
630
+ may provide additional or different license terms and conditions
631
+ for use, reproduction, or distribution of Your modifications, or
632
+ for any such Derivative Works as a whole, provided Your use,
633
+ reproduction, and distribution of the Work otherwise complies with
634
+ the conditions stated in this License.
635
+
636
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
637
+ any Contribution intentionally submitted for inclusion in the Work
638
+ by You to the Licensor shall be under the terms and conditions of
639
+ this License, without any additional terms or conditions.
640
+ Notwithstanding the above, nothing herein shall supersede or modify
641
+ the terms of any separate license agreement you may have executed
642
+ with Licensor regarding such Contributions.
643
+
644
+ 6. Trademarks. This License does not grant permission to use the trade
645
+ names, trademarks, service marks, or product names of the Licensor,
646
+ except as required for reasonable and customary use in describing the
647
+ origin of the Work and reproducing the content of the NOTICE file.
648
+
649
+ 7. Disclaimer of Warranty. Unless required by applicable law or
650
+ agreed to in writing, Licensor provides the Work (and each
651
+ Contributor provides its Contributions) on an "AS IS" BASIS,
652
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
653
+ implied, including, without limitation, any warranties or conditions
654
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
655
+ PARTICULAR PURPOSE. You are solely responsible for determining the
656
+ appropriateness of using or redistributing the Work and assume any
657
+ risks associated with Your exercise of permissions under this License.
658
+
659
+ 8. Limitation of Liability. In no event and under no legal theory,
660
+ whether in tort (including negligence), contract, or otherwise,
661
+ unless required by applicable law (such as deliberate and grossly
662
+ negligent acts) or agreed to in writing, shall any Contributor be
663
+ liable to You for damages, including any direct, indirect, special,
664
+ incidental, or consequential damages of any character arising as a
665
+ result of this License or out of the use or inability to use the
666
+ Work (including but not limited to damages for loss of goodwill,
667
+ work stoppage, computer failure or malfunction, or any and all
668
+ other commercial damages or losses), even if such Contributor
669
+ has been advised of the possibility of such damages.
670
+
671
+ 9. Accepting Warranty or Additional Liability. While redistributing
672
+ the Work or Derivative Works thereof, You may choose to offer,
673
+ and charge a fee for, acceptance of support, warranty, indemnity,
674
+ or other liability obligations and/or rights consistent with this
675
+ License. However, in accepting such obligations, You may act only
676
+ on Your own behalf and on Your sole responsibility, not on behalf
677
+ of any other Contributor, and only if You agree to indemnify,
678
+ defend, and hold each Contributor harmless for any liability
679
+ incurred by, or claims asserted against, such Contributor by reason
680
+ of your accepting any such warranty or additional liability.
681
+
682
+ END OF TERMS AND CONDITIONS
683
+ ```