@vibedev-si/dsh-vibedev 0.2.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.
Files changed (53) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +155 -0
  3. package/THIRD-PARTY-NOTICES.txt +566 -0
  4. package/client/client.js +1368 -0
  5. package/cordis.patch.yml +5 -0
  6. package/icon.svg +7 -0
  7. package/lib/account/index.d.ts +118 -0
  8. package/lib/anthropic-messages-KOS0z8Fy.js +13472 -0
  9. package/lib/auth/credentials.d.ts +47 -0
  10. package/lib/auth/login.d.ts +154 -0
  11. package/lib/gateway/assets.d.ts +61 -0
  12. package/lib/gateway/catalog.d.ts +126 -0
  13. package/lib/gateway/errors.d.ts +76 -0
  14. package/lib/gateway/http.d.ts +94 -0
  15. package/lib/index.d.ts +105 -0
  16. package/lib/index.js +7301 -0
  17. package/lib/llm/adapter.d.ts +129 -0
  18. package/lib/llm/catalog.d.ts +75 -0
  19. package/lib/llm/context.d.ts +54 -0
  20. package/lib/llm/index.d.ts +69 -0
  21. package/lib/llm/limits.d.ts +19 -0
  22. package/lib/llm/models.d.ts +67 -0
  23. package/lib/llm/replay.d.ts +66 -0
  24. package/lib/llm/stream.d.ts +46 -0
  25. package/lib/media/chat.d.ts +49 -0
  26. package/lib/media/sources.d.ts +46 -0
  27. package/lib/models-CAcLevEN.js +1045 -0
  28. package/lib/node-Cujw_a4_.js +2403 -0
  29. package/lib/node-vkDR3GtK.js +25 -0
  30. package/lib/openai-completions-DqTCiqpS.js +983 -0
  31. package/lib/openai-prompt-cache-kzRZVokq.js +9567 -0
  32. package/lib/openai-responses-DygWnsye.js +832 -0
  33. package/lib/pricing.d.ts +49 -0
  34. package/lib/runtime.d.ts +150 -0
  35. package/lib/search/provider.d.ts +86 -0
  36. package/lib/service.d.ts +99 -0
  37. package/lib/tasks/remote.d.ts +47 -0
  38. package/lib/tasks/store.d.ts +132 -0
  39. package/lib/tasks/tracker.d.ts +127 -0
  40. package/lib/tools/account.d.ts +21 -0
  41. package/lib/tools/audio.d.ts +13 -0
  42. package/lib/tools/common.d.ts +77 -0
  43. package/lib/tools/image.d.ts +50 -0
  44. package/lib/tools/models.d.ts +13 -0
  45. package/lib/tools/tasks.d.ts +13 -0
  46. package/lib/tools/transcribe.d.ts +19 -0
  47. package/lib/tools/video.d.ts +48 -0
  48. package/lib/transform-messages-Csvf2ItW.js +1023 -0
  49. package/lib/util/files.d.ts +80 -0
  50. package/lib/video/plan.d.ts +96 -0
  51. package/locale/en.json +6 -0
  52. package/locale/zh.json +6 -0
  53. package/package.json +127 -0
