Wheelshop
@bixu/wheelshopv2026.05.04.3
01README
Community-TS guardrail for swamp extension authors — search npm/jsr for proven libraries, filter by trust gates (downloads, license, recency, vulnerabilities), and stop reinventing wheels
02Models
@bixu/wheelshopv2026.05.04.1wheelshop.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| cacheDir | string | Directory for the 24h fetch cache |
| cacheTtlHours | number | How long cached registry responses stay fresh, in hours |
fn search(intent: string, keywords: array, runtime: enum, limit: number, unsafe: boolean)
Search npm/jsr for community libraries matching an intent, filter by trust gates, and return ranked recommendations. If all candidates fail the gates, returns action='ask_user' so the agent knows to prompt a human.
| Argument | Type | Description |
|---|---|---|
| intent | string | Plain-English description of what you need a library for (e.g. 'parse cron expressions', 'retry with backoff') |
| keywords | array | Optional extra keywords to refine the search |
| runtime | enum | Target runtime — affects scoring; jsr is preferred when 'deno' or 'both' |
| limit | number | Max candidates to return after filtering |
| unsafe | boolean | Include candidates that fail trust gates (DO NOT enable without explicit user approval) |
fn audit(package: string, version?: string, unsafe: boolean)
Audit a specific npm package + version against the same trust gates used by search. Useful for validating an existing dependency or a candidate the agent already has in mind.
| Argument | Type | Description |
|---|---|---|
| package | string | Package name to audit (e.g. 'cron-parser', '@aws-sdk/client-s3') |
| version? | string | Version to audit (default: latest from the registry) |
| unsafe | boolean | Report blockers but mark approved=true regardless |
Resources
recommendation(1d)— A single library recommendation for a stated intent
searchSummary(1d)— Summary of a wheelshop search
auditReport(1d)— Trust-gate audit of a specific package version
03Previous Versions
2026.05.04.2May 4, 2026
2026.05.04.1May 4, 2026
04Stats
A
100 / 100
Downloads
9
Archive size
25.1 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types1/1earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
Repository
https://github.com/bixu/swamp-extensions05Platforms
06Labels