docs: complete v2.0 unified-apply sweep across all public doc surfaces#388
Merged
Conversation
The unified-apply sweep in c8cbac2 caught READMEs and MCP tools but left stale `blob_*` / `r.deploy.*` references in the comprehensive references and the doc map. This finishes the job and makes the v2.0 vision visible on every surface, not just sdk/README. - README.md: MCP tool table (blob_* → assets_*, "Blob storage" → "Asset storage"), CLI examples (run402 blob → run402 assets), and the resolve example reframed to r.project(id).deploy.resolve. - sdk/llms-sdk.txt: rewrote the namespace reference from `r.blobs` to `r.assets` (heading, signatures, file paths); split the deploy section into r.project(id).apply (mutations) + r.project(id).deploy (observability); documented the NodeAssets bulk helpers (uploadDir / syncDir / prepareDir / putMany), LocalDirRef three-schema fidelity, the prune-confirmation token semantics, and the AssetManifest shape with its null-prototype invariant. - llms-mcp.txt: section heading + new "Bulk asset directories via the deploy tool's assets slice" subsection so the v2.0 batch story is reachable from the MCP-host doc. - cli/llms-cli.txt: section heading + new "Assets slice (v2.0+)" manifest documentation covering additive batch and declarative sync. - AGENTS.md: namespace list, scoped-client description, Unified Apply section bullets, and the cli/lib/blob.mjs path all updated; added a new bullet about the first-class assets slice. - sdk/README.md: scoped resolve form and release observability methods. - documentation.md: private-repo openapi.json endpoint refs from /deploy/v2/* to /apply/v1/*, plus v1.48 line in changelog summary. Also reframes "Unified Deploy (v1.34+)" headings to "Unified Apply" with the v1.34 → v2.0 lineage called out, since v2.0 is when the public r.deploy surface retired in favor of the internal _applyEngine. Verified: npm run test:skill (120 pass) and npm run test:sync (33 pass). The 6 pre-existing unit failures in src/tools/deploy-list.test.ts and src/tools/deploy-diagnose-url.test.ts are unchanged on this branch versus the v2.0.0 baseline at 557e7b8. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
Summary
Finishes the unified-apply doc sweep started in c8cbac2 — the prior pass caught READMEs and MCP tools but left stale
blob_*/r.deploy.*references in the comprehensive references and the doc map. Now every public agent-facing surface reflects the v2.0 vision.blob_*→assets_*MCP tools;run402 blob→run402 assetsCLI; publicr.deploy.*retired in favor ofr.project(id).apply(mutations) +r.project(id).deploy(observability)uploadDir/syncDir/prepareDir/putMany), theLocalDirRefthree-schema fidelity contract, prune-confirmation token semantics, and theAssetManifestshape with its null-prototype invariant are documented in sdk/llms-sdk.txt, llms-mcp.txt, and cli/llms-cli.txt/deploy/v2/*to/apply/v1/*Files touched: AGENTS.md, README.md, sdk/README.md, sdk/llms-sdk.txt, llms-mcp.txt, cli/llms-cli.txt, documentation.md.
Test plan
npm run test:skill— 120 pass, 0 failnpm run test:sync— 33 pass, 0 fail (including doc-content drift guards forDeployResolveOptions,r.deploy.resolve, static-route-target literals, etc.)src/tools/deploy-list.test.tsandsrc/tools/deploy-diagnose-url.test.tsare unchanged on this branch versus the v2.0.0 baseline at 557e7b8 — not introduced by this PRassets_*MCP tools andrun402 assets *CLI examples render correctly on npm package pages once deployed🤖 Generated with Claude Code