@fatalmistake02/rian 0.0.0-stage → 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 (51) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +155 -2
  3. package/THIRD_PARTY_NOTICES.txt +673 -0
  4. package/bin/rian.cjs +12 -0
  5. package/cmd/rian/main.go +17 -0
  6. package/dist/binaries/darwin-arm64/rian +0 -0
  7. package/dist/binaries/darwin-x64/rian +0 -0
  8. package/dist/binaries/linux-arm64/rian +0 -0
  9. package/dist/binaries/linux-x64/rian +0 -0
  10. package/dist/binaries/manifest.json +29 -0
  11. package/dist/binaries/win32-arm64/rian.exe +0 -0
  12. package/dist/binaries/win32-x64/rian.exe +0 -0
  13. package/go.mod +28 -0
  14. package/go.sum +44 -0
  15. package/internal/app/app.go +298 -0
  16. package/internal/app/app_test.go +85 -0
  17. package/internal/config/config.go +189 -0
  18. package/internal/config/config_test.go +101 -0
  19. package/internal/detect/detect.go +252 -0
  20. package/internal/detect/detect_test.go +86 -0
  21. package/internal/git/git.go +166 -0
  22. package/internal/git/git_test.go +73 -0
  23. package/internal/git/window_unix.go +7 -0
  24. package/internal/git/window_windows.go +8 -0
  25. package/internal/process/platform_unix.go +19 -0
  26. package/internal/process/platform_windows.go +25 -0
  27. package/internal/process/process.go +172 -0
  28. package/internal/process/process_test.go +137 -0
  29. package/internal/project/project.go +180 -0
  30. package/internal/project/project_test.go +71 -0
  31. package/internal/tools/lookup.go +41 -0
  32. package/internal/tools/platform_unix.go +34 -0
  33. package/internal/tools/platform_windows.go +52 -0
  34. package/internal/tools/platform_windows_test.go +29 -0
  35. package/internal/tools/tools.go +152 -0
  36. package/internal/tools/tools_test.go +56 -0
  37. package/internal/ui/actions.go +259 -0
  38. package/internal/ui/forms.go +156 -0
  39. package/internal/ui/model.go +220 -0
  40. package/internal/ui/styles.go +85 -0
  41. package/internal/ui/ui_test.go +170 -0
  42. package/internal/ui/update.go +470 -0
  43. package/internal/ui/view.go +459 -0
  44. package/lib/launcher.cjs +46 -0
  45. package/lib/platforms.cjs +20 -0
  46. package/package.json +39 -4
  47. package/scripts/build-binaries.cjs +60 -0
  48. package/scripts/check-package.cjs +49 -0
  49. package/scripts/ensure-binary.cjs +11 -0
  50. package/test/npm/launcher.test.cjs +45 -0
  51. package/test/npm/package.test.cjs +26 -0
