Update source code and remove runtime data from tracking
Add gitignore rules for browser session data, SQLite databases, media downloads, and build artifacts. Remove previously tracked runtime files from the repository. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
e90213d1ff
commit
dfa0580859
23 files changed
+5324
-347
No files matched your search
@@ -12,12 +12,53 @@ export const ConfigSchema = z.object({
|
||||
pollIntervalMs: z.number().default(120000),
|
||||
userAgent: z.string().default('RedditBot/1.0'),
|
||||
targetGenders: z.array(z.enum(['male', 'female', 'other', 'unknown'])).default(['female']),
|
||||
filterSellers: z.boolean().default(true),
|
||||
sellerKeywords: z
|
||||
.array(z.string())
|
||||
.default([
|
||||
'onlyfans',
|
||||
'only fans',
|
||||
'fansly',
|
||||
'manyvids',
|
||||
'linktree',
|
||||
'linktr.ee',
|
||||
'allmylinks',
|
||||
'beacons.ai',
|
||||
'cash.app',
|
||||
'cashapp',
|
||||
'venmo',
|
||||
'paypal',
|
||||
'subscribe',
|
||||
'premium snap',
|
||||
'premiumsnap',
|
||||
'fan.ly',
|
||||
'fanvue',
|
||||
'loyalfans',
|
||||
'pornhub.com',
|
||||
'xvideos.com',
|
||||
'chaturbate',
|
||||
'myfreecams',
|
||||
'cam girl',
|
||||
'camgirl',
|
||||
'buy my',
|
||||
'custom content',
|
||||
'custom vid',
|
||||
'selling content',
|
||||
'paid content',
|
||||
'tip me',
|
||||
'spoil me',
|
||||
'findom',
|
||||
'send tribute',
|
||||
'wishlist',
|
||||
'throne.com',
|
||||
]),
|
||||
username: z.string().optional(),
|
||||
password: z.string().optional(),
|
||||
}),
|
||||
openrouter: z.object({
|
||||
apiKey: z.string(),
|
||||
imageAnalysisModel: z.string().default('google/gemini-3-flash-preview'),
|
||||
imageAnalysisFallbackModels: z.array(z.string()).default([]),
|
||||
chatModel: z.string().default('google/gemini-3-flash-preview'),
|
||||
imageAnalysisPrompt: z.string(),
|
||||
messageGenerationPrompt: z.string(),
|
||||
@@ -35,6 +76,32 @@ export const ConfigSchema = z.object({
|
||||
database: z.object({
|
||||
path: z.string().default('./data/reddit-bot.db'),
|
||||
}),
|
||||
media: z.object({
|
||||
syncIntervalMs: z.number().default(1800000), // 30 minutes
|
||||
syncEnabled: z.boolean().default(true),
|
||||
}).default({ syncIntervalMs: 1800000, syncEnabled: true }),
|
||||
autoReply: z.object({
|
||||
enabled: z.boolean().default(false),
|
||||
autoSend: z.boolean().default(false), // If true, send replies automatically. If false, require manual approval
|
||||
checkIntervalMs: z.number().default(300000), // 5 minutes
|
||||
upsellKeywords: z.array(z.string()).default([
|
||||
'onlyfans', 'only fans', 'fansly', 'manyvids', 'linktree', 'linktr.ee',
|
||||
'subscribe', 'premium', 'paid content', 'custom content', 'custom vid',
|
||||
'cashapp', 'cash app', 'venmo', 'paypal', 'tip me', 'spoil me',
|
||||
'wishlist', 'throne.com', 'link in bio', 'check my profile',
|
||||
'fanvue', 'loyalfans', 'cam show', 'buy my', 'selling',
|
||||
'dm me for price', 'menu', 'rates', 'ppv',
|
||||
]),
|
||||
}).default({ enabled: false, autoSend: false, checkIntervalMs: 300000, upsellKeywords: [] }),
|
||||
strategies: z.object({
|
||||
explorationRate: z.number().min(0).max(1).default(0.2),
|
||||
minSamples: z.number().default(5),
|
||||
variants: z.array(z.object({
|
||||
id: z.string(),
|
||||
weight: z.number().default(1),
|
||||
promptOverride: z.string(),
|
||||
})).default([]),
|
||||
}).default({ explorationRate: 0.2, minSamples: 5, variants: [] }),
|
||||
web: z.object({
|
||||
enabled: z.boolean().default(true),
|
||||
port: z.number().default(3000),
|
||||
|
||||
Reference in new issue
Block a user