@oxbit/cli 0.4.1 → 0.6.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.
@@ -0,0 +1,544 @@
1
+ Third-party notices for iOS workspace search
2
+
3
+ These Rust crates were added to the Oxbit iOS app for native workspace search and quick open.
4
+ Each crate keeps its own license. The crate's published license files follow the list.
5
+
6
+ Crates
7
+ ------
8
+ bstr 1.13.1: MIT OR Apache-2.0
9
+ crossbeam-deque 0.8.8: MIT OR Apache-2.0
10
+ crossbeam-epoch 0.9.21: MIT OR Apache-2.0
11
+ globset 0.4.20: Unlicense OR MIT
12
+ grep-matcher 0.1.9: Unlicense OR MIT
13
+ grep-regex 0.1.14: Unlicense OR MIT
14
+ ignore 0.4.33: Unlicense OR MIT
15
+
16
+
17
+ Apache License 2.0 (applies to crates licensed under Apache-2.0)
18
+ -----------------------------------------------------------------
19
+ Apache License
20
+ Version 2.0, January 2004
21
+ http://www.apache.org/licenses/
22
+
23
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
24
+
25
+ 1. Definitions.
26
+
27
+ "License" shall mean the terms and conditions for use, reproduction,
28
+ and distribution as defined by Sections 1 through 9 of this document.
29
+
30
+ "Licensor" shall mean the copyright owner or entity authorized by
31
+ the copyright owner that is granting the License.
32
+
33
+ "Legal Entity" shall mean the union of the acting entity and all
34
+ other entities that control, are controlled by, or are under common
35
+ control with that entity. For the purposes of this definition,
36
+ "control" means (i) the power, direct or indirect, to cause the
37
+ direction or management of such entity, whether by contract or
38
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
39
+ outstanding shares, or (iii) beneficial ownership of such entity.
40
+
41
+ "You" (or "Your") shall mean an individual or Legal Entity
42
+ exercising permissions granted by this License.
43
+
44
+ "Source" form shall mean the preferred form for making modifications,
45
+ including but not limited to software source code, documentation
46
+ source, and configuration files.
47
+
48
+ "Object" form shall mean any form resulting from mechanical
49
+ transformation or translation of a Source form, including but
50
+ not limited to compiled object code, generated documentation,
51
+ and conversions to other media types.
52
+
53
+ "Work" shall mean the work of authorship, whether in Source or
54
+ Object form, made available under the License, as indicated by a
55
+ copyright notice that is included in or attached to the work
56
+ (an example is provided in the Appendix below).
57
+
58
+ "Derivative Works" shall mean any work, whether in Source or Object
59
+ form, that is based on (or derived from) the Work and for which the
60
+ editorial revisions, annotations, elaborations, or other modifications
61
+ represent, as a whole, an original work of authorship. For the purposes
62
+ of this License, Derivative Works shall not include works that remain
63
+ separable from, or merely link (or bind by name) to the interfaces of,
64
+ the Work and Derivative Works thereof.
65
+
66
+ "Contribution" shall mean any work of authorship, including
67
+ the original version of the Work and any modifications or additions
68
+ to that Work or Derivative Works thereof, that is intentionally
69
+ submitted to Licensor for inclusion in the Work by the copyright owner
70
+ or by an individual or Legal Entity authorized to submit on behalf of
71
+ the copyright owner. For the purposes of this definition, "submitted"
72
+ means any form of electronic, verbal, or written communication sent
73
+ to the Licensor or its representatives, including but not limited to
74
+ communication on electronic mailing lists, source code control systems,
75
+ and issue tracking systems that are managed by, or on behalf of, the
76
+ Licensor for the purpose of discussing and improving the Work, but
77
+ excluding communication that is conspicuously marked or otherwise
78
+ designated in writing by the copyright owner as "Not a Contribution."
79
+
80
+ "Contributor" shall mean Licensor and any individual or Legal Entity
81
+ on behalf of whom a Contribution has been received by Licensor and
82
+ subsequently incorporated within the Work.
83
+
84
+ 2. Grant of Copyright License. Subject to the terms and conditions of
85
+ this License, each Contributor hereby grants to You a perpetual,
86
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
87
+ copyright license to reproduce, prepare Derivative Works of,
88
+ publicly display, publicly perform, sublicense, and distribute the
89
+ Work and such Derivative Works in Source or Object form.
90
+
91
+ 3. Grant of Patent License. Subject to the terms and conditions of
92
+ this License, each Contributor hereby grants to You a perpetual,
93
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
94
+ (except as stated in this section) patent license to make, have made,
95
+ use, offer to sell, sell, import, and otherwise transfer the Work,
96
+ where such license applies only to those patent claims licensable
97
+ by such Contributor that are necessarily infringed by their
98
+ Contribution(s) alone or by combination of their Contribution(s)
99
+ with the Work to which such Contribution(s) was submitted. If You
100
+ institute patent litigation against any entity (including a
101
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
102
+ or a Contribution incorporated within the Work constitutes direct
103
+ or contributory patent infringement, then any patent licenses
104
+ granted to You under this License for that Work shall terminate
105
+ as of the date such litigation is filed.
106
+
107
+ 4. Redistribution. You may reproduce and distribute copies of the
108
+ Work or Derivative Works thereof in any medium, with or without
109
+ modifications, and in Source or Object form, provided that You
110
+ meet the following conditions:
111
+
112
+ (a) You must give any other recipients of the Work or
113
+ Derivative Works a copy of this License; and
114
+
115
+ (b) You must cause any modified files to carry prominent notices
116
+ stating that You changed the files; and
117
+
118
+ (c) You must retain, in the Source form of any Derivative Works
119
+ that You distribute, all copyright, patent, trademark, and
120
+ attribution notices from the Source form of the Work,
121
+ excluding those notices that do not pertain to any part of
122
+ the Derivative Works; and
123
+
124
+ (d) If the Work includes a "NOTICE" text file as part of its
125
+ distribution, then any Derivative Works that You distribute must
126
+ include a readable copy of the attribution notices contained
127
+ within such NOTICE file, excluding those notices that do not
128
+ pertain to any part of the Derivative Works, in at least one
129
+ of the following places: within a NOTICE text file distributed
130
+ as part of the Derivative Works; within the Source form or
131
+ documentation, if provided along with the Derivative Works; or,
132
+ within a display generated by the Derivative Works, if and
133
+ wherever such third-party notices normally appear. The contents
134
+ of the NOTICE file are for informational purposes only and
135
+ do not modify the License. You may add Your own attribution
136
+ notices within Derivative Works that You distribute, alongside
137
+ or as an addendum to the NOTICE text from the Work, provided
138
+ that such additional attribution notices cannot be construed
139
+ as modifying the License.
140
+
141
+ You may add Your own copyright statement to Your modifications and
142
+ may provide additional or different license terms and conditions
143
+ for use, reproduction, or distribution of Your modifications, or
144
+ for any such Derivative Works as a whole, provided Your use,
145
+ reproduction, and distribution of the Work otherwise complies with
146
+ the conditions stated in this License.
147
+
148
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
149
+ any Contribution intentionally submitted for inclusion in the Work
150
+ by You to the Licensor shall be under the terms and conditions of
151
+ this License, without any additional terms or conditions.
152
+ Notwithstanding the above, nothing herein shall supersede or modify
153
+ the terms of any separate license agreement you may have executed
154
+ with Licensor regarding such Contributions.
155
+
156
+ 6. Trademarks. This License does not grant permission to use the trade
157
+ names, trademarks, service marks, or product names of the Licensor,
158
+ except as required for reasonable and customary use in describing the
159
+ origin of the Work and reproducing the content of the NOTICE file.
160
+
161
+ 7. Disclaimer of Warranty. Unless required by applicable law or
162
+ agreed to in writing, Licensor provides the Work (and each
163
+ Contributor provides its Contributions) on an "AS IS" BASIS,
164
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
165
+ implied, including, without limitation, any warranties or conditions
166
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
167
+ PARTICULAR PURPOSE. You are solely responsible for determining the
168
+ appropriateness of using or redistributing the Work and assume any
169
+ risks associated with Your exercise of permissions under this License.
170
+
171
+ 8. Limitation of Liability. In no event and under no legal theory,
172
+ whether in tort (including negligence), contract, or otherwise,
173
+ unless required by applicable law (such as deliberate and grossly
174
+ negligent acts) or agreed to in writing, shall any Contributor be
175
+ liable to You for damages, including any direct, indirect, special,
176
+ incidental, or consequential damages of any character arising as a
177
+ result of this License or out of the use or inability to use the
178
+ Work (including but not limited to damages for loss of goodwill,
179
+ work stoppage, computer failure or malfunction, or any and all
180
+ other commercial damages or losses), even if such Contributor
181
+ has been advised of the possibility of such damages.
182
+
183
+ 9. Accepting Warranty or Additional Liability. While redistributing
184
+ the Work or Derivative Works thereof, You may choose to offer,
185
+ and charge a fee for, acceptance of support, warranty, indemnity,
186
+ or other liability obligations and/or rights consistent with this
187
+ License. However, in accepting such obligations, You may act only
188
+ on Your own behalf and on Your sole responsibility, not on behalf
189
+ of any other Contributor, and only if You agree to indemnify,
190
+ defend, and hold each Contributor harmless for any liability
191
+ incurred by, or claims asserted against, such Contributor by reason
192
+ of your accepting any such warranty or additional liability.
193
+
194
+ END OF TERMS AND CONDITIONS
195
+
196
+ APPENDIX: How to apply the Apache License to your work.
197
+
198
+ To apply the Apache License to your work, attach the following
199
+ boilerplate notice, with the fields enclosed by brackets "[]"
200
+ replaced with your own identifying information. (Don't include
201
+ the brackets!) The text should be enclosed in the appropriate
202
+ comment syntax for the file format. We also recommend that a
203
+ file or class name and description of purpose be included on the
204
+ same "printed page" as the copyright notice for easier
205
+ identification within third-party archives.
206
+
207
+ Copyright [yyyy] [name of copyright owner]
208
+
209
+ Licensed under the Apache License, Version 2.0 (the "License");
210
+ you may not use this file except in compliance with the License.
211
+ You may obtain a copy of the License at
212
+
213
+ http://www.apache.org/licenses/LICENSE-2.0
214
+
215
+ Unless required by applicable law or agreed to in writing, software
216
+ distributed under the License is distributed on an "AS IS" BASIS,
217
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
218
+ See the License for the specific language governing permissions and
219
+ limitations under the License.
220
+
221
+
222
+ bstr 1.13.1: COPYING
223
+ ------------------------------------------------------------
224
+ This project is licensed under either of
225
+
226
+ * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
227
+ https://www.apache.org/licenses/LICENSE-2.0)
228
+ * MIT license ([LICENSE-MIT](LICENSE-MIT) or
229
+ https://opensource.org/licenses/MIT)
230
+
231
+ at your option.
232
+
233
+
234
+ bstr 1.13.1: LICENSE-MIT
235
+ ------------------------------------------------------------
236
+ The MIT License (MIT)
237
+
238
+ Copyright (c) 2018-2019 Andrew Gallant
239
+
240
+ Permission is hereby granted, free of charge, to any person obtaining a copy
241
+ of this software and associated documentation files (the "Software"), to deal
242
+ in the Software without restriction, including without limitation the rights
243
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
244
+ copies of the Software, and to permit persons to whom the Software is
245
+ furnished to do so, subject to the following conditions:
246
+
247
+ The above copyright notice and this permission notice shall be included in
248
+ all copies or substantial portions of the Software.
249
+
250
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
251
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
252
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
253
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
254
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
255
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
256
+ THE SOFTWARE.
257
+
258
+
259
+ crossbeam-deque 0.8.8: LICENSE-MIT
260
+ ------------------------------------------------------------
261
+ The MIT License (MIT)
262
+
263
+ Copyright (c) 2019 The Crossbeam Project Developers
264
+
265
+ Permission is hereby granted, free of charge, to any
266
+ person obtaining a copy of this software and associated
267
+ documentation files (the "Software"), to deal in the
268
+ Software without restriction, including without
269
+ limitation the rights to use, copy, modify, merge,
270
+ publish, distribute, sublicense, and/or sell copies of
271
+ the Software, and to permit persons to whom the Software
272
+ is furnished to do so, subject to the following
273
+ conditions:
274
+
275
+ The above copyright notice and this permission notice
276
+ shall be included in all copies or substantial portions
277
+ of the Software.
278
+
279
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
280
+ ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
281
+ TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
282
+ PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
283
+ SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
284
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
285
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
286
+ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
287
+ DEALINGS IN THE SOFTWARE.
288
+
289
+
290
+ crossbeam-epoch 0.9.21: LICENSE-MIT
291
+ ------------------------------------------------------------
292
+ The MIT License (MIT)
293
+
294
+ Copyright (c) 2019 The Crossbeam Project Developers
295
+
296
+ Permission is hereby granted, free of charge, to any
297
+ person obtaining a copy of this software and associated
298
+ documentation files (the "Software"), to deal in the
299
+ Software without restriction, including without
300
+ limitation the rights to use, copy, modify, merge,
301
+ publish, distribute, sublicense, and/or sell copies of
302
+ the Software, and to permit persons to whom the Software
303
+ is furnished to do so, subject to the following
304
+ conditions:
305
+
306
+ The above copyright notice and this permission notice
307
+ shall be included in all copies or substantial portions
308
+ of the Software.
309
+
310
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
311
+ ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
312
+ TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
313
+ PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
314
+ SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
315
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
316
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
317
+ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
318
+ DEALINGS IN THE SOFTWARE.
319
+
320
+
321
+ globset 0.4.20: COPYING
322
+ ------------------------------------------------------------
323
+ This project is dual-licensed under the Unlicense and MIT licenses.
324
+
325
+ You may use this code under the terms of either license.
326
+
327
+
328
+ globset 0.4.20: LICENSE-MIT
329
+ ------------------------------------------------------------
330
+ The MIT License (MIT)
331
+
332
+ Copyright (c) 2015 Andrew Gallant
333
+
334
+ Permission is hereby granted, free of charge, to any person obtaining a copy
335
+ of this software and associated documentation files (the "Software"), to deal
336
+ in the Software without restriction, including without limitation the rights
337
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
338
+ copies of the Software, and to permit persons to whom the Software is
339
+ furnished to do so, subject to the following conditions:
340
+
341
+ The above copyright notice and this permission notice shall be included in
342
+ all copies or substantial portions of the Software.
343
+
344
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
345
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
346
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
347
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
348
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
349
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
350
+ THE SOFTWARE.
351
+
352
+
353
+ globset 0.4.20: UNLICENSE
354
+ ------------------------------------------------------------
355
+ This is free and unencumbered software released into the public domain.
356
+
357
+ Anyone is free to copy, modify, publish, use, compile, sell, or
358
+ distribute this software, either in source code form or as a compiled
359
+ binary, for any purpose, commercial or non-commercial, and by any
360
+ means.
361
+
362
+ In jurisdictions that recognize copyright laws, the author or authors
363
+ of this software dedicate any and all copyright interest in the
364
+ software to the public domain. We make this dedication for the benefit
365
+ of the public at large and to the detriment of our heirs and
366
+ successors. We intend this dedication to be an overt act of
367
+ relinquishment in perpetuity of all present and future rights to this
368
+ software under copyright law.
369
+
370
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
371
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
372
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
373
+ IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
374
+ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
375
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
376
+ OTHER DEALINGS IN THE SOFTWARE.
377
+
378
+ For more information, please refer to <http://unlicense.org/>
379
+
380
+
381
+ grep-matcher 0.1.9: LICENSE-MIT
382
+ ------------------------------------------------------------
383
+ The MIT License (MIT)
384
+
385
+ Copyright (c) 2015 Andrew Gallant
386
+
387
+ Permission is hereby granted, free of charge, to any person obtaining a copy
388
+ of this software and associated documentation files (the "Software"), to deal
389
+ in the Software without restriction, including without limitation the rights
390
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
391
+ copies of the Software, and to permit persons to whom the Software is
392
+ furnished to do so, subject to the following conditions:
393
+
394
+ The above copyright notice and this permission notice shall be included in
395
+ all copies or substantial portions of the Software.
396
+
397
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
398
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
399
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
400
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
401
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
402
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
403
+ THE SOFTWARE.
404
+
405
+
406
+ grep-matcher 0.1.9: UNLICENSE
407
+ ------------------------------------------------------------
408
+ This is free and unencumbered software released into the public domain.
409
+
410
+ Anyone is free to copy, modify, publish, use, compile, sell, or
411
+ distribute this software, either in source code form or as a compiled
412
+ binary, for any purpose, commercial or non-commercial, and by any
413
+ means.
414
+
415
+ In jurisdictions that recognize copyright laws, the author or authors
416
+ of this software dedicate any and all copyright interest in the
417
+ software to the public domain. We make this dedication for the benefit
418
+ of the public at large and to the detriment of our heirs and
419
+ successors. We intend this dedication to be an overt act of
420
+ relinquishment in perpetuity of all present and future rights to this
421
+ software under copyright law.
422
+
423
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
424
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
425
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
426
+ IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
427
+ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
428
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
429
+ OTHER DEALINGS IN THE SOFTWARE.
430
+
431
+ For more information, please refer to <http://unlicense.org/>
432
+
433
+
434
+ grep-regex 0.1.14: LICENSE-MIT
435
+ ------------------------------------------------------------
436
+ The MIT License (MIT)
437
+
438
+ Copyright (c) 2015 Andrew Gallant
439
+
440
+ Permission is hereby granted, free of charge, to any person obtaining a copy
441
+ of this software and associated documentation files (the "Software"), to deal
442
+ in the Software without restriction, including without limitation the rights
443
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
444
+ copies of the Software, and to permit persons to whom the Software is
445
+ furnished to do so, subject to the following conditions:
446
+
447
+ The above copyright notice and this permission notice shall be included in
448
+ all copies or substantial portions of the Software.
449
+
450
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
451
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
452
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
453
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
454
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
455
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
456
+ THE SOFTWARE.
457
+
458
+
459
+ grep-regex 0.1.14: UNLICENSE
460
+ ------------------------------------------------------------
461
+ This is free and unencumbered software released into the public domain.
462
+
463
+ Anyone is free to copy, modify, publish, use, compile, sell, or
464
+ distribute this software, either in source code form or as a compiled
465
+ binary, for any purpose, commercial or non-commercial, and by any
466
+ means.
467
+
468
+ In jurisdictions that recognize copyright laws, the author or authors
469
+ of this software dedicate any and all copyright interest in the
470
+ software to the public domain. We make this dedication for the benefit
471
+ of the public at large and to the detriment of our heirs and
472
+ successors. We intend this dedication to be an overt act of
473
+ relinquishment in perpetuity of all present and future rights to this
474
+ software under copyright law.
475
+
476
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
477
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
478
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
479
+ IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
480
+ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
481
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
482
+ OTHER DEALINGS IN THE SOFTWARE.
483
+
484
+ For more information, please refer to <http://unlicense.org/>
485
+
486
+
487
+ ignore 0.4.33: COPYING
488
+ ------------------------------------------------------------
489
+ This project is dual-licensed under the Unlicense and MIT licenses.
490
+
491
+ You may use this code under the terms of either license.
492
+
493
+
494
+ ignore 0.4.33: LICENSE-MIT
495
+ ------------------------------------------------------------
496
+ The MIT License (MIT)
497
+
498
+ Copyright (c) 2015 Andrew Gallant
499
+
500
+ Permission is hereby granted, free of charge, to any person obtaining a copy
501
+ of this software and associated documentation files (the "Software"), to deal
502
+ in the Software without restriction, including without limitation the rights
503
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
504
+ copies of the Software, and to permit persons to whom the Software is
505
+ furnished to do so, subject to the following conditions:
506
+
507
+ The above copyright notice and this permission notice shall be included in
508
+ all copies or substantial portions of the Software.
509
+
510
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
511
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
512
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
513
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
514
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
515
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
516
+ THE SOFTWARE.
517
+
518
+
519
+ ignore 0.4.33: UNLICENSE
520
+ ------------------------------------------------------------
521
+ This is free and unencumbered software released into the public domain.
522
+
523
+ Anyone is free to copy, modify, publish, use, compile, sell, or
524
+ distribute this software, either in source code form or as a compiled
525
+ binary, for any purpose, commercial or non-commercial, and by any
526
+ means.
527
+
528
+ In jurisdictions that recognize copyright laws, the author or authors
529
+ of this software dedicate any and all copyright interest in the
530
+ software to the public domain. We make this dedication for the benefit
531
+ of the public at large and to the detriment of our heirs and
532
+ successors. We intend this dedication to be an overt act of
533
+ relinquishment in perpetuity of all present and future rights to this
534
+ software under copyright law.
535
+
536
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
537
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
538
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
539
+ IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
540
+ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
541
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
542
+ OTHER DEALINGS IN THE SOFTWARE.
543
+
544
+ For more information, please refer to <http://unlicense.org/>
@@ -65,6 +65,25 @@
65
65
  "emacs"
66
66
  ]
67
67
  },