@@ -0,0 +1,673 @@
1
+ Rian bundles the Go runtime and the following third-party modules.
2
+ Their original copyright and license notices are reproduced below.
3
+
4
+
5
+ ========================================================================
6
+
7
+ Go runtime
8
+ go version go1.26.4 windows/amd64
9
+
10
+ Copyright 2009 The Go Authors.
11
+
12
+ Redistribution and use in source and binary forms, with or without
13
+ modification, are permitted provided that the following conditions are
14
+ met:
15
+
16
+ * Redistributions of source code must retain the above copyright
17
+ notice, this list of conditions and the following disclaimer.
18
+ * Redistributions in binary form must reproduce the above
19
+ copyright notice, this list of conditions and the following disclaimer
20
+ in the documentation and/or other materials provided with the
21
+ distribution.
22
+ * Neither the name of Google LLC nor the names of its
23
+ contributors may be used to endorse or promote products derived from
24
+ this software without specific prior written permission.
25
+
26
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
27
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
28
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
29
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
30
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
31
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
32
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
33
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
34
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
35
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
36
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37
+
38
+
39
+ ========================================================================
40
+
41
+ charm.land/bubbles/v2@v2.2.1 — LICENSE
42
+
43
+ MIT License
44
+
45
+ Copyright (c) 2020-2026 Charmbracelet, Inc.
46
+
47
+ Permission is hereby granted, free of charge, to any person obtaining a copy
48
+ of this software and associated documentation files (the "Software"), to deal
49
+ in the Software without restriction, including without limitation the rights
50
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
51
+ copies of the Software, and to permit persons to whom the Software is
52
+ furnished to do so, subject to the following conditions:
53
+
54
+ The above copyright notice and this permission notice shall be included in all
55
+ copies or substantial portions of the Software.
56
+
57
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
58
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
59
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
60
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
61
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
62
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
63
+ SOFTWARE.
64
+
65
+
66
+ ========================================================================
67
+
68
+ charm.land/bubbletea/v2@v2.0.10 — LICENSE
69
+
70
+ MIT License
71
+
72
+ Copyright (c) 2020-2026 Charmbracelet, Inc.
73
+
74
+ Permission is hereby granted, free of charge, to any person obtaining a copy
75
+ of this software and associated documentation files (the "Software"), to deal
76
+ in the Software without restriction, including without limitation the rights
77
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
78
+ copies of the Software, and to permit persons to whom the Software is
79
+ furnished to do so, subject to the following conditions:
80
+
81
+ The above copyright notice and this permission notice shall be included in all
82
+ copies or substantial portions of the Software.
83
+
84
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
85
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
86
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
87
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
88
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
89
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
90
+ SOFTWARE.
91
+
92
+
93
+ ========================================================================
94
+
95
+ charm.land/lipgloss/v2@v2.0.6 — LICENSE
96
+
97
+ MIT License
98
+
99
+ Copyright (c) 2021-2026 Charmbracelet, Inc.
100
+
101
+ Permission is hereby granted, free of charge, to any person obtaining a copy
102
+ of this software and associated documentation files (the "Software"), to deal
103
+ in the Software without restriction, including without limitation the rights
104
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
105
+ copies of the Software, and to permit persons to whom the Software is
106
+ furnished to do so, subject to the following conditions:
107
+
108
+ The above copyright notice and this permission notice shall be included in all
109
+ copies or substantial portions of the Software.
110
+
111
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
112
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
113
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
114
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
115
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
116
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
117
+ SOFTWARE.
118
+
119
+
120
+ ========================================================================
121
+
122
+ github.com/atotto/clipboard@v0.1.4 — LICENSE
123
+
124
+ Copyright (c) 2013 Ato Araki. All rights reserved.
125
+
126
+ Redistribution and use in source and binary forms, with or without
127
+ modification, are permitted provided that the following conditions are
128
+ met:
129
+
130
+ * Redistributions of source code must retain the above copyright
131
+ notice, this list of conditions and the following disclaimer.
132
+ * Redistributions in binary form must reproduce the above
133
+ copyright notice, this list of conditions and the following disclaimer
134
+ in the documentation and/or other materials provided with the
135
+ distribution.
136
+ * Neither the name of @atotto. nor the names of its
137
+ contributors may be used to endorse or promote products derived from
138
+ this software without specific prior written permission.
139
+
140
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
141
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
142
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
143
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
144
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
145
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
146
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
147
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
148
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
149
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
150
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
151
+
152
+
153
+ ========================================================================
154
+
155
+ github.com/aymanbagabas/go-udiff@v0.4.1 — LICENSE-BSD
156
+
157
+ Copyright (c) 2009 The Go Authors. All rights reserved.
158
+
159
+ Redistribution and use in source and binary forms, with or without
160
+ modification, are permitted provided that the following conditions are
161
+ met:
162
+
163
+ * Redistributions of source code must retain the above copyright
164
+ notice, this list of conditions and the following disclaimer.
165
+ * Redistributions in binary form must reproduce the above
166
+ copyright notice, this list of conditions and the following disclaimer
167
+ in the documentation and/or other materials provided with the
168
+ distribution.
169
+ * Neither the name of Google Inc. nor the names of its
170
+ contributors may be used to endorse or promote products derived from
171
+ this software without specific prior written permission.
172
+
173
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
174
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
175
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
176
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
177
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
178
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
179
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
180
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
181
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
182
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
183
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
184
+
185
+
186
+ ========================================================================
187
+
188
+ github.com/aymanbagabas/go-udiff@v0.4.1 — LICENSE-MIT
189
+
190
+ MIT License
191
+
192
+ Copyright (c) 2023 Ayman Bagabas
193
+
194
+ Permission is hereby granted, free of charge, to any person obtaining a copy
195
+ of this software and associated documentation files (the "Software"), to deal
196
+ in the Software without restriction, including without limitation the rights
197
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
198
+ copies of the Software, and to permit persons to whom the Software is
199
+ furnished to do so, subject to the following conditions:
200
+
201
+ The above copyright notice and this permission notice shall be included in all
202
+ copies or substantial portions of the Software.
203
+
204
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
205
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
206
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
207
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
208
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
209
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
210
+ SOFTWARE.
211
+
212
+
213
+ ========================================================================
214
+
215
+ github.com/charmbracelet/colorprofile@v0.4.3 — LICENSE
216
+
217
+ MIT License
218
+
219
+ Copyright (c) 2020-2024 Charmbracelet, Inc
220
+
221
+ Permission is hereby granted, free of charge, to any person obtaining a copy
222
+ of this software and associated documentation files (the "Software"), to deal
223
+ in the Software without restriction, including without limitation the rights
224
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
225
+ copies of the Software, and to permit persons to whom the Software is
226
+ furnished to do so, subject to the following conditions:
227
+
228
+ The above copyright notice and this permission notice shall be included in all
229
+ copies or substantial portions of the Software.
230
+
231
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
232
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
233
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
234
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
235
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
236
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
237
+ SOFTWARE.
238
+
239
+
240
+ ========================================================================
241
+
242
+ github.com/charmbracelet/ultraviolet@v0.0.0-20260811164956-006e29f97886 — LICENSE
243
+
244
+ MIT License
245
+
246
+ Copyright (c) 2025 Charmbracelet, Inc
247
+
248
+ Permission is hereby granted, free of charge, to any person obtaining a copy
249
+ of this software and associated documentation files (the "Software"), to deal
250
+ in the Software without restriction, including without limitation the rights
251
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
252
+ copies of the Software, and to permit persons to whom the Software is
253
+ furnished to do so, subject to the following conditions:
254
+
255
+ The above copyright notice and this permission notice shall be included in all
256
+ copies or substantial portions of the Software.
257
+
258
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
259
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
260
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
261
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
262
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
263
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
264
+ SOFTWARE.
265
+
266
+
267
+ ========================================================================
268
+
269
+ github.com/charmbracelet/x/ansi@v0.11.8 — LICENSE
270
+
271
+ MIT License
272
+
273
+ Copyright (c) 2023 Charmbracelet, Inc.
274
+
275
+ Permission is hereby granted, free of charge, to any person obtaining a copy
276
+ of this software and associated documentation files (the "Software"), to deal
277
+ in the Software without restriction, including without limitation the rights
278
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
279
+ copies of the Software, and to permit persons to whom the Software is
280
+ furnished to do so, subject to the following conditions:
281
+
282
+ The above copyright notice and this permission notice shall be included in all
283
+ copies or substantial portions of the Software.
284
+
285
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
286
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
287
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
288
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
289
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
290
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
291
+ SOFTWARE.
292
+
293
+
294
+ ========================================================================
295
+
296
+ github.com/charmbracelet/x/exp/golden@v0.0.0-20250806222409-83e3a29d542f — LICENSE
297
+
298
+ MIT License
299
+
300
+ Copyright (c) 2023 Charmbracelet, Inc.
301
+
302
+ Permission is hereby granted, free of charge, to any person obtaining a copy
303
+ of this software and associated documentation files (the "Software"), to deal
304
+ in the Software without restriction, including without limitation the rights
305
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
306
+ copies of the Software, and to permit persons to whom the Software is
307
+ furnished to do so, subject to the following conditions:
308
+
309
+ The above copyright notice and this permission notice shall be included in all
310
+ copies or substantial portions of the Software.
311
+
312
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
313
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
314
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
315
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
316
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
317
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
318
+ SOFTWARE.
319
+
320
+
321
+ ========================================================================
322
+
323
+ github.com/charmbracelet/x/term@v0.2.2 — LICENSE
324
+
325
+ MIT License
326
+
327
+ Copyright (c) 2023 Charmbracelet, Inc.
328
+
329
+ Permission is hereby granted, free of charge, to any person obtaining a copy
330
+ of this software and associated documentation files (the "Software"), to deal
331
+ in the Software without restriction, including without limitation the rights
332
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
333
+ copies of the Software, and to permit persons to whom the Software is
334
+ furnished to do so, subject to the following conditions:
335
+
336
+ The above copyright notice and this permission notice shall be included in all
337
+ copies or substantial portions of the Software.
338
+
339
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
340
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
341
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
342
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
343
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
344
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
345
+ SOFTWARE.
346
+
347
+
348
+ ========================================================================
349
+
350
+ github.com/charmbracelet/x/termios@v0.1.1 — LICENSE
351
+
352
+ MIT License
353
+
354
+ Copyright (c) 2023 Charmbracelet, Inc.
355
+
356
+ Permission is hereby granted, free of charge, to any person obtaining a copy
357
+ of this software and associated documentation files (the "Software"), to deal
358
+ in the Software without restriction, including without limitation the rights
359
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
360
+ copies of the Software, and to permit persons to whom the Software is
361
+ furnished to do so, subject to the following conditions:
362
+
363
+ The above copyright notice and this permission notice shall be included in all
364
+ copies or substantial portions of the Software.
365
+
366
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
367
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
368
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
369
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
370
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
371
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
372
+ SOFTWARE.
373
+
374
+
375
+ ========================================================================
376
+
377
+ github.com/charmbracelet/x/windows@v0.2.2 — LICENSE
378
+
379
+ MIT License
380
+
381
+ Copyright (c) 2023 Charmbracelet, Inc.
382
+
383
+ Permission is hereby granted, free of charge, to any person obtaining a copy
384
+ of this software and associated documentation files (the "Software"), to deal
385
+ in the Software without restriction, including without limitation the rights
386
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
387
+ copies of the Software, and to permit persons to whom the Software is
388
+ furnished to do so, subject to the following conditions:
389
+
390
+ The above copyright notice and this permission notice shall be included in all
391
+ copies or substantial portions of the Software.
392
+
393
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
394
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
395
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
396
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
397
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
398
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
399
+ SOFTWARE.
400
+
401
+
402
+ ========================================================================
403
+
404
+ github.com/clipperhouse/displaywidth@v0.11.0 — LICENSE
405
+
406
+ MIT License
407
+
408
+ Copyright (c) 2025 Matt Sherman
409
+
410
+ Permission is hereby granted, free of charge, to any person obtaining a copy
411
+ of this software and associated documentation files (the "Software"), to deal
412
+ in the Software without restriction, including without limitation the rights
413
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
414
+ copies of the Software, and to permit persons to whom the Software is
415
+ furnished to do so, subject to the following conditions:
416
+
417
+ The above copyright notice and this permission notice shall be included in all
418
+ copies or substantial portions of the Software.
419
+
420
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
421
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
422
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
423
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
424
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
425
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
426
+ SOFTWARE.
427
+
428
+
429
+ ========================================================================
430
+
431
+ github.com/clipperhouse/uax29/v2@v2.7.0 — LICENSE
432
+
433
+ MIT License
434
+
435
+ Copyright (c) 2020 Matt Sherman
436
+
437
+ Permission is hereby granted, free of charge, to any person obtaining a copy
438
+ of this software and associated documentation files (the "Software"), to deal
439
+ in the Software without restriction, including without limitation the rights
440
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
441
+ copies of the Software, and to permit persons to whom the Software is
442
+ furnished to do so, subject to the following conditions:
443
+
444
+ The above copyright notice and this permission notice shall be included in all
445
+ copies or substantial portions of the Software.
446
+
447
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
448
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
449
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
450
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
451
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
452
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
453
+ SOFTWARE.
454
+
455
+
456
+ ========================================================================
457
+
458
+ github.com/lucasb-eyer/go-colorful@v1.4.1 — LICENSE
459
+
460
+ Copyright (c) 2013 Lucas Beyer
461
+
462
+ 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:
463
+
464
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
465
+
466
+ 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.
467
+
468
+
469
+ ========================================================================
470
+
471
+ github.com/mattn/go-runewidth@v0.0.27 — LICENSE
472
+
473
+ The MIT License (MIT)
474
+
475
+ Copyright (c) 2016 Yasuhiro Matsumoto
476
+
477
+ Permission is hereby granted, free of charge, to any person obtaining a copy
478
+ of this software and associated documentation files (the "Software"), to deal
479
+ in the Software without restriction, including without limitation the rights
480
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
481
+ copies of the Software, and to permit persons to whom the Software is
482
+ furnished to do so, subject to the following conditions:
483
+
484
+ The above copyright notice and this permission notice shall be included in all
485
+ copies or substantial portions of the Software.
486
+
487
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
488
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
489
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
490
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
491
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
492
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
493
+ SOFTWARE.
494
+
495
+
496
+ ========================================================================
497
+
498
+ github.com/muesli/cancelreader@v0.2.2 — LICENSE
499
+
500
+ MIT License
501
+
502
+ Copyright (c) 2022 Erik Geiser and Christian Muehlhaeuser
503
+
504
+ Permission is hereby granted, free of charge, to any person obtaining a copy
505
+ of this software and associated documentation files (the "Software"), to deal
506
+ in the Software without restriction, including without limitation the rights
507
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
508
+ copies of the Software, and to permit persons to whom the Software is
509
+ furnished to do so, subject to the following conditions:
510
+
511
+ The above copyright notice and this permission notice shall be included in all
512
+ copies or substantial portions of the Software.
513
+
514
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
515
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
516
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
517
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
518
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
519
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
520
+ SOFTWARE.
521
+
522
+
523
+ ========================================================================
524
+
525
+ github.com/rivo/uniseg@v0.4.7 — LICENSE.txt
526
+
527
+ MIT License
528
+
529
+ Copyright (c) 2019 Oliver Kuederle
530
+
531
+ Permission is hereby granted, free of charge, to any person obtaining a copy
532
+ of this software and associated documentation files (the "Software"), to deal
533
+ in the Software without restriction, including without limitation the rights
534
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
535
+ copies of the Software, and to permit persons to whom the Software is
536
+ furnished to do so, subject to the following conditions:
537
+
538
+ The above copyright notice and this permission notice shall be included in all
539
+ copies or substantial portions of the Software.
540
+
541
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
542
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
543
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
544
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
545
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
546
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
547
+ SOFTWARE.
548
+
549
+
550
+ ========================================================================
551
+
552
+ github.com/xo/terminfo@v0.0.0-20220910002029-abceb7e1c41e — LICENSE
553
+
554
+ The MIT License (MIT)
555
+
556
+ Copyright (c) 2016 Anmol Sethi
557
+
558
+ Permission is hereby granted, free of charge, to any person obtaining a copy
559
+ of this software and associated documentation files (the "Software"), to deal
560
+ in the Software without restriction, including without limitation the rights
561
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
562
+ copies of the Software, and to permit persons to whom the Software is
563
+ furnished to do so, subject to the following conditions:
564
+
565
+ The above copyright notice and this permission notice shall be included in all
566
+ copies or substantial portions of the Software.
567
+
568
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
569
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
570
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
571
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
572
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
573
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
574
+ SOFTWARE.
575
+
576
+
577
+ ========================================================================
578
+
579
+ golang.org/x/exp@v0.0.0-20231006140011-7918f672742d — LICENSE
580
+
581
+ Copyright (c) 2009 The Go Authors. All rights reserved.
582
+
583
+ Redistribution and use in source and binary forms, with or without
584
+ modification, are permitted provided that the following conditions are
585
+ met:
586
+
587
+ * Redistributions of source code must retain the above copyright
588
+ notice, this list of conditions and the following disclaimer.
589
+ * Redistributions in binary form must reproduce the above
590
+ copyright notice, this list of conditions and the following disclaimer
591
+ in the documentation and/or other materials provided with the
592
+ distribution.
593
+ * Neither the name of Google Inc. nor the names of its
594
+ contributors may be used to endorse or promote products derived from
595
+ this software without specific prior written permission.
596
+
597
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
598
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
599
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
600
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
601
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
602
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
603
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
604
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
605
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
606
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
607
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
608
+
609
+
610
+ ========================================================================
611
+
612
+ golang.org/x/sync@v0.22.0 — LICENSE
613
+
614
+ Copyright 2009 The Go Authors.
615
+
616
+ Redistribution and use in source and binary forms, with or without
617
+ modification, are permitted provided that the following conditions are
618
+ met:
619
+
620
+ * Redistributions of source code must retain the above copyright
621
+ notice, this list of conditions and the following disclaimer.
622
+ * Redistributions in binary form must reproduce the above
623
+ copyright notice, this list of conditions and the following disclaimer
624
+ in the documentation and/or other materials provided with the
625
+ distribution.
626
+ * Neither the name of Google LLC nor the names of its
627
+ contributors may be used to endorse or promote products derived from
628
+ this software without specific prior written permission.
629
+
630
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
631
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
632
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
633
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
634
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
635
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
636
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
637
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
638
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
639
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
640
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
641
+
642
+
643
+ ========================================================================
644
+
645
+ golang.org/x/sys@v0.47.0 — LICENSE
646
+
647
+ Copyright 2009 The Go Authors.
648
+
649
+ Redistribution and use in source and binary forms, with or without
650
+ modification, are permitted provided that the following conditions are
651
+ met:
652
+
653
+ * Redistributions of source code must retain the above copyright
654
+ notice, this list of conditions and the following disclaimer.
655
+ * Redistributions in binary form must reproduce the above
656
+ copyright notice, this list of conditions and the following disclaimer
657
+ in the documentation and/or other materials provided with the
658
+ distribution.
659
+ * Neither the name of Google LLC nor the names of its
660
+ contributors may be used to endorse or promote products derived from
661
+ this software without specific prior written permission.
662
+
663
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
664
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
665
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
666
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
667
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
668
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
669
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
670
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
671
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
672
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
673
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
package/bin/rian.cjs ADDED
@@ -0,0 +1,12 @@
1
+ #!/usr/bin/env node
2
+ 'use strict';
3
+
4
+ const path = require('node:path');
5
+ const { launch } = require('../lib/launcher.cjs');
6
+
7
+ try {
8
+ launch(path.resolve(__dirname, '..'));
9
+ } catch (err) {
10
+ console.error(`rian: ${err.message}`);
11
+ process.exitCode = 1;
12
+ }