Skip to content

Commit 258995e

Browse files
committed
fix: stabilize release tests for headless CI
1 parent d730c50 commit 258995e

6 files changed

Lines changed: 11 additions & 5 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.6.0",
3+
"version": "0.6.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.6.0",
3+
"version": "0.6.1",
44
"description": "面向 Codex CLI、Claude Code、Gemini CLI 的多宿主开发工作流插件,Codex 路径为首发与参考实现。",
55
"author": {
66
"name": "HelloLoop"

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

tests/analyze_cli.test.mjs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,13 @@ test("零参数默认在确认后会自动继续执行直到当前任务完成",
7777

7878
test("只给开发文档路径但无法确定项目仓库时会停下来提示补充仓库路径", () => {
7979
const tempRoot = fs.mkdtempSync(path.join(os.tmpdir(), "helloloop-missing-repo-"));
80+
const fakeBin = path.join(tempRoot, "bin");
8081
const docsRoot = path.join(tempRoot, "docs-only");
82+
createFakeCodex(fakeBin, sampleAnalysisPayload());
8183
writeText(path.join(docsRoot, "plan.md"), "# 方案\n- 待开发\n");
8284

8385
const result = spawnHelloLoop([docsRoot], {
86+
env: buildCliEnv(fakeBin),
8487
input: "1\n",
8588
});
8689

@@ -95,10 +98,13 @@ test("只给开发文档路径但无法确定项目仓库时会停下来提示
9598

9699
test("只给项目路径但找不到 docs 时会停下来提示补充文档路径", () => {
97100
const tempRoot = fs.mkdtempSync(path.join(os.tmpdir(), "helloloop-missing-docs-"));
101+
const fakeBin = path.join(tempRoot, "bin");
98102
const tempRepo = path.join(tempRoot, "demo-project");
103+
createFakeCodex(fakeBin, sampleAnalysisPayload());
99104
writeText(path.join(tempRepo, "src", "index.js"), "console.log('hello');\n");
100105

101106
const result = spawnHelloLoop([tempRepo], {
107+
env: buildCliEnv(fakeBin),
102108
input: "1\n",
103109
});
104110

0 commit comments

Comments
 (0)