v2.0.0
2.0.0 (2026-04-12)
- feat!: rewrite against HEC Smart API v1.50 with region auto-detection (8019ae5)
Bug Fixes
- align client with official Checkpoint sample - scopes are farm:customer pairs (b8eed0d)
- auto-probe all regions when JWT region has no valid scopes (d145ee7)
- inject scopes into requestData per HEC Smart API spec, clear error for empty scopes (aeab5b4)
Features
- rewrite against HEC Smart API v1.50 (b37e89b)
BREAKING CHANGES
- Complete API surface change. Replaces legacy Avanan
decision-tree tools with HEC Smart API v1.50 flat tool set.
New tools: hec_query_events, hec_get_event, hec_search_emails, hec_get_email,
hec_quarantine_events, hec_restore_events, hec_quarantine_emails,
hec_restore_emails, hec_get_task_status, hec_list_exceptions,
hec_add_exception, hec_update_exception, hec_delete_exception.
- Auth: POST /auth/external with clientId + accessKey
- Scopes: farm:customer pairs from /v1.0/scopes; injected into requestData
- Region: auto-detected from JWT; probes all regions if JWT claim is wrong
- Fixes 422/500 errors from wrong endpoint paths and scope field location
- Adds CHECKPOINT_REGION env var for explicit region override
- Adds .env.example with full variable documentation
- Fix: vitest --passWithNoTests to unblock CI when no test files exist