@reviewflow/app 6.25.0 → 6.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (253) hide show
  1. package/build/index-node.mjs +574 -27
  2. package/client/_expo/static/css/global-5d78cd7d74c13d3efa0ebc9c34bf74ce.css +2 -0
  3. package/client/_expo/static/js/web/{AppEntry-17db9b09237740c52980adeecf895fa5.js → AppEntry-af33ecb76692f1d4bf129a8723a15db3.js} +300 -274
  4. package/client/_expo/static/js/web/{__common-a229c1110a11f9f5226aac4c3a888034.js → __common-17510da16d95e3b1ba1460791f9458d4.js} +394 -385
  5. package/client/_expo/static/js/web/{abap-df8e603fa29bd1161ad0c894cecf4c84.js → abap-1d9ac56aacc2a77df03b00dd319411e4.js} +1 -1
  6. package/client/_expo/static/js/web/{actionscript-3-c21d4f3e943dd47846cdd4e635f2f4d5.js → actionscript-3-1b3a0e563fc28892e7450d7a3dbea9d7.js} +1 -1
  7. package/client/_expo/static/js/web/{ada-c52e08d1c2f62f97aee3dc331b7695c1.js → ada-84b1e9cd9b0bf3a18d0b8572affad885.js} +1 -1
  8. package/client/_expo/static/js/web/{ahk-9ceee3c75c0d7a609ee6bfd01c80d436.js → ahk-539e3bffce52d551d3b664bcd016b55e.js} +1 -1
  9. package/client/_expo/static/js/web/{ahk2-eb3d4aa8b16ea2b4a0b623d9379d741f.js → ahk2-5c201e0c468e502fcf4ffeddebb2f8b8.js} +1 -1
  10. package/client/_expo/static/js/web/{andromeeda-0c4cfd189b2a5858c5006455e7996492.js → andromeeda-50135048b3ddc2743a3064e1b46487a7.js} +1 -1
  11. package/client/_expo/static/js/web/{angular-ts-0bae9322cf875e7ba879cbeecb86727f.js → angular-ts-3ef0e268ab9aea5de0073451de700cc3.js} +3 -3
  12. package/client/_expo/static/js/web/{apache-fbee2c6ce8c5350b117dff3fa453fbbc.js → apache-65187a5815520f2e9ff8c24c3af30c66.js} +1 -1
  13. package/client/_expo/static/js/web/{apex-3b34e8e719c5f3179587981e9cac0cf9.js → apex-1bbd9292747f1cc9a3976ba8955c03b1.js} +1 -1
  14. package/client/_expo/static/js/web/{apl-48c68c61a23e3d6e63a08babffbf00a7.js → apl-f347e265437638f741f55d5c3e85f534.js} +1 -1
  15. package/client/_expo/static/js/web/{applescript-92008435b07703478624b1b396a3a1b0.js → applescript-28667336110426563cf10da2a5a22a47.js} +1 -1
  16. package/client/_expo/static/js/web/{ara-0339aa99af428e930516e9c6eb2fefb9.js → ara-1cc3024f78d455b0ef565e60543a468f.js} +1 -1
  17. package/client/_expo/static/js/web/{asciidoc-7fc416412bb9b0ad22b6c70c64e11cfc.js → asciidoc-4f40c8d751eabd6da991c0b8f4fce78f.js} +1 -1
  18. package/client/_expo/static/js/web/{asm-f89243ecfb0cce03f6c6ec6bbdbe5f4f.js → asm-86ca8d0b7d008ae86180c4c83c0d400e.js} +1 -1
  19. package/client/_expo/static/js/web/{astro-74217750ff01ac2a47a5adc699de418b.js → astro-0f065ec109b3ab5e55d9da65adc54680.js} +1 -1
  20. package/client/_expo/static/js/web/{aurora-x-640c33a2258f29ac211b5dcac83d6ff5.js → aurora-x-69d404602ecea6891a31abc6d1fcb430.js} +1 -1
  21. package/client/_expo/static/js/web/{awk-5107cb0ed1b2e4114476189ea54f9ec0.js → awk-c5e456d2607d2179b7fe141afa2c5b64.js} +1 -1
  22. package/client/_expo/static/js/web/{ayu-dark-df205d6df11fd1d3bbb35667e3613431.js → ayu-dark-845e503030a98ed772b2ce6642d376d4.js} +1 -1
  23. package/client/_expo/static/js/web/{ayu-light-207208a0af25b22a24823fdf8b2419cb.js → ayu-light-1204e893f26b1cc869f87f2ca7f38b85.js} +1 -1
  24. package/client/_expo/static/js/web/{ayu-mirage-514b0687fea9756250a854a02b27fe20.js → ayu-mirage-594a2eb331f7822576cf77ea166ef698.js} +1 -1
  25. package/client/_expo/static/js/web/{ballerina-4f59900af55bfdfefe3c77f16f8445c9.js → ballerina-d7fc8662739be75aafff4d8f605ed1e9.js} +1 -1
  26. package/client/_expo/static/js/web/{beancount-6e590e684619037afca6ae84f5f59c4b.js → beancount-b40c19d6284d345f69b539901ff2ede2.js} +1 -1
  27. package/client/_expo/static/js/web/{berry-02f9a11813bd78276082a1ee9e7e0271.js → berry-da1adcc97ceb4b132e51cee56339b4e1.js} +1 -1
  28. package/client/_expo/static/js/web/{bicep-686cb67da63b2984bc3686548ef1c726.js → bicep-12577364945c0c0fba660fde491dd3ed.js} +1 -1
  29. package/client/_expo/static/js/web/{bird2-9a2eaa50eea45d4ef3d3fdc90a1b6076.js → bird2-66d016a51f56984ffc04f36b3fbe11b0.js} +1 -1
  30. package/client/_expo/static/js/web/{blade-cb85e775d1acdd43b795bd9a368dae6e.js → blade-ad182e55fedcd0b8f164d40befb3676f.js} +1 -1
  31. package/client/_expo/static/js/web/{bsl-6132747a29bc49fb593786756b59e2d0.js → bsl-67044a389bc1e21b5f51a793dbc7963e.js} +1 -1
  32. package/client/_expo/static/js/web/{c3-fe39148be0597b005f9a1cf05cc3aed7.js → c3-9dcc1d47093209f86c06ac1242b25fda.js} +1 -1
  33. package/client/_expo/static/js/web/{cadence-2d36d4b2c9f54d0e71382b2700b5b047.js → cadence-f99a3e28948cb610940806aa763325db.js} +1 -1
  34. package/client/_expo/static/js/web/{cairo-31cfd007b807e03f0667ddcb8a3a2ab5.js → cairo-d8a8457d7bed646faccbca9da9acab18.js} +1 -1
  35. package/client/_expo/static/js/web/{catppuccin-frappe-8f443c9f629d3116618724ecf5c85606.js → catppuccin-frappe-228b4e91d3100e5c7f1eac27afb42285.js} +1 -1
  36. package/client/_expo/static/js/web/{catppuccin-latte-4ed931439b72d33306318d8e34bcb87a.js → catppuccin-latte-099bf96bad478facc47d84545536d986.js} +1 -1
  37. package/client/_expo/static/js/web/{catppuccin-macchiato-9183bf25ab1a11e53097b9cd3feec650.js → catppuccin-macchiato-24e1ff572f52d99a925b08965dbbd923.js} +1 -1
  38. package/client/_expo/static/js/web/{catppuccin-mocha-b58d3a71385cd7f641d5ee2a12747977.js → catppuccin-mocha-d94c2484f456d0e5c68e94c3e0b48811.js} +1 -1
  39. package/client/_expo/static/js/web/{chapel-5327d6237d842395dbde4fc21ac83a02.js → chapel-5a2a0923bdde4b612b3a73de150f7ed2.js} +1 -1
  40. package/client/_expo/static/js/web/{clarity-dc9d11ab59ffa92a6dbd935dd7ff0525.js → clarity-9f996b3edf341ab2349a15a8eb96e953.js} +1 -1
  41. package/client/_expo/static/js/web/{cobol-ca2b44632070a86c33173fa484724bdc.js → cobol-c06d7ad2098b0f70e0f1899a36af2012.js} +1 -1
  42. package/client/_expo/static/js/web/{codeowners-9baf11ba39b84f5e20e8ef1bce4fc059.js → codeowners-bc0e9c16cc6ec9ce6ca1dbbc6fe1f0c7.js} +1 -1
  43. package/client/_expo/static/js/web/{codeql-2d5d42d1e8fc98ce64e45ef9507ba2e6.js → codeql-076d43bf0f1c889bc686d33b598c0026.js} +1 -1
  44. package/client/_expo/static/js/web/{common-lisp-e360f08ed2da3b37582088b413a428ed.js → common-lisp-a5864403f5607efc35488e8170bbc5df.js} +1 -1
  45. package/client/_expo/static/js/web/{coq-2400ab3ca38eb6760e18793c7bf8efcd.js → coq-7cded60d56df64b97825650b0ce7cd6e.js} +1 -1
  46. package/client/_expo/static/js/web/{crystal-8b0822cefafd1526cbca80d2b5abe119.js → crystal-c856891e4f36067db417434b9968950e.js} +1 -1
  47. package/client/_expo/static/js/web/{cue-9394d983c39094a38de98c82a4b83bbb.js → cue-efd93400698dc50968afc54a60e6e53d.js} +1 -1
  48. package/client/_expo/static/js/web/{cypher-3b5f80344fbdb64af01610e18ceff981.js → cypher-936eaf0d174fc822a0c973bd37dc8d21.js} +1 -1
  49. package/client/_expo/static/js/web/{d-f482975607f010aff8ba5b523d81043c.js → d-c9e909471bbc090ee9268627b25288ab.js} +1 -1
  50. package/client/_expo/static/js/web/{dark-plus-a7e538ed154d7f58f418c1037c642e21.js → dark-plus-62e710c000d7ba4424ef62c5b70304c3.js} +1 -1
  51. package/client/_expo/static/js/web/{dax-4a58beb3b76d04a29d16472c77f1ed4b.js → dax-6428a3d8f9765d5b70ede39489cede44.js} +1 -1
  52. package/client/_expo/static/js/web/{desktop-63a905c342d34a676b3c7717610531c5.js → desktop-293c95d61e64e74b4cce05553b731819.js} +1 -1
  53. package/client/_expo/static/js/web/{diff-theme-preview-c9227126480ef59705dc607f1f8e384b.js → diff-theme-preview-62d523936417adf8c8d90f415fa7a650.js} +1 -1
  54. package/client/_expo/static/js/web/diff-viewer-9609b488fd8bcda7f3774e45fce06779.js +1 -0
  55. package/client/_expo/static/js/web/{diff-worker-70234e325b1c1500b5f32495b077685c.js → diff-worker-dd280c4c526a2fc9ff31be61789e0277.js} +5 -5
  56. package/client/_expo/static/js/web/{dotenv-90778746ec7c21651b58f0bf064ead98.js → dotenv-132e8f5d8e558b3f445795042350c198.js} +1 -1
  57. package/client/_expo/static/js/web/{dracula-1e521e97ea2f127d617b5a4e50251cae.js → dracula-2f337bca17d461739420f14ec3df80e7.js} +1 -1
  58. package/client/_expo/static/js/web/{dracula-soft-072301cf0936d4c9c984aee24d07dd21.js → dracula-soft-2e75af49e445893f9f8b53961dd346a6.js} +1 -1
  59. package/client/_expo/static/js/web/{dream-maker-7b08fee0accb0e107449af8a4654839a.js → dream-maker-b9b6def5f93c6e798a1379775448a43f.js} +1 -1
  60. package/client/_expo/static/js/web/{edge-8bc73985f1dd5a7916edf0fa248e164e.js → edge-7d3c0223f3b21b9acca378d1d1b3b5d9.js} +1 -1
  61. package/client/_expo/static/js/web/{elm-a180cf62c6e5efa8336aac94f7f674b4.js → elm-07a7e6f64d866ec33f5e3ad33ec9d0d2.js} +1 -1
  62. package/client/_expo/static/js/web/{emacs-lisp-e128291c148876f7dd5549aecba8a68d.js → emacs-lisp-ca5fc960d616a14674c6091b8fd80911.js} +1 -1
  63. package/client/_expo/static/js/web/{erb-92d9a6a3c88badb76aa0920a30d7cd92.js → erb-81c28127844a46cf19f470634a40b78b.js} +1 -1
  64. package/client/_expo/static/js/web/{everforest-dark-48e4f9dfec1d82f63b1516f59696e264.js → everforest-dark-5461b5eb0c9dc147daa4ba2c2c504c6b.js} +1 -1
  65. package/client/_expo/static/js/web/{everforest-light-7ad1adaa47785656e79a6875116084de.js → everforest-light-0cf85c94659c1fc554006cbfa177496b.js} +1 -1
  66. package/client/_expo/static/js/web/{fennel-c77f797098fb7582de4fb96470da91a6.js → fennel-f210597768cd97ad2b03b4a8e56cc992.js} +1 -1
  67. package/client/_expo/static/js/web/{fish-500cac3a230e581075bbb0a949f6bdb3.js → fish-455602daff94587e2abbf9d99b062391.js} +1 -1
  68. package/client/_expo/static/js/web/{fluent-619078f15d73a1a38a415f6f9a96f9e5.js → fluent-e151ea65b8eef1d9bb0c2cf752e8f9ad.js} +1 -1
  69. package/client/_expo/static/js/web/{fortran-fixed-form-9bfac86b66246d8818eba7077e5a2109.js → fortran-fixed-form-8a97df3ca130f416ec00a6a38e0a8158.js} +1 -1
  70. package/client/_expo/static/js/web/{gdresource-3232406db179662be374b5cf32dbd90d.js → gdresource-31db48547692c2ce3c4679c44c9ff484.js} +1 -1
  71. package/client/_expo/static/js/web/{genie-4a369ac7d3ae93a2fd2c4c58394dc139.js → genie-158dabfeffad4a137a13ef1b462117cd.js} +1 -1
  72. package/client/_expo/static/js/web/{gherkin-a2eddd2fabe8db965a88faf410e975c6.js → gherkin-275ed11cea0297b1b2c3e37280f91088.js} +1 -1
  73. package/client/_expo/static/js/web/{github-dark-55e6ec51c77c75fd1fe2c452b4522831.js → github-dark-0745af1bd606273b83f499844e95910c.js} +1 -1
  74. package/client/_expo/static/js/web/{github-dark-default-9a95e99155d92c5bad455f3637aac0e0.js → github-dark-default-6c7baa85b82aa9d133c22d990952c25c.js} +1 -1
  75. package/client/_expo/static/js/web/{github-dark-dimmed-70f370c6e9845140fcca3ff6bdf29095.js → github-dark-dimmed-25cef34a45c4119bd42a2644fcf6c359.js} +1 -1
  76. package/client/_expo/static/js/web/{github-dark-high-contrast-65896af6db1c7b8848df6e57d3ae72b0.js → github-dark-high-contrast-d7b6898cb1a940424544e547a16c0572.js} +1 -1
  77. package/client/_expo/static/js/web/{github-light-default-a411fd333ddd09b17a92763d8a0c710f.js → github-light-default-b50938a2fd181e270dc9dd5a963740b3.js} +1 -1
  78. package/client/_expo/static/js/web/{github-light-7ed1b6a767bb54404e2d718f38ad4d97.js → github-light-f42c37912e4754b0dcd74d3a2de8c166.js} +1 -1
  79. package/client/_expo/static/js/web/{github-light-high-contrast-cfb5ef5dea35163c3cf9096a5f2550d5.js → github-light-high-contrast-7fc271bc0806175811e749edb5898ce2.js} +1 -1
  80. package/client/_expo/static/js/web/{gleam-6e7a0fbdf2ef3af2f74ba2a289646667.js → gleam-fc62b73f5178f854138da3b80b3aa6b5.js} +1 -1
  81. package/client/_expo/static/js/web/{glimmer-js-b201b0d52c2104c86d33d4481b4acbe0.js → glimmer-js-2712b042c00c4db5b4e8a7077861a03d.js} +1 -1
  82. package/client/_expo/static/js/web/{glimmer-ts-bbbffff6a8156d82390a611624d28620.js → glimmer-ts-99d5caf11aacda481e5415cce24dac0b.js} +1 -1
  83. package/client/_expo/static/js/web/{gn-7396a6a85ab275f01a27713f2114384b.js → gn-60bec68bfa1cbc9a52a860f570b5a84f.js} +1 -1
  84. package/client/_expo/static/js/web/{gnuplot-d7958bcdc22111e4adad0bc118f126d5.js → gnuplot-0b7f8d8f35090eef6f9645ef8afb76be.js} +1 -1
  85. package/client/_expo/static/js/web/{gruvbox-dark-hard-8e8c1b9b53c2dc5435ffa622b26ac462.js → gruvbox-dark-hard-e6ef48a2a0e612b7731aa51c634334cb.js} +1 -1
  86. package/client/_expo/static/js/web/{gruvbox-dark-medium-589693da088c4c6933160d683ddf335d.js → gruvbox-dark-medium-2c3141abf6f36351629129757c63d552.js} +1 -1
  87. package/client/_expo/static/js/web/{gruvbox-dark-soft-eb176dffc2716f452bc0f6127a202f33.js → gruvbox-dark-soft-87fd816f5e46c4f80bd9f6ed0d17296d.js} +1 -1
  88. package/client/_expo/static/js/web/{gruvbox-light-hard-4c9f38b7c44906787dec3b6ae49dc8e2.js → gruvbox-light-hard-188d0df223de396522f90360832dd49d.js} +1 -1
  89. package/client/_expo/static/js/web/{gruvbox-light-medium-09723a187d7ca2a89a5ca655077fd0aa.js → gruvbox-light-medium-4a8b98d2c0dee4fe4772de1c5d4ed12d.js} +1 -1
  90. package/client/_expo/static/js/web/{gruvbox-light-soft-8fa4584951d960e5db514dcf6095dca6.js → gruvbox-light-soft-d3202bc74e32fe6a34d4d07c3cf1b861.js} +1 -1
  91. package/client/_expo/static/js/web/{hack-71166fae8f80a6673870e088a6f8b4f8.js → hack-63231f54b0ef1b1afc1f7ba55e6d3a5f.js} +1 -1
  92. package/client/_expo/static/js/web/{haskell-a07434fb3132db42641441d25eb8940e.js → haskell-0f7f119282159b8d91a15ecf9f82ae7d.js} +1 -1
  93. package/client/_expo/static/js/web/{hcl-d5081807f938d995a14825fdfacf4ae1.js → hcl-f32c6c9348269c682ba8d4bbc91c45c6.js} +1 -1
  94. package/client/_expo/static/js/web/{hjson-77681448ab49125a5983c5e80049db7e.js → hjson-830edd797527f404e011ba4c1778f392.js} +1 -1
  95. package/client/_expo/static/js/web/{horizon-101ff8824156955c3788f10f25de795d.js → horizon-61b888386fd855037303f11fac6404af.js} +1 -1
  96. package/client/_expo/static/js/web/{horizon-bright-e4256129ab2df6dffa3b1d38a41c821e.js → horizon-bright-de2954dddfd3629731bc57ff8721d110.js} +1 -1
  97. package/client/_expo/static/js/web/{houston-f20f1eb7863d9ec8224f4cb67e81b428.js → houston-44b7b8ac04c0338b1565488a54910180.js} +1 -1
  98. package/client/_expo/static/js/web/{http-8273bed0d695a66b80933572838787c9.js → http-6a42e598b7adab85d2a3e1167fcc6ef4.js} +1 -1
  99. package/client/_expo/static/js/web/{hurl-17cb1a99e7b0a772ef2adb8a3e574914.js → hurl-b3b02ef22642c5007a33d15401fd03f6.js} +1 -1
  100. package/client/_expo/static/js/web/{hxml-1c093244b5df141cc4da98219a484127.js → hxml-32b01d8fc354009a3066e5e549c4f07e.js} +1 -1
  101. package/client/_expo/static/js/web/{hy-cb7d706c027fc438d125e03812a0e3f2.js → hy-3cc259bdb2c55056fd53884217354c3d.js} +1 -1
  102. package/client/_expo/static/js/web/{imba-e71eacabaa3250c2ce2f04223dbec8bf.js → imba-e1ab033ede27c485d3fb1db10d4db24d.js} +1 -1
  103. package/client/_expo/static/js/web/{jinja-fee492db3b49a93b38bf4b991c87f1a0.js → jinja-6903eb3a526e1728c267460cdd4f8a32.js} +2 -2
  104. package/client/_expo/static/js/web/{jison-f7a3ad3228b14dc1e9b44668e1311646.js → jison-c49174e07485653730bb29d1eb5e2c29.js} +1 -1
  105. package/client/_expo/static/js/web/{json5-81ad1c525ad048b21570f85dfaaf2366.js → json5-e6e22975c58fba13ed7b34374b18ccb1.js} +1 -1
  106. package/client/_expo/static/js/web/{jsonl-3ddff8e61b69f0aaafe6efba19976161.js → jsonl-87aa723b0d5b882b306e850a2334cf2d.js} +1 -1
  107. package/client/_expo/static/js/web/{jsonnet-f1e38c886593cf8e4ca75bee3e05b2aa.js → jsonnet-5be29241ae8ee46a10822158af80d258.js} +1 -1
  108. package/client/_expo/static/js/web/{jssm-0a783fc84393abe6c83946f6ea060790.js → jssm-8b57d8ddcc6fe95bf7c39b9b89636482.js} +1 -1
  109. package/client/_expo/static/js/web/{just-5c41420c87fe5b6f55e8c6295c90e945.js → just-c4adf0a68809cfb38314bc87b49a51fc.js} +1 -1
  110. package/client/_expo/static/js/web/{kanagawa-dragon-709d225b688d1046eb698ea8b94072c4.js → kanagawa-dragon-6f2754a933baf7435c548adac8e2424a.js} +1 -1
  111. package/client/_expo/static/js/web/{kanagawa-lotus-89cd670bbab9e6a41aed71a14984dc5a.js → kanagawa-lotus-ab269fc2d7b34768a9556f5fed25a816.js} +1 -1
  112. package/client/_expo/static/js/web/{kanagawa-wave-fc5be10165df1968e2148b9136c6ccce.js → kanagawa-wave-49e78e9ad0bb51582867dde6a8896a9b.js} +1 -1
  113. package/client/_expo/static/js/web/{kdl-447428e8d1b4d43f86e569631624ad8b.js → kdl-7946123227255a4a49d2a32798a9c6de.js} +1 -1
  114. package/client/_expo/static/js/web/{kotlin-fffde2cffe6f5298e2853b17302c1156.js → kotlin-61a341d5bc92f2cc09b8f421cd40f29e.js} +1 -1
  115. package/client/_expo/static/js/web/{kusto-d1247608d8870735c6c9da5d2dc511b0.js → kusto-109308489dbcd304f3a01474fe772f23.js} +1 -1
  116. package/client/_expo/static/js/web/{laserwave-3fac33ed71c50f622dfe563d98651250.js → laserwave-93eb646888c0d35d278631b53e8155e1.js} +1 -1
  117. package/client/_expo/static/js/web/{lean-6bdc20d02b5983ec5750020911647ba7.js → lean-2311e885754c93ef25ba06edf92ef667.js} +1 -1
  118. package/client/_expo/static/js/web/{light-plus-e657f61c43141947e84b0fbc20b8b5e9.js → light-plus-5ec1e055ccff1960c110b07e1f7a2faf.js} +1 -1
  119. package/client/_expo/static/js/web/{liquid-1cd6223178098410fc529d341c8eeeb1.js → liquid-849aa471fdf6c64e962f0b1ec6ba3d7a.js} +1 -1
  120. package/client/_expo/static/js/web/{llvm-9abe0b05d93c73c5f0224c617c5f9e2a.js → llvm-bacd42240f59e02862c5cc05e51a707a.js} +1 -1
  121. package/client/_expo/static/js/web/{logo-5a163ecd6d626f8e5ed8a4077579d3d8.js → logo-194c91183aae5a514bc4b24e6ce49048.js} +1 -1
  122. package/client/_expo/static/js/web/{luau-12bf324f86fa7baf668cbc63076fb183.js → luau-4ae7e84a770e4f28d9bc2148afef1e78.js} +1 -1
  123. package/client/_expo/static/js/web/{marko-553ea83ca2f36381d39a8bda41e54311.js → marko-52e90b5e938dbbf41014e8ed1c4e6695.js} +1 -1
  124. package/client/_expo/static/js/web/{material-theme-darker-13f4ba99d1d561fde3f1b28a6bc7c10a.js → material-theme-darker-fc61931fbb84ace24fc74529daea62dd.js} +1 -1
  125. package/client/_expo/static/js/web/{material-theme-5166d33f1b5a30ebaf5d3d3290aa1232.js → material-theme-f43866f45fade32fa7418ba171797767.js} +1 -1
  126. package/client/_expo/static/js/web/{material-theme-lighter-f952f8c45b9f3191721ba8203239794f.js → material-theme-lighter-1ca917fc60334f23674d1a476068457f.js} +1 -1
  127. package/client/_expo/static/js/web/{material-theme-ocean-7ce75ade4179e37d83b03cd0b29dd56b.js → material-theme-ocean-4deb12319d414812039bb490a95185e8.js} +1 -1
  128. package/client/_expo/static/js/web/{material-theme-palenight-335619fdadb328b9afa23ce676bf9c48.js → material-theme-palenight-ac91ff904673de97c723890788b18f44.js} +1 -1
  129. package/client/_expo/static/js/web/{matlab-84461aabc57774a506c3c4b46fe13f5c.js → matlab-91122137e783bc9c2d9df68636f53501.js} +1 -1
  130. package/client/_expo/static/js/web/{mdc-a0cd6f70fa5ec2b4ef376f46c6b4c8d6.js → mdc-b97ea0cc1877a79c5fda7b79e35de216.js} +1 -1
  131. package/client/_expo/static/js/web/{mdx-0f83459c6aa0863193f2da1fc04b2b20.js → mdx-5be34761e85cb0c2fea0564bdb233900.js} +1 -1
  132. package/client/_expo/static/js/web/{mermaid-37a6e7ea3261ee8acbab39fd19a07f8d.js → mermaid-fd328fddcb3d72ff2f772f8610c4d2df.js} +1 -1
  133. package/client/_expo/static/js/web/{min-dark-367287bd7dd58074d7d3f218cac750e3.js → min-dark-37a3ae7b14d8c3451786924fd0aa7684.js} +1 -1
  134. package/client/_expo/static/js/web/{min-light-aaa01f450a773f07b82c41948aa41812.js → min-light-4e962cf6d8c1515296e915462cc2de48.js} +1 -1
  135. package/client/_expo/static/js/web/{mipsasm-33ee071bad6f1bf17c710ccdc4e46d38.js → mipsasm-98b812fc9f1868e2a2f3e9668e5b13be.js} +1 -1
  136. package/client/_expo/static/js/web/{mojo-aa8f3aaf797d33752dfa129c28a6b8e2.js → mojo-b56f753890491db8ec08da2db3dd467b.js} +1 -1
  137. package/client/_expo/static/js/web/{monokai-e2a95f3ea27155cd88e1858efa8dd33c.js → monokai-aba8adf9d98039619c466ecb72dda36e.js} +1 -1
  138. package/client/_expo/static/js/web/{moonbit-78e32abe6cc7c881d341b9eda1c5eb39.js → moonbit-867206ae215ee9700f6a4c88e8267ae9.js} +1 -1
  139. package/client/_expo/static/js/web/{move-76c6a980b5c687d8cc16d2007612c2f3.js → move-9de6916c994e4add3a89e702dec551e9.js} +1 -1
  140. package/client/_expo/static/js/web/{narrat-26dc3699ad303231b9ab4409cb309e6b.js → narrat-40bd899a71b2e3eaa05ad219c0910cd0.js} +1 -1
  141. package/client/_expo/static/js/web/{nextflow-a109a2a004267d44bd1ef72a2b006aa4.js → nextflow-fd578ad0dce1f56a2d621ee1306db930.js} +1 -1
  142. package/client/_expo/static/js/web/{nginx-ea805a98f1af2900441de4c0994715a0.js → nginx-d271920d20024b0e80316dfd44e7ad19.js} +1 -1
  143. package/client/_expo/static/js/web/{night-owl-65ad45c55948d35b562331b8274d1941.js → night-owl-83747781a1e5118658f479d7c59bd4f9.js} +1 -1
  144. package/client/_expo/static/js/web/{night-owl-light-3282d47289b108e80ffea5afaa92bb84.js → night-owl-light-9becee553cdf76032a1e88a9ff37642a.js} +1 -1
  145. package/client/_expo/static/js/web/{nix-9ba7fca1cb7494643cfb4660fbbb91cb.js → nix-1e0764b8678b2adb11010029bbc4d92e.js} +2 -2
  146. package/client/_expo/static/js/web/{nord-8f491dcb7d9c99032fd582cc7e4e3597.js → nord-d725dba51fe58463d40438604904757c.js} +1 -1
  147. package/client/_expo/static/js/web/{nsis-e29c8b296a6239a0d58226aa00c59f91.js → nsis-74fdc5c6f70a20279fd926d7a88efa85.js} +1 -1
  148. package/client/_expo/static/js/web/{nushell-67c7fd2229b06355b58be59be717dd0b.js → nushell-df4bdafd27bc1bf8870dd284b0aaac6f.js} +1 -1
  149. package/client/_expo/static/js/web/{objective-cpp-9794abfb5ad71ab3807ee6d3a70a72d2.js → objective-cpp-5f5d2d54b6d3f52d28aed0fbf2e78df2.js} +1 -1
  150. package/client/_expo/static/js/web/{odin-9a3ca372b4d6b5134514d0c632e356a2.js → odin-bd0f65097c3e3bf70691bda4ffc909ef.js} +1 -1
  151. package/client/_expo/static/js/web/{one-dark-pro-b34fc0dc2af92d0d61665166edced909.js → one-dark-pro-59f0a6a24a4c4c3ba5ab032a96e5178f.js} +1 -1
  152. package/client/_expo/static/js/web/{one-light-1ca65343c827c65ead58291635eb61fa.js → one-light-9973eb7c7570001dfc754607282ec25a.js} +1 -1
  153. package/client/_expo/static/js/web/{openscad-205ae321a013394a57ae55c8453a61bc.js → openscad-ee24f0d0bce886070c8a1c6db721e099.js} +1 -1
  154. package/client/_expo/static/js/web/{org-9b940a47a0d260622752a7de8ea032a3.js → org-6832822a2d6a767da8ea44e0fc86a35e.js} +1 -1
  155. package/client/_expo/static/js/web/{pascal-c565618b9e42059509b145a8772f9515.js → pascal-493aaad4b6c9652ac861f4b06cec6670.js} +1 -1
  156. package/client/_expo/static/js/web/{pierre-dark-523b1db73e2769b703d7d7198cfed266.js → pierre-dark-c015a4a36af52a60f4f129f64ee0b0e7.js} +1 -1
  157. package/client/_expo/static/js/web/{pierre-dark-protanopia-deuteranopia-fbf069ad47bceb6cbcfa79e25e1ff5b5.js → pierre-dark-protanopia-deuteranopia-cd3c332e9eb35637c4a925f0efb47e08.js} +1 -1
  158. package/client/_expo/static/js/web/{pierre-dark-soft-f88457a740f776f737b23b019de88646.js → pierre-dark-soft-f00bf0241730877f06a882dce1e8c857.js} +1 -1
  159. package/client/_expo/static/js/web/{pierre-dark-tritanopia-3f2ce99bef32b2ffd9107991d3f9184b.js → pierre-dark-tritanopia-5a6fa451830f27f0415daa3198f780d4.js} +1 -1
  160. package/client/_expo/static/js/web/{pierre-dark-vibrant-c26349565320879c5006619d9a44ffb2.js → pierre-dark-vibrant-28d48bb687fb183f1d0a68c8ea362937.js} +1 -1
  161. package/client/_expo/static/js/web/{pierre-light-2ec9bdde0a4243d51deb112bb8e6a929.js → pierre-light-a6a2d3c7e53721b0b8076f42e3deb488.js} +1 -1
  162. package/client/_expo/static/js/web/{pierre-light-protanopia-deuteranopia-34680663bc05fc95865a29002f64baf2.js → pierre-light-protanopia-deuteranopia-ad5491a00a8abaa6f3c554cda4412244.js} +1 -1
  163. package/client/_expo/static/js/web/{pierre-light-soft-61e14b62a2757f5f14c233c4f06ad4df.js → pierre-light-soft-453a4c7bd4da9f7112e96626b087e7ec.js} +1 -1
  164. package/client/_expo/static/js/web/{pierre-light-tritanopia-0d21a1d51a9f77877850eb57a0783fde.js → pierre-light-tritanopia-05a08d9945ac0e280335079debcbe32f.js} +1 -1
  165. package/client/_expo/static/js/web/{pierre-light-vibrant-09452f1ad4566081f9e80d1289bc04ed.js → pierre-light-vibrant-2b4152cd3d89c4bade3d63c7c957c1d5.js} +1 -1
  166. package/client/_expo/static/js/web/{pkl-16ce61ca355963ccc212e5ea98a89b1b.js → pkl-f5da177903fb27b0b31bea9b9823b73a.js} +1 -1
  167. package/client/_expo/static/js/web/{plastic-543269a42ae44e61394c0cb4dc7d8ae5.js → plastic-1e12af0f7256bc45e6fcab73b0cee445.js} +1 -1
  168. package/client/_expo/static/js/web/{plsql-2e3590aea074f59c8a30844a6c8608ee.js → plsql-666c55937e897e96fbee715e4aaa95ef.js} +1 -1
  169. package/client/_expo/static/js/web/{po-b0e50bc628c9f47d0c76a3d935c7d124.js → po-a0f0cc3c2e8f5d76a604fd9ae3e01fea.js} +1 -1
  170. package/client/_expo/static/js/web/{poimandres-1d17bada934d6fcb58ae2bf94514ea77.js → poimandres-a6100f42ef5039c3152e15c9de55aabf.js} +1 -1
  171. package/client/_expo/static/js/web/{polar-1dffbc6305eb98d800be6162b091116d.js → polar-6d4d758a39a07538ed14375c4023f4cb.js} +1 -1
  172. package/client/_expo/static/js/web/{powerquery-ed97159d4ec556774e274e0ce9aea4f8.js → powerquery-58df826162f2188f7e7e3fdd745bb87e.js} +1 -1
  173. package/client/_expo/static/js/web/{prisma-303a556424858f198538d4245b50ac4e.js → prisma-083dfac0cd9671282da3a1750e4a446a.js} +1 -1
  174. package/client/_expo/static/js/web/{prolog-88979484ae212b7ddaf1ca5120b12d79.js → prolog-312290dd46b2644881848c98f9ed5b67.js} +1 -1
  175. package/client/_expo/static/js/web/{proto-67b23a5f650d4d3595cf368e99e1b3c4.js → proto-8fa6567af026def25d618520991b02da.js} +1 -1
  176. package/client/_expo/static/js/web/{pull-request-diff-tree-e8d8e1159210923e19b43d9e7e18a9f4.js → pull-request-diff-tree-577c99c101e271e0c2ce04ec23ed3304.js} +73 -73
  177. package/client/_expo/static/js/web/{puppet-a5454a78b181c5b46159af43c0d00357.js → puppet-85d5b263d1eb6ce127669f5445b82732.js} +1 -1
  178. package/client/_expo/static/js/web/{purescript-b6def9b2c575e461a567631f1c3548a5.js → purescript-153effca1998e46f0767b563ad6af8ee.js} +1 -1
  179. package/client/_expo/static/js/web/{qml-e0e67324462b51671ebf30f91e3e79fd.js → qml-c398e3d3f05598df6b26b07da65dbcb6.js} +1 -1
  180. package/client/_expo/static/js/web/{qmldir-5a5ae383737bfa7b7f33752356bf8426.js → qmldir-5ddc1a20ecc4eb2e8b1b8a1b3c39d2fd.js} +1 -1
  181. package/client/_expo/static/js/web/{qss-70264a032f26510ffcb3e46584e66449.js → qss-0adf3c41d66b3001e16a73372feee9de.js} +1 -1
  182. package/client/_expo/static/js/web/{racket-3c2091096f1e2f18b6c920bf7f804a5e.js → racket-e0532363b687ff906f5f85742d120f87.js} +1 -1
  183. package/client/_expo/static/js/web/{razor-ca6931a33a0a98010043e8a720ebc502.js → razor-fcb2b4391468602de1104a1e6c391b93.js} +1 -1
  184. package/client/_expo/static/js/web/{rbs-0488fce4601875d269b7aea8c18266ec.js → rbs-86059f2a614409b8337adfe7bbcea75d.js} +1 -1
  185. package/client/_expo/static/js/web/{red-37cbc90755a24007895361447b24598a.js → red-e4407a36b6345304f2002b892399ec12.js} +1 -1
  186. package/client/_expo/static/js/web/{reg-13a39fd1ecb78ff99ea56d6683d10a1d.js → reg-777386343a03a69ce3305323a0fac009.js} +1 -1
  187. package/client/_expo/static/js/web/{rel-0a44a9eb56b90858b45b194192acc29c.js → rel-aec8a9c6e11df8b9dcda9300042465fd.js} +1 -1
  188. package/client/_expo/static/js/web/{reviewflow-diff-themes-a0e7cb9a34cdf67a8b3d3b0c903926a1.js → reviewflow-diff-themes-31ee96fce5d07e9f7790981858ddb09d.js} +1 -1
  189. package/client/_expo/static/js/web/{riscv-dbb7c2829c1b84033bab4cf90889c1b8.js → riscv-8faa5a7d65f5758fdfd11c3d9339b22b.js} +1 -1
  190. package/client/_expo/static/js/web/{ron-8343e74681223fdb4861bae67ac440b5.js → ron-caff31dad613e006aa9d2b49cf4b5441.js} +1 -1
  191. package/client/_expo/static/js/web/{rose-pine-0e92dc4f01294c84ea085918628f98f2.js → rose-pine-453d3effbf7167b4a1f159fa509b6420.js} +1 -1
  192. package/client/_expo/static/js/web/{rose-pine-dawn-7cb8e90bba38cb32ef5ee82f7d41c11b.js → rose-pine-dawn-2ce44170def5e3731074f7b34bfc32ce.js} +1 -1
  193. package/client/_expo/static/js/web/{rose-pine-moon-61242d263ab5c7bbf9d8042036eab34f.js → rose-pine-moon-776f26f8ff5f8f6d7de4ddeecd060b9a.js} +1 -1
  194. package/client/_expo/static/js/web/{rosmsg-a0e514434a55fbe8a467fafe7a92be86.js → rosmsg-b5b8baa8a99fc4c6597b112fe6c60697.js} +1 -1
  195. package/client/_expo/static/js/web/{rst-cd73ab4fc883d1ba4012f57157cbbec8.js → rst-1af790ace95681c18673fad47bbb6838.js} +1 -1
  196. package/client/_expo/static/js/web/{sas-a7400b0f6cdf05663c3e16d641cde499.js → sas-8abd17f165d4ad725ac2c3405e6eb965.js} +1 -1
  197. package/client/_expo/static/js/web/{sass-ff59737ad676fd4258b86f317a2a35f9.js → sass-d5197b54504df1acf71288abff0ba778.js} +1 -1
  198. package/client/_expo/static/js/web/{scheme-804b675a4fbbcb49fde1066087d36485.js → scheme-309c2e14100efaa61eae7f5e7be648ff.js} +1 -1
  199. package/client/_expo/static/js/web/{shaderlab-ceaa71b5bec4bbd31fd7e999c9ec47dc.js → shaderlab-ca11ebecb92afcc74fbbcf9058efa38d.js} +1 -1
  200. package/client/_expo/static/js/web/{shellsession-5551a0feb7f9fafdec65a34d03f43fe5.js → shellsession-dc53dd53a0bf1a4aeac75d135870ac88.js} +1 -1
  201. package/client/_expo/static/js/web/{slack-dark-789df38546731cb305c09a73cd91143f.js → slack-dark-900b2ffa04d9927866d4f1676a1199ec.js} +1 -1
  202. package/client/_expo/static/js/web/{slack-ochin-b62308b92b49c8ac340d0a6b3a43140d.js → slack-ochin-f4abe91cff01c5a68772ae0aef983353.js} +1 -1
  203. package/client/_expo/static/js/web/{smalltalk-20c64cd2d8de4ed6cfc6e4e59a653a9c.js → smalltalk-26b7b94fbf1305fe3947439c6aa92bc5.js} +1 -1
  204. package/client/_expo/static/js/web/{smithy-3b8cac9a864f76fc16648aca42b409d0.js → smithy-e74e14330d69cda608a99e4b505b8406.js} +1 -1
  205. package/client/_expo/static/js/web/{snazzy-light-b95a55a39fcbf8a2fb749c8cd72b6d01.js → snazzy-light-4aeab81d71e3fb42a53b52bcd691c12b.js} +1 -1
  206. package/client/_expo/static/js/web/{solarized-dark-d602c6f13b5d22a3b9c089ba8ab5dc20.js → solarized-dark-29a175a42c99641ce6900a326a9c189f.js} +1 -1
  207. package/client/_expo/static/js/web/{solarized-light-8ff3caa0e783c6b9c7f03e0b44717c7c.js → solarized-light-2612df90b99d03fb87f600c365a7529a.js} +1 -1
  208. package/client/_expo/static/js/web/{solidity-16e2515b497f51fd5601f1c38da51e8b.js → solidity-8a16f487aa76217ba59af8f1c485c213.js} +1 -1
  209. package/client/_expo/static/js/web/{soy-e3be0e30baf39d4def047f4853a41445.js → soy-4d13f0a2ffc01e1063bdf8958fdcb23e.js} +1 -1
  210. package/client/_expo/static/js/web/{sparql-32469a0ca638a69e240367f2e2f4427a.js → sparql-ee40145c39790a3ca5001f3a8e5ae331.js} +1 -1
  211. package/client/_expo/static/js/web/{splunk-b85a0d7f9017a8d03268b884ec3a7552.js → splunk-f6c906780a1d0cd28186f1aef3aaa8d6.js} +1 -1
  212. package/client/_expo/static/js/web/{ssh-config-da103d2f93f3bf74e5fa0e53c69d44cb.js → ssh-config-a0d07f103566f011999a52c666bfd483.js} +1 -1
  213. package/client/_expo/static/js/web/{stata-267a78f4fb1f8d729fb6c2a32d3da6a9.js → stata-ac6521703da2c260c6ec8809444d07ad.js} +1 -1
  214. package/client/_expo/static/js/web/{surrealql-7c80a6eb761edcf02b619926af0cab24.js → surrealql-71b9b67cd213361bebede83329ecabe6.js} +1 -1
  215. package/client/_expo/static/js/web/{svelte-2702f9614e69656cfe9ac42869c79513.js → svelte-d4dbcb7221e8bcb511745886f949d6f6.js} +1 -1
  216. package/client/_expo/static/js/web/{synthwave-84-26ff933249cae5700819d17b436dd0ba.js → synthwave-84-38d280b6087be27cbd0b64d8f6321a1a.js} +1 -1
  217. package/client/_expo/static/js/web/{systemd-c4521ad3a8a263637f954b35403e30a0.js → systemd-1e068203f28181ec6bc62a246772e9fd.js} +1 -1
  218. package/client/_expo/static/js/web/{talonscript-77e846352186ff201be4e726bc3e6726.js → talonscript-224f5c32bc3024a0792dec4305f31a03.js} +1 -1
  219. package/client/_expo/static/js/web/{tasl-8afa609fdccdb5d3d86fe89c5460765b.js → tasl-dd30afb9ba0e6f9f8047319b9f680226.js} +1 -1
  220. package/client/_expo/static/js/web/{tcl-388b4eb8b4c89554bce0d9dd3568f8f5.js → tcl-657b650a8e2c0b9037639a8d485899a9.js} +1 -1
  221. package/client/_expo/static/js/web/{templ-968966b129140621b61b21785c3198bb.js → templ-c9aa0f67576eb2f0d4d88156efb63dd2.js} +1 -1
  222. package/client/_expo/static/js/web/{terraform-fdc251ecef43c8e24e908b74e7e2f00c.js → terraform-8bf996209fc8214e42769db8c44b7c5f.js} +1 -1
  223. package/client/_expo/static/js/web/{tokyo-night-d1aa090362c18d1d5d74a74fca898dfe.js → tokyo-night-88a4b97337940bd07b18ee16e107285d.js} +1 -1
  224. package/client/_expo/static/js/web/{toml-ca15fde86642f72feeb7d7c9188d9f51.js → toml-d9524b9dcf26d0f5bf358c705e9ae1de.js} +1 -1
  225. package/client/_expo/static/js/web/{ts-tags-f533eba2db73e18cebed7046b1be53d9.js → ts-tags-bca6cd77bf42e9cdea9253e3f90e46a2.js} +6 -6
  226. package/client/_expo/static/js/web/{tsv-5890117927240fc2095272f0a68b5079.js → tsv-3643857c91b2a6d7c5cd5658ead34755.js} +1 -1
  227. package/client/_expo/static/js/web/{typespec-a9d0556ba9b784ae22d03bbf97d50529.js → typespec-25258fe581b1f7cb8daca4cc3cf4a654.js} +1 -1
  228. package/client/_expo/static/js/web/{typst-89f7ea3665628a8ebe7486d4d4917489.js → typst-760655f439200d69fe03ac27cfb3f85a.js} +1 -1
  229. package/client/_expo/static/js/web/{v-6e77391c446c3ef6fda1f20d99ecef2e.js → v-716e4e7d3b0e2b33ed72b2dc2915e2fe.js} +1 -1
  230. package/client/_expo/static/js/web/{vala-406f769c1fc988d559c17f7cd8b78a6b.js → vala-6e6910af609de1eaa24a1ce105a8b489.js} +1 -1
  231. package/client/_expo/static/js/web/{vesper-6c77aca86b4f35d5f9b9e7b3c2dbd791.js → vesper-329062b21aace0a4bfa486c9f172b05f.js} +1 -1
  232. package/client/_expo/static/js/web/{vhdl-f08dc57e0f0ce6fdf2437a4d68f7934a.js → vhdl-a60f03524e1f99cdf80fa6f9b86a9e0c.js} +1 -1
  233. package/client/_expo/static/js/web/{viml-e4dd48f57bc8687dd44fd51749c1a6a8.js → viml-667efd0746f0308da09a89ca3d32b488.js} +1 -1
  234. package/client/_expo/static/js/web/{vitesse-black-add6f6ab191f5f6255ada93e18d5627c.js → vitesse-black-3141d08405533eacdb81209dcf1577f6.js} +1 -1
  235. package/client/_expo/static/js/web/{vitesse-dark-4c1ac96701240c173cbe2de209bb6523.js → vitesse-dark-401e3402d0533898d96adf17b56441e2.js} +1 -1
  236. package/client/_expo/static/js/web/{vitesse-light-8338524e68c5eed1b442a6be72cfdc6b.js → vitesse-light-1c433a2704eb03435038aa47e70c9e1e.js} +1 -1
  237. package/client/_expo/static/js/web/{vue-304d58f1806ae9127cfb8dfe8627c9e2.js → vue-d695b6a493070ddcc959bef53929e530.js} +5 -5
  238. package/client/_expo/static/js/web/{vue-html-a681e3fc5392feec40098d4f9c37e8f7.js → vue-html-bd346137d185805e4e3def64fe312c8a.js} +1 -1
  239. package/client/_expo/static/js/web/{vue-vine-407d7545cec3d3cc13187ee22694c676.js → vue-vine-c267c64d580a41b12f4835c4aa5dfe21.js} +1 -1
  240. package/client/_expo/static/js/web/{vyper-da913bf303b960b1f6aed6ddbd774aef.js → vyper-5b694c8ece24472e65dfa4cb250f4574.js} +1 -1
  241. package/client/_expo/static/js/web/{wasm-295026821c54ecf9b4c855e0a011b0d5.js → wasm-9f04ea22d3e1a96c5d20e4c49d2a497c.js} +1 -1
  242. package/client/_expo/static/js/web/{wasm-B9ZqxnKj-2f19dbc959bc7f4760f6ad5c45c05a79.js → wasm-B9ZqxnKj-98465696f727fee2761365a42cd495de.js} +1 -1
  243. package/client/_expo/static/js/web/{wasm-ca6dbcb46b9be37d56623c9b7d1098ff.js → wasm-df92e51d871e0a24ae48ea8f55dbe9eb.js} +2 -2
  244. package/client/_expo/static/js/web/{wenyan-e784d41c3440569972e99d4171233172.js → wenyan-d108fe79ba83311c372b99adcabd9c12.js} +1 -1
  245. package/client/_expo/static/js/web/{wgsl-69878295dc2966642a5ae08e8a1d96da.js → wgsl-af68e1a5ed2849644abf2c255bfcdacb.js} +1 -1
  246. package/client/_expo/static/js/web/{wikitext-adf14174cfcbbe805e0a228ea7dd4872.js → wikitext-31db3d319ac8895f83c9792fd5659ed1.js} +1 -1
  247. package/client/_expo/static/js/web/{wit-3f3d75dbb9395afec717fe84d13a998c.js → wit-65e0030f186ff3a82fa99bed7fc48132.js} +1 -1
  248. package/client/_expo/static/js/web/{wolfram-b92b73cad7abe8a48c89536e1a99475f.js → wolfram-8aef47bb255ffb8eb56d6811228763f9.js} +1 -1
  249. package/client/_expo/static/js/web/{zenscript-120150b12704596c9dcc0ce857757c40.js → zenscript-6e70271be4470166e9af4b3db5cd2e9c.js} +1 -1
  250. package/client/index.html +3 -3
  251. package/package.json +2 -2
  252. package/client/_expo/static/css/global-a244c8d2cac31b99e7a710a48cdf6474.css +0 -2
  253. package/client/_expo/static/js/web/pull-request-diff-viewer-a7e98be6fd208bfd0c5ab76509220f7f.js +0 -5
