mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-20 20:34:19 +00:00
* feat(herdr): hide disabled rows and group In sync by source A source with many disabled skills buries the few rows that need attention, and a long In sync list gives no sense of where skills came from. - Disabled rows are hidden by default; "Show disabled · n" lists them again and the choice is kept. A disabled hook with pending changes stays visible because it still needs a sync. - In sync skills and agents can be grouped by their source repository (By source) or shown flat (List); a source with one row stays a plain row, and a filter opens every group. - Opened plugin and MCP rows show their source, version and targets instead of an empty detail area. * refactor(herdr): move the panel's logic out of main.js into testable modules The bugs fixed in #773, #774 and #775 sat in main.js code that imports Herdr, so node could not test it: the detached-job polling, the busy state, and perform's op chain. Only model.js's parsing had tests. Each concern now lives in a module that takes Herdr's functions as arguments, so herdr/tests runs it: - jobs.js runs skillshare: short reads as one exec, longer work detached and polled, with the sweep of old job folders and one JOB_MINUTES limit shared with SWEEP. - channel.js carries requests, notices and one lock per machine through shared values. The install dialog used to check only a global busy string and then run without the lock; it now takes that machine's lock. Holders refresh the lock before each command and an untouched lock expires after a minute, because a dialog's task ends without cleanup when it closes. - operations.js holds what each request runs and the conflict handling of a pull; perform only takes the lock and shows progress and the result. - loader.js reads the Resources data and the Machines cards, and runs status alongside the snapshots.
Website
Documentation site for skillshare, built with Docusaurus.
Install
npm install
Local Development
npm start
Quality Checks
npm run typecheck
npm run clear
Build and Preview
npm run build
npm run serve
Deployment
npm run deploy
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.