Crucix — agent with dashboard, delta engine, Telegram/Discord bots
This commit is contained in:
@@ -15,5 +15,30 @@ export default {
|
||||
telegram: {
|
||||
botToken: process.env.TELEGRAM_BOT_TOKEN || null,
|
||||
chatId: process.env.TELEGRAM_CHAT_ID || null,
|
||||
botPollingInterval: parseInt(process.env.TELEGRAM_POLL_INTERVAL) || 5000,
|
||||
channels: process.env.TELEGRAM_CHANNELS || null, // Comma-separated extra channel IDs
|
||||
},
|
||||
|
||||
discord: {
|
||||
botToken: process.env.DISCORD_BOT_TOKEN || null,
|
||||
channelId: process.env.DISCORD_CHANNEL_ID || null,
|
||||
guildId: process.env.DISCORD_GUILD_ID || null, // Server ID (for instant slash command registration)
|
||||
webhookUrl: process.env.DISCORD_WEBHOOK_URL || null, // Fallback: webhook-only alerts (no bot needed)
|
||||
},
|
||||
|
||||
// Delta engine thresholds — override defaults from lib/delta/engine.mjs
|
||||
// Set to null to use built-in defaults
|
||||
delta: {
|
||||
thresholds: {
|
||||
numeric: {
|
||||
// Example overrides (uncomment to customize):
|
||||
// vix: 3, // more sensitive to VIX moves
|
||||
// wti: 5, // less sensitive to oil moves
|
||||
},
|
||||
count: {
|
||||
// urgent_posts: 3, // need ±3 urgent posts to flag
|
||||
// thermal_total: 1000, // need ±1000 thermal detections
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user