@donotdev/cli 0.1.0 → 0.1.42

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 (390) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +0 -0
  3. package/dependencies-matrix.json +175 -72
  4. package/dist/bin/commands/agent-setup.js +936 -428
  5. package/dist/bin/commands/build.js +4363 -883
  6. package/dist/bin/commands/bump.js +1296 -780
  7. package/dist/bin/commands/cacheout.js +494 -363
  8. package/dist/bin/commands/coach.js +632 -431
  9. package/dist/bin/commands/create-app.js +1316 -799
  10. package/dist/bin/commands/create-project.js +1355 -827
  11. package/dist/bin/commands/db.js +26158 -18868
  12. package/dist/bin/commands/deploy.js +5983 -1971
  13. package/dist/bin/commands/dev.js +1223 -657
  14. package/dist/bin/commands/doctor.js +1100 -528
  15. package/dist/bin/commands/emu.js +1380 -757
  16. package/dist/bin/commands/format.js +494 -363
  17. package/dist/bin/commands/get-demo.js +1210 -715
  18. package/dist/bin/commands/make-admin.js +16073 -8700
  19. package/dist/bin/commands/preview.js +1227 -658
  20. package/dist/bin/commands/seed.js +26171 -18881
  21. package/dist/bin/commands/setup-cicd.js +1475 -880
  22. package/dist/bin/commands/setup.js +1574 -956
  23. package/dist/bin/commands/staging.js +5984 -1972
  24. package/dist/bin/commands/sync-secrets.js +1423 -676
  25. package/dist/bin/commands/type-check.js +976 -469
  26. package/dist/bin/commands/wai.js +499 -368
  27. package/dist/bin/dndev.js +43 -19
  28. package/dist/bin/donotdev.js +43 -19
  29. package/dist/index.js +6166 -2133
  30. package/guidelines/DEPENDENCIES.md +155 -0
  31. package/{templates/root-consumer/guides/dndev/advanced/VERSION_CONTROL.md.example → guidelines/VERSION_CONTROL.md} +7 -11
  32. package/package.json +2 -1
  33. package/templates/app-demo/.env.example +1 -1
  34. package/templates/app-demo/entities/Contact.ts.example +0 -0
  35. package/templates/app-demo/entities/ExampleEntity.ts.example +0 -0
  36. package/templates/app-demo/entities/demo.ts.example +0 -0
  37. package/templates/app-demo/index.html.example +0 -0
  38. package/templates/app-demo/public/apple-touch-icon.png.example +0 -0
  39. package/templates/app-demo/public/fonts/fonts.css.example +0 -0
  40. package/templates/app-demo/public/icon-192x192.png.example +0 -0
  41. package/templates/app-demo/public/icon-512x512.png.example +0 -0
  42. package/templates/app-demo/src/App.tsx.example +0 -0
  43. package/templates/app-demo/src/config/app.ts.example +0 -0
  44. package/templates/app-demo/src/entities/booking.ts.example +0 -0
  45. package/templates/app-demo/src/entities/onboarding.ts.example +0 -0
  46. package/templates/app-demo/src/entities/product.ts.example +0 -0
  47. package/templates/app-demo/src/entities/quote.ts.example +0 -0
  48. package/templates/app-demo/src/globals.css.example +0 -0
  49. package/templates/app-demo/src/main.tsx.example +0 -0
  50. package/templates/app-demo/src/pages/ChangelogPage.tsx.example +0 -0
  51. package/templates/app-demo/src/pages/ConditionalFormPage.tsx.example +0 -0
  52. package/templates/app-demo/src/pages/DashboardPage.tsx.example +0 -0
  53. package/templates/app-demo/src/pages/HomePage.tsx.example +0 -0
  54. package/templates/app-demo/src/pages/OnboardingPage.tsx.example +0 -0
  55. package/templates/app-demo/src/pages/PricingPage.tsx.example +0 -0
  56. package/templates/app-demo/src/pages/ProductsPage.tsx.example +0 -0
  57. package/templates/app-demo/src/pages/ProfilePage.tsx.example +0 -0
  58. package/templates/app-demo/src/pages/SettingsPage.tsx.example +0 -0
  59. package/templates/app-demo/src/pages/ShowcaseDetailPage.tsx.example +0 -0
  60. package/templates/app-demo/src/pages/ShowcasePage.tsx.example +0 -0
  61. package/templates/app-demo/src/pages/components/ComponentRenderer.tsx.example +0 -0
  62. package/templates/app-demo/src/pages/components/ComponentsData.tsx.example +0 -0
  63. package/templates/app-demo/src/pages/components/componentConfig.ts.example +0 -0
  64. package/templates/app-demo/src/pages/legal/LegalPage.tsx.example +0 -0
  65. package/templates/app-demo/src/pages/legal/PrivacyPage.tsx.example +0 -0
  66. package/templates/app-demo/src/pages/legal/TermsPage.tsx.example +0 -0
  67. package/templates/app-demo/src/themes.css.example +27 -0
  68. package/templates/app-demo/tsconfig.json.example +0 -0
  69. package/templates/app-demo/vite.config.ts.example +0 -0
  70. package/templates/app-dndev/index.html.example +0 -3
  71. package/templates/app-dndev/src/App.tsx.example +0 -0
  72. package/templates/app-dndev/src/components/CockpitLayout.css.example +0 -0
  73. package/templates/app-dndev/src/components/CockpitLayout.tsx.example +0 -0
  74. package/templates/app-dndev/src/components/Kanban.css.example +0 -0
  75. package/templates/app-dndev/src/components/ModeToggle.tsx.example +0 -0
  76. package/templates/app-dndev/src/components/OverlaySlot.tsx.example +0 -0
  77. package/templates/app-dndev/src/components/TerminalPanel.css.example +0 -0
  78. package/templates/app-dndev/src/components/TerminalPanel.tsx.example +0 -0
  79. package/templates/app-dndev/src/components/markdown-prose.css.example +0 -0
  80. package/templates/app-dndev/src/components/phases/CaptainLog.tsx.example +0 -0
  81. package/templates/app-dndev/src/components/phases/ContextTabs.tsx.example +0 -0
  82. package/templates/app-dndev/src/components/phases/PhaseCard.tsx.example +0 -0
  83. package/templates/app-dndev/src/components/phases/PhaseDetail.tsx.example +0 -0
  84. package/templates/app-dndev/src/components/phases/ReviewPanel.tsx.example +0 -0
  85. package/templates/app-dndev/src/components/phases/phaseData.ts.example +0 -0
  86. package/templates/app-dndev/src/config/app.ts.example +0 -0
  87. package/templates/app-dndev/src/config/commands.ts.example +0 -0
  88. package/templates/app-dndev/src/config/legal.ts.example +0 -0
  89. package/templates/app-dndev/src/config/providers.ts.example +1 -1
  90. package/templates/app-dndev/src/globals.css.example +0 -0
  91. package/templates/app-dndev/src/hooks/useDndevFile.ts.example +0 -0
  92. package/templates/app-dndev/src/main.tsx.example +0 -0
  93. package/templates/app-dndev/src/pages/BoardPage.tsx.example +0 -0
  94. package/templates/app-dndev/src/pages/GrillPage.tsx.example +0 -0
  95. package/templates/app-dndev/src/pages/HomePage.tsx.example +0 -0
  96. package/templates/app-dndev/src/pages/NotFoundPage.tsx.example +0 -0
  97. package/templates/app-dndev/src/pages/PhasesPage.tsx.example +0 -0
  98. package/templates/app-dndev/src/pages/SettingsPage.tsx.example +0 -0
  99. package/templates/app-dndev/src/pages/legal/LegalNoticePage.tsx.example +0 -0
  100. package/templates/app-dndev/src/pages/legal/PrivacyPage.tsx.example +0 -0
  101. package/templates/app-dndev/src/pages/legal/TermsPage.tsx.example +0 -0
  102. package/templates/app-dndev/src/stores/dndevStore.ts.example +0 -0
  103. package/templates/app-dndev/src/themes.css.example +26 -0
  104. package/templates/app-dndev/terminal-sidecar.cjs.example +0 -0
  105. package/templates/app-dndev/vite.config.ts.example +0 -0
  106. package/templates/app-expo/.env.example +0 -32
  107. package/templates/app-expo/.expo/README.md.example +0 -0
  108. package/templates/app-expo/.gitignore.example +0 -0
  109. package/templates/app-expo/README.md.example +1 -1
  110. package/templates/app-expo/app/.gitkeep +0 -0
  111. package/templates/app-expo/app/_layout.tsx.example +0 -0
  112. package/templates/app-expo/app/form.tsx.example +0 -0
  113. package/templates/app-expo/app/index.tsx.example +0 -0
  114. package/templates/app-expo/app/list.tsx.example +0 -0
  115. package/templates/app-expo/app/profile.tsx.example +0 -0
  116. package/templates/app-expo/app/signin.tsx.example +0 -0
  117. package/templates/app-expo/app.json.example +0 -0
  118. package/templates/app-expo/assets/adaptive-icon.png +0 -0
  119. package/templates/app-expo/assets/favicon.png +0 -0
  120. package/templates/app-expo/assets/icon.png +0 -0
  121. package/templates/app-expo/assets/splash.png +0 -0
  122. package/templates/app-expo/babel.config.js.example +0 -0
  123. package/templates/app-expo/eas.json.example +0 -0
  124. package/templates/app-expo/expo-env.d.ts.example +0 -0
  125. package/templates/app-expo/metro.config.js.example +0 -0
  126. package/templates/app-expo/service-account-key.json.example +1 -1
  127. package/templates/app-expo/src/config/app.ts.example +0 -0
  128. package/templates/app-expo/src/config/providers.ts.example +1 -1
  129. package/templates/app-expo/tsconfig.json.example +0 -0
  130. package/templates/app-next/.env.example +0 -33
  131. package/templates/app-next/next.config.ts.example +0 -2
  132. package/templates/app-next/postcss.config.js.example +0 -0
  133. package/templates/app-next/service-account-key.json.example +0 -0
  134. package/templates/app-next/src/app/ClientLayout.tsx.example +0 -0
  135. package/templates/app-next/src/app/layout.tsx.example +13 -4
  136. package/templates/app-next/src/app/not-found.tsx.example +0 -0
  137. package/templates/app-next/src/config/app.ts.example +0 -0
  138. package/templates/app-next/src/config/legal.ts.example +0 -0
  139. package/templates/app-next/src/config/providers.ts.example +1 -1
  140. package/templates/app-next/src/globals.css.example +0 -0
  141. package/templates/app-next/src/locales/dndev_en.json.example +0 -0
  142. package/templates/app-next/src/locales/home_en.json.example +6 -6
  143. package/templates/app-next/src/pages/HomePage.tsx.example +0 -0
  144. package/templates/app-next/src/pages/legal/LegalNoticePage.tsx.example +0 -0
  145. package/templates/app-next/src/pages/legal/PrivacyPage.tsx.example +0 -0
  146. package/templates/app-next/src/pages/legal/TermsPage.tsx.example +0 -0
  147. package/templates/app-next/src/pages/locales/example_en.json.example +0 -0
  148. package/templates/app-next/src/themes.css.example +28 -1
  149. package/templates/app-vite/.env.example +0 -33
  150. package/templates/app-vite/csp.example.json +44 -0
  151. package/templates/app-vite/index.html.example +0 -3
  152. package/templates/app-vite/service-account-key.json.example +0 -0
  153. package/templates/app-vite/src/App.tsx.example +0 -0
  154. package/templates/app-vite/src/config/app.ts.example +0 -0
  155. package/templates/app-vite/src/config/legal.ts.example +0 -0
  156. package/templates/app-vite/src/config/providers.ts.example +1 -1
  157. package/templates/app-vite/src/globals.css.example +0 -0
  158. package/templates/app-vite/src/locales/dndev_en.json.example +0 -0
  159. package/templates/app-vite/src/locales/home_en.json.example +6 -6
  160. package/templates/app-vite/src/main.tsx.example +0 -0
  161. package/templates/app-vite/src/pages/FormPageExample.tsx.example +0 -0
  162. package/templates/app-vite/src/pages/HomePage.tsx.example +1 -1
  163. package/templates/app-vite/src/pages/ListPageExample.tsx.example +0 -0
  164. package/templates/app-vite/src/pages/NotFoundPage.tsx.example +0 -0
  165. package/templates/app-vite/src/pages/legal/LegalNoticePage.tsx.example +0 -0
  166. package/templates/app-vite/src/pages/legal/PrivacyPage.tsx.example +0 -0
  167. package/templates/app-vite/src/pages/legal/TermsPage.tsx.example +0 -0
  168. package/templates/app-vite/src/pages/locales/example_en.json.example +0 -0
  169. package/templates/app-vite/src/themes.css.example +26 -0
  170. package/templates/deploy-config/.firebaserc.example +0 -0
  171. package/templates/deploy-config/firestore.indexes.json.example +0 -0
  172. package/templates/deploy-config/firestore.rules.example +0 -0
  173. package/templates/deploy-config/storage.rules.example +0 -0
  174. package/templates/deploy-config/tsconfig.functions.json.example +0 -0
  175. package/templates/deploy-config/vercel.json.example +2 -2
  176. package/templates/functions-firebase/.env.example +2 -2
  177. package/templates/functions-firebase/README.md.example +3 -3
  178. package/templates/functions-firebase/build.mjs.example +0 -0
  179. package/templates/functions-firebase/functions.config.js.example +0 -0
  180. package/templates/functions-firebase/functions.yaml.example +0 -0
  181. package/templates/functions-firebase/src/auth/getCustomClaims.ts.example +0 -0
  182. package/templates/functions-firebase/src/auth/getUserAuthStatus.ts.example +0 -0
  183. package/templates/functions-firebase/src/auth/index.ts.example +0 -0
  184. package/templates/functions-firebase/src/auth/removeCustomClaims.ts.example +0 -0
  185. package/templates/functions-firebase/src/auth/setCustomClaims.ts.example +0 -0
  186. package/templates/functions-firebase/src/billing/handleStripeWebhook.ts.example +0 -0
  187. package/templates/functions-firebase/src/billing/index.ts.example +0 -0
  188. package/templates/functions-firebase/src/billing/processPaymentSuccess.ts.example +0 -0
  189. package/templates/functions-firebase/src/billing/refreshSubscriptionStatus.ts.example +0 -0
  190. package/templates/functions-firebase/src/crud/createEntity.ts.example +0 -0
  191. package/templates/functions-firebase/src/crud/deleteEntity.ts.example +0 -0
  192. package/templates/functions-firebase/src/crud/getEntity.ts.example +0 -0
  193. package/templates/functions-firebase/src/crud/index.ts.example +0 -0
  194. package/templates/functions-firebase/src/crud/listEntities.ts.example +0 -0
  195. package/templates/functions-firebase/src/crud/updateEntity.ts.example +0 -0
  196. package/templates/functions-firebase/src/index.ts.example +0 -0
  197. package/templates/functions-firebase/src/oauth/checkGitHubAccess.ts.example +0 -0
  198. package/templates/functions-firebase/src/oauth/disconnect.ts.example +0 -0
  199. package/templates/functions-firebase/src/oauth/exchangeToken.ts.example +0 -0
  200. package/templates/functions-firebase/src/oauth/getConnections.ts.example +0 -0
  201. package/templates/functions-firebase/src/oauth/grantGitHubAccess.ts.example +0 -0
  202. package/templates/functions-firebase/src/oauth/index.ts.example +0 -0
  203. package/templates/functions-firebase/src/oauth/refreshToken.ts.example +0 -0
  204. package/templates/functions-firebase/src/oauth/revokeGitHubAccess.ts.example +0 -0
  205. package/templates/functions-firebase/tsconfig.json.example +0 -0
  206. package/templates/functions-supabase/supabase/config.toml.example +0 -0
  207. package/templates/functions-supabase/supabase/functions/.env.example +0 -0
  208. package/templates/functions-supabase/supabase/functions/cancel-subscription/index.ts.example +0 -0
  209. package/templates/functions-supabase/supabase/functions/change-plan/index.ts.example +0 -0
  210. package/templates/functions-supabase/supabase/functions/create-checkout-session/index.ts.example +0 -0
  211. package/templates/functions-supabase/supabase/functions/create-customer-portal/index.ts.example +0 -0
  212. package/templates/functions-supabase/supabase/functions/crud/index.ts.example +0 -0
  213. package/templates/functions-supabase/supabase/functions/delete-account/index.ts.example +0 -0
  214. package/templates/functions-supabase/supabase/functions/deno.json.example +0 -0
  215. package/templates/functions-supabase/supabase/functions/disconnect-oauth/index.ts.example +0 -0
  216. package/templates/functions-supabase/supabase/functions/exchange-token/index.ts.example +0 -0
  217. package/templates/functions-supabase/supabase/functions/get-connections/index.ts.example +0 -0
  218. package/templates/functions-supabase/supabase/functions/get-custom-claims/index.ts.example +0 -0
  219. package/templates/functions-supabase/supabase/functions/get-user-auth-status/index.ts.example +0 -0
  220. package/templates/functions-supabase/supabase/functions/refresh-subscription-status/index.ts.example +0 -0
  221. package/templates/functions-supabase/supabase/functions/refresh-token/index.ts.example +0 -0
  222. package/templates/functions-supabase/supabase/functions/remove-custom-claims/index.ts.example +0 -0
  223. package/templates/functions-supabase/supabase/functions/set-custom-claims/index.ts.example +0 -0
  224. package/templates/functions-supabase/supabase/migrations/20250101000000_idempotency.sql +3 -0
  225. package/templates/functions-supabase/supabase/migrations/20250101000001_rate_limits.sql +3 -0
  226. package/templates/functions-supabase/supabase/migrations/20250101000002_cleanup_jobs.sql +0 -0
  227. package/templates/functions-supabase/supabase/migrations/20250101000003_operation_metrics.sql +3 -0
  228. package/templates/functions-supabase/supabase/migrations/20250101000004_crud_bulk.sql +192 -0
  229. package/templates/functions-vercel/.env.example +3 -3
  230. package/templates/functions-vercel/README.md.example +2 -2
  231. package/templates/functions-vercel/build.mjs.example +0 -0
  232. package/templates/functions-vercel/src/api/auth/getCustomClaims.ts.example +0 -0
  233. package/templates/functions-vercel/src/api/auth/getUserAuthStatus.ts.example +0 -0
  234. package/templates/functions-vercel/src/api/auth/removeCustomClaims.ts.example +0 -0
  235. package/templates/functions-vercel/src/api/auth/setCustomClaims.ts.example +0 -0
  236. package/templates/functions-vercel/src/api/billing/handleStripeWebhook.ts.example +0 -0
  237. package/templates/functions-vercel/src/api/billing/processPaymentSuccess.ts.example +0 -0
  238. package/templates/functions-vercel/src/api/billing/refreshSubscriptionStatus.ts.example +0 -0
  239. package/templates/functions-vercel/src/api/crud/createEntity.ts.example +0 -0
  240. package/templates/functions-vercel/src/api/crud/deleteEntity.ts.example +0 -0
  241. package/templates/functions-vercel/src/api/crud/getEntity.ts.example +0 -0
  242. package/templates/functions-vercel/src/api/crud/listEntities.ts.example +0 -0
  243. package/templates/functions-vercel/src/api/crud/updateEntity.ts.example +0 -0
  244. package/templates/functions-vercel/src/api/oauth/checkGitHubAccess.ts.example +0 -0
  245. package/templates/functions-vercel/src/api/oauth/disconnect.ts.example +0 -0
  246. package/templates/functions-vercel/src/api/oauth/exchangeToken.ts.example +0 -0
  247. package/templates/functions-vercel/src/api/oauth/getConnections.ts.example +0 -0
  248. package/templates/functions-vercel/src/api/oauth/grantGitHubAccess.ts.example +0 -0
  249. package/templates/functions-vercel/src/api/oauth/refreshToken.ts.example +0 -0
  250. package/templates/functions-vercel/src/api/oauth/revokeGitHubAccess.ts.example +0 -0
  251. package/templates/functions-vercel/tsconfig.json.example +0 -0
  252. package/templates/functions-vercel/vercel.json.example +0 -0
  253. package/templates/github-consumer/.github/workflows/ci.yml.example +0 -0
  254. package/templates/overlay-firebase/env.fragment.example +0 -0
  255. package/templates/overlay-firebase/env.fragment.expo.example +0 -0
  256. package/templates/overlay-firebase/env.fragment.nextjs.example +0 -0
  257. package/templates/overlay-firebase/src/config/providers.expo.ts.example +0 -0
  258. package/templates/overlay-firebase/src/config/providers.ts.example +0 -0
  259. package/templates/overlay-supabase/env.fragment.example +0 -0
  260. package/templates/overlay-supabase/env.fragment.expo.example +0 -0
  261. package/templates/overlay-supabase/env.fragment.nextjs.example +0 -0
  262. package/templates/overlay-supabase/src/config/providers.expo.ts.example +1 -1
  263. package/templates/overlay-supabase/src/config/providers.ts.example +1 -1
  264. package/templates/overlay-vercel/env.fragment.example +0 -0
  265. package/templates/overlay-vercel/env.fragment.nextjs.example +0 -0
  266. package/templates/overlay-vercel/src/config/providers.ts.example +0 -0
  267. package/templates/preset-admin/src/pages/DashboardPage.tsx.example +0 -0
  268. package/templates/preset-admin/src/pages/EntityPage.tsx.example +0 -0
  269. package/templates/preset-admin/src/pages/ReportsPage.tsx.example +0 -0
  270. package/templates/preset-admin/src/pages/SettingsPage.tsx.example +0 -0
  271. package/templates/preset-admin/src/pages/UsersPage.tsx.example +0 -0
  272. package/templates/preset-ecommerce/src/pages/CartPage.tsx.example +0 -0
  273. package/templates/preset-ecommerce/src/pages/CatalogPage.tsx.example +0 -0
  274. package/templates/preset-ecommerce/src/pages/CheckoutPage.tsx.example +0 -0
  275. package/templates/preset-ecommerce/src/pages/HomePage.tsx.example +0 -0
  276. package/templates/preset-ecommerce/src/pages/ProductPage.tsx.example +0 -0
  277. package/templates/preset-landing/src/pages/AboutPage.tsx.example +0 -0
  278. package/templates/preset-landing/src/pages/ContactPage.tsx.example +0 -0
  279. package/templates/preset-landing/src/pages/HomePage.tsx.example +0 -0
  280. package/templates/preset-saas/src/pages/DashboardPage.tsx.example +0 -0
  281. package/templates/preset-saas/src/pages/HomePage.tsx.example +0 -0
  282. package/templates/preset-saas/src/pages/PricingPage.tsx.example +0 -0
  283. package/templates/preset-saas/src/pages/ProfilePage.tsx.example +0 -0
  284. package/templates/preset-saas/src/pages/SettingsPage.tsx.example +0 -0
  285. package/templates/root-consumer/.claude/agents/architect.md.example +0 -0
  286. package/templates/root-consumer/.claude/agents/builder.md.example +0 -0
  287. package/templates/root-consumer/.claude/agents/coder.md.example +0 -0
  288. package/templates/root-consumer/.claude/agents/extractor.md.example +0 -0
  289. package/templates/root-consumer/.claude/agents/polisher.md.example +0 -0
  290. package/templates/root-consumer/.claude/agents/prompt-engineer.md.example +0 -0
  291. package/templates/root-consumer/.claude/hooks/guard-bash.sh.example +61 -0
  292. package/templates/root-consumer/.claude/hooks/guard-write.sh.example +56 -0
  293. package/templates/root-consumer/.claude/hooks/session-start.sh.example +50 -0
  294. package/templates/root-consumer/.claude/hooks/typecheck-stop.sh.example +18 -0
  295. package/templates/root-consumer/.claude/rules/consumer-ux.md.example +32 -0
  296. package/templates/root-consumer/.claude/rules/definition-of-done.md.example +32 -0
  297. package/templates/root-consumer/.claude/rules/framework.md.example +39 -0
  298. package/templates/root-consumer/.claude/rules/git.md.example +14 -0
  299. package/templates/root-consumer/.claude/rules/security.md.example +13 -0
  300. package/templates/root-consumer/.claude/settings.json.example +100 -4
  301. package/templates/root-consumer/.claude/skills/brainstorm/SKILL.md.example +0 -0
  302. package/templates/root-consumer/.claude/skills/build/SKILL.md.example +22 -27
  303. package/templates/root-consumer/.claude/skills/design/SKILL.md.example +0 -0
  304. package/templates/root-consumer/.claude/skills/design/output-template.md +0 -0
  305. package/templates/root-consumer/.claude/skills/grill/SKILL.md.example +26 -15
  306. package/templates/root-consumer/.claude/skills/polish/SKILL.md.example +50 -37
  307. package/templates/root-consumer/.claude/skills/techdebt/SKILL.md.example +0 -0
  308. package/templates/root-consumer/.cursor/mcp.json.example +0 -0
  309. package/templates/root-consumer/.cursor/rules/no-docs.mdc.example +5 -1
  310. package/templates/root-consumer/.dndev/args.json.example +0 -0
  311. package/templates/root-consumer/.dndev.secrets.example +0 -0
  312. package/templates/root-consumer/.env.example +0 -1
  313. package/templates/root-consumer/.gemini/settings.json.example +0 -0
  314. package/templates/root-consumer/.gitignore.example +1 -0
  315. package/templates/root-consumer/.mcp.json.example +0 -0
  316. package/templates/root-consumer/.prettierrc.cjs.example +0 -0
  317. package/templates/root-consumer/AGENTS.md.example +63 -0
  318. package/templates/root-consumer/CLAUDE.md.example +1 -1
  319. package/templates/root-consumer/README.md.example +11 -33
  320. package/templates/root-consumer/entities/index.ts.example +0 -0
  321. package/templates/root-consumer/eslint.config.js.example +0 -0
  322. package/templates/root-consumer/tsconfig.json.example +0 -0
  323. package/templates/app-demo/public/manifest.json.example +0 -10
  324. package/templates/app-dndev/public/manifest.json.example +0 -10
  325. package/templates/root-consumer/.claude/commands/brainstorm.md.example +0 -175
  326. package/templates/root-consumer/.claude/commands/build.md.example +0 -131
  327. package/templates/root-consumer/.claude/commands/design.md.example +0 -184
  328. package/templates/root-consumer/.claude/commands/grill.md.example +0 -135
  329. package/templates/root-consumer/.claude/commands/polish.md.example +0 -146
  330. package/templates/root-consumer/.claude/commands/techdebt.md.example +0 -28
  331. package/templates/root-consumer/.claude/statusline.py.example +0 -79
  332. package/templates/root-consumer/.clinerules.example +0 -1
  333. package/templates/root-consumer/.cursorrules.example +0 -1
  334. package/templates/root-consumer/.github/copilot-instructions.md.example +0 -1
  335. package/templates/root-consumer/.windsurfrules.example +0 -1
  336. package/templates/root-consumer/AI.md.example +0 -108
  337. package/templates/root-consumer/CONVENTIONS.md.example +0 -1
  338. package/templates/root-consumer/GEMINI.md.example +0 -1
  339. package/templates/root-consumer/guides/dndev/AGENT_START_HERE.md.example +0 -135
  340. package/templates/root-consumer/guides/dndev/COMPONENTS_ADV.md.example +0 -276
  341. package/templates/root-consumer/guides/dndev/COMPONENTS_ATOMIC.md.example +0 -180
  342. package/templates/root-consumer/guides/dndev/COMPONENTS_CRUD.md.example +0 -234
  343. package/templates/root-consumer/guides/dndev/COMPONENTS_UI.md.example +0 -136
  344. package/templates/root-consumer/guides/dndev/COMPONENT_API.md.example +0 -195
  345. package/templates/root-consumer/guides/dndev/ENV_SETUP.md.example +0 -219
  346. package/templates/root-consumer/guides/dndev/GOTCHAS.md.example +0 -197
  347. package/templates/root-consumer/guides/dndev/INDEX.md.example +0 -60
  348. package/templates/root-consumer/guides/dndev/SETUP_APP_CONFIG.md.example +0 -132
  349. package/templates/root-consumer/guides/dndev/SETUP_AUTH.md.example +0 -133
  350. package/templates/root-consumer/guides/dndev/SETUP_BILLING.md.example +0 -114
  351. package/templates/root-consumer/guides/dndev/SETUP_BLOG.md.example +0 -280
  352. package/templates/root-consumer/guides/dndev/SETUP_CICD.md.example +0 -115
  353. package/templates/root-consumer/guides/dndev/SETUP_CRUD.md.example +0 -334
  354. package/templates/root-consumer/guides/dndev/SETUP_FIREBASE.md.example +0 -231
  355. package/templates/root-consumer/guides/dndev/SETUP_FUNCTIONS.md.example +0 -9
  356. package/templates/root-consumer/guides/dndev/SETUP_I18N.md.example +0 -233
  357. package/templates/root-consumer/guides/dndev/SETUP_LAYOUTS.md.example +0 -158
  358. package/templates/root-consumer/guides/dndev/SETUP_OAUTH.md.example +0 -54
  359. package/templates/root-consumer/guides/dndev/SETUP_OAUTH_PROVIDERS.md.example +0 -60
  360. package/templates/root-consumer/guides/dndev/SETUP_PAGES.md.example +0 -205
  361. package/templates/root-consumer/guides/dndev/SETUP_PWA.md.example +0 -213
  362. package/templates/root-consumer/guides/dndev/SETUP_SOC2.md.example +0 -234
  363. package/templates/root-consumer/guides/dndev/SETUP_STRIPE.md.example +0 -62
  364. package/templates/root-consumer/guides/dndev/SETUP_SUPABASE.md.example +0 -215
  365. package/templates/root-consumer/guides/dndev/SETUP_TESTING.md.example +0 -184
  366. package/templates/root-consumer/guides/dndev/SETUP_THEMES.md.example +0 -111
  367. package/templates/root-consumer/guides/dndev/SETUP_VERCEL.md.example +0 -260
  368. package/templates/root-consumer/guides/dndev/USE_ROUTING.md.example +0 -499
  369. package/templates/root-consumer/guides/dndev/advanced/APP_CHECK.md.example +0 -111
  370. package/templates/root-consumer/guides/dndev/advanced/COOKIE_REFERENCE.md.example +0 -252
  371. package/templates/root-consumer/guides/dndev/advanced/EMULATORS.md.example +0 -48
  372. package/templates/root-consumer/guides/dndev/essences_reference.css.example +0 -288
  373. package/templates/root-consumer/guides/wai-way/WAI_WAY_CLI.md.example +0 -402
  374. package/templates/root-consumer/guides/wai-way/agents/architect.md.example +0 -78
  375. package/templates/root-consumer/guides/wai-way/agents/builder.md.example +0 -97
  376. package/templates/root-consumer/guides/wai-way/agents/extractor.md.example +0 -363
  377. package/templates/root-consumer/guides/wai-way/agents/polisher.md.example +0 -133
  378. package/templates/root-consumer/guides/wai-way/blueprints/0_brainstorm.md.example +0 -315
  379. package/templates/root-consumer/guides/wai-way/blueprints/1_scaffold.md.example +0 -133
  380. package/templates/root-consumer/guides/wai-way/blueprints/2_entities.md.example +0 -111
  381. package/templates/root-consumer/guides/wai-way/blueprints/3_compose.md.example +0 -150
  382. package/templates/root-consumer/guides/wai-way/blueprints/4_configure.md.example +0 -238
  383. package/templates/root-consumer/guides/wai-way/context_map.json.example +0 -127
  384. package/templates/root-consumer/guides/wai-way/entity_patterns.md.example +0 -839
  385. package/templates/root-consumer/guides/wai-way/hld_template.md.example +0 -138
  386. package/templates/root-consumer/guides/wai-way/lld_template.md.example +0 -103
  387. package/templates/root-consumer/guides/wai-way/page_patterns.md.example +0 -722
  388. package/templates/root-consumer/guides/wai-way/prd_template.md.example +0 -140
  389. package/templates/root-consumer/guides/wai-way/presets_guide.md.example +0 -217
  390. package/templates/root-consumer/guides/wai-way/spec_template.md.example +0 -313
