UNPKG

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

4 lines 1.71 kB
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }/* 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 _chunk6UQYRNYTcjs = require('./chunk-6UQYRNYT.cjs');var _chunkFAD6MIW3cjs = require('./chunk-FAD6MIW3.cjs');var _chalk = require('chalk'); var _chalk2 = _interopRequireDefault(_chalk);async function y(p,a,e){let r=e.profile||_chunkFAD6MIW3cjs.d;e.verbose&&(console.log(_chalk2.default.dim(`\u{1F527} Using profile: ${r}`)),console.log(_chalk2.default.dim(`\u{1F4DD} Description: ${a}`)));let o=await _chunk6UQYRNYTcjs.b.call(void 0, r);if(!o.isValid)throw new Error(`Invalid profile: ${o.error}`);let s=await _chunk6UQYRNYTcjs.a.call(void 0, r);if(!s.isValid)throw new Error(`Invalid credentials: ${s.error}`);let t=await _chunk6UQYRNYTcjs.d.call(void 0, a,e);if(!e.dryRun){let v=await _chunk6UQYRNYTcjs.e.call(void 0, p,a,t,e);e.verbose&&console.log(_chalk2.default.dim(`\u{1F4BE} Session saved with ID: ${v}`))}await _chunk6UQYRNYTcjs.f.call(void 0, t,e.verbose||!1)}exports.a = y; /* 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-5T64K5AW.cjs.map