@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');
@@ -33,11 +33,51 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
33
33
  mod
34
34
  ));
35
35
 
36
+ // node_modules/.bun/fast-string-truncated-width@1.2.1/node_modules/fast-string-truncated-width/dist/utils.js
37
+ var init_utils = __esm({
38
+ "node_modules/.bun/fast-string-truncated-width@1.2.1/node_modules/fast-string-truncated-width/dist/utils.js"() {
39
+ init_utils2();
40
+ }
41
+ });
42
+
43
+ // node_modules/.bun/fast-string-truncated-width@1.2.1/node_modules/fast-string-truncated-width/dist/index.js
44
+ var EMOJI_RE, MODIFIER_RE;
45
+ var init_dist = __esm({
46
+ "node_modules/.bun/fast-string-truncated-width@1.2.1/node_modules/fast-string-truncated-width/dist/index.js"() {
47
+ init_utils2();
48
+ init_utils();
49
+ 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");
50
+ MODIFIER_RE = new RegExp("\\p{M}+", "gu");
51
+ }
52
+ });
53
+
54
+ // node_modules/.bun/fast-string-width@1.1.0/node_modules/fast-string-width/dist/index.js
55
+ var init_dist2 = __esm({
56
+ "node_modules/.bun/fast-string-width@1.1.0/node_modules/fast-string-width/dist/index.js"() {
57
+ init_utils2();
58
+ init_dist();
59
+ }
60
+ });
61
+
62
+ // node_modules/.bun/fast-wrap-ansi@0.1.6/node_modules/fast-wrap-ansi/lib/main.js
63
+ var ANSI_ESCAPE_BELL, ANSI_CSI, ANSI_OSC, ANSI_ESCAPE_LINK, GROUP_REGEX;
64
+ var init_main = __esm({
65
+ "node_modules/.bun/fast-wrap-ansi@0.1.6/node_modules/fast-wrap-ansi/lib/main.js"() {
66
+ init_utils2();
67
+ init_dist2();
68
+ ANSI_ESCAPE_BELL = "\x07";
69
+ ANSI_CSI = "[";
70
+ ANSI_OSC = "]";
71
+ ANSI_ESCAPE_LINK = `${ANSI_OSC}8;;`;
72
+ GROUP_REGEX = new RegExp(`(?:\\${ANSI_CSI}(?<code>\\d+)m|\\${ANSI_ESCAPE_LINK}(?<uri>.*)${ANSI_ESCAPE_BELL})`, "y");
73
+ }
74
+ });
75
+
36
76
  // node_modules/.bun/sisteransi@1.0.5/node_modules/sisteransi/src/index.js
