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

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 +8 -2
  2. package/package.json +1 -1
package/dist/bin/cli.js CHANGED
@@ -1447,8 +1447,14 @@ async function handleTasks(parsed, ticketId, issueNumber, local) {
1447
1447
  filed.push({ number: 0, url: "#", title: task.title });
1448
1448
  continue;
1449
1449
  }
1450
- const allLabels = [...task.labels ?? [], ...task.priority ? [`priority:${task.priority}`] : []];
1451
- const issue = createIssue(task.title, task.body, allLabels);
1450
+ const safeLabels = [
1451
+ ...(task.labels ?? []).filter((l) => l.startsWith("priority:") || l.startsWith("kody:")),
1452
+ ...task.priority ? [`priority:${task.priority}`] : []
1453
+ ];
1454
+ let issue = createIssue(task.title, task.body, safeLabels);
1455
+ if (!issue && safeLabels.length > 0) {
1456
+ issue = createIssue(task.title, task.body, []);
1457
+ }
1452
1458
  if (issue) {
1453
1459
  filed.push({ number: issue.number, url: issue.url, title: task.title });
1454
1460
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine-lite",
3
- "version": "0.1.111",
3
+ "version": "0.1.112",
4
4
  "description": "Autonomous SDLC pipeline: Kody orchestration + Claude Code + LiteLLM",
5
5
  "license": "MIT",
6
6
  "type": "module",