@kody-ade/kody-engine-lite 0.1.4 → 0.1.5

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 +40 -0
  2. package/package.json +1 -1
package/dist/bin/cli.js CHANGED
@@ -1783,6 +1783,46 @@ function initCommand(opts) {
1783
1783
  console.log(` \u2717 ${c.name} \u2014 ${c.fix}`);
1784
1784
  }
1785
1785
  }
1786
+ const labels = [
1787
+ { name: "kody:planning", color: "c5def5", description: "Kody is analyzing and planning" },
1788
+ { name: "kody:building", color: "0e8a16", description: "Kody is building code" },
1789
+ { name: "kody:review", color: "fbca04", description: "Kody is reviewing code" },
1790
+ { name: "kody:done", color: "0e8a16", description: "Kody completed successfully" },
1791
+ { name: "kody:failed", color: "d93f0b", description: "Kody pipeline failed" }
1792
+ ];
1793
+ console.log("\n\u2500\u2500 Labels \u2500\u2500");
1794
+ for (const label of labels) {
1795
+ try {
1796
+ execFileSync7("gh", [
1797
+ "label",
1798
+ "create",
1799
+ label.name,
1800
+ "--repo",
1801
+ repoSlug,
1802
+ "--color",
1803
+ label.color,
1804
+ "--description",
1805
+ label.description,
1806
+ "--force"
1807
+ ], {
1808
+ encoding: "utf-8",
1809
+ timeout: 1e4,
1810
+ stdio: ["pipe", "pipe", "pipe"]
1811
+ });
1812
+ console.log(` \u2713 ${label.name}`);
1813
+ } catch {
1814
+ try {
1815
+ execFileSync7("gh", ["label", "list", "--repo", repoSlug, "--search", label.name], {
1816
+ encoding: "utf-8",
1817
+ timeout: 1e4,
1818
+ stdio: ["pipe", "pipe", "pipe"]
1819
+ });
1820
+ console.log(` \u25CB ${label.name} (exists)`);
1821
+ } catch {
1822
+ console.log(` \u2717 ${label.name} \u2014 failed to create`);
1823
+ }
1824
+ }
1825
+ }
1786
1826
  }
1787
1827
  console.log("\n\u2500\u2500 Config \u2500\u2500");
1788
1828
  if (fs7.existsSync(configDest)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine-lite",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Autonomous SDLC pipeline: Kody orchestration + Claude Code + LiteLLM",
5
5
  "license": "MIT",
6
6
  "type": "module",