@@ -1,15 +1,15 @@
1
- import { env } from 'node:process';
1
+ import { env, pid } from 'node:process';
2
2
  import { appLogger } from 'nightingale-app-console';
3
3
  import { execFile, spawn, spawnSync } from 'node:child_process';
4
- import { existsSync, readFileSync, statSync, mkdirSync, chmodSync, writeFileSync, renameSync } from 'node:fs';
5
- import { readdir, readFile } from 'node:fs/promises';
4
+ import { statSync, existsSync, readFileSync, mkdirSync, chmodSync, writeFileSync, renameSync } from 'node:fs';
5
+ import { readdir, mkdir, writeFile, rename, readFile } from 'node:fs/promises';
6
6
  import { homedir } from 'node:os';
7
- import { join, isAbsolute, dirname, normalize, sep, extname } from 'node:path';
7
+ import { join, isAbsolute, dirname, resolve, relative, sep, normalize, extname } from 'node:path';
8
8
  import { promisify } from 'node:util';
9
- import { defaultRepoPath, createGitHubTransport, parsePullRequestEdit, fetchPullRequestRevisions, fetchPullRequestCandidates, fetchPullRequestPart, applyPullRequestEdit, createReviewflowFollower, withAccountBoard, applyStreamEvent, createReviewflowClient, readReviewflowStream, readAccountBoards, assembleBoard, isDiffWhitespace, isPullRequestPart } from '@reviewflow/sdk';
9
+ import { defaultRepoPaths, createGitHubTransport, fetchBranchPullRequests, fetchOpenPullRequests, parsePullRequestEdit, fetchPullRequestRevisions, fetchPullRequestCandidates, fetchPullRequestPart, applyPullRequestEdit, createReviewflowFollower, withAccountBoard, applyStreamEvent, createReviewflowClient, readReviewflowStream, readAccountBoards, assembleBoard, isDiffWhitespace, isPullRequestPart, isBranchDiffScope } from '@reviewflow/sdk';
10
10
  import { Agent, request } from 'node:https';
