@nhtio/adk 1.20260610.0 → 1.20260611.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 (338) hide show
  1. package/CHANGELOG.md +81 -2
  2. package/adk-mcp.cjs +261 -261
  3. package/adk-mcp.cjs.map +1 -1
  4. package/adk-mcp.mjs +261 -261
  5. package/adk-mcp.mjs.map +1 -1
  6. package/batteries/embeddings/openai/adapter.cjs +2 -2
  7. package/batteries/embeddings/openai/adapter.mjs +1 -1
  8. package/batteries/embeddings/openai/exceptions.cjs +2 -2
  9. package/batteries/embeddings/openai/exceptions.mjs +1 -1
  10. package/batteries/embeddings/openai/helpers.cjs +1 -1
  11. package/batteries/embeddings/openai/types.cjs +1 -1
  12. package/batteries/embeddings/openai/validation.cjs +1 -1
  13. package/batteries/embeddings/openai.cjs +1 -1
  14. package/batteries/embeddings/webllm/adapter.cjs +2 -2
  15. package/batteries/embeddings/webllm/adapter.mjs +1 -1
  16. package/batteries/embeddings/webllm/exceptions.cjs +2 -2
  17. package/batteries/embeddings/webllm/exceptions.mjs +1 -1
  18. package/batteries/embeddings/webllm/types.cjs +1 -1
  19. package/batteries/embeddings/webllm/validation.cjs +1 -1
  20. package/batteries/embeddings/webllm.cjs +1 -1
  21. package/batteries/embeddings.cjs +1 -1
  22. package/batteries/llm/ollama/adapter.cjs +7 -7
  23. package/batteries/llm/ollama/adapter.mjs +6 -6
  24. package/batteries/llm/ollama/exceptions.cjs +2 -2
  25. package/batteries/llm/ollama/exceptions.mjs +1 -1
  26. package/batteries/llm/ollama/helpers.cjs +4 -4
  27. package/batteries/llm/ollama/helpers.mjs +3 -3
  28. package/batteries/llm/ollama/types.cjs +1 -1
  29. package/batteries/llm/ollama/validation.cjs +2 -2
  30. package/batteries/llm/ollama/validation.mjs +1 -1
  31. package/batteries/llm/ollama.cjs +2 -2
  32. package/batteries/llm/ollama.mjs +1 -1
  33. package/batteries/llm/openai_chat_completions/adapter.cjs +7 -7
  34. package/batteries/llm/openai_chat_completions/adapter.mjs +6 -6
  35. package/batteries/llm/openai_chat_completions/exceptions.cjs +2 -2
  36. package/batteries/llm/openai_chat_completions/exceptions.mjs +1 -1
  37. package/batteries/llm/openai_chat_completions/helpers.cjs +4 -4
  38. package/batteries/llm/openai_chat_completions/helpers.mjs +3 -3
  39. package/batteries/llm/openai_chat_completions/types.cjs +1 -1
  40. package/batteries/llm/openai_chat_completions/validation.cjs +2 -2
  41. package/batteries/llm/openai_chat_completions/validation.mjs +1 -1
  42. package/batteries/llm/openai_chat_completions.cjs +2 -2
  43. package/batteries/llm/openai_chat_completions.mjs +1 -1
  44. package/batteries/llm/webllm_chat_completions/adapter.cjs +7 -7
  45. package/batteries/llm/webllm_chat_completions/adapter.mjs +6 -6
  46. package/batteries/llm/webllm_chat_completions/exceptions.cjs +2 -2
  47. package/batteries/llm/webllm_chat_completions/exceptions.mjs +1 -1
  48. package/batteries/llm/webllm_chat_completions/helpers.cjs +2 -2
  49. package/batteries/llm/webllm_chat_completions/helpers.mjs +1 -1
  50. package/batteries/llm/webllm_chat_completions/validation.cjs +2 -2
  51. package/batteries/llm/webllm_chat_completions/validation.mjs +1 -1
  52. package/batteries/llm/webllm_chat_completions.cjs +2 -2
  53. package/batteries/llm/webllm_chat_completions.mjs +1 -1
  54. package/batteries/llm.cjs +2 -2
  55. package/batteries/llm.mjs +1 -1
  56. package/batteries/media/contracts.cjs +2 -2
  57. package/batteries/media/contracts.mjs +1 -1
  58. package/batteries/media/engines/audio_decode.cjs +3 -3
  59. package/batteries/media/engines/audio_decode.cjs.map +1 -1
  60. package/batteries/media/engines/audio_decode.d.ts +7 -3
  61. package/batteries/media/engines/audio_decode.mjs +2 -2
  62. package/batteries/media/engines/audio_decode.mjs.map +1 -1
  63. package/batteries/media/engines/execa_executor.cjs +3 -3
  64. package/batteries/media/engines/execa_executor.mjs +2 -2
  65. package/batteries/media/engines/fs_workspace.cjs +3 -3
  66. package/batteries/media/engines/fs_workspace.mjs +2 -2
  67. package/batteries/media/engines/jimp.cjs +3 -3
  68. package/batteries/media/engines/jimp.mjs +2 -2
  69. package/batteries/media/engines/sharp.cjs +3 -3
  70. package/batteries/media/engines/sharp.mjs +2 -2
  71. package/batteries/media/engines/soffice.cjs +2 -2
  72. package/batteries/media/engines/soffice.mjs +1 -1
  73. package/batteries/media/engines/tesseract_js.cjs +3 -3
  74. package/batteries/media/engines/tesseract_js.mjs +2 -2
  75. package/batteries/media/engines/transformers_asr.cjs +3 -3
  76. package/batteries/media/engines/transformers_asr.mjs +2 -2
  77. package/batteries/media/forge.cjs +8 -8
  78. package/batteries/media/forge.mjs +7 -7
  79. package/batteries/media/index.d.ts +2 -2
  80. package/batteries/media/lint.cjs +2 -2
  81. package/batteries/media/lint.cjs.map +1 -1
  82. package/batteries/media/lint.d.ts +1 -1
  83. package/batteries/media/lint.mjs +1 -1
  84. package/batteries/media/lint.mjs.map +1 -1
  85. package/batteries/media/pipe.d.ts +1 -1
  86. package/batteries/media.cjs +5 -5
  87. package/batteries/media.cjs.map +1 -1
  88. package/batteries/media.mjs +4 -4
  89. package/batteries/media.mjs.map +1 -1
  90. package/batteries/storage/flydrive.cjs +2 -2
  91. package/batteries/storage/flydrive.mjs +2 -2
  92. package/batteries/storage/in_memory.cjs +2 -2
  93. package/batteries/storage/in_memory.mjs +1 -1
  94. package/batteries/storage/opfs.cjs +2 -2
  95. package/batteries/storage/opfs.mjs +1 -1
  96. package/batteries/storage.cjs +1 -1
  97. package/batteries/tools/_shared.cjs +3 -3
  98. package/batteries/tools/_shared.mjs +2 -2
  99. package/batteries/tools/color.cjs +3 -3
  100. package/batteries/tools/color.mjs +2 -2
  101. package/batteries/tools/comparison.cjs +4 -4
  102. package/batteries/tools/comparison.mjs +3 -3
  103. package/batteries/tools/data_structure.cjs +4 -4
  104. package/batteries/tools/data_structure.mjs +3 -3
  105. package/batteries/tools/datetime_extended.cjs +4 -4
  106. package/batteries/tools/datetime_extended.mjs +3 -3
  107. package/batteries/tools/datetime_math.cjs +4 -4
  108. package/batteries/tools/datetime_math.mjs +3 -3
  109. package/batteries/tools/encoding.cjs +4 -4
  110. package/batteries/tools/encoding.mjs +3 -3
  111. package/batteries/tools/formatting.cjs +4 -4
  112. package/batteries/tools/formatting.mjs +3 -3
  113. package/batteries/tools/geo_basics.cjs +3 -3
  114. package/batteries/tools/geo_basics.mjs +2 -2
  115. package/batteries/tools/math.cjs +4 -4
  116. package/batteries/tools/math.mjs +3 -3
  117. package/batteries/tools/memory.cjs +7 -7
  118. package/batteries/tools/memory.mjs +6 -6
  119. package/batteries/tools/parsing.cjs +5 -5
  120. package/batteries/tools/parsing.mjs +4 -4
  121. package/batteries/tools/retrievables.cjs +6 -6
  122. package/batteries/tools/retrievables.mjs +5 -5
  123. package/batteries/tools/scrapper/index.d.ts +1 -0
  124. package/batteries/tools/scrapper.cjs +2 -2
  125. package/batteries/tools/scrapper.mjs +1 -1
  126. package/batteries/tools/searxng.cjs +2 -2
  127. package/batteries/tools/searxng.mjs +1 -1
  128. package/batteries/tools/standing_instructions.cjs +5 -5
  129. package/batteries/tools/standing_instructions.mjs +4 -4
  130. package/batteries/tools/statistics.cjs +5 -5
  131. package/batteries/tools/statistics.mjs +4 -4
  132. package/batteries/tools/string_processing.cjs +4 -4
  133. package/batteries/tools/string_processing.mjs +3 -3
  134. package/batteries/tools/structured_data.cjs +4 -4
  135. package/batteries/tools/structured_data.mjs +3 -3
  136. package/batteries/tools/text_analysis.cjs +4 -4
  137. package/batteries/tools/text_analysis.mjs +3 -3
  138. package/batteries/tools/text_comparison.cjs +3 -3
  139. package/batteries/tools/text_comparison.mjs +2 -2
  140. package/batteries/tools/time.cjs +4 -4
  141. package/batteries/tools/time.mjs +3 -3
  142. package/batteries/tools/unit_conversion.cjs +3 -3
  143. package/batteries/tools/unit_conversion.mjs +2 -2
  144. package/batteries/tools/web_retrieval/index.d.ts +4 -4
  145. package/batteries/tools/web_retrieval.cjs +5 -5
  146. package/batteries/tools/web_retrieval.cjs.map +1 -1
  147. package/batteries/tools/web_retrieval.mjs +4 -4
  148. package/batteries/tools/web_retrieval.mjs.map +1 -1
  149. package/batteries/tools.cjs +3 -3
  150. package/batteries/tools.mjs +2 -2
  151. package/batteries/vector/arangodb.cjs +2 -2
  152. package/batteries/vector/arangodb.mjs +1 -1
  153. package/batteries/vector/builder.cjs +1 -1
  154. package/batteries/vector/chroma.cjs +1 -1
  155. package/batteries/vector/clickhouse.cjs +2 -2
  156. package/batteries/vector/clickhouse.mjs +1 -1
  157. package/batteries/vector/cloudflare.cjs +2 -2
  158. package/batteries/vector/cloudflare.mjs +1 -1
  159. package/batteries/vector/conformance.cjs +1 -1
  160. package/batteries/vector/contract.cjs +1 -1
  161. package/batteries/vector/couchbase.cjs +2 -2
  162. package/batteries/vector/couchbase.mjs +1 -1
  163. package/batteries/vector/duckdb.cjs +2 -2
  164. package/batteries/vector/duckdb.mjs +1 -1
  165. package/batteries/vector/elasticsearch.cjs +2 -2
  166. package/batteries/vector/elasticsearch.mjs +1 -1
  167. package/batteries/vector/exceptions.cjs +2 -2
  168. package/batteries/vector/exceptions.mjs +1 -1
  169. package/batteries/vector/factory.cjs +1 -1
  170. package/batteries/vector/filters.cjs +2 -2
  171. package/batteries/vector/filters.mjs +1 -1
  172. package/batteries/vector/helpers.cjs +1 -1
  173. package/batteries/vector/hnswlib.cjs +2 -2
  174. package/batteries/vector/hnswlib.mjs +1 -1
  175. package/batteries/vector/in_memory.cjs +1 -1
  176. package/batteries/vector/lancedb.cjs +2 -2
  177. package/batteries/vector/lancedb.mjs +1 -1
  178. package/batteries/vector/mariadb.cjs +2 -2
  179. package/batteries/vector/mariadb.mjs +1 -1
  180. package/batteries/vector/meilisearch.cjs +2 -2
  181. package/batteries/vector/meilisearch.mjs +1 -1
  182. package/batteries/vector/migrate.cjs +2 -2
  183. package/batteries/vector/migrate.mjs +1 -1
  184. package/batteries/vector/milvus.cjs +2 -2
  185. package/batteries/vector/milvus.cjs.map +1 -1
  186. package/batteries/vector/milvus.mjs +1 -1
  187. package/batteries/vector/milvus.mjs.map +1 -1
  188. package/batteries/vector/mongodb.cjs +2 -2
  189. package/batteries/vector/mongodb.mjs +1 -1
  190. package/batteries/vector/neo4j.cjs +2 -2
  191. package/batteries/vector/neo4j.mjs +1 -1
  192. package/batteries/vector/opensearch.cjs +2 -2
  193. package/batteries/vector/opensearch.mjs +1 -1
  194. package/batteries/vector/oracle23ai.cjs +2 -2
  195. package/batteries/vector/oracle23ai.mjs +1 -1
  196. package/batteries/vector/orama.cjs +1 -1
  197. package/batteries/vector/pgvector.cjs +1 -1
  198. package/batteries/vector/pinecone.cjs +2 -2
  199. package/batteries/vector/pinecone.mjs +1 -1
  200. package/batteries/vector/plan.cjs +1 -1
  201. package/batteries/vector/qdrant.cjs +1 -1
  202. package/batteries/vector/qdrant.mjs +1 -1
  203. package/batteries/vector/redis.cjs +13 -8
  204. package/batteries/vector/redis.cjs.map +1 -1
  205. package/batteries/vector/redis.mjs +12 -7
  206. package/batteries/vector/redis.mjs.map +1 -1
  207. package/batteries/vector/retrievable.cjs +2 -2
  208. package/batteries/vector/retrievable.mjs +1 -1
  209. package/batteries/vector/s3vectors.cjs +2 -2
  210. package/batteries/vector/s3vectors.mjs +1 -1
  211. package/batteries/vector/schema.cjs +1 -1
  212. package/batteries/vector/solr.cjs +2 -2
  213. package/batteries/vector/solr.mjs +1 -1
  214. package/batteries/vector/sqlite_vec.cjs +1 -1
  215. package/batteries/vector/surrealdb.cjs +2 -2
  216. package/batteries/vector/surrealdb.mjs +1 -1
  217. package/batteries/vector/types.cjs +1 -1
  218. package/batteries/vector/typesense.cjs +2 -2
  219. package/batteries/vector/typesense.mjs +1 -1
  220. package/batteries/vector/validation.cjs +1 -1
  221. package/batteries/vector/vector_store_constructor.cjs +1 -1
  222. package/batteries/vector/vespa.cjs +2 -2
  223. package/batteries/vector/vespa.mjs +1 -1
  224. package/batteries/vector/weaviate.cjs +2 -2
  225. package/batteries/vector/weaviate.mjs +1 -1
  226. package/batteries/vector.cjs +1 -1
  227. package/batteries.cjs +4 -4
  228. package/batteries.mjs +3 -3
  229. package/{common-DZl3ADJs.js → common-BBK2e5ro.js} +9 -10
  230. package/{common-DZl3ADJs.js.map → common-BBK2e5ro.js.map} +1 -1
  231. package/{common-DeNipTQI.js → common-BuVhq_3h.js} +1 -2
  232. package/{common-DeNipTQI.js.map → common-BuVhq_3h.js.map} +1 -1
  233. package/{common-DYDUi99O.mjs → common-BxoznqbX.mjs} +9 -9
  234. package/{common-DYDUi99O.mjs.map → common-BxoznqbX.mjs.map} +1 -1
  235. package/{common-BUIjZ6LV.mjs → common-CQVJccPS.mjs} +1 -1
  236. package/{common-BUIjZ6LV.mjs.map → common-CQVJccPS.mjs.map} +1 -1
  237. package/common.cjs +8 -8
  238. package/common.mjs +7 -7
  239. package/{dispatch_runner--ZhdDWRZ.mjs → dispatch_runner-DUrpj0xR.mjs} +5 -5
  240. package/{dispatch_runner--ZhdDWRZ.mjs.map → dispatch_runner-DUrpj0xR.mjs.map} +1 -1
  241. package/{dispatch_runner-nHDKkxye.js → dispatch_runner-Hn5idJYx.js} +5 -6
  242. package/{dispatch_runner-nHDKkxye.js.map → dispatch_runner-Hn5idJYx.js.map} +1 -1
  243. package/dispatch_runner.cjs +2 -2
  244. package/dispatch_runner.mjs +1 -1
  245. package/eslint/rules/artifact_tool_forbids_artifact_constructor.cjs +2 -2
  246. package/eslint/rules/artifact_tool_forbids_artifact_constructor.mjs +1 -1
  247. package/eslint/rules/no_model_in_tool_handler.cjs +2 -2
  248. package/eslint/rules/no_model_in_tool_handler.mjs +1 -1
  249. package/eslint/rules/require_validator_any_required.cjs +2 -2
  250. package/eslint/rules/require_validator_any_required.mjs +1 -1
  251. package/eslint/rules/thought_payload_requires_replay_tag.cjs +2 -2
  252. package/eslint/rules/thought_payload_requires_replay_tag.mjs +1 -1
  253. package/eslint/rules/token_encoding_requires_context_window.cjs +2 -2
  254. package/eslint/rules/token_encoding_requires_context_window.mjs +1 -1
  255. package/eslint/rules.cjs +2 -2
  256. package/eslint/rules.mjs +1 -1
  257. package/eslint.cjs +3 -3
  258. package/eslint.mjs +2 -2
  259. package/{exceptions-C7FSHEnV.mjs → exceptions-BLTn4Ofs.mjs} +2 -2
  260. package/{exceptions-C7FSHEnV.mjs.map → exceptions-BLTn4Ofs.mjs.map} +1 -1
  261. package/{exceptions-BRXrUKiW.js → exceptions-BfOYct3J.js} +1 -2
  262. package/{exceptions-BRXrUKiW.js.map → exceptions-BfOYct3J.js.map} +1 -1
  263. package/{exceptions-CQi_lNs1.js → exceptions-D79HIKeX.js} +2 -2
  264. package/{exceptions-CQi_lNs1.js.map → exceptions-D79HIKeX.js.map} +1 -1
  265. package/{exceptions-BDhN0Xzr.mjs → exceptions-DgmgW0MU.mjs} +1 -1
  266. package/{exceptions-BDhN0Xzr.mjs.map → exceptions-DgmgW0MU.mjs.map} +1 -1
  267. package/exceptions.cjs +3 -3
  268. package/exceptions.mjs +2 -2
  269. package/factories.cjs +2 -2
  270. package/factories.mjs +1 -1
  271. package/forge.cjs +5 -5
  272. package/forge.mjs +4 -4
  273. package/guards.cjs +10 -10
  274. package/guards.mjs +9 -9
  275. package/{helpers-DSTFxTiC.js → helpers-1okZzNCa.js} +1 -1
  276. package/{helpers-DSTFxTiC.js.map → helpers-1okZzNCa.js.map} +1 -1
  277. package/{helpers-xhrQbMAG.mjs → helpers-BCyDAn_R.mjs} +1 -1
  278. package/{helpers-xhrQbMAG.mjs.map → helpers-BCyDAn_R.mjs.map} +1 -1
  279. package/index.cjs +14 -14
  280. package/index.mjs +13 -13
  281. package/lib/helpers/bignum.cjs +1 -1
  282. package/lib/utils/retry.cjs +1 -1
  283. package/mcp/adk-docs-corpus.json +1 -1
  284. package/package.json +189 -189
  285. package/{runtime-DslE1aBw.js → runtime-BiLlk2Ul.js} +2 -2
  286. package/{runtime-DslE1aBw.js.map → runtime-BiLlk2Ul.js.map} +1 -1
  287. package/{runtime-Bz5zA8wc.mjs → runtime-CyagS1pm.mjs} +2 -2
  288. package/{runtime-Bz5zA8wc.mjs.map → runtime-CyagS1pm.mjs.map} +1 -1
  289. package/{scrapper-hDKlNuCT.mjs → scrapper-4ftlLfJd.mjs} +6 -6
  290. package/{scrapper-hDKlNuCT.mjs.map → scrapper-4ftlLfJd.mjs.map} +1 -1
  291. package/{scrapper-BOLWYGbD.js → scrapper-BvRuu9_n.js} +6 -7
  292. package/{scrapper-BOLWYGbD.js.map → scrapper-BvRuu9_n.js.map} +1 -1
  293. package/{searxng-CJtEpa8p.js → searxng-B_NFiYbl.js} +6 -7
  294. package/{searxng-CJtEpa8p.js.map → searxng-B_NFiYbl.js.map} +1 -1
  295. package/{searxng-riarj_0u.mjs → searxng-CcY_d_Mj.mjs} +6 -6
  296. package/{searxng-riarj_0u.mjs.map → searxng-CcY_d_Mj.mjs.map} +1 -1
  297. package/skills/adk-assembly/SKILL.md +2 -2
  298. package/{spooled_artifact-DX8LLyUX.js → spooled_artifact-BR0IhU9y.js} +5 -6
  299. package/{spooled_artifact-DX8LLyUX.js.map → spooled_artifact-BR0IhU9y.js.map} +1 -1
  300. package/{spooled_artifact-7eePq7JA.mjs → spooled_artifact-nTE6ujM8.mjs} +5 -5
  301. package/{spooled_artifact-7eePq7JA.mjs.map → spooled_artifact-nTE6ujM8.mjs.map} +1 -1
  302. package/spooled_artifact.cjs +3 -3
  303. package/spooled_artifact.mjs +2 -2
  304. package/{spooled_markdown_artifact-wkrBF3oX.mjs → spooled_markdown_artifact-DIYzbQv8.mjs} +3 -3
  305. package/{spooled_markdown_artifact-wkrBF3oX.mjs.map → spooled_markdown_artifact-DIYzbQv8.mjs.map} +1 -1
  306. package/{spooled_markdown_artifact-ClX72lek.js → spooled_markdown_artifact-Dj3fNowz.js} +4 -4
  307. package/{spooled_markdown_artifact-ClX72lek.js.map → spooled_markdown_artifact-Dj3fNowz.js.map} +1 -1
  308. package/{thought-DLwpF7MI.js → thought-BFtsnUTU.js} +5 -6
  309. package/{thought-DLwpF7MI.js.map → thought-BFtsnUTU.js.map} +1 -1
  310. package/{thought-B_vxAiKU.mjs → thought-Cde2Y_GK.mjs} +5 -5
  311. package/{thought-B_vxAiKU.mjs.map → thought-Cde2Y_GK.mjs.map} +1 -1
  312. package/{tool-D5WGVIcI.js → tool-B2nnkwNU.js} +5 -6
  313. package/{tool-D5WGVIcI.js.map → tool-B2nnkwNU.js.map} +1 -1
  314. package/{tool-wMYMVl60.mjs → tool-CcxYxA5X.mjs} +5 -5
  315. package/{tool-wMYMVl60.mjs.map → tool-CcxYxA5X.mjs.map} +1 -1
  316. package/{tool_call-B4-_-vjG.mjs → tool_call-B3MOog2R.mjs} +6 -6
  317. package/{tool_call-B4-_-vjG.mjs.map → tool_call-B3MOog2R.mjs.map} +1 -1
  318. package/{tool_call-DixVlW40.js → tool_call-BxL3eU1k.js} +6 -7
  319. package/{tool_call-DixVlW40.js.map → tool_call-BxL3eU1k.js.map} +1 -1
  320. package/{tool_registry-791Vrjtf.mjs → tool_registry-BaLUIzWz.mjs} +144 -144
  321. package/tool_registry-BaLUIzWz.mjs.map +1 -0
  322. package/{tool_registry-CKJPze3j.js → tool_registry-BdKlPuHS.js} +144 -144
  323. package/tool_registry-BdKlPuHS.js.map +1 -0
  324. package/{turn_runner-ZyYO-Kti.mjs → turn_runner-BV4BaZK9.mjs} +7 -7
  325. package/{turn_runner-ZyYO-Kti.mjs.map → turn_runner-BV4BaZK9.mjs.map} +1 -1
  326. package/{turn_runner-HXImLGIn.js → turn_runner-M2I8G2ok.js} +7 -8
  327. package/{turn_runner-HXImLGIn.js.map → turn_runner-M2I8G2ok.js.map} +1 -1
  328. package/turn_runner.cjs +2 -2
  329. package/turn_runner.mjs +1 -1
  330. package/types.cjs +1 -1
  331. package/{validate-BFaUYHDN.js → validate-DgDZkUKs.js} +3 -3
  332. package/{validate-BFaUYHDN.js.map → validate-DgDZkUKs.js.map} +1 -1
  333. package/{validate-DSZ3wicB.mjs → validate-JOHfh-BB.mjs} +3 -3
  334. package/{validate-DSZ3wicB.mjs.map → validate-JOHfh-BB.mjs.map} +1 -1
  335. package/tool_registry-791Vrjtf.mjs.map +0 -1
  336. package/tool_registry-CKJPze3j.js.map +0 -1
  337. /package/{chunk-Ble4zEEl.js → chunk-Cek0wNdY.js} +0 -0
  338. /package/{chunk-Bpcn9VDT.mjs → chunk-Cf1989ZW.mjs} +0 -0
