release v0.1.4

This commit is contained in:
Kinneyzhang 2026-10-02 14:26:13 +08:00
parent 55af6af2ab
commit 18c250c868
5 changed files with 12 additions and 12 deletions

View File

@ -4,13 +4,13 @@
"summary": "所有技能的统一切入点:技能目录、用法转发、PATH 入口注册与契约检查", "summary": "所有技能的统一切入点:技能目录、用法转发、PATH 入口注册与契约检查",
"tier": 1, "tier": 1,
"status": "stable", "status": "stable",
"version": "f461591", "version": "d0c7a0e",
"source": { "source": {
"path": "skills/skill-interface", "path": "skills/skill-interface",
"commit": "f461591", "commit": "d0c7a0e",
"describe": "f461591", "describe": "d0c7a0e",
"dirty": false, "dirty": false,
"packed_at": "2026-10-02T06:25:48.205Z" "packed_at": "2026-10-02T06:26:12.037Z"
}, },
"platforms": [ "platforms": [
"all" "all"
@ -130,7 +130,7 @@
{ {
"path": "VERSION", "path": "VERSION",
"bytes": 6, "bytes": 6,
"sha256": "2d2454ef0edeb462" "sha256": "8a3dad16d348c163"
}, },
{ {
"path": "assets/licenses/GPL-3.0.txt", "path": "assets/licenses/GPL-3.0.txt",
@ -224,8 +224,8 @@
}, },
{ {
"path": "scripts/skill-release.mjs", "path": "scripts/skill-release.mjs",
"bytes": 20035, "bytes": 20031,
"sha256": "a2a9bd3d962519d0" "sha256": "68b4334fd3a0c59a"
}, },
{ {
"path": "scripts/skill-retire.mjs", "path": "scripts/skill-retire.mjs",

View File

@ -10,14 +10,14 @@
## 安装 ## 安装
```sh ```sh
pi install git:gitea.vhkd.top/pi-hub/skill-interface.git@v0.1.3 pi install git:gitea.vhkd.top/pi-hub/skill-interface.git@v0.1.4
``` ```
装完 `pi-skill list` 能看到 `skill-interface`,`pi-skill skill-interface check` 会告诉还缺什么。 装完 `pi-skill list` 能看到 `skill-interface`,`pi-skill skill-interface check` 会告诉还缺什么。
## 先准备什么 ## 先准备什么
- `tar`(命令),安装:`macOS/Windows 10+ 自带`;pi-skill pack 生成 .tar.gz 用;没有也能出目录包 - `tar`(命令),安装:macOS/Windows 10+ 自带;pi-skill pack 生成 .tar.gz 用;没有也能出目录包
## 常用命令 ## 常用命令

View File

@ -1,6 +1,6 @@
{ {
"name": "skill-interface", "name": "skill-interface",
"version": "0.1.3", "version": "0.1.4",
"description": "所有技能的统一切入点:技能目录、用法转发、PATH 入口注册与契约检查", "description": "所有技能的统一切入点:技能目录、用法转发、PATH 入口注册与契约检查",
"license": "GPL-3.0-or-later", "license": "GPL-3.0-or-later",
"keywords": [ "keywords": [

View File

@ -1 +1 @@
0.1.3 0.1.4

View File

@ -146,7 +146,7 @@ function readmeSections(skill) {
const declared = skill.declared ?? {}; const declared = skill.declared ?? {};
const requires = (declared.requires ?? []).map(item => { const requires = (declared.requires ?? []).map(item => {
const clauses = []; const clauses = [];
if (item.install) clauses.push(`安装:\`${item.install}\``); if (item.install) clauses.push(`安装:${item.install}`);
if (item.note) clauses.push(item.note); if (item.note) clauses.push(item.note);
return `- \`${item.name}\`(${KIND_LABEL[item.kind] ?? item.kind})${clauses.length ? `,${clauses.join(';')}` : ''}`; return `- \`${item.name}\`(${KIND_LABEL[item.kind] ?? item.kind})${clauses.length ? `,${clauses.join(';')}` : ''}`;
}); });