Repository navigation
feat(marketplace): dedicated git repositories view and persistent caching (#180) - #186
Conversation
…y with ignore list, and ignore management endpoints
…n, and settings management
…ettings confirmation, and formatting
…e and reset scan state on unignore
…and show sidebar badge
…nagement in English and Chinese
…ories integration
…item subpath for install
…d improve store error handling
…, and add search Escape shortcut
…larity, and store error handling
…ng, and i18n keys
|
Thanks for the PR! I'll take a look in the next few days. |
|
hope it makes sense and isn't too much work for you. or maybe you wanna reimplement some similar feature yourself |
…tion, and deduplicate via schema v12
…staging, and deleted project skip
…, and preserve dialog selections
Marketplace gets a Discover | Following switch. Following lists the Git repositories the user follows: each keeps a shallow checkout under ~/.harnesskit/repos/ and shows the skills it holds, which are installed and on which agents, and the ones added since the last refresh. - Follow, refresh and unfollow a repository; refresh all runs four at a time and queues the rest. Opening Following refreshes the repositories not refreshed within a day. - Filters (all, not installed, installed, hidden) and search across every repository; skills that appear in a later refresh are marked new. - Install one skill to chosen agents and a scope, hide or show a skill. - Install from Git can follow the repository it installs from, taking its clone over as the checkout. - A skill's detail panel, on the Extensions page and in Discover, links to its repository or offers to follow it. - On upgrade, the repositories of skills installed from Git are listed. Each checkout is guarded by a file lock shared by the desktop app and hk serve, git only ever works on the checkout itself, and a git command that hangs is stopped after five minutes. A failed refresh keeps the last good list. Schema v10 adds two tables. Also fixes post_install_sync: installing a skill for several agents now records its source for every agent that shares a skill folder with any of them, not only with the first. Closes RealZST#180 Co-authored-by: RealZST <53246001+RealZST@users.noreply.github.com>
- Repository cards show their counts (new, skills, installed) as small tags beside the name; the address and the refresh time share the line below. - Expand all / Collapse all in the toolbar. - A dot on the Following switch says a refresh brought skills the user has not seen yet; it goes away once Following is opened. Stale repositories are refreshed when the Marketplace opens, so the dot is current from Discover too. - The card a "View repository" link points at is outlined. - Skill rows highlight on hover, and Escape clears the search field. - The empty state has a title. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
Thanks for the PR! The branch had grown too large to review line by line, so I rebuilt it on current main, keeping your design, and pushed it here (4f1a01c, 44c1461). It will be in the next release. What is in Marketplace has a Discover | Following switch. Following is your repositories view: follow, refresh and unfollow a repository, filter by All / Not installed / Installed / Hidden, search, and install each skill. Install from Git can follow the repository it installs from, and a skill's detail panel links to its repository.
Installed skills show the agents that have them:
What I changed
The dot on the switch, and the link from a skill's detail panel:
What I left out
One bug worth knowing about: the new commands sent snake_case keys through Tauri Merged. Thanks again! |



Closes #180
Summary
Introduces dedicated Git repository management and persistent local caching to resolve upstream skill discovery limitations and replace ephemeral post-update popups with a first-class catalog view under Marketplace.
repositoriesandrepository_itemstables with auto-seeding from existing Git extension metadata (install_meta).~/.harnesskit/repos/): Hardened shallow clone/fetch withhttp.lowSpeedLimit, low-speed timeout,GIT_TERMINAL_PROMPT=0, and reset/clean recovery.auth_tokenuses#[serde(skip_serializing, default)]to prevent PAT leakage over IPC/HTTP JSON payloads.ExtensionDetail.available/installed/ignored), and item restore actions.Evidence
ENABLE_NEW_REPO_SKILLS=false).cargo fmtclean.Merge Danger
Door: two-way
Schema migration automatically backfills existing Git installs into
repositorieson first launch; database migration drops temporary v10 test tables if present. Local repo caches reside in user data dir (~/.harnesskit/repos/) and can be safely deleted or re-synced at any time.Blast Radius: contained
Marketplace navigation and Git installation flows. Existing extension scanning, agent adapters, kit syncing, and CLI operations are untouched.