docs: add 4 new MCP external-signer tools, update FinalizeUploadResult type#47
Draft
JimCollinson wants to merge 2 commits into
Draft
docs: add 4 new MCP external-signer tools, update FinalizeUploadResult type#47JimCollinson wants to merge 2 commits into
JimCollinson wants to merge 2 commits into
Conversation
…t type antd-mcp gains prepare_upload_public, prepare_chunk_upload, and finalize_chunk_upload (14→18 tools). prepare_upload gains optional visibility parameter. FinalizeUploadResult gains dataMap and dataMapAddress fields in JS/TS bindings. ant-sdk: e0dfa2c384ea17f49490d3d5110c3d226ac5233b → a3cf4e40052e3af8d1e8029ca0b3c97281d14108
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upstream
ant-sdk:
e0dfa2c384ea17f49490d3d5110c3d226ac5233b→a3cf4e40052e3af8d1e8029ca0b3c97281d14108Commit:
feat: external-signer public uploads + single-chunk prepare/finalize across 15 SDKs (#90)Source artifacts inspected
antd-mcp/src/antd_mcp/server.pyata3cf4e4— new tool functionsprepare_upload_public,prepare_chunk_upload,finalize_chunk_upload; updatedprepare_uploadsignature andfinalize_uploaddocstringantd-mcp/README.md— tool count 14 → 18, updated tool tableantd-js/src/models.ts—FinalizeUploadResultgainsdataMap: stringanddataMapAddress: string; newPrepareChunkResultinterfaceantd-py/src/antd/models.py—FinalizeUploadResultgainsdata_mapanddata_map_address; newPrepareChunkResultdataclassantd/openapi.yaml— unchangedDeveloper-facing change
antd-mcpgains four new external-signer tools:prepare_uploadnow accepts an optionalvisibilityparameter,prepare_upload_publicis a convenience wrapper for public uploads, andprepare_chunk_upload/finalize_chunk_uploadhandle single raw chunks without a daemon wallet.FinalizeUploadResultin JS and TS bindings gainsdataMapanddataMapAddressfields.Files changed in this PR
docs/mcp/mcp-server-reference.md— external-signer tools section updateddocs/sdk/reference/language-bindings/javascript.md—FinalizeUploadResulttype mapping updateddocs/sdk/reference/language-bindings/typescript.md—FinalizeUploadResulttype mapping updatedWhy prose changed
mcp-server-reference.md: The external-signer tools section previously documented 4 tools (
prepare_upload,prepare_data_upload,finalize_upload,finalize_merkle_upload). The upstream commit addsprepare_upload_public,prepare_chunk_upload, andfinalize_chunk_upload, and updatesprepare_upload's signature to accept an optionalvisibilityparameter.finalize_uploadandfinalize_merkle_uploadnow returndata_mapanddata_map_addressfields. Tracked byantd-mcp/src/antd_mcp/server.pyata3cf4e4.javascript.md / typescript.md: The inline
FinalizeUploadResulttype literal was missing the newdataMapanddataMapAddressfields added inantd-js/src/models.tsata3cf4e4.Verification run
status: ok, 0 drifted records for the 3 prose pagesserver.pyata3cf4e4FinalizeUploadResultfields confirmed againstantd-js/src/models.tsata3cf4e4scripts/,.github/,repo-registry.yml,component-registry.ymlDeferred ambiguous records
None.
Uncertainties
The
use-external-signers-for-upload-payments.mdhow-to guide already documents the single-chunk prepare/finalize REST flow (/v1/chunks/prepare,/v1/chunks/finalize) and thevisibility:"public"parameter. Confirming those pages needed no prose update — their content was already accurate before this commit (the REST endpoints pre-existed; this commit adds SDK client wrappers only).Generated by Claude Code