hs-code-classifier-mcp 1.0.17 → 1.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.0.18] - 2026-06-15
4
+ - feat: add hold_reason, retry_after, escalation_path to AMBIGUOUS (classify) and MISMATCH/OUTDATED (validate) responses
5
+
3
6
  ## [1.0.17] - 2026-06-15
4
7
  - fix: detect SmitheryBot user-agent and return mock response to prevent HSPing credit consumption during scanner runs
5
8
 
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,WAAW,CAAC;AAChC,eAAO,MAAM,eAAe,mDAAmD,CAAC;AAChF,eAAO,MAAM,sBAAsB,mDAAmD,CAAC;AACvF,eAAO,MAAM,eAAe,QAAQ,CAAC;AACrC,eAAO,MAAM,eAAe,uCAAuC,CAAC;AACpE,eAAO,MAAM,uBAAuB,KAAK,CAAC;AAC1C,eAAO,MAAM,2BAA2B,IAAI,CAAC;AAC7C,eAAO,MAAM,qBAAqB,KAAK,CAAC;AACxC,eAAO,MAAM,YAAY,kCAAkC,CAAC;AAC5D,eAAO,MAAM,mBAAmB,uBAAuB,CAAC;AAExD,eAAO,MAAM,gBAAgB,QAMc,CAAC;AAE5C,wBAAgB,MAAM,IAAI,MAAM,CAE/B"}
@@ -0,0 +1,20 @@
1
+ export const VERSION = '1.0.18';
2
+ export const PRO_UPGRADE_URL = 'https://buy.stripe.com/fZubJ06o58Dj3BG8Nyebu0v';
3
+ export const ENTERPRISE_UPGRADE_URL = 'https://buy.stripe.com/6oU3cu5k12eVegk3teebu0w';
4
+ export const CHARACTER_LIMIT = 25000;
5
+ export const HSPING_BASE_URL = 'https://api.hsping.com/api/v1/find';
6
+ export const FREE_TIER_MONTHLY_LIMIT = 10;
7
+ export const FREE_TIER_WARNING_THRESHOLD = 8;
8
+ export const TRIAL_EXTENSION_CALLS = 10;
9
+ export const PERSIST_FILE = '/tmp/hs_classifier_stats.json';
10
+ export const FREE_TIER_REDIS_KEY = 'hs:free_tier_usage';
11
+ export const LEGAL_DISCLAIMER = 'Results sourced directly from official government tariff schedules via HSPing API (api.hsping.com). ' +
12
+ 'HS code classification is subject to customs authority interpretation and may vary by jurisdiction. ' +
13
+ 'Results are for informational purposes only and do not constitute legal, compliance, or customs advice. ' +
14
+ 'We do not log or store your query content. ' +
15
+ 'Provider maximum liability is limited to subscription fees paid in the preceding 3 months. ' +
16
+ 'Full terms: kordagencies.com/terms.html';
17
+ export function nowISO() {
18
+ return new Date().toISOString();
19
+ }
20
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC;AAChC,MAAM,CAAC,MAAM,eAAe,GAAG,gDAAgD,CAAC;AAChF,MAAM,CAAC,MAAM,sBAAsB,GAAG,gDAAgD,CAAC;AACvF,MAAM,CAAC,MAAM,eAAe,GAAG,KAAK,CAAC;AACrC,MAAM,CAAC,MAAM,eAAe,GAAG,oCAAoC,CAAC;AACpE,MAAM,CAAC,MAAM,uBAAuB,GAAG,EAAE,CAAC;AAC1C,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC;AAC7C,MAAM,CAAC,MAAM,qBAAqB,GAAG,EAAE,CAAC;AACxC,MAAM,CAAC,MAAM,YAAY,GAAG,+BAA+B,CAAC;AAC5D,MAAM,CAAC,MAAM,mBAAmB,GAAG,oBAAoB,CAAC;AAExD,MAAM,CAAC,MAAM,gBAAgB,GAC3B,sGAAsG;IACtG,sGAAsG;IACtG,0GAA0G;IAC1G,6CAA6C;IAC7C,6FAA6F;IAC7F,yCAAyC,CAAC;AAE5C,MAAM,UAAU,MAAM;IACpB,OAAO,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;AAClC,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":""}