@nhtio/adk 0.1.0-master-9557685c → 0.1.0-master-7904e3a3

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 (358) hide show
  1. package/CHANGELOG.md +125 -0
  2. package/artifact_methods-Cg0go7Q4.mjs +1 -0
  3. package/artifact_methods-Dtf4-3C-.cjs +1 -0
  4. package/batteries/artifacts/ecmascript.cjs +1 -1
  5. package/batteries/artifacts/ecmascript.mjs +1 -1
  6. package/batteries/artifacts/toon.cjs +1 -1
  7. package/batteries/artifacts/toon.mjs +1 -1
  8. package/batteries/artifacts/xml.cjs +1 -1
  9. package/batteries/artifacts/xml.mjs +1 -1
  10. package/batteries/artifacts/yaml.cjs +1 -1
  11. package/batteries/artifacts/yaml.mjs +1 -1
  12. package/batteries/artifacts.cjs +4 -4
  13. package/batteries/artifacts.mjs +4 -4
  14. package/batteries/dev-tools/forge.cjs +3 -3
  15. package/batteries/dev-tools/forge.mjs +3 -3
  16. package/batteries/dev-tools.cjs +2 -2
  17. package/batteries/dev-tools.mjs +2 -2
  18. package/batteries/encoding.cjs +7 -7
  19. package/batteries/encoding.mjs +7 -7
  20. package/batteries/generation/gemini/adapter.cjs +1 -1
  21. package/batteries/generation/gemini/adapter.mjs +1 -1
  22. package/batteries/generation/local_diffusion/adapter.cjs +1 -1
  23. package/batteries/generation/local_diffusion/adapter.mjs +1 -1
  24. package/batteries/generation/openai/adapter.cjs +1 -1
  25. package/batteries/generation/openai/adapter.mjs +1 -1
  26. package/batteries/llm/anthropic_messages/adapter.cjs +6 -6
  27. package/batteries/llm/anthropic_messages/adapter.mjs +6 -6
  28. package/batteries/llm/anthropic_messages/count_tokens.cjs +2 -2
  29. package/batteries/llm/anthropic_messages/count_tokens.mjs +1 -1
  30. package/batteries/llm/anthropic_messages/helpers.cjs +3 -3
  31. package/batteries/llm/anthropic_messages/helpers.mjs +3 -3
  32. package/batteries/llm/anthropic_messages/validation.cjs +2 -2
  33. package/batteries/llm/anthropic_messages/validation.mjs +2 -2
  34. package/batteries/llm/anthropic_messages.cjs +2 -2
  35. package/batteries/llm/anthropic_messages.mjs +2 -2
  36. package/batteries/llm/bedrock_converse/adapter.cjs +6 -6
  37. package/batteries/llm/bedrock_converse/adapter.mjs +6 -6
  38. package/batteries/llm/bedrock_converse/helpers.cjs +1 -1
  39. package/batteries/llm/bedrock_converse/helpers.mjs +1 -1
  40. package/batteries/llm/bedrock_converse/validation.cjs +2 -2
  41. package/batteries/llm/bedrock_converse/validation.mjs +2 -2
  42. package/batteries/llm/bedrock_converse.cjs +2 -2
  43. package/batteries/llm/bedrock_converse.mjs +2 -2
  44. package/batteries/llm/claude_code_cli/adapter.cjs +7 -7
  45. package/batteries/llm/claude_code_cli/adapter.mjs +7 -7
  46. package/batteries/llm/claude_code_cli/helpers.cjs +3 -3
  47. package/batteries/llm/claude_code_cli/helpers.mjs +3 -3
  48. package/batteries/llm/claude_code_cli/validation.cjs +2 -2
  49. package/batteries/llm/claude_code_cli/validation.mjs +2 -2
  50. package/batteries/llm/claude_code_cli.cjs +2 -2
  51. package/batteries/llm/claude_code_cli.mjs +2 -2
  52. package/batteries/llm/gemini_generate_content/adapter.cjs +6 -6
  53. package/batteries/llm/gemini_generate_content/adapter.mjs +6 -6
  54. package/batteries/llm/gemini_generate_content/helpers.cjs +1 -1
  55. package/batteries/llm/gemini_generate_content/helpers.mjs +1 -1
  56. package/batteries/llm/gemini_generate_content/validation.cjs +2 -2
  57. package/batteries/llm/gemini_generate_content/validation.mjs +2 -2
  58. package/batteries/llm/gemini_generate_content.cjs +1 -1
  59. package/batteries/llm/gemini_generate_content.mjs +1 -1
  60. package/batteries/llm/litert_lm/adapter.cjs +6 -6
  61. package/batteries/llm/litert_lm/adapter.mjs +6 -6
  62. package/batteries/llm/litert_lm/helpers.cjs +3 -3
  63. package/batteries/llm/litert_lm/helpers.mjs +3 -3
  64. package/batteries/llm/litert_lm/validation.cjs +2 -2
  65. package/batteries/llm/litert_lm/validation.mjs +2 -2
  66. package/batteries/llm/litert_lm.cjs +1 -1
  67. package/batteries/llm/litert_lm.mjs +1 -1
  68. package/batteries/llm/ollama/adapter.cjs +6 -6
  69. package/batteries/llm/ollama/adapter.mjs +6 -6
  70. package/batteries/llm/ollama/helpers.cjs +4 -4
  71. package/batteries/llm/ollama/helpers.mjs +4 -4
  72. package/batteries/llm/ollama/validation.cjs +2 -2
  73. package/batteries/llm/ollama/validation.mjs +2 -2
  74. package/batteries/llm/ollama.cjs +2 -2
  75. package/batteries/llm/ollama.mjs +2 -2
  76. package/batteries/llm/openai_chat_completions/adapter.cjs +6 -6
  77. package/batteries/llm/openai_chat_completions/adapter.mjs +6 -6
  78. package/batteries/llm/openai_chat_completions/helpers.cjs +4 -4
  79. package/batteries/llm/openai_chat_completions/helpers.mjs +4 -4
  80. package/batteries/llm/openai_chat_completions/validation.cjs +2 -2
  81. package/batteries/llm/openai_chat_completions/validation.mjs +2 -2
  82. package/batteries/llm/openai_chat_completions.cjs +2 -2
  83. package/batteries/llm/openai_chat_completions.mjs +2 -2
  84. package/batteries/llm/openai_responses/adapter.cjs +6 -6
  85. package/batteries/llm/openai_responses/adapter.mjs +6 -6
  86. package/batteries/llm/openai_responses/helpers.cjs +3 -3
  87. package/batteries/llm/openai_responses/helpers.mjs +3 -3
  88. package/batteries/llm/openai_responses/validation.cjs +2 -2
  89. package/batteries/llm/openai_responses/validation.mjs +2 -2
  90. package/batteries/llm/openai_responses.cjs +2 -2
  91. package/batteries/llm/openai_responses.mjs +2 -2
  92. package/batteries/llm/transformers_js/adapter.cjs +6 -6
  93. package/batteries/llm/transformers_js/adapter.mjs +6 -6
  94. package/batteries/llm/transformers_js/helpers.cjs +3 -3
  95. package/batteries/llm/transformers_js/helpers.mjs +3 -3
  96. package/batteries/llm/transformers_js/validation.cjs +2 -2
  97. package/batteries/llm/transformers_js/validation.mjs +2 -2
  98. package/batteries/llm/transformers_js.cjs +1 -1
  99. package/batteries/llm/transformers_js.mjs +1 -1
  100. package/batteries/llm/webllm_chat_completions/adapter.cjs +6 -6
  101. package/batteries/llm/webllm_chat_completions/adapter.mjs +6 -6
  102. package/batteries/llm/webllm_chat_completions/helpers.cjs +1 -1
  103. package/batteries/llm/webllm_chat_completions/helpers.mjs +1 -1
  104. package/batteries/llm/webllm_chat_completions/validation.cjs +2 -2
  105. package/batteries/llm/webllm_chat_completions/validation.mjs +2 -2
  106. package/batteries/llm/webllm_chat_completions.cjs +2 -2
  107. package/batteries/llm/webllm_chat_completions.mjs +2 -2
  108. package/batteries/llm.cjs +2 -2
  109. package/batteries/llm.mjs +2 -2
  110. package/batteries/media/contracts.cjs.map +1 -1
  111. package/batteries/media/contracts.d.ts +93 -2
  112. package/batteries/media/contracts.mjs.map +1 -1
  113. package/batteries/media/engines/execa_executor.cjs +285 -13
  114. package/batteries/media/engines/execa_executor.cjs.map +1 -1
  115. package/batteries/media/engines/execa_executor.d.ts +113 -8
  116. package/batteries/media/engines/execa_executor.mjs +285 -13
  117. package/batteries/media/engines/execa_executor.mjs.map +1 -1
  118. package/batteries/media/forge.cjs +4 -4
  119. package/batteries/media/forge.mjs +4 -4
  120. package/batteries/media/lint.cjs +1 -1
  121. package/batteries/media/lint.mjs +1 -1
  122. package/batteries/media.cjs +1 -1
  123. package/batteries/orchestration/dispatch_reasoner.cjs +4 -4
  124. package/batteries/orchestration/dispatch_reasoner.mjs +4 -4
  125. package/batteries/orchestration/executor.cjs +2 -2
  126. package/batteries/orchestration/executor.mjs +2 -2
  127. package/batteries/orchestration/forge.cjs +3 -3
  128. package/batteries/orchestration/forge.mjs +3 -3
  129. package/batteries/orchestration/validation.cjs +2 -2
  130. package/batteries/orchestration/validation.mjs +2 -2
  131. package/batteries/orchestration.cjs +5 -5
  132. package/batteries/orchestration.mjs +5 -5
  133. package/batteries/sandbox/contracts/policy_enforcer.d.ts +12 -6
  134. package/batteries/sandbox/executor.d.ts +28 -10
  135. package/batteries/sandbox/js.cjs +1 -1
  136. package/batteries/sandbox/js.mjs +1 -1
  137. package/batteries/sandbox/node/index.d.ts +1 -1
  138. package/batteries/sandbox/node/srt_enforcer.d.ts +74 -0
  139. package/batteries/sandbox/node.cjs +98 -5
  140. package/batteries/sandbox/node.cjs.map +1 -1
  141. package/batteries/sandbox/node.mjs +98 -6
  142. package/batteries/sandbox/node.mjs.map +1 -1
  143. package/batteries/sandbox/tools.cjs +1 -1
  144. package/batteries/sandbox/tools.mjs +1 -1
  145. package/batteries/sandbox.cjs +13 -13
  146. package/batteries/sandbox.cjs.map +1 -1
  147. package/batteries/sandbox.mjs +13 -13
  148. package/batteries/sandbox.mjs.map +1 -1
  149. package/batteries/skills/in_memory.cjs +1 -1
  150. package/batteries/skills.cjs +9 -9
  151. package/batteries/skills.mjs +8 -8
  152. package/batteries/tools/_shared.cjs +1 -1
  153. package/batteries/tools/_shared.mjs +1 -1
  154. package/batteries/tools/color.cjs +2 -2
  155. package/batteries/tools/color.mjs +2 -2
  156. package/batteries/tools/comparison.cjs +2 -2
  157. package/batteries/tools/comparison.mjs +2 -2
  158. package/batteries/tools/data_structure.cjs +2 -2
  159. package/batteries/tools/data_structure.mjs +2 -2
  160. package/batteries/tools/datetime_extended.cjs +3 -3
  161. package/batteries/tools/datetime_extended.mjs +3 -3
  162. package/batteries/tools/datetime_math.cjs +3 -3
  163. package/batteries/tools/datetime_math.mjs +3 -3
  164. package/batteries/tools/encoding.cjs +2 -2
  165. package/batteries/tools/encoding.mjs +2 -2
  166. package/batteries/tools/formatting.cjs +2 -2
  167. package/batteries/tools/formatting.mjs +2 -2
  168. package/batteries/tools/geo_basics.cjs +2 -2
  169. package/batteries/tools/geo_basics.mjs +2 -2
  170. package/batteries/tools/math.cjs +2 -2
  171. package/batteries/tools/math.mjs +2 -2
  172. package/batteries/tools/memory.cjs +5 -5
  173. package/batteries/tools/memory.mjs +5 -5
  174. package/batteries/tools/parsing.cjs +3 -3
  175. package/batteries/tools/parsing.mjs +3 -3
  176. package/batteries/tools/retrievables.cjs +5 -5
  177. package/batteries/tools/retrievables.mjs +5 -5
  178. package/batteries/tools/scrapper.cjs +1 -1
  179. package/batteries/tools/scrapper.mjs +1 -1
  180. package/batteries/tools/searxng.cjs +1 -1
  181. package/batteries/tools/searxng.mjs +1 -1
  182. package/batteries/tools/standing_instructions.cjs +3 -3
  183. package/batteries/tools/standing_instructions.mjs +3 -3
  184. package/batteries/tools/statistics.cjs +3 -3
  185. package/batteries/tools/statistics.mjs +3 -3
  186. package/batteries/tools/string_processing.cjs +2 -2
  187. package/batteries/tools/string_processing.mjs +2 -2
  188. package/batteries/tools/structured_data.cjs +2 -2
  189. package/batteries/tools/structured_data.mjs +2 -2
  190. package/batteries/tools/text_analysis.cjs +3 -3
  191. package/batteries/tools/text_analysis.mjs +3 -3
  192. package/batteries/tools/text_comparison.cjs +2 -2
  193. package/batteries/tools/text_comparison.mjs +2 -2
  194. package/batteries/tools/time.cjs +3 -3
  195. package/batteries/tools/time.mjs +3 -3
  196. package/batteries/tools/unit_conversion.cjs +2 -2
  197. package/batteries/tools/unit_conversion.mjs +2 -2
  198. package/batteries/tools.cjs +2 -2
  199. package/batteries/tools.mjs +2 -2
  200. package/batteries/validation.cjs +4 -4
  201. package/batteries/validation.mjs +4 -4
  202. package/batteries/vector/chroma.cjs +1 -1
  203. package/batteries/vector/chroma.mjs +1 -1
  204. package/batteries/vector/clickhouse.cjs +1 -1
  205. package/batteries/vector/clickhouse.mjs +1 -1
  206. package/batteries/vector/cloudflare.cjs +1 -1
  207. package/batteries/vector/cloudflare.mjs +1 -1
  208. package/batteries/vector/couchbase.cjs +1 -1
  209. package/batteries/vector/couchbase.mjs +1 -1
  210. package/batteries/vector/duckdb.cjs +1 -1
  211. package/batteries/vector/duckdb.mjs +1 -1
  212. package/batteries/vector/elasticsearch.cjs +1 -1
  213. package/batteries/vector/elasticsearch.mjs +1 -1
  214. package/batteries/vector/hnswlib.cjs +1 -1
  215. package/batteries/vector/hnswlib.mjs +1 -1
  216. package/batteries/vector/in_memory.cjs +1 -1
  217. package/batteries/vector/in_memory.mjs +1 -1
  218. package/batteries/vector/lancedb.cjs +1 -1
  219. package/batteries/vector/lancedb.mjs +1 -1
  220. package/batteries/vector/mariadb.cjs +1 -1
  221. package/batteries/vector/mariadb.mjs +1 -1
  222. package/batteries/vector/milvus.cjs +1 -1
  223. package/batteries/vector/milvus.mjs +1 -1
  224. package/batteries/vector/opensearch.cjs +1 -1
  225. package/batteries/vector/opensearch.mjs +1 -1
  226. package/batteries/vector/oracle23ai.cjs +1 -1
  227. package/batteries/vector/oracle23ai.mjs +1 -1
  228. package/batteries/vector/orama.cjs +1 -1
  229. package/batteries/vector/orama.mjs +1 -1
  230. package/batteries/vector/pgvector.cjs +1 -1
  231. package/batteries/vector/pgvector.mjs +1 -1
  232. package/batteries/vector/pinecone/index.d.ts +53 -1
  233. package/batteries/vector/pinecone.cjs +197 -26
  234. package/batteries/vector/pinecone.cjs.map +1 -1
  235. package/batteries/vector/pinecone.mjs +198 -27
  236. package/batteries/vector/pinecone.mjs.map +1 -1
  237. package/batteries/vector/qdrant.cjs +1 -1
  238. package/batteries/vector/qdrant.mjs +1 -1
  239. package/batteries/vector/redis.cjs +1 -1
  240. package/batteries/vector/redis.mjs +1 -1
  241. package/batteries/vector/retrievable.cjs +1 -1
  242. package/batteries/vector/retrievable.mjs +1 -1
  243. package/batteries/vector/s3vectors.cjs +1 -1
  244. package/batteries/vector/s3vectors.mjs +1 -1
  245. package/batteries/vector/sqlite_vec.cjs +1 -1
  246. package/batteries/vector/sqlite_vec.mjs +1 -1
  247. package/batteries/vector/typesense.cjs +1 -1
  248. package/batteries/vector/typesense.mjs +1 -1
  249. package/batteries/vector/vespa.cjs +1 -1
  250. package/batteries/vector/vespa.mjs +1 -1
  251. package/batteries/vector/weaviate.cjs +1 -1
  252. package/batteries/vector/weaviate.mjs +1 -1
  253. package/batteries/vector.cjs +2 -2
  254. package/batteries/vector.mjs +2 -2
  255. package/batteries.cjs +9 -9
  256. package/batteries.mjs +9 -9
  257. package/{chat_common-CeoHwSsz.mjs → chat_common-DKw8FDol.mjs} +2 -2
  258. package/{chat_common-CeoHwSsz.mjs.map → chat_common-DKw8FDol.mjs.map} +1 -1
  259. package/{chat_common-DlIK1IAn.cjs → chat_common-vSxDBGgr.cjs} +2 -2
  260. package/{chat_common-DlIK1IAn.cjs.map → chat_common-vSxDBGgr.cjs.map} +1 -1
  261. package/{common-joo6vLu-.cjs → common-BcB05Isq.cjs} +7 -7
  262. package/{common-joo6vLu-.cjs.map → common-BcB05Isq.cjs.map} +1 -1
  263. package/{common-B5maOoF_.mjs → common-oI1niK9Z.mjs} +7 -7
  264. package/{common-B5maOoF_.mjs.map → common-oI1niK9Z.mjs.map} +1 -1
  265. package/common.cjs +7 -7
  266. package/common.mjs +7 -7
  267. package/{dispatch_runner-DO7jo_gl.mjs → dispatch_runner-BZDXUe0G.mjs} +5 -5
  268. package/{dispatch_runner-DO7jo_gl.mjs.map → dispatch_runner-BZDXUe0G.mjs.map} +1 -1
  269. package/{dispatch_runner-BTaUtdtO.cjs → dispatch_runner-CTAI0RSs.cjs} +5 -5
  270. package/{dispatch_runner-BTaUtdtO.cjs.map → dispatch_runner-CTAI0RSs.cjs.map} +1 -1
  271. package/dispatch_runner.cjs +1 -1
  272. package/dispatch_runner.mjs +1 -1
  273. package/{ecmascript-bgwVyZG1.mjs → ecmascript-B9Z2C24U.mjs} +3 -3
  274. package/{ecmascript-bgwVyZG1.mjs.map → ecmascript-B9Z2C24U.mjs.map} +1 -1
  275. package/{ecmascript-ChvxTCXz.cjs → ecmascript-DOv8gVQ5.cjs} +3 -3
  276. package/{ecmascript-ChvxTCXz.cjs.map → ecmascript-DOv8gVQ5.cjs.map} +1 -1
  277. package/eslint/rules.cjs +1 -1
  278. package/eslint/rules.mjs +1 -1
  279. package/eslint.cjs +2 -2
  280. package/eslint.mjs +2 -2
  281. package/exceptions.cjs +1 -1
  282. package/exceptions.mjs +1 -1
  283. package/forge.cjs +2 -2
  284. package/forge.mjs +2 -2
  285. package/guards.cjs +7 -7
  286. package/guards.mjs +7 -7
  287. package/{helpers-D6ebO8Vc.cjs → helpers-CiZnHmxC.cjs} +3 -3
  288. package/{helpers-D6ebO8Vc.cjs.map → helpers-CiZnHmxC.cjs.map} +1 -1
  289. package/{helpers-C1T0DV8Q.mjs → helpers-mbn_EsDV.mjs} +3 -3
  290. package/{helpers-C1T0DV8Q.mjs.map → helpers-mbn_EsDV.mjs.map} +1 -1
  291. package/index.cjs +10 -10
  292. package/index.mjs +10 -10
  293. package/{manifest-DPYWN15l.cjs → manifest-BPcrFRN4.cjs} +2 -2
  294. package/{manifest-DPYWN15l.cjs.map → manifest-BPcrFRN4.cjs.map} +1 -1
  295. package/mcp/adk-docs-corpus.json +2 -2
  296. package/package.json +315 -315
  297. package/{retrievable-DVkAglIv.cjs → retrievable-BOuQSDHF.cjs} +3 -3
  298. package/{retrievable-DVkAglIv.cjs.map → retrievable-BOuQSDHF.cjs.map} +1 -1
  299. package/{retrievable-CrGKx4sc.mjs → retrievable-CXTAUuuv.mjs} +3 -3
  300. package/{retrievable-CrGKx4sc.mjs.map → retrievable-CXTAUuuv.mjs.map} +1 -1
  301. package/{scrapper-_40wh9LI.mjs → scrapper-D8JuiZ-F.mjs} +3 -3
  302. package/{scrapper-_40wh9LI.mjs.map → scrapper-D8JuiZ-F.mjs.map} +1 -1
  303. package/{scrapper-CwkQjQBS.cjs → scrapper-mSYpTJM4.cjs} +3 -3
  304. package/{scrapper-CwkQjQBS.cjs.map → scrapper-mSYpTJM4.cjs.map} +1 -1
  305. package/{searxng-DVvFdVow.cjs → searxng-Daodv0K4.cjs} +3 -3
  306. package/{searxng-DVvFdVow.cjs.map → searxng-Daodv0K4.cjs.map} +1 -1
  307. package/{searxng-D0NEAks7.mjs → searxng-g7srhFzs.mjs} +3 -3
  308. package/{searxng-D0NEAks7.mjs.map → searxng-g7srhFzs.mjs.map} +1 -1
  309. package/server.json +2 -2
  310. package/skills/adk-assembly/SKILL.md +2 -2
  311. package/{spooled_artifact-BkOe4-j-.mjs → spooled_artifact-Bw_7swIp.mjs} +385 -385
  312. package/spooled_artifact-Bw_7swIp.mjs.map +1 -0
  313. package/{spooled_artifact-BoYsldvO.cjs → spooled_artifact-DZXsP4s1.cjs} +384 -384
  314. package/spooled_artifact-DZXsP4s1.cjs.map +1 -0
  315. package/spooled_artifact.cjs +2 -2
  316. package/spooled_artifact.mjs +2 -2
  317. package/{spooled_markdown_artifact-DzbydBel.cjs → spooled_markdown_artifact-Bo0u8cRS.cjs} +3 -3
  318. package/{spooled_markdown_artifact-DzbydBel.cjs.map → spooled_markdown_artifact-Bo0u8cRS.cjs.map} +1 -1
  319. package/{spooled_markdown_artifact-Dnl-lCGv.mjs → spooled_markdown_artifact-vd6eNtIP.mjs} +3 -3
  320. package/{spooled_markdown_artifact-Dnl-lCGv.mjs.map → spooled_markdown_artifact-vd6eNtIP.mjs.map} +1 -1
  321. package/{thought-CXsVh5hS.cjs → thought-C12mqaKQ.cjs} +3 -3
  322. package/{thought-CXsVh5hS.cjs.map → thought-C12mqaKQ.cjs.map} +1 -1
  323. package/{thought-BrQt6HAb.mjs → thought-CxSaF6Xf.mjs} +3 -3
  324. package/{thought-BrQt6HAb.mjs.map → thought-CxSaF6Xf.mjs.map} +1 -1
  325. package/{tokenizable-DDIdXbJN.cjs → tokenizable-BcodRtoW.cjs} +29 -29
  326. package/{tokenizable-DDIdXbJN.cjs.map → tokenizable-BcodRtoW.cjs.map} +1 -1
  327. package/{tokenizable-xPXj1AQX.mjs → tokenizable-VB4Av8GF.mjs} +30 -30
  328. package/{tokenizable-xPXj1AQX.mjs.map → tokenizable-VB4Av8GF.mjs.map} +1 -1
  329. package/{tool_call-8crmZsO8.mjs → tool_call-Cfaj-6zK.mjs} +4 -4
  330. package/{tool_call-8crmZsO8.mjs.map → tool_call-Cfaj-6zK.mjs.map} +1 -1
  331. package/{tool_call-NvQcPf5d.cjs → tool_call-CsBOpKsg.cjs} +4 -4
  332. package/{tool_call-NvQcPf5d.cjs.map → tool_call-CsBOpKsg.cjs.map} +1 -1
  333. package/{tools-BHc8qB5I.cjs → tools-BjHXlDlV.cjs} +6 -6
  334. package/{tools-BHc8qB5I.cjs.map → tools-BjHXlDlV.cjs.map} +1 -1
  335. package/{tools-geIlta3C.mjs → tools-Vkfht7mU.mjs} +6 -6
  336. package/{tools-geIlta3C.mjs.map → tools-Vkfht7mU.mjs.map} +1 -1
  337. package/{toon-C8IFssRi.cjs → toon-5c9ceKiU.cjs} +5 -5
  338. package/{toon-C8IFssRi.cjs.map → toon-5c9ceKiU.cjs.map} +1 -1
  339. package/{toon-BA9Q7NHG.mjs → toon-BSTQnHed.mjs} +5 -5
  340. package/{toon-BA9Q7NHG.mjs.map → toon-BSTQnHed.mjs.map} +1 -1
  341. package/{turn_runner-A-vpLUvj.cjs → turn_runner--tsMLLx4.cjs} +5 -5
  342. package/{turn_runner-A-vpLUvj.cjs.map → turn_runner--tsMLLx4.cjs.map} +1 -1
  343. package/{turn_runner-BmVXcBZ2.mjs → turn_runner-BHHD6h77.mjs} +5 -5
  344. package/{turn_runner-BmVXcBZ2.mjs.map → turn_runner-BHHD6h77.mjs.map} +1 -1
  345. package/turn_runner.cjs +1 -1
  346. package/turn_runner.mjs +1 -1
  347. package/{xml-B1JIGLpU.mjs → xml-CYseDztH.mjs} +5 -5
  348. package/{xml-B1JIGLpU.mjs.map → xml-CYseDztH.mjs.map} +1 -1
  349. package/{xml-Cu7ZvgBQ.cjs → xml-DTOnPN52.cjs} +5 -5
  350. package/{xml-Cu7ZvgBQ.cjs.map → xml-DTOnPN52.cjs.map} +1 -1
  351. package/{yaml-1mP4uxdf.mjs → yaml-BPBoiOjx.mjs} +5 -5
  352. package/{yaml-1mP4uxdf.mjs.map → yaml-BPBoiOjx.mjs.map} +1 -1
  353. package/{yaml-BlB29N68.cjs → yaml-CMrbNWLc.cjs} +5 -5
  354. package/{yaml-BlB29N68.cjs.map → yaml-CMrbNWLc.cjs.map} +1 -1
  355. package/artifact_methods-BvoDGBnH.cjs +0 -1
  356. package/artifact_methods-q52ETLwI.mjs +0 -1
  357. package/spooled_artifact-BkOe4-j-.mjs.map +0 -1
  358. package/spooled_artifact-BoYsldvO.cjs.map +0 -1