68
+ "runtime.keepAlive": {
69
+ "title": "Keep Runtime Alive",
70
+ "description": "How long a runtime Oxbit started keeps running after the last client disconnects or its connection heartbeats stop. Terminals and tasks continue while it runs.",
71
+ "type": "string",
72
+ "default": "75s",
73
+ "enum": [
74
+ "75s",
75
+ "15m",
76
+ "1h",
77
+ "8h",
78
+ "untilStopped"
79
+ ]
80
+ },
81
+ "runtime.autoReconnect": {
82
+ "title": "Reconnect Automatically",
83
+ "description": "Reconnect to the runtime after the connection drops, including when the iOS app returns to the foreground.",
84
+ "type": "boolean",
85
+ "default": true
86
+ },
68
87
  "workbench.tooltipDelay": {
69
88
  "title": "Tooltip Delay",
70
89
  "description": "Delay in milliseconds before showing a tooltip on hover. Keyboard focus shows tooltips immediately.",
@@ -690,6 +709,12 @@
690
709
  "workbench.keymap": {
691
710
  "$ref": "#/properties/workbench.keymap"
692
711
  },
712
+ "runtime.keepAlive": {
713
+ "$ref": "#/properties/runtime.keepAlive"
714
+ },
715
+ "runtime.autoReconnect": {
716
+ "$ref": "#/properties/runtime.autoReconnect"
717
+ },
693
718
  "workbench.tooltipDelay": {
694
719
  "$ref": "#/properties/workbench.tooltipDelay"
695
720
  },
@@ -9,9 +9,11 @@ var languages = [
9
9
  { id: "html", title: "HTML", extensions: ["html", "htm"], syntax: "html", providers: ["html"], badge: "<>" },
10
10
  { id: "vue", title: "Vue", extensions: ["vue"], syntax: "vue", providers: ["vue"], badge: "V" },
11
11
  { id: "astro", title: "Astro", extensions: ["astro"], syntax: "astro", providers: ["astro"], badge: "A" },
12
- { id: "dockerfile", title: "Dockerfile", extensions: ["dockerfile"], filenames: ["Dockerfile"], patterns: ["Dockerfile.*"], syntax: "dockerfile", providers: ["dockerfile"], badge: "D" },
13
- { id: "shellscript", title: "Bash", extensions: ["sh", "bash"], filenames: [".bashrc", ".bash_profile", ".bash_login", ".bash_logout", ".bash_aliases", ".profile"], shebangs: ["bash", "sh"], syntax: "shell", providers: ["bash"], badge: "$" },
12
+ { id: "dockerfile", title: "Dockerfile", extensions: ["dockerfile", "containerfile"], filenames: ["Dockerfile", "Containerfile"], patterns: ["Dockerfile.*", "Containerfile.*"], syntax: "dockerfile", providers: ["dockerfile"], badge: "D" },
13
+ { id: "shellscript", title: "Bash", extensions: ["sh", "bash"], filenames: [".bashrc", ".bash_profile", ".bash_login", ".bash_logout", ".bash_aliases", ".profile"], shebangs: ["bash", "sh", "dash", "ksh"], syntax: "shell", providers: ["bash"], badge: "$" },
14
14
  { id: "zsh", title: "Zsh", extensions: ["zsh"], filenames: [".zshrc", ".zshenv", ".zprofile", ".zlogin", ".zlogout"], shebangs: ["zsh"], syntax: "zsh", providers: ["local"], badge: "%" },
15
+ { id: "yaml", title: "YAML", extensions: ["yaml", "yml"], syntax: "yaml", providers: ["yaml"], badge: "Y" },
16
+ { id: "python", title: "Python", extensions: ["py", "pyi", "pyw"], shebangs: ["python", "python3"], syntax: "python", providers: ["basedpyright", "ruff"], badge: "Py" },
15
17
  { id: "json", title: "JSON", extensions: ["json"], syntax: "json", providers: ["json"], badge: "{}" },
16
18
  { id: "jsonc", title: "JSON with Comments", extensions: ["jsonc"], syntax: "jsonc", providers: ["json"], badge: "{}" },
17
19
  { id: "jsonl", title: "JSON Lines", extensions: ["jsonl", "ndjson"], syntax: "jsonl", providers: ["local"], badge: "{}" },
@@ -37,6 +39,18 @@ function matchesFilePattern(pattern, file) {
37
39
  const normalized = file.replaceAll("\\", "/").replace(/^\.\//, "");
38
40
  return new RegExp(`^${source}$`).test(pattern.includes("/") ? normalized : normalized.split("/").at(-1));
39
41
  }
42
+ function fileTypesToSelectors(fileTypes) {
43
+ return fileTypes.map((item) => item.trim()).filter(Boolean).map((item) => /[*?/]|^\./.test(item) ? { pattern: item } : { language: canonicalLanguageId(item) });
44
+ }
45
+ function selectorsToFileTypes(selectors) {
46
+ return selectors.flatMap((selector) => selector.pattern ?? selector.language ?? []);
47
+ }
48
+ function selectorsMatch(selectors, language, file) {
49
+ return selectors.some((selector) => (!selector.language || selector.language === "*" || canonicalLanguageId(selector.language) === canonicalLanguageId(language)) && (!selector.pattern || matchesFilePattern(selector.pattern, file)));
50
+ }
51
+ function validateFileTypes(value) {
52
+ if (!Array.isArray(value) || value.some((item) => typeof item !== "string" || !item.trim() || item.length > 1024)) throw new Error("File types must be language IDs or glob patterns");
53
+ }
40
54
  function resolveLanguage(file, options = {}) {
41
55
  const definitions = [...options.definitions ?? [], ...languages];
42
56
  for (const [pattern, id] of Object.entries(options.associations ?? {}).reverse()) {
@@ -191,6 +205,25 @@ var settings_schema_default = {
191
205
  "emacs"
192
206
  ]
193
207
  },
208
+ "runtime.keepAlive": {
209
+ title: "Keep Runtime Alive",
210
+ description: "How long a runtime Oxbit started keeps running after the last client disconnects or its connection heartbeats stop. Terminals and tasks continue while it runs.",
211
+ type: "string",
212
+ default: "75s",
213
+ enum: [
214
+ "75s",
215
+ "15m",
216
+ "1h",
217
+ "8h",
218
+ "untilStopped"
219
+ ]
220
+ },
221
+ "runtime.autoReconnect": {
222
+ title: "Reconnect Automatically",
223
+ description: "Reconnect to the runtime after the connection drops, including when the iOS app returns to the foreground.",
224
+ type: "boolean",
225
+ default: true
226
+ },
194
227
  "workbench.tooltipDelay": {
195
228
  title: "Tooltip Delay",
196
229
  description: "Delay in milliseconds before showing a tooltip on hover. Keyboard focus shows tooltips immediately.",
@@ -816,6 +849,12 @@ var settings_schema_default = {
816
849
  "workbench.keymap": {
817
850
  $ref: "#/properties/workbench.keymap"
818
851
  },
852
+ "runtime.keepAlive": {
853
+ $ref: "#/properties/runtime.keepAlive"
854
+ },
855
+ "runtime.autoReconnect": {
856
+ $ref: "#/properties/runtime.autoReconnect"
857
+ },
819
858
  "workbench.tooltipDelay": {
820
859
  $ref: "#/properties/workbench.tooltipDelay"
821
860
  },
@@ -1289,6 +1328,7 @@ export {
1289
1328
  SETTINGS_SCHEMA_URI,
1290
1329
  canonicalLanguageId,
1291
1330
  effectiveCapabilities,
1331
+ fileTypesToSelectors,
1292
1332
  incrementalChange,
1293
1333
  languageForKernel,
1294
1334
  languageIdForPath,
@@ -1302,6 +1342,8 @@ export {
1302
1342
  parseSettings,
1303
1343
  registrationMatches,
1304
1344
  resolveLanguage,
1345
+ selectorsMatch,
1346
+ selectorsToFileTypes,
1305
1347
  settingsChanges,
1306
1348
  settingsFile,
1307
1349
  settingsLayers,
@@ -1312,6 +1354,7 @@ export {
1312
1354
  textOffset,
1313
1355
  textPosition,
1314
1356
  validateFileAssociations,
1357
+ validateFileTypes,
1315
1358
  validateJson,
1316
1359
  validateLanguageServers
1317
1360
  };