feat(vscode): Markets button + full-screen marketplace view#27
Merged
Conversation
Adds a 'Markets' pill in the top bar next to the wallet dropdown that opens a full-screen skill marketplace view (the wallet/chat view-switch pattern, a new 'market' panel). Opening it loads the popular list (empty query = supply-sorted); a search box filters; each result is a card with image slot, name, description, supply, and a Buy button (disabled = Owned). Reuses the shared market message contract (#26) end to end — searchSkills/ searchResults/buySkill/buyResult/ownedSkills — so no new backend: the existing marketplaceEnv callbacks drive it. searchResults now renders BOTH the small skills-panel shop and the full Markets grid; ownedSkills re-renders the open view's Owned badges; buyResult refreshes whichever view is showing. VSCode-first per the plan; the mobile React surface gets its own design over the same contract next. webview script parses, test-skills 31/31, core+vscode tsc clean.
4 tasks
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.
Per the plan — VSCode first. Adds a Markets pill in the top bar (next to the wallet dropdown) that opens a full-screen skill marketplace.
What you get
C3EP..krH ▾). Click → full-screen Markets view; the button shows an active state while open.How it's wired (no new backend)
Reuses the shared market message contract (#26) end to end:
searchSkills → searchResults,buySkill → buyResult,ownedSkills. The existingmarketplaceEnvcallbacks drive everything.searchResultsnow renders both the small skills-panel shop and the full Markets grid.ownedSkillsre-renders the open view's Owned badges.buyResultrefreshes whichever view is showing.So a buy in the Markets view installs the skill (PR #20 path) and the card flips to Owned.
Scope / next
Verify
test/test-skills.ts— 31/31 (incl. the contract↔webview agreement checks)tsc --noEmitclean (core + vscode)🤖 Generated with Claude Code