UNPKG

scai

Version:

> **AI-powered CLI for local code analysis, commit message suggestions, and natural-language queries.** 100% local, private, GDPR-friendly, made in Denmark/EU with ❤️.

76 lines (75 loc) 5.79 kB
export const IGNORED_EXTENSIONS = [ // ─── Media Files ───────────────────────────────────────────── '.png', '.jpg', '.jpeg', '.gif', '.webp', '.svg', '.ico', '.mp4', '.mp3', '.mov', '.avi', '.mkv', '.flv', '.wav', '.flac', '.aac', '.m4a', '.wma', '.3gp', '.webm', '.ogg', '.aiff', '.au', // ─── Archive & Install Packages ───────────────────────────── '.zip', '.tar', '.gz', '.bz2', '.xz', '.rar', '.7z', '.jar', '.war', '.ear', '.deb', '.rpm', '.pkg', '.msi', '.dmg', '.cab', '.apk', '.tar.gz', '.tar.bz2', '.tar.xz', '.tar.lzma', '.tar.zst', // ─── Binaries & Executables ───────────────────────────────── '.exe', '.dll', '.bin', '.so', '.dylib', '.a', '.lib', '.iso', '.img', '.elf', '.o', '.obj', '.msm', '.cmd', '.bat', '.ps1', '.sh', '.bash', '.run', '.vbs', '.jscript', // ─── Build / Runtime Cache ───────────────────────────────── '.log', '.tmp', '.map', '.tsbuildinfo', '.coverage', '.eslintcache', '.db', '.sqlite', '.pkl', '.sav', '.rdb', '.ldb', '.pyc', '.class', '.yarn', '.webpack', '.babel', '.compilercache', // ─── Fonts & Stylesheets ─────────────────────────────────── '.woff', '.woff2', '.ttf', '.eot', '.otf', '.scss', '.sass', '.less', '.styl', '.css.map', // ─── Certificates & Keys ─────────────────────────────────── '.crt', '.key', '.pem', '.pub', '.asc', '.gpg', '.p12', '.csr', '.der', '.pfx', // ─── Backups & Temp Files ────────────────────────────────── '.bak', '.bakx', '.old', '.swp', '.swo', '.orig', '.~', '.db-shm', '.db-wal', '.log.old', '.log.1', '.log.2', '.log.3', '.xml.bck', '.wbk', '.asd', // ─── Editor / IDE Artifacts ──────────────────────────────── '.sublime-workspace', '.sublime-project', '.iml', '.ipr', '.iws', '.idea', '.code-workspace', '.vscode', '.ncb', '.suo', '.user', '.sdf', '.classlist', '.nb-gradle', '.gradle', // ─── System & OS Metadata ────────────────────────────────── '.DS_Store', '.ds_store', '.thumb', '.ini', '.sys', '.lnk', '.trash', '.trashes', '.localized', '.spotlight-v100', '.~lock', '.appledouble', // ─── GIS / Geospatial ────────────────────────────────────── '.shp', '.shx', '.dbf', '.prj', '.qix', '.sbn', '.sbx', '.shp.xml', '.cpg', '.gpkg', '.mif', '.mid', // ─── Business Intelligence / Reporting ───────────────────── '.pbix', '.rdl', '.rpt', '.bqy', '.iqy', // ─── ETL / DWH / Modeling ────────────────────────────────── '.abf', '.dtsx', '.bim', '.xmi', // ─── CAD / Engineering ───────────────────────────────────── '.dwg', '.dxf', '.step', '.stp', '.sldprt', '.sldasm', '.iges', '.igs', '.3ds', '.fbx', // ─── Forms / Print / Publishing ──────────────────────────── '.xps', '.afpub', '.pub', '.indd', '.qxd', '.frm', '.frx', '.frl', // ─── ERP / Finance / Legacy DB ───────────────────────────── '.mbd', '.fdb', '.nav', '.accdb', '.mdb', '.gdb', '.sap', '.sappkg', '.qbw', '.qbb', // ─── Lock Files (Exclude lock *data*, not lock *configs*) ── '.lck', '.lock', '.lockfile', '.db-lock', '.pid', '.sock', '.socket', // ─── Documentation & Readme ──────────────────────────────── '.md', '.rst', '.txt', // ─── Configuration Files ─────────────────────────────────── '.json', '.yaml', '.yml', '.xml', '.properties', // ─── Scientific & Data Serialization ─────────────────────── '.npy', '.npz', '.feather', '.parquet', '.orc', '.avro', '.hdf5', '.h5', '.rda', '.rds', '.csv.gz', '.dump', // ─── Misc Hashes & Metadata ──────────────────────────────── '.md5', '.sha1', '.sha256', '.xlsb', '.xar', ]; // ─── Knowledge Graph Ignored Extensions ───────────────────── export const KG_IGNORED_EXTENSIONS = [ // ─── Frequently ignored / useless for KG ───────────────── '.json', // ─── Executables / Binaries ─────────────────────────────── '.html', '.htm', '.xml', '.exe', '.dll', '.bin', '.iso', '.img', '.o', '.obj', '.so', '.dylib', '.a', '.lib', '.cmd', '.bat', '.ps1', '.sh', '.bash', '.run', '.vbs', '.jscript', // ─── Other meaningless files for KG ─────────────────────── '.msm', '.lock', '.lockfile', '.lck', '.db-lock', '.pid', '.sock', '.socket', ];