package/CHANGELOG.md CHANGED
@@ -15,6 +15,131 @@ you *when* you got it, not *what changed*: a `^` range will float across battery
15
15
  breaking changes, so pin an exact version if you need stability and read the entry before
16
16
  upgrading.
17
17
 
18
+ ## Unreleased
19
+
20
+ ### Fixed
21
+
22
+ - **`PineconeVectorStore.dropCollection` now deletes the namespace itself** (closes issue #51), reclaiming the namespace slot instead of leaving an empty namespace behind. The namespace deletion is conditional on the index being serverless — pod-based indexes keep the previous vectors-only drop, because `deleteNamespace` is unsupported there — and a strong-consistency settle timeout on serverless can no longer skip the reclaim, since the namespace is deleted before the settle. Namespace-absence is tolerated only for structured 404-style signals, so unrelated errors surface instead of being swallowed.
23
+
24
+ - **`@nhtio/adk/batteries/media/engines/execa_executor` — oversized escalation delays no longer busy-loop.** Deadline timers are capped at Node's maximum timer delay and re-armed against the monotonic deadline; `forceKillAfterDelay: Infinity` disables escalation.
25
+
26
+ ### Added
27
+
28
+ - **`@nhtio/adk/batteries/sandbox/node` — `srtBinarySandbox(enforcer, opts?)`, the concrete
29
+ `BinarySandbox` implementor for the SRT enforcer** (closes issue #37, closes issue #20). The sandbox
30
+ battery could refuse and narrate invocations, but there was no bundled way to actually wrap a
31
+ media-era `BinaryExecutor` call with OS enforcement; this factory provides one, derived from an
32
+ existing `srtEnforcer` rather than a second SRT adapter. It reuses the enforcer's single live
33
+ `SandboxManager` session, its validated `binShell`, its one `mapPolicy` translation point, its
34
+ network-divergence admission gate and its host-env allow-list — the "admission + quote +
35
+ `wrapWithSandboxArgv`" part of `run()` was factored into an internal step both execution routes
36
+ call, so the streaming shell path and the settled media path cannot drift. The wrap result sets
37
+ `cmd` to the wrapper binary and `args` to the rest of the generated argv (the caller's argv is
38
+ already inside it — it is never appended twice), overlays the caller's explicit `env` ON TOP of the
39
+ host-env allow-list (which — never `process.env` wholesale — is what controls host inheritance), and
40
+ carries `cwd`, `timeoutMs`, `signal` and the kill controls through. The wrap computes ONE effective
41
+ directory — the invocation's `cwd`, else the factory's `cwd`,
42
+ else `process.cwd()` — and uses it for both the SRT profile and the returned invocation's `cwd`, so
43
+ the profile and the spawn can never disagree. A wrap-time policy must repeat the session's network section exactly (or differ only on
44
+ the FILESYSTEM axis), or the same `E_SANDBOX_NETWORK_GRANT_UNSUPPORTED` the streaming path throws
45
+ fires before anything runs. Exported from `@nhtio/adk/batteries/sandbox/node` only — deliberately
46
+ not re-exported from the node-free `batteries/sandbox` barrel.
47
+ - **`@nhtio/adk/batteries/media/contracts` — `BinaryInvocation` carries `cwd`, `env`, `extendEnv`,
48
+ `killSignal` and `forceKillAfterDelay`; `BinaryExecResult` carries `signalCode`.** `cwd` is
49
+ exec-style and threaded by the bundled executor; `env` holds the caller's own explicit values,
50
+ applied last, with the same semantics the sandbox enforcer contract gives it. The host-env
51
+ allow-list is what controls inheritance from `process.env`, and an adapter must not let `env`
52
+ (or anything else) cause host variables beyond its allow-list to reach the child; explicit values
53
+ may add names or override allow-listed ones. `extendEnv: false` is the inheritance cut-off a
54
+ sandbox needs: execa's `extendEnv: true` default merges the whole `process.env` back in, which
55
+ would silently defeat any host-env allow-list, so `srtBinarySandbox` sets it and `execaExecutor`
56
+ maps it to execa's own `extendEnv: false`.
57
+ `killSignal` (default `'SIGTERM'`) and
58
+ `forceKillAfterDelay` (ms before `SIGKILL`; `false` disables escalation) are the kill controls.
59
+ `signalCode` is optional and additive — absent means the process exited on its own. The type stays
60
+ browser-safe: the signal is typed `string`, no `NodeJS` import.
61
+ - **`@nhtio/adk/batteries/media/engines/execa_executor` — `detached` threads through the whole
62
+ termination path, plus `cwd`/`env`/`extendEnv` forwarding and executor-level `defaultKillSignal` /
63
+ `defaultForceKillAfterDelay`.**
64
+ Invocations are now spawned `detached` (the child leads its own process group) and every abort and
65
+ timeout path terminates the WHOLE group — `process.kill(-pid, signal)`, escalating to `SIGKILL`
66
+ after `forceKillAfterDelay` — so a binary hidden behind a wrapper (sandbox → shell → command) dies
67
+ too, mirroring what `srtEnforcer.run` already did for its own spawns. Group kill needs the process
68
+ handle: `ExecaLike`'s return type now exposes an optional `pid` and the promise, and a BYO
69
+ substitute without a `pid` falls back to execa's own kill rather than failing. With
70
+ `detached: false` the child leads no group, so every path signals, probes and escalates against the
71
+ DIRECT child only (`subprocess.kill`, `process.kill(pid, 0)`) — a group probe there would report the
72
+ target dead and silently skip the escalation — and escalation is cancelled at settlement in this
73
+ direct-child mode, because the reaped child leaves nothing to escalate against and its pid could
74
+ be recycled.
75
+ `process.kill`
76
+ throwing (`ESRCH` on an already-reaped group) is swallowed, abort listeners are removed on settle,
77
+ and no path leaves an unhandled rejection. Non-zero exits remain data and are never thrown.
78
+ - **`@nhtio/adk/batteries/media/engines/execa_executor` — configurable settlement escalation.**
79
+ `BinaryInvocation.settleEscalation` and executor `defaultSettleEscalation` configure how escalation
80
+ behaves after abort/timeout: `'wait'` (default), `'cancel'`, or `'poll'`. Wait holds settlement until
81
+ the detached group is empty or receives its SIGKILL, so no descendant survives at the cost of
82
+ latency bounded by the remaining escalation delay; cancel returns fastest and drops escalation; poll
83
+ returns fastest and watches survivors later with unref'd probes every ~100 ms until the original
84
+ deadline, latching off at the first empty observation. Both group-probing modes retain the narrow
85
+ PGID-reuse risk between probes; wait bounds it to before return. `detached: false` degrades to cancel.
86
+
87
+ ### Changed
88
+
89
+ - **`@nhtio/adk/batteries/media/engines/execa_executor` — detached process groups are now the default.**
90
+ `execaExecutor` spawns children detached as process-group leaders, so terminal-generated
91
+ `SIGINT`/`SIGQUIT` (Ctrl-C) no longer reaches them; they are terminated only through the
92
+ invocation's `signal` or `timeoutMs`. Callers that relied on Ctrl-C reaching children should
93
+ pass an abort signal, or opt out with `execaExecutor({ detached: false })`, which then terminates
94
+ the direct child only (its own `signal`/`timeoutMs` kill, liveness probe and `SIGKILL` escalation)
95
+ and gives up group-killing wrapped grandchildren.
96
+ - **BREAKING `@nhtio/adk/batteries/sandbox` — the `BinarySandbox` contract now takes and returns the
97
+ plain `BinaryInvocation`; the wrapper returns cmd+args and quoting is the wrapper's job** (closes
98
+ issue #37). The previous shape threaded `BinaryInvocation & { command: string }` — a fully-quoted
99
+ shell command line the adapter produced with `quoteShellArgs` — and `sandboxedExecutor` then ran
100
+ `inner.exec({ ...wrapped, cmd: wrapped.command })`, executing the whole quoted command line AS the
101
+ binary name while still appending the original `args`. Nothing in the repo implemented the old
102
+ contract (the only implementation ships in this change), so the break is contained to the interface
103
+ itself: `wrap(invocation)` now receives the invocation verbatim and returns the invocation the
104
+ inner executor should run, whose `cmd`/`args` ARE the wrapped argv. Bypass behaviour is unchanged
105
+ (audit-only, `cmd`-only predicate, loud event). Consumers who implemented `BinarySandbox` against
106
+ the old shape must drop the `command` field handling and return `cmd`/`args` instead — see
107
+ [the media executor docs](/batteries/sandbox/media-executor).
108
+
109
+ ### Fixed
110
+
111
+ - **`@nhtio/adk/batteries/media/engines/execa_executor` — disabled timeouts no longer kill
112
+ immediately.** Executor-owned deadlines now preserve execa 9's `timeout: 0` no-timeout
113
+ semantics; `Infinity` also means no deadline. Finite values above Node's 2,147,483,647 ms timer
114
+ limit likewise disable the deadline rather than being overflow-clamped to 1 ms and terminating
115
+ the process immediately. Negative values and `NaN` reject before spawn, matching execa 9's
116
+ validation behavior.
117
+ - **`@nhtio/adk/batteries/media/engines/execa_executor` — the `SIGKILL` escalation deadline is now
118
+ measured on a MONOTONIC clock, and a deadline timer that fires early RE-ARMS instead of dropping
119
+ out.** The escalation stored `deadline = Date.now() + delay` (wall clock) while arming
120
+ `setTimeout(check, delay)` (monotonic), and `check()` returned without re-arming whenever
121
+ `Date.now() < deadline`. Two reachable cases made that permanent: Node's timers can fire about
122
+ 1ms early, and a backward NTP step puts `Date.now()` behind the arm-time wall clock for as long
123
+ as the step lasts. Either way the deadline timer silently died. Before settlement nothing else
124
+ drove `check()`, so a `detached: true` group whose grandchild ignored the first signal and held
125
+ the stdout pipe never got its `SIGKILL` — execa cannot settle until the pipes close, so `exec()`
126
+ HUNG instead of escalating. The deadline is now
127
+ `performance.now()`-based and never touches `Date.now()`; a `check()` that finds the deadline not
128
+ yet due clears the previous deadline timer and re-arms for the remaining monotonic milliseconds
129
+ (unref'd), so the deadline can never be left unwatched while the escalation is `armed`. The
130
+ deadline is fixed once at `arm()` and never re-based; escalation timers are cancelled on return
131
+ in either detached mode, and every timer is unref'd and fully cleared on cancel/fire.
132
+ - **`@nhtio/adk/batteries/sandbox` — `sandboxedExecutor` no longer mis-executes wrapped commands**
133
+ (closes issue #37, closes issue #20). This is the runtime face of the `BinarySandbox` contract
134
+ change above: `inner.exec({ ...wrapped, cmd: wrapped.command })` used the sandbox's fully-quoted
135
+ shell string as argv[0] — so `bash -c "sh -c 'printf hello'"` looked for an executable literally
136
+ named `sh -c 'printf hello'` (exit 127) — while the caller's original args were appended a second
137
+ time behind it. The adapter now runs the wrapped invocation the `BinarySandbox` returns as-is: the
138
+ wrapped `cmd`/`args` are the complete argv, `quoteShellArgs` is no longer called in the adapter
139
+ itself (quoting belongs to whichever wrapper is in use), and the original args are never re-appended.
140
+ A regression suite pins the passthrough: the wrapper receives the invocation verbatim, the inner
141
+ executor receives exactly `cmd`/`args` back, and bypass skips wrapping unchanged.
142
+
18
143
  ## 2026-10-03
19
144
 
20
145
  ### Fixed
@@ -0,0 +1 @@
1
+ import "./common-oI1niK9Z.mjs";
@@ -0,0 +1 @@
1
+ require("./common-BcB05Isq.cjs");
@@ -1,4 +1,4 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_ecmascript = require("../../ecmascript-ChvxTCXz.cjs");
2
+ const require_ecmascript = require("../../ecmascript-DOv8gVQ5.cjs");
3
3
  exports.E_TYPESCRIPT_PEER_MISSING = require_ecmascript.E_TYPESCRIPT_PEER_MISSING;
4
4
  exports.SpooledEcmaScriptArtifact = require_ecmascript.SpooledEcmaScriptArtifact;
@@ -1,2 +1,2 @@
1
- import { n as E_TYPESCRIPT_PEER_MISSING, t as SpooledEcmaScriptArtifact } from "../../ecmascript-bgwVyZG1.mjs";
1
+ import { n as E_TYPESCRIPT_PEER_MISSING, t as SpooledEcmaScriptArtifact } from "../../ecmascript-B9Z2C24U.mjs";
2
2
  export { E_TYPESCRIPT_PEER_MISSING, SpooledEcmaScriptArtifact };
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_toon = require("../../toon-C8IFssRi.cjs");
2
+ const require_toon = require("../../toon-5c9ceKiU.cjs");
3
3
  exports.E_TOON_DECODE_FAILED = require_toon.E_TOON_DECODE_FAILED;
4
4
  exports.E_TOON_PEER_MISSING = require_toon.E_TOON_PEER_MISSING;
5
5
  exports.SpooledToonArtifact = require_toon.SpooledToonArtifact;
@@ -1,2 +1,2 @@
1
- import { a as E_TOON_PEER_MISSING, i as E_TOON_DECODE_FAILED, n as jsonToToonTool, r as toonToJsonTool, t as SpooledToonArtifact } from "../../toon-BA9Q7NHG.mjs";
1
+ import { a as E_TOON_PEER_MISSING, i as E_TOON_DECODE_FAILED, n as jsonToToonTool, r as toonToJsonTool, t as SpooledToonArtifact } from "../../toon-BSTQnHed.mjs";
2
2
  export { E_TOON_DECODE_FAILED, E_TOON_PEER_MISSING, SpooledToonArtifact, jsonToToonTool, toonToJsonTool };
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_xml = require("../../xml-Cu7ZvgBQ.cjs");
2
+ const require_xml = require("../../xml-DTOnPN52.cjs");
3
3
  exports.E_XML_PARSER_PEER_MISSING = require_xml.E_XML_PARSER_PEER_MISSING;
4
4
  exports.E_XML_PARSE_FAILED = require_xml.E_XML_PARSE_FAILED;
5
5
  exports.SpooledXmlArtifact = require_xml.SpooledXmlArtifact;
@@ -1,2 +1,2 @@
1
- import { a as E_XML_PARSE_FAILED, i as E_XML_PARSER_PEER_MISSING, n as jsonToXmlTool, r as xmlToJsonTool, t as SpooledXmlArtifact } from "../../xml-B1JIGLpU.mjs";
1
+ import { a as E_XML_PARSE_FAILED, i as E_XML_PARSER_PEER_MISSING, n as jsonToXmlTool, r as xmlToJsonTool, t as SpooledXmlArtifact } from "../../xml-CYseDztH.mjs";
2
2
  export { E_XML_PARSER_PEER_MISSING, E_XML_PARSE_FAILED, SpooledXmlArtifact, jsonToXmlTool, xmlToJsonTool };
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_yaml = require("../../yaml-BlB29N68.cjs");
2
+ const require_yaml = require("../../yaml-CMrbNWLc.cjs");
3
3
  exports.E_YAML_PARSE_ERROR = require_yaml.E_YAML_PARSE_ERROR;
4
4
  exports.E_YAML_PEER_MISSING = require_yaml.E_YAML_PEER_MISSING;
5
5
  exports.SpooledYamlArtifact = require_yaml.SpooledYamlArtifact;
@@ -1,2 +1,2 @@
1
- import { a as E_YAML_PEER_MISSING, i as E_YAML_PARSE_ERROR, n as jsonToYamlTool, r as yamlToJsonTool, t as SpooledYamlArtifact } from "../../yaml-1mP4uxdf.mjs";
1
+ import { a as E_YAML_PEER_MISSING, i as E_YAML_PARSE_ERROR, n as jsonToYamlTool, r as yamlToJsonTool, t as SpooledYamlArtifact } from "../../yaml-BPBoiOjx.mjs";
2
2
  export { E_YAML_PARSE_ERROR, E_YAML_PEER_MISSING, SpooledYamlArtifact, jsonToYamlTool, yamlToJsonTool };
@@ -1,8 +1,8 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_toon = require("../toon-C8IFssRi.cjs");
3
- const require_yaml = require("../yaml-BlB29N68.cjs");
4
- const require_xml = require("../xml-Cu7ZvgBQ.cjs");
5
- const require_ecmascript = require("../ecmascript-ChvxTCXz.cjs");
2
+ const require_toon = require("../toon-5c9ceKiU.cjs");
3
+ const require_yaml = require("../yaml-CMrbNWLc.cjs");
4
+ const require_xml = require("../xml-DTOnPN52.cjs");
5
+ const require_ecmascript = require("../ecmascript-DOv8gVQ5.cjs");
6
6
  //#region src/batteries/artifacts/index.ts
7
7
  /**
8
8
  * Registers the four artifact classes with the '@nhtio/encoder' decoder.
@@ -1,7 +1,7 @@
1
- import { a as E_TOON_PEER_MISSING, i as E_TOON_DECODE_FAILED, n as jsonToToonTool, r as toonToJsonTool, t as SpooledToonArtifact } from "../toon-BA9Q7NHG.mjs";
2
- import { a as E_YAML_PEER_MISSING, i as E_YAML_PARSE_ERROR, n as jsonToYamlTool, r as yamlToJsonTool, t as SpooledYamlArtifact } from "../yaml-1mP4uxdf.mjs";
3
- import { a as E_XML_PARSE_FAILED, i as E_XML_PARSER_PEER_MISSING, n as jsonToXmlTool, r as xmlToJsonTool, t as SpooledXmlArtifact } from "../xml-B1JIGLpU.mjs";
4
- import { n as E_TYPESCRIPT_PEER_MISSING, t as SpooledEcmaScriptArtifact } from "../ecmascript-bgwVyZG1.mjs";
1
+ import { a as E_TOON_PEER_MISSING, i as E_TOON_DECODE_FAILED, n as jsonToToonTool, r as toonToJsonTool, t as SpooledToonArtifact } from "../toon-BSTQnHed.mjs";
2
+ import { a as E_YAML_PEER_MISSING, i as E_YAML_PARSE_ERROR, n as jsonToYamlTool, r as yamlToJsonTool, t as SpooledYamlArtifact } from "../yaml-BPBoiOjx.mjs";
3
+ import { a as E_XML_PARSE_FAILED, i as E_XML_PARSER_PEER_MISSING, n as jsonToXmlTool, r as xmlToJsonTool, t as SpooledXmlArtifact } from "../xml-CYseDztH.mjs";
4
+ import { n as E_TYPESCRIPT_PEER_MISSING, t as SpooledEcmaScriptArtifact } from "../ecmascript-B9Z2C24U.mjs";
5
5
  //#region src/batteries/artifacts/index.ts
6
6
  /**
7
7
  * Registers the four artifact classes with the '@nhtio/encoder' decoder.
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_spooled_artifact = require("../../spooled_artifact-BoYsldvO.cjs");
3
- require("../../common-joo6vLu-.cjs");
4
- const require_spooled_markdown_artifact = require("../../spooled_markdown_artifact-DzbydBel.cjs");
2
+ const require_spooled_artifact = require("../../spooled_artifact-DZXsP4s1.cjs");
3
+ require("../../common-BcB05Isq.cjs");
4
+ const require_spooled_markdown_artifact = require("../../spooled_markdown_artifact-Bo0u8cRS.cjs");
5
5
  const require_arg_specs = require("../../arg_specs-iYmIM3wI.cjs");
6
6
  let _nhtio_validation = require("@nhtio/validation");
7
7
  //#region src/batteries/dev_tools/forge.ts
@@ -1,6 +1,6 @@
1
- import { f as Tool } from "../../spooled_artifact-BkOe4-j-.mjs";
2
- import "../../common-B5maOoF_.mjs";
3
- import { n as SpooledJsonArtifact } from "../../spooled_markdown_artifact-Dnl-lCGv.mjs";
1
+ import { p as Tool } from "../../spooled_artifact-Bw_7swIp.mjs";
2
+ import "../../common-oI1niK9Z.mjs";
3
+ import { n as SpooledJsonArtifact } from "../../spooled_markdown_artifact-vd6eNtIP.mjs";
4
4
  import { t as DEV_ARG_SPECS } from "../../arg_specs-H1qM_1QI.mjs";
5
5
  import { validator } from "@nhtio/validation";
6
6
  //#region src/batteries/dev_tools/forge.ts
@@ -1,12 +1,12 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_exceptions = require("../exceptions-DrHnAGQz.cjs");
3
3
  const require_guards = require("../guards-5-XmJgD2.cjs");
4
- const require_tokenizable = require("../tokenizable-DDIdXbJN.cjs");
4
+ const require_tokenizable = require("../tokenizable-BcodRtoW.cjs");
5
5
  require("../factories.cjs");
6
6
  require("../exceptions.cjs");
7
7
  require("../guards.cjs");
8
8
  const require_types = require("../types-PlgkkLqH.cjs");
9
- const require_tools = require("../tools-BHc8qB5I.cjs");
9
+ const require_tools = require("../tools-BjHXlDlV.cjs");
10
10
  const require_fs_node = require("../fs_node-CGGfCOME.cjs");
11
11
  const require_patch = require("../patch-BXX9Q0FM.cjs");
12
12
  const require_arg_specs = require("../arg_specs-iYmIM3wI.cjs");
@@ -1,11 +1,11 @@
1
1
  import { t as createException } from "../exceptions-DRYLe-J4.mjs";
2
2
  import { n as isInstanceOf, r as isObject, t as isError } from "../guards-BEpY7lBI.mjs";
3
- import { k as E_LLM_EXECUTION_GATE_NOT_SUPPORTED } from "../tokenizable-xPXj1AQX.mjs";
3
+ import { D as E_LLM_EXECUTION_GATE_NOT_SUPPORTED } from "../tokenizable-VB4Av8GF.mjs";
4
4
  import "../factories.mjs";
5
5
  import "../exceptions.mjs";
6
6
  import "../guards.mjs";
7
7
  import { h as createExistingSymlinkGuard, m as classifySandboxPathRejection, v as normalizeSandboxPath } from "../types-BRG2MDAN.mjs";
8
- import { i as narratingPath, p as resolveMime } from "../tools-geIlta3C.mjs";
8
+ import { i as narratingPath, p as resolveMime } from "../tools-Vkfht7mU.mjs";
9
9
  import { r as createFsNode } from "../fs_node-B9wdxkWv.mjs";
10
10
  import { a as parseStructuredPatch, c as runOnion, i as normalizeWorkspacePath, n as applyUpdateHunks, o as decodeText, r as isStructuredPatch, s as isTextual, t as applyOperations } from "../patch-BbC0U8aR.mjs";
11
11
  import { t as DEV_ARG_SPECS } from "../arg_specs-H1qM_1QI.mjs";
@@ -1,11 +1,11 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_spooled_artifact = require("../spooled_artifact-BoYsldvO.cjs");
3
- const require_tokenizable = require("../tokenizable-DDIdXbJN.cjs");
4
- const require_retrievable = require("../retrievable-DVkAglIv.cjs");
5
- const require_thought = require("../thought-CXsVh5hS.cjs");
6
- const require_tool_call = require("../tool_call-NvQcPf5d.cjs");
7
- const require_common = require("../common-joo6vLu-.cjs");
8
- const require_spooled_markdown_artifact = require("../spooled_markdown_artifact-DzbydBel.cjs");
2
+ const require_spooled_artifact = require("../spooled_artifact-DZXsP4s1.cjs");
3
+ const require_tokenizable = require("../tokenizable-BcodRtoW.cjs");
4
+ const require_thought = require("../thought-C12mqaKQ.cjs");
5
+ const require_retrievable = require("../retrievable-BOuQSDHF.cjs");
6
+ const require_tool_call = require("../tool_call-CsBOpKsg.cjs");
7
+ const require_common = require("../common-BcB05Isq.cjs");
8
+ const require_spooled_markdown_artifact = require("../spooled_markdown_artifact-Bo0u8cRS.cjs");
9
9
  require("../index.cjs");
10
10
  const require_batteries_storage_in_memory = require("./storage/in_memory.cjs");
11
11
  let _nhtio_encoder = require("@nhtio/encoder");
@@ -1,10 +1,10 @@
1
- import { r as Tokenizable } from "../tokenizable-xPXj1AQX.mjs";
2
- import { c as resolveMediaReader, d as ArtifactTool, f as Tool, g as ToolRegistry, l as resolveSpoolReader, m as Registry, o as registerMediaReaderResolver, s as registerSpoolReaderResolver, t as SpooledArtifact } from "../spooled_artifact-BkOe4-j-.mjs";
3
- import { t as Retrievable } from "../retrievable-CrGKx4sc.mjs";
4
- import { i as Identity, n as Message, r as Memory, t as Thought } from "../thought-BrQt6HAb.mjs";
5
- import { n as Media, o as decodeBase64, t as ToolCall } from "../tool_call-8crmZsO8.mjs";
6
- import { a as inMemoryMediaReader, n as MEDIA_READER_TAG_IN_MEMORY, r as fromFetch, t as MEDIA_READER_TAG_FETCH } from "../common-B5maOoF_.mjs";
7
- import { n as SpooledJsonArtifact, t as SpooledMarkdownArtifact } from "../spooled_markdown_artifact-Dnl-lCGv.mjs";
1
+ import { r as Tokenizable } from "../tokenizable-VB4Av8GF.mjs";
2
+ import { c as resolveMediaReader, d as ToolRegistry, f as ArtifactTool, g as Registry, l as resolveSpoolReader, o as registerMediaReaderResolver, p as Tool, s as registerSpoolReaderResolver, t as SpooledArtifact } from "../spooled_artifact-Bw_7swIp.mjs";
3
+ import { i as Identity, n as Message, r as Memory, t as Thought } from "../thought-CxSaF6Xf.mjs";
4
+ import { t as Retrievable } from "../retrievable-CXTAUuuv.mjs";
5
+ import { n as Media, o as decodeBase64, t as ToolCall } from "../tool_call-Cfaj-6zK.mjs";
6
+ import { a as inMemoryMediaReader, n as MEDIA_READER_TAG_IN_MEMORY, r as fromFetch, t as MEDIA_READER_TAG_FETCH } from "../common-oI1niK9Z.mjs";
7
+ import { n as SpooledJsonArtifact, t as SpooledMarkdownArtifact } from "../spooled_markdown_artifact-vd6eNtIP.mjs";
8
8
  import "../index.mjs";
9
9
  import { InMemorySpoolReader, SPOOL_READER_TAG_IN_MEMORY } from "./storage/in_memory.mjs";
10
10
  import { registerClass } from "@nhtio/encoder";
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_guards = require("../../../guards-5-XmJgD2.cjs");
3
- const require_tool_call = require("../../../tool_call-NvQcPf5d.cjs");
3
+ const require_tool_call = require("../../../tool_call-CsBOpKsg.cjs");
4
4
  require("../../../guards.cjs");
5
5
  const require_lib_utils_retry = require("../../../lib/utils/retry.cjs");
6
6
  const require_batteries_generation__shared = require("../_shared.cjs");
@@ -1,5 +1,5 @@
1
1
  import { t as isError } from "../../../guards-BEpY7lBI.mjs";
2
- import { o as decodeBase64, s as encodeBase64 } from "../../../tool_call-8crmZsO8.mjs";
2
+ import { o as decodeBase64, s as encodeBase64 } from "../../../tool_call-Cfaj-6zK.mjs";
3
3
  import "../../../guards.mjs";
4
4
  import { computeBackoff, parseRetryAfter, sleepWithJitter } from "../../../lib/utils/retry.mjs";
5
5
  import { toBytes } from "../_shared.mjs";
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_guards = require("../../../guards-5-XmJgD2.cjs");
3
- const require_tool_call = require("../../../tool_call-NvQcPf5d.cjs");
3
+ const require_tool_call = require("../../../tool_call-CsBOpKsg.cjs");
4
4
  require("../../../guards.cjs");
5
5
  const require_lifecycle = require("../../../lifecycle-vYQJ2rmf.cjs");
6
6
  const require_batteries_generation__shared = require("../_shared.cjs");
@@ -1,5 +1,5 @@
1
1
  import { t as isError } from "../../../guards-BEpY7lBI.mjs";
2
- import { o as decodeBase64, s as encodeBase64 } from "../../../tool_call-8crmZsO8.mjs";
2
+ import { o as decodeBase64, s as encodeBase64 } from "../../../tool_call-Cfaj-6zK.mjs";
3
3
  import "../../../guards.mjs";
4
4
  import { n as emitLifecycle } from "../../../lifecycle-C4kwYJ-N.mjs";
5
5
  import { toBytes } from "../_shared.mjs";
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_guards = require("../../../guards-5-XmJgD2.cjs");
3
- const require_tool_call = require("../../../tool_call-NvQcPf5d.cjs");
3
+ const require_tool_call = require("../../../tool_call-CsBOpKsg.cjs");
4
4
  require("../../../guards.cjs");
5
5
  const require_lib_utils_retry = require("../../../lib/utils/retry.cjs");
6
6
  const require_batteries_generation__shared = require("../_shared.cjs");
@@ -1,5 +1,5 @@
1
1
  import { t as isError } from "../../../guards-BEpY7lBI.mjs";
2
- import { o as decodeBase64 } from "../../../tool_call-8crmZsO8.mjs";
2
+ import { o as decodeBase64 } from "../../../tool_call-Cfaj-6zK.mjs";
3
3
  import "../../../guards.mjs";
4
4
  import { computeBackoff, parseRetryAfter, sleepWithJitter } from "../../../lib/utils/retry.mjs";
5
5
  import { toBytes } from "../_shared.mjs";
@@ -1,15 +1,15 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_spooled_artifact = require("../../../spooled_artifact-BoYsldvO.cjs");
2
+ const require_spooled_artifact = require("../../../spooled_artifact-DZXsP4s1.cjs");
3
3
  const require_guards = require("../../../guards-5-XmJgD2.cjs");
4
- const require_tokenizable = require("../../../tokenizable-DDIdXbJN.cjs");
5
- const require_thought = require("../../../thought-CXsVh5hS.cjs");
6
- const require_tool_call = require("../../../tool_call-NvQcPf5d.cjs");
7
- require("../../../common-joo6vLu-.cjs");
4
+ const require_tokenizable = require("../../../tokenizable-BcodRtoW.cjs");
5
+ const require_thought = require("../../../thought-C12mqaKQ.cjs");
6
+ const require_tool_call = require("../../../tool_call-CsBOpKsg.cjs");
7
+ require("../../../common-BcB05Isq.cjs");
8
8
  require("../../../guards.cjs");
9
9
  const require_lib_utils_retry = require("../../../lib/utils/retry.cjs");
10
10
  const require_tool_parsers = require("../../../tool_parsers-8_qO0a_F.cjs");
11
11
  const require_batteries_storage_in_memory = require("../../storage/in_memory.cjs");
12
- const require_helpers = require("../../../helpers-D6ebO8Vc.cjs");
12
+ const require_helpers = require("../../../helpers-CiZnHmxC.cjs");
13
13
  const require_batteries_llm_anthropic_messages_exceptions = require("./exceptions.cjs");
14
14
  const require_batteries_llm_anthropic_messages_validation = require("./validation.cjs");
15
15
  const require_batteries_llm_anthropic_messages_error_translation = require("./error_translation.cjs");
@@ -1,14 +1,14 @@
1
1
  import { n as isInstanceOf, r as isObject, t as isError } from "../../../guards-BEpY7lBI.mjs";
2
- import { r as Tokenizable } from "../../../tokenizable-xPXj1AQX.mjs";
3
- import { d as ArtifactTool, h as canonicalStringify, t as SpooledArtifact } from "../../../spooled_artifact-BkOe4-j-.mjs";
4
- import { n as Message, t as Thought } from "../../../thought-BrQt6HAb.mjs";
5
- import { n as Media, t as ToolCall } from "../../../tool_call-8crmZsO8.mjs";
6
- import "../../../common-B5maOoF_.mjs";
2
+ import { r as Tokenizable } from "../../../tokenizable-VB4Av8GF.mjs";
3
+ import { f as ArtifactTool, h as canonicalStringify, t as SpooledArtifact } from "../../../spooled_artifact-Bw_7swIp.mjs";
4
+ import { n as Message, t as Thought } from "../../../thought-CxSaF6Xf.mjs";
5
+ import { n as Media, t as ToolCall } from "../../../tool_call-Cfaj-6zK.mjs";
6
+ import "../../../common-oI1niK9Z.mjs";
7
7
  import "../../../guards.mjs";
8
8
  import { computeBackoff, linkAbortSignals, parseRetryAfter, sleepWithJitter } from "../../../lib/utils/retry.mjs";
9
9
  import { O as resolveToolCallParser } from "../../../tool_parsers-DgZhgxV8.mjs";
10
10
  import { InMemorySpoolStore } from "../../storage/in_memory.mjs";
11
- import { C as looksLikeSpooledArtifact, E as normalizeToolName, _ as defaultRenderUntrustedContent, a as defaultRenderArtifactHandleBody, c as defaultRenderMemories, d as defaultRenderRetrievables, f as defaultRenderStandingInstructions, g as defaultRenderTrustedContent, h as defaultRenderThought, i as defaultFilterThoughts, l as defaultRenderRetrievableHandleBody, m as defaultRenderThirdPartyPublicRetrievables, o as defaultRenderChatCompletionsSystemPrompt, p as defaultRenderThirdPartyPrivateRetrievables, r as defaultDescriptionToChatCompletionsJsonSchema, s as defaultRenderFirstPartyRetrievables, u as defaultRenderRetrievableSafetyDirective, v as defaultToolsToChatCompletionsTools } from "../../../helpers-C1T0DV8Q.mjs";
11
+ import { C as looksLikeSpooledArtifact, E as normalizeToolName, _ as defaultRenderUntrustedContent, a as defaultRenderArtifactHandleBody, c as defaultRenderMemories, d as defaultRenderRetrievables, f as defaultRenderStandingInstructions, g as defaultRenderTrustedContent, h as defaultRenderThought, i as defaultFilterThoughts, l as defaultRenderRetrievableHandleBody, m as defaultRenderThirdPartyPublicRetrievables, o as defaultRenderChatCompletionsSystemPrompt, p as defaultRenderThirdPartyPrivateRetrievables, r as defaultDescriptionToChatCompletionsJsonSchema, s as defaultRenderFirstPartyRetrievables, u as defaultRenderRetrievableSafetyDirective, v as defaultToolsToChatCompletionsTools } from "../../../helpers-mbn_EsDV.mjs";
12
12
  import { E_ANTHROPIC_MESSAGES_CONTEXT_OVERFLOW, E_ANTHROPIC_MESSAGES_HTTP_ERROR, E_ANTHROPIC_MESSAGES_INVALID_TOOL_CALL_ARGS, E_ANTHROPIC_MESSAGES_REQUEST_TIMEOUT, E_ANTHROPIC_MESSAGES_STREAM_ERROR, E_ANTHROPIC_MESSAGES_STREAM_STALLED, E_INVALID_ANTHROPIC_MESSAGES_OPTIONS } from "./exceptions.mjs";
13
13
  import { validateOptions } from "./validation.mjs";
14
14
  import { anthropicErrorHeaders, translateAnthropicError } from "./error_translation.mjs";
@@ -1,10 +1,10 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_spooled_artifact = require("../../../spooled_artifact-BoYsldvO.cjs");
2
+ const require_spooled_artifact = require("../../../spooled_artifact-DZXsP4s1.cjs");
3
3
  const require_guards = require("../../../guards-5-XmJgD2.cjs");
4
4
  const require_guards$1 = require("../../../guards.cjs");
5
5
  require("../../../index.cjs");
6
6
  const require_lib_utils_retry = require("../../../lib/utils/retry.cjs");
7
- const require_helpers = require("../../../helpers-D6ebO8Vc.cjs");
7
+ const require_helpers = require("../../../helpers-CiZnHmxC.cjs");
8
8
  const require_batteries_llm_anthropic_messages_exceptions = require("./exceptions.cjs");
9
9
  const require_batteries_llm_anthropic_messages_validation = require("./validation.cjs");
10
10
  const require_batteries_llm_anthropic_messages_error_translation = require("./error_translation.cjs");
@@ -2,7 +2,7 @@ import { r as isObject } from "../../../guards-BEpY7lBI.mjs";
2
2
  import { isDispatchContext } from "../../../guards.mjs";
3
3
  import "../../../index.mjs";
4
4
  import { computeBackoff, linkAbortSignals, parseRetryAfter, sleepWithJitter } from "../../../lib/utils/retry.mjs";
5
- import { _ as defaultRenderUntrustedContent, c as defaultRenderMemories, d as defaultRenderRetrievables, f as defaultRenderStandingInstructions, g as defaultRenderTrustedContent, h as defaultRenderThought, i as defaultFilterThoughts, l as defaultRenderRetrievableHandleBody, m as defaultRenderThirdPartyPublicRetrievables, o as defaultRenderChatCompletionsSystemPrompt, p as defaultRenderThirdPartyPrivateRetrievables, r as defaultDescriptionToChatCompletionsJsonSchema, s as defaultRenderFirstPartyRetrievables, u as defaultRenderRetrievableSafetyDirective, v as defaultToolsToChatCompletionsTools } from "../../../helpers-C1T0DV8Q.mjs";
5
+ import { _ as defaultRenderUntrustedContent, c as defaultRenderMemories, d as defaultRenderRetrievables, f as defaultRenderStandingInstructions, g as defaultRenderTrustedContent, h as defaultRenderThought, i as defaultFilterThoughts, l as defaultRenderRetrievableHandleBody, m as defaultRenderThirdPartyPublicRetrievables, o as defaultRenderChatCompletionsSystemPrompt, p as defaultRenderThirdPartyPrivateRetrievables, r as defaultDescriptionToChatCompletionsJsonSchema, s as defaultRenderFirstPartyRetrievables, u as defaultRenderRetrievableSafetyDirective, v as defaultToolsToChatCompletionsTools } from "../../../helpers-mbn_EsDV.mjs";
6
6
  import { E_ANTHROPIC_MESSAGES_CONTEXT_OVERFLOW, E_ANTHROPIC_MESSAGES_HTTP_ERROR, E_ANTHROPIC_MESSAGES_REQUEST_TIMEOUT, E_INVALID_ANTHROPIC_MESSAGES_OPTIONS } from "./exceptions.mjs";
7
7
  import { validateOptions } from "./validation.mjs";
8
8
  import { anthropicErrorHeaders, translateAnthropicError } from "./error_translation.mjs";
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_tool_call = require("../../../tool_call-NvQcPf5d.cjs");
3
- require("../../../common-joo6vLu-.cjs");
4
- const require_helpers = require("../../../helpers-D6ebO8Vc.cjs");
2
+ const require_tool_call = require("../../../tool_call-CsBOpKsg.cjs");
3
+ require("../../../common-BcB05Isq.cjs");
4
+ const require_helpers = require("../../../helpers-CiZnHmxC.cjs");
5
5
  const require_batteries_llm_anthropic_messages_exceptions = require("./exceptions.cjs");
6
6
  //#region src/batteries/llm/anthropic_messages/helpers.ts
7
7
  /**
@@ -1,6 +1,6 @@
1
- import { n as Media } from "../../../tool_call-8crmZsO8.mjs";
2
- import "../../../common-B5maOoF_.mjs";
3
- import { A as renderMemories, B as retrievableToAttrs, C as looksLikeSpooledArtifact, D as renderArtifactHandleBody, F as renderThirdPartyPrivateRetrievables, G as toolsToChatCompletionsTools, H as sanitizeFilenameForDescription, I as renderThirdPartyPublicRetrievables, L as renderThought, M as renderRetrievableSafetyDirective, N as renderRetrievables, O as renderChatCompletionsSystemPrompt, P as renderStandingInstructions, R as renderTrustedContent, S as floorTrustTier, T as neutraliseDeveloperRulesTag, U as sanitizeMimeType, _ as defaultRenderUntrustedContent, a as defaultRenderArtifactHandleBody, b as escapeXmlAttribute, c as defaultRenderMemories, d as defaultRenderRetrievables, f as defaultRenderStandingInstructions, g as defaultRenderTrustedContent, h as defaultRenderThought, i as defaultFilterThoughts, j as renderRetrievableHandleBody, k as renderFirstPartyRetrievables, l as defaultRenderRetrievableHandleBody, m as defaultRenderThirdPartyPublicRetrievables, o as defaultRenderChatCompletionsSystemPrompt, p as defaultRenderThirdPartyPrivateRetrievables, r as defaultDescriptionToChatCompletionsJsonSchema, s as defaultRenderFirstPartyRetrievables, t as canonicalFingerprint, u as defaultRenderRetrievableSafetyDirective, v as defaultToolsToChatCompletionsTools, w as memoryToAttrs, x as filterThoughts, y as descriptionToChatCompletionsJsonSchema, z as renderUntrustedContent } from "../../../helpers-C1T0DV8Q.mjs";
1
+ import { n as Media } from "../../../tool_call-Cfaj-6zK.mjs";
2
+ import "../../../common-oI1niK9Z.mjs";
3
+ import { A as renderMemories, B as retrievableToAttrs, C as looksLikeSpooledArtifact, D as renderArtifactHandleBody, F as renderThirdPartyPrivateRetrievables, G as toolsToChatCompletionsTools, H as sanitizeFilenameForDescription, I as renderThirdPartyPublicRetrievables, L as renderThought, M as renderRetrievableSafetyDirective, N as renderRetrievables, O as renderChatCompletionsSystemPrompt, P as renderStandingInstructions, R as renderTrustedContent, S as floorTrustTier, T as neutraliseDeveloperRulesTag, U as sanitizeMimeType, _ as defaultRenderUntrustedContent, a as defaultRenderArtifactHandleBody, b as escapeXmlAttribute, c as defaultRenderMemories, d as defaultRenderRetrievables, f as defaultRenderStandingInstructions, g as defaultRenderTrustedContent, h as defaultRenderThought, i as defaultFilterThoughts, j as renderRetrievableHandleBody, k as renderFirstPartyRetrievables, l as defaultRenderRetrievableHandleBody, m as defaultRenderThirdPartyPublicRetrievables, o as defaultRenderChatCompletionsSystemPrompt, p as defaultRenderThirdPartyPrivateRetrievables, r as defaultDescriptionToChatCompletionsJsonSchema, s as defaultRenderFirstPartyRetrievables, t as canonicalFingerprint, u as defaultRenderRetrievableSafetyDirective, v as defaultToolsToChatCompletionsTools, w as memoryToAttrs, x as filterThoughts, y as descriptionToChatCompletionsJsonSchema, z as renderUntrustedContent } from "../../../helpers-mbn_EsDV.mjs";
4
4
  import { E_ANTHROPIC_MESSAGES_UNSUPPORTED_MEDIA_MODALITY } from "./exceptions.mjs";
5
5
  //#region src/batteries/llm/anthropic_messages/helpers.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_tokenizable = require("../../../tokenizable-DDIdXbJN.cjs");
3
- const require_common = require("../../../common-joo6vLu-.cjs");
2
+ const require_tokenizable = require("../../../tokenizable-BcodRtoW.cjs");
3
+ const require_common = require("../../../common-BcB05Isq.cjs");
4
4
  const require_batteries_llm_anthropic_messages_exceptions = require("./exceptions.cjs");
5
5
  let _nhtio_validation = require("@nhtio/validation");
6
6
  //#region src/batteries/llm/anthropic_messages/validation.ts
@@ -1,5 +1,5 @@
1
- import { n as TokenEncoding } from "../../../tokenizable-xPXj1AQX.mjs";
2
- import { o as byteStoreSchema } from "../../../common-B5maOoF_.mjs";
1
+ import { n as TokenEncoding } from "../../../tokenizable-VB4Av8GF.mjs";
2
+ import { o as byteStoreSchema } from "../../../common-oI1niK9Z.mjs";
3
3
  import { E_INVALID_ANTHROPIC_MESSAGES_OPTIONS } from "./exceptions.mjs";
4
4
  import { validator } from "@nhtio/validation";
5
5
  //#region src/batteries/llm/anthropic_messages/validation.ts
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_helpers = require("../../helpers-D6ebO8Vc.cjs");
3
- const require_chat_common = require("../../chat_common-DlIK1IAn.cjs");
2
+ const require_helpers = require("../../helpers-CiZnHmxC.cjs");
3
+ const require_chat_common = require("../../chat_common-vSxDBGgr.cjs");
4
4
  const require_batteries_llm_anthropic_messages_exceptions = require("./anthropic_messages/exceptions.cjs");
5
5
  const require_batteries_llm_anthropic_messages_validation = require("./anthropic_messages/validation.cjs");
6
6
  const require_batteries_llm_anthropic_messages_error_translation = require("./anthropic_messages/error_translation.cjs");
@@ -1,5 +1,5 @@
1
- import { A as renderMemories, D as renderArtifactHandleBody, F as renderThirdPartyPrivateRetrievables, G as toolsToChatCompletionsTools, I as renderThirdPartyPublicRetrievables, L as renderThought, M as renderRetrievableSafetyDirective, N as renderRetrievables, O as renderChatCompletionsSystemPrompt, P as renderStandingInstructions, R as renderTrustedContent, _ as defaultRenderUntrustedContent, a as defaultRenderArtifactHandleBody, c as defaultRenderMemories, d as defaultRenderRetrievables, f as defaultRenderStandingInstructions, g as defaultRenderTrustedContent, h as defaultRenderThought, i as defaultFilterThoughts, k as renderFirstPartyRetrievables, m as defaultRenderThirdPartyPublicRetrievables, o as defaultRenderChatCompletionsSystemPrompt, p as defaultRenderThirdPartyPrivateRetrievables, r as defaultDescriptionToChatCompletionsJsonSchema, s as defaultRenderFirstPartyRetrievables, u as defaultRenderRetrievableSafetyDirective, v as defaultToolsToChatCompletionsTools, x as filterThoughts, y as descriptionToChatCompletionsJsonSchema, z as renderUntrustedContent } from "../../helpers-C1T0DV8Q.mjs";
2
- import { t as deCollideToolCallIds } from "../../chat_common-CeoHwSsz.mjs";
1
+ import { A as renderMemories, D as renderArtifactHandleBody, F as renderThirdPartyPrivateRetrievables, G as toolsToChatCompletionsTools, I as renderThirdPartyPublicRetrievables, L as renderThought, M as renderRetrievableSafetyDirective, N as renderRetrievables, O as renderChatCompletionsSystemPrompt, P as renderStandingInstructions, R as renderTrustedContent, _ as defaultRenderUntrustedContent, a as defaultRenderArtifactHandleBody, c as defaultRenderMemories, d as defaultRenderRetrievables, f as defaultRenderStandingInstructions, g as defaultRenderTrustedContent, h as defaultRenderThought, i as defaultFilterThoughts, k as renderFirstPartyRetrievables, m as defaultRenderThirdPartyPublicRetrievables, o as defaultRenderChatCompletionsSystemPrompt, p as defaultRenderThirdPartyPrivateRetrievables, r as defaultDescriptionToChatCompletionsJsonSchema, s as defaultRenderFirstPartyRetrievables, u as defaultRenderRetrievableSafetyDirective, v as defaultToolsToChatCompletionsTools, x as filterThoughts, y as descriptionToChatCompletionsJsonSchema, z as renderUntrustedContent } from "../../helpers-mbn_EsDV.mjs";
2
+ import { t as deCollideToolCallIds } from "../../chat_common-DKw8FDol.mjs";
3
3
  import { E_ANTHROPIC_MESSAGES_CONTEXT_OVERFLOW, E_ANTHROPIC_MESSAGES_HTTP_ERROR, E_ANTHROPIC_MESSAGES_INVALID_TOOL_CALL_ARGS, E_ANTHROPIC_MESSAGES_REQUEST_TIMEOUT, E_ANTHROPIC_MESSAGES_STREAM_ERROR, E_ANTHROPIC_MESSAGES_STREAM_STALLED, E_ANTHROPIC_MESSAGES_UNSUPPORTED_MEDIA_MODALITY, E_INVALID_ANTHROPIC_MESSAGES_OPTIONS } from "./anthropic_messages/exceptions.mjs";
4
4
  import { anthropicMessagesOptionsSchema, validateOptions } from "./anthropic_messages/validation.mjs";
5
5
  import { CONTEXT_OVERFLOW_PHRASE, translateAnthropicError } from "./anthropic_messages/error_translation.mjs";
@@ -1,14 +1,14 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_spooled_artifact = require("../../../spooled_artifact-BoYsldvO.cjs");
2
+ const require_spooled_artifact = require("../../../spooled_artifact-DZXsP4s1.cjs");
3
3
  const require_guards = require("../../../guards-5-XmJgD2.cjs");
4
- const require_tokenizable = require("../../../tokenizable-DDIdXbJN.cjs");
5
- const require_thought = require("../../../thought-CXsVh5hS.cjs");
6
- const require_tool_call = require("../../../tool_call-NvQcPf5d.cjs");
7
- require("../../../common-joo6vLu-.cjs");
4
+ const require_tokenizable = require("../../../tokenizable-BcodRtoW.cjs");
5
+ const require_thought = require("../../../thought-C12mqaKQ.cjs");
6
+ const require_tool_call = require("../../../tool_call-CsBOpKsg.cjs");
7
+ require("../../../common-BcB05Isq.cjs");
8
8
  require("../../../guards.cjs");
9
9
  const require_lib_utils_retry = require("../../../lib/utils/retry.cjs");
10
10
  const require_tool_parsers = require("../../../tool_parsers-8_qO0a_F.cjs");
11
- const require_helpers = require("../../../helpers-D6ebO8Vc.cjs");
11
+ const require_helpers = require("../../../helpers-CiZnHmxC.cjs");
12
12
  const require_batteries_llm_bedrock_converse_exceptions = require("./exceptions.cjs");
13
13
  const require_batteries_llm_bedrock_converse_validation = require("./validation.cjs");
14
14
  const require_batteries_llm_bedrock_converse_helpers = require("./helpers.cjs");
@@ -1,13 +1,13 @@
1
1
  import { n as isInstanceOf, r as isObject, t as isError } from "../../../guards-BEpY7lBI.mjs";
2
- import { r as Tokenizable } from "../../../tokenizable-xPXj1AQX.mjs";
3
- import { h as canonicalStringify } from "../../../spooled_artifact-BkOe4-j-.mjs";
4
- import { n as Message, t as Thought } from "../../../thought-BrQt6HAb.mjs";
5
- import { t as ToolCall } from "../../../tool_call-8crmZsO8.mjs";
6
- import "../../../common-B5maOoF_.mjs";
2
+ import { r as Tokenizable } from "../../../tokenizable-VB4Av8GF.mjs";
3
+ import { h as canonicalStringify } from "../../../spooled_artifact-Bw_7swIp.mjs";
4
+ import { n as Message, t as Thought } from "../../../thought-CxSaF6Xf.mjs";
5
+ import { t as ToolCall } from "../../../tool_call-Cfaj-6zK.mjs";
6
+ import "../../../common-oI1niK9Z.mjs";
7
7
  import "../../../guards.mjs";
8
8
  import { computeBackoff, linkAbortSignals, parseRetryAfter, sleepWithJitter } from "../../../lib/utils/retry.mjs";
9
9
  import { O as resolveToolCallParser } from "../../../tool_parsers-DgZhgxV8.mjs";
10
- import { A as renderMemories, E as normalizeToolName, F as renderThirdPartyPrivateRetrievables, I as renderThirdPartyPublicRetrievables, L as renderThought, M as renderRetrievableSafetyDirective, N as renderRetrievables, O as renderChatCompletionsSystemPrompt, P as renderStandingInstructions, R as renderTrustedContent, k as renderFirstPartyRetrievables, x as filterThoughts, y as descriptionToChatCompletionsJsonSchema, z as renderUntrustedContent } from "../../../helpers-C1T0DV8Q.mjs";
10
+ import { A as renderMemories, E as normalizeToolName, F as renderThirdPartyPrivateRetrievables, I as renderThirdPartyPublicRetrievables, L as renderThought, M as renderRetrievableSafetyDirective, N as renderRetrievables, O as renderChatCompletionsSystemPrompt, P as renderStandingInstructions, R as renderTrustedContent, k as renderFirstPartyRetrievables, x as filterThoughts, y as descriptionToChatCompletionsJsonSchema, z as renderUntrustedContent } from "../../../helpers-mbn_EsDV.mjs";
11
11
  import { E_BEDROCK_CONVERSE_CONTEXT_OVERFLOW, E_CONVERSE_ALTERNATION_VIOLATION, E_CONVERSE_INVALID_TOOL_INPUT, E_CONVERSE_MISSING_TOOL_CONFIG, E_CONVERSE_REQUEST_FAILED, E_CONVERSE_STREAM_ERROR, E_INVALID_BEDROCK_CONVERSE_OPTIONS } from "./exceptions.mjs";
12
12
  import { validateOptions } from "./validation.mjs";
13
13
  import { DEFAULT_CONVERSE_BUCKET_ORDER, buildConverseRequest, extractConverseGeneration, mediaToConverseImage, renderConverseToolResult, toolsToConverseTools } from "./helpers.mjs";
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_guards = require("../../../guards-5-XmJgD2.cjs");
3
3
  require("../../../guards.cjs");
4
- const require_helpers = require("../../../helpers-D6ebO8Vc.cjs");
4
+ const require_helpers = require("../../../helpers-CiZnHmxC.cjs");
5
5
  //#region src/batteries/llm/bedrock_converse/helpers.ts
6
6
  /**
7
7
  * Translation helpers for the native Bedrock Converse battery.