Skip to content

Commit cbb9510

Browse files
committed
fix: correct claude bundle manifest and release 0.8.1
1 parent 97f24b1 commit cbb9510

7 files changed

Lines changed: 39 additions & 7 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.8.0",
3+
"version": "0.8.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.8.0",
3+
"version": "0.8.1",
44
"description": "面向 Codex CLI、Claude Code、Gemini CLI 的多宿主开发工作流插件,Codex 路径为首发与参考实现。",
55
"author": {
66
"name": "HelloLoop"
Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
{
22
"name": "helloloop",
3-
"version": "0.7.1",
4-
"description": "HelloLoop 的 Claude Code 原生插件",
3+
"version": "0.8.1",
4+
"description": "HelloLoop 的 Claude Code 原生插件元数据,用于多 CLI 宿主分发",
55
"author": {
66
"name": "HelloLoop"
77
},
8-
"license": "Apache-2.0"
8+
"license": "Apache-2.0",
9+
"homepage": "https://github.com/hellowind777/helloloop",
10+
"repository": {
11+
"type": "git",
12+
"url": "https://github.com/hellowind777/helloloop"
13+
}
914
}

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.8.0",
3+
"version": "0.8.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.8.0",
3+
"version": "0.8.1",
44
"description": "面向 Codex CLI、Claude Code、Gemini CLI 的多宿主开发工作流插件",
55
"author": "HelloLoop",
66
"license": "Apache-2.0",

tests/host_lifecycle_integrity.test.mjs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,16 @@ test("install --host claude --force 会清理旧版本缓存并更新配置,
322322
".claude-plugin",
323323
"plugin.json",
324324
)));
325+
assert.equal(readJson(path.join(
326+
claudeHome,
327+
"plugins",
328+
"cache",
329+
"helloloop-local",
330+
"helloloop",
331+
packageVersion,
332+
".claude-plugin",
333+
"plugin.json",
334+
)).version, packageVersion);
325335

326336
const settings = readJson(settingsFile);
327337
assert.equal(Boolean(settings.enabledPlugins?.["helloloop@helloloop-local"]), true);

tests/plugin_bundle.test.mjs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,23 @@ test("Claude marketplace manifest 符合当前标准字段", () => {
7676
assert.match(marketplace.metadata.description, /HelloLoop/);
7777
});
7878

79+
test("Claude marketplace 内嵌插件 manifest 与根 manifest 版本保持一致", () => {
80+
const rootManifest = JSON.parse(fs.readFileSync(
81+
path.join(repoRoot, ".claude-plugin", "plugin.json"),
82+
"utf8",
83+
));
84+
const bundledManifest = JSON.parse(fs.readFileSync(
85+
path.join(repoRoot, "hosts", "claude", "marketplace", "plugins", "helloloop", ".claude-plugin", "plugin.json"),
86+
"utf8",
87+
));
88+
89+
assert.equal(bundledManifest.name, rootManifest.name);
90+
assert.equal(bundledManifest.version, rootManifest.version);
91+
assert.equal(bundledManifest.license, rootManifest.license);
92+
assert.equal(bundledManifest.homepage, rootManifest.homepage);
93+
assert.deepEqual(bundledManifest.repository, rootManifest.repository);
94+
});
95+
7996
test("README 使用短命令示例且不暴露本机绝对路径", () => {
8097
const readme = fs.readFileSync(path.join(repoRoot, "README.md"), "utf8");
8198

0 commit comments

Comments
 (0)