MCPcopy Create free account

hub / github.com/calesthio/Crucix / functions

Functions295 in github.com/calesthio/Crucix

↓ 1 callersMethodpruneAlertedSignals
* Prune stale alerted signals. * Signals with 1 occurrence: pruned after 24h. * Signals with 2+ occurrences: pruned after 48h from last alert.
lib/delta/memory.mjs:173
↓ 1 callersFunctionscrapeChannel
(channelId)
apis/sources/telegram.mjs:213
↓ 1 callersFunctionsearchAwards
(opts = {})
apis/sources/usaspending.mjs:19
↓ 1 callersFunctionsearchDomain
(domain, since)
apis/sources/patents.mjs:123
↓ 1 callersFunctionsearchEntities
(query, opts = {})
apis/sources/opensanctions.mjs:10
↓ 1 callersFunctionsearchEvents
(query = '', opts = {})
apis/sources/gdelt.mjs:11
↓ 1 callersFunctionsearchPatents
(query, opts = {})
apis/sources/patents.mjs:43
↓ 1 callersFunctionsearchPosts
(query, opts = {})
apis/sources/bluesky.mjs:13
↓ 1 callersFunctionsearchReports
(opts = {})
apis/sources/reliefweb.mjs:41
↓ 1 callersMethodsendActionableIdeas
* Post HIGH confidence, short-horizon ideas as actionable Kalshi-style alerts. * @param {Array} ideas — LLM-generated ideas from the sweep
lib/alerts/discord.mjs:438
↓ 1 callersMethodsendAlert
(message)
lib/alerts/telegram.mjs:118
↓ 1 callersFunctionstablePostKey
(post)
lib/delta/engine.mjs:90
↓ 1 callersFunctionstart
()
server.mjs:408
↓ 1 callersMethodstart
* Start the Discord bot. Connects to the gateway, registers slash commands, * and begins listening for interactions.
lib/alerts/discord.mjs:58
↓ 1 callersMethodstartPolling
* Start polling for incoming messages/commands. * Call this once during server startup. * @param {number} intervalMs - polling interval (default
lib/alerts/telegram.mjs:315
↓ 1 callersFunctionsummarizeAirHotspots
(hotspots = [])
dashboard/inject.mjs:109
↓ 1 callersFunctionsummarizeVulnerabilities
(vulns)
apis/sources/cisa-kev.mjs:10
Functionago
(hours)
apis/utils/fetch.mjs:30
Functionbriefing
()
apis/sources/yfinance.mjs:85
Functioncategorize
(posts, keywords)
apis/sources/bluesky.mjs:36
FunctioncheckReporterCommodities
(reporterCode, commodityCodes, period)
apis/sources/comtrade.mjs:70
FunctionclassifyAircraft
(ac)
apis/sources/adsb.mjs:106
FunctionclassifyFrequency
(rx)
apis/sources/kiwisdr.mjs:107
FunctioncompactArticle
(a)
apis/sources/gdelt.mjs:78
FunctioncompactBotMessage
(msg)
apis/sources/telegram.mjs:95
FunctioncompactEntity
(e)
apis/sources/opensanctions.mjs:39
FunctioncompactPatent
(p)
apis/sources/patents.mjs:112
FunctioncompactPost
(child)
apis/sources/reddit.mjs:65
FunctioncompactPost
(post)
apis/sources/bluesky.mjs:24
FunctioncompactReading
(r)
apis/sources/epa.mjs:85
FunctioncompactRecord
(rec)
apis/sources/comtrade.mjs:89
Methodcomplete
(systemPrompt, userMessage, opts = {})
lib/llm/anthropic.mjs:15
Methodcomplete
(systemPrompt, userMessage, opts = {})
lib/llm/minimax.mjs:16
Methodcomplete
* Complete a prompt with system + user messages * @returns {{ text: string, usage: { inputTokens: number, outputTokens: number }, model: string }}
lib/llm/provider.mjs:13
Methodcomplete
(systemPrompt, userMessage, opts = {})
lib/llm/mistral.mjs:16
Methodcomplete
(systemPrompt, userMessage, opts = {})
lib/llm/codex.mjs:58
Methodcomplete
(systemPrompt, userMessage, opts = {})
lib/llm/gemini.mjs:15
Methodcomplete
(systemPrompt, userMessage, opts = {})
lib/llm/openrouter.mjs:15
Methodcomplete
(systemPrompt, userMessage, opts = {})
lib/llm/openai.mjs:15
Methodcomplete
(systemPrompt, userMessage, opts = {})
lib/llm/ollama.mjs:17
Methodconstructor
({ botToken, channelId, guildId, webhookUrl })
lib/alerts/discord.mjs:35
Methodconstructor
({ botToken, chatId })
lib/alerts/telegram.mjs:34
Methodconstructor
(config)
lib/llm/anthropic.mjs:6
Methodconstructor
(config)
lib/llm/grok.mjs:6
Methodconstructor
(config)
lib/llm/minimax.mjs:7
Methodconstructor
(config)
lib/llm/provider.mjs:4
Methodconstructor
(config)
lib/llm/mistral.mjs:7
Methodconstructor
(config)
lib/llm/codex.mjs:14
Methodconstructor
(config)
lib/llm/gemini.mjs:6
Methodconstructor
(config)
lib/llm/openrouter.mjs:6
Methodconstructor
(config)
lib/llm/openai.mjs:6
Methodconstructor
(config)
lib/llm/ollama.mjs:8
Methodconstructor
(runsDir)
lib/delta/memory.mjs:15
MethodevaluateAndAlert
* Evaluate delta signals with LLM and send tiered alert if warranted. * Uses semantic dedup, rate limiting, and a much richer evaluation prompt.
lib/alerts/telegram.mjs:129
FunctiongenerateIdeas
(V2)
dashboard/inject.mjs:260
FunctiongetAircraftInArea
(lat, lon, radiusNm = 250, apiKey)
apis/sources/adsb.mjs:184
FunctiongetAllFlights
()
apis/sources/opensky.mjs:10
FunctiongetArrivals
(airportIcao, begin, end)
apis/sources/opensky.mjs:43
FunctiongetBilateralTrade
(reporter, partner, cmdCode, period)
apis/sources/comtrade.mjs:60
FunctiongetChat
(chatId)
apis/sources/telegram.mjs:89
FunctiongetConsolidatedMetadata
()
apis/sources/ofac.mjs:58
FunctiongetDailyStatement
(days = 7)
apis/sources/treasury.mjs:20
FunctiongetDataset
(name)
apis/sources/opensanctions.mjs:29
FunctiongetDepartures
(airportIcao, begin, end)
apis/sources/opensky.mjs:33
FunctiongetEntity
(entityId)
apis/sources/opensanctions.mjs:34
FunctiongetFlightsByIcao
(icao24List)
apis/sources/opensky.mjs:26
FunctiongetIndicator
(code, opts = {})
apis/sources/who.mjs:10
FunctiongetLLMPrompt
()
lib/i18n.mjs:103
FunctiongetResultsByState
(state, opts = {})
apis/sources/epa.mjs:61
MethodgetRunHistory
(n = 3)
lib/delta/memory.mjs:107
FunctiongetSeriesV1
(seriesId)
apis/sources/bls.mjs:20
FunctiongetWebSocketConfig
(apiKey)
apis/sources/ships.mjs:51
MethodisConfigured
()
lib/alerts/discord.mjs:48
MethodisConfigured
()
lib/alerts/telegram.mjs:46
MethodisConfigured
()
lib/llm/anthropic.mjs:13
MethodisConfigured
()
lib/llm/grok.mjs:13
MethodisConfigured
()
lib/llm/minimax.mjs:14
MethodisConfigured
()
lib/llm/provider.mjs:17
MethodisConfigured
()
lib/llm/mistral.mjs:14
MethodisConfigured
()
lib/llm/codex.mjs:21
MethodisConfigured
()
lib/llm/gemini.mjs:13
MethodisConfigured
()
lib/llm/openrouter.mjs:13
MethodisConfigured
()
lib/llm/openai.mjs:13
MethodisConfigured
()
lib/llm/ollama.mjs:15
FunctionisSupported
(lang)
lib/i18n.mjs:130
MethodonCommand
* Register command handlers that the bot can respond to. * @param {string} command - e.g. '/status' * @param {Function} handler - async (args, m
lib/alerts/telegram.mjs:306
FunctionpushUnique
dashboard/inject.mjs:244
FunctionsearchByAssignee
(orgName, opts = {})
apis/sources/patents.mjs:81
MethodsendAlert
(message)
lib/alerts/discord.mjs:285
Methodstop
* Stop the bot gracefully.
lib/alerts/discord.mjs:100
MethodstopPolling
* Stop polling for incoming messages.
lib/alerts/telegram.mjs:331
Functiont
(keyPath, params = {})
lib/i18n.mjs:75
Functiontoday
()
apis/utils/fetch.mjs:34
FunctiontoneTrend
(query, timespan = '7d')
apis/sources/gdelt.mjs:35
FunctionvolumeTrend
(query, timespan = '7d')
apis/sources/gdelt.mjs:46
← previous201–295 of 295, ranked by callers