@nhtio/adk 1.20260531.0 → 1.20260531.1
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 +18 -0
- package/adk-mcp.cjs +20307 -0
- package/adk-mcp.cjs.map +1 -0
- package/adk-mcp.mjs +20305 -0
- package/adk-mcp.mjs.map +1 -0
- package/batteries/llm/openai_chat_completions/adapter.cjs +6 -5
- package/batteries/llm/openai_chat_completions/adapter.cjs.map +1 -1
- package/batteries/llm/openai_chat_completions/adapter.mjs +5 -5
- package/batteries/llm/openai_chat_completions/exceptions.cjs +2 -1
- package/batteries/llm/openai_chat_completions/exceptions.cjs.map +1 -1
- package/batteries/llm/openai_chat_completions/exceptions.mjs +1 -1
- package/batteries/llm/openai_chat_completions/helpers.cjs +3 -2
- package/batteries/llm/openai_chat_completions/helpers.cjs.map +1 -1
- package/batteries/llm/openai_chat_completions/helpers.mjs +2 -2
- package/batteries/llm/openai_chat_completions/types.cjs +1 -0
- package/batteries/llm/openai_chat_completions/validation.cjs +2 -2
- package/batteries/llm/openai_chat_completions/validation.mjs +1 -1
- package/batteries/llm/openai_chat_completions.cjs +1 -0
- package/batteries/llm/webllm_chat_completions/adapter.cjs +6 -5
- package/batteries/llm/webllm_chat_completions/adapter.cjs.map +1 -1
- package/batteries/llm/webllm_chat_completions/adapter.mjs +5 -5
- package/batteries/llm/webllm_chat_completions/exceptions.cjs +2 -1
- package/batteries/llm/webllm_chat_completions/exceptions.cjs.map +1 -1
- package/batteries/llm/webllm_chat_completions/exceptions.mjs +1 -1
- package/batteries/llm/webllm_chat_completions/helpers.cjs +1 -0
- package/batteries/llm/webllm_chat_completions/validation.cjs +2 -2
- package/batteries/llm/webllm_chat_completions/validation.mjs +1 -1
- package/batteries/llm/webllm_chat_completions.cjs +1 -0
- package/batteries/llm.cjs +1 -0
- package/batteries/storage/flydrive.cjs +3 -2
- package/batteries/storage/flydrive.cjs.map +1 -1
- package/batteries/storage/flydrive.mjs +2 -3
- package/batteries/storage/flydrive.mjs.map +1 -1
- package/batteries/storage/in_memory.cjs +2 -1
- package/batteries/storage/in_memory.cjs.map +1 -1
- package/batteries/storage/in_memory.mjs +1 -1
- package/batteries/storage/opfs.cjs +2 -1
- package/batteries/storage/opfs.cjs.map +1 -1
- package/batteries/storage/opfs.mjs +1 -1
- package/batteries/storage.cjs +1 -0
- package/batteries/tools/color.cjs +3 -3
- package/batteries/tools/color.mjs +2 -2
- package/batteries/tools/comparison.cjs +4 -3
- package/batteries/tools/comparison.cjs.map +1 -1
- package/batteries/tools/comparison.mjs +3 -3
- package/batteries/tools/data_structure.cjs +4 -3
- package/batteries/tools/data_structure.cjs.map +1 -1
- package/batteries/tools/data_structure.mjs +3 -3
- package/batteries/tools/datetime_extended.cjs +4 -4
- package/batteries/tools/datetime_extended.mjs +2 -2
- package/batteries/tools/datetime_math.cjs +3 -3
- package/batteries/tools/datetime_math.mjs +2 -2
- package/batteries/tools/encoding.cjs +4 -3
- package/batteries/tools/encoding.cjs.map +1 -1
- package/batteries/tools/encoding.mjs +3 -3
- package/batteries/tools/formatting.cjs +4 -3
- package/batteries/tools/formatting.cjs.map +1 -1
- package/batteries/tools/formatting.mjs +3 -3
- package/batteries/tools/geo_basics.cjs +3 -3
- package/batteries/tools/geo_basics.mjs +2 -2
- package/batteries/tools/math.cjs +4 -3
- package/batteries/tools/math.cjs.map +1 -1
- package/batteries/tools/math.mjs +3 -3
- package/batteries/tools/memory.cjs +6 -5
- package/batteries/tools/memory.cjs.map +1 -1
- package/batteries/tools/memory.mjs +5 -5
- package/batteries/tools/parsing.cjs +6 -5
- package/batteries/tools/parsing.cjs.map +1 -1
- package/batteries/tools/parsing.mjs +4 -4
- package/batteries/tools/retrievables.cjs +5 -4
- package/batteries/tools/retrievables.cjs.map +1 -1
- package/batteries/tools/retrievables.mjs +4 -4
- package/batteries/tools/standing_instructions.cjs +5 -4
- package/batteries/tools/standing_instructions.cjs.map +1 -1
- package/batteries/tools/standing_instructions.mjs +4 -4
- package/batteries/tools/statistics.cjs +5 -4
- package/batteries/tools/statistics.cjs.map +1 -1
- package/batteries/tools/statistics.mjs +4 -4
- package/batteries/tools/string_processing.cjs +4 -3
- package/batteries/tools/string_processing.cjs.map +1 -1
- package/batteries/tools/string_processing.mjs +3 -3
- package/batteries/tools/structured_data.cjs +4 -3
- package/batteries/tools/structured_data.cjs.map +1 -1
- package/batteries/tools/structured_data.mjs +3 -3
- package/batteries/tools/text_analysis.cjs +4 -4
- package/batteries/tools/text_analysis.mjs +3 -3
- package/batteries/tools/text_comparison.cjs +3 -3
- package/batteries/tools/text_comparison.mjs +2 -2
- package/batteries/tools/time.cjs +3 -3
- package/batteries/tools/time.mjs +2 -2
- package/batteries/tools/unit_conversion.cjs +3 -3
- package/batteries/tools/unit_conversion.mjs +2 -2
- package/batteries/tools.cjs +3 -2
- package/batteries/tools.mjs +2 -2
- package/batteries.cjs +11 -10
- package/batteries.mjs +10 -10
- package/chunk-Ble4zEEl.js +64 -0
- package/chunk-kRvK8_k2.mjs +35 -0
- package/{common-aFmr9Oqs.mjs → common-ClCHam5-.mjs} +9 -9
- package/{common-aFmr9Oqs.mjs.map → common-ClCHam5-.mjs.map} +1 -1
- package/{common-BJ6V6dsH.js → common-DuKWGTVd.js} +10 -9
- package/{common-BJ6V6dsH.js.map → common-DuKWGTVd.js.map} +1 -1
- package/common.cjs +8 -7
- package/common.mjs +7 -7
- package/{dispatch_runner-BWYNxmnp.js → dispatch_runner-CEFHXRJZ.js} +5 -4
- package/{dispatch_runner-BWYNxmnp.js.map → dispatch_runner-CEFHXRJZ.js.map} +1 -1
- package/{dispatch_runner-OimGCkk7.mjs → dispatch_runner-uNtS-XSP.mjs} +4 -4
- package/{dispatch_runner-OimGCkk7.mjs.map → dispatch_runner-uNtS-XSP.mjs.map} +1 -1
- package/dispatch_runner.cjs +2 -1
- package/dispatch_runner.mjs +1 -1
- package/{exceptions-NrzIHw_R.mjs → exceptions-BeWH2FwP.mjs} +1 -1
- package/{exceptions-NrzIHw_R.mjs.map → exceptions-BeWH2FwP.mjs.map} +1 -1
- package/{exceptions-CSqzbL1N.js → exceptions-CitH5wZI.js} +2 -2
- package/{exceptions-CSqzbL1N.js.map → exceptions-CitH5wZI.js.map} +1 -1
- package/exceptions.cjs +3 -2
- package/exceptions.mjs +2 -2
- package/factories.cjs +2 -1
- package/factories.mjs +1 -1
- package/forge.cjs +5 -4
- package/forge.mjs +4 -4
- package/guards.cjs +10 -9
- package/guards.cjs.map +1 -1
- package/guards.mjs +9 -9
- package/index.cjs +15 -14
- package/index.cjs.map +1 -1
- package/index.mjs +14 -14
- package/mcp/adk-docs-corpus.json +1 -0
- package/mcp/corpus.d.ts +26 -0
- package/mcp/server.d.ts +2 -0
- package/package.json +88 -69
- package/{runtime-CrEPIFgr.mjs → runtime-CDIZwCT0.mjs} +2 -2
- package/{runtime-CrEPIFgr.mjs.map → runtime-CDIZwCT0.mjs.map} +1 -1
- package/{runtime-BUDWyd-R.js → runtime-DyD9oQjH.js} +2 -2
- package/{runtime-BUDWyd-R.js.map → runtime-DyD9oQjH.js.map} +1 -1
- package/skills/adk-assembly/SKILL.md +2 -2
- package/{spooled_artifact-CFstzlqX.js → spooled_artifact-CHvDDYGA.js} +6 -5
- package/{spooled_artifact-CFstzlqX.js.map → spooled_artifact-CHvDDYGA.js.map} +1 -1
- package/{spooled_artifact-B_tVDDdB.mjs → spooled_artifact-D-JrpY4W.mjs} +5 -5
- package/{spooled_artifact-B_tVDDdB.mjs.map → spooled_artifact-D-JrpY4W.mjs.map} +1 -1
- package/spooled_artifact.cjs +3 -2
- package/spooled_artifact.mjs +2 -2
- package/{spooled_markdown_artifact-DWWak35I.mjs → spooled_markdown_artifact-B4eWOfCX.mjs} +3 -3
- package/{spooled_markdown_artifact-DWWak35I.mjs.map → spooled_markdown_artifact-B4eWOfCX.mjs.map} +1 -1
- package/{spooled_markdown_artifact-DK-T8Hy6.js → spooled_markdown_artifact-BYfPqFvk.js} +7 -6
- package/{spooled_markdown_artifact-DK-T8Hy6.js.map → spooled_markdown_artifact-BYfPqFvk.js.map} +1 -1
- package/{thought-DDqjQu3m.mjs → thought-D9IS11b5.mjs} +5 -5
- package/{thought-DDqjQu3m.mjs.map → thought-D9IS11b5.mjs.map} +1 -1
- package/{thought-DTsFRGdE.js → thought-DBNsR6l8.js} +6 -5
- package/{thought-DTsFRGdE.js.map → thought-DBNsR6l8.js.map} +1 -1
- package/{tool-q4LskG7K.mjs → tool-CsYuHhiS.mjs} +4 -4
- package/{tool-q4LskG7K.mjs.map → tool-CsYuHhiS.mjs.map} +1 -1
- package/{tool-cwJyEHI9.js → tool-DIHzOZiV.js} +5 -4
- package/{tool-cwJyEHI9.js.map → tool-DIHzOZiV.js.map} +1 -1
- package/{tool_call-BKIdAAoY.mjs → tool_call-Bs_Q5LOG.mjs} +5 -5
- package/{tool_call-BKIdAAoY.mjs.map → tool_call-Bs_Q5LOG.mjs.map} +1 -1
- package/{tool_call-3T0xTXlD.js → tool_call-CkOVOhg0.js} +6 -5
- package/{tool_call-3T0xTXlD.js.map → tool_call-CkOVOhg0.js.map} +1 -1
- package/{tool_registry-snPjF0zJ.js → tool_registry-CKk5ooxm.js} +5 -39
- package/{tool_registry-snPjF0zJ.js.map → tool_registry-CKk5ooxm.js.map} +1 -1
- package/{tool_registry-DqLOyGyG.mjs → tool_registry-CX3ofUh9.mjs} +3 -3
- package/{tool_registry-DqLOyGyG.mjs.map → tool_registry-CX3ofUh9.mjs.map} +1 -1
- package/{turn_runner-DRBLN2Y_.mjs → turn_runner-C1-mup84.mjs} +6 -6
- package/{turn_runner-DRBLN2Y_.mjs.map → turn_runner-C1-mup84.mjs.map} +1 -1
- package/{turn_runner-BScT8OgA.js → turn_runner-D0qGIrRI.js} +7 -6
- package/{turn_runner-BScT8OgA.js.map → turn_runner-D0qGIrRI.js.map} +1 -1
- package/turn_runner.cjs +2 -1
- package/turn_runner.mjs +1 -1
- 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>`
|