@kody-ade/kody-engine-lite 0.1.110 → 0.1.111

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.
Files changed (2) hide show
  1. package/dist/bin/cli.js +21 -1
  2. package/package.json +1 -1
package/dist/bin/cli.js CHANGED
@@ -984,7 +984,24 @@ function resolveTaskIdFromComments(issueNumber) {
984
984
  return null;
985
985
  }
986
986
  }
987
+ function findPausedTaskifyForIssue(issueNumber, projectDir) {
988
+ const tasksDir = path8.join(projectDir, ".kody", "tasks");
989
+ if (!fs9.existsSync(tasksDir)) return null;
990
+ const allDirs = fs9.readdirSync(tasksDir, { withFileTypes: true }).filter((d) => d.isDirectory()).map((d) => d.name).sort().reverse();
991
+ for (const dir of allDirs) {
992
+ const markerPath = path8.join(tasksDir, dir, "taskify.marker");
993
+ if (!fs9.existsSync(markerPath)) continue;
994
+ try {
995
+ const marker = JSON.parse(fs9.readFileSync(markerPath, "utf-8"));
996
+ if (marker.issueNumber === issueNumber) return dir;
997
+ } catch {
998
+ }
999
+ }
1000
+ return null;
1001
+ }
987
1002
  function resolveTaskIdForCommand(issueNumber, projectDir) {
1003
+ const fromTaskify = findPausedTaskifyForIssue(issueNumber, projectDir);
1004
+ if (fromTaskify) return fromTaskify;
988
1005
  const fromTasks = findLatestTaskForIssue(issueNumber, projectDir);
989
1006
  if (fromTasks) return fromTasks;
990
1007
  const fromComments = resolveTaskIdFromComments(issueNumber);
@@ -1325,7 +1342,10 @@ ${lines.join("\n")}
1325
1342
  const prompt = buildPrompt({ ticketId, fileContent, taskDir, feedback, projectContext });
1326
1343
  if (issueNumber && !local) {
1327
1344
  const src = mode === "file" ? `file \`${path10.basename(prdFile)}\`` : `ticket **${ticketId}**`;
1328
- postComment(issueNumber, `Kody is decomposing ${src} into tasks...`);
1345
+ const runUrl = process.env.RUN_URL ? ` ([logs](${process.env.RUN_URL}))` : "";
1346
+ postComment(issueNumber, `\u{1F680} Kody pipeline started: \`${taskId}\`${runUrl}
1347
+
1348
+ Kody is decomposing ${src} into tasks...`);
1329
1349
  setLifecycleLabel(issueNumber, "planning");
1330
1350
  }
1331
1351
  fs11.writeFileSync(path10.join(taskDir, MARKER_FILE), JSON.stringify({ ticketId, prdFile, issueNumber }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine-lite",
3
- "version": "0.1.110",
3
+ "version": "0.1.111",
4
4
  "description": "Autonomous SDLC pipeline: Kody orchestration + Claude Code + LiteLLM",
5
5
  "license": "MIT",
6
6
  "type": "module",