@nhtio/adk 0.1.0-master-76e8850e → 0.1.0-master-1722cf4c

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 (167) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/adk-mcp.cjs +20307 -0
  3. package/adk-mcp.cjs.map +1 -0
  4. package/adk-mcp.mjs +20305 -0
  5. package/adk-mcp.mjs.map +1 -0
  6. package/batteries/llm/openai_chat_completions/adapter.cjs +6 -5
  7. package/batteries/llm/openai_chat_completions/adapter.cjs.map +1 -1
  8. package/batteries/llm/openai_chat_completions/adapter.mjs +5 -5
  9. package/batteries/llm/openai_chat_completions/exceptions.cjs +2 -1
  10. package/batteries/llm/openai_chat_completions/exceptions.cjs.map +1 -1
  11. package/batteries/llm/openai_chat_completions/exceptions.mjs +1 -1
  12. package/batteries/llm/openai_chat_completions/helpers.cjs +3 -2
  13. package/batteries/llm/openai_chat_completions/helpers.cjs.map +1 -1
  14. package/batteries/llm/openai_chat_completions/helpers.mjs +2 -2
  15. package/batteries/llm/openai_chat_completions/types.cjs +1 -0
  16. package/batteries/llm/openai_chat_completions/validation.cjs +2 -2
  17. package/batteries/llm/openai_chat_completions/validation.mjs +1 -1
  18. package/batteries/llm/openai_chat_completions.cjs +1 -0
  19. package/batteries/llm/webllm_chat_completions/adapter.cjs +6 -5
  20. package/batteries/llm/webllm_chat_completions/adapter.cjs.map +1 -1
  21. package/batteries/llm/webllm_chat_completions/adapter.mjs +5 -5
  22. package/batteries/llm/webllm_chat_completions/exceptions.cjs +2 -1
  23. package/batteries/llm/webllm_chat_completions/exceptions.cjs.map +1 -1
  24. package/batteries/llm/webllm_chat_completions/exceptions.mjs +1 -1
  25. package/batteries/llm/webllm_chat_completions/helpers.cjs +1 -0
  26. package/batteries/llm/webllm_chat_completions/validation.cjs +2 -2
  27. package/batteries/llm/webllm_chat_completions/validation.mjs +1 -1
  28. package/batteries/llm/webllm_chat_completions.cjs +1 -0
  29. package/batteries/llm.cjs +1 -0
  30. package/batteries/storage/flydrive.cjs +3 -2
  31. package/batteries/storage/flydrive.cjs.map +1 -1
  32. package/batteries/storage/flydrive.mjs +2 -3
  33. package/batteries/storage/flydrive.mjs.map +1 -1
  34. package/batteries/storage/in_memory.cjs +2 -1
  35. package/batteries/storage/in_memory.cjs.map +1 -1
  36. package/batteries/storage/in_memory.mjs +1 -1
  37. package/batteries/storage/opfs.cjs +2 -1
  38. package/batteries/storage/opfs.cjs.map +1 -1
  39. package/batteries/storage/opfs.mjs +1 -1
  40. package/batteries/storage.cjs +1 -0
  41. package/batteries/tools/color.cjs +3 -3
  42. package/batteries/tools/color.mjs +2 -2
  43. package/batteries/tools/comparison.cjs +4 -3
  44. package/batteries/tools/comparison.cjs.map +1 -1
  45. package/batteries/tools/comparison.mjs +3 -3
  46. package/batteries/tools/data_structure.cjs +4 -3
  47. package/batteries/tools/data_structure.cjs.map +1 -1
  48. package/batteries/tools/data_structure.mjs +3 -3
  49. package/batteries/tools/datetime_extended.cjs +4 -4
  50. package/batteries/tools/datetime_extended.mjs +2 -2
  51. package/batteries/tools/datetime_math.cjs +3 -3
  52. package/batteries/tools/datetime_math.mjs +2 -2
  53. package/batteries/tools/encoding.cjs +4 -3
  54. package/batteries/tools/encoding.cjs.map +1 -1
  55. package/batteries/tools/encoding.mjs +3 -3
  56. package/batteries/tools/formatting.cjs +4 -3
  57. package/batteries/tools/formatting.cjs.map +1 -1
  58. package/batteries/tools/formatting.mjs +3 -3
  59. package/batteries/tools/geo_basics.cjs +3 -3
  60. package/batteries/tools/geo_basics.mjs +2 -2
  61. package/batteries/tools/math.cjs +4 -3
  62. package/batteries/tools/math.cjs.map +1 -1
  63. package/batteries/tools/math.mjs +3 -3
  64. package/batteries/tools/memory.cjs +6 -5
  65. package/batteries/tools/memory.cjs.map +1 -1
  66. package/batteries/tools/memory.mjs +5 -5
  67. package/batteries/tools/parsing.cjs +6 -5
  68. package/batteries/tools/parsing.cjs.map +1 -1
  69. package/batteries/tools/parsing.mjs +4 -4
  70. package/batteries/tools/retrievables.cjs +5 -4
  71. package/batteries/tools/retrievables.cjs.map +1 -1
  72. package/batteries/tools/retrievables.mjs +4 -4
  73. package/batteries/tools/standing_instructions.cjs +5 -4
  74. package/batteries/tools/standing_instructions.cjs.map +1 -1
  75. package/batteries/tools/standing_instructions.mjs +4 -4
  76. package/batteries/tools/statistics.cjs +5 -4
  77. package/batteries/tools/statistics.cjs.map +1 -1
  78. package/batteries/tools/statistics.mjs +4 -4
  79. package/batteries/tools/string_processing.cjs +4 -3
  80. package/batteries/tools/string_processing.cjs.map +1 -1
  81. package/batteries/tools/string_processing.mjs +3 -3
  82. package/batteries/tools/structured_data.cjs +4 -3
  83. package/batteries/tools/structured_data.cjs.map +1 -1
  84. package/batteries/tools/structured_data.mjs +3 -3
  85. package/batteries/tools/text_analysis.cjs +4 -4
  86. package/batteries/tools/text_analysis.mjs +3 -3
  87. package/batteries/tools/text_comparison.cjs +3 -3
  88. package/batteries/tools/text_comparison.mjs +2 -2
  89. package/batteries/tools/time.cjs +3 -3
  90. package/batteries/tools/time.mjs +2 -2
  91. package/batteries/tools/unit_conversion.cjs +3 -3
  92. package/batteries/tools/unit_conversion.mjs +2 -2
  93. package/batteries/tools.cjs +1 -0
  94. package/batteries.cjs +9 -8
  95. package/batteries.mjs +8 -8
  96. package/chunk-Ble4zEEl.js +64 -0
  97. package/chunk-kRvK8_k2.mjs +35 -0
  98. package/{common-aFmr9Oqs.mjs → common-ClCHam5-.mjs} +9 -9
  99. package/{common-aFmr9Oqs.mjs.map → common-ClCHam5-.mjs.map} +1 -1
  100. package/{common-BJ6V6dsH.js → common-DuKWGTVd.js} +10 -9
  101. package/{common-BJ6V6dsH.js.map → common-DuKWGTVd.js.map} +1 -1
  102. package/common.cjs +8 -7
  103. package/common.mjs +7 -7
  104. package/{dispatch_runner-BWYNxmnp.js → dispatch_runner-CEFHXRJZ.js} +5 -4
  105. package/{dispatch_runner-BWYNxmnp.js.map → dispatch_runner-CEFHXRJZ.js.map} +1 -1
  106. package/{dispatch_runner-OimGCkk7.mjs → dispatch_runner-uNtS-XSP.mjs} +4 -4
  107. package/{dispatch_runner-OimGCkk7.mjs.map → dispatch_runner-uNtS-XSP.mjs.map} +1 -1
  108. package/dispatch_runner.cjs +2 -1
  109. package/dispatch_runner.mjs +1 -1
  110. package/{exceptions-NrzIHw_R.mjs → exceptions-BeWH2FwP.mjs} +1 -1
  111. package/{exceptions-NrzIHw_R.mjs.map → exceptions-BeWH2FwP.mjs.map} +1 -1
  112. package/{exceptions-CSqzbL1N.js → exceptions-CitH5wZI.js} +2 -2
  113. package/{exceptions-CSqzbL1N.js.map → exceptions-CitH5wZI.js.map} +1 -1
  114. package/exceptions.cjs +3 -2
  115. package/exceptions.mjs +2 -2
  116. package/factories.cjs +2 -1
  117. package/factories.mjs +1 -1
  118. package/forge.cjs +5 -4
  119. package/forge.mjs +4 -4
  120. package/guards.cjs +10 -9
  121. package/guards.cjs.map +1 -1
  122. package/guards.mjs +9 -9
  123. package/index.cjs +13 -12
  124. package/index.cjs.map +1 -1
  125. package/index.mjs +12 -12
  126. package/mcp/adk-docs-corpus.json +1 -0
  127. package/mcp/corpus.d.ts +26 -0
  128. package/mcp/server.d.ts +2 -0
  129. package/package.json +76 -73
  130. package/{runtime-CrEPIFgr.mjs → runtime-CDIZwCT0.mjs} +2 -2
  131. package/{runtime-CrEPIFgr.mjs.map → runtime-CDIZwCT0.mjs.map} +1 -1
  132. package/{runtime-BUDWyd-R.js → runtime-DyD9oQjH.js} +2 -2
  133. package/{runtime-BUDWyd-R.js.map → runtime-DyD9oQjH.js.map} +1 -1
  134. package/skills/adk-assembly/SKILL.md +2 -2
  135. package/{spooled_artifact-CFstzlqX.js → spooled_artifact-CHvDDYGA.js} +6 -5
  136. package/{spooled_artifact-CFstzlqX.js.map → spooled_artifact-CHvDDYGA.js.map} +1 -1
  137. package/{spooled_artifact-B_tVDDdB.mjs → spooled_artifact-D-JrpY4W.mjs} +5 -5
  138. package/{spooled_artifact-B_tVDDdB.mjs.map → spooled_artifact-D-JrpY4W.mjs.map} +1 -1
  139. package/spooled_artifact.cjs +3 -2
  140. package/spooled_artifact.mjs +2 -2
  141. package/{spooled_markdown_artifact-DWWak35I.mjs → spooled_markdown_artifact-B4eWOfCX.mjs} +3 -3
  142. package/{spooled_markdown_artifact-DWWak35I.mjs.map → spooled_markdown_artifact-B4eWOfCX.mjs.map} +1 -1
  143. package/{spooled_markdown_artifact-DK-T8Hy6.js → spooled_markdown_artifact-BYfPqFvk.js} +7 -6
  144. package/{spooled_markdown_artifact-DK-T8Hy6.js.map → spooled_markdown_artifact-BYfPqFvk.js.map} +1 -1
  145. package/{thought-DDqjQu3m.mjs → thought-D9IS11b5.mjs} +5 -5
  146. package/{thought-DDqjQu3m.mjs.map → thought-D9IS11b5.mjs.map} +1 -1
  147. package/{thought-DTsFRGdE.js → thought-DBNsR6l8.js} +6 -5
  148. package/{thought-DTsFRGdE.js.map → thought-DBNsR6l8.js.map} +1 -1
  149. package/{tool-q4LskG7K.mjs → tool-CsYuHhiS.mjs} +4 -4
  150. package/{tool-q4LskG7K.mjs.map → tool-CsYuHhiS.mjs.map} +1 -1
  151. package/{tool-cwJyEHI9.js → tool-DIHzOZiV.js} +5 -4
  152. package/{tool-cwJyEHI9.js.map → tool-DIHzOZiV.js.map} +1 -1
  153. package/{tool_call-BKIdAAoY.mjs → tool_call-Bs_Q5LOG.mjs} +5 -5
  154. package/{tool_call-BKIdAAoY.mjs.map → tool_call-Bs_Q5LOG.mjs.map} +1 -1
  155. package/{tool_call-3T0xTXlD.js → tool_call-CkOVOhg0.js} +6 -5
  156. package/{tool_call-3T0xTXlD.js.map → tool_call-CkOVOhg0.js.map} +1 -1
  157. package/{tool_registry-snPjF0zJ.js → tool_registry-CKk5ooxm.js} +5 -39
  158. package/{tool_registry-snPjF0zJ.js.map → tool_registry-CKk5ooxm.js.map} +1 -1
  159. package/{tool_registry-DqLOyGyG.mjs → tool_registry-CX3ofUh9.mjs} +3 -3
  160. package/{tool_registry-DqLOyGyG.mjs.map → tool_registry-CX3ofUh9.mjs.map} +1 -1
  161. package/{turn_runner-DRBLN2Y_.mjs → turn_runner-C1-mup84.mjs} +6 -6
  162. package/{turn_runner-DRBLN2Y_.mjs.map → turn_runner-C1-mup84.mjs.map} +1 -1
  163. package/{turn_runner-BScT8OgA.js → turn_runner-D0qGIrRI.js} +7 -6
  164. package/{turn_runner-BScT8OgA.js.map → turn_runner-D0qGIrRI.js.map} +1 -1
  165. package/turn_runner.cjs +2 -1
  166. package/turn_runner.mjs +1 -1
  167. package/types.cjs +1 -0
