File size: 1,182 Bytes
9d2d895
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/**
 * Unified intelligence service module.
 *
 * Re-exports from legacy service files that have complex client-side logic
 * (DEFCON calculation, circuit breakers, batch classification, GDELT DOC API).
 * Server-side edge functions are consolidated in the handler.
 */

// PizzINT dashboard + GDELT tensions
export {
  fetchPizzIntStatus,
  fetchGdeltTensions,
  getPizzIntStatus,
  getGdeltStatus,
} from '../pizzint';

// Risk scores (CII + strategic risk)
export {
  fetchCachedRiskScores,
  getCachedScores,
  hasCachedScores,
  toCountryScore,
} from '../cached-risk-scores';
export type { CachedCIIScore, CachedStrategicRisk, CachedRiskScores } from '../cached-risk-scores';

// Threat classification (keyword + AI)
export {
  classifyByKeyword,
  classifyWithAI,
  aggregateThreats,
  THREAT_PRIORITY,
} from '../threat-classifier';
export type { ThreatClassification, ThreatLevel, EventCategory } from '../threat-classifier';

// GDELT intelligence
export {
  fetchGdeltArticles,
  fetchTopicIntelligence,
  fetchAllTopicIntelligence,
  fetchHotspotContext,
  formatArticleDate,
  extractDomain,
} from '../gdelt-intel';
export type { GdeltArticle } from '../gdelt-intel';