rawi
Version:
Rawi (راوي) is the developer-friendly AI CLI that brings the power of 11 major AI providers directly to your terminal. With seamless shell integration, persistent conversations, and 200+ specialized prompt templates, Rawi transforms your command line into
5 lines • 1.54 kB
JavaScript
Object.defineProperty(exports, "__esModule", {value: true});/* Rawi (راوي) is the developer-friendly AI CLI that brings the power of 11 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 _chunkIUCUN6N2cjs = require('./chunk-IUCUN6N2.cjs');function m(e={}){let t=e.filter||new (0, _chunkIUCUN6N2cjs.f)(e.filterOptions,!e.filterOptions);return function(a){return async function(d,f){let r=t.filterContent(f),p=r.filteredText;if(e.logStats&&Object.keys(r.filterCount).length>0){let n=Object.values(r.filterCount).reduce((i,o)=>i+o,0);console.log("\u{1F4CA} Filtered sensitive information from prompt:"),console.log(`Total filtered items: ${n}`),console.log(`
Breakdown by type:`);for(let[i,o]of Object.entries(r.filterCount)){let c=Math.round(o/n*100);console.log(` ${i.padEnd(15)}: ${o} (${c}%)`)}}let l=await a(d,p);return{...l,textStream:(async function*(){for await(let n of l.textStream)yield t.filterContent(n).filteredText})()}}}}function C(e,t={}){return m(t)(e)}exports.a = m; exports.b = C;
/* Rawi (راوي) is the developer-friendly AI CLI that brings the power of 11 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-I2DWEYYV.cjs.map
;