@mailwoman/core 9.4.0 → 10.0.0

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.
Files changed (391) hide show
  1. package/lib/coarse-placer/tools/{build-dataset.ts → build/dataset.ts} +2 -1
  2. package/lib/coarse-placer/tools/{build-outlier-latin.ts → build/outlier/latin.ts} +4 -3
  3. package/lib/coarse-placer/tools/{eval-openset.ts → eval/openset.ts} +11 -7
  4. package/lib/coarse-placer/tools/{eval-quant-compare.ts → eval/quant-compare.ts} +2 -1
  5. package/lib/coarse-placer/tools/eval.ts +2 -2
  6. package/lib/coarse-placer/tools/index.ts +7 -7
  7. package/lib/coarse-placer/tools/train.ts +4 -6
  8. package/lib/decoder/build-tree.ts +2 -1
  9. package/lib/decoder/containment.ts +2 -1
  10. package/lib/decoder/index.ts +5 -5
  11. package/lib/decoder/parse-diff.ts +1 -1
  12. package/lib/decoder/proposals-to-tree.ts +3 -1
  13. package/lib/decoder/{serialize-json.ts → serialize/json.ts} +3 -2
  14. package/lib/decoder/{serialize-tuples.ts → serialize/tuples.ts} +2 -1
  15. package/lib/decoder/{tree-shape.ts → tree/shape.ts} +4 -3
  16. package/lib/decoder/types.ts +1 -3
  17. package/lib/decoder/unknown-spans.ts +1 -1
  18. package/lib/decoder/validate-tree.ts +2 -1
  19. package/lib/fs/readers/stat.ts +244 -0
  20. package/lib/fs/readers.ts +27 -271
  21. package/lib/fs/streams.ts +58 -0
  22. package/lib/fs/writers.ts +5 -5
  23. package/lib/fs/zip.ts +64 -8
  24. package/lib/license/configured.ts +2 -2
  25. package/lib/license/index.ts +2 -2
  26. package/lib/license/obligations.ts +1 -1
  27. package/lib/license/stamp.ts +1 -1
  28. package/lib/locale/locale.ts +2 -1
  29. package/lib/locale/registry.ts +2 -1
  30. package/lib/overture-pins.ts +24 -0
  31. package/lib/pipeline/preferences.ts +13 -0
  32. package/lib/pipeline/result.ts +84 -0
  33. package/lib/pipeline/runtime-pipeline.ts +9 -15
  34. package/lib/pipeline/types.ts +3 -73
  35. package/lib/policy/defaults.ts +2 -1
  36. package/lib/policy/policy.ts +3 -1
  37. package/lib/policy/registry.ts +3 -1
  38. package/lib/process.ts +3 -1
  39. package/lib/resolver/authoritative-provider.ts +1 -1
  40. package/lib/resolver/index.ts +1 -9
  41. package/lib/resolver/synthetic-id-ranges.ts +83 -0
  42. package/lib/resolver/types.ts +2 -10
  43. package/lib/resources/whosonfirst/placetypes/Placetype.ts +7 -6
  44. package/lib/scripting/arguments.ts +34 -0
  45. package/lib/scripting/utils/index.ts +1 -1
  46. package/lib/strings/case.ts +13 -2
  47. package/lib/tokenization/Graph.ts +3 -4
  48. package/lib/tools/{download-libpostal-resources.ts → download/libpostal-resources.ts} +3 -2
  49. package/lib/tools/generate-language-types.ts +3 -4
  50. package/lib/tools/index.ts +2 -2
  51. package/lib/types/classifier.ts +2 -1
  52. package/lib/types/index.ts +0 -1
  53. package/lib/types/mapping.ts +2 -1
  54. package/lib/workspaces.ts +9 -2
  55. package/out/api/APIClient.d.ts.map +1 -1
  56. package/out/api/arcgis.d.ts.map +1 -1
  57. package/out/api/defaults.d.ts.map +1 -1
  58. package/out/api/headless.d.ts.map +1 -1
  59. package/out/api/ogc.d.ts.map +1 -1
  60. package/out/api/paced-client.js.map +1 -1
  61. package/out/api/pacer.d.ts.map +1 -1
  62. package/out/api/pacer.js.map +1 -1
  63. package/out/api/responses.d.ts.map +1 -1
  64. package/out/api/{test-clocks.d.ts → test/clocks.d.ts} +1 -1
  65. package/out/api/test/clocks.d.ts.map +1 -0
  66. package/out/api/{test-clocks.js → test/clocks.js} +1 -1
  67. package/out/api/test/clocks.js.map +1 -0
  68. package/out/api/{test-transport.d.ts → test/transport.d.ts} +1 -1
  69. package/out/api/test/transport.d.ts.map +1 -0
  70. package/out/api/{test-transport.js → test/transport.js} +1 -1
  71. package/out/api/test/transport.js.map +1 -0
  72. package/out/coarse-placer/coarse-placer.d.ts.map +1 -1
  73. package/out/coarse-placer/coarse-placer.js.map +1 -1
  74. package/out/coarse-placer/featurize.d.ts.map +1 -1
  75. package/out/coarse-placer/tools/{build-dataset.d.ts → build/dataset.d.ts} +1 -1
  76. package/out/coarse-placer/tools/build/dataset.d.ts.map +1 -0
  77. package/out/coarse-placer/tools/{build-dataset.js → build/dataset.js} +3 -2
  78. package/out/coarse-placer/tools/build/dataset.js.map +1 -0
  79. package/out/coarse-placer/tools/{build-outlier-exposure.d.ts → build/outlier/exposure.d.ts} +1 -1
  80. package/out/coarse-placer/tools/build/outlier/exposure.d.ts.map +1 -0
  81. package/out/coarse-placer/tools/{build-outlier-exposure.js → build/outlier/exposure.js} +1 -1
  82. package/out/coarse-placer/tools/build/outlier/exposure.js.map +1 -0
  83. package/out/coarse-placer/tools/{build-outlier-latin.d.ts → build/outlier/latin.d.ts} +3 -3
  84. package/out/coarse-placer/tools/build/outlier/latin.d.ts.map +1 -0
  85. package/out/coarse-placer/tools/{build-outlier-latin.js → build/outlier/latin.js} +4 -3
  86. package/out/coarse-placer/tools/build/outlier/latin.js.map +1 -0
  87. package/out/coarse-placer/tools/{build-outlier-oa.d.ts → build/outlier/oa.d.ts} +1 -1
  88. package/out/coarse-placer/tools/build/outlier/oa.d.ts.map +1 -0
  89. package/out/coarse-placer/tools/{build-outlier-oa.js → build/outlier/oa.js} +1 -1
  90. package/out/coarse-placer/tools/build/outlier/oa.js.map +1 -0
  91. package/out/coarse-placer/tools/country-sets.d.ts.map +1 -1
  92. package/out/coarse-placer/tools/{eval-latin-offmap.d.ts → eval/latin-offmap.d.ts} +1 -1
  93. package/out/coarse-placer/tools/eval/latin-offmap.d.ts.map +1 -0
  94. package/out/coarse-placer/tools/{eval-latin-offmap.js → eval/latin-offmap.js} +1 -1
  95. package/out/coarse-placer/tools/eval/latin-offmap.js.map +1 -0
  96. package/out/coarse-placer/tools/{eval-openset.d.ts → eval/openset.d.ts} +1 -1
  97. package/out/coarse-placer/tools/eval/openset.d.ts.map +1 -0
  98. package/out/coarse-placer/tools/{eval-openset.js → eval/openset.js} +10 -7
  99. package/out/coarse-placer/tools/eval/openset.js.map +1 -0
  100. package/out/coarse-placer/tools/{eval-quant-compare.d.ts → eval/quant-compare.d.ts} +1 -1
  101. package/out/coarse-placer/tools/eval/quant-compare.d.ts.map +1 -0
  102. package/out/coarse-placer/tools/{eval-quant-compare.js → eval/quant-compare.js} +2 -2
  103. package/out/coarse-placer/tools/eval/quant-compare.js.map +1 -0
  104. package/out/coarse-placer/tools/eval.js +2 -2
  105. package/out/coarse-placer/tools/eval.js.map +1 -1
  106. package/out/coarse-placer/tools/index.d.ts +7 -7
  107. package/out/coarse-placer/tools/index.js +7 -7
  108. package/out/coarse-placer/tools/probe-frontier.js.map +1 -1
  109. package/out/coarse-placer/tools/quantize.js.map +1 -1
  110. package/out/coarse-placer/tools/train.d.ts.map +1 -1
  111. package/out/coarse-placer/tools/train.js +2 -3
  112. package/out/coarse-placer/tools/train.js.map +1 -1
  113. package/out/data-root.js.map +1 -1
  114. package/out/decoder/build-tree.d.ts.map +1 -1
  115. package/out/decoder/build-tree.js.map +1 -1
  116. package/out/decoder/containment.d.ts +2 -2
  117. package/out/decoder/containment.d.ts.map +1 -1
  118. package/out/decoder/containment.js.map +1 -1
  119. package/out/decoder/index.d.ts +5 -5
  120. package/out/decoder/index.js +5 -5
  121. package/out/decoder/parse-diff.js +1 -1
  122. package/out/decoder/parse-diff.js.map +1 -1
  123. package/out/decoder/proposals-to-tree.d.ts +2 -1
  124. package/out/decoder/proposals-to-tree.d.ts.map +1 -1
  125. package/out/decoder/proposals-to-tree.js.map +1 -1
  126. package/out/decoder/{serialize-json.d.ts → serialize/json.d.ts} +2 -2
  127. package/out/decoder/serialize/json.d.ts.map +1 -0
  128. package/out/decoder/{serialize-json.js → serialize/json.js} +2 -2
  129. package/out/decoder/serialize/json.js.map +1 -0
  130. package/out/decoder/{serialize-tuples.d.ts → serialize/tuples.d.ts} +2 -2
  131. package/out/decoder/serialize/tuples.d.ts.map +1 -0
  132. package/out/decoder/{serialize-tuples.js → serialize/tuples.js} +1 -1
  133. package/out/decoder/serialize/tuples.js.map +1 -0
  134. package/out/decoder/{serialize-xml.d.ts → serialize/xml.d.ts} +1 -1
  135. package/out/decoder/serialize/xml.d.ts.map +1 -0
  136. package/out/decoder/{serialize-xml.js → serialize/xml.js} +1 -1
  137. package/out/decoder/serialize/xml.js.map +1 -0
  138. package/out/decoder/{tree-shape.d.ts → tree/shape.d.ts} +2 -2
  139. package/out/decoder/tree/shape.d.ts.map +1 -0
  140. package/out/decoder/{tree-shape.js → tree/shape.js} +3 -3
  141. package/out/decoder/tree/shape.js.map +1 -0
  142. package/out/decoder/{tree-walk.d.ts → tree/walk.d.ts} +1 -1
  143. package/out/decoder/tree/walk.d.ts.map +1 -0
  144. package/out/decoder/{tree-walk.js → tree/walk.js} +1 -1
  145. package/out/decoder/tree/walk.js.map +1 -0
  146. package/out/decoder/types.d.ts +1 -2
  147. package/out/decoder/types.d.ts.map +1 -1
  148. package/out/decoder/types.js +1 -1
  149. package/out/decoder/types.js.map +1 -1
  150. package/out/decoder/unknown-spans.js +1 -1
  151. package/out/decoder/validate-tree.d.ts +1 -1
  152. package/out/decoder/validate-tree.d.ts.map +1 -1
  153. package/out/decoder/validate-tree.js.map +1 -1
  154. package/out/env/index.d.ts +1 -1
  155. package/out/env/schema.d.ts +4 -4
  156. package/out/errors/schema.d.ts.map +1 -1
  157. package/out/errors/schema.js.map +1 -1
  158. package/out/fs/formatters.d.ts.map +1 -1
  159. package/out/fs/formatters.js.map +1 -1
  160. package/out/fs/readers/stat.d.ts +126 -0
  161. package/out/fs/readers/stat.d.ts.map +1 -0
  162. package/out/fs/readers/stat.js +202 -0
  163. package/out/fs/readers/stat.js.map +1 -0
  164. package/out/fs/readers.d.ts +11 -150
  165. package/out/fs/readers.d.ts.map +1 -1
  166. package/out/fs/readers.js +22 -225
  167. package/out/fs/readers.js.map +1 -1
  168. package/out/fs/streams.d.ts +33 -0
  169. package/out/fs/streams.d.ts.map +1 -1
  170. package/out/fs/streams.js +49 -0
  171. package/out/fs/streams.js.map +1 -1
  172. package/out/fs/writers.d.ts +5 -5
  173. package/out/fs/writers.js +5 -5
  174. package/out/fs/zip.d.ts +21 -2
  175. package/out/fs/zip.d.ts.map +1 -1
  176. package/out/fs/zip.js +36 -8
  177. package/out/fs/zip.js.map +1 -1
  178. package/out/git.js.map +1 -1
  179. package/out/html/document.js.map +1 -1
  180. package/out/json.d.ts.map +1 -1
  181. package/out/layers/coverage.js.map +1 -1
  182. package/out/layers/schema.d.ts.map +1 -1
  183. package/out/license/configured.d.ts +1 -1
  184. package/out/license/configured.d.ts.map +1 -1
  185. package/out/license/configured.js +2 -2
  186. package/out/license/configured.js.map +1 -1
  187. package/out/license/docs-site.js.map +1 -1
  188. package/out/license/index.d.ts +2 -2
  189. package/out/license/index.d.ts.map +1 -1
  190. package/out/license/index.js +2 -2
  191. package/out/license/index.js.map +1 -1
  192. package/out/license/{key-file.d.ts → key/file.d.ts} +1 -1
  193. package/out/license/key/file.d.ts.map +1 -0
  194. package/out/license/{key-file.js → key/file.js} +1 -1
  195. package/out/license/key/file.js.map +1 -0
  196. package/out/license/{key.d.ts → key/index.d.ts} +1 -1
  197. package/out/license/key/index.d.ts.map +1 -0
  198. package/out/license/{key.js → key/index.js} +1 -1
  199. package/out/license/key/index.js.map +1 -0
  200. package/out/license/obligations.d.ts +1 -1
  201. package/out/license/obligations.d.ts.map +1 -1
  202. package/out/license/publication.js.map +1 -1
  203. package/out/license/register.d.ts.map +1 -1
  204. package/out/license/stamp.d.ts +1 -1
  205. package/out/license/stamp.d.ts.map +1 -1
  206. package/out/license/status.js.map +1 -1
  207. package/out/locale/locale.d.ts +1 -1
  208. package/out/locale/locale.d.ts.map +1 -1
  209. package/out/locale/registry.d.ts.map +1 -1
  210. package/out/locale/registry.js +1 -1
  211. package/out/locale/registry.js.map +1 -1
  212. package/out/locale/zh-cn-units.d.ts.map +1 -1
  213. package/out/logging/shared.d.ts.map +1 -1
  214. package/out/module/resolvers.js.map +1 -1
  215. package/out/objects.js.map +1 -1
  216. package/out/overture-pins.d.ts +24 -0
  217. package/out/overture-pins.d.ts.map +1 -0
  218. package/out/overture-pins.js +24 -0
  219. package/out/overture-pins.js.map +1 -0
  220. package/out/paths.js.map +1 -1
  221. package/out/pipeline/preferences.d.ts +13 -0
  222. package/out/pipeline/preferences.d.ts.map +1 -0
  223. package/out/pipeline/preferences.js +7 -0
  224. package/out/pipeline/preferences.js.map +1 -0
  225. package/out/pipeline/result.d.ts +72 -0
  226. package/out/pipeline/result.d.ts.map +1 -0
  227. package/out/pipeline/result.js +7 -0
  228. package/out/pipeline/result.js.map +1 -0
  229. package/out/pipeline/runtime-pipeline.d.ts.map +1 -1
  230. package/out/pipeline/runtime-pipeline.js +7 -13
  231. package/out/pipeline/runtime-pipeline.js.map +1 -1
  232. package/out/pipeline/span-proposer.js.map +1 -1
  233. package/out/pipeline/types.d.ts +3 -71
  234. package/out/pipeline/types.d.ts.map +1 -1
  235. package/out/pipeline/types.js +2 -0
  236. package/out/pipeline/types.js.map +1 -1
  237. package/out/policy/defaults.d.ts +1 -1
  238. package/out/policy/defaults.d.ts.map +1 -1
  239. package/out/policy/defaults.js +1 -1
  240. package/out/policy/defaults.js.map +1 -1
  241. package/out/policy/policy.d.ts +2 -1
  242. package/out/policy/policy.d.ts.map +1 -1
  243. package/out/policy/proposal-collection.js.map +1 -1
  244. package/out/policy/registry.d.ts +2 -1
  245. package/out/policy/registry.d.ts.map +1 -1
  246. package/out/policy/registry.js.map +1 -1
  247. package/out/process.d.ts +2 -2
  248. package/out/process.d.ts.map +1 -1
  249. package/out/process.js.map +1 -1
  250. package/out/random.d.ts.map +1 -1
  251. package/out/release-config.js.map +1 -1
  252. package/out/resolver/authoritative-provider.d.ts +1 -1
  253. package/out/resolver/authoritative-provider.d.ts.map +1 -1
  254. package/out/resolver/fixture-authoritative-provider.js.map +1 -1
  255. package/out/resolver/index.d.ts +2 -2
  256. package/out/resolver/index.d.ts.map +1 -1
  257. package/out/resolver/index.js +1 -1
  258. package/out/resolver/index.js.map +1 -1
  259. package/out/resolver/synthetic-id-ranges.d.ts +66 -0
  260. package/out/resolver/synthetic-id-ranges.d.ts.map +1 -0
  261. package/out/resolver/synthetic-id-ranges.js +73 -0
  262. package/out/resolver/synthetic-id-ranges.js.map +1 -0
  263. package/out/resolver/types.d.ts +1 -2
  264. package/out/resolver/types.d.ts.map +1 -1
  265. package/out/resolver/types.js +0 -1
  266. package/out/resolver/types.js.map +1 -1
  267. package/out/resources/languages/index.js.map +1 -1
  268. package/out/resources/languages/types.gen.d.ts.map +1 -1
  269. package/out/resources/locale.d.ts.map +1 -1
  270. package/out/resources/set.d.ts.map +1 -1
  271. package/out/resources/set.js.map +1 -1
  272. package/out/resources/whosonfirst/PlacetypeDataSource.d.ts +1 -1
  273. package/out/resources/whosonfirst/PlacetypeDataSource.d.ts.map +1 -1
  274. package/out/resources/whosonfirst/placetypes/Placetype.d.ts.map +1 -1
  275. package/out/resources/whosonfirst/placetypes/Placetype.js +7 -6
  276. package/out/resources/whosonfirst/placetypes/Placetype.js.map +1 -1
  277. package/out/resources/whosonfirst/placetypes/admin.d.ts +1 -1
  278. package/out/resources/whosonfirst/placetypes/admin.d.ts.map +1 -1
  279. package/out/resources/whosonfirst/placetypes/definition.d.ts.map +1 -1
  280. package/out/resources/whosonfirst/placetypes/mermaid.d.ts.map +1 -1
  281. package/out/resources/whosonfirst/placetypes/mermaid.js.map +1 -1
  282. package/out/routing/index.d.ts.map +1 -1
  283. package/out/routing/index.js.map +1 -1
  284. package/out/scripting/arguments.d.ts +7 -0
  285. package/out/scripting/arguments.d.ts.map +1 -1
  286. package/out/scripting/arguments.js +29 -0
  287. package/out/scripting/arguments.js.map +1 -1
  288. package/out/scripting/command.d.ts.map +1 -1
  289. package/out/scripting/ingest-chunk-script.d.ts.map +1 -1
  290. package/out/scripting/utils/index.d.ts +1 -1
  291. package/out/scripting/utils/index.d.ts.map +1 -1
  292. package/out/scripting/utils/index.js +1 -1
  293. package/out/scripting/utils/index.js.map +1 -1
  294. package/out/strings/case.d.ts +3 -0
  295. package/out/strings/case.d.ts.map +1 -1
  296. package/out/strings/case.js +12 -2
  297. package/out/strings/case.js.map +1 -1
  298. package/out/strings/python-json.js.map +1 -1
  299. package/out/tokenization/Graph.d.ts +3 -0
  300. package/out/tokenization/Graph.d.ts.map +1 -1
  301. package/out/tokenization/Graph.js +0 -4
  302. package/out/tokenization/Graph.js.map +1 -1
  303. package/out/tokenization/Span.d.ts.map +1 -1
  304. package/out/tokenization/Span.js.map +1 -1
  305. package/out/tokenization/normalizer.d.ts.map +1 -1
  306. package/out/tokenization/normalizer.js.map +1 -1
  307. package/out/tools/{download-libpostal-resources.d.ts → download/libpostal-resources.d.ts} +1 -1
  308. package/out/tools/download/libpostal-resources.d.ts.map +1 -0
  309. package/out/tools/{download-libpostal-resources.js → download/libpostal-resources.js} +4 -3
  310. package/out/tools/download/libpostal-resources.js.map +1 -0
  311. package/out/tools/{download-ssl-address.d.ts → download/ssl-address.d.ts} +1 -1
  312. package/out/tools/download/ssl-address.d.ts.map +1 -0
  313. package/out/tools/{download-ssl-address.js → download/ssl-address.js} +1 -1
  314. package/out/tools/download/ssl-address.js.map +1 -0
  315. package/out/tools/generate-language-types.d.ts.map +1 -1
  316. package/out/tools/generate-language-types.js +3 -4
  317. package/out/tools/generate-language-types.js.map +1 -1
  318. package/out/tools/index.d.ts +2 -2
  319. package/out/tools/index.js +2 -2
  320. package/out/types/Classification.d.ts +2 -2
  321. package/out/types/Classification.d.ts.map +1 -1
  322. package/out/types/classifier.d.ts +1 -1
  323. package/out/types/classifier.d.ts.map +1 -1
  324. package/out/types/index.d.ts +0 -1
  325. package/out/types/index.d.ts.map +1 -1
  326. package/out/types/index.js +0 -1
  327. package/out/types/index.js.map +1 -1
  328. package/out/types/mapping.d.ts +1 -1
  329. package/out/types/mapping.d.ts.map +1 -1
  330. package/out/types/mapping.js.map +1 -1
  331. package/out/utils/time.js.map +1 -1
  332. package/out/workspaces.d.ts.map +1 -1
  333. package/out/workspaces.js +7 -2
  334. package/out/workspaces.js.map +1 -1
  335. package/package.json +63 -53
  336. package/lib/resolver/placetype-map.ts +0 -157
  337. package/lib/types/component.ts +0 -96
  338. package/out/api/test-clocks.d.ts.map +0 -1
  339. package/out/api/test-clocks.js.map +0 -1
  340. package/out/api/test-transport.d.ts.map +0 -1
  341. package/out/api/test-transport.js.map +0 -1
  342. package/out/coarse-placer/tools/build-dataset.d.ts.map +0 -1
  343. package/out/coarse-placer/tools/build-dataset.js.map +0 -1
  344. package/out/coarse-placer/tools/build-outlier-exposure.d.ts.map +0 -1
  345. package/out/coarse-placer/tools/build-outlier-exposure.js.map +0 -1
  346. package/out/coarse-placer/tools/build-outlier-latin.d.ts.map +0 -1
  347. package/out/coarse-placer/tools/build-outlier-latin.js.map +0 -1
  348. package/out/coarse-placer/tools/build-outlier-oa.d.ts.map +0 -1
  349. package/out/coarse-placer/tools/build-outlier-oa.js.map +0 -1
  350. package/out/coarse-placer/tools/eval-latin-offmap.d.ts.map +0 -1
  351. package/out/coarse-placer/tools/eval-latin-offmap.js.map +0 -1
  352. package/out/coarse-placer/tools/eval-openset.d.ts.map +0 -1
  353. package/out/coarse-placer/tools/eval-openset.js.map +0 -1
  354. package/out/coarse-placer/tools/eval-quant-compare.d.ts.map +0 -1
  355. package/out/coarse-placer/tools/eval-quant-compare.js.map +0 -1
  356. package/out/decoder/serialize-json.d.ts.map +0 -1
  357. package/out/decoder/serialize-json.js.map +0 -1
  358. package/out/decoder/serialize-tuples.d.ts.map +0 -1
  359. package/out/decoder/serialize-tuples.js.map +0 -1
  360. package/out/decoder/serialize-xml.d.ts.map +0 -1
  361. package/out/decoder/serialize-xml.js.map +0 -1
  362. package/out/decoder/tree-shape.d.ts.map +0 -1
  363. package/out/decoder/tree-shape.js.map +0 -1
  364. package/out/decoder/tree-walk.d.ts.map +0 -1
  365. package/out/decoder/tree-walk.js.map +0 -1
  366. package/out/license/key-file.d.ts.map +0 -1
  367. package/out/license/key-file.js.map +0 -1
  368. package/out/license/key.d.ts.map +0 -1
  369. package/out/license/key.js.map +0 -1
  370. package/out/resolver/placetype-map.d.ts +0 -83
  371. package/out/resolver/placetype-map.d.ts.map +0 -1
  372. package/out/resolver/placetype-map.js +0 -130
  373. package/out/resolver/placetype-map.js.map +0 -1
  374. package/out/tools/download-libpostal-resources.d.ts.map +0 -1
  375. package/out/tools/download-libpostal-resources.js.map +0 -1
  376. package/out/tools/download-ssl-address.d.ts.map +0 -1
  377. package/out/tools/download-ssl-address.js.map +0 -1
  378. package/out/types/component.d.ts +0 -50
  379. package/out/types/component.d.ts.map +0 -1
  380. package/out/types/component.js +0 -84
  381. package/out/types/component.js.map +0 -1
  382. /package/lib/api/{test-clocks.ts → test/clocks.ts} +0 -0
  383. /package/lib/api/{test-transport.ts → test/transport.ts} +0 -0
  384. /package/lib/coarse-placer/tools/{build-outlier-exposure.ts → build/outlier/exposure.ts} +0 -0
  385. /package/lib/coarse-placer/tools/{build-outlier-oa.ts → build/outlier/oa.ts} +0 -0
  386. /package/lib/coarse-placer/tools/{eval-latin-offmap.ts → eval/latin-offmap.ts} +0 -0
  387. /package/lib/decoder/{serialize-xml.ts → serialize/xml.ts} +0 -0
  388. /package/lib/decoder/{tree-walk.ts → tree/walk.ts} +0 -0
  389. /package/lib/license/{key-file.ts → key/file.ts} +0 -0
  390. /package/lib/license/{key.ts → key/index.ts} +0 -0
  391. /package/lib/tools/{download-ssl-address.ts → download/ssl-address.ts} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"placetype-map.js","sourceRoot":"","sources":["../../lib/resolver/placetype-map.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAYH;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAiB;IAClD,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,kBAAkB,EAA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QAAQ,CAAC,CAAA;YACnB,CAAC;QACF,CAAC;IACF,CAAC;IAED,OAAO,GAAG,CAAA;AACX,CAAC;AAED;;;;;;GAMG;AACH,MAAM,yBAAyB,GAAwB,IAAI,GAAG,CAAC,CAAC,aAAa,EAAE,aAAa,CAAC,CAAC,CAAA;AAE9F;;;;;;;;GAQG;AACH,MAAM,UAAU,mBAAmB,CAAC,kBAA0B,EAAE,kBAA0B;IACzF,MAAM,KAAK,GAAG,uBAAuB,CAAC,kBAAkB,CAAC,CAAA;IAEzD,IAAI,CAAC,KAAK;QAAE,OAAO,KAAK,CAAA;IAExB,IAAI,kBAAkB,KAAK,kBAAkB;QAAE,OAAO,KAAK,CAAA;IAE3D,OAAO,yBAAyB,CAAC,GAAG,CAAC,kBAAkB,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,kBAAkB,CAAC,CAAA;AAC/F,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"download-libpostal-resources.d.ts","sourceRoot":"","sources":["../../lib/tools/download-libpostal-resources.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAgCH;;;;GAIG;AACH,wBAAsB,0BAA0B,CAC/C,OAAO,GAAE;IAAE,KAAK,CAAC,EAAE,OAAO,CAAA;CAAO,EACjC,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,GAC7B,OAAO,CAAC,IAAI,CAAC,CA4Bf"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"download-libpostal-resources.js","sourceRoot":"","sources":["../../lib/tools/download-libpostal-resources.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAE9B,OAAO,EAAE,WAAW,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AAClF,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAA;AAClD,OA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C,CAAC,CAAA;IAEF,MAAM,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAA;IAE1B,MAAM,EAAE,CAAC,aAAa,KAAK,CAAC,MAAM,GAAG,QAAQ,IAAI,KAAK,CAAC,MAAM,aAAa,QAAQ,SAAS,CAAC,CAAA;IAE5F,OAAO,EAAE,OAAO,EAAE,KAAK,CAAC,MAAM,GAAG,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAA;AAC9D,CAAC"}
@@ -1,50 +0,0 @@
1
- /**
2
- * @copyright Sister Software
3
- * @license AGPL-3.0
4
- * @author Teffen Ellis, et al.
5
- *
6
- * Canonical address component schema for the neural classifier pipeline.
7
- *
8
- * This file is the single source of truth for `ComponentTag`. Any change here requires (per #5 of
9
- * the Mailwoman Neural plan):
10
- *
11
- * 1. A written rationale in the commit message.
12
- * 2. A migration plan for corpus rows tagged with the prior schema.
13
- * 3. A same-commit check that alignment, training, and inference code is updated to match.
14
- *
15
- * The legacy `Classifications` set in `../classification/scheme.ts` is kept independent on purpose:
16
- * rule classifiers continue to emit those, the neural classifier emits these. The bridge between
17
- * the two lives in the adapter layer (see #6).
18
- */
19
- /**
20
- * The canonical address component tag union, ordered by phase and locale.
21
- *
22
- * - Universal (Phase 1): country, region, locality, dependent_locality, postcode, subregion
23
- * - Street-level (Phase 2): house_number, street, street_prefix*, street_suffix, intersection_a/b, unit
24
- * - Venue-level (Phase 3): venue, attention, po_box
25
- * - FR-specific: cedex
26
- * - JP-specific (ACTIVATED at CJK Phase 2, 2026-07-29 — the JP char model's 47-label head trains against them; the Latin
27
- * model never emits them): prefecture, municipality, district, block, sub_block, building_number, building_name
28
- */
29
- export declare const COMPONENT_TAGS: readonly ["country", "region", "locality", "dependent_locality", "postcode", "subregion", "house_number", "street", "street_prefix", "street_prefix_particle", "street_suffix", "intersection_a", "intersection_b", "unit", "venue", "attention", "po_box", "cedex", "prefecture", "municipality", "district", "block", "sub_block", "building_number", "building_name", "locality_unit"];
30
- /**
31
- * Union of every recognized address component tag.
32
- */
33
- export type ComponentTag = (typeof COMPONENT_TAGS)[number];
34
- /**
35
- * BIO-encoded label set: one `O` plus a `B-` / `I-` pair per tag.
36
- *
37
- * Used as the per-token output alphabet for the sequence-labeling neural model. Inference decodes a stream of these
38
- * back into character-aligned `ClassificationProposal`s.
39
- */
40
- export declare const BIO_LABELS: readonly ["O", ...("B-country" | "B-region" | "B-locality" | "B-dependent_locality" | "B-postcode" | "B-subregion" | "B-house_number" | "B-street" | "B-street_prefix" | "B-street_prefix_particle" | "B-street_suffix" | "B-intersection_a" | "B-intersection_b" | "B-unit" | "B-venue" | "B-attention" | "B-po_box" | "B-cedex" | "B-prefecture" | "B-municipality" | "B-district" | "B-block" | "B-sub_block" | "B-building_number" | "B-building_name" | "B-locality_unit" | "I-country" | "I-region" | "I-locality" | "I-dependent_locality" | "I-postcode" | "I-subregion" | "I-house_number" | "I-street" | "I-street_prefix" | "I-street_prefix_particle" | "I-street_suffix" | "I-intersection_a" | "I-intersection_b" | "I-unit" | "I-venue" | "I-attention" | "I-po_box" | "I-cedex" | "I-prefecture" | "I-municipality" | "I-district" | "I-block" | "I-sub_block" | "I-building_number" | "I-building_name" | "I-locality_unit")[]];
41
- /**
42
- * Union of every BIO label.
43
- */
44
- export type BIOLabel = (typeof BIO_LABELS)[number];
45
- /**
46
- * The street-name family in assembly order: prefix, particle, name, suffix. The order is part of the contract — a
47
- * street surface is assembled by concatenating these tags' values in this order.
48
- */
49
- export declare const STREET_FAMILY_TAGS: readonly ["street_prefix", "street_prefix_particle", "street", "street_suffix"];
50
- //# sourceMappingURL=component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../lib/types/component.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH;;;;;;;;;GASG;AACH,eAAO,MAAM,cAAc,2XAqCjB,CAAA;AAEV;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAA;AAE1D;;;;;GAKG;AACH,eAAO,MAAM,UAAU,k5BAAwF,CAAA;AAE/G;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAA;AAElD;;;GAGG;AACH,eAAO,MAAM,kBAAkB,iFAKa,CAAA"}
@@ -1,84 +0,0 @@
1
- /**
2
- * @copyright Sister Software
3
- * @license AGPL-3.0
4
- * @author Teffen Ellis, et al.
5
- *
6
- * Canonical address component schema for the neural classifier pipeline.
7
- *
8
- * This file is the single source of truth for `ComponentTag`. Any change here requires (per #5 of
9
- * the Mailwoman Neural plan):
10
- *
11
- * 1. A written rationale in the commit message.
12
- * 2. A migration plan for corpus rows tagged with the prior schema.
13
- * 3. A same-commit check that alignment, training, and inference code is updated to match.
14
- *
15
- * The legacy `Classifications` set in `../classification/scheme.ts` is kept independent on purpose:
16
- * rule classifiers continue to emit those, the neural classifier emits these. The bridge between
17
- * the two lives in the adapter layer (see #6).
18
- */
19
- /**
20
- * The canonical address component tag union, ordered by phase and locale.
21
- *
22
- * - Universal (Phase 1): country, region, locality, dependent_locality, postcode, subregion
23
- * - Street-level (Phase 2): house_number, street, street_prefix*, street_suffix, intersection_a/b, unit
24
- * - Venue-level (Phase 3): venue, attention, po_box
25
- * - FR-specific: cedex
26
- * - JP-specific (ACTIVATED at CJK Phase 2, 2026-07-29 — the JP char model's 47-label head trains against them; the Latin
27
- * model never emits them): prefecture, municipality, district, block, sub_block, building_number, building_name
28
- */
29
- export const COMPONENT_TAGS = [
30
- // Universal
31
- "country",
32
- "region",
33
- "locality",
34
- "dependent_locality",
35
- "postcode",
36
- "subregion",
37
- // Street-level
38
- "house_number",
39
- "street",
40
- "street_prefix",
41
- "street_prefix_particle",
42
- "street_suffix",
43
- "intersection_a",
44
- "intersection_b",
45
- "unit",
46
- // Venue-level
47
- "venue",
48
- "attention",
49
- "po_box",
50
- // FR-specific
51
- "cedex",
52
- // JP-specific (ACTIVATED at CJK Phase 2 — the stage3-jp label set; Latin models never emit these)
53
- "prefecture",
54
- "municipality",
55
- "district",
56
- "block",
57
- "sub_block",
58
- "building_number",
59
- "building_name",
60
- // CN-specific (#2034): the organizational ladder China's rural addresses carry below the named settlement —
61
- // state-farm sub-farms (分场), production brigades and teams (大队, 队, 生产队), XPCC regiments and companies (团, 连),
62
- // villager groups (组). ONE contiguous span holds the whole ordinal chain (`三分场八队`); which rung each generic names
63
- // is a deterministic reading of the suffix, not a label distinction, so the tag stays one and the split is derived.
64
- // The named head unit (`孟定农场`, `新合`) is `dependent_locality`. Emitted by the CJK sibling model only.
65
- "locality_unit",
66
- ];
67
- /**
68
- * BIO-encoded label set: one `O` plus a `B-` / `I-` pair per tag.
69
- *
70
- * Used as the per-token output alphabet for the sequence-labeling neural model. Inference decodes a stream of these
71
- * back into character-aligned `ClassificationProposal`s.
72
- */
73
- export const BIO_LABELS = ["O", ...COMPONENT_TAGS.flatMap((tag) => [`B-${tag}`, `I-${tag}`])];
74
- /**
75
- * The street-name family in assembly order: prefix, particle, name, suffix. The order is part of the contract — a
76
- * street surface is assembled by concatenating these tags' values in this order.
77
- */
78
- export const STREET_FAMILY_TAGS = [
79
- "street_prefix",
80
- "street_prefix_particle",
81
- "street",
82
- "street_suffix",
83
- ];
84
- //# sourceMappingURL=component.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"component.js","sourceRoot":"","sources":["../../lib/types/component.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC7B,YAAY;IACZ,SAAS;IACT,QAAQ;IACR,UAAU;IACV,oBAAoB;IACpB,UAAU;IACV,WAAW;IACX,eAAe;IACf,cAAc;IACd,QAAQ;IACR,eAAe;IACf,wBAAwB;IACxB,eAAe;IACf,gBAAgB;IAChB,gBAAgB;IAChB,MAAM;IACN,cAAc;IACd,OAAO;IACP,WAAW;IACX,QAAQ;IACR,cAAc;IACd,OAAO;IACP,kGAAkG;IAClG,YAAY;IACZ,cAAc;IACd,UAAU;IACV,OAAO;IACP,WAAW;IACX,iBAAiB;IACjB,eAAe;IACf,4GAA4G;IAC5G,8GAA8G;IAC9G,kHAAkH;IAClH,oHAAoH;IACpH,qGAAqG;IACrG,eAAe;CACN,CAAA;AAOV;;;;;GAKG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,GAAG,EAAE,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,KAAK,GAAG,EAAE,EAAE,KAAK,GAAG,EAAE,CAAU,CAAC,CAAU,CAAA;AAO/G;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IACjC,eAAe;IACf,wBAAwB;IACxB,QAAQ;IACR,eAAe;CAC4B,CAAA"}
File without changes
File without changes
File without changes
File without changes