37
77
  var require_src = __commonJS({
38
78
  "node_modules/.bun/sisteransi@1.0.5/node_modules/sisteransi/src/index.js"(exports, module) {
39
79
  "use strict";
40
- init_utils();
80
+ init_utils2();
41
81
  var ESC = "\x1B";
42
82
  var CSI = `${ESC}[`;
43
83
  var beep = "\x07";
@@ -90,237 +130,95 @@ var require_src = __commonJS({
90
130
  }
91
131
  });
92
132
 
93
- // node_modules/.bun/picocolors@1.1.1/node_modules/picocolors/picocolors.js
94
- var require_picocolors = __commonJS({
95
- "node_modules/.bun/picocolors@1.1.1/node_modules/picocolors/picocolors.js"(exports, module) {
96
- init_utils();
97
- var p = process || {};
98
- var argv = p.argv || [];
99
- var env = p.env || {};
100
- 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);
101
- var formatter = (open, close, replace = open) => (input) => {
102
- let string = "" + input, index = string.indexOf(close, open.length);
103
- return ~index ? open + replaceClose(string, close, replace, index) + close : open + string + close;
104
- };
105
- var replaceClose = (string, close, replace, index) => {
106
- let result = "", cursor = 0;
107
- do {
108
- result += string.substring(cursor, index) + replace;
109
- cursor = index + close.length;
110
- index = string.indexOf(close, cursor);
111
- } while (~index);
112
- return result + string.substring(cursor);
113
- };
114
- var createColors = (enabled = isColorSupported) => {
115
- let f = enabled ? formatter : () => String;
116
- return {
117
- isColorSupported: enabled,
118
- reset: f("\x1B[0m", "\x1B[0m"),
119
- bold: f("\x1B[1m", "\x1B[22m", "\x1B[22m\x1B[1m"),
120
- dim: f("\x1B[2m", "\x1B[22m", "\x1B[22m\x1B[2m"),
121
- italic: f("\x1B[3m", "\x1B[23m"),
122
- underline: f("\x1B[4m", "\x1B[24m"),
123
- inverse: f("\x1B[7m", "\x1B[27m"),
124
- hidden: f("\x1B[8m", "\x1B[28m"),
125
- strikethrough: f("\x1B[9m", "\x1B[29m"),
126
- black: f("\x1B[30m", "\x1B[39m"),
127
- red: f("\x1B[31m", "\x1B[39m"),
128
- green: f("\x1B[32m", "\x1B[39m"),
129
- yellow: f("\x1B[33m", "\x1B[39m"),
130
- blue: f("\x1B[34m", "\x1B[39m"),
131
- magenta: f("\x1B[35m", "\x1B[39m"),
132
- cyan: f("\x1B[36m", "\x1B[39m"),
133
- white: f("\x1B[37m", "\x1B[39m"),
134
- gray: f("\x1B[90m", "\x1B[39m"),
135
- bgBlack: f("\x1B[40m", "\x1B[49m"),
136
- bgRed: f("\x1B[41m", "\x1B[49m"),
137
- bgGreen: f("\x1B[42m", "\x1B[49m"),
138
- bgYellow: f("\x1B[43m", "\x1B[49m"),
139
- bgBlue: f("\x1B[44m", "\x1B[49m"),
140
- bgMagenta: f("\x1B[45m", "\x1B[49m"),
141
- bgCyan: f("\x1B[46m", "\x1B[49m"),
142
- bgWhite: f("\x1B[47m", "\x1B[49m"),
143
- blackBright: f("\x1B[90m", "\x1B[39m"),
144
- redBright: f("\x1B[91m", "\x1B[39m"),
145
- greenBright: f("\x1B[92m", "\x1B[39m"),
146
- yellowBright: f("\x1B[93m", "\x1B[39m"),
147
- blueBright: f("\x1B[94m", "\x1B[39m"),
148
- magentaBright: f("\x1B[95m", "\x1B[39m"),
149
- cyanBright: f("\x1B[96m", "\x1B[39m"),
150
- whiteBright: f("\x1B[97m", "\x1B[39m"),
151
- bgBlackBright: f("\x1B[100m", "\x1B[49m"),
152
- bgRedBright: f("\x1B[101m", "\x1B[49m"),
153
- bgGreenBright: f("\x1B[102m", "\x1B[49m"),
154
- bgYellowBright: f("\x1B[103m", "\x1B[49m"),
155
- bgBlueBright: f("\x1B[104m", "\x1B[49m"),
156
- bgMagentaBright: f("\x1B[105m", "\x1B[49m"),
157
- bgCyanBright: f("\x1B[106m", "\x1B[49m"),
158
- bgWhiteBright: f("\x1B[107m", "\x1B[49m")
159
- };
160
- };
161
- module.exports = createColors();
162
- module.exports.createColors = createColors;
163
- }
164
- });
165
-
166
- // node_modules/.bun/@clack+core@0.5.0/node_modules/@clack/core/dist/index.mjs
167
- import { stdin as j, stdout as M } from "node:process";
168
- import { Writable as X } from "node:stream";
169
- function DD({ onlyFirst: e2 = false } = {}) {
170
- 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("|");
171
- return new RegExp(t, e2 ? void 0 : "g");
172
- }
173
- function L(e2) {
174
- return e2 && e2.__esModule && Object.prototype.hasOwnProperty.call(e2, "default") ? e2.default : e2;
175
- }
176
- function rD() {
177
- const e2 = /* @__PURE__ */ new Map();
178
- for (const [u2, t] of Object.entries(r)) {
179
- 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]);
180
- Object.defineProperty(r, u2, { value: t, enumerable: false });
181
- }
182
- 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) => {
183
- const t = /[a-f\d]{6}|[a-f\d]{3}/i.exec(u2.toString(16));
184
- if (!t) return [0, 0, 0];
185
- let [F2] = t;
186
- F2.length === 3 && (F2 = [...F2].map((i) => i + i).join(""));
187
- const s = Number.parseInt(F2, 16);
188
- return [s >> 16 & 255, s >> 8 & 255, s & 255];
189
- }, enumerable: false }, hexToAnsi256: { value: (u2) => r.rgbToAnsi256(...r.hexToRgb(u2)), enumerable: false }, ansi256ToAnsi: { value: (u2) => {
190
- if (u2 < 8) return 30 + u2;
191
- if (u2 < 16) return 90 + (u2 - 8);
192
- let t, F2, s;
193
- if (u2 >= 232) t = ((u2 - 232) * 10 + 8) / 255, F2 = t, s = t;
194
- else {
195
- u2 -= 16;
196
- const C2 = u2 % 36;
197
- t = Math.floor(u2 / 36) / 5, F2 = Math.floor(C2 / 6) / 5, s = C2 % 6 / 5;
198
- }
199
- const i = Math.max(t, F2, s) * 2;
200
- if (i === 0) return 30;
201
- let D2 = 30 + (Math.round(s) << 2 | Math.round(F2) << 1 | Math.round(t));
202
- return i === 2 && (D2 += 60), D2;
203
- }, 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;
204
- }
205
- var import_sisteransi, uD, W, tD, eD, FD, sD, w, N, I, R, r, iD, CD, ED, nD, _, xD, B, AD, A;
206
- var init_dist = __esm({
207
- "node_modules/.bun/@clack+core@0.5.0/node_modules/@clack/core/dist/index.mjs"() {
208
- init_utils();
133
+ // node_modules/.bun/@clack+core@1.2.0/node_modules/@clack/core/dist/index.mjs
134
+ import { styleText as y } from "node:util";
135
+ import { stdout as S, stdin as $ } from "node:process";
136
+ import { ReadStream as D } from "node:tty";
137
+ var import_sisteransi, E, G, u, Y;
138
+ var init_dist3 = __esm({
139
+ "node_modules/.bun/@clack+core@1.2.0/node_modules/@clack/core/dist/index.mjs"() {
140
+ init_utils2();
141
+ init_main();
209
142
  import_sisteransi = __toESM(require_src(), 1);
210
- uD = DD();
211
- W = { exports: {} };
212
- (function(e2) {
213
- var u2 = {};
214
- e2.exports = u2, u2.eastAsianWidth = function(F2) {
215
- var s = F2.charCodeAt(0), i = F2.length == 2 ? F2.charCodeAt(1) : 0, D2 = s;
216
- 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";
217
- }, u2.characterLength = function(F2) {
218
- var s = this.eastAsianWidth(F2);
219
- return s == "F" || s == "W" || s == "A" ? 2 : 1;
220
- };
221
- function t(F2) {
222
- return F2.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g) || [];
223
- }
224
- u2.length = function(F2) {
225
- for (var s = t(F2), i = 0, D2 = 0; D2 < s.length; D2++) i = i + this.characterLength(s[D2]);
226
- return i;
227
- }, u2.slice = function(F2, s, i) {
228
- textLen = u2.length(F2), s = s || 0, i = i || 1, s < 0 && (s = textLen + s), i < 0 && (i = textLen + i);
229
- for (var D2 = "", C2 = 0, n = t(F2), E = 0; E < n.length; E++) {
230
- var a = n[E], o2 = u2.length(a);
231
- if (C2 >= s - (o2 == 2 ? 1 : 0)) if (C2 + o2 <= i) D2 += a;
232
- else break;
233
- C2 += o2;
234
- }
235
- return D2;
236
- };
237
- })(W);
238
- tD = W.exports;
239
- eD = L(tD);
240
- FD = function() {
241
- 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;
242
- };
243
- sD = L(FD);
244
- w = 10;
245
- N = (e2 = 0) => (u2) => `\x1B[${u2 + e2}m`;
246
- I = (e2 = 0) => (u2) => `\x1B[${38 + e2};5;${u2}m`;
247
- R = (e2 = 0) => (u2, t, F2) => `\x1B[${38 + e2};2;${u2};${t};${F2}m`;
248
- 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] } };
249
- Object.keys(r.modifier);
250
- iD = Object.keys(r.color);
251
- CD = Object.keys(r.bgColor);
252
- [...iD, ...CD];
253
- ED = rD();
254
- nD = "]";
255
- _ = `${nD}8;;`;
256
- xD = ["up", "down", "left", "right", "space", "enter", "cancel"];
257
- B = { actions: new Set(xD), aliases: /* @__PURE__ */ new Map([["k", "up"], ["j", "down"], ["h", "left"], ["l", "right"], ["", "cancel"], ["escape", "cancel"]]) };
258
- AD = globalThis.process.platform.startsWith("win");
259
- A = /* @__PURE__ */ new WeakMap();
143
+ E = ["up", "down", "left", "right", "space", "enter", "cancel"];
144
+ G = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
145
+ 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)}` } } };
146
+ Y = globalThis.process.platform.startsWith("win");
260
147
  }
261
148
  });
262
149
 
263
- // node_modules/.bun/@clack+prompts@0.11.0/node_modules/@clack/prompts/dist/index.mjs
264
- import { stripVTControlCharacters as S } from "node:util";
265
- import y from "node:process";
266
- function ce() {
267
- 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";
150
+ // node_modules/.bun/@clack+prompts@1.2.0/node_modules/@clack/prompts/dist/index.mjs
151
+ import { styleText as t, stripVTControlCharacters as ne } from "node:util";
152
+ import P from "node:process";
153
+ import { existsSync as Xe, lstatSync as we, readdirSync as ze } from "node:fs";
154
+ import { dirname as be, join as Qe } from "node:path";
155
+ function Ze() {
156
+ 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";
268
157
  }
269
- 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, M2, J;
270
- var init_dist2 = __esm({
271
- "node_modules/.bun/@clack+prompts@0.11.0/node_modules/@clack/prompts/dist/index.mjs"() {
272
- init_utils();
273
- init_dist();
274
- init_dist();
275
- import_picocolors = __toESM(require_picocolors(), 1);
158
+ 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, Ve, je;
159
+ var init_dist4 = __esm({
160
+ "node_modules/.bun/@clack+prompts@1.2.0/node_modules/@clack/prompts/dist/index.mjs"() {
161
+ init_utils2();
162
+ init_dist3();
163
+ init_dist3();
164
+ init_main();
165
+ init_dist2();
276
166
  import_sisteransi2 = __toESM(require_src(), 1);
277
- V = ce();
278
- u = (t, n) => V ? t : n;
279
- le = u("\u25C6", "*");
280
- L2 = u("\u25A0", "x");
281
- W2 = u("\u25B2", "x");
282
- C = u("\u25C7", "o");
283
- ue = u("\u250C", "T");
284
- o = u("\u2502", "|");
285
- d = u("\u2514", "\u2014");
286
- k = u("\u25CF", ">");
287
- P = u("\u25CB", " ");
288
- A2 = u("\u25FB", "[\u2022]");
289
- T = u("\u25FC", "[+]");
290
- F = u("\u25FB", "[ ]");
291
- $e = u("\u25AA", "\u2022");
292
- _2 = u("\u2500", "-");
293
- me = u("\u256E", "+");
294
- de = u("\u251C", "+");
295
- pe = u("\u256F", "+");
296
- q = u("\u25CF", "\u2022");
297
- D = u("\u25C6", "*");
298
- U = u("\u25B2", "!");
299
- K = u("\u25A0", "x");
300
- M2 = { message: (t = "", { symbol: n = import_picocolors.default.gray(o) } = {}) => {
301
- const r2 = [`${import_picocolors.default.gray(o)}`];
302
- if (t) {
303
- const [i, ...s] = t.split(`
167
+ ee = Ze();
168
+ w = (e, i) => ee ? e : i;
169
+ _e = w("\u25C6", "*");
170
+ oe = w("\u25A0", "x");
171
+ ue = w("\u25B2", "x");
172
+ F = w("\u25C7", "o");
173
+ le = w("\u250C", "T");
174
+ d = w("\u2502", "|");
175
+ E2 = w("\u2514", "\u2014");
176
+ Ie = w("\u2510", "T");
177
+ Ee = w("\u2518", "\u2014");
178
+ z2 = w("\u25CF", ">");
179
+ H2 = w("\u25CB", " ");
180
+ te = w("\u25FB", "[\u2022]");
181
+ U = w("\u25FC", "[+]");
182
+ J = w("\u25FB", "[ ]");
183
+ xe = w("\u25AA", "\u2022");
184
+ se = w("\u2500", "-");
185
+ ce = w("\u256E", "+");
186
+ Ge = w("\u251C", "+");
187
+ $e = w("\u256F", "+");
188
+ de = w("\u2570", "+");
189
+ Oe = w("\u256D", "+");
190
+ he = w("\u25CF", "\u2022");
191
+ pe = w("\u25C6", "*");
192
+ me = w("\u25B2", "!");
193
+ ge = w("\u25A0", "x");
194
+ O2 = { message: (e = [], { symbol: i = t("gray", d), secondarySymbol: s = t("gray", d), output: r = process.stdout, spacing: u2 = 1, withGuide: n } = {}) => {
195
+ const o = [], c2 = n ?? u.withGuide, a = c2 ? s : "", l = c2 ? `${i} ` : "", $2 = c2 ? `${s} ` : "";
196
+ for (let p = 0; p < u2; p++) o.push(a);
197
+ const y2 = Array.isArray(e) ? e : e.split(`
304
198
  `);
305
- r2.push(`${n} ${i}`, ...s.map((c) => `${import_picocolors.default.gray(o)} ${c}`));
199
+ if (y2.length > 0) {
200
+ const [p, ...m] = y2;
201
+ p.length > 0 ? o.push(`${l}${p}`) : o.push(c2 ? i : "");
202
+ for (const g of m) g.length > 0 ? o.push(`${$2}${g}`) : o.push(c2 ? s : "");
306
203
  }
307
- process.stdout.write(`${r2.join(`
204
+ r.write(`${o.join(`
308
205
  `)}
309
206
  `);
310
- }, info: (t) => {
311
- M2.message(t, { symbol: import_picocolors.default.blue(q) });
312
- }, success: (t) => {
313
- M2.message(t, { symbol: import_picocolors.default.green(D) });
314
- }, step: (t) => {
315
- M2.message(t, { symbol: import_picocolors.default.green(C) });
316
- }, warn: (t) => {
317
- M2.message(t, { symbol: import_picocolors.default.yellow(U) });
318
- }, warning: (t) => {
319
- M2.warn(t);
320
- }, error: (t) => {
321
- M2.message(t, { symbol: import_picocolors.default.red(K) });
207
+ }, info: (e, i) => {
208
+ O2.message(e, { ...i, symbol: t("blue", he) });
209
+ }, success: (e, i) => {
210
+ O2.message(e, { ...i, symbol: t("green", pe) });
211
+ }, step: (e, i) => {
212
+ O2.message(e, { ...i, symbol: t("green", F) });
213
+ }, warn: (e, i) => {
214
+ O2.message(e, { ...i, symbol: t("yellow", me) });
215
+ }, warning: (e, i) => {
216
+ O2.warn(e, i);
217
+ }, error: (e, i) => {
218
+ O2.message(e, { ...i, symbol: t("red", ge) });
322
219
  } };
323
- J = `${import_picocolors.default.gray(o)} `;
220
+ Ve = { light: w("\u2500", "-"), heavy: w("\u2501", "="), block: w("\u2588", "#") };
221
+ je = `${t("gray", d)} `;
324
222
  }
325
223
  });
326
224
 
@@ -369,9 +267,9 @@ var colors, currentLogLevel, log, error, warn, info, success;
369
267
  var init_cli_output = __esm({
370
268
  "packages/tooling/src/utils/cli-output.ts"() {
371
269
  "use strict";
372
- init_utils();
373
- init_dist2();
374
- init_dist2();
270
+ init_utils2();
271
+ init_dist4();
272
+ init_dist4();
375
273
  colors = {
376
274
  reset: "\x1B[0m",
377
275
  // Success (green)
@@ -406,7 +304,7 @@ var init_cli_output = __esm({
406
304
  error(...args) {
407
305
  if (currentLogLevel < 0 /* Quiet */) return;
408
306
  const message = formatMessage(...args);
409
- M2.error(colorize(message, colors.brightRed));
307
+ O2.error(colorize(message, colors.brightRed));
410
308
  },
411
309
  /**
412
310
  * Logs a warning message (shows at Normal level and above)
@@ -415,7 +313,7 @@ var init_cli_output = __esm({
415
313
  warn(...args) {
416
314
  if (currentLogLevel < 1 /* Normal */) return;
417
315
  const message = formatMessage(...args);
418
- M2.warn(colorize(message, colors.brightYellow));
316
+ O2.warn(colorize(message, colors.brightYellow));
419
317
  },
420
318
  /**
421
319
  * Logs an info message (shows at Normal level and above)
@@ -424,7 +322,7 @@ var init_cli_output = __esm({
424
322
  info(...args) {
425
323
  if (currentLogLevel < 1 /* Normal */) return;
426
324
  const message = formatMessage(...args);
427
- M2.info(colorize(message, colors.brightCyan));
325
+ O2.info(colorize(message, colors.brightCyan));
428
326
  },
429
327
  /**
430
328
  * Logs a success message (shows at Normal level and above)
@@ -433,7 +331,7 @@ var init_cli_output = __esm({
433
331
  success(...args) {
434
332
  if (currentLogLevel < 1 /* Normal */) return;
435
333
  const message = formatMessage(...args);
436
- M2.success(colorize(message, colors.brightGreen));
334
+ O2.success(colorize(message, colors.brightGreen));
437
335
  },