package/CHANGELOG.md CHANGED
@@ -9,6 +9,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
 
10
10
  ### Added
11
11
 
12
+ - **Packaged ADK Assembly MCP server** (`src/mcp/server.ts`) — `@nhtio/adk` now ships a local
13
+ stdio MCP server that can be launched with `npx -y @nhtio/adk`. The server exposes ADK assembly
14
+ guidance, packaged documentation search, document reads, generated API lookup, and pasted-code
15
+ assembly review through MCP tools, resources, and prompts.
16
+ - **Version-aligned MCP documentation corpus** (`dist/mcp/adk-docs-corpus.json`) — package
17
+ generation now copies hand-written docs, generated TypeDoc API pages, changelog content, and the
18
+ ADK assembly Skill into a read-only corpus for the MCP server. The corpus is built from the docs
19
+ available at package time so MCP answers match the installed package version.
20
+ - **ADK MCP documentation page** (`docs/mcp.md`) — added a VitePress guide for installing and using
21
+ the ADK MCP across common coding-agent clients, including VS Code / Copilot, Claude Code, Claude
22
+ Desktop, Cursor, Windsurf, Cline / Roo Code, and Continue.
12
23
  - **Unified `ByteStore<R>` storage contract** (`src/lib/contracts/byte_store.ts`) — the single
13
24
  low-level "give bytes, get a reader" shape every storage layer implements, with `SpoolStore`
14
25
  (`ByteStore<SpoolReader>`) and `MediaStore` (`ByteStore<MediaReader>`) semantic aliases. `write`
@@ -38,6 +49,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
38
49
 
39
50
  ### Changed (BREAKING)
40
51
 
52
+ - **Documentation now builds before the library package in CI.** The package build consumes the
53
+ generated docs, API reference, and changelog artifact so the npm package always includes the MCP
54
+ documentation corpus when built from tagged/default-branch CI jobs.
55
+ - **The generated npm package now exposes an `adk` binary.** `bin/package.ts` writes
56
+ `bin.adk = "./adk-mcp.mjs"` into the packaged manifest and bundles the MCP SDK/Zod-backed server
57
+ entry while keeping those MCP implementation dependencies out of the published runtime dependency
58
+ list.
41
59
  - **Render helpers are now async.** `renderFirstPartyRetrievables`,
42
60
  `renderThirdPartyPublicRetrievables`, `renderThirdPartyPrivateRetrievables`, `renderRetrievables`,
43
61
  and `renderChatCompletionsSystemPrompt` on `ChatCompletionsHelpers` now return `Promise<string>`