rawi
Version:
Rawi (راوي) is the developer-friendly AI CLI that brings the power of 12 major AI providers directly to your terminal. With seamless shell integration, persistent conversations, and 200+ specialized prompt templates, Rawi transforms your command line into
4 lines • 1.85 kB
JavaScript
/* Rawi (راوي) is the developer-friendly AI CLI that brings the power of 12 major AI providers directly to your terminal. With seamless shell integration, persistent conversations, and 200+ specialized prompt templates, Rawi transforms your command line into an intelligent development workspace. */
var x=(a=>(a.PDF="pdf",a.DOCX="docx",a.PPTX="pptx",a.XLSX="xlsx",a.ODT="odt",a.ODP="odp",a.ODS="ods",a.TXT="txt",a.MD="md",a.XML="xml",a.HTML="html",a.HTM="htm",a.JS="js",a.JSX="jsx",a.TS="ts",a.TSX="tsx",a.CSS="css",a.JSON="json",a.PY="py",a.JAVA="java",a.CPP="cpp",a.C="c",a.H="h",a.GO="go",a.RS="rs",a.RB="rb",a.KT="kt",a.SWIFT="swift",a.DART="dart",a.SCALA="scala",a.R="r",a.M="m",a.PL="pl",a.LUA="lua",a.PHP="php",a.YML="yml",a.YAML="yaml",a.TOML="toml",a.ENV="env",a.INI="ini",a.CONF="conf",a.CFG="cfg",a.SQL="sql",a.SH="sh",a.BASH="bash",a.VIM="vim",a.DOCKERFILE="dockerfile",a.MAKEFILE="makefile",a.GITIGNORE="gitignore",a.LOG="log",a.UNKNOWN="unknown",a))(x||{}),s=class{options;constructor(n={}){this.options={maxFileSize:50*1024*1024,encoding:"utf-8",verbose:!1,...n}}createMetadata(n,t,c,m,i,g){return{fileName:n.split("/").pop()||"",filePath:n,fileSize:t,fileType:c,mimeType:i,extractedAt:new Date,processingTime:m,additionalInfo:g}}validateFileSize(n){if(n>(this.options.maxFileSize||50*1024*1024))throw new Error(`File size (${Math.round(n/1024/1024)}MB) exceeds maximum allowed size (${Math.round((this.options.maxFileSize||50*1024*1024)/1024/1024)}MB)`)}};export{x as a,s as b};
/* Rawi (راوي) is the developer-friendly AI CLI that brings the power of 12 major AI providers directly to your terminal. With seamless shell integration, persistent conversations, and 200+ specialized prompt templates, Rawi transforms your command line into an intelligent development workspace. */
//# sourceMappingURL=chunk-LSO6QN77.js.map