Repository navigation
Remove the retired Platform Connections commands - #36
Merged
Merged
Conversation
There was a problem hiding this comment.
Confidence Score: 5/5
Summary
Removes the retired Connections commands and documentation while preserving MCP client management. Regression risk is limited to command parsing and shared pagination; no actionable defects found.
Local verification:
cargo fmt --all -- --checkandcargo clippy --workspace --locked --all-targets -- -D warningspassed.cargo test --workspace --locked: 158 passed, none failed or ignored.- Python packaging/publishing suite: 9 passed.
cargo xtask pin-runtime --checkandcargo build --locked --releasepassed.- Release binary rejected all 14 retired operations with exit 2 on both backends; help and bundled skill omit them.
- 24 additional local HTTP-fixture scenarios passed across all six remaining paginated resource lists.
Executed on Linux x86_64 GNU with Rust 1.100.1. Other release targets were not run locally; HTTP contracts were exercised against local fixtures.
Important Files Changed
| File | Changes |
|---|---|
| src/cli.rs | Removes the Connections command group and its 14 subcommands. |
| src/commands.rs | Deletes retired gateway handlers and updates remaining pagination callers. |
| src/api.rs | Removes fixed-page-size branching from the shared pagination helper. |
| src/backend/cloud.rs | Updates sandbox listing to the simplified pagination interface. |
| src/auth.rs | Restricts browser-opening helper visibility after removing its external caller. |
| tests/cli.rs | Checks retired-command rejection and preserves the MCP client-list request contract. |
| tests/backend/mod.rs | Removes a retired command from local-backend unsupported-operation cases. |
| tests/resource_prefixes/mod.rs | Removes prefix coverage for the retired tool-description endpoint. |
| README.md | Removes connected-tool examples and capability claims. |
| docs/api-coverage.md | Removes retired gateway operations and references upstream retirement. |
| docs/cli-reference.md | Removes retired commands, examples, selectors, and pagination exceptions. |
| skills/adapt/SKILL.md | Removes external-tool workflows while retaining built-in MCP discovery guidance. |
Run info
| Field | ID |
|---|---|
| Agent | 0d6ccd7e-b62f-4075-a561-199d1a7b1bf0 |
| Automation | ec14e69d-634f-4af0-a6dd-27aa06a1f6b3 |
| Run | 1a4152ca-f16d-4d96-bd7b-1ca0f135105f |
Reviewed: 1c30456-3a68e19 · ↻ Re-run review
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.
Platform removed the external-tool gateway in adapt/platform#308. The released CLI still sends
adapt connections listto that gateway and receives a production 404.Remove the 14
adapt connectionssubcommands, their HTTP handlers, and their examples from the README, CLI reference, API coverage table, and bundled Adapt skill. The two removed list operations were the only callers that used server-defined page sizes, so the remaining resource lists can share the same limit handling.Verification
adapt connections listwith exit code 2 on both cloud and local backends. Top-level help andadapt skill showomit the command group.adapt mcp listcalls/v1/auth/mcp/connections.See adapt/docs#19 for the public documentation update.