11
11
  import { createGunzip } from 'node:zlib';
12
- import { createBindingsCache, readReadingOrder, readFileAtSha, readPullRequestDiff, readImpacts } from '@reviewflow/sdk/git';
12
+ import { createBindingsCache, completeWorktreeRemoval, prepareWorktreeRemoval, readWorktreeRemovalStatus, readWorktrees, pushCheckout, pullCheckout, readHeadBranch, readReadingOrder, readFileAtSha, readPullRequestDiff, linkBranchPullRequests, readBranches, readCheckoutSync, readCommitDiff, readRecentCommits, readCheckoutBranchDiff, readImpacts } from '@reviewflow/sdk/git';
13
13
  import { randomBytes, createCipheriv, createDecipheriv } from 'node:crypto';
14
14
  import { createServer } from 'node:http';
15
15
  import { readEditableFile, saveEditableFile } from '@reviewflow/sdk/files';
@@ -38,16 +38,24 @@ const readRepos = (configPath, repos) => {
38
38
  }
39
39
  return result;
40
40
  };
41
- const readDefaultRepoPath = (configPath, path) => {
42
- if (path === void 0) return expandHome(defaultRepoPath);
43
- if (typeof path !== "string") {
41
+ const builtInRepoPaths = () => defaultRepoPaths.map(expandHome);
42
+ const readRepoPaths = (configPath, object) => {
43
+ const { repoPaths, defaultRepoPath } = object;
44
+ if (repoPaths !== void 0) {
45
+ if (!Array.isArray(repoPaths) || !repoPaths.every((path) => typeof path === "string")) {
46
+ throw new TypeError(`${configPath}: "repoPaths" must be a list of paths`);
47
+ }
48
+ return repoPaths.map(expandHome);
49
+ }
50
+ if (defaultRepoPath === void 0) return builtInRepoPaths();
51
+ if (typeof defaultRepoPath !== "string") {
44
52
  throw new TypeError(`${configPath}: "defaultRepoPath" must be a path`);
45
53
  }
46
- return expandHome(path);
54
+ return [expandHome(defaultRepoPath)];
47
55
  };
48
56
  const readConfig = (configPath) => {
49
57
  if (!existsSync(configPath)) {
50
- return { repos: {}, defaultRepoPath: expandHome(defaultRepoPath) };
58
+ return { repos: {}, repoPaths: builtInRepoPaths() };
51
59
  }
52
60
  let parsed;
53
61
  try {
@@ -61,7 +69,7 @@ const readConfig = (configPath) => {
61
69
  const object = typeof parsed === "object" && parsed !== null ? parsed : {};
62
70
  return {
63
71
  repos: readRepos(configPath, object.repos),
64
- defaultRepoPath: readDefaultRepoPath(configPath, object.defaultRepoPath)
72
+ repoPaths: readRepoPaths(configPath, object)
65
73
  };
66
74
  };
67
75
  const ownerRepoOfRemote = (url) => {
@@ -136,18 +144,26 @@ const findCheckoutUnder = async (base, ownerRepo) => {
136
144
  }
137
145
  return null;
138
146
  };
147
+ const findCheckoutUnderAny = async (bases, ownerRepo) => {
148
+ for (const base of bases) {
149
+ const found = await findCheckoutUnder(base, ownerRepo);
150
+ if (found !== null) return found;
151
+ }
152
+ return null;
153
+ };
154
+ const describeRepoPaths = (repoPaths) => repoPaths.length === 0 ? "no repositories folder" : repoPaths.join(", ");
139
155
  const resolveCheckout = async (configPath, ownerRepo) => {
140
156
  const config = readConfig(configPath);
141
157
  const path = findPath(config.repos, ownerRepo);
142
158
  if (path === null) {
143
- const found = await findCheckoutUnder(config.defaultRepoPath, ownerRepo);
159
+ const found = await findCheckoutUnderAny(config.repoPaths, ownerRepo);
144
160
  if (found !== null) return { checkout: found };
145
161
  return {
146
162
  refused: {
147
163
  reason: "notConfigured",
148
164
  ownerRepo,
149
165
  configPath,
150
- detail: `no checkout is configured for ${ownerRepo}, and none whose origin is ${ownerRepo} was found under ${config.defaultRepoPath}`
166
+ detail: `no checkout is configured for ${ownerRepo}, and none whose origin is ${ownerRepo} was found under ${describeRepoPaths(config.repoPaths)}`
151
167
  }
152
168
  };
153
169
  }
@@ -164,6 +180,35 @@ const resolveCheckout = async (configPath, ownerRepo) => {
164
180
  }
165
181
  return { checkout: path };
166
182
  };
183
+ const ownerRepoOfDirectory = async (path) => {
184
+ if (!existsSync(join(path, ".git"))) return null;
185
+ const url = await readOriginUrl(path);
186
+ return url === null ? null : ownerRepoOfRemote(url);
187
+ };
188
+ const discoverCheckoutsUnder = async (base) => {
189
+ const directories = await readDirectories(base);
190
+ const entries = directories.toSorted(
191
+ (left, right) => left.name.localeCompare(right.name)
192
+ );
193
+ const found = await Promise.all(
194
+ entries.map(async (entry) => {
195
+ const path = join(base, entry.name);
196
+ const ownerRepo = await ownerRepoOfDirectory(path);
197
+ return ownerRepo === null ? null : { ownerRepo, path, name: entry.name };
198
+ })
199
+ );
200
+ const byRepo = /* @__PURE__ */ new Map();
201
+ for (const checkout of found) {
202
+ if (checkout === null) continue;
203
+ const key = checkout.ownerRepo.toLowerCase();
204
+ const repoName = checkout.ownerRepo.split("/")[1] ?? "";
205
+ const named = checkout.name.toLowerCase() === repoName.toLowerCase();
206
+ if (!byRepo.has(key) || named) {
207
+ byRepo.set(key, { ownerRepo: checkout.ownerRepo, path: checkout.path });
208
+ }
209
+ }
210
+ return [...byRepo.values()];
211
+ };
167
212
  const describeRepoAttachment = async (configPath, ownerRepo) => {
168
213
  let resolved;
169
214
  try {
@@ -184,17 +229,16 @@ const describeRepoAttachment = async (configPath, ownerRepo) => {
184
229
  }
185
230
  return { ownerRepo, status: "attached", detail: resolved.checkout };
186
231
  };
187
- const ownerRepoPattern = /^[^/\s]+\/[^/\s]+$/;
188
- const configKeys = /* @__PURE__ */ new Set(["defaultRepoPath", "repos"]);
189
- const validateDefaultRepoPath = (path) => {
190
- if (path === void 0) return { warning: null };
232
+ const ownerRepoPattern$1 = /^[^/\s]+\/[^/\s]+$/;
233
+ const configKeys = /* @__PURE__ */ new Set(["repoPaths", "defaultRepoPath", "repos"]);
234
+ const validateFolder = (label, path) => {
191
235
  if (typeof path !== "string" || path.trim() === "") {
192
- return { error: '"defaultRepoPath" must be a non-empty string' };
236
+ return { error: `${label} must be a non-empty string` };
193
237
  }
194
238
  const expanded = expandHome(path);
195
239
  if (!isAbsolute(expanded)) {
196
240
  return {
197
- error: `"defaultRepoPath" must be an absolute path or start with "~/", got "${path}"`
241
+ error: `${label} must be an absolute path or start with "~/", got "${path}"`
198
242
  };
199
243
  }
200
244
  let isDirectory = false;
@@ -203,7 +247,32 @@ const validateDefaultRepoPath = (path) => {
203
247
  } catch {
204
248
  }
205
249
  return {
206
- warning: isDirectory ? null : `defaultRepoPath: ${expanded} does not exist or is not a directory`
250
+ warning: isDirectory ? null : `${label}: ${expanded} does not exist or is not a directory`
251
+ };
252
+ };
253
+ const validateRepoPaths = (object) => {
254
+ if ("repoPaths" in object && "defaultRepoPath" in object) {
255
+ return {
256
+ error: '"defaultRepoPath" is the former one-folder form of "repoPaths": keep only "repoPaths"'
257
+ };
258
+ }
259
+ const { repoPaths } = object;
260
+ const checks = (() => {
261
+ if ("defaultRepoPath" in object) {
262
+ return [validateFolder('"defaultRepoPath"', object.defaultRepoPath)];
263
+ }
264
+ if (repoPaths === void 0) return [];
265
+ if (!Array.isArray(repoPaths)) {
266
+ return [{ error: '"repoPaths" must be a list of folders' }];
267
+ }
268
+ return repoPaths.map(
269
+ (path, index) => validateFolder(`repoPaths[${String(index)}]`, path)
270
+ );
271
+ })();
272
+ const refused = checks.find((check) => "error" in check);
273
+ if (refused !== void 0) return refused;
274
+ return {
275
+ warnings: checks.map((check) => "warning" in check ? check.warning : null).filter((warning) => warning !== null)
207
276
  };
208
277
  };
209
278
  const validateConfigSource = async (source) => {
@@ -222,11 +291,11 @@ const validateConfigSource = async (source) => {
222
291
  const unknownKey = Object.keys(object).find((key) => !configKeys.has(key));
223
292
  if (unknownKey !== void 0) {
224
293
  return {
225
- error: `unknown key "${unknownKey}": the keys are "defaultRepoPath" and "repos"`
294
+ error: `unknown key "${unknownKey}": the keys are "repoPaths" and "repos"`
226
295
  };
227
296
  }
228
- const defaultRepoPathCheck = validateDefaultRepoPath(object.defaultRepoPath);
229
- if ("error" in defaultRepoPathCheck) return defaultRepoPathCheck;
297
+ const repoPathsCheck = validateRepoPaths(object);
298
+ if ("error" in repoPathsCheck) return repoPathsCheck;
230
299
  const repos = object.repos;
231
300
  if (typeof repos !== "object" || repos === null || Array.isArray(repos)) {
232
301
  return {
@@ -235,7 +304,7 @@ const validateConfigSource = async (source) => {
235
304
  }
236
305
  const entries = Object.entries(repos);
237
306
  for (const [ownerRepo, path] of entries) {
238
- if (!ownerRepoPattern.test(ownerRepo)) {
307
+ if (!ownerRepoPattern$1.test(ownerRepo)) {
239
308
  return {
240
309
  error: `repos key "${ownerRepo}" must be owner/repo`
241
310
  };
@@ -258,7 +327,7 @@ const validateConfigSource = async (source) => {
258
327
  })
259
328
  );
260
329
  return {
261
- warnings: [defaultRepoPathCheck.warning, ...problems].filter(
330
+ warnings: [...repoPathsCheck.warnings, ...problems].filter(
262
331
  (problem) => problem !== null
263
332
  )
264
333
  };
@@ -405,7 +474,22 @@ const operations = {
405
474
  readPullRequestDiff,
406
475
  readFileAtSha,
407
476
  readReadingOrder,
408
- readImpacts: (request) => readImpacts({ ...request, cache: bindingsCache })
477
+ readImpacts: (request) => readImpacts({ ...request, cache: bindingsCache }),
478
+ readHeadBranch,
479
+ readCheckoutBranchDiff: ({ checkout, scope, whitespace, branch }) => readCheckoutBranchDiff({ cwd: checkout, scope, whitespace, branch }),
480
+ readRecentCommits: ({ checkout, limit, branch }) => readRecentCommits({ cwd: checkout, limit, branch }),
481
+ readCommitDiff: ({ checkout, sha, whitespace }) => readCommitDiff({ cwd: checkout, sha, whitespace }),
482
+ readCheckoutSync: ({ checkout, fetch }) => readCheckoutSync({ cwd: checkout, fetch }),
483
+ pullCheckout,
484
+ pushCheckout,
485
+ readWorktrees,
486
+ readBranches: (checkout) => readBranches({ cwd: checkout }),
487
+ fetchOpenPullRequests,
488
+ fetchBranchPullRequests,
489
+ linkBranchPullRequests: ({ checkout, branch, pullRequests }) => linkBranchPullRequests({ cwd: checkout, branch, pullRequests }),
490
+ readWorktreeRemovalStatus,
491
+ prepareWorktreeRemoval,
492
+ completeWorktreeRemoval
409
493
  };
410
494
 
411
495
  const errorMessage = (error) => error instanceof Error ? error.message : String(error);
@@ -879,6 +963,18 @@ const createReviewflowService = ({
879
963
  });
880
964
  }
881
965
  },
966
+ lookup: async (targets) => {
967
+ const { stored } = connection();
968
+ if (stored === null) return null;
969
+ const client = createClient({ url: stored.url, token: stored.token });
970
+ try {
971
+ return await client.lookup(targets);
972
+ } catch (error) {
973
+ throw new Error(withoutToken(errorMessage(error), stored.token), {
974
+ cause: error
975
+ });
976
+ }
977
+ },
882
978
  subscribe: (write) => hub.subscribe(write, [formatEvent("reviewflowStatus", status())]),
883
979
  close: () => {
884
980
  follower.close();
@@ -943,9 +1039,180 @@ const judgeRequest = ({
943
1039
  return { allowed: false, reason: `origin ${origin} is not allowed` };
944
1040
  };
945
1041
 
1042
+ const repositoriesCachePathOf = (configPath) => join(dirname(configPath), "cache", "repositories.json");
1043
+ const isFoundCheckout = (value) => typeof value === "object" && value !== null && typeof value.ownerRepo === "string" && typeof value.path === "string";
1044
+ const isRepositoriesCache = (value) => {
1045
+ if (typeof value !== "object" || value === null) return false;
1046
+ const cache = value;
1047
+ return Array.isArray(cache.repoPaths) && cache.repoPaths.every((path) => typeof path === "string") && typeof cache.scannedAt === "string" && Array.isArray(cache.checkouts) && cache.checkouts.every(isFoundCheckout);
1048
+ };
1049
+ const readCache = (cachePath) => {
1050
+ try {
1051
+ const parsed = JSON.parse(readFileSync(cachePath, "utf8"));
1052
+ return isRepositoriesCache(parsed) ? parsed : null;
1053
+ } catch {
1054
+ return null;
1055
+ }
1056
+ };
1057
+ const writeCache = async (cachePath, cache) => {
1058
+ const temporary = `${cachePath}.${String(pid)}.tmp`;
1059
+ try {
1060
+ await mkdir(dirname(cachePath), { recursive: true });
1061
+ await writeFile(temporary, `${JSON.stringify(cache, null, 2)}
1062
+ `);
1063
+ await rename(temporary, cachePath);
1064
+ } catch (error) {
1065
+ console.warn(`could not write ${cachePath}:`, error);
1066
+ }
1067
+ };
1068
+ const sameFolders = (left, right) => left.length === right.length && left.every((path, index) => path === right[index]);
1069
+ const scanRepoPaths = async (repoPaths) => {
1070
+ const byRepo = /* @__PURE__ */ new Map();
1071
+ for (const base of repoPaths) {
1072
+ for (const checkout of await discoverCheckoutsUnder(base)) {
1073
+ const key = checkout.ownerRepo.toLowerCase();
1074
+ if (!byRepo.has(key)) byRepo.set(key, checkout);
1075
+ }
1076
+ }
1077
+ return [...byRepo.values()];
1078
+ };
1079
+ const readFoundCheckouts = async (configPath, repoPaths, refresh) => {
1080
+ const cachePath = repositoriesCachePathOf(configPath);
1081
+ const cached = refresh ? null : readCache(cachePath);
1082
+ if (cached !== null && sameFolders(cached.repoPaths, repoPaths)) {
1083
+ return cached;
1084
+ }
1085
+ const scanned = {
1086
+ repoPaths,
1087
+ scannedAt: (/* @__PURE__ */ new Date()).toISOString(),
1088
+ checkouts: await scanRepoPaths(repoPaths)
1089
+ };
1090
+ await writeCache(cachePath, scanned);
1091
+ return scanned;
1092
+ };
1093
+ const listCheckouts = async (configPath, { refresh = false } = {}) => {
1094
+ const config = readConfig(configPath);
1095
+ const configured = Object.entries(config.repos).map(([ownerRepo, path]) => ({
1096
+ ownerRepo,
1097
+ path,
1098
+ configured: true
1099
+ }));
1100
+ const known = new Set(
1101
+ configured.map(({ ownerRepo }) => ownerRepo.toLowerCase())
1102
+ );
1103
+ const found = await readFoundCheckouts(configPath, config.repoPaths, refresh);
1104
+ const discovered = found.checkouts.filter(({ ownerRepo }) => !known.has(ownerRepo.toLowerCase())).map((checkout) => ({ ...checkout, configured: false }));
1105
+ return {
1106
+ checkouts: [...configured, ...discovered].toSorted(
1107
+ (left, right) => left.ownerRepo.localeCompare(right.ownerRepo)
1108
+ ),
1109
+ repoPaths: config.repoPaths,
1110
+ scannedAt: found.scannedAt
1111
+ };
1112
+ };
1113
+ const resolveListedCheckout = async (configPath, ownerRepo) => {
1114
+ const wanted = ownerRepo.toLowerCase();
1115
+ const { checkouts } = await listCheckouts(configPath);
1116
+ const listed = checkouts.find(
1117
+ (checkout) => checkout.ownerRepo.toLowerCase() === wanted
1118
+ );
1119
+ if (listed === void 0) {
1120
+ return {
1121
+ refused: `${ownerRepo} is neither configured nor a checkout found under repoPaths (refresh the list after a clone)`
1122
+ };
1123
+ }
1124
+ const problem = await checkCheckout(listed.ownerRepo, listed.path);
1125
+ return problem === null ? { checkout: listed.path } : { refused: problem };
1126
+ };
1127
+ const usualFolderNames = /* @__PURE__ */ new Set([
1128
+ "code",
1129
+ "dev",
1130
+ "developer",
1131
+ "git",
1132
+ "github",
1133
+ "projects",
1134
+ "repos",
1135
+ "src",
1136
+ "work",
1137
+ "workspace"
1138
+ ]);
1139
+ const asConfigPath = (path, home) => {
1140
+ const inside = relative(home, path);
1141
+ return inside.startsWith("..") ? `${path}/` : `~/${inside.split(sep).join("/")}/`;
1142
+ };
1143
+ const candidateFolders = async (home) => {
1144
+ const homeEntries = await readDirectories(home);
1145
+ const roots = homeEntries.filter((entry) => usualFolderNames.has(entry.name.toLowerCase())).map((entry) => join(home, entry.name)).toSorted();
1146
+ const nested = await Promise.all(
1147
+ roots.map(async (root) => {
1148
+ const entries = await readDirectories(root);
1149
+ return entries.filter((entry) => !existsSync(join(root, entry.name, ".git"))).map((entry) => join(root, entry.name)).toSorted();
1150
+ })
1151
+ );
1152
+ return roots.flatMap((root, index) => [root, ...nested[index] ?? []]);
1153
+ };
1154
+ const normalizeFolder = (path) => resolve(path);
1155
+ const suggestRepoPaths = async ({
1156
+ home = homedir(),
1157
+ repoPaths
1158
+ }) => {
1159
+ const listed = new Set(repoPaths.map(normalizeFolder));
1160
+ const suggestions = [];
1161
+ for (const folder of await candidateFolders(home)) {
1162
+ if (listed.has(normalizeFolder(folder))) continue;
1163
+ const found = await discoverCheckoutsUnder(folder);
1164
+ if (found.length > 0) {
1165
+ suggestions.push({
1166
+ path: asConfigPath(folder, home),
1167
+ checkouts: found.length
1168
+ });
1169
+ }
1170
+ }
1171
+ return suggestions;
1172
+ };
1173
+
1174
+ const settledCandidateOf = (result) => {
1175
+ if (!result.found) return null;
1176
+ const { pr } = result;
1177
+ if (pr.headSha === null) return null;
1178
+ const state = (() => {
1179
+ if (pr.state === "merged") return "MERGED";
1180
+ if (pr.state === "closed") return "CLOSED";
1181
+ return null;
1182
+ })();
1183
+ if (state === null) return null;
1184
+ return {
1185
+ number: pr.number,
1186
+ title: pr.title,
1187
+ state,
1188
+ isDraft: false,
1189
+ sha: pr.headSha,
1190
+ baseRefName: pr.baseRef ?? "",
1191
+ author: pr.author,
1192
+ updatedAt: pr.updatedAt,
1193
+ mergedAt: state === "MERGED" ? pr.closedAt : null,
1194
+ closedAt: pr.closedAt,
1195
+ commitOids: []
1196
+ };
1197
+ };
1198
+
946
1199
  const apiRoutes = {
947
1200
  configFile: "/api/config/file",
948
1201
  configRepo: "/api/config/repo",
1202
+ configRepoPathSuggestions: "/api/config/repo-paths/suggestions",
1203
+ repos: "/api/repos",
1204
+ repoDiff: "/api/repos/diff",
1205
+ repoCommits: "/api/repos/commits",
1206
+ repoCommit: "/api/repos/commit",
1207
+ repoStatus: "/api/repos/status",
1208
+ repoPull: "/api/repos/pull",
1209
+ repoPush: "/api/repos/push",
1210
+ repoBranches: "/api/repos/branches",
1211
+ repoPulls: "/api/repos/pulls",
1212
+ repoBranchPulls: "/api/repos/branch-pulls",
1213
+ repoSettledPulls: "/api/repos/settled-pulls",
1214
+ repoWorktreeStatus: "/api/repos/worktree-status",
1215
+ repoWorktreeRemove: "/api/repos/worktree-remove",
949
1216
  prDetail: "/api/prs/detail",
950
1217
  prCandidates: "/api/prs/candidates",
951
1218
  prRevisions: "/api/prs/revisions",
@@ -1019,6 +1286,272 @@ const handleConfigRepo = async ({ configPath }, request) => {
1019
1286
  if (!/^[^/\s]+\/[^/\s]+$/.test(repo)) return bad("repo must be owner/repo");
1020
1287
  return ok(await describeRepoAttachment(configPath, repo));
1021
1288
  };
1289
+ const handleRepoPathSuggestions = async ({ configPath }, request) => {
1290
+ if (request.method !== "GET") return notAllowed();
1291
+ const { repoPaths } = readConfig(configPath);
1292
+ const body = {
1293
+ suggestions: await suggestRepoPaths({ repoPaths })
1294
+ };
1295
+ return ok(body);
1296
+ };
1297
+ const handleRepos = async ({ operations, configPath }, request) => {
1298
+ if (request.method !== "GET") return notAllowed();
1299
+ const listing = await listCheckouts(configPath, {
1300
+ refresh: request.query.get("refresh") === "1"
1301
+ });
1302
+ const body = {
1303
+ configPath,
1304
+ repoPaths: listing.repoPaths,
1305
+ scannedAt: listing.scannedAt,
1306
+ repos: await Promise.all(
1307
+ listing.checkouts.map(async (checkout) => {
1308
+ const problem = await checkCheckout(checkout.ownerRepo, checkout.path);
1309
+ const branch = problem === null ? await operations.readHeadBranch(checkout.path) : null;
1310
+ return { ...checkout, branch, problem };
1311
+ })
1312
+ )
1313
+ };
1314
+ return ok(body);
1315
+ };
1316
+ const ownerRepoPattern = /^[^/\s]+\/[^/\s]+$/;
1317
+ const readListedCheckout = async ({ operations, configPath }, request) => {
1318
+ const repo = request.query.get("repo") ?? "";
1319
+ if (!ownerRepoPattern.test(repo)) return bad("repo must be owner/repo");
1320
+ const resolved = await resolveListedCheckout(configPath, repo);
1321
+ if ("refused" in resolved) return bad(resolved.refused);
1322
+ const worktree = request.query.get("worktree");
1323
+ if (worktree === null || worktree === resolved.checkout) {
1324
+ return resolved.checkout;
1325
+ }
1326
+ const worktrees = await operations.readWorktrees(resolved.checkout).catch(() => []);
1327
+ const known = worktrees.some(
1328
+ ({ path, prunable }) => path === worktree && !prunable
1329
+ );
1330
+ return known ? worktree : bad(`${worktree} is not a worktree of ${repo}`);
1331
+ };
1332
+ const gitAnswer = async (read) => {
1333
+ try {
1334
+ return ok(await read());
1335
+ } catch (error) {
1336
+ return bad(errorMessage(error));
1337
+ }
1338
+ };
1339
+ const readWhitespace = (request) => {
1340
+ const whitespace = request.query.get("whitespace") ?? "show";
1341
+ return isDiffWhitespace(whitespace) ? whitespace : bad("whitespace must be show or hide");
1342
+ };
1343
+ const readBranchParam = (request) => {
1344
+ const branch = request.query.get("branch");
1345
+ if (branch === null) return {};
1346
+ return branch.trim() === "" ? bad("branch must not be empty") : { branch };
1347
+ };
1348
+ const handleRepoDiff = async ({ operations, configPath }, request) => {
1349
+ if (request.method !== "GET") return notAllowed();
1350
+ const scope = request.query.get("scope") ?? "committed";
1351
+ if (!isBranchDiffScope(scope)) {
1352
+ return bad("scope must be committed or uncommitted");
1353
+ }
1354
+ const whitespace = readWhitespace(request);
1355
+ if (typeof whitespace !== "string") return whitespace;
1356
+ const branch = readBranchParam(request);
1357
+ if (isAnswer(branch)) return branch;
1358
+ const checkout = await readListedCheckout(
1359
+ { operations, configPath },
1360
+ request
1361
+ );
1362
+ if (typeof checkout !== "string") return checkout;
1363
+ return gitAnswer(
1364
+ () => operations.readCheckoutBranchDiff({
1365
+ checkout,
1366
+ scope,
1367
+ whitespace,
1368
+ ...branch
1369
+ })
1370
+ );
1371
+ };
1372
+ const maxRecentCommits = 100;
1373
+ const handleRepoCommits = async ({ operations, configPath }, request) => {
1374
+ if (request.method !== "GET") return notAllowed();
1375
+ const limit = Number(request.query.get("limit") ?? "30");
1376
+ if (!Number.isInteger(limit) || limit < 1 || limit > maxRecentCommits) {
1377
+ return bad(`limit must be between 1 and ${String(maxRecentCommits)}`);
1378
+ }
1379
+ const branch = readBranchParam(request);
1380
+ if (isAnswer(branch)) return branch;
1381
+ const checkout = await readListedCheckout(
1382
+ { operations, configPath },
1383
+ request
1384
+ );
1385
+ if (typeof checkout !== "string") return checkout;
1386
+ return gitAnswer(
1387
+ () => operations.readRecentCommits({ checkout, limit, ...branch })
1388
+ );
1389
+ };
1390
+ const handleRepoCommit = async ({ operations, configPath }, request) => {
1391
+ if (request.method !== "GET") return notAllowed();
1392
+ const sha = request.query.get("sha") ?? "";
1393
+ if (!isSha(sha)) return bad("sha must be a commit sha");
1394
+ const whitespace = readWhitespace(request);
1395
+ if (typeof whitespace !== "string") return whitespace;
1396
+ const checkout = await readListedCheckout(
1397
+ { operations, configPath },
1398
+ request
1399
+ );
1400
+ if (typeof checkout !== "string") return checkout;
1401
+ return gitAnswer(
1402
+ () => operations.readCommitDiff({ checkout, sha, whitespace })
1403
+ );
1404
+ };
1405
+ const handleRepoStatus = async ({ operations, configPath }, request) => {
1406
+ if (request.method !== "GET") return notAllowed();
1407
+ const checkout = await readListedCheckout(
1408
+ { operations, configPath },
1409
+ request
1410
+ );
1411
+ if (typeof checkout !== "string") return checkout;
1412
+ const fetch = request.query.get("fetch") === "1" ? "always" : "never";
1413
+ return gitAnswer(() => operations.readCheckoutSync({ checkout, fetch }));
1414
+ };
1415
+ const syncHandler = (action) => async ({ operations, configPath }, request) => {
1416
+ if (request.method !== "POST") return notAllowed();
1417
+ const checkout = await readListedCheckout(
1418
+ { operations, configPath },
1419
+ request
1420
+ );
1421
+ if (typeof checkout !== "string") return checkout;
1422
+ return gitAnswer(async () => {
1423
+ await operations[action](checkout);
1424
+ return { path: checkout };
1425
+ });
1426
+ };
1427
+ const handleRepoBranches = async ({ operations, configPath }, request) => {
1428
+ if (request.method !== "GET") return notAllowed();
1429
+ const checkout = await readListedCheckout(
1430
+ { operations, configPath },
1431
+ request
1432
+ );
1433
+ if (typeof checkout !== "string") return checkout;
1434
+ return gitAnswer(() => operations.readBranches(checkout));
1435
+ };
1436
+ const handleRepoPulls = async ({ transport, operations }, request) => {
1437
+ if (request.method !== "GET") return notAllowed();
1438
+ const repo = request.query.get("repo") ?? "";
1439
+ if (!ownerRepoPattern.test(repo)) return bad("repo must be owner/repo");
1440
+ return gitAnswer(() => operations.fetchOpenPullRequests(transport, repo));
1441
+ };
1442
+ const handleBranchPulls = async (deps, request) => {
1443
+ if (request.method !== "GET") return notAllowed();
1444
+ const branch = request.query.get("branch") ?? "";
1445
+ if (branch.trim() === "") return bad("branch must name a local branch");
1446
+ const checkout = await readListedCheckout(deps, request);
1447
+ if (typeof checkout !== "string") return checkout;
1448
+ const ownerRepo = request.query.get("repo") ?? "";
1449
+ return gitAnswer(async () => {
1450
+ const candidates = await deps.operations.fetchBranchPullRequests(
1451
+ deps.transport,
1452
+ ownerRepo,
1453
+ branch
1454
+ );
1455
+ return {
1456
+ pullRequests: await deps.operations.linkBranchPullRequests({
1457
+ checkout,
1458
+ branch,
1459
+ pullRequests: candidates
1460
+ })
1461
+ };
1462
+ });
1463
+ };
1464
+ const handleRepoSettledPulls = async (deps, request) => {
1465
+ if (request.method !== "GET") return notAllowed();
1466
+ const checkout = await readListedCheckout(deps, request);
1467
+ if (typeof checkout !== "string") return checkout;
1468
+ const ownerRepo = request.query.get("repo") ?? "";
1469
+ return gitAnswer(async () => {
1470
+ const { branches } = await deps.operations.readBranches(checkout);
1471
+ const results = await deps.reviewflow.lookup(
1472
+ branches.map(({ name }) => ({ ownerRepo, headRef: name }))
1473
+ );
1474
+ if (results === null) return { connected: false, branches: [] };
1475
+ const settled = await Promise.all(
1476
+ branches.map(async ({ name }, index) => {
1477
+ const result = results[index];
1478
+ const candidate = result === void 0 ? null : settledCandidateOf(result);
1479
+ if (candidate === null) return [];
1480
+ const linked = await deps.operations.linkBranchPullRequests({
1481
+ checkout,
1482
+ branch: name,
1483
+ pullRequests: [candidate]
1484
+ });
1485
+ return linked.map((pullRequest) => ({ branch: name, pullRequest }));
1486
+ })
1487
+ );
1488
+ return { connected: true, branches: settled.flat() };
1489
+ });
1490
+ };
1491
+ const readBranchPullRequestHeads = async ({ transport, operations }, ownerRepo, checkout) => {
1492
+ const branch = await operations.readHeadBranch(checkout);
1493
+ if (branch === null) {
1494
+ return { branch, heads: [], pullRequestsError: null };
1495
+ }
1496
+ try {
1497
+ return {
1498
+ branch,
1499
+ heads: await operations.fetchBranchPullRequests(
1500
+ transport,
1501
+ ownerRepo,
1502
+ branch
1503
+ ),
1504
+ pullRequestsError: null
1505
+ };
1506
+ } catch (error) {
1507
+ return { branch, heads: [], pullRequestsError: errorMessage(error) };
1508
+ }
1509
+ };
1510
+ const handleWorktreeStatus = async (deps, request) => {
1511
+ if (request.method !== "GET") return notAllowed();
1512
+ const checkout = await readListedCheckout(deps, request);
1513
+ if (typeof checkout !== "string") return checkout;
1514
+ const ownerRepo = request.query.get("repo") ?? "";
1515
+ return gitAnswer(async () => {
1516
+ const { branch, heads, pullRequestsError } = await readBranchPullRequestHeads(deps, ownerRepo, checkout);
1517
+ const [status, pullRequests] = await Promise.all([
1518
+ deps.operations.readWorktreeRemovalStatus({
1519
+ worktree: checkout,
1520
+ keptShas: heads.map(({ sha }) => sha)
1521
+ }),
1522
+ branch === null ? [] : deps.operations.linkBranchPullRequests({
1523
+ checkout,
1524
+ branch,
1525
+ pullRequests: heads
1526
+ })
1527
+ ]);
1528
+ return { status, pullRequests, pullRequestsError };
1529
+ });
1530
+ };
1531
+ const handleWorktreeRemove = async (deps, request) => {
1532
+ if (request.method !== "POST") return notAllowed();
1533
+ if (request.query.get("worktree") === null) {
1534
+ return bad("worktree must name the worktree to remove");
1535
+ }
1536
+ const checkout = await readListedCheckout(deps, request);
1537
+ if (typeof checkout !== "string") return checkout;
1538
+ const ownerRepo = request.query.get("repo") ?? "";
1539
+ const payload = await request.readJson();
1540
+ const deleteBranch = payload?.deleteBranch === true;
1541
+ return gitAnswer(async () => {
1542
+ const { heads } = await readBranchPullRequestHeads(
1543
+ deps,
1544
+ ownerRepo,
1545
+ checkout
1546
+ );
1547
+ const plan = await deps.operations.prepareWorktreeRemoval({
1548
+ worktree: checkout,
1549
+ keptShas: heads.map(({ sha }) => sha),
1550
+ deleteBranch
1551
+ });
1552
+ return deps.operations.completeWorktreeRemoval(plan);
1553
+ });
1554
+ };
1022
1555
  const handlePrDetail = async ({ transport, operations }, request) => {
1023
1556
  if (request.method !== "GET") return notAllowed();
1024
1557
  const read = readRef(request);
@@ -1241,6 +1774,20 @@ const handleEvents = ({ reviewflow }, request) => Promise.resolve(
1241
1774
  const handlers = {
1242
1775
  [apiRoutes.configFile]: handleConfigFile,
1243
1776
  [apiRoutes.configRepo]: handleConfigRepo,
1777
+ [apiRoutes.configRepoPathSuggestions]: handleRepoPathSuggestions,
1778
+ [apiRoutes.repos]: handleRepos,
1779
+ [apiRoutes.repoDiff]: handleRepoDiff,
1780
+ [apiRoutes.repoCommits]: handleRepoCommits,
1781
+ [apiRoutes.repoCommit]: handleRepoCommit,
1782
+ [apiRoutes.repoStatus]: handleRepoStatus,
1783
+ [apiRoutes.repoPull]: syncHandler("pullCheckout"),
1784
+ [apiRoutes.repoPush]: syncHandler("pushCheckout"),
1785
+ [apiRoutes.repoBranches]: handleRepoBranches,
1786
+ [apiRoutes.repoPulls]: handleRepoPulls,
1787
+ [apiRoutes.repoBranchPulls]: handleBranchPulls,
1788
+ [apiRoutes.repoSettledPulls]: handleRepoSettledPulls,
1789
+ [apiRoutes.repoWorktreeStatus]: handleWorktreeStatus,
1790
+ [apiRoutes.repoWorktreeRemove]: handleWorktreeRemove,
1244
1791
  [apiRoutes.prDetail]: handlePrDetail,
1245
1792
  [apiRoutes.prCandidates]: handlePrCandidates,
1246
1793
  [apiRoutes.prRevisions]: handlePrRevisions,