package/CHANGELOG.md CHANGED
@@ -2,8 +2,76 @@
2
2
 
3
3
  All notable changes to `@nhtio/adk` are documented in this file.
4
4
 
5
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
- and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
6
+
7
+ This project does **not** use strict Semantic Versioning. Versions are
8
+ `<major>.<YYYYMMDD>.<n>` — a hybrid of one SemVer-like signal and
9
+ [CalVer](https://calver.org/): the major version increases only when the **core contract**
10
+ breaks (the primitives every assembly depends on — the runners, the callback contracts, the
11
+ artifact/retrievable model); the date is the release day; `<n>` counts same-day releases from
12
+ zero. Everything else — including breaking changes to individual batteries — ships under the
13
+ same major, called out explicitly in the entries below. So within a major, the version tells
14
+ you *when* you got it, not *what changed*: a `^` range will float across battery-level
15
+ breaking changes, so pin an exact version if you need stability and read the entry before
16
+ upgrading.
17
+
18
+ ## 2026-06-11
19
+
20
+ ### Security
21
+
22
+ - **Supply-chain hardening across the build and dependency pipeline** (prompted by the recent
23
+ npm worm campaigns; none of these change the published API):
24
+ - **Release cooldown**: pnpm now refuses to resolve any dependency version published less
25
+ than 3 days ago (`minimumReleaseAge` in `pnpm-workspace.yaml`). Compromised releases in
26
+ recent supply-chain attacks were typically yanked within hours-to-days; the cooldown means
27
+ a poisoned version ages out of the registry before it can enter our lockfile.
28
+ - **Frozen lockfile in CI**: every pipeline job now installs with
29
+ `pnpm install --frozen-lockfile`, so CI can never silently resolve packages that aren't in
30
+ the committed, cooldown-vetted lockfile.
31
+ - **Dependency floors** for transitive advisories in the dev tree: `dompurify >=3.4.0`
32
+ (XSS bypasses; pinned older by monaco-editor), `lodash-es >=4.18.1` (`_.template` code
33
+ injection; via chevrotain), and `uuid ^11.1.1` under exceljs (buffer-bounds advisory).
34
+ - **Dropped `@xenova/transformers`** (dev) in favor of the already-present
35
+ `@huggingface/transformers` for the Ask ADK embedder, reranker, and index builder. The
36
+ abandoned v2 line dragged in `protobufjs ≤7.5.5` via `onnxruntime-web`, which carries a
37
+ critical arbitrary-code-execution advisory plus seven others — all gone. Both the
38
+ build-time index embedder and the browser query embedder migrated together (same runtime,
39
+ same `q8` weights), so index and query vectors stay comparable.
40
+ - **Trusted-publishing groundwork**: the npm deploy job now requests a GitLab OIDC
41
+ `id_token` with the npm registry audience. Once the package's Trusted Publisher is
42
+ configured on npmjs.com, the long-lived `NPM_TOKEN` CI secret — the artifact stolen in
43
+ most registry-compromise incidents — can be deleted outright.
44
+ - Net effect: consumer-facing prod tree remains at zero known vulnerabilities; the dev-tree
45
+ audit drops from 27 advisories to 7 (all in the docs-site toolchain: vitepress's vite 5
46
+ line and markdown-it, not reachable from any published code path).
47
+ - Housekeeping from the lockfile rebuild: `@nhtio/eslint-config` is pinned to exactly
48
+ `1.20260518.0` — its `1.20260609.0` successor ships stricter jsdoc rules that fail the
49
+ current tree (~1,300 errors in `bin/` and the docs theme). Dev-only; upgrading the config
50
+ is a separate chore with that cleanup attached.
51
+
52
+ ### Changed
53
+
54
+ - **The Cloudflare Vectorize conformance suite is now opt-in and out of CI.** Vectorize's public
55
+ endpoint is aggressively eventually-consistent — its query index flaps for seconds after a
56
+ write or delete — and even with the conformance harness's retries the read-after-write race
57
+ lost often enough to red-flag otherwise-green releases (it had been carried as an
58
+ `allow_failure` job, which is just noise that trains you to ignore red). It now requires an
59
+ explicit `TEST_VECTOR_CLOUDFLARE_ENABLED=1` opt-in on top of its credentials and skips
60
+ otherwise. Run it by hand when you want to exercise the adapter against live Vectorize. The
61
+ `cloudflare` adapter itself is unchanged and still shipped.
62
+
63
+ ### Fixed
64
+
65
+ - **Vector adapter query-construction hardening** (from an internal security review; neither
66
+ issue crossed a privilege or data boundary, both are belt-and-braces):
67
+ - The Milvus adapter's `nearId` seed-vector lookup now serializes the id with
68
+ `JSON.stringify` instead of raw template interpolation, matching the adapter's own
69
+ delete path — an id containing a double quote can no longer alter the filter expression.
70
+ - The Redis adapter's numeric range filters (`gt`/`gte`/`lt`/`lte`, and numeric `eq`/`ne`)
71
+ now coerce the bound through `Number()` and throw
72
+ `E_VECTOR_STORE_UNSUPPORTED_FILTER_OPERATOR` on non-finite results, so a non-numeric
73
+ string can no longer break out of the RediSearch `[lo hi]` bracket and append query
74
+ clauses. Numeric strings (`'2024'`) still work.
7
75
 
8
76
  ## 2026-06-10
9
77
 
@@ -83,6 +151,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
83
151
  `pdf-lib`, `pdf-parse`, `mammoth`, `exceljs`, `jszip`, `jimp`, `sharp`, `audio-decode`,
84
152
  `@huggingface/transformers`, `tesseract.js`, `execa`.
85
153
 
154
+ ### Fixed
155
+
156
+ - **API documentation gaps closed.** Several types referenced by public API surfaces were not
157
+ themselves exported, so their doc pages didn't exist and links to them dangled:
158
+ `EngineSummary` (referenced by the media lint plugin's `BUNDLED_SUMMARIES`), `ChainExecutor`
159
+ (the media chain's executor seam), and `AudioDecodeFn`/`AudioBufferLike` (the audio-decode
160
+ engine's override surface) are now exported and documented. The web-retrieval docs' links to
161
+ `RawRetrievable` now point at `@nhtio/adk/common`, where the type actually lives, and
162
+ `ScrapperBaseConfig` is re-exported from the scrapper barrel. Cosmetic prose fixes in the
163
+ media docs ride along. No runtime behavior changes.
164
+
86
165
  ## 2026-06-09
87
166
 
88
167
  ### Fixed