438
336
  /**
439
337
  * Logs a debug message (only shows at Verbose level and above)
@@ -442,7 +340,7 @@ var init_cli_output = __esm({
442
340
  debug(...args) {
443
341
  if (currentLogLevel < 2 /* Verbose */) return;
444
342
  const timeStamp = (/* @__PURE__ */ new Date()).toISOString().slice(11, 19);
445
- M2.message(
343
+ O2.message(
446
344
  colorize(
447
345
  `[${timeStamp}] \u{1F50D} DEBUG: ${formatMessage(...args)}`,
448
346
  colors.gray
@@ -456,7 +354,7 @@ var init_cli_output = __esm({
456
354
  trace(...args) {
457
355
  if (currentLogLevel < 3 /* Debug */) return;
458
356
  const timeStamp = (/* @__PURE__ */ new Date()).toISOString().slice(11, 19);
459
- M2.message(
357
+ O2.message(
460
358
  colorize(
461
359
  `[${timeStamp}] \u{1F52C} TRACE: ${formatMessage(...args)}`,
462
360
  colors.gray
@@ -475,7 +373,7 @@ var init_cli_output = __esm({
475
373
  var require_array = __commonJS({
476
374
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/utils/array.js"(exports) {
477
375
  "use strict";
478
- init_utils();
376
+ init_utils2();
479
377
  Object.defineProperty(exports, "__esModule", { value: true });
480
378
  exports.splitWhen = exports.flatten = void 0;
481
379
  function flatten(items) {
@@ -503,7 +401,7 @@ var require_array = __commonJS({
503
401
  var require_errno = __commonJS({
504
402
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/utils/errno.js"(exports) {
505
403
  "use strict";
506
- init_utils();
404
+ init_utils2();
507
405
  Object.defineProperty(exports, "__esModule", { value: true });
508
406
  exports.isEnoentCodeError = void 0;
509
407
  function isEnoentCodeError(error2) {
@@ -517,7 +415,7 @@ var require_errno = __commonJS({
517
415
  var require_fs = __commonJS({
518
416
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/utils/fs.js"(exports) {
519
417
  "use strict";
520
- init_utils();
418
+ init_utils2();
521
419
  Object.defineProperty(exports, "__esModule", { value: true });
522
420
  exports.createDirentFromStats = void 0;
523
421
  var DirentFromStats = class {
@@ -543,7 +441,7 @@ var require_fs = __commonJS({
543
441
  var require_path = __commonJS({
544
442
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/utils/path.js"(exports) {
545
443
  "use strict";
546
- init_utils();
444
+ init_utils2();
547
445
  Object.defineProperty(exports, "__esModule", { value: true });
548
446
  exports.convertPosixPathToPattern = exports.convertWindowsPathToPattern = exports.convertPathToPattern = exports.escapePosixPath = exports.escapeWindowsPath = exports.escape = exports.removeLeadingDotSegment = exports.makeAbsolute = exports.unixify = void 0;
549
447
  var os = __require("os");
@@ -596,7 +494,7 @@ var require_path = __commonJS({
596
494
  // node_modules/.bun/is-extglob@2.1.1/node_modules/is-extglob/index.js
597
495
  var require_is_extglob = __commonJS({
598
496
  "node_modules/.bun/is-extglob@2.1.1/node_modules/is-extglob/index.js"(exports, module) {
599
- init_utils();
497
+ init_utils2();
600
498
  module.exports = function isExtglob(str) {
601
499
  if (typeof str !== "string" || str === "") {
602
500
  return false;
@@ -614,7 +512,7 @@ var require_is_extglob = __commonJS({
614
512
  // node_modules/.bun/is-glob@4.0.3/node_modules/is-glob/index.js
615
513
  var require_is_glob = __commonJS({
616
514
  "node_modules/.bun/is-glob@4.0.3/node_modules/is-glob/index.js"(exports, module) {
617
- init_utils();
515
+ init_utils2();
618
516
  var isExtglob = require_is_extglob();
619
517
  var chars = { "{": "}", "(": ")", "[": "]" };
620
518
  var strictCheck = function(str) {
@@ -747,7 +645,7 @@ var require_is_glob = __commonJS({
747
645
  var require_glob_parent = __commonJS({
748
646
  "node_modules/.bun/glob-parent@5.1.2/node_modules/glob-parent/index.js"(exports, module) {
749
647
  "use strict";
750
- init_utils();
648
+ init_utils2();
751
649
  var isGlob = require_is_glob();
752
650
  var pathPosixDirname = __require("path").posix.dirname;
753
651
  var isWin32 = __require("os").platform() === "win32";
@@ -777,7 +675,7 @@ var require_glob_parent = __commonJS({
777
675
  var require_utils = __commonJS({
778
676
  "node_modules/.bun/braces@3.0.3/node_modules/braces/lib/utils.js"(exports) {
779
677
  "use strict";
780
- init_utils();
678
+ init_utils2();
781
679
  exports.isInteger = (num) => {
782
680
  if (typeof num === "number") {
783
681
  return Number.isInteger(num);
@@ -860,7 +758,7 @@ var require_utils = __commonJS({
860
758
  var require_stringify = __commonJS({
861
759
  "node_modules/.bun/braces@3.0.3/node_modules/braces/lib/stringify.js"(exports, module) {
862
760
  "use strict";
863
- init_utils();
761
+ init_utils2();
864
762
  var utils = require_utils();
865
763
  module.exports = (ast, options = {}) => {
866
764
  const stringify2 = (node, parent = {}) => {
@@ -892,7 +790,7 @@ var require_stringify = __commonJS({
892
790
  var require_is_number = __commonJS({
893
791
  "node_modules/.bun/is-number@7.0.0/node_modules/is-number/index.js"(exports, module) {
894
792
  "use strict";
895
- init_utils();
793
+ init_utils2();
896
794
  module.exports = function(num) {
897
795
  if (typeof num === "number") {
898
796
  return num - num === 0;
@@ -909,7 +807,7 @@ var require_is_number = __commonJS({
909
807
  var require_to_regex_range = __commonJS({
910
808
  "node_modules/.bun/to-regex-range@5.0.1/node_modules/to-regex-range/index.js"(exports, module) {
911
809
  "use strict";
912
- init_utils();
810
+ init_utils2();
913
811
  var isNumber = require_is_number();
914
812
  var toRegexRange = (min, max, options) => {
915
813
  if (isNumber(min) === false) {
@@ -934,8 +832,8 @@ var require_to_regex_range = __commonJS({
934
832
  return toRegexRange.cache[cacheKey].result;
935
833
  }
936
834
  let a = Math.min(min, max);
937
- let b2 = Math.max(min, max);
938
- if (Math.abs(a - b2) === 1) {
835
+ let b = Math.max(min, max);
836
+ if (Math.abs(a - b) === 1) {
939
837
  let result = min + "|" + max;
940
838
  if (opts.capture) {
941
839
  return `(${result})`;
@@ -946,7 +844,7 @@ var require_to_regex_range = __commonJS({
946
844
  return `(?:${result})`;
947
845
  }
948
846
  let isPadded = hasPadding(min) || hasPadding(max);
949
- let state = { min, max, a, b: b2 };
847
+ let state = { min, max, a, b };
950
848
  let positives = [];
951
849
  let negatives = [];
952
850
  if (isPadded) {
@@ -954,12 +852,12 @@ var require_to_regex_range = __commonJS({
954
852
  state.maxLen = String(state.max).length;
955
853
  }
956
854
  if (a < 0) {
957
- let newMin = b2 < 0 ? Math.abs(b2) : 1;
855
+ let newMin = b < 0 ? Math.abs(b) : 1;
958
856
  negatives = splitToPatterns(newMin, Math.abs(a), state, opts);
959
857
  a = state.a = 0;
960
858
  }
961
- if (b2 >= 0) {
962
- positives = splitToPatterns(a, b2, state, opts);
859
+ if (b >= 0) {
860
+ positives = splitToPatterns(a, b, state, opts);
963
861
  }
964
862
  state.negatives = negatives;
965
863
  state.positives = positives;
@@ -1063,13 +961,13 @@ var require_to_regex_range = __commonJS({
1063
961
  }
1064
962
  return result;
1065
963
  }
1066
- function zip(a, b2) {
964
+ function zip(a, b) {
1067
965
  let arr = [];
1068
- for (let i = 0; i < a.length; i++) arr.push([a[i], b2[i]]);
966
+ for (let i = 0; i < a.length; i++) arr.push([a[i], b[i]]);
1069
967
  return arr;
1070
968
  }
1071
- function compare(a, b2) {
1072
- return a > b2 ? 1 : b2 > a ? -1 : 0;
969
+ function compare(a, b) {
970
+ return a > b ? 1 : b > a ? -1 : 0;
1073
971
  }
1074
972
  function contains(arr, key, val) {
1075
973
  return arr.some((ele) => ele[key] === val);
@@ -1087,8 +985,8 @@ var require_to_regex_range = __commonJS({
1087
985
  }
1088
986
  return "";
1089
987
  }
1090
- function toCharacterClass(a, b2, options) {
1091
- return `[${a}${b2 - a === 1 ? "" : "-"}${b2}]`;
988
+ function toCharacterClass(a, b, options) {
989
+ return `[${a}${b - a === 1 ? "" : "-"}${b}]`;
1092
990
  }
1093
991
  function hasPadding(str) {
1094
992
  return /^-?(0+)\d/.test(str);
@@ -1121,7 +1019,7 @@ var require_to_regex_range = __commonJS({
1121
1019
  var require_fill_range = __commonJS({
1122
1020
  "node_modules/.bun/fill-range@7.1.1/node_modules/fill-range/index.js"(exports, module) {
1123
1021
  "use strict";
1124
- init_utils();
1022
+ init_utils2();
1125
1023
  var util = __require("util");
1126
1024
  var toRegexRange = require_to_regex_range();
1127
1025
  var isObject = (val) => val !== null && typeof val === "object" && !Array.isArray(val);
@@ -1167,8 +1065,8 @@ var require_fill_range = __commonJS({
1167
1065
  return negative ? "-" + input : input;
1168
1066
  };
1169
1067
  var toSequence = (parts, options, maxLen) => {
1170
- parts.negatives.sort((a, b2) => a < b2 ? -1 : a > b2 ? 1 : 0);
1171
- parts.positives.sort((a, b2) => a < b2 ? -1 : a > b2 ? 1 : 0);
1068
+ parts.negatives.sort((a, b) => a < b ? -1 : a > b ? 1 : 0);
1069
+ parts.positives.sort((a, b) => a < b ? -1 : a > b ? 1 : 0);
1172
1070
  let prefix = options.capture ? "" : "?:";
1173
1071
  let positives = "";
1174
1072
  let negatives = "";
@@ -1189,13 +1087,13 @@ var require_fill_range = __commonJS({
1189
1087
  }
1190
1088
  return result;
1191
1089
  };
1192
- var toRange = (a, b2, isNumbers, options) => {
1090
+ var toRange = (a, b, isNumbers, options) => {
1193
1091
  if (isNumbers) {
1194
- return toRegexRange(a, b2, { wrap: false, ...options });
1092
+ return toRegexRange(a, b, { wrap: false, ...options });
1195
1093
  }
1196
1094
  let start = String.fromCharCode(a);
1197
- if (a === b2) return start;
1198
- let stop = String.fromCharCode(b2);
1095
+ if (a === b) return start;
1096
+ let stop = String.fromCharCode(b);
1199
1097
  return `[${start}-${stop}]`;
1200
1098
  };
1201
1099
  var toRegex = (start, end, options) => {
@@ -1221,14 +1119,14 @@ var require_fill_range = __commonJS({
1221
1119
  };
1222
1120
  var fillNumbers = (start, end, step = 1, options = {}) => {
1223
1121
  let a = Number(start);
1224
- let b2 = Number(end);
1225
- if (!Number.isInteger(a) || !Number.isInteger(b2)) {
1122
+ let b = Number(end);
1123
+ if (!Number.isInteger(a) || !Number.isInteger(b)) {
1226
1124
  if (options.strictRanges === true) throw rangeError([start, end]);
1227
1125
  return [];
1228
1126
  }
1229
1127
  if (a === 0) a = 0;
1230
- if (b2 === 0) b2 = 0;
1231
- let descending = a > b2;
1128
+ if (b === 0) b = 0;
1129
+ let descending = a > b;
1232
1130
  let startString = String(start);
1233
1131
  let endString = String(end);
1234
1132
  let stepString = String(step);
@@ -1244,7 +1142,7 @@ var require_fill_range = __commonJS({
1244
1142
  let push = (num) => parts[num < 0 ? "negatives" : "positives"].push(Math.abs(num));
1245
1143
  let range = [];
1246
1144
  let index = 0;
1247
- while (descending ? a >= b2 : a <= b2) {
1145
+ while (descending ? a >= b : a <= b) {
1248
1146
  if (options.toRegex === true && step > 1) {
1249
1147
  push(a);
1250
1148
  } else {
@@ -1264,16 +1162,16 @@ var require_fill_range = __commonJS({
1264
1162
  }
1265
1163
  let format = options.transform || ((val) => String.fromCharCode(val));
1266
1164
  let a = `${start}`.charCodeAt(0);
1267
- let b2 = `${end}`.charCodeAt(0);
1268
- let descending = a > b2;
1269
- let min = Math.min(a, b2);
1270
- let max = Math.max(a, b2);
1165
+ let b = `${end}`.charCodeAt(0);
1166
+ let descending = a > b;
1167
+ let min = Math.min(a, b);
1168
+ let max = Math.max(a, b);
1271
1169
  if (options.toRegex && step === 1) {
1272
1170
  return toRange(min, max, false, options);
1273
1171
  }
1274
1172
  let range = [];
1275
1173
  let index = 0;
1276
- while (descending ? a >= b2 : a <= b2) {
1174
+ while (descending ? a >= b : a <= b) {
1277
1175
  range.push(format(a, index));
1278
1176
  a = descending ? a - step : a + step;
1279
1177
  index++;
@@ -1316,7 +1214,7 @@ var require_fill_range = __commonJS({
1316
1214
  var require_compile = __commonJS({
1317
1215
  "node_modules/.bun/braces@3.0.3/node_modules/braces/lib/compile.js"(exports, module) {
1318
1216
  "use strict";
1319
- init_utils();
1217
+ init_utils2();
1320
1218
  var fill = require_fill_range();
1321
1219
  var utils = require_utils();
1322
1220
  var compile = (ast, options = {}) => {
@@ -1368,7 +1266,7 @@ var require_compile = __commonJS({
1368
1266
  var require_expand = __commonJS({
1369
1267
  "node_modules/.bun/braces@3.0.3/node_modules/braces/lib/expand.js"(exports, module) {
1370
1268
  "use strict";
1371
- init_utils();
1269
+ init_utils2();
1372
1270
  var fill = require_fill_range();
1373
1271
  var stringify2 = require_stringify();
1374
1272
  var utils = require_utils();
@@ -1463,7 +1361,7 @@ var require_expand = __commonJS({
1463
1361
  var require_constants = __commonJS({
1464
1362
  "node_modules/.bun/braces@3.0.3/node_modules/braces/lib/constants.js"(exports, module) {
1465
1363
  "use strict";
1466
- init_utils();
1364
+ init_utils2();
1467
1365
  module.exports = {
1468
1366
  MAX_LENGTH: 1e4,
1469
1367
  // Digits
@@ -1565,7 +1463,7 @@ var require_constants = __commonJS({
1565
1463
  var require_parse = __commonJS({
1566
1464
  "node_modules/.bun/braces@3.0.3/node_modules/braces/lib/parse.js"(exports, module) {
1567
1465
  "use strict";
1568
- init_utils();
1466
+ init_utils2();
1569
1467
  var stringify2 = require_stringify();
1570
1468
  var {
1571
1469
  MAX_LENGTH,
@@ -1804,7 +1702,7 @@ var require_parse = __commonJS({
1804
1702
  var require_braces = __commonJS({
1805
1703
  "node_modules/.bun/braces@3.0.3/node_modules/braces/index.js"(exports, module) {
1806
1704
  "use strict";
1807
- init_utils();
1705
+ init_utils2();
1808
1706
  var stringify2 = require_stringify();
1809
1707
  var compile = require_compile();
1810
1708
  var expand = require_expand();
@@ -1864,14 +1762,15 @@ var require_braces = __commonJS({
1864
1762
  }
1865
1763
  });
1866
1764
 
1867
- // node_modules/.bun/picomatch@2.3.1/node_modules/picomatch/lib/constants.js
1765
+ // node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/constants.js
1868
1766
  var require_constants2 = __commonJS({
1869
- "node_modules/.bun/picomatch@2.3.1/node_modules/picomatch/lib/constants.js"(exports, module) {
1767
+ "node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/constants.js"(exports, module) {
1870
1768
  "use strict";
1871
- init_utils();
1769
+ init_utils2();
1872
1770
  var path = __require("path");
1873
1771
  var WIN_SLASH = "\\\\/";
1874
1772
  var WIN_NO_SLASH = `[^${WIN_SLASH}]`;
1773
+ var DEFAULT_MAX_EXTGLOB_RECURSION = 0;
1875
1774
  var DOT_LITERAL = "\\.";
1876
1775
  var PLUS_LITERAL = "\\+";
1877
1776
  var QMARK_LITERAL = "\\?";
@@ -1919,6 +1818,7 @@ var require_constants2 = __commonJS({
1919
1818
  END_ANCHOR: `(?:[${WIN_SLASH}]|$)`
1920
1819
  };
1921
1820
  var POSIX_REGEX_SOURCE = {
1821
+ __proto__: null,
1922
1822
  alnum: "a-zA-Z0-9",
1923
1823
  alpha: "a-zA-Z",
1924
1824
  ascii: "\\x00-\\x7F",
@@ -1935,6 +1835,7 @@ var require_constants2 = __commonJS({
1935
1835
  xdigit: "A-Fa-f0-9"
1936
1836
  };
1937
1837
  module.exports = {
1838
+ DEFAULT_MAX_EXTGLOB_RECURSION,
1938
1839
  MAX_LENGTH: 1024 * 64,
1939
1840
  POSIX_REGEX_SOURCE,
1940
1841
  // regular expressions
@@ -1946,6 +1847,7 @@ var require_constants2 = __commonJS({
1946
1847
  REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g,
1947
1848
  // Replace globs with equivalent patterns to reduce parsing time.
1948
1849
  REPLACEMENTS: {
1850
+ __proto__: null,
1949
1851
  "***": "*",
1950
1852
  "**/**": "**",
1951
1853
  "**/**/**": "**"
@@ -2062,11 +1964,11 @@ var require_constants2 = __commonJS({
2062
1964
  }
2063
1965
  });
2064
1966
 
2065
- // node_modules/.bun/picomatch@2.3.1/node_modules/picomatch/lib/utils.js
1967
+ // node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/utils.js
2066
1968
  var require_utils2 = __commonJS({
2067
- "node_modules/.bun/picomatch@2.3.1/node_modules/picomatch/lib/utils.js"(exports) {
1969
+ "node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/utils.js"(exports) {
2068
1970
  "use strict";
2069
- init_utils();
1971
+ init_utils2();
2070
1972
  var path = __require("path");
2071
1973
  var win32 = process.platform === "win32";
2072
1974
  var {
@@ -2124,11 +2026,11 @@ var require_utils2 = __commonJS({
2124
2026
  }
2125
2027
  });
2126
2028
 
2127
- // node_modules/.bun/picomatch@2.3.1/node_modules/picomatch/lib/scan.js
2029
+ // node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/scan.js
2128
2030
  var require_scan = __commonJS({
2129
- "node_modules/.bun/picomatch@2.3.1/node_modules/picomatch/lib/scan.js"(exports, module) {
2031
+ "node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/scan.js"(exports, module) {
2130
2032
  "use strict";
2131
- init_utils();
2033
+ init_utils2();
2132
2034
  var utils = require_utils2();
2133
2035
  var {
2134
2036
  CHAR_ASTERISK,
@@ -2455,11 +2357,11 @@ var require_scan = __commonJS({
2455
2357
  }
2456
2358
  });
2457
2359
 
2458
- // node_modules/.bun/picomatch@2.3.1/node_modules/picomatch/lib/parse.js
2360
+ // node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/parse.js
2459
2361
  var require_parse2 = __commonJS({
2460
- "node_modules/.bun/picomatch@2.3.1/node_modules/picomatch/lib/parse.js"(exports, module) {
2362
+ "node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/parse.js"(exports, module) {
2461
2363
  "use strict";
2462
- init_utils();
2364
+ init_utils2();
2463
2365
  var constants2 = require_constants2();
2464
2366
  var utils = require_utils2();
2465
2367
  var {
@@ -2485,6 +2387,213 @@ var require_parse2 = __commonJS({
2485
2387
  var syntaxError = (type, char) => {
2486
2388
  return `Missing ${type}: "${char}" - use "\\\\${char}" to match literal characters`;
2487
2389
  };
2390
+ var splitTopLevel = (input) => {
2391
+ const parts = [];
2392
+ let bracket = 0;
2393
+ let paren = 0;
2394
+ let quote = 0;
2395
+ let value = "";
2396
+ let escaped = false;
2397
+ for (const ch of input) {
2398
+ if (escaped === true) {
2399
+ value += ch;
2400
+ escaped = false;
2401
+ continue;
2402
+ }
2403
+ if (ch === "\\") {
2404
+ value += ch;
2405
+ escaped = true;
2406
+ continue;
2407
+ }
2408
+ if (ch === '"') {
2409
+ quote = quote === 1 ? 0 : 1;
2410
+ value += ch;
2411
+ continue;
2412
+ }
2413
+ if (quote === 0) {
2414
+ if (ch === "[") {
2415
+ bracket++;
2416
+ } else if (ch === "]" && bracket > 0) {
2417
+ bracket--;
2418
+ } else if (bracket === 0) {
2419
+ if (ch === "(") {
2420
+ paren++;
2421
+ } else if (ch === ")" && paren > 0) {
2422
+ paren--;
2423
+ } else if (ch === "|" && paren === 0) {
2424
+ parts.push(value);
2425
+ value = "";
2426
+ continue;
2427
+ }
2428
+ }
2429
+ }
2430
+ value += ch;
2431
+ }
2432
+ parts.push(value);
2433
+ return parts;
2434
+ };
2435
+ var isPlainBranch = (branch) => {
2436
+ let escaped = false;
2437
+ for (const ch of branch) {
2438
+ if (escaped === true) {
2439
+ escaped = false;
2440
+ continue;
2441
+ }
2442
+ if (ch === "\\") {
2443
+ escaped = true;
2444
+ continue;
2445
+ }
2446
+ if (/[?*+@!()[\]{}]/.test(ch)) {
2447
+ return false;
2448
+ }
2449
+ }
2450
+ return true;
2451
+ };
2452
+ var normalizeSimpleBranch = (branch) => {
2453
+ let value = branch.trim();
2454
+ let changed = true;
2455
+ while (changed === true) {
2456
+ changed = false;
2457
+ if (/^@\([^\\()[\]{}|]+\)$/.test(value)) {
2458
+ value = value.slice(2, -1);
2459
+ changed = true;
2460
+ }
2461
+ }
2462
+ if (!isPlainBranch(value)) {
2463
+ return;
2464
+ }
2465
+ return value.replace(/\\(.)/g, "$1");
2466
+ };
2467
+ var hasRepeatedCharPrefixOverlap = (branches) => {
2468
+ const values = branches.map(normalizeSimpleBranch).filter(Boolean);
2469
+ for (let i = 0; i < values.length; i++) {
2470
+ for (let j = i + 1; j < values.length; j++) {
2471
+ const a = values[i];
2472
+ const b = values[j];
2473
+ const char = a[0];
2474
+ if (!char || a !== char.repeat(a.length) || b !== char.repeat(b.length)) {
2475
+ continue;
2476
+ }
2477
+ if (a === b || a.startsWith(b) || b.startsWith(a)) {
2478
+ return true;
2479
+ }
2480
+ }
2481
+ }
2482
+ return false;
2483
+ };
2484
+ var parseRepeatedExtglob = (pattern, requireEnd = true) => {
2485
+ if (pattern[0] !== "+" && pattern[0] !== "*" || pattern[1] !== "(") {
2486
+ return;
2487
+ }
2488
+ let bracket = 0;
2489
+ let paren = 0;
2490
+ let quote = 0;
2491
+ let escaped = false;
2492
+ for (let i = 1; i < pattern.length; i++) {
2493
+ const ch = pattern[i];
2494
+ if (escaped === true) {
2495
+ escaped = false;
2496
+ continue;
2497
+ }
2498
+ if (ch === "\\") {
2499
+ escaped = true;
2500
+ continue;
2501
+ }
2502
+ if (ch === '"') {
2503
+ quote = quote === 1 ? 0 : 1;
2504
+ continue;
2505
+ }
2506
+ if (quote === 1) {
2507
+ continue;
2508
+ }
2509
+ if (ch === "[") {
2510
+ bracket++;
2511
+ continue;
2512
+ }
2513
+ if (ch === "]" && bracket > 0) {
2514
+ bracket--;
2515
+ continue;
2516
+ }
2517
+ if (bracket > 0) {
2518
+ continue;
2519
+ }
2520
+ if (ch === "(") {
2521
+ paren++;
2522
+ continue;
2523
+ }
2524
+ if (ch === ")") {
2525
+ paren--;
2526
+ if (paren === 0) {
2527
+ if (requireEnd === true && i !== pattern.length - 1) {
2528
+ return;
2529
+ }
2530
+ return {
2531
+ type: pattern[0],
2532
+ body: pattern.slice(2, i),
2533
+ end: i
2534
+ };
2535
+ }
2536
+ }
2537
+ }
2538
+ };
2539
+ var getStarExtglobSequenceOutput = (pattern) => {
2540
+ let index = 0;
2541
+ const chars = [];
2542
+ while (index < pattern.length) {
2543
+ const match = parseRepeatedExtglob(pattern.slice(index), false);
2544
+ if (!match || match.type !== "*") {
2545
+ return;
2546
+ }
2547
+ const branches = splitTopLevel(match.body).map((branch2) => branch2.trim());
2548
+ if (branches.length !== 1) {
2549
+ return;
2550
+ }
2551
+ const branch = normalizeSimpleBranch(branches[0]);
2552
+ if (!branch || branch.length !== 1) {
2553
+ return;
2554
+ }
2555
+ chars.push(branch);
2556
+ index += match.end + 1;
2557
+ }
2558
+ if (chars.length < 1) {
2559
+ return;
2560
+ }
2561
+ const source = chars.length === 1 ? utils.escapeRegex(chars[0]) : `[${chars.map((ch) => utils.escapeRegex(ch)).join("")}]`;
2562
+ return `${source}*`;
2563
+ };
2564
+ var repeatedExtglobRecursion = (pattern) => {
2565
+ let depth = 0;
2566
+ let value = pattern.trim();
2567
+ let match = parseRepeatedExtglob(value);
2568
+ while (match) {
2569
+ depth++;
2570
+ value = match.body.trim();
2571
+ match = parseRepeatedExtglob(value);
2572
+ }
2573
+ return depth;
2574
+ };
2575
+ var analyzeRepeatedExtglob = (body, options) => {
2576
+ if (options.maxExtglobRecursion === false) {
2577
+ return { risky: false };
2578
+ }
2579
+ const max = typeof options.maxExtglobRecursion === "number" ? options.maxExtglobRecursion : constants2.DEFAULT_MAX_EXTGLOB_RECURSION;
2580
+ const branches = splitTopLevel(body).map((branch) => branch.trim());
2581
+ if (branches.length > 1) {
2582
+ if (branches.some((branch) => branch === "") || branches.some((branch) => /^[*?]+$/.test(branch)) || hasRepeatedCharPrefixOverlap(branches)) {
2583
+ return { risky: true };
2584
+ }
2585
+ }
2586
+ for (const branch of branches) {
2587
+ const safeOutput = getStarExtglobSequenceOutput(branch);
2588
+ if (safeOutput) {
2589
+ return { risky: true, safeOutput };
2590
+ }
2591
+ if (repeatedExtglobRecursion(branch) > max) {
2592
+ return { risky: true };
2593
+ }
2594
+ }
2595
+ return { risky: false };
2596
+ };
2488
2597
  var parse2 = (input, options) => {
2489
2598
  if (typeof input !== "string") {
2490
2599
  throw new TypeError("Expected a string");
@@ -2616,6 +2725,8 @@ var require_parse2 = __commonJS({
2616
2725
  token.prev = prev;
2617
2726
  token.parens = state.parens;
2618
2727
  token.output = state.output;
2728
+ token.startIndex = state.index;
2729
+ token.tokensIndex = tokens.length;
2619
2730
  const output = (opts.capture ? "(" : "") + token.open;
2620
2731
  increment("parens");
2621
2732
  push({ type, value: value2, output: state.output ? "" : ONE_CHAR });
@@ -2623,6 +2734,26 @@ var require_parse2 = __commonJS({
2623
2734
  extglobs.push(token);
2624
2735
  };
2625
2736
  const extglobClose = (token) => {
2737
+ const literal = input.slice(token.startIndex, state.index + 1);
2738
+ const body = input.slice(token.startIndex + 2, state.index);
2739
+ const analysis = analyzeRepeatedExtglob(body, opts);
2740
+ if ((token.type === "plus" || token.type === "star") && analysis.risky) {
2741
+ const safeOutput = analysis.safeOutput ? (token.output ? "" : ONE_CHAR) + (opts.capture ? `(${analysis.safeOutput})` : analysis.safeOutput) : void 0;
2742
+ const open = tokens[token.tokensIndex];
2743
+ open.type = "text";
2744
+ open.value = literal;
2745
+ open.output = safeOutput || utils.escapeRegex(literal);
2746
+ for (let i = token.tokensIndex + 1; i < tokens.length; i++) {
2747
+ tokens[i].value = "";
2748
+ tokens[i].output = "";
2749
+ delete tokens[i].suffix;
2750
+ }
2751
+ state.output = token.output + open.output;
2752
+ state.backtrack = true;
2753
+ push({ type: "paren", extglob: true, value, output: "" });
2754
+ decrement("parens");
2755
+ return;
2756
+ }
2626
2757
  let output = token.close + (opts.capture ? ")" : "");
2627
2758
  let rest;
2628
2759
  if (token.type === "negate") {
@@ -2876,8 +3007,8 @@ var require_parse2 = __commonJS({
2876
3007
  brace.value = brace.output = "\\{";
2877
3008
  value = output = "\\}";
2878
3009
  state.output = out;
2879
- for (const t of toks) {
2880
- state.output += t.output || t.value;
3010
+ for (const t2 of toks) {
3011
+ state.output += t2.output || t2.value;
2881
3012
  }
2882
3013
  }
2883
3014
  push({ type: "brace", value, output });
@@ -3229,11 +3360,11 @@ var require_parse2 = __commonJS({
3229
3360
  }
3230
3361
  });
3231
3362
 
3232
- // node_modules/.bun/picomatch@2.3.1/node_modules/picomatch/lib/picomatch.js
3363
+ // node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/picomatch.js
3233
3364
  var require_picomatch = __commonJS({
3234
- "node_modules/.bun/picomatch@2.3.1/node_modules/picomatch/lib/picomatch.js"(exports, module) {
3365
+ "node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/picomatch.js"(exports, module) {
3235
3366
  "use strict";
3236
- init_utils();
3367
+ init_utils2();
3237
3368
  var path = __require("path");
3238
3369
  var scan = require_scan();
3239
3370
  var parse2 = require_parse2();
@@ -3371,11 +3502,11 @@ var require_picomatch = __commonJS({
3371
3502
  }
3372
3503
  });
3373
3504
 
3374
- // node_modules/.bun/picomatch@2.3.1/node_modules/picomatch/index.js
3505
+ // node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/index.js
3375
3506
  var require_picomatch2 = __commonJS({
3376
- "node_modules/.bun/picomatch@2.3.1/node_modules/picomatch/index.js"(exports, module) {
3507
+ "node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/index.js"(exports, module) {
3377
3508
  "use strict";
3378
- init_utils();
3509
+ init_utils2();
3379
3510
  module.exports = require_picomatch();
3380
3511
  }
3381
3512
  });
@@ -3384,7 +3515,7 @@ var require_picomatch2 = __commonJS({
3384
3515
  var require_micromatch = __commonJS({
3385
3516
  "node_modules/.bun/micromatch@4.0.8/node_modules/micromatch/index.js"(exports, module) {
3386
3517
  "use strict";
3387
- init_utils();
3518
+ init_utils2();
3388
3519
  var util = __require("util");
3389
3520
  var braces = require_braces();
3390
3521
  var picomatch = require_picomatch2();
@@ -3546,7 +3677,7 @@ var require_micromatch = __commonJS({
3546
3677
  var require_pattern = __commonJS({
3547
3678
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/utils/pattern.js"(exports) {
3548
3679
  "use strict";
3549
- init_utils();
3680
+ init_utils2();
3550
3681
  Object.defineProperty(exports, "__esModule", { value: true });
3551
3682
  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;
3552
3683
  var path = __require("path");
@@ -3656,7 +3787,7 @@ var require_pattern = __commonJS({
3656
3787
  exports.expandPatternsWithBraceExpansion = expandPatternsWithBraceExpansion;
3657
3788
  function expandBraceExpansion(pattern) {
3658
3789
  const patterns = micromatch.braces(pattern, { expand: true, nodupes: true, keepEscaping: true });
3659
- patterns.sort((a, b2) => a.length - b2.length);
3790
+ patterns.sort((a, b) => a.length - b.length);
3660
3791
  return patterns.filter((pattern2) => pattern2 !== "");
3661
3792
  }
3662
3793
  exports.expandBraceExpansion = expandBraceExpansion;
@@ -3712,7 +3843,7 @@ var require_pattern = __commonJS({
3712
3843
  var require_merge2 = __commonJS({
3713
3844
  "node_modules/.bun/merge2@1.4.1/node_modules/merge2/index.js"(exports, module) {
3714
3845
  "use strict";
3715
- init_utils();
3846
+ init_utils2();
3716
3847
  var Stream = __require("stream");
3717
3848
  var PassThrough = Stream.PassThrough;
3718
3849
  var slice = Array.prototype.slice;
@@ -3832,7 +3963,7 @@ var require_merge2 = __commonJS({
3832
3963
  var require_stream = __commonJS({
3833
3964
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/utils/stream.js"(exports) {
3834
3965
  "use strict";
3835
- init_utils();
3966
+ init_utils2();
3836
3967
  Object.defineProperty(exports, "__esModule", { value: true });
3837
3968
  exports.merge = void 0;
3838
3969
  var merge2 = require_merge2();
@@ -3856,7 +3987,7 @@ var require_stream = __commonJS({
3856
3987
  var require_string = __commonJS({
3857
3988
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/utils/string.js"(exports) {
3858
3989
  "use strict";
3859
- init_utils();
3990
+ init_utils2();
3860
3991
  Object.defineProperty(exports, "__esModule", { value: true });
3861
3992
  exports.isEmpty = exports.isString = void 0;
3862
3993
  function isString(input) {
@@ -3874,7 +4005,7 @@ var require_string = __commonJS({
3874
4005
  var require_utils3 = __commonJS({
3875
4006
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/utils/index.js"(exports) {
3876
4007
  "use strict";
3877
- init_utils();
4008
+ init_utils2();
3878
4009
  Object.defineProperty(exports, "__esModule", { value: true });
3879
4010
  exports.string = exports.stream = exports.pattern = exports.path = exports.fs = exports.errno = exports.array = void 0;
3880
4011
  var array = require_array();
@@ -3898,7 +4029,7 @@ var require_utils3 = __commonJS({
3898
4029
  var require_tasks = __commonJS({
3899
4030
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/managers/tasks.js"(exports) {
3900
4031
  "use strict";
3901
- init_utils();
4032
+ init_utils2();
3902
4033
  Object.defineProperty(exports, "__esModule", { value: true });
3903
4034
  exports.convertPatternGroupToTask = exports.convertPatternGroupsToTasks = exports.groupPatternsByBaseDirectory = exports.getNegativePatternsAsPositive = exports.getPositivePatterns = exports.convertPatternsToTasks = exports.generate = void 0;
3904
4035
  var utils = require_utils3();
@@ -3995,7 +4126,7 @@ var require_tasks = __commonJS({
3995
4126
  var require_async = __commonJS({
3996
4127
  "node_modules/.bun/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/async.js"(exports) {
3997
4128
  "use strict";
3998
- init_utils();
4129
+ init_utils2();
3999
4130
  Object.defineProperty(exports, "__esModule", { value: true });
4000
4131
  exports.read = void 0;
4001
4132
  function read(path, settings, callback) {
@@ -4038,7 +4169,7 @@ var require_async = __commonJS({
4038
4169
  var require_sync = __commonJS({
4039
4170
  "node_modules/.bun/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/sync.js"(exports) {
4040
4171
  "use strict";
4041
- init_utils();
4172
+ init_utils2();
4042
4173
  Object.defineProperty(exports, "__esModule", { value: true });
4043
4174
  exports.read = void 0;
4044
4175
  function read(path, settings) {
@@ -4067,7 +4198,7 @@ var require_sync = __commonJS({
4067
4198
  var require_fs2 = __commonJS({
4068
4199
  "node_modules/.bun/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/adapters/fs.js"(exports) {
4069
4200
  "use strict";
4070
- init_utils();
4201
+ init_utils2();
4071
4202
  Object.defineProperty(exports, "__esModule", { value: true });
4072
4203
  exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
4073
4204
  var fs2 = __require("fs");
@@ -4091,7 +4222,7 @@ var require_fs2 = __commonJS({
4091
4222
  var require_settings = __commonJS({
4092
4223
  "node_modules/.bun/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/settings.js"(exports) {
4093
4224
  "use strict";
4094
- init_utils();
4225
+ init_utils2();
4095
4226
  Object.defineProperty(exports, "__esModule", { value: true });
4096
4227
  var fs2 = require_fs2();
4097
4228
  var Settings = class {
@@ -4114,7 +4245,7 @@ var require_settings = __commonJS({
4114
4245
  var require_out = __commonJS({
4115
4246
  "node_modules/.bun/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/index.js"(exports) {
4116
4247
  "use strict";
4117
- init_utils();
4248
+ init_utils2();
4118
4249
  Object.defineProperty(exports, "__esModule", { value: true });
4119
4250
  exports.statSync = exports.stat = exports.Settings = void 0;
4120
4251
  var async = require_async();
@@ -4146,7 +4277,7 @@ var require_out = __commonJS({
4146
4277
  // node_modules/.bun/queue-microtask@1.2.3/node_modules/queue-microtask/index.js
4147
4278
  var require_queue_microtask = __commonJS({
4148
4279
  "node_modules/.bun/queue-microtask@1.2.3/node_modules/queue-microtask/index.js"(exports, module) {
4149
- init_utils();
4280
+ init_utils2();
4150
4281
  var promise;
4151
4282
  module.exports = typeof queueMicrotask === "function" ? queueMicrotask.bind(typeof window !== "undefined" ? window : global) : (cb) => (promise || (promise = Promise.resolve())).then(cb).catch((err) => setTimeout(() => {
4152
4283
  throw err;
@@ -4157,7 +4288,7 @@ var require_queue_microtask = __commonJS({
4157
4288
  // node_modules/.bun/run-parallel@1.2.0/node_modules/run-parallel/index.js
4158
4289
  var require_run_parallel = __commonJS({
4159
4290
  "node_modules/.bun/run-parallel@1.2.0/node_modules/run-parallel/index.js"(exports, module) {
4160
- init_utils();
4291
+ init_utils2();
4161
4292
  module.exports = runParallel;
4162
4293
  var queueMicrotask2 = require_queue_microtask();
4163
4294
  function runParallel(tasks, cb) {
@@ -4209,7 +4340,7 @@ var require_run_parallel = __commonJS({
4209
4340
  var require_constants3 = __commonJS({
4210
4341
  "node_modules/.bun/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/constants.js"(exports) {
4211
4342
  "use strict";
4212
- init_utils();
4343
+ init_utils2();
4213
4344
  Object.defineProperty(exports, "__esModule", { value: true });
4214
4345
  exports.IS_SUPPORT_READDIR_WITH_FILE_TYPES = void 0;
4215
4346
  var NODE_PROCESS_VERSION_PARTS = process.versions.node.split(".");
@@ -4230,7 +4361,7 @@ var require_constants3 = __commonJS({
4230
4361
  var require_fs3 = __commonJS({
4231
4362
  "node_modules/.bun/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/fs.js"(exports) {
4232
4363
  "use strict";
4233
- init_utils();
4364
+ init_utils2();
4234
4365
  Object.defineProperty(exports, "__esModule", { value: true });
4235
4366
  exports.createDirentFromStats = void 0;
4236
4367
  var DirentFromStats = class {
@@ -4256,7 +4387,7 @@ var require_fs3 = __commonJS({
4256
4387
  var require_utils4 = __commonJS({
4257
4388
  "node_modules/.bun/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/index.js"(exports) {
4258
4389
  "use strict";
4259
- init_utils();
4390
+ init_utils2();
4260
4391
  Object.defineProperty(exports, "__esModule", { value: true });
4261
4392
  exports.fs = void 0;
4262
4393
  var fs2 = require_fs3();
@@ -4268,14 +4399,14 @@ var require_utils4 = __commonJS({
4268
4399
  var require_common = __commonJS({
4269
4400
  "node_modules/.bun/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/common.js"(exports) {
4270
4401
  "use strict";
4271
- init_utils();
4402
+ init_utils2();
4272
4403
  Object.defineProperty(exports, "__esModule", { value: true });
4273
4404
  exports.joinPathSegments = void 0;
4274
- function joinPathSegments(a, b2, separator) {
4405
+ function joinPathSegments(a, b, separator) {
4275
4406
  if (a.endsWith(separator)) {
4276
- return a + b2;
4407
+ return a + b;
4277
4408
  }
4278
- return a + separator + b2;
4409
+ return a + separator + b;
4279
4410
  }
4280
4411
  exports.joinPathSegments = joinPathSegments;
4281
4412
  }
@@ -4285,7 +4416,7 @@ var require_common = __commonJS({
4285
4416
  var require_async2 = __commonJS({
4286
4417
  "node_modules/.bun/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/async.js"(exports) {
4287
4418
  "use strict";
4288
- init_utils();
4419
+ init_utils2();
4289
4420
  Object.defineProperty(exports, "__esModule", { value: true });
4290
4421
  exports.readdir = exports.readdirWithFileTypes = exports.read = void 0;
4291
4422
  var fsStat = require_out();
@@ -4396,7 +4527,7 @@ var require_async2 = __commonJS({
4396
4527
  var require_sync2 = __commonJS({
4397
4528
  "node_modules/.bun/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/sync.js"(exports) {
4398
4529
  "use strict";
4399
- init_utils();
4530
+ init_utils2();
4400
4531
  Object.defineProperty(exports, "__esModule", { value: true });
4401
4532
  exports.readdir = exports.readdirWithFileTypes = exports.read = void 0;
4402
4533
  var fsStat = require_out();
@@ -4456,7 +4587,7 @@ var require_sync2 = __commonJS({
4456
4587
  var require_fs4 = __commonJS({
4457
4588
  "node_modules/.bun/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/adapters/fs.js"(exports) {
4458
4589
  "use strict";
4459
- init_utils();
4590
+ init_utils2();
4460
4591
  Object.defineProperty(exports, "__esModule", { value: true });
4461
4592
  exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
4462
4593
  var fs2 = __require("fs");
@@ -4482,7 +4613,7 @@ var require_fs4 = __commonJS({
4482
4613
  var require_settings2 = __commonJS({
4483
4614
  "node_modules/.bun/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/settings.js"(exports) {
4484
4615
  "use strict";
4485
- init_utils();
4616
+ init_utils2();
4486
4617
  Object.defineProperty(exports, "__esModule", { value: true });
4487
4618
  var path = __require("path");
4488
4619
  var fsStat = require_out();
@@ -4513,7 +4644,7 @@ var require_settings2 = __commonJS({
4513
4644
  var require_out2 = __commonJS({
4514
4645
  "node_modules/.bun/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/index.js"(exports) {
4515
4646
  "use strict";
4516
- init_utils();
4647
+ init_utils2();
4517
4648
  Object.defineProperty(exports, "__esModule", { value: true });
4518
4649
  exports.Settings = exports.scandirSync = exports.scandir = void 0;
4519
4650
  var async = require_async2();
@@ -4546,7 +4677,7 @@ var require_out2 = __commonJS({
4546
4677
  var require_reusify = __commonJS({
4547
4678
  "node_modules/.bun/reusify@1.1.0/node_modules/reusify/reusify.js"(exports, module) {
4548
4679
  "use strict";
4549
- init_utils();
4680
+ init_utils2();
4550
4681
  function reusify(Constructor) {
4551
4682
  var head = new Constructor();
4552
4683
  var tail = head;
@@ -4578,7 +4709,7 @@ var require_reusify = __commonJS({
4578
4709
  var require_queue = __commonJS({
4579
4710
  "node_modules/.bun/fastq@1.20.1/node_modules/fastq/queue.js"(exports, module) {
4580
4711
  "use strict";
4581
- init_utils();
4712
+ init_utils2();
4582
4713
  var reusify = require_reusify();
4583
4714
  function fastqueue(context, worker, _concurrency) {
4584
4715
  if (typeof context === "function") {
@@ -4863,7 +4994,7 @@ var require_queue = __commonJS({
4863
4994
  var require_common2 = __commonJS({
4864
4995
  "node_modules/.bun/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/common.js"(exports) {
4865
4996
  "use strict";
4866
- init_utils();
4997
+ init_utils2();
4867
4998
  Object.defineProperty(exports, "__esModule", { value: true });
4868
4999
  exports.joinPathSegments = exports.replacePathSegmentSeparator = exports.isAppliedFilter = exports.isFatalError = void 0;
4869
5000
  function isFatalError(settings, error2) {
@@ -4881,14 +5012,14 @@ var require_common2 = __commonJS({
4881
5012
  return filepath.split(/[/\\]/).join(separator);
4882
5013
  }
4883
5014
  exports.replacePathSegmentSeparator = replacePathSegmentSeparator;
4884
- function joinPathSegments(a, b2, separator) {
5015
+ function joinPathSegments(a, b, separator) {
4885
5016
  if (a === "") {
4886
- return b2;
5017
+ return b;
4887
5018
  }
4888
5019
  if (a.endsWith(separator)) {
4889
- return a + b2;
5020
+ return a + b;
4890
5021
  }
4891
- return a + separator + b2;
5022
+ return a + separator + b;
4892
5023
  }
4893
5024
  exports.joinPathSegments = joinPathSegments;
4894
5025
  }
@@ -4898,7 +5029,7 @@ var require_common2 = __commonJS({
4898
5029
  var require_reader = __commonJS({
4899
5030
  "node_modules/.bun/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/reader.js"(exports) {
4900
5031
  "use strict";
4901
- init_utils();
5032
+ init_utils2();
4902
5033
  Object.defineProperty(exports, "__esModule", { value: true });
4903
5034
  var common = require_common2();
4904
5035
  var Reader = class {
@@ -4916,7 +5047,7 @@ var require_reader = __commonJS({
4916
5047
  var require_async3 = __commonJS({
4917
5048
  "node_modules/.bun/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/async.js"(exports) {
4918
5049
  "use strict";
4919
- init_utils();
5050
+ init_utils2();
4920
5051
  Object.defineProperty(exports, "__esModule", { value: true });
4921
5052
  var events_1 = __require("events");
4922
5053
  var fsScandir = require_out2();
@@ -5020,7 +5151,7 @@ var require_async3 = __commonJS({
5020
5151
  var require_async4 = __commonJS({
5021
5152
  "node_modules/.bun/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/async.js"(exports) {
5022
5153
  "use strict";
5023
- init_utils();
5154
+ init_utils2();
5024
5155
  Object.defineProperty(exports, "__esModule", { value: true });
5025
5156
  var async_1 = require_async3();
5026
5157
  var AsyncProvider = class {
@@ -5057,7 +5188,7 @@ var require_async4 = __commonJS({
5057
5188
  var require_stream2 = __commonJS({
5058
5189
  "node_modules/.bun/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/stream.js"(exports) {
5059
5190
  "use strict";
5060
- init_utils();
5191
+ init_utils2();
5061
5192
  Object.defineProperty(exports, "__esModule", { value: true });
5062
5193
  var stream_1 = __require("stream");
5063
5194
  var async_1 = require_async3();
@@ -5099,7 +5230,7 @@ var require_stream2 = __commonJS({
5099
5230
  var require_sync3 = __commonJS({
5100
5231
  "node_modules/.bun/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/sync.js"(exports) {
5101
5232
  "use strict";
5102
- init_utils();
5233
+ init_utils2();
5103
5234
  Object.defineProperty(exports, "__esModule", { value: true });
5104
5235
  var fsScandir = require_out2();
5105
5236
  var common = require_common2();
@@ -5164,7 +5295,7 @@ var require_sync3 = __commonJS({
5164
5295
  var require_sync4 = __commonJS({
5165
5296
  "node_modules/.bun/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/sync.js"(exports) {
5166
5297
  "use strict";
5167
- init_utils();
5298
+ init_utils2();
5168
5299
  Object.defineProperty(exports, "__esModule", { value: true });
5169
5300
  var sync_1 = require_sync3();
5170
5301
  var SyncProvider = class {
@@ -5185,7 +5316,7 @@ var require_sync4 = __commonJS({
5185
5316
  var require_settings3 = __commonJS({
5186
5317
  "node_modules/.bun/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/settings.js"(exports) {
5187
5318
  "use strict";
5188
- init_utils();
5319
+ init_utils2();
5189
5320
  Object.defineProperty(exports, "__esModule", { value: true });
5190
5321
  var path = __require("path");
5191
5322
  var fsScandir = require_out2();
@@ -5218,7 +5349,7 @@ var require_settings3 = __commonJS({
5218
5349
  var require_out3 = __commonJS({
5219
5350
  "node_modules/.bun/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/index.js"(exports) {
5220
5351
  "use strict";
5221
- init_utils();
5352
+ init_utils2();
5222
5353
  Object.defineProperty(exports, "__esModule", { value: true });
5223
5354
  exports.Settings = exports.walkStream = exports.walkSync = exports.walk = void 0;
5224
5355
  var async_1 = require_async4();
@@ -5259,7 +5390,7 @@ var require_out3 = __commonJS({
5259
5390
  var require_reader2 = __commonJS({
5260
5391
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/readers/reader.js"(exports) {
5261
5392
  "use strict";
5262
- init_utils();
5393
+ init_utils2();
5263
5394
  Object.defineProperty(exports, "__esModule", { value: true });
5264
5395
  var path = __require("path");
5265
5396
  var fsStat = require_out();
@@ -5299,7 +5430,7 @@ var require_reader2 = __commonJS({
5299
5430
  var require_stream3 = __commonJS({
5300
5431
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/readers/stream.js"(exports) {
5301
5432
  "use strict";
5302
- init_utils();
5433
+ init_utils2();
5303
5434
  Object.defineProperty(exports, "__esModule", { value: true });
5304
5435
  var stream_1 = __require("stream");
5305
5436
  var fsStat = require_out();
@@ -5357,7 +5488,7 @@ var require_stream3 = __commonJS({
5357
5488
  var require_async5 = __commonJS({
5358
5489
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/readers/async.js"(exports) {
5359
5490
  "use strict";
5360
- init_utils();
5491
+ init_utils2();
5361
5492
  Object.defineProperty(exports, "__esModule", { value: true });
5362
5493
  var fsWalk = require_out3();
5363
5494
  var reader_1 = require_reader2();
@@ -5397,7 +5528,7 @@ var require_async5 = __commonJS({
5397
5528
  var require_matcher = __commonJS({
5398
5529
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/providers/matchers/matcher.js"(exports) {
5399
5530
  "use strict";
5400
- init_utils();
5531
+ init_utils2();
5401
5532
  Object.defineProperty(exports, "__esModule", { value: true });
5402
5533
  var utils = require_utils3();
5403
5534
  var Matcher = class {
@@ -5449,7 +5580,7 @@ var require_matcher = __commonJS({
5449
5580
  var require_partial = __commonJS({
5450
5581
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/providers/matchers/partial.js"(exports) {
5451
5582
  "use strict";
5452
- init_utils();
5583
+ init_utils2();
5453
5584
  Object.defineProperty(exports, "__esModule", { value: true });
5454
5585
  var matcher_1 = require_matcher();
5455
5586
  var PartialMatcher = class extends matcher_1.default {
@@ -5487,7 +5618,7 @@ var require_partial = __commonJS({
5487
5618
  var require_deep = __commonJS({
5488
5619
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/deep.js"(exports) {
5489
5620
  "use strict";
5490
- init_utils();
5621
+ init_utils2();
5491
5622
  Object.defineProperty(exports, "__esModule", { value: true });
5492
5623
  var utils = require_utils3();
5493
5624
  var partial_1 = require_partial();
@@ -5553,7 +5684,7 @@ var require_deep = __commonJS({
5553
5684
  var require_entry = __commonJS({
5554
5685
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/entry.js"(exports) {
5555
5686
  "use strict";
5556
- init_utils();
5687
+ init_utils2();
5557
5688
  Object.defineProperty(exports, "__esModule", { value: true });
5558
5689
  var utils = require_utils3();
5559
5690
  var EntryFilter = class {
@@ -5642,7 +5773,7 @@ var require_entry = __commonJS({
5642
5773
  var require_error = __commonJS({
5643
5774
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/error.js"(exports) {
5644
5775
  "use strict";
5645
- init_utils();
5776
+ init_utils2();
5646
5777
  Object.defineProperty(exports, "__esModule", { value: true });
5647
5778
  var utils = require_utils3();
5648
5779
  var ErrorFilter = class {
@@ -5664,7 +5795,7 @@ var require_error = __commonJS({
5664
5795
  var require_entry2 = __commonJS({
5665
5796
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/providers/transformers/entry.js"(exports) {
5666
5797
  "use strict";
5667
- init_utils();
5798
+ init_utils2();
5668
5799
  Object.defineProperty(exports, "__esModule", { value: true });
5669
5800
  var utils = require_utils3();
5670
5801
  var EntryTransformer = class {
@@ -5697,7 +5828,7 @@ var require_entry2 = __commonJS({
5697
5828
  var require_provider = __commonJS({
5698
5829
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/providers/provider.js"(exports) {
5699
5830
  "use strict";
5700
- init_utils();
5831
+ init_utils2();
5701
5832
  Object.defineProperty(exports, "__esModule", { value: true });
5702
5833
  var path = __require("path");
5703
5834
  var deep_1 = require_deep();
@@ -5752,7 +5883,7 @@ var require_provider = __commonJS({
5752
5883
  var require_async6 = __commonJS({
5753
5884
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/providers/async.js"(exports) {
5754
5885
  "use strict";
5755
- init_utils();
5886
+ init_utils2();
5756
5887
  Object.defineProperty(exports, "__esModule", { value: true });
5757
5888
  var async_1 = require_async5();
5758
5889
  var provider_1 = require_provider();
@@ -5782,7 +5913,7 @@ var require_async6 = __commonJS({
5782
5913
  var require_stream4 = __commonJS({
5783
5914
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/providers/stream.js"(exports) {
5784
5915
  "use strict";
5785
- init_utils();
5916
+ init_utils2();
5786
5917
  Object.defineProperty(exports, "__esModule", { value: true });
5787
5918
  var stream_1 = __require("stream");
5788
5919
  var stream_2 = require_stream3();
@@ -5817,7 +5948,7 @@ var require_stream4 = __commonJS({
5817
5948
  var require_sync5 = __commonJS({
5818
5949
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/readers/sync.js"(exports) {
5819
5950
  "use strict";
5820
- init_utils();
5951
+ init_utils2();
5821
5952
  Object.defineProperty(exports, "__esModule", { value: true });
5822
5953
  var fsStat = require_out();
5823
5954
  var fsWalk = require_out3();
@@ -5866,7 +5997,7 @@ var require_sync5 = __commonJS({
5866
5997
  var require_sync6 = __commonJS({
5867
5998
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/providers/sync.js"(exports) {
5868
5999
  "use strict";
5869
- init_utils();
6000
+ init_utils2();
5870
6001
  Object.defineProperty(exports, "__esModule", { value: true });
5871
6002
  var sync_1 = require_sync5();
5872
6003
  var provider_1 = require_provider();
@@ -5896,7 +6027,7 @@ var require_sync6 = __commonJS({
5896
6027
  var require_settings4 = __commonJS({
5897
6028
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/settings.js"(exports) {
5898
6029
  "use strict";
5899
- init_utils();
6030
+ init_utils2();
5900
6031
  Object.defineProperty(exports, "__esModule", { value: true });
5901
6032
  exports.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;
5902
6033
  var fs2 = __require("fs");
@@ -5957,7 +6088,7 @@ var require_settings4 = __commonJS({
5957
6088
  var require_out4 = __commonJS({
5958
6089
  "node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/index.js"(exports, module) {
5959
6090
  "use strict";
5960
- init_utils();
6091
+ init_utils2();
5961
6092
  var taskManager = require_tasks();
5962
6093
  var async_1 = require_async6();
5963
6094
  var stream_1 = require_stream4();
@@ -6076,7 +6207,7 @@ var I18N_PATHS, SCAN_PATTERNS, GLOB_OPTIONS;
6076
6207
  var init_constants = __esm({
6077
6208
  "packages/core/config/constants.js"() {
6078
6209
  "use strict";
6079
- init_utils();
6210
+ init_utils2();
6080
6211
  I18N_PATHS = {
6081
6212
  // Monorepo source structure (locales at root, not in src/)
6082
6213
  SOURCE_ROOT: "packages/core/i18n",
@@ -6238,7 +6369,7 @@ var import_fast_glob, constants, log2, PACKAGE_PATHS, PathResolver;
6238
6369
  var init_PathResolver = __esm({
6239
6370
  "packages/core/config/utils/PathResolver.ts"() {
6240
6371
  "use strict";
6241
- init_utils();
6372
+ init_utils2();
6242
6373
  import_fast_glob = __toESM(require_out4(), 1);
6243
6374
  init_constants();
6244
6375
  constants = {
@@ -7239,7 +7370,7 @@ var pathResolverInstance, getRepoRoot, normalizePath, pathExists, readSync, join
7239
7370
  var init_pathResolver = __esm({
7240
7371
  "packages/tooling/src/utils/pathResolver.ts"() {
7241
7372
  "use strict";
7242
- init_utils();
7373
+ init_utils2();
7243
7374
  init_PathResolver();
7244
7375
  pathResolverInstance = PathResolver.getInstance({ debug: false });
7245
7376
  getRepoRoot = () => pathResolverInstance.getRepoRoot();
@@ -7262,7 +7393,7 @@ import { dirname as dirname3, resolve as resolve3 } from "node:path";
7262
7393
  import process from "node:process";
7263
7394
  import { fileURLToPath as fileURLToPath3 } from "node:url";
7264
7395
  var require2, __filename, __dirname;
7265
- var init_utils = __esm({
7396
+ var init_utils2 = __esm({
7266
7397
  "packages/tooling/src/bundler/utils.ts"() {
7267
7398
  "use strict";
7268
7399
  require2 = createRequire3(import.meta.url);
@@ -7282,16 +7413,16 @@ var init_utils = __esm({
7282
7413
  });
7283
7414
 
7284
7415
  // packages/cli/src/bin/commands/wai.ts
7285
- init_utils();
7416
+ init_utils2();
7286
7417
 
7287
7418
  // packages/tooling/src/index.ts
7288
- init_utils();
7419
+ init_utils2();
7289
7420
 
7290
7421
  // packages/tooling/src/cli/index.ts
7291
- init_utils();
7422
+ init_utils2();
7292
7423
 
7293
7424
  // packages/tooling/src/cli/wai.ts
7294
- init_utils();
7425
+ init_utils2();
7295
7426
  init_cli_output();
7296
7427
  init_pathResolver();
7297
7428
  async function main() {
@@ -7310,17 +7441,17 @@ async function main() {
7310
7441
  log.error("Not in a project directory. Run this from your project root.");
7311
7442
  return 1;
7312
7443
  }
7313
- const aiMdPath = joinPath(projectRoot, "AI.md");
7314
- if (!pathExists(aiMdPath)) {
7315
- log.error("AI.md not found in project root.");
7444
+ const agentsMdPath = joinPath(projectRoot, "AGENTS.md");
7445
+ if (!pathExists(agentsMdPath)) {
7446
+ log.error("AGENTS.md not found in project root.");
7316
7447
  log.warn(
7317
- 'Run "dndev init" to scaffold a new project, or create AI.md manually.'
7448
+ 'Run "dndev init" to scaffold a new project, or create AGENTS.md manually.'
7318
7449
  );
7319
7450
  return 1;
7320
7451
  }
7321
- const content = readSync(aiMdPath);
7452
+ const content = readSync(agentsMdPath);
7322
7453
  if (!content) {
7323
- log.error("AI.md is empty.");
7454
+ log.error("AGENTS.md is empty.");
7324
7455
  return 1;
7325
7456
  }
7326
7457
  if (copyToClipboard) {