UNPKG

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.5 kB
/* 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. */ import{sql as t}from"drizzle-orm";import{integer as a,real as l,sqliteTable as o,text as e}from"drizzle-orm/sqlite-core";var s=o("chat_sessions",{id:e("id").primaryKey(),profile:e("profile").notNull(),title:e("title"),createdAt:e("created_at").notNull().default(t`datetime('now')`),updatedAt:e("updated_at").notNull().default(t`datetime('now')`),messageCount:a("message_count").notNull().default(0)}),i=o("chat_messages",{id:e("id").primaryKey(),sessionId:e("session_id").notNull().references(()=>s.id,{onDelete:"cascade"}),role:e("role",{enum:["user","assistant"]}).notNull(),content:e("content").notNull(),timestamp:e("timestamp").notNull().default(t`datetime('now')`),provider:e("provider").notNull(),model:e("model").notNull(),temperature:l("temperature"),maxTokens:a("max_tokens"),metadata:e("metadata")});export{i as chatMessages,s as chatSessions}; /* 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=index.js.map