Skip to content

Remove Amp editor extension clients#5717

Open
ecgang wants to merge 1 commit into
stacklok:mainfrom
ecgang:claim/toolhive-5675-remove-amp-editor-clients
Open

Remove Amp editor extension clients#5717
ecgang wants to merge 1 commit into
stacklok:mainfrom
ecgang:claim/toolhive-5675-remove-amp-editor-clients

Conversation

@ecgang

@ecgang ecgang commented Jul 4, 2026

Copy link
Copy Markdown

Closes #5675


This contribution was developed with AI assistance via terminalhire. The author has reviewed the change and takes responsibility for its content.

Amp discontinued their VS Code / Cursor / Windsurf editor extensions, so the
corresponding ToolHive clients targeted software that no longer exists. Remove
the four dead client identifiers:

  - amp-vscode
  - amp-vscode-insider
  - amp-cursor
  - amp-windsurf

amp-cli is retained: Amp still ships and supports the CLI.

Removed the ClientApp constants and their registry entries in
pkg/client/config.go, the corresponding mock registry / switch / assertion
references in pkg/client/config_test.go, and the stale test-data strings in
pkg/config/config_test.go. Regenerated (by hand, matching codegen output) the
swaggo enums (docs/server/{docs.go,swagger.json,swagger.yaml}) and the cobra
client-list docs (docs/cli/thv_client_{register,remove}.md); `make docs` should
be re-run to confirm byte-for-byte.

BREAKING CHANGE: the amp-vscode, amp-vscode-insider, amp-cursor, and
amp-windsurf client identifiers are removed from the MCP ClientApp API enum.

Closes stacklok#5675
@github-actions github-actions Bot added the size/S Small PR: 100-299 lines changed label Jul 6, 2026
@codecov

codecov Bot commented Jul 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.63%. Comparing base (fb69e00) to head (a529200).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5717      +/-   ##
==========================================
- Coverage   70.65%   70.63%   -0.03%     
==========================================
  Files         682      682              
  Lines       68854    68854              
==========================================
- Hits        48651    48636      -15     
- Misses      16657    16668      +11     
- Partials     3546     3550       +4     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@eleftherias

Copy link
Copy Markdown
Member

@ecgang Can you comment on #5675 requesting assignment, per the contributor guidelines? https://github.com/stacklok/toolhive/blob/main/CONTRIBUTING.md#claiming-an-issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S Small PR: 100-299 lines changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove Amp editor extension clients

2 participants