@hagicode/cli 0.1.0-dev.36.1.f325b1d → 0.1.0-dev.37.1.g0135119
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -0
- package/dist/chunks/main-BILnWqVU.js +165 -0
- package/dist/cli.js +1 -1
- package/dist/main.js +1 -1
- package/package.json +1 -1
- package/dist/chunks/main-BZv8nHhC.js +0 -164
package/README.md
CHANGED
|
@@ -553,6 +553,26 @@ hagi skills gallery search --query react --json
|
|
|
553
553
|
hagi skills gallery detail --id vercel-react-best-practices --source vercel-labs/agent-skills
|
|
554
554
|
```
|
|
555
555
|
|
|
556
|
+
`gallery detail` also shows third-party audit ratings for the skill, supplied by skills.sh (providers such as `ath`, `socket` and `snyk`). In `--json` output every detail field is unchanged and an `audit` object is added. It lists one entry per provider that supplied data; `risk`, `alerts`, `score` and `analyzedAt` appear only when the backend has them:
|
|
557
|
+
|
|
558
|
+
```json
|
|
559
|
+
{
|
|
560
|
+
"id": "vercel-react-best-practices",
|
|
561
|
+
"source": "vercel-labs/agent-skills",
|
|
562
|
+
"...": "all other detail fields",
|
|
563
|
+
"audit": {
|
|
564
|
+
"providers": [
|
|
565
|
+
{ "provider": "ath", "risk": "low", "alerts": 0, "score": 92, "analyzedAt": "2026-10-30T08:00:00Z" },
|
|
566
|
+
{ "provider": "socket", "risk": "medium", "alerts": 2 }
|
|
567
|
+
]
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
```
|
|
571
|
+
|
|
572
|
+
In human output the detail table is followed by one line per provider, for example `skills.sh audit (socket): risk=medium, alerts=2, score=--, analyzedAt=--`, where `--` marks a value the backend did not supply.
|
|
573
|
+
|
|
574
|
+
The audit is best-effort. If the audit call fails, times out or has no data, the detail still prints and the command exits `0`; in `--json` output `audit.providers` is then `[]`, never missing. The backend bounds the audit wait, and the CLI adds no timeout of its own. A failure of the detail call itself fails the command as before, and the audit never hides it. The audit does not change the install command preview or whether the skill is installable.
|
|
575
|
+
|
|
556
576
|
Start a managed install of a gallery skill. This writes the skill into your local skill directories, so run it only when you intend to install it:
|
|
557
577
|
|
|
558
578
|
```bash
|