@@ -5,7 +5,7 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
5
5
  var __getProtoOf = Object.getPrototypeOf;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
7
  var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
8
- get: (a, b2) => (typeof require !== "undefined" ? require : a)[b2]
8
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
9
9
  }) : x)(function(x) {
10
10
  if (typeof require !== "undefined") return require.apply(this, arguments);
11
11
  throw Error('Dynamic require of "' + x + '" is not supported');
@@ -37,50 +37,456 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
37
37
  mod
38
38
  ));
39
39
 
40
+ // node_modules/.bun/fast-string-truncated-width@1.2.1/node_modules/fast-string-truncated-width/dist/utils.js
41
+ var isAmbiguous, isFullWidth, isWide;
42
+ var init_utils = __esm({
43
+ "node_modules/.bun/fast-string-truncated-width@1.2.1/node_modules/fast-string-truncated-width/dist/utils.js"() {
44
+ init_utils2();
45
+ isAmbiguous = (x) => {
46
+ return x === 161 || x === 164 || x === 167 || x === 168 || x === 170 || x === 173 || x === 174 || x >= 176 && x <= 180 || x >= 182 && x <= 186 || x >= 188 && x <= 191 || x === 198 || x === 208 || x === 215 || x === 216 || x >= 222 && x <= 225 || x === 230 || x >= 232 && x <= 234 || x === 236 || x === 237 || x === 240 || x === 242 || x === 243 || x >= 247 && x <= 250 || x === 252 || x === 254 || x === 257 || x === 273 || x === 275 || x === 283 || x === 294 || x === 295 || x === 299 || x >= 305 && x <= 307 || x === 312 || x >= 319 && x <= 322 || x === 324 || x >= 328 && x <= 331 || x === 333 || x === 338 || x === 339 || x === 358 || x === 359 || x === 363 || x === 462 || x === 464 || x === 466 || x === 468 || x === 470 || x === 472 || x === 474 || x === 476 || x === 593 || x === 609 || x === 708 || x === 711 || x >= 713 && x <= 715 || x === 717 || x === 720 || x >= 728 && x <= 731 || x === 733 || x === 735 || x >= 768 && x <= 879 || x >= 913 && x <= 929 || x >= 931 && x <= 937 || x >= 945 && x <= 961 || x >= 963 && x <= 969 || x === 1025 || x >= 1040 && x <= 1103 || x === 1105 || x === 8208 || x >= 8211 && x <= 8214 || x === 8216 || x === 8217 || x === 8220 || x === 8221 || x >= 8224 && x <= 8226 || x >= 8228 && x <= 8231 || x === 8240 || x === 8242 || x === 8243 || x === 8245 || x === 8251 || x === 8254 || x === 8308 || x === 8319 || x >= 8321 && x <= 8324 || x === 8364 || x === 8451 || x === 8453 || x === 8457 || x === 8467 || x === 8470 || x === 8481 || x === 8482 || x === 8486 || x === 8491 || x === 8531 || x === 8532 || x >= 8539 && x <= 8542 || x >= 8544 && x <= 8555 || x >= 8560 && x <= 8569 || x === 8585 || x >= 8592 && x <= 8601 || x === 8632 || x === 8633 || x === 8658 || x === 8660 || x === 8679 || x === 8704 || x === 8706 || x === 8707 || x === 8711 || x === 8712 || x === 8715 || x === 8719 || x === 8721 || x === 8725 || x === 8730 || x >= 8733 && x <= 8736 || x === 8739 || x === 8741 || x >= 8743 && x <= 8748 || x === 8750 || x >= 8756 && x <= 8759 || x === 8764 || x === 8765 || x === 8776 || x === 8780 || x === 8786 || x === 8800 || x === 8801 || x >= 8804 && x <= 8807 || x === 8810 || x === 8811 || x === 8814 || x === 8815 || x === 8834 || x === 8835 || x === 8838 || x === 8839 || x === 8853 || x === 8857 || x === 8869 || x === 8895 || x === 8978 || x >= 9312 && x <= 9449 || x >= 9451 && x <= 9547 || x >= 9552 && x <= 9587 || x >= 9600 && x <= 9615 || x >= 9618 && x <= 9621 || x === 9632 || x === 9633 || x >= 9635 && x <= 9641 || x === 9650 || x === 9651 || x === 9654 || x === 9655 || x === 9660 || x === 9661 || x === 9664 || x === 9665 || x >= 9670 && x <= 9672 || x === 9675 || x >= 9678 && x <= 9681 || x >= 9698 && x <= 9701 || x === 9711 || x === 9733 || x === 9734 || x === 9737 || x === 9742 || x === 9743 || x === 9756 || x === 9758 || x === 9792 || x === 9794 || x === 9824 || x === 9825 || x >= 9827 && x <= 9829 || x >= 9831 && x <= 9834 || x === 9836 || x === 9837 || x === 9839 || x === 9886 || x === 9887 || x === 9919 || x >= 9926 && x <= 9933 || x >= 9935 && x <= 9939 || x >= 9941 && x <= 9953 || x === 9955 || x === 9960 || x === 9961 || x >= 9963 && x <= 9969 || x === 9972 || x >= 9974 && x <= 9977 || x === 9979 || x === 9980 || x === 9982 || x === 9983 || x === 10045 || x >= 10102 && x <= 10111 || x >= 11094 && x <= 11097 || x >= 12872 && x <= 12879 || x >= 57344 && x <= 63743 || x >= 65024 && x <= 65039 || x === 65533 || x >= 127232 && x <= 127242 || x >= 127248 && x <= 127277 || x >= 127280 && x <= 127337 || x >= 127344 && x <= 127373 || x === 127375 || x === 127376 || x >= 127387 && x <= 127404 || x >= 917760 && x <= 917999 || x >= 983040 && x <= 1048573 || x >= 1048576 && x <= 1114109;
47
+ };
48
+ isFullWidth = (x) => {
49
+ return x === 12288 || x >= 65281 && x <= 65376 || x >= 65504 && x <= 65510;
50
+ };
51
+ isWide = (x) => {
52
+ return x >= 4352 && x <= 4447 || x === 8986 || x === 8987 || x === 9001 || x === 9002 || x >= 9193 && x <= 9196 || x === 9200 || x === 9203 || x === 9725 || x === 9726 || x === 9748 || x === 9749 || x >= 9800 && x <= 9811 || x === 9855 || x === 9875 || x === 9889 || x === 9898 || x === 9899 || x === 9917 || x === 9918 || x === 9924 || x === 9925 || x === 9934 || x === 9940 || x === 9962 || x === 9970 || x === 9971 || x === 9973 || x === 9978 || x === 9981 || x === 9989 || x === 9994 || x === 9995 || x === 10024 || x === 10060 || x === 10062 || x >= 10067 && x <= 10069 || x === 10071 || x >= 10133 && x <= 10135 || x === 10160 || x === 10175 || x === 11035 || x === 11036 || x === 11088 || x === 11093 || x >= 11904 && x <= 11929 || x >= 11931 && x <= 12019 || x >= 12032 && x <= 12245 || x >= 12272 && x <= 12287 || x >= 12289 && x <= 12350 || x >= 12353 && x <= 12438 || x >= 12441 && x <= 12543 || x >= 12549 && x <= 12591 || x >= 12593 && x <= 12686 || x >= 12688 && x <= 12771 || x >= 12783 && x <= 12830 || x >= 12832 && x <= 12871 || x >= 12880 && x <= 19903 || x >= 19968 && x <= 42124 || x >= 42128 && x <= 42182 || x >= 43360 && x <= 43388 || x >= 44032 && x <= 55203 || x >= 63744 && x <= 64255 || x >= 65040 && x <= 65049 || x >= 65072 && x <= 65106 || x >= 65108 && x <= 65126 || x >= 65128 && x <= 65131 || x >= 94176 && x <= 94180 || x === 94192 || x === 94193 || x >= 94208 && x <= 100343 || x >= 100352 && x <= 101589 || x >= 101632 && x <= 101640 || x >= 110576 && x <= 110579 || x >= 110581 && x <= 110587 || x === 110589 || x === 110590 || x >= 110592 && x <= 110882 || x === 110898 || x >= 110928 && x <= 110930 || x === 110933 || x >= 110948 && x <= 110951 || x >= 110960 && x <= 111355 || x === 126980 || x === 127183 || x === 127374 || x >= 127377 && x <= 127386 || x >= 127488 && x <= 127490 || x >= 127504 && x <= 127547 || x >= 127552 && x <= 127560 || x === 127568 || x === 127569 || x >= 127584 && x <= 127589 || x >= 127744 && x <= 127776 || x >= 127789 && x <= 127797 || x >= 127799 && x <= 127868 || x >= 127870 && x <= 127891 || x >= 127904 && x <= 127946 || x >= 127951 && x <= 127955 || x >= 127968 && x <= 127984 || x === 127988 || x >= 127992 && x <= 128062 || x === 128064 || x >= 128066 && x <= 128252 || x >= 128255 && x <= 128317 || x >= 128331 && x <= 128334 || x >= 128336 && x <= 128359 || x === 128378 || x === 128405 || x === 128406 || x === 128420 || x >= 128507 && x <= 128591 || x >= 128640 && x <= 128709 || x === 128716 || x >= 128720 && x <= 128722 || x >= 128725 && x <= 128727 || x >= 128732 && x <= 128735 || x === 128747 || x === 128748 || x >= 128756 && x <= 128764 || x >= 128992 && x <= 129003 || x === 129008 || x >= 129292 && x <= 129338 || x >= 129340 && x <= 129349 || x >= 129351 && x <= 129535 || x >= 129648 && x <= 129660 || x >= 129664 && x <= 129672 || x >= 129680 && x <= 129725 || x >= 129727 && x <= 129733 || x >= 129742 && x <= 129755 || x >= 129760 && x <= 129768 || x >= 129776 && x <= 129784 || x >= 131072 && x <= 196605 || x >= 196608 && x <= 262141;
53
+ };
54
+ }
55
+ });
56
+
57
+ // node_modules/.bun/fast-string-truncated-width@1.2.1/node_modules/fast-string-truncated-width/dist/index.js
58
+ var ANSI_RE, CONTROL_RE, TAB_RE, EMOJI_RE, LATIN_RE, MODIFIER_RE, NO_TRUNCATION, getStringTruncatedWidth, dist_default;
59
+ var init_dist = __esm({
60
+ "node_modules/.bun/fast-string-truncated-width@1.2.1/node_modules/fast-string-truncated-width/dist/index.js"() {
61
+ init_utils2();
62
+ init_utils();
63
+ ANSI_RE = /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/y;
64
+ CONTROL_RE = /[\x00-\x08\x0A-\x1F\x7F-\x9F]{1,1000}/y;
65
+ TAB_RE = /\t{1,1000}/y;
66
+ EMOJI_RE = new RegExp("[\\u{1F1E6}-\\u{1F1FF}]{2}|\\u{1F3F4}[\\u{E0061}-\\u{E007A}]{2}[\\u{E0030}-\\u{E0039}\\u{E0061}-\\u{E007A}]{1,3}\\u{E007F}|(?:\\p{Emoji}\\uFE0F\\u20E3?|\\p{Emoji_Modifier_Base}\\p{Emoji_Modifier}?|\\p{Emoji_Presentation})(?:\\u200D(?:\\p{Emoji_Modifier_Base}\\p{Emoji_Modifier}?|\\p{Emoji_Presentation}|\\p{Emoji}\\uFE0F\\u20E3?))*", "yu");
67
+ LATIN_RE = /(?:[\x20-\x7E\xA0-\xFF](?!\uFE0F)){1,1000}/y;
68
+ MODIFIER_RE = new RegExp("\\p{M}+", "gu");
69
+ NO_TRUNCATION = { limit: Infinity, ellipsis: "" };
70
+ getStringTruncatedWidth = (input, truncationOptions = {}, widthOptions = {}) => {
71
+ const LIMIT = truncationOptions.limit ?? Infinity;
72
+ const ELLIPSIS = truncationOptions.ellipsis ?? "";
73
+ const ELLIPSIS_WIDTH = truncationOptions?.ellipsisWidth ?? (ELLIPSIS ? getStringTruncatedWidth(ELLIPSIS, NO_TRUNCATION, widthOptions).width : 0);
74
+ const ANSI_WIDTH = widthOptions.ansiWidth ?? 0;
75
+ const CONTROL_WIDTH = widthOptions.controlWidth ?? 0;
76
+ const TAB_WIDTH = widthOptions.tabWidth ?? 8;
77
+ const AMBIGUOUS_WIDTH = widthOptions.ambiguousWidth ?? 1;
78
+ const EMOJI_WIDTH = widthOptions.emojiWidth ?? 2;
79
+ const FULL_WIDTH_WIDTH = widthOptions.fullWidthWidth ?? 2;
80
+ const REGULAR_WIDTH = widthOptions.regularWidth ?? 1;
81
+ const WIDE_WIDTH = widthOptions.wideWidth ?? 2;
82
+ let indexPrev = 0;
83
+ let index = 0;
84
+ let length = input.length;
85
+ let lengthExtra = 0;
86
+ let truncationEnabled = false;
87
+ let truncationIndex = length;
88
+ let truncationLimit = Math.max(0, LIMIT - ELLIPSIS_WIDTH);
89
+ let unmatchedStart = 0;
90
+ let unmatchedEnd = 0;
91
+ let width = 0;
92
+ let widthExtra = 0;
93
+ outer: while (true) {
94
+ if (unmatchedEnd > unmatchedStart || index >= length && index > indexPrev) {
95
+ const unmatched = input.slice(unmatchedStart, unmatchedEnd) || input.slice(indexPrev, index);
96
+ lengthExtra = 0;
97
+ for (const char of unmatched.replaceAll(MODIFIER_RE, "")) {
98
+ const codePoint = char.codePointAt(0) || 0;
99
+ if (isFullWidth(codePoint)) {
100
+ widthExtra = FULL_WIDTH_WIDTH;
101
+ } else if (isWide(codePoint)) {
102
+ widthExtra = WIDE_WIDTH;
103
+ } else if (AMBIGUOUS_WIDTH !== REGULAR_WIDTH && isAmbiguous(codePoint)) {
104
+ widthExtra = AMBIGUOUS_WIDTH;
105
+ } else {
106
+ widthExtra = REGULAR_WIDTH;
107
+ }
108
+ if (width + widthExtra > truncationLimit) {
109
+ truncationIndex = Math.min(truncationIndex, Math.max(unmatchedStart, indexPrev) + lengthExtra);
110
+ }
111
+ if (width + widthExtra > LIMIT) {
112
+ truncationEnabled = true;
113
+ break outer;
114
+ }
115
+ lengthExtra += char.length;
116
+ width += widthExtra;
117
+ }
118
+ unmatchedStart = unmatchedEnd = 0;
119
+ }
120
+ if (index >= length)
121
+ break;
122
+ LATIN_RE.lastIndex = index;
123
+ if (LATIN_RE.test(input)) {
124
+ lengthExtra = LATIN_RE.lastIndex - index;
125
+ widthExtra = lengthExtra * REGULAR_WIDTH;
126
+ if (width + widthExtra > truncationLimit) {
127
+ truncationIndex = Math.min(truncationIndex, index + Math.floor((truncationLimit - width) / REGULAR_WIDTH));
128
+ }
129
+ if (width + widthExtra > LIMIT) {
130
+ truncationEnabled = true;
131
+ break;
132
+ }
133
+ width += widthExtra;
134
+ unmatchedStart = indexPrev;
135
+ unmatchedEnd = index;
136
+ index = indexPrev = LATIN_RE.lastIndex;
137
+ continue;
138
+ }
139
+ ANSI_RE.lastIndex = index;
140
+ if (ANSI_RE.test(input)) {
141
+ if (width + ANSI_WIDTH > truncationLimit) {
142
+ truncationIndex = Math.min(truncationIndex, index);
143
+ }
144
+ if (width + ANSI_WIDTH > LIMIT) {
145
+ truncationEnabled = true;
146
+ break;
147
+ }
148
+ width += ANSI_WIDTH;
149
+ unmatchedStart = indexPrev;
150
+ unmatchedEnd = index;
151
+ index = indexPrev = ANSI_RE.lastIndex;
152
+ continue;
153
+ }
154
+ CONTROL_RE.lastIndex = index;
155
+ if (CONTROL_RE.test(input)) {
156
+ lengthExtra = CONTROL_RE.lastIndex - index;
157
+ widthExtra = lengthExtra * CONTROL_WIDTH;
158
+ if (width + widthExtra > truncationLimit) {
159
+ truncationIndex = Math.min(truncationIndex, index + Math.floor((truncationLimit - width) / CONTROL_WIDTH));
160
+ }
161
+ if (width + widthExtra > LIMIT) {
162
+ truncationEnabled = true;
163
+ break;
164
+ }
165
+ width += widthExtra;
166
+ unmatchedStart = indexPrev;
167
+ unmatchedEnd = index;
168
+ index = indexPrev = CONTROL_RE.lastIndex;
169
+ continue;
170
+ }
171
+ TAB_RE.lastIndex = index;
172
+ if (TAB_RE.test(input)) {
173
+ lengthExtra = TAB_RE.lastIndex - index;
174
+ widthExtra = lengthExtra * TAB_WIDTH;
175
+ if (width + widthExtra > truncationLimit) {
176
+ truncationIndex = Math.min(truncationIndex, index + Math.floor((truncationLimit - width) / TAB_WIDTH));
177
+ }
178
+ if (width + widthExtra > LIMIT) {
179
+ truncationEnabled = true;
180
+ break;
181
+ }
182
+ width += widthExtra;
183
+ unmatchedStart = indexPrev;
184
+ unmatchedEnd = index;
185
+ index = indexPrev = TAB_RE.lastIndex;
186
+ continue;
187
+ }
188
+ EMOJI_RE.lastIndex = index;
189
+ if (EMOJI_RE.test(input)) {
190
+ if (width + EMOJI_WIDTH > truncationLimit) {
191
+ truncationIndex = Math.min(truncationIndex, index);
192
+ }
193
+ if (width + EMOJI_WIDTH > LIMIT) {
194
+ truncationEnabled = true;
195
+ break;
196
+ }
197
+ width += EMOJI_WIDTH;
198
+ unmatchedStart = indexPrev;
199
+ unmatchedEnd = index;
200
+ index = indexPrev = EMOJI_RE.lastIndex;
201
+ continue;
202
+ }
203
+ index += 1;
204
+ }
205
+ return {
206
+ width: truncationEnabled ? truncationLimit : width,
207
+ index: truncationEnabled ? truncationIndex : length,
208
+ truncated: truncationEnabled,
209
+ ellipsed: truncationEnabled && LIMIT >= ELLIPSIS_WIDTH
210
+ };
211
+ };
212
+ dist_default = getStringTruncatedWidth;
213
+ }
214
+ });
215
+
216
+ // node_modules/.bun/fast-string-width@1.1.0/node_modules/fast-string-width/dist/index.js
217
+ var NO_TRUNCATION2, fastStringWidth, dist_default2;
218
+ var init_dist2 = __esm({
219
+ "node_modules/.bun/fast-string-width@1.1.0/node_modules/fast-string-width/dist/index.js"() {
220
+ init_utils2();
221
+ init_dist();
222
+ NO_TRUNCATION2 = {
223
+ limit: Infinity,
224
+ ellipsis: "",
225
+ ellipsisWidth: 0
226
+ };
227
+ fastStringWidth = (input, options = {}) => {
228
+ return dist_default(input, NO_TRUNCATION2, options).width;
229
+ };
230
+ dist_default2 = fastStringWidth;
231
+ }
232
+ });
233
+
234
+ // node_modules/.bun/fast-wrap-ansi@0.1.6/node_modules/fast-wrap-ansi/lib/main.js
235
+ function wrapAnsi(string, columns, options) {
236
+ return String(string).normalize().split(CRLF_OR_LF).map((line) => exec(line, columns, options)).join("\n");
237
+ }
238
+ var ESC, CSI, END_CODE, ANSI_ESCAPE_BELL, ANSI_CSI, ANSI_OSC, ANSI_SGR_TERMINATOR, ANSI_ESCAPE_LINK, GROUP_REGEX, getClosingCode, wrapAnsiCode, wrapAnsiHyperlink, wrapWord, stringVisibleTrimSpacesRight, exec, CRLF_OR_LF;
239
+ var init_main = __esm({
240
+ "node_modules/.bun/fast-wrap-ansi@0.1.6/node_modules/fast-wrap-ansi/lib/main.js"() {
241
+ init_utils2();
242
+ init_dist2();
243
+ ESC = "\x1B";
244
+ CSI = "\x9B";
245
+ END_CODE = 39;
246
+ ANSI_ESCAPE_BELL = "\x07";
247
+ ANSI_CSI = "[";
248
+ ANSI_OSC = "]";
249
+ ANSI_SGR_TERMINATOR = "m";
250
+ ANSI_ESCAPE_LINK = `${ANSI_OSC}8;;`;
251
+ GROUP_REGEX = new RegExp(`(?:\\${ANSI_CSI}(?<code>\\d+)m|\\${ANSI_ESCAPE_LINK}(?<uri>.*)${ANSI_ESCAPE_BELL})`, "y");
252
+ getClosingCode = (openingCode) => {
253
+ if (openingCode >= 30 && openingCode <= 37)
254
+ return 39;
255
+ if (openingCode >= 90 && openingCode <= 97)
256
+ return 39;
257
+ if (openingCode >= 40 && openingCode <= 47)
258
+ return 49;
259
+ if (openingCode >= 100 && openingCode <= 107)
260
+ return 49;
261
+ if (openingCode === 1 || openingCode === 2)
262
+ return 22;
263
+ if (openingCode === 3)
264
+ return 23;
265
+ if (openingCode === 4)
266
+ return 24;
267
+ if (openingCode === 7)
268
+ return 27;
269
+ if (openingCode === 8)
270
+ return 28;
271
+ if (openingCode === 9)
272
+ return 29;
273
+ if (openingCode === 0)
274
+ return 0;
275
+ return void 0;
276
+ };
277
+ wrapAnsiCode = (code) => `${ESC}${ANSI_CSI}${code}${ANSI_SGR_TERMINATOR}`;
278
+ wrapAnsiHyperlink = (url) => `${ESC}${ANSI_ESCAPE_LINK}${url}${ANSI_ESCAPE_BELL}`;
279
+ wrapWord = (rows, word, columns) => {
280
+ const characters = word[Symbol.iterator]();
281
+ let isInsideEscape = false;
282
+ let isInsideLinkEscape = false;
283
+ let lastRow = rows.at(-1);
284
+ let visible = lastRow === void 0 ? 0 : dist_default2(lastRow);
285
+ let currentCharacter = characters.next();
286
+ let nextCharacter = characters.next();
287
+ let rawCharacterIndex = 0;
288
+ while (!currentCharacter.done) {
289
+ const character = currentCharacter.value;
290
+ const characterLength = dist_default2(character);
291
+ if (visible + characterLength <= columns) {
292
+ rows[rows.length - 1] += character;
293
+ } else {
294
+ rows.push(character);
295
+ visible = 0;
296
+ }
297
+ if (character === ESC || character === CSI) {
298
+ isInsideEscape = true;
299
+ isInsideLinkEscape = word.startsWith(ANSI_ESCAPE_LINK, rawCharacterIndex + 1);
300
+ }
301
+ if (isInsideEscape) {
302
+ if (isInsideLinkEscape) {
303
+ if (character === ANSI_ESCAPE_BELL) {
304
+ isInsideEscape = false;
305
+ isInsideLinkEscape = false;
306
+ }
307
+ } else if (character === ANSI_SGR_TERMINATOR) {
308
+ isInsideEscape = false;
309
+ }
310
+ } else {
311
+ visible += characterLength;
312
+ if (visible === columns && !nextCharacter.done) {
313
+ rows.push("");
314
+ visible = 0;
315
+ }
316
+ }
317
+ currentCharacter = nextCharacter;
318
+ nextCharacter = characters.next();
319
+ rawCharacterIndex += character.length;
320
+ }
321
+ lastRow = rows.at(-1);
322
+ if (!visible && lastRow !== void 0 && lastRow.length && rows.length > 1) {
323
+ rows[rows.length - 2] += rows.pop();
324
+ }
325
+ };
326
+ stringVisibleTrimSpacesRight = (string) => {
327
+ const words = string.split(" ");
328
+ let last = words.length;
329
+ while (last) {
330
+ if (dist_default2(words[last - 1])) {
331
+ break;
332
+ }
333
+ last--;
334
+ }
335
+ if (last === words.length) {
336
+ return string;
337
+ }
338
+ return words.slice(0, last).join(" ") + words.slice(last).join("");
339
+ };
340
+ exec = (string, columns, options = {}) => {
341
+ if (options.trim !== false && string.trim() === "") {
342
+ return "";
343
+ }
344
+ let returnValue = "";
345
+ let escapeCode;
346
+ let escapeUrl;
347
+ const words = string.split(" ");
348
+ let rows = [""];
349
+ let rowLength = 0;
350
+ for (let index = 0; index < words.length; index++) {
351
+ const word = words[index];
352
+ if (options.trim !== false) {
353
+ const row = rows.at(-1) ?? "";
354
+ const trimmed = row.trimStart();
355
+ if (row.length !== trimmed.length) {
356
+ rows[rows.length - 1] = trimmed;
357
+ rowLength = dist_default2(trimmed);
358
+ }
359
+ }
360
+ if (index !== 0) {
361
+ if (rowLength >= columns && (options.wordWrap === false || options.trim === false)) {
362
+ rows.push("");
363
+ rowLength = 0;
364
+ }
365
+ if (rowLength || options.trim === false) {
366
+ rows[rows.length - 1] += " ";
367
+ rowLength++;
368
+ }
369
+ }
370
+ const wordLength = dist_default2(word);
371
+ if (options.hard && wordLength > columns) {
372
+ const remainingColumns = columns - rowLength;
373
+ const breaksStartingThisLine = 1 + Math.floor((wordLength - remainingColumns - 1) / columns);
374
+ const breaksStartingNextLine = Math.floor((wordLength - 1) / columns);
375
+ if (breaksStartingNextLine < breaksStartingThisLine) {
376
+ rows.push("");
377
+ }
378
+ wrapWord(rows, word, columns);
379
+ rowLength = dist_default2(rows.at(-1) ?? "");
380
+ continue;
381
+ }
382
+ if (rowLength + wordLength > columns && rowLength && wordLength) {
383
+ if (options.wordWrap === false && rowLength < columns) {
384
+ wrapWord(rows, word, columns);
385
+ rowLength = dist_default2(rows.at(-1) ?? "");
386
+ continue;
387
+ }
388
+ rows.push("");
389
+ rowLength = 0;
390
+ }
391
+ if (rowLength + wordLength > columns && options.wordWrap === false) {
392
+ wrapWord(rows, word, columns);
393
+ rowLength = dist_default2(rows.at(-1) ?? "");
394
+ continue;
395
+ }
396
+ rows[rows.length - 1] += word;
397
+ rowLength += wordLength;
398
+ }
399
+ if (options.trim !== false) {
400
+ rows = rows.map((row) => stringVisibleTrimSpacesRight(row));
401
+ }
402
+ const preString = rows.join("\n");
403
+ let inSurrogate = false;
404
+ for (let i = 0; i < preString.length; i++) {
405
+ const character = preString[i];
406
+ returnValue += character;
407
+ if (!inSurrogate) {
408
+ inSurrogate = character >= "\uD800" && character <= "\uDBFF";
409
+ } else {
410
+ continue;
411
+ }
412
+ if (character === ESC || character === CSI) {
413
+ GROUP_REGEX.lastIndex = i + 1;
414
+ const groupsResult = GROUP_REGEX.exec(preString);
415
+ const groups = groupsResult?.groups;
416
+ if (groups?.code !== void 0) {
417
+ const code = Number.parseFloat(groups.code);
418
+ escapeCode = code === END_CODE ? void 0 : code;
419
+ } else if (groups?.uri !== void 0) {
420
+ escapeUrl = groups.uri.length === 0 ? void 0 : groups.uri;
421
+ }
422
+ }
423
+ if (preString[i + 1] === "\n") {
424
+ if (escapeUrl) {
425
+ returnValue += wrapAnsiHyperlink("");
426
+ }
427
+ const closingCode = escapeCode ? getClosingCode(escapeCode) : void 0;
428
+ if (escapeCode && closingCode) {
429
+ returnValue += wrapAnsiCode(closingCode);
430
+ }
431
+ } else if (character === "\n") {
432
+ if (escapeCode && getClosingCode(escapeCode)) {
433
+ returnValue += wrapAnsiCode(escapeCode);
434
+ }
435
+ if (escapeUrl) {
436
+ returnValue += wrapAnsiHyperlink(escapeUrl);
437
+ }
438
+ }
439
+ }
440
+ return returnValue;
441
+ };
442
+ CRLF_OR_LF = /\r?\n/;
443
+ }
444
+ });
445
+
40
446
  // node_modules/.bun/sisteransi@1.0.5/node_modules/sisteransi/src/index.js
