@donotdev/cli 0.1.1 → 0.1.44
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.
- package/LICENSE.md +1 -1
- package/README.md +0 -0
- package/dependencies-matrix.json +93 -40
- package/dist/bin/commands/agent-setup.js +695 -420
- package/dist/bin/commands/build.js +1181 -832
- package/dist/bin/commands/bump.js +1065 -771
- package/dist/bin/commands/cacheout.js +253 -355
- package/dist/bin/commands/coach.js +275 -375
- package/dist/bin/commands/create-app.js +1085 -790
- package/dist/bin/commands/create-project.js +1117 -819
- package/dist/bin/commands/db.js +17045 -16542
- package/dist/bin/commands/deploy.js +1999 -1367
- package/dist/bin/commands/dev.js +879 -627
- package/dist/bin/commands/doctor.js +696 -425
- package/dist/bin/commands/emu.js +1001 -712
- package/dist/bin/commands/format.js +253 -355
- package/dist/bin/commands/get-demo.js +979 -706
- package/dist/bin/commands/make-admin.js +6279 -5746
- package/dist/bin/commands/preview.js +883 -628
- package/dist/bin/commands/seed.js +17058 -16555
- package/dist/bin/commands/setup-cicd.js +1024 -749
- package/dist/bin/commands/setup.js +1162 -844
- package/dist/bin/commands/staging.js +2000 -1368
- package/dist/bin/commands/sync-secrets.js +1181 -667
- package/dist/bin/commands/type-check.js +735 -461
- package/dist/bin/commands/wai.js +258 -360
- package/dist/bin/dndev.js +31 -16
- package/dist/bin/donotdev.js +31 -16
- package/dist/index.js +2200 -1513
- package/guidelines/DEPENDENCIES.md +155 -0
- package/guidelines/VERSION_CONTROL.md +0 -0
- package/package.json +1 -1
- package/templates/app-demo/.env.example +1 -1
- package/templates/app-demo/entities/Contact.ts.example +0 -0
- package/templates/app-demo/entities/ExampleEntity.ts.example +0 -0
- package/templates/app-demo/entities/demo.ts.example +0 -0
- package/templates/app-demo/index.html.example +0 -0
- package/templates/app-demo/public/apple-touch-icon.png.example +0 -0
- package/templates/app-demo/public/fonts/fonts.css.example +0 -0
- package/templates/app-demo/public/icon-192x192.png.example +0 -0
- package/templates/app-demo/public/icon-512x512.png.example +0 -0
- package/templates/app-demo/src/App.tsx.example +0 -0
- package/templates/app-demo/src/config/app.ts.example +0 -0
- package/templates/app-demo/src/entities/booking.ts.example +0 -0
- package/templates/app-demo/src/entities/onboarding.ts.example +0 -0
- package/templates/app-demo/src/entities/product.ts.example +0 -0
- package/templates/app-demo/src/entities/quote.ts.example +0 -0
- package/templates/app-demo/src/globals.css.example +0 -0
- package/templates/app-demo/src/main.tsx.example +0 -0
- package/templates/app-demo/src/pages/ChangelogPage.tsx.example +0 -0
- package/templates/app-demo/src/pages/ConditionalFormPage.tsx.example +0 -0
- package/templates/app-demo/src/pages/DashboardPage.tsx.example +0 -0
- package/templates/app-demo/src/pages/HomePage.tsx.example +0 -0
- package/templates/app-demo/src/pages/OnboardingPage.tsx.example +0 -0
- package/templates/app-demo/src/pages/PricingPage.tsx.example +0 -0
- package/templates/app-demo/src/pages/ProductsPage.tsx.example +0 -0
- package/templates/app-demo/src/pages/ProfilePage.tsx.example +0 -0
- package/templates/app-demo/src/pages/SettingsPage.tsx.example +0 -0
- package/templates/app-demo/src/pages/ShowcaseDetailPage.tsx.example +0 -0
- package/templates/app-demo/src/pages/ShowcasePage.tsx.example +0 -0
- package/templates/app-demo/src/pages/components/ComponentRenderer.tsx.example +0 -0
- package/templates/app-demo/src/pages/components/ComponentsData.tsx.example +0 -0
- package/templates/app-demo/src/pages/components/componentConfig.ts.example +0 -0
- package/templates/app-demo/src/pages/legal/LegalPage.tsx.example +0 -0
- package/templates/app-demo/src/pages/legal/PrivacyPage.tsx.example +0 -0
- package/templates/app-demo/src/pages/legal/TermsPage.tsx.example +0 -0
- package/templates/app-demo/src/themes.css.example +6 -0
- package/templates/app-demo/tsconfig.json.example +0 -0
- package/templates/app-demo/vite.config.ts.example +0 -0
- package/templates/app-dndev/index.html.example +0 -0
- package/templates/app-dndev/src/App.tsx.example +0 -0
- package/templates/app-dndev/src/components/CockpitLayout.css.example +0 -0
- package/templates/app-dndev/src/components/CockpitLayout.tsx.example +0 -0
- package/templates/app-dndev/src/components/Kanban.css.example +0 -0
- package/templates/app-dndev/src/components/ModeToggle.tsx.example +0 -0
- package/templates/app-dndev/src/components/OverlaySlot.tsx.example +0 -0
- package/templates/app-dndev/src/components/TerminalPanel.css.example +0 -0
- package/templates/app-dndev/src/components/TerminalPanel.tsx.example +0 -0
- package/templates/app-dndev/src/components/markdown-prose.css.example +0 -0
- package/templates/app-dndev/src/components/phases/CaptainLog.tsx.example +0 -0
- package/templates/app-dndev/src/components/phases/ContextTabs.tsx.example +0 -0
- package/templates/app-dndev/src/components/phases/PhaseCard.tsx.example +0 -0
- package/templates/app-dndev/src/components/phases/PhaseDetail.tsx.example +0 -0
- package/templates/app-dndev/src/components/phases/ReviewPanel.tsx.example +0 -0
- package/templates/app-dndev/src/components/phases/phaseData.ts.example +0 -0
- package/templates/app-dndev/src/config/app.ts.example +1 -1
- package/templates/app-dndev/src/config/commands.ts.example +0 -0
- package/templates/app-dndev/src/config/legal.ts.example +0 -0
- package/templates/app-dndev/src/config/providers.ts.example +1 -1
- package/templates/app-dndev/src/globals.css.example +0 -0
- package/templates/app-dndev/src/hooks/useDndevFile.ts.example +0 -0
- package/templates/app-dndev/src/main.tsx.example +0 -0
- package/templates/app-dndev/src/pages/BoardPage.tsx.example +0 -0
- package/templates/app-dndev/src/pages/GrillPage.tsx.example +0 -0
- package/templates/app-dndev/src/pages/HomePage.tsx.example +0 -0
- package/templates/app-dndev/src/pages/NotFoundPage.tsx.example +0 -0
- package/templates/app-dndev/src/pages/PhasesPage.tsx.example +0 -0
- package/templates/app-dndev/src/pages/SettingsPage.tsx.example +0 -0
- package/templates/app-dndev/src/pages/legal/LegalNoticePage.tsx.example +0 -0
- package/templates/app-dndev/src/pages/legal/PrivacyPage.tsx.example +0 -0
- package/templates/app-dndev/src/pages/legal/TermsPage.tsx.example +0 -0
- package/templates/app-dndev/src/stores/dndevStore.ts.example +0 -0
- package/templates/app-dndev/src/themes.css.example +5 -0
- package/templates/app-dndev/terminal-sidecar.cjs.example +0 -0
- package/templates/app-dndev/vite.config.ts.example +0 -0
- package/templates/app-expo/.env.example +0 -32
- package/templates/app-expo/.expo/README.md.example +0 -0
- package/templates/app-expo/.gitignore.example +0 -0
- package/templates/app-expo/README.md.example +1 -1
- package/templates/app-expo/app/.gitkeep +0 -0
- package/templates/app-expo/app/_layout.tsx.example +0 -0
- package/templates/app-expo/app/form.tsx.example +0 -0
- package/templates/app-expo/app/index.tsx.example +0 -0
- package/templates/app-expo/app/list.tsx.example +0 -0
- package/templates/app-expo/app/profile.tsx.example +0 -0
- package/templates/app-expo/app/signin.tsx.example +0 -0
- package/templates/app-expo/app.json.example +0 -0
- package/templates/app-expo/assets/adaptive-icon.png +0 -0
- package/templates/app-expo/assets/favicon.png +0 -0
- package/templates/app-expo/assets/icon.png +0 -0
- package/templates/app-expo/assets/splash.png +0 -0
- package/templates/app-expo/babel.config.js.example +0 -0
- package/templates/app-expo/eas.json.example +0 -0
- package/templates/app-expo/expo-env.d.ts.example +0 -0
- package/templates/app-expo/metro.config.js.example +0 -0
- package/templates/app-expo/service-account-key.json.example +1 -1
- package/templates/app-expo/src/config/app.ts.example +0 -0
- package/templates/app-expo/src/config/providers.ts.example +1 -1
- package/templates/app-expo/tsconfig.json.example +0 -0
- package/templates/app-next/.env.example +0 -33
- package/templates/app-next/next.config.ts.example +0 -2
- package/templates/app-next/postcss.config.js.example +0 -0
- package/templates/app-next/service-account-key.json.example +0 -0
- package/templates/app-next/src/app/ClientLayout.tsx.example +0 -0
- package/templates/app-next/src/app/not-found.tsx.example +14 -1
- package/templates/app-next/src/config/app.ts.example +1 -1
- package/templates/app-next/src/config/legal.ts.example +0 -0
- package/templates/app-next/src/config/providers.ts.example +1 -1
- package/templates/app-next/src/globals.css.example +0 -0
- package/templates/app-next/src/locales/dndev_en.json.example +0 -0
- package/templates/app-next/src/locales/home_en.json.example +6 -6
- package/templates/app-next/src/pages/HomePage.tsx.example +0 -0
- package/templates/app-next/src/pages/legal/LegalNoticePage.tsx.example +0 -0
- package/templates/app-next/src/pages/legal/PrivacyPage.tsx.example +0 -0
- package/templates/app-next/src/pages/legal/TermsPage.tsx.example +0 -0
- package/templates/app-next/src/pages/locales/example_en.json.example +0 -0
- package/templates/app-next/src/themes.css.example +7 -1
- package/templates/app-vite/.env.example +0 -33
- package/templates/app-vite/csp.example.json +0 -0
- package/templates/app-vite/index.html.example +0 -0
- package/templates/app-vite/service-account-key.json.example +0 -0
- package/templates/app-vite/src/App.tsx.example +0 -0
- package/templates/app-vite/src/config/app.ts.example +1 -1
- package/templates/app-vite/src/config/legal.ts.example +0 -0
- package/templates/app-vite/src/config/providers.ts.example +1 -1
- package/templates/app-vite/src/globals.css.example +0 -0
- package/templates/app-vite/src/locales/dndev_en.json.example +0 -0
- package/templates/app-vite/src/locales/home_en.json.example +6 -6
- package/templates/app-vite/src/main.tsx.example +0 -0
- package/templates/app-vite/src/pages/FormPageExample.tsx.example +0 -0
- package/templates/app-vite/src/pages/HomePage.tsx.example +1 -1
- package/templates/app-vite/src/pages/ListPageExample.tsx.example +0 -0
- package/templates/app-vite/src/pages/NotFoundPage.tsx.example +0 -0
- package/templates/app-vite/src/pages/legal/LegalNoticePage.tsx.example +0 -0
- package/templates/app-vite/src/pages/legal/PrivacyPage.tsx.example +0 -0
- package/templates/app-vite/src/pages/legal/TermsPage.tsx.example +0 -0
- package/templates/app-vite/src/pages/locales/example_en.json.example +0 -0
- package/templates/app-vite/src/themes.css.example +5 -0
- package/templates/deploy-config/.firebaserc.example +0 -0
- package/templates/deploy-config/firestore.indexes.json.example +0 -0
- package/templates/deploy-config/firestore.rules.example +0 -0
- package/templates/deploy-config/storage.rules.example +0 -0
- package/templates/deploy-config/tsconfig.functions.json.example +0 -0
- package/templates/deploy-config/vercel.json.example +2 -2
- package/templates/functions-firebase/.env.example +2 -2
- package/templates/functions-firebase/README.md.example +3 -3
- package/templates/functions-firebase/build.mjs.example +0 -0
- package/templates/functions-firebase/functions.config.js.example +0 -0
- package/templates/functions-firebase/functions.yaml.example +0 -0
- package/templates/functions-firebase/src/auth/getCustomClaims.ts.example +0 -0
- package/templates/functions-firebase/src/auth/getUserAuthStatus.ts.example +0 -0
- package/templates/functions-firebase/src/auth/index.ts.example +0 -0
- package/templates/functions-firebase/src/auth/removeCustomClaims.ts.example +0 -0
- package/templates/functions-firebase/src/auth/setCustomClaims.ts.example +0 -0
- package/templates/functions-firebase/src/billing/handleStripeWebhook.ts.example +0 -0
- package/templates/functions-firebase/src/billing/index.ts.example +0 -0
- package/templates/functions-firebase/src/billing/processPaymentSuccess.ts.example +0 -0
- package/templates/functions-firebase/src/billing/refreshSubscriptionStatus.ts.example +0 -0
- package/templates/functions-firebase/src/crud/createEntity.ts.example +0 -0
- package/templates/functions-firebase/src/crud/deleteEntity.ts.example +0 -0
- package/templates/functions-firebase/src/crud/getEntity.ts.example +0 -0
- package/templates/functions-firebase/src/crud/index.ts.example +0 -0
- package/templates/functions-firebase/src/crud/listEntities.ts.example +0 -0
- package/templates/functions-firebase/src/crud/updateEntity.ts.example +0 -0
- package/templates/functions-firebase/src/index.ts.example +0 -0
- package/templates/functions-firebase/src/oauth/checkGitHubAccess.ts.example +0 -0
- package/templates/functions-firebase/src/oauth/disconnect.ts.example +0 -0
- package/templates/functions-firebase/src/oauth/exchangeToken.ts.example +0 -0
- package/templates/functions-firebase/src/oauth/getConnections.ts.example +0 -0
- package/templates/functions-firebase/src/oauth/grantGitHubAccess.ts.example +0 -0
- package/templates/functions-firebase/src/oauth/index.ts.example +0 -0
- package/templates/functions-firebase/src/oauth/refreshToken.ts.example +0 -0
- package/templates/functions-firebase/src/oauth/revokeGitHubAccess.ts.example +0 -0
- package/templates/functions-firebase/tsconfig.json.example +0 -0
- package/templates/functions-supabase/supabase/config.toml.example +0 -0
- package/templates/functions-supabase/supabase/functions/.env.example +0 -0
- package/templates/functions-supabase/supabase/functions/cancel-subscription/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/change-plan/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/create-checkout-session/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/create-customer-portal/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/crud/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/delete-account/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/deno.json.example +0 -0
- package/templates/functions-supabase/supabase/functions/disconnect-oauth/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/exchange-token/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/get-connections/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/get-custom-claims/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/get-user-auth-status/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/refresh-subscription-status/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/refresh-token/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/remove-custom-claims/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/set-custom-claims/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/migrations/20250101000000_idempotency.sql +0 -0
- package/templates/functions-supabase/supabase/migrations/20250101000001_rate_limits.sql +0 -0
- package/templates/functions-supabase/supabase/migrations/20250101000002_cleanup_jobs.sql +0 -0
- package/templates/functions-supabase/supabase/migrations/20250101000003_operation_metrics.sql +0 -0
- package/templates/functions-supabase/supabase/migrations/20250101000004_crud_bulk.sql +192 -0
- package/templates/functions-vercel/.env.example +3 -3
- package/templates/functions-vercel/README.md.example +2 -2
- package/templates/functions-vercel/build.mjs.example +0 -0
- package/templates/functions-vercel/src/api/auth/getCustomClaims.ts.example +0 -0
- package/templates/functions-vercel/src/api/auth/getUserAuthStatus.ts.example +0 -0
- package/templates/functions-vercel/src/api/auth/removeCustomClaims.ts.example +0 -0
- package/templates/functions-vercel/src/api/auth/setCustomClaims.ts.example +0 -0
- package/templates/functions-vercel/src/api/billing/handleStripeWebhook.ts.example +0 -0
- package/templates/functions-vercel/src/api/billing/processPaymentSuccess.ts.example +0 -0
- package/templates/functions-vercel/src/api/billing/refreshSubscriptionStatus.ts.example +0 -0
- package/templates/functions-vercel/src/api/crud/createEntity.ts.example +0 -0
- package/templates/functions-vercel/src/api/crud/deleteEntity.ts.example +0 -0
- package/templates/functions-vercel/src/api/crud/getEntity.ts.example +0 -0
- package/templates/functions-vercel/src/api/crud/listEntities.ts.example +0 -0
- package/templates/functions-vercel/src/api/crud/updateEntity.ts.example +0 -0
- package/templates/functions-vercel/src/api/oauth/checkGitHubAccess.ts.example +0 -0
- package/templates/functions-vercel/src/api/oauth/disconnect.ts.example +0 -0
- package/templates/functions-vercel/src/api/oauth/exchangeToken.ts.example +0 -0
- package/templates/functions-vercel/src/api/oauth/getConnections.ts.example +0 -0
- package/templates/functions-vercel/src/api/oauth/grantGitHubAccess.ts.example +0 -0
- package/templates/functions-vercel/src/api/oauth/refreshToken.ts.example +0 -0
- package/templates/functions-vercel/src/api/oauth/revokeGitHubAccess.ts.example +0 -0
- package/templates/functions-vercel/tsconfig.json.example +0 -0
- package/templates/functions-vercel/vercel.json.example +0 -0
- package/templates/github-consumer/.github/workflows/ci.yml.example +0 -0
- package/templates/overlay-firebase/env.fragment.example +0 -0
- package/templates/overlay-firebase/env.fragment.expo.example +0 -0
- package/templates/overlay-firebase/env.fragment.nextjs.example +0 -0
- package/templates/overlay-firebase/src/config/providers.expo.ts.example +0 -0
- package/templates/overlay-firebase/src/config/providers.ts.example +0 -0
- package/templates/overlay-supabase/env.fragment.example +0 -0
- package/templates/overlay-supabase/env.fragment.expo.example +0 -0
- package/templates/overlay-supabase/env.fragment.nextjs.example +0 -0
- package/templates/overlay-supabase/src/config/providers.expo.ts.example +1 -1
- package/templates/overlay-supabase/src/config/providers.ts.example +1 -1
- package/templates/overlay-vercel/env.fragment.example +0 -0
- package/templates/overlay-vercel/env.fragment.nextjs.example +0 -0
- package/templates/overlay-vercel/src/config/providers.ts.example +0 -0
- package/templates/preset-admin/src/pages/DashboardPage.tsx.example +0 -0
- package/templates/preset-admin/src/pages/EntityPage.tsx.example +0 -0
- package/templates/preset-admin/src/pages/ReportsPage.tsx.example +0 -0
- package/templates/preset-admin/src/pages/SettingsPage.tsx.example +0 -0
- package/templates/preset-admin/src/pages/UsersPage.tsx.example +0 -0
- package/templates/preset-ecommerce/src/pages/CartPage.tsx.example +0 -0
- package/templates/preset-ecommerce/src/pages/CatalogPage.tsx.example +0 -0
- package/templates/preset-ecommerce/src/pages/CheckoutPage.tsx.example +0 -0
- package/templates/preset-ecommerce/src/pages/HomePage.tsx.example +0 -0
- package/templates/preset-ecommerce/src/pages/ProductPage.tsx.example +0 -0
- package/templates/preset-landing/src/pages/AboutPage.tsx.example +0 -0
- package/templates/preset-landing/src/pages/ContactPage.tsx.example +0 -0
- package/templates/preset-landing/src/pages/HomePage.tsx.example +0 -0
- package/templates/preset-saas/src/pages/DashboardPage.tsx.example +0 -0
- package/templates/preset-saas/src/pages/HomePage.tsx.example +0 -0
- package/templates/preset-saas/src/pages/PricingPage.tsx.example +0 -0
- package/templates/preset-saas/src/pages/ProfilePage.tsx.example +0 -0
- package/templates/preset-saas/src/pages/SettingsPage.tsx.example +0 -0
- package/templates/root-consumer/.claude/agents/architect.md.example +0 -0
- package/templates/root-consumer/.claude/agents/builder.md.example +0 -0
- package/templates/root-consumer/.claude/agents/coder.md.example +0 -0
- package/templates/root-consumer/.claude/agents/extractor.md.example +0 -0
- package/templates/root-consumer/.claude/agents/polisher.md.example +0 -0
- package/templates/root-consumer/.claude/agents/prompt-engineer.md.example +0 -0
- package/templates/root-consumer/.claude/hooks/guard-bash.sh.example +0 -0
- package/templates/root-consumer/.claude/hooks/guard-write.sh.example +2 -35
- package/templates/root-consumer/.claude/hooks/session-start.sh.example +1 -1
- package/templates/root-consumer/.claude/hooks/typecheck-stop.sh.example +0 -0
- package/templates/root-consumer/.claude/rules/consumer-ux.md.example +1 -1
- package/templates/root-consumer/.claude/rules/definition-of-done.md.example +0 -0
- package/templates/root-consumer/.claude/rules/framework.md.example +0 -0
- package/templates/root-consumer/.claude/rules/git.md.example +0 -0
- package/templates/root-consumer/.claude/rules/security.md.example +0 -0
- package/templates/root-consumer/.claude/settings.json.example +1 -27
- package/templates/root-consumer/.claude/skills/brainstorm/SKILL.md.example +0 -0
- package/templates/root-consumer/.claude/skills/build/SKILL.md.example +23 -106
- package/templates/root-consumer/.claude/skills/design/SKILL.md.example +0 -0
- package/templates/root-consumer/.claude/skills/design/output-template.md +0 -0
- package/templates/root-consumer/.claude/skills/grill/SKILL.md.example +0 -0
- package/templates/root-consumer/.claude/skills/polish/SKILL.md.example +0 -0
- package/templates/root-consumer/.claude/skills/techdebt/SKILL.md.example +0 -0
- package/templates/root-consumer/.cursor/mcp.json.example +0 -0
- package/templates/root-consumer/.cursor/rules/no-docs.mdc.example +5 -1
- package/templates/root-consumer/.dndev/args.json.example +0 -0
- package/templates/root-consumer/.dndev.secrets.example +0 -0
- package/templates/root-consumer/.env.example +0 -1
- package/templates/root-consumer/.gemini/settings.json.example +0 -0
- package/templates/root-consumer/.gitignore.example +1 -0
- package/templates/root-consumer/.mcp.json.example +0 -0
- package/templates/root-consumer/.prettierrc.cjs.example +0 -0
- package/templates/root-consumer/AGENTS.md.example +63 -0
- package/templates/root-consumer/CLAUDE.md.example +1 -33
- package/templates/root-consumer/README.md.example +11 -33
- package/templates/root-consumer/entities/index.ts.example +0 -0
- package/templates/root-consumer/eslint.config.js.example +0 -0
- package/templates/root-consumer/tsconfig.json.example +0 -0
- package/templates/root-consumer/.claude/hooks/framework-compliance.sh.example +0 -56
- package/templates/root-consumer/.claude/hooks/guard-files.sh.example +0 -46
- package/templates/root-consumer/.claude/hooks/guard-mcp.sh.example +0 -91
- package/templates/root-consumer/.claude/hooks/guard-secrets.sh.example +0 -67
- package/templates/root-consumer/.claude/hooks/track-mcp-lookup.sh.example +0 -20
- package/templates/root-consumer/.claude/statusline.py.example +0 -79
- package/templates/root-consumer/.clinerules.example +0 -1
- package/templates/root-consumer/.cursorrules.example +0 -1
- package/templates/root-consumer/.github/copilot-instructions.md.example +0 -1
- package/templates/root-consumer/.windsurfrules.example +0 -1
- package/templates/root-consumer/AI.md.example +0 -108
- package/templates/root-consumer/CONVENTIONS.md.example +0 -1
- package/templates/root-consumer/GEMINI.md.example +0 -1
- package/templates/root-consumer/guides/dndev/AGENT_START_HERE.md.example +0 -135
- package/templates/root-consumer/guides/dndev/COMPONENTS_ADV.md.example +0 -276
- package/templates/root-consumer/guides/dndev/INDEX.md.example +0 -56
- package/templates/root-consumer/guides/dndev/SETUP_AUTH.md.example +0 -134
- package/templates/root-consumer/guides/dndev/SETUP_BILLING.md.example +0 -114
- package/templates/root-consumer/guides/dndev/SETUP_FIREBASE.md.example +0 -231
- package/templates/root-consumer/guides/dndev/SETUP_OAUTH.md.example +0 -59
- package/templates/root-consumer/guides/dndev/SETUP_OAUTH_PROVIDERS.md.example +0 -60
- package/templates/root-consumer/guides/dndev/SETUP_SOC2.md.example +0 -234
- package/templates/root-consumer/guides/dndev/SETUP_STRIPE.md.example +0 -62
- package/templates/root-consumer/guides/dndev/SETUP_SUPABASE.md.example +0 -262
- package/templates/root-consumer/guides/dndev/advanced/APP_CHECK.md.example +0 -111
- package/templates/root-consumer/guides/dndev/advanced/COOKIE_REFERENCE.md.example +0 -252
- package/templates/root-consumer/guides/dndev/advanced/EMULATORS.md.example +0 -48
- package/templates/root-consumer/guides/wai-way/WAI_WAY_CLI.md.example +0 -402
- package/templates/root-consumer/guides/wai-way/agents/architect.md.example +0 -78
- package/templates/root-consumer/guides/wai-way/agents/builder.md.example +0 -97
- package/templates/root-consumer/guides/wai-way/agents/extractor.md.example +0 -363
- package/templates/root-consumer/guides/wai-way/agents/polisher.md.example +0 -133
- package/templates/root-consumer/guides/wai-way/blueprints/0_brainstorm.md.example +0 -315
- package/templates/root-consumer/guides/wai-way/blueprints/1_scaffold.md.example +0 -133
- package/templates/root-consumer/guides/wai-way/blueprints/2_entities.md.example +0 -111
- package/templates/root-consumer/guides/wai-way/blueprints/3_compose.md.example +0 -148
- package/templates/root-consumer/guides/wai-way/blueprints/4_configure.md.example +0 -238
- package/templates/root-consumer/guides/wai-way/context_map.json.example +0 -127
- package/templates/root-consumer/guides/wai-way/entity_patterns.md.example +0 -839
- package/templates/root-consumer/guides/wai-way/hld_template.md.example +0 -138
- package/templates/root-consumer/guides/wai-way/lld_template.md.example +0 -103
- package/templates/root-consumer/guides/wai-way/page_patterns.md.example +0 -722
- package/templates/root-consumer/guides/wai-way/prd_template.md.example +0 -140
- package/templates/root-consumer/guides/wai-way/presets_guide.md.example +0 -217
- 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,
|
|
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,50 +33,456 @@ 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 isAmbiguous, isFullWidth, isWide;
|
|
38
|
+
var init_utils = __esm({
|
|
39
|
+
"node_modules/.bun/fast-string-truncated-width@1.2.1/node_modules/fast-string-truncated-width/dist/utils.js"() {
|
|
40
|
+
init_utils2();
|
|
41
|
+
isAmbiguous = (x) => {
|
|
42
|
+
return x === 161 || x === 164 || x === 167 || x === 168 || x === 170 || x === 173 || x === 174 || x >= 176 && x <= 180 || x >= 182 && x <= 186 || x >= 188 && x <= 191 || x === 198 || x === 208 || x === 215 || x === 216 || x >= 222 && x <= 225 || x === 230 || x >= 232 && x <= 234 || x === 236 || x === 237 || x === 240 || x === 242 || x === 243 || x >= 247 && x <= 250 || x === 252 || x === 254 || x === 257 || x === 273 || x === 275 || x === 283 || x === 294 || x === 295 || x === 299 || x >= 305 && x <= 307 || x === 312 || x >= 319 && x <= 322 || x === 324 || x >= 328 && x <= 331 || x === 333 || x === 338 || x === 339 || x === 358 || x === 359 || x === 363 || x === 462 || x === 464 || x === 466 || x === 468 || x === 470 || x === 472 || x === 474 || x === 476 || x === 593 || x === 609 || x === 708 || x === 711 || x >= 713 && x <= 715 || x === 717 || x === 720 || x >= 728 && x <= 731 || x === 733 || x === 735 || x >= 768 && x <= 879 || x >= 913 && x <= 929 || x >= 931 && x <= 937 || x >= 945 && x <= 961 || x >= 963 && x <= 969 || x === 1025 || x >= 1040 && x <= 1103 || x === 1105 || x === 8208 || x >= 8211 && x <= 8214 || x === 8216 || x === 8217 || x === 8220 || x === 8221 || x >= 8224 && x <= 8226 || x >= 8228 && x <= 8231 || x === 8240 || x === 8242 || x === 8243 || x === 8245 || x === 8251 || x === 8254 || x === 8308 || x === 8319 || x >= 8321 && x <= 8324 || x === 8364 || x === 8451 || x === 8453 || x === 8457 || x === 8467 || x === 8470 || x === 8481 || x === 8482 || x === 8486 || x === 8491 || x === 8531 || x === 8532 || x >= 8539 && x <= 8542 || x >= 8544 && x <= 8555 || x >= 8560 && x <= 8569 || x === 8585 || x >= 8592 && x <= 8601 || x === 8632 || x === 8633 || x === 8658 || x === 8660 || x === 8679 || x === 8704 || x === 8706 || x === 8707 || x === 8711 || x === 8712 || x === 8715 || x === 8719 || x === 8721 || x === 8725 || x === 8730 || x >= 8733 && x <= 8736 || x === 8739 || x === 8741 || x >= 8743 && x <= 8748 || x === 8750 || x >= 8756 && x <= 8759 || x === 8764 || x === 8765 || x === 8776 || x === 8780 || x === 8786 || x === 8800 || x === 8801 || x >= 8804 && x <= 8807 || x === 8810 || x === 8811 || x === 8814 || x === 8815 || x === 8834 || x === 8835 || x === 8838 || x === 8839 || x === 8853 || x === 8857 || x === 8869 || x === 8895 || x === 8978 || x >= 9312 && x <= 9449 || x >= 9451 && x <= 9547 || x >= 9552 && x <= 9587 || x >= 9600 && x <= 9615 || x >= 9618 && x <= 9621 || x === 9632 || x === 9633 || x >= 9635 && x <= 9641 || x === 9650 || x === 9651 || x === 9654 || x === 9655 || x === 9660 || x === 9661 || x === 9664 || x === 9665 || x >= 9670 && x <= 9672 || x === 9675 || x >= 9678 && x <= 9681 || x >= 9698 && x <= 9701 || x === 9711 || x === 9733 || x === 9734 || x === 9737 || x === 9742 || x === 9743 || x === 9756 || x === 9758 || x === 9792 || x === 9794 || x === 9824 || x === 9825 || x >= 9827 && x <= 9829 || x >= 9831 && x <= 9834 || x === 9836 || x === 9837 || x === 9839 || x === 9886 || x === 9887 || x === 9919 || x >= 9926 && x <= 9933 || x >= 9935 && x <= 9939 || x >= 9941 && x <= 9953 || x === 9955 || x === 9960 || x === 9961 || x >= 9963 && x <= 9969 || x === 9972 || x >= 9974 && x <= 9977 || x === 9979 || x === 9980 || x === 9982 || x === 9983 || x === 10045 || x >= 10102 && x <= 10111 || x >= 11094 && x <= 11097 || x >= 12872 && x <= 12879 || x >= 57344 && x <= 63743 || x >= 65024 && x <= 65039 || x === 65533 || x >= 127232 && x <= 127242 || x >= 127248 && x <= 127277 || x >= 127280 && x <= 127337 || x >= 127344 && x <= 127373 || x === 127375 || x === 127376 || x >= 127387 && x <= 127404 || x >= 917760 && x <= 917999 || x >= 983040 && x <= 1048573 || x >= 1048576 && x <= 1114109;
|
|
43
|
+
};
|
|
44
|
+
isFullWidth = (x) => {
|
|
45
|
+
return x === 12288 || x >= 65281 && x <= 65376 || x >= 65504 && x <= 65510;
|
|
46
|
+
};
|
|
47
|
+
isWide = (x) => {
|
|
48
|
+
return x >= 4352 && x <= 4447 || x === 8986 || x === 8987 || x === 9001 || x === 9002 || x >= 9193 && x <= 9196 || x === 9200 || x === 9203 || x === 9725 || x === 9726 || x === 9748 || x === 9749 || x >= 9800 && x <= 9811 || x === 9855 || x === 9875 || x === 9889 || x === 9898 || x === 9899 || x === 9917 || x === 9918 || x === 9924 || x === 9925 || x === 9934 || x === 9940 || x === 9962 || x === 9970 || x === 9971 || x === 9973 || x === 9978 || x === 9981 || x === 9989 || x === 9994 || x === 9995 || x === 10024 || x === 10060 || x === 10062 || x >= 10067 && x <= 10069 || x === 10071 || x >= 10133 && x <= 10135 || x === 10160 || x === 10175 || x === 11035 || x === 11036 || x === 11088 || x === 11093 || x >= 11904 && x <= 11929 || x >= 11931 && x <= 12019 || x >= 12032 && x <= 12245 || x >= 12272 && x <= 12287 || x >= 12289 && x <= 12350 || x >= 12353 && x <= 12438 || x >= 12441 && x <= 12543 || x >= 12549 && x <= 12591 || x >= 12593 && x <= 12686 || x >= 12688 && x <= 12771 || x >= 12783 && x <= 12830 || x >= 12832 && x <= 12871 || x >= 12880 && x <= 19903 || x >= 19968 && x <= 42124 || x >= 42128 && x <= 42182 || x >= 43360 && x <= 43388 || x >= 44032 && x <= 55203 || x >= 63744 && x <= 64255 || x >= 65040 && x <= 65049 || x >= 65072 && x <= 65106 || x >= 65108 && x <= 65126 || x >= 65128 && x <= 65131 || x >= 94176 && x <= 94180 || x === 94192 || x === 94193 || x >= 94208 && x <= 100343 || x >= 100352 && x <= 101589 || x >= 101632 && x <= 101640 || x >= 110576 && x <= 110579 || x >= 110581 && x <= 110587 || x === 110589 || x === 110590 || x >= 110592 && x <= 110882 || x === 110898 || x >= 110928 && x <= 110930 || x === 110933 || x >= 110948 && x <= 110951 || x >= 110960 && x <= 111355 || x === 126980 || x === 127183 || x === 127374 || x >= 127377 && x <= 127386 || x >= 127488 && x <= 127490 || x >= 127504 && x <= 127547 || x >= 127552 && x <= 127560 || x === 127568 || x === 127569 || x >= 127584 && x <= 127589 || x >= 127744 && x <= 127776 || x >= 127789 && x <= 127797 || x >= 127799 && x <= 127868 || x >= 127870 && x <= 127891 || x >= 127904 && x <= 127946 || x >= 127951 && x <= 127955 || x >= 127968 && x <= 127984 || x === 127988 || x >= 127992 && x <= 128062 || x === 128064 || x >= 128066 && x <= 128252 || x >= 128255 && x <= 128317 || x >= 128331 && x <= 128334 || x >= 128336 && x <= 128359 || x === 128378 || x === 128405 || x === 128406 || x === 128420 || x >= 128507 && x <= 128591 || x >= 128640 && x <= 128709 || x === 128716 || x >= 128720 && x <= 128722 || x >= 128725 && x <= 128727 || x >= 128732 && x <= 128735 || x === 128747 || x === 128748 || x >= 128756 && x <= 128764 || x >= 128992 && x <= 129003 || x === 129008 || x >= 129292 && x <= 129338 || x >= 129340 && x <= 129349 || x >= 129351 && x <= 129535 || x >= 129648 && x <= 129660 || x >= 129664 && x <= 129672 || x >= 129680 && x <= 129725 || x >= 129727 && x <= 129733 || x >= 129742 && x <= 129755 || x >= 129760 && x <= 129768 || x >= 129776 && x <= 129784 || x >= 131072 && x <= 196605 || x >= 196608 && x <= 262141;
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
// node_modules/.bun/fast-string-truncated-width@1.2.1/node_modules/fast-string-truncated-width/dist/index.js
|
|
54
|
+
var ANSI_RE, CONTROL_RE, TAB_RE, EMOJI_RE, LATIN_RE, MODIFIER_RE, NO_TRUNCATION, getStringTruncatedWidth, dist_default;
|
|
55
|
+
var init_dist = __esm({
|
|
56
|
+
"node_modules/.bun/fast-string-truncated-width@1.2.1/node_modules/fast-string-truncated-width/dist/index.js"() {
|
|
57
|
+
init_utils2();
|
|
58
|
+
init_utils();
|
|
59
|
+
ANSI_RE = /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/y;
|
|
60
|
+
CONTROL_RE = /[\x00-\x08\x0A-\x1F\x7F-\x9F]{1,1000}/y;
|
|
61
|
+
TAB_RE = /\t{1,1000}/y;
|
|
62
|
+
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");
|
|
63
|
+
LATIN_RE = /(?:[\x20-\x7E\xA0-\xFF](?!\uFE0F)){1,1000}/y;
|
|
64
|
+
MODIFIER_RE = new RegExp("\\p{M}+", "gu");
|
|
65
|
+
NO_TRUNCATION = { limit: Infinity, ellipsis: "" };
|
|
66
|
+
getStringTruncatedWidth = (input, truncationOptions = {}, widthOptions = {}) => {
|
|
67
|
+
const LIMIT = truncationOptions.limit ?? Infinity;
|
|
68
|
+
const ELLIPSIS = truncationOptions.ellipsis ?? "";
|
|
69
|
+
const ELLIPSIS_WIDTH = truncationOptions?.ellipsisWidth ?? (ELLIPSIS ? getStringTruncatedWidth(ELLIPSIS, NO_TRUNCATION, widthOptions).width : 0);
|
|
70
|
+
const ANSI_WIDTH = widthOptions.ansiWidth ?? 0;
|
|
71
|
+
const CONTROL_WIDTH = widthOptions.controlWidth ?? 0;
|
|
72
|
+
const TAB_WIDTH = widthOptions.tabWidth ?? 8;
|
|
73
|
+
const AMBIGUOUS_WIDTH = widthOptions.ambiguousWidth ?? 1;
|
|
74
|
+
const EMOJI_WIDTH = widthOptions.emojiWidth ?? 2;
|
|
75
|
+
const FULL_WIDTH_WIDTH = widthOptions.fullWidthWidth ?? 2;
|
|
76
|
+
const REGULAR_WIDTH = widthOptions.regularWidth ?? 1;
|
|
77
|
+
const WIDE_WIDTH = widthOptions.wideWidth ?? 2;
|
|
78
|
+
let indexPrev = 0;
|
|
79
|
+
let index = 0;
|
|
80
|
+
let length = input.length;
|
|
81
|
+
let lengthExtra = 0;
|
|
82
|
+
let truncationEnabled = false;
|
|
83
|
+
let truncationIndex = length;
|
|
84
|
+
let truncationLimit = Math.max(0, LIMIT - ELLIPSIS_WIDTH);
|
|
85
|
+
let unmatchedStart = 0;
|
|
86
|
+
let unmatchedEnd = 0;
|
|
87
|
+
let width = 0;
|
|
88
|
+
let widthExtra = 0;
|
|
89
|
+
outer: while (true) {
|
|
90
|
+
if (unmatchedEnd > unmatchedStart || index >= length && index > indexPrev) {
|
|
91
|
+
const unmatched = input.slice(unmatchedStart, unmatchedEnd) || input.slice(indexPrev, index);
|
|
92
|
+
lengthExtra = 0;
|
|
93
|
+
for (const char of unmatched.replaceAll(MODIFIER_RE, "")) {
|
|
94
|
+
const codePoint = char.codePointAt(0) || 0;
|
|
95
|
+
if (isFullWidth(codePoint)) {
|
|
96
|
+
widthExtra = FULL_WIDTH_WIDTH;
|
|
97
|
+
} else if (isWide(codePoint)) {
|
|
98
|
+
widthExtra = WIDE_WIDTH;
|
|
99
|
+
} else if (AMBIGUOUS_WIDTH !== REGULAR_WIDTH && isAmbiguous(codePoint)) {
|
|
100
|
+
widthExtra = AMBIGUOUS_WIDTH;
|
|
101
|
+
} else {
|
|
102
|
+
widthExtra = REGULAR_WIDTH;
|
|
103
|
+
}
|
|
104
|
+
if (width + widthExtra > truncationLimit) {
|
|
105
|
+
truncationIndex = Math.min(truncationIndex, Math.max(unmatchedStart, indexPrev) + lengthExtra);
|
|
106
|
+
}
|
|
107
|
+
if (width + widthExtra > LIMIT) {
|
|
108
|
+
truncationEnabled = true;
|
|
109
|
+
break outer;
|
|
110
|
+
}
|
|
111
|
+
lengthExtra += char.length;
|
|
112
|
+
width += widthExtra;
|
|
113
|
+
}
|
|
114
|
+
unmatchedStart = unmatchedEnd = 0;
|
|
115
|
+
}
|
|
116
|
+
if (index >= length)
|
|
117
|
+
break;
|
|
118
|
+
LATIN_RE.lastIndex = index;
|
|
119
|
+
if (LATIN_RE.test(input)) {
|
|
120
|
+
lengthExtra = LATIN_RE.lastIndex - index;
|
|
121
|
+
widthExtra = lengthExtra * REGULAR_WIDTH;
|
|
122
|
+
if (width + widthExtra > truncationLimit) {
|
|
123
|
+
truncationIndex = Math.min(truncationIndex, index + Math.floor((truncationLimit - width) / REGULAR_WIDTH));
|
|
124
|
+
}
|
|
125
|
+
if (width + widthExtra > LIMIT) {
|
|
126
|
+
truncationEnabled = true;
|
|
127
|
+
break;
|
|
128
|
+
}
|
|
129
|
+
width += widthExtra;
|
|
130
|
+
unmatchedStart = indexPrev;
|
|
131
|
+
unmatchedEnd = index;
|
|
132
|
+
index = indexPrev = LATIN_RE.lastIndex;
|
|
133
|
+
continue;
|
|
134
|
+
}
|
|
135
|
+
ANSI_RE.lastIndex = index;
|
|
136
|
+
if (ANSI_RE.test(input)) {
|
|
137
|
+
if (width + ANSI_WIDTH > truncationLimit) {
|
|
138
|
+
truncationIndex = Math.min(truncationIndex, index);
|
|
139
|
+
}
|
|
140
|
+
if (width + ANSI_WIDTH > LIMIT) {
|
|
141
|
+
truncationEnabled = true;
|
|
142
|
+
break;
|
|
143
|
+
}
|
|
144
|
+
width += ANSI_WIDTH;
|
|
145
|
+
unmatchedStart = indexPrev;
|
|
146
|
+
unmatchedEnd = index;
|
|
147
|
+
index = indexPrev = ANSI_RE.lastIndex;
|
|
148
|
+
continue;
|
|
149
|
+
}
|
|
150
|
+
CONTROL_RE.lastIndex = index;
|
|
151
|
+
if (CONTROL_RE.test(input)) {
|
|
152
|
+
lengthExtra = CONTROL_RE.lastIndex - index;
|
|
153
|
+
widthExtra = lengthExtra * CONTROL_WIDTH;
|
|
154
|
+
if (width + widthExtra > truncationLimit) {
|
|
155
|
+
truncationIndex = Math.min(truncationIndex, index + Math.floor((truncationLimit - width) / CONTROL_WIDTH));
|
|
156
|
+
}
|
|
157
|
+
if (width + widthExtra > LIMIT) {
|
|
158
|
+
truncationEnabled = true;
|
|
159
|
+
break;
|
|
160
|
+
}
|
|
161
|
+
width += widthExtra;
|
|
162
|
+
unmatchedStart = indexPrev;
|
|
163
|
+
unmatchedEnd = index;
|
|
164
|
+
index = indexPrev = CONTROL_RE.lastIndex;
|
|
165
|
+
continue;
|
|
166
|
+
}
|
|
167
|
+
TAB_RE.lastIndex = index;
|
|
168
|
+
if (TAB_RE.test(input)) {
|
|
169
|
+
lengthExtra = TAB_RE.lastIndex - index;
|
|
170
|
+
widthExtra = lengthExtra * TAB_WIDTH;
|
|
171
|
+
if (width + widthExtra > truncationLimit) {
|
|
172
|
+
truncationIndex = Math.min(truncationIndex, index + Math.floor((truncationLimit - width) / TAB_WIDTH));
|
|
173
|
+
}
|
|
174
|
+
if (width + widthExtra > LIMIT) {
|
|
175
|
+
truncationEnabled = true;
|
|
176
|
+
break;
|
|
177
|
+
}
|
|
178
|
+
width += widthExtra;
|
|
179
|
+
unmatchedStart = indexPrev;
|
|
180
|
+
unmatchedEnd = index;
|
|
181
|
+
index = indexPrev = TAB_RE.lastIndex;
|
|
182
|
+
continue;
|
|
183
|
+
}
|
|
184
|
+
EMOJI_RE.lastIndex = index;
|
|
185
|
+
if (EMOJI_RE.test(input)) {
|
|
186
|
+
if (width + EMOJI_WIDTH > truncationLimit) {
|
|
187
|
+
truncationIndex = Math.min(truncationIndex, index);
|
|
188
|
+
}
|
|
189
|
+
if (width + EMOJI_WIDTH > LIMIT) {
|
|
190
|
+
truncationEnabled = true;
|
|
191
|
+
break;
|
|
192
|
+
}
|
|
193
|
+
width += EMOJI_WIDTH;
|
|
194
|
+
unmatchedStart = indexPrev;
|
|
195
|
+
unmatchedEnd = index;
|
|
196
|
+
index = indexPrev = EMOJI_RE.lastIndex;
|
|
197
|
+
continue;
|
|
198
|
+
}
|
|
199
|
+
index += 1;
|
|
200
|
+
}
|
|
201
|
+
return {
|
|
202
|
+
width: truncationEnabled ? truncationLimit : width,
|
|
203
|
+
index: truncationEnabled ? truncationIndex : length,
|
|
204
|
+
truncated: truncationEnabled,
|
|
205
|
+
ellipsed: truncationEnabled && LIMIT >= ELLIPSIS_WIDTH
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
dist_default = getStringTruncatedWidth;
|
|
209
|
+
}
|
|
210
|
+
});
|
|
211
|
+
|
|
212
|
+
// node_modules/.bun/fast-string-width@1.1.0/node_modules/fast-string-width/dist/index.js
|
|
213
|
+
var NO_TRUNCATION2, fastStringWidth, dist_default2;
|
|
214
|
+
var init_dist2 = __esm({
|
|
215
|
+
"node_modules/.bun/fast-string-width@1.1.0/node_modules/fast-string-width/dist/index.js"() {
|
|
216
|
+
init_utils2();
|
|
217
|
+
init_dist();
|
|
218
|
+
NO_TRUNCATION2 = {
|
|
219
|
+
limit: Infinity,
|
|
220
|
+
ellipsis: "",
|
|
221
|
+
ellipsisWidth: 0
|
|
222
|
+
};
|
|
223
|
+
fastStringWidth = (input, options = {}) => {
|
|
224
|
+
return dist_default(input, NO_TRUNCATION2, options).width;
|
|
225
|
+
};
|
|
226
|
+
dist_default2 = fastStringWidth;
|
|
227
|
+
}
|
|
228
|
+
});
|
|
229
|
+
|
|
230
|
+
// node_modules/.bun/fast-wrap-ansi@0.1.6/node_modules/fast-wrap-ansi/lib/main.js
|
|
231
|
+
function wrapAnsi(string, columns, options) {
|
|
232
|
+
return String(string).normalize().split(CRLF_OR_LF).map((line) => exec(line, columns, options)).join("\n");
|
|
233
|
+
}
|
|
234
|
+
var ESC, CSI, END_CODE, ANSI_ESCAPE_BELL, ANSI_CSI, ANSI_OSC, ANSI_SGR_TERMINATOR, ANSI_ESCAPE_LINK, GROUP_REGEX, getClosingCode, wrapAnsiCode, wrapAnsiHyperlink, wrapWord, stringVisibleTrimSpacesRight, exec, CRLF_OR_LF;
|
|
235
|
+
var init_main = __esm({
|
|
236
|
+
"node_modules/.bun/fast-wrap-ansi@0.1.6/node_modules/fast-wrap-ansi/lib/main.js"() {
|
|
237
|
+
init_utils2();
|
|
238
|
+
init_dist2();
|
|
239
|
+
ESC = "\x1B";
|
|
240
|
+
CSI = "\x9B";
|
|
241
|
+
END_CODE = 39;
|
|
242
|
+
ANSI_ESCAPE_BELL = "\x07";
|
|
243
|
+
ANSI_CSI = "[";
|
|
244
|
+
ANSI_OSC = "]";
|
|
245
|
+
ANSI_SGR_TERMINATOR = "m";
|
|
246
|
+
ANSI_ESCAPE_LINK = `${ANSI_OSC}8;;`;
|
|
247
|
+
GROUP_REGEX = new RegExp(`(?:\\${ANSI_CSI}(?<code>\\d+)m|\\${ANSI_ESCAPE_LINK}(?<uri>.*)${ANSI_ESCAPE_BELL})`, "y");
|
|
248
|
+
getClosingCode = (openingCode) => {
|
|
249
|
+
if (openingCode >= 30 && openingCode <= 37)
|
|
250
|
+
return 39;
|
|
251
|
+
if (openingCode >= 90 && openingCode <= 97)
|
|
252
|
+
return 39;
|
|
253
|
+
if (openingCode >= 40 && openingCode <= 47)
|
|
254
|
+
return 49;
|
|
255
|
+
if (openingCode >= 100 && openingCode <= 107)
|
|
256
|
+
return 49;
|
|
257
|
+
if (openingCode === 1 || openingCode === 2)
|
|
258
|
+
return 22;
|
|
259
|
+
if (openingCode === 3)
|
|
260
|
+
return 23;
|
|
261
|
+
if (openingCode === 4)
|
|
262
|
+
return 24;
|
|
263
|
+
if (openingCode === 7)
|
|
264
|
+
return 27;
|
|
265
|
+
if (openingCode === 8)
|
|
266
|
+
return 28;
|
|
267
|
+
if (openingCode === 9)
|
|
268
|
+
return 29;
|
|
269
|
+
if (openingCode === 0)
|
|
270
|
+
return 0;
|
|
271
|
+
return void 0;
|
|
272
|
+
};
|
|
273
|
+
wrapAnsiCode = (code) => `${ESC}${ANSI_CSI}${code}${ANSI_SGR_TERMINATOR}`;
|
|
274
|
+
wrapAnsiHyperlink = (url) => `${ESC}${ANSI_ESCAPE_LINK}${url}${ANSI_ESCAPE_BELL}`;
|
|
275
|
+
wrapWord = (rows, word, columns) => {
|
|
276
|
+
const characters = word[Symbol.iterator]();
|
|
277
|
+
let isInsideEscape = false;
|
|
278
|
+
let isInsideLinkEscape = false;
|
|
279
|
+
let lastRow = rows.at(-1);
|
|
280
|
+
let visible = lastRow === void 0 ? 0 : dist_default2(lastRow);
|
|
281
|
+
let currentCharacter = characters.next();
|
|
282
|
+
let nextCharacter = characters.next();
|
|
283
|
+
let rawCharacterIndex = 0;
|
|
284
|
+
while (!currentCharacter.done) {
|
|
285
|
+
const character = currentCharacter.value;
|
|
286
|
+
const characterLength = dist_default2(character);
|
|
287
|
+
if (visible + characterLength <= columns) {
|
|
288
|
+
rows[rows.length - 1] += character;
|
|
289
|
+
} else {
|
|
290
|
+
rows.push(character);
|
|
291
|
+
visible = 0;
|
|
292
|
+
}
|
|
293
|
+
if (character === ESC || character === CSI) {
|
|
294
|
+
isInsideEscape = true;
|
|
295
|
+
isInsideLinkEscape = word.startsWith(ANSI_ESCAPE_LINK, rawCharacterIndex + 1);
|
|
296
|
+
}
|
|
297
|
+
if (isInsideEscape) {
|
|
298
|
+
if (isInsideLinkEscape) {
|
|
299
|
+
if (character === ANSI_ESCAPE_BELL) {
|
|
300
|
+
isInsideEscape = false;
|
|
301
|
+
isInsideLinkEscape = false;
|
|
302
|
+
}
|
|
303
|
+
} else if (character === ANSI_SGR_TERMINATOR) {
|
|
304
|
+
isInsideEscape = false;
|
|
305
|
+
}
|
|
306
|
+
} else {
|
|
307
|
+
visible += characterLength;
|
|
308
|
+
if (visible === columns && !nextCharacter.done) {
|
|
309
|
+
rows.push("");
|
|
310
|
+
visible = 0;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
currentCharacter = nextCharacter;
|
|
314
|
+
nextCharacter = characters.next();
|
|
315
|
+
rawCharacterIndex += character.length;
|
|
316
|
+
}
|
|
317
|
+
lastRow = rows.at(-1);
|
|
318
|
+
if (!visible && lastRow !== void 0 && lastRow.length && rows.length > 1) {
|
|
319
|
+
rows[rows.length - 2] += rows.pop();
|
|
320
|
+
}
|
|
321
|
+
};
|
|
322
|
+
stringVisibleTrimSpacesRight = (string) => {
|
|
323
|
+
const words = string.split(" ");
|
|
324
|
+
let last = words.length;
|
|
325
|
+
while (last) {
|
|
326
|
+
if (dist_default2(words[last - 1])) {
|
|
327
|
+
break;
|
|
328
|
+
}
|
|
329
|
+
last--;
|
|
330
|
+
}
|
|
331
|
+
if (last === words.length) {
|
|
332
|
+
return string;
|
|
333
|
+
}
|
|
334
|
+
return words.slice(0, last).join(" ") + words.slice(last).join("");
|
|
335
|
+
};
|
|
336
|
+
exec = (string, columns, options = {}) => {
|
|
337
|
+
if (options.trim !== false && string.trim() === "") {
|
|
338
|
+
return "";
|
|
339
|
+
}
|
|
340
|
+
let returnValue = "";
|
|
341
|
+
let escapeCode;
|
|
342
|
+
let escapeUrl;
|
|
343
|
+
const words = string.split(" ");
|
|
344
|
+
let rows = [""];
|
|
345
|
+
let rowLength = 0;
|
|
346
|
+
for (let index = 0; index < words.length; index++) {
|
|
347
|
+
const word = words[index];
|
|
348
|
+
if (options.trim !== false) {
|
|
349
|
+
const row = rows.at(-1) ?? "";
|
|
350
|
+
const trimmed = row.trimStart();
|
|
351
|
+
if (row.length !== trimmed.length) {
|
|
352
|
+
rows[rows.length - 1] = trimmed;
|
|
353
|
+
rowLength = dist_default2(trimmed);
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
if (index !== 0) {
|
|
357
|
+
if (rowLength >= columns && (options.wordWrap === false || options.trim === false)) {
|
|
358
|
+
rows.push("");
|
|
359
|
+
rowLength = 0;
|
|
360
|
+
}
|
|
361
|
+
if (rowLength || options.trim === false) {
|
|
362
|
+
rows[rows.length - 1] += " ";
|
|
363
|
+
rowLength++;
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
const wordLength = dist_default2(word);
|
|
367
|
+
if (options.hard && wordLength > columns) {
|
|
368
|
+
const remainingColumns = columns - rowLength;
|
|
369
|
+
const breaksStartingThisLine = 1 + Math.floor((wordLength - remainingColumns - 1) / columns);
|
|
370
|
+
const breaksStartingNextLine = Math.floor((wordLength - 1) / columns);
|
|
371
|
+
if (breaksStartingNextLine < breaksStartingThisLine) {
|
|
372
|
+
rows.push("");
|
|
373
|
+
}
|
|
374
|
+
wrapWord(rows, word, columns);
|
|
375
|
+
rowLength = dist_default2(rows.at(-1) ?? "");
|
|
376
|
+
continue;
|
|
377
|
+
}
|
|
378
|
+
if (rowLength + wordLength > columns && rowLength && wordLength) {
|
|
379
|
+
if (options.wordWrap === false && rowLength < columns) {
|
|
380
|
+
wrapWord(rows, word, columns);
|
|
381
|
+
rowLength = dist_default2(rows.at(-1) ?? "");
|
|
382
|
+
continue;
|
|
383
|
+
}
|
|
384
|
+
rows.push("");
|
|
385
|
+
rowLength = 0;
|
|
386
|
+
}
|
|
387
|
+
if (rowLength + wordLength > columns && options.wordWrap === false) {
|
|
388
|
+
wrapWord(rows, word, columns);
|
|
389
|
+
rowLength = dist_default2(rows.at(-1) ?? "");
|
|
390
|
+
continue;
|
|
391
|
+
}
|
|
392
|
+
rows[rows.length - 1] += word;
|
|
393
|
+
rowLength += wordLength;
|
|
394
|
+
}
|
|
395
|
+
if (options.trim !== false) {
|
|
396
|
+
rows = rows.map((row) => stringVisibleTrimSpacesRight(row));
|
|
397
|
+
}
|
|
398
|
+
const preString = rows.join("\n");
|
|
399
|
+
let inSurrogate = false;
|
|
400
|
+
for (let i = 0; i < preString.length; i++) {
|
|
401
|
+
const character = preString[i];
|
|
402
|
+
returnValue += character;
|
|
403
|
+
if (!inSurrogate) {
|
|
404
|
+
inSurrogate = character >= "\uD800" && character <= "\uDBFF";
|
|
405
|
+
} else {
|
|
406
|
+
continue;
|
|
407
|
+
}
|
|
408
|
+
if (character === ESC || character === CSI) {
|
|
409
|
+
GROUP_REGEX.lastIndex = i + 1;
|
|
410
|
+
const groupsResult = GROUP_REGEX.exec(preString);
|
|
411
|
+
const groups = groupsResult?.groups;
|
|
412
|
+
if (groups?.code !== void 0) {
|
|
413
|
+
const code = Number.parseFloat(groups.code);
|
|
414
|
+
escapeCode = code === END_CODE ? void 0 : code;
|
|
415
|
+
} else if (groups?.uri !== void 0) {
|
|
416
|
+
escapeUrl = groups.uri.length === 0 ? void 0 : groups.uri;
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
if (preString[i + 1] === "\n") {
|
|
420
|
+
if (escapeUrl) {
|
|
421
|
+
returnValue += wrapAnsiHyperlink("");
|
|
422
|
+
}
|
|
423
|
+
const closingCode = escapeCode ? getClosingCode(escapeCode) : void 0;
|
|
424
|
+
if (escapeCode && closingCode) {
|
|
425
|
+
returnValue += wrapAnsiCode(closingCode);
|
|
426
|
+
}
|
|
427
|
+
} else if (character === "\n") {
|
|
428
|
+
if (escapeCode && getClosingCode(escapeCode)) {
|
|
429
|
+
returnValue += wrapAnsiCode(escapeCode);
|
|
430
|
+
}
|
|
431
|
+
if (escapeUrl) {
|
|
432
|
+
returnValue += wrapAnsiHyperlink(escapeUrl);
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
return returnValue;
|
|
437
|
+
};
|
|
438
|
+
CRLF_OR_LF = /\r?\n/;
|
|
439
|
+
}
|
|
440
|
+
});
|
|
441
|
+
|
|
36
442
|
// node_modules/.bun/sisteransi@1.0.5/node_modules/sisteransi/src/index.js
|
|
37
443
|
var require_src = __commonJS({
|
|
38
444
|
"node_modules/.bun/sisteransi@1.0.5/node_modules/sisteransi/src/index.js"(exports, module) {
|
|
39
445
|
"use strict";
|
|
40
|
-
|
|
41
|
-
var
|
|
42
|
-
var
|
|
446
|
+
init_utils2();
|
|
447
|
+
var ESC2 = "\x1B";
|
|
448
|
+
var CSI2 = `${ESC2}[`;
|
|
43
449
|
var beep = "\x07";
|
|
44
450
|
var cursor = {
|
|
45
451
|
to(x, y2) {
|
|
46
|
-
if (!y2) return `${
|
|
47
|
-
return `${
|
|
452
|
+
if (!y2) return `${CSI2}${x + 1}G`;
|
|
453
|
+
return `${CSI2}${y2 + 1};${x + 1}H`;
|
|
48
454
|
},
|
|
49
455
|
move(x, y2) {
|
|
50
456
|
let ret = "";
|
|
51
|
-
if (x < 0) ret += `${
|
|
52
|
-
else if (x > 0) ret += `${
|
|
53
|
-
if (y2 < 0) ret += `${
|
|
54
|
-
else if (y2 > 0) ret += `${
|
|
457
|
+
if (x < 0) ret += `${CSI2}${-x}D`;
|
|
458
|
+
else if (x > 0) ret += `${CSI2}${x}C`;
|
|
459
|
+
if (y2 < 0) ret += `${CSI2}${-y2}A`;
|
|
460
|
+
else if (y2 > 0) ret += `${CSI2}${y2}B`;
|
|
55
461
|
return ret;
|
|
56
462
|
},
|
|
57
|
-
up: (count = 1) => `${
|
|
58
|
-
down: (count = 1) => `${
|
|
59
|
-
forward: (count = 1) => `${
|
|
60
|
-
backward: (count = 1) => `${
|
|
61
|
-
nextLine: (count = 1) => `${
|
|
62
|
-
prevLine: (count = 1) => `${
|
|
63
|
-
left: `${
|
|
64
|
-
hide: `${
|
|
65
|
-
show: `${
|
|
66
|
-
save: `${
|
|
67
|
-
restore: `${
|
|
463
|
+
up: (count = 1) => `${CSI2}${count}A`,
|
|
464
|
+
down: (count = 1) => `${CSI2}${count}B`,
|
|
465
|
+
forward: (count = 1) => `${CSI2}${count}C`,
|
|
466
|
+
backward: (count = 1) => `${CSI2}${count}D`,
|
|
467
|
+
nextLine: (count = 1) => `${CSI2}E`.repeat(count),
|
|
468
|
+
prevLine: (count = 1) => `${CSI2}F`.repeat(count),
|
|
469
|
+
left: `${CSI2}G`,
|
|
470
|
+
hide: `${CSI2}?25l`,
|
|
471
|
+
show: `${CSI2}?25h`,
|
|
472
|
+
save: `${ESC2}7`,
|
|
473
|
+
restore: `${ESC2}8`
|
|
68
474
|
};
|
|
69
475
|
var scroll = {
|
|
70
|
-
up: (count = 1) => `${
|
|
71
|
-
down: (count = 1) => `${
|
|
476
|
+
up: (count = 1) => `${CSI2}S`.repeat(count),
|
|
477
|
+
down: (count = 1) => `${CSI2}T`.repeat(count)
|
|
72
478
|
};
|
|
73
479
|
var erase = {
|
|
74
|
-
screen: `${
|
|
75
|
-
up: (count = 1) => `${
|
|
76
|
-
down: (count = 1) => `${
|
|
77
|
-
line: `${
|
|
78
|
-
lineEnd: `${
|
|
79
|
-
lineStart: `${
|
|
480
|
+
screen: `${CSI2}2J`,
|
|
481
|
+
up: (count = 1) => `${CSI2}1J`.repeat(count),
|
|
482
|
+
down: (count = 1) => `${CSI2}J`.repeat(count),
|
|
483
|
+
line: `${CSI2}2K`,
|
|
484
|
+
lineEnd: `${CSI2}K`,
|
|
485
|
+
lineStart: `${CSI2}1K`,
|
|
80
486
|
lines(count) {
|
|
81
487
|
let clear = "";
|
|
82
488
|
for (let i = 0; i < count; i++)
|
|
@@ -90,262 +496,127 @@ var require_src = __commonJS({
|
|
|
90
496
|
}
|
|
91
497
|
});
|
|
92
498
|
|
|
93
|
-
// node_modules/.bun
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
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();
|
|
499
|
+
// node_modules/.bun/@clack+core@1.2.0/node_modules/@clack/core/dist/index.mjs
|
|
500
|
+
import { styleText as y } from "node:util";
|
|
501
|
+
import { stdout as S, stdin as $ } from "node:process";
|
|
502
|
+
import { ReadStream as D } from "node:tty";
|
|
503
|
+
var import_sisteransi, E, G, u, Y, O;
|
|
504
|
+
var init_dist3 = __esm({
|
|
505
|
+
"node_modules/.bun/@clack+core@1.2.0/node_modules/@clack/core/dist/index.mjs"() {
|
|
506
|
+
init_utils2();
|
|
507
|
+
init_main();
|
|
209
508
|
import_sisteransi = __toESM(require_src(), 1);
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
(
|
|
213
|
-
|
|
214
|
-
|
|
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();
|
|
509
|
+
E = ["up", "down", "left", "right", "space", "enter", "cancel"];
|
|
510
|
+
G = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
|
|
511
|
+
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)}` } } };
|
|
512
|
+
Y = globalThis.process.platform.startsWith("win");
|
|
513
|
+
O = (r) => "columns" in r && typeof r.columns == "number" ? r.columns : 80;
|
|
260
514
|
}
|
|
261
515
|
});
|
|
262
516
|
|
|
263
|
-
// node_modules/.bun/@clack+prompts@
|
|
264
|
-
import { stripVTControlCharacters as
|
|
265
|
-
import
|
|
266
|
-
|
|
267
|
-
|
|
517
|
+
// node_modules/.bun/@clack+prompts@1.2.0/node_modules/@clack/prompts/dist/index.mjs
|
|
518
|
+
import { styleText as t, stripVTControlCharacters as ne } from "node:util";
|
|
519
|
+
import P from "node:process";
|
|
520
|
+
import { existsSync as Xe, lstatSync as we, readdirSync as ze } from "node:fs";
|
|
521
|
+
import { dirname as be, join as Qe } from "node:path";
|
|
522
|
+
function Ze() {
|
|
523
|
+
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
524
|
}
|
|
269
|
-
var
|
|
270
|
-
var
|
|
271
|
-
"node_modules/.bun/@clack+prompts@
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
525
|
+
var import_sisteransi2, ee, w, _e, oe, ue, F, le, d, E2, Ie, Ee, z2, H2, te, U, J, xe, se, ce, Ge, $e, de, Oe, he, pe, me, ge, O2, mt, gt, ft, vt, wt, Ve, je;
|
|
526
|
+
var init_dist4 = __esm({
|
|
527
|
+
"node_modules/.bun/@clack+prompts@1.2.0/node_modules/@clack/prompts/dist/index.mjs"() {
|
|
528
|
+
init_utils2();
|
|
529
|
+
init_dist3();
|
|
530
|
+
init_dist3();
|
|
531
|
+
init_main();
|
|
532
|
+
init_dist2();
|
|
276
533
|
import_sisteransi2 = __toESM(require_src(), 1);
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
534
|
+
ee = Ze();
|
|
535
|
+
w = (e, i) => ee ? e : i;
|
|
536
|
+
_e = w("\u25C6", "*");
|
|
537
|
+
oe = w("\u25A0", "x");
|
|
538
|
+
ue = w("\u25B2", "x");
|
|
539
|
+
F = w("\u25C7", "o");
|
|
540
|
+
le = w("\u250C", "T");
|
|
541
|
+
d = w("\u2502", "|");
|
|
542
|
+
E2 = w("\u2514", "\u2014");
|
|
543
|
+
Ie = w("\u2510", "T");
|
|
544
|
+
Ee = w("\u2518", "\u2014");
|
|
545
|
+
z2 = w("\u25CF", ">");
|
|
546
|
+
H2 = w("\u25CB", " ");
|
|
547
|
+
te = w("\u25FB", "[\u2022]");
|
|
548
|
+
U = w("\u25FC", "[+]");
|
|
549
|
+
J = w("\u25FB", "[ ]");
|
|
550
|
+
xe = w("\u25AA", "\u2022");
|
|
551
|
+
se = w("\u2500", "-");
|
|
552
|
+
ce = w("\u256E", "+");
|
|
553
|
+
Ge = w("\u251C", "+");
|
|
554
|
+
$e = w("\u256F", "+");
|
|
555
|
+
de = w("\u2570", "+");
|
|
556
|
+
Oe = w("\u256D", "+");
|
|
557
|
+
he = w("\u25CF", "\u2022");
|
|
558
|
+
pe = w("\u25C6", "*");
|
|
559
|
+
me = w("\u25B2", "!");
|
|
560
|
+
ge = w("\u25A0", "x");
|
|
561
|
+
O2 = { message: (e = [], { symbol: i = t("gray", d), secondarySymbol: s = t("gray", d), output: r = process.stdout, spacing: u2 = 1, withGuide: n } = {}) => {
|
|
562
|
+
const o = [], c2 = n ?? u.withGuide, a = c2 ? s : "", l = c2 ? `${i} ` : "", $2 = c2 ? `${s} ` : "";
|
|
563
|
+
for (let p = 0; p < u2; p++) o.push(a);
|
|
564
|
+
const y2 = Array.isArray(e) ? e : e.split(`
|
|
308
565
|
`);
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
${
|
|
312
|
-
|
|
566
|
+
if (y2.length > 0) {
|
|
567
|
+
const [p, ...m] = y2;
|
|
568
|
+
p.length > 0 ? o.push(`${l}${p}`) : o.push(c2 ? i : "");
|
|
569
|
+
for (const g of m) g.length > 0 ? o.push(`${$2}${g}`) : o.push(c2 ? s : "");
|
|
570
|
+
}
|
|
571
|
+
r.write(`${o.join(`
|
|
572
|
+
`)}
|
|
313
573
|
`);
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
|
|
574
|
+
}, info: (e, i) => {
|
|
575
|
+
O2.message(e, { ...i, symbol: t("blue", he) });
|
|
576
|
+
}, success: (e, i) => {
|
|
577
|
+
O2.message(e, { ...i, symbol: t("green", pe) });
|
|
578
|
+
}, step: (e, i) => {
|
|
579
|
+
O2.message(e, { ...i, symbol: t("green", F) });
|
|
580
|
+
}, warn: (e, i) => {
|
|
581
|
+
O2.message(e, { ...i, symbol: t("yellow", me) });
|
|
582
|
+
}, warning: (e, i) => {
|
|
583
|
+
O2.warn(e, i);
|
|
584
|
+
}, error: (e, i) => {
|
|
585
|
+
O2.message(e, { ...i, symbol: t("red", ge) });
|
|
586
|
+
} };
|
|
587
|
+
mt = (e = "", i) => {
|
|
588
|
+
const s = i?.output ?? process.stdout, r = i?.withGuide ?? u.withGuide ? `${t("gray", le)} ` : "";
|
|
589
|
+
s.write(`${r}${e}
|
|
317
590
|
`);
|
|
318
591
|
};
|
|
319
|
-
|
|
320
|
-
process.stdout.
|
|
321
|
-
${
|
|
592
|
+
gt = (e = "", i) => {
|
|
593
|
+
const s = i?.output ?? process.stdout, r = i?.withGuide ?? u.withGuide ? `${t("gray", d)}
|
|
594
|
+
${t("gray", E2)} ` : "";
|
|
595
|
+
s.write(`${r}${e}
|
|
322
596
|
|
|
323
597
|
`);
|
|
324
598
|
};
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
599
|
+
ft = (e) => t("dim", e);
|
|
600
|
+
vt = (e, i, s) => {
|
|
601
|
+
const r = { hard: true, trim: false }, u2 = wrapAnsi(e, i, r).split(`
|
|
602
|
+
`), n = u2.reduce((a, l) => Math.max(dist_default2(l), a), 0), o = u2.map(s).reduce((a, l) => Math.max(dist_default2(l), a), 0), c2 = i - (o - n);
|
|
603
|
+
return wrapAnsi(e, c2, r);
|
|
604
|
+
};
|
|
605
|
+
wt = (e = "", i = "", s) => {
|
|
606
|
+
const r = s?.output ?? P.stdout, u2 = s?.withGuide ?? u.withGuide, n = s?.format ?? ft, o = ["", ...vt(e, O(r) - 6, n).split(`
|
|
607
|
+
`).map(n), ""], c2 = dist_default2(i), a = Math.max(o.reduce((p, m) => {
|
|
608
|
+
const g = dist_default2(m);
|
|
609
|
+
return g > p ? g : p;
|
|
610
|
+
}, 0), c2) + 2, l = o.map((p) => `${t("gray", d)} ${p}${" ".repeat(a - dist_default2(p))}${t("gray", d)}`).join(`
|
|
611
|
+
`), $2 = u2 ? `${t("gray", d)}
|
|
612
|
+
` : "", y2 = u2 ? Ge : de;
|
|
613
|
+
r.write(`${$2}${t("green", F)} ${t("reset", i)} ${t("gray", se.repeat(Math.max(a - c2 - 1, 1)) + ce)}
|
|
614
|
+
${l}
|
|
615
|
+
${t("gray", y2 + se.repeat(a + 2) + $e)}
|
|
329
616
|
`);
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
`)}
|
|
334
|
-
`);
|
|
335
|
-
}, info: (t) => {
|
|
336
|
-
M2.message(t, { symbol: import_picocolors.default.blue(q) });
|
|
337
|
-
}, success: (t) => {
|
|
338
|
-
M2.message(t, { symbol: import_picocolors.default.green(D) });
|
|
339
|
-
}, step: (t) => {
|
|
340
|
-
M2.message(t, { symbol: import_picocolors.default.green(C) });
|
|
341
|
-
}, warn: (t) => {
|
|
342
|
-
M2.message(t, { symbol: import_picocolors.default.yellow(U) });
|
|
343
|
-
}, warning: (t) => {
|
|
344
|
-
M2.warn(t);
|
|
345
|
-
}, error: (t) => {
|
|
346
|
-
M2.message(t, { symbol: import_picocolors.default.red(K) });
|
|
347
|
-
} };
|
|
348
|
-
J = `${import_picocolors.default.gray(o)} `;
|
|
617
|
+
};
|
|
618
|
+
Ve = { light: w("\u2500", "-"), heavy: w("\u2501", "="), block: w("\u2588", "#") };
|
|
619
|
+
je = `${t("gray", d)} `;
|
|
349
620
|
}
|
|
350
621
|
});
|
|
351
622
|
|
|
@@ -394,9 +665,9 @@ var colors, currentLogLevel, log, error, warn, info, success;
|
|
|
394
665
|
var init_cli_output = __esm({
|
|
395
666
|
"packages/tooling/src/utils/cli-output.ts"() {
|
|
396
667
|
"use strict";
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
668
|
+
init_utils2();
|
|
669
|
+
init_dist4();
|
|
670
|
+
init_dist4();
|
|
400
671
|
colors = {
|
|
401
672
|
reset: "\x1B[0m",
|
|
402
673
|
// Success (green)
|
|
@@ -431,7 +702,7 @@ var init_cli_output = __esm({
|
|
|
431
702
|
error(...args) {
|
|
432
703
|
if (currentLogLevel < 0 /* Quiet */) return;
|
|
433
704
|
const message = formatMessage(...args);
|
|
434
|
-
|
|
705
|
+
O2.error(colorize(message, colors.brightRed));
|
|
435
706
|
},
|
|
436
707
|
/**
|
|
437
708
|
* Logs a warning message (shows at Normal level and above)
|
|
@@ -440,7 +711,7 @@ var init_cli_output = __esm({
|
|
|
440
711
|
warn(...args) {
|
|
441
712
|
if (currentLogLevel < 1 /* Normal */) return;
|
|
442
713
|
const message = formatMessage(...args);
|
|
443
|
-
|
|
714
|
+
O2.warn(colorize(message, colors.brightYellow));
|
|
444
715
|
},
|
|
445
716
|
/**
|
|
446
717
|
* Logs an info message (shows at Normal level and above)
|
|
@@ -449,7 +720,7 @@ var init_cli_output = __esm({
|
|
|
449
720
|
info(...args) {
|
|
450
721
|
if (currentLogLevel < 1 /* Normal */) return;
|
|
451
722
|
const message = formatMessage(...args);
|
|
452
|
-
|
|
723
|
+
O2.info(colorize(message, colors.brightCyan));
|
|
453
724
|
},
|
|
454
725
|
/**
|
|
455
726
|
* Logs a success message (shows at Normal level and above)
|
|
@@ -458,7 +729,7 @@ var init_cli_output = __esm({
|
|
|
458
729
|
success(...args) {
|
|
459
730
|
if (currentLogLevel < 1 /* Normal */) return;
|
|
460
731
|
const message = formatMessage(...args);
|
|
461
|
-
|
|
732
|
+
O2.success(colorize(message, colors.brightGreen));
|
|
462
733
|
},
|
|
463
734
|
/**
|
|
464
735
|
* Logs a debug message (only shows at Verbose level and above)
|
|
@@ -467,7 +738,7 @@ var init_cli_output = __esm({
|
|
|
467
738
|
debug(...args) {
|
|
468
739
|
if (currentLogLevel < 2 /* Verbose */) return;
|
|
469
740
|
const timeStamp = (/* @__PURE__ */ new Date()).toISOString().slice(11, 19);
|
|
470
|
-
|
|
741
|
+
O2.message(
|
|
471
742
|
colorize(
|
|
472
743
|
`[${timeStamp}] \u{1F50D} DEBUG: ${formatMessage(...args)}`,
|
|
473
744
|
colors.gray
|
|
@@ -481,7 +752,7 @@ var init_cli_output = __esm({
|
|
|
481
752
|
trace(...args) {
|
|
482
753
|
if (currentLogLevel < 3 /* Debug */) return;
|
|
483
754
|
const timeStamp = (/* @__PURE__ */ new Date()).toISOString().slice(11, 19);
|
|
484
|
-
|
|
755
|
+
O2.message(
|
|
485
756
|
colorize(
|
|
486
757
|
`[${timeStamp}] \u{1F52C} TRACE: ${formatMessage(...args)}`,
|
|
487
758
|
colors.gray
|
|
@@ -500,7 +771,7 @@ var init_cli_output = __esm({
|
|
|
500
771
|
var require_array = __commonJS({
|
|
501
772
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/utils/array.js"(exports) {
|
|
502
773
|
"use strict";
|
|
503
|
-
|
|
774
|
+
init_utils2();
|
|
504
775
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
505
776
|
exports.splitWhen = exports.flatten = void 0;
|
|
506
777
|
function flatten(items) {
|
|
@@ -528,7 +799,7 @@ var require_array = __commonJS({
|
|
|
528
799
|
var require_errno = __commonJS({
|
|
529
800
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/utils/errno.js"(exports) {
|
|
530
801
|
"use strict";
|
|
531
|
-
|
|
802
|
+
init_utils2();
|
|
532
803
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
533
804
|
exports.isEnoentCodeError = void 0;
|
|
534
805
|
function isEnoentCodeError(error2) {
|
|
@@ -542,7 +813,7 @@ var require_errno = __commonJS({
|
|
|
542
813
|
var require_fs = __commonJS({
|
|
543
814
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/utils/fs.js"(exports) {
|
|
544
815
|
"use strict";
|
|
545
|
-
|
|
816
|
+
init_utils2();
|
|
546
817
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
547
818
|
exports.createDirentFromStats = void 0;
|
|
548
819
|
var DirentFromStats = class {
|
|
@@ -568,7 +839,7 @@ var require_fs = __commonJS({
|
|
|
568
839
|
var require_path = __commonJS({
|
|
569
840
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/utils/path.js"(exports) {
|
|
570
841
|
"use strict";
|
|
571
|
-
|
|
842
|
+
init_utils2();
|
|
572
843
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
573
844
|
exports.convertPosixPathToPattern = exports.convertWindowsPathToPattern = exports.convertPathToPattern = exports.escapePosixPath = exports.escapeWindowsPath = exports.escape = exports.removeLeadingDotSegment = exports.makeAbsolute = exports.unixify = void 0;
|
|
574
845
|
var os = __require("os");
|
|
@@ -621,7 +892,7 @@ var require_path = __commonJS({
|
|
|
621
892
|
// node_modules/.bun/is-extglob@2.1.1/node_modules/is-extglob/index.js
|
|
622
893
|
var require_is_extglob = __commonJS({
|
|
623
894
|
"node_modules/.bun/is-extglob@2.1.1/node_modules/is-extglob/index.js"(exports, module) {
|
|
624
|
-
|
|
895
|
+
init_utils2();
|
|
625
896
|
module.exports = function isExtglob(str) {
|
|
626
897
|
if (typeof str !== "string" || str === "") {
|
|
627
898
|
return false;
|
|
@@ -639,7 +910,7 @@ var require_is_extglob = __commonJS({
|
|
|
639
910
|
// node_modules/.bun/is-glob@4.0.3/node_modules/is-glob/index.js
|
|
640
911
|
var require_is_glob = __commonJS({
|
|
641
912
|
"node_modules/.bun/is-glob@4.0.3/node_modules/is-glob/index.js"(exports, module) {
|
|
642
|
-
|
|
913
|
+
init_utils2();
|
|
643
914
|
var isExtglob = require_is_extglob();
|
|
644
915
|
var chars = { "{": "}", "(": ")", "[": "]" };
|
|
645
916
|
var strictCheck = function(str) {
|
|
@@ -772,7 +1043,7 @@ var require_is_glob = __commonJS({
|
|
|
772
1043
|
var require_glob_parent = __commonJS({
|
|
773
1044
|
"node_modules/.bun/glob-parent@5.1.2/node_modules/glob-parent/index.js"(exports, module) {
|
|
774
1045
|
"use strict";
|
|
775
|
-
|
|
1046
|
+
init_utils2();
|
|
776
1047
|
var isGlob = require_is_glob();
|
|
777
1048
|
var pathPosixDirname = __require("path").posix.dirname;
|
|
778
1049
|
var isWin32 = __require("os").platform() === "win32";
|
|
@@ -802,7 +1073,7 @@ var require_glob_parent = __commonJS({
|
|
|
802
1073
|
var require_utils = __commonJS({
|
|
803
1074
|
"node_modules/.bun/braces@3.0.3/node_modules/braces/lib/utils.js"(exports) {
|
|
804
1075
|
"use strict";
|
|
805
|
-
|
|
1076
|
+
init_utils2();
|
|
806
1077
|
exports.isInteger = (num) => {
|
|
807
1078
|
if (typeof num === "number") {
|
|
808
1079
|
return Number.isInteger(num);
|
|
@@ -885,7 +1156,7 @@ var require_utils = __commonJS({
|
|
|
885
1156
|
var require_stringify = __commonJS({
|
|
886
1157
|
"node_modules/.bun/braces@3.0.3/node_modules/braces/lib/stringify.js"(exports, module) {
|
|
887
1158
|
"use strict";
|
|
888
|
-
|
|
1159
|
+
init_utils2();
|
|
889
1160
|
var utils = require_utils();
|
|
890
1161
|
module.exports = (ast, options = {}) => {
|
|
891
1162
|
const stringify2 = (node, parent = {}) => {
|
|
@@ -917,7 +1188,7 @@ var require_stringify = __commonJS({
|
|
|
917
1188
|
var require_is_number = __commonJS({
|
|
918
1189
|
"node_modules/.bun/is-number@7.0.0/node_modules/is-number/index.js"(exports, module) {
|
|
919
1190
|
"use strict";
|
|
920
|
-
|
|
1191
|
+
init_utils2();
|
|
921
1192
|
module.exports = function(num) {
|
|
922
1193
|
if (typeof num === "number") {
|
|
923
1194
|
return num - num === 0;
|
|
@@ -934,7 +1205,7 @@ var require_is_number = __commonJS({
|
|
|
934
1205
|
var require_to_regex_range = __commonJS({
|
|
935
1206
|
"node_modules/.bun/to-regex-range@5.0.1/node_modules/to-regex-range/index.js"(exports, module) {
|
|
936
1207
|
"use strict";
|
|
937
|
-
|
|
1208
|
+
init_utils2();
|
|
938
1209
|
var isNumber = require_is_number();
|
|
939
1210
|
var toRegexRange = (min, max, options) => {
|
|
940
1211
|
if (isNumber(min) === false) {
|
|
@@ -959,8 +1230,8 @@ var require_to_regex_range = __commonJS({
|
|
|
959
1230
|
return toRegexRange.cache[cacheKey].result;
|
|
960
1231
|
}
|
|
961
1232
|
let a = Math.min(min, max);
|
|
962
|
-
let
|
|
963
|
-
if (Math.abs(a -
|
|
1233
|
+
let b = Math.max(min, max);
|
|
1234
|
+
if (Math.abs(a - b) === 1) {
|
|
964
1235
|
let result = min + "|" + max;
|
|
965
1236
|
if (opts.capture) {
|
|
966
1237
|
return `(${result})`;
|
|
@@ -971,7 +1242,7 @@ var require_to_regex_range = __commonJS({
|
|
|
971
1242
|
return `(?:${result})`;
|
|
972
1243
|
}
|
|
973
1244
|
let isPadded = hasPadding(min) || hasPadding(max);
|
|
974
|
-
let state = { min, max, a, b
|
|
1245
|
+
let state = { min, max, a, b };
|
|
975
1246
|
let positives = [];
|
|
976
1247
|
let negatives = [];
|
|
977
1248
|
if (isPadded) {
|
|
@@ -979,12 +1250,12 @@ var require_to_regex_range = __commonJS({
|
|
|
979
1250
|
state.maxLen = String(state.max).length;
|
|
980
1251
|
}
|
|
981
1252
|
if (a < 0) {
|
|
982
|
-
let newMin =
|
|
1253
|
+
let newMin = b < 0 ? Math.abs(b) : 1;
|
|
983
1254
|
negatives = splitToPatterns(newMin, Math.abs(a), state, opts);
|
|
984
1255
|
a = state.a = 0;
|
|
985
1256
|
}
|
|
986
|
-
if (
|
|
987
|
-
positives = splitToPatterns(a,
|
|
1257
|
+
if (b >= 0) {
|
|
1258
|
+
positives = splitToPatterns(a, b, state, opts);
|
|
988
1259
|
}
|
|
989
1260
|
state.negatives = negatives;
|
|
990
1261
|
state.positives = positives;
|
|
@@ -1088,13 +1359,13 @@ var require_to_regex_range = __commonJS({
|
|
|
1088
1359
|
}
|
|
1089
1360
|
return result;
|
|
1090
1361
|
}
|
|
1091
|
-
function zip(a,
|
|
1362
|
+
function zip(a, b) {
|
|
1092
1363
|
let arr = [];
|
|
1093
|
-
for (let i = 0; i < a.length; i++) arr.push([a[i],
|
|
1364
|
+
for (let i = 0; i < a.length; i++) arr.push([a[i], b[i]]);
|
|
1094
1365
|
return arr;
|
|
1095
1366
|
}
|
|
1096
|
-
function compare(a,
|
|
1097
|
-
return a >
|
|
1367
|
+
function compare(a, b) {
|
|
1368
|
+
return a > b ? 1 : b > a ? -1 : 0;
|
|
1098
1369
|
}
|
|
1099
1370
|
function contains(arr, key, val) {
|
|
1100
1371
|
return arr.some((ele) => ele[key] === val);
|
|
@@ -1112,8 +1383,8 @@ var require_to_regex_range = __commonJS({
|
|
|
1112
1383
|
}
|
|
1113
1384
|
return "";
|
|
1114
1385
|
}
|
|
1115
|
-
function toCharacterClass(a,
|
|
1116
|
-
return `[${a}${
|
|
1386
|
+
function toCharacterClass(a, b, options) {
|
|
1387
|
+
return `[${a}${b - a === 1 ? "" : "-"}${b}]`;
|
|
1117
1388
|
}
|
|
1118
1389
|
function hasPadding(str) {
|
|
1119
1390
|
return /^-?(0+)\d/.test(str);
|
|
@@ -1146,7 +1417,7 @@ var require_to_regex_range = __commonJS({
|
|
|
1146
1417
|
var require_fill_range = __commonJS({
|
|
1147
1418
|
"node_modules/.bun/fill-range@7.1.1/node_modules/fill-range/index.js"(exports, module) {
|
|
1148
1419
|
"use strict";
|
|
1149
|
-
|
|
1420
|
+
init_utils2();
|
|
1150
1421
|
var util = __require("util");
|
|
1151
1422
|
var toRegexRange = require_to_regex_range();
|
|
1152
1423
|
var isObject = (val) => val !== null && typeof val === "object" && !Array.isArray(val);
|
|
@@ -1192,8 +1463,8 @@ var require_fill_range = __commonJS({
|
|
|
1192
1463
|
return negative ? "-" + input : input;
|
|
1193
1464
|
};
|
|
1194
1465
|
var toSequence = (parts, options, maxLen) => {
|
|
1195
|
-
parts.negatives.sort((a,
|
|
1196
|
-
parts.positives.sort((a,
|
|
1466
|
+
parts.negatives.sort((a, b) => a < b ? -1 : a > b ? 1 : 0);
|
|
1467
|
+
parts.positives.sort((a, b) => a < b ? -1 : a > b ? 1 : 0);
|
|
1197
1468
|
let prefix = options.capture ? "" : "?:";
|
|
1198
1469
|
let positives = "";
|
|
1199
1470
|
let negatives = "";
|
|
@@ -1214,13 +1485,13 @@ var require_fill_range = __commonJS({
|
|
|
1214
1485
|
}
|
|
1215
1486
|
return result;
|
|
1216
1487
|
};
|
|
1217
|
-
var toRange = (a,
|
|
1488
|
+
var toRange = (a, b, isNumbers, options) => {
|
|
1218
1489
|
if (isNumbers) {
|
|
1219
|
-
return toRegexRange(a,
|
|
1490
|
+
return toRegexRange(a, b, { wrap: false, ...options });
|
|
1220
1491
|
}
|
|
1221
1492
|
let start = String.fromCharCode(a);
|
|
1222
|
-
if (a ===
|
|
1223
|
-
let stop = String.fromCharCode(
|
|
1493
|
+
if (a === b) return start;
|
|
1494
|
+
let stop = String.fromCharCode(b);
|
|
1224
1495
|
return `[${start}-${stop}]`;
|
|
1225
1496
|
};
|
|
1226
1497
|
var toRegex = (start, end, options) => {
|
|
@@ -1246,14 +1517,14 @@ var require_fill_range = __commonJS({
|
|
|
1246
1517
|
};
|
|
1247
1518
|
var fillNumbers = (start, end, step = 1, options = {}) => {
|
|
1248
1519
|
let a = Number(start);
|
|
1249
|
-
let
|
|
1250
|
-
if (!Number.isInteger(a) || !Number.isInteger(
|
|
1520
|
+
let b = Number(end);
|
|
1521
|
+
if (!Number.isInteger(a) || !Number.isInteger(b)) {
|
|
1251
1522
|
if (options.strictRanges === true) throw rangeError([start, end]);
|
|
1252
1523
|
return [];
|
|
1253
1524
|
}
|
|
1254
1525
|
if (a === 0) a = 0;
|
|
1255
|
-
if (
|
|
1256
|
-
let descending = a >
|
|
1526
|
+
if (b === 0) b = 0;
|
|
1527
|
+
let descending = a > b;
|
|
1257
1528
|
let startString = String(start);
|
|
1258
1529
|
let endString = String(end);
|
|
1259
1530
|
let stepString = String(step);
|
|
@@ -1269,7 +1540,7 @@ var require_fill_range = __commonJS({
|
|
|
1269
1540
|
let push = (num) => parts[num < 0 ? "negatives" : "positives"].push(Math.abs(num));
|
|
1270
1541
|
let range = [];
|
|
1271
1542
|
let index = 0;
|
|
1272
|
-
while (descending ? a >=
|
|
1543
|
+
while (descending ? a >= b : a <= b) {
|
|
1273
1544
|
if (options.toRegex === true && step > 1) {
|
|
1274
1545
|
push(a);
|
|
1275
1546
|
} else {
|
|
@@ -1289,16 +1560,16 @@ var require_fill_range = __commonJS({
|
|
|
1289
1560
|
}
|
|
1290
1561
|
let format = options.transform || ((val) => String.fromCharCode(val));
|
|
1291
1562
|
let a = `${start}`.charCodeAt(0);
|
|
1292
|
-
let
|
|
1293
|
-
let descending = a >
|
|
1294
|
-
let min = Math.min(a,
|
|
1295
|
-
let max = Math.max(a,
|
|
1563
|
+
let b = `${end}`.charCodeAt(0);
|
|
1564
|
+
let descending = a > b;
|
|
1565
|
+
let min = Math.min(a, b);
|
|
1566
|
+
let max = Math.max(a, b);
|
|
1296
1567
|
if (options.toRegex && step === 1) {
|
|
1297
1568
|
return toRange(min, max, false, options);
|
|
1298
1569
|
}
|
|
1299
1570
|
let range = [];
|
|
1300
1571
|
let index = 0;
|
|
1301
|
-
while (descending ? a >=
|
|
1572
|
+
while (descending ? a >= b : a <= b) {
|
|
1302
1573
|
range.push(format(a, index));
|
|
1303
1574
|
a = descending ? a - step : a + step;
|
|
1304
1575
|
index++;
|
|
@@ -1341,7 +1612,7 @@ var require_fill_range = __commonJS({
|
|
|
1341
1612
|
var require_compile = __commonJS({
|
|
1342
1613
|
"node_modules/.bun/braces@3.0.3/node_modules/braces/lib/compile.js"(exports, module) {
|
|
1343
1614
|
"use strict";
|
|
1344
|
-
|
|
1615
|
+
init_utils2();
|
|
1345
1616
|
var fill = require_fill_range();
|
|
1346
1617
|
var utils = require_utils();
|
|
1347
1618
|
var compile = (ast, options = {}) => {
|
|
@@ -1393,7 +1664,7 @@ var require_compile = __commonJS({
|
|
|
1393
1664
|
var require_expand = __commonJS({
|
|
1394
1665
|
"node_modules/.bun/braces@3.0.3/node_modules/braces/lib/expand.js"(exports, module) {
|
|
1395
1666
|
"use strict";
|
|
1396
|
-
|
|
1667
|
+
init_utils2();
|
|
1397
1668
|
var fill = require_fill_range();
|
|
1398
1669
|
var stringify2 = require_stringify();
|
|
1399
1670
|
var utils = require_utils();
|
|
@@ -1488,7 +1759,7 @@ var require_expand = __commonJS({
|
|
|
1488
1759
|
var require_constants = __commonJS({
|
|
1489
1760
|
"node_modules/.bun/braces@3.0.3/node_modules/braces/lib/constants.js"(exports, module) {
|
|
1490
1761
|
"use strict";
|
|
1491
|
-
|
|
1762
|
+
init_utils2();
|
|
1492
1763
|
module.exports = {
|
|
1493
1764
|
MAX_LENGTH: 1e4,
|
|
1494
1765
|
// Digits
|
|
@@ -1590,7 +1861,7 @@ var require_constants = __commonJS({
|
|
|
1590
1861
|
var require_parse = __commonJS({
|
|
1591
1862
|
"node_modules/.bun/braces@3.0.3/node_modules/braces/lib/parse.js"(exports, module) {
|
|
1592
1863
|
"use strict";
|
|
1593
|
-
|
|
1864
|
+
init_utils2();
|
|
1594
1865
|
var stringify2 = require_stringify();
|
|
1595
1866
|
var {
|
|
1596
1867
|
MAX_LENGTH,
|
|
@@ -1829,7 +2100,7 @@ var require_parse = __commonJS({
|
|
|
1829
2100
|
var require_braces = __commonJS({
|
|
1830
2101
|
"node_modules/.bun/braces@3.0.3/node_modules/braces/index.js"(exports, module) {
|
|
1831
2102
|
"use strict";
|
|
1832
|
-
|
|
2103
|
+
init_utils2();
|
|
1833
2104
|
var stringify2 = require_stringify();
|
|
1834
2105
|
var compile = require_compile();
|
|
1835
2106
|
var expand = require_expand();
|
|
@@ -1893,7 +2164,7 @@ var require_braces = __commonJS({
|
|
|
1893
2164
|
var require_constants2 = __commonJS({
|
|
1894
2165
|
"node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/constants.js"(exports, module) {
|
|
1895
2166
|
"use strict";
|
|
1896
|
-
|
|
2167
|
+
init_utils2();
|
|
1897
2168
|
var path = __require("path");
|
|
1898
2169
|
var WIN_SLASH = "\\\\/";
|
|
1899
2170
|
var WIN_NO_SLASH = `[^${WIN_SLASH}]`;
|
|
@@ -2095,7 +2366,7 @@ var require_constants2 = __commonJS({
|
|
|
2095
2366
|
var require_utils2 = __commonJS({
|
|
2096
2367
|
"node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/utils.js"(exports) {
|
|
2097
2368
|
"use strict";
|
|
2098
|
-
|
|
2369
|
+
init_utils2();
|
|
2099
2370
|
var path = __require("path");
|
|
2100
2371
|
var win32 = process.platform === "win32";
|
|
2101
2372
|
var {
|
|
@@ -2157,7 +2428,7 @@ var require_utils2 = __commonJS({
|
|
|
2157
2428
|
var require_scan = __commonJS({
|
|
2158
2429
|
"node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/scan.js"(exports, module) {
|
|
2159
2430
|
"use strict";
|
|
2160
|
-
|
|
2431
|
+
init_utils2();
|
|
2161
2432
|
var utils = require_utils2();
|
|
2162
2433
|
var {
|
|
2163
2434
|
CHAR_ASTERISK,
|
|
@@ -2488,7 +2759,7 @@ var require_scan = __commonJS({
|
|
|
2488
2759
|
var require_parse2 = __commonJS({
|
|
2489
2760
|
"node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/parse.js"(exports, module) {
|
|
2490
2761
|
"use strict";
|
|
2491
|
-
|
|
2762
|
+
init_utils2();
|
|
2492
2763
|
var constants2 = require_constants2();
|
|
2493
2764
|
var utils = require_utils2();
|
|
2494
2765
|
var {
|
|
@@ -2594,14 +2865,14 @@ var require_parse2 = __commonJS({
|
|
|
2594
2865
|
var hasRepeatedCharPrefixOverlap = (branches) => {
|
|
2595
2866
|
const values = branches.map(normalizeSimpleBranch).filter(Boolean);
|
|
2596
2867
|
for (let i = 0; i < values.length; i++) {
|
|
2597
|
-
for (let
|
|
2868
|
+
for (let j = i + 1; j < values.length; j++) {
|
|
2598
2869
|
const a = values[i];
|
|
2599
|
-
const
|
|
2870
|
+
const b = values[j];
|
|
2600
2871
|
const char = a[0];
|
|
2601
|
-
if (!char || a !== char.repeat(a.length) ||
|
|
2872
|
+
if (!char || a !== char.repeat(a.length) || b !== char.repeat(b.length)) {
|
|
2602
2873
|
continue;
|
|
2603
2874
|
}
|
|
2604
|
-
if (a ===
|
|
2875
|
+
if (a === b || a.startsWith(b) || b.startsWith(a)) {
|
|
2605
2876
|
return true;
|
|
2606
2877
|
}
|
|
2607
2878
|
}
|
|
@@ -3134,8 +3405,8 @@ var require_parse2 = __commonJS({
|
|
|
3134
3405
|
brace.value = brace.output = "\\{";
|
|
3135
3406
|
value = output = "\\}";
|
|
3136
3407
|
state.output = out;
|
|
3137
|
-
for (const
|
|
3138
|
-
state.output +=
|
|
3408
|
+
for (const t2 of toks) {
|
|
3409
|
+
state.output += t2.output || t2.value;
|
|
3139
3410
|
}
|
|
3140
3411
|
}
|
|
3141
3412
|
push({ type: "brace", value, output });
|
|
@@ -3491,7 +3762,7 @@ var require_parse2 = __commonJS({
|
|
|
3491
3762
|
var require_picomatch = __commonJS({
|
|
3492
3763
|
"node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/picomatch.js"(exports, module) {
|
|
3493
3764
|
"use strict";
|
|
3494
|
-
|
|
3765
|
+
init_utils2();
|
|
3495
3766
|
var path = __require("path");
|
|
3496
3767
|
var scan = require_scan();
|
|
3497
3768
|
var parse2 = require_parse2();
|
|
@@ -3633,7 +3904,7 @@ var require_picomatch = __commonJS({
|
|
|
3633
3904
|
var require_picomatch2 = __commonJS({
|
|
3634
3905
|
"node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/index.js"(exports, module) {
|
|
3635
3906
|
"use strict";
|
|
3636
|
-
|
|
3907
|
+
init_utils2();
|
|
3637
3908
|
module.exports = require_picomatch();
|
|
3638
3909
|
}
|
|
3639
3910
|
});
|
|
@@ -3642,7 +3913,7 @@ var require_picomatch2 = __commonJS({
|
|
|
3642
3913
|
var require_micromatch = __commonJS({
|
|
3643
3914
|
"node_modules/.bun/micromatch@4.0.8/node_modules/micromatch/index.js"(exports, module) {
|
|
3644
3915
|
"use strict";
|
|
3645
|
-
|
|
3916
|
+
init_utils2();
|
|
3646
3917
|
var util = __require("util");
|
|
3647
3918
|
var braces = require_braces();
|
|
3648
3919
|
var picomatch = require_picomatch2();
|
|
@@ -3804,7 +4075,7 @@ var require_micromatch = __commonJS({
|
|
|
3804
4075
|
var require_pattern = __commonJS({
|
|
3805
4076
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/utils/pattern.js"(exports) {
|
|
3806
4077
|
"use strict";
|
|
3807
|
-
|
|
4078
|
+
init_utils2();
|
|
3808
4079
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3809
4080
|
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;
|
|
3810
4081
|
var path = __require("path");
|
|
@@ -3914,7 +4185,7 @@ var require_pattern = __commonJS({
|
|
|
3914
4185
|
exports.expandPatternsWithBraceExpansion = expandPatternsWithBraceExpansion;
|
|
3915
4186
|
function expandBraceExpansion(pattern) {
|
|
3916
4187
|
const patterns = micromatch.braces(pattern, { expand: true, nodupes: true, keepEscaping: true });
|
|
3917
|
-
patterns.sort((a,
|
|
4188
|
+
patterns.sort((a, b) => a.length - b.length);
|
|
3918
4189
|
return patterns.filter((pattern2) => pattern2 !== "");
|
|
3919
4190
|
}
|
|
3920
4191
|
exports.expandBraceExpansion = expandBraceExpansion;
|
|
@@ -3970,7 +4241,7 @@ var require_pattern = __commonJS({
|
|
|
3970
4241
|
var require_merge2 = __commonJS({
|
|
3971
4242
|
"node_modules/.bun/merge2@1.4.1/node_modules/merge2/index.js"(exports, module) {
|
|
3972
4243
|
"use strict";
|
|
3973
|
-
|
|
4244
|
+
init_utils2();
|
|
3974
4245
|
var Stream = __require("stream");
|
|
3975
4246
|
var PassThrough = Stream.PassThrough;
|
|
3976
4247
|
var slice = Array.prototype.slice;
|
|
@@ -4090,7 +4361,7 @@ var require_merge2 = __commonJS({
|
|
|
4090
4361
|
var require_stream = __commonJS({
|
|
4091
4362
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/utils/stream.js"(exports) {
|
|
4092
4363
|
"use strict";
|
|
4093
|
-
|
|
4364
|
+
init_utils2();
|
|
4094
4365
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4095
4366
|
exports.merge = void 0;
|
|
4096
4367
|
var merge2 = require_merge2();
|
|
@@ -4114,7 +4385,7 @@ var require_stream = __commonJS({
|
|
|
4114
4385
|
var require_string = __commonJS({
|
|
4115
4386
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/utils/string.js"(exports) {
|
|
4116
4387
|
"use strict";
|
|
4117
|
-
|
|
4388
|
+
init_utils2();
|
|
4118
4389
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4119
4390
|
exports.isEmpty = exports.isString = void 0;
|
|
4120
4391
|
function isString(input) {
|
|
@@ -4132,7 +4403,7 @@ var require_string = __commonJS({
|
|
|
4132
4403
|
var require_utils3 = __commonJS({
|
|
4133
4404
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/utils/index.js"(exports) {
|
|
4134
4405
|
"use strict";
|
|
4135
|
-
|
|
4406
|
+
init_utils2();
|
|
4136
4407
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4137
4408
|
exports.string = exports.stream = exports.pattern = exports.path = exports.fs = exports.errno = exports.array = void 0;
|
|
4138
4409
|
var array = require_array();
|
|
@@ -4156,7 +4427,7 @@ var require_utils3 = __commonJS({
|
|
|
4156
4427
|
var require_tasks = __commonJS({
|
|
4157
4428
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/managers/tasks.js"(exports) {
|
|
4158
4429
|
"use strict";
|
|
4159
|
-
|
|
4430
|
+
init_utils2();
|
|
4160
4431
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4161
4432
|
exports.convertPatternGroupToTask = exports.convertPatternGroupsToTasks = exports.groupPatternsByBaseDirectory = exports.getNegativePatternsAsPositive = exports.getPositivePatterns = exports.convertPatternsToTasks = exports.generate = void 0;
|
|
4162
4433
|
var utils = require_utils3();
|
|
@@ -4253,7 +4524,7 @@ var require_tasks = __commonJS({
|
|
|
4253
4524
|
var require_async = __commonJS({
|
|
4254
4525
|
"node_modules/.bun/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/async.js"(exports) {
|
|
4255
4526
|
"use strict";
|
|
4256
|
-
|
|
4527
|
+
init_utils2();
|
|
4257
4528
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4258
4529
|
exports.read = void 0;
|
|
4259
4530
|
function read(path, settings, callback) {
|
|
@@ -4296,7 +4567,7 @@ var require_async = __commonJS({
|
|
|
4296
4567
|
var require_sync = __commonJS({
|
|
4297
4568
|
"node_modules/.bun/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/sync.js"(exports) {
|
|
4298
4569
|
"use strict";
|
|
4299
|
-
|
|
4570
|
+
init_utils2();
|
|
4300
4571
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4301
4572
|
exports.read = void 0;
|
|
4302
4573
|
function read(path, settings) {
|
|
@@ -4325,7 +4596,7 @@ var require_sync = __commonJS({
|
|
|
4325
4596
|
var require_fs2 = __commonJS({
|
|
4326
4597
|
"node_modules/.bun/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/adapters/fs.js"(exports) {
|
|
4327
4598
|
"use strict";
|
|
4328
|
-
|
|
4599
|
+
init_utils2();
|
|
4329
4600
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4330
4601
|
exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
|
|
4331
4602
|
var fs2 = __require("fs");
|
|
@@ -4349,7 +4620,7 @@ var require_fs2 = __commonJS({
|
|
|
4349
4620
|
var require_settings = __commonJS({
|
|
4350
4621
|
"node_modules/.bun/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/settings.js"(exports) {
|
|
4351
4622
|
"use strict";
|
|
4352
|
-
|
|
4623
|
+
init_utils2();
|
|
4353
4624
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4354
4625
|
var fs2 = require_fs2();
|
|
4355
4626
|
var Settings = class {
|
|
@@ -4372,7 +4643,7 @@ var require_settings = __commonJS({
|
|
|
4372
4643
|
var require_out = __commonJS({
|
|
4373
4644
|
"node_modules/.bun/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/index.js"(exports) {
|
|
4374
4645
|
"use strict";
|
|
4375
|
-
|
|
4646
|
+
init_utils2();
|
|
4376
4647
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4377
4648
|
exports.statSync = exports.stat = exports.Settings = void 0;
|
|
4378
4649
|
var async = require_async();
|
|
@@ -4404,7 +4675,7 @@ var require_out = __commonJS({
|
|
|
4404
4675
|
// node_modules/.bun/queue-microtask@1.2.3/node_modules/queue-microtask/index.js
|
|
4405
4676
|
var require_queue_microtask = __commonJS({
|
|
4406
4677
|
"node_modules/.bun/queue-microtask@1.2.3/node_modules/queue-microtask/index.js"(exports, module) {
|
|
4407
|
-
|
|
4678
|
+
init_utils2();
|
|
4408
4679
|
var promise;
|
|
4409
4680
|
module.exports = typeof queueMicrotask === "function" ? queueMicrotask.bind(typeof window !== "undefined" ? window : global) : (cb) => (promise || (promise = Promise.resolve())).then(cb).catch((err) => setTimeout(() => {
|
|
4410
4681
|
throw err;
|
|
@@ -4415,7 +4686,7 @@ var require_queue_microtask = __commonJS({
|
|
|
4415
4686
|
// node_modules/.bun/run-parallel@1.2.0/node_modules/run-parallel/index.js
|
|
4416
4687
|
var require_run_parallel = __commonJS({
|
|
4417
4688
|
"node_modules/.bun/run-parallel@1.2.0/node_modules/run-parallel/index.js"(exports, module) {
|
|
4418
|
-
|
|
4689
|
+
init_utils2();
|
|
4419
4690
|
module.exports = runParallel;
|
|
4420
4691
|
var queueMicrotask2 = require_queue_microtask();
|
|
4421
4692
|
function runParallel(tasks, cb) {
|
|
@@ -4467,7 +4738,7 @@ var require_run_parallel = __commonJS({
|
|
|
4467
4738
|
var require_constants3 = __commonJS({
|
|
4468
4739
|
"node_modules/.bun/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/constants.js"(exports) {
|
|
4469
4740
|
"use strict";
|
|
4470
|
-
|
|
4741
|
+
init_utils2();
|
|
4471
4742
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4472
4743
|
exports.IS_SUPPORT_READDIR_WITH_FILE_TYPES = void 0;
|
|
4473
4744
|
var NODE_PROCESS_VERSION_PARTS = process.versions.node.split(".");
|
|
@@ -4488,7 +4759,7 @@ var require_constants3 = __commonJS({
|
|
|
4488
4759
|
var require_fs3 = __commonJS({
|
|
4489
4760
|
"node_modules/.bun/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/fs.js"(exports) {
|
|
4490
4761
|
"use strict";
|
|
4491
|
-
|
|
4762
|
+
init_utils2();
|
|
4492
4763
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4493
4764
|
exports.createDirentFromStats = void 0;
|
|
4494
4765
|
var DirentFromStats = class {
|
|
@@ -4514,7 +4785,7 @@ var require_fs3 = __commonJS({
|
|
|
4514
4785
|
var require_utils4 = __commonJS({
|
|
4515
4786
|
"node_modules/.bun/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/index.js"(exports) {
|
|
4516
4787
|
"use strict";
|
|
4517
|
-
|
|
4788
|
+
init_utils2();
|
|
4518
4789
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4519
4790
|
exports.fs = void 0;
|
|
4520
4791
|
var fs2 = require_fs3();
|
|
@@ -4526,14 +4797,14 @@ var require_utils4 = __commonJS({
|
|
|
4526
4797
|
var require_common = __commonJS({
|
|
4527
4798
|
"node_modules/.bun/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/common.js"(exports) {
|
|
4528
4799
|
"use strict";
|
|
4529
|
-
|
|
4800
|
+
init_utils2();
|
|
4530
4801
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4531
4802
|
exports.joinPathSegments = void 0;
|
|
4532
|
-
function joinPathSegments(a,
|
|
4803
|
+
function joinPathSegments(a, b, separator) {
|
|
4533
4804
|
if (a.endsWith(separator)) {
|
|
4534
|
-
return a +
|
|
4805
|
+
return a + b;
|
|
4535
4806
|
}
|
|
4536
|
-
return a + separator +
|
|
4807
|
+
return a + separator + b;
|
|
4537
4808
|
}
|
|
4538
4809
|
exports.joinPathSegments = joinPathSegments;
|
|
4539
4810
|
}
|
|
@@ -4543,7 +4814,7 @@ var require_common = __commonJS({
|
|
|
4543
4814
|
var require_async2 = __commonJS({
|
|
4544
4815
|
"node_modules/.bun/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/async.js"(exports) {
|
|
4545
4816
|
"use strict";
|
|
4546
|
-
|
|
4817
|
+
init_utils2();
|
|
4547
4818
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4548
4819
|
exports.readdir = exports.readdirWithFileTypes = exports.read = void 0;
|
|
4549
4820
|
var fsStat = require_out();
|
|
@@ -4654,7 +4925,7 @@ var require_async2 = __commonJS({
|
|
|
4654
4925
|
var require_sync2 = __commonJS({
|
|
4655
4926
|
"node_modules/.bun/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/sync.js"(exports) {
|
|
4656
4927
|
"use strict";
|
|
4657
|
-
|
|
4928
|
+
init_utils2();
|
|
4658
4929
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4659
4930
|
exports.readdir = exports.readdirWithFileTypes = exports.read = void 0;
|
|
4660
4931
|
var fsStat = require_out();
|
|
@@ -4714,7 +4985,7 @@ var require_sync2 = __commonJS({
|
|
|
4714
4985
|
var require_fs4 = __commonJS({
|
|
4715
4986
|
"node_modules/.bun/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/adapters/fs.js"(exports) {
|
|
4716
4987
|
"use strict";
|
|
4717
|
-
|
|
4988
|
+
init_utils2();
|
|
4718
4989
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4719
4990
|
exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
|
|
4720
4991
|
var fs2 = __require("fs");
|
|
@@ -4740,7 +5011,7 @@ var require_fs4 = __commonJS({
|
|
|
4740
5011
|
var require_settings2 = __commonJS({
|
|
4741
5012
|
"node_modules/.bun/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/settings.js"(exports) {
|
|
4742
5013
|
"use strict";
|
|
4743
|
-
|
|
5014
|
+
init_utils2();
|
|
4744
5015
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4745
5016
|
var path = __require("path");
|
|
4746
5017
|
var fsStat = require_out();
|
|
@@ -4771,7 +5042,7 @@ var require_settings2 = __commonJS({
|
|
|
4771
5042
|
var require_out2 = __commonJS({
|
|
4772
5043
|
"node_modules/.bun/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/index.js"(exports) {
|
|
4773
5044
|
"use strict";
|
|
4774
|
-
|
|
5045
|
+
init_utils2();
|
|
4775
5046
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4776
5047
|
exports.Settings = exports.scandirSync = exports.scandir = void 0;
|
|
4777
5048
|
var async = require_async2();
|
|
@@ -4804,7 +5075,7 @@ var require_out2 = __commonJS({
|
|
|
4804
5075
|
var require_reusify = __commonJS({
|
|
4805
5076
|
"node_modules/.bun/reusify@1.1.0/node_modules/reusify/reusify.js"(exports, module) {
|
|
4806
5077
|
"use strict";
|
|
4807
|
-
|
|
5078
|
+
init_utils2();
|
|
4808
5079
|
function reusify(Constructor) {
|
|
4809
5080
|
var head = new Constructor();
|
|
4810
5081
|
var tail = head;
|
|
@@ -4836,7 +5107,7 @@ var require_reusify = __commonJS({
|
|
|
4836
5107
|
var require_queue = __commonJS({
|
|
4837
5108
|
"node_modules/.bun/fastq@1.20.1/node_modules/fastq/queue.js"(exports, module) {
|
|
4838
5109
|
"use strict";
|
|
4839
|
-
|
|
5110
|
+
init_utils2();
|
|
4840
5111
|
var reusify = require_reusify();
|
|
4841
5112
|
function fastqueue(context, worker, _concurrency) {
|
|
4842
5113
|
if (typeof context === "function") {
|
|
@@ -5121,7 +5392,7 @@ var require_queue = __commonJS({
|
|
|
5121
5392
|
var require_common2 = __commonJS({
|
|
5122
5393
|
"node_modules/.bun/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/common.js"(exports) {
|
|
5123
5394
|
"use strict";
|
|
5124
|
-
|
|
5395
|
+
init_utils2();
|
|
5125
5396
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5126
5397
|
exports.joinPathSegments = exports.replacePathSegmentSeparator = exports.isAppliedFilter = exports.isFatalError = void 0;
|
|
5127
5398
|
function isFatalError(settings, error2) {
|
|
@@ -5139,14 +5410,14 @@ var require_common2 = __commonJS({
|
|
|
5139
5410
|
return filepath.split(/[/\\]/).join(separator);
|
|
5140
5411
|
}
|
|
5141
5412
|
exports.replacePathSegmentSeparator = replacePathSegmentSeparator;
|
|
5142
|
-
function joinPathSegments(a,
|
|
5413
|
+
function joinPathSegments(a, b, separator) {
|
|
5143
5414
|
if (a === "") {
|
|
5144
|
-
return
|
|
5415
|
+
return b;
|
|
5145
5416
|
}
|
|
5146
5417
|
if (a.endsWith(separator)) {
|
|
5147
|
-
return a +
|
|
5418
|
+
return a + b;
|
|
5148
5419
|
}
|
|
5149
|
-
return a + separator +
|
|
5420
|
+
return a + separator + b;
|
|
5150
5421
|
}
|
|
5151
5422
|
exports.joinPathSegments = joinPathSegments;
|
|
5152
5423
|
}
|
|
@@ -5156,7 +5427,7 @@ var require_common2 = __commonJS({
|
|
|
5156
5427
|
var require_reader = __commonJS({
|
|
5157
5428
|
"node_modules/.bun/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/reader.js"(exports) {
|
|
5158
5429
|
"use strict";
|
|
5159
|
-
|
|
5430
|
+
init_utils2();
|
|
5160
5431
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5161
5432
|
var common = require_common2();
|
|
5162
5433
|
var Reader = class {
|
|
@@ -5174,7 +5445,7 @@ var require_reader = __commonJS({
|
|
|
5174
5445
|
var require_async3 = __commonJS({
|
|
5175
5446
|
"node_modules/.bun/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/async.js"(exports) {
|
|
5176
5447
|
"use strict";
|
|
5177
|
-
|
|
5448
|
+
init_utils2();
|
|
5178
5449
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5179
5450
|
var events_1 = __require("events");
|
|
5180
5451
|
var fsScandir = require_out2();
|
|
@@ -5278,7 +5549,7 @@ var require_async3 = __commonJS({
|
|
|
5278
5549
|
var require_async4 = __commonJS({
|
|
5279
5550
|
"node_modules/.bun/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/async.js"(exports) {
|
|
5280
5551
|
"use strict";
|
|
5281
|
-
|
|
5552
|
+
init_utils2();
|
|
5282
5553
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5283
5554
|
var async_1 = require_async3();
|
|
5284
5555
|
var AsyncProvider = class {
|
|
@@ -5315,7 +5586,7 @@ var require_async4 = __commonJS({
|
|
|
5315
5586
|
var require_stream2 = __commonJS({
|
|
5316
5587
|
"node_modules/.bun/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/stream.js"(exports) {
|
|
5317
5588
|
"use strict";
|
|
5318
|
-
|
|
5589
|
+
init_utils2();
|
|
5319
5590
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5320
5591
|
var stream_1 = __require("stream");
|
|
5321
5592
|
var async_1 = require_async3();
|
|
@@ -5357,7 +5628,7 @@ var require_stream2 = __commonJS({
|
|
|
5357
5628
|
var require_sync3 = __commonJS({
|
|
5358
5629
|
"node_modules/.bun/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/sync.js"(exports) {
|
|
5359
5630
|
"use strict";
|
|
5360
|
-
|
|
5631
|
+
init_utils2();
|
|
5361
5632
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5362
5633
|
var fsScandir = require_out2();
|
|
5363
5634
|
var common = require_common2();
|
|
@@ -5422,7 +5693,7 @@ var require_sync3 = __commonJS({
|
|
|
5422
5693
|
var require_sync4 = __commonJS({
|
|
5423
5694
|
"node_modules/.bun/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/sync.js"(exports) {
|
|
5424
5695
|
"use strict";
|
|
5425
|
-
|
|
5696
|
+
init_utils2();
|
|
5426
5697
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5427
5698
|
var sync_1 = require_sync3();
|
|
5428
5699
|
var SyncProvider = class {
|
|
@@ -5443,7 +5714,7 @@ var require_sync4 = __commonJS({
|
|
|
5443
5714
|
var require_settings3 = __commonJS({
|
|
5444
5715
|
"node_modules/.bun/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/settings.js"(exports) {
|
|
5445
5716
|
"use strict";
|
|
5446
|
-
|
|
5717
|
+
init_utils2();
|
|
5447
5718
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5448
5719
|
var path = __require("path");
|
|
5449
5720
|
var fsScandir = require_out2();
|
|
@@ -5476,7 +5747,7 @@ var require_settings3 = __commonJS({
|
|
|
5476
5747
|
var require_out3 = __commonJS({
|
|
5477
5748
|
"node_modules/.bun/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/index.js"(exports) {
|
|
5478
5749
|
"use strict";
|
|
5479
|
-
|
|
5750
|
+
init_utils2();
|
|
5480
5751
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5481
5752
|
exports.Settings = exports.walkStream = exports.walkSync = exports.walk = void 0;
|
|
5482
5753
|
var async_1 = require_async4();
|
|
@@ -5517,7 +5788,7 @@ var require_out3 = __commonJS({
|
|
|
5517
5788
|
var require_reader2 = __commonJS({
|
|
5518
5789
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/readers/reader.js"(exports) {
|
|
5519
5790
|
"use strict";
|
|
5520
|
-
|
|
5791
|
+
init_utils2();
|
|
5521
5792
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5522
5793
|
var path = __require("path");
|
|
5523
5794
|
var fsStat = require_out();
|
|
@@ -5557,7 +5828,7 @@ var require_reader2 = __commonJS({
|
|
|
5557
5828
|
var require_stream3 = __commonJS({
|
|
5558
5829
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/readers/stream.js"(exports) {
|
|
5559
5830
|
"use strict";
|
|
5560
|
-
|
|
5831
|
+
init_utils2();
|
|
5561
5832
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5562
5833
|
var stream_1 = __require("stream");
|
|
5563
5834
|
var fsStat = require_out();
|
|
@@ -5615,7 +5886,7 @@ var require_stream3 = __commonJS({
|
|
|
5615
5886
|
var require_async5 = __commonJS({
|
|
5616
5887
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/readers/async.js"(exports) {
|
|
5617
5888
|
"use strict";
|
|
5618
|
-
|
|
5889
|
+
init_utils2();
|
|
5619
5890
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5620
5891
|
var fsWalk = require_out3();
|
|
5621
5892
|
var reader_1 = require_reader2();
|
|
@@ -5655,7 +5926,7 @@ var require_async5 = __commonJS({
|
|
|
5655
5926
|
var require_matcher = __commonJS({
|
|
5656
5927
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/providers/matchers/matcher.js"(exports) {
|
|
5657
5928
|
"use strict";
|
|
5658
|
-
|
|
5929
|
+
init_utils2();
|
|
5659
5930
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5660
5931
|
var utils = require_utils3();
|
|
5661
5932
|
var Matcher = class {
|
|
@@ -5707,7 +5978,7 @@ var require_matcher = __commonJS({
|
|
|
5707
5978
|
var require_partial = __commonJS({
|
|
5708
5979
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/providers/matchers/partial.js"(exports) {
|
|
5709
5980
|
"use strict";
|
|
5710
|
-
|
|
5981
|
+
init_utils2();
|
|
5711
5982
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5712
5983
|
var matcher_1 = require_matcher();
|
|
5713
5984
|
var PartialMatcher = class extends matcher_1.default {
|
|
@@ -5745,7 +6016,7 @@ var require_partial = __commonJS({
|
|
|
5745
6016
|
var require_deep = __commonJS({
|
|
5746
6017
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/deep.js"(exports) {
|
|
5747
6018
|
"use strict";
|
|
5748
|
-
|
|
6019
|
+
init_utils2();
|
|
5749
6020
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5750
6021
|
var utils = require_utils3();
|
|
5751
6022
|
var partial_1 = require_partial();
|
|
@@ -5811,7 +6082,7 @@ var require_deep = __commonJS({
|
|
|
5811
6082
|
var require_entry = __commonJS({
|
|
5812
6083
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/entry.js"(exports) {
|
|
5813
6084
|
"use strict";
|
|
5814
|
-
|
|
6085
|
+
init_utils2();
|
|
5815
6086
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5816
6087
|
var utils = require_utils3();
|
|
5817
6088
|
var EntryFilter = class {
|
|
@@ -5900,7 +6171,7 @@ var require_entry = __commonJS({
|
|
|
5900
6171
|
var require_error = __commonJS({
|
|
5901
6172
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/error.js"(exports) {
|
|
5902
6173
|
"use strict";
|
|
5903
|
-
|
|
6174
|
+
init_utils2();
|
|
5904
6175
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5905
6176
|
var utils = require_utils3();
|
|
5906
6177
|
var ErrorFilter = class {
|
|
@@ -5922,7 +6193,7 @@ var require_error = __commonJS({
|
|
|
5922
6193
|
var require_entry2 = __commonJS({
|
|
5923
6194
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/providers/transformers/entry.js"(exports) {
|
|
5924
6195
|
"use strict";
|
|
5925
|
-
|
|
6196
|
+
init_utils2();
|
|
5926
6197
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5927
6198
|
var utils = require_utils3();
|
|
5928
6199
|
var EntryTransformer = class {
|
|
@@ -5955,7 +6226,7 @@ var require_entry2 = __commonJS({
|
|
|
5955
6226
|
var require_provider = __commonJS({
|
|
5956
6227
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/providers/provider.js"(exports) {
|
|
5957
6228
|
"use strict";
|
|
5958
|
-
|
|
6229
|
+
init_utils2();
|
|
5959
6230
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5960
6231
|
var path = __require("path");
|
|
5961
6232
|
var deep_1 = require_deep();
|
|
@@ -6010,7 +6281,7 @@ var require_provider = __commonJS({
|
|
|
6010
6281
|
var require_async6 = __commonJS({
|
|
6011
6282
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/providers/async.js"(exports) {
|
|
6012
6283
|
"use strict";
|
|
6013
|
-
|
|
6284
|
+
init_utils2();
|
|
6014
6285
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6015
6286
|
var async_1 = require_async5();
|
|
6016
6287
|
var provider_1 = require_provider();
|
|
@@ -6040,7 +6311,7 @@ var require_async6 = __commonJS({
|
|
|
6040
6311
|
var require_stream4 = __commonJS({
|
|
6041
6312
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/providers/stream.js"(exports) {
|
|
6042
6313
|
"use strict";
|
|
6043
|
-
|
|
6314
|
+
init_utils2();
|
|
6044
6315
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6045
6316
|
var stream_1 = __require("stream");
|
|
6046
6317
|
var stream_2 = require_stream3();
|
|
@@ -6075,7 +6346,7 @@ var require_stream4 = __commonJS({
|
|
|
6075
6346
|
var require_sync5 = __commonJS({
|
|
6076
6347
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/readers/sync.js"(exports) {
|
|
6077
6348
|
"use strict";
|
|
6078
|
-
|
|
6349
|
+
init_utils2();
|
|
6079
6350
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6080
6351
|
var fsStat = require_out();
|
|
6081
6352
|
var fsWalk = require_out3();
|
|
@@ -6124,7 +6395,7 @@ var require_sync5 = __commonJS({
|
|
|
6124
6395
|
var require_sync6 = __commonJS({
|
|
6125
6396
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/providers/sync.js"(exports) {
|
|
6126
6397
|
"use strict";
|
|
6127
|
-
|
|
6398
|
+
init_utils2();
|
|
6128
6399
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6129
6400
|
var sync_1 = require_sync5();
|
|
6130
6401
|
var provider_1 = require_provider();
|
|
@@ -6154,7 +6425,7 @@ var require_sync6 = __commonJS({
|
|
|
6154
6425
|
var require_settings4 = __commonJS({
|
|
6155
6426
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/settings.js"(exports) {
|
|
6156
6427
|
"use strict";
|
|
6157
|
-
|
|
6428
|
+
init_utils2();
|
|
6158
6429
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6159
6430
|
exports.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;
|
|
6160
6431
|
var fs2 = __require("fs");
|
|
@@ -6215,7 +6486,7 @@ var require_settings4 = __commonJS({
|
|
|
6215
6486
|
var require_out4 = __commonJS({
|
|
6216
6487
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/index.js"(exports, module) {
|
|
6217
6488
|
"use strict";
|
|
6218
|
-
|
|
6489
|
+
init_utils2();
|
|
6219
6490
|
var taskManager = require_tasks();
|
|
6220
6491
|
var async_1 = require_async6();
|
|
6221
6492
|
var stream_1 = require_stream4();
|
|
@@ -6334,7 +6605,7 @@ var I18N_PATHS, SCAN_PATTERNS, GLOB_OPTIONS;
|
|
|
6334
6605
|
var init_constants = __esm({
|
|
6335
6606
|
"packages/core/config/constants.js"() {
|
|
6336
6607
|
"use strict";
|
|
6337
|
-
|
|
6608
|
+
init_utils2();
|
|
6338
6609
|
I18N_PATHS = {
|
|
6339
6610
|
// Monorepo source structure (locales at root, not in src/)
|
|
6340
6611
|
SOURCE_ROOT: "packages/core/i18n",
|
|
@@ -6496,7 +6767,7 @@ var import_fast_glob, constants, log2, PACKAGE_PATHS, PathResolver;
|
|
|
6496
6767
|
var init_PathResolver = __esm({
|
|
6497
6768
|
"packages/core/config/utils/PathResolver.ts"() {
|
|
6498
6769
|
"use strict";
|
|
6499
|
-
|
|
6770
|
+
init_utils2();
|
|
6500
6771
|
import_fast_glob = __toESM(require_out4(), 1);
|
|
6501
6772
|
init_constants();
|
|
6502
6773
|
constants = {
|
|
@@ -7497,7 +7768,7 @@ var pathResolverInstance, normalizePath, pathExists, readSync, writeSync, ensure
|
|
|
7497
7768
|
var init_pathResolver = __esm({
|
|
7498
7769
|
"packages/tooling/src/utils/pathResolver.ts"() {
|
|
7499
7770
|
"use strict";
|
|
7500
|
-
|
|
7771
|
+
init_utils2();
|
|
7501
7772
|
init_PathResolver();
|
|
7502
7773
|
pathResolverInstance = PathResolver.getInstance({ debug: false });
|
|
7503
7774
|
normalizePath = (...pathSegments) => {
|
|
@@ -7524,7 +7795,7 @@ import { dirname as dirname3, resolve as resolve3 } from "node:path";
|
|
|
7524
7795
|
import process from "node:process";
|
|
7525
7796
|
import { fileURLToPath as fileURLToPath3 } from "node:url";
|
|
7526
7797
|
var require2, __filename, __dirname;
|
|
7527
|
-
var
|
|
7798
|
+
var init_utils2 = __esm({
|
|
7528
7799
|
"packages/tooling/src/bundler/utils.ts"() {
|
|
7529
7800
|
"use strict";
|
|
7530
7801
|
require2 = createRequire3(import.meta.url);
|
|
@@ -7544,16 +7815,16 @@ var init_utils = __esm({
|
|
|
7544
7815
|
});
|
|
7545
7816
|
|
|
7546
7817
|
// packages/cli/src/bin/commands/agent-setup.ts
|
|
7547
|
-
|
|
7818
|
+
init_utils2();
|
|
7548
7819
|
|
|
7549
7820
|
// packages/tooling/src/index.ts
|
|
7550
|
-
|
|
7821
|
+
init_utils2();
|
|
7551
7822
|
|
|
7552
7823
|
// packages/tooling/src/cli/index.ts
|
|
7553
|
-
|
|
7824
|
+
init_utils2();
|
|
7554
7825
|
|
|
7555
7826
|
// packages/tooling/src/cli/agent-setup.ts
|
|
7556
|
-
|
|
7827
|
+
init_utils2();
|
|
7557
7828
|
init_cli_output();
|
|
7558
7829
|
init_pathResolver();
|
|
7559
7830
|
var mcpConfig = {
|
|
@@ -7574,14 +7845,14 @@ function writeJsonConfig(filePath, data) {
|
|
|
7574
7845
|
writeSync(filePath, data, { overwrite: true });
|
|
7575
7846
|
}
|
|
7576
7847
|
async function main(options = {}) {
|
|
7577
|
-
|
|
7848
|
+
mt("DoNotDev Agent Setup");
|
|
7578
7849
|
const cwd = process.cwd();
|
|
7579
7850
|
const isWindows = process.platform === "win32";
|
|
7580
7851
|
const isMac = process.platform === "darwin";
|
|
7581
7852
|
const homeDir = process.env.HOME || process.env.USERPROFILE || "";
|
|
7582
7853
|
const mcpJsonPath = joinPath(cwd, ".mcp.json");
|
|
7583
7854
|
if (options.dryRun) {
|
|
7584
|
-
|
|
7855
|
+
wt(`[DRY RUN] Would write ${mcpJsonPath}`, "Claude Code");
|
|
7585
7856
|
} else {
|
|
7586
7857
|
try {
|
|
7587
7858
|
const config = readJsonConfig(mcpJsonPath, { mcpServers: {} });
|
|
@@ -7589,13 +7860,13 @@ async function main(options = {}) {
|
|
|
7589
7860
|
config.mcpServers.donotdev = mcpConfig;
|
|
7590
7861
|
writeJsonConfig(mcpJsonPath, config);
|
|
7591
7862
|
log.success(".mcp.json configured (Claude Code).");
|
|
7592
|
-
} catch (
|
|
7593
|
-
log.error(`Failed to configure .mcp.json: ${
|
|
7863
|
+
} catch (e) {
|
|
7864
|
+
log.error(`Failed to configure .mcp.json: ${e.message}`);
|
|
7594
7865
|
}
|
|
7595
7866
|
}
|
|
7596
7867
|
const cursorMcpPath = joinPath(cwd, ".cursor", "mcp.json");
|
|
7597
7868
|
if (options.dryRun) {
|
|
7598
|
-
|
|
7869
|
+
wt(`[DRY RUN] Would write ${cursorMcpPath}`, "Cursor");
|
|
7599
7870
|
} else {
|
|
7600
7871
|
try {
|
|
7601
7872
|
const config = readJsonConfig(cursorMcpPath, { mcpServers: {} });
|
|
@@ -7603,13 +7874,13 @@ async function main(options = {}) {
|
|
|
7603
7874
|
config.mcpServers.donotdev = mcpConfig;
|
|
7604
7875
|
writeJsonConfig(cursorMcpPath, config);
|
|
7605
7876
|
log.success(".cursor/mcp.json configured (Cursor).");
|
|
7606
|
-
} catch (
|
|
7607
|
-
log.error(`Failed to configure Cursor: ${
|
|
7877
|
+
} catch (e) {
|
|
7878
|
+
log.error(`Failed to configure Cursor: ${e.message}`);
|
|
7608
7879
|
}
|
|
7609
7880
|
}
|
|
7610
7881
|
const geminiConfigPath = joinPath(cwd, ".gemini", "settings.json");
|
|
7611
7882
|
if (options.dryRun) {
|
|
7612
|
-
|
|
7883
|
+
wt(`[DRY RUN] Would write ${geminiConfigPath}`, "Gemini");
|
|
7613
7884
|
} else {
|
|
7614
7885
|
try {
|
|
7615
7886
|
const config = readJsonConfig(geminiConfigPath, { mcpServers: {} });
|
|
@@ -7617,11 +7888,15 @@ async function main(options = {}) {
|
|
|
7617
7888
|
config.mcpServers.donotdev = { ...mcpConfig, trust: true };
|
|
7618
7889
|
writeJsonConfig(geminiConfigPath, config);
|
|
7619
7890
|
log.success(".gemini/settings.json configured (Gemini).");
|
|
7620
|
-
} catch (
|
|
7621
|
-
log.error(`Failed to configure Gemini: ${
|
|
7891
|
+
} catch (e) {
|
|
7892
|
+
log.error(`Failed to configure Gemini: ${e.message}`);
|
|
7622
7893
|
}
|
|
7623
7894
|
}
|
|
7624
|
-
const claudeConfigPath = isWindows ? joinPath(
|
|
7895
|
+
const claudeConfigPath = isWindows ? joinPath(
|
|
7896
|
+
process.env.APPDATA || "",
|
|
7897
|
+
"Claude",
|
|
7898
|
+
"claude_desktop_config.json"
|
|
7899
|
+
) : isMac ? joinPath(
|
|
7625
7900
|
homeDir,
|
|
7626
7901
|
"Library",
|
|
7627
7902
|
"Application Support",
|
|
@@ -7630,7 +7905,7 @@ async function main(options = {}) {
|
|
|
7630
7905
|
) : null;
|
|
7631
7906
|
if (claudeConfigPath) {
|
|
7632
7907
|
if (options.dryRun) {
|
|
7633
|
-
|
|
7908
|
+
wt(`[DRY RUN] Would update ${claudeConfigPath}`, "Claude Desktop");
|
|
7634
7909
|
} else {
|
|
7635
7910
|
try {
|
|
7636
7911
|
const config = readJsonConfig(claudeConfigPath, { mcpServers: {} });
|
|
@@ -7638,16 +7913,16 @@ async function main(options = {}) {
|
|
|
7638
7913
|
config.mcpServers.donotdev = mcpConfig;
|
|
7639
7914
|
writeJsonConfig(claudeConfigPath, config);
|
|
7640
7915
|
log.success("Claude Desktop configured (global).");
|
|
7641
|
-
} catch (
|
|
7642
|
-
log.error(`Failed to configure Claude Desktop: ${
|
|
7916
|
+
} catch (e) {
|
|
7917
|
+
log.error(`Failed to configure Claude Desktop: ${e.message}`);
|
|
7643
7918
|
}
|
|
7644
7919
|
}
|
|
7645
7920
|
}
|
|
7646
|
-
|
|
7647
|
-
'1. Restart your IDE (Cursor, VS Code, etc.)\n2. Tell your AI agent: "Read
|
|
7921
|
+
wt(
|
|
7922
|
+
'1. Restart your IDE (Cursor, VS Code, etc.)\n2. Tell your AI agent: "Read AGENTS.md and build my app"\n3. The agent handles the rest.',
|
|
7648
7923
|
"Next Steps"
|
|
7649
7924
|
);
|
|
7650
|
-
|
|
7925
|
+
gt("Agent setup complete.");
|
|
7651
7926
|
}
|
|
7652
7927
|
export {
|
|
7653
7928
|
main
|