@@ -0,0 +1,566 @@
1
+ THIRD-PARTY NOTICES · @vibedev-si/dsh-vibedev 0.2.1
2
+
3
+ This package bundles code from the projects below. Each is used under the licence that
4
+ follows its name; the licence texts are reproduced as the projects ship them.
5
+
6
+ ==============================================================================
7
+ DeepSeek Harness — @deepseek-ai/dsh-llm-pi-ai (MIT)
8
+ https://github.com/deepseek-ai/deepseek-harness
9
+ src/llm/context.ts, src/llm/replay.ts and src/llm/stream.ts (bundled into lib/) are copied from
10
+ @deepseek-ai/dsh-llm-pi-ai (dsh-v0.2.0-rc.2), and the bundled pi-ai carries the Harness's
11
+ patch to its streaming tool-argument parsing.
12
+ ==============================================================================
13
+ MIT License
14
+
15
+ Copyright (c) 2026 DeepSeek
16
+
17
+ Permission is hereby granted, free of charge, to any person obtaining a copy
18
+ of this software and associated documentation files (the "Software"), to deal
19
+ in the Software without restriction, including without limitation the rights
20
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
21
+ copies of the Software, and to permit persons to whom the Software is
22
+ furnished to do so, subject to the following conditions:
23
+
24
+ The above copyright notice and this permission notice shall be included in all
25
+ copies or substantial portions of the Software.
26
+
27
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
28
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
29
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
30
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
31
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
32
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
33
+ SOFTWARE.
34
+
35
+ ==============================================================================
36
+ @anthropic-ai/sdk 0.124.0 (MIT)
37
+ github:anthropics/anthropic-sdk-typescript
38
+ ==============================================================================
39
+ Copyright 2023 Anthropic, PBC.
40
+
41
+ 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:
42
+
43
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
44
+
45
+ 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.
46
+
47
+ ==============================================================================
48
+ @earendil-works/pi-ai 0.87.1 (MIT)
49
+ https://github.com/earendil-works/pi
50
+ The npm package ships no licence file; this is the LICENSE of its repository, github.com/earendil-works/pi.
51
+ ==============================================================================
52
+ MIT License
53
+
54
+ Copyright (c) 2025 Mario Zechner
55
+
56
+ Permission is hereby granted, free of charge, to any person obtaining a copy
57
+ of this software and associated documentation files (the "Software"), to deal
58
+ in the Software without restriction, including without limitation the rights
59
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
60
+ copies of the Software, and to permit persons to whom the Software is
61
+ furnished to do so, subject to the following conditions:
62
+
63
+ The above copyright notice and this permission notice shall be included in all
64
+ copies or substantial portions of the Software.
65
+
66
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
67
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
68
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
69
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
70
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
71
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
72
+ SOFTWARE.
73
+
74
+ ==============================================================================
75
+ @stablelib/base64 1.0.1 (MIT)
76
+ https://github.com/StableLib/stablelib
77
+ ==============================================================================
78
+ This software is licensed under the MIT license:
79
+
80
+ Copyright (C) 2016 Dmitry Chestnykh
81
+
82
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
83
+ this software and associated documentation files (the "Software"), to deal in
84
+ the Software without restriction, including without limitation the rights to
85
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
86
+ of the Software, and to permit persons to whom the Software is furnished to do
87
+ so, subject to the following conditions:
88
+
89
+ The above copyright notice and this permission notice shall be included in all
90
+ copies or substantial portions of the Software.
91
+
92
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
93
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
94
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
95
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
96
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
97
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
98
+ SOFTWARE.
99
+
100
+ ==============================================================================
101
+ fast-sha256 1.3.0 (Unlicense)
102
+ https://github.com/dchest/fast-sha256-js
103
+ ==============================================================================
104
+ This is free and unencumbered software released into the public domain.
105
+
106
+ Anyone is free to copy, modify, publish, use, compile, sell, or
107
+ distribute this software, either in source code form or as a compiled
108
+ binary, for any purpose, commercial or non-commercial, and by any
109
+ means.
110
+
111
+ In jurisdictions that recognize copyright laws, the author or authors
112
+ of this software dedicate any and all copyright interest in the
113
+ software to the public domain. We make this dedication for the benefit
114
+ of the public at large and to the detriment of our heirs and
115
+ successors. We intend this dedication to be an overt act of
116
+ relinquishment in perpetuity of all present and future rights to this
117
+ software under copyright law.
118
+
119
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
120
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
121
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
122
+ IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
123
+ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
124
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
125
+ OTHER DEALINGS IN THE SOFTWARE.
126
+
127
+ For more information, please refer to <http://unlicense.org>
128
+
129
+ ==============================================================================
130
+ openai 6.40.0 (Apache-2.0)
131
+ github:openai/openai-node
132
+ ==============================================================================
133
+ Apache License
134
+ Version 2.0, January 2004
135
+ http://www.apache.org/licenses/
136
+
137
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
138
+
139
+ 1. Definitions.
140
+
141
+ "License" shall mean the terms and conditions for use, reproduction,
142
+ and distribution as defined by Sections 1 through 9 of this document.
143
+
144
+ "Licensor" shall mean the copyright owner or entity authorized by
145
+ the copyright owner that is granting the License.
146
+
147
+ "Legal Entity" shall mean the union of the acting entity and all
148
+ other entities that control, are controlled by, or are under common
149
+ control with that entity. For the purposes of this definition,
150
+ "control" means (i) the power, direct or indirect, to cause the
151
+ direction or management of such entity, whether by contract or
152
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
153
+ outstanding shares, or (iii) beneficial ownership of such entity.
154
+
155
+ "You" (or "Your") shall mean an individual or Legal Entity
156
+ exercising permissions granted by this License.
157
+
158
+ "Source" form shall mean the preferred form for making modifications,
159
+ including but not limited to software source code, documentation
160
+ source, and configuration files.
161
+
162
+ "Object" form shall mean any form resulting from mechanical
163
+ transformation or translation of a Source form, including but
164
+ not limited to compiled object code, generated documentation,
165
+ and conversions to other media types.
166
+
167
+ "Work" shall mean the work of authorship, whether in Source or
168
+ Object form, made available under the License, as indicated by a
169
+ copyright notice that is included in or attached to the work
170
+ (an example is provided in the Appendix below).
171
+
172
+ "Derivative Works" shall mean any work, whether in Source or Object
173
+ form, that is based on (or derived from) the Work and for which the
174
+ editorial revisions, annotations, elaborations, or other modifications
175
+ represent, as a whole, an original work of authorship. For the purposes
176
+ of this License, Derivative Works shall not include works that remain
177
+ separable from, or merely link (or bind by name) to the interfaces of,
178
+ the Work and Derivative Works thereof.
179
+
180
+ "Contribution" shall mean any work of authorship, including
181
+ the original version of the Work and any modifications or additions
182
+ to that Work or Derivative Works thereof, that is intentionally
183
+ submitted to Licensor for inclusion in the Work by the copyright owner
184
+ or by an individual or Legal Entity authorized to submit on behalf of
185
+ the copyright owner. For the purposes of this definition, "submitted"
186
+ means any form of electronic, verbal, or written communication sent
187
+ to the Licensor or its representatives, including but not limited to
188
+ communication on electronic mailing lists, source code control systems,
189
+ and issue tracking systems that are managed by, or on behalf of, the
190
+ Licensor for the purpose of discussing and improving the Work, but
191
+ excluding communication that is conspicuously marked or otherwise
192
+ designated in writing by the copyright owner as "Not a Contribution."
193
+
194
+ "Contributor" shall mean Licensor and any individual or Legal Entity
195
+ on behalf of whom a Contribution has been received by Licensor and
196
+ subsequently incorporated within the Work.
197
+
198
+ 2. Grant of Copyright License. Subject to the terms and conditions of
199
+ this License, each Contributor hereby grants to You a perpetual,
200
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
201
+ copyright license to reproduce, prepare Derivative Works of,
202
+ publicly display, publicly perform, sublicense, and distribute the
203
+ Work and such Derivative Works in Source or Object form.
204
+
205
+ 3. Grant of Patent License. Subject to the terms and conditions of
206
+ this License, each Contributor hereby grants to You a perpetual,
207
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
208
+ (except as stated in this section) patent license to make, have made,
209
+ use, offer to sell, sell, import, and otherwise transfer the Work,
210
+ where such license applies only to those patent claims licensable
211
+ by such Contributor that are necessarily infringed by their
212
+ Contribution(s) alone or by combination of their Contribution(s)
213
+ with the Work to which such Contribution(s) was submitted. If You
214
+ institute patent litigation against any entity (including a
215
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
216
+ or a Contribution incorporated within the Work constitutes direct
217
+ or contributory patent infringement, then any patent licenses
218
+ granted to You under this License for that Work shall terminate
219
+ as of the date such litigation is filed.
220
+
221
+ 4. Redistribution. You may reproduce and distribute copies of the
222
+ Work or Derivative Works thereof in any medium, with or without
223
+ modifications, and in Source or Object form, provided that You
224
+ meet the following conditions:
225
+
226
+ (a) You must give any other recipients of the Work or
227
+ Derivative Works a copy of this License; and
228
+
229
+ (b) You must cause any modified files to carry prominent notices
230
+ stating that You changed the files; and
231
+
232
+ (c) You must retain, in the Source form of any Derivative Works
233
+ that You distribute, all copyright, patent, trademark, and
234
+ attribution notices from the Source form of the Work,
235
+ excluding those notices that do not pertain to any part of
236
+ the Derivative Works; and
237
+
238
+ (d) If the Work includes a "NOTICE" text file as part of its
239
+ distribution, then any Derivative Works that You distribute must
240
+ include a readable copy of the attribution notices contained
241
+ within such NOTICE file, excluding those notices that do not
242
+ pertain to any part of the Derivative Works, in at least one
243
+ of the following places: within a NOTICE text file distributed
244
+ as part of the Derivative Works; within the Source form or
245
+ documentation, if provided along with the Derivative Works; or,
246
+ within a display generated by the Derivative Works, if and
247
+ wherever such third-party notices normally appear. The contents
248
+ of the NOTICE file are for informational purposes only and
249
+ do not modify the License. You may add Your own attribution
250
+ notices within Derivative Works that You distribute, alongside
251
+ or as an addendum to the NOTICE text from the Work, provided
252
+ that such additional attribution notices cannot be construed
253
+ as modifying the License.
254
+
255
+ You may add Your own copyright statement to Your modifications and
256
+ may provide additional or different license terms and conditions
257
+ for use, reproduction, or distribution of Your modifications, or
258
+ for any such Derivative Works as a whole, provided Your use,
259
+ reproduction, and distribution of the Work otherwise complies with
260
+ the conditions stated in this License.
261
+
262
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
263
+ any Contribution intentionally submitted for inclusion in the Work
264
+ by You to the Licensor shall be under the terms and conditions of
265
+ this License, without any additional terms or conditions.
266
+ Notwithstanding the above, nothing herein shall supersede or modify
267
+ the terms of any separate license agreement you may have executed
268
+ with Licensor regarding such Contributions.
269
+
270
+ 6. Trademarks. This License does not grant permission to use the trade
271
+ names, trademarks, service marks, or product names of the Licensor,
272
+ except as required for reasonable and customary use in describing the
273
+ origin of the Work and reproducing the content of the NOTICE file.
274
+
275
+ 7. Disclaimer of Warranty. Unless required by applicable law or
276
+ agreed to in writing, Licensor provides the Work (and each
277
+ Contributor provides its Contributions) on an "AS IS" BASIS,
278
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
279
+ implied, including, without limitation, any warranties or conditions
280
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
281
+ PARTICULAR PURPOSE. You are solely responsible for determining the
282
+ appropriateness of using or redistributing the Work and assume any
283
+ risks associated with Your exercise of permissions under this License.
284
+
285
+ 8. Limitation of Liability. In no event and under no legal theory,
286
+ whether in tort (including negligence), contract, or otherwise,
287
+ unless required by applicable law (such as deliberate and grossly
288
+ negligent acts) or agreed to in writing, shall any Contributor be
289
+ liable to You for damages, including any direct, indirect, special,
290
+ incidental, or consequential damages of any character arising as a
291
+ result of this License or out of the use or inability to use the
292
+ Work (including but not limited to damages for loss of goodwill,
293
+ work stoppage, computer failure or malfunction, or any and all
294
+ other commercial damages or losses), even if such Contributor
295
+ has been advised of the possibility of such damages.
296
+
297
+ 9. Accepting Warranty or Additional Liability. While redistributing
298
+ the Work or Derivative Works thereof, You may choose to offer,
299
+ and charge a fee for, acceptance of support, warranty, indemnity,
300
+ or other liability obligations and/or rights consistent with this
301
+ License. However, in accepting such obligations, You may act only
302
+ on Your own behalf and on Your sole responsibility, not on behalf
303
+ of any other Contributor, and only if You agree to indemnify,
304
+ defend, and hold each Contributor harmless for any liability
305
+ incurred by, or claims asserted against, such Contributor by reason
306
+ of your accepting any such warranty or additional liability.
307
+
308
+ END OF TERMS AND CONDITIONS
309
+
310
+ APPENDIX: How to apply the Apache License to your work.
311
+
312
+ To apply the Apache License to your work, attach the following
313
+ boilerplate notice, with the fields enclosed by brackets "[]"
314
+ replaced with your own identifying information. (Don't include
315
+ the brackets!) The text should be enclosed in the appropriate
316
+ comment syntax for the file format. We also recommend that a
317
+ file or class name and description of purpose be included on the
318
+ same "printed page" as the copyright notice for easier
319
+ identification within third-party archives.
320
+
321
+ Copyright 2026 OpenAI
322
+
323
+ Licensed under the Apache License, Version 2.0 (the "License");
324
+ you may not use this file except in compliance with the License.
325
+ You may obtain a copy of the License at
326
+
327
+ http://www.apache.org/licenses/LICENSE-2.0
328
+
329
+ Unless required by applicable law or agreed to in writing, software
330
+ distributed under the License is distributed on an "AS IS" BASIS,
331
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
332
+ See the License for the specific language governing permissions and
333
+ limitations under the License.
334
+
335
+ ==============================================================================
336
+ partial-json 0.1.7 (MIT)
337
+ https://github.com/promplate/partial-json-parser-js
338
+ ==============================================================================
339
+ MIT License
340
+
341
+ Copyright (c) 2023 Promplate Dev Team
342
+
343
+ Permission is hereby granted, free of charge, to any person obtaining a copy
344
+ of this software and associated documentation files (the "Software"), to deal
345
+ in the Software without restriction, including without limitation the rights
346
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
347
+ copies of the Software, and to permit persons to whom the Software is
348
+ furnished to do so, subject to the following conditions:
349
+
350
+ The above copyright notice and this permission notice shall be included in all
351
+ copies or substantial portions of the Software.
352
+
353
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
354
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
355
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
356
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
357
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
358
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
359
+ SOFTWARE.
360
+
361
+ ==============================================================================
362
+ standardwebhooks 1.1.1 (MIT)
363
+ https://github.com/standard-webhooks/standard-webhooks
364
+ The npm package declares MIT (author: Standard Webhooks) and ships no licence file; its repository, github.com/standard-webhooks/standard-webhooks, carries the Apache-2.0 licence reproduced here.
365
+ ==============================================================================
366
+ Apache License
367
+ Version 2.0, January 2004
368
+ http://www.apache.org/licenses/
369
+
370
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
371
+
372
+ 1. Definitions.
373
+
374
+ "License" shall mean the terms and conditions for use, reproduction,
375
+ and distribution as defined by Sections 1 through 9 of this document.
376
+
377
+ "Licensor" shall mean the copyright owner or entity authorized by
378
+ the copyright owner that is granting the License.
379
+
380
+ "Legal Entity" shall mean the union of the acting entity and all
381
+ other entities that control, are controlled by, or are under common
382
+ control with that entity. For the purposes of this definition,
383
+ "control" means (i) the power, direct or indirect, to cause the
384
+ direction or management of such entity, whether by contract or
385
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
386
+ outstanding shares, or (iii) beneficial ownership of such entity.
387
+
388
+ "You" (or "Your") shall mean an individual or Legal Entity
389
+ exercising permissions granted by this License.
390
+
391
+ "Source" form shall mean the preferred form for making modifications,
392
+ including but not limited to software source code, documentation
393
+ source, and configuration files.
394
+
395
+ "Object" form shall mean any form resulting from mechanical
396
+ transformation or translation of a Source form, including but
397
+ not limited to compiled object code, generated documentation,
398
+ and conversions to other media types.
399
+
400
+ "Work" shall mean the work of authorship, whether in Source or
401
+ Object form, made available under the License, as indicated by a
402
+ copyright notice that is included in or attached to the work
403
+ (an example is provided in the Appendix below).
404
+
405
+ "Derivative Works" shall mean any work, whether in Source or Object
406
+ form, that is based on (or derived from) the Work and for which the
407
+ editorial revisions, annotations, elaborations, or other modifications
408
+ represent, as a whole, an original work of authorship. For the purposes
409
+ of this License, Derivative Works shall not include works that remain
410
+ separable from, or merely link (or bind by name) to the interfaces of,
411
+ the Work and Derivative Works thereof.
412
+
413
+ "Contribution" shall mean any work of authorship, including
414
+ the original version of the Work and any modifications or additions
415
+ to that Work or Derivative Works thereof, that is intentionally
416
+ submitted to Licensor for inclusion in the Work by the copyright owner
417
+ or by an individual or Legal Entity authorized to submit on behalf of
418
+ the copyright owner. For the purposes of this definition, "submitted"
419
+ means any form of electronic, verbal, or written communication sent
420
+ to the Licensor or its representatives, including but not limited to
421
+ communication on electronic mailing lists, source code control systems,
422
+ and issue tracking systems that are managed by, or on behalf of, the
423
+ Licensor for the purpose of discussing and improving the Work, but
424
+ excluding communication that is conspicuously marked or otherwise
425
+ designated in writing by the copyright owner as "Not a Contribution."
426
+
427
+ "Contributor" shall mean Licensor and any individual or Legal Entity
428
+ on behalf of whom a Contribution has been received by Licensor and
429
+ subsequently incorporated within the Work.
430
+
431
+ 2. Grant of Copyright License. Subject to the terms and conditions of
432
+ this License, each Contributor hereby grants to You a perpetual,
433
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
434
+ copyright license to reproduce, prepare Derivative Works of,
435
+ publicly display, publicly perform, sublicense, and distribute the
436
+ Work and such Derivative Works in Source or Object form.
437
+
438
+ 3. Grant of Patent License. Subject to the terms and conditions of
439
+ this License, each Contributor hereby grants to You a perpetual,
440
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
441
+ (except as stated in this section) patent license to make, have made,
442
+ use, offer to sell, sell, import, and otherwise transfer the Work,
443
+ where such license applies only to those patent claims licensable
444
+ by such Contributor that are necessarily infringed by their
445
+ Contribution(s) alone or by combination of their Contribution(s)
446
+ with the Work to which such Contribution(s) was submitted. If You
447
+ institute patent litigation against any entity (including a
448
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
449
+ or a Contribution incorporated within the Work constitutes direct
450
+ or contributory patent infringement, then any patent licenses
451
+ granted to You under this License for that Work shall terminate
452
+ as of the date such litigation is filed.
453
+
454
+ 4. Redistribution. You may reproduce and distribute copies of the
455
+ Work or Derivative Works thereof in any medium, with or without
456
+ modifications, and in Source or Object form, provided that You
457
+ meet the following conditions:
458
+
459
+ (a) You must give any other recipients of the Work or
460
+ Derivative Works a copy of this License; and
461
+
462
+ (b) You must cause any modified files to carry prominent notices
463
+ stating that You changed the files; and
464
+
465
+ (c) You must retain, in the Source form of any Derivative Works
466
+ that You distribute, all copyright, patent, trademark, and
467
+ attribution notices from the Source form of the Work,
468
+ excluding those notices that do not pertain to any part of
469
+ the Derivative Works; and
470
+
471
+ (d) If the Work includes a "NOTICE" text file as part of its
472
+ distribution, then any Derivative Works that You distribute must
473
+ include a readable copy of the attribution notices contained
474
+ within such NOTICE file, excluding those notices that do not
475
+ pertain to any part of the Derivative Works, in at least one
476
+ of the following places: within a NOTICE text file distributed
477
+ as part of the Derivative Works; within the Source form or
478
+ documentation, if provided along with the Derivative Works; or,
479
+ within a display generated by the Derivative Works, if and
480
+ wherever such third-party notices normally appear. The contents
481
+ of the NOTICE file are for informational purposes only and
482
+ do not modify the License. You may add Your own attribution
483
+ notices within Derivative Works that You distribute, alongside
484
+ or as an addendum to the NOTICE text from the Work, provided
485
+ that such additional attribution notices cannot be construed
486
+ as modifying the License.
487
+
488
+ You may add Your own copyright statement to Your modifications and
489
+ may provide additional or different license terms and conditions
490
+ for use, reproduction, or distribution of Your modifications, or
491
+ for any such Derivative Works as a whole, provided Your use,
492
+ reproduction, and distribution of the Work otherwise complies with
493
+ the conditions stated in this License.
494
+
495
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
496
+ any Contribution intentionally submitted for inclusion in the Work
497
+ by You to the Licensor shall be under the terms and conditions of
498
+ this License, without any additional terms or conditions.
499
+ Notwithstanding the above, nothing herein shall supersede or modify
500
+ the terms of any separate license agreement you may have executed
501
+ with Licensor regarding such Contributions.
502
+
503
+ 6. Trademarks. This License does not grant permission to use the trade
504
+ names, trademarks, service marks, or product names of the Licensor,
505
+ except as required for reasonable and customary use in describing the
506
+ origin of the Work and reproducing the content of the NOTICE file.
507
+
508
+ 7. Disclaimer of Warranty. Unless required by applicable law or
509
+ agreed to in writing, Licensor provides the Work (and each
510
+ Contributor provides its Contributions) on an "AS IS" BASIS,
511
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
512
+ implied, including, without limitation, any warranties or conditions
513
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
514
+ PARTICULAR PURPOSE. You are solely responsible for determining the
515
+ appropriateness of using or redistributing the Work and assume any
516
+ risks associated with Your exercise of permissions under this License.
517
+
518
+ 8. Limitation of Liability. In no event and under no legal theory,
519
+ whether in tort (including negligence), contract, or otherwise,
520
+ unless required by applicable law (such as deliberate and grossly
521
+ negligent acts) or agreed to in writing, shall any Contributor be
522
+ liable to You for damages, including any direct, indirect, special,
523
+ incidental, or consequential damages of any character arising as a
524
+ result of this License or out of the use or inability to use the
525
+ Work (including but not limited to damages for loss of goodwill,
526
+ work stoppage, computer failure or malfunction, or any and all
527
+ other commercial damages or losses), even if such Contributor
528
+ has been advised of the possibility of such damages.
529
+
530
+ 9. Accepting Warranty or Additional Liability. While redistributing
531
+ the Work or Derivative Works thereof, You may choose to offer,
532
+ and charge a fee for, acceptance of support, warranty, indemnity,
533
+ or other liability obligations and/or rights consistent with this
534
+ License. However, in accepting such obligations, You may act only
535
+ on Your own behalf and on Your sole responsibility, not on behalf
536
+ of any other Contributor, and only if You agree to indemnify,
537
+ defend, and hold each Contributor harmless for any liability
538
+ incurred by, or claims asserted against, such Contributor by reason
539
+ of your accepting any such warranty or additional liability.
540
+
541
+ END OF TERMS AND CONDITIONS
542
+
543
+ APPENDIX: How to apply the Apache License to your work.
544
+
545
+ To apply the Apache License to your work, attach the following
546
+ boilerplate notice, with the fields enclosed by brackets "[]"
547
+ replaced with your own identifying information. (Don't include
548
+ the brackets!) The text should be enclosed in the appropriate
549
+ comment syntax for the file format. We also recommend that a
550
+ file or class name and description of purpose be included on the
551
+ same "printed page" as the copyright notice for easier
552
+ identification within third-party archives.
553
+
554
+ Copyright [yyyy] [name of copyright owner]
555
+
556
+ Licensed under the Apache License, Version 2.0 (the "License");
557
+ you may not use this file except in compliance with the License.
558
+ You may obtain a copy of the License at
559
+
560
+ http://www.apache.org/licenses/LICENSE-2.0
561
+
562
+ Unless required by applicable law or agreed to in writing, software
563
+ distributed under the License is distributed on an "AS IS" BASIS,
564
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
565
+ See the License for the specific language governing permissions and
566
+ limitations under the License.