41
447
  var require_src = __commonJS({
42
448
  "node_modules/.bun/sisteransi@1.0.5/node_modules/sisteransi/src/index.js"(exports, module) {
43
449
  "use strict";
44
- init_utils();
45
- var ESC = "\x1B";
46
- var CSI = `${ESC}[`;
450
+ init_utils2();
451
+ var ESC2 = "\x1B";
452
+ var CSI2 = `${ESC2}[`;
47
453
  var beep = "\x07";
48
454
  var cursor = {
49
455
  to(x, y2) {
50
- if (!y2) return `${CSI}${x + 1}G`;
51
- return `${CSI}${y2 + 1};${x + 1}H`;
456
+ if (!y2) return `${CSI2}${x + 1}G`;
457
+ return `${CSI2}${y2 + 1};${x + 1}H`;
52
458
  },
53
459
  move(x, y2) {
54
460
  let ret = "";
55
- if (x < 0) ret += `${CSI}${-x}D`;
56
- else if (x > 0) ret += `${CSI}${x}C`;
57
- if (y2 < 0) ret += `${CSI}${-y2}A`;
58
- else if (y2 > 0) ret += `${CSI}${y2}B`;
461
+ if (x < 0) ret += `${CSI2}${-x}D`;
462
+ else if (x > 0) ret += `${CSI2}${x}C`;
463
+ if (y2 < 0) ret += `${CSI2}${-y2}A`;
464
+ else if (y2 > 0) ret += `${CSI2}${y2}B`;
59
465
  return ret;
60
466
  },
61
- up: (count = 1) => `${CSI}${count}A`,
62
- down: (count = 1) => `${CSI}${count}B`,
63
- forward: (count = 1) => `${CSI}${count}C`,
64
- backward: (count = 1) => `${CSI}${count}D`,
65
- nextLine: (count = 1) => `${CSI}E`.repeat(count),
66
- prevLine: (count = 1) => `${CSI}F`.repeat(count),
67
- left: `${CSI}G`,
68
- hide: `${CSI}?25l`,
69
- show: `${CSI}?25h`,
70
- save: `${ESC}7`,
71
- restore: `${ESC}8`
467
+ up: (count = 1) => `${CSI2}${count}A`,
468
+ down: (count = 1) => `${CSI2}${count}B`,
469
+ forward: (count = 1) => `${CSI2}${count}C`,
470
+ backward: (count = 1) => `${CSI2}${count}D`,
471
+ nextLine: (count = 1) => `${CSI2}E`.repeat(count),
472
+ prevLine: (count = 1) => `${CSI2}F`.repeat(count),
473
+ left: `${CSI2}G`,
474
+ hide: `${CSI2}?25l`,
475
+ show: `${CSI2}?25h`,
476
+ save: `${ESC2}7`,
477
+ restore: `${ESC2}8`
72
478
  };
73
479
  var scroll = {
74
- up: (count = 1) => `${CSI}S`.repeat(count),
75
- down: (count = 1) => `${CSI}T`.repeat(count)
480
+ up: (count = 1) => `${CSI2}S`.repeat(count),
481
+ down: (count = 1) => `${CSI2}T`.repeat(count)
76
482
  };
77
483
  var erase = {
78
- screen: `${CSI}2J`,
79
- up: (count = 1) => `${CSI}1J`.repeat(count),
80
- down: (count = 1) => `${CSI}J`.repeat(count),
81
- line: `${CSI}2K`,
82
- lineEnd: `${CSI}K`,
83
- lineStart: `${CSI}1K`,
484
+ screen: `${CSI2}2J`,
485
+ up: (count = 1) => `${CSI2}1J`.repeat(count),
486
+ down: (count = 1) => `${CSI2}J`.repeat(count),
487
+ line: `${CSI2}2K`,
488
+ lineEnd: `${CSI2}K`,
489
+ lineStart: `${CSI2}1K`,
84
490
  lines(count) {
85
491
  let clear = "";
86
492
  for (let i = 0; i < count; i++)
@@ -94,262 +500,127 @@ var require_src = __commonJS({
94
500
  }
95
501
  });
96
502
 
97
- // node_modules/.bun/picocolors@1.1.1/node_modules/picocolors/picocolors.js
98
- var require_picocolors = __commonJS({
99
- "node_modules/.bun/picocolors@1.1.1/node_modules/picocolors/picocolors.js"(exports, module) {
100
- init_utils();
101
- var p = process || {};
102
- var argv = p.argv || [];
103
- var env = p.env || {};
104
- var isColorSupported = !(!!env.NO_COLOR || argv.includes("--no-color")) && (!!env.FORCE_COLOR || argv.includes("--color") || p.platform === "win32" || (p.stdout || {}).isTTY && env.TERM !== "dumb" || !!env.CI);
105
- var formatter = (open, close, replace = open) => (input) => {
106
- let string = "" + input, index = string.indexOf(close, open.length);
107
- return ~index ? open + replaceClose(string, close, replace, index) + close : open + string + close;
108
- };
109
- var replaceClose = (string, close, replace, index) => {
110
- let result = "", cursor = 0;
111
- do {
112
- result += string.substring(cursor, index) + replace;
113
- cursor = index + close.length;
114
- index = string.indexOf(close, cursor);
115
- } while (~index);
116
- return result + string.substring(cursor);
117
- };
118
- var createColors = (enabled = isColorSupported) => {
119
- let f = enabled ? formatter : () => String;
120
- return {
121
- isColorSupported: enabled,
122
- reset: f("\x1B[0m", "\x1B[0m"),
123
- bold: f("\x1B[1m", "\x1B[22m", "\x1B[22m\x1B[1m"),
124
- dim: f("\x1B[2m", "\x1B[22m", "\x1B[22m\x1B[2m"),
125
- italic: f("\x1B[3m", "\x1B[23m"),
126
- underline: f("\x1B[4m", "\x1B[24m"),
127
- inverse: f("\x1B[7m", "\x1B[27m"),
128
- hidden: f("\x1B[8m", "\x1B[28m"),
129
- strikethrough: f("\x1B[9m", "\x1B[29m"),
130
- black: f("\x1B[30m", "\x1B[39m"),
131
- red: f("\x1B[31m", "\x1B[39m"),
132
- green: f("\x1B[32m", "\x1B[39m"),
133
- yellow: f("\x1B[33m", "\x1B[39m"),
134
- blue: f("\x1B[34m", "\x1B[39m"),
135
- magenta: f("\x1B[35m", "\x1B[39m"),
136
- cyan: f("\x1B[36m", "\x1B[39m"),
137
- white: f("\x1B[37m", "\x1B[39m"),
138
- gray: f("\x1B[90m", "\x1B[39m"),
139
- bgBlack: f("\x1B[40m", "\x1B[49m"),
140
- bgRed: f("\x1B[41m", "\x1B[49m"),
141
- bgGreen: f("\x1B[42m", "\x1B[49m"),
142
- bgYellow: f("\x1B[43m", "\x1B[49m"),
143
- bgBlue: f("\x1B[44m", "\x1B[49m"),
144
- bgMagenta: f("\x1B[45m", "\x1B[49m"),
145
- bgCyan: f("\x1B[46m", "\x1B[49m"),
146
- bgWhite: f("\x1B[47m", "\x1B[49m"),
147
- blackBright: f("\x1B[90m", "\x1B[39m"),
148
- redBright: f("\x1B[91m", "\x1B[39m"),
149
- greenBright: f("\x1B[92m", "\x1B[39m"),
150
- yellowBright: f("\x1B[93m", "\x1B[39m"),
151
- blueBright: f("\x1B[94m", "\x1B[39m"),
152
- magentaBright: f("\x1B[95m", "\x1B[39m"),
153
- cyanBright: f("\x1B[96m", "\x1B[39m"),
154
- whiteBright: f("\x1B[97m", "\x1B[39m"),
155
- bgBlackBright: f("\x1B[100m", "\x1B[49m"),
156
- bgRedBright: f("\x1B[101m", "\x1B[49m"),
157
- bgGreenBright: f("\x1B[102m", "\x1B[49m"),
158
- bgYellowBright: f("\x1B[103m", "\x1B[49m"),
159
- bgBlueBright: f("\x1B[104m", "\x1B[49m"),
160
- bgMagentaBright: f("\x1B[105m", "\x1B[49m"),
161
- bgCyanBright: f("\x1B[106m", "\x1B[49m"),
162
- bgWhiteBright: f("\x1B[107m", "\x1B[49m")
163
- };
164
- };
165
- module.exports = createColors();
166
- module.exports.createColors = createColors;
167
- }
168
- });
169
-
170
- // node_modules/.bun/@clack+core@0.5.0/node_modules/@clack/core/dist/index.mjs
171
- import { stdin as j, stdout as M } from "node:process";
172
- import { Writable as X } from "node:stream";
173
- function DD({ onlyFirst: e2 = false } = {}) {
174
- const t = ["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))", "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|");
175
- return new RegExp(t, e2 ? void 0 : "g");
176
- }
177
- function L(e2) {
178
- return e2 && e2.__esModule && Object.prototype.hasOwnProperty.call(e2, "default") ? e2.default : e2;
179
- }
180
- function rD() {
181
- const e2 = /* @__PURE__ */ new Map();
182
- for (const [u2, t] of Object.entries(r)) {
183
- for (const [F2, s] of Object.entries(t)) r[F2] = { open: `\x1B[${s[0]}m`, close: `\x1B[${s[1]}m` }, t[F2] = r[F2], e2.set(s[0], s[1]);
184
- Object.defineProperty(r, u2, { value: t, enumerable: false });
185
- }
186
- return Object.defineProperty(r, "codes", { value: e2, enumerable: false }), r.color.close = "\x1B[39m", r.bgColor.close = "\x1B[49m", r.color.ansi = N(), r.color.ansi256 = I(), r.color.ansi16m = R(), r.bgColor.ansi = N(w), r.bgColor.ansi256 = I(w), r.bgColor.ansi16m = R(w), Object.defineProperties(r, { rgbToAnsi256: { value: (u2, t, F2) => u2 === t && t === F2 ? u2 < 8 ? 16 : u2 > 248 ? 231 : Math.round((u2 - 8) / 247 * 24) + 232 : 16 + 36 * Math.round(u2 / 255 * 5) + 6 * Math.round(t / 255 * 5) + Math.round(F2 / 255 * 5), enumerable: false }, hexToRgb: { value: (u2) => {
187
- const t = /[a-f\d]{6}|[a-f\d]{3}/i.exec(u2.toString(16));
188
- if (!t) return [0, 0, 0];
189
- let [F2] = t;
190
- F2.length === 3 && (F2 = [...F2].map((i) => i + i).join(""));
191
- const s = Number.parseInt(F2, 16);
192
- return [s >> 16 & 255, s >> 8 & 255, s & 255];
193
- }, enumerable: false }, hexToAnsi256: { value: (u2) => r.rgbToAnsi256(...r.hexToRgb(u2)), enumerable: false }, ansi256ToAnsi: { value: (u2) => {
194
- if (u2 < 8) return 30 + u2;
195
- if (u2 < 16) return 90 + (u2 - 8);
196
- let t, F2, s;
197
- if (u2 >= 232) t = ((u2 - 232) * 10 + 8) / 255, F2 = t, s = t;
198
- else {
199
- u2 -= 16;
200
- const C2 = u2 % 36;
201
- t = Math.floor(u2 / 36) / 5, F2 = Math.floor(C2 / 6) / 5, s = C2 % 6 / 5;
202
- }
203
- const i = Math.max(t, F2, s) * 2;
204
- if (i === 0) return 30;
205
- let D2 = 30 + (Math.round(s) << 2 | Math.round(F2) << 1 | Math.round(t));
206
- return i === 2 && (D2 += 60), D2;
207
- }, enumerable: false }, rgbToAnsi: { value: (u2, t, F2) => r.ansi256ToAnsi(r.rgbToAnsi256(u2, t, F2)), enumerable: false }, hexToAnsi: { value: (u2) => r.ansi256ToAnsi(r.hexToAnsi256(u2)), enumerable: false } }), r;
208
- }
209
- var import_sisteransi, uD, W, tD, eD, FD, sD, w, N, I, R, r, iD, CD, ED, nD, _, xD, B, AD, A;
210
- var init_dist = __esm({
211
- "node_modules/.bun/@clack+core@0.5.0/node_modules/@clack/core/dist/index.mjs"() {
212
- init_utils();
503
+ // node_modules/.bun/@clack+core@1.2.0/node_modules/@clack/core/dist/index.mjs
504
+ import { styleText as y } from "node:util";
505
+ import { stdout as S, stdin as $ } from "node:process";
506
+ import { ReadStream as D } from "node:tty";
507
+ var import_sisteransi, E, G, u, Y, O;
508
+ var init_dist3 = __esm({
509
+ "node_modules/.bun/@clack+core@1.2.0/node_modules/@clack/core/dist/index.mjs"() {
510
+ init_utils2();
511
+ init_main();
213
512
  import_sisteransi = __toESM(require_src(), 1);
214
- uD = DD();
215
- W = { exports: {} };
216
- (function(e2) {
217
- var u2 = {};
218
- e2.exports = u2, u2.eastAsianWidth = function(F2) {
219
- var s = F2.charCodeAt(0), i = F2.length == 2 ? F2.charCodeAt(1) : 0, D2 = s;
220
- return 55296 <= s && s <= 56319 && 56320 <= i && i <= 57343 && (s &= 1023, i &= 1023, D2 = s << 10 | i, D2 += 65536), D2 == 12288 || 65281 <= D2 && D2 <= 65376 || 65504 <= D2 && D2 <= 65510 ? "F" : D2 == 8361 || 65377 <= D2 && D2 <= 65470 || 65474 <= D2 && D2 <= 65479 || 65482 <= D2 && D2 <= 65487 || 65490 <= D2 && D2 <= 65495 || 65498 <= D2 && D2 <= 65500 || 65512 <= D2 && D2 <= 65518 ? "H" : 4352 <= D2 && D2 <= 4447 || 4515 <= D2 && D2 <= 4519 || 4602 <= D2 && D2 <= 4607 || 9001 <= D2 && D2 <= 9002 || 11904 <= D2 && D2 <= 11929 || 11931 <= D2 && D2 <= 12019 || 12032 <= D2 && D2 <= 12245 || 12272 <= D2 && D2 <= 12283 || 12289 <= D2 && D2 <= 12350 || 12353 <= D2 && D2 <= 12438 || 12441 <= D2 && D2 <= 12543 || 12549 <= D2 && D2 <= 12589 || 12593 <= D2 && D2 <= 12686 || 12688 <= D2 && D2 <= 12730 || 12736 <= D2 && D2 <= 12771 || 12784 <= D2 && D2 <= 12830 || 12832 <= D2 && D2 <= 12871 || 12880 <= D2 && D2 <= 13054 || 13056 <= D2 && D2 <= 19903 || 19968 <= D2 && D2 <= 42124 || 42128 <= D2 && D2 <= 42182 || 43360 <= D2 && D2 <= 43388 || 44032 <= D2 && D2 <= 55203 || 55216 <= D2 && D2 <= 55238 || 55243 <= D2 && D2 <= 55291 || 63744 <= D2 && D2 <= 64255 || 65040 <= D2 && D2 <= 65049 || 65072 <= D2 && D2 <= 65106 || 65108 <= D2 && D2 <= 65126 || 65128 <= D2 && D2 <= 65131 || 110592 <= D2 && D2 <= 110593 || 127488 <= D2 && D2 <= 127490 || 127504 <= D2 && D2 <= 127546 || 127552 <= D2 && D2 <= 127560 || 127568 <= D2 && D2 <= 127569 || 131072 <= D2 && D2 <= 194367 || 177984 <= D2 && D2 <= 196605 || 196608 <= D2 && D2 <= 262141 ? "W" : 32 <= D2 && D2 <= 126 || 162 <= D2 && D2 <= 163 || 165 <= D2 && D2 <= 166 || D2 == 172 || D2 == 175 || 10214 <= D2 && D2 <= 10221 || 10629 <= D2 && D2 <= 10630 ? "Na" : D2 == 161 || D2 == 164 || 167 <= D2 && D2 <= 168 || D2 == 170 || 173 <= D2 && D2 <= 174 || 176 <= D2 && D2 <= 180 || 182 <= D2 && D2 <= 186 || 188 <= D2 && D2 <= 191 || D2 == 198 || D2 == 208 || 215 <= D2 && D2 <= 216 || 222 <= D2 && D2 <= 225 || D2 == 230 || 232 <= D2 && D2 <= 234 || 236 <= D2 && D2 <= 237 || D2 == 240 || 242 <= D2 && D2 <= 243 || 247 <= D2 && D2 <= 250 || D2 == 252 || D2 == 254 || D2 == 257 || D2 == 273 || D2 == 275 || D2 == 283 || 294 <= D2 && D2 <= 295 || D2 == 299 || 305 <= D2 && D2 <= 307 || D2 == 312 || 319 <= D2 && D2 <= 322 || D2 == 324 || 328 <= D2 && D2 <= 331 || D2 == 333 || 338 <= D2 && D2 <= 339 || 358 <= D2 && D2 <= 359 || D2 == 363 || D2 == 462 || D2 == 464 || D2 == 466 || D2 == 468 || D2 == 470 || D2 == 472 || D2 == 474 || D2 == 476 || D2 == 593 || D2 == 609 || D2 == 708 || D2 == 711 || 713 <= D2 && D2 <= 715 || D2 == 717 || D2 == 720 || 728 <= D2 && D2 <= 731 || D2 == 733 || D2 == 735 || 768 <= D2 && D2 <= 879 || 913 <= D2 && D2 <= 929 || 931 <= D2 && D2 <= 937 || 945 <= D2 && D2 <= 961 || 963 <= D2 && D2 <= 969 || D2 == 1025 || 1040 <= D2 && D2 <= 1103 || D2 == 1105 || D2 == 8208 || 8211 <= D2 && D2 <= 8214 || 8216 <= D2 && D2 <= 8217 || 8220 <= D2 && D2 <= 8221 || 8224 <= D2 && D2 <= 8226 || 8228 <= D2 && D2 <= 8231 || D2 == 8240 || 8242 <= D2 && D2 <= 8243 || D2 == 8245 || D2 == 8251 || D2 == 8254 || D2 == 8308 || D2 == 8319 || 8321 <= D2 && D2 <= 8324 || D2 == 8364 || D2 == 8451 || D2 == 8453 || D2 == 8457 || D2 == 8467 || D2 == 8470 || 8481 <= D2 && D2 <= 8482 || D2 == 8486 || D2 == 8491 || 8531 <= D2 && D2 <= 8532 || 8539 <= D2 && D2 <= 8542 || 8544 <= D2 && D2 <= 8555 || 8560 <= D2 && D2 <= 8569 || D2 == 8585 || 8592 <= D2 && D2 <= 8601 || 8632 <= D2 && D2 <= 8633 || D2 == 8658 || D2 == 8660 || D2 == 8679 || D2 == 8704 || 8706 <= D2 && D2 <= 8707 || 8711 <= D2 && D2 <= 8712 || D2 == 8715 || D2 == 8719 || D2 == 8721 || D2 == 8725 || D2 == 8730 || 8733 <= D2 && D2 <= 8736 || D2 == 8739 || D2 == 8741 || 8743 <= D2 && D2 <= 8748 || D2 == 8750 || 8756 <= D2 && D2 <= 8759 || 8764 <= D2 && D2 <= 8765 || D2 == 8776 || D2 == 8780 || D2 == 8786 || 8800 <= D2 && D2 <= 8801 || 8804 <= D2 && D2 <= 8807 || 8810 <= D2 && D2 <= 8811 || 8814 <= D2 && D2 <= 8815 || 8834 <= D2 && D2 <= 8835 || 8838 <= D2 && D2 <= 8839 || D2 == 8853 || D2 == 8857 || D2 == 8869 || D2 == 8895 || D2 == 8978 || 9312 <= D2 && D2 <= 9449 || 9451 <= D2 && D2 <= 9547 || 9552 <= D2 && D2 <= 9587 || 9600 <= D2 && D2 <= 9615 || 9618 <= D2 && D2 <= 9621 || 9632 <= D2 && D2 <= 9633 || 9635 <= D2 && D2 <= 9641 || 9650 <= D2 && D2 <= 9651 || 9654 <= D2 && D2 <= 9655 || 9660 <= D2 && D2 <= 9661 || 9664 <= D2 && D2 <= 9665 || 9670 <= D2 && D2 <= 9672 || D2 == 9675 || 9678 <= D2 && D2 <= 9681 || 9698 <= D2 && D2 <= 9701 || D2 == 9711 || 9733 <= D2 && D2 <= 9734 || D2 == 9737 || 9742 <= D2 && D2 <= 9743 || 9748 <= D2 && D2 <= 9749 || D2 == 9756 || D2 == 9758 || D2 == 9792 || D2 == 9794 || 9824 <= D2 && D2 <= 9825 || 9827 <= D2 && D2 <= 9829 || 9831 <= D2 && D2 <= 9834 || 9836 <= D2 && D2 <= 9837 || D2 == 9839 || 9886 <= D2 && D2 <= 9887 || 9918 <= D2 && D2 <= 9919 || 9924 <= D2 && D2 <= 9933 || 9935 <= D2 && D2 <= 9953 || D2 == 9955 || 9960 <= D2 && D2 <= 9983 || D2 == 10045 || D2 == 10071 || 10102 <= D2 && D2 <= 10111 || 11093 <= D2 && D2 <= 11097 || 12872 <= D2 && D2 <= 12879 || 57344 <= D2 && D2 <= 63743 || 65024 <= D2 && D2 <= 65039 || D2 == 65533 || 127232 <= D2 && D2 <= 127242 || 127248 <= D2 && D2 <= 127277 || 127280 <= D2 && D2 <= 127337 || 127344 <= D2 && D2 <= 127386 || 917760 <= D2 && D2 <= 917999 || 983040 <= D2 && D2 <= 1048573 || 1048576 <= D2 && D2 <= 1114109 ? "A" : "N";
221
- }, u2.characterLength = function(F2) {
222
- var s = this.eastAsianWidth(F2);
223
- return s == "F" || s == "W" || s == "A" ? 2 : 1;
224
- };
225
- function t(F2) {
226
- return F2.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g) || [];
227
- }
228
- u2.length = function(F2) {
229
- for (var s = t(F2), i = 0, D2 = 0; D2 < s.length; D2++) i = i + this.characterLength(s[D2]);
230
- return i;
231
- }, u2.slice = function(F2, s, i) {
232
- textLen = u2.length(F2), s = s || 0, i = i || 1, s < 0 && (s = textLen + s), i < 0 && (i = textLen + i);
233
- for (var D2 = "", C2 = 0, n = t(F2), E = 0; E < n.length; E++) {
234
- var a = n[E], o2 = u2.length(a);
235
- if (C2 >= s - (o2 == 2 ? 1 : 0)) if (C2 + o2 <= i) D2 += a;
236
- else break;
237
- C2 += o2;
238
- }
239
- return D2;
240
- };
241
- })(W);
242
- tD = W.exports;
243
- eD = L(tD);
244
- FD = function() {
245
- return /\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g;
246
- };
247
- sD = L(FD);
248
- w = 10;
249
- N = (e2 = 0) => (u2) => `\x1B[${u2 + e2}m`;
250
- I = (e2 = 0) => (u2) => `\x1B[${38 + e2};5;${u2}m`;
251
- R = (e2 = 0) => (u2, t, F2) => `\x1B[${38 + e2};2;${u2};${t};${F2}m`;
252
- r = { modifier: { reset: [0, 0], bold: [1, 22], dim: [2, 22], italic: [3, 23], underline: [4, 24], overline: [53, 55], inverse: [7, 27], hidden: [8, 28], strikethrough: [9, 29] }, color: { black: [30, 39], red: [31, 39], green: [32, 39], yellow: [33, 39], blue: [34, 39], magenta: [35, 39], cyan: [36, 39], white: [37, 39], blackBright: [90, 39], gray: [90, 39], grey: [90, 39], redBright: [91, 39], greenBright: [92, 39], yellowBright: [93, 39], blueBright: [94, 39], magentaBright: [95, 39], cyanBright: [96, 39], whiteBright: [97, 39] }, bgColor: { bgBlack: [40, 49], bgRed: [41, 49], bgGreen: [42, 49], bgYellow: [43, 49], bgBlue: [44, 49], bgMagenta: [45, 49], bgCyan: [46, 49], bgWhite: [47, 49], bgBlackBright: [100, 49], bgGray: [100, 49], bgGrey: [100, 49], bgRedBright: [101, 49], bgGreenBright: [102, 49], bgYellowBright: [103, 49], bgBlueBright: [104, 49], bgMagentaBright: [105, 49], bgCyanBright: [106, 49], bgWhiteBright: [107, 49] } };
253
- Object.keys(r.modifier);
254
- iD = Object.keys(r.color);
255
- CD = Object.keys(r.bgColor);
256
- [...iD, ...CD];
257
- ED = rD();
258
- nD = "]";
259
- _ = `${nD}8;;`;
260
- xD = ["up", "down", "left", "right", "space", "enter", "cancel"];
261
- B = { actions: new Set(xD), aliases: /* @__PURE__ */ new Map([["k", "up"], ["j", "down"], ["h", "left"], ["l", "right"], ["", "cancel"], ["escape", "cancel"]]) };
262
- AD = globalThis.process.platform.startsWith("win");
263
- A = /* @__PURE__ */ new WeakMap();
513
+ E = ["up", "down", "left", "right", "space", "enter", "cancel"];
514
+ G = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
515
+ u = { actions: new Set(E), aliases: /* @__PURE__ */ new Map([["k", "up"], ["j", "down"], ["h", "left"], ["l", "right"], ["", "cancel"], ["escape", "cancel"]]), messages: { cancel: "Canceled", error: "Something went wrong" }, withGuide: true, date: { monthNames: [...G], messages: { required: "Please enter a valid date", invalidMonth: "There are only 12 months in a year", invalidDay: (r, t2) => `There are only ${r} days in ${t2}`, afterMin: (r) => `Date must be on or after ${r.toISOString().slice(0, 10)}`, beforeMax: (r) => `Date must be on or before ${r.toISOString().slice(0, 10)}` } } };
516
+ Y = globalThis.process.platform.startsWith("win");
517
+ O = (r) => "columns" in r && typeof r.columns == "number" ? r.columns : 80;
264
518
  }
265
519
  });
266
520
 
267
- // node_modules/.bun/@clack+prompts@0.11.0/node_modules/@clack/prompts/dist/index.mjs
268
- import { stripVTControlCharacters as S } from "node:util";
269
- import y from "node:process";
270
- function ce() {
271
- return y.platform !== "win32" ? y.env.TERM !== "linux" : !!y.env.CI || !!y.env.WT_SESSION || !!y.env.TERMINUS_SUBLIME || y.env.ConEmuTask === "{cmd::Cmder}" || y.env.TERM_PROGRAM === "Terminus-Sublime" || y.env.TERM_PROGRAM === "vscode" || y.env.TERM === "xterm-256color" || y.env.TERM === "alacritty" || y.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
521
+ // node_modules/.bun/@clack+prompts@1.2.0/node_modules/@clack/prompts/dist/index.mjs
522
+ import { styleText as t, stripVTControlCharacters as ne } from "node:util";
523
+ import P from "node:process";
524
+ import { existsSync as Xe, lstatSync as we, readdirSync as ze } from "node:fs";
525
+ import { dirname as be, join as Qe } from "node:path";
526
+ function Ze() {
527
+ return P.platform !== "win32" ? P.env.TERM !== "linux" : !!P.env.CI || !!P.env.WT_SESSION || !!P.env.TERMINUS_SUBLIME || P.env.ConEmuTask === "{cmd::Cmder}" || P.env.TERM_PROGRAM === "Terminus-Sublime" || P.env.TERM_PROGRAM === "vscode" || P.env.TERM === "xterm-256color" || P.env.TERM === "alacritty" || P.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
272
528
  }
273
- var import_picocolors, import_sisteransi2, V, u, le, L2, W2, C, ue, o, d, k, P, A2, T, F, $e, _2, me, de, pe, q, D, U, K, Me, Ie, Se, M2, J;
274
- var init_dist2 = __esm({
275
- "node_modules/.bun/@clack+prompts@0.11.0/node_modules/@clack/prompts/dist/index.mjs"() {
276
- init_utils();
277
- init_dist();
278
- init_dist();
279
- import_picocolors = __toESM(require_picocolors(), 1);
529
+ var import_sisteransi2, ee, w, _e, oe, ue, F, le, d, E2, Ie, Ee, z2, H2, te, U, J, xe, se, ce, Ge, $e, de, Oe, he, pe, me, ge, O2, mt, gt, ft, vt, wt, Ve, je;
530
+ var init_dist4 = __esm({
531
+ "node_modules/.bun/@clack+prompts@1.2.0/node_modules/@clack/prompts/dist/index.mjs"() {
532
+ init_utils2();
533
+ init_dist3();
534
+ init_dist3();
535
+ init_main();
536
+ init_dist2();
280
537
  import_sisteransi2 = __toESM(require_src(), 1);
281
- V = ce();
282
- u = (t, n) => V ? t : n;
283
- le = u("\u25C6", "*");
284
- L2 = u("\u25A0", "x");
285
- W2 = u("\u25B2", "x");
286
- C = u("\u25C7", "o");
287
- ue = u("\u250C", "T");
288
- o = u("\u2502", "|");
289
- d = u("\u2514", "\u2014");
290
- k = u("\u25CF", ">");
291
- P = u("\u25CB", " ");
292
- A2 = u("\u25FB", "[\u2022]");
293
- T = u("\u25FC", "[+]");
294
- F = u("\u25FB", "[ ]");
295
- $e = u("\u25AA", "\u2022");
296
- _2 = u("\u2500", "-");
297
- me = u("\u256E", "+");
298
- de = u("\u251C", "+");
299
- pe = u("\u256F", "+");
300
- q = u("\u25CF", "\u2022");
301
- D = u("\u25C6", "*");
302
- U = u("\u25B2", "!");
303
- K = u("\u25A0", "x");
304
- Me = (t = "", n = "") => {
305
- const r2 = `
306
- ${t}
307
- `.split(`
308
- `), i = S(n).length, s = Math.max(r2.reduce((a, l2) => {
309
- const $ = S(l2);
310
- return $.length > a ? $.length : a;
311
- }, 0), i) + 2, c = r2.map((a) => `${import_picocolors.default.gray(o)} ${import_picocolors.default.dim(a)}${" ".repeat(s - S(a).length)}${import_picocolors.default.gray(o)}`).join(`
538
+ ee = Ze();
539
+ w = (e, i) => ee ? e : i;
540
+ _e = w("\u25C6", "*");
541
+ oe = w("\u25A0", "x");
542
+ ue = w("\u25B2", "x");
543
+ F = w("\u25C7", "o");
544
+ le = w("\u250C", "T");
545
+ d = w("\u2502", "|");
546
+ E2 = w("\u2514", "\u2014");
547
+ Ie = w("\u2510", "T");
548
+ Ee = w("\u2518", "\u2014");
549
+ z2 = w("\u25CF", ">");
550
+ H2 = w("\u25CB", " ");
551
+ te = w("\u25FB", "[\u2022]");
552
+ U = w("\u25FC", "[+]");
553
+ J = w("\u25FB", "[ ]");
554
+ xe = w("\u25AA", "\u2022");
555
+ se = w("\u2500", "-");
556
+ ce = w("\u256E", "+");
557
+ Ge = w("\u251C", "+");
558
+ $e = w("\u256F", "+");
559
+ de = w("\u2570", "+");
560
+ Oe = w("\u256D", "+");
561
+ he = w("\u25CF", "\u2022");
562
+ pe = w("\u25C6", "*");
563
+ me = w("\u25B2", "!");
564
+ ge = w("\u25A0", "x");
565
+ O2 = { message: (e = [], { symbol: i = t("gray", d), secondarySymbol: s = t("gray", d), output: r = process.stdout, spacing: u2 = 1, withGuide: n } = {}) => {
566
+ const o = [], c2 = n ?? u.withGuide, a = c2 ? s : "", l = c2 ? `${i} ` : "", $2 = c2 ? `${s} ` : "";
567
+ for (let p = 0; p < u2; p++) o.push(a);
568
+ const y2 = Array.isArray(e) ? e : e.split(`
312
569
  `);
313
- process.stdout.write(`${import_picocolors.default.gray(o)}
314
- ${import_picocolors.default.green(C)} ${import_picocolors.default.reset(n)} ${import_picocolors.default.gray(_2.repeat(Math.max(s - i - 1, 1)) + me)}
315
- ${c}
316
- ${import_picocolors.default.gray(de + _2.repeat(s + 2) + pe)}
570
+ if (y2.length > 0) {
571
+ const [p, ...m] = y2;
572
+ p.length > 0 ? o.push(`${l}${p}`) : o.push(c2 ? i : "");
573
+ for (const g of m) g.length > 0 ? o.push(`${$2}${g}`) : o.push(c2 ? s : "");
574
+ }
575
+ r.write(`${o.join(`
576
+ `)}
317
577
  `);
318
- };
319
- Ie = (t = "") => {
320
- process.stdout.write(`${import_picocolors.default.gray(ue)} ${t}
578
+ }, info: (e, i) => {
579
+ O2.message(e, { ...i, symbol: t("blue", he) });
580
+ }, success: (e, i) => {
581
+ O2.message(e, { ...i, symbol: t("green", pe) });
582
+ }, step: (e, i) => {
583
+ O2.message(e, { ...i, symbol: t("green", F) });
584
+ }, warn: (e, i) => {
585
+ O2.message(e, { ...i, symbol: t("yellow", me) });
586
+ }, warning: (e, i) => {
587
+ O2.warn(e, i);
588
+ }, error: (e, i) => {
589
+ O2.message(e, { ...i, symbol: t("red", ge) });
590
+ } };
591
+ mt = (e = "", i) => {
592
+ const s = i?.output ?? process.stdout, r = i?.withGuide ?? u.withGuide ? `${t("gray", le)} ` : "";
593
+ s.write(`${r}${e}
321
594
  `);
322
595
  };
323
- Se = (t = "") => {
324
- process.stdout.write(`${import_picocolors.default.gray(o)}
325
- ${import_picocolors.default.gray(d)} ${t}
596
+ gt = (e = "", i) => {
597
+ const s = i?.output ?? process.stdout, r = i?.withGuide ?? u.withGuide ? `${t("gray", d)}
598
+ ${t("gray", E2)} ` : "";
599
+ s.write(`${r}${e}
326
600
 
327
601
  `);
328
602
  };
329
- M2 = { message: (t = "", { symbol: n = import_picocolors.default.gray(o) } = {}) => {
330
- const r2 = [`${import_picocolors.default.gray(o)}`];
331
- if (t) {
332
- const [i, ...s] = t.split(`
333
- `);
334
- r2.push(`${n} ${i}`, ...s.map((c) => `${import_picocolors.default.gray(o)} ${c}`));
335
- }
336
- process.stdout.write(`${r2.join(`
337
- `)}
603
+ ft = (e) => t("dim", e);
604
+ vt = (e, i, s) => {
605
+ const r = { hard: true, trim: false }, u2 = wrapAnsi(e, i, r).split(`
606
+ `), n = u2.reduce((a, l) => Math.max(dist_default2(l), a), 0), o = u2.map(s).reduce((a, l) => Math.max(dist_default2(l), a), 0), c2 = i - (o - n);
607
+ return wrapAnsi(e, c2, r);
608
+ };
609
+ wt = (e = "", i = "", s) => {
610
+ const r = s?.output ?? P.stdout, u2 = s?.withGuide ?? u.withGuide, n = s?.format ?? ft, o = ["", ...vt(e, O(r) - 6, n).split(`
611
+ `).map(n), ""], c2 = dist_default2(i), a = Math.max(o.reduce((p, m) => {
612
+ const g = dist_default2(m);
613
+ return g > p ? g : p;
614
+ }, 0), c2) + 2, l = o.map((p) => `${t("gray", d)} ${p}${" ".repeat(a - dist_default2(p))}${t("gray", d)}`).join(`
615
+ `), $2 = u2 ? `${t("gray", d)}
616
+ ` : "", y2 = u2 ? Ge : de;
617
+ r.write(`${$2}${t("green", F)} ${t("reset", i)} ${t("gray", se.repeat(Math.max(a - c2 - 1, 1)) + ce)}
618
+ ${l}
619
+ ${t("gray", y2 + se.repeat(a + 2) + $e)}
338
620
  `);
339
- }, info: (t) => {
340
- M2.message(t, { symbol: import_picocolors.default.blue(q) });
341
- }, success: (t) => {
342
- M2.message(t, { symbol: import_picocolors.default.green(D) });
343
- }, step: (t) => {
344
- M2.message(t, { symbol: import_picocolors.default.green(C) });
345
- }, warn: (t) => {
346
- M2.message(t, { symbol: import_picocolors.default.yellow(U) });
347
- }, warning: (t) => {
348
- M2.warn(t);
349
- }, error: (t) => {
350
- M2.message(t, { symbol: import_picocolors.default.red(K) });
351
- } };
352
- J = `${import_picocolors.default.gray(o)} `;
621
+ };
622
+ Ve = { light: w("\u2500", "-"), heavy: w("\u2501", "="), block: w("\u2588", "#") };
623
+ je = `${t("gray", d)} `;
353
624
  }
354
625
  });
355
626
 
@@ -398,9 +669,9 @@ var colors, currentLogLevel, log, error, warn, info, success;
398
669
  var init_cli_output = __esm({
399
670
  "packages/tooling/src/utils/cli-output.ts"() {
400
671
  "use strict";
401
- init_utils();
402
- init_dist2();
403
- init_dist2();
672
+ init_utils2();
673
+ init_dist4();
674
+ init_dist4();
404
675
  colors = {
405
676
  reset: "\x1B[0m",
406
677
  // Success (green)
@@ -435,7 +706,7 @@ var init_cli_output = __esm({
435
706
  error(...args) {
436
707
  if (currentLogLevel < 0 /* Quiet */) return;
437
708
  const message = formatMessage(...args);
438
- M2.error(colorize(message, colors.brightRed));
709
+ O2.error(colorize(message, colors.brightRed));
439
710
  },
440
711
  /**
441
712
  * Logs a warning message (shows at Normal level and above)
@@ -444,7 +715,7 @@ var init_cli_output = __esm({
444
715
  warn(...args) {
445
716
  if (currentLogLevel < 1 /* Normal */) return;
446
717
  const message = formatMessage(...args);
447
- M2.warn(colorize(message, colors.brightYellow));
718
+ O2.warn(colorize(message, colors.brightYellow));
448
719
  },
449
720
  /**
450
721
  * Logs an info message (shows at Normal level and above)
@@ -453,7 +724,7 @@ var init_cli_output = __esm({
453
724
  info(...args) {
454
725
  if (currentLogLevel < 1 /* Normal */) return;
455
726
  const message = formatMessage(...args);
456
- M2.info(colorize(message, colors.brightCyan));
727
+ O2.info(colorize(message, colors.brightCyan));
457
728
  },
458
729
  /**
459
730
  * Logs a success message (shows at Normal level and above)
@@ -462,7 +733,7 @@ var init_cli_output = __esm({
462
733
  success(...args) {
463
734
  if (currentLogLevel < 1 /* Normal */) return;
464
735
  const message = formatMessage(...args);
465
- M2.success(colorize(message, colors.brightGreen));
736
+ O2.success(colorize(message, colors.brightGreen));
466
737
  },
467
738
  /**
468
739
  * Logs a debug message (only shows at Verbose level and above)
@@ -471,7 +742,7 @@ var init_cli_output = __esm({
471
742
  debug(...args) {
472
743
  if (currentLogLevel < 2 /* Verbose */) return;
473
744
  const timeStamp = (/* @__PURE__ */ new Date()).toISOString().slice(11, 19);
474
- M2.message(
745
+ O2.message(
475
746
  colorize(
476
747
  `[${timeStamp}] \u{1F50D} DEBUG: ${formatMessage(...args)}`,
477
748
  colors.gray
@@ -485,7 +756,7 @@ var init_cli_output = __esm({
485
756
  trace(...args) {
486
757
  if (currentLogLevel < 3 /* Debug */) return;
487
758
  const timeStamp = (/* @__PURE__ */ new Date()).toISOString().slice(11, 19);
488
- M2.message(
759
+ O2.message(
489
760
  colorize(
490
761
  `[${timeStamp}] \u{1F52C} TRACE: ${formatMessage(...args)}`,
491
762
  colors.gray
@@ -505,7 +776,7 @@ var DO_NOT_DEV_ERROR_CODES, DoNotDevError;
505
776
  var init_errors = __esm({
506
777
  "packages/tooling/src/utils/errors.ts"() {
507
778
  "use strict";
508
- init_utils();
779
+ init_utils2();
509
780
  DO_NOT_DEV_ERROR_CODES = {
510
781
  CONFIGURATION_ERROR: "configuration-error",
511
782
  CONFIG_NOT_FOUND: "config-not-found",
@@ -646,7 +917,7 @@ var init_errors = __esm({
646
917
  var require_array = __commonJS({
647
918
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/utils/array.js"(exports) {
648
919
  "use strict";
649
- init_utils();
920
+ init_utils2();
650
921
  Object.defineProperty(exports, "__esModule", { value: true });
651
922
  exports.splitWhen = exports.flatten = void 0;
652
923
  function flatten(items) {
@@ -674,7 +945,7 @@ var require_array = __commonJS({
674
945
  var require_errno = __commonJS({
675
946
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/utils/errno.js"(exports) {
676
947
  "use strict";
677
- init_utils();
948
+ init_utils2();
678
949
  Object.defineProperty(exports, "__esModule", { value: true });
679
950
  exports.isEnoentCodeError = void 0;
680
951
  function isEnoentCodeError(error2) {
@@ -688,7 +959,7 @@ var require_errno = __commonJS({
688
959
  var require_fs = __commonJS({
689
960
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/utils/fs.js"(exports) {
690
961
  "use strict";
691
- init_utils();
962
+ init_utils2();
692
963
  Object.defineProperty(exports, "__esModule", { value: true });
693
964
  exports.createDirentFromStats = void 0;
694
965
  var DirentFromStats = class {
@@ -714,7 +985,7 @@ var require_fs = __commonJS({
714
985
  var require_path = __commonJS({
715
986
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/utils/path.js"(exports) {
716
987
  "use strict";
717
- init_utils();
988
+ init_utils2();
718
989
  Object.defineProperty(exports, "__esModule", { value: true });
719
990
  exports.convertPosixPathToPattern = exports.convertWindowsPathToPattern = exports.convertPathToPattern = exports.escapePosixPath = exports.escapeWindowsPath = exports.escape = exports.removeLeadingDotSegment = exports.makeAbsolute = exports.unixify = void 0;
720
991
  var os = __require("os");
@@ -767,7 +1038,7 @@ var require_path = __commonJS({
767
1038
  // node_modules/.bun/is-extglob@2.1.1/node_modules/is-extglob/index.js
768
1039
  var require_is_extglob = __commonJS({
769
1040
  "node_modules/.bun/is-extglob@2.1.1/node_modules/is-extglob/index.js"(exports, module) {
770
- init_utils();
1041
+ init_utils2();
771
1042
  module.exports = function isExtglob(str) {
772
1043
  if (typeof str !== "string" || str === "") {
773
1044
  return false;
@@ -785,7 +1056,7 @@ var require_is_extglob = __commonJS({
785
1056
  // node_modules/.bun/is-glob@4.0.3/node_modules/is-glob/index.js
786
1057
  var require_is_glob = __commonJS({
787
1058
  "node_modules/.bun/is-glob@4.0.3/node_modules/is-glob/index.js"(exports, module) {
788
- init_utils();
1059
+ init_utils2();
789
1060
  var isExtglob = require_is_extglob();
790
1061
  var chars = { "{": "}", "(": ")", "[": "]" };
791
1062
  var strictCheck = function(str) {
@@ -918,7 +1189,7 @@ var require_is_glob = __commonJS({
918
1189
  var require_glob_parent = __commonJS({
919
1190
  "node_modules/.bun/glob-parent@5.1.2/node_modules/glob-parent/index.js"(exports, module) {
920
1191
  "use strict";
921
- init_utils();
1192
+ init_utils2();
922
1193
  var isGlob = require_is_glob();
923
1194
  var pathPosixDirname = __require("path").posix.dirname;
924
1195
  var isWin32 = __require("os").platform() === "win32";
@@ -948,7 +1219,7 @@ var require_glob_parent = __commonJS({
948
1219
  var require_utils = __commonJS({
949
1220
  "node_modules/.bun/braces@3.0.3/node_modules/braces/lib/utils.js"(exports) {
950
1221
  "use strict";
951
- init_utils();
1222
+ init_utils2();
952
1223
  exports.isInteger = (num) => {
953
1224
  if (typeof num === "number") {
954
1225
  return Number.isInteger(num);
@@ -1031,7 +1302,7 @@ var require_utils = __commonJS({
1031
1302
  var require_stringify = __commonJS({
1032
1303
  "node_modules/.bun/braces@3.0.3/node_modules/braces/lib/stringify.js"(exports, module) {
1033
1304
  "use strict";
1034
- init_utils();
1305
+ init_utils2();
1035
1306
  var utils = require_utils();
1036
1307
  module.exports = (ast, options = {}) => {
1037
1308
  const stringify2 = (node, parent = {}) => {
@@ -1063,7 +1334,7 @@ var require_stringify = __commonJS({
1063
1334
  var require_is_number = __commonJS({
1064
1335
  "node_modules/.bun/is-number@7.0.0/node_modules/is-number/index.js"(exports, module) {
1065
1336
  "use strict";
1066
- init_utils();
1337
+ init_utils2();
1067
1338
  module.exports = function(num) {
1068
1339
  if (typeof num === "number") {
1069
1340
  return num - num === 0;
@@ -1080,7 +1351,7 @@ var require_is_number = __commonJS({
1080
1351
  var require_to_regex_range = __commonJS({
1081
1352
  "node_modules/.bun/to-regex-range@5.0.1/node_modules/to-regex-range/index.js"(exports, module) {
1082
1353
  "use strict";
1083
- init_utils();
1354
+ init_utils2();
1084
1355
  var isNumber = require_is_number();
1085
1356
  var toRegexRange = (min, max, options) => {
1086
1357
  if (isNumber(min) === false) {
@@ -1105,8 +1376,8 @@ var require_to_regex_range = __commonJS({
1105
1376
  return toRegexRange.cache[cacheKey].result;
1106
1377
  }
1107
1378
  let a = Math.min(min, max);
1108
- let b2 = Math.max(min, max);
1109
- if (Math.abs(a - b2) === 1) {
1379
+ let b = Math.max(min, max);
1380
+ if (Math.abs(a - b) === 1) {
1110
1381
  let result = min + "|" + max;
1111
1382
  if (opts.capture) {
1112
1383
  return `(${result})`;
@@ -1117,7 +1388,7 @@ var require_to_regex_range = __commonJS({
1117
1388
  return `(?:${result})`;
1118
1389
  }
1119
1390
  let isPadded = hasPadding(min) || hasPadding(max);
1120
- let state = { min, max, a, b: b2 };
1391
+ let state = { min, max, a, b };
1121
1392
  let positives = [];
1122
1393
  let negatives = [];
1123
1394
  if (isPadded) {
@@ -1125,12 +1396,12 @@ var require_to_regex_range = __commonJS({
1125
1396
  state.maxLen = String(state.max).length;
1126
1397
  }
1127
1398
  if (a < 0) {
1128
- let newMin = b2 < 0 ? Math.abs(b2) : 1;
1399
+ let newMin = b < 0 ? Math.abs(b) : 1;
1129
1400
  negatives = splitToPatterns(newMin, Math.abs(a), state, opts);
1130
1401
  a = state.a = 0;
1131
1402
  }
1132
- if (b2 >= 0) {
1133
- positives = splitToPatterns(a, b2, state, opts);
1403
+ if (b >= 0) {
1404
+ positives = splitToPatterns(a, b, state, opts);
1134
1405
  }
1135
1406
  state.negatives = negatives;
1136
1407
  state.positives = positives;
@@ -1234,13 +1505,13 @@ var require_to_regex_range = __commonJS({
1234
1505
  }
1235
1506
  return result;
1236
1507
  }
1237
- function zip(a, b2) {
1508
+ function zip(a, b) {
1238
1509
  let arr = [];
1239
- for (let i = 0; i < a.length; i++) arr.push([a[i], b2[i]]);
1510
+ for (let i = 0; i < a.length; i++) arr.push([a[i], b[i]]);
1240
1511
  return arr;
1241
1512
  }
1242
- function compare(a, b2) {
1243
- return a > b2 ? 1 : b2 > a ? -1 : 0;
1513
+ function compare(a, b) {
1514
+ return a > b ? 1 : b > a ? -1 : 0;
1244
1515
  }
1245
1516
  function contains(arr, key, val) {
1246
1517
  return arr.some((ele) => ele[key] === val);
@@ -1258,8 +1529,8 @@ var require_to_regex_range = __commonJS({
1258
1529
  }
1259
1530
  return "";
1260
1531
  }
1261
- function toCharacterClass(a, b2, options) {
1262
- return `[${a}${b2 - a === 1 ? "" : "-"}${b2}]`;
1532
+ function toCharacterClass(a, b, options) {
1533
+ return `[${a}${b - a === 1 ? "" : "-"}${b}]`;
1263
1534
  }
1264
1535
  function hasPadding(str) {
1265
1536
  return /^-?(0+)\d/.test(str);
@@ -1292,7 +1563,7 @@ var require_to_regex_range = __commonJS({
1292
1563
  var require_fill_range = __commonJS({
1293
1564
  "node_modules/.bun/fill-range@7.1.1/node_modules/fill-range/index.js"(exports, module) {
1294
1565
  "use strict";
1295
- init_utils();
1566
+ init_utils2();
1296
1567
  var util = __require("util");
1297
1568
  var toRegexRange = require_to_regex_range();
1298
1569
  var isObject = (val) => val !== null && typeof val === "object" && !Array.isArray(val);
@@ -1338,8 +1609,8 @@ var require_fill_range = __commonJS({
1338
1609
  return negative ? "-" + input : input;
1339
1610
  };
1340
1611
  var toSequence = (parts, options, maxLen) => {
1341
- parts.negatives.sort((a, b2) => a < b2 ? -1 : a > b2 ? 1 : 0);
1342
- parts.positives.sort((a, b2) => a < b2 ? -1 : a > b2 ? 1 : 0);
1612
+ parts.negatives.sort((a, b) => a < b ? -1 : a > b ? 1 : 0);
1613
+ parts.positives.sort((a, b) => a < b ? -1 : a > b ? 1 : 0);
1343
1614
  let prefix = options.capture ? "" : "?:";
1344
1615
  let positives = "";
1345
1616
  let negatives = "";
@@ -1360,13 +1631,13 @@ var require_fill_range = __commonJS({
1360
1631
  }
1361
1632
  return result;
1362
1633
  };
1363
- var toRange = (a, b2, isNumbers, options) => {
1634
+ var toRange = (a, b, isNumbers, options) => {
1364
1635
  if (isNumbers) {
1365
- return toRegexRange(a, b2, { wrap: false, ...options });
1636
+ return toRegexRange(a, b, { wrap: false, ...options });
1366
1637
  }
1367
1638
  let start = String.fromCharCode(a);
1368
- if (a === b2) return start;
1369
- let stop = String.fromCharCode(b2);
1639
+ if (a === b) return start;
1640
+ let stop = String.fromCharCode(b);
1370
1641
  return `[${start}-${stop}]`;
1371
1642
  };
1372
1643
  var toRegex = (start, end, options) => {
@@ -1392,14 +1663,14 @@ var require_fill_range = __commonJS({
1392
1663
  };
1393
1664
  var fillNumbers = (start, end, step = 1, options = {}) => {
1394
1665
  let a = Number(start);
1395
- let b2 = Number(end);
1396
- if (!Number.isInteger(a) || !Number.isInteger(b2)) {
1666
+ let b = Number(end);
1667
+ if (!Number.isInteger(a) || !Number.isInteger(b)) {
1397
1668
  if (options.strictRanges === true) throw rangeError([start, end]);
1398
1669
  return [];
1399
1670
  }
1400
1671
  if (a === 0) a = 0;
1401
- if (b2 === 0) b2 = 0;
1402
- let descending = a > b2;
1672
+ if (b === 0) b = 0;
1673
+ let descending = a > b;
1403
1674
  let startString = String(start);
1404
1675
  let endString = String(end);
1405
1676
  let stepString = String(step);
@@ -1415,7 +1686,7 @@ var require_fill_range = __commonJS({
1415
1686
  let push = (num) => parts[num < 0 ? "negatives" : "positives"].push(Math.abs(num));
1416
1687
  let range = [];
1417
1688
  let index = 0;
1418
- while (descending ? a >= b2 : a <= b2) {
1689
+ while (descending ? a >= b : a <= b) {
1419
1690
  if (options.toRegex === true && step > 1) {
1420
1691
  push(a);
1421
1692
  } else {
@@ -1435,16 +1706,16 @@ var require_fill_range = __commonJS({
1435
1706
  }
1436
1707
  let format = options.transform || ((val) => String.fromCharCode(val));
1437
1708
  let a = `${start}`.charCodeAt(0);
1438
- let b2 = `${end}`.charCodeAt(0);
1439
- let descending = a > b2;
1440
- let min = Math.min(a, b2);
1441
- let max = Math.max(a, b2);
1709
+ let b = `${end}`.charCodeAt(0);
1710
+ let descending = a > b;
1711
+ let min = Math.min(a, b);
1712
+ let max = Math.max(a, b);
1442
1713
  if (options.toRegex && step === 1) {
1443
1714
  return toRange(min, max, false, options);
1444
1715
  }
1445
1716
  let range = [];
1446
1717
  let index = 0;
1447
- while (descending ? a >= b2 : a <= b2) {
1718
+ while (descending ? a >= b : a <= b) {
1448
1719
  range.push(format(a, index));
1449
1720
  a = descending ? a - step : a + step;
1450
1721
  index++;
@@ -1487,7 +1758,7 @@ var require_fill_range = __commonJS({
1487
1758
  var require_compile = __commonJS({
1488
1759
  "node_modules/.bun/braces@3.0.3/node_modules/braces/lib/compile.js"(exports, module) {
1489
1760
  "use strict";
1490
- init_utils();
1761
+ init_utils2();
1491
1762
  var fill = require_fill_range();
1492
1763
  var utils = require_utils();
1493
1764
  var compile = (ast, options = {}) => {
@@ -1539,7 +1810,7 @@ var require_compile = __commonJS({
1539
1810
  var require_expand = __commonJS({
1540
1811
  "node_modules/.bun/braces@3.0.3/node_modules/braces/lib/expand.js"(exports, module) {
1541
1812
  "use strict";
1542
- init_utils();
1813
+ init_utils2();
1543
1814
  var fill = require_fill_range();
1544
1815
  var stringify2 = require_stringify();
1545
1816
  var utils = require_utils();
@@ -1634,7 +1905,7 @@ var require_expand = __commonJS({
1634
1905
  var require_constants = __commonJS({
1635
1906
  "node_modules/.bun/braces@3.0.3/node_modules/braces/lib/constants.js"(exports, module) {
1636
1907
  "use strict";
1637
- init_utils();
1908
+ init_utils2();
1638
1909
  module.exports = {
1639
1910
  MAX_LENGTH: 1e4,
1640
1911
  // Digits
@@ -1736,7 +2007,7 @@ var require_constants = __commonJS({
1736
2007
  var require_parse = __commonJS({
1737
2008
  "node_modules/.bun/braces@3.0.3/node_modules/braces/lib/parse.js"(exports, module) {
1738
2009
  "use strict";
1739
- init_utils();
2010
+ init_utils2();
1740
2011
  var stringify2 = require_stringify();
1741
2012
  var {
1742
2013
  MAX_LENGTH,
@@ -1975,7 +2246,7 @@ var require_parse = __commonJS({
1975
2246
  var require_braces = __commonJS({
1976
2247
  "node_modules/.bun/braces@3.0.3/node_modules/braces/index.js"(exports, module) {
1977
2248
  "use strict";
1978
- init_utils();
2249
+ init_utils2();
1979
2250
  var stringify2 = require_stringify();
1980
2251
  var compile = require_compile();
1981
2252
  var expand = require_expand();
@@ -2035,14 +2306,15 @@ var require_braces = __commonJS({
2035
2306
  }
2036
2307
  });
2037
2308
 
2038
- // node_modules/.bun/picomatch@2.3.1/node_modules/picomatch/lib/constants.js
2309
+ // node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/constants.js
2039
2310
  var require_constants2 = __commonJS({
2040
- "node_modules/.bun/picomatch@2.3.1/node_modules/picomatch/lib/constants.js"(exports, module) {
2311
+ "node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/constants.js"(exports, module) {
2041
2312
  "use strict";
2042
- init_utils();
2313
+ init_utils2();
2043
2314
  var path = __require("path");
2044
2315
  var WIN_SLASH = "\\\\/";
2045
2316
  var WIN_NO_SLASH = `[^${WIN_SLASH}]`;
2317
+ var DEFAULT_MAX_EXTGLOB_RECURSION = 0;
2046
2318
  var DOT_LITERAL = "\\.";
2047
2319
  var PLUS_LITERAL = "\\+";
2048
2320
  var QMARK_LITERAL = "\\?";
@@ -2090,6 +2362,7 @@ var require_constants2 = __commonJS({
2090
2362
  END_ANCHOR: `(?:[${WIN_SLASH}]|$)`
2091
2363
  };
2092
2364
  var POSIX_REGEX_SOURCE = {
2365
+ __proto__: null,
2093
2366
  alnum: "a-zA-Z0-9",
2094
2367
  alpha: "a-zA-Z",
2095
2368
  ascii: "\\x00-\\x7F",
@@ -2106,6 +2379,7 @@ var require_constants2 = __commonJS({
2106
2379
  xdigit: "A-Fa-f0-9"
2107
2380
  };
2108
2381
  module.exports = {
2382
+ DEFAULT_MAX_EXTGLOB_RECURSION,
2109
2383
  MAX_LENGTH: 1024 * 64,
2110
2384
  POSIX_REGEX_SOURCE,
2111
2385
  // regular expressions
@@ -2117,6 +2391,7 @@ var require_constants2 = __commonJS({
2117
2391
  REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g,
2118
2392
  // Replace globs with equivalent patterns to reduce parsing time.
2119
2393
  REPLACEMENTS: {
2394
+ __proto__: null,
2120
2395
  "***": "*",
2121
2396
  "**/**": "**",
2122
2397
  "**/**/**": "**"
@@ -2233,11 +2508,11 @@ var require_constants2 = __commonJS({
2233
2508
  }
2234
2509
  });
2235
2510
 
2236
- // node_modules/.bun/picomatch@2.3.1/node_modules/picomatch/lib/utils.js
2511
+ // node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/utils.js
2237
2512
  var require_utils2 = __commonJS({
2238
- "node_modules/.bun/picomatch@2.3.1/node_modules/picomatch/lib/utils.js"(exports) {
2513
+ "node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/utils.js"(exports) {
2239
2514
  "use strict";
2240
- init_utils();
2515
+ init_utils2();
2241
2516
  var path = __require("path");
2242
2517
  var win32 = process.platform === "win32";
2243
2518
  var {
@@ -2295,11 +2570,11 @@ var require_utils2 = __commonJS({
2295
2570
  }
2296
2571
  });
2297
2572
 
2298
- // node_modules/.bun/picomatch@2.3.1/node_modules/picomatch/lib/scan.js
2573
+ // node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/scan.js
2299
2574
  var require_scan = __commonJS({
2300
- "node_modules/.bun/picomatch@2.3.1/node_modules/picomatch/lib/scan.js"(exports, module) {
2575
+ "node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/scan.js"(exports, module) {
2301
2576
  "use strict";
2302
- init_utils();
2577
+ init_utils2();
2303
2578
  var utils = require_utils2();
2304
2579
  var {
2305
2580
  CHAR_ASTERISK,
@@ -2626,11 +2901,11 @@ var require_scan = __commonJS({
2626
2901
  }
2627
2902
  });
2628
2903
 
2629
- // node_modules/.bun/picomatch@2.3.1/node_modules/picomatch/lib/parse.js
2904
+ // node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/parse.js
2630
2905
  var require_parse2 = __commonJS({
2631
- "node_modules/.bun/picomatch@2.3.1/node_modules/picomatch/lib/parse.js"(exports, module) {
2906
+ "node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/parse.js"(exports, module) {
2632
2907
  "use strict";
2633
- init_utils();
2908
+ init_utils2();
2634
2909
  var constants2 = require_constants2();
2635
2910
  var utils = require_utils2();
2636
2911
  var {
@@ -2656,6 +2931,213 @@ var require_parse2 = __commonJS({
2656
2931
  var syntaxError = (type, char) => {
2657
2932
  return `Missing ${type}: "${char}" - use "\\\\${char}" to match literal characters`;
2658
2933
  };
2934
+ var splitTopLevel = (input) => {
2935
+ const parts = [];
2936
+ let bracket = 0;
2937
+ let paren = 0;
2938
+ let quote = 0;
2939
+ let value = "";
2940
+ let escaped = false;
2941
+ for (const ch of input) {
2942
+ if (escaped === true) {
2943
+ value += ch;
2944
+ escaped = false;
2945
+ continue;
2946
+ }
2947
+ if (ch === "\\") {
2948
+ value += ch;
2949
+ escaped = true;
2950
+ continue;
2951
+ }
2952
+ if (ch === '"') {
2953
+ quote = quote === 1 ? 0 : 1;
2954
+ value += ch;
2955
+ continue;
2956
+ }
2957
+ if (quote === 0) {
2958
+ if (ch === "[") {
2959
+ bracket++;
2960
+ } else if (ch === "]" && bracket > 0) {
2961
+ bracket--;
2962
+ } else if (bracket === 0) {
2963
+ if (ch === "(") {
2964
+ paren++;
2965
+ } else if (ch === ")" && paren > 0) {
2966
+ paren--;
2967
+ } else if (ch === "|" && paren === 0) {
2968
+ parts.push(value);
2969
+ value = "";
2970
+ continue;
2971
+ }
2972
+ }
2973
+ }
2974
+ value += ch;
2975
+ }
2976
+ parts.push(value);
2977
+ return parts;
2978
+ };
2979
+ var isPlainBranch = (branch) => {
2980
+ let escaped = false;
2981
+ for (const ch of branch) {
2982
+ if (escaped === true) {
2983
+ escaped = false;
2984
+ continue;
2985
+ }
2986
+ if (ch === "\\") {
2987
+ escaped = true;
2988
+ continue;
2989
+ }
2990
+ if (/[?*+@!()[\]{}]/.test(ch)) {
2991
+ return false;
2992
+ }
2993
+ }
2994
+ return true;
2995
+ };
2996
+ var normalizeSimpleBranch = (branch) => {
2997
+ let value = branch.trim();
2998
+ let changed = true;
2999
+ while (changed === true) {
3000
+ changed = false;
3001
+ if (/^@\([^\\()[\]{}|]+\)$/.test(value)) {
3002
+ value = value.slice(2, -1);
3003
+ changed = true;
3004
+ }
3005
+ }
3006
+ if (!isPlainBranch(value)) {
3007
+ return;
3008
+ }
3009
+ return value.replace(/\\(.)/g, "$1");
3010
+ };
3011
+ var hasRepeatedCharPrefixOverlap = (branches) => {
3012
+ const values = branches.map(normalizeSimpleBranch).filter(Boolean);
3013
+ for (let i = 0; i < values.length; i++) {
3014
+ for (let j = i + 1; j < values.length; j++) {
3015
+ const a = values[i];
3016
+ const b = values[j];
3017
+ const char = a[0];
3018
+ if (!char || a !== char.repeat(a.length) || b !== char.repeat(b.length)) {
3019
+ continue;
3020
+ }
3021
+ if (a === b || a.startsWith(b) || b.startsWith(a)) {
3022
+ return true;
3023
+ }
3024
+ }
3025
+ }
3026
+ return false;
3027
+ };
3028
+ var parseRepeatedExtglob = (pattern, requireEnd = true) => {
3029
+ if (pattern[0] !== "+" && pattern[0] !== "*" || pattern[1] !== "(") {
3030
+ return;
3031
+ }
3032
+ let bracket = 0;
3033
+ let paren = 0;
3034
+ let quote = 0;
3035
+ let escaped = false;
3036
+ for (let i = 1; i < pattern.length; i++) {
3037
+ const ch = pattern[i];
3038
+ if (escaped === true) {
3039
+ escaped = false;
3040
+ continue;
3041
+ }
3042
+ if (ch === "\\") {
3043
+ escaped = true;
3044
+ continue;
3045
+ }
3046
+ if (ch === '"') {
3047
+ quote = quote === 1 ? 0 : 1;
3048
+ continue;
3049
+ }
3050
+ if (quote === 1) {
3051
+ continue;
3052
+ }
3053
+ if (ch === "[") {
3054
+ bracket++;
3055
+ continue;
3056
+ }
3057
+ if (ch === "]" && bracket > 0) {
3058
+ bracket--;
3059
+ continue;
3060
+ }
3061
+ if (bracket > 0) {
3062
+ continue;
3063
+ }
3064
+ if (ch === "(") {
3065
+ paren++;
3066
+ continue;
3067
+ }
3068
+ if (ch === ")") {
3069
+ paren--;
3070
+ if (paren === 0) {
3071
+ if (requireEnd === true && i !== pattern.length - 1) {
3072
+ return;
3073
+ }
3074
+ return {
3075
+ type: pattern[0],
3076
+ body: pattern.slice(2, i),
3077
+ end: i
3078
+ };
3079
+ }
3080
+ }
3081
+ }
3082
+ };
3083
+ var getStarExtglobSequenceOutput = (pattern) => {
3084
+ let index = 0;
3085
+ const chars = [];
3086
+ while (index < pattern.length) {
3087
+ const match = parseRepeatedExtglob(pattern.slice(index), false);
3088
+ if (!match || match.type !== "*") {
3089
+ return;
3090
+ }
3091
+ const branches = splitTopLevel(match.body).map((branch2) => branch2.trim());
3092
+ if (branches.length !== 1) {
3093
+ return;
3094
+ }
3095
+ const branch = normalizeSimpleBranch(branches[0]);
3096
+ if (!branch || branch.length !== 1) {
3097
+ return;
3098
+ }
3099
+ chars.push(branch);
3100
+ index += match.end + 1;
3101
+ }
3102
+ if (chars.length < 1) {
3103
+ return;
3104
+ }
3105
+ const source = chars.length === 1 ? utils.escapeRegex(chars[0]) : `[${chars.map((ch) => utils.escapeRegex(ch)).join("")}]`;
3106
+ return `${source}*`;
3107
+ };
3108
+ var repeatedExtglobRecursion = (pattern) => {
3109
+ let depth = 0;
3110
+ let value = pattern.trim();
3111
+ let match = parseRepeatedExtglob(value);
3112
+ while (match) {
3113
+ depth++;
3114
+ value = match.body.trim();
3115
+ match = parseRepeatedExtglob(value);
3116
+ }
3117
+ return depth;
3118
+ };
3119
+ var analyzeRepeatedExtglob = (body, options) => {
3120
+ if (options.maxExtglobRecursion === false) {
3121
+ return { risky: false };
3122
+ }
3123
+ const max = typeof options.maxExtglobRecursion === "number" ? options.maxExtglobRecursion : constants2.DEFAULT_MAX_EXTGLOB_RECURSION;
3124
+ const branches = splitTopLevel(body).map((branch) => branch.trim());
3125
+ if (branches.length > 1) {
3126
+ if (branches.some((branch) => branch === "") || branches.some((branch) => /^[*?]+$/.test(branch)) || hasRepeatedCharPrefixOverlap(branches)) {
3127
+ return { risky: true };
3128
+ }
3129
+ }
3130
+ for (const branch of branches) {
3131
+ const safeOutput = getStarExtglobSequenceOutput(branch);
3132
+ if (safeOutput) {
3133
+ return { risky: true, safeOutput };
3134
+ }
3135
+ if (repeatedExtglobRecursion(branch) > max) {
3136
+ return { risky: true };
3137
+ }
3138
+ }
3139
+ return { risky: false };
3140
+ };
2659
3141
  var parse2 = (input, options) => {
2660
3142
  if (typeof input !== "string") {
2661
3143
  throw new TypeError("Expected a string");
@@ -2787,6 +3269,8 @@ var require_parse2 = __commonJS({
2787
3269
  token.prev = prev;
2788
3270
  token.parens = state.parens;
2789
3271
  token.output = state.output;
3272
+ token.startIndex = state.index;
3273
+ token.tokensIndex = tokens.length;
2790
3274
  const output = (opts.capture ? "(" : "") + token.open;
2791
3275
  increment("parens");
2792
3276
  push({ type, value: value2, output: state.output ? "" : ONE_CHAR });
@@ -2794,6 +3278,26 @@ var require_parse2 = __commonJS({
2794
3278
  extglobs.push(token);
2795
3279
  };
2796
3280
  const extglobClose = (token) => {
3281
+ const literal = input.slice(token.startIndex, state.index + 1);
3282
+ const body = input.slice(token.startIndex + 2, state.index);
3283
+ const analysis = analyzeRepeatedExtglob(body, opts);
3284
+ if ((token.type === "plus" || token.type === "star") && analysis.risky) {
3285
+ const safeOutput = analysis.safeOutput ? (token.output ? "" : ONE_CHAR) + (opts.capture ? `(${analysis.safeOutput})` : analysis.safeOutput) : void 0;
3286
+ const open = tokens[token.tokensIndex];
3287
+ open.type = "text";
3288
+ open.value = literal;
3289
+ open.output = safeOutput || utils.escapeRegex(literal);
3290
+ for (let i = token.tokensIndex + 1; i < tokens.length; i++) {
3291
+ tokens[i].value = "";
3292
+ tokens[i].output = "";
3293
+ delete tokens[i].suffix;
3294
+ }
3295
+ state.output = token.output + open.output;
3296
+ state.backtrack = true;
3297
+ push({ type: "paren", extglob: true, value, output: "" });
3298
+ decrement("parens");
3299
+ return;
3300
+ }
2797
3301
  let output = token.close + (opts.capture ? ")" : "");
2798
3302
  let rest;
2799
3303
  if (token.type === "negate") {
@@ -3047,8 +3551,8 @@ var require_parse2 = __commonJS({
3047
3551
  brace.value = brace.output = "\\{";
3048
3552
  value = output = "\\}";
3049
3553
  state.output = out;
3050
- for (const t of toks) {
3051
- state.output += t.output || t.value;
3554
+ for (const t2 of toks) {
3555
+ state.output += t2.output || t2.value;
3052
3556
  }
3053
3557
  }
3054
3558
  push({ type: "brace", value, output });
@@ -3400,11 +3904,11 @@ var require_parse2 = __commonJS({
3400
3904
  }
3401
3905
  });
3402
3906
 
3403
- // node_modules/.bun/picomatch@2.3.1/node_modules/picomatch/lib/picomatch.js
3907
+ // node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/picomatch.js
3404
3908
  var require_picomatch = __commonJS({
3405
- "node_modules/.bun/picomatch@2.3.1/node_modules/picomatch/lib/picomatch.js"(exports, module) {
3909
+ "node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/picomatch.js"(exports, module) {
3406
3910
  "use strict";
3407
- init_utils();
3911
+ init_utils2();
3408
3912
  var path = __require("path");
3409
3913
  var scan = require_scan();
3410
3914
  var parse2 = require_parse2();
@@ -3542,11 +4046,11 @@ var require_picomatch = __commonJS({
3542
4046
  }
3543
4047
  });
3544
4048
 
3545
- // node_modules/.bun/picomatch@2.3.1/node_modules/picomatch/index.js
4049
+ // node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/index.js
3546
4050
  var require_picomatch2 = __commonJS({
3547
- "node_modules/.bun/picomatch@2.3.1/node_modules/picomatch/index.js"(exports, module) {
4051
+ "node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/index.js"(exports, module) {
3548
4052
  "use strict";
3549
- init_utils();
4053
+ init_utils2();
3550
4054
  module.exports = require_picomatch();
3551
4055
  }
3552
4056
  });
@@ -3555,7 +4059,7 @@ var require_picomatch2 = __commonJS({
3555
4059
  var require_micromatch = __commonJS({
3556
4060
  "node_modules/.bun/micromatch@4.0.8/node_modules/micromatch/index.js"(exports, module) {
3557
4061
  "use strict";
3558
- init_utils();
4062
+ init_utils2();
3559
4063
  var util = __require("util");
3560
4064
  var braces = require_braces();
3561
4065
  var picomatch = require_picomatch2();
@@ -3717,7 +4221,7 @@ var require_micromatch = __commonJS({
3717
4221
  var require_pattern = __commonJS({
3718
4222
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/utils/pattern.js"(exports) {
3719
4223
  "use strict";
3720
- init_utils();
4224
+ init_utils2();
3721
4225
  Object.defineProperty(exports, "__esModule", { value: true });
3722
4226
  exports.isAbsolute = exports.partitionAbsoluteAndRelative = exports.removeDuplicateSlashes = exports.matchAny = exports.convertPatternsToRe = exports.makeRe = exports.getPatternParts = exports.expandBraceExpansion = exports.expandPatternsWithBraceExpansion = exports.isAffectDepthOfReadingPattern = exports.endsWithSlashGlobStar = exports.hasGlobStar = exports.getBaseDirectory = exports.isPatternRelatedToParentDirectory = exports.getPatternsOutsideCurrentDirectory = exports.getPatternsInsideCurrentDirectory = exports.getPositivePatterns = exports.getNegativePatterns = exports.isPositivePattern = exports.isNegativePattern = exports.convertToNegativePattern = exports.convertToPositivePattern = exports.isDynamicPattern = exports.isStaticPattern = void 0;
3723
4227
  var path = __require("path");
@@ -3827,7 +4331,7 @@ var require_pattern = __commonJS({
3827
4331
  exports.expandPatternsWithBraceExpansion = expandPatternsWithBraceExpansion;
3828
4332
  function expandBraceExpansion(pattern) {
3829
4333
  const patterns = micromatch.braces(pattern, { expand: true, nodupes: true, keepEscaping: true });
3830
- patterns.sort((a, b2) => a.length - b2.length);
4334
+ patterns.sort((a, b) => a.length - b.length);
3831
4335
  return patterns.filter((pattern2) => pattern2 !== "");
3832
4336
  }
3833
4337
  exports.expandBraceExpansion = expandBraceExpansion;
@@ -3883,7 +4387,7 @@ var require_pattern = __commonJS({
3883
4387
  var require_merge2 = __commonJS({
3884
4388
  "node_modules/.bun/merge2@1.4.1/node_modules/merge2/index.js"(exports, module) {
3885
4389
  "use strict";
3886
- init_utils();
4390
+ init_utils2();
3887
4391
  var Stream = __require("stream");
3888
4392
  var PassThrough = Stream.PassThrough;
3889
4393
  var slice = Array.prototype.slice;
@@ -4003,7 +4507,7 @@ var require_merge2 = __commonJS({
4003
4507
  var require_stream = __commonJS({
4004
4508
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/utils/stream.js"(exports) {
4005
4509
  "use strict";
4006
- init_utils();
4510
+ init_utils2();
4007
4511
  Object.defineProperty(exports, "__esModule", { value: true });
4008
4512
  exports.merge = void 0;
4009
4513
  var merge2 = require_merge2();
@@ -4027,7 +4531,7 @@ var require_stream = __commonJS({
4027
4531
  var require_string = __commonJS({
4028
4532
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/utils/string.js"(exports) {
4029
4533
  "use strict";
4030
- init_utils();
4534
+ init_utils2();
4031
4535
  Object.defineProperty(exports, "__esModule", { value: true });
4032
4536
  exports.isEmpty = exports.isString = void 0;
4033
4537
  function isString(input) {
@@ -4045,7 +4549,7 @@ var require_string = __commonJS({
4045
4549
  var require_utils3 = __commonJS({
4046
4550
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/utils/index.js"(exports) {
4047
4551
  "use strict";
4048
- init_utils();
4552
+ init_utils2();
4049
4553
  Object.defineProperty(exports, "__esModule", { value: true });
4050
4554
  exports.string = exports.stream = exports.pattern = exports.path = exports.fs = exports.errno = exports.array = void 0;
4051
4555
  var array = require_array();
@@ -4069,7 +4573,7 @@ var require_utils3 = __commonJS({
4069
4573
  var require_tasks = __commonJS({
4070
4574
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/managers/tasks.js"(exports) {
4071
4575
  "use strict";
4072
- init_utils();
4576
+ init_utils2();
4073
4577
  Object.defineProperty(exports, "__esModule", { value: true });
4074
4578
  exports.convertPatternGroupToTask = exports.convertPatternGroupsToTasks = exports.groupPatternsByBaseDirectory = exports.getNegativePatternsAsPositive = exports.getPositivePatterns = exports.convertPatternsToTasks = exports.generate = void 0;
4075
4579
  var utils = require_utils3();
@@ -4166,7 +4670,7 @@ var require_tasks = __commonJS({
4166
4670
  var require_async = __commonJS({
4167
4671
  "node_modules/.bun/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/async.js"(exports) {
4168
4672
  "use strict";
4169
- init_utils();
4673
+ init_utils2();
4170
4674
  Object.defineProperty(exports, "__esModule", { value: true });
4171
4675
  exports.read = void 0;
4172
4676
  function read(path, settings, callback) {
@@ -4209,7 +4713,7 @@ var require_async = __commonJS({
4209
4713
  var require_sync = __commonJS({
4210
4714
  "node_modules/.bun/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/sync.js"(exports) {
4211
4715
  "use strict";
4212
- init_utils();
4716
+ init_utils2();
4213
4717
  Object.defineProperty(exports, "__esModule", { value: true });
4214
4718
  exports.read = void 0;
4215
4719
  function read(path, settings) {
@@ -4238,7 +4742,7 @@ var require_sync = __commonJS({
4238
4742
  var require_fs2 = __commonJS({
4239
4743
  "node_modules/.bun/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/adapters/fs.js"(exports) {
4240
4744
  "use strict";
4241
- init_utils();
4745
+ init_utils2();
4242
4746
  Object.defineProperty(exports, "__esModule", { value: true });
4243
4747
  exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
4244
4748
  var fs2 = __require("fs");
@@ -4262,7 +4766,7 @@ var require_fs2 = __commonJS({
4262
4766
  var require_settings = __commonJS({
4263
4767
  "node_modules/.bun/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/settings.js"(exports) {
4264
4768
  "use strict";
4265
- init_utils();
4769
+ init_utils2();
4266
4770
  Object.defineProperty(exports, "__esModule", { value: true });
4267
4771
  var fs2 = require_fs2();
4268
4772
  var Settings = class {
@@ -4285,7 +4789,7 @@ var require_settings = __commonJS({
4285
4789
  var require_out = __commonJS({
4286
4790
  "node_modules/.bun/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/index.js"(exports) {
4287
4791
  "use strict";
4288
- init_utils();
4792
+ init_utils2();
4289
4793
  Object.defineProperty(exports, "__esModule", { value: true });
4290
4794
  exports.statSync = exports.stat = exports.Settings = void 0;
4291
4795
  var async = require_async();
@@ -4317,7 +4821,7 @@ var require_out = __commonJS({
4317
4821
  // node_modules/.bun/queue-microtask@1.2.3/node_modules/queue-microtask/index.js
4318
4822
  var require_queue_microtask = __commonJS({
4319
4823
  "node_modules/.bun/queue-microtask@1.2.3/node_modules/queue-microtask/index.js"(exports, module) {
4320
- init_utils();
4824
+ init_utils2();
4321
4825
  var promise;
4322
4826
  module.exports = typeof queueMicrotask === "function" ? queueMicrotask.bind(typeof window !== "undefined" ? window : global) : (cb) => (promise || (promise = Promise.resolve())).then(cb).catch((err) => setTimeout(() => {
4323
4827
  throw err;
@@ -4328,7 +4832,7 @@ var require_queue_microtask = __commonJS({
4328
4832
  // node_modules/.bun/run-parallel@1.2.0/node_modules/run-parallel/index.js
4329
4833
  var require_run_parallel = __commonJS({
4330
4834
  "node_modules/.bun/run-parallel@1.2.0/node_modules/run-parallel/index.js"(exports, module) {
4331
- init_utils();
4835
+ init_utils2();
4332
4836
  module.exports = runParallel;
4333
4837
  var queueMicrotask2 = require_queue_microtask();
4334
4838
  function runParallel(tasks, cb) {
@@ -4380,7 +4884,7 @@ var require_run_parallel = __commonJS({
4380
4884
  var require_constants3 = __commonJS({
4381
4885
  "node_modules/.bun/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/constants.js"(exports) {
4382
4886
  "use strict";
4383
- init_utils();
4887
+ init_utils2();
4384
4888
  Object.defineProperty(exports, "__esModule", { value: true });
4385
4889
  exports.IS_SUPPORT_READDIR_WITH_FILE_TYPES = void 0;
4386
4890
  var NODE_PROCESS_VERSION_PARTS = process.versions.node.split(".");
@@ -4401,7 +4905,7 @@ var require_constants3 = __commonJS({
4401
4905
  var require_fs3 = __commonJS({
4402
4906
  "node_modules/.bun/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/fs.js"(exports) {
4403
4907
  "use strict";
4404
- init_utils();
4908
+ init_utils2();
4405
4909
  Object.defineProperty(exports, "__esModule", { value: true });
4406
4910
  exports.createDirentFromStats = void 0;
4407
4911
  var DirentFromStats = class {
@@ -4427,7 +4931,7 @@ var require_fs3 = __commonJS({
4427
4931
  var require_utils4 = __commonJS({
4428
4932
  "node_modules/.bun/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/index.js"(exports) {
4429
4933
  "use strict";
4430
- init_utils();
4934
+ init_utils2();
4431
4935
  Object.defineProperty(exports, "__esModule", { value: true });
4432
4936
  exports.fs = void 0;
4433
4937
  var fs2 = require_fs3();
@@ -4439,14 +4943,14 @@ var require_utils4 = __commonJS({
4439
4943
  var require_common = __commonJS({
4440
4944
  "node_modules/.bun/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/common.js"(exports) {
4441
4945
  "use strict";
4442
- init_utils();
4946
+ init_utils2();
4443
4947
  Object.defineProperty(exports, "__esModule", { value: true });
4444
4948
  exports.joinPathSegments = void 0;
4445
- function joinPathSegments(a, b2, separator) {
4949
+ function joinPathSegments(a, b, separator) {
4446
4950
  if (a.endsWith(separator)) {
4447
- return a + b2;
4951
+ return a + b;
4448
4952
  }
4449
- return a + separator + b2;
4953
+ return a + separator + b;
4450
4954
  }
4451
4955
  exports.joinPathSegments = joinPathSegments;
4452
4956
  }
@@ -4456,7 +4960,7 @@ var require_common = __commonJS({
4456
4960
  var require_async2 = __commonJS({
4457
4961
  "node_modules/.bun/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/async.js"(exports) {
4458
4962
  "use strict";
4459
- init_utils();
4963
+ init_utils2();
4460
4964
  Object.defineProperty(exports, "__esModule", { value: true });
4461
4965
  exports.readdir = exports.readdirWithFileTypes = exports.read = void 0;
4462
4966
  var fsStat = require_out();
@@ -4567,7 +5071,7 @@ var require_async2 = __commonJS({
4567
5071
  var require_sync2 = __commonJS({
4568
5072
  "node_modules/.bun/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/sync.js"(exports) {
4569
5073
  "use strict";
4570
- init_utils();
5074
+ init_utils2();
4571
5075
  Object.defineProperty(exports, "__esModule", { value: true });
4572
5076
  exports.readdir = exports.readdirWithFileTypes = exports.read = void 0;
4573
5077
  var fsStat = require_out();
@@ -4627,7 +5131,7 @@ var require_sync2 = __commonJS({
4627
5131
  var require_fs4 = __commonJS({
4628
5132
  "node_modules/.bun/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/adapters/fs.js"(exports) {
4629
5133
  "use strict";
4630
- init_utils();
5134
+ init_utils2();
4631
5135
  Object.defineProperty(exports, "__esModule", { value: true });
4632
5136
  exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
4633
5137
  var fs2 = __require("fs");
@@ -4653,7 +5157,7 @@ var require_fs4 = __commonJS({
4653
5157
  var require_settings2 = __commonJS({
4654
5158
  "node_modules/.bun/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/settings.js"(exports) {
4655
5159
  "use strict";
4656
- init_utils();
5160
+ init_utils2();
4657
5161
  Object.defineProperty(exports, "__esModule", { value: true });
4658
5162
  var path = __require("path");
4659
5163
  var fsStat = require_out();
@@ -4684,7 +5188,7 @@ var require_settings2 = __commonJS({
4684
5188
  var require_out2 = __commonJS({
4685
5189
  "node_modules/.bun/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/index.js"(exports) {
4686
5190
  "use strict";
4687
- init_utils();
5191
+ init_utils2();
4688
5192
  Object.defineProperty(exports, "__esModule", { value: true });
4689
5193
  exports.Settings = exports.scandirSync = exports.scandir = void 0;
4690
5194
  var async = require_async2();
@@ -4717,7 +5221,7 @@ var require_out2 = __commonJS({
4717
5221
  var require_reusify = __commonJS({
4718
5222
  "node_modules/.bun/reusify@1.1.0/node_modules/reusify/reusify.js"(exports, module) {
4719
5223
  "use strict";
4720
- init_utils();
5224
+ init_utils2();
4721
5225
  function reusify(Constructor) {
4722
5226
  var head = new Constructor();
4723
5227
  var tail = head;
@@ -4749,7 +5253,7 @@ var require_reusify = __commonJS({
4749
5253
  var require_queue = __commonJS({
4750
5254
  "node_modules/.bun/fastq@1.20.1/node_modules/fastq/queue.js"(exports, module) {
4751
5255
  "use strict";
4752
- init_utils();
5256
+ init_utils2();
4753
5257
  var reusify = require_reusify();
4754
5258
  function fastqueue(context, worker, _concurrency) {
4755
5259
  if (typeof context === "function") {
@@ -5034,7 +5538,7 @@ var require_queue = __commonJS({
5034
5538
  var require_common2 = __commonJS({
5035
5539
  "node_modules/.bun/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/common.js"(exports) {
5036
5540
  "use strict";
5037
- init_utils();
5541
+ init_utils2();
5038
5542
  Object.defineProperty(exports, "__esModule", { value: true });
5039
5543
  exports.joinPathSegments = exports.replacePathSegmentSeparator = exports.isAppliedFilter = exports.isFatalError = void 0;
5040
5544
  function isFatalError(settings, error2) {
@@ -5052,14 +5556,14 @@ var require_common2 = __commonJS({
5052
5556
  return filepath.split(/[/\\]/).join(separator);
5053
5557
  }
5054
5558
  exports.replacePathSegmentSeparator = replacePathSegmentSeparator;
5055
- function joinPathSegments(a, b2, separator) {
5559
+ function joinPathSegments(a, b, separator) {
5056
5560
  if (a === "") {
5057
- return b2;
5561
+ return b;
5058
5562
  }
5059
5563
  if (a.endsWith(separator)) {
5060
- return a + b2;
5564
+ return a + b;
5061
5565
  }
5062
- return a + separator + b2;
5566
+ return a + separator + b;
5063
5567
  }
5064
5568
  exports.joinPathSegments = joinPathSegments;
5065
5569
  }
@@ -5069,7 +5573,7 @@ var require_common2 = __commonJS({
5069
5573
  var require_reader = __commonJS({
5070
5574
  "node_modules/.bun/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/reader.js"(exports) {
5071
5575
  "use strict";
5072
- init_utils();
5576
+ init_utils2();
5073
5577
  Object.defineProperty(exports, "__esModule", { value: true });
5074
5578
  var common = require_common2();
5075
5579
  var Reader = class {
@@ -5087,7 +5591,7 @@ var require_reader = __commonJS({
5087
5591
  var require_async3 = __commonJS({
5088
5592
  "node_modules/.bun/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/async.js"(exports) {
5089
5593
  "use strict";
5090
- init_utils();
5594
+ init_utils2();
5091
5595
  Object.defineProperty(exports, "__esModule", { value: true });
5092
5596
  var events_1 = __require("events");
5093
5597
  var fsScandir = require_out2();
@@ -5191,7 +5695,7 @@ var require_async3 = __commonJS({
5191
5695
  var require_async4 = __commonJS({
5192
5696
  "node_modules/.bun/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/async.js"(exports) {
5193
5697
  "use strict";
5194
- init_utils();
5698
+ init_utils2();
5195
5699
  Object.defineProperty(exports, "__esModule", { value: true });
5196
5700
  var async_1 = require_async3();
5197
5701
  var AsyncProvider = class {
@@ -5228,7 +5732,7 @@ var require_async4 = __commonJS({
5228
5732
  var require_stream2 = __commonJS({
5229
5733
  "node_modules/.bun/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/stream.js"(exports) {
5230
5734
  "use strict";
5231
- init_utils();
5735
+ init_utils2();
5232
5736
  Object.defineProperty(exports, "__esModule", { value: true });
5233
5737
  var stream_1 = __require("stream");
5234
5738
  var async_1 = require_async3();
@@ -5270,7 +5774,7 @@ var require_stream2 = __commonJS({
5270
5774
  var require_sync3 = __commonJS({
5271
5775
  "node_modules/.bun/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/sync.js"(exports) {
5272
5776
  "use strict";
5273
- init_utils();
5777
+ init_utils2();
5274
5778
  Object.defineProperty(exports, "__esModule", { value: true });
5275
5779
  var fsScandir = require_out2();
5276
5780
  var common = require_common2();
@@ -5335,7 +5839,7 @@ var require_sync3 = __commonJS({
5335
5839
  var require_sync4 = __commonJS({
5336
5840
  "node_modules/.bun/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/sync.js"(exports) {
5337
5841
  "use strict";
5338
- init_utils();
5842
+ init_utils2();
5339
5843
  Object.defineProperty(exports, "__esModule", { value: true });
5340
5844
  var sync_1 = require_sync3();
5341
5845
  var SyncProvider = class {
@@ -5356,7 +5860,7 @@ var require_sync4 = __commonJS({
5356
5860
  var require_settings3 = __commonJS({
5357
5861
  "node_modules/.bun/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/settings.js"(exports) {
5358
5862
  "use strict";
5359
- init_utils();
5863
+ init_utils2();
5360
5864
  Object.defineProperty(exports, "__esModule", { value: true });
5361
5865
  var path = __require("path");
5362
5866
  var fsScandir = require_out2();
@@ -5389,7 +5893,7 @@ var require_settings3 = __commonJS({
5389
5893
  var require_out3 = __commonJS({
5390
5894
  "node_modules/.bun/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/index.js"(exports) {
5391
5895
  "use strict";
5392
- init_utils();
5896
+ init_utils2();
5393
5897
  Object.defineProperty(exports, "__esModule", { value: true });
5394
5898
  exports.Settings = exports.walkStream = exports.walkSync = exports.walk = void 0;
5395
5899
  var async_1 = require_async4();
@@ -5430,7 +5934,7 @@ var require_out3 = __commonJS({
5430
5934
  var require_reader2 = __commonJS({
5431
5935
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/readers/reader.js"(exports) {
5432
5936
  "use strict";
5433
- init_utils();
5937
+ init_utils2();
5434
5938
  Object.defineProperty(exports, "__esModule", { value: true });
5435
5939
  var path = __require("path");
5436
5940
  var fsStat = require_out();
@@ -5470,7 +5974,7 @@ var require_reader2 = __commonJS({
5470
5974
  var require_stream3 = __commonJS({
5471
5975
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/readers/stream.js"(exports) {
5472
5976
  "use strict";
5473
- init_utils();
5977
+ init_utils2();
5474
5978
  Object.defineProperty(exports, "__esModule", { value: true });
5475
5979
  var stream_1 = __require("stream");
5476
5980
  var fsStat = require_out();
@@ -5528,7 +6032,7 @@ var require_stream3 = __commonJS({
5528
6032
  var require_async5 = __commonJS({
5529
6033
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/readers/async.js"(exports) {
5530
6034
  "use strict";
5531
- init_utils();
6035
+ init_utils2();
5532
6036
  Object.defineProperty(exports, "__esModule", { value: true });
5533
6037
  var fsWalk = require_out3();
5534
6038
  var reader_1 = require_reader2();
@@ -5568,7 +6072,7 @@ var require_async5 = __commonJS({
5568
6072
  var require_matcher = __commonJS({
5569
6073
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/providers/matchers/matcher.js"(exports) {
5570
6074
  "use strict";
5571
- init_utils();
6075
+ init_utils2();
5572
6076
  Object.defineProperty(exports, "__esModule", { value: true });
5573
6077
  var utils = require_utils3();
5574
6078
  var Matcher = class {
@@ -5620,7 +6124,7 @@ var require_matcher = __commonJS({
5620
6124
  var require_partial = __commonJS({
5621
6125
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/providers/matchers/partial.js"(exports) {
5622
6126
  "use strict";
5623
- init_utils();
6127
+ init_utils2();
5624
6128
  Object.defineProperty(exports, "__esModule", { value: true });
5625
6129
  var matcher_1 = require_matcher();
5626
6130
  var PartialMatcher = class extends matcher_1.default {
@@ -5658,7 +6162,7 @@ var require_partial = __commonJS({
5658
6162
  var require_deep = __commonJS({
5659
6163
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/deep.js"(exports) {
5660
6164
  "use strict";
5661
- init_utils();
6165
+ init_utils2();
5662
6166
  Object.defineProperty(exports, "__esModule", { value: true });
5663
6167
  var utils = require_utils3();
5664
6168
  var partial_1 = require_partial();
@@ -5724,7 +6228,7 @@ var require_deep = __commonJS({
5724
6228
  var require_entry = __commonJS({
5725
6229
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/entry.js"(exports) {
5726
6230
  "use strict";
5727
- init_utils();
6231
+ init_utils2();
5728
6232
  Object.defineProperty(exports, "__esModule", { value: true });
5729
6233
  var utils = require_utils3();
5730
6234
  var EntryFilter = class {
@@ -5813,7 +6317,7 @@ var require_entry = __commonJS({
5813
6317
  var require_error = __commonJS({
5814
6318
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/error.js"(exports) {
5815
6319
  "use strict";
5816
- init_utils();
6320
+ init_utils2();
5817
6321
  Object.defineProperty(exports, "__esModule", { value: true });
5818
6322
  var utils = require_utils3();
5819
6323
  var ErrorFilter = class {
@@ -5835,7 +6339,7 @@ var require_error = __commonJS({
5835
6339
  var require_entry2 = __commonJS({
5836
6340
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/providers/transformers/entry.js"(exports) {
5837
6341
  "use strict";
5838
- init_utils();
6342
+ init_utils2();
5839
6343
  Object.defineProperty(exports, "__esModule", { value: true });
5840
6344
  var utils = require_utils3();
5841
6345
  var EntryTransformer = class {
@@ -5868,7 +6372,7 @@ var require_entry2 = __commonJS({
5868
6372
  var require_provider = __commonJS({
5869
6373
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/providers/provider.js"(exports) {
5870
6374
  "use strict";
5871
- init_utils();
6375
+ init_utils2();
5872
6376
  Object.defineProperty(exports, "__esModule", { value: true });
5873
6377
  var path = __require("path");
5874
6378
  var deep_1 = require_deep();
@@ -5923,7 +6427,7 @@ var require_provider = __commonJS({
5923
6427
  var require_async6 = __commonJS({
5924
6428
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/providers/async.js"(exports) {
5925
6429
  "use strict";
5926
- init_utils();
6430
+ init_utils2();
5927
6431
  Object.defineProperty(exports, "__esModule", { value: true });
5928
6432
  var async_1 = require_async5();
5929
6433
  var provider_1 = require_provider();
@@ -5953,7 +6457,7 @@ var require_async6 = __commonJS({
5953
6457
  var require_stream4 = __commonJS({
5954
6458
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/providers/stream.js"(exports) {
5955
6459
  "use strict";
5956
- init_utils();
6460
+ init_utils2();
5957
6461
  Object.defineProperty(exports, "__esModule", { value: true });
5958
6462
  var stream_1 = __require("stream");
5959
6463
  var stream_2 = require_stream3();
@@ -5988,7 +6492,7 @@ var require_stream4 = __commonJS({
5988
6492
  var require_sync5 = __commonJS({
5989
6493
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/readers/sync.js"(exports) {
5990
6494
  "use strict";
5991
- init_utils();
6495
+ init_utils2();
5992
6496
  Object.defineProperty(exports, "__esModule", { value: true });
5993
6497
  var fsStat = require_out();
5994
6498
  var fsWalk = require_out3();
@@ -6037,7 +6541,7 @@ var require_sync5 = __commonJS({
6037
6541
  var require_sync6 = __commonJS({
6038
6542
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/providers/sync.js"(exports) {
6039
6543
  "use strict";
6040
- init_utils();
6544
+ init_utils2();
6041
6545
  Object.defineProperty(exports, "__esModule", { value: true });
6042
6546
  var sync_1 = require_sync5();
6043
6547
  var provider_1 = require_provider();
@@ -6067,7 +6571,7 @@ var require_sync6 = __commonJS({
6067
6571
  var require_settings4 = __commonJS({
6068
6572
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/settings.js"(exports) {
6069
6573
  "use strict";
6070
- init_utils();
6574
+ init_utils2();
6071
6575
  Object.defineProperty(exports, "__esModule", { value: true });
6072
6576
  exports.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;
6073
6577
  var fs2 = __require("fs");
@@ -6128,7 +6632,7 @@ var require_settings4 = __commonJS({
6128
6632
  var require_out4 = __commonJS({
6129
6633
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/index.js"(exports, module) {
6130
6634
  "use strict";
6131
- init_utils();
6635
+ init_utils2();
6132
6636
  var taskManager = require_tasks();
6133
6637
  var async_1 = require_async6();
6134
6638
  var stream_1 = require_stream4();
@@ -6247,7 +6751,7 @@ var I18N_PATHS, SCAN_PATTERNS, GLOB_OPTIONS;
6247
6751
  var init_constants = __esm({
6248
6752
  "packages/core/config/constants.js"() {
6249
6753
  "use strict";
6250
- init_utils();
6754
+ init_utils2();
6251
6755
  I18N_PATHS = {
6252
6756
  // Monorepo source structure (locales at root, not in src/)
6253
6757
  SOURCE_ROOT: "packages/core/i18n",
@@ -6409,7 +6913,7 @@ var import_fast_glob, constants, log2, PACKAGE_PATHS, PathResolver;
6409
6913
  var init_PathResolver = __esm({
6410
6914
  "packages/core/config/utils/PathResolver.ts"() {
6411
6915
  "use strict";
6412
- init_utils();
6916
+ init_utils2();
6413
6917
  import_fast_glob = __toESM(require_out4(), 1);
6414
6918
  init_constants();
6415
6919
  constants = {
@@ -7413,7 +7917,7 @@ var pathResolverInstance, normalizePath, pathExists, readSync, statSync2, joinPa
7413
7917
  var init_pathResolver = __esm({
7414
7918
  "packages/tooling/src/utils/pathResolver.ts"() {
7415
7919
  "use strict";
7416
- init_utils();
7920
+ init_utils2();
7417
7921
  init_PathResolver();
7418
7922
  pathResolverInstance = PathResolver.getInstance({ debug: false });
7419
7923
  normalizePath = (...pathSegments) => {
@@ -7450,7 +7954,7 @@ function readPackageJson(filePath) {
7450
7954
  var init_typed_file_operations = __esm({
7451
7955
  "packages/tooling/src/utils/typed-file-operations.ts"() {
7452
7956
  "use strict";
7453
- init_utils();
7957
+ init_utils2();
7454
7958
  init_errors();
7455
7959
  init_pathResolver();
7456
7960
  }
@@ -7464,7 +7968,7 @@ import { dirname as dirname3, resolve as resolve3 } from "node:path";
7464
7968
  import process from "node:process";
7465
7969
  import { fileURLToPath as fileURLToPath3 } from "node:url";
7466
7970
  var require2, __filename, __dirname;
7467
- var init_utils = __esm({
7971
+ var init_utils2 = __esm({
7468
7972
  "packages/tooling/src/bundler/utils.ts"() {
7469
7973
  "use strict";
7470
7974
  require2 = createRequire3(import.meta.url);
@@ -7484,6 +7988,14 @@ var init_utils = __esm({
7484
7988
  });
7485
7989
 
7486
7990
  // packages/tooling/src/utils/app-detection.ts
7991
+ function createRootAppInfo(projectRoot) {
7992
+ return {
7993
+ name: "root",
7994
+ packageName: "root",
7995
+ path: projectRoot,
7996
+ framework: "vite"
7997
+ };
7998
+ }
7487
7999
  function detectApps(projectRoot) {
7488
8000
  const apps = [];
7489
8001
  const appsDir = joinPath(projectRoot, "apps");
@@ -7539,45 +8051,175 @@ function analyzeApp(appPath, appName) {
7539
8051
  } else if (pathExists(joinPath(appPath, "vite.config.ts")) || pathExists(joinPath(appPath, "vite.config.js")) || pathExists(joinPath(appPath, "vite.config.mjs")) || packageJson.dependencies?.vite || packageJson.devDependencies?.vite) {
7540
8052
  framework = "vite";
7541
8053
  }
7542
- const functionsPath = joinPath(appPath, "functions");
7543
- const functionsStat = statSync2(functionsPath);
7544
- const hasFunctions = pathExists(functionsPath) && (functionsStat?.isDirectory() ?? false);
7545
- let platform;
7546
- const firebaseJsonInFunctions = hasFunctions && pathExists(joinPath(functionsPath, "firebase.json"));
7547
- const firebaseJsonInApp = pathExists(joinPath(appPath, "firebase.json"));
7548
- if (firebaseJsonInFunctions || firebaseJsonInApp) {
7549
- platform = "firebase";
8054
+ const firebaseJsonPath = joinPath(appPath, "firebase.json");
8055
+ const hasFirebase = pathExists(firebaseJsonPath);
8056
+ const supabaseDir = joinPath(appPath, "supabase");
8057
+ const supabaseConfigPath = joinPath(supabaseDir, "config.toml");
8058
+ const hasSupabaseDep = !!(packageJson.dependencies?.["@donotdev/supabase"] || packageJson.dependencies?.["@supabase/supabase-js"]);
8059
+ let hasSupabase = pathExists(supabaseDir) || pathExists(supabaseConfigPath) || hasSupabaseDep;
8060
+ if (!hasSupabase) {
8061
+ try {
8062
+ const envPath = joinPath(appPath, ".env");
8063
+ if (pathExists(envPath)) {
8064
+ const envContent = readSync(envPath);
8065
+ if (envContent.match(/VITE_SUPABASE_URL=.+/)) {
8066
+ hasSupabase = true;
8067
+ }
8068
+ }
8069
+ } catch {
8070
+ }
8071
+ }
8072
+ let provider = "unknown";
8073
+ if (hasFirebase && hasSupabase) {
8074
+ provider = "both";
8075
+ } else if (hasFirebase) {
8076
+ provider = "firebase";
8077
+ } else if (hasSupabase) {
8078
+ provider = "supabase";
8079
+ }
8080
+ let firebaseConfig;
8081
+ if (hasFirebase) {
8082
+ try {
8083
+ const config = readSync(firebaseJsonPath, { format: "json" });
8084
+ if (config && typeof config === "object") {
8085
+ const fb = config;
8086
+ firebaseConfig = {
8087
+ projectId: fb.projectId,
8088
+ hasHosting: !!fb.hosting,
8089
+ hasFunctions: !!fb.functions,
8090
+ hasFirestoreRules: !!fb.firestore?.rules,
8091
+ hasStorageRules: !!fb.storage?.rules
8092
+ };
8093
+ }
8094
+ } catch {
8095
+ firebaseConfig = {
8096
+ hasHosting: false,
8097
+ hasFunctions: false,
8098
+ hasFirestoreRules: false,
8099
+ hasStorageRules: false
8100
+ };
8101
+ }
8102
+ }
8103
+ const supabaseFunctionsDir = joinPath(supabaseDir, "functions");
8104
+ const supabaseMigrationsDir = joinPath(supabaseDir, "migrations");
8105
+ let supabaseConfig;
8106
+ if (hasSupabase) {
8107
+ let url;
8108
+ try {
8109
+ const envPath = joinPath(appPath, ".env");
8110
+ if (pathExists(envPath)) {
8111
+ const envContent = readSync(envPath);
8112
+ const urlMatch = envContent.match(/VITE_SUPABASE_URL=(.+)/);
8113
+ if (urlMatch && urlMatch[1]) {
8114
+ url = urlMatch[1].trim();
8115
+ }
8116
+ }
8117
+ } catch {
8118
+ }
8119
+ supabaseConfig = {
8120
+ url,
8121
+ hasFunctions: pathExists(supabaseFunctionsDir),
8122
+ hasMigrations: pathExists(supabaseMigrationsDir)
8123
+ };
8124
+ }
8125
+ let functions;
8126
+ if (hasFirebase && firebaseConfig?.hasFunctions) {
8127
+ const firebaseFunctionsDir = joinPath(appPath, "functions");
8128
+ const firebaseFunctionsStat = statSync2(firebaseFunctionsDir);
8129
+ if (pathExists(firebaseFunctionsDir) && (firebaseFunctionsStat?.isDirectory() ?? false)) {
8130
+ functions = "firebase";
8131
+ }
7550
8132
  }
7551
- if (!platform) {
7552
- const supabaseConfigPath = joinPath(appPath, "supabase", "config.toml");
7553
- const hasSupabaseDep = !!(packageJson.dependencies?.["@donotdev/supabase"] || packageJson.dependencies?.["@supabase/supabase-js"]);
7554
- if (pathExists(supabaseConfigPath) || hasSupabaseDep) {
7555
- platform = "supabase";
8133
+ if (!functions && hasSupabase) {
8134
+ const sbFunctionsStat = statSync2(supabaseFunctionsDir);
8135
+ if (pathExists(supabaseFunctionsDir) && (sbFunctionsStat?.isDirectory() ?? false)) {
8136
+ functions = "supabase";
7556
8137
  }
7557
8138
  }
7558
- if (!platform) {
8139
+ if (!functions) {
7559
8140
  const vercelJsonPath = joinPath(appPath, "vercel.json");
7560
- if (pathExists(vercelJsonPath)) {
7561
- platform = "vercel";
8141
+ const apiDir = joinPath(appPath, "api");
8142
+ const apiDirStat = statSync2(apiDir);
8143
+ if (pathExists(vercelJsonPath) && pathExists(apiDir) && (apiDirStat?.isDirectory() ?? false)) {
8144
+ functions = "vercel";
8145
+ }
8146
+ }
8147
+ let hosting;
8148
+ if (hasFirebase && firebaseConfig?.hasHosting) {
8149
+ hosting = "firebase";
8150
+ }
8151
+ if (!hosting) {
8152
+ if (pathExists(joinPath(appPath, "vercel.json")) || pathExists(joinPath(appPath, ".vercel"))) {
8153
+ hosting = "vercel";
7562
8154
  }
7563
8155
  }
7564
8156
  return {
7565
8157
  name: appName,
7566
8158
  packageName: packageJson.name || appName,
7567
8159
  path: appPath,
7568
- packageJsonPath,
7569
8160
  framework,
7570
- hasFunctions,
7571
- functionsPath: hasFunctions ? functionsPath : void 0,
7572
- platform
8161
+ provider,
8162
+ functions,
8163
+ hosting,
8164
+ firebaseConfig,
8165
+ supabaseConfig
7573
8166
  };
7574
8167
  }
8168
+ function detectBackendFromProviders(appDir) {
8169
+ for (const candidate of PROVIDERS_CANDIDATES) {
8170
+ const filePath = joinPath(appDir, candidate);
8171
+ if (!pathExists(filePath)) continue;
8172
+ const content = readSync(filePath, { format: "text" });
8173
+ if (typeof content !== "string") continue;
8174
+ if (content.includes("@donotdev/firebase") || content.includes("FirebaseAuth") || content.includes("firebaseAuth")) {
8175
+ return "firebase";
8176
+ }
8177
+ if (content.includes("@donotdev/supabase") || content.includes("SupabaseAuth") || content.includes("supabaseAuth")) {
8178
+ return "supabase";
8179
+ }
8180
+ break;
8181
+ }
8182
+ return null;
8183
+ }
8184
+ function analyzeProjectTopology(projectRoot) {
8185
+ const apps = detectApps(projectRoot);
8186
+ const appBackends = /* @__PURE__ */ new Map();
8187
+ const backendOwners = /* @__PURE__ */ new Map();
8188
+ for (const app of apps) {
8189
+ let backend = app.provider === "firebase" || app.provider === "supabase" ? app.provider : null;
8190
+ if (!backend) {
8191
+ backend = detectBackendFromProviders(app.path);
8192
+ }
8193
+ appBackends.set(app.name, backend);
8194
+ if (pathExists(joinPath(app.path, "supabase", "config.toml"))) {
8195
+ backendOwners.set("supabase", app);
8196
+ }
8197
+ if (pathExists(joinPath(app.path, "firebase.json")) || pathExists(joinPath(app.path, "functions", "firebase.json"))) {
8198
+ backendOwners.set("firebase", app);
8199
+ }
8200
+ }
8201
+ return { apps, appBackends, backendOwners };
8202
+ }
8203
+ function findBackendApp(topology, appName) {
8204
+ const backend = topology.appBackends.get(appName);
8205
+ if (!backend) return void 0;
8206
+ return topology.backendOwners.get(backend);
8207
+ }
8208
+ var PROVIDERS_CANDIDATES;
7575
8209
  var init_app_detection = __esm({
7576
8210
  "packages/tooling/src/utils/app-detection.ts"() {
7577
8211
  "use strict";
7578
- init_utils();
8212
+ init_utils2();
7579
8213
  init_pathResolver();
7580
8214
  init_typed_file_operations();
8215
+ PROVIDERS_CANDIDATES = [
8216
+ "src/config/providers.ts",
8217
+ "src/config/providers.tsx",
8218
+ "src/providers.ts",
8219
+ "src/providers.tsx",
8220
+ "src/lib/providers.ts",
8221
+ "src/lib/providers.tsx"
8222
+ ];
7581
8223
  }
7582
8224
  });
7583
8225
 
@@ -7679,7 +8321,7 @@ var LEGACY_PATHS, warnedLegacy, cachedSecretsPath, cachedSecrets;
7679
8321
  var init_secrets_resolver = __esm({
7680
8322
  "packages/tooling/src/utils/secrets-resolver.ts"() {
7681
8323
  "use strict";
7682
- init_utils();
8324
+ init_utils2();
7683
8325
  init_cli_output();
7684
8326
  init_pathResolver();
7685
8327
  LEGACY_PATHS = {
@@ -7696,67 +8338,6 @@ var init_secrets_resolver = __esm({
7696
8338
  }
7697
8339
  });
7698
8340
 
7699
- // packages/tooling/src/utils/cross-app-detection.ts
7700
- function detectBackendFromProviders(appDir) {
7701
- for (const candidate of PROVIDERS_CANDIDATES) {
7702
- const filePath = joinPath(appDir, candidate);
7703
- if (!pathExists(filePath)) continue;
7704
- const content = readSync(filePath, { format: "text" });
7705
- if (typeof content !== "string") continue;
7706
- if (content.includes("@donotdev/firebase") || content.includes("FirebaseAuth") || content.includes("firebaseAuth")) {
7707
- return "firebase";
7708
- }
7709
- if (content.includes("@donotdev/supabase") || content.includes("SupabaseAuth") || content.includes("supabaseAuth")) {
7710
- return "supabase";
7711
- }
7712
- break;
7713
- }
7714
- return null;
7715
- }
7716
- function analyzeProjectTopology(projectRoot) {
7717
- const apps = detectApps(projectRoot);
7718
- const appBackends = /* @__PURE__ */ new Map();
7719
- const backendOwners = /* @__PURE__ */ new Map();
7720
- for (const app of apps) {
7721
- let backend = app.platform === "firebase" || app.platform === "supabase" ? app.platform : null;
7722
- if (!backend) {
7723
- backend = detectBackendFromProviders(app.path);
7724
- }
7725
- appBackends.set(app.name, backend);
7726
- if (pathExists(joinPath(app.path, "supabase", "config.toml"))) {
7727
- backendOwners.set("supabase", app);
7728
- }
7729
- if (pathExists(joinPath(app.path, "firebase.json")) || pathExists(joinPath(app.path, "functions", "firebase.json"))) {
7730
- backendOwners.set("firebase", app);
7731
- }
7732
- }
7733
- if (!backendOwners.has("firebase") && (pathExists(joinPath(projectRoot, "firebase.json")) || pathExists(joinPath(projectRoot, ".firebaserc")))) {
7734
- }
7735
- return { apps, appBackends, backendOwners };
7736
- }
7737
- function findBackendApp(topology, appName) {
7738
- const backend = topology.appBackends.get(appName);
7739
- if (!backend) return void 0;
7740
- return topology.backendOwners.get(backend);
7741
- }
7742
- var PROVIDERS_CANDIDATES;
7743
- var init_cross_app_detection = __esm({
7744
- "packages/tooling/src/utils/cross-app-detection.ts"() {
7745
- "use strict";
7746
- init_utils();
7747
- init_app_detection();
7748
- init_pathResolver();
7749
- PROVIDERS_CANDIDATES = [
7750
- "src/config/providers.ts",
7751
- "src/config/providers.tsx",
7752
- "src/providers.ts",
7753
- "src/providers.tsx",
7754
- "src/lib/providers.ts",
7755
- "src/lib/providers.tsx"
7756
- ];
7757
- }
7758
- });
7759
-
7760
8341
  // packages/tooling/src/cli/doctor/check-env.ts
7761
8342
  var check_env_exports = {};
7762
8343
  __export(check_env_exports, {
@@ -7783,7 +8364,7 @@ var envCheck;
7783
8364
  var init_check_env = __esm({
7784
8365
  "packages/tooling/src/cli/doctor/check-env.ts"() {
7785
8366
  "use strict";
7786
- init_utils();
8367
+ init_utils2();
7787
8368
  init_pathResolver();
7788
8369
  envCheck = {
7789
8370
  id: "env",
@@ -7878,8 +8459,8 @@ var firebaseCheck;
7878
8459
  var init_check_firebase = __esm({
7879
8460
  "packages/tooling/src/cli/doctor/check-firebase.ts"() {
7880
8461
  "use strict";
7881
- init_utils();
7882
- init_cross_app_detection();
8462
+ init_utils2();
8463
+ init_app_detection();
7883
8464
  init_pathResolver();
7884
8465
  firebaseCheck = {
7885
8466
  id: "firebase",
@@ -8025,7 +8606,7 @@ function isValidPublicKey(key) {
8025
8606
  var init_supabase = __esm({
8026
8607
  "packages/tooling/src/cli/setup/supabase.ts"() {
8027
8608
  "use strict";
8028
- init_utils();
8609
+ init_utils2();
8029
8610
  }
8030
8611
  });
8031
8612
 
@@ -8038,8 +8619,8 @@ var supabaseCheck;
8038
8619
  var init_check_supabase = __esm({
8039
8620
  "packages/tooling/src/cli/doctor/check-supabase.ts"() {
8040
8621
  "use strict";
8041
- init_utils();
8042
- init_cross_app_detection();
8622
+ init_utils2();
8623
+ init_app_detection();
8043
8624
  init_pathResolver();
8044
8625
  init_secrets_resolver();
8045
8626
  init_supabase();
@@ -8151,7 +8732,7 @@ var authCheck;
8151
8732
  var init_check_auth = __esm({
8152
8733
  "packages/tooling/src/cli/doctor/check-auth.ts"() {
8153
8734
  "use strict";
8154
- init_utils();
8735
+ init_utils2();
8155
8736
  init_pathResolver();
8156
8737
  authCheck = {
8157
8738
  id: "auth",
@@ -8178,7 +8759,7 @@ var init_check_auth = __esm({
8178
8759
  joinPath(ctx.appDir, "src", "config", "providers.ts"),
8179
8760
  joinPath(ctx.appDir, "src", "lib", "providers.ts")
8180
8761
  ];
8181
- const providerFile = candidates.find((c) => pathExists(c));
8762
+ const providerFile = candidates.find((c2) => pathExists(c2));
8182
8763
  if (providerFile) {
8183
8764
  results.push({
8184
8765
  name: "Providers config",
@@ -8241,19 +8822,19 @@ var init_check_auth = __esm({
8241
8822
  });
8242
8823
 
8243
8824
  // packages/cli/src/bin/commands/doctor.ts
8244
- init_utils();
8825
+ init_utils2();
8245
8826
 
8246
8827
  // packages/tooling/src/index.ts
8247
- init_utils();
8828
+ init_utils2();
8248
8829
 
8249
8830
  // packages/tooling/src/cli/index.ts
8250
- init_utils();
8831
+ init_utils2();
8251
8832
 
8252
8833
  // packages/tooling/src/cli/doctor/doctor.ts
8253
- init_utils();
8834
+ init_utils2();
8835
+ init_app_detection();
8254
8836
  init_cli_output();
8255
- init_cross_app_detection();
8256
- init_pathResolver();
8837
+ init_app_detection();
8257
8838
  var CHECK_REGISTRY = [
8258
8839
  { id: "env", load: async () => (await Promise.resolve().then(() => (init_check_env(), check_env_exports))).envCheck },
8259
8840
  {
@@ -8289,7 +8870,7 @@ function renderResults(allResults, verbose, multiApp) {
8289
8870
  }
8290
8871
  lines.push("");
8291
8872
  }
8292
- Me(lines.join("\n"), "Health Check Results");
8873
+ wt(lines.join("\n"), "Health Check Results");
8293
8874
  }
8294
8875
  function buildDoctorContext(app, projectRoot, topology, options) {
8295
8876
  const backendApp = findBackendApp(topology, app.name);
@@ -8303,29 +8884,20 @@ function buildDoctorContext(app, projectRoot, topology, options) {
8303
8884
  };
8304
8885
  }
8305
8886
  async function main(options = {}) {
8306
- Ie("DoNotDev Doctor");
8887
+ mt("DoNotDev Doctor");
8307
8888
  const projectRoot = process.cwd();
8308
8889
  const topology = analyzeProjectTopology(projectRoot);
8309
8890
  let apps = topology.apps;
8310
8891
  if (apps.length === 0) {
8311
- apps = [
8312
- {
8313
- name: "root",
8314
- packageName: "root",
8315
- path: projectRoot,
8316
- packageJsonPath: joinPath(projectRoot, "package.json"),
8317
- framework: "vite",
8318
- hasFunctions: false
8319
- }
8320
- ];
8892
+ apps = [createRootAppInfo(projectRoot)];
8321
8893
  }
8322
8894
  const multiApp = apps.length > 1;
8323
- const registry = options.check ? CHECK_REGISTRY.filter((e2) => e2.id === options.check) : CHECK_REGISTRY;
8895
+ const registry = options.check ? CHECK_REGISTRY.filter((e) => e.id === options.check) : CHECK_REGISTRY;
8324
8896
  if (options.check && registry.length === 0) {
8325
8897
  log.error(
8326
- `Unknown check: ${options.check}. Available: ${CHECK_REGISTRY.map((e2) => e2.id).join(", ")}`
8898
+ `Unknown check: ${options.check}. Available: ${CHECK_REGISTRY.map((e) => e.id).join(", ")}`
8327
8899
  );
8328
- Se("Doctor aborted.");
8900
+ gt("Doctor aborted.");
8329
8901
  return 1;
8330
8902
  }
8331
8903
  const allResults = [];
@@ -8337,14 +8909,14 @@ async function main(options = {}) {
8337
8909
  if (!check.isRelevant(ctx)) continue;
8338
8910
  const results = await check.run(ctx);
8339
8911
  allResults.push({ appName: app.name, checkName: check.name, results });
8340
- if (results.some((r2) => r2.status === "fail")) {
8912
+ if (results.some((r) => r.status === "fail")) {
8341
8913
  hasFail = true;
8342
8914
  }
8343
8915
  }
8344
8916
  }
8345
8917
  if (allResults.length === 0) {
8346
8918
  log.warn("No checks were relevant for this project.");
8347
- Se("Nothing to check.");
8919
+ gt("Nothing to check.");
8348
8920
  return 0;
8349
8921
  }
8350
8922
  renderResults(allResults, options.verbose ?? false, multiApp);
@@ -8352,10 +8924,10 @@ async function main(options = {}) {
8352
8924
  let warnings = 0;
8353
8925
  let fails = 0;
8354
8926
  for (const { results } of allResults) {
8355
- for (const r2 of results) {
8356
- if (r2.status === "pass") passes++;
8357
- else if (r2.status === "warn") warnings++;
8358
- else if (r2.status === "fail") fails++;
8927
+ for (const r of results) {
8928
+ if (r.status === "pass") passes++;
8929
+ else if (r.status === "warn") warnings++;
8930
+ else if (r.status === "fail") fails++;
8359
8931
  }
8360
8932
  }
8361
8933
  const totalChecks = passes + warnings + fails;
@@ -8363,7 +8935,7 @@ async function main(options = {}) {
8363
8935
  if (warnings > 0) summaryParts.push(`${warnings} warning(s)`);
8364
8936
  if (fails > 0) summaryParts.push(`${fails} failure(s)`);
8365
8937
  const exitCode = hasFail ? 1 : 0;
8366
- Se(
8938
+ gt(
8367
8939
  hasFail ? `Health check failed: ${summaryParts.join(", ")}` : `All clear: ${summaryParts.join(", ")}`
8368
8940
  );
8369
8941
  return exitCode;