@nhtio/adk 1.20260925.0 → 1.20260928.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.
- package/CHANGELOG.md +39 -0
- package/artifact_methods-Cg0go7Q4.mjs +1 -0
- package/artifact_methods-CxeKTocm.cjs +1 -0
- package/batteries/artifacts/ecmascript.cjs +1 -1
- package/batteries/artifacts/ecmascript.mjs +1 -1
- package/batteries/artifacts/toon.cjs +1 -1
- package/batteries/artifacts/toon.mjs +1 -1
- package/batteries/artifacts/xml.cjs +1 -1
- package/batteries/artifacts/xml.mjs +1 -1
- package/batteries/artifacts/yaml.cjs +1 -1
- package/batteries/artifacts/yaml.mjs +1 -1
- package/batteries/artifacts.cjs +4 -4
- package/batteries/artifacts.mjs +4 -4
- package/batteries/dev-tools/forge.cjs +3 -3
- package/batteries/dev-tools/forge.mjs +3 -3
- package/batteries/dev-tools.cjs +3 -3
- package/batteries/dev-tools.mjs +3 -3
- package/batteries/encoding.cjs +7 -7
- package/batteries/encoding.mjs +7 -7
- package/batteries/generation/gemini/adapter.cjs +1 -1
- package/batteries/generation/gemini/adapter.mjs +1 -1
- package/batteries/generation/local_diffusion/adapter.cjs +1 -1
- package/batteries/generation/local_diffusion/adapter.mjs +1 -1
- package/batteries/generation/openai/adapter.cjs +1 -1
- package/batteries/generation/openai/adapter.mjs +1 -1
- package/batteries/isolation/child_process.cjs +1 -1
- package/batteries/isolation/child_process.mjs +1 -1
- package/batteries/isolation.cjs +1 -1
- package/batteries/isolation.mjs +1 -1
- package/batteries/llm/anthropic_messages/adapter.cjs +6 -6
- package/batteries/llm/anthropic_messages/adapter.mjs +6 -6
- package/batteries/llm/anthropic_messages/count_tokens.cjs +1 -1
- package/batteries/llm/anthropic_messages/count_tokens.mjs +1 -1
- package/batteries/llm/anthropic_messages/helpers.cjs +3 -3
- package/batteries/llm/anthropic_messages/helpers.mjs +3 -3
- package/batteries/llm/anthropic_messages/validation.cjs +2 -2
- package/batteries/llm/anthropic_messages/validation.mjs +2 -2
- package/batteries/llm/anthropic_messages.cjs +2 -2
- package/batteries/llm/anthropic_messages.mjs +2 -2
- package/batteries/llm/bedrock_converse/adapter.cjs +6 -6
- package/batteries/llm/bedrock_converse/adapter.mjs +6 -6
- package/batteries/llm/bedrock_converse/helpers.cjs +1 -1
- package/batteries/llm/bedrock_converse/helpers.mjs +1 -1
- package/batteries/llm/bedrock_converse/validation.cjs +2 -2
- package/batteries/llm/bedrock_converse/validation.mjs +2 -2
- package/batteries/llm/bedrock_converse.cjs +2 -2
- package/batteries/llm/bedrock_converse.mjs +2 -2
- package/batteries/llm/claude_code_cli/adapter.cjs +7 -7
- package/batteries/llm/claude_code_cli/adapter.mjs +7 -7
- package/batteries/llm/claude_code_cli/helpers.cjs +3 -3
- package/batteries/llm/claude_code_cli/helpers.mjs +3 -3
- package/batteries/llm/claude_code_cli/validation.cjs +2 -2
- package/batteries/llm/claude_code_cli/validation.mjs +2 -2
- package/batteries/llm/claude_code_cli.cjs +2 -2
- package/batteries/llm/claude_code_cli.mjs +2 -2
- package/batteries/llm/gemini_generate_content/adapter.cjs +6 -6
- package/batteries/llm/gemini_generate_content/adapter.mjs +6 -6
- package/batteries/llm/gemini_generate_content/helpers.cjs +1 -1
- package/batteries/llm/gemini_generate_content/helpers.mjs +1 -1
- package/batteries/llm/gemini_generate_content/validation.cjs +2 -2
- package/batteries/llm/gemini_generate_content/validation.mjs +2 -2
- package/batteries/llm/gemini_generate_content.cjs +1 -1
- package/batteries/llm/gemini_generate_content.mjs +1 -1
- package/batteries/llm/litert_lm/adapter.cjs +6 -6
- package/batteries/llm/litert_lm/adapter.mjs +6 -6
- package/batteries/llm/litert_lm/helpers.cjs +3 -3
- package/batteries/llm/litert_lm/helpers.mjs +3 -3
- package/batteries/llm/litert_lm/validation.cjs +2 -2
- package/batteries/llm/litert_lm/validation.mjs +2 -2
- package/batteries/llm/litert_lm.cjs +1 -1
- package/batteries/llm/litert_lm.mjs +1 -1
- package/batteries/llm/ollama/adapter.cjs +6 -6
- package/batteries/llm/ollama/adapter.mjs +6 -6
- package/batteries/llm/ollama/helpers.cjs +4 -4
- package/batteries/llm/ollama/helpers.mjs +4 -4
- package/batteries/llm/ollama/validation.cjs +2 -2
- package/batteries/llm/ollama/validation.mjs +2 -2
- package/batteries/llm/ollama.cjs +2 -2
- package/batteries/llm/ollama.mjs +2 -2
- package/batteries/llm/openai_chat_completions/adapter.cjs +6 -6
- package/batteries/llm/openai_chat_completions/adapter.mjs +6 -6
- package/batteries/llm/openai_chat_completions/helpers.cjs +4 -4
- package/batteries/llm/openai_chat_completions/helpers.mjs +4 -4
- package/batteries/llm/openai_chat_completions/validation.cjs +2 -2
- package/batteries/llm/openai_chat_completions/validation.mjs +2 -2
- package/batteries/llm/openai_chat_completions.cjs +2 -2
- package/batteries/llm/openai_chat_completions.mjs +2 -2
- package/batteries/llm/openai_responses/adapter.cjs +6 -6
- package/batteries/llm/openai_responses/adapter.mjs +6 -6
- package/batteries/llm/openai_responses/helpers.cjs +3 -3
- package/batteries/llm/openai_responses/helpers.mjs +3 -3
- package/batteries/llm/openai_responses/validation.cjs +2 -2
- package/batteries/llm/openai_responses/validation.mjs +2 -2
- package/batteries/llm/openai_responses.cjs +2 -2
- package/batteries/llm/openai_responses.mjs +2 -2
- package/batteries/llm/transformers_js/adapter.cjs +6 -6
- package/batteries/llm/transformers_js/adapter.mjs +6 -6
- package/batteries/llm/transformers_js/helpers.cjs +3 -3
- package/batteries/llm/transformers_js/helpers.mjs +3 -3
- package/batteries/llm/transformers_js/validation.cjs +2 -2
- package/batteries/llm/transformers_js/validation.mjs +2 -2
- package/batteries/llm/transformers_js.cjs +1 -1
- package/batteries/llm/transformers_js.mjs +1 -1
- package/batteries/llm/webllm_chat_completions/adapter.cjs +6 -6
- package/batteries/llm/webllm_chat_completions/adapter.mjs +6 -6
- package/batteries/llm/webllm_chat_completions/helpers.cjs +1 -1
- package/batteries/llm/webllm_chat_completions/helpers.mjs +1 -1
- package/batteries/llm/webllm_chat_completions/validation.cjs +2 -2
- package/batteries/llm/webllm_chat_completions/validation.mjs +2 -2
- package/batteries/llm/webllm_chat_completions.cjs +2 -2
- package/batteries/llm/webllm_chat_completions.mjs +2 -2
- package/batteries/llm.cjs +2 -2
- package/batteries/llm.mjs +2 -2
- package/batteries/media/forge.cjs +4 -4
- package/batteries/media/forge.mjs +4 -4
- package/batteries/media/lint.cjs +1 -1
- package/batteries/media/lint.mjs +1 -1
- package/batteries/orchestration/cells/jexl.cjs +1 -1
- package/batteries/orchestration/cells/jexl.mjs +1 -1
- package/batteries/orchestration/cells/lua.cjs +1 -1
- package/batteries/orchestration/cells/lua.mjs +1 -1
- package/batteries/orchestration/cells/structured.cjs +1 -1
- package/batteries/orchestration/cells/structured.mjs +1 -1
- package/batteries/orchestration/dispatch_reasoner.cjs +4 -4
- package/batteries/orchestration/dispatch_reasoner.mjs +4 -4
- package/batteries/orchestration/executor.cjs +2 -2
- package/batteries/orchestration/executor.mjs +2 -2
- package/batteries/orchestration/forge.cjs +3 -3
- package/batteries/orchestration/forge.mjs +3 -3
- package/batteries/orchestration/validation.cjs +2 -2
- package/batteries/orchestration/validation.mjs +2 -2
- package/batteries/orchestration.cjs +3 -3
- package/batteries/orchestration.mjs +3 -3
- package/batteries/sandbox/js.cjs +1 -1
- package/batteries/sandbox/js.mjs +1 -1
- package/batteries/sandbox/tools.cjs +1 -1
- package/batteries/sandbox/tools.mjs +1 -1
- package/batteries/sandbox.cjs +4 -4
- package/batteries/sandbox.mjs +4 -4
- package/batteries/skills/in_memory.cjs +1 -1
- package/batteries/skills/in_memory.mjs +1 -1
- package/batteries/skills.cjs +9 -9
- package/batteries/skills.mjs +9 -9
- package/batteries/specialists/stt/transformers_js.cjs +1 -1
- package/batteries/specialists/stt/transformers_js.mjs +1 -1
- package/batteries/specialists/stt.cjs +1 -1
- package/batteries/specialists/stt.mjs +1 -1
- package/batteries/specialists.cjs +1 -1
- package/batteries/specialists.mjs +1 -1
- package/batteries/tools/_shared.cjs +2 -2
- package/batteries/tools/_shared.mjs +2 -2
- package/batteries/tools/color.cjs +2 -2
- package/batteries/tools/color.mjs +2 -2
- package/batteries/tools/comparison.cjs +2 -2
- package/batteries/tools/comparison.mjs +2 -2
- package/batteries/tools/data_structure.cjs +2 -2
- package/batteries/tools/data_structure.mjs +2 -2
- package/batteries/tools/datetime_extended.cjs +2 -2
- package/batteries/tools/datetime_extended.mjs +2 -2
- package/batteries/tools/datetime_math.cjs +2 -2
- package/batteries/tools/datetime_math.mjs +2 -2
- package/batteries/tools/encoding.cjs +2 -2
- package/batteries/tools/encoding.mjs +2 -2
- package/batteries/tools/formatting.cjs +2 -2
- package/batteries/tools/formatting.mjs +2 -2
- package/batteries/tools/geo_basics.cjs +2 -2
- package/batteries/tools/geo_basics.mjs +2 -2
- package/batteries/tools/math.cjs +2 -2
- package/batteries/tools/math.mjs +2 -2
- package/batteries/tools/memory.cjs +4 -4
- package/batteries/tools/memory.mjs +4 -4
- package/batteries/tools/parsing.cjs +3 -3
- package/batteries/tools/parsing.mjs +3 -3
- package/batteries/tools/retrievables.cjs +4 -4
- package/batteries/tools/retrievables.mjs +4 -4
- package/batteries/tools/scrapper.cjs +1 -1
- package/batteries/tools/scrapper.mjs +1 -1
- package/batteries/tools/searxng.cjs +1 -1
- package/batteries/tools/searxng.mjs +1 -1
- package/batteries/tools/standing_instructions.cjs +3 -3
- package/batteries/tools/standing_instructions.mjs +3 -3
- package/batteries/tools/statistics.cjs +3 -3
- package/batteries/tools/statistics.mjs +3 -3
- package/batteries/tools/string_processing.cjs +2 -2
- package/batteries/tools/string_processing.mjs +2 -2
- package/batteries/tools/structured_data.cjs +2 -2
- package/batteries/tools/structured_data.mjs +2 -2
- package/batteries/tools/text_analysis.cjs +3 -3
- package/batteries/tools/text_analysis.mjs +3 -3
- package/batteries/tools/text_comparison.cjs +2 -2
- package/batteries/tools/text_comparison.mjs +2 -2
- package/batteries/tools/time.cjs +2 -2
- package/batteries/tools/time.mjs +2 -2
- package/batteries/tools/unit_conversion.cjs +2 -2
- package/batteries/tools/unit_conversion.mjs +2 -2
- package/batteries/tools.cjs +2 -2
- package/batteries/tools.mjs +2 -2
- package/batteries/validation.cjs +5 -5
- package/batteries/validation.mjs +5 -5
- package/batteries/vector/conformance.cjs +59 -0
- package/batteries/vector/conformance.cjs.map +1 -1
- package/batteries/vector/conformance.mjs +59 -0
- package/batteries/vector/conformance.mjs.map +1 -1
- package/batteries/vector/lancedb.cjs +1 -1
- package/batteries/vector/lancedb.cjs.map +1 -1
- package/batteries/vector/lancedb.mjs +1 -1
- package/batteries/vector/lancedb.mjs.map +1 -1
- package/batteries/vector/retrievable.cjs +1 -1
- package/batteries/vector/retrievable.mjs +1 -1
- package/batteries/vector/sqlite_vec/index.d.ts +1 -1
- package/batteries/vector/sqlite_vec.cjs +19 -30
- package/batteries/vector/sqlite_vec.cjs.map +1 -1
- package/batteries/vector/sqlite_vec.mjs +20 -31
- package/batteries/vector/sqlite_vec.mjs.map +1 -1
- package/batteries.cjs +6 -6
- package/batteries.mjs +6 -6
- package/{chat_common-4huaTp6d.cjs → chat_common-CNayzS1V.cjs} +2 -2
- package/{chat_common-4huaTp6d.cjs.map → chat_common-CNayzS1V.cjs.map} +1 -1
- package/{chat_common-D_XGNjcK.mjs → chat_common-DKw8FDol.mjs} +2 -2
- package/{chat_common-D_XGNjcK.mjs.map → chat_common-DKw8FDol.mjs.map} +1 -1
- package/{common-BiRzOsxe.cjs → common-CqetsItm.cjs} +7 -7
- package/{common-BiRzOsxe.cjs.map → common-CqetsItm.cjs.map} +1 -1
- package/{common-DsLvTGmm.mjs → common-oI1niK9Z.mjs} +7 -7
- package/{common-DsLvTGmm.mjs.map → common-oI1niK9Z.mjs.map} +1 -1
- package/common.cjs +7 -7
- package/common.mjs +7 -7
- package/{dispatch_runner-DDH_dGPU.mjs → dispatch_runner-BZDXUe0G.mjs} +4 -4
- package/{dispatch_runner-DDH_dGPU.mjs.map → dispatch_runner-BZDXUe0G.mjs.map} +1 -1
- package/{dispatch_runner-C5S3KCqH.cjs → dispatch_runner-DDUxXJC3.cjs} +4 -4
- package/{dispatch_runner-C5S3KCqH.cjs.map → dispatch_runner-DDUxXJC3.cjs.map} +1 -1
- package/dispatch_runner.cjs +1 -1
- package/dispatch_runner.mjs +1 -1
- package/{ecmascript-CWLZ7bCX.mjs → ecmascript-B9Z2C24U.mjs} +5 -5
- package/{ecmascript-CWLZ7bCX.mjs.map → ecmascript-B9Z2C24U.mjs.map} +1 -1
- package/{ecmascript-BGr_0Dwn.cjs → ecmascript-BYfmjg7y.cjs} +5 -5
- package/{ecmascript-BGr_0Dwn.cjs.map → ecmascript-BYfmjg7y.cjs.map} +1 -1
- package/eslint/rules.cjs +1 -1
- package/eslint/rules.mjs +1 -1
- package/eslint.cjs +3 -3
- package/eslint.mjs +3 -3
- package/exceptions.cjs +1 -1
- package/exceptions.mjs +1 -1
- package/forge.cjs +2 -2
- package/forge.mjs +2 -2
- package/guards.cjs +7 -7
- package/guards.mjs +7 -7
- package/{helpers-BPi_iwxv.cjs → helpers-DPlh_7Bn.cjs} +3 -3
- package/{helpers-BPi_iwxv.cjs.map → helpers-DPlh_7Bn.cjs.map} +1 -1
- package/{helpers-D47G8WQb.mjs → helpers-mbn_EsDV.mjs} +3 -3
- package/{helpers-D47G8WQb.mjs.map → helpers-mbn_EsDV.mjs.map} +1 -1
- package/index.cjs +11 -11
- package/index.mjs +11 -11
- package/{isolation-B2FgKbap.cjs → isolation-B01xCIoV.cjs} +2 -2
- package/{isolation-B2FgKbap.cjs.map → isolation-B01xCIoV.cjs.map} +1 -1
- package/{isolation-BRGpiU-K.mjs → isolation-CO0NiK8R.mjs} +2 -2
- package/{isolation-BRGpiU-K.mjs.map → isolation-CO0NiK8R.mjs.map} +1 -1
- package/{manifest-B5bWMHgj.mjs → manifest-D8UTRohY.mjs} +2 -2
- package/{manifest-B5bWMHgj.mjs.map → manifest-D8UTRohY.mjs.map} +1 -1
- package/{manifest-Chjh-3s1.cjs → manifest-IP1IOJcg.cjs} +2 -2
- package/{manifest-Chjh-3s1.cjs.map → manifest-IP1IOJcg.cjs.map} +1 -1
- package/mcp/adk-docs-corpus.json +2 -2
- package/package.json +538 -538
- package/{predicates-C9jl2QPZ.cjs → predicates-Bzaa7gNI.cjs} +2 -2
- package/{predicates-C9jl2QPZ.cjs.map → predicates-Bzaa7gNI.cjs.map} +1 -1
- package/{predicates-2dZQ82LY.mjs → predicates-CM27Z3TF.mjs} +2 -2
- package/{predicates-2dZQ82LY.mjs.map → predicates-CM27Z3TF.mjs.map} +1 -1
- package/{retrievable-ReauMJxJ.cjs → retrievable-Bq-O3k6r.cjs} +3 -3
- package/{retrievable-ReauMJxJ.cjs.map → retrievable-Bq-O3k6r.cjs.map} +1 -1
- package/{retrievable-mFgC1aty.mjs → retrievable-CXTAUuuv.mjs} +3 -3
- package/{retrievable-mFgC1aty.mjs.map → retrievable-CXTAUuuv.mjs.map} +1 -1
- package/{scrapper-BsEY0Wo6.cjs → scrapper-B8xG9lTD.cjs} +5 -5
- package/{scrapper-BsEY0Wo6.cjs.map → scrapper-B8xG9lTD.cjs.map} +1 -1
- package/{scrapper-bShwZxKP.mjs → scrapper-DiQ5FfDL.mjs} +5 -5
- package/{scrapper-bShwZxKP.mjs.map → scrapper-DiQ5FfDL.mjs.map} +1 -1
- package/{searxng-CAY-bOMl.mjs → searxng-BFTJ6rTE.mjs} +5 -5
- package/{searxng-CAY-bOMl.mjs.map → searxng-BFTJ6rTE.mjs.map} +1 -1
- package/{searxng-CLF0vBMT.cjs → searxng-EJhWRnIE.cjs} +5 -5
- package/{searxng-CLF0vBMT.cjs.map → searxng-EJhWRnIE.cjs.map} +1 -1
- package/server.json +2 -2
- package/skills/adk-assembly/SKILL.md +2 -2
- package/{spooled_artifact-CFjf6ULg.cjs → spooled_artifact---DmicFW.cjs} +384 -384
- package/spooled_artifact---DmicFW.cjs.map +1 -0
- package/{spooled_artifact-B710Rb0d.mjs → spooled_artifact-Bw_7swIp.mjs} +385 -385
- package/spooled_artifact-Bw_7swIp.mjs.map +1 -0
- package/spooled_artifact.cjs +2 -2
- package/spooled_artifact.mjs +2 -2
- package/{spooled_markdown_artifact-PWppwnPQ.cjs → spooled_markdown_artifact-Rjzj-kyh.cjs} +3 -3
- package/{spooled_markdown_artifact-PWppwnPQ.cjs.map → spooled_markdown_artifact-Rjzj-kyh.cjs.map} +1 -1
- package/{spooled_markdown_artifact-1C4mmi73.mjs → spooled_markdown_artifact-vd6eNtIP.mjs} +3 -3
- package/{spooled_markdown_artifact-1C4mmi73.mjs.map → spooled_markdown_artifact-vd6eNtIP.mjs.map} +1 -1
- package/{thought-BKXwUZoq.mjs → thought-CxSaF6Xf.mjs} +3 -3
- package/{thought-BKXwUZoq.mjs.map → thought-CxSaF6Xf.mjs.map} +1 -1
- package/{thought-D5fJsxBW.cjs → thought-Dp3sMWW6.cjs} +3 -3
- package/{thought-D5fJsxBW.cjs.map → thought-Dp3sMWW6.cjs.map} +1 -1
- package/{tokenizable-DDIdXbJN.cjs → tokenizable-BcodRtoW.cjs} +29 -29
- package/{tokenizable-DDIdXbJN.cjs.map → tokenizable-BcodRtoW.cjs.map} +1 -1
- package/{tokenizable-xPXj1AQX.mjs → tokenizable-VB4Av8GF.mjs} +30 -30
- package/{tokenizable-xPXj1AQX.mjs.map → tokenizable-VB4Av8GF.mjs.map} +1 -1
- package/{tool_call-CDV5pW13.cjs → tool_call-B9px4W9k.cjs} +3 -3
- package/{tool_call-CDV5pW13.cjs.map → tool_call-B9px4W9k.cjs.map} +1 -1
- package/{tool_call-D-LqMvpU.mjs → tool_call-Cfaj-6zK.mjs} +3 -3
- package/{tool_call-D-LqMvpU.mjs.map → tool_call-Cfaj-6zK.mjs.map} +1 -1
- package/{tools-CvCMdAd7.mjs → tools-D0MBDh2R.mjs} +6 -6
- package/{tools-CvCMdAd7.mjs.map → tools-D0MBDh2R.mjs.map} +1 -1
- package/{tools-CACuuMV4.cjs → tools-aNbi6JyA.cjs} +6 -6
- package/{tools-CACuuMV4.cjs.map → tools-aNbi6JyA.cjs.map} +1 -1
- package/{toon-CCjuuzd_.mjs → toon-BSTQnHed.mjs} +6 -6
- package/{toon-CCjuuzd_.mjs.map → toon-BSTQnHed.mjs.map} +1 -1
- package/{toon-B7Q9RWJF.cjs → toon-DmLwZ6H1.cjs} +6 -6
- package/{toon-B7Q9RWJF.cjs.map → toon-DmLwZ6H1.cjs.map} +1 -1
- package/{transformers_js-DM01eAzh.cjs → transformers_js-7OzeS_Tp.cjs} +2 -2
- package/{transformers_js-DM01eAzh.cjs.map → transformers_js-7OzeS_Tp.cjs.map} +1 -1
- package/{transformers_js-BR2Ov0Su.mjs → transformers_js-p3lAkHFH.mjs} +2 -2
- package/{transformers_js-BR2Ov0Su.mjs.map → transformers_js-p3lAkHFH.mjs.map} +1 -1
- package/{turn_runner-BgPw9uqb.mjs → turn_runner-BHHD6h77.mjs} +4 -4
- package/{turn_runner-BgPw9uqb.mjs.map → turn_runner-BHHD6h77.mjs.map} +1 -1
- package/{turn_runner-CP2zxSlu.cjs → turn_runner-Dj7JsUTQ.cjs} +4 -4
- package/{turn_runner-CP2zxSlu.cjs.map → turn_runner-Dj7JsUTQ.cjs.map} +1 -1
- package/turn_runner.cjs +1 -1
- package/turn_runner.mjs +1 -1
- package/{xml-BqTTIFhv.mjs → xml-CYseDztH.mjs} +6 -6
- package/{xml-BqTTIFhv.mjs.map → xml-CYseDztH.mjs.map} +1 -1
- package/{xml-viE54OTe.cjs → xml-zJul8jMQ.cjs} +6 -6
- package/{xml-viE54OTe.cjs.map → xml-zJul8jMQ.cjs.map} +1 -1
- package/{yaml-B1So-pUR.mjs → yaml-BPBoiOjx.mjs} +6 -6
- package/{yaml-B1So-pUR.mjs.map → yaml-BPBoiOjx.mjs.map} +1 -1
- package/{yaml-cGhhPyZq.cjs → yaml-D0PzoRAr.cjs} +6 -6
- package/{yaml-cGhhPyZq.cjs.map → yaml-D0PzoRAr.cjs.map} +1 -1
- package/artifact_methods-9BemAvd4.mjs +0 -1
- package/artifact_methods-FKgk4q_1.cjs +0 -1
- package/spooled_artifact-B710Rb0d.mjs.map +0 -1
- package/spooled_artifact-CFjf6ULg.cjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -15,6 +15,45 @@ 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
|
+
## 2026-09-28
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
- **`@nhtio/adk/batteries/vector/sqlite_vec` — `renameCollection` now throws instead of leaving a
|
|
23
|
+
collection that can't be searched** (closes issue #41). A collection is a `vec0` virtual table
|
|
24
|
+
plus shadow tables sqlite-vec creates alongside it (`<name>_chunks`, `_info`, `_rowids`,
|
|
25
|
+
`_vector_chunks00`). The adapter renamed the owning table and its `__meta` table with plain
|
|
26
|
+
`ALTER TABLE`. sqlite-vec 0.1.9 implements no `xRename` hook, so that succeeds but renames only
|
|
27
|
+
the virtual table's own entry and never moves its shadow tables, and a "successful" rename left
|
|
28
|
+
a collection that failed every subsequent search with `no such table: main.<new>_chunks`, with
|
|
29
|
+
no error at rename time. Finishing the job by hand isn't
|
|
30
|
+
possible either: the core shadow tables (`_chunks`, `_info`, `_rowids`) reject a direct rename
|
|
31
|
+
outright (`table <name>_chunks may not be altered`). `capabilities.rename` is now `false` and
|
|
32
|
+
`renameCollection` throws `E_VECTOR_STORE_UNSUPPORTED_OPERATION` up front, before touching anything.
|
|
33
|
+
**Callers who renamed a sqlite_vec collection previously got a broken collection with no indication
|
|
34
|
+
anything was wrong; they now get a clear error at the call site instead.** The workaround is the same
|
|
35
|
+
shape as any backend without in-place rename: create the new collection, copy the records across
|
|
36
|
+
with a filter scan (`.select('id', 'vector', 'document', 'metadata')`), verify the copy is complete,
|
|
37
|
+
then drop the old one — see the sqlite_vec entry in
|
|
38
|
+
[the adapter matrix](/batteries/vector/adapters) for the exact snippet and the requirement to
|
|
39
|
+
stop writes to the source for the whole operation. While in there, every SQL identifier the adapter
|
|
40
|
+
interpolates (collection and `__meta`
|
|
41
|
+
table names, across create/drop/upsert/search/delete) is now escaped against embedded double
|
|
42
|
+
quotes, so a collection name containing a `"` no longer produces a broken statement.
|
|
43
|
+
- **`@nhtio/adk/batteries/vector/lancedb` — `capabilities.rename` is now `false`, matching
|
|
44
|
+
`renameCollection`'s existing behavior** (closes issue #41). The adapter's `renameCollection`
|
|
45
|
+
always threw `E_VECTOR_STORE_UNSUPPORTED_OPERATION` — `connection.renameTable` is a LanceDB Cloud
|
|
46
|
+
feature that LanceDB OSS (what this adapter drives) rejects with `LanceDBError: not supported:
|
|
47
|
+
rename_table is not supported in LanceDB OSS` — but `capabilities.rename` still advertised `true`,
|
|
48
|
+
so a caller checking the capability before calling would wrongly conclude rename was safe to try.
|
|
49
|
+
|
|
50
|
+
### Internal
|
|
51
|
+
|
|
52
|
+
- **The vector-store conformance suite now exercises `renameCollection` against
|
|
53
|
+
`capabilities.rename`.** Every adapter advertising `rename: true` renames a live collection with
|
|
54
|
+
records in it and confirms the old name is gone, the new name is searchable, and further writes
|
|
55
|
+
land; every adapter advertising `rename: false` is confirmed to reject the call.
|
|
56
|
+
|
|
18
57
|
## 2026-09-25
|
|
19
58
|
|
|
20
59
|
### Fixed
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./common-oI1niK9Z.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require("./common-CqetsItm.cjs");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../chunk-Cek0wNdY.cjs");
|
|
3
|
-
const require_ecmascript = require("../../ecmascript-
|
|
3
|
+
const require_ecmascript = require("../../ecmascript-BYfmjg7y.cjs");
|
|
4
4
|
exports.E_TYPESCRIPT_PEER_MISSING = require_ecmascript.E_TYPESCRIPT_PEER_MISSING;
|
|
5
5
|
exports.SpooledEcmaScriptArtifact = require_ecmascript.SpooledEcmaScriptArtifact;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as E_TYPESCRIPT_PEER_MISSING, t as SpooledEcmaScriptArtifact } from "../../ecmascript-
|
|
1
|
+
import { n as E_TYPESCRIPT_PEER_MISSING, t as SpooledEcmaScriptArtifact } from "../../ecmascript-B9Z2C24U.mjs";
|
|
2
2
|
export { E_TYPESCRIPT_PEER_MISSING, SpooledEcmaScriptArtifact };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../chunk-Cek0wNdY.cjs");
|
|
3
|
-
const require_toon = require("../../toon-
|
|
3
|
+
const require_toon = require("../../toon-DmLwZ6H1.cjs");
|
|
4
4
|
exports.E_TOON_DECODE_FAILED = require_toon.E_TOON_DECODE_FAILED;
|
|
5
5
|
exports.E_TOON_PEER_MISSING = require_toon.E_TOON_PEER_MISSING;
|
|
6
6
|
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-
|
|
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,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../chunk-Cek0wNdY.cjs");
|
|
3
|
-
const require_xml = require("../../xml-
|
|
3
|
+
const require_xml = require("../../xml-zJul8jMQ.cjs");
|
|
4
4
|
exports.E_XML_PARSER_PEER_MISSING = require_xml.E_XML_PARSER_PEER_MISSING;
|
|
5
5
|
exports.E_XML_PARSE_FAILED = require_xml.E_XML_PARSE_FAILED;
|
|
6
6
|
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-
|
|
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,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../chunk-Cek0wNdY.cjs");
|
|
3
|
-
const require_yaml = require("../../yaml-
|
|
3
|
+
const require_yaml = require("../../yaml-D0PzoRAr.cjs");
|
|
4
4
|
exports.E_YAML_PARSE_ERROR = require_yaml.E_YAML_PARSE_ERROR;
|
|
5
5
|
exports.E_YAML_PEER_MISSING = require_yaml.E_YAML_PEER_MISSING;
|
|
6
6
|
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-
|
|
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 };
|
package/batteries/artifacts.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../chunk-Cek0wNdY.cjs");
|
|
3
|
-
const require_toon = require("../toon-
|
|
4
|
-
const require_yaml = require("../yaml-
|
|
5
|
-
const require_xml = require("../xml-
|
|
6
|
-
const require_ecmascript = require("../ecmascript-
|
|
3
|
+
const require_toon = require("../toon-DmLwZ6H1.cjs");
|
|
4
|
+
const require_yaml = require("../yaml-D0PzoRAr.cjs");
|
|
5
|
+
const require_xml = require("../xml-zJul8jMQ.cjs");
|
|
6
|
+
const require_ecmascript = require("../ecmascript-BYfmjg7y.cjs");
|
|
7
7
|
//#region src/batteries/artifacts/index.ts
|
|
8
8
|
/**
|
|
9
9
|
* Registers the four artifact classes with the '@nhtio/encoder' decoder.
|
package/batteries/artifacts.mjs
CHANGED
|
@@ -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-
|
|
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-
|
|
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-
|
|
4
|
-
import { n as E_TYPESCRIPT_PEER_MISSING, t as SpooledEcmaScriptArtifact } from "../ecmascript-
|
|
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,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../chunk-Cek0wNdY.cjs");
|
|
3
|
-
const require_spooled_artifact = require("../../spooled_artifact
|
|
4
|
-
require("../../common-
|
|
5
|
-
const require_spooled_markdown_artifact = require("../../spooled_markdown_artifact-
|
|
3
|
+
const require_spooled_artifact = require("../../spooled_artifact---DmicFW.cjs");
|
|
4
|
+
require("../../common-CqetsItm.cjs");
|
|
5
|
+
const require_spooled_markdown_artifact = require("../../spooled_markdown_artifact-Rjzj-kyh.cjs");
|
|
6
6
|
const require_arg_specs = require("../../arg_specs-iYmIM3wI.cjs");
|
|
7
7
|
let _nhtio_validation = require("@nhtio/validation");
|
|
8
8
|
//#region src/batteries/dev_tools/forge.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "../../common-
|
|
3
|
-
import { n as SpooledJsonArtifact } from "../../spooled_markdown_artifact-
|
|
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
|
package/batteries/dev-tools.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../chunk-Cek0wNdY.cjs");
|
|
3
3
|
const require_exceptions = require("../exceptions-DrHnAGQz.cjs");
|
|
4
|
-
require("../factories.cjs");
|
|
5
4
|
const require_guards = require("../guards-5-XmJgD2.cjs");
|
|
6
|
-
const require_tokenizable = require("../tokenizable-
|
|
5
|
+
const require_tokenizable = require("../tokenizable-BcodRtoW.cjs");
|
|
6
|
+
require("../factories.cjs");
|
|
7
7
|
require("../exceptions.cjs");
|
|
8
8
|
require("../guards.cjs");
|
|
9
9
|
const require_types = require("../types-DWOiL208.cjs");
|
|
10
|
-
const require_tools = require("../tools-
|
|
10
|
+
const require_tools = require("../tools-aNbi6JyA.cjs");
|
|
11
11
|
const require_fs_node = require("../fs_node-XvgZtNJV.cjs");
|
|
12
12
|
const require_patch = require("../patch-BXX9Q0FM.cjs");
|
|
13
13
|
const require_arg_specs = require("../arg_specs-iYmIM3wI.cjs");
|
package/batteries/dev-tools.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as createException } from "../exceptions-DRYLe-J4.mjs";
|
|
2
|
-
import "../factories.mjs";
|
|
3
2
|
import { n as isInstanceOf, r as isObject, t as isError } from "../guards-BEpY7lBI.mjs";
|
|
4
|
-
import {
|
|
3
|
+
import { D as E_LLM_EXECUTION_GATE_NOT_SUPPORTED } from "../tokenizable-VB4Av8GF.mjs";
|
|
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-D6X_aUIb.mjs";
|
|
8
|
-
import { i as narratingPath, p as resolveMime } from "../tools-
|
|
8
|
+
import { i as narratingPath, p as resolveMime } from "../tools-D0MBDh2R.mjs";
|
|
9
9
|
import { r as createFsNode } from "../fs_node-Cg__jYMW.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";
|
package/batteries/encoding.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../chunk-Cek0wNdY.cjs");
|
|
3
|
-
const require_tokenizable = require("../tokenizable-
|
|
4
|
-
const require_spooled_artifact = require("../spooled_artifact
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const require_tool_call = require("../tool_call-
|
|
8
|
-
const require_common = require("../common-
|
|
9
|
-
const require_spooled_markdown_artifact = require("../spooled_markdown_artifact-
|
|
3
|
+
const require_tokenizable = require("../tokenizable-BcodRtoW.cjs");
|
|
4
|
+
const require_spooled_artifact = require("../spooled_artifact---DmicFW.cjs");
|
|
5
|
+
const require_thought = require("../thought-Dp3sMWW6.cjs");
|
|
6
|
+
const require_retrievable = require("../retrievable-Bq-O3k6r.cjs");
|
|
7
|
+
const require_tool_call = require("../tool_call-B9px4W9k.cjs");
|
|
8
|
+
const require_common = require("../common-CqetsItm.cjs");
|
|
9
|
+
const require_spooled_markdown_artifact = require("../spooled_markdown_artifact-Rjzj-kyh.cjs");
|
|
10
10
|
require("../index.cjs");
|
|
11
11
|
const require_batteries_storage_in_memory = require("./storage/in_memory.cjs");
|
|
12
12
|
let _nhtio_encoder = require("@nhtio/encoder");
|
package/batteries/encoding.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { r as Tokenizable } from "../tokenizable-
|
|
2
|
-
import { c as resolveMediaReader, d as
|
|
3
|
-
import { t as
|
|
4
|
-
import {
|
|
5
|
-
import { n as Media, o as decodeBase64, t as ToolCall } from "../tool_call-
|
|
6
|
-
import { a as inMemoryMediaReader, n as MEDIA_READER_TAG_IN_MEMORY, r as fromFetch, t as MEDIA_READER_TAG_FETCH } from "../common-
|
|
7
|
-
import { n as SpooledJsonArtifact, t as SpooledMarkdownArtifact } from "../spooled_markdown_artifact-
|
|
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,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../../chunk-Cek0wNdY.cjs");
|
|
3
3
|
const require_guards = require("../../../guards-5-XmJgD2.cjs");
|
|
4
|
-
const require_tool_call = require("../../../tool_call-
|
|
4
|
+
const require_tool_call = require("../../../tool_call-B9px4W9k.cjs");
|
|
5
5
|
require("../../../guards.cjs");
|
|
6
6
|
const require_lib_utils_retry = require("../../../lib/utils/retry.cjs");
|
|
7
7
|
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-
|
|
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,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../../chunk-Cek0wNdY.cjs");
|
|
3
3
|
const require_guards = require("../../../guards-5-XmJgD2.cjs");
|
|
4
|
-
const require_tool_call = require("../../../tool_call-
|
|
4
|
+
const require_tool_call = require("../../../tool_call-B9px4W9k.cjs");
|
|
5
5
|
require("../../../guards.cjs");
|
|
6
6
|
const require_lifecycle = require("../../../lifecycle-vYQJ2rmf.cjs");
|
|
7
7
|
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-
|
|
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,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../../chunk-Cek0wNdY.cjs");
|
|
3
3
|
const require_guards = require("../../../guards-5-XmJgD2.cjs");
|
|
4
|
-
const require_tool_call = require("../../../tool_call-
|
|
4
|
+
const require_tool_call = require("../../../tool_call-B9px4W9k.cjs");
|
|
5
5
|
require("../../../guards.cjs");
|
|
6
6
|
const require_lib_utils_retry = require("../../../lib/utils/retry.cjs");
|
|
7
7
|
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-
|
|
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";
|
|
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
require("../../chunk-Cek0wNdY.cjs");
|
|
3
3
|
const require_guards = require("../../guards-5-XmJgD2.cjs");
|
|
4
4
|
require("../../guards.cjs");
|
|
5
|
-
const require_isolation = require("../../isolation-
|
|
5
|
+
const require_isolation = require("../../isolation-B01xCIoV.cjs");
|
|
6
6
|
let _nhtio_validation = require("@nhtio/validation");
|
|
7
7
|
let node_child_process = require("node:child_process");
|
|
8
8
|
//#region src/batteries/isolation/child_process/transport.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as isInstanceOf, t as isError } from "../../guards-BEpY7lBI.mjs";
|
|
2
2
|
import "../../guards.mjs";
|
|
3
|
-
import { C as E_INVALID_ISOLATION_OPTIONS, k as E_ISOLATION_UNSUPPORTED_ENV, s as createIsolatedService } from "../../isolation-
|
|
3
|
+
import { C as E_INVALID_ISOLATION_OPTIONS, k as E_ISOLATION_UNSUPPORTED_ENV, s as createIsolatedService } from "../../isolation-CO0NiK8R.mjs";
|
|
4
4
|
import { validator } from "@nhtio/validation";
|
|
5
5
|
import { fork } from "node:child_process";
|
|
6
6
|
//#region src/batteries/isolation/child_process/transport.ts
|
package/batteries/isolation.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../chunk-Cek0wNdY.cjs");
|
|
3
|
-
const require_isolation = require("../isolation-
|
|
3
|
+
const require_isolation = require("../isolation-B01xCIoV.cjs");
|
|
4
4
|
exports.DEFAULT_CRASH_POLICY_MAX_CRASHES = require_isolation.DEFAULT_CRASH_POLICY_MAX_CRASHES;
|
|
5
5
|
exports.DEFAULT_CRASH_POLICY_WINDOW_MS = require_isolation.DEFAULT_CRASH_POLICY_WINDOW_MS;
|
|
6
6
|
exports.E_INVALID_ISOLATION_OPTIONS = require_isolation.E_INVALID_ISOLATION_OPTIONS;
|
package/batteries/isolation.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as event, C as E_INVALID_ISOLATION_OPTIONS, D as E_ISOLATION_READY_TIMEOUT, E as E_ISOLATION_ENCODER_REQUIRED, M as resolveIsolatedServiceSpec, N as stream, O as E_ISOLATION_UNENCODABLE, S as defineIsolatedServiceValidated, T as E_ISOLATED_TERMINATED, _ as transfer, a as createWorkerTransport, b as nextCorrelationId, c as serveIsolated, d as hasIsolationHook, f as DEFAULT_CRASH_POLICY_MAX_CRASHES, g as registerEncodableClasses, h as isEncoderAvailable, i as isolateFunction, j as method, k as E_ISOLATION_UNSUPPORTED_ENV, l as serveIsolatedOverPort, m as createCrashPolicy, n as E_ISOLATE_FUNCTION_REQUIRES_SOURCE_REHYDRATION, o as spawnIsolated, p as DEFAULT_CRASH_POLICY_WINDOW_MS, r as E_ISOLATE_FUNCTION_UNSERIALIZABLE, s as createIsolatedService, t as E_ISOLATE_FUNCTION_ARG_UNSUPPORTED, u as emitIsolationReport, v as GuestEndpoint, w as E_ISOLATED_CRASHED, x as wireErrorToError, y as HostEndpoint } from "../isolation-
|
|
1
|
+
import { A as event, C as E_INVALID_ISOLATION_OPTIONS, D as E_ISOLATION_READY_TIMEOUT, E as E_ISOLATION_ENCODER_REQUIRED, M as resolveIsolatedServiceSpec, N as stream, O as E_ISOLATION_UNENCODABLE, S as defineIsolatedServiceValidated, T as E_ISOLATED_TERMINATED, _ as transfer, a as createWorkerTransport, b as nextCorrelationId, c as serveIsolated, d as hasIsolationHook, f as DEFAULT_CRASH_POLICY_MAX_CRASHES, g as registerEncodableClasses, h as isEncoderAvailable, i as isolateFunction, j as method, k as E_ISOLATION_UNSUPPORTED_ENV, l as serveIsolatedOverPort, m as createCrashPolicy, n as E_ISOLATE_FUNCTION_REQUIRES_SOURCE_REHYDRATION, o as spawnIsolated, p as DEFAULT_CRASH_POLICY_WINDOW_MS, r as E_ISOLATE_FUNCTION_UNSERIALIZABLE, s as createIsolatedService, t as E_ISOLATE_FUNCTION_ARG_UNSUPPORTED, u as emitIsolationReport, v as GuestEndpoint, w as E_ISOLATED_CRASHED, x as wireErrorToError, y as HostEndpoint } from "../isolation-CO0NiK8R.mjs";
|
|
2
2
|
export { DEFAULT_CRASH_POLICY_MAX_CRASHES, DEFAULT_CRASH_POLICY_WINDOW_MS, E_INVALID_ISOLATION_OPTIONS, E_ISOLATED_CRASHED, E_ISOLATED_TERMINATED, E_ISOLATE_FUNCTION_ARG_UNSUPPORTED, E_ISOLATE_FUNCTION_REQUIRES_SOURCE_REHYDRATION, E_ISOLATE_FUNCTION_UNSERIALIZABLE, E_ISOLATION_ENCODER_REQUIRED, E_ISOLATION_READY_TIMEOUT, E_ISOLATION_UNENCODABLE, E_ISOLATION_UNSUPPORTED_ENV, GuestEndpoint, HostEndpoint, createCrashPolicy, createIsolatedService, createWorkerTransport, defineIsolatedServiceValidated as defineIsolatedService, emitIsolationReport, event, hasIsolationHook, isEncoderAvailable, isolateFunction, method, nextCorrelationId, registerEncodableClasses, resolveIsolatedServiceSpec, serveIsolated, serveIsolatedOverPort, spawnIsolated, stream, transfer, wireErrorToError };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("../../../chunk-Cek0wNdY.cjs");
|
|
3
3
|
const require_guards = require("../../../guards-5-XmJgD2.cjs");
|
|
4
|
-
const require_tokenizable = require("../../../tokenizable-
|
|
5
|
-
const require_spooled_artifact = require("../../../spooled_artifact
|
|
6
|
-
const require_thought = require("../../../thought-
|
|
7
|
-
const require_tool_call = require("../../../tool_call-
|
|
8
|
-
require("../../../common-
|
|
4
|
+
const require_tokenizable = require("../../../tokenizable-BcodRtoW.cjs");
|
|
5
|
+
const require_spooled_artifact = require("../../../spooled_artifact---DmicFW.cjs");
|
|
6
|
+
const require_thought = require("../../../thought-Dp3sMWW6.cjs");
|
|
7
|
+
const require_tool_call = require("../../../tool_call-B9px4W9k.cjs");
|
|
8
|
+
require("../../../common-CqetsItm.cjs");
|
|
9
9
|
require("../../../guards.cjs");
|
|
10
10
|
const require_lib_utils_retry = require("../../../lib/utils/retry.cjs");
|
|
11
11
|
const require_tool_parsers = require("../../../tool_parsers-8_qO0a_F.cjs");
|
|
12
12
|
const require_batteries_storage_in_memory = require("../../storage/in_memory.cjs");
|
|
13
|
-
const require_helpers = require("../../../helpers-
|
|
13
|
+
const require_helpers = require("../../../helpers-DPlh_7Bn.cjs");
|
|
14
14
|
const require_batteries_llm_anthropic_messages_exceptions = require("./exceptions.cjs");
|
|
15
15
|
const require_batteries_llm_anthropic_messages_validation = require("./validation.cjs");
|
|
16
16
|
const require_error_translation = require("../../../error_translation-D8Ea1_th.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-
|
|
3
|
-
import {
|
|
4
|
-
import { n as Message, t as Thought } from "../../../thought-
|
|
5
|
-
import { n as Media, t as ToolCall } from "../../../tool_call-
|
|
6
|
-
import "../../../common-
|
|
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-
|
|
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 { n as translateAnthropicError, r as APIError } from "../../../error_translation-Bkz-bl27.mjs";
|
|
@@ -4,7 +4,7 @@ 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-
|
|
7
|
+
const require_helpers = require("../../../helpers-DPlh_7Bn.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_error_translation = require("../../../error_translation-D8Ea1_th.cjs");
|
|
@@ -2,7 +2,7 @@ import { n as isInstanceOf, 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-
|
|
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 { n as translateAnthropicError, r as APIError } from "../../../error_translation-Bkz-bl27.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../../chunk-Cek0wNdY.cjs");
|
|
3
|
-
const require_tool_call = require("../../../tool_call-
|
|
4
|
-
require("../../../common-
|
|
5
|
-
const require_helpers = require("../../../helpers-
|
|
3
|
+
const require_tool_call = require("../../../tool_call-B9px4W9k.cjs");
|
|
4
|
+
require("../../../common-CqetsItm.cjs");
|
|
5
|
+
const require_helpers = require("../../../helpers-DPlh_7Bn.cjs");
|
|
6
6
|
const require_batteries_llm_anthropic_messages_exceptions = require("./exceptions.cjs");
|
|
7
7
|
//#region src/batteries/llm/anthropic_messages/helpers.ts
|
|
8
8
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as Media } from "../../../tool_call-
|
|
2
|
-
import "../../../common-
|
|
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-
|
|
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,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../../chunk-Cek0wNdY.cjs");
|
|
3
|
-
const require_tokenizable = require("../../../tokenizable-
|
|
4
|
-
const require_common = require("../../../common-
|
|
3
|
+
const require_tokenizable = require("../../../tokenizable-BcodRtoW.cjs");
|
|
4
|
+
const require_common = require("../../../common-CqetsItm.cjs");
|
|
5
5
|
const require_batteries_llm_anthropic_messages_exceptions = require("./exceptions.cjs");
|
|
6
6
|
let _nhtio_validation = require("@nhtio/validation");
|
|
7
7
|
//#region src/batteries/llm/anthropic_messages/validation.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as TokenEncoding } from "../../../tokenizable-
|
|
2
|
-
import { o as byteStoreSchema } from "../../../common-
|
|
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,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../chunk-Cek0wNdY.cjs");
|
|
3
|
-
const require_helpers = require("../../helpers-
|
|
4
|
-
const require_chat_common = require("../../chat_common-
|
|
3
|
+
const require_helpers = require("../../helpers-DPlh_7Bn.cjs");
|
|
4
|
+
const require_chat_common = require("../../chat_common-CNayzS1V.cjs");
|
|
5
5
|
const require_batteries_llm_anthropic_messages_exceptions = require("./anthropic_messages/exceptions.cjs");
|
|
6
6
|
const require_batteries_llm_anthropic_messages_validation = require("./anthropic_messages/validation.cjs");
|
|
7
7
|
const require_error_translation = require("../../error_translation-D8Ea1_th.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-
|
|
2
|
-
import { t as deCollideToolCallIds } from "../../chat_common-
|
|
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 { n as translateAnthropicError, t as CONTEXT_OVERFLOW_PHRASE } from "../../error_translation-Bkz-bl27.mjs";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../../chunk-Cek0wNdY.cjs");
|
|
3
3
|
const require_guards = require("../../../guards-5-XmJgD2.cjs");
|
|
4
|
-
const require_tokenizable = require("../../../tokenizable-
|
|
5
|
-
const require_spooled_artifact = require("../../../spooled_artifact
|
|
6
|
-
const require_thought = require("../../../thought-
|
|
7
|
-
const require_tool_call = require("../../../tool_call-
|
|
8
|
-
require("../../../common-
|
|
4
|
+
const require_tokenizable = require("../../../tokenizable-BcodRtoW.cjs");
|
|
5
|
+
const require_spooled_artifact = require("../../../spooled_artifact---DmicFW.cjs");
|
|
6
|
+
const require_thought = require("../../../thought-Dp3sMWW6.cjs");
|
|
7
|
+
const require_tool_call = require("../../../tool_call-B9px4W9k.cjs");
|
|
8
|
+
require("../../../common-CqetsItm.cjs");
|
|
9
9
|
require("../../../guards.cjs");
|
|
10
10
|
const require_lib_utils_retry = require("../../../lib/utils/retry.cjs");
|
|
11
11
|
const require_tool_parsers = require("../../../tool_parsers-8_qO0a_F.cjs");
|
|
12
|
-
const require_helpers = require("../../../helpers-
|
|
12
|
+
const require_helpers = require("../../../helpers-DPlh_7Bn.cjs");
|
|
13
13
|
const require_batteries_llm_bedrock_converse_exceptions = require("./exceptions.cjs");
|
|
14
14
|
const require_batteries_llm_bedrock_converse_validation = require("./validation.cjs");
|
|
15
15
|
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-
|
|
3
|
-
import { h as canonicalStringify } from "../../../spooled_artifact-
|
|
4
|
-
import { n as Message, t as Thought } from "../../../thought-
|
|
5
|
-
import { t as ToolCall } from "../../../tool_call-
|
|
6
|
-
import "../../../common-
|
|
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-
|
|
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";
|
|
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
require("../../../chunk-Cek0wNdY.cjs");
|
|
3
3
|
const require_guards = require("../../../guards-5-XmJgD2.cjs");
|
|
4
4
|
require("../../../guards.cjs");
|
|
5
|
-
const require_helpers = require("../../../helpers-
|
|
5
|
+
const require_helpers = require("../../../helpers-DPlh_7Bn.cjs");
|
|
6
6
|
//#region src/batteries/llm/bedrock_converse/helpers.ts
|
|
7
7
|
/**
|
|
8
8
|
* Translation helpers for the native Bedrock Converse battery.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as isObject } from "../../../guards-BEpY7lBI.mjs";
|
|
2
2
|
import "../../../guards.mjs";
|
|
3
|
-
import { A as renderMemories, C as looksLikeSpooledArtifact, D as renderArtifactHandleBody, 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, T as neutraliseDeveloperRulesTag, _ as defaultRenderUntrustedContent, a as defaultRenderArtifactHandleBody, 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, u as defaultRenderRetrievableSafetyDirective, x as filterThoughts, y as descriptionToChatCompletionsJsonSchema, z as renderUntrustedContent } from "../../../helpers-
|
|
3
|
+
import { A as renderMemories, C as looksLikeSpooledArtifact, D as renderArtifactHandleBody, 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, T as neutraliseDeveloperRulesTag, _ as defaultRenderUntrustedContent, a as defaultRenderArtifactHandleBody, 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, u as defaultRenderRetrievableSafetyDirective, x as filterThoughts, y as descriptionToChatCompletionsJsonSchema, z as renderUntrustedContent } from "../../../helpers-mbn_EsDV.mjs";
|
|
4
4
|
//#region src/batteries/llm/bedrock_converse/helpers.ts
|
|
5
5
|
/**
|
|
6
6
|
* Translation helpers for the native Bedrock Converse battery.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../../chunk-Cek0wNdY.cjs");
|
|
3
|
-
const require_tokenizable = require("../../../tokenizable-
|
|
4
|
-
require("../../../common-
|
|
3
|
+
const require_tokenizable = require("../../../tokenizable-BcodRtoW.cjs");
|
|
4
|
+
require("../../../common-CqetsItm.cjs");
|
|
5
5
|
const require_batteries_llm_bedrock_converse_exceptions = require("./exceptions.cjs");
|
|
6
6
|
let _nhtio_validation = require("@nhtio/validation");
|
|
7
7
|
//#region src/batteries/llm/bedrock_converse/validation.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as TokenEncoding } from "../../../tokenizable-
|
|
2
|
-
import "../../../common-
|
|
1
|
+
import { n as TokenEncoding } from "../../../tokenizable-VB4Av8GF.mjs";
|
|
2
|
+
import "../../../common-oI1niK9Z.mjs";
|
|
3
3
|
import { E_INVALID_BEDROCK_CONVERSE_OPTIONS } from "./exceptions.mjs";
|
|
4
4
|
import { validator } from "@nhtio/validation";
|
|
5
5
|
//#region src/batteries/llm/bedrock_converse/validation.ts
|