#!/usr/bin/env node
import*as a from'fs';import*as c from'path';import {Glob}from'glob';function n(t){let e=r=>{if(r.includes("*"))try{return new Glob(r,{cwd:t,nodir:!0}).walkSync().length>0}catch{return  false}return a.existsSync(c.join(t,r))};return e("project.godot")||e("Assets/ProjectSettings")?"game":e("Package.swift")&&!e("package.json")?e("Sources/*/App")||e("**/AppDelegate.swift")?"macos-app":"ios-app":e("pubspec.yaml")?"flutter-app":e("supabase")&&(e("next.config.*")||e("vite.config.*"))?"saas-web-app":e("next.config.*")||e("vite.config.*")||e("nuxt.config.*")?"web-app":e("Dockerfile")||e("prisma")||e("drizzle.config.*")?"backend-api":e("Cargo.toml")?"rust-project":e("pyproject.toml")||e("setup.py")||e("requirements.txt")?"python-project":"generic"}var s={"saas-web-app":["advocate","architect","builder","compliance","reviewer","tester","security","documentor","designer","copywriter","performance","devops","dba","e2e","dx","seo","pm","product","sales","legal","a11y","qa","debugger","release","narrator","analyst"],"web-app":["advocate","architect","builder","compliance","reviewer","tester","security","documentor","designer","copywriter","performance","devops","e2e","seo","a11y","qa","debugger"],"backend-api":["advocate","architect","builder","compliance","reviewer","tester","security","documentor","devops","dba","performance","dx","qa","debugger","release","analyst"],"ios-app":["advocate","architect","builder","compliance","reviewer","tester","security","documentor","designer","mobile","performance","a11y","qa","debugger"],"macos-app":["advocate","architect","builder","compliance","reviewer","tester","security","documentor","designer","performance","qa","debugger"],"flutter-app":["advocate","architect","builder","compliance","reviewer","tester","security","documentor","designer","mobile","performance","a11y","debugger"],game:["advocate","architect","builder","compliance","reviewer","tester","documentor","gamedev","3d","audio","designer","performance","debugger"],"rust-project":["advocate","architect","builder","compliance","reviewer","tester","security","documentor","performance","debugger","qa"],"python-project":["advocate","architect","builder","compliance","reviewer","tester","security","documentor","performance","debugger","qa","analyst"],generic:["advocate","architect","builder","compliance","reviewer","tester","security","documentor","debugger","qa"]};export{n as a,s as b};