@xdevops/issue-auto-finish 1.0.94 → 1.0.95
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/dist/{chunk-4JI5AJEA.js → chunk-527T6WEJ.js} +2 -2
- package/dist/{chunk-MTXTSSBH.js → chunk-P3YTEJU6.js} +65 -30
- package/dist/{chunk-MTXTSSBH.js.map → chunk-P3YTEJU6.js.map} +1 -1
- package/dist/{chunk-ZDY5NCP3.js → chunk-ZDWRD4Y7.js} +1 -1
- package/dist/cli.js +2 -2
- package/dist/index.js +2 -2
- package/dist/lib.js +1 -1
- package/dist/orchestrator/steps/PhaseHelpers.d.ts +1 -1
- package/dist/orchestrator/steps/PhaseHelpers.d.ts.map +1 -1
- package/dist/orchestrator/steps/SetupStep.d.ts +7 -0
- package/dist/orchestrator/steps/SetupStep.d.ts.map +1 -1
- package/dist/{restart-4LNDGOOU.js → restart-JYSJQVH6.js} +2 -2
- package/dist/run.js +2 -2
- package/dist/{start-Z4ODDTJ5.js → start-UDBD3UPK.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-4JI5AJEA.js.map → chunk-527T6WEJ.js.map} +0 -0
- /package/dist/{chunk-ZDY5NCP3.js.map → chunk-ZDWRD4Y7.js.map} +0 -0
- /package/dist/{restart-4LNDGOOU.js.map → restart-JYSJQVH6.js.map} +0 -0
- /package/dist/{start-Z4ODDTJ5.js.map → start-UDBD3UPK.js.map} +0 -0
package/dist/cli.js
CHANGED
|
@@ -93,7 +93,7 @@ program.command("init").description("Launch the interactive web setup wizard").o
|
|
|
93
93
|
await initCommand({ port: parseInt(opts.port, 10), config: opts.config });
|
|
94
94
|
});
|
|
95
95
|
program.command("start").description("Start the issue-auto-finish daemon service").option("-c, --config <path>", "Path to .env config file").option("-d, --daemon", "Run as a background daemon").action(async (opts) => {
|
|
96
|
-
const { startCommand } = await import("./start-
|
|
96
|
+
const { startCommand } = await import("./start-UDBD3UPK.js");
|
|
97
97
|
await startCommand({ config: opts.config, daemon: opts.daemon });
|
|
98
98
|
});
|
|
99
99
|
program.command("stop").description("Stop the running service").option("-p, --port <port>", "Web UI port", defaults.port).option("-H, --host <host>", "Service host", defaults.host).option("-f, --force", "Force kill via SIGKILL").action(async (opts) => {
|
|
@@ -105,7 +105,7 @@ program.command("stop").description("Stop the running service").option("-p, --po
|
|
|
105
105
|
});
|
|
106
106
|
});
|
|
107
107
|
program.command("restart").description("Restart the service (stop + start)").option("-c, --config <path>", "Path to .env config file").option("-p, --port <port>", "Web UI port", defaults.port).option("-H, --host <host>", "Service host", defaults.host).option("-d, --daemon", "Restart as a background daemon").action(async (opts) => {
|
|
108
|
-
const { restartCommand } = await import("./restart-
|
|
108
|
+
const { restartCommand } = await import("./restart-JYSJQVH6.js");
|
|
109
109
|
await restartCommand({
|
|
110
110
|
config: opts.config,
|
|
111
111
|
host: opts.host,
|
package/dist/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
main
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-527T6WEJ.js";
|
|
4
4
|
import "./chunk-5M5SB6ZA.js";
|
|
5
5
|
import "./chunk-RR65A7J4.js";
|
|
6
6
|
import "./chunk-Z3OBKODV.js";
|
|
7
7
|
import "./chunk-EU4XFZ2T.js";
|
|
8
8
|
import "./chunk-KC5S66OZ.js";
|
|
9
9
|
import "./chunk-SEO57UYI.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-P3YTEJU6.js";
|
|
11
11
|
import "./chunk-GPZX4DSY.js";
|
|
12
12
|
import "./chunk-MSL7ROVK.js";
|
|
13
13
|
import "./chunk-36G3DPO3.js";
|
package/dist/lib.js
CHANGED
|
@@ -13,7 +13,7 @@ import type { IssueProcessingContext, OrchestratorDeps } from '../IssueProcessin
|
|
|
13
13
|
export declare function safeComment(deps: OrchestratorDeps, issueId: number, message: string): Promise<void>;
|
|
14
14
|
export declare function resolveVerifyRunner(deps: OrchestratorDeps): AIRunner;
|
|
15
15
|
export declare function resolveUatRunner(deps: OrchestratorDeps, issueIid: number): AIRunner;
|
|
16
|
-
export declare function commitPlanFiles(ctx: PhaseContext, wtGit: GitOperations, wtGitMap: Map<string, GitOperations> | undefined, phaseName: string, displayId: number): Promise<void>;
|
|
16
|
+
export declare function commitPlanFiles(ctx: PhaseContext, wtGit: GitOperations, wtGitMap: Map<string, GitOperations> | undefined, phaseName: string, displayId: number, planWorkDir?: string): Promise<void>;
|
|
17
17
|
export declare function syncResultToIssue(phase: BasePhase, ctx: PhaseContext, displayId: number, phaseName: string, deps: OrchestratorDeps, issueId: number, wtPlan: PlanPersistence): Promise<void>;
|
|
18
18
|
export declare function handlePlanApproval(displayId: number, phaseName: string, deps: OrchestratorDeps): Promise<string>;
|
|
19
19
|
export declare function handleInteractiveDialog(displayId: number, phaseName: string, deps: OrchestratorDeps, request: InputRequest): Promise<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PhaseHelpers.d.ts","sourceRoot":"","sources":["../../../src/orchestrator/steps/PhaseHelpers.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAC5E,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnF,OAAO,KAAK,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"PhaseHelpers.d.ts","sourceRoot":"","sources":["../../../src/orchestrator/steps/PhaseHelpers.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,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M,EACjB,IAAI,EAAE,gBAAgB,GACrB,OAAO,CAAC,MAAM,CAAC,CA4BjB;AAED,wBAAgB,uBAAuB,CACrC,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,gBAAgB,EACtB,OAAO,EAAE,YAAY,GACpB,OAAO,CAAC,MAAM,CAAC,CAoDjB;AAID,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,SAAS,EACf,WAAW,EAAE,WAAW,EACxB,GAAG,EAAE,sBAAsB,EAC3B,MAAM,EAAE,eAAe,GACtB,IAAI,CAyBN;AAID,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,SAAS;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,EAAE,EACnC,UAAU,EAAE,MAAM,GACjB,MAAM,CAKR"}
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import type { IssueProcessingContext, OrchestratorDeps, SetupResult } from '../IssueProcessingContext.js';
|
|
2
|
+
/**
|
|
3
|
+
* 清理 worktree 中不属于当前 Issue 的 .claude-plan/issue-* 目录。
|
|
4
|
+
*
|
|
5
|
+
* 当 base branch 包含已合并的旧 Issue plan 文件时,新 worktree 会继承它们,
|
|
6
|
+
* 导致 AI agent 可能读取到错误 Issue 的计划内容。
|
|
7
|
+
*/
|
|
8
|
+
export declare function cleanupStalePlanDirs(workDir: string, currentIid: number): void;
|
|
2
9
|
/**
|
|
3
10
|
* 执行 Issue 处理的初始化步骤:
|
|
4
11
|
* - 更新标签为 processing
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SetupStep.d.ts","sourceRoot":"","sources":["../../../src/orchestrator/steps/SetupStep.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SetupStep.d.ts","sourceRoot":"","sources":["../../../src/orchestrator/steps/SetupStep.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAS1G;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,IAAI,CA2B9E;AAED;;;;;;;GAOG;AACH,wBAAsB,YAAY,CAChC,GAAG,EAAE,sBAAsB,EAC3B,IAAI,EAAE,gBAAgB,GACrB,OAAO,CAAC,WAAW,CAAC,CAwGtB"}
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-WIEUIU6L.js";
|
|
4
4
|
import {
|
|
5
5
|
startCommand
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZDWRD4Y7.js";
|
|
7
7
|
import {
|
|
8
8
|
dim,
|
|
9
9
|
yellow
|
|
@@ -45,4 +45,4 @@ async function restartCommand(options) {
|
|
|
45
45
|
export {
|
|
46
46
|
restartCommand
|
|
47
47
|
};
|
|
48
|
-
//# sourceMappingURL=restart-
|
|
48
|
+
//# sourceMappingURL=restart-JYSJQVH6.js.map
|
package/dist/run.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
main
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-527T6WEJ.js";
|
|
4
4
|
import "./chunk-5M5SB6ZA.js";
|
|
5
5
|
import "./chunk-RR65A7J4.js";
|
|
6
6
|
import "./chunk-Z3OBKODV.js";
|
|
7
7
|
import "./chunk-EU4XFZ2T.js";
|
|
8
8
|
import "./chunk-KC5S66OZ.js";
|
|
9
9
|
import "./chunk-SEO57UYI.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-P3YTEJU6.js";
|
|
11
11
|
import "./chunk-GPZX4DSY.js";
|
|
12
12
|
import "./chunk-MSL7ROVK.js";
|
|
13
13
|
import "./chunk-36G3DPO3.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
startCommand
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZDWRD4Y7.js";
|
|
4
4
|
import "./chunk-B7XUZJOK.js";
|
|
5
5
|
import "./chunk-SEO57UYI.js";
|
|
6
6
|
import "./chunk-FJTZKAJA.js";
|
|
@@ -13,4 +13,4 @@ import "./chunk-GF2RRYHB.js";
|
|
|
13
13
|
export {
|
|
14
14
|
startCommand
|
|
15
15
|
};
|
|
16
|
-
//# sourceMappingURL=start-
|
|
16
|
+
//# sourceMappingURL=start-UDBD3UPK.js.map
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|