Skip to content

Commit 38fc96b

Browse files
committed
fix: align claude host install with current plugin standard
1 parent cd82765 commit 38fc96b

14 files changed

Lines changed: 181 additions & 23 deletions

File tree

‎.claude-plugin/plugin.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "helloloop",
3-
"version": "0.2.0",
3+
"version": "0.2.1",
44
"description": "HelloLoop 的 Claude Code 原生插件元数据,用于多 CLI 宿主分发。",
55
"author": {
66
"name": "HelloLoop"

‎.codex-plugin/plugin.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "helloloop",
3-
"version": "0.2.0",
3+
"version": "0.2.1",
44
"description": "面向 Codex CLI、Claude Code、Gemini CLI 的多宿主开发工作流插件,Codex 路径为首发与参考实现。",
55
"author": {
66
"name": "HelloLoop"

‎.helloagents/CHANGELOG.md‎

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# 变更日志
2+
3+
## [0.2.1] - 2026-03-29
4+
### 调整
5+
- **[Claude]**: 修正 Claude Code marketplace manifest 字段,移除不兼容字段并补充 marketplace 元数据
6+
- **[安装]**: Claude 宿主改为按当前官方标准生成 `plugins/marketplaces`、`plugins/cache`、`known_marketplaces.json`、`installed_plugins.json`
7+
- **[验证/文档]**: `doctor` 补充 Claude 安装索引检查,README、安装文档与回归测试同步更新
8+
9+
## [0.2.0] - 2026-03-29
10+
### 调整
11+
- **[多宿主]**: 新增 Claude marketplace/plugin 资产与 Gemini extension 资产,支持多 CLI 原生安装与使用
12+
- **[安装]**: `helloloop install` 新增 `--host codex|claude|gemini|all`、`--claude-home`、`--gemini-home`
13+
- **[文档/测试]**: README、安装说明、插件标准文档、新增多 CLI 架构文档与任务清单,并补充多宿主安装回归测试
14+
15+
## [0.1.0] - 2026-03-28
16+
### 调整
17+
- **[配置]**: 默认状态目录从 `.helloagents/helloloop` 改为 `.helloloop`
18+
- **[提示]**: 干跑与执行提示词只读取当前 loop 状态
19+
- **[文档/测试]**: README、安装文档、技能说明与回归测试同步新默认目录
20+
21+
## [0.1.0] - 2026-03-28
22+
### 调整
23+
- **[品牌]**: 项目、插件、skill、CLI 与安装目录统一从 `autoloop` 更名为 `helloloop`
24+
- **[安装]**: marketplace 与安装逻辑切换到 `./plugins/helloloop`,并清理遗留 `autoloop` 安装目录
25+
- **[文档/测试]**: README、安装说明、插件标准文档与回归测试同步新名称
26+
27+
## [0.1.0] - 2026-03-28
28+
### 调整
29+
- **[安装]**: `scripts/install-home-plugin.ps1` 仅复制运行时 bundle,不再复制 `docs/` 与 `tests/`
30+
- **[测试]**: `tests/install_script.test.mjs` 覆盖安装包瘦身后的行为
31+
- **[文档]**: 补充 `/plugins` 是当前官方插件入口的说明

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ pwsh -NoLogo -NoProfile -File .\scripts\install-home-plugin.ps1 -CodexHome <CODE
112112
安装完成后:
113113

114114
- Codex 会写入 `<CODEX_HOME>/plugins/helloloop`
115-
- Claude 会写入 `<CLAUDE_HOME>/marketplaces/helloloop-local`
115+
- Claude 会写入 `<CLAUDE_HOME>/plugins/marketplaces/helloloop-local`,并生成 `<CLAUDE_HOME>/plugins/cache/helloloop-local/helloloop/<VERSION>`
116116
- Gemini 会写入 `<GEMINI_HOME>/extensions/helloloop`
117117

118118
如果你想在安装后做一次全宿主环境检查:

‎docs/install.md‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,22 @@
2121

2222
`docs/` 和 `tests/` 属于源码仓库资料,不会复制进安装后的运行时 bundle。
2323

24+
其他宿主的安装结果:
25+
26+
```text
27+
<CLAUDE_HOME>/
28+
├── plugins/
29+
│ ├── cache/helloloop-local/helloloop/<VERSION>/
30+
│ ├── installed_plugins.json
31+
│ ├── known_marketplaces.json
32+
│ └── marketplaces/helloloop-local/
33+
└── settings.json
34+
35+
<GEMINI_HOME>/
36+
└── extensions/
37+
└── helloloop/
38+
```
39+
2440
## 推荐安装
2541

2642
### 方案 A:npm / npx
@@ -60,6 +76,11 @@ pwsh -NoLogo -NoProfile -File .\scripts\install-home-plugin.ps1 -CodexHome <CODE
6076

6177
如果目标目录已存在,追加 `--force` 或 `-Force` 即可覆盖。
6278

79+
其中:
80+
81+
- `Claude` 会按当前 CLI 的标准目录生成 marketplace、cache 与安装索引文件
82+
- `Gemini` 会把扩展写入 `<GEMINI_HOME>/extensions/helloloop`
83+
6384
## 安装后怎么用
6485

6586
安装完成后,进入目标项目仓库或开发文档目录,按宿主优先直接运行:

‎docs/multi-cli-tasks.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[√] 新增 Claude marketplace / plugin 运行时资产
77
[√] 新增 Gemini extension 运行时资产
88
[√] 新增 `install --host codex|claude|gemini|all`
9-
[√] 为 Claude 自动写入 `settings.json` marketplace / enabledPlugins
9+
[√] 为 Claude 自动写入标准 `settings.json`、`known_marketplaces.json`、`installed_plugins.json` 与 cache 目录
1010
[√] 为 Gemini 自动安装到 `~/.gemini/extensions/helloloop`
1111

1212
## Phase 2:文档与使用说明
@@ -20,6 +20,6 @@
2020

2121
[√] 为多宿主安装新增回归测试
2222
[√] 为打包白名单新增宿主资产断言
23-
[ ] 增加 Claude 宿主集成验证
23+
[√] 增加 Claude 宿主集成验证
2424
[ ] 增加 Gemini 宿主集成验证
2525
[√] 增加多宿主 doctor 检查

‎hosts/claude/marketplace/.claude-plugin/marketplace.json‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@
33
"owner": {
44
"name": "HelloLoop"
55
},
6+
"metadata": {
7+
"description": "HelloLoop 的 Claude Code 本地 marketplace,提供基于开发文档的分析、确认与自动接续开发工作流。"
8+
},
69
"plugins": [
710
{
811
"name": "helloloop",
9-
"displayName": "HelloLoop",
1012
"description": "基于开发文档分析当前进度、展示确认单,并在确认后继续接续开发的 Claude Code 原生插件。",
1113
"source": "./plugins/helloloop"
1214
}

‎hosts/claude/marketplace/plugins/helloloop/.claude-plugin/plugin.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "helloloop",
3-
"version": "0.2.0",
3+
"version": "0.2.1",
44
"description": "HelloLoop 的 Claude Code 原生插件。",
55
"author": {
66
"name": "HelloLoop"

‎hosts/gemini/extension/gemini-extension.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "helloloop",
3-
"version": "0.2.0",
3+
"version": "0.2.1",
44
"description": "HelloLoop 的 Gemini CLI 原生扩展,用于按开发文档接续推进项目开发。",
55
"contextFileName": "GEMINI.md",
66
"excludeTools": [

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "helloloop",
3-
"version": "0.2.0",
3+
"version": "0.2.1",
44
"description": "面向 Codex CLI、Claude Code、Gemini CLI 的多宿主开发工作流插件",
55
"author": "HelloLoop",
66
"license": "Apache-2.0",

0 commit comments

Comments
 (0)