UNPKG

@ansvar/singapore-law-mcp

Version:

Complete Singapore law database — 523 Acts, 28K+ provisions from Singapore Statutes Online (sso.agc.gov.sg) with full-text search, definitions, and citation support

18 lines 670 B
#!/usr/bin/env tsx /** * Singaporean Law MCP — Data Freshness Checker * * Checks whether the local database is stale or missing expected legislation. * * Detection strategy: * 1. Database age — flags if build_date > MAX_AGE days old * 2. Document count — compares DB rows against census.json expected count * 3. Source portal — verifies the official legal portal is reachable * * Exit codes: * 0 = database is fresh, no updates detected * 1 = updates detected (stale DB, missing documents, or new content upstream) * 2 = check failed (DB missing, portal unreachable, unexpected error) */ export {}; //# sourceMappingURL=check-updates.d.ts.map