Upstream sweep 2026-06-19: streaming downloads, preflight, CLI peers, node config#63
Merged
JimCollinson merged 3 commits intoJun 24, 2026
Merged
Conversation
…6-19
Track developer-facing surface changes from the ant-sdk 0.10.0, ant-client,
and ant-node releases:
- rest-api: implemented streaming download endpoints (POST /v1/data/stream,
GET /v1/data/public/{addr}/stream) with optional NDJSON progress framing;
total_chunks and already_stored_count on the prepare response
- grpc-services: Stream RPC and implemented StreamPublic, DataChunk oneof and
DownloadProgress, chunks_stored/payment_mode_used on the data Put responses,
preflight fields on PrepareUploadResponse
- mcp-server-reference: stream_download_file tool
- use-external-signers: preflight fields on the prepare responses
- command-reference: ant file download --peers flag
- embed-a-node: drop the removed bootstrap_cache config field
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzRf3EPwr6UPNY36HK3rJ2
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.
Prose updates for the daily upstream sweep, tracking developer-facing surface changes in the ant-sdk 0.10.0, ant-client, and ant-node releases. Companion to the metadata-only sweep PR (
claude/sweep-2026-06-19); the two PRs touch disjoint page sets. Opened as draft for prose review.Upstream
e102df9b->e56292325d84332e2d->4d0448458efb7494e84d->c53665bf4dSource artifacts inspected
antd/openapi.yaml,antd/proto/antd/v1/data.proto,antd/proto/antd/v1/upload.proto,antd/src/rest/{mod,data,upload}.rs,antd/src/grpc/service.rs,antd/src/types.rs,antd-mcp/src/antd_mcp/server.py,antd-mcp/README.md(ant-sdk)ant-cli/src/commands/data/file.rs,ant-cli/src/main.rs(ant-client)src/bin/ant-node/cli.rs,src/config.rs(ant-node)Developer-facing change
StreamRPC and an implementedStreamPublic(previouslyUNIMPLEMENTED); REST gains an implementedGET /v1/data/public/{addr}/stream, raw by default and NDJSON with progress frames underAccept: application/x-ndjson.total_chunksandalready_stored_count, surfacing the already-stored preflight so signers pay only for new chunks.Put/PutPublicresponses gainedchunks_storedandpayment_mode_used.stream_download_filetool.ant file downloadCLI command gained an optional--peersflag.Files changed in this PR
docs/sdk/reference/rest-api.mddocs/sdk/reference/grpc-services.mddocs/mcp/mcp-server-reference.mddocs/sdk/how-to-guides/use-external-signers-for-upload-payments.mddocs/cli/command-reference.mddocs/rust/embed-a-node-in-your-application.mdWhy prose changed
rest-api.md: rewrote the public-stream section from a stub to the implemented streaming behaviour, addedtotal_chunks/already_stored_countto the REST prepare responses, and fixed on-network terminology -- tracksantd/openapi.yaml,antd/src/rest/{data,upload}.rs, andantd/src/types.rs.grpc-services.md: documented theStreamRPC, the implementedStreamPublic, theDataChunkoneof andDownloadProgress, and the new fields on the dataPutresponses -- tracksdata.protoandgrpc/service.rs.mcp-server-reference.md: added thestream_download_filetool and clarified thedownload_fileshared-filesystem requirement -- tracksantd-mcp/src/antd_mcp/server.pyandantd-mcp/README.md.use-external-signers-for-upload-payments.md: added the REST preflight fields to both prepare-response shapes and fixed on-network terminology -- trackstypes.rs/openapi.yaml.command-reference.md: added the--peersflag (alias--peer-count) toant file download-- tracksant-cli/src/commands/data/file.rs.embed-a-node-in-your-application.md: removed thebootstrap_cacheconfig field from the field list -- tracks the deletion insrc/config.rs.Verification run
markdownlint/ link checkers: skipped -- not configured in this repo / not installed in the run environmentpython3 scripts/sweep_poll.pyon this branch ->status: "ok"; current output also reports newer ant-client/ant-node heads beyond this 2026-06-19 sweep, so those later drifts are left for a follow-up sweep<hex_id>,0x...), consistent with the existing page convention, so a strict JSON parse was not applicable; example structure reviewed by hand and the cURL invocations checked for shapeStream/DownloadProgress, RESTtotal_chunks/already_stored_count,--peers, the removedbootstrap_cache) -- all confirmedPrepareUploadResponsedoes not expose the REST preflight fields, and private RESTPOST /v1/data/streamis not inopenapi.yamlgit diff --checkpassesSKILL.mdbody re-audited and left unchanged; no skill patch release accompanies this runUncertainties
POST /v1/data/streamexists in the Rust router, but is absent fromopenapi.yaml; it is left out ofrest-api.mduntil the canonical OpenAPI artifact records it.